@emilgroup/partner-sdk-node 1.5.1-beta.2 → 1.6.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 (43) hide show
  1. package/.openapi-generator/FILES +4 -10
  2. package/README.md +2 -2
  3. package/api/{partner-relation-api.ts → partner-relations-api.ts} +87 -87
  4. package/api/{partner-tag-api.ts → partner-tags-api.ts} +62 -62
  5. package/api/{partner-type-api.ts → partner-types-api.ts} +64 -64
  6. package/api/{partner-api.ts → partners-api.ts} +82 -82
  7. package/api.ts +8 -10
  8. package/dist/api/{partner-relation-api.d.ts → partner-relations-api.d.ts} +78 -78
  9. package/dist/api/{partner-relation-api.js → partner-relations-api.js} +47 -47
  10. package/dist/api/{partner-tag-api.d.ts → partner-tags-api.d.ts} +55 -55
  11. package/dist/api/{partner-tag-api.js → partner-tags-api.js} +39 -39
  12. package/dist/api/{partner-type-api.d.ts → partner-types-api.d.ts} +57 -57
  13. package/dist/api/{partner-type-api.js → partner-types-api.js} +39 -39
  14. package/dist/api/{partner-api.d.ts → partners-api.d.ts} +74 -74
  15. package/dist/api/{partner-api.js → partners-api.js} +49 -49
  16. package/dist/api.d.ts +4 -5
  17. package/dist/api.js +4 -5
  18. package/dist/models/create-partner-response-class.d.ts +0 -7
  19. package/dist/models/index.d.ts +0 -5
  20. package/dist/models/index.js +0 -5
  21. package/dist/models/partner-class.d.ts +0 -6
  22. package/models/create-partner-response-class.ts +0 -7
  23. package/models/index.ts +0 -5
  24. package/models/partner-class.ts +0 -6
  25. package/package.json +1 -1
  26. package/api/partner-invitation-api.ts +0 -169
  27. package/dist/api/partner-invitation-api.d.ts +0 -97
  28. package/dist/api/partner-invitation-api.js +0 -228
  29. package/dist/models/invite-class.d.ts +0 -79
  30. package/dist/models/invite-class.js +0 -15
  31. package/dist/models/invite-partner-to-eis-response-class.d.ts +0 -25
  32. package/dist/models/invite-partner-to-eis-response-class.js +0 -15
  33. package/dist/models/invite-partner-to-eisrequest-dto.d.ts +0 -42
  34. package/dist/models/invite-partner-to-eisrequest-dto.js +0 -15
  35. package/dist/models/permission-class.d.ts +0 -72
  36. package/dist/models/permission-class.js +0 -15
  37. package/dist/models/role-class.d.ts +0 -73
  38. package/dist/models/role-class.js +0 -15
  39. package/models/invite-class.ts +0 -85
  40. package/models/invite-partner-to-eis-response-class.ts +0 -31
  41. package/models/invite-partner-to-eisrequest-dto.ts +0 -48
  42. package/models/permission-class.ts +0 -78
  43. package/models/role-class.ts +0 -79
@@ -41,10 +41,10 @@ import { UpdatePartnerResponseClass } from '../models';
41
41
  import { URL, URLSearchParams } from 'url';
42
42
  const FormData = require('form-data');
43
43
  /**
44
- * PartnerApi - axios parameter creator
44
+ * PartnersApi - axios parameter creator
45
45
  * @export
46
46
  */
47
- export const PartnerApiAxiosParamCreator = function (configuration?: Configuration) {
47
+ export const PartnersApiAxiosParamCreator = function (configuration?: Configuration) {
48
48
  return {
49
49
  /**
50
50
  * This will create a partner.
@@ -194,11 +194,11 @@ export const PartnerApiAxiosParamCreator = function (configuration?: Configurati
194
194
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
195
195
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
196
196
  * @param {any} [pageToken] 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.
197
- * @param {string} [filter] 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: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeId, tenantUserCode</i>
197
+ * @param {string} [filter] 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: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeId</i>
198
198
  * @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
199
199
  * @param {string} [order] 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: id, code, displayName, createdAt, updatedAt, version, tags, tagSlugs</i>
200
200
  * @param {string} [expand] 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, tags<i>
201
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeId, tenantUserCode</i>
201
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeId</i>
202
202
  * @param {*} [options] Override http request option.
203
203
  * @throws {RequiredError}
204
204
  */
@@ -370,11 +370,11 @@ export const PartnerApiAxiosParamCreator = function (configuration?: Configurati
370
370
  };
371
371
 
372
372
  /**
373
- * PartnerApi - functional programming interface
373
+ * PartnersApi - functional programming interface
374
374
  * @export
375
375
  */
376
- export const PartnerApiFp = function(configuration?: Configuration) {
377
- const localVarAxiosParamCreator = PartnerApiAxiosParamCreator(configuration)
376
+ export const PartnersApiFp = function(configuration?: Configuration) {
377
+ const localVarAxiosParamCreator = PartnersApiAxiosParamCreator(configuration)
378
378
  return {
379
379
  /**
380
380
  * This will create a partner.
@@ -419,11 +419,11 @@ export const PartnerApiFp = function(configuration?: Configuration) {
419
419
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
420
420
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
421
421
  * @param {any} [pageToken] 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.
422
- * @param {string} [filter] 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: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeId, tenantUserCode</i>
422
+ * @param {string} [filter] 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: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeId</i>
423
423
  * @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
424
424
  * @param {string} [order] 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: id, code, displayName, createdAt, updatedAt, version, tags, tagSlugs</i>
425
425
  * @param {string} [expand] 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, tags<i>
426
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeId, tenantUserCode</i>
426
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeId</i>
427
427
  * @param {*} [options] Override http request option.
428
428
  * @throws {RequiredError}
429
429
  */
@@ -461,11 +461,11 @@ export const PartnerApiFp = function(configuration?: Configuration) {
461
461
  };
462
462
 
463
463
  /**
464
- * PartnerApi - factory interface
464
+ * PartnersApi - factory interface
465
465
  * @export
466
466
  */
467
- export const PartnerApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
468
- const localVarFp = PartnerApiFp(configuration)
467
+ export const PartnersApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
468
+ const localVarFp = PartnersApiFp(configuration)
469
469
  return {
470
470
  /**
471
471
  * This will create a partner.
@@ -507,11 +507,11 @@ export const PartnerApiFactory = function (configuration?: Configuration, basePa
507
507
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
508
508
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
509
509
  * @param {any} [pageToken] 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.
510
- * @param {string} [filter] 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: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeId, tenantUserCode</i>
510
+ * @param {string} [filter] 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: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeId</i>
511
511
  * @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
512
512
  * @param {string} [order] 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: id, code, displayName, createdAt, updatedAt, version, tags, tagSlugs</i>
513
513
  * @param {string} [expand] 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, tags<i>
514
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeId, tenantUserCode</i>
514
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeId</i>
515
515
  * @param {*} [options] Override http request option.
516
516
  * @throws {RequiredError}
517
517
  */
@@ -546,270 +546,270 @@ export const PartnerApiFactory = function (configuration?: Configuration, basePa
546
546
  };
547
547
 
548
548
  /**
549
- * Request parameters for createPartner operation in PartnerApi.
549
+ * Request parameters for createPartner operation in PartnersApi.
550
550
  * @export
551
- * @interface PartnerApiCreatePartnerRequest
551
+ * @interface PartnersApiCreatePartnerRequest
552
552
  */
553
- export interface PartnerApiCreatePartnerRequest {
553
+ export interface PartnersApiCreatePartnerRequest {
554
554
  /**
555
555
  *
556
556
  * @type {CreatePartnerRequestDto}
557
- * @memberof PartnerApiCreatePartner
557
+ * @memberof PartnersApiCreatePartner
558
558
  */
559
559
  readonly createPartnerRequestDto: CreatePartnerRequestDto
560
560
 
561
561
  /**
562
562
  * Bearer Token: provided by the login endpoint under the name accessToken.
563
563
  * @type {string}
564
- * @memberof PartnerApiCreatePartner
564
+ * @memberof PartnersApiCreatePartner
565
565
  */
566
566
  readonly authorization?: string
567
567
  }
568
568
 
569
569
  /**
570
- * Request parameters for deletePartner operation in PartnerApi.
570
+ * Request parameters for deletePartner operation in PartnersApi.
571
571
  * @export
572
- * @interface PartnerApiDeletePartnerRequest
572
+ * @interface PartnersApiDeletePartnerRequest
573
573
  */
574
- export interface PartnerApiDeletePartnerRequest {
574
+ export interface PartnersApiDeletePartnerRequest {
575
575
  /**
576
576
  *
577
577
  * @type {string}
578
- * @memberof PartnerApiDeletePartner
578
+ * @memberof PartnersApiDeletePartner
579
579
  */
580
580
  readonly code: string
581
581
 
582
582
  /**
583
583
  * Bearer Token: provided by the login endpoint under the name accessToken.
584
584
  * @type {string}
585
- * @memberof PartnerApiDeletePartner
585
+ * @memberof PartnersApiDeletePartner
586
586
  */
587
587
  readonly authorization?: string
588
588
  }
589
589
 
590
590
  /**
591
- * Request parameters for getPartner operation in PartnerApi.
591
+ * Request parameters for getPartner operation in PartnersApi.
592
592
  * @export
593
- * @interface PartnerApiGetPartnerRequest
593
+ * @interface PartnersApiGetPartnerRequest
594
594
  */
595
- export interface PartnerApiGetPartnerRequest {
595
+ export interface PartnersApiGetPartnerRequest {
596
596
  /**
597
597
  * Unique identifier for the object.
598
598
  * @type {string}
599
- * @memberof PartnerApiGetPartner
599
+ * @memberof PartnersApiGetPartner
600
600
  */
601
601
  readonly code: string
602
602
 
603
603
  /**
604
604
  * Bearer Token: provided by the login endpoint under the name accessToken.
605
605
  * @type {string}
606
- * @memberof PartnerApiGetPartner
606
+ * @memberof PartnersApiGetPartner
607
607
  */
608
608
  readonly authorization?: string
609
609
 
610
610
  /**
611
611
  *
612
612
  * @type {any}
613
- * @memberof PartnerApiGetPartner
613
+ * @memberof PartnersApiGetPartner
614
614
  */
615
615
  readonly expand?: any
616
616
  }
617
617
 
618
618
  /**
619
- * Request parameters for listPartners operation in PartnerApi.
619
+ * Request parameters for listPartners operation in PartnersApi.
620
620
  * @export
621
- * @interface PartnerApiListPartnersRequest
621
+ * @interface PartnersApiListPartnersRequest
622
622
  */
623
- export interface PartnerApiListPartnersRequest {
623
+ export interface PartnersApiListPartnersRequest {
624
624
  /**
625
625
  * Bearer Token: provided by the login endpoint under the name accessToken.
626
626
  * @type {string}
627
- * @memberof PartnerApiListPartners
627
+ * @memberof PartnersApiListPartners
628
628
  */
629
629
  readonly authorization?: string
630
630
 
631
631
  /**
632
632
  * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
633
633
  * @type {any}
634
- * @memberof PartnerApiListPartners
634
+ * @memberof PartnersApiListPartners
635
635
  */
636
636
  readonly pageSize?: any
637
637
 
638
638
  /**
639
639
  * 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.
640
640
  * @type {any}
641
- * @memberof PartnerApiListPartners
641
+ * @memberof PartnersApiListPartners
642
642
  */
643
643
  readonly pageToken?: any
644
644
 
645
645
  /**
646
- * 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: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeId, tenantUserCode</i>
646
+ * 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: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeId</i>
647
647
  * @type {string}
648
- * @memberof PartnerApiListPartners
648
+ * @memberof PartnersApiListPartners
649
649
  */
650
650
  readonly filter?: string
651
651
 
652
652
  /**
653
653
  * To search the list by any field, pass search=xxx to fetch the result.
654
654
  * @type {any}
655
- * @memberof PartnerApiListPartners
655
+ * @memberof PartnersApiListPartners
656
656
  */
657
657
  readonly search?: any
658
658
 
659
659
  /**
660
660
  * 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: id, code, displayName, createdAt, updatedAt, version, tags, tagSlugs</i>
661
661
  * @type {string}
662
- * @memberof PartnerApiListPartners
662
+ * @memberof PartnersApiListPartners
663
663
  */
664
664
  readonly order?: string
665
665
 
666
666
  /**
667
667
  * 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, tags<i>
668
668
  * @type {string}
669
- * @memberof PartnerApiListPartners
669
+ * @memberof PartnersApiListPartners
670
670
  */
671
671
  readonly expand?: string
672
672
 
673
673
  /**
674
- * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeId, tenantUserCode</i>
674
+ * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeId</i>
675
675
  * @type {string}
676
- * @memberof PartnerApiListPartners
676
+ * @memberof PartnersApiListPartners
677
677
  */
678
678
  readonly filters?: string
679
679
  }
680
680
 
681
681
  /**
682
- * Request parameters for tagPartner operation in PartnerApi.
682
+ * Request parameters for tagPartner operation in PartnersApi.
683
683
  * @export
684
- * @interface PartnerApiTagPartnerRequest
684
+ * @interface PartnersApiTagPartnerRequest
685
685
  */
686
- export interface PartnerApiTagPartnerRequest {
686
+ export interface PartnersApiTagPartnerRequest {
687
687
  /**
688
688
  *
689
689
  * @type {string}
690
- * @memberof PartnerApiTagPartner
690
+ * @memberof PartnersApiTagPartner
691
691
  */
692
692
  readonly code: string
693
693
 
694
694
  /**
695
695
  *
696
696
  * @type {TagPartnerRequestDtoRest}
697
- * @memberof PartnerApiTagPartner
697
+ * @memberof PartnersApiTagPartner
698
698
  */
699
699
  readonly tagPartnerRequestDtoRest: TagPartnerRequestDtoRest
700
700
 
701
701
  /**
702
702
  * Bearer Token: provided by the login endpoint under the name accessToken.
703
703
  * @type {string}
704
- * @memberof PartnerApiTagPartner
704
+ * @memberof PartnersApiTagPartner
705
705
  */
706
706
  readonly authorization?: string
707
707
  }
708
708
 
709
709
  /**
710
- * Request parameters for updatePartner operation in PartnerApi.
710
+ * Request parameters for updatePartner operation in PartnersApi.
711
711
  * @export
712
- * @interface PartnerApiUpdatePartnerRequest
712
+ * @interface PartnersApiUpdatePartnerRequest
713
713
  */
714
- export interface PartnerApiUpdatePartnerRequest {
714
+ export interface PartnersApiUpdatePartnerRequest {
715
715
  /**
716
716
  * Unique identifier for the object.
717
717
  * @type {string}
718
- * @memberof PartnerApiUpdatePartner
718
+ * @memberof PartnersApiUpdatePartner
719
719
  */
720
720
  readonly code: string
721
721
 
722
722
  /**
723
723
  *
724
724
  * @type {UpdatePartnerRequestDto}
725
- * @memberof PartnerApiUpdatePartner
725
+ * @memberof PartnersApiUpdatePartner
726
726
  */
727
727
  readonly updatePartnerRequestDto: UpdatePartnerRequestDto
728
728
 
729
729
  /**
730
730
  * Bearer Token: provided by the login endpoint under the name accessToken.
731
731
  * @type {string}
732
- * @memberof PartnerApiUpdatePartner
732
+ * @memberof PartnersApiUpdatePartner
733
733
  */
734
734
  readonly authorization?: string
735
735
  }
736
736
 
737
737
  /**
738
- * PartnerApi - object-oriented interface
738
+ * PartnersApi - object-oriented interface
739
739
  * @export
740
- * @class PartnerApi
740
+ * @class PartnersApi
741
741
  * @extends {BaseAPI}
742
742
  */
743
- export class PartnerApi extends BaseAPI {
743
+ export class PartnersApi extends BaseAPI {
744
744
  /**
745
745
  * This will create a partner.
746
746
  * @summary Create the partner
747
- * @param {PartnerApiCreatePartnerRequest} requestParameters Request parameters.
747
+ * @param {PartnersApiCreatePartnerRequest} requestParameters Request parameters.
748
748
  * @param {*} [options] Override http request option.
749
749
  * @throws {RequiredError}
750
- * @memberof PartnerApi
750
+ * @memberof PartnersApi
751
751
  */
752
- public createPartner(requestParameters: PartnerApiCreatePartnerRequest, options?: AxiosRequestConfig) {
753
- return PartnerApiFp(this.configuration).createPartner(requestParameters.createPartnerRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
752
+ public createPartner(requestParameters: PartnersApiCreatePartnerRequest, options?: AxiosRequestConfig) {
753
+ return PartnersApiFp(this.configuration).createPartner(requestParameters.createPartnerRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
754
754
  }
755
755
 
756
756
  /**
757
757
  * Permanently deletes the partner. Supply the unique code that was returned when you created the partner and this will delete it.
758
758
  * @summary Delete the partner
759
- * @param {PartnerApiDeletePartnerRequest} requestParameters Request parameters.
759
+ * @param {PartnersApiDeletePartnerRequest} requestParameters Request parameters.
760
760
  * @param {*} [options] Override http request option.
761
761
  * @throws {RequiredError}
762
- * @memberof PartnerApi
762
+ * @memberof PartnersApi
763
763
  */
764
- public deletePartner(requestParameters: PartnerApiDeletePartnerRequest, options?: AxiosRequestConfig) {
765
- return PartnerApiFp(this.configuration).deletePartner(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
764
+ public deletePartner(requestParameters: PartnersApiDeletePartnerRequest, options?: AxiosRequestConfig) {
765
+ return PartnersApiFp(this.configuration).deletePartner(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
766
766
  }
767
767
 
768
768
  /**
769
769
  * Retrieves the details of the partner that was previously created. Supply the unique partner code that was returned when you created it and Emil Api will return the corresponding partner information.
770
770
  * @summary Retrieve the partner
771
- * @param {PartnerApiGetPartnerRequest} requestParameters Request parameters.
771
+ * @param {PartnersApiGetPartnerRequest} requestParameters Request parameters.
772
772
  * @param {*} [options] Override http request option.
773
773
  * @throws {RequiredError}
774
- * @memberof PartnerApi
774
+ * @memberof PartnersApi
775
775
  */
776
- public getPartner(requestParameters: PartnerApiGetPartnerRequest, options?: AxiosRequestConfig) {
777
- return PartnerApiFp(this.configuration).getPartner(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
776
+ public getPartner(requestParameters: PartnersApiGetPartnerRequest, options?: AxiosRequestConfig) {
777
+ return PartnersApiFp(this.configuration).getPartner(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
778
778
  }
779
779
 
780
780
  /**
781
781
  * Returns a list of partners you have previously created. The partners are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
782
782
  * @summary List partners
783
- * @param {PartnerApiListPartnersRequest} requestParameters Request parameters.
783
+ * @param {PartnersApiListPartnersRequest} requestParameters Request parameters.
784
784
  * @param {*} [options] Override http request option.
785
785
  * @throws {RequiredError}
786
- * @memberof PartnerApi
786
+ * @memberof PartnersApi
787
787
  */
788
- public listPartners(requestParameters: PartnerApiListPartnersRequest = {}, options?: AxiosRequestConfig) {
789
- return PartnerApiFp(this.configuration).listPartners(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
788
+ public listPartners(requestParameters: PartnersApiListPartnersRequest = {}, options?: AxiosRequestConfig) {
789
+ return PartnersApiFp(this.configuration).listPartners(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
790
790
  }
791
791
 
792
792
  /**
793
793
  * Updates the specified partner by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
794
794
  * @summary Update the partner
795
- * @param {PartnerApiTagPartnerRequest} requestParameters Request parameters.
795
+ * @param {PartnersApiTagPartnerRequest} requestParameters Request parameters.
796
796
  * @param {*} [options] Override http request option.
797
797
  * @throws {RequiredError}
798
- * @memberof PartnerApi
798
+ * @memberof PartnersApi
799
799
  */
800
- public tagPartner(requestParameters: PartnerApiTagPartnerRequest, options?: AxiosRequestConfig) {
801
- return PartnerApiFp(this.configuration).tagPartner(requestParameters.code, requestParameters.tagPartnerRequestDtoRest, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
800
+ public tagPartner(requestParameters: PartnersApiTagPartnerRequest, options?: AxiosRequestConfig) {
801
+ return PartnersApiFp(this.configuration).tagPartner(requestParameters.code, requestParameters.tagPartnerRequestDtoRest, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
802
802
  }
803
803
 
804
804
  /**
805
805
  * Updates the specified partner by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
806
806
  * @summary Update the partner
807
- * @param {PartnerApiUpdatePartnerRequest} requestParameters Request parameters.
807
+ * @param {PartnersApiUpdatePartnerRequest} requestParameters Request parameters.
808
808
  * @param {*} [options] Override http request option.
809
809
  * @throws {RequiredError}
810
- * @memberof PartnerApi
810
+ * @memberof PartnersApi
811
811
  */
812
- public updatePartner(requestParameters: PartnerApiUpdatePartnerRequest, options?: AxiosRequestConfig) {
813
- return PartnerApiFp(this.configuration).updatePartner(requestParameters.code, requestParameters.updatePartnerRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
812
+ public updatePartner(requestParameters: PartnersApiUpdatePartnerRequest, options?: AxiosRequestConfig) {
813
+ return PartnersApiFp(this.configuration).updatePartner(requestParameters.code, requestParameters.updatePartnerRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
814
814
  }
815
815
  }
package/api.ts CHANGED
@@ -25,19 +25,17 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
25
25
  // @ts-ignore
26
26
  import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from './base';
27
27
  import { DefaultApi } from './api';
28
- import { PartnerApi } from './api';
29
- import { PartnerInvitationApi } from './api';
30
- import { PartnerRelationApi } from './api';
31
- import { PartnerTagApi } from './api';
32
- import { PartnerTypeApi } from './api';
28
+ import { PartnerRelationsApi } from './api';
29
+ import { PartnerTagsApi } from './api';
30
+ import { PartnerTypesApi } from './api';
33
31
  import { PartnerVersionApi } from './api';
32
+ import { PartnersApi } from './api';
34
33
 
35
34
 
36
35
  export * from './api/default-api';
37
- export * from './api/partner-api';
38
- export * from './api/partner-invitation-api';
39
- export * from './api/partner-relation-api';
40
- export * from './api/partner-tag-api';
41
- export * from './api/partner-type-api';
36
+ export * from './api/partner-relations-api';
37
+ export * from './api/partner-tags-api';
38
+ export * from './api/partner-types-api';
42
39
  export * from './api/partner-version-api';
40
+ export * from './api/partners-api';
43
41