@emilgroup/partner-sdk 1.5.0 → 1.5.1-beta.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 +10 -4
  2. package/README.md +2 -2
  3. package/api/{partners-api.ts → partner-api.ts} +82 -82
  4. package/api/partner-invitation-api.ts +165 -0
  5. package/api/{partner-relations-api.ts → partner-relation-api.ts} +87 -87
  6. package/api/{partner-tags-api.ts → partner-tag-api.ts} +62 -62
  7. package/api/{partner-types-api.ts → partner-type-api.ts} +64 -64
  8. package/api.ts +10 -8
  9. package/dist/api/{partners-api.d.ts → partner-api.d.ts} +74 -74
  10. package/dist/api/{partners-api.js → partner-api.js} +49 -49
  11. package/dist/api/partner-invitation-api.d.ts +97 -0
  12. package/dist/api/partner-invitation-api.js +224 -0
  13. package/dist/api/{partner-relations-api.d.ts → partner-relation-api.d.ts} +78 -78
  14. package/dist/api/{partner-relations-api.js → partner-relation-api.js} +47 -47
  15. package/dist/api/{partner-tags-api.d.ts → partner-tag-api.d.ts} +55 -55
  16. package/dist/api/{partner-tags-api.js → partner-tag-api.js} +39 -39
  17. package/dist/api/{partner-types-api.d.ts → partner-type-api.d.ts} +57 -57
  18. package/dist/api/{partner-types-api.js → partner-type-api.js} +39 -39
  19. package/dist/api.d.ts +5 -4
  20. package/dist/api.js +5 -4
  21. package/dist/models/create-partner-response-class.d.ts +7 -0
  22. package/dist/models/index.d.ts +5 -0
  23. package/dist/models/index.js +5 -0
  24. package/dist/models/invite-class.d.ts +79 -0
  25. package/dist/models/invite-class.js +15 -0
  26. package/dist/models/invite-partner-to-eis-response-class.d.ts +25 -0
  27. package/dist/models/invite-partner-to-eis-response-class.js +15 -0
  28. package/dist/models/invite-partner-to-eisrequest-dto.d.ts +42 -0
  29. package/dist/models/invite-partner-to-eisrequest-dto.js +15 -0
  30. package/dist/models/partner-class.d.ts +12 -0
  31. package/dist/models/permission-class.d.ts +72 -0
  32. package/dist/models/permission-class.js +15 -0
  33. package/dist/models/role-class.d.ts +73 -0
  34. package/dist/models/role-class.js +15 -0
  35. package/models/create-partner-response-class.ts +7 -0
  36. package/models/index.ts +5 -0
  37. package/models/invite-class.ts +85 -0
  38. package/models/invite-partner-to-eis-response-class.ts +31 -0
  39. package/models/invite-partner-to-eisrequest-dto.ts +48 -0
  40. package/models/partner-class.ts +12 -0
  41. package/models/permission-class.ts +78 -0
  42. package/models/role-class.ts +79 -0
  43. package/package.json +1 -1
@@ -37,10 +37,10 @@ import { ListPartnerRelationTypesClass } from '../models';
37
37
  // @ts-ignore
38
38
  import { UpdatePartnerRelationRequestDtoRest } from '../models';
39
39
  /**
40
- * PartnerRelationsApi - axios parameter creator
40
+ * PartnerRelationApi - axios parameter creator
41
41
  * @export
42
42
  */
43
- export const PartnerRelationsApiAxiosParamCreator = function (configuration?: Configuration) {
43
+ export const PartnerRelationApiAxiosParamCreator = function (configuration?: Configuration) {
44
44
  return {
45
45
  /**
46
46
  * This will create a relationship between two partners. For example a parent-child relationship, or a partnership agreement.
@@ -431,11 +431,11 @@ export const PartnerRelationsApiAxiosParamCreator = function (configuration?: Co
431
431
  };
432
432
 
433
433
  /**
434
- * PartnerRelationsApi - functional programming interface
434
+ * PartnerRelationApi - functional programming interface
435
435
  * @export
436
436
  */
437
- export const PartnerRelationsApiFp = function(configuration?: Configuration) {
438
- const localVarAxiosParamCreator = PartnerRelationsApiAxiosParamCreator(configuration)
437
+ export const PartnerRelationApiFp = function(configuration?: Configuration) {
438
+ const localVarAxiosParamCreator = PartnerRelationApiAxiosParamCreator(configuration)
439
439
  return {
440
440
  /**
441
441
  * This will create a relationship between two partners. For example a parent-child relationship, or a partnership agreement.
@@ -538,11 +538,11 @@ export const PartnerRelationsApiFp = function(configuration?: Configuration) {
538
538
  };
539
539
 
540
540
  /**
541
- * PartnerRelationsApi - factory interface
541
+ * PartnerRelationApi - factory interface
542
542
  * @export
543
543
  */
544
- export const PartnerRelationsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
545
- const localVarFp = PartnerRelationsApiFp(configuration)
544
+ export const PartnerRelationApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
545
+ const localVarFp = PartnerRelationApiFp(configuration)
546
546
  return {
547
547
  /**
548
548
  * This will create a relationship between two partners. For example a parent-child relationship, or a partnership agreement.
@@ -638,331 +638,331 @@ export const PartnerRelationsApiFactory = function (configuration?: Configuratio
638
638
  };
639
639
 
640
640
  /**
641
- * Request parameters for createPartnerRelation operation in PartnerRelationsApi.
641
+ * Request parameters for createPartnerRelation operation in PartnerRelationApi.
642
642
  * @export
643
- * @interface PartnerRelationsApiCreatePartnerRelationRequest
643
+ * @interface PartnerRelationApiCreatePartnerRelationRequest
644
644
  */
645
- export interface PartnerRelationsApiCreatePartnerRelationRequest {
645
+ export interface PartnerRelationApiCreatePartnerRelationRequest {
646
646
  /**
647
647
  *
648
648
  * @type {CreatePartnerRelationRequestDtoRest}
649
- * @memberof PartnerRelationsApiCreatePartnerRelation
649
+ * @memberof PartnerRelationApiCreatePartnerRelation
650
650
  */
651
651
  readonly createPartnerRelationRequestDtoRest: CreatePartnerRelationRequestDtoRest
652
652
 
653
653
  /**
654
654
  * Bearer Token: provided by the login endpoint under the name accessToken.
655
655
  * @type {string}
656
- * @memberof PartnerRelationsApiCreatePartnerRelation
656
+ * @memberof PartnerRelationApiCreatePartnerRelation
657
657
  */
658
658
  readonly authorization?: string
659
659
  }
660
660
 
661
661
  /**
662
- * Request parameters for deletePartnerRelation operation in PartnerRelationsApi.
662
+ * Request parameters for deletePartnerRelation operation in PartnerRelationApi.
663
663
  * @export
664
- * @interface PartnerRelationsApiDeletePartnerRelationRequest
664
+ * @interface PartnerRelationApiDeletePartnerRelationRequest
665
665
  */
666
- export interface PartnerRelationsApiDeletePartnerRelationRequest {
666
+ export interface PartnerRelationApiDeletePartnerRelationRequest {
667
667
  /**
668
668
  *
669
669
  * @type {number}
670
- * @memberof PartnerRelationsApiDeletePartnerRelation
670
+ * @memberof PartnerRelationApiDeletePartnerRelation
671
671
  */
672
672
  readonly id: number
673
673
 
674
674
  /**
675
675
  * Bearer Token: provided by the login endpoint under the name accessToken.
676
676
  * @type {string}
677
- * @memberof PartnerRelationsApiDeletePartnerRelation
677
+ * @memberof PartnerRelationApiDeletePartnerRelation
678
678
  */
679
679
  readonly authorization?: string
680
680
  }
681
681
 
682
682
  /**
683
- * Request parameters for getPartnerRelation operation in PartnerRelationsApi.
683
+ * Request parameters for getPartnerRelation operation in PartnerRelationApi.
684
684
  * @export
685
- * @interface PartnerRelationsApiGetPartnerRelationRequest
685
+ * @interface PartnerRelationApiGetPartnerRelationRequest
686
686
  */
687
- export interface PartnerRelationsApiGetPartnerRelationRequest {
687
+ export interface PartnerRelationApiGetPartnerRelationRequest {
688
688
  /**
689
689
  * Id of the partner relation
690
690
  * @type {number}
691
- * @memberof PartnerRelationsApiGetPartnerRelation
691
+ * @memberof PartnerRelationApiGetPartnerRelation
692
692
  */
693
693
  readonly id: number
694
694
 
695
695
  /**
696
696
  * Bearer Token: provided by the login endpoint under the name accessToken.
697
697
  * @type {string}
698
- * @memberof PartnerRelationsApiGetPartnerRelation
698
+ * @memberof PartnerRelationApiGetPartnerRelation
699
699
  */
700
700
  readonly authorization?: string
701
701
  }
702
702
 
703
703
  /**
704
- * Request parameters for getPartnerRelationType operation in PartnerRelationsApi.
704
+ * Request parameters for getPartnerRelationType operation in PartnerRelationApi.
705
705
  * @export
706
- * @interface PartnerRelationsApiGetPartnerRelationTypeRequest
706
+ * @interface PartnerRelationApiGetPartnerRelationTypeRequest
707
707
  */
708
- export interface PartnerRelationsApiGetPartnerRelationTypeRequest {
708
+ export interface PartnerRelationApiGetPartnerRelationTypeRequest {
709
709
  /**
710
710
  * Identifying slug of the partner relation type
711
711
  * @type {string}
712
- * @memberof PartnerRelationsApiGetPartnerRelationType
712
+ * @memberof PartnerRelationApiGetPartnerRelationType
713
713
  */
714
714
  readonly slug: string
715
715
 
716
716
  /**
717
717
  * Bearer Token: provided by the login endpoint under the name accessToken.
718
718
  * @type {string}
719
- * @memberof PartnerRelationsApiGetPartnerRelationType
719
+ * @memberof PartnerRelationApiGetPartnerRelationType
720
720
  */
721
721
  readonly authorization?: string
722
722
  }
723
723
 
724
724
  /**
725
- * Request parameters for listPartnerRelationTypes operation in PartnerRelationsApi.
725
+ * Request parameters for listPartnerRelationTypes operation in PartnerRelationApi.
726
726
  * @export
727
- * @interface PartnerRelationsApiListPartnerRelationTypesRequest
727
+ * @interface PartnerRelationApiListPartnerRelationTypesRequest
728
728
  */
729
- export interface PartnerRelationsApiListPartnerRelationTypesRequest {
729
+ export interface PartnerRelationApiListPartnerRelationTypesRequest {
730
730
  /**
731
731
  * Bearer Token: provided by the login endpoint under the name accessToken.
732
732
  * @type {string}
733
- * @memberof PartnerRelationsApiListPartnerRelationTypes
733
+ * @memberof PartnerRelationApiListPartnerRelationTypes
734
734
  */
735
735
  readonly authorization?: string
736
736
 
737
737
  /**
738
738
  * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
739
739
  * @type {any}
740
- * @memberof PartnerRelationsApiListPartnerRelationTypes
740
+ * @memberof PartnerRelationApiListPartnerRelationTypes
741
741
  */
742
742
  readonly pageSize?: any
743
743
 
744
744
  /**
745
745
  * 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.
746
746
  * @type {any}
747
- * @memberof PartnerRelationsApiListPartnerRelationTypes
747
+ * @memberof PartnerRelationApiListPartnerRelationTypes
748
748
  */
749
749
  readonly pageToken?: any
750
750
 
751
751
  /**
752
752
  * 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, slug, relationName, maxCardinality, inverseMaxCardinality</i>
753
753
  * @type {string}
754
- * @memberof PartnerRelationsApiListPartnerRelationTypes
754
+ * @memberof PartnerRelationApiListPartnerRelationTypes
755
755
  */
756
756
  readonly filter?: string
757
757
 
758
758
  /**
759
759
  * To search the list by any field, pass search=xxx to fetch the result.
760
760
  * @type {any}
761
- * @memberof PartnerRelationsApiListPartnerRelationTypes
761
+ * @memberof PartnerRelationApiListPartnerRelationTypes
762
762
  */
763
763
  readonly search?: any
764
764
 
765
765
  /**
766
766
  * 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, slug, maxCardinality, inverseMaxCardinality, createdAt, updatedAt</i>
767
767
  * @type {string}
768
- * @memberof PartnerRelationsApiListPartnerRelationTypes
768
+ * @memberof PartnerRelationApiListPartnerRelationTypes
769
769
  */
770
770
  readonly order?: string
771
771
 
772
772
  /**
773
773
  * 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: <i>
774
774
  * @type {string}
775
- * @memberof PartnerRelationsApiListPartnerRelationTypes
775
+ * @memberof PartnerRelationApiListPartnerRelationTypes
776
776
  */
777
777
  readonly expand?: string
778
778
 
779
779
  /**
780
780
  * 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, slug, relationName, maxCardinality, inverseMaxCardinality</i>
781
781
  * @type {string}
782
- * @memberof PartnerRelationsApiListPartnerRelationTypes
782
+ * @memberof PartnerRelationApiListPartnerRelationTypes
783
783
  */
784
784
  readonly filters?: string
785
785
  }
786
786
 
787
787
  /**
788
- * Request parameters for listPartnerRelations operation in PartnerRelationsApi.
788
+ * Request parameters for listPartnerRelations operation in PartnerRelationApi.
789
789
  * @export
790
- * @interface PartnerRelationsApiListPartnerRelationsRequest
790
+ * @interface PartnerRelationApiListPartnerRelationsRequest
791
791
  */
792
- export interface PartnerRelationsApiListPartnerRelationsRequest {
792
+ export interface PartnerRelationApiListPartnerRelationsRequest {
793
793
  /**
794
794
  * Bearer Token: provided by the login endpoint under the name accessToken.
795
795
  * @type {string}
796
- * @memberof PartnerRelationsApiListPartnerRelations
796
+ * @memberof PartnerRelationApiListPartnerRelations
797
797
  */
798
798
  readonly authorization?: string
799
799
 
800
800
  /**
801
801
  * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
802
802
  * @type {any}
803
- * @memberof PartnerRelationsApiListPartnerRelations
803
+ * @memberof PartnerRelationApiListPartnerRelations
804
804
  */
805
805
  readonly pageSize?: any
806
806
 
807
807
  /**
808
808
  * 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.
809
809
  * @type {any}
810
- * @memberof PartnerRelationsApiListPartnerRelations
810
+ * @memberof PartnerRelationApiListPartnerRelations
811
811
  */
812
812
  readonly pageToken?: any
813
813
 
814
814
  /**
815
815
  * 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, partner1Id, partner2Id, partnerRelationTypeSlug, partnerRelationTypeId</i>
816
816
  * @type {string}
817
- * @memberof PartnerRelationsApiListPartnerRelations
817
+ * @memberof PartnerRelationApiListPartnerRelations
818
818
  */
819
819
  readonly filter?: string
820
820
 
821
821
  /**
822
822
  * To search the list by any field, pass search=xxx to fetch the result.
823
823
  * @type {any}
824
- * @memberof PartnerRelationsApiListPartnerRelations
824
+ * @memberof PartnerRelationApiListPartnerRelations
825
825
  */
826
826
  readonly search?: any
827
827
 
828
828
  /**
829
829
  * 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, partnerRelationTypeId, startDate, endDate, createdAt, updatedAt</i>
830
830
  * @type {string}
831
- * @memberof PartnerRelationsApiListPartnerRelations
831
+ * @memberof PartnerRelationApiListPartnerRelations
832
832
  */
833
833
  readonly order?: string
834
834
 
835
835
  /**
836
836
  * 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: partnerRelationType<i>
837
837
  * @type {string}
838
- * @memberof PartnerRelationsApiListPartnerRelations
838
+ * @memberof PartnerRelationApiListPartnerRelations
839
839
  */
840
840
  readonly expand?: string
841
841
 
842
842
  /**
843
843
  * 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, partner1Id, partner2Id, partnerRelationTypeSlug, partnerRelationTypeId</i>
844
844
  * @type {string}
845
- * @memberof PartnerRelationsApiListPartnerRelations
845
+ * @memberof PartnerRelationApiListPartnerRelations
846
846
  */
847
847
  readonly filters?: string
848
848
  }
849
849
 
850
850
  /**
851
- * Request parameters for updatePartnerRelation operation in PartnerRelationsApi.
851
+ * Request parameters for updatePartnerRelation operation in PartnerRelationApi.
852
852
  * @export
853
- * @interface PartnerRelationsApiUpdatePartnerRelationRequest
853
+ * @interface PartnerRelationApiUpdatePartnerRelationRequest
854
854
  */
855
- export interface PartnerRelationsApiUpdatePartnerRelationRequest {
855
+ export interface PartnerRelationApiUpdatePartnerRelationRequest {
856
856
  /**
857
857
  * Id of the partner relation
858
858
  * @type {number}
859
- * @memberof PartnerRelationsApiUpdatePartnerRelation
859
+ * @memberof PartnerRelationApiUpdatePartnerRelation
860
860
  */
861
861
  readonly id: number
862
862
 
863
863
  /**
864
864
  *
865
865
  * @type {UpdatePartnerRelationRequestDtoRest}
866
- * @memberof PartnerRelationsApiUpdatePartnerRelation
866
+ * @memberof PartnerRelationApiUpdatePartnerRelation
867
867
  */
868
868
  readonly updatePartnerRelationRequestDtoRest: UpdatePartnerRelationRequestDtoRest
869
869
 
870
870
  /**
871
871
  * Bearer Token: provided by the login endpoint under the name accessToken.
872
872
  * @type {string}
873
- * @memberof PartnerRelationsApiUpdatePartnerRelation
873
+ * @memberof PartnerRelationApiUpdatePartnerRelation
874
874
  */
875
875
  readonly authorization?: string
876
876
  }
877
877
 
878
878
  /**
879
- * PartnerRelationsApi - object-oriented interface
879
+ * PartnerRelationApi - object-oriented interface
880
880
  * @export
881
- * @class PartnerRelationsApi
881
+ * @class PartnerRelationApi
882
882
  * @extends {BaseAPI}
883
883
  */
884
- export class PartnerRelationsApi extends BaseAPI {
884
+ export class PartnerRelationApi extends BaseAPI {
885
885
  /**
886
886
  * This will create a relationship between two partners. For example a parent-child relationship, or a partnership agreement.
887
887
  * @summary Create the partner relation
888
- * @param {PartnerRelationsApiCreatePartnerRelationRequest} requestParameters Request parameters.
888
+ * @param {PartnerRelationApiCreatePartnerRelationRequest} requestParameters Request parameters.
889
889
  * @param {*} [options] Override http request option.
890
890
  * @throws {RequiredError}
891
- * @memberof PartnerRelationsApi
891
+ * @memberof PartnerRelationApi
892
892
  */
893
- public createPartnerRelation(requestParameters: PartnerRelationsApiCreatePartnerRelationRequest, options?: AxiosRequestConfig) {
894
- return PartnerRelationsApiFp(this.configuration).createPartnerRelation(requestParameters.createPartnerRelationRequestDtoRest, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
893
+ public createPartnerRelation(requestParameters: PartnerRelationApiCreatePartnerRelationRequest, options?: AxiosRequestConfig) {
894
+ return PartnerRelationApiFp(this.configuration).createPartnerRelation(requestParameters.createPartnerRelationRequestDtoRest, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
895
895
  }
896
896
 
897
897
  /**
898
898
  * Permanently deletes the partner-relation. Supply the unique code that was returned when you created the partner-relation and this will delete it.
899
899
  * @summary Delete the partner-relation
900
- * @param {PartnerRelationsApiDeletePartnerRelationRequest} requestParameters Request parameters.
900
+ * @param {PartnerRelationApiDeletePartnerRelationRequest} requestParameters Request parameters.
901
901
  * @param {*} [options] Override http request option.
902
902
  * @throws {RequiredError}
903
- * @memberof PartnerRelationsApi
903
+ * @memberof PartnerRelationApi
904
904
  */
905
- public deletePartnerRelation(requestParameters: PartnerRelationsApiDeletePartnerRelationRequest, options?: AxiosRequestConfig) {
906
- return PartnerRelationsApiFp(this.configuration).deletePartnerRelation(requestParameters.id, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
905
+ public deletePartnerRelation(requestParameters: PartnerRelationApiDeletePartnerRelationRequest, options?: AxiosRequestConfig) {
906
+ return PartnerRelationApiFp(this.configuration).deletePartnerRelation(requestParameters.id, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
907
907
  }
908
908
 
909
909
  /**
910
910
  * Retrieve a single partner relation identified by its id
911
911
  * @summary Retrieve the partner relation
912
- * @param {PartnerRelationsApiGetPartnerRelationRequest} requestParameters Request parameters.
912
+ * @param {PartnerRelationApiGetPartnerRelationRequest} requestParameters Request parameters.
913
913
  * @param {*} [options] Override http request option.
914
914
  * @throws {RequiredError}
915
- * @memberof PartnerRelationsApi
915
+ * @memberof PartnerRelationApi
916
916
  */
917
- public getPartnerRelation(requestParameters: PartnerRelationsApiGetPartnerRelationRequest, options?: AxiosRequestConfig) {
918
- return PartnerRelationsApiFp(this.configuration).getPartnerRelation(requestParameters.id, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
917
+ public getPartnerRelation(requestParameters: PartnerRelationApiGetPartnerRelationRequest, options?: AxiosRequestConfig) {
918
+ return PartnerRelationApiFp(this.configuration).getPartnerRelation(requestParameters.id, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
919
919
  }
920
920
 
921
921
  /**
922
922
  * Retrieve a single partner relation type identified with a slug - can be used to create partner relations
923
923
  * @summary Retrieve the partner relation type
924
- * @param {PartnerRelationsApiGetPartnerRelationTypeRequest} requestParameters Request parameters.
924
+ * @param {PartnerRelationApiGetPartnerRelationTypeRequest} requestParameters Request parameters.
925
925
  * @param {*} [options] Override http request option.
926
926
  * @throws {RequiredError}
927
- * @memberof PartnerRelationsApi
927
+ * @memberof PartnerRelationApi
928
928
  */
929
- public getPartnerRelationType(requestParameters: PartnerRelationsApiGetPartnerRelationTypeRequest, options?: AxiosRequestConfig) {
930
- return PartnerRelationsApiFp(this.configuration).getPartnerRelationType(requestParameters.slug, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
929
+ public getPartnerRelationType(requestParameters: PartnerRelationApiGetPartnerRelationTypeRequest, options?: AxiosRequestConfig) {
930
+ return PartnerRelationApiFp(this.configuration).getPartnerRelationType(requestParameters.slug, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
931
931
  }
932
932
 
933
933
  /**
934
934
  * List all partner relation types - is used to create partner relations
935
935
  * @summary List partner relation types
936
- * @param {PartnerRelationsApiListPartnerRelationTypesRequest} requestParameters Request parameters.
936
+ * @param {PartnerRelationApiListPartnerRelationTypesRequest} requestParameters Request parameters.
937
937
  * @param {*} [options] Override http request option.
938
938
  * @throws {RequiredError}
939
- * @memberof PartnerRelationsApi
939
+ * @memberof PartnerRelationApi
940
940
  */
941
- public listPartnerRelationTypes(requestParameters: PartnerRelationsApiListPartnerRelationTypesRequest = {}, options?: AxiosRequestConfig) {
942
- return PartnerRelationsApiFp(this.configuration).listPartnerRelationTypes(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
941
+ public listPartnerRelationTypes(requestParameters: PartnerRelationApiListPartnerRelationTypesRequest = {}, options?: AxiosRequestConfig) {
942
+ return PartnerRelationApiFp(this.configuration).listPartnerRelationTypes(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
943
943
  }
944
944
 
945
945
  /**
946
946
  * List all partner relations
947
947
  * @summary List partner relations
948
- * @param {PartnerRelationsApiListPartnerRelationsRequest} requestParameters Request parameters.
948
+ * @param {PartnerRelationApiListPartnerRelationsRequest} requestParameters Request parameters.
949
949
  * @param {*} [options] Override http request option.
950
950
  * @throws {RequiredError}
951
- * @memberof PartnerRelationsApi
951
+ * @memberof PartnerRelationApi
952
952
  */
953
- public listPartnerRelations(requestParameters: PartnerRelationsApiListPartnerRelationsRequest = {}, options?: AxiosRequestConfig) {
954
- return PartnerRelationsApiFp(this.configuration).listPartnerRelations(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
953
+ public listPartnerRelations(requestParameters: PartnerRelationApiListPartnerRelationsRequest = {}, options?: AxiosRequestConfig) {
954
+ return PartnerRelationApiFp(this.configuration).listPartnerRelations(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
955
955
  }
956
956
 
957
957
  /**
958
958
  * Update a partner relation identified by its id
959
959
  * @summary Update the partner relation
960
- * @param {PartnerRelationsApiUpdatePartnerRelationRequest} requestParameters Request parameters.
960
+ * @param {PartnerRelationApiUpdatePartnerRelationRequest} requestParameters Request parameters.
961
961
  * @param {*} [options] Override http request option.
962
962
  * @throws {RequiredError}
963
- * @memberof PartnerRelationsApi
963
+ * @memberof PartnerRelationApi
964
964
  */
965
- public updatePartnerRelation(requestParameters: PartnerRelationsApiUpdatePartnerRelationRequest, options?: AxiosRequestConfig) {
966
- return PartnerRelationsApiFp(this.configuration).updatePartnerRelation(requestParameters.id, requestParameters.updatePartnerRelationRequestDtoRest, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
965
+ public updatePartnerRelation(requestParameters: PartnerRelationApiUpdatePartnerRelationRequest, options?: AxiosRequestConfig) {
966
+ return PartnerRelationApiFp(this.configuration).updatePartnerRelation(requestParameters.id, requestParameters.updatePartnerRelationRequestDtoRest, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
967
967
  }
968
968
  }