353 lines
15 KiB
TypeScript
353 lines
15 KiB
TypeScript
export type Maybe<T> = T | null;
|
|
export type InputMaybe<T> = Maybe<T>;
|
|
export type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] };
|
|
export type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]> };
|
|
export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]: Maybe<T[SubKey]> };
|
|
/** All built-in and custom scalars, mapped to their actual values */
|
|
export type Scalars = {
|
|
ID: string;
|
|
String: string;
|
|
Boolean: boolean;
|
|
Int: number;
|
|
Float: number;
|
|
/** The `DateTime` scalar represents an ISO-8601 compliant date time type. */
|
|
DateTime: string;
|
|
/** The built-in `Decimal` scalar type. */
|
|
Decimal: number;
|
|
/** The multiplier path scalar represents a valid GraphQL multiplier path string. */
|
|
MultiplierPath: any;
|
|
Uuid: string;
|
|
};
|
|
|
|
export type ConditionInput = {
|
|
conditions?: InputMaybe<Array<InputMaybe<ConditionInput>>>;
|
|
filters?: InputMaybe<Array<InputMaybe<FilterInput>>>;
|
|
logicoperation: LogicOperation;
|
|
};
|
|
|
|
export type DateParamInput = {
|
|
eq?: InputMaybe<Scalars['DateTime']>;
|
|
gt?: InputMaybe<Scalars['DateTime']>;
|
|
gte?: InputMaybe<Scalars['DateTime']>;
|
|
lt?: InputMaybe<Scalars['DateTime']>;
|
|
lte?: InputMaybe<Scalars['DateTime']>;
|
|
};
|
|
|
|
export type DecimalParamInput = {
|
|
eq?: InputMaybe<Scalars['Decimal']>;
|
|
gt?: InputMaybe<Scalars['Decimal']>;
|
|
gte?: InputMaybe<Scalars['Decimal']>;
|
|
lt?: InputMaybe<Scalars['Decimal']>;
|
|
lte?: InputMaybe<Scalars['Decimal']>;
|
|
};
|
|
|
|
export type EntityDataInput = {
|
|
fields?: InputMaybe<Array<InputMaybe<EntityFieldInput>>>;
|
|
id?: InputMaybe<Scalars['Uuid']>;
|
|
logicalName?: InputMaybe<Scalars['String']>;
|
|
};
|
|
|
|
export type EntityFieldInput = {
|
|
activitypartiesvalue?: InputMaybe<Array<InputMaybe<ActivitypartyInput>>>;
|
|
boolvalue?: InputMaybe<Scalars['Boolean']>;
|
|
datetimevalue?: InputMaybe<Scalars['DateTime']>;
|
|
decimalvalue?: InputMaybe<Scalars['Decimal']>;
|
|
guidvalue?: InputMaybe<Scalars['Uuid']>;
|
|
intarrayvalue?: InputMaybe<Array<Scalars['Int']>>;
|
|
intvalue?: InputMaybe<Scalars['Int']>;
|
|
key?: InputMaybe<Scalars['String']>;
|
|
stringvalue?: InputMaybe<Scalars['String']>;
|
|
};
|
|
|
|
export type FilterInput = {
|
|
fieldname?: InputMaybe<Scalars['String']>;
|
|
guidvalues?: InputMaybe<Array<InputMaybe<Scalars['Uuid']>>>;
|
|
intvalues?: InputMaybe<Array<Scalars['Int']>>;
|
|
operation: FilterOperation;
|
|
stringvalues?: InputMaybe<Array<InputMaybe<Scalars['String']>>>;
|
|
};
|
|
|
|
export enum FilterOperation {
|
|
Contains = 'CONTAINS',
|
|
Equal = 'EQUAL',
|
|
Isnull = 'ISNULL',
|
|
Lessorequalthen = 'LESSOREQUALTHEN',
|
|
Lessthen = 'LESSTHEN',
|
|
Moreorequalthen = 'MOREOREQUALTHEN',
|
|
Morethen = 'MORETHEN',
|
|
Notcontains = 'NOTCONTAINS'
|
|
}
|
|
|
|
export type GuidParamInput = {
|
|
eq?: InputMaybe<Scalars['Uuid']>;
|
|
has?: InputMaybe<Scalars['Boolean']>;
|
|
in?: InputMaybe<Array<Scalars['Uuid']>>;
|
|
};
|
|
|
|
export enum LogicOperation {
|
|
And = 'AND',
|
|
Or = 'OR'
|
|
}
|
|
|
|
export type OrderByInput = {
|
|
fieldName?: InputMaybe<Scalars['String']>;
|
|
sortingType: SortingType;
|
|
};
|
|
|
|
export enum SortingType {
|
|
Asc = 'ASC',
|
|
Desc = 'DESC'
|
|
}
|
|
|
|
export type StringParamInput = {
|
|
eq?: InputMaybe<Scalars['String']>;
|
|
};
|
|
|
|
export type ActivitypartyInput = {
|
|
addressused?: InputMaybe<Scalars['String']>;
|
|
createdon?: InputMaybe<Scalars['DateTime']>;
|
|
modifiedon?: InputMaybe<Scalars['DateTime']>;
|
|
participationtypemask?: InputMaybe<Scalars['Int']>;
|
|
partyid_account?: InputMaybe<Scalars['Uuid']>;
|
|
partyid_contact?: InputMaybe<Scalars['Uuid']>;
|
|
partyid_evo_contract?: InputMaybe<Scalars['Uuid']>;
|
|
partyid_queue?: InputMaybe<Scalars['Uuid']>;
|
|
partyid_systemuser?: InputMaybe<Scalars['Uuid']>;
|
|
};
|
|
|
|
export type GetCurrencySymbolQueryVariables = Exact<{
|
|
currencyid: Scalars['Uuid'];
|
|
}>;
|
|
|
|
|
|
export type GetCurrencySymbolQuery = { __typename?: 'Query', transactioncurrency: { __typename?: 'transactioncurrency', currencysymbol: string | null } | null };
|
|
|
|
export type GetRisksDataFromQuoteQueryVariables = Exact<{
|
|
quoteId: Scalars['Uuid'];
|
|
}>;
|
|
|
|
|
|
export type GetRisksDataFromQuoteQuery = { __typename?: 'Query', quote: { __typename?: 'quote', evo_fingap_accountid: string | null, evo_fingap_payer: number | null, evo_fingap_period: number | null, evo_product_risks: Array<{ __typename?: 'evo_product_risk', evo_addproduct_typeid: string | null }> | null } | null };
|
|
|
|
export type GetFinGapAddProductTypesQueryVariables = Exact<{
|
|
currentDate: InputMaybe<Scalars['DateTime']>;
|
|
}>;
|
|
|
|
|
|
export type GetFinGapAddProductTypesQuery = { __typename?: 'Query', evo_addproduct_types: Array<{ __typename?: 'evo_addproduct_type', evo_addproduct_typeid: string | null, evo_name: string | null, evo_type_calc_cerebellum: number | null, evo_cost_service_provider_withoutnds: number | null, evo_addproduct_types: Array<{ __typename?: 'evo_addproduct_type', evo_addproduct_typeid: string | null } | null> | null } | null> | null };
|
|
|
|
export type GetInsuranceDataQueryVariables = Exact<{
|
|
evo_account_type: InputMaybe<Array<Scalars['Int']> | Scalars['Int']>;
|
|
}>;
|
|
|
|
|
|
export type GetInsuranceDataQuery = { __typename?: 'Query', osago: Array<{ __typename?: 'account', value: string | null, label: string | null } | null> | null, kasko: Array<{ __typename?: 'account', value: string | null, label: string | null } | null> | null, fingap: Array<{ __typename?: 'account', value: string | null, label: string | null } | null> | null };
|
|
|
|
export type GetMainOptionsQueryVariables = Exact<{
|
|
currentDate: InputMaybe<Scalars['DateTime']>;
|
|
}>;
|
|
|
|
|
|
export type GetMainOptionsQuery = { __typename?: 'Query', selectSupplierCurrency: Array<{ __typename?: 'transactioncurrency', currencysymbol: string | null, label: string | null, value: string | null } | null> | null, selectProduct: Array<{ __typename?: 'evo_baseproduct', label: string | null, value: string | null } | null> | null, selectLeaseObjectType: Array<{ __typename?: 'evo_leasingobject_type', label: string | null, value: string | null } | null> | null, selectGPSBrand: Array<{ __typename?: 'evo_gps_brand', label: string | null, value: string | null } | null> | null };
|
|
|
|
export type GetSubsidiesQueryVariables = Exact<{
|
|
currentDate: InputMaybe<Scalars['DateTime']>;
|
|
}>;
|
|
|
|
|
|
export type GetSubsidiesQuery = { __typename?: 'Query', evo_subsidies: Array<{ __typename?: 'evo_subsidy', evo_subsidy_type: number | null, label: string | null, value: string | null } | null> | null };
|
|
|
|
export type GetRegionsQueryVariables = Exact<{ [key: string]: never; }>;
|
|
|
|
|
|
export type GetRegionsQuery = { __typename?: 'Query', evo_regions: Array<{ __typename?: 'evo_region', label: string | null, value: string | null } | null> | null };
|
|
|
|
export type GetBrandsQueryVariables = Exact<{ [key: string]: never; }>;
|
|
|
|
|
|
export type GetBrandsQuery = { __typename?: 'Query', selectBrand: Array<{ __typename?: 'evo_brand', label: string | null, value: string | null } | null> | null };
|
|
|
|
export type GetDealersQueryVariables = Exact<{ [key: string]: never; }>;
|
|
|
|
|
|
export type GetDealersQuery = { __typename?: 'Query', selectDealer: Array<{ __typename?: 'account', label: string | null, value: string | null } | null> | null };
|
|
|
|
export type GetAddproductTypesQueryVariables = Exact<{ [key: string]: never; }>;
|
|
|
|
|
|
export type GetAddproductTypesQuery = { __typename?: 'Query', evo_addproduct_types: Array<{ __typename?: 'evo_addproduct_type', evo_graph_price: number | null, evo_product_type: number | null, label: string | null, value: string | null } | null> | null };
|
|
|
|
export type GetOwnerDataQueryVariables = Exact<{
|
|
domainname: InputMaybe<Scalars['String']>;
|
|
}>;
|
|
|
|
|
|
export type GetOwnerDataQuery = { __typename?: 'Query', selectLead: Array<{ __typename?: 'lead', label: string | null, value: string | null } | null> | null, selectOpportunity: Array<{ __typename?: 'opportunity', label: string | null, value: string | null } | null> | null };
|
|
|
|
export type GetTransactionCurrenciesQueryVariables = Exact<{ [key: string]: never; }>;
|
|
|
|
|
|
export type GetTransactionCurrenciesQuery = { __typename?: 'Query', transactioncurrencies: Array<{ __typename?: 'transactioncurrency', isocurrencycode: string | null, transactioncurrencyid: string | null } | null> | null };
|
|
|
|
export type GetOpportunityByLeadQueryVariables = Exact<{
|
|
leadid: Scalars['Uuid'];
|
|
}>;
|
|
|
|
|
|
export type GetOpportunityByLeadQuery = { __typename?: 'Query', lead: { __typename?: 'lead', evo_opportunityidData: { __typename?: 'opportunity', label: string | null, value: string | null } | null } | null };
|
|
|
|
export type GetLeadidByOpportunityQueryVariables = Exact<{
|
|
opportunityid: Scalars['Uuid'];
|
|
}>;
|
|
|
|
|
|
export type GetLeadidByOpportunityQuery = { __typename?: 'Query', opportunity: { __typename?: 'opportunity', evo_leadid: string | null } | null };
|
|
|
|
export type GetQuotesByLeadQueryVariables = Exact<{
|
|
leadid: Scalars['Uuid'];
|
|
}>;
|
|
|
|
|
|
export type GetQuotesByLeadQuery = { __typename?: 'Query', quotes: Array<{ __typename?: 'quote', label: string | null, value: string | null } | null> | null };
|
|
|
|
export type GetLeadUrlQueryVariables = Exact<{
|
|
id: Scalars['Uuid'];
|
|
}>;
|
|
|
|
|
|
export type GetLeadUrlQuery = { __typename?: 'Query', entity: { __typename?: 'lead', link: string | null } | null };
|
|
|
|
export type GetOpportunityUrlQueryVariables = Exact<{
|
|
id: Scalars['Uuid'];
|
|
}>;
|
|
|
|
|
|
export type GetOpportunityUrlQuery = { __typename?: 'Query', entity: { __typename?: 'opportunity', link: string | null } | null };
|
|
|
|
export type GetQuoteUrlQueryVariables = Exact<{
|
|
id: Scalars['Uuid'];
|
|
}>;
|
|
|
|
|
|
export type GetQuoteUrlQuery = { __typename?: 'Query', entity: { __typename?: 'quote', link: string | null } | null };
|
|
|
|
export type GetPaymentsDataFromQuoteQueryVariables = Exact<{
|
|
quoteId: Scalars['Uuid'];
|
|
}>;
|
|
|
|
|
|
export type GetPaymentsDataFromQuoteQuery = { __typename?: 'Query', quote: { __typename?: 'quote', evo_period: number | null, evo_accept_period: number | null, evo_first_payment_perc: number | null, evo_last_payment_perc: number | null, evo_graph_type: number | null, evo_payments_decrease_perc: number | null, evo_seasons_type: number | null, evo_high_season: number | null, evo_graphs: Array<{ __typename?: 'evo_graph', createdon: string, evo_sumpay_withnds: number | null, evo_planpayments: Array<{ __typename?: 'evo_planpayment', evo_payment_ratio: number | null }> | null }> | null } | null };
|
|
|
|
export type GetCurrencyChangesQueryVariables = Exact<{
|
|
currentDate: InputMaybe<Scalars['DateTime']>;
|
|
}>;
|
|
|
|
|
|
export type GetCurrencyChangesQuery = { __typename?: 'Query', evo_currencychanges: Array<{ __typename?: 'evo_currencychange', evo_currencychange: number | null, evo_ref_transactioncurrency: string | null } | null> | null };
|
|
|
|
export type GetCurrencyIsoCodeQueryVariables = Exact<{
|
|
id: Scalars['Uuid'];
|
|
}>;
|
|
|
|
|
|
export type GetCurrencyIsoCodeQuery = { __typename?: 'Query', transactioncurrency: { __typename?: 'transactioncurrency', isocurrencycode: string | null } | null };
|
|
|
|
export type GetRewardRulesQueryVariables = Exact<{
|
|
conditionId: Scalars['Uuid'];
|
|
}>;
|
|
|
|
|
|
export type GetRewardRulesQuery = { __typename?: 'Query', evo_reward_condition: { __typename?: 'evo_reward_condition', evo_calc_reward_rules: number | null } | null };
|
|
|
|
export type GetAgentsDataFromQuoteQueryVariables = Exact<{
|
|
quoteId: Scalars['Uuid'];
|
|
}>;
|
|
|
|
|
|
export type GetAgentsDataFromQuoteQuery = { __typename?: 'Query', quote: { __typename?: 'quote', evo_supplier_accountid: string | null, evo_dealer_person_accountid: string | null, evo_dealer_reward_conditionid: string | null, evo_dealer_reward_total: number | null, evo_dealer_reward_summ: number | null, evo_dealer_broker_accountid: string | null, evo_dealer_broker_reward_conditionid: string | null, evo_dealer_broker_reward_total: number | null, evo_dealer_broker_reward_summ: number | null, evo_agent_accountid: string | null, evo_agent_reward_conditionid: string | null, evo_agent_reward_total: number | null, evo_agent_reward_summ: number | null, evo_double_agent_accountid: string | null, evo_double_agent_reward_conditionid: string | null, evo_double_agent_reward_total: number | null, evo_double_agent_reward_summ: number | null, evo_broker_accountid: string | null, evo_broker_reward_conditionid: string | null, evo_broker_reward_total: number | null, evo_broker_reward_summ: number | null, evo_fin_department_accountid: string | null, evo_fin_department_reward_conditionid: string | null, evo_fin_department_reward_total: number | null, evo_fin_department_reward_summ: number | null } | null };
|
|
|
|
export type GetRewardConditionsQueryVariables = Exact<{
|
|
agentid: Scalars['Uuid'];
|
|
currentDate: InputMaybe<Scalars['DateTime']>;
|
|
}>;
|
|
|
|
|
|
export type GetRewardConditionsQuery = { __typename?: 'Query', evo_reward_conditions: Array<{ __typename?: 'evo_reward_condition', evo_reward_summ: number | null, label: string | null, value: string | null } | null> | null };
|
|
|
|
export type GetRewardSummQueryVariables = Exact<{
|
|
conditionId: Scalars['Uuid'];
|
|
}>;
|
|
|
|
|
|
export type GetRewardSummQuery = { __typename?: 'Query', evo_reward_condition: { __typename?: 'evo_reward_condition', evo_reward_summ: number | null } | null };
|
|
|
|
export type GetRewardConditionQueryVariables = Exact<{
|
|
conditionId: Scalars['Uuid'];
|
|
}>;
|
|
|
|
|
|
export type GetRewardConditionQuery = { __typename?: 'Query', evo_reward_condition: { __typename?: 'evo_reward_condition', evo_reward_summ: number | null, evo_reduce_reward: boolean | null, evo_min_reward_summ: number | null, evo_agency_agreementidData: { __typename?: 'evo_agency_agreement', evo_required_reward: boolean | null } | null } | null };
|
|
|
|
export type GetAgentAccountIdFromLeadQueryVariables = Exact<{
|
|
leadid: Scalars['Uuid'];
|
|
}>;
|
|
|
|
|
|
export type GetAgentAccountIdFromLeadQuery = { __typename?: 'Query', lead: { __typename?: 'lead', agentid: string | null } | null };
|
|
|
|
export type GetDoubleAgentAccountIdQueryVariables = Exact<{
|
|
leadid: Scalars['Uuid'];
|
|
}>;
|
|
|
|
|
|
export type GetDoubleAgentAccountIdQuery = { __typename?: 'Query', lead: { __typename?: 'lead', agentid: string | null } | null };
|
|
|
|
export type GetBrokerAccountIdQueryVariables = Exact<{
|
|
leadid: Scalars['Uuid'];
|
|
}>;
|
|
|
|
|
|
export type GetBrokerAccountIdQuery = { __typename?: 'Query', lead: { __typename?: 'lead', agentid: string | null } | null };
|
|
|
|
export type GetFinDepartmentAccountIdQueryVariables = Exact<{
|
|
leadid: Scalars['Uuid'];
|
|
}>;
|
|
|
|
|
|
export type GetFinDepartmentAccountIdQuery = { __typename?: 'Query', lead: { __typename?: 'lead', agentid: string | null } | null };
|
|
|
|
export type GetAgentQueryVariables = Exact<{
|
|
agentid: Scalars['Uuid'];
|
|
}>;
|
|
|
|
|
|
export type GetAgentQuery = { __typename?: 'Query', agent: { __typename?: 'account', label: string | null, value: string | null } | null };
|
|
|
|
export type GetRewardWithoutOtherAgentQueryVariables = Exact<{
|
|
conditionId: Scalars['Uuid'];
|
|
}>;
|
|
|
|
|
|
export type GetRewardWithoutOtherAgentQuery = { __typename?: 'Query', evo_reward_condition: { __typename?: 'evo_reward_condition', evo_agency_agreementidData: { __typename?: 'evo_agency_agreement', evo_reward_without_other_agent: boolean | null } | null } | null };
|
|
|
|
export type GetDealerReturnLeasingQueryVariables = Exact<{
|
|
dealerId: Scalars['Uuid'];
|
|
}>;
|
|
|
|
|
|
export type GetDealerReturnLeasingQuery = { __typename?: 'Query', dealer: { __typename?: 'account', evo_return_leasing_dealer: boolean | null } | null };
|
|
|
|
export type GetDealerPersonQueryVariables = Exact<{
|
|
dealerId: Scalars['Uuid'];
|
|
}>;
|
|
|
|
|
|
export type GetDealerPersonQuery = { __typename?: 'Query', salon_providers: Array<{ __typename?: 'account', evo_inn: string | null, evo_kpp: string | null, label: string | null, value: string | null } | null> | null };
|
|
|
|
export type GetBrokerAccountIdFromDealerQueryVariables = Exact<{
|
|
dealerId: Scalars['Uuid'];
|
|
}>;
|
|
|
|
|
|
export type GetBrokerAccountIdFromDealerQuery = { __typename?: 'Query', dealer: { __typename?: 'account', evo_broker_accountid: string | null } | null };
|