update graphql queries & generate new types
This commit is contained in:
parent
2b3dd5e7b9
commit
8f80ed5446
@ -8,7 +8,7 @@ query GetTransactionCurrencies {
|
||||
}
|
||||
}
|
||||
|
||||
query GetTransactionCurrency($currencyid: Uuid!) {
|
||||
query GetTransactionCurrency($currencyid: UUID!) {
|
||||
transactioncurrency(transactioncurrencyid: $currencyid) {
|
||||
currencysymbol
|
||||
isocurrencycode
|
||||
@ -17,20 +17,31 @@ query GetTransactionCurrency($currencyid: Uuid!) {
|
||||
}
|
||||
|
||||
query GetCurrencyChanges($currentDate: DateTime) {
|
||||
evo_currencychanges(statecode: 0, evo_coursedate_param: { eq: $currentDate }) {
|
||||
evo_currencychanges(
|
||||
filterConditionGroup: {
|
||||
andFilterConditions: [
|
||||
{ filterConditionInt: { fieldName: "statecode", eq: 0 } }
|
||||
{ filterConditionDateTime: { fieldName: "evo_coursedate", eq: $currentDate } }
|
||||
]
|
||||
}
|
||||
) {
|
||||
evo_currencychange
|
||||
evo_ref_transactioncurrency
|
||||
}
|
||||
}
|
||||
|
||||
query GetLeads($domainname: String) {
|
||||
leads(owner_domainname: $domainname) {
|
||||
leads(
|
||||
filterConditionGroup: {
|
||||
andFilterConditions: { filterConditionString: { fieldName: "domainname", eq: $domainname } }
|
||||
}
|
||||
) {
|
||||
label: fullname
|
||||
value: leadid
|
||||
}
|
||||
}
|
||||
|
||||
query GetLead($leadid: Uuid!) {
|
||||
query GetLead($leadid: UUID!) {
|
||||
lead(leadid: $leadid) {
|
||||
evo_agent_accountid
|
||||
evo_double_agent_accountid
|
||||
@ -52,7 +63,7 @@ query GetLead($leadid: Uuid!) {
|
||||
}
|
||||
}
|
||||
|
||||
query GetOpportunity($opportunityid: Uuid!) {
|
||||
query GetOpportunity($opportunityid: UUID!) {
|
||||
opportunity(opportunityid: $opportunityid) {
|
||||
evo_leadid
|
||||
accountidData {
|
||||
@ -67,14 +78,27 @@ query GetOpportunity($opportunityid: Uuid!) {
|
||||
}
|
||||
|
||||
query GetOpportunities($domainname: String) {
|
||||
opportunities(owner_domainname: $domainname) {
|
||||
label: name
|
||||
value: opportunityid
|
||||
systemusers(
|
||||
filterConditionGroup: {
|
||||
andFilterConditions: { filterConditionString: { fieldName: "domainname", eq: $domainname } }
|
||||
}
|
||||
) {
|
||||
opportunities {
|
||||
label: name
|
||||
value: opportunityid
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
query GetQuotes($leadid: Uuid!) {
|
||||
quotes(evo_leadid: $leadid) {
|
||||
query GetQuotes($leadid: UUID!) {
|
||||
quotes(
|
||||
filterConditionGroup: {
|
||||
andFilterConditions: [
|
||||
{ filterConditionGuid: { fieldName: "evo_leadid", eq: $leadid } }
|
||||
{ filterConditionInt: { fieldName: "statecode", eq: 0 } }
|
||||
]
|
||||
}
|
||||
) {
|
||||
label: evo_quotename
|
||||
value: quoteid
|
||||
evo_recalc_limit
|
||||
@ -85,8 +109,8 @@ query GetQuotes($leadid: Uuid!) {
|
||||
}
|
||||
}
|
||||
|
||||
query GetQuote($quoteId: Uuid!) {
|
||||
quote(quoteId: $quoteId) {
|
||||
query GetQuote($quoteId: UUID!) {
|
||||
quote(quoteid: $quoteId) {
|
||||
evo_baseproductid
|
||||
evo_one_year_insurance
|
||||
evo_min_change_price
|
||||
@ -113,8 +137,8 @@ query GetQuote($quoteId: Uuid!) {
|
||||
}
|
||||
}
|
||||
|
||||
query GetQuoteData($quoteId: Uuid!) {
|
||||
quote(quoteId: $quoteId) {
|
||||
query GetQuoteData($quoteId: UUID!) {
|
||||
quote(quoteid: $quoteId) {
|
||||
evo_addproduct_types {
|
||||
evo_product_type
|
||||
evo_addproduct_typeid
|
||||
@ -268,9 +292,13 @@ query GetQuoteData($quoteId: Uuid!) {
|
||||
|
||||
query GetTarifs($currentDate: DateTime) {
|
||||
evo_tarifs(
|
||||
statecode: 0
|
||||
evo_datefrom_param: { lte: $currentDate }
|
||||
evo_dateto_param: { gte: $currentDate }
|
||||
filterConditionGroup: {
|
||||
andFilterConditions: [
|
||||
{ filterConditionInt: { fieldName: "statecode", eq: 0 } }
|
||||
{ filterConditionDateTime: { fieldName: "evo_datefrom", lte: $currentDate } }
|
||||
{ filterConditionDateTime: { fieldName: "evo_dateto", gte: $currentDate } }
|
||||
]
|
||||
}
|
||||
) {
|
||||
label: evo_name
|
||||
value: evo_tarifid
|
||||
@ -293,7 +321,7 @@ query GetTarifs($currentDate: DateTime) {
|
||||
}
|
||||
}
|
||||
|
||||
query GetTarif($tarifId: Uuid!) {
|
||||
query GetTarif($tarifId: UUID!) {
|
||||
evo_tarif(evo_tarifid: $tarifId) {
|
||||
label: evo_name
|
||||
value: evo_tarifid
|
||||
@ -316,9 +344,13 @@ query GetTarif($tarifId: Uuid!) {
|
||||
|
||||
query GetRates($currentDate: DateTime) {
|
||||
evo_rates(
|
||||
statecode: 0
|
||||
evo_datefrom_param: { lte: $currentDate }
|
||||
evo_dateto_param: { gte: $currentDate }
|
||||
filterConditionGroup: {
|
||||
andFilterConditions: [
|
||||
{ filterConditionInt: { fieldName: "statecode", eq: 0 } }
|
||||
{ filterConditionDateTime: { fieldName: "evo_datefrom", lte: $currentDate } }
|
||||
{ filterConditionDateTime: { fieldName: "evo_dateto", gte: $currentDate } }
|
||||
]
|
||||
}
|
||||
) {
|
||||
label: evo_name
|
||||
value: evo_rateid
|
||||
@ -330,7 +362,7 @@ query GetRates($currentDate: DateTime) {
|
||||
}
|
||||
}
|
||||
|
||||
query GetRate($rateId: Uuid!) {
|
||||
query GetRate($rateId: UUID!) {
|
||||
evo_rate(evo_rateid: $rateId) {
|
||||
evo_base_rate
|
||||
evo_credit_period
|
||||
@ -341,10 +373,14 @@ query GetRate($rateId: Uuid!) {
|
||||
|
||||
query GetProducts($currentDate: DateTime) {
|
||||
evo_baseproducts(
|
||||
statecode: 0
|
||||
evo_relation: [100000000]
|
||||
evo_datefrom_param: { lte: $currentDate }
|
||||
evo_dateto_param: { gte: $currentDate }
|
||||
filterConditionGroup: {
|
||||
andFilterConditions: [
|
||||
{ filterConditionInt: { fieldName: "statecode", eq: 0 } }
|
||||
{ filterConditionDateTime: { fieldName: "evo_datefrom", lte: $currentDate } }
|
||||
{ filterConditionDateTime: { fieldName: "evo_dateto", lte: $currentDate } }
|
||||
{ filterConditionMultyPicklist: { fieldName: "evo_relation", oneof: [100000000] } }
|
||||
]
|
||||
}
|
||||
) {
|
||||
label: evo_name
|
||||
value: evo_baseproductid
|
||||
@ -355,7 +391,7 @@ query GetProducts($currentDate: DateTime) {
|
||||
}
|
||||
}
|
||||
|
||||
query GetProduct($productId: Uuid!) {
|
||||
query GetProduct($productId: UUID!) {
|
||||
evo_baseproduct(evo_baseproductid: $productId) {
|
||||
evo_leasingobject_types {
|
||||
evo_leasingobject_typeid
|
||||
@ -381,9 +417,13 @@ query GetProduct($productId: Uuid!) {
|
||||
|
||||
query GetSubsidies($currentDate: DateTime) {
|
||||
evo_subsidies(
|
||||
statecode: 0
|
||||
evo_datefrom_param: { lte: $currentDate }
|
||||
evo_dateto_param: { gte: $currentDate }
|
||||
filterConditionGroup: {
|
||||
andFilterConditions: [
|
||||
{ filterConditionInt: { fieldName: "statecode", eq: 0 } }
|
||||
{ filterConditionDateTime: { fieldName: "evo_datefrom", lte: $currentDate } }
|
||||
{ filterConditionDateTime: { fieldName: "evo_dateto", gte: $currentDate } }
|
||||
]
|
||||
}
|
||||
) {
|
||||
label: evo_name
|
||||
value: evo_subsidyid
|
||||
@ -391,7 +431,7 @@ query GetSubsidies($currentDate: DateTime) {
|
||||
}
|
||||
}
|
||||
|
||||
query GetSubsidy($subsidyId: Uuid!) {
|
||||
query GetSubsidy($subsidyId: UUID!) {
|
||||
evo_subsidy(evo_subsidyid: $subsidyId) {
|
||||
evo_leasingobject_types {
|
||||
evo_leasingobject_typeid
|
||||
@ -413,7 +453,7 @@ query GetSubsidy($subsidyId: Uuid!) {
|
||||
}
|
||||
}
|
||||
|
||||
query GetImportProgram($importProgramId: Uuid!) {
|
||||
query GetImportProgram($importProgramId: UUID!) {
|
||||
importProgram: evo_subsidy(evo_subsidyid: $importProgramId) {
|
||||
evo_leasingobject_types {
|
||||
evo_leasingobject_typeid
|
||||
@ -439,7 +479,7 @@ query GetRegions {
|
||||
}
|
||||
}
|
||||
|
||||
query GetRegion($regionId: Uuid!) {
|
||||
query GetRegion($regionId: UUID!) {
|
||||
evo_region(evo_regionid: $regionId) {
|
||||
evo_oktmo
|
||||
accounts {
|
||||
@ -449,8 +489,15 @@ query GetRegion($regionId: Uuid!) {
|
||||
}
|
||||
}
|
||||
|
||||
query GetTowns($regionId: Uuid!) {
|
||||
evo_towns(evo_regionid: $regionId) {
|
||||
query GetTowns($regionId: UUID!) {
|
||||
evo_towns(
|
||||
filterConditionGroup: {
|
||||
andFilterConditions: [
|
||||
{ filterConditionGuid: { fieldName: "evo_regionid", eq: $regionId } }
|
||||
{ filterConditionInt: { fieldName: "statecode", eq: 0 } }
|
||||
]
|
||||
}
|
||||
) {
|
||||
evo_fias_id
|
||||
label: evo_name
|
||||
value: evo_townid
|
||||
@ -458,22 +505,33 @@ query GetTowns($regionId: Uuid!) {
|
||||
}
|
||||
}
|
||||
|
||||
query GetTown($townId: Uuid!) {
|
||||
query GetTown($townId: UUID!) {
|
||||
evo_town(evo_townid: $townId) {
|
||||
evo_kladr_id
|
||||
}
|
||||
}
|
||||
|
||||
query GetGPSBrands {
|
||||
evo_gps_brands(statecode: 0) {
|
||||
evo_gps_brands(
|
||||
filterConditionGroup: {
|
||||
andFilterConditions: { filterConditionInt: { fieldName: "statecode", eq: 0 } }
|
||||
}
|
||||
) {
|
||||
label: evo_name
|
||||
value: evo_gps_brandid
|
||||
evo_id
|
||||
}
|
||||
}
|
||||
|
||||
query GetGPSModels($gpsBrandId: Uuid!) {
|
||||
evo_gps_models(evo_gps_brandid: $gpsBrandId) {
|
||||
query GetGPSModels($gpsBrandId: UUID!) {
|
||||
evo_gps_models(
|
||||
filterConditionGroup: {
|
||||
andFilterConditions: [
|
||||
{ filterConditionGuid: { fieldName: "evo_gps_brandid", eq: $gpsBrandId } }
|
||||
{ filterConditionInt: { fieldName: "statecode", eq: 0 } }
|
||||
]
|
||||
}
|
||||
) {
|
||||
label: evo_name
|
||||
value: evo_gps_modelid
|
||||
evo_id
|
||||
@ -481,14 +539,18 @@ query GetGPSModels($gpsBrandId: Uuid!) {
|
||||
}
|
||||
|
||||
query GetLeaseObjectTypes {
|
||||
evo_leasingobject_types(statecode: 0) {
|
||||
evo_leasingobject_types(
|
||||
filterConditionGroup: {
|
||||
andFilterConditions: { filterConditionInt: { fieldName: "statecode", eq: 0 } }
|
||||
}
|
||||
) {
|
||||
label: evo_name
|
||||
value: evo_leasingobject_typeid
|
||||
evo_leasingobject_typeid
|
||||
}
|
||||
}
|
||||
|
||||
query GetLeaseObjectType($leaseObjectTypeId: Uuid!) {
|
||||
query GetLeaseObjectType($leaseObjectTypeId: UUID!) {
|
||||
evo_leasingobject_type(evo_leasingobject_typeid: $leaseObjectTypeId) {
|
||||
evo_vehicle_type
|
||||
evo_id
|
||||
@ -508,7 +570,11 @@ query GetLeaseObjectType($leaseObjectTypeId: Uuid!) {
|
||||
}
|
||||
|
||||
query GetBrands {
|
||||
evo_brands(statecode: 0) {
|
||||
evo_brands(
|
||||
filterConditionGroup: {
|
||||
andFilterConditions: { filterConditionInt: { fieldName: "statecode", eq: 0 } }
|
||||
}
|
||||
) {
|
||||
label: evo_name
|
||||
value: evo_brandid
|
||||
evo_brandid
|
||||
@ -516,7 +582,7 @@ query GetBrands {
|
||||
}
|
||||
}
|
||||
|
||||
query GetBrand($brandId: Uuid!) {
|
||||
query GetBrand($brandId: UUID!) {
|
||||
evo_brand(evo_brandid: $brandId) {
|
||||
evo_id
|
||||
evo_importer_reward_perc
|
||||
@ -526,8 +592,15 @@ query GetBrand($brandId: Uuid!) {
|
||||
}
|
||||
}
|
||||
|
||||
query GetModels($brandId: Uuid!) {
|
||||
evo_models(statecode: 0, evo_brandid: $brandId) {
|
||||
query GetModels($brandId: UUID!) {
|
||||
evo_models(
|
||||
filterConditionGroup: {
|
||||
andFilterConditions: [
|
||||
{ filterConditionInt: { fieldName: "statecode", eq: 0 } }
|
||||
{ filterConditionGuid: { fieldName: "evo_brandid", eq: $brandId } }
|
||||
]
|
||||
}
|
||||
) {
|
||||
label: evo_name
|
||||
value: evo_modelid
|
||||
evo_modelid
|
||||
@ -537,7 +610,7 @@ query GetModels($brandId: Uuid!) {
|
||||
}
|
||||
}
|
||||
|
||||
query GetModel($modelId: Uuid!) {
|
||||
query GetModel($modelId: UUID!) {
|
||||
evo_model(evo_modelid: $modelId) {
|
||||
evo_impairment_groupidData {
|
||||
evo_name
|
||||
@ -554,15 +627,22 @@ query GetModel($modelId: Uuid!) {
|
||||
}
|
||||
}
|
||||
|
||||
query GetConfigurations($modelId: Uuid!) {
|
||||
evo_equipments(statecode: 0, evo_modelid: $modelId) {
|
||||
query GetConfigurations($modelId: UUID!) {
|
||||
evo_equipments(
|
||||
filterConditionGroup: {
|
||||
andFilterConditions: [
|
||||
{ filterConditionInt: { fieldName: "statecode", eq: 0 } }
|
||||
{ filterConditionGuid: { fieldName: "evo_modelid", eq: $modelId } }
|
||||
]
|
||||
}
|
||||
) {
|
||||
label: evo_name
|
||||
value: evo_equipmentid
|
||||
evo_start_production_year
|
||||
}
|
||||
}
|
||||
|
||||
query GetConfiguration($configurationId: Uuid!) {
|
||||
query GetConfiguration($configurationId: UUID!) {
|
||||
evo_equipment(evo_equipmentid: $configurationId) {
|
||||
evo_impairment_groupidData {
|
||||
evo_name
|
||||
@ -571,7 +651,15 @@ query GetConfiguration($configurationId: Uuid!) {
|
||||
}
|
||||
|
||||
query GetDealers {
|
||||
dealers: accounts(evo_account_type: [100000001], statecode: 0, evo_legal_form: 100000001) {
|
||||
dealers: accounts(
|
||||
filterConditionGroup: {
|
||||
andFilterConditions: [
|
||||
{ filterConditionMultyPicklist: { fieldName: "evo_account_type", oneof: [100000001] } }
|
||||
{ filterConditionInt: { fieldName: "statecode", eq: 0 } }
|
||||
{ filterConditionInt: { fieldName: "evo_legal_form", eq: 100000001 } }
|
||||
]
|
||||
}
|
||||
) {
|
||||
label: name
|
||||
value: accountid
|
||||
accountid
|
||||
@ -579,7 +667,7 @@ query GetDealers {
|
||||
}
|
||||
}
|
||||
|
||||
query GetDealer($dealerId: Uuid!) {
|
||||
query GetDealer($dealerId: UUID!) {
|
||||
dealer: account(accountid: $dealerId) {
|
||||
evo_return_leasing_dealer
|
||||
evo_broker_accountid
|
||||
@ -587,8 +675,8 @@ query GetDealer($dealerId: Uuid!) {
|
||||
}
|
||||
}
|
||||
|
||||
query GetDealerPersons($dealerId: Uuid!) {
|
||||
dealerPersons: salon_providers(statecode: 0, salonaccountid: $dealerId) {
|
||||
query GetDealerPersons($dealerId: UUID!) {
|
||||
dealerPersons: salon_providers(salonaccountid: $dealerId) {
|
||||
label: name
|
||||
value: accountid
|
||||
accountid
|
||||
@ -598,27 +686,31 @@ query GetDealerPersons($dealerId: Uuid!) {
|
||||
}
|
||||
}
|
||||
|
||||
query GetDealerPerson($dealerPersonId: Uuid!) {
|
||||
query GetDealerPerson($dealerPersonId: UUID!) {
|
||||
account(accountid: $dealerPersonId) {
|
||||
evo_supplier_type
|
||||
evo_supplier_financing_accept
|
||||
}
|
||||
}
|
||||
|
||||
query GetAgent($agentid: Uuid!) {
|
||||
query GetAgent($agentid: UUID!) {
|
||||
agent: account(accountid: $agentid) {
|
||||
label: name
|
||||
value: accountid
|
||||
}
|
||||
}
|
||||
|
||||
query GetRewardConditions($agentid: Uuid!, $currentDate: DateTime) {
|
||||
query GetRewardConditions($agentid: UUID!, $currentDate: DateTime) {
|
||||
evo_reward_conditions(
|
||||
evo_agent_accountid: $agentid
|
||||
evo_datefrom_param: { lte: $currentDate }
|
||||
evo_dateto_param: { gte: $currentDate }
|
||||
statecode: 0
|
||||
evo_agency_agreementid_param: { has: true }
|
||||
filterConditionGroup: {
|
||||
andFilterConditions: [
|
||||
{ filterConditionGuid: { fieldName: "evo_agent_accountid", eq: $agentid } }
|
||||
{ filterConditionDateTime: { fieldName: "evo_datefrom", lte: $currentDate } }
|
||||
{ filterConditionDateTime: { fieldName: "evo_dateto", gte: $currentDate } }
|
||||
{ filterConditionInt: { fieldName: "statecode", eq: 0 } }
|
||||
{ filterConditionGuid: { fieldName: "evo_agency_agreementid", neq: null } }
|
||||
]
|
||||
}
|
||||
) {
|
||||
label: evo_name
|
||||
value: evo_reward_conditionid
|
||||
@ -627,7 +719,7 @@ query GetRewardConditions($agentid: Uuid!, $currentDate: DateTime) {
|
||||
}
|
||||
}
|
||||
|
||||
query GetRewardCondition($conditionId: Uuid!) {
|
||||
query GetRewardCondition($conditionId: UUID!) {
|
||||
evo_reward_condition(evo_reward_conditionid: $conditionId) {
|
||||
evo_reward_summ
|
||||
evo_reduce_reward
|
||||
@ -642,16 +734,27 @@ query GetRewardCondition($conditionId: Uuid!) {
|
||||
}
|
||||
|
||||
query GetSotCoefficientType($evo_id: String) {
|
||||
evo_sot_coefficient_type(evo_id: $evo_id) {
|
||||
evo_sot_coefficient_types(
|
||||
filterConditionGroup: {
|
||||
andFilterConditions: [
|
||||
{ filterConditionString: { fieldName: "evo_id", eq: $evo_id } }
|
||||
{ filterConditionInt: { fieldName: "statecode", eq: 0 } }
|
||||
]
|
||||
}
|
||||
) {
|
||||
evo_sot_coefficient_typeid
|
||||
}
|
||||
}
|
||||
|
||||
query GetCoefficients($currentDate: DateTime) {
|
||||
evo_coefficients(
|
||||
statecode: 0
|
||||
evo_datefrom_param: { lte: $currentDate }
|
||||
evo_dateto_param: { gte: $currentDate }
|
||||
filterConditionGroup: {
|
||||
andFilterConditions: [
|
||||
{ filterConditionDateTime: { fieldName: "evo_datefrom", lte: $currentDate } }
|
||||
{ filterConditionDateTime: { fieldName: "evo_dateto", gte: $currentDate } }
|
||||
{ filterConditionInt: { fieldName: "statecode", eq: 0 } }
|
||||
]
|
||||
}
|
||||
) {
|
||||
evo_job_titleid
|
||||
evo_sot_coefficient_typeid
|
||||
@ -677,7 +780,11 @@ query GetCoefficients($currentDate: DateTime) {
|
||||
}
|
||||
|
||||
query GetSystemUser($domainname: String) {
|
||||
systemuser(domainname: $domainname) {
|
||||
systemusers(
|
||||
filterConditionGroup: {
|
||||
filterCondition: { filterConditionString: { fieldName: "domainname", eq: $domainname } }
|
||||
}
|
||||
) {
|
||||
evo_job_titleid
|
||||
businessunitid
|
||||
roles {
|
||||
@ -695,9 +802,13 @@ fragment CoreAddProductTypesFields on evo_addproduct_type {
|
||||
|
||||
query GetAddproductTypes($currentDate: DateTime) {
|
||||
evo_addproduct_types(
|
||||
statecode: 0
|
||||
evo_datefrom_param: { lte: $currentDate }
|
||||
evo_dateto_param: { gte: $currentDate }
|
||||
filterConditionGroup: {
|
||||
andFilterConditions: [
|
||||
{ filterConditionInt: { fieldName: "statecode", eq: 0 } }
|
||||
{ filterConditionDateTime: { fieldName: "evo_datefrom", lte: $currentDate } }
|
||||
{ filterConditionDateTime: { fieldName: "evo_dateto", gte: $currentDate } }
|
||||
]
|
||||
}
|
||||
) {
|
||||
...CoreAddProductTypesFields
|
||||
evo_product_type
|
||||
@ -711,7 +822,7 @@ query GetAddproductTypes($currentDate: DateTime) {
|
||||
}
|
||||
}
|
||||
|
||||
query GetAddProductType($addproductTypeId: Uuid!) {
|
||||
query GetAddProductType($addproductTypeId: UUID!) {
|
||||
evo_addproduct_type(evo_addproduct_typeid: $addproductTypeId) {
|
||||
evo_description
|
||||
evo_helpcard_type
|
||||
@ -735,10 +846,14 @@ query GetAddProductType($addproductTypeId: Uuid!) {
|
||||
|
||||
query GetRegistrationTypes($currentDate: DateTime) {
|
||||
evo_addproduct_types(
|
||||
statecode: 0
|
||||
evo_datefrom_param: { lte: $currentDate }
|
||||
evo_dateto_param: { gte: $currentDate }
|
||||
evo_product_type: 100000001
|
||||
filterConditionGroup: {
|
||||
andFilterConditions: [
|
||||
{ filterConditionInt: { fieldName: "statecode", eq: 0 } }
|
||||
{ filterConditionDateTime: { fieldName: "evo_datefrom", lte: $currentDate } }
|
||||
{ filterConditionDateTime: { fieldName: "evo_dateto", gte: $currentDate } }
|
||||
{ filterConditionInt: { fieldName: "evo_product_type", eq: 100000001 } }
|
||||
]
|
||||
}
|
||||
) {
|
||||
...CoreAddProductTypesFields
|
||||
evo_leasingobject_types {
|
||||
@ -754,10 +869,14 @@ query GetRegistrationTypes($currentDate: DateTime) {
|
||||
|
||||
query GetTechnicalCards($currentDate: DateTime) {
|
||||
evo_addproduct_types(
|
||||
statecode: 0
|
||||
evo_datefrom_param: { lte: $currentDate }
|
||||
evo_dateto_param: { gte: $currentDate }
|
||||
evo_product_type: 100000000
|
||||
filterConditionGroup: {
|
||||
andFilterConditions: [
|
||||
{ filterConditionInt: { fieldName: "statecode", eq: 0 } }
|
||||
{ filterConditionDateTime: { fieldName: "evo_datefrom", lte: $currentDate } }
|
||||
{ filterConditionDateTime: { fieldName: "evo_dateto", gte: $currentDate } }
|
||||
{ filterConditionInt: { fieldName: "evo_product_type", eq: 100000000 } }
|
||||
]
|
||||
}
|
||||
) {
|
||||
...CoreAddProductTypesFields
|
||||
evo_min_period
|
||||
@ -771,10 +890,14 @@ query GetTechnicalCards($currentDate: DateTime) {
|
||||
|
||||
query GetFuelCards($currentDate: DateTime) {
|
||||
evo_addproduct_types(
|
||||
statecode: 0
|
||||
evo_datefrom_param: { lte: $currentDate }
|
||||
evo_dateto_param: { gte: $currentDate }
|
||||
evo_product_type: 100000005
|
||||
filterConditionGroup: {
|
||||
andFilterConditions: [
|
||||
{ filterConditionInt: { fieldName: "statecode", eq: 0 } }
|
||||
{ filterConditionDateTime: { fieldName: "evo_datefrom", lte: $currentDate } }
|
||||
{ filterConditionDateTime: { fieldName: "evo_dateto", gte: $currentDate } }
|
||||
{ filterConditionInt: { fieldName: "evo_product_type", eq: 100000005 } }
|
||||
]
|
||||
}
|
||||
) {
|
||||
...CoreAddProductTypesFields
|
||||
evo_min_period
|
||||
@ -787,10 +910,14 @@ query GetFuelCards($currentDate: DateTime) {
|
||||
|
||||
query GetTelematicTypes($currentDate: DateTime) {
|
||||
evo_addproduct_types(
|
||||
statecode: 0
|
||||
evo_datefrom_param: { lte: $currentDate }
|
||||
evo_dateto_param: { gte: $currentDate }
|
||||
evo_product_type: 100000004
|
||||
filterConditionGroup: {
|
||||
andFilterConditions: [
|
||||
{ filterConditionInt: { fieldName: "statecode", eq: 0 } }
|
||||
{ filterConditionDateTime: { fieldName: "evo_datefrom", lte: $currentDate } }
|
||||
{ filterConditionDateTime: { fieldName: "evo_dateto", gte: $currentDate } }
|
||||
{ filterConditionInt: { fieldName: "evo_product_type", eq: 100000004 } }
|
||||
]
|
||||
}
|
||||
) {
|
||||
...CoreAddProductTypesFields
|
||||
evo_controls_program
|
||||
@ -800,10 +927,14 @@ query GetTelematicTypes($currentDate: DateTime) {
|
||||
|
||||
query GetTrackerTypes($currentDate: DateTime) {
|
||||
evo_addproduct_types(
|
||||
statecode: 0
|
||||
evo_datefrom_param: { lte: $currentDate }
|
||||
evo_dateto_param: { gte: $currentDate }
|
||||
evo_product_type: 100000003
|
||||
filterConditionGroup: {
|
||||
andFilterConditions: [
|
||||
{ filterConditionInt: { fieldName: "statecode", eq: 0 } }
|
||||
{ filterConditionDateTime: { fieldName: "evo_datefrom", lte: $currentDate } }
|
||||
{ filterConditionDateTime: { fieldName: "evo_dateto", gte: $currentDate } }
|
||||
{ filterConditionInt: { fieldName: "evo_product_type", eq: 100000003 } }
|
||||
]
|
||||
}
|
||||
) {
|
||||
...CoreAddProductTypesFields
|
||||
evo_controls_program
|
||||
@ -813,10 +944,14 @@ query GetTrackerTypes($currentDate: DateTime) {
|
||||
|
||||
query GetInsNSIBTypes($currentDate: DateTime) {
|
||||
evo_addproduct_types(
|
||||
statecode: 0
|
||||
evo_datefrom_param: { lte: $currentDate }
|
||||
evo_dateto_param: { gte: $currentDate }
|
||||
evo_product_type: 100000002
|
||||
filterConditionGroup: {
|
||||
andFilterConditions: [
|
||||
{ filterConditionInt: { fieldName: "statecode", eq: 0 } }
|
||||
{ filterConditionDateTime: { fieldName: "evo_datefrom", lte: $currentDate } }
|
||||
{ filterConditionDateTime: { fieldName: "evo_dateto", gte: $currentDate } }
|
||||
{ filterConditionInt: { fieldName: "evo_product_type", eq: 100000002 } }
|
||||
]
|
||||
}
|
||||
) {
|
||||
...CoreAddProductTypesFields
|
||||
evo_max_period
|
||||
@ -834,10 +969,14 @@ query GetInsNSIBTypes($currentDate: DateTime) {
|
||||
|
||||
query GetLeasingWithoutKaskoTypes($currentDate: DateTime) {
|
||||
evo_addproduct_types(
|
||||
statecode: 0
|
||||
evo_product_type: 100000007
|
||||
evo_datefrom_param: { lte: $currentDate }
|
||||
evo_dateto_param: { gte: $currentDate }
|
||||
filterConditionGroup: {
|
||||
andFilterConditions: [
|
||||
{ filterConditionInt: { fieldName: "statecode", eq: 0 } }
|
||||
{ filterConditionDateTime: { fieldName: "evo_datefrom", lte: $currentDate } }
|
||||
{ filterConditionDateTime: { fieldName: "evo_dateto", gte: $currentDate } }
|
||||
{ filterConditionInt: { fieldName: "evo_product_type", eq: 100000007 } }
|
||||
]
|
||||
}
|
||||
) {
|
||||
...CoreAddProductTypesFields
|
||||
evo_product_type
|
||||
@ -859,10 +998,14 @@ query GetLeasingWithoutKaskoTypes($currentDate: DateTime) {
|
||||
|
||||
query GetOsagoAddproductTypes($currentDate: DateTime) {
|
||||
evo_addproduct_types(
|
||||
statecode: 0
|
||||
evo_product_type: 100000008
|
||||
evo_datefrom_param: { lte: $currentDate }
|
||||
evo_dateto_param: { gte: $currentDate }
|
||||
filterConditionGroup: {
|
||||
andFilterConditions: [
|
||||
{ filterConditionInt: { fieldName: "statecode", eq: 0 } }
|
||||
{ filterConditionDateTime: { fieldName: "evo_datefrom", lte: $currentDate } }
|
||||
{ filterConditionDateTime: { fieldName: "evo_dateto", gte: $currentDate } }
|
||||
{ filterConditionInt: { fieldName: "evo_product_type", eq: 100000008 } }
|
||||
]
|
||||
}
|
||||
) {
|
||||
evo_product_type
|
||||
evo_visible_calc
|
||||
@ -880,7 +1023,7 @@ query GetOsagoAddproductTypes($currentDate: DateTime) {
|
||||
}
|
||||
}
|
||||
|
||||
query GetInsuranceCompany($accountId: Uuid!) {
|
||||
query GetInsuranceCompany($accountId: UUID!) {
|
||||
account(accountid: $accountId) {
|
||||
evo_osago_with_kasko
|
||||
evo_legal_region_calc
|
||||
@ -889,7 +1032,14 @@ query GetInsuranceCompany($accountId: Uuid!) {
|
||||
}
|
||||
|
||||
query GetInsuranceCompanies {
|
||||
accounts(evo_account_type: [100000002], statecode: 0) {
|
||||
accounts(
|
||||
filterConditionGroup: {
|
||||
andFilterConditions: [
|
||||
{ filterConditionMultyPicklist: { fieldName: "evo_account_type", oneof: [100000002] } }
|
||||
{ filterConditionInt: { fieldName: "statecode", eq: 0 } }
|
||||
]
|
||||
}
|
||||
) {
|
||||
evo_type_ins_policy
|
||||
evo_evokasko_access
|
||||
evo_inn
|
||||
@ -903,7 +1053,11 @@ query GetInsuranceCompanies {
|
||||
}
|
||||
|
||||
query GetRoles($roleName: String) {
|
||||
roles(name: $roleName) {
|
||||
roles(
|
||||
filterConditionGroup: {
|
||||
andFilterConditions: { filterConditionString: { fieldName: "name", eq: $roleName } }
|
||||
}
|
||||
) {
|
||||
systemusers {
|
||||
label: fullname
|
||||
value: domainname
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user