@emilgroup/payment-sdk 1.14.1-beta.56 → 1.14.1-beta.57

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.
@@ -138,6 +138,8 @@ models/update-bank-account-request-dto.ts
138
138
  models/update-bank-account-response-class.ts
139
139
  models/update-bank-order-request-dto.ts
140
140
  models/update-bank-order-response-class.ts
141
+ models/update-billing-address-request-dto.ts
142
+ models/update-billing-address-response-class.ts
141
143
  models/update-tenant-bank-account-response-class.ts
142
144
  models/update-tenant-bank-account-rest-request-dto.ts
143
145
  models/validate-pspconfig-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/payment-sdk@1.14.1-beta.56 --save
20
+ npm install @emilgroup/payment-sdk@1.14.1-beta.57 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/payment-sdk@1.14.1-beta.56
24
+ yarn add @emilgroup/payment-sdk@1.14.1-beta.57
25
25
  ```
26
26
 
27
27
  And then you can import `PaymentsApi`.
@@ -28,6 +28,10 @@ import { CreateBillingAddressResponseClass } from '../models';
28
28
  import { GetBillingAddressResponseClass } from '../models';
29
29
  // @ts-ignore
30
30
  import { ListBillingAddressesResponseClass } from '../models';
31
+ // @ts-ignore
32
+ import { UpdateBillingAddressRequestDto } from '../models';
33
+ // @ts-ignore
34
+ import { UpdateBillingAddressResponseClass } from '../models';
31
35
  /**
32
36
  * BillingAddressesApi - axios parameter creator
33
37
  * @export
@@ -247,6 +251,57 @@ export const BillingAddressesApiAxiosParamCreator = function (configuration?: Co
247
251
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
248
252
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
249
253
 
254
+ return {
255
+ url: toPathString(localVarUrlObj),
256
+ options: localVarRequestOptions,
257
+ };
258
+ },
259
+ /**
260
+ * Updates a billing address by code **Required Permissions** \"payment-management.payments.update\"
261
+ * @summary Update the Billing Address
262
+ * @param {string} code
263
+ * @param {UpdateBillingAddressRequestDto} updateBillingAddressRequestDto
264
+ * @param {string} [authorization] Bearer Token
265
+ * @param {*} [options] Override http request option.
266
+ * @throws {RequiredError}
267
+ */
268
+ updateBillingAddress: async (code: string, updateBillingAddressRequestDto: UpdateBillingAddressRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
269
+ // verify required parameter 'code' is not null or undefined
270
+ assertParamExists('updateBillingAddress', 'code', code)
271
+ // verify required parameter 'updateBillingAddressRequestDto' is not null or undefined
272
+ assertParamExists('updateBillingAddress', 'updateBillingAddressRequestDto', updateBillingAddressRequestDto)
273
+ const localVarPath = `/paymentservice/v1/billing-addresses/{code}`
274
+ .replace(`{${"code"}}`, encodeURIComponent(String(code)));
275
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
276
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
277
+ let baseOptions;
278
+ let baseAccessToken;
279
+ if (configuration) {
280
+ baseOptions = configuration.baseOptions;
281
+ baseAccessToken = configuration.accessToken;
282
+ }
283
+
284
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
285
+ const localVarHeaderParameter = {} as any;
286
+ const localVarQueryParameter = {} as any;
287
+
288
+ // authentication bearer required
289
+ // http bearer authentication required
290
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
291
+
292
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
293
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
294
+ }
295
+
296
+
297
+
298
+ localVarHeaderParameter['Content-Type'] = 'application/json';
299
+
300
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
301
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
302
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
303
+ localVarRequestOptions.data = serializeDataIfNeeded(updateBillingAddressRequestDto, localVarRequestOptions, configuration)
304
+
250
305
  return {
251
306
  url: toPathString(localVarUrlObj),
252
307
  options: localVarRequestOptions,
@@ -317,6 +372,19 @@ export const BillingAddressesApiFp = function(configuration?: Configuration) {
317
372
  const localVarAxiosArgs = await localVarAxiosParamCreator.listBillingAddresses(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
318
373
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
319
374
  },
375
+ /**
376
+ * Updates a billing address by code **Required Permissions** \"payment-management.payments.update\"
377
+ * @summary Update the Billing Address
378
+ * @param {string} code
379
+ * @param {UpdateBillingAddressRequestDto} updateBillingAddressRequestDto
380
+ * @param {string} [authorization] Bearer Token
381
+ * @param {*} [options] Override http request option.
382
+ * @throws {RequiredError}
383
+ */
384
+ async updateBillingAddress(code: string, updateBillingAddressRequestDto: UpdateBillingAddressRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateBillingAddressResponseClass>> {
385
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateBillingAddress(code, updateBillingAddressRequestDto, authorization, options);
386
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
387
+ },
320
388
  }
321
389
  };
322
390
 
@@ -378,6 +446,18 @@ export const BillingAddressesApiFactory = function (configuration?: Configuratio
378
446
  listBillingAddresses(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListBillingAddressesResponseClass> {
379
447
  return localVarFp.listBillingAddresses(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
380
448
  },
449
+ /**
450
+ * Updates a billing address by code **Required Permissions** \"payment-management.payments.update\"
451
+ * @summary Update the Billing Address
452
+ * @param {string} code
453
+ * @param {UpdateBillingAddressRequestDto} updateBillingAddressRequestDto
454
+ * @param {string} [authorization] Bearer Token
455
+ * @param {*} [options] Override http request option.
456
+ * @throws {RequiredError}
457
+ */
458
+ updateBillingAddress(code: string, updateBillingAddressRequestDto: UpdateBillingAddressRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateBillingAddressResponseClass> {
459
+ return localVarFp.updateBillingAddress(code, updateBillingAddressRequestDto, authorization, options).then((request) => request(axios, basePath));
460
+ },
381
461
  };
382
462
  };
383
463
 
@@ -514,6 +594,34 @@ export interface BillingAddressesApiListBillingAddressesRequest {
514
594
  readonly filters?: string
515
595
  }
516
596
 
597
+ /**
598
+ * Request parameters for updateBillingAddress operation in BillingAddressesApi.
599
+ * @export
600
+ * @interface BillingAddressesApiUpdateBillingAddressRequest
601
+ */
602
+ export interface BillingAddressesApiUpdateBillingAddressRequest {
603
+ /**
604
+ *
605
+ * @type {string}
606
+ * @memberof BillingAddressesApiUpdateBillingAddress
607
+ */
608
+ readonly code: string
609
+
610
+ /**
611
+ *
612
+ * @type {UpdateBillingAddressRequestDto}
613
+ * @memberof BillingAddressesApiUpdateBillingAddress
614
+ */
615
+ readonly updateBillingAddressRequestDto: UpdateBillingAddressRequestDto
616
+
617
+ /**
618
+ * Bearer Token
619
+ * @type {string}
620
+ * @memberof BillingAddressesApiUpdateBillingAddress
621
+ */
622
+ readonly authorization?: string
623
+ }
624
+
517
625
  /**
518
626
  * BillingAddressesApi - object-oriented interface
519
627
  * @export
@@ -568,4 +676,16 @@ export class BillingAddressesApi extends BaseAPI {
568
676
  public listBillingAddresses(requestParameters: BillingAddressesApiListBillingAddressesRequest = {}, options?: AxiosRequestConfig) {
569
677
  return BillingAddressesApiFp(this.configuration).listBillingAddresses(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
570
678
  }
679
+
680
+ /**
681
+ * Updates a billing address by code **Required Permissions** \"payment-management.payments.update\"
682
+ * @summary Update the Billing Address
683
+ * @param {BillingAddressesApiUpdateBillingAddressRequest} requestParameters Request parameters.
684
+ * @param {*} [options] Override http request option.
685
+ * @throws {RequiredError}
686
+ * @memberof BillingAddressesApi
687
+ */
688
+ public updateBillingAddress(requestParameters: BillingAddressesApiUpdateBillingAddressRequest, options?: AxiosRequestConfig) {
689
+ return BillingAddressesApiFp(this.configuration).updateBillingAddress(requestParameters.code, requestParameters.updateBillingAddressRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
690
+ }
571
691
  }
@@ -16,6 +16,8 @@ import { CreateBillingAddressRequestDto } from '../models';
16
16
  import { CreateBillingAddressResponseClass } from '../models';
17
17
  import { GetBillingAddressResponseClass } from '../models';
18
18
  import { ListBillingAddressesResponseClass } from '../models';
19
+ import { UpdateBillingAddressRequestDto } from '../models';
20
+ import { UpdateBillingAddressResponseClass } from '../models';
19
21
  /**
20
22
  * BillingAddressesApi - axios parameter creator
21
23
  * @export
@@ -64,6 +66,16 @@ export declare const BillingAddressesApiAxiosParamCreator: (configuration?: Conf
64
66
  * @throws {RequiredError}
65
67
  */
66
68
  listBillingAddresses: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
69
+ /**
70
+ * Updates a billing address by code **Required Permissions** \"payment-management.payments.update\"
71
+ * @summary Update the Billing Address
72
+ * @param {string} code
73
+ * @param {UpdateBillingAddressRequestDto} updateBillingAddressRequestDto
74
+ * @param {string} [authorization] Bearer Token
75
+ * @param {*} [options] Override http request option.
76
+ * @throws {RequiredError}
77
+ */
78
+ updateBillingAddress: (code: string, updateBillingAddressRequestDto: UpdateBillingAddressRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
67
79
  };
68
80
  /**
69
81
  * BillingAddressesApi - functional programming interface
@@ -113,6 +125,16 @@ export declare const BillingAddressesApiFp: (configuration?: Configuration) => {
113
125
  * @throws {RequiredError}
114
126
  */
115
127
  listBillingAddresses(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListBillingAddressesResponseClass>>;
128
+ /**
129
+ * Updates a billing address by code **Required Permissions** \"payment-management.payments.update\"
130
+ * @summary Update the Billing Address
131
+ * @param {string} code
132
+ * @param {UpdateBillingAddressRequestDto} updateBillingAddressRequestDto
133
+ * @param {string} [authorization] Bearer Token
134
+ * @param {*} [options] Override http request option.
135
+ * @throws {RequiredError}
136
+ */
137
+ updateBillingAddress(code: string, updateBillingAddressRequestDto: UpdateBillingAddressRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateBillingAddressResponseClass>>;
116
138
  };
117
139
  /**
118
140
  * BillingAddressesApi - factory interface
@@ -162,6 +184,16 @@ export declare const BillingAddressesApiFactory: (configuration?: Configuration,
162
184
  * @throws {RequiredError}
163
185
  */
164
186
  listBillingAddresses(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListBillingAddressesResponseClass>;
187
+ /**
188
+ * Updates a billing address by code **Required Permissions** \"payment-management.payments.update\"
189
+ * @summary Update the Billing Address
190
+ * @param {string} code
191
+ * @param {UpdateBillingAddressRequestDto} updateBillingAddressRequestDto
192
+ * @param {string} [authorization] Bearer Token
193
+ * @param {*} [options] Override http request option.
194
+ * @throws {RequiredError}
195
+ */
196
+ updateBillingAddress(code: string, updateBillingAddressRequestDto: UpdateBillingAddressRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateBillingAddressResponseClass>;
165
197
  };
166
198
  /**
167
199
  * Request parameters for createBillingAddress operation in BillingAddressesApi.
@@ -281,6 +313,31 @@ export interface BillingAddressesApiListBillingAddressesRequest {
281
313
  */
282
314
  readonly filters?: string;
283
315
  }
316
+ /**
317
+ * Request parameters for updateBillingAddress operation in BillingAddressesApi.
318
+ * @export
319
+ * @interface BillingAddressesApiUpdateBillingAddressRequest
320
+ */
321
+ export interface BillingAddressesApiUpdateBillingAddressRequest {
322
+ /**
323
+ *
324
+ * @type {string}
325
+ * @memberof BillingAddressesApiUpdateBillingAddress
326
+ */
327
+ readonly code: string;
328
+ /**
329
+ *
330
+ * @type {UpdateBillingAddressRequestDto}
331
+ * @memberof BillingAddressesApiUpdateBillingAddress
332
+ */
333
+ readonly updateBillingAddressRequestDto: UpdateBillingAddressRequestDto;
334
+ /**
335
+ * Bearer Token
336
+ * @type {string}
337
+ * @memberof BillingAddressesApiUpdateBillingAddress
338
+ */
339
+ readonly authorization?: string;
340
+ }
284
341
  /**
285
342
  * BillingAddressesApi - object-oriented interface
286
343
  * @export
@@ -324,4 +381,13 @@ export declare class BillingAddressesApi extends BaseAPI {
324
381
  * @memberof BillingAddressesApi
325
382
  */
326
383
  listBillingAddresses(requestParameters?: BillingAddressesApiListBillingAddressesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListBillingAddressesResponseClass, any, {}>>;
384
+ /**
385
+ * Updates a billing address by code **Required Permissions** \"payment-management.payments.update\"
386
+ * @summary Update the Billing Address
387
+ * @param {BillingAddressesApiUpdateBillingAddressRequest} requestParameters Request parameters.
388
+ * @param {*} [options] Override http request option.
389
+ * @throws {RequiredError}
390
+ * @memberof BillingAddressesApi
391
+ */
392
+ updateBillingAddress(requestParameters: BillingAddressesApiUpdateBillingAddressRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateBillingAddressResponseClass, any, {}>>;
327
393
  }
@@ -313,6 +313,59 @@ var BillingAddressesApiAxiosParamCreator = function (configuration) {
313
313
  });
314
314
  });
315
315
  },
316
+ /**
317
+ * Updates a billing address by code **Required Permissions** \"payment-management.payments.update\"
318
+ * @summary Update the Billing Address
319
+ * @param {string} code
320
+ * @param {UpdateBillingAddressRequestDto} updateBillingAddressRequestDto
321
+ * @param {string} [authorization] Bearer Token
322
+ * @param {*} [options] Override http request option.
323
+ * @throws {RequiredError}
324
+ */
325
+ updateBillingAddress: function (code, updateBillingAddressRequestDto, authorization, options) {
326
+ if (options === void 0) { options = {}; }
327
+ return __awaiter(_this, void 0, void 0, function () {
328
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
329
+ return __generator(this, function (_a) {
330
+ switch (_a.label) {
331
+ case 0:
332
+ // verify required parameter 'code' is not null or undefined
333
+ (0, common_1.assertParamExists)('updateBillingAddress', 'code', code);
334
+ // verify required parameter 'updateBillingAddressRequestDto' is not null or undefined
335
+ (0, common_1.assertParamExists)('updateBillingAddress', 'updateBillingAddressRequestDto', updateBillingAddressRequestDto);
336
+ localVarPath = "/paymentservice/v1/billing-addresses/{code}"
337
+ .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
338
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
339
+ if (configuration) {
340
+ baseOptions = configuration.baseOptions;
341
+ baseAccessToken = configuration.accessToken;
342
+ }
343
+ localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
344
+ localVarHeaderParameter = {};
345
+ localVarQueryParameter = {};
346
+ // authentication bearer required
347
+ // http bearer authentication required
348
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
349
+ case 1:
350
+ // authentication bearer required
351
+ // http bearer authentication required
352
+ _a.sent();
353
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
354
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
355
+ }
356
+ localVarHeaderParameter['Content-Type'] = 'application/json';
357
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
358
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
359
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
360
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateBillingAddressRequestDto, localVarRequestOptions, configuration);
361
+ return [2 /*return*/, {
362
+ url: (0, common_1.toPathString)(localVarUrlObj),
363
+ options: localVarRequestOptions,
364
+ }];
365
+ }
366
+ });
367
+ });
368
+ },
316
369
  };
317
370
  };
318
371
  exports.BillingAddressesApiAxiosParamCreator = BillingAddressesApiAxiosParamCreator;
@@ -414,6 +467,28 @@ var BillingAddressesApiFp = function (configuration) {
414
467
  });
415
468
  });
416
469
  },
470
+ /**
471
+ * Updates a billing address by code **Required Permissions** \"payment-management.payments.update\"
472
+ * @summary Update the Billing Address
473
+ * @param {string} code
474
+ * @param {UpdateBillingAddressRequestDto} updateBillingAddressRequestDto
475
+ * @param {string} [authorization] Bearer Token
476
+ * @param {*} [options] Override http request option.
477
+ * @throws {RequiredError}
478
+ */
479
+ updateBillingAddress: function (code, updateBillingAddressRequestDto, authorization, options) {
480
+ return __awaiter(this, void 0, void 0, function () {
481
+ var localVarAxiosArgs;
482
+ return __generator(this, function (_a) {
483
+ switch (_a.label) {
484
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateBillingAddress(code, updateBillingAddressRequestDto, authorization, options)];
485
+ case 1:
486
+ localVarAxiosArgs = _a.sent();
487
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
488
+ }
489
+ });
490
+ });
491
+ },
417
492
  };
418
493
  };
419
494
  exports.BillingAddressesApiFp = BillingAddressesApiFp;
@@ -475,6 +550,18 @@ var BillingAddressesApiFactory = function (configuration, basePath, axios) {
475
550
  listBillingAddresses: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
476
551
  return localVarFp.listBillingAddresses(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
477
552
  },
553
+ /**
554
+ * Updates a billing address by code **Required Permissions** \"payment-management.payments.update\"
555
+ * @summary Update the Billing Address
556
+ * @param {string} code
557
+ * @param {UpdateBillingAddressRequestDto} updateBillingAddressRequestDto
558
+ * @param {string} [authorization] Bearer Token
559
+ * @param {*} [options] Override http request option.
560
+ * @throws {RequiredError}
561
+ */
562
+ updateBillingAddress: function (code, updateBillingAddressRequestDto, authorization, options) {
563
+ return localVarFp.updateBillingAddress(code, updateBillingAddressRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
564
+ },
478
565
  };
479
566
  };
480
567
  exports.BillingAddressesApiFactory = BillingAddressesApiFactory;
@@ -538,6 +625,18 @@ var BillingAddressesApi = /** @class */ (function (_super) {
538
625
  if (requestParameters === void 0) { requestParameters = {}; }
539
626
  return (0, exports.BillingAddressesApiFp)(this.configuration).listBillingAddresses(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
540
627
  };
628
+ /**
629
+ * Updates a billing address by code **Required Permissions** \"payment-management.payments.update\"
630
+ * @summary Update the Billing Address
631
+ * @param {BillingAddressesApiUpdateBillingAddressRequest} requestParameters Request parameters.
632
+ * @param {*} [options] Override http request option.
633
+ * @throws {RequiredError}
634
+ * @memberof BillingAddressesApi
635
+ */
636
+ BillingAddressesApi.prototype.updateBillingAddress = function (requestParameters, options) {
637
+ var _this = this;
638
+ return (0, exports.BillingAddressesApiFp)(this.configuration).updateBillingAddress(requestParameters.code, requestParameters.updateBillingAddressRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
639
+ };
541
640
  return BillingAddressesApi;
542
641
  }(base_1.BaseAPI));
543
642
  exports.BillingAddressesApi = BillingAddressesApi;
@@ -112,6 +112,8 @@ export * from './update-bank-account-request-dto-rest';
112
112
  export * from './update-bank-account-response-class';
113
113
  export * from './update-bank-order-request-dto';
114
114
  export * from './update-bank-order-response-class';
115
+ export * from './update-billing-address-request-dto';
116
+ export * from './update-billing-address-response-class';
115
117
  export * from './update-tenant-bank-account-response-class';
116
118
  export * from './update-tenant-bank-account-rest-request-dto';
117
119
  export * from './validate-pspconfig-request-dto';
@@ -128,6 +128,8 @@ __exportStar(require("./update-bank-account-request-dto-rest"), exports);
128
128
  __exportStar(require("./update-bank-account-response-class"), exports);
129
129
  __exportStar(require("./update-bank-order-request-dto"), exports);
130
130
  __exportStar(require("./update-bank-order-response-class"), exports);
131
+ __exportStar(require("./update-billing-address-request-dto"), exports);
132
+ __exportStar(require("./update-billing-address-response-class"), exports);
131
133
  __exportStar(require("./update-tenant-bank-account-response-class"), exports);
132
134
  __exportStar(require("./update-tenant-bank-account-rest-request-dto"), exports);
133
135
  __exportStar(require("./validate-pspconfig-request-dto"), exports);
@@ -23,19 +23,19 @@ export interface ListBillingAddressesResponseClass {
23
23
  */
24
24
  'items': Array<BillingAddressClass>;
25
25
  /**
26
- * Next page token
26
+ * Next page token.
27
27
  * @type {string}
28
28
  * @memberof ListBillingAddressesResponseClass
29
29
  */
30
30
  'nextPageToken': string;
31
31
  /**
32
- * Items per page
32
+ * Items per page.
33
33
  * @type {number}
34
34
  * @memberof ListBillingAddressesResponseClass
35
35
  */
36
36
  'itemsPerPage': number;
37
37
  /**
38
- * Total items
38
+ * Total amount of items.
39
39
  * @type {number}
40
40
  * @memberof ListBillingAddressesResponseClass
41
41
  */
@@ -0,0 +1,72 @@
1
+ /**
2
+ * Emil Payment Service
3
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
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
+ /**
13
+ *
14
+ * @export
15
+ * @interface UpdateBillingAddressRequestDto
16
+ */
17
+ export interface UpdateBillingAddressRequestDto {
18
+ /**
19
+ * First name
20
+ * @type {string}
21
+ * @memberof UpdateBillingAddressRequestDto
22
+ */
23
+ 'firstName': string;
24
+ /**
25
+ * Last name
26
+ * @type {string}
27
+ * @memberof UpdateBillingAddressRequestDto
28
+ */
29
+ 'lastName': string;
30
+ /**
31
+ * Street name
32
+ * @type {string}
33
+ * @memberof UpdateBillingAddressRequestDto
34
+ */
35
+ 'street': string;
36
+ /**
37
+ * House number
38
+ * @type {string}
39
+ * @memberof UpdateBillingAddressRequestDto
40
+ */
41
+ 'houseNumber': string;
42
+ /**
43
+ * ZIP code
44
+ * @type {string}
45
+ * @memberof UpdateBillingAddressRequestDto
46
+ */
47
+ 'zipCode': string;
48
+ /**
49
+ * City
50
+ * @type {string}
51
+ * @memberof UpdateBillingAddressRequestDto
52
+ */
53
+ 'city': string;
54
+ /**
55
+ * Country code
56
+ * @type {string}
57
+ * @memberof UpdateBillingAddressRequestDto
58
+ */
59
+ 'countryCode'?: string;
60
+ /**
61
+ * Unique identifier of the account that this object belongs to.
62
+ * @type {string}
63
+ * @memberof UpdateBillingAddressRequestDto
64
+ */
65
+ 'accountCode'?: string;
66
+ /**
67
+ * Unique identifier of the partner that this object belongs to.
68
+ * @type {string}
69
+ * @memberof UpdateBillingAddressRequestDto
70
+ */
71
+ 'partnerCode'?: string;
72
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Emil Payment Service
6
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,25 @@
1
+ /**
2
+ * Emil Payment Service
3
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
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 { BillingAddressClass } from './billing-address-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface UpdateBillingAddressResponseClass
17
+ */
18
+ export interface UpdateBillingAddressResponseClass {
19
+ /**
20
+ * The updated billing address
21
+ * @type {BillingAddressClass}
22
+ * @memberof UpdateBillingAddressResponseClass
23
+ */
24
+ 'billingAddress': BillingAddressClass;
25
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Emil Payment Service
6
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
package/models/index.ts CHANGED
@@ -112,6 +112,8 @@ export * from './update-bank-account-request-dto-rest';
112
112
  export * from './update-bank-account-response-class';
113
113
  export * from './update-bank-order-request-dto';
114
114
  export * from './update-bank-order-response-class';
115
+ export * from './update-billing-address-request-dto';
116
+ export * from './update-billing-address-response-class';
115
117
  export * from './update-tenant-bank-account-response-class';
116
118
  export * from './update-tenant-bank-account-rest-request-dto';
117
119
  export * from './validate-pspconfig-request-dto';
@@ -28,19 +28,19 @@ export interface ListBillingAddressesResponseClass {
28
28
  */
29
29
  'items': Array<BillingAddressClass>;
30
30
  /**
31
- * Next page token
31
+ * Next page token.
32
32
  * @type {string}
33
33
  * @memberof ListBillingAddressesResponseClass
34
34
  */
35
35
  'nextPageToken': string;
36
36
  /**
37
- * Items per page
37
+ * Items per page.
38
38
  * @type {number}
39
39
  * @memberof ListBillingAddressesResponseClass
40
40
  */
41
41
  'itemsPerPage': number;
42
42
  /**
43
- * Total items
43
+ * Total amount of items.
44
44
  * @type {number}
45
45
  * @memberof ListBillingAddressesResponseClass
46
46
  */
@@ -0,0 +1,78 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Emil Payment Service
5
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface UpdateBillingAddressRequestDto
21
+ */
22
+ export interface UpdateBillingAddressRequestDto {
23
+ /**
24
+ * First name
25
+ * @type {string}
26
+ * @memberof UpdateBillingAddressRequestDto
27
+ */
28
+ 'firstName': string;
29
+ /**
30
+ * Last name
31
+ * @type {string}
32
+ * @memberof UpdateBillingAddressRequestDto
33
+ */
34
+ 'lastName': string;
35
+ /**
36
+ * Street name
37
+ * @type {string}
38
+ * @memberof UpdateBillingAddressRequestDto
39
+ */
40
+ 'street': string;
41
+ /**
42
+ * House number
43
+ * @type {string}
44
+ * @memberof UpdateBillingAddressRequestDto
45
+ */
46
+ 'houseNumber': string;
47
+ /**
48
+ * ZIP code
49
+ * @type {string}
50
+ * @memberof UpdateBillingAddressRequestDto
51
+ */
52
+ 'zipCode': string;
53
+ /**
54
+ * City
55
+ * @type {string}
56
+ * @memberof UpdateBillingAddressRequestDto
57
+ */
58
+ 'city': string;
59
+ /**
60
+ * Country code
61
+ * @type {string}
62
+ * @memberof UpdateBillingAddressRequestDto
63
+ */
64
+ 'countryCode'?: string;
65
+ /**
66
+ * Unique identifier of the account that this object belongs to.
67
+ * @type {string}
68
+ * @memberof UpdateBillingAddressRequestDto
69
+ */
70
+ 'accountCode'?: string;
71
+ /**
72
+ * Unique identifier of the partner that this object belongs to.
73
+ * @type {string}
74
+ * @memberof UpdateBillingAddressRequestDto
75
+ */
76
+ 'partnerCode'?: string;
77
+ }
78
+
@@ -0,0 +1,31 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Emil Payment Service
5
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import { BillingAddressClass } from './billing-address-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface UpdateBillingAddressResponseClass
22
+ */
23
+ export interface UpdateBillingAddressResponseClass {
24
+ /**
25
+ * The updated billing address
26
+ * @type {BillingAddressClass}
27
+ * @memberof UpdateBillingAddressResponseClass
28
+ */
29
+ 'billingAddress': BillingAddressClass;
30
+ }
31
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/payment-sdk",
3
- "version": "1.14.1-beta.56",
3
+ "version": "1.14.1-beta.57",
4
4
  "description": "OpenAPI client for @emilgroup/payment-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [