@emilgroup/insurance-sdk-node 1.48.1-beta.2 → 1.49.0

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.
Files changed (141) hide show
  1. package/.openapi-generator/FILES +8 -21
  2. package/README.md +2 -2
  3. package/api/booking-funnels-api.ts +4 -4
  4. package/api/default-api.ts +4 -8
  5. package/api/insured-object-types-api.ts +4 -4
  6. package/api/insured-objects-api.ts +6 -9
  7. package/api/lead-statuses-api.ts +12 -96
  8. package/api/named-ranges-api.ts +4 -4
  9. package/api/policies-api.ts +180 -167
  10. package/api/policy-partner-roles-api.ts +683 -0
  11. package/api/premium-formulas-api.ts +4 -4
  12. package/api/product-factors-api.ts +4 -4
  13. package/api/product-fields-api.ts +8 -8
  14. package/api/products-api.ts +12 -12
  15. package/api.ts +2 -4
  16. package/dist/api/booking-funnels-api.d.ts +4 -4
  17. package/dist/api/booking-funnels-api.js +4 -4
  18. package/dist/api/default-api.d.ts +4 -8
  19. package/dist/api/default-api.js +4 -8
  20. package/dist/api/insured-object-types-api.d.ts +4 -4
  21. package/dist/api/insured-object-types-api.js +3 -3
  22. package/dist/api/insured-objects-api.d.ts +4 -4
  23. package/dist/api/insured-objects-api.js +5 -7
  24. package/dist/api/lead-statuses-api.d.ts +9 -63
  25. package/dist/api/lead-statuses-api.js +9 -45
  26. package/dist/api/named-ranges-api.d.ts +4 -4
  27. package/dist/api/named-ranges-api.js +3 -3
  28. package/dist/api/policies-api.d.ts +140 -131
  29. package/dist/api/policies-api.js +120 -114
  30. package/dist/api/policy-partner-roles-api.d.ts +385 -0
  31. package/dist/api/{partner-roles-api.js → policy-partner-roles-api.js} +139 -139
  32. package/dist/api/premium-formulas-api.d.ts +4 -4
  33. package/dist/api/premium-formulas-api.js +3 -3
  34. package/dist/api/product-factors-api.d.ts +4 -4
  35. package/dist/api/product-factors-api.js +3 -3
  36. package/dist/api/product-fields-api.d.ts +8 -8
  37. package/dist/api/product-fields-api.js +6 -6
  38. package/dist/api/products-api.d.ts +12 -12
  39. package/dist/api/products-api.js +9 -9
  40. package/dist/api.d.ts +1 -2
  41. package/dist/api.js +1 -2
  42. package/dist/models/booking-funnel-class.d.ts +1 -1
  43. package/dist/models/create-booking-funnel-request-dto.d.ts +1 -1
  44. package/dist/models/{update-partner-role-request-dto.d.ts → create-policy-partner-role-request-dto.d.ts} +6 -6
  45. package/dist/models/{emil-function-secret-class.d.ts → create-policy-partner-role-response-class.d.ts} +7 -12
  46. package/dist/models/create-product-request-dto.d.ts +1 -1
  47. package/dist/models/{create-partner-role-response-class.d.ts → get-policy-partner-role-response-class.d.ts} +7 -7
  48. package/dist/models/get-product-request-dto.d.ts +1 -1
  49. package/dist/models/index.d.ts +7 -19
  50. package/dist/models/index.js +7 -19
  51. package/dist/models/insured-object-type-class.d.ts +1 -1
  52. package/dist/models/invoice-item-class.d.ts +0 -12
  53. package/dist/models/lead-class.d.ts +1 -8
  54. package/dist/models/lead-status-class.d.ts +1 -1
  55. package/dist/models/{list-emil-functions-response-class.d.ts → list-policy-partner-roles-response-class.d.ts} +8 -8
  56. package/dist/models/list-policy-versions-request-dto.d.ts +1 -1
  57. package/dist/models/list-request-dto.d.ts +1 -1
  58. package/dist/models/patch-draft-policy-request-dto.d.ts +1 -1
  59. package/dist/models/policy-class.d.ts +0 -7
  60. package/dist/models/{partner-role-class.d.ts → policy-partner-role-class.d.ts} +10 -10
  61. package/dist/models/product-class.d.ts +1 -1
  62. package/dist/models/shared-update-named-range-request-dto.d.ts +1 -1
  63. package/dist/models/status-transition-rule-class.d.ts +1 -1
  64. package/dist/models/update-named-range-request-dto.d.ts +1 -1
  65. package/dist/models/{create-partner-role-request-dto.d.ts → update-policy-partner-role-request-dto.d.ts} +6 -6
  66. package/dist/models/{execute-emil-function-request-dto.d.ts → update-policy-partner-role-response-class.d.ts} +7 -6
  67. package/dist/models/update-product-request-dto.d.ts +1 -1
  68. package/models/booking-funnel-class.ts +1 -1
  69. package/models/create-booking-funnel-request-dto.ts +1 -1
  70. package/models/{update-partner-role-request-dto.ts → create-policy-partner-role-request-dto.ts} +6 -6
  71. package/models/{emil-function-secret-class.ts → create-policy-partner-role-response-class.ts} +7 -12
  72. package/models/create-product-request-dto.ts +1 -1
  73. package/models/{create-partner-role-response-class.ts → get-policy-partner-role-response-class.ts} +7 -7
  74. package/models/get-product-request-dto.ts +1 -1
  75. package/models/index.ts +7 -19
  76. package/models/insured-object-type-class.ts +1 -1
  77. package/models/invoice-item-class.ts +0 -12
  78. package/models/lead-class.ts +1 -8
  79. package/models/lead-status-class.ts +1 -1
  80. package/models/{list-emil-functions-response-class.ts → list-policy-partner-roles-response-class.ts} +8 -8
  81. package/models/list-policy-versions-request-dto.ts +1 -1
  82. package/models/list-request-dto.ts +1 -1
  83. package/models/patch-draft-policy-request-dto.ts +1 -1
  84. package/models/policy-class.ts +0 -7
  85. package/models/{partner-role-class.ts → policy-partner-role-class.ts} +10 -10
  86. package/models/product-class.ts +1 -1
  87. package/models/shared-update-named-range-request-dto.ts +1 -1
  88. package/models/status-transition-rule-class.ts +1 -1
  89. package/models/update-named-range-request-dto.ts +1 -1
  90. package/models/{create-partner-role-request-dto.ts → update-policy-partner-role-request-dto.ts} +6 -6
  91. package/models/{execute-emil-function-request-dto.ts → update-policy-partner-role-response-class.ts} +7 -6
  92. package/models/update-product-request-dto.ts +1 -1
  93. package/package.json +1 -1
  94. package/api/emil-functions-api.ts +0 -1314
  95. package/api/partner-roles-api.ts +0 -683
  96. package/dist/api/emil-functions-api.d.ts +0 -727
  97. package/dist/api/emil-functions-api.js +0 -1202
  98. package/dist/api/partner-roles-api.d.ts +0 -385
  99. package/dist/models/create-emil-function-request-dto.d.ts +0 -42
  100. package/dist/models/create-emil-function-secret-request-dto.d.ts +0 -36
  101. package/dist/models/emil-function-class.d.ts +0 -60
  102. package/dist/models/get-emil-function-secret-response-class.d.ts +0 -24
  103. package/dist/models/get-emil-function-secret-response-class.js +0 -15
  104. package/dist/models/get-partner-role-response-class.d.ts +0 -25
  105. package/dist/models/get-partner-role-response-class.js +0 -15
  106. package/dist/models/list-emil-function-secrets-response-class.d.ts +0 -25
  107. package/dist/models/list-emil-function-secrets-response-class.js +0 -15
  108. package/dist/models/list-emil-functions-response-class.js +0 -15
  109. package/dist/models/list-partner-roles-response-class.d.ts +0 -31
  110. package/dist/models/list-partner-roles-response-class.js +0 -15
  111. package/dist/models/partner-class.d.ts +0 -60
  112. package/dist/models/partner-class.js +0 -15
  113. package/dist/models/partner-link-class.d.ts +0 -86
  114. package/dist/models/partner-link-class.js +0 -15
  115. package/dist/models/partner-role-class.js +0 -15
  116. package/dist/models/update-emil-function-request-dto.d.ts +0 -42
  117. package/dist/models/update-emil-function-request-dto.js +0 -15
  118. package/dist/models/update-emil-function-secret-request-dto.d.ts +0 -30
  119. package/dist/models/update-emil-function-secret-request-dto.js +0 -15
  120. package/dist/models/update-partner-role-request-dto.js +0 -15
  121. package/dist/models/update-partner-role-response-class.d.ts +0 -25
  122. package/dist/models/update-partner-role-response-class.js +0 -15
  123. package/models/create-emil-function-request-dto.ts +0 -48
  124. package/models/create-emil-function-secret-request-dto.ts +0 -42
  125. package/models/emil-function-class.ts +0 -66
  126. package/models/get-emil-function-secret-response-class.ts +0 -30
  127. package/models/get-partner-role-response-class.ts +0 -31
  128. package/models/list-emil-function-secrets-response-class.ts +0 -31
  129. package/models/list-partner-roles-response-class.ts +0 -37
  130. package/models/partner-class.ts +0 -66
  131. package/models/partner-link-class.ts +0 -92
  132. package/models/update-emil-function-request-dto.ts +0 -48
  133. package/models/update-emil-function-secret-request-dto.ts +0 -36
  134. package/models/update-partner-role-response-class.ts +0 -31
  135. /package/dist/models/{create-emil-function-request-dto.js → create-policy-partner-role-request-dto.js} +0 -0
  136. /package/dist/models/{create-emil-function-secret-request-dto.js → create-policy-partner-role-response-class.js} +0 -0
  137. /package/dist/models/{create-partner-role-request-dto.js → get-policy-partner-role-response-class.js} +0 -0
  138. /package/dist/models/{create-partner-role-response-class.js → list-policy-partner-roles-response-class.js} +0 -0
  139. /package/dist/models/{emil-function-class.js → policy-partner-role-class.js} +0 -0
  140. /package/dist/models/{emil-function-secret-class.js → update-policy-partner-role-request-dto.js} +0 -0
  141. /package/dist/models/{execute-emil-function-request-dto.js → update-policy-partner-role-response-class.js} +0 -0
@@ -0,0 +1,385 @@
1
+ /**
2
+ * EMIL InsuranceService
3
+ * The EMIL InsuranceService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
+ import { Configuration } from '../configuration';
14
+ import { RequestArgs, BaseAPI } from '../base';
15
+ import { CreatePolicyPartnerRoleRequestDto } from '../models';
16
+ import { CreatePolicyPartnerRoleResponseClass } from '../models';
17
+ import { DeleteResponseClass } from '../models';
18
+ import { GetPolicyPartnerRoleResponseClass } from '../models';
19
+ import { ListPolicyPartnerRolesResponseClass } from '../models';
20
+ import { UpdatePolicyPartnerRoleRequestDto } from '../models';
21
+ import { UpdatePolicyPartnerRoleResponseClass } from '../models';
22
+ /**
23
+ * PolicyPartnerRolesApi - axios parameter creator
24
+ * @export
25
+ */
26
+ export declare const PolicyPartnerRolesApiAxiosParamCreator: (configuration?: Configuration) => {
27
+ /**
28
+ * This will create a policy partner role.
29
+ * @summary Create the policy partner role
30
+ * @param {CreatePolicyPartnerRoleRequestDto} createPolicyPartnerRoleRequestDto
31
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
32
+ * @param {*} [options] Override http request option.
33
+ * @throws {RequiredError}
34
+ */
35
+ createPolicyPartnerRole: (createPolicyPartnerRoleRequestDto: CreatePolicyPartnerRoleRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
36
+ /**
37
+ * Permanently deletes the policy partner role. Supply the unique code that was returned when you created the policy partner role and this will delete it.
38
+ * @summary Delete the policy partner role
39
+ * @param {string} code Unique identifier for the object.
40
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
41
+ * @param {*} [options] Override http request option.
42
+ * @throws {RequiredError}
43
+ */
44
+ deletePolicyPartnerRole: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
45
+ /**
46
+ * Retrieves the details of the policy partner role that was previously created. Supply the unique policy partner role code that was returned when you created it and Emil Api will return the corresponding policy partner role information.
47
+ * @summary Retrieve the policy partner role
48
+ * @param {string} code Unique identifier for the object.
49
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
50
+ * @param {*} [options] Override http request option.
51
+ * @throws {RequiredError}
52
+ */
53
+ getPolicyPartnerRole: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
54
+ /**
55
+ * Returns a list of policy partner roles you have previously created. The policy partner roles are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
56
+ * @summary List policy partner roles
57
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
58
+ * @param {number} [pageSize] Page size.
59
+ * @param {string} [pageToken] Page token.
60
+ * @param {'name' | 'productSlug'} [filter] List filter
61
+ * @param {'name' | 'productSlug'} [search] Search query.
62
+ * @param {'id' | 'name' | 'productSlug' | 'createdAt' | 'updatedAt'} [order] Ordering criteria.
63
+ * @param {number} [expand] This entity has no expand parameters
64
+ * @param {string} [filters]
65
+ * @param {*} [options] Override http request option.
66
+ * @throws {RequiredError}
67
+ */
68
+ listPolicyPartnerRole: (authorization?: string, pageSize?: number, pageToken?: string, filter?: 'name' | 'productSlug', search?: 'name' | 'productSlug', order?: 'id' | 'name' | 'productSlug' | 'createdAt' | 'updatedAt', expand?: number, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
69
+ /**
70
+ * Updates the specified policy partner role by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
71
+ * @summary Update the policy partner role
72
+ * @param {string} code Unique identifier for the object.
73
+ * @param {UpdatePolicyPartnerRoleRequestDto} updatePolicyPartnerRoleRequestDto
74
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
75
+ * @param {*} [options] Override http request option.
76
+ * @throws {RequiredError}
77
+ */
78
+ updatePolicyPartnerRole: (code: string, updatePolicyPartnerRoleRequestDto: UpdatePolicyPartnerRoleRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
79
+ };
80
+ /**
81
+ * PolicyPartnerRolesApi - functional programming interface
82
+ * @export
83
+ */
84
+ export declare const PolicyPartnerRolesApiFp: (configuration?: Configuration) => {
85
+ /**
86
+ * This will create a policy partner role.
87
+ * @summary Create the policy partner role
88
+ * @param {CreatePolicyPartnerRoleRequestDto} createPolicyPartnerRoleRequestDto
89
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
90
+ * @param {*} [options] Override http request option.
91
+ * @throws {RequiredError}
92
+ */
93
+ createPolicyPartnerRole(createPolicyPartnerRoleRequestDto: CreatePolicyPartnerRoleRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePolicyPartnerRoleResponseClass>>;
94
+ /**
95
+ * Permanently deletes the policy partner role. Supply the unique code that was returned when you created the policy partner role and this will delete it.
96
+ * @summary Delete the policy partner role
97
+ * @param {string} code Unique identifier for the object.
98
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
99
+ * @param {*} [options] Override http request option.
100
+ * @throws {RequiredError}
101
+ */
102
+ deletePolicyPartnerRole(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteResponseClass>>;
103
+ /**
104
+ * Retrieves the details of the policy partner role that was previously created. Supply the unique policy partner role code that was returned when you created it and Emil Api will return the corresponding policy partner role information.
105
+ * @summary Retrieve the policy partner role
106
+ * @param {string} code Unique identifier for the object.
107
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
108
+ * @param {*} [options] Override http request option.
109
+ * @throws {RequiredError}
110
+ */
111
+ getPolicyPartnerRole(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPolicyPartnerRoleResponseClass>>;
112
+ /**
113
+ * Returns a list of policy partner roles you have previously created. The policy partner roles are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
114
+ * @summary List policy partner roles
115
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
116
+ * @param {number} [pageSize] Page size.
117
+ * @param {string} [pageToken] Page token.
118
+ * @param {'name' | 'productSlug'} [filter] List filter
119
+ * @param {'name' | 'productSlug'} [search] Search query.
120
+ * @param {'id' | 'name' | 'productSlug' | 'createdAt' | 'updatedAt'} [order] Ordering criteria.
121
+ * @param {number} [expand] This entity has no expand parameters
122
+ * @param {string} [filters]
123
+ * @param {*} [options] Override http request option.
124
+ * @throws {RequiredError}
125
+ */
126
+ listPolicyPartnerRole(authorization?: string, pageSize?: number, pageToken?: string, filter?: 'name' | 'productSlug', search?: 'name' | 'productSlug', order?: 'id' | 'name' | 'productSlug' | 'createdAt' | 'updatedAt', expand?: number, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPolicyPartnerRolesResponseClass>>;
127
+ /**
128
+ * Updates the specified policy partner role by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
129
+ * @summary Update the policy partner role
130
+ * @param {string} code Unique identifier for the object.
131
+ * @param {UpdatePolicyPartnerRoleRequestDto} updatePolicyPartnerRoleRequestDto
132
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
133
+ * @param {*} [options] Override http request option.
134
+ * @throws {RequiredError}
135
+ */
136
+ updatePolicyPartnerRole(code: string, updatePolicyPartnerRoleRequestDto: UpdatePolicyPartnerRoleRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdatePolicyPartnerRoleResponseClass>>;
137
+ };
138
+ /**
139
+ * PolicyPartnerRolesApi - factory interface
140
+ * @export
141
+ */
142
+ export declare const PolicyPartnerRolesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
143
+ /**
144
+ * This will create a policy partner role.
145
+ * @summary Create the policy partner role
146
+ * @param {CreatePolicyPartnerRoleRequestDto} createPolicyPartnerRoleRequestDto
147
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
148
+ * @param {*} [options] Override http request option.
149
+ * @throws {RequiredError}
150
+ */
151
+ createPolicyPartnerRole(createPolicyPartnerRoleRequestDto: CreatePolicyPartnerRoleRequestDto, authorization?: string, options?: any): AxiosPromise<CreatePolicyPartnerRoleResponseClass>;
152
+ /**
153
+ * Permanently deletes the policy partner role. Supply the unique code that was returned when you created the policy partner role and this will delete it.
154
+ * @summary Delete the policy partner role
155
+ * @param {string} code Unique identifier for the object.
156
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
157
+ * @param {*} [options] Override http request option.
158
+ * @throws {RequiredError}
159
+ */
160
+ deletePolicyPartnerRole(code: string, authorization?: string, options?: any): AxiosPromise<DeleteResponseClass>;
161
+ /**
162
+ * Retrieves the details of the policy partner role that was previously created. Supply the unique policy partner role code that was returned when you created it and Emil Api will return the corresponding policy partner role information.
163
+ * @summary Retrieve the policy partner role
164
+ * @param {string} code Unique identifier for the object.
165
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
166
+ * @param {*} [options] Override http request option.
167
+ * @throws {RequiredError}
168
+ */
169
+ getPolicyPartnerRole(code: string, authorization?: string, options?: any): AxiosPromise<GetPolicyPartnerRoleResponseClass>;
170
+ /**
171
+ * Returns a list of policy partner roles you have previously created. The policy partner roles are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
172
+ * @summary List policy partner roles
173
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
174
+ * @param {number} [pageSize] Page size.
175
+ * @param {string} [pageToken] Page token.
176
+ * @param {'name' | 'productSlug'} [filter] List filter
177
+ * @param {'name' | 'productSlug'} [search] Search query.
178
+ * @param {'id' | 'name' | 'productSlug' | 'createdAt' | 'updatedAt'} [order] Ordering criteria.
179
+ * @param {number} [expand] This entity has no expand parameters
180
+ * @param {string} [filters]
181
+ * @param {*} [options] Override http request option.
182
+ * @throws {RequiredError}
183
+ */
184
+ listPolicyPartnerRole(authorization?: string, pageSize?: number, pageToken?: string, filter?: 'name' | 'productSlug', search?: 'name' | 'productSlug', order?: 'id' | 'name' | 'productSlug' | 'createdAt' | 'updatedAt', expand?: number, filters?: string, options?: any): AxiosPromise<ListPolicyPartnerRolesResponseClass>;
185
+ /**
186
+ * Updates the specified policy partner role by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
187
+ * @summary Update the policy partner role
188
+ * @param {string} code Unique identifier for the object.
189
+ * @param {UpdatePolicyPartnerRoleRequestDto} updatePolicyPartnerRoleRequestDto
190
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
191
+ * @param {*} [options] Override http request option.
192
+ * @throws {RequiredError}
193
+ */
194
+ updatePolicyPartnerRole(code: string, updatePolicyPartnerRoleRequestDto: UpdatePolicyPartnerRoleRequestDto, authorization?: string, options?: any): AxiosPromise<UpdatePolicyPartnerRoleResponseClass>;
195
+ };
196
+ /**
197
+ * Request parameters for createPolicyPartnerRole operation in PolicyPartnerRolesApi.
198
+ * @export
199
+ * @interface PolicyPartnerRolesApiCreatePolicyPartnerRoleRequest
200
+ */
201
+ export interface PolicyPartnerRolesApiCreatePolicyPartnerRoleRequest {
202
+ /**
203
+ *
204
+ * @type {CreatePolicyPartnerRoleRequestDto}
205
+ * @memberof PolicyPartnerRolesApiCreatePolicyPartnerRole
206
+ */
207
+ readonly createPolicyPartnerRoleRequestDto: CreatePolicyPartnerRoleRequestDto;
208
+ /**
209
+ * Bearer Token: provided by the login endpoint under the name accessToken.
210
+ * @type {string}
211
+ * @memberof PolicyPartnerRolesApiCreatePolicyPartnerRole
212
+ */
213
+ readonly authorization?: string;
214
+ }
215
+ /**
216
+ * Request parameters for deletePolicyPartnerRole operation in PolicyPartnerRolesApi.
217
+ * @export
218
+ * @interface PolicyPartnerRolesApiDeletePolicyPartnerRoleRequest
219
+ */
220
+ export interface PolicyPartnerRolesApiDeletePolicyPartnerRoleRequest {
221
+ /**
222
+ * Unique identifier for the object.
223
+ * @type {string}
224
+ * @memberof PolicyPartnerRolesApiDeletePolicyPartnerRole
225
+ */
226
+ readonly code: string;
227
+ /**
228
+ * Bearer Token: provided by the login endpoint under the name accessToken.
229
+ * @type {string}
230
+ * @memberof PolicyPartnerRolesApiDeletePolicyPartnerRole
231
+ */
232
+ readonly authorization?: string;
233
+ }
234
+ /**
235
+ * Request parameters for getPolicyPartnerRole operation in PolicyPartnerRolesApi.
236
+ * @export
237
+ * @interface PolicyPartnerRolesApiGetPolicyPartnerRoleRequest
238
+ */
239
+ export interface PolicyPartnerRolesApiGetPolicyPartnerRoleRequest {
240
+ /**
241
+ * Unique identifier for the object.
242
+ * @type {string}
243
+ * @memberof PolicyPartnerRolesApiGetPolicyPartnerRole
244
+ */
245
+ readonly code: string;
246
+ /**
247
+ * Bearer Token: provided by the login endpoint under the name accessToken.
248
+ * @type {string}
249
+ * @memberof PolicyPartnerRolesApiGetPolicyPartnerRole
250
+ */
251
+ readonly authorization?: string;
252
+ }
253
+ /**
254
+ * Request parameters for listPolicyPartnerRole operation in PolicyPartnerRolesApi.
255
+ * @export
256
+ * @interface PolicyPartnerRolesApiListPolicyPartnerRoleRequest
257
+ */
258
+ export interface PolicyPartnerRolesApiListPolicyPartnerRoleRequest {
259
+ /**
260
+ * Bearer Token: provided by the login endpoint under the name accessToken.
261
+ * @type {string}
262
+ * @memberof PolicyPartnerRolesApiListPolicyPartnerRole
263
+ */
264
+ readonly authorization?: string;
265
+ /**
266
+ * Page size.
267
+ * @type {number}
268
+ * @memberof PolicyPartnerRolesApiListPolicyPartnerRole
269
+ */
270
+ readonly pageSize?: number;
271
+ /**
272
+ * Page token.
273
+ * @type {string}
274
+ * @memberof PolicyPartnerRolesApiListPolicyPartnerRole
275
+ */
276
+ readonly pageToken?: string;
277
+ /**
278
+ * List filter
279
+ * @type {'name' | 'productSlug'}
280
+ * @memberof PolicyPartnerRolesApiListPolicyPartnerRole
281
+ */
282
+ readonly filter?: 'name' | 'productSlug';
283
+ /**
284
+ * Search query.
285
+ * @type {'name' | 'productSlug'}
286
+ * @memberof PolicyPartnerRolesApiListPolicyPartnerRole
287
+ */
288
+ readonly search?: 'name' | 'productSlug';
289
+ /**
290
+ * Ordering criteria.
291
+ * @type {'id' | 'name' | 'productSlug' | 'createdAt' | 'updatedAt'}
292
+ * @memberof PolicyPartnerRolesApiListPolicyPartnerRole
293
+ */
294
+ readonly order?: 'id' | 'name' | 'productSlug' | 'createdAt' | 'updatedAt';
295
+ /**
296
+ * This entity has no expand parameters
297
+ * @type {number}
298
+ * @memberof PolicyPartnerRolesApiListPolicyPartnerRole
299
+ */
300
+ readonly expand?: number;
301
+ /**
302
+ *
303
+ * @type {string}
304
+ * @memberof PolicyPartnerRolesApiListPolicyPartnerRole
305
+ */
306
+ readonly filters?: string;
307
+ }
308
+ /**
309
+ * Request parameters for updatePolicyPartnerRole operation in PolicyPartnerRolesApi.
310
+ * @export
311
+ * @interface PolicyPartnerRolesApiUpdatePolicyPartnerRoleRequest
312
+ */
313
+ export interface PolicyPartnerRolesApiUpdatePolicyPartnerRoleRequest {
314
+ /**
315
+ * Unique identifier for the object.
316
+ * @type {string}
317
+ * @memberof PolicyPartnerRolesApiUpdatePolicyPartnerRole
318
+ */
319
+ readonly code: string;
320
+ /**
321
+ *
322
+ * @type {UpdatePolicyPartnerRoleRequestDto}
323
+ * @memberof PolicyPartnerRolesApiUpdatePolicyPartnerRole
324
+ */
325
+ readonly updatePolicyPartnerRoleRequestDto: UpdatePolicyPartnerRoleRequestDto;
326
+ /**
327
+ * Bearer Token: provided by the login endpoint under the name accessToken.
328
+ * @type {string}
329
+ * @memberof PolicyPartnerRolesApiUpdatePolicyPartnerRole
330
+ */
331
+ readonly authorization?: string;
332
+ }
333
+ /**
334
+ * PolicyPartnerRolesApi - object-oriented interface
335
+ * @export
336
+ * @class PolicyPartnerRolesApi
337
+ * @extends {BaseAPI}
338
+ */
339
+ export declare class PolicyPartnerRolesApi extends BaseAPI {
340
+ /**
341
+ * This will create a policy partner role.
342
+ * @summary Create the policy partner role
343
+ * @param {PolicyPartnerRolesApiCreatePolicyPartnerRoleRequest} requestParameters Request parameters.
344
+ * @param {*} [options] Override http request option.
345
+ * @throws {RequiredError}
346
+ * @memberof PolicyPartnerRolesApi
347
+ */
348
+ createPolicyPartnerRole(requestParameters: PolicyPartnerRolesApiCreatePolicyPartnerRoleRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePolicyPartnerRoleResponseClass, any>>;
349
+ /**
350
+ * Permanently deletes the policy partner role. Supply the unique code that was returned when you created the policy partner role and this will delete it.
351
+ * @summary Delete the policy partner role
352
+ * @param {PolicyPartnerRolesApiDeletePolicyPartnerRoleRequest} requestParameters Request parameters.
353
+ * @param {*} [options] Override http request option.
354
+ * @throws {RequiredError}
355
+ * @memberof PolicyPartnerRolesApi
356
+ */
357
+ deletePolicyPartnerRole(requestParameters: PolicyPartnerRolesApiDeletePolicyPartnerRoleRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteResponseClass, any>>;
358
+ /**
359
+ * Retrieves the details of the policy partner role that was previously created. Supply the unique policy partner role code that was returned when you created it and Emil Api will return the corresponding policy partner role information.
360
+ * @summary Retrieve the policy partner role
361
+ * @param {PolicyPartnerRolesApiGetPolicyPartnerRoleRequest} requestParameters Request parameters.
362
+ * @param {*} [options] Override http request option.
363
+ * @throws {RequiredError}
364
+ * @memberof PolicyPartnerRolesApi
365
+ */
366
+ getPolicyPartnerRole(requestParameters: PolicyPartnerRolesApiGetPolicyPartnerRoleRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPolicyPartnerRoleResponseClass, any>>;
367
+ /**
368
+ * Returns a list of policy partner roles you have previously created. The policy partner roles are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
369
+ * @summary List policy partner roles
370
+ * @param {PolicyPartnerRolesApiListPolicyPartnerRoleRequest} requestParameters Request parameters.
371
+ * @param {*} [options] Override http request option.
372
+ * @throws {RequiredError}
373
+ * @memberof PolicyPartnerRolesApi
374
+ */
375
+ listPolicyPartnerRole(requestParameters?: PolicyPartnerRolesApiListPolicyPartnerRoleRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPolicyPartnerRolesResponseClass, any>>;
376
+ /**
377
+ * Updates the specified policy partner role by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
378
+ * @summary Update the policy partner role
379
+ * @param {PolicyPartnerRolesApiUpdatePolicyPartnerRoleRequest} requestParameters Request parameters.
380
+ * @param {*} [options] Override http request option.
381
+ * @throws {RequiredError}
382
+ * @memberof PolicyPartnerRolesApi
383
+ */
384
+ updatePolicyPartnerRole(requestParameters: PolicyPartnerRolesApiUpdatePolicyPartnerRoleRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdatePolicyPartnerRoleResponseClass, any>>;
385
+ }