@emilgroup/public-api-sdk 1.10.0 → 1.12.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.
- package/.openapi-generator/FILES +7 -0
- package/README.md +2 -2
- package/api/address-completions-validations-api.ts +38 -10
- package/api/documents-api.ts +116 -0
- package/api/notifications-api.ts +218 -4
- package/dist/api/address-completions-validations-api.d.ts +25 -7
- package/dist/api/address-completions-validations-api.js +21 -9
- package/dist/api/documents-api.d.ts +65 -0
- package/dist/api/documents-api.js +98 -0
- package/dist/api/notifications-api.d.ts +118 -4
- package/dist/api/notifications-api.js +190 -4
- package/dist/models/complete-email-verification-dto.d.ts +30 -0
- package/dist/models/complete-email-verification-dto.js +15 -0
- package/dist/models/complete-email-verification-response-class.d.ts +24 -0
- package/dist/models/complete-email-verification-response-class.js +15 -0
- package/dist/models/create-document-request-dto.d.ts +6 -0
- package/dist/models/create-lead-request-dto.d.ts +7 -0
- package/dist/models/create-payment-method-request-dto.d.ts +36 -0
- package/dist/models/create-payment-method-request-dto.js +20 -0
- package/dist/models/get-product-document-download-url-response-class.d.ts +24 -0
- package/dist/models/get-product-document-download-url-response-class.js +15 -0
- package/dist/models/index.d.ts +7 -0
- package/dist/models/index.js +7 -0
- package/dist/models/initiate-email-verification-dto.d.ts +30 -0
- package/dist/models/initiate-email-verification-dto.js +15 -0
- package/dist/models/initiate-email-verification-response-class.d.ts +24 -0
- package/dist/models/initiate-email-verification-response-class.js +15 -0
- package/dist/models/invoice-item-class.d.ts +12 -0
- package/dist/models/lead-class.d.ts +7 -0
- package/dist/models/premium-override-dto.d.ts +1 -0
- package/dist/models/premium-override-dto.js +1 -0
- package/dist/models/sepa-dto.d.ts +30 -0
- package/dist/models/sepa-dto.js +15 -0
- package/dist/models/update-lead-request-dto.d.ts +7 -0
- package/models/complete-email-verification-dto.ts +36 -0
- package/models/complete-email-verification-response-class.ts +30 -0
- package/models/create-document-request-dto.ts +6 -0
- package/models/create-lead-request-dto.ts +7 -0
- package/models/create-payment-method-request-dto.ts +45 -0
- package/models/get-product-document-download-url-response-class.ts +30 -0
- package/models/index.ts +7 -0
- package/models/initiate-email-verification-dto.ts +36 -0
- package/models/initiate-email-verification-response-class.ts +30 -0
- package/models/invoice-item-class.ts +12 -0
- package/models/lead-class.ts +7 -0
- package/models/premium-override-dto.ts +1 -0
- package/models/sepa-dto.ts +36 -0
- package/models/update-lead-request-dto.ts +7 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -18,6 +18,8 @@ models/address-completion-item-class.ts
|
|
|
18
18
|
models/address-completion-response-class.ts
|
|
19
19
|
models/address-field-score-class.ts
|
|
20
20
|
models/complete-braintree-payment-setup-request-dto.ts
|
|
21
|
+
models/complete-email-verification-dto.ts
|
|
22
|
+
models/complete-email-verification-response-class.ts
|
|
21
23
|
models/complete-payment-setup-request-dto.ts
|
|
22
24
|
models/complete-payment-setup-response-class.ts
|
|
23
25
|
models/complete-stripe-payment-setup-request-dto.ts
|
|
@@ -30,13 +32,17 @@ models/create-estimated-invoice-request-dto.ts
|
|
|
30
32
|
models/create-estimated-invoice-response-class.ts
|
|
31
33
|
models/create-lead-request-dto.ts
|
|
32
34
|
models/create-lead-response-class.ts
|
|
35
|
+
models/create-payment-method-request-dto.ts
|
|
33
36
|
models/document-class.ts
|
|
34
37
|
models/get-custom-css-response-class.ts
|
|
35
38
|
models/get-lead-response-class.ts
|
|
39
|
+
models/get-product-document-download-url-response-class.ts
|
|
36
40
|
models/get-public-psp-settings-response-class.ts
|
|
37
41
|
models/index.ts
|
|
38
42
|
models/initiate-braintree-payment-setup-request-dto.ts
|
|
39
43
|
models/initiate-braintree-payment-setup-response-class.ts
|
|
44
|
+
models/initiate-email-verification-dto.ts
|
|
45
|
+
models/initiate-email-verification-response-class.ts
|
|
40
46
|
models/initiate-lead-response-class.ts
|
|
41
47
|
models/initiate-payment-setup-request-dto.ts
|
|
42
48
|
models/initiate-payment-setup-response-class.ts
|
|
@@ -66,6 +72,7 @@ models/product-field-class.ts
|
|
|
66
72
|
models/product-version-class.ts
|
|
67
73
|
models/send-notification-request-dto.ts
|
|
68
74
|
models/send-notification-response-class.ts
|
|
75
|
+
models/sepa-dto.ts
|
|
69
76
|
models/structured-address-class.ts
|
|
70
77
|
models/suggested-address-details-class.ts
|
|
71
78
|
models/update-lead-request-dto.ts
|
package/README.md
CHANGED
|
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
|
|
|
17
17
|
Navigate to the folder of your consuming project and run one of the following commands:
|
|
18
18
|
|
|
19
19
|
```
|
|
20
|
-
npm install @emilgroup/public-api-sdk@1.
|
|
20
|
+
npm install @emilgroup/public-api-sdk@1.12.0 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/public-api-sdk@1.
|
|
24
|
+
yarn add @emilgroup/public-api-sdk@1.12.0
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `PublicApi`.
|
|
@@ -33,12 +33,14 @@ export const AddressCompletionsValidationsApiAxiosParamCreator = function (confi
|
|
|
33
33
|
/**
|
|
34
34
|
* This will return a list of address completions based on the provided partial address.
|
|
35
35
|
* @summary Retrieve the address
|
|
36
|
-
* @param {string} partialAddress
|
|
36
|
+
* @param {string} partialAddress Partial address for completion
|
|
37
37
|
* @param {string} [authorization] Bearer Token
|
|
38
|
+
* @param {'Germany' | 'Spain' | 'Austria' | 'Switzerland' | 'UnitedStates' | 'Italy' | 'Norway' | 'CzechRepublic' | 'Australia'} [country] This property can be used to filter addresses by country
|
|
39
|
+
* @param {number} [limit] The number of results to fetch
|
|
38
40
|
* @param {*} [options] Override http request option.
|
|
39
41
|
* @throws {RequiredError}
|
|
40
42
|
*/
|
|
41
|
-
listAddressCompletions: async (partialAddress: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
43
|
+
listAddressCompletions: async (partialAddress: string, authorization?: string, country?: 'Germany' | 'Spain' | 'Austria' | 'Switzerland' | 'UnitedStates' | 'Italy' | 'Norway' | 'CzechRepublic' | 'Australia', limit?: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
42
44
|
// verify required parameter 'partialAddress' is not null or undefined
|
|
43
45
|
assertParamExists('listAddressCompletions', 'partialAddress', partialAddress)
|
|
44
46
|
const localVarPath = `/publicapi/v1/addresses/completions`;
|
|
@@ -63,6 +65,14 @@ export const AddressCompletionsValidationsApiAxiosParamCreator = function (confi
|
|
|
63
65
|
localVarQueryParameter['partialAddress'] = partialAddress;
|
|
64
66
|
}
|
|
65
67
|
|
|
68
|
+
if (country !== undefined) {
|
|
69
|
+
localVarQueryParameter['country'] = country;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
if (limit !== undefined) {
|
|
73
|
+
localVarQueryParameter['limit'] = limit;
|
|
74
|
+
}
|
|
75
|
+
|
|
66
76
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
67
77
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
68
78
|
}
|
|
@@ -172,13 +182,15 @@ export const AddressCompletionsValidationsApiFp = function(configuration?: Confi
|
|
|
172
182
|
/**
|
|
173
183
|
* This will return a list of address completions based on the provided partial address.
|
|
174
184
|
* @summary Retrieve the address
|
|
175
|
-
* @param {string} partialAddress
|
|
185
|
+
* @param {string} partialAddress Partial address for completion
|
|
176
186
|
* @param {string} [authorization] Bearer Token
|
|
187
|
+
* @param {'Germany' | 'Spain' | 'Austria' | 'Switzerland' | 'UnitedStates' | 'Italy' | 'Norway' | 'CzechRepublic' | 'Australia'} [country] This property can be used to filter addresses by country
|
|
188
|
+
* @param {number} [limit] The number of results to fetch
|
|
177
189
|
* @param {*} [options] Override http request option.
|
|
178
190
|
* @throws {RequiredError}
|
|
179
191
|
*/
|
|
180
|
-
async listAddressCompletions(partialAddress: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AddressCompletionResponseClass>> {
|
|
181
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listAddressCompletions(partialAddress, authorization, options);
|
|
192
|
+
async listAddressCompletions(partialAddress: string, authorization?: string, country?: 'Germany' | 'Spain' | 'Austria' | 'Switzerland' | 'UnitedStates' | 'Italy' | 'Norway' | 'CzechRepublic' | 'Australia', limit?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AddressCompletionResponseClass>> {
|
|
193
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listAddressCompletions(partialAddress, authorization, country, limit, options);
|
|
182
194
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
183
195
|
},
|
|
184
196
|
/**
|
|
@@ -211,13 +223,15 @@ export const AddressCompletionsValidationsApiFactory = function (configuration?:
|
|
|
211
223
|
/**
|
|
212
224
|
* This will return a list of address completions based on the provided partial address.
|
|
213
225
|
* @summary Retrieve the address
|
|
214
|
-
* @param {string} partialAddress
|
|
226
|
+
* @param {string} partialAddress Partial address for completion
|
|
215
227
|
* @param {string} [authorization] Bearer Token
|
|
228
|
+
* @param {'Germany' | 'Spain' | 'Austria' | 'Switzerland' | 'UnitedStates' | 'Italy' | 'Norway' | 'CzechRepublic' | 'Australia'} [country] This property can be used to filter addresses by country
|
|
229
|
+
* @param {number} [limit] The number of results to fetch
|
|
216
230
|
* @param {*} [options] Override http request option.
|
|
217
231
|
* @throws {RequiredError}
|
|
218
232
|
*/
|
|
219
|
-
listAddressCompletions(partialAddress: string, authorization?: string, options?: any): AxiosPromise<AddressCompletionResponseClass> {
|
|
220
|
-
return localVarFp.listAddressCompletions(partialAddress, authorization, options).then((request) => request(axios, basePath));
|
|
233
|
+
listAddressCompletions(partialAddress: string, authorization?: string, country?: 'Germany' | 'Spain' | 'Austria' | 'Switzerland' | 'UnitedStates' | 'Italy' | 'Norway' | 'CzechRepublic' | 'Australia', limit?: number, options?: any): AxiosPromise<AddressCompletionResponseClass> {
|
|
234
|
+
return localVarFp.listAddressCompletions(partialAddress, authorization, country, limit, options).then((request) => request(axios, basePath));
|
|
221
235
|
},
|
|
222
236
|
/**
|
|
223
237
|
* This will return a response whether the provided address is valid or not.
|
|
@@ -245,7 +259,7 @@ export const AddressCompletionsValidationsApiFactory = function (configuration?:
|
|
|
245
259
|
*/
|
|
246
260
|
export interface AddressCompletionsValidationsApiListAddressCompletionsRequest {
|
|
247
261
|
/**
|
|
248
|
-
*
|
|
262
|
+
* Partial address for completion
|
|
249
263
|
* @type {string}
|
|
250
264
|
* @memberof AddressCompletionsValidationsApiListAddressCompletions
|
|
251
265
|
*/
|
|
@@ -257,6 +271,20 @@ export interface AddressCompletionsValidationsApiListAddressCompletionsRequest {
|
|
|
257
271
|
* @memberof AddressCompletionsValidationsApiListAddressCompletions
|
|
258
272
|
*/
|
|
259
273
|
readonly authorization?: string
|
|
274
|
+
|
|
275
|
+
/**
|
|
276
|
+
* This property can be used to filter addresses by country
|
|
277
|
+
* @type {'Germany' | 'Spain' | 'Austria' | 'Switzerland' | 'UnitedStates' | 'Italy' | 'Norway' | 'CzechRepublic' | 'Australia'}
|
|
278
|
+
* @memberof AddressCompletionsValidationsApiListAddressCompletions
|
|
279
|
+
*/
|
|
280
|
+
readonly country?: 'Germany' | 'Spain' | 'Austria' | 'Switzerland' | 'UnitedStates' | 'Italy' | 'Norway' | 'CzechRepublic' | 'Australia'
|
|
281
|
+
|
|
282
|
+
/**
|
|
283
|
+
* The number of results to fetch
|
|
284
|
+
* @type {number}
|
|
285
|
+
* @memberof AddressCompletionsValidationsApiListAddressCompletions
|
|
286
|
+
*/
|
|
287
|
+
readonly limit?: number
|
|
260
288
|
}
|
|
261
289
|
|
|
262
290
|
/**
|
|
@@ -331,7 +359,7 @@ export class AddressCompletionsValidationsApi extends BaseAPI {
|
|
|
331
359
|
* @memberof AddressCompletionsValidationsApi
|
|
332
360
|
*/
|
|
333
361
|
public listAddressCompletions(requestParameters: AddressCompletionsValidationsApiListAddressCompletionsRequest, options?: AxiosRequestConfig) {
|
|
334
|
-
return AddressCompletionsValidationsApiFp(this.configuration).listAddressCompletions(requestParameters.partialAddress, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
362
|
+
return AddressCompletionsValidationsApiFp(this.configuration).listAddressCompletions(requestParameters.partialAddress, requestParameters.authorization, requestParameters.country, requestParameters.limit, options).then((request) => request(this.axios, this.basePath));
|
|
335
363
|
}
|
|
336
364
|
|
|
337
365
|
/**
|
package/api/documents-api.ts
CHANGED
|
@@ -23,6 +23,8 @@ import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } fr
|
|
|
23
23
|
// @ts-ignore
|
|
24
24
|
import { CreateDocumentRequestDto } from '../models';
|
|
25
25
|
// @ts-ignore
|
|
26
|
+
import { GetProductDocumentDownloadUrlResponseClass } from '../models';
|
|
27
|
+
// @ts-ignore
|
|
26
28
|
import { ListDocumentsResponseClass } from '../models';
|
|
27
29
|
// @ts-ignore
|
|
28
30
|
import { ListProductDocumentsResponseClass } from '../models';
|
|
@@ -115,6 +117,55 @@ export const DocumentsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
115
117
|
|
|
116
118
|
|
|
117
119
|
|
|
120
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
121
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
122
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
123
|
+
|
|
124
|
+
return {
|
|
125
|
+
url: toPathString(localVarUrlObj),
|
|
126
|
+
options: localVarRequestOptions,
|
|
127
|
+
};
|
|
128
|
+
},
|
|
129
|
+
/**
|
|
130
|
+
*
|
|
131
|
+
* @summary Get pre-signed url for downloading product document
|
|
132
|
+
* @param {string} productCode
|
|
133
|
+
* @param {string} code
|
|
134
|
+
* @param {string} [authorization] Bearer Token
|
|
135
|
+
* @param {*} [options] Override http request option.
|
|
136
|
+
* @throws {RequiredError}
|
|
137
|
+
*/
|
|
138
|
+
downloadProductDocumentUrl: async (productCode: string, code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
139
|
+
// verify required parameter 'productCode' is not null or undefined
|
|
140
|
+
assertParamExists('downloadProductDocumentUrl', 'productCode', productCode)
|
|
141
|
+
// verify required parameter 'code' is not null or undefined
|
|
142
|
+
assertParamExists('downloadProductDocumentUrl', 'code', code)
|
|
143
|
+
const localVarPath = `/publicapi/v1/documents/product/{productCode}/{code}/download-url`
|
|
144
|
+
.replace(`{${"productCode"}}`, encodeURIComponent(String(productCode)))
|
|
145
|
+
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
146
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
147
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
148
|
+
let baseOptions;
|
|
149
|
+
let baseAccessToken;
|
|
150
|
+
if (configuration) {
|
|
151
|
+
baseOptions = configuration.baseOptions;
|
|
152
|
+
baseAccessToken = configuration.accessToken;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
156
|
+
const localVarHeaderParameter = {} as any;
|
|
157
|
+
const localVarQueryParameter = {} as any;
|
|
158
|
+
|
|
159
|
+
// authentication bearer required
|
|
160
|
+
// http bearer authentication required
|
|
161
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
162
|
+
|
|
163
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
164
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
|
|
118
169
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
119
170
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
120
171
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -301,6 +352,19 @@ export const DocumentsApiFp = function(configuration?: Configuration) {
|
|
|
301
352
|
const localVarAxiosArgs = await localVarAxiosParamCreator.downloadDocument(code, authorization, options);
|
|
302
353
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
303
354
|
},
|
|
355
|
+
/**
|
|
356
|
+
*
|
|
357
|
+
* @summary Get pre-signed url for downloading product document
|
|
358
|
+
* @param {string} productCode
|
|
359
|
+
* @param {string} code
|
|
360
|
+
* @param {string} [authorization] Bearer Token
|
|
361
|
+
* @param {*} [options] Override http request option.
|
|
362
|
+
* @throws {RequiredError}
|
|
363
|
+
*/
|
|
364
|
+
async downloadProductDocumentUrl(productCode: string, code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetProductDocumentDownloadUrlResponseClass>> {
|
|
365
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.downloadProductDocumentUrl(productCode, code, authorization, options);
|
|
366
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
367
|
+
},
|
|
304
368
|
/**
|
|
305
369
|
* Returns a list of documents you have previously created. The documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
306
370
|
* @summary List documents
|
|
@@ -367,6 +431,18 @@ export const DocumentsApiFactory = function (configuration?: Configuration, base
|
|
|
367
431
|
downloadDocument(code: string, authorization?: string, options?: any): AxiosPromise<void> {
|
|
368
432
|
return localVarFp.downloadDocument(code, authorization, options).then((request) => request(axios, basePath));
|
|
369
433
|
},
|
|
434
|
+
/**
|
|
435
|
+
*
|
|
436
|
+
* @summary Get pre-signed url for downloading product document
|
|
437
|
+
* @param {string} productCode
|
|
438
|
+
* @param {string} code
|
|
439
|
+
* @param {string} [authorization] Bearer Token
|
|
440
|
+
* @param {*} [options] Override http request option.
|
|
441
|
+
* @throws {RequiredError}
|
|
442
|
+
*/
|
|
443
|
+
downloadProductDocumentUrl(productCode: string, code: string, authorization?: string, options?: any): AxiosPromise<GetProductDocumentDownloadUrlResponseClass> {
|
|
444
|
+
return localVarFp.downloadProductDocumentUrl(productCode, code, authorization, options).then((request) => request(axios, basePath));
|
|
445
|
+
},
|
|
370
446
|
/**
|
|
371
447
|
* Returns a list of documents you have previously created. The documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
372
448
|
* @summary List documents
|
|
@@ -444,6 +520,34 @@ export interface DocumentsApiDownloadDocumentRequest {
|
|
|
444
520
|
readonly authorization?: string
|
|
445
521
|
}
|
|
446
522
|
|
|
523
|
+
/**
|
|
524
|
+
* Request parameters for downloadProductDocumentUrl operation in DocumentsApi.
|
|
525
|
+
* @export
|
|
526
|
+
* @interface DocumentsApiDownloadProductDocumentUrlRequest
|
|
527
|
+
*/
|
|
528
|
+
export interface DocumentsApiDownloadProductDocumentUrlRequest {
|
|
529
|
+
/**
|
|
530
|
+
*
|
|
531
|
+
* @type {string}
|
|
532
|
+
* @memberof DocumentsApiDownloadProductDocumentUrl
|
|
533
|
+
*/
|
|
534
|
+
readonly productCode: string
|
|
535
|
+
|
|
536
|
+
/**
|
|
537
|
+
*
|
|
538
|
+
* @type {string}
|
|
539
|
+
* @memberof DocumentsApiDownloadProductDocumentUrl
|
|
540
|
+
*/
|
|
541
|
+
readonly code: string
|
|
542
|
+
|
|
543
|
+
/**
|
|
544
|
+
* Bearer Token
|
|
545
|
+
* @type {string}
|
|
546
|
+
* @memberof DocumentsApiDownloadProductDocumentUrl
|
|
547
|
+
*/
|
|
548
|
+
readonly authorization?: string
|
|
549
|
+
}
|
|
550
|
+
|
|
447
551
|
/**
|
|
448
552
|
* Request parameters for listDocuments operation in DocumentsApi.
|
|
449
553
|
* @export
|
|
@@ -587,6 +691,18 @@ export class DocumentsApi extends BaseAPI {
|
|
|
587
691
|
return DocumentsApiFp(this.configuration).downloadDocument(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
588
692
|
}
|
|
589
693
|
|
|
694
|
+
/**
|
|
695
|
+
*
|
|
696
|
+
* @summary Get pre-signed url for downloading product document
|
|
697
|
+
* @param {DocumentsApiDownloadProductDocumentUrlRequest} requestParameters Request parameters.
|
|
698
|
+
* @param {*} [options] Override http request option.
|
|
699
|
+
* @throws {RequiredError}
|
|
700
|
+
* @memberof DocumentsApi
|
|
701
|
+
*/
|
|
702
|
+
public downloadProductDocumentUrl(requestParameters: DocumentsApiDownloadProductDocumentUrlRequest, options?: AxiosRequestConfig) {
|
|
703
|
+
return DocumentsApiFp(this.configuration).downloadProductDocumentUrl(requestParameters.productCode, requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
704
|
+
}
|
|
705
|
+
|
|
590
706
|
/**
|
|
591
707
|
* Returns a list of documents you have previously created. The documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
592
708
|
* @summary List documents
|
package/api/notifications-api.ts
CHANGED
|
@@ -21,6 +21,14 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
|
|
|
21
21
|
// @ts-ignore
|
|
22
22
|
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
|
|
23
23
|
// @ts-ignore
|
|
24
|
+
import { CompleteEmailVerificationDto } from '../models';
|
|
25
|
+
// @ts-ignore
|
|
26
|
+
import { CompleteEmailVerificationResponseClass } from '../models';
|
|
27
|
+
// @ts-ignore
|
|
28
|
+
import { InitiateEmailVerificationDto } from '../models';
|
|
29
|
+
// @ts-ignore
|
|
30
|
+
import { InitiateEmailVerificationResponseClass } from '../models';
|
|
31
|
+
// @ts-ignore
|
|
24
32
|
import { SendNotificationRequestDto } from '../models';
|
|
25
33
|
// @ts-ignore
|
|
26
34
|
import { SendNotificationResponseClass } from '../models';
|
|
@@ -31,7 +39,101 @@ import { SendNotificationResponseClass } from '../models';
|
|
|
31
39
|
export const NotificationsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
32
40
|
return {
|
|
33
41
|
/**
|
|
34
|
-
* This
|
|
42
|
+
* This validates a token provided by customer.
|
|
43
|
+
* @summary Complete Email Verification.
|
|
44
|
+
* @param {CompleteEmailVerificationDto} completeEmailVerificationDto
|
|
45
|
+
* @param {string} [authorization] Bearer Token
|
|
46
|
+
* @param {*} [options] Override http request option.
|
|
47
|
+
* @throws {RequiredError}
|
|
48
|
+
*/
|
|
49
|
+
completeEmailVerification: async (completeEmailVerificationDto: CompleteEmailVerificationDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
50
|
+
// verify required parameter 'completeEmailVerificationDto' is not null or undefined
|
|
51
|
+
assertParamExists('completeEmailVerification', 'completeEmailVerificationDto', completeEmailVerificationDto)
|
|
52
|
+
const localVarPath = `/publicapi/v1/email-verification/complete`;
|
|
53
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
54
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
55
|
+
let baseOptions;
|
|
56
|
+
let baseAccessToken;
|
|
57
|
+
if (configuration) {
|
|
58
|
+
baseOptions = configuration.baseOptions;
|
|
59
|
+
baseAccessToken = configuration.accessToken;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
63
|
+
const localVarHeaderParameter = {} as any;
|
|
64
|
+
const localVarQueryParameter = {} as any;
|
|
65
|
+
|
|
66
|
+
// authentication bearer required
|
|
67
|
+
// http bearer authentication required
|
|
68
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
69
|
+
|
|
70
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
71
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
77
|
+
|
|
78
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
79
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
80
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
81
|
+
localVarRequestOptions.data = serializeDataIfNeeded(completeEmailVerificationDto, localVarRequestOptions, configuration)
|
|
82
|
+
|
|
83
|
+
return {
|
|
84
|
+
url: toPathString(localVarUrlObj),
|
|
85
|
+
options: localVarRequestOptions,
|
|
86
|
+
};
|
|
87
|
+
},
|
|
88
|
+
/**
|
|
89
|
+
* This sends an email to the specific recipient set to receive verification code.
|
|
90
|
+
* @summary Initiate Email Verification.
|
|
91
|
+
* @param {InitiateEmailVerificationDto} initiateEmailVerificationDto
|
|
92
|
+
* @param {string} [authorization] Bearer Token
|
|
93
|
+
* @param {*} [options] Override http request option.
|
|
94
|
+
* @throws {RequiredError}
|
|
95
|
+
*/
|
|
96
|
+
initiateEmailVerification: async (initiateEmailVerificationDto: InitiateEmailVerificationDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
97
|
+
// verify required parameter 'initiateEmailVerificationDto' is not null or undefined
|
|
98
|
+
assertParamExists('initiateEmailVerification', 'initiateEmailVerificationDto', initiateEmailVerificationDto)
|
|
99
|
+
const localVarPath = `/publicapi/v1/email-verification/initiate`;
|
|
100
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
101
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
102
|
+
let baseOptions;
|
|
103
|
+
let baseAccessToken;
|
|
104
|
+
if (configuration) {
|
|
105
|
+
baseOptions = configuration.baseOptions;
|
|
106
|
+
baseAccessToken = configuration.accessToken;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
110
|
+
const localVarHeaderParameter = {} as any;
|
|
111
|
+
const localVarQueryParameter = {} as any;
|
|
112
|
+
|
|
113
|
+
// authentication bearer required
|
|
114
|
+
// http bearer authentication required
|
|
115
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
116
|
+
|
|
117
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
118
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
124
|
+
|
|
125
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
126
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
127
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
128
|
+
localVarRequestOptions.data = serializeDataIfNeeded(initiateEmailVerificationDto, localVarRequestOptions, configuration)
|
|
129
|
+
|
|
130
|
+
return {
|
|
131
|
+
url: toPathString(localVarUrlObj),
|
|
132
|
+
options: localVarRequestOptions,
|
|
133
|
+
};
|
|
134
|
+
},
|
|
135
|
+
/**
|
|
136
|
+
* This sends an email to the specific recipient set to receive customers\' messages.
|
|
35
137
|
* @summary Send an email.
|
|
36
138
|
* @param {SendNotificationRequestDto} sendNotificationRequestDto
|
|
37
139
|
* @param {string} [authorization] Bearer Token
|
|
@@ -88,7 +190,31 @@ export const NotificationsApiFp = function(configuration?: Configuration) {
|
|
|
88
190
|
const localVarAxiosParamCreator = NotificationsApiAxiosParamCreator(configuration)
|
|
89
191
|
return {
|
|
90
192
|
/**
|
|
91
|
-
* This
|
|
193
|
+
* This validates a token provided by customer.
|
|
194
|
+
* @summary Complete Email Verification.
|
|
195
|
+
* @param {CompleteEmailVerificationDto} completeEmailVerificationDto
|
|
196
|
+
* @param {string} [authorization] Bearer Token
|
|
197
|
+
* @param {*} [options] Override http request option.
|
|
198
|
+
* @throws {RequiredError}
|
|
199
|
+
*/
|
|
200
|
+
async completeEmailVerification(completeEmailVerificationDto: CompleteEmailVerificationDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CompleteEmailVerificationResponseClass>> {
|
|
201
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.completeEmailVerification(completeEmailVerificationDto, authorization, options);
|
|
202
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
203
|
+
},
|
|
204
|
+
/**
|
|
205
|
+
* This sends an email to the specific recipient set to receive verification code.
|
|
206
|
+
* @summary Initiate Email Verification.
|
|
207
|
+
* @param {InitiateEmailVerificationDto} initiateEmailVerificationDto
|
|
208
|
+
* @param {string} [authorization] Bearer Token
|
|
209
|
+
* @param {*} [options] Override http request option.
|
|
210
|
+
* @throws {RequiredError}
|
|
211
|
+
*/
|
|
212
|
+
async initiateEmailVerification(initiateEmailVerificationDto: InitiateEmailVerificationDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InitiateEmailVerificationResponseClass>> {
|
|
213
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.initiateEmailVerification(initiateEmailVerificationDto, authorization, options);
|
|
214
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
215
|
+
},
|
|
216
|
+
/**
|
|
217
|
+
* This sends an email to the specific recipient set to receive customers\' messages.
|
|
92
218
|
* @summary Send an email.
|
|
93
219
|
* @param {SendNotificationRequestDto} sendNotificationRequestDto
|
|
94
220
|
* @param {string} [authorization] Bearer Token
|
|
@@ -110,7 +236,29 @@ export const NotificationsApiFactory = function (configuration?: Configuration,
|
|
|
110
236
|
const localVarFp = NotificationsApiFp(configuration)
|
|
111
237
|
return {
|
|
112
238
|
/**
|
|
113
|
-
* This
|
|
239
|
+
* This validates a token provided by customer.
|
|
240
|
+
* @summary Complete Email Verification.
|
|
241
|
+
* @param {CompleteEmailVerificationDto} completeEmailVerificationDto
|
|
242
|
+
* @param {string} [authorization] Bearer Token
|
|
243
|
+
* @param {*} [options] Override http request option.
|
|
244
|
+
* @throws {RequiredError}
|
|
245
|
+
*/
|
|
246
|
+
completeEmailVerification(completeEmailVerificationDto: CompleteEmailVerificationDto, authorization?: string, options?: any): AxiosPromise<CompleteEmailVerificationResponseClass> {
|
|
247
|
+
return localVarFp.completeEmailVerification(completeEmailVerificationDto, authorization, options).then((request) => request(axios, basePath));
|
|
248
|
+
},
|
|
249
|
+
/**
|
|
250
|
+
* This sends an email to the specific recipient set to receive verification code.
|
|
251
|
+
* @summary Initiate Email Verification.
|
|
252
|
+
* @param {InitiateEmailVerificationDto} initiateEmailVerificationDto
|
|
253
|
+
* @param {string} [authorization] Bearer Token
|
|
254
|
+
* @param {*} [options] Override http request option.
|
|
255
|
+
* @throws {RequiredError}
|
|
256
|
+
*/
|
|
257
|
+
initiateEmailVerification(initiateEmailVerificationDto: InitiateEmailVerificationDto, authorization?: string, options?: any): AxiosPromise<InitiateEmailVerificationResponseClass> {
|
|
258
|
+
return localVarFp.initiateEmailVerification(initiateEmailVerificationDto, authorization, options).then((request) => request(axios, basePath));
|
|
259
|
+
},
|
|
260
|
+
/**
|
|
261
|
+
* This sends an email to the specific recipient set to receive customers\' messages.
|
|
114
262
|
* @summary Send an email.
|
|
115
263
|
* @param {SendNotificationRequestDto} sendNotificationRequestDto
|
|
116
264
|
* @param {string} [authorization] Bearer Token
|
|
@@ -123,6 +271,48 @@ export const NotificationsApiFactory = function (configuration?: Configuration,
|
|
|
123
271
|
};
|
|
124
272
|
};
|
|
125
273
|
|
|
274
|
+
/**
|
|
275
|
+
* Request parameters for completeEmailVerification operation in NotificationsApi.
|
|
276
|
+
* @export
|
|
277
|
+
* @interface NotificationsApiCompleteEmailVerificationRequest
|
|
278
|
+
*/
|
|
279
|
+
export interface NotificationsApiCompleteEmailVerificationRequest {
|
|
280
|
+
/**
|
|
281
|
+
*
|
|
282
|
+
* @type {CompleteEmailVerificationDto}
|
|
283
|
+
* @memberof NotificationsApiCompleteEmailVerification
|
|
284
|
+
*/
|
|
285
|
+
readonly completeEmailVerificationDto: CompleteEmailVerificationDto
|
|
286
|
+
|
|
287
|
+
/**
|
|
288
|
+
* Bearer Token
|
|
289
|
+
* @type {string}
|
|
290
|
+
* @memberof NotificationsApiCompleteEmailVerification
|
|
291
|
+
*/
|
|
292
|
+
readonly authorization?: string
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
/**
|
|
296
|
+
* Request parameters for initiateEmailVerification operation in NotificationsApi.
|
|
297
|
+
* @export
|
|
298
|
+
* @interface NotificationsApiInitiateEmailVerificationRequest
|
|
299
|
+
*/
|
|
300
|
+
export interface NotificationsApiInitiateEmailVerificationRequest {
|
|
301
|
+
/**
|
|
302
|
+
*
|
|
303
|
+
* @type {InitiateEmailVerificationDto}
|
|
304
|
+
* @memberof NotificationsApiInitiateEmailVerification
|
|
305
|
+
*/
|
|
306
|
+
readonly initiateEmailVerificationDto: InitiateEmailVerificationDto
|
|
307
|
+
|
|
308
|
+
/**
|
|
309
|
+
* Bearer Token
|
|
310
|
+
* @type {string}
|
|
311
|
+
* @memberof NotificationsApiInitiateEmailVerification
|
|
312
|
+
*/
|
|
313
|
+
readonly authorization?: string
|
|
314
|
+
}
|
|
315
|
+
|
|
126
316
|
/**
|
|
127
317
|
* Request parameters for sendNotification operation in NotificationsApi.
|
|
128
318
|
* @export
|
|
@@ -152,7 +342,31 @@ export interface NotificationsApiSendNotificationRequest {
|
|
|
152
342
|
*/
|
|
153
343
|
export class NotificationsApi extends BaseAPI {
|
|
154
344
|
/**
|
|
155
|
-
* This
|
|
345
|
+
* This validates a token provided by customer.
|
|
346
|
+
* @summary Complete Email Verification.
|
|
347
|
+
* @param {NotificationsApiCompleteEmailVerificationRequest} requestParameters Request parameters.
|
|
348
|
+
* @param {*} [options] Override http request option.
|
|
349
|
+
* @throws {RequiredError}
|
|
350
|
+
* @memberof NotificationsApi
|
|
351
|
+
*/
|
|
352
|
+
public completeEmailVerification(requestParameters: NotificationsApiCompleteEmailVerificationRequest, options?: AxiosRequestConfig) {
|
|
353
|
+
return NotificationsApiFp(this.configuration).completeEmailVerification(requestParameters.completeEmailVerificationDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
/**
|
|
357
|
+
* This sends an email to the specific recipient set to receive verification code.
|
|
358
|
+
* @summary Initiate Email Verification.
|
|
359
|
+
* @param {NotificationsApiInitiateEmailVerificationRequest} requestParameters Request parameters.
|
|
360
|
+
* @param {*} [options] Override http request option.
|
|
361
|
+
* @throws {RequiredError}
|
|
362
|
+
* @memberof NotificationsApi
|
|
363
|
+
*/
|
|
364
|
+
public initiateEmailVerification(requestParameters: NotificationsApiInitiateEmailVerificationRequest, options?: AxiosRequestConfig) {
|
|
365
|
+
return NotificationsApiFp(this.configuration).initiateEmailVerification(requestParameters.initiateEmailVerificationDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
/**
|
|
369
|
+
* This sends an email to the specific recipient set to receive customers\' messages.
|
|
156
370
|
* @summary Send an email.
|
|
157
371
|
* @param {NotificationsApiSendNotificationRequest} requestParameters Request parameters.
|
|
158
372
|
* @param {*} [options] Override http request option.
|
|
@@ -22,12 +22,14 @@ export declare const AddressCompletionsValidationsApiAxiosParamCreator: (configu
|
|
|
22
22
|
/**
|
|
23
23
|
* This will return a list of address completions based on the provided partial address.
|
|
24
24
|
* @summary Retrieve the address
|
|
25
|
-
* @param {string} partialAddress
|
|
25
|
+
* @param {string} partialAddress Partial address for completion
|
|
26
26
|
* @param {string} [authorization] Bearer Token
|
|
27
|
+
* @param {'Germany' | 'Spain' | 'Austria' | 'Switzerland' | 'UnitedStates' | 'Italy' | 'Norway' | 'CzechRepublic' | 'Australia'} [country] This property can be used to filter addresses by country
|
|
28
|
+
* @param {number} [limit] The number of results to fetch
|
|
27
29
|
* @param {*} [options] Override http request option.
|
|
28
30
|
* @throws {RequiredError}
|
|
29
31
|
*/
|
|
30
|
-
listAddressCompletions: (partialAddress: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
32
|
+
listAddressCompletions: (partialAddress: string, authorization?: string, country?: 'Germany' | 'Spain' | 'Austria' | 'Switzerland' | 'UnitedStates' | 'Italy' | 'Norway' | 'CzechRepublic' | 'Australia', limit?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
31
33
|
/**
|
|
32
34
|
* This will return a response whether the provided address is valid or not.
|
|
33
35
|
* @summary Retrieve the Address validation
|
|
@@ -51,12 +53,14 @@ export declare const AddressCompletionsValidationsApiFp: (configuration?: Config
|
|
|
51
53
|
/**
|
|
52
54
|
* This will return a list of address completions based on the provided partial address.
|
|
53
55
|
* @summary Retrieve the address
|
|
54
|
-
* @param {string} partialAddress
|
|
56
|
+
* @param {string} partialAddress Partial address for completion
|
|
55
57
|
* @param {string} [authorization] Bearer Token
|
|
58
|
+
* @param {'Germany' | 'Spain' | 'Austria' | 'Switzerland' | 'UnitedStates' | 'Italy' | 'Norway' | 'CzechRepublic' | 'Australia'} [country] This property can be used to filter addresses by country
|
|
59
|
+
* @param {number} [limit] The number of results to fetch
|
|
56
60
|
* @param {*} [options] Override http request option.
|
|
57
61
|
* @throws {RequiredError}
|
|
58
62
|
*/
|
|
59
|
-
listAddressCompletions(partialAddress: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AddressCompletionResponseClass>>;
|
|
63
|
+
listAddressCompletions(partialAddress: string, authorization?: string, country?: 'Germany' | 'Spain' | 'Austria' | 'Switzerland' | 'UnitedStates' | 'Italy' | 'Norway' | 'CzechRepublic' | 'Australia', limit?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AddressCompletionResponseClass>>;
|
|
60
64
|
/**
|
|
61
65
|
* This will return a response whether the provided address is valid or not.
|
|
62
66
|
* @summary Retrieve the Address validation
|
|
@@ -80,12 +84,14 @@ export declare const AddressCompletionsValidationsApiFactory: (configuration?: C
|
|
|
80
84
|
/**
|
|
81
85
|
* This will return a list of address completions based on the provided partial address.
|
|
82
86
|
* @summary Retrieve the address
|
|
83
|
-
* @param {string} partialAddress
|
|
87
|
+
* @param {string} partialAddress Partial address for completion
|
|
84
88
|
* @param {string} [authorization] Bearer Token
|
|
89
|
+
* @param {'Germany' | 'Spain' | 'Austria' | 'Switzerland' | 'UnitedStates' | 'Italy' | 'Norway' | 'CzechRepublic' | 'Australia'} [country] This property can be used to filter addresses by country
|
|
90
|
+
* @param {number} [limit] The number of results to fetch
|
|
85
91
|
* @param {*} [options] Override http request option.
|
|
86
92
|
* @throws {RequiredError}
|
|
87
93
|
*/
|
|
88
|
-
listAddressCompletions(partialAddress: string, authorization?: string, options?: any): AxiosPromise<AddressCompletionResponseClass>;
|
|
94
|
+
listAddressCompletions(partialAddress: string, authorization?: string, country?: 'Germany' | 'Spain' | 'Austria' | 'Switzerland' | 'UnitedStates' | 'Italy' | 'Norway' | 'CzechRepublic' | 'Australia', limit?: number, options?: any): AxiosPromise<AddressCompletionResponseClass>;
|
|
89
95
|
/**
|
|
90
96
|
* This will return a response whether the provided address is valid or not.
|
|
91
97
|
* @summary Retrieve the Address validation
|
|
@@ -108,7 +114,7 @@ export declare const AddressCompletionsValidationsApiFactory: (configuration?: C
|
|
|
108
114
|
*/
|
|
109
115
|
export interface AddressCompletionsValidationsApiListAddressCompletionsRequest {
|
|
110
116
|
/**
|
|
111
|
-
*
|
|
117
|
+
* Partial address for completion
|
|
112
118
|
* @type {string}
|
|
113
119
|
* @memberof AddressCompletionsValidationsApiListAddressCompletions
|
|
114
120
|
*/
|
|
@@ -119,6 +125,18 @@ export interface AddressCompletionsValidationsApiListAddressCompletionsRequest {
|
|
|
119
125
|
* @memberof AddressCompletionsValidationsApiListAddressCompletions
|
|
120
126
|
*/
|
|
121
127
|
readonly authorization?: string;
|
|
128
|
+
/**
|
|
129
|
+
* This property can be used to filter addresses by country
|
|
130
|
+
* @type {'Germany' | 'Spain' | 'Austria' | 'Switzerland' | 'UnitedStates' | 'Italy' | 'Norway' | 'CzechRepublic' | 'Australia'}
|
|
131
|
+
* @memberof AddressCompletionsValidationsApiListAddressCompletions
|
|
132
|
+
*/
|
|
133
|
+
readonly country?: 'Germany' | 'Spain' | 'Austria' | 'Switzerland' | 'UnitedStates' | 'Italy' | 'Norway' | 'CzechRepublic' | 'Australia';
|
|
134
|
+
/**
|
|
135
|
+
* The number of results to fetch
|
|
136
|
+
* @type {number}
|
|
137
|
+
* @memberof AddressCompletionsValidationsApiListAddressCompletions
|
|
138
|
+
*/
|
|
139
|
+
readonly limit?: number;
|
|
122
140
|
}
|
|
123
141
|
/**
|
|
124
142
|
* Request parameters for validateAddress operation in AddressCompletionsValidationsApi.
|