@emilgroup/partner-sdk-node 1.6.1-beta.3 → 1.8.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 (24) hide show
  1. package/.openapi-generator/FILES +6 -6
  2. package/README.md +2 -2
  3. package/api/{partner-invitation-api.ts → partner-invitations-api.ts} +20 -20
  4. package/api/{partner-relation-api.ts → partner-relations-api.ts} +91 -91
  5. package/api/{partner-tag-api.ts → partner-tags-api.ts} +66 -66
  6. package/api/{partner-type-api.ts → partner-types-api.ts} +64 -64
  7. package/api/{partner-version-api.ts → partner-versions-api.ts} +37 -37
  8. package/api/{partner-api.ts → partners-api.ts} +74 -74
  9. package/api.ts +12 -12
  10. package/dist/api/{partner-invitation-api.d.ts → partner-invitations-api.d.ts} +17 -17
  11. package/dist/api/{partner-invitation-api.js → partner-invitations-api.js} +23 -23
  12. package/dist/api/{partner-relation-api.d.ts → partner-relations-api.d.ts} +82 -82
  13. package/dist/api/{partner-relation-api.js → partner-relations-api.js} +50 -50
  14. package/dist/api/{partner-tag-api.d.ts → partner-tags-api.d.ts} +59 -59
  15. package/dist/api/{partner-tag-api.js → partner-tags-api.js} +42 -42
  16. package/dist/api/{partner-type-api.d.ts → partner-types-api.d.ts} +57 -57
  17. package/dist/api/{partner-type-api.js → partner-types-api.js} +39 -39
  18. package/dist/api/{partner-version-api.d.ts → partner-versions-api.d.ts} +33 -33
  19. package/dist/api/{partner-version-api.js → partner-versions-api.js} +27 -27
  20. package/dist/api/{partner-api.d.ts → partners-api.d.ts} +66 -66
  21. package/dist/api/{partner-api.js → partners-api.js} +43 -43
  22. package/dist/api.d.ts +6 -6
  23. package/dist/api.js +6 -6
  24. package/package.json +1 -1
@@ -39,10 +39,10 @@ import { UpdatePartnerTypeResponseClass } from '../models';
39
39
  import { URL, URLSearchParams } from 'url';
40
40
  const FormData = require('form-data');
41
41
  /**
42
- * PartnerTypeApi - axios parameter creator
42
+ * PartnerTypesApi - axios parameter creator
43
43
  * @export
44
44
  */
45
- export const PartnerTypeApiAxiosParamCreator = function (configuration?: Configuration) {
45
+ export const PartnerTypesApiAxiosParamCreator = function (configuration?: Configuration) {
46
46
  return {
47
47
  /**
48
48
  * This will create a partner type.
@@ -317,11 +317,11 @@ export const PartnerTypeApiAxiosParamCreator = function (configuration?: Configu
317
317
  };
318
318
 
319
319
  /**
320
- * PartnerTypeApi - functional programming interface
320
+ * PartnerTypesApi - functional programming interface
321
321
  * @export
322
322
  */
323
- export const PartnerTypeApiFp = function(configuration?: Configuration) {
324
- const localVarAxiosParamCreator = PartnerTypeApiAxiosParamCreator(configuration)
323
+ export const PartnerTypesApiFp = function(configuration?: Configuration) {
324
+ const localVarAxiosParamCreator = PartnerTypesApiAxiosParamCreator(configuration)
325
325
  return {
326
326
  /**
327
327
  * This will create a partner type.
@@ -395,11 +395,11 @@ export const PartnerTypeApiFp = function(configuration?: Configuration) {
395
395
  };
396
396
 
397
397
  /**
398
- * PartnerTypeApi - factory interface
398
+ * PartnerTypesApi - factory interface
399
399
  * @export
400
400
  */
401
- export const PartnerTypeApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
402
- const localVarFp = PartnerTypeApiFp(configuration)
401
+ export const PartnerTypesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
402
+ const localVarFp = PartnerTypesApiFp(configuration)
403
403
  return {
404
404
  /**
405
405
  * This will create a partner type.
@@ -468,230 +468,230 @@ export const PartnerTypeApiFactory = function (configuration?: Configuration, ba
468
468
  };
469
469
 
470
470
  /**
471
- * Request parameters for createPartnerType operation in PartnerTypeApi.
471
+ * Request parameters for createPartnerType operation in PartnerTypesApi.
472
472
  * @export
473
- * @interface PartnerTypeApiCreatePartnerTypeRequest
473
+ * @interface PartnerTypesApiCreatePartnerTypeRequest
474
474
  */
475
- export interface PartnerTypeApiCreatePartnerTypeRequest {
475
+ export interface PartnerTypesApiCreatePartnerTypeRequest {
476
476
  /**
477
477
  *
478
478
  * @type {CreatePartnerTypeRequestDto}
479
- * @memberof PartnerTypeApiCreatePartnerType
479
+ * @memberof PartnerTypesApiCreatePartnerType
480
480
  */
481
481
  readonly createPartnerTypeRequestDto: CreatePartnerTypeRequestDto
482
482
 
483
483
  /**
484
484
  * Bearer Token: provided by the login endpoint under the name accessToken.
485
485
  * @type {string}
486
- * @memberof PartnerTypeApiCreatePartnerType
486
+ * @memberof PartnerTypesApiCreatePartnerType
487
487
  */
488
488
  readonly authorization?: string
489
489
  }
490
490
 
491
491
  /**
492
- * Request parameters for deletePartnerType operation in PartnerTypeApi.
492
+ * Request parameters for deletePartnerType operation in PartnerTypesApi.
493
493
  * @export
494
- * @interface PartnerTypeApiDeletePartnerTypeRequest
494
+ * @interface PartnerTypesApiDeletePartnerTypeRequest
495
495
  */
496
- export interface PartnerTypeApiDeletePartnerTypeRequest {
496
+ export interface PartnerTypesApiDeletePartnerTypeRequest {
497
497
  /**
498
498
  *
499
499
  * @type {string}
500
- * @memberof PartnerTypeApiDeletePartnerType
500
+ * @memberof PartnerTypesApiDeletePartnerType
501
501
  */
502
502
  readonly code: string
503
503
 
504
504
  /**
505
505
  * Bearer Token: provided by the login endpoint under the name accessToken.
506
506
  * @type {string}
507
- * @memberof PartnerTypeApiDeletePartnerType
507
+ * @memberof PartnerTypesApiDeletePartnerType
508
508
  */
509
509
  readonly authorization?: string
510
510
  }
511
511
 
512
512
  /**
513
- * Request parameters for getPartnerType operation in PartnerTypeApi.
513
+ * Request parameters for getPartnerType operation in PartnerTypesApi.
514
514
  * @export
515
- * @interface PartnerTypeApiGetPartnerTypeRequest
515
+ * @interface PartnerTypesApiGetPartnerTypeRequest
516
516
  */
517
- export interface PartnerTypeApiGetPartnerTypeRequest {
517
+ export interface PartnerTypesApiGetPartnerTypeRequest {
518
518
  /**
519
519
  * Unique identifier for the object.
520
520
  * @type {string}
521
- * @memberof PartnerTypeApiGetPartnerType
521
+ * @memberof PartnerTypesApiGetPartnerType
522
522
  */
523
523
  readonly code: string
524
524
 
525
525
  /**
526
526
  * Bearer Token: provided by the login endpoint under the name accessToken.
527
527
  * @type {string}
528
- * @memberof PartnerTypeApiGetPartnerType
528
+ * @memberof PartnerTypesApiGetPartnerType
529
529
  */
530
530
  readonly authorization?: string
531
531
 
532
532
  /**
533
533
  *
534
534
  * @type {any}
535
- * @memberof PartnerTypeApiGetPartnerType
535
+ * @memberof PartnerTypesApiGetPartnerType
536
536
  */
537
537
  readonly expand?: any
538
538
  }
539
539
 
540
540
  /**
541
- * Request parameters for listPartnerTypes operation in PartnerTypeApi.
541
+ * Request parameters for listPartnerTypes operation in PartnerTypesApi.
542
542
  * @export
543
- * @interface PartnerTypeApiListPartnerTypesRequest
543
+ * @interface PartnerTypesApiListPartnerTypesRequest
544
544
  */
545
- export interface PartnerTypeApiListPartnerTypesRequest {
545
+ export interface PartnerTypesApiListPartnerTypesRequest {
546
546
  /**
547
547
  * Bearer Token: provided by the login endpoint under the name accessToken.
548
548
  * @type {string}
549
- * @memberof PartnerTypeApiListPartnerTypes
549
+ * @memberof PartnerTypesApiListPartnerTypes
550
550
  */
551
551
  readonly authorization?: string
552
552
 
553
553
  /**
554
554
  * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
555
555
  * @type {any}
556
- * @memberof PartnerTypeApiListPartnerTypes
556
+ * @memberof PartnerTypesApiListPartnerTypes
557
557
  */
558
558
  readonly pageSize?: any
559
559
 
560
560
  /**
561
561
  * A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
562
562
  * @type {any}
563
- * @memberof PartnerTypeApiListPartnerTypes
563
+ * @memberof PartnerTypesApiListPartnerTypes
564
564
  */
565
565
  readonly pageToken?: any
566
566
 
567
567
  /**
568
568
  * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
569
569
  * @type {any}
570
- * @memberof PartnerTypeApiListPartnerTypes
570
+ * @memberof PartnerTypesApiListPartnerTypes
571
571
  */
572
572
  readonly filter?: any
573
573
 
574
574
  /**
575
575
  * To search the list by any field, pass search=xxx to fetch the result.
576
576
  * @type {any}
577
- * @memberof PartnerTypeApiListPartnerTypes
577
+ * @memberof PartnerTypesApiListPartnerTypes
578
578
  */
579
579
  readonly search?: any
580
580
 
581
581
  /**
582
582
  * The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
583
583
  * @type {any}
584
- * @memberof PartnerTypeApiListPartnerTypes
584
+ * @memberof PartnerTypesApiListPartnerTypes
585
585
  */
586
586
  readonly order?: any
587
587
 
588
588
  /**
589
589
  * Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
590
590
  * @type {any}
591
- * @memberof PartnerTypeApiListPartnerTypes
591
+ * @memberof PartnerTypesApiListPartnerTypes
592
592
  */
593
593
  readonly expand?: any
594
594
 
595
595
  /**
596
596
  * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
597
597
  * @type {any}
598
- * @memberof PartnerTypeApiListPartnerTypes
598
+ * @memberof PartnerTypesApiListPartnerTypes
599
599
  */
600
600
  readonly filters?: any
601
601
  }
602
602
 
603
603
  /**
604
- * Request parameters for updatePartnerType operation in PartnerTypeApi.
604
+ * Request parameters for updatePartnerType operation in PartnerTypesApi.
605
605
  * @export
606
- * @interface PartnerTypeApiUpdatePartnerTypeRequest
606
+ * @interface PartnerTypesApiUpdatePartnerTypeRequest
607
607
  */
608
- export interface PartnerTypeApiUpdatePartnerTypeRequest {
608
+ export interface PartnerTypesApiUpdatePartnerTypeRequest {
609
609
  /**
610
610
  * Unique identifier for the object.
611
611
  * @type {string}
612
- * @memberof PartnerTypeApiUpdatePartnerType
612
+ * @memberof PartnerTypesApiUpdatePartnerType
613
613
  */
614
614
  readonly code: string
615
615
 
616
616
  /**
617
617
  *
618
618
  * @type {UpdatePartnerTypeRequestDto}
619
- * @memberof PartnerTypeApiUpdatePartnerType
619
+ * @memberof PartnerTypesApiUpdatePartnerType
620
620
  */
621
621
  readonly updatePartnerTypeRequestDto: UpdatePartnerTypeRequestDto
622
622
 
623
623
  /**
624
624
  * Bearer Token: provided by the login endpoint under the name accessToken.
625
625
  * @type {string}
626
- * @memberof PartnerTypeApiUpdatePartnerType
626
+ * @memberof PartnerTypesApiUpdatePartnerType
627
627
  */
628
628
  readonly authorization?: string
629
629
  }
630
630
 
631
631
  /**
632
- * PartnerTypeApi - object-oriented interface
632
+ * PartnerTypesApi - object-oriented interface
633
633
  * @export
634
- * @class PartnerTypeApi
634
+ * @class PartnerTypesApi
635
635
  * @extends {BaseAPI}
636
636
  */
637
- export class PartnerTypeApi extends BaseAPI {
637
+ export class PartnerTypesApi extends BaseAPI {
638
638
  /**
639
639
  * This will create a partner type.
640
640
  * @summary Create the partner-types
641
- * @param {PartnerTypeApiCreatePartnerTypeRequest} requestParameters Request parameters.
641
+ * @param {PartnerTypesApiCreatePartnerTypeRequest} requestParameters Request parameters.
642
642
  * @param {*} [options] Override http request option.
643
643
  * @throws {RequiredError}
644
- * @memberof PartnerTypeApi
644
+ * @memberof PartnerTypesApi
645
645
  */
646
- public createPartnerType(requestParameters: PartnerTypeApiCreatePartnerTypeRequest, options?: AxiosRequestConfig) {
647
- return PartnerTypeApiFp(this.configuration).createPartnerType(requestParameters.createPartnerTypeRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
646
+ public createPartnerType(requestParameters: PartnerTypesApiCreatePartnerTypeRequest, options?: AxiosRequestConfig) {
647
+ return PartnerTypesApiFp(this.configuration).createPartnerType(requestParameters.createPartnerTypeRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
648
648
  }
649
649
 
650
650
  /**
651
651
  * Permanently deletes the partner-types. Supply the unique code that was returned when you created the partner-types and this will delete it.
652
652
  * @summary Delete the partner-types
653
- * @param {PartnerTypeApiDeletePartnerTypeRequest} requestParameters Request parameters.
653
+ * @param {PartnerTypesApiDeletePartnerTypeRequest} requestParameters Request parameters.
654
654
  * @param {*} [options] Override http request option.
655
655
  * @throws {RequiredError}
656
- * @memberof PartnerTypeApi
656
+ * @memberof PartnerTypesApi
657
657
  */
658
- public deletePartnerType(requestParameters: PartnerTypeApiDeletePartnerTypeRequest, options?: AxiosRequestConfig) {
659
- return PartnerTypeApiFp(this.configuration).deletePartnerType(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
658
+ public deletePartnerType(requestParameters: PartnerTypesApiDeletePartnerTypeRequest, options?: AxiosRequestConfig) {
659
+ return PartnerTypesApiFp(this.configuration).deletePartnerType(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
660
660
  }
661
661
 
662
662
  /**
663
663
  * Retrieves the details of the partner-types that was previously created. Supply the unique partner-types code that was returned when you created it and Emil Api will return the corresponding partner-types information.
664
664
  * @summary Retrieve the partner-types
665
- * @param {PartnerTypeApiGetPartnerTypeRequest} requestParameters Request parameters.
665
+ * @param {PartnerTypesApiGetPartnerTypeRequest} requestParameters Request parameters.
666
666
  * @param {*} [options] Override http request option.
667
667
  * @throws {RequiredError}
668
- * @memberof PartnerTypeApi
668
+ * @memberof PartnerTypesApi
669
669
  */
670
- public getPartnerType(requestParameters: PartnerTypeApiGetPartnerTypeRequest, options?: AxiosRequestConfig) {
671
- return PartnerTypeApiFp(this.configuration).getPartnerType(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
670
+ public getPartnerType(requestParameters: PartnerTypesApiGetPartnerTypeRequest, options?: AxiosRequestConfig) {
671
+ return PartnerTypesApiFp(this.configuration).getPartnerType(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
672
672
  }
673
673
 
674
674
  /**
675
675
  * Returns a list of partner-types you have previously created. The partner-types are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
676
676
  * @summary List partner-types
677
- * @param {PartnerTypeApiListPartnerTypesRequest} requestParameters Request parameters.
677
+ * @param {PartnerTypesApiListPartnerTypesRequest} requestParameters Request parameters.
678
678
  * @param {*} [options] Override http request option.
679
679
  * @throws {RequiredError}
680
- * @memberof PartnerTypeApi
680
+ * @memberof PartnerTypesApi
681
681
  */
682
- public listPartnerTypes(requestParameters: PartnerTypeApiListPartnerTypesRequest = {}, options?: AxiosRequestConfig) {
683
- return PartnerTypeApiFp(this.configuration).listPartnerTypes(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
682
+ public listPartnerTypes(requestParameters: PartnerTypesApiListPartnerTypesRequest = {}, options?: AxiosRequestConfig) {
683
+ return PartnerTypesApiFp(this.configuration).listPartnerTypes(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
684
684
  }
685
685
 
686
686
  /**
687
687
  * Updates the specified partner-types by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
688
688
  * @summary Update the partner-types
689
- * @param {PartnerTypeApiUpdatePartnerTypeRequest} requestParameters Request parameters.
689
+ * @param {PartnerTypesApiUpdatePartnerTypeRequest} requestParameters Request parameters.
690
690
  * @param {*} [options] Override http request option.
691
691
  * @throws {RequiredError}
692
- * @memberof PartnerTypeApi
692
+ * @memberof PartnerTypesApi
693
693
  */
694
- public updatePartnerType(requestParameters: PartnerTypeApiUpdatePartnerTypeRequest, options?: AxiosRequestConfig) {
695
- return PartnerTypeApiFp(this.configuration).updatePartnerType(requestParameters.code, requestParameters.updatePartnerTypeRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
694
+ public updatePartnerType(requestParameters: PartnerTypesApiUpdatePartnerTypeRequest, options?: AxiosRequestConfig) {
695
+ return PartnerTypesApiFp(this.configuration).updatePartnerType(requestParameters.code, requestParameters.updatePartnerTypeRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
696
696
  }
697
697
  }
@@ -29,10 +29,10 @@ import { ListPartnerVersionsResponseClass } from '../models';
29
29
  import { URL, URLSearchParams } from 'url';
30
30
  const FormData = require('form-data');
31
31
  /**
32
- * PartnerVersionApi - axios parameter creator
32
+ * PartnerVersionsApi - axios parameter creator
33
33
  * @export
34
34
  */
35
- export const PartnerVersionApiAxiosParamCreator = function (configuration?: Configuration) {
35
+ export const PartnerVersionsApiAxiosParamCreator = function (configuration?: Configuration) {
36
36
  return {
37
37
  /**
38
38
  * Retrieve a partner version by providing partner code and version number
@@ -167,11 +167,11 @@ export const PartnerVersionApiAxiosParamCreator = function (configuration?: Conf
167
167
  };
168
168
 
169
169
  /**
170
- * PartnerVersionApi - functional programming interface
170
+ * PartnerVersionsApi - functional programming interface
171
171
  * @export
172
172
  */
173
- export const PartnerVersionApiFp = function(configuration?: Configuration) {
174
- const localVarAxiosParamCreator = PartnerVersionApiAxiosParamCreator(configuration)
173
+ export const PartnerVersionsApiFp = function(configuration?: Configuration) {
174
+ const localVarAxiosParamCreator = PartnerVersionsApiAxiosParamCreator(configuration)
175
175
  return {
176
176
  /**
177
177
  * Retrieve a partner version by providing partner code and version number
@@ -209,11 +209,11 @@ export const PartnerVersionApiFp = function(configuration?: Configuration) {
209
209
  };
210
210
 
211
211
  /**
212
- * PartnerVersionApi - factory interface
212
+ * PartnerVersionsApi - factory interface
213
213
  * @export
214
214
  */
215
- export const PartnerVersionApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
216
- const localVarFp = PartnerVersionApiFp(configuration)
215
+ export const PartnerVersionsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
216
+ const localVarFp = PartnerVersionsApiFp(configuration)
217
217
  return {
218
218
  /**
219
219
  * Retrieve a partner version by providing partner code and version number
@@ -249,131 +249,131 @@ export const PartnerVersionApiFactory = function (configuration?: Configuration,
249
249
  };
250
250
 
251
251
  /**
252
- * Request parameters for getPartnerVersion operation in PartnerVersionApi.
252
+ * Request parameters for getPartnerVersion operation in PartnerVersionsApi.
253
253
  * @export
254
- * @interface PartnerVersionApiGetPartnerVersionRequest
254
+ * @interface PartnerVersionsApiGetPartnerVersionRequest
255
255
  */
256
- export interface PartnerVersionApiGetPartnerVersionRequest {
256
+ export interface PartnerVersionsApiGetPartnerVersionRequest {
257
257
  /**
258
258
  * Unique identifier for the object.
259
259
  * @type {string}
260
- * @memberof PartnerVersionApiGetPartnerVersion
260
+ * @memberof PartnerVersionsApiGetPartnerVersion
261
261
  */
262
262
  readonly code: string
263
263
 
264
264
  /**
265
265
  *
266
266
  * @type {number}
267
- * @memberof PartnerVersionApiGetPartnerVersion
267
+ * @memberof PartnerVersionsApiGetPartnerVersion
268
268
  */
269
269
  readonly version: number
270
270
 
271
271
  /**
272
272
  * Bearer Token: provided by the login endpoint under the name accessToken.
273
273
  * @type {string}
274
- * @memberof PartnerVersionApiGetPartnerVersion
274
+ * @memberof PartnerVersionsApiGetPartnerVersion
275
275
  */
276
276
  readonly authorization?: string
277
277
  }
278
278
 
279
279
  /**
280
- * Request parameters for listPartnerVersion operation in PartnerVersionApi.
280
+ * Request parameters for listPartnerVersion operation in PartnerVersionsApi.
281
281
  * @export
282
- * @interface PartnerVersionApiListPartnerVersionRequest
282
+ * @interface PartnerVersionsApiListPartnerVersionRequest
283
283
  */
284
- export interface PartnerVersionApiListPartnerVersionRequest {
284
+ export interface PartnerVersionsApiListPartnerVersionRequest {
285
285
  /**
286
286
  *
287
287
  * @type {string}
288
- * @memberof PartnerVersionApiListPartnerVersion
288
+ * @memberof PartnerVersionsApiListPartnerVersion
289
289
  */
290
290
  readonly code: string
291
291
 
292
292
  /**
293
293
  * Bearer Token: provided by the login endpoint under the name accessToken.
294
294
  * @type {string}
295
- * @memberof PartnerVersionApiListPartnerVersion
295
+ * @memberof PartnerVersionsApiListPartnerVersion
296
296
  */
297
297
  readonly authorization?: string
298
298
 
299
299
  /**
300
300
  * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
301
301
  * @type {any}
302
- * @memberof PartnerVersionApiListPartnerVersion
302
+ * @memberof PartnerVersionsApiListPartnerVersion
303
303
  */
304
304
  readonly pageSize?: any
305
305
 
306
306
  /**
307
307
  * A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
308
308
  * @type {any}
309
- * @memberof PartnerVersionApiListPartnerVersion
309
+ * @memberof PartnerVersionsApiListPartnerVersion
310
310
  */
311
311
  readonly pageToken?: any
312
312
 
313
313
  /**
314
314
  * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, version, displayName, updatedAt, updatedBy</i>
315
315
  * @type {string}
316
- * @memberof PartnerVersionApiListPartnerVersion
316
+ * @memberof PartnerVersionsApiListPartnerVersion
317
317
  */
318
318
  readonly filter?: string
319
319
 
320
320
  /**
321
321
  * To search the list by any field, pass search=xxx to fetch the result.
322
322
  * @type {any}
323
- * @memberof PartnerVersionApiListPartnerVersion
323
+ * @memberof PartnerVersionsApiListPartnerVersion
324
324
  */
325
325
  readonly search?: any
326
326
 
327
327
  /**
328
328
  * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: displayName, createdAt, updatedAt, version</i>
329
329
  * @type {string}
330
- * @memberof PartnerVersionApiListPartnerVersion
330
+ * @memberof PartnerVersionsApiListPartnerVersion
331
331
  */
332
332
  readonly order?: string
333
333
 
334
334
  /**
335
335
  * Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: partnerType<i>
336
336
  * @type {string}
337
- * @memberof PartnerVersionApiListPartnerVersion
337
+ * @memberof PartnerVersionsApiListPartnerVersion
338
338
  */
339
339
  readonly expand?: string
340
340
 
341
341
  /**
342
342
  * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, version, displayName, updatedAt, updatedBy</i>
343
343
  * @type {string}
344
- * @memberof PartnerVersionApiListPartnerVersion
344
+ * @memberof PartnerVersionsApiListPartnerVersion
345
345
  */
346
346
  readonly filters?: string
347
347
  }
348
348
 
349
349
  /**
350
- * PartnerVersionApi - object-oriented interface
350
+ * PartnerVersionsApi - object-oriented interface
351
351
  * @export
352
- * @class PartnerVersionApi
352
+ * @class PartnerVersionsApi
353
353
  * @extends {BaseAPI}
354
354
  */
355
- export class PartnerVersionApi extends BaseAPI {
355
+ export class PartnerVersionsApi extends BaseAPI {
356
356
  /**
357
357
  * Retrieve a partner version by providing partner code and version number
358
358
  * @summary Retrieve the partner version
359
- * @param {PartnerVersionApiGetPartnerVersionRequest} requestParameters Request parameters.
359
+ * @param {PartnerVersionsApiGetPartnerVersionRequest} requestParameters Request parameters.
360
360
  * @param {*} [options] Override http request option.
361
361
  * @throws {RequiredError}
362
- * @memberof PartnerVersionApi
362
+ * @memberof PartnerVersionsApi
363
363
  */
364
- public getPartnerVersion(requestParameters: PartnerVersionApiGetPartnerVersionRequest, options?: AxiosRequestConfig) {
365
- return PartnerVersionApiFp(this.configuration).getPartnerVersion(requestParameters.code, requestParameters.version, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
364
+ public getPartnerVersion(requestParameters: PartnerVersionsApiGetPartnerVersionRequest, options?: AxiosRequestConfig) {
365
+ return PartnerVersionsApiFp(this.configuration).getPartnerVersion(requestParameters.code, requestParameters.version, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
366
366
  }
367
367
 
368
368
  /**
369
369
  * Returns a list of partner versions you have previously created. The partner versions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
370
370
  * @summary List partner versions
371
- * @param {PartnerVersionApiListPartnerVersionRequest} requestParameters Request parameters.
371
+ * @param {PartnerVersionsApiListPartnerVersionRequest} requestParameters Request parameters.
372
372
  * @param {*} [options] Override http request option.
373
373
  * @throws {RequiredError}
374
- * @memberof PartnerVersionApi
374
+ * @memberof PartnerVersionsApi
375
375
  */
376
- public listPartnerVersion(requestParameters: PartnerVersionApiListPartnerVersionRequest, options?: AxiosRequestConfig) {
377
- return PartnerVersionApiFp(this.configuration).listPartnerVersion(requestParameters.code, requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
376
+ public listPartnerVersion(requestParameters: PartnerVersionsApiListPartnerVersionRequest, options?: AxiosRequestConfig) {
377
+ return PartnerVersionsApiFp(this.configuration).listPartnerVersion(requestParameters.code, requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
378
378
  }
379
379
  }