@insurup/sdk 0.1.13 → 0.1.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +55 -58
- package/dist/client/client.d.ts +153 -0
- package/dist/client/client.d.ts.map +1 -0
- package/dist/client/graphql.d.ts +51 -0
- package/dist/client/graphql.d.ts.map +1 -0
- package/dist/client/http.d.ts +173 -0
- package/dist/client/http.d.ts.map +1 -0
- package/dist/clients/agent.d.ts +121 -0
- package/dist/clients/agent.d.ts.map +1 -0
- package/dist/clients/agentBranch.d.ts +61 -0
- package/dist/clients/agentBranch.d.ts.map +1 -0
- package/dist/clients/agentRole.d.ts +60 -0
- package/dist/clients/agentRole.d.ts.map +1 -0
- package/dist/clients/agentSetup.d.ts +34 -0
- package/dist/clients/agentSetup.d.ts.map +1 -0
- package/dist/clients/agentUser.d.ts +176 -0
- package/dist/clients/agentUser.d.ts.map +1 -0
- package/dist/clients/case.d.ts +232 -0
- package/dist/clients/case.d.ts.map +1 -0
- package/dist/clients/coverage.d.ts +98 -0
- package/dist/clients/coverage.d.ts.map +1 -0
- package/dist/clients/customer.d.ts +216 -0
- package/dist/clients/customer.d.ts.map +1 -0
- package/dist/clients/file.d.ts +30 -0
- package/dist/clients/file.d.ts.map +1 -0
- package/dist/clients/insurance.d.ts +105 -0
- package/dist/clients/insurance.d.ts.map +1 -0
- package/dist/clients/language.d.ts +27 -0
- package/dist/clients/language.d.ts.map +1 -0
- package/dist/clients/policy.d.ts +251 -0
- package/dist/clients/policy.d.ts.map +1 -0
- package/dist/clients/property.d.ts +163 -0
- package/dist/clients/property.d.ts.map +1 -0
- package/dist/clients/proposal.d.ts +232 -0
- package/dist/clients/proposal.d.ts.map +1 -0
- package/dist/clients/template.d.ts +73 -0
- package/dist/clients/template.d.ts.map +1 -0
- package/dist/clients/vehicle.d.ts +112 -0
- package/dist/clients/vehicle.d.ts.map +1 -0
- package/dist/clients/webhook.d.ts +106 -0
- package/dist/clients/webhook.d.ts.map +1 -0
- package/dist/core/config.d.ts +38 -0
- package/dist/core/config.d.ts.map +1 -0
- package/dist/core/endpoints.d.ts +1331 -0
- package/dist/core/endpoints.d.ts.map +1 -0
- package/dist/core/error-types.d.ts +66 -0
- package/dist/core/error-types.d.ts.map +1 -0
- package/dist/core/errors.d.ts +42 -0
- package/dist/core/errors.d.ts.map +1 -0
- package/dist/core/options.d.ts +221 -0
- package/dist/core/options.d.ts.map +1 -0
- package/dist/core/result.d.ts +183 -0
- package/dist/core/result.d.ts.map +1 -0
- package/dist/core/retry.d.ts +15 -0
- package/dist/core/retry.d.ts.map +1 -0
- package/dist/index.browser.js +1 -1
- package/dist/index.browser.js.map +1 -1
- package/dist/index.cjs +144 -506
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +31 -4225
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +144 -506
- package/dist/index.js.map +1 -1
- package/dist/version.d.ts +10 -0
- package/dist/version.d.ts.map +1 -0
- package/package.json +16 -13
- package/dist/index.d.cts +0 -4226
|
@@ -0,0 +1,1331 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview InsurUp API Endpoints - API endpoint definitions
|
|
3
|
+
* @description API endpoint definitions with identical names and render functions
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* Contact form endpoints
|
|
7
|
+
*/
|
|
8
|
+
export declare const contactForm: {
|
|
9
|
+
readonly submit: "contact-form";
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* Agent management endpoints
|
|
13
|
+
*/
|
|
14
|
+
export declare const agents: {
|
|
15
|
+
readonly getCurrentAgent: "agents/me";
|
|
16
|
+
readonly updateCurrentAgent: "agents/me";
|
|
17
|
+
readonly reSyncCurrentAgentWithInsurance: "agents/me/re-sync";
|
|
18
|
+
readonly insuranceCompanies: {
|
|
19
|
+
readonly getMyInsuranceCompanies: "agents/me/insurance-companies";
|
|
20
|
+
readonly addInsuranceCompanyToAgent: "agents/me/insurance-companies";
|
|
21
|
+
readonly getBranches: {
|
|
22
|
+
readonly definition: "agents/me/insurance-companies/{AgentInsuranceCompanyId}/branches";
|
|
23
|
+
readonly render: (agentInsuranceCompanyId: string) => string;
|
|
24
|
+
};
|
|
25
|
+
readonly getConnection: {
|
|
26
|
+
readonly definition: "agents/me/insurance-companies/{AgentInsuranceCompanyId}/connection";
|
|
27
|
+
readonly render: (agentInsuranceCompanyId: string) => string;
|
|
28
|
+
};
|
|
29
|
+
readonly updateConnection: {
|
|
30
|
+
readonly definition: "agents/me/insurance-companies/{AgentInsuranceCompanyId}/connection";
|
|
31
|
+
readonly render: (agentInsuranceCompanyId: string) => string;
|
|
32
|
+
};
|
|
33
|
+
readonly updateBranches: {
|
|
34
|
+
readonly definition: "agents/me/insurance-companies/{AgentInsuranceCompanyId}/branches";
|
|
35
|
+
readonly render: (agentInsuranceCompanyId: string) => string;
|
|
36
|
+
};
|
|
37
|
+
readonly reSyncAgentInsuranceCompanyWithInsurance: {
|
|
38
|
+
readonly definition: "agents/me/insurance-companies/{AgentInsuranceCompanyId}/re-sync";
|
|
39
|
+
readonly render: (agentInsuranceCompanyId: string) => string;
|
|
40
|
+
};
|
|
41
|
+
readonly remove: {
|
|
42
|
+
readonly definition: "agents/me/insurance-companies/{AgentInsuranceCompanyId}";
|
|
43
|
+
readonly render: (agentInsuranceCompanyId: string) => string;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
/**
|
|
48
|
+
* Insurance company endpoints
|
|
49
|
+
*/
|
|
50
|
+
export declare const insuranceCompanies: {
|
|
51
|
+
readonly getInsuranceCompanies: "insurance-companies";
|
|
52
|
+
readonly getInsuranceCompanyProducts: {
|
|
53
|
+
readonly definition: "insurance-companies/{InsuranceCompanyId}/products";
|
|
54
|
+
readonly render: (insuranceCompanyId: number) => string;
|
|
55
|
+
};
|
|
56
|
+
readonly getAllProducts: "insurance-companies/products";
|
|
57
|
+
readonly connectionFields: {
|
|
58
|
+
readonly getAgentBasedConnectionFieldsByCompanyId: {
|
|
59
|
+
readonly definition: "insurance-companies/{InsuranceCompanyId}/connection-fields:agent-based";
|
|
60
|
+
readonly render: (insuranceCompanyId: number) => string;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
/**
|
|
65
|
+
* Resource keys endpoints
|
|
66
|
+
*/
|
|
67
|
+
export declare const resourceKeys: {
|
|
68
|
+
readonly getAll: "resource-keys";
|
|
69
|
+
};
|
|
70
|
+
/**
|
|
71
|
+
* Customer management endpoints
|
|
72
|
+
*/
|
|
73
|
+
export declare const customers: {
|
|
74
|
+
readonly createCustomer: "customers";
|
|
75
|
+
readonly getCurrentCustomer: "customers/me";
|
|
76
|
+
readonly externalLookup: "customers/external-lookup";
|
|
77
|
+
readonly setCustomerRepresentative: {
|
|
78
|
+
readonly definition: "customers/{CustomerId}/representative";
|
|
79
|
+
readonly render: (customerId: string) => string;
|
|
80
|
+
};
|
|
81
|
+
readonly getCustomer: {
|
|
82
|
+
readonly definition: "customers/{CustomerId}";
|
|
83
|
+
readonly render: (customerId: string) => string;
|
|
84
|
+
};
|
|
85
|
+
readonly updateCustomer: {
|
|
86
|
+
readonly definition: "customers/{CustomerId}";
|
|
87
|
+
readonly render: (customerId: string) => string;
|
|
88
|
+
};
|
|
89
|
+
readonly deleteCustomer: {
|
|
90
|
+
readonly definition: "customers/{CustomerId}";
|
|
91
|
+
readonly render: (customerId: string) => string;
|
|
92
|
+
};
|
|
93
|
+
readonly getHealthInfo: {
|
|
94
|
+
readonly definition: "customers/{CustomerId}/health-info";
|
|
95
|
+
readonly render: (customerId: string) => string;
|
|
96
|
+
};
|
|
97
|
+
readonly updateHealthInfo: {
|
|
98
|
+
readonly definition: "customers/{CustomerId}/health-info";
|
|
99
|
+
readonly render: (customerId: string) => string;
|
|
100
|
+
};
|
|
101
|
+
readonly emails: {
|
|
102
|
+
readonly addCustomerEmail: {
|
|
103
|
+
readonly definition: "customers/{CustomerId}/emails";
|
|
104
|
+
readonly render: (customerId: string) => string;
|
|
105
|
+
};
|
|
106
|
+
readonly removeCustomerEmail: {
|
|
107
|
+
readonly definition: "customers/{CustomerId}/emails/{Email}";
|
|
108
|
+
readonly render: (request: {
|
|
109
|
+
customerId: string;
|
|
110
|
+
email: string;
|
|
111
|
+
}) => string;
|
|
112
|
+
};
|
|
113
|
+
readonly changePrimaryCustomerEmail: {
|
|
114
|
+
readonly definition: "customers/{CustomerId}/emails/{Email}/primary";
|
|
115
|
+
readonly render: (request: {
|
|
116
|
+
customerId: string;
|
|
117
|
+
email: string;
|
|
118
|
+
}) => string;
|
|
119
|
+
};
|
|
120
|
+
readonly getCustomerEmails: {
|
|
121
|
+
readonly definition: "customers/{CustomerId}/emails";
|
|
122
|
+
readonly render: (customerId: string) => string;
|
|
123
|
+
};
|
|
124
|
+
};
|
|
125
|
+
readonly phoneNumbers: {
|
|
126
|
+
readonly addCustomerPhoneNumber: {
|
|
127
|
+
readonly definition: "customers/{CustomerId}/phone-numbers";
|
|
128
|
+
readonly render: (customerId: string) => string;
|
|
129
|
+
};
|
|
130
|
+
readonly removeCustomerPhoneNumber: {
|
|
131
|
+
readonly definition: "customers/{CustomerId}/phone-numbers/{CountryCode}-{PhoneNumber}";
|
|
132
|
+
readonly render: (request: {
|
|
133
|
+
customerId: string;
|
|
134
|
+
countryCode: number;
|
|
135
|
+
phoneNumber: string;
|
|
136
|
+
}) => string;
|
|
137
|
+
};
|
|
138
|
+
readonly changePrimaryCustomerPhoneNumber: {
|
|
139
|
+
readonly definition: "customers/{CustomerId}/phone-numbers/{CountryCode}-{PhoneNumber}/primary";
|
|
140
|
+
readonly render: (request: {
|
|
141
|
+
customerId: string;
|
|
142
|
+
countryCode: number;
|
|
143
|
+
phoneNumber: string;
|
|
144
|
+
}) => string;
|
|
145
|
+
};
|
|
146
|
+
readonly getCustomerPhoneNumbers: {
|
|
147
|
+
readonly definition: "customers/{CustomerId}/phone-numbers";
|
|
148
|
+
readonly render: (customerId: string) => string;
|
|
149
|
+
};
|
|
150
|
+
};
|
|
151
|
+
readonly contactFlows: {
|
|
152
|
+
readonly getCustomerContactFlows: {
|
|
153
|
+
readonly definition: "customers/{CustomerId}/contact-flows";
|
|
154
|
+
readonly render: (customerId: string, caseRef?: string | null) => string;
|
|
155
|
+
};
|
|
156
|
+
readonly createContactFlow: {
|
|
157
|
+
readonly definition: "customers/{CustomerId}/contact-flows";
|
|
158
|
+
readonly render: (customerId: string) => string;
|
|
159
|
+
};
|
|
160
|
+
readonly endContactFlow: {
|
|
161
|
+
readonly definition: "customers/{CustomerId}/contact-flows/{ContactFlowId}/end";
|
|
162
|
+
readonly render: (customerId: string, contactFlowId: string) => string;
|
|
163
|
+
};
|
|
164
|
+
};
|
|
165
|
+
readonly contacts: {
|
|
166
|
+
readonly getCustomerContacts: {
|
|
167
|
+
readonly definition: "customers/{CustomerId}/contacts";
|
|
168
|
+
readonly render: (customerId: string, caseRef?: string | null) => string;
|
|
169
|
+
};
|
|
170
|
+
readonly create: {
|
|
171
|
+
readonly definition: "customers/{CustomerId}/contacts";
|
|
172
|
+
readonly render: (customerId: string) => string;
|
|
173
|
+
};
|
|
174
|
+
};
|
|
175
|
+
readonly setCustomerBranch: {
|
|
176
|
+
readonly definition: "customers/{CustomerId}/branch";
|
|
177
|
+
readonly render: (customerId: string) => string;
|
|
178
|
+
};
|
|
179
|
+
readonly addresses: {
|
|
180
|
+
readonly create: {
|
|
181
|
+
readonly definition: "customers/{CustomerId}/addresses";
|
|
182
|
+
readonly render: (customerId: string) => string;
|
|
183
|
+
};
|
|
184
|
+
readonly update: {
|
|
185
|
+
readonly definition: "customers/{CustomerId}/addresses/{AddressId}";
|
|
186
|
+
readonly render: (customerId: string, addressId: string) => string;
|
|
187
|
+
};
|
|
188
|
+
readonly getById: {
|
|
189
|
+
readonly definition: "customers/{CustomerId}/addresses/{AddressId}";
|
|
190
|
+
readonly render: (customerId: string, addressId: string) => string;
|
|
191
|
+
};
|
|
192
|
+
readonly getAll: {
|
|
193
|
+
readonly definition: "customers/{CustomerId}/addresses";
|
|
194
|
+
readonly render: (customerId: string) => string;
|
|
195
|
+
};
|
|
196
|
+
readonly delete: {
|
|
197
|
+
readonly definition: "customers/{CustomerId}/addresses/{AddressId}";
|
|
198
|
+
readonly render: (customerId: string, addressId: string) => string;
|
|
199
|
+
};
|
|
200
|
+
};
|
|
201
|
+
readonly consents: {
|
|
202
|
+
readonly give: {
|
|
203
|
+
readonly definition: "customers/{CustomerId}/consents";
|
|
204
|
+
readonly render: (customerId: string) => string;
|
|
205
|
+
};
|
|
206
|
+
readonly revoke: {
|
|
207
|
+
readonly definition: "customers/{CustomerId}/consents/revoke";
|
|
208
|
+
readonly render: (customerId: string) => string;
|
|
209
|
+
};
|
|
210
|
+
readonly getAll: {
|
|
211
|
+
readonly definition: "customers/{CustomerId}/consents";
|
|
212
|
+
readonly render: (customerId: string) => string;
|
|
213
|
+
};
|
|
214
|
+
};
|
|
215
|
+
};
|
|
216
|
+
/**
|
|
217
|
+
* Address parameter endpoints
|
|
218
|
+
*/
|
|
219
|
+
export declare const addressParameters: {
|
|
220
|
+
readonly queryCities: "address-parameters/cities";
|
|
221
|
+
readonly queryDistricts: {
|
|
222
|
+
readonly definition: "address-parameters/districts";
|
|
223
|
+
readonly render: (request: {
|
|
224
|
+
cityReference: string;
|
|
225
|
+
}) => string;
|
|
226
|
+
};
|
|
227
|
+
readonly queryTowns: {
|
|
228
|
+
readonly definition: "address-parameters/towns";
|
|
229
|
+
readonly render: (request: {
|
|
230
|
+
districtReference: string;
|
|
231
|
+
}) => string;
|
|
232
|
+
};
|
|
233
|
+
readonly queryNeighbourhoods: {
|
|
234
|
+
readonly definition: "address-parameters/neighbourhoods";
|
|
235
|
+
readonly render: (request: {
|
|
236
|
+
townReference: string;
|
|
237
|
+
}) => string;
|
|
238
|
+
};
|
|
239
|
+
readonly queryStreets: {
|
|
240
|
+
readonly definition: "address-parameters/streets";
|
|
241
|
+
readonly render: (request: {
|
|
242
|
+
neighbourhoodReference: string;
|
|
243
|
+
}) => string;
|
|
244
|
+
};
|
|
245
|
+
readonly queryBuildings: {
|
|
246
|
+
readonly definition: "address-parameters/buildings";
|
|
247
|
+
readonly render: (request: {
|
|
248
|
+
streetReference: string;
|
|
249
|
+
}) => string;
|
|
250
|
+
};
|
|
251
|
+
readonly queryApartments: {
|
|
252
|
+
readonly definition: "address-parameters/apartments";
|
|
253
|
+
readonly render: (request: {
|
|
254
|
+
buildingReference: string;
|
|
255
|
+
}) => string;
|
|
256
|
+
};
|
|
257
|
+
};
|
|
258
|
+
/**
|
|
259
|
+
* Vehicle parameter endpoints
|
|
260
|
+
*/
|
|
261
|
+
export declare const vehicleParameters: {
|
|
262
|
+
readonly queryBrands: "vehicle-parameters/brands";
|
|
263
|
+
readonly queryModels: {
|
|
264
|
+
readonly definition: "vehicle-parameters/models";
|
|
265
|
+
readonly render: (request: {
|
|
266
|
+
brandReference: string;
|
|
267
|
+
year: number;
|
|
268
|
+
}) => string;
|
|
269
|
+
};
|
|
270
|
+
};
|
|
271
|
+
/**
|
|
272
|
+
* Vehicle endpoints
|
|
273
|
+
*/
|
|
274
|
+
export declare const vehicles: {
|
|
275
|
+
readonly getCurrentCustomerVehicles: "customers/me/vehicles";
|
|
276
|
+
readonly externalLookup: {
|
|
277
|
+
readonly definition: "customers/{CustomerId}/vehicles/external-lookup";
|
|
278
|
+
readonly render: (customerId: string) => string;
|
|
279
|
+
};
|
|
280
|
+
readonly create: {
|
|
281
|
+
readonly definition: "customers/{CustomerId}/vehicles";
|
|
282
|
+
readonly render: (customerId: string) => string;
|
|
283
|
+
};
|
|
284
|
+
readonly update: {
|
|
285
|
+
readonly definition: "customers/{CustomerId}/vehicles/{VehicleId}";
|
|
286
|
+
readonly render: (customerId: string, vehicleId: string) => string;
|
|
287
|
+
};
|
|
288
|
+
readonly delete: {
|
|
289
|
+
readonly definition: "customers/{CustomerId}/vehicles/{VehicleId}";
|
|
290
|
+
readonly render: (customerId: string, vehicleId: string) => string;
|
|
291
|
+
};
|
|
292
|
+
readonly get: {
|
|
293
|
+
readonly definition: "customers/{CustomerId}/vehicles/{VehicleId}";
|
|
294
|
+
readonly render: (customerId: string, vehicleId: string) => string;
|
|
295
|
+
};
|
|
296
|
+
readonly getCustomerVehicles: {
|
|
297
|
+
readonly definition: "customers/{CustomerId}/vehicles";
|
|
298
|
+
readonly render: (customerId: string) => string;
|
|
299
|
+
};
|
|
300
|
+
};
|
|
301
|
+
/**
|
|
302
|
+
* Insurance services endpoints
|
|
303
|
+
*/
|
|
304
|
+
export declare const insuranceServices: {
|
|
305
|
+
readonly queryVehicleByBrandCode: "insurance-services/query-vehicle-by-brand-code";
|
|
306
|
+
};
|
|
307
|
+
/**
|
|
308
|
+
* Property endpoints
|
|
309
|
+
*/
|
|
310
|
+
export declare const properties: {
|
|
311
|
+
readonly getPropertyAddressByPropertyNumber: "properties/query-address-by-property-number";
|
|
312
|
+
readonly queryPropertyByDaskOldPolicy: "properties/query-property-by-dask-old-policy";
|
|
313
|
+
readonly getCurrentCustomerProperties: "customers/me/properties";
|
|
314
|
+
readonly getAll: {
|
|
315
|
+
readonly definition: "customers/{CustomerId}/properties";
|
|
316
|
+
readonly render: (customerId: string) => string;
|
|
317
|
+
};
|
|
318
|
+
readonly create: {
|
|
319
|
+
readonly definition: "customers/{CustomerId}/properties";
|
|
320
|
+
readonly render: (customerId: string) => string;
|
|
321
|
+
};
|
|
322
|
+
readonly getById: {
|
|
323
|
+
readonly definition: "customers/{CustomerId}/properties/{PropertyId}";
|
|
324
|
+
readonly render: (customerId: string, propertyId: string) => string;
|
|
325
|
+
};
|
|
326
|
+
readonly update: {
|
|
327
|
+
readonly definition: "customers/{CustomerId}/properties/{PropertyId}";
|
|
328
|
+
readonly render: (customerId: string, propertyId: string) => string;
|
|
329
|
+
};
|
|
330
|
+
readonly delete: {
|
|
331
|
+
readonly definition: "customers/{CustomerId}/properties/{PropertyId}";
|
|
332
|
+
readonly render: (customerId: string, propertyId: string) => string;
|
|
333
|
+
};
|
|
334
|
+
};
|
|
335
|
+
/**
|
|
336
|
+
* Proposal endpoints
|
|
337
|
+
*/
|
|
338
|
+
export declare const proposals: {
|
|
339
|
+
readonly create: "proposals";
|
|
340
|
+
readonly getProposalById: {
|
|
341
|
+
readonly definition: "proposals/{ProposalId}";
|
|
342
|
+
readonly render: (proposalId: string) => string;
|
|
343
|
+
};
|
|
344
|
+
readonly getProposalSnapshot: {
|
|
345
|
+
readonly definition: "proposals/{ProposalId}/snapshot";
|
|
346
|
+
readonly render: (proposalId: string) => string;
|
|
347
|
+
};
|
|
348
|
+
readonly getProposalCoverage: {
|
|
349
|
+
readonly definition: "proposals/{ProposalId}/coverage";
|
|
350
|
+
readonly render: (proposalId: string) => string;
|
|
351
|
+
};
|
|
352
|
+
readonly getProposalProductCoverage: {
|
|
353
|
+
readonly definition: "proposals/{ProposalId}/products/{ProposalProductId}/coverage";
|
|
354
|
+
readonly render: (proposalId: string, proposalProductId: string) => string;
|
|
355
|
+
};
|
|
356
|
+
readonly retryFailedProposalProduct: {
|
|
357
|
+
readonly definition: "proposals/{ProposalId}/products/{ProposalProductId}/retry";
|
|
358
|
+
readonly render: (proposalId: string, proposalProductId: string) => string;
|
|
359
|
+
};
|
|
360
|
+
readonly getProposalProductPremiumDetail: {
|
|
361
|
+
readonly definition: "proposals/{ProposalId}/products/{ProposalProductId}/premium-detail/{InstallmentNumber}";
|
|
362
|
+
readonly render: (proposalId: string, proposalProductId: string, installmentNumber: number) => string;
|
|
363
|
+
};
|
|
364
|
+
readonly purchaseProposalProductSync: {
|
|
365
|
+
readonly definition: "proposals/{ProposalId}/products/{ProposalProductId}/purchase/sync";
|
|
366
|
+
readonly render: (proposalId: string, proposalProductId: string) => string;
|
|
367
|
+
};
|
|
368
|
+
readonly purchaseProposalProductAsync: {
|
|
369
|
+
readonly definition: "proposals/{ProposalId}/products/{ProposalProductId}/purchase/async";
|
|
370
|
+
readonly render: (proposalId: string, proposalProductId: string) => string;
|
|
371
|
+
};
|
|
372
|
+
readonly reviseProposal: {
|
|
373
|
+
readonly definition: "proposals/{ProposalId}/revise";
|
|
374
|
+
readonly render: (proposalId: string) => string;
|
|
375
|
+
};
|
|
376
|
+
readonly reviseProposalProduct: {
|
|
377
|
+
readonly definition: "proposals/{ProposalId}/products/{ProposalProductId}/revise";
|
|
378
|
+
readonly render: (proposalId: string, proposalProductId: string) => string;
|
|
379
|
+
};
|
|
380
|
+
readonly fetchProposalProductDocument: {
|
|
381
|
+
readonly definition: "proposals/{ProposalId}/products/{ProposalProductId}/document";
|
|
382
|
+
readonly render: (proposalId: string, proposalProductId: string) => string;
|
|
383
|
+
};
|
|
384
|
+
readonly fetchProposalInformationFormDocument: {
|
|
385
|
+
readonly definition: "proposals/{ProposalId}/products/{ProposalProductId}/information-form";
|
|
386
|
+
readonly render: (proposalId: string, proposalProductId: string) => string;
|
|
387
|
+
};
|
|
388
|
+
readonly sendProposalProductDocument: {
|
|
389
|
+
readonly definition: "proposals/{ProposalId}/products/{ProposalProductId}/document/send";
|
|
390
|
+
readonly render: (proposalId: string, proposalProductId: string) => string;
|
|
391
|
+
};
|
|
392
|
+
readonly sendProposalInformationFormDocument: {
|
|
393
|
+
readonly definition: "proposals/{ProposalId}/products/{ProposalProductId}/information-form/send";
|
|
394
|
+
readonly render: (proposalId: string, proposalProductId: string) => string;
|
|
395
|
+
};
|
|
396
|
+
readonly generateCompareProposalProductsPdf: {
|
|
397
|
+
readonly definition: "proposals/{ProposalId}/products/compare-pdf";
|
|
398
|
+
readonly render: (proposalId: string) => string;
|
|
399
|
+
};
|
|
400
|
+
readonly sendCompareProposalProductsPdf: {
|
|
401
|
+
readonly definition: "proposals/{ProposalId}/products/compare-pdf/send";
|
|
402
|
+
readonly render: (proposalId: string) => string;
|
|
403
|
+
};
|
|
404
|
+
readonly setProposalRepresentative: {
|
|
405
|
+
readonly definition: "proposals/{ProposalId}/representative";
|
|
406
|
+
readonly render: (proposalId: string) => string;
|
|
407
|
+
};
|
|
408
|
+
readonly setProposalBranch: {
|
|
409
|
+
readonly definition: "proposals/{ProposalId}/branch";
|
|
410
|
+
readonly render: (proposalId: string) => string;
|
|
411
|
+
};
|
|
412
|
+
readonly generateCustomerProposalDocumentPdf: {
|
|
413
|
+
readonly definition: "proposals/{ProposalId}/customer-document-pdf";
|
|
414
|
+
readonly render: (proposalId: string) => string;
|
|
415
|
+
};
|
|
416
|
+
readonly getProposalConversionTrend: {
|
|
417
|
+
readonly definition: "proposals/analytics/conversion-trend";
|
|
418
|
+
};
|
|
419
|
+
};
|
|
420
|
+
/**
|
|
421
|
+
* Policy endpoints
|
|
422
|
+
*/
|
|
423
|
+
export declare const policies: {
|
|
424
|
+
readonly getPolicyDetail: {
|
|
425
|
+
readonly definition: "policies/{PolicyId}";
|
|
426
|
+
readonly render: (policyId: string) => string;
|
|
427
|
+
};
|
|
428
|
+
readonly fetchPolicyDocument: {
|
|
429
|
+
readonly definition: "policies/{PolicyId}/document";
|
|
430
|
+
readonly render: (policyId: string) => string;
|
|
431
|
+
};
|
|
432
|
+
readonly sendPolicyDocument: {
|
|
433
|
+
readonly definition: "policies/{PolicyId}/document/send";
|
|
434
|
+
readonly render: (policyId: string) => string;
|
|
435
|
+
};
|
|
436
|
+
readonly setPolicyRepresentative: {
|
|
437
|
+
readonly definition: "policies/{PolicyId}/representative";
|
|
438
|
+
readonly render: (policyId: string) => string;
|
|
439
|
+
};
|
|
440
|
+
readonly setPolicyBranch: {
|
|
441
|
+
readonly definition: "policies/{PolicyId}/branch";
|
|
442
|
+
readonly render: (policyId: string) => string;
|
|
443
|
+
};
|
|
444
|
+
readonly createManualPolicy: {
|
|
445
|
+
readonly definition: "policies/manual";
|
|
446
|
+
};
|
|
447
|
+
readonly updateManualPolicy: {
|
|
448
|
+
readonly definition: "policies/manual/{PolicyId}";
|
|
449
|
+
readonly render: (policyId: string) => string;
|
|
450
|
+
};
|
|
451
|
+
readonly getPolicyCountAndPremiumAnalytics: {
|
|
452
|
+
readonly definition: "policies/analytics/count-and-premium";
|
|
453
|
+
};
|
|
454
|
+
readonly getPolicyRenewalAnalytics: {
|
|
455
|
+
readonly definition: "policies/analytics/renewal";
|
|
456
|
+
};
|
|
457
|
+
readonly getPolicyDistributionByBranch: {
|
|
458
|
+
readonly definition: "policies/analytics/distribution-by-branch";
|
|
459
|
+
};
|
|
460
|
+
readonly getRepresentativeEarningsAnalytics: {
|
|
461
|
+
readonly definition: "policies/analytics/representative-earnings";
|
|
462
|
+
};
|
|
463
|
+
};
|
|
464
|
+
/**
|
|
465
|
+
* Policy transfer endpoints
|
|
466
|
+
*/
|
|
467
|
+
export declare const policyTransfers: {
|
|
468
|
+
readonly create: "policy-transfers";
|
|
469
|
+
readonly getPolicyTransferDetail: {
|
|
470
|
+
readonly definition: "policy-transfers/{PolicyTransferId}";
|
|
471
|
+
readonly render: (policyTransferId: string) => string;
|
|
472
|
+
};
|
|
473
|
+
readonly getPolicyTransferTriggerDetail: {
|
|
474
|
+
readonly definition: "policy-transfers/{PolicyTransferId}/triggers/{PolicyTransferTriggerId}";
|
|
475
|
+
readonly render: (policyTransferId: string, policyTransferTriggerId: string) => string;
|
|
476
|
+
};
|
|
477
|
+
readonly triggerPolicyTransfer: {
|
|
478
|
+
readonly definition: "policy-transfers/{PolicyTransferId}/trigger";
|
|
479
|
+
readonly render: (policyTransferId: string) => string;
|
|
480
|
+
};
|
|
481
|
+
};
|
|
482
|
+
/**
|
|
483
|
+
* File policy transfer endpoints
|
|
484
|
+
*/
|
|
485
|
+
export declare const filePolicyTransfers: {
|
|
486
|
+
readonly create: "file-policy-transfers";
|
|
487
|
+
readonly getFilePolicyTransferDetail: {
|
|
488
|
+
readonly definition: "file-policy-transfers/{FilePolicyTransferId}";
|
|
489
|
+
readonly render: (filePolicyTransferId: string) => string;
|
|
490
|
+
};
|
|
491
|
+
};
|
|
492
|
+
/**
|
|
493
|
+
* Coverage choice endpoints
|
|
494
|
+
*/
|
|
495
|
+
export declare const coverageChoices: {
|
|
496
|
+
readonly getKaskoCoverageChoices: {
|
|
497
|
+
readonly definition: "coverage-choices:kasko";
|
|
498
|
+
readonly render: (vehicleUtilizationStyle?: string) => string;
|
|
499
|
+
};
|
|
500
|
+
readonly getKonutCoverageChoices: {
|
|
501
|
+
readonly definition: "coverage-choices:konut";
|
|
502
|
+
readonly render: () => string;
|
|
503
|
+
};
|
|
504
|
+
readonly getImmCoverageChoices: {
|
|
505
|
+
readonly definition: "coverage-choices:imm";
|
|
506
|
+
readonly render: () => string;
|
|
507
|
+
};
|
|
508
|
+
readonly getTssCoverageChoices: {
|
|
509
|
+
readonly definition: "coverage-choices:tss";
|
|
510
|
+
readonly render: () => string;
|
|
511
|
+
};
|
|
512
|
+
};
|
|
513
|
+
/**
|
|
514
|
+
* Agent setup request endpoints
|
|
515
|
+
*/
|
|
516
|
+
export declare const agentSetupRequests: {
|
|
517
|
+
readonly complete: "agent-setup-requests/complete";
|
|
518
|
+
readonly create: "agent-setup-requests";
|
|
519
|
+
readonly getAll: "agent-setup-requests";
|
|
520
|
+
readonly enter: "agent-setup-requests/enter";
|
|
521
|
+
readonly getAgentSetupRequestById: {
|
|
522
|
+
readonly definition: "agent-setup-requests/{Id}";
|
|
523
|
+
readonly render: (id: string) => string;
|
|
524
|
+
};
|
|
525
|
+
readonly disableAgentSetupRequest: {
|
|
526
|
+
readonly definition: "agent-setup-requests/{Id}/disable";
|
|
527
|
+
readonly render: (id: string) => string;
|
|
528
|
+
};
|
|
529
|
+
};
|
|
530
|
+
/**
|
|
531
|
+
* Agent user endpoints
|
|
532
|
+
*/
|
|
533
|
+
export declare const agentUsers: {
|
|
534
|
+
readonly forgotPassword: "agent-users/forgot-password";
|
|
535
|
+
readonly resetPassword: "agent-users/reset-password";
|
|
536
|
+
readonly checkAgentUserForgotPasswordToken: "agent-users/check-forgot-password-token";
|
|
537
|
+
readonly me: "agent-users/me";
|
|
538
|
+
readonly meRobotCode: "agent-users/me/robot-code";
|
|
539
|
+
readonly invite: "agent-users/invite";
|
|
540
|
+
readonly updateMyUser: "agent-users/me";
|
|
541
|
+
readonly acceptInvite: "agent-users/accept-invite";
|
|
542
|
+
readonly updatePassword: "agent-users/me/password";
|
|
543
|
+
readonly reSendInvite: {
|
|
544
|
+
readonly definition: "agent-users/{AgentUserId}/re-send-invite";
|
|
545
|
+
readonly render: (userId: string) => string;
|
|
546
|
+
};
|
|
547
|
+
readonly deactivate: {
|
|
548
|
+
readonly definition: "agent-users/{AgentUserId}/deactivate";
|
|
549
|
+
readonly render: (userId: string) => string;
|
|
550
|
+
};
|
|
551
|
+
readonly activate: {
|
|
552
|
+
readonly definition: "agent-users/{AgentUserId}/activate";
|
|
553
|
+
readonly render: (userId: string) => string;
|
|
554
|
+
};
|
|
555
|
+
readonly delete: {
|
|
556
|
+
readonly definition: "agent-users/{UserId}";
|
|
557
|
+
readonly render: (userId: string) => string;
|
|
558
|
+
};
|
|
559
|
+
readonly getById: {
|
|
560
|
+
readonly definition: "agent-users/{UserId}";
|
|
561
|
+
readonly render: (userId: string) => string;
|
|
562
|
+
};
|
|
563
|
+
readonly checkAgentUserInviteCode: {
|
|
564
|
+
readonly definition: "agent-users/check-invite-code";
|
|
565
|
+
readonly render: (code: string) => string;
|
|
566
|
+
};
|
|
567
|
+
readonly update: {
|
|
568
|
+
readonly definition: "agent-users/{Id}";
|
|
569
|
+
readonly render: (userId: string) => string;
|
|
570
|
+
};
|
|
571
|
+
readonly migrate: {
|
|
572
|
+
readonly definition: "agent-users/{AgentUserId}/migrate";
|
|
573
|
+
readonly render: (agentUserId: string) => string;
|
|
574
|
+
};
|
|
575
|
+
readonly migrateAll: "agent-users/migrate-all";
|
|
576
|
+
};
|
|
577
|
+
/**
|
|
578
|
+
* Agent role endpoints
|
|
579
|
+
*/
|
|
580
|
+
export declare const agentRoles: {
|
|
581
|
+
readonly getAll: "agent-roles";
|
|
582
|
+
readonly create: "agent-roles";
|
|
583
|
+
readonly update: {
|
|
584
|
+
readonly definition: "agent-roles/{Id}";
|
|
585
|
+
readonly render: (agentRoleId: string) => string;
|
|
586
|
+
};
|
|
587
|
+
readonly delete: {
|
|
588
|
+
readonly definition: "agent-roles/{Id}";
|
|
589
|
+
readonly render: (agentRoleId: string) => string;
|
|
590
|
+
};
|
|
591
|
+
readonly getById: {
|
|
592
|
+
readonly definition: "agent-roles/{Id}";
|
|
593
|
+
readonly render: (agentRoleId: string) => string;
|
|
594
|
+
};
|
|
595
|
+
};
|
|
596
|
+
/**
|
|
597
|
+
* Webhook endpoints
|
|
598
|
+
*/
|
|
599
|
+
export declare const webhooks: {
|
|
600
|
+
readonly getAll: "webhooks";
|
|
601
|
+
readonly create: "webhooks";
|
|
602
|
+
readonly getById: {
|
|
603
|
+
readonly definition: "webhooks/{Id}";
|
|
604
|
+
readonly render: (id: string) => string;
|
|
605
|
+
};
|
|
606
|
+
readonly update: {
|
|
607
|
+
readonly definition: "webhooks/{Id}";
|
|
608
|
+
readonly render: (id: string) => string;
|
|
609
|
+
};
|
|
610
|
+
readonly delete: {
|
|
611
|
+
readonly definition: "webhooks/{Id}";
|
|
612
|
+
readonly render: (id: string) => string;
|
|
613
|
+
};
|
|
614
|
+
readonly deliveries: {
|
|
615
|
+
readonly getById: {
|
|
616
|
+
readonly definition: "webhooks/{WebhookId}/deliveries/{WebhookDeliveryId}";
|
|
617
|
+
readonly render: (webhookId: string, webhookDeliveryId: string) => string;
|
|
618
|
+
};
|
|
619
|
+
readonly redeliver: {
|
|
620
|
+
readonly definition: "webhooks/{WebhookId}/deliveries/{WebhookDeliveryId}/redeliver";
|
|
621
|
+
readonly render: (webhookId: string, webhookDeliveryId: string) => string;
|
|
622
|
+
};
|
|
623
|
+
};
|
|
624
|
+
};
|
|
625
|
+
/**
|
|
626
|
+
* Case management endpoints
|
|
627
|
+
*/
|
|
628
|
+
export declare const cases: {
|
|
629
|
+
readonly createNewSaleOpportunity: "cases:new-sale-opportunity";
|
|
630
|
+
readonly createCrossSaleOpportunity: "cases:cross-sale-opportunity";
|
|
631
|
+
readonly createCancel: "cases:cancel";
|
|
632
|
+
readonly createEndorsement: "cases:endorsement";
|
|
633
|
+
readonly createComplaint: "cases:complaint";
|
|
634
|
+
readonly assignRepresentative: {
|
|
635
|
+
readonly definition: "cases/{Ref}/representative";
|
|
636
|
+
readonly render: (ref: string) => string;
|
|
637
|
+
};
|
|
638
|
+
readonly addNoteToCase: {
|
|
639
|
+
readonly definition: "cases/{Ref}/notes";
|
|
640
|
+
readonly render: (ref: string) => string;
|
|
641
|
+
};
|
|
642
|
+
readonly changeChannel: {
|
|
643
|
+
readonly definition: "cases/{Ref}/channel";
|
|
644
|
+
readonly render: (ref: string) => string;
|
|
645
|
+
};
|
|
646
|
+
readonly changeState: {
|
|
647
|
+
readonly definition: "cases/{Ref}/state";
|
|
648
|
+
readonly render: (ref: string) => string;
|
|
649
|
+
};
|
|
650
|
+
readonly getActivities: {
|
|
651
|
+
readonly definition: "cases/{Ref}/activities";
|
|
652
|
+
readonly render: (ref: string) => string;
|
|
653
|
+
};
|
|
654
|
+
readonly getCaseByRef: {
|
|
655
|
+
readonly definition: "cases/{Ref}";
|
|
656
|
+
readonly render: (ref: string) => string;
|
|
657
|
+
};
|
|
658
|
+
readonly getProposals: {
|
|
659
|
+
readonly definition: "cases/{Ref}/proposals";
|
|
660
|
+
readonly render: (ref: string) => string;
|
|
661
|
+
};
|
|
662
|
+
readonly getPolicies: {
|
|
663
|
+
readonly definition: "cases/{Ref}/policies";
|
|
664
|
+
readonly render: (ref: string) => string;
|
|
665
|
+
};
|
|
666
|
+
readonly setAsset: {
|
|
667
|
+
readonly definition: "cases/{Ref}/asset";
|
|
668
|
+
readonly render: (ref: string) => string;
|
|
669
|
+
};
|
|
670
|
+
readonly setBranch: {
|
|
671
|
+
readonly definition: "cases/{Ref}/branch";
|
|
672
|
+
readonly render: (ref: string) => string;
|
|
673
|
+
};
|
|
674
|
+
readonly getSalesOpportunityFunnelAnalytics: {
|
|
675
|
+
readonly definition: "cases/analytics/sales-opportunity-funnel";
|
|
676
|
+
};
|
|
677
|
+
readonly getOpenCaseBacklogPivotAnalytics: {
|
|
678
|
+
readonly definition: "cases/analytics/open-case-backlog-pivot";
|
|
679
|
+
};
|
|
680
|
+
readonly getFailedCasesReasonDistribution: {
|
|
681
|
+
readonly definition: "cases/analytics/failed-cases-reason-distribution";
|
|
682
|
+
};
|
|
683
|
+
readonly communicationAutomations: {
|
|
684
|
+
readonly getAll: "cases/communication-automations";
|
|
685
|
+
};
|
|
686
|
+
readonly getPriorityTemplates: "cases/priority-templates";
|
|
687
|
+
};
|
|
688
|
+
/**
|
|
689
|
+
* Coverage Groups endpoints for managing insurance coverage groups
|
|
690
|
+
* Sigorta teminat gruplarını yönetmek için teminat grupları endpoint'leri
|
|
691
|
+
*/
|
|
692
|
+
export declare const coverageGroups: {
|
|
693
|
+
readonly getAll: "coverage-groups";
|
|
694
|
+
readonly create: "coverage-groups";
|
|
695
|
+
readonly update: {
|
|
696
|
+
readonly definition: "coverage-groups/{Id}";
|
|
697
|
+
readonly render: (id: string) => string;
|
|
698
|
+
};
|
|
699
|
+
readonly delete: {
|
|
700
|
+
readonly definition: "coverage-groups/{Id}";
|
|
701
|
+
readonly render: (id: string) => string;
|
|
702
|
+
};
|
|
703
|
+
readonly getById: {
|
|
704
|
+
readonly definition: "coverage-groups/{Id}";
|
|
705
|
+
readonly render: (id: string) => string;
|
|
706
|
+
};
|
|
707
|
+
};
|
|
708
|
+
/**
|
|
709
|
+
* Release Notes endpoints
|
|
710
|
+
*/
|
|
711
|
+
export declare const releaseNotes: {
|
|
712
|
+
readonly getAll: "release-notes";
|
|
713
|
+
};
|
|
714
|
+
/**
|
|
715
|
+
* Banks endpoints
|
|
716
|
+
*/
|
|
717
|
+
export declare const banks: {
|
|
718
|
+
readonly getAll: "banks";
|
|
719
|
+
readonly getBranches: {
|
|
720
|
+
readonly definition: "banks/{BankId}/branches";
|
|
721
|
+
readonly render: (bankId: string) => string;
|
|
722
|
+
};
|
|
723
|
+
};
|
|
724
|
+
/**
|
|
725
|
+
* Financial Institutions endpoints
|
|
726
|
+
*/
|
|
727
|
+
export declare const financialInstitutions: {
|
|
728
|
+
readonly getAll: "financial-institutions";
|
|
729
|
+
};
|
|
730
|
+
/**
|
|
731
|
+
* Agent Branches endpoints
|
|
732
|
+
*/
|
|
733
|
+
export declare const agentBranches: {
|
|
734
|
+
readonly getAll: "agent-branches";
|
|
735
|
+
readonly create: "agent-branches";
|
|
736
|
+
readonly getById: {
|
|
737
|
+
readonly definition: "agent-branches/{Id}";
|
|
738
|
+
readonly render: (id: string) => string;
|
|
739
|
+
};
|
|
740
|
+
readonly update: {
|
|
741
|
+
readonly definition: "agent-branches/{Id}";
|
|
742
|
+
readonly render: (id: string) => string;
|
|
743
|
+
};
|
|
744
|
+
readonly delete: {
|
|
745
|
+
readonly definition: "agent-branches/{Id}";
|
|
746
|
+
readonly render: (id: string) => string;
|
|
747
|
+
};
|
|
748
|
+
};
|
|
749
|
+
/**
|
|
750
|
+
* Files endpoints
|
|
751
|
+
*/
|
|
752
|
+
export declare const files: {
|
|
753
|
+
readonly uploadPublicFile: "files/upload-public";
|
|
754
|
+
};
|
|
755
|
+
/**
|
|
756
|
+
* Languages endpoints
|
|
757
|
+
*/
|
|
758
|
+
export declare const languages: {
|
|
759
|
+
readonly getAll: "languages";
|
|
760
|
+
};
|
|
761
|
+
/**
|
|
762
|
+
* Templates endpoints
|
|
763
|
+
*/
|
|
764
|
+
export declare const templates: {
|
|
765
|
+
readonly getDefinitions: "templates/definitions";
|
|
766
|
+
readonly getAll: "templates";
|
|
767
|
+
readonly getByKey: {
|
|
768
|
+
readonly definition: "templates/{Key}";
|
|
769
|
+
readonly render: (key: string) => string;
|
|
770
|
+
};
|
|
771
|
+
readonly update: {
|
|
772
|
+
readonly definition: "templates/{Key}";
|
|
773
|
+
readonly render: (key: string) => string;
|
|
774
|
+
};
|
|
775
|
+
readonly delete: {
|
|
776
|
+
readonly definition: "templates/{Key}";
|
|
777
|
+
readonly render: (key: string) => string;
|
|
778
|
+
};
|
|
779
|
+
};
|
|
780
|
+
/**
|
|
781
|
+
* B2C Configuration endpoints
|
|
782
|
+
*/
|
|
783
|
+
export declare const b2c: {
|
|
784
|
+
readonly configFields: {
|
|
785
|
+
readonly getAll: "b2c/config-fields";
|
|
786
|
+
readonly updateAll: "b2c/config-fields";
|
|
787
|
+
};
|
|
788
|
+
};
|
|
789
|
+
/**
|
|
790
|
+
* Main endpoints export object
|
|
791
|
+
*/
|
|
792
|
+
export declare const endpoints: {
|
|
793
|
+
readonly customers: {
|
|
794
|
+
readonly createCustomer: "customers";
|
|
795
|
+
readonly getCurrentCustomer: "customers/me";
|
|
796
|
+
readonly externalLookup: "customers/external-lookup";
|
|
797
|
+
readonly setCustomerRepresentative: {
|
|
798
|
+
readonly definition: "customers/{CustomerId}/representative";
|
|
799
|
+
readonly render: (customerId: string) => string;
|
|
800
|
+
};
|
|
801
|
+
readonly getCustomer: {
|
|
802
|
+
readonly definition: "customers/{CustomerId}";
|
|
803
|
+
readonly render: (customerId: string) => string;
|
|
804
|
+
};
|
|
805
|
+
readonly updateCustomer: {
|
|
806
|
+
readonly definition: "customers/{CustomerId}";
|
|
807
|
+
readonly render: (customerId: string) => string;
|
|
808
|
+
};
|
|
809
|
+
readonly deleteCustomer: {
|
|
810
|
+
readonly definition: "customers/{CustomerId}";
|
|
811
|
+
readonly render: (customerId: string) => string;
|
|
812
|
+
};
|
|
813
|
+
readonly getHealthInfo: {
|
|
814
|
+
readonly definition: "customers/{CustomerId}/health-info";
|
|
815
|
+
readonly render: (customerId: string) => string;
|
|
816
|
+
};
|
|
817
|
+
readonly updateHealthInfo: {
|
|
818
|
+
readonly definition: "customers/{CustomerId}/health-info";
|
|
819
|
+
readonly render: (customerId: string) => string;
|
|
820
|
+
};
|
|
821
|
+
readonly emails: {
|
|
822
|
+
readonly addCustomerEmail: {
|
|
823
|
+
readonly definition: "customers/{CustomerId}/emails";
|
|
824
|
+
readonly render: (customerId: string) => string;
|
|
825
|
+
};
|
|
826
|
+
readonly removeCustomerEmail: {
|
|
827
|
+
readonly definition: "customers/{CustomerId}/emails/{Email}";
|
|
828
|
+
readonly render: (request: {
|
|
829
|
+
customerId: string;
|
|
830
|
+
email: string;
|
|
831
|
+
}) => string;
|
|
832
|
+
};
|
|
833
|
+
readonly changePrimaryCustomerEmail: {
|
|
834
|
+
readonly definition: "customers/{CustomerId}/emails/{Email}/primary";
|
|
835
|
+
readonly render: (request: {
|
|
836
|
+
customerId: string;
|
|
837
|
+
email: string;
|
|
838
|
+
}) => string;
|
|
839
|
+
};
|
|
840
|
+
readonly getCustomerEmails: {
|
|
841
|
+
readonly definition: "customers/{CustomerId}/emails";
|
|
842
|
+
readonly render: (customerId: string) => string;
|
|
843
|
+
};
|
|
844
|
+
};
|
|
845
|
+
readonly phoneNumbers: {
|
|
846
|
+
readonly addCustomerPhoneNumber: {
|
|
847
|
+
readonly definition: "customers/{CustomerId}/phone-numbers";
|
|
848
|
+
readonly render: (customerId: string) => string;
|
|
849
|
+
};
|
|
850
|
+
readonly removeCustomerPhoneNumber: {
|
|
851
|
+
readonly definition: "customers/{CustomerId}/phone-numbers/{CountryCode}-{PhoneNumber}";
|
|
852
|
+
readonly render: (request: {
|
|
853
|
+
customerId: string;
|
|
854
|
+
countryCode: number;
|
|
855
|
+
phoneNumber: string;
|
|
856
|
+
}) => string;
|
|
857
|
+
};
|
|
858
|
+
readonly changePrimaryCustomerPhoneNumber: {
|
|
859
|
+
readonly definition: "customers/{CustomerId}/phone-numbers/{CountryCode}-{PhoneNumber}/primary";
|
|
860
|
+
readonly render: (request: {
|
|
861
|
+
customerId: string;
|
|
862
|
+
countryCode: number;
|
|
863
|
+
phoneNumber: string;
|
|
864
|
+
}) => string;
|
|
865
|
+
};
|
|
866
|
+
readonly getCustomerPhoneNumbers: {
|
|
867
|
+
readonly definition: "customers/{CustomerId}/phone-numbers";
|
|
868
|
+
readonly render: (customerId: string) => string;
|
|
869
|
+
};
|
|
870
|
+
};
|
|
871
|
+
readonly contactFlows: {
|
|
872
|
+
readonly getCustomerContactFlows: {
|
|
873
|
+
readonly definition: "customers/{CustomerId}/contact-flows";
|
|
874
|
+
readonly render: (customerId: string, caseRef?: string | null) => string;
|
|
875
|
+
};
|
|
876
|
+
readonly createContactFlow: {
|
|
877
|
+
readonly definition: "customers/{CustomerId}/contact-flows";
|
|
878
|
+
readonly render: (customerId: string) => string;
|
|
879
|
+
};
|
|
880
|
+
readonly endContactFlow: {
|
|
881
|
+
readonly definition: "customers/{CustomerId}/contact-flows/{ContactFlowId}/end";
|
|
882
|
+
readonly render: (customerId: string, contactFlowId: string) => string;
|
|
883
|
+
};
|
|
884
|
+
};
|
|
885
|
+
readonly contacts: {
|
|
886
|
+
readonly getCustomerContacts: {
|
|
887
|
+
readonly definition: "customers/{CustomerId}/contacts";
|
|
888
|
+
readonly render: (customerId: string, caseRef?: string | null) => string;
|
|
889
|
+
};
|
|
890
|
+
readonly create: {
|
|
891
|
+
readonly definition: "customers/{CustomerId}/contacts";
|
|
892
|
+
readonly render: (customerId: string) => string;
|
|
893
|
+
};
|
|
894
|
+
};
|
|
895
|
+
readonly setCustomerBranch: {
|
|
896
|
+
readonly definition: "customers/{CustomerId}/branch";
|
|
897
|
+
readonly render: (customerId: string) => string;
|
|
898
|
+
};
|
|
899
|
+
readonly addresses: {
|
|
900
|
+
readonly create: {
|
|
901
|
+
readonly definition: "customers/{CustomerId}/addresses";
|
|
902
|
+
readonly render: (customerId: string) => string;
|
|
903
|
+
};
|
|
904
|
+
readonly update: {
|
|
905
|
+
readonly definition: "customers/{CustomerId}/addresses/{AddressId}";
|
|
906
|
+
readonly render: (customerId: string, addressId: string) => string;
|
|
907
|
+
};
|
|
908
|
+
readonly getById: {
|
|
909
|
+
readonly definition: "customers/{CustomerId}/addresses/{AddressId}";
|
|
910
|
+
readonly render: (customerId: string, addressId: string) => string;
|
|
911
|
+
};
|
|
912
|
+
readonly getAll: {
|
|
913
|
+
readonly definition: "customers/{CustomerId}/addresses";
|
|
914
|
+
readonly render: (customerId: string) => string;
|
|
915
|
+
};
|
|
916
|
+
readonly delete: {
|
|
917
|
+
readonly definition: "customers/{CustomerId}/addresses/{AddressId}";
|
|
918
|
+
readonly render: (customerId: string, addressId: string) => string;
|
|
919
|
+
};
|
|
920
|
+
};
|
|
921
|
+
readonly consents: {
|
|
922
|
+
readonly give: {
|
|
923
|
+
readonly definition: "customers/{CustomerId}/consents";
|
|
924
|
+
readonly render: (customerId: string) => string;
|
|
925
|
+
};
|
|
926
|
+
readonly revoke: {
|
|
927
|
+
readonly definition: "customers/{CustomerId}/consents/revoke";
|
|
928
|
+
readonly render: (customerId: string) => string;
|
|
929
|
+
};
|
|
930
|
+
readonly getAll: {
|
|
931
|
+
readonly definition: "customers/{CustomerId}/consents";
|
|
932
|
+
readonly render: (customerId: string) => string;
|
|
933
|
+
};
|
|
934
|
+
};
|
|
935
|
+
};
|
|
936
|
+
readonly vehicles: {
|
|
937
|
+
readonly getCurrentCustomerVehicles: "customers/me/vehicles";
|
|
938
|
+
readonly externalLookup: {
|
|
939
|
+
readonly definition: "customers/{CustomerId}/vehicles/external-lookup";
|
|
940
|
+
readonly render: (customerId: string) => string;
|
|
941
|
+
};
|
|
942
|
+
readonly create: {
|
|
943
|
+
readonly definition: "customers/{CustomerId}/vehicles";
|
|
944
|
+
readonly render: (customerId: string) => string;
|
|
945
|
+
};
|
|
946
|
+
readonly update: {
|
|
947
|
+
readonly definition: "customers/{CustomerId}/vehicles/{VehicleId}";
|
|
948
|
+
readonly render: (customerId: string, vehicleId: string) => string;
|
|
949
|
+
};
|
|
950
|
+
readonly delete: {
|
|
951
|
+
readonly definition: "customers/{CustomerId}/vehicles/{VehicleId}";
|
|
952
|
+
readonly render: (customerId: string, vehicleId: string) => string;
|
|
953
|
+
};
|
|
954
|
+
readonly get: {
|
|
955
|
+
readonly definition: "customers/{CustomerId}/vehicles/{VehicleId}";
|
|
956
|
+
readonly render: (customerId: string, vehicleId: string) => string;
|
|
957
|
+
};
|
|
958
|
+
readonly getCustomerVehicles: {
|
|
959
|
+
readonly definition: "customers/{CustomerId}/vehicles";
|
|
960
|
+
readonly render: (customerId: string) => string;
|
|
961
|
+
};
|
|
962
|
+
};
|
|
963
|
+
readonly vehicleParameters: {
|
|
964
|
+
readonly queryBrands: "vehicle-parameters/brands";
|
|
965
|
+
readonly queryModels: {
|
|
966
|
+
readonly definition: "vehicle-parameters/models";
|
|
967
|
+
readonly render: (request: {
|
|
968
|
+
brandReference: string;
|
|
969
|
+
year: number;
|
|
970
|
+
}) => string;
|
|
971
|
+
};
|
|
972
|
+
};
|
|
973
|
+
readonly insuranceServices: {
|
|
974
|
+
readonly queryVehicleByBrandCode: "insurance-services/query-vehicle-by-brand-code";
|
|
975
|
+
};
|
|
976
|
+
readonly agents: {
|
|
977
|
+
readonly getCurrentAgent: "agents/me";
|
|
978
|
+
readonly updateCurrentAgent: "agents/me";
|
|
979
|
+
readonly reSyncCurrentAgentWithInsurance: "agents/me/re-sync";
|
|
980
|
+
readonly insuranceCompanies: {
|
|
981
|
+
readonly getMyInsuranceCompanies: "agents/me/insurance-companies";
|
|
982
|
+
readonly addInsuranceCompanyToAgent: "agents/me/insurance-companies";
|
|
983
|
+
readonly getBranches: {
|
|
984
|
+
readonly definition: "agents/me/insurance-companies/{AgentInsuranceCompanyId}/branches";
|
|
985
|
+
readonly render: (agentInsuranceCompanyId: string) => string;
|
|
986
|
+
};
|
|
987
|
+
readonly getConnection: {
|
|
988
|
+
readonly definition: "agents/me/insurance-companies/{AgentInsuranceCompanyId}/connection";
|
|
989
|
+
readonly render: (agentInsuranceCompanyId: string) => string;
|
|
990
|
+
};
|
|
991
|
+
readonly updateConnection: {
|
|
992
|
+
readonly definition: "agents/me/insurance-companies/{AgentInsuranceCompanyId}/connection";
|
|
993
|
+
readonly render: (agentInsuranceCompanyId: string) => string;
|
|
994
|
+
};
|
|
995
|
+
readonly updateBranches: {
|
|
996
|
+
readonly definition: "agents/me/insurance-companies/{AgentInsuranceCompanyId}/branches";
|
|
997
|
+
readonly render: (agentInsuranceCompanyId: string) => string;
|
|
998
|
+
};
|
|
999
|
+
readonly reSyncAgentInsuranceCompanyWithInsurance: {
|
|
1000
|
+
readonly definition: "agents/me/insurance-companies/{AgentInsuranceCompanyId}/re-sync";
|
|
1001
|
+
readonly render: (agentInsuranceCompanyId: string) => string;
|
|
1002
|
+
};
|
|
1003
|
+
readonly remove: {
|
|
1004
|
+
readonly definition: "agents/me/insurance-companies/{AgentInsuranceCompanyId}";
|
|
1005
|
+
readonly render: (agentInsuranceCompanyId: string) => string;
|
|
1006
|
+
};
|
|
1007
|
+
};
|
|
1008
|
+
};
|
|
1009
|
+
readonly insuranceCompanies: {
|
|
1010
|
+
readonly getInsuranceCompanies: "insurance-companies";
|
|
1011
|
+
readonly getInsuranceCompanyProducts: {
|
|
1012
|
+
readonly definition: "insurance-companies/{InsuranceCompanyId}/products";
|
|
1013
|
+
readonly render: (insuranceCompanyId: number) => string;
|
|
1014
|
+
};
|
|
1015
|
+
readonly getAllProducts: "insurance-companies/products";
|
|
1016
|
+
readonly connectionFields: {
|
|
1017
|
+
readonly getAgentBasedConnectionFieldsByCompanyId: {
|
|
1018
|
+
readonly definition: "insurance-companies/{InsuranceCompanyId}/connection-fields:agent-based";
|
|
1019
|
+
readonly render: (insuranceCompanyId: number) => string;
|
|
1020
|
+
};
|
|
1021
|
+
};
|
|
1022
|
+
};
|
|
1023
|
+
readonly resourceKeys: {
|
|
1024
|
+
readonly getAll: "resource-keys";
|
|
1025
|
+
};
|
|
1026
|
+
readonly releaseNotes: {
|
|
1027
|
+
readonly getAll: "release-notes";
|
|
1028
|
+
};
|
|
1029
|
+
readonly banks: {
|
|
1030
|
+
readonly getAll: "banks";
|
|
1031
|
+
readonly getBranches: {
|
|
1032
|
+
readonly definition: "banks/{BankId}/branches";
|
|
1033
|
+
readonly render: (bankId: string) => string;
|
|
1034
|
+
};
|
|
1035
|
+
};
|
|
1036
|
+
readonly financialInstitutions: {
|
|
1037
|
+
readonly getAll: "financial-institutions";
|
|
1038
|
+
};
|
|
1039
|
+
readonly policies: {
|
|
1040
|
+
readonly getPolicyDetail: {
|
|
1041
|
+
readonly definition: "policies/{PolicyId}";
|
|
1042
|
+
readonly render: (policyId: string) => string;
|
|
1043
|
+
};
|
|
1044
|
+
readonly fetchPolicyDocument: {
|
|
1045
|
+
readonly definition: "policies/{PolicyId}/document";
|
|
1046
|
+
readonly render: (policyId: string) => string;
|
|
1047
|
+
};
|
|
1048
|
+
readonly sendPolicyDocument: {
|
|
1049
|
+
readonly definition: "policies/{PolicyId}/document/send";
|
|
1050
|
+
readonly render: (policyId: string) => string;
|
|
1051
|
+
};
|
|
1052
|
+
readonly setPolicyRepresentative: {
|
|
1053
|
+
readonly definition: "policies/{PolicyId}/representative";
|
|
1054
|
+
readonly render: (policyId: string) => string;
|
|
1055
|
+
};
|
|
1056
|
+
readonly setPolicyBranch: {
|
|
1057
|
+
readonly definition: "policies/{PolicyId}/branch";
|
|
1058
|
+
readonly render: (policyId: string) => string;
|
|
1059
|
+
};
|
|
1060
|
+
readonly createManualPolicy: {
|
|
1061
|
+
readonly definition: "policies/manual";
|
|
1062
|
+
};
|
|
1063
|
+
readonly updateManualPolicy: {
|
|
1064
|
+
readonly definition: "policies/manual/{PolicyId}";
|
|
1065
|
+
readonly render: (policyId: string) => string;
|
|
1066
|
+
};
|
|
1067
|
+
readonly getPolicyCountAndPremiumAnalytics: {
|
|
1068
|
+
readonly definition: "policies/analytics/count-and-premium";
|
|
1069
|
+
};
|
|
1070
|
+
readonly getPolicyRenewalAnalytics: {
|
|
1071
|
+
readonly definition: "policies/analytics/renewal";
|
|
1072
|
+
};
|
|
1073
|
+
readonly getPolicyDistributionByBranch: {
|
|
1074
|
+
readonly definition: "policies/analytics/distribution-by-branch";
|
|
1075
|
+
};
|
|
1076
|
+
readonly getRepresentativeEarningsAnalytics: {
|
|
1077
|
+
readonly definition: "policies/analytics/representative-earnings";
|
|
1078
|
+
};
|
|
1079
|
+
};
|
|
1080
|
+
readonly policyTransfers: {
|
|
1081
|
+
readonly create: "policy-transfers";
|
|
1082
|
+
readonly getPolicyTransferDetail: {
|
|
1083
|
+
readonly definition: "policy-transfers/{PolicyTransferId}";
|
|
1084
|
+
readonly render: (policyTransferId: string) => string;
|
|
1085
|
+
};
|
|
1086
|
+
readonly getPolicyTransferTriggerDetail: {
|
|
1087
|
+
readonly definition: "policy-transfers/{PolicyTransferId}/triggers/{PolicyTransferTriggerId}";
|
|
1088
|
+
readonly render: (policyTransferId: string, policyTransferTriggerId: string) => string;
|
|
1089
|
+
};
|
|
1090
|
+
readonly triggerPolicyTransfer: {
|
|
1091
|
+
readonly definition: "policy-transfers/{PolicyTransferId}/trigger";
|
|
1092
|
+
readonly render: (policyTransferId: string) => string;
|
|
1093
|
+
};
|
|
1094
|
+
};
|
|
1095
|
+
readonly filePolicyTransfers: {
|
|
1096
|
+
readonly create: "file-policy-transfers";
|
|
1097
|
+
readonly getFilePolicyTransferDetail: {
|
|
1098
|
+
readonly definition: "file-policy-transfers/{FilePolicyTransferId}";
|
|
1099
|
+
readonly render: (filePolicyTransferId: string) => string;
|
|
1100
|
+
};
|
|
1101
|
+
};
|
|
1102
|
+
readonly cases: {
|
|
1103
|
+
readonly createNewSaleOpportunity: "cases:new-sale-opportunity";
|
|
1104
|
+
readonly createCrossSaleOpportunity: "cases:cross-sale-opportunity";
|
|
1105
|
+
readonly createCancel: "cases:cancel";
|
|
1106
|
+
readonly createEndorsement: "cases:endorsement";
|
|
1107
|
+
readonly createComplaint: "cases:complaint";
|
|
1108
|
+
readonly assignRepresentative: {
|
|
1109
|
+
readonly definition: "cases/{Ref}/representative";
|
|
1110
|
+
readonly render: (ref: string) => string;
|
|
1111
|
+
};
|
|
1112
|
+
readonly addNoteToCase: {
|
|
1113
|
+
readonly definition: "cases/{Ref}/notes";
|
|
1114
|
+
readonly render: (ref: string) => string;
|
|
1115
|
+
};
|
|
1116
|
+
readonly changeChannel: {
|
|
1117
|
+
readonly definition: "cases/{Ref}/channel";
|
|
1118
|
+
readonly render: (ref: string) => string;
|
|
1119
|
+
};
|
|
1120
|
+
readonly changeState: {
|
|
1121
|
+
readonly definition: "cases/{Ref}/state";
|
|
1122
|
+
readonly render: (ref: string) => string;
|
|
1123
|
+
};
|
|
1124
|
+
readonly getActivities: {
|
|
1125
|
+
readonly definition: "cases/{Ref}/activities";
|
|
1126
|
+
readonly render: (ref: string) => string;
|
|
1127
|
+
};
|
|
1128
|
+
readonly getCaseByRef: {
|
|
1129
|
+
readonly definition: "cases/{Ref}";
|
|
1130
|
+
readonly render: (ref: string) => string;
|
|
1131
|
+
};
|
|
1132
|
+
readonly getProposals: {
|
|
1133
|
+
readonly definition: "cases/{Ref}/proposals";
|
|
1134
|
+
readonly render: (ref: string) => string;
|
|
1135
|
+
};
|
|
1136
|
+
readonly getPolicies: {
|
|
1137
|
+
readonly definition: "cases/{Ref}/policies";
|
|
1138
|
+
readonly render: (ref: string) => string;
|
|
1139
|
+
};
|
|
1140
|
+
readonly setAsset: {
|
|
1141
|
+
readonly definition: "cases/{Ref}/asset";
|
|
1142
|
+
readonly render: (ref: string) => string;
|
|
1143
|
+
};
|
|
1144
|
+
readonly setBranch: {
|
|
1145
|
+
readonly definition: "cases/{Ref}/branch";
|
|
1146
|
+
readonly render: (ref: string) => string;
|
|
1147
|
+
};
|
|
1148
|
+
readonly getSalesOpportunityFunnelAnalytics: {
|
|
1149
|
+
readonly definition: "cases/analytics/sales-opportunity-funnel";
|
|
1150
|
+
};
|
|
1151
|
+
readonly getOpenCaseBacklogPivotAnalytics: {
|
|
1152
|
+
readonly definition: "cases/analytics/open-case-backlog-pivot";
|
|
1153
|
+
};
|
|
1154
|
+
readonly getFailedCasesReasonDistribution: {
|
|
1155
|
+
readonly definition: "cases/analytics/failed-cases-reason-distribution";
|
|
1156
|
+
};
|
|
1157
|
+
readonly communicationAutomations: {
|
|
1158
|
+
readonly getAll: "cases/communication-automations";
|
|
1159
|
+
};
|
|
1160
|
+
readonly getPriorityTemplates: "cases/priority-templates";
|
|
1161
|
+
};
|
|
1162
|
+
readonly coverageGroups: {
|
|
1163
|
+
readonly getAll: "coverage-groups";
|
|
1164
|
+
readonly create: "coverage-groups";
|
|
1165
|
+
readonly update: {
|
|
1166
|
+
readonly definition: "coverage-groups/{Id}";
|
|
1167
|
+
readonly render: (id: string) => string;
|
|
1168
|
+
};
|
|
1169
|
+
readonly delete: {
|
|
1170
|
+
readonly definition: "coverage-groups/{Id}";
|
|
1171
|
+
readonly render: (id: string) => string;
|
|
1172
|
+
};
|
|
1173
|
+
readonly getById: {
|
|
1174
|
+
readonly definition: "coverage-groups/{Id}";
|
|
1175
|
+
readonly render: (id: string) => string;
|
|
1176
|
+
};
|
|
1177
|
+
};
|
|
1178
|
+
readonly webhooks: {
|
|
1179
|
+
readonly getAll: "webhooks";
|
|
1180
|
+
readonly create: "webhooks";
|
|
1181
|
+
readonly getById: {
|
|
1182
|
+
readonly definition: "webhooks/{Id}";
|
|
1183
|
+
readonly render: (id: string) => string;
|
|
1184
|
+
};
|
|
1185
|
+
readonly update: {
|
|
1186
|
+
readonly definition: "webhooks/{Id}";
|
|
1187
|
+
readonly render: (id: string) => string;
|
|
1188
|
+
};
|
|
1189
|
+
readonly delete: {
|
|
1190
|
+
readonly definition: "webhooks/{Id}";
|
|
1191
|
+
readonly render: (id: string) => string;
|
|
1192
|
+
};
|
|
1193
|
+
readonly deliveries: {
|
|
1194
|
+
readonly getById: {
|
|
1195
|
+
readonly definition: "webhooks/{WebhookId}/deliveries/{WebhookDeliveryId}";
|
|
1196
|
+
readonly render: (webhookId: string, webhookDeliveryId: string) => string;
|
|
1197
|
+
};
|
|
1198
|
+
readonly redeliver: {
|
|
1199
|
+
readonly definition: "webhooks/{WebhookId}/deliveries/{WebhookDeliveryId}/redeliver";
|
|
1200
|
+
readonly render: (webhookId: string, webhookDeliveryId: string) => string;
|
|
1201
|
+
};
|
|
1202
|
+
};
|
|
1203
|
+
};
|
|
1204
|
+
readonly agentBranches: {
|
|
1205
|
+
readonly getAll: "agent-branches";
|
|
1206
|
+
readonly create: "agent-branches";
|
|
1207
|
+
readonly getById: {
|
|
1208
|
+
readonly definition: "agent-branches/{Id}";
|
|
1209
|
+
readonly render: (id: string) => string;
|
|
1210
|
+
};
|
|
1211
|
+
readonly update: {
|
|
1212
|
+
readonly definition: "agent-branches/{Id}";
|
|
1213
|
+
readonly render: (id: string) => string;
|
|
1214
|
+
};
|
|
1215
|
+
readonly delete: {
|
|
1216
|
+
readonly definition: "agent-branches/{Id}";
|
|
1217
|
+
readonly render: (id: string) => string;
|
|
1218
|
+
};
|
|
1219
|
+
};
|
|
1220
|
+
readonly files: {
|
|
1221
|
+
readonly uploadPublicFile: "files/upload-public";
|
|
1222
|
+
};
|
|
1223
|
+
readonly languages: {
|
|
1224
|
+
readonly getAll: "languages";
|
|
1225
|
+
};
|
|
1226
|
+
readonly templates: {
|
|
1227
|
+
readonly getDefinitions: "templates/definitions";
|
|
1228
|
+
readonly getAll: "templates";
|
|
1229
|
+
readonly getByKey: {
|
|
1230
|
+
readonly definition: "templates/{Key}";
|
|
1231
|
+
readonly render: (key: string) => string;
|
|
1232
|
+
};
|
|
1233
|
+
readonly update: {
|
|
1234
|
+
readonly definition: "templates/{Key}";
|
|
1235
|
+
readonly render: (key: string) => string;
|
|
1236
|
+
};
|
|
1237
|
+
readonly delete: {
|
|
1238
|
+
readonly definition: "templates/{Key}";
|
|
1239
|
+
readonly render: (key: string) => string;
|
|
1240
|
+
};
|
|
1241
|
+
};
|
|
1242
|
+
readonly b2c: {
|
|
1243
|
+
readonly configFields: {
|
|
1244
|
+
readonly getAll: "b2c/config-fields";
|
|
1245
|
+
readonly updateAll: "b2c/config-fields";
|
|
1246
|
+
};
|
|
1247
|
+
};
|
|
1248
|
+
readonly proposals: {
|
|
1249
|
+
readonly create: "proposals";
|
|
1250
|
+
readonly getProposalById: {
|
|
1251
|
+
readonly definition: "proposals/{ProposalId}";
|
|
1252
|
+
readonly render: (proposalId: string) => string;
|
|
1253
|
+
};
|
|
1254
|
+
readonly getProposalSnapshot: {
|
|
1255
|
+
readonly definition: "proposals/{ProposalId}/snapshot";
|
|
1256
|
+
readonly render: (proposalId: string) => string;
|
|
1257
|
+
};
|
|
1258
|
+
readonly getProposalCoverage: {
|
|
1259
|
+
readonly definition: "proposals/{ProposalId}/coverage";
|
|
1260
|
+
readonly render: (proposalId: string) => string;
|
|
1261
|
+
};
|
|
1262
|
+
readonly getProposalProductCoverage: {
|
|
1263
|
+
readonly definition: "proposals/{ProposalId}/products/{ProposalProductId}/coverage";
|
|
1264
|
+
readonly render: (proposalId: string, proposalProductId: string) => string;
|
|
1265
|
+
};
|
|
1266
|
+
readonly retryFailedProposalProduct: {
|
|
1267
|
+
readonly definition: "proposals/{ProposalId}/products/{ProposalProductId}/retry";
|
|
1268
|
+
readonly render: (proposalId: string, proposalProductId: string) => string;
|
|
1269
|
+
};
|
|
1270
|
+
readonly getProposalProductPremiumDetail: {
|
|
1271
|
+
readonly definition: "proposals/{ProposalId}/products/{ProposalProductId}/premium-detail/{InstallmentNumber}";
|
|
1272
|
+
readonly render: (proposalId: string, proposalProductId: string, installmentNumber: number) => string;
|
|
1273
|
+
};
|
|
1274
|
+
readonly purchaseProposalProductSync: {
|
|
1275
|
+
readonly definition: "proposals/{ProposalId}/products/{ProposalProductId}/purchase/sync";
|
|
1276
|
+
readonly render: (proposalId: string, proposalProductId: string) => string;
|
|
1277
|
+
};
|
|
1278
|
+
readonly purchaseProposalProductAsync: {
|
|
1279
|
+
readonly definition: "proposals/{ProposalId}/products/{ProposalProductId}/purchase/async";
|
|
1280
|
+
readonly render: (proposalId: string, proposalProductId: string) => string;
|
|
1281
|
+
};
|
|
1282
|
+
readonly reviseProposal: {
|
|
1283
|
+
readonly definition: "proposals/{ProposalId}/revise";
|
|
1284
|
+
readonly render: (proposalId: string) => string;
|
|
1285
|
+
};
|
|
1286
|
+
readonly reviseProposalProduct: {
|
|
1287
|
+
readonly definition: "proposals/{ProposalId}/products/{ProposalProductId}/revise";
|
|
1288
|
+
readonly render: (proposalId: string, proposalProductId: string) => string;
|
|
1289
|
+
};
|
|
1290
|
+
readonly fetchProposalProductDocument: {
|
|
1291
|
+
readonly definition: "proposals/{ProposalId}/products/{ProposalProductId}/document";
|
|
1292
|
+
readonly render: (proposalId: string, proposalProductId: string) => string;
|
|
1293
|
+
};
|
|
1294
|
+
readonly fetchProposalInformationFormDocument: {
|
|
1295
|
+
readonly definition: "proposals/{ProposalId}/products/{ProposalProductId}/information-form";
|
|
1296
|
+
readonly render: (proposalId: string, proposalProductId: string) => string;
|
|
1297
|
+
};
|
|
1298
|
+
readonly sendProposalProductDocument: {
|
|
1299
|
+
readonly definition: "proposals/{ProposalId}/products/{ProposalProductId}/document/send";
|
|
1300
|
+
readonly render: (proposalId: string, proposalProductId: string) => string;
|
|
1301
|
+
};
|
|
1302
|
+
readonly sendProposalInformationFormDocument: {
|
|
1303
|
+
readonly definition: "proposals/{ProposalId}/products/{ProposalProductId}/information-form/send";
|
|
1304
|
+
readonly render: (proposalId: string, proposalProductId: string) => string;
|
|
1305
|
+
};
|
|
1306
|
+
readonly generateCompareProposalProductsPdf: {
|
|
1307
|
+
readonly definition: "proposals/{ProposalId}/products/compare-pdf";
|
|
1308
|
+
readonly render: (proposalId: string) => string;
|
|
1309
|
+
};
|
|
1310
|
+
readonly sendCompareProposalProductsPdf: {
|
|
1311
|
+
readonly definition: "proposals/{ProposalId}/products/compare-pdf/send";
|
|
1312
|
+
readonly render: (proposalId: string) => string;
|
|
1313
|
+
};
|
|
1314
|
+
readonly setProposalRepresentative: {
|
|
1315
|
+
readonly definition: "proposals/{ProposalId}/representative";
|
|
1316
|
+
readonly render: (proposalId: string) => string;
|
|
1317
|
+
};
|
|
1318
|
+
readonly setProposalBranch: {
|
|
1319
|
+
readonly definition: "proposals/{ProposalId}/branch";
|
|
1320
|
+
readonly render: (proposalId: string) => string;
|
|
1321
|
+
};
|
|
1322
|
+
readonly generateCustomerProposalDocumentPdf: {
|
|
1323
|
+
readonly definition: "proposals/{ProposalId}/customer-document-pdf";
|
|
1324
|
+
readonly render: (proposalId: string) => string;
|
|
1325
|
+
};
|
|
1326
|
+
readonly getProposalConversionTrend: {
|
|
1327
|
+
readonly definition: "proposals/analytics/conversion-trend";
|
|
1328
|
+
};
|
|
1329
|
+
};
|
|
1330
|
+
};
|
|
1331
|
+
//# sourceMappingURL=endpoints.d.ts.map
|