1157 lines
27 KiB
GraphQL
1157 lines
27 KiB
GraphQL
query GetTransactionCurrencies {
|
|
transactioncurrencies {
|
|
label: currencyname
|
|
value: transactioncurrencyid
|
|
transactioncurrencyid
|
|
isocurrencycode
|
|
currencysymbol
|
|
}
|
|
}
|
|
|
|
query GetTransactionCurrency($currencyid: UUID!) {
|
|
transactioncurrency(transactioncurrencyid: $currencyid) {
|
|
currencysymbol
|
|
isocurrencycode
|
|
transactioncurrencyid
|
|
}
|
|
}
|
|
|
|
query GetCurrencyChanges($currentDate: DateTime) {
|
|
evo_currencychanges(
|
|
filterConditionGroup: {
|
|
andFilterConditions: [
|
|
{ filterConditionInt: { fieldName: "statecode", eq: 0 } }
|
|
{ filterConditionDateTime: { fieldName: "evo_coursedate", eq: $currentDate } }
|
|
]
|
|
}
|
|
) {
|
|
evo_currencychange
|
|
evo_ref_transactioncurrency
|
|
}
|
|
}
|
|
|
|
query GetLeads($domainname: String) {
|
|
systemusers(
|
|
filterConditionGroup: {
|
|
andFilterConditions: { filterConditionString: { fieldName: "domainname", eq: $domainname } }
|
|
}
|
|
) {
|
|
leads(orderby: { fieldName: "createdon", sortingType: DESC }) {
|
|
label: fullname
|
|
value: leadid
|
|
}
|
|
}
|
|
}
|
|
|
|
query GetLead($leadid: UUID!) {
|
|
lead(leadid: $leadid) {
|
|
evo_agent_accountid
|
|
evo_double_agent_accountid
|
|
evo_broker_accountid
|
|
evo_fin_department_accountid
|
|
evo_opportunityidData {
|
|
label: name
|
|
value: opportunityid
|
|
}
|
|
evo_inn
|
|
accountidData {
|
|
evo_address_legalidData {
|
|
evo_region_fias_id
|
|
evo_city_fias_id
|
|
}
|
|
evo_okved
|
|
}
|
|
link
|
|
}
|
|
}
|
|
|
|
query GetOpportunity($opportunityid: UUID!) {
|
|
opportunity(opportunityid: $opportunityid) {
|
|
evo_leadid
|
|
accountidData {
|
|
evo_address_legalidData {
|
|
evo_region_fias_id
|
|
evo_city_fias_id
|
|
}
|
|
evo_okved
|
|
}
|
|
link
|
|
}
|
|
}
|
|
|
|
query GetOpportunities($domainname: String) {
|
|
systemusers(
|
|
filterConditionGroup: {
|
|
andFilterConditions: { filterConditionString: { fieldName: "domainname", eq: $domainname } }
|
|
}
|
|
) {
|
|
opportunities(orderby: { fieldName: "createdon", sortingType: DESC }) {
|
|
label: name
|
|
value: opportunityid
|
|
}
|
|
}
|
|
}
|
|
|
|
query GetQuotes($leadid: UUID!) {
|
|
quotes(
|
|
filterConditionGroup: {
|
|
andFilterConditions: [
|
|
{ filterConditionGuid: { fieldName: "evo_leadid", eq: $leadid } }
|
|
{ filterConditionInt: { fieldName: "statecode", eq: 0 } }
|
|
]
|
|
}
|
|
orderby: { fieldName: "createdon", sortingType: DESC }
|
|
) {
|
|
label: evo_quotename
|
|
value: quoteid
|
|
evo_recalc_limit
|
|
evo_statuscodeidData {
|
|
evo_id
|
|
}
|
|
evo_purchases_participation
|
|
}
|
|
}
|
|
|
|
query GetQuote($quoteId: UUID!) {
|
|
quote(quoteid: $quoteId) {
|
|
evo_baseproductid
|
|
evo_one_year_insurance
|
|
evo_min_change_price
|
|
evo_max_price_change
|
|
evo_discount_supplier_currency
|
|
evo_equip_price
|
|
evo_program_import_subsidy_sum
|
|
evo_nds_in_price_supplier_currency
|
|
evo_supplier_currency_price
|
|
evo_approved_first_payment
|
|
evo_recalc_limit
|
|
evo_max_mass
|
|
evo_seats
|
|
evo_year
|
|
evo_last_payment_perc
|
|
evo_maximum_percentage_av
|
|
evo_untype_insurance
|
|
evo_percent_subsidy
|
|
evo_programsolution
|
|
evo_kasko_payer
|
|
evo_promotion
|
|
evo_sale_without_nds
|
|
link
|
|
evo_committee_quote
|
|
evo_msfo_irr
|
|
evo_accept_quoteid
|
|
evo_power
|
|
evo_engine_volume
|
|
evo_nsib
|
|
evo_addproduct_types {
|
|
evo_product_type
|
|
}
|
|
evo_db_accept_registration
|
|
evo_product_risks {
|
|
evo_addproduct_typeid
|
|
}
|
|
evo_fingap_payer
|
|
evo_osago_payer
|
|
evo_kasko_payer
|
|
evo_leasing_bonus_summ
|
|
evo_card_bonus_summ
|
|
evo_nsib_bonus_summ
|
|
}
|
|
}
|
|
|
|
query GetQuoteData($quoteId: UUID!) {
|
|
quote(quoteid: $quoteId) {
|
|
evo_addproduct_types {
|
|
evo_product_type
|
|
evo_addproduct_typeid
|
|
}
|
|
evo_accept_control_addproduct_typeid
|
|
evo_sale_bonus
|
|
evo_baseproductid
|
|
evo_client_typeid
|
|
evo_msfo_irr
|
|
evo_delivery_time
|
|
evo_first_payment_perc
|
|
evo_last_payment_perc
|
|
evo_leasingobject_typeid
|
|
evo_leasingobject_used
|
|
evo_period
|
|
evo_accept_period
|
|
evo_rateid
|
|
evo_min_change_price
|
|
evo_max_price_change
|
|
evo_floating_rate
|
|
evo_sale_without_nds
|
|
evo_price_with_discount
|
|
evo_price_without_discount_quote
|
|
evo_cost_increace
|
|
evo_insurance
|
|
evo_registration_quote
|
|
evo_card_quote
|
|
evo_nsib_quote
|
|
evo_redemption_graph
|
|
evo_fingap_quote
|
|
evo_contact_name
|
|
evo_gender
|
|
evo_last_payment_redemption
|
|
evo_full_nds_price
|
|
evo_kasko_accountid
|
|
evo_kasko_price
|
|
evo_id_elt_kasko
|
|
evo_id_kasko_calc
|
|
evo_franchise
|
|
evo_osago_accountid
|
|
evo_id_elt_osago
|
|
evo_osago_price
|
|
evo_db_accept_registration
|
|
evo_object_registration
|
|
evo_pts_type
|
|
evo_vehicle_tax_year
|
|
evo_vehicle_tax_approved
|
|
evo_category_tr
|
|
evo_vehicle_type_tax
|
|
evo_regionid
|
|
evo_townid
|
|
evo_legal_regionid
|
|
evo_legal_townid
|
|
evo_registration_regionid
|
|
evo_req_telematic
|
|
evo_req_telematic_accept
|
|
evo_osago_payer
|
|
evo_kasko_payer
|
|
evo_insurance_period
|
|
evo_fingap_accountid
|
|
evo_fingap_payer
|
|
evo_fingap_period
|
|
evo_fingap_price
|
|
evo_gps_brandid
|
|
evo_gps_modelid
|
|
evo_insurance_decentral
|
|
evo_unlimit_drivers
|
|
evo_age_drivers
|
|
evo_exp_drivers
|
|
evo_brandid
|
|
evo_category
|
|
evo_engine_hours
|
|
evo_engine_type
|
|
evo_engine_volume
|
|
evo_equipmentid
|
|
evo_max_mass
|
|
evo_max_speed
|
|
evo_mileage
|
|
evo_modelid
|
|
evo_object_count
|
|
evo_power
|
|
evo_recalc_limit
|
|
evo_seats
|
|
evo_trailer
|
|
evo_use_for
|
|
evo_vin
|
|
evo_year
|
|
evo_graph_type
|
|
evo_payments_decrease_perc
|
|
evo_seasons_type
|
|
evo_high_season
|
|
evo_graphs {
|
|
createdon
|
|
evo_sumpay_withnds
|
|
evo_planpayments {
|
|
evo_payment_ratio
|
|
}
|
|
}
|
|
evo_subsidyid
|
|
evo_program_import_subsidyid
|
|
evo_supplier_accountid
|
|
evo_dealer_person_accountid
|
|
evo_dealer_reward_conditionid
|
|
evo_dealer_reward_total
|
|
evo_dealer_reward_summ
|
|
evo_dealer_broker_accountid
|
|
evo_dealer_broker_reward_conditionid
|
|
evo_dealer_broker_reward_total
|
|
evo_dealer_broker_reward_summ
|
|
evo_agent_accountid
|
|
evo_agent_reward_conditionid
|
|
evo_agent_reward_total
|
|
evo_agent_reward_summ
|
|
evo_double_agent_accountid
|
|
evo_double_agent_reward_conditionid
|
|
evo_double_agent_reward_total
|
|
evo_double_agent_reward_summ
|
|
evo_broker_accountid
|
|
evo_broker_reward_conditionid
|
|
evo_broker_reward_total
|
|
evo_broker_reward_summ
|
|
evo_fin_department_accountid
|
|
evo_fin_department_reward_conditionid
|
|
evo_fin_department_reward_total
|
|
evo_fin_department_reward_summ
|
|
evo_supplier_financing
|
|
evo_leadidData {
|
|
evo_agent_accountid
|
|
evo_double_agent_accountid
|
|
evo_broker_accountid
|
|
evo_fin_department_accountid
|
|
}
|
|
evo_product_risks {
|
|
evo_addproduct_typeid
|
|
}
|
|
evo_comission_rub
|
|
evo_comission_perc
|
|
evo_discount_perc
|
|
evo_discount_supplier_currency
|
|
evo_first_payment_rub
|
|
evo_last_payment_calc
|
|
evo_last_payment_rub
|
|
evo_nds_in_price_supplier_currency
|
|
evo_price_without_nds_supplier_currency
|
|
evo_supplier_currency_price
|
|
evo_transactioncurrencyid
|
|
evo_equip_price
|
|
evo_coefficien_bonus_reducttion
|
|
evo_accept_limit_quote
|
|
evo_kasko_insurance_rulesidData {
|
|
evo_id
|
|
}
|
|
evo_osago_insurance_rulesiddData {
|
|
evo_id
|
|
}
|
|
}
|
|
}
|
|
|
|
query GetTarifs($currentDate: DateTime) {
|
|
evo_tarifs(
|
|
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
|
|
evo_tarifid
|
|
evo_baseproductid
|
|
evo_min_period
|
|
evo_max_period
|
|
evo_delivery_time
|
|
evo_min_first_payment
|
|
evo_max_first_payment
|
|
evo_min_last_payment
|
|
evo_max_last_payment
|
|
evo_used
|
|
evo_leasingobject_types {
|
|
evo_leasingobject_typeid
|
|
}
|
|
evo_pl_use_type
|
|
evo_nds_rules
|
|
evo_floating_rate
|
|
}
|
|
}
|
|
|
|
query GetTarif($tarifId: UUID!) {
|
|
evo_tarif(evo_tarifid: $tarifId) {
|
|
label: evo_name
|
|
value: evo_tarifid
|
|
evo_irr
|
|
evo_graphtype_exception
|
|
evo_seasons_type_exception
|
|
evo_min_decreasing_perc
|
|
evo_min_irr
|
|
evo_cut_irr_with_bonus_coefficient
|
|
evo_max_irr
|
|
evo_rates {
|
|
evo_datefrom
|
|
evo_rateid
|
|
evo_type
|
|
statecode
|
|
}
|
|
evo_irr_plan
|
|
evo_margin_min
|
|
}
|
|
}
|
|
|
|
query GetRates($currentDate: DateTime) {
|
|
evo_rates(
|
|
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
|
|
evo_id
|
|
evo_tarifs {
|
|
evo_tarifid
|
|
}
|
|
evo_rateid
|
|
}
|
|
}
|
|
|
|
query GetRate($rateId: UUID!) {
|
|
evo_rate(evo_rateid: $rateId) {
|
|
evo_base_rate
|
|
evo_credit_period
|
|
evo_id
|
|
evo_finance_rate
|
|
}
|
|
}
|
|
|
|
query GetProducts($currentDate: DateTime) {
|
|
evo_baseproducts(
|
|
filterConditionGroup: {
|
|
andFilterConditions: [
|
|
{ filterConditionInt: { fieldName: "statecode", eq: 0 } }
|
|
{ filterConditionDateTime: { fieldName: "evo_datefrom", lte: $currentDate } }
|
|
{ filterConditionDateTime: { fieldName: "evo_dateto", gte: $currentDate } }
|
|
{ filterConditionMultyPicklist: { fieldName: "evo_relation", oneof: [100000000] } }
|
|
]
|
|
}
|
|
) {
|
|
label: evo_name
|
|
value: evo_baseproductid
|
|
evo_baseproductid
|
|
systemusers {
|
|
systemuserid
|
|
}
|
|
}
|
|
}
|
|
|
|
query GetProduct($productId: UUID!) {
|
|
evo_baseproduct(evo_baseproductid: $productId) {
|
|
evo_leasingobject_types {
|
|
evo_leasingobject_typeid
|
|
}
|
|
evo_calculation_method
|
|
evo_baseproducts {
|
|
evo_baseproductid
|
|
}
|
|
evo_brands {
|
|
evo_brandid
|
|
}
|
|
evo_sale_without_nds
|
|
evo_cut_proportion_bonus_director
|
|
evo_cut_irr_with_bonus
|
|
evo_id
|
|
evo_supplier_financing_accept
|
|
accounts {
|
|
accountid
|
|
}
|
|
evo_product_properties
|
|
}
|
|
}
|
|
|
|
query GetSubsidies($currentDate: DateTime) {
|
|
evo_subsidies(
|
|
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
|
|
evo_subsidy_type
|
|
}
|
|
}
|
|
|
|
query GetSubsidy($subsidyId: UUID!) {
|
|
evo_subsidy(evo_subsidyid: $subsidyId) {
|
|
evo_leasingobject_types {
|
|
evo_leasingobject_typeid
|
|
}
|
|
accounts {
|
|
accountid
|
|
}
|
|
evo_brands {
|
|
evo_brandid
|
|
}
|
|
evo_models {
|
|
evo_modelid
|
|
}
|
|
evo_subsidy_summ
|
|
evo_percent_subsidy
|
|
evo_max_subsidy_summ
|
|
evo_get_subsidy_payment
|
|
evo_delivery_time
|
|
}
|
|
}
|
|
|
|
query GetImportProgram($importProgramId: UUID!) {
|
|
importProgram: evo_subsidy(evo_subsidyid: $importProgramId) {
|
|
evo_leasingobject_types {
|
|
evo_leasingobject_typeid
|
|
}
|
|
accounts {
|
|
accountid
|
|
}
|
|
evo_brands {
|
|
evo_brandid
|
|
}
|
|
evo_models {
|
|
evo_modelid
|
|
}
|
|
}
|
|
}
|
|
|
|
query GetRegions {
|
|
evo_regions(orderby: { fieldName: "evo_name", sortingType: ASC }) {
|
|
label: evo_name
|
|
value: evo_regionid
|
|
evo_fias_id
|
|
evo_businessunit_evolution
|
|
}
|
|
}
|
|
|
|
query GetRegion($regionId: UUID!) {
|
|
evo_region(evo_regionid: $regionId) {
|
|
evo_oktmo
|
|
accounts {
|
|
accountid
|
|
}
|
|
evo_kladr_id
|
|
}
|
|
}
|
|
|
|
query GetTowns($regionId: UUID!) {
|
|
evo_towns(
|
|
filterConditionGroup: {
|
|
andFilterConditions: [
|
|
{ filterConditionGuid: { fieldName: "evo_regionid", eq: $regionId } }
|
|
{ filterConditionInt: { fieldName: "statecode", eq: 0 } }
|
|
]
|
|
}
|
|
orderby: { fieldName: "evo_name", sortingType: ASC }
|
|
) {
|
|
evo_fias_id
|
|
label: evo_name
|
|
value: evo_townid
|
|
evo_businessunit_evolution
|
|
}
|
|
}
|
|
|
|
query GetTown($townId: UUID!) {
|
|
evo_town(evo_townid: $townId) {
|
|
evo_kladr_id
|
|
}
|
|
}
|
|
|
|
query GetGPSBrands {
|
|
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(
|
|
filterConditionGroup: {
|
|
andFilterConditions: [
|
|
{ filterConditionGuid: { fieldName: "evo_gps_brandid", eq: $gpsBrandId } }
|
|
{ filterConditionInt: { fieldName: "statecode", eq: 0 } }
|
|
]
|
|
}
|
|
) {
|
|
label: evo_name
|
|
value: evo_gps_modelid
|
|
evo_id
|
|
}
|
|
}
|
|
|
|
query GetLeaseObjectTypes {
|
|
evo_leasingobject_types(
|
|
filterConditionGroup: {
|
|
andFilterConditions: { filterConditionInt: { fieldName: "statecode", eq: 0 } }
|
|
}
|
|
) {
|
|
label: evo_name
|
|
value: evo_leasingobject_typeid
|
|
evo_leasingobject_typeid
|
|
}
|
|
}
|
|
|
|
query GetLeaseObjectType($leaseObjectTypeId: UUID!) {
|
|
evo_leasingobject_type(evo_leasingobject_typeid: $leaseObjectTypeId) {
|
|
evo_vehicle_type
|
|
evo_id
|
|
evo_category
|
|
evo_vehicle_type_tax
|
|
evo_category_tr
|
|
evo_expluatation_period1
|
|
evo_expluatation_period2
|
|
evo_depreciation_rate1
|
|
evo_depreciation_rate2
|
|
evo_trailer
|
|
evo_vehicle_body_type_option
|
|
evo_vehicle_body_types {
|
|
evo_vehicle_body_typeid
|
|
}
|
|
}
|
|
}
|
|
|
|
query GetBrands {
|
|
evo_brands(
|
|
filterConditionGroup: {
|
|
andFilterConditions: { filterConditionInt: { fieldName: "statecode", eq: 0 } }
|
|
}
|
|
orderby: { fieldName: "evo_name", sortingType: ASC }
|
|
) {
|
|
label: evo_name
|
|
value: evo_brandid
|
|
evo_brandid
|
|
evo_vehicle_type
|
|
}
|
|
}
|
|
|
|
query GetBrand($brandId: UUID!) {
|
|
evo_brand(evo_brandid: $brandId) {
|
|
evo_id
|
|
evo_importer_reward_perc
|
|
evo_importer_reward_rub
|
|
evo_maximum_percentage_av
|
|
evo_brand_owner
|
|
}
|
|
}
|
|
|
|
query GetModels($brandId: UUID!) {
|
|
evo_models(
|
|
filterConditionGroup: {
|
|
andFilterConditions: [
|
|
{ filterConditionInt: { fieldName: "statecode", eq: 0 } }
|
|
{ filterConditionGuid: { fieldName: "evo_brandid", eq: $brandId } }
|
|
]
|
|
}
|
|
orderby: { fieldName: "evo_name", sortingType: ASC }
|
|
) {
|
|
label: evo_name
|
|
value: evo_modelid
|
|
evo_modelid
|
|
evo_vehicle_type
|
|
evo_trailer_sign
|
|
evo_vehicle_body_typeid
|
|
}
|
|
}
|
|
|
|
query GetModel($modelId: UUID!) {
|
|
evo_model(evo_modelid: $modelId) {
|
|
evo_impairment_groupidData {
|
|
evo_name
|
|
}
|
|
evo_importer_reward_perc
|
|
evo_importer_reward_rub
|
|
evo_id
|
|
evo_vehicle_body_typeidData {
|
|
evo_id_elt
|
|
}
|
|
evo_running_gear
|
|
evo_trailer_sign
|
|
evo_vehicle_body_typeid
|
|
}
|
|
}
|
|
|
|
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!) {
|
|
evo_equipment(evo_equipmentid: $configurationId) {
|
|
evo_impairment_groupidData {
|
|
evo_name
|
|
}
|
|
}
|
|
}
|
|
|
|
query GetDealers {
|
|
dealers {
|
|
label: name
|
|
value: accountid
|
|
accountid
|
|
evo_supplier_financing_accept
|
|
}
|
|
}
|
|
|
|
query GetDealer($dealerId: UUID!) {
|
|
dealer(accountid: $dealerId) {
|
|
evo_return_leasing_dealer
|
|
evo_broker_accountid
|
|
evo_supplier_financing_accept
|
|
}
|
|
}
|
|
|
|
query GetDealerPersons($dealerId: UUID!) {
|
|
dealerPersons: dealer_persons(salonaccountid: $dealerId) {
|
|
label: name
|
|
value: accountid
|
|
accountid
|
|
evo_inn
|
|
evo_kpp
|
|
evo_supplier_financing_accept
|
|
}
|
|
}
|
|
|
|
query GetDealerPerson($dealerPersonId: UUID!) {
|
|
dealer_person(accountid: $dealerPersonId) {
|
|
evo_supplier_type
|
|
evo_supplier_financing_accept
|
|
evo_return_leasing_dealer
|
|
evo_broker_accountid
|
|
evo_supplier_financing_accept
|
|
}
|
|
}
|
|
|
|
query GetAgent($agentid: UUID!) {
|
|
agent(accountid: $agentid) {
|
|
label: name
|
|
value: accountid
|
|
}
|
|
}
|
|
|
|
query GetRewardConditions($agentid: UUID!, $currentDate: DateTime) {
|
|
evo_reward_conditions(
|
|
filterConditionGroup: {
|
|
andFilterConditionGroup: [
|
|
{
|
|
orFilterConditions: [
|
|
{ filterConditionDateTime: { fieldName: "evo_dateto", gte: $currentDate } }
|
|
{ filterConditionDateTime: { fieldName: "evo_dateto", eq: null } }
|
|
]
|
|
}
|
|
{
|
|
andFilterConditions: [
|
|
{ filterConditionGuid: { fieldName: "evo_agent_accountid", eq: $agentid } }
|
|
{ filterConditionDateTime: { fieldName: "evo_datefrom", lte: $currentDate } }
|
|
{ filterConditionInt: { fieldName: "statecode", eq: 0 } }
|
|
{ filterConditionGuid: { fieldName: "evo_agency_agreementid", neq: null } }
|
|
]
|
|
}
|
|
]
|
|
}
|
|
) {
|
|
label: evo_name
|
|
value: evo_reward_conditionid
|
|
evo_reward_summ
|
|
evo_pl_type
|
|
}
|
|
}
|
|
|
|
query GetRewardCondition($conditionId: UUID!) {
|
|
evo_reward_condition(evo_reward_conditionid: $conditionId) {
|
|
evo_reward_summ
|
|
evo_reduce_reward
|
|
evo_min_reward_summ
|
|
evo_agency_agreementidData {
|
|
evo_required_reward
|
|
evo_reward_without_other_agent
|
|
evo_leasingobject_price
|
|
}
|
|
evo_calc_reward_rules
|
|
}
|
|
}
|
|
|
|
query GetSotCoefficientType($evo_id: String) {
|
|
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(
|
|
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
|
|
evo_baseproducts {
|
|
evo_baseproductid
|
|
evo_id
|
|
}
|
|
evo_sot_coefficient
|
|
evo_corfficient_type
|
|
evo_sot_coefficient_typeidData {
|
|
evo_id
|
|
}
|
|
evo_correction_coefficient
|
|
evo_min_period
|
|
evo_max_period
|
|
evo_season_type
|
|
evo_graph_type
|
|
evo_businessunits {
|
|
evo_sale_businessunitid
|
|
}
|
|
evo_risk_delta
|
|
}
|
|
}
|
|
|
|
query GetSystemUser($domainname: String) {
|
|
systemusers(
|
|
filterConditionGroup: {
|
|
filterCondition: { filterConditionString: { fieldName: "domainname", eq: $domainname } }
|
|
}
|
|
) {
|
|
evo_job_titleid
|
|
businessunitid
|
|
roles {
|
|
name
|
|
}
|
|
systemuserid
|
|
}
|
|
}
|
|
|
|
fragment CoreAddProductTypesFields on evo_addproduct_type {
|
|
evo_graph_price
|
|
label: evo_name
|
|
value: evo_addproduct_typeid
|
|
}
|
|
|
|
query GetAddproductTypes($currentDate: DateTime) {
|
|
evo_addproduct_types(
|
|
filterConditionGroup: {
|
|
andFilterConditions: [
|
|
{ filterConditionInt: { fieldName: "statecode", eq: 0 } }
|
|
{ filterConditionDateTime: { fieldName: "evo_datefrom", lte: $currentDate } }
|
|
{ filterConditionDateTime: { fieldName: "evo_dateto", gte: $currentDate } }
|
|
]
|
|
}
|
|
) {
|
|
...CoreAddProductTypesFields
|
|
evo_product_type
|
|
evo_addproduct_typeid
|
|
evo_name
|
|
evo_type_calc_cerebellum
|
|
evo_cost_service_provider_withoutnds
|
|
evo_addproduct_types {
|
|
evo_addproduct_typeid
|
|
}
|
|
}
|
|
}
|
|
|
|
query GetAddProductType($addproductTypeId: UUID!) {
|
|
evo_addproduct_type(evo_addproduct_typeid: $addproductTypeId) {
|
|
evo_description
|
|
evo_helpcard_type
|
|
evo_planpayments {
|
|
evo_name
|
|
evo_cost_price_telematics_withoutnds
|
|
evo_cost_equipment_withoutnds
|
|
evo_cost_telematics_withoutnds
|
|
}
|
|
evo_graph_price_withoutnds
|
|
evo_cost_service_provider_withoutnds
|
|
evo_retro_bonus_withoutnds
|
|
evo_evokasko_calc_type
|
|
evo_loss_kv
|
|
evo_price_service_provider_withoutnds
|
|
evo_graph_price
|
|
evo_product_type
|
|
evo_addproduct_typeid
|
|
}
|
|
}
|
|
|
|
query GetRegistrationTypes($currentDate: DateTime) {
|
|
evo_addproduct_types(
|
|
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 {
|
|
evo_leasingobject_typeid
|
|
}
|
|
evo_whom_register
|
|
evo_gibdd_region
|
|
evo_pts_type
|
|
evo_accountid
|
|
evo_towtruck
|
|
}
|
|
}
|
|
|
|
query GetTechnicalCards($currentDate: DateTime) {
|
|
evo_addproduct_types(
|
|
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
|
|
evo_max_period
|
|
evo_leasingobject_types {
|
|
evo_leasingobject_typeid
|
|
}
|
|
evo_helpcard_type
|
|
}
|
|
}
|
|
|
|
query GetFuelCards($currentDate: DateTime) {
|
|
evo_addproduct_types(
|
|
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
|
|
evo_max_period
|
|
evo_leasingobject_types {
|
|
evo_leasingobject_typeid
|
|
}
|
|
}
|
|
}
|
|
|
|
query GetTelematicTypes($currentDate: DateTime) {
|
|
evo_addproduct_types(
|
|
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
|
|
evo_visible_calc
|
|
}
|
|
}
|
|
|
|
query GetTrackerTypes($currentDate: DateTime) {
|
|
evo_addproduct_types(
|
|
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
|
|
evo_visible_calc
|
|
}
|
|
}
|
|
|
|
query GetInsNSIBTypes($currentDate: DateTime) {
|
|
evo_addproduct_types(
|
|
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
|
|
evo_min_period
|
|
evo_max_price
|
|
evo_min_price
|
|
evo_leasingobject_types {
|
|
evo_leasingobject_typeid
|
|
}
|
|
evo_visible_calc
|
|
evo_min_first_payment_perc
|
|
evo_max_first_payment_perc
|
|
}
|
|
}
|
|
|
|
query GetLeasingWithoutKaskoTypes($currentDate: DateTime) {
|
|
evo_addproduct_types(
|
|
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
|
|
evo_min_period
|
|
evo_max_period
|
|
evo_min_price
|
|
evo_max_price
|
|
evo_leasingobject_types {
|
|
evo_leasingobject_typeid
|
|
}
|
|
evo_visible_calc
|
|
evo_min_first_payment_perc
|
|
evo_max_first_payment_perc
|
|
evo_models {
|
|
evo_modelid
|
|
}
|
|
}
|
|
}
|
|
|
|
query GetOsagoAddproductTypes($currentDate: DateTime) {
|
|
evo_addproduct_types(
|
|
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
|
|
evo_accountid
|
|
createdon
|
|
evo_category
|
|
evo_min_power
|
|
evo_max_power
|
|
evo_min_seats_count
|
|
evo_max_seats_count
|
|
evo_min_mass
|
|
evo_max_mass
|
|
evo_graph_price_withoutnds
|
|
evo_id
|
|
}
|
|
}
|
|
|
|
query GetInsuranceCompany($accountId: UUID!) {
|
|
account: insurance(accountid: $accountId) {
|
|
evo_osago_with_kasko
|
|
evo_legal_region_calc
|
|
accountid
|
|
evo_kasko_fact_part
|
|
evo_kasko_plan_part
|
|
}
|
|
}
|
|
|
|
query GetInsuranceCompanies {
|
|
accounts: insurances {
|
|
evo_type_ins_policy
|
|
evo_evokasko_access
|
|
evo_inn
|
|
value: accountid
|
|
label: name
|
|
evo_id_elt_osago
|
|
evo_id_elt
|
|
evo_id_elt_smr
|
|
evo_osago_id
|
|
evo_kasko_category
|
|
evo_osago_category
|
|
}
|
|
}
|
|
|
|
query GetEltInsuranceRules($currentDate: DateTime) {
|
|
evo_insurance_ruleses(
|
|
filterConditionGroup: {
|
|
andFilterConditions: [
|
|
{ filterConditionInt: { fieldName: "statecode", eq: 0 } }
|
|
{ filterConditionDateTime: { fieldName: "evo_datefrom", lte: $currentDate } }
|
|
{ filterConditionDateTime: { fieldName: "evo_dateto", gte: $currentDate } }
|
|
]
|
|
}
|
|
) {
|
|
evo_id
|
|
evo_datefrom
|
|
evo_dateto
|
|
evo_risk
|
|
evo_category
|
|
evo_min_period
|
|
evo_max_period
|
|
evo_object_type
|
|
evo_use_for
|
|
evo_min_price
|
|
evo_max_price
|
|
evo_min_year
|
|
evo_max_year
|
|
evo_min_power
|
|
evo_max_power
|
|
evo_enginie_type
|
|
evo_opf
|
|
evo_min_mileage
|
|
evo_max_mileage
|
|
evo_brand
|
|
evo_model
|
|
evo_region
|
|
evo_dealer
|
|
evo_rules_type
|
|
evo_message
|
|
evo_discount
|
|
evo_insurer_accountid
|
|
evo_brand
|
|
evo_model
|
|
evo_region
|
|
evo_dealer
|
|
evo_brands {
|
|
evo_brandid
|
|
}
|
|
evo_models {
|
|
evo_modelid
|
|
}
|
|
accounts {
|
|
accountid
|
|
}
|
|
evo_regions {
|
|
evo_regionid
|
|
}
|
|
}
|
|
}
|
|
|
|
query GetRoles($roleName: String) {
|
|
roles(
|
|
filterConditionGroup: {
|
|
andFilterConditions: { filterConditionString: { fieldName: "name", eq: $roleName } }
|
|
}
|
|
) {
|
|
systemusers {
|
|
label: fullname
|
|
value: domainname
|
|
}
|
|
}
|
|
}
|