@emilgroup/partner-sdk 1.5.1-beta.3 → 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 -165
  27. package/dist/api/partner-invitation-api.d.ts +0 -97
  28. package/dist/api/partner-invitation-api.js +0 -224
  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
@@ -37,10 +37,10 @@ import { UpdatePartnerRequestDto } from '../models';
37
37
  // @ts-ignore
38
38
  import { UpdatePartnerResponseClass } from '../models';
39
39
  /**
40
- * PartnerApi - axios parameter creator
40
+ * PartnersApi - axios parameter creator
41
41
  * @export
42
42
  */
43
- export const PartnerApiAxiosParamCreator = function (configuration?: Configuration) {
43
+ export const PartnersApiAxiosParamCreator = function (configuration?: Configuration) {
44
44
  return {
45
45
  /**
46
46
  * This will create a partner.
@@ -190,11 +190,11 @@ export const PartnerApiAxiosParamCreator = function (configuration?: Configurati
190
190
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
191
191
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
192
192
  * @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.
193
- * @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>
193
+ * @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>
194
194
  * @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
195
195
  * @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>
196
196
  * @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>
197
- * @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>
197
+ * @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>
198
198
  * @param {*} [options] Override http request option.
199
199
  * @throws {RequiredError}
200
200
  */
@@ -366,11 +366,11 @@ export const PartnerApiAxiosParamCreator = function (configuration?: Configurati
366
366
  };
367
367
 
368
368
  /**
369
- * PartnerApi - functional programming interface
369
+ * PartnersApi - functional programming interface
370
370
  * @export
371
371
  */
372
- export const PartnerApiFp = function(configuration?: Configuration) {
373
- const localVarAxiosParamCreator = PartnerApiAxiosParamCreator(configuration)
372
+ export const PartnersApiFp = function(configuration?: Configuration) {
373
+ const localVarAxiosParamCreator = PartnersApiAxiosParamCreator(configuration)
374
374
  return {
375
375
  /**
376
376
  * This will create a partner.
@@ -415,11 +415,11 @@ export const PartnerApiFp = function(configuration?: Configuration) {
415
415
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
416
416
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
417
417
  * @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.
418
- * @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>
418
+ * @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>
419
419
  * @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
420
420
  * @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>
421
421
  * @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>
422
- * @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>
422
+ * @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>
423
423
  * @param {*} [options] Override http request option.
424
424
  * @throws {RequiredError}
425
425
  */
@@ -457,11 +457,11 @@ export const PartnerApiFp = function(configuration?: Configuration) {
457
457
  };
458
458
 
459
459
  /**
460
- * PartnerApi - factory interface
460
+ * PartnersApi - factory interface
461
461
  * @export
462
462
  */
463
- export const PartnerApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
464
- const localVarFp = PartnerApiFp(configuration)
463
+ export const PartnersApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
464
+ const localVarFp = PartnersApiFp(configuration)
465
465
  return {
466
466
  /**
467
467
  * This will create a partner.
@@ -503,11 +503,11 @@ export const PartnerApiFactory = function (configuration?: Configuration, basePa
503
503
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
504
504
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
505
505
  * @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.
506
- * @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>
506
+ * @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>
507
507
  * @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
508
508
  * @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>
509
509
  * @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>
510
- * @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>
510
+ * @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>
511
511
  * @param {*} [options] Override http request option.
512
512
  * @throws {RequiredError}
513
513
  */
@@ -542,270 +542,270 @@ export const PartnerApiFactory = function (configuration?: Configuration, basePa
542
542
  };
543
543
 
544
544
  /**
545
- * Request parameters for createPartner operation in PartnerApi.
545
+ * Request parameters for createPartner operation in PartnersApi.
546
546
  * @export
547
- * @interface PartnerApiCreatePartnerRequest
547
+ * @interface PartnersApiCreatePartnerRequest
548
548
  */
549
- export interface PartnerApiCreatePartnerRequest {
549
+ export interface PartnersApiCreatePartnerRequest {
550
550
  /**
551
551
  *
552
552
  * @type {CreatePartnerRequestDto}
553
- * @memberof PartnerApiCreatePartner
553
+ * @memberof PartnersApiCreatePartner
554
554
  */
555
555
  readonly createPartnerRequestDto: CreatePartnerRequestDto
556
556
 
557
557
  /**
558
558
  * Bearer Token: provided by the login endpoint under the name accessToken.
559
559
  * @type {string}
560
- * @memberof PartnerApiCreatePartner
560
+ * @memberof PartnersApiCreatePartner
561
561
  */
562
562
  readonly authorization?: string
563
563
  }
564
564
 
565
565
  /**
566
- * Request parameters for deletePartner operation in PartnerApi.
566
+ * Request parameters for deletePartner operation in PartnersApi.
567
567
  * @export
568
- * @interface PartnerApiDeletePartnerRequest
568
+ * @interface PartnersApiDeletePartnerRequest
569
569
  */
570
- export interface PartnerApiDeletePartnerRequest {
570
+ export interface PartnersApiDeletePartnerRequest {
571
571
  /**
572
572
  *
573
573
  * @type {string}
574
- * @memberof PartnerApiDeletePartner
574
+ * @memberof PartnersApiDeletePartner
575
575
  */
576
576
  readonly code: string
577
577
 
578
578
  /**
579
579
  * Bearer Token: provided by the login endpoint under the name accessToken.
580
580
  * @type {string}
581
- * @memberof PartnerApiDeletePartner
581
+ * @memberof PartnersApiDeletePartner
582
582
  */
583
583
  readonly authorization?: string
584
584
  }
585
585
 
586
586
  /**
587
- * Request parameters for getPartner operation in PartnerApi.
587
+ * Request parameters for getPartner operation in PartnersApi.
588
588
  * @export
589
- * @interface PartnerApiGetPartnerRequest
589
+ * @interface PartnersApiGetPartnerRequest
590
590
  */
591
- export interface PartnerApiGetPartnerRequest {
591
+ export interface PartnersApiGetPartnerRequest {
592
592
  /**
593
593
  * Unique identifier for the object.
594
594
  * @type {string}
595
- * @memberof PartnerApiGetPartner
595
+ * @memberof PartnersApiGetPartner
596
596
  */
597
597
  readonly code: string
598
598
 
599
599
  /**
600
600
  * Bearer Token: provided by the login endpoint under the name accessToken.
601
601
  * @type {string}
602
- * @memberof PartnerApiGetPartner
602
+ * @memberof PartnersApiGetPartner
603
603
  */
604
604
  readonly authorization?: string
605
605
 
606
606
  /**
607
607
  *
608
608
  * @type {any}
609
- * @memberof PartnerApiGetPartner
609
+ * @memberof PartnersApiGetPartner
610
610
  */
611
611
  readonly expand?: any
612
612
  }
613
613
 
614
614
  /**
615
- * Request parameters for listPartners operation in PartnerApi.
615
+ * Request parameters for listPartners operation in PartnersApi.
616
616
  * @export
617
- * @interface PartnerApiListPartnersRequest
617
+ * @interface PartnersApiListPartnersRequest
618
618
  */
619
- export interface PartnerApiListPartnersRequest {
619
+ export interface PartnersApiListPartnersRequest {
620
620
  /**
621
621
  * Bearer Token: provided by the login endpoint under the name accessToken.
622
622
  * @type {string}
623
- * @memberof PartnerApiListPartners
623
+ * @memberof PartnersApiListPartners
624
624
  */
625
625
  readonly authorization?: string
626
626
 
627
627
  /**
628
628
  * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
629
629
  * @type {any}
630
- * @memberof PartnerApiListPartners
630
+ * @memberof PartnersApiListPartners
631
631
  */
632
632
  readonly pageSize?: any
633
633
 
634
634
  /**
635
635
  * 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.
636
636
  * @type {any}
637
- * @memberof PartnerApiListPartners
637
+ * @memberof PartnersApiListPartners
638
638
  */
639
639
  readonly pageToken?: any
640
640
 
641
641
  /**
642
- * 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>
642
+ * 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>
643
643
  * @type {string}
644
- * @memberof PartnerApiListPartners
644
+ * @memberof PartnersApiListPartners
645
645
  */
646
646
  readonly filter?: string
647
647
 
648
648
  /**
649
649
  * To search the list by any field, pass search=xxx to fetch the result.
650
650
  * @type {any}
651
- * @memberof PartnerApiListPartners
651
+ * @memberof PartnersApiListPartners
652
652
  */
653
653
  readonly search?: any
654
654
 
655
655
  /**
656
656
  * 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>
657
657
  * @type {string}
658
- * @memberof PartnerApiListPartners
658
+ * @memberof PartnersApiListPartners
659
659
  */
660
660
  readonly order?: string
661
661
 
662
662
  /**
663
663
  * 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>
664
664
  * @type {string}
665
- * @memberof PartnerApiListPartners
665
+ * @memberof PartnersApiListPartners
666
666
  */
667
667
  readonly expand?: string
668
668
 
669
669
  /**
670
- * 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>
670
+ * 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>
671
671
  * @type {string}
672
- * @memberof PartnerApiListPartners
672
+ * @memberof PartnersApiListPartners
673
673
  */
674
674
  readonly filters?: string
675
675
  }
676
676
 
677
677
  /**
678
- * Request parameters for tagPartner operation in PartnerApi.
678
+ * Request parameters for tagPartner operation in PartnersApi.
679
679
  * @export
680
- * @interface PartnerApiTagPartnerRequest
680
+ * @interface PartnersApiTagPartnerRequest
681
681
  */
682
- export interface PartnerApiTagPartnerRequest {
682
+ export interface PartnersApiTagPartnerRequest {
683
683
  /**
684
684
  *
685
685
  * @type {string}
686
- * @memberof PartnerApiTagPartner
686
+ * @memberof PartnersApiTagPartner
687
687
  */
688
688
  readonly code: string
689
689
 
690
690
  /**
691
691
  *
692
692
  * @type {TagPartnerRequestDtoRest}
693
- * @memberof PartnerApiTagPartner
693
+ * @memberof PartnersApiTagPartner
694
694
  */
695
695
  readonly tagPartnerRequestDtoRest: TagPartnerRequestDtoRest
696
696
 
697
697
  /**
698
698
  * Bearer Token: provided by the login endpoint under the name accessToken.
699
699
  * @type {string}
700
- * @memberof PartnerApiTagPartner
700
+ * @memberof PartnersApiTagPartner
701
701
  */
702
702
  readonly authorization?: string
703
703
  }
704
704
 
705
705
  /**
706
- * Request parameters for updatePartner operation in PartnerApi.
706
+ * Request parameters for updatePartner operation in PartnersApi.
707
707
  * @export
708
- * @interface PartnerApiUpdatePartnerRequest
708
+ * @interface PartnersApiUpdatePartnerRequest
709
709
  */
710
- export interface PartnerApiUpdatePartnerRequest {
710
+ export interface PartnersApiUpdatePartnerRequest {
711
711
  /**
712
712
  * Unique identifier for the object.
713
713
  * @type {string}
714
- * @memberof PartnerApiUpdatePartner
714
+ * @memberof PartnersApiUpdatePartner
715
715
  */
716
716
  readonly code: string
717
717
 
718
718
  /**
719
719
  *
720
720
  * @type {UpdatePartnerRequestDto}
721
- * @memberof PartnerApiUpdatePartner
721
+ * @memberof PartnersApiUpdatePartner
722
722
  */
723
723
  readonly updatePartnerRequestDto: UpdatePartnerRequestDto
724
724
 
725
725
  /**
726
726
  * Bearer Token: provided by the login endpoint under the name accessToken.
727
727
  * @type {string}
728
- * @memberof PartnerApiUpdatePartner
728
+ * @memberof PartnersApiUpdatePartner
729
729
  */
730
730
  readonly authorization?: string
731
731
  }
732
732
 
733
733
  /**
734
- * PartnerApi - object-oriented interface
734
+ * PartnersApi - object-oriented interface
735
735
  * @export
736
- * @class PartnerApi
736
+ * @class PartnersApi
737
737
  * @extends {BaseAPI}
738
738
  */
739
- export class PartnerApi extends BaseAPI {
739
+ export class PartnersApi extends BaseAPI {
740
740
  /**
741
741
  * This will create a partner.
742
742
  * @summary Create the partner
743
- * @param {PartnerApiCreatePartnerRequest} requestParameters Request parameters.
743
+ * @param {PartnersApiCreatePartnerRequest} requestParameters Request parameters.
744
744
  * @param {*} [options] Override http request option.
745
745
  * @throws {RequiredError}
746
- * @memberof PartnerApi
746
+ * @memberof PartnersApi
747
747
  */
748
- public createPartner(requestParameters: PartnerApiCreatePartnerRequest, options?: AxiosRequestConfig) {
749
- return PartnerApiFp(this.configuration).createPartner(requestParameters.createPartnerRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
748
+ public createPartner(requestParameters: PartnersApiCreatePartnerRequest, options?: AxiosRequestConfig) {
749
+ return PartnersApiFp(this.configuration).createPartner(requestParameters.createPartnerRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
750
750
  }
751
751
 
752
752
  /**
753
753
  * Permanently deletes the partner. Supply the unique code that was returned when you created the partner and this will delete it.
754
754
  * @summary Delete the partner
755
- * @param {PartnerApiDeletePartnerRequest} requestParameters Request parameters.
755
+ * @param {PartnersApiDeletePartnerRequest} requestParameters Request parameters.
756
756
  * @param {*} [options] Override http request option.
757
757
  * @throws {RequiredError}
758
- * @memberof PartnerApi
758
+ * @memberof PartnersApi
759
759
  */
760
- public deletePartner(requestParameters: PartnerApiDeletePartnerRequest, options?: AxiosRequestConfig) {
761
- return PartnerApiFp(this.configuration).deletePartner(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
760
+ public deletePartner(requestParameters: PartnersApiDeletePartnerRequest, options?: AxiosRequestConfig) {
761
+ return PartnersApiFp(this.configuration).deletePartner(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
762
762
  }
763
763
 
764
764
  /**
765
765
  * 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.
766
766
  * @summary Retrieve the partner
767
- * @param {PartnerApiGetPartnerRequest} requestParameters Request parameters.
767
+ * @param {PartnersApiGetPartnerRequest} requestParameters Request parameters.
768
768
  * @param {*} [options] Override http request option.
769
769
  * @throws {RequiredError}
770
- * @memberof PartnerApi
770
+ * @memberof PartnersApi
771
771
  */
772
- public getPartner(requestParameters: PartnerApiGetPartnerRequest, options?: AxiosRequestConfig) {
773
- return PartnerApiFp(this.configuration).getPartner(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
772
+ public getPartner(requestParameters: PartnersApiGetPartnerRequest, options?: AxiosRequestConfig) {
773
+ return PartnersApiFp(this.configuration).getPartner(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
774
774
  }
775
775
 
776
776
  /**
777
777
  * 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.
778
778
  * @summary List partners
779
- * @param {PartnerApiListPartnersRequest} requestParameters Request parameters.
779
+ * @param {PartnersApiListPartnersRequest} requestParameters Request parameters.
780
780
  * @param {*} [options] Override http request option.
781
781
  * @throws {RequiredError}
782
- * @memberof PartnerApi
782
+ * @memberof PartnersApi
783
783
  */
784
- public listPartners(requestParameters: PartnerApiListPartnersRequest = {}, options?: AxiosRequestConfig) {
785
- 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));
784
+ public listPartners(requestParameters: PartnersApiListPartnersRequest = {}, options?: AxiosRequestConfig) {
785
+ 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));
786
786
  }
787
787
 
788
788
  /**
789
789
  * Updates the specified partner by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
790
790
  * @summary Update the partner
791
- * @param {PartnerApiTagPartnerRequest} requestParameters Request parameters.
791
+ * @param {PartnersApiTagPartnerRequest} requestParameters Request parameters.
792
792
  * @param {*} [options] Override http request option.
793
793
  * @throws {RequiredError}
794
- * @memberof PartnerApi
794
+ * @memberof PartnersApi
795
795
  */
796
- public tagPartner(requestParameters: PartnerApiTagPartnerRequest, options?: AxiosRequestConfig) {
797
- return PartnerApiFp(this.configuration).tagPartner(requestParameters.code, requestParameters.tagPartnerRequestDtoRest, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
796
+ public tagPartner(requestParameters: PartnersApiTagPartnerRequest, options?: AxiosRequestConfig) {
797
+ return PartnersApiFp(this.configuration).tagPartner(requestParameters.code, requestParameters.tagPartnerRequestDtoRest, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
798
798
  }
799
799
 
800
800
  /**
801
801
  * Updates the specified partner by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
802
802
  * @summary Update the partner
803
- * @param {PartnerApiUpdatePartnerRequest} requestParameters Request parameters.
803
+ * @param {PartnersApiUpdatePartnerRequest} requestParameters Request parameters.
804
804
  * @param {*} [options] Override http request option.
805
805
  * @throws {RequiredError}
806
- * @memberof PartnerApi
806
+ * @memberof PartnersApi
807
807
  */
808
- public updatePartner(requestParameters: PartnerApiUpdatePartnerRequest, options?: AxiosRequestConfig) {
809
- return PartnerApiFp(this.configuration).updatePartner(requestParameters.code, requestParameters.updatePartnerRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
808
+ public updatePartner(requestParameters: PartnersApiUpdatePartnerRequest, options?: AxiosRequestConfig) {
809
+ return PartnersApiFp(this.configuration).updatePartner(requestParameters.code, requestParameters.updatePartnerRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
810
810
  }
811
811
  }
package/api.ts CHANGED
@@ -21,19 +21,17 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
21
21
  // @ts-ignore
22
22
  import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from './base';
23
23
  import { DefaultApi } from './api';
24
- import { PartnerApi } from './api';
25
- import { PartnerInvitationApi } from './api';
26
- import { PartnerRelationApi } from './api';
27
- import { PartnerTagApi } from './api';
28
- import { PartnerTypeApi } from './api';
24
+ import { PartnerRelationsApi } from './api';
25
+ import { PartnerTagsApi } from './api';
26
+ import { PartnerTypesApi } from './api';
29
27
  import { PartnerVersionApi } from './api';
28
+ import { PartnersApi } from './api';
30
29
 
31
30
 
32
31
  export * from './api/default-api';
33
- export * from './api/partner-api';
34
- export * from './api/partner-invitation-api';
35
- export * from './api/partner-relation-api';
36
- export * from './api/partner-tag-api';
37
- export * from './api/partner-type-api';
32
+ export * from './api/partner-relations-api';
33
+ export * from './api/partner-tags-api';
34
+ export * from './api/partner-types-api';
38
35
  export * from './api/partner-version-api';
36
+ export * from './api/partners-api';
39
37