@emilgroup/partner-sdk 1.5.0 → 1.5.1-beta.1
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.
- package/.openapi-generator/FILES +10 -4
- package/README.md +2 -2
- package/api/{partners-api.ts → partner-api.ts} +82 -82
- package/api/partner-invitation-api.ts +165 -0
- package/api/{partner-relations-api.ts → partner-relation-api.ts} +87 -87
- package/api/{partner-tags-api.ts → partner-tag-api.ts} +62 -62
- package/api/{partner-types-api.ts → partner-type-api.ts} +64 -64
- package/api.ts +10 -8
- package/dist/api/{partners-api.d.ts → partner-api.d.ts} +74 -74
- package/dist/api/{partners-api.js → partner-api.js} +49 -49
- package/dist/api/partner-invitation-api.d.ts +97 -0
- package/dist/api/partner-invitation-api.js +224 -0
- package/dist/api/{partner-relations-api.d.ts → partner-relation-api.d.ts} +78 -78
- package/dist/api/{partner-relations-api.js → partner-relation-api.js} +47 -47
- package/dist/api/{partner-tags-api.d.ts → partner-tag-api.d.ts} +55 -55
- package/dist/api/{partner-tags-api.js → partner-tag-api.js} +39 -39
- package/dist/api/{partner-types-api.d.ts → partner-type-api.d.ts} +57 -57
- package/dist/api/{partner-types-api.js → partner-type-api.js} +39 -39
- package/dist/api.d.ts +5 -4
- package/dist/api.js +5 -4
- package/dist/models/create-partner-request-dto.d.ts +6 -0
- package/dist/models/create-partner-response-class.d.ts +7 -0
- package/dist/models/index.d.ts +5 -0
- package/dist/models/index.js +5 -0
- package/dist/models/invite-class.d.ts +79 -0
- package/dist/models/invite-class.js +15 -0
- package/dist/models/invite-partner-to-eis-response-class.d.ts +25 -0
- package/dist/models/invite-partner-to-eis-response-class.js +15 -0
- package/dist/models/invite-partner-to-eisrequest-dto.d.ts +42 -0
- package/dist/models/invite-partner-to-eisrequest-dto.js +15 -0
- package/dist/models/partner-class.d.ts +18 -0
- package/dist/models/permission-class.d.ts +72 -0
- package/dist/models/permission-class.js +15 -0
- package/dist/models/role-class.d.ts +73 -0
- package/dist/models/role-class.js +15 -0
- package/models/create-partner-request-dto.ts +6 -0
- package/models/create-partner-response-class.ts +7 -0
- package/models/index.ts +5 -0
- package/models/invite-class.ts +85 -0
- package/models/invite-partner-to-eis-response-class.ts +31 -0
- package/models/invite-partner-to-eisrequest-dto.ts +48 -0
- package/models/partner-class.ts +18 -0
- package/models/permission-class.ts +78 -0
- package/models/role-class.ts +79 -0
- 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
|
-
*
|
|
40
|
+
* PartnerRelationApi - axios parameter creator
|
|
41
41
|
* @export
|
|
42
42
|
*/
|
|
43
|
-
export const
|
|
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
|
-
*
|
|
434
|
+
* PartnerRelationApi - functional programming interface
|
|
435
435
|
* @export
|
|
436
436
|
*/
|
|
437
|
-
export const
|
|
438
|
-
const localVarAxiosParamCreator =
|
|
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
|
-
*
|
|
541
|
+
* PartnerRelationApi - factory interface
|
|
542
542
|
* @export
|
|
543
543
|
*/
|
|
544
|
-
export const
|
|
545
|
-
const localVarFp =
|
|
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
|
|
641
|
+
* Request parameters for createPartnerRelation operation in PartnerRelationApi.
|
|
642
642
|
* @export
|
|
643
|
-
* @interface
|
|
643
|
+
* @interface PartnerRelationApiCreatePartnerRelationRequest
|
|
644
644
|
*/
|
|
645
|
-
export interface
|
|
645
|
+
export interface PartnerRelationApiCreatePartnerRelationRequest {
|
|
646
646
|
/**
|
|
647
647
|
*
|
|
648
648
|
* @type {CreatePartnerRelationRequestDtoRest}
|
|
649
|
-
* @memberof
|
|
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
|
|
656
|
+
* @memberof PartnerRelationApiCreatePartnerRelation
|
|
657
657
|
*/
|
|
658
658
|
readonly authorization?: string
|
|
659
659
|
}
|
|
660
660
|
|
|
661
661
|
/**
|
|
662
|
-
* Request parameters for deletePartnerRelation operation in
|
|
662
|
+
* Request parameters for deletePartnerRelation operation in PartnerRelationApi.
|
|
663
663
|
* @export
|
|
664
|
-
* @interface
|
|
664
|
+
* @interface PartnerRelationApiDeletePartnerRelationRequest
|
|
665
665
|
*/
|
|
666
|
-
export interface
|
|
666
|
+
export interface PartnerRelationApiDeletePartnerRelationRequest {
|
|
667
667
|
/**
|
|
668
668
|
*
|
|
669
669
|
* @type {number}
|
|
670
|
-
* @memberof
|
|
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
|
|
677
|
+
* @memberof PartnerRelationApiDeletePartnerRelation
|
|
678
678
|
*/
|
|
679
679
|
readonly authorization?: string
|
|
680
680
|
}
|
|
681
681
|
|
|
682
682
|
/**
|
|
683
|
-
* Request parameters for getPartnerRelation operation in
|
|
683
|
+
* Request parameters for getPartnerRelation operation in PartnerRelationApi.
|
|
684
684
|
* @export
|
|
685
|
-
* @interface
|
|
685
|
+
* @interface PartnerRelationApiGetPartnerRelationRequest
|
|
686
686
|
*/
|
|
687
|
-
export interface
|
|
687
|
+
export interface PartnerRelationApiGetPartnerRelationRequest {
|
|
688
688
|
/**
|
|
689
689
|
* Id of the partner relation
|
|
690
690
|
* @type {number}
|
|
691
|
-
* @memberof
|
|
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
|
|
698
|
+
* @memberof PartnerRelationApiGetPartnerRelation
|
|
699
699
|
*/
|
|
700
700
|
readonly authorization?: string
|
|
701
701
|
}
|
|
702
702
|
|
|
703
703
|
/**
|
|
704
|
-
* Request parameters for getPartnerRelationType operation in
|
|
704
|
+
* Request parameters for getPartnerRelationType operation in PartnerRelationApi.
|
|
705
705
|
* @export
|
|
706
|
-
* @interface
|
|
706
|
+
* @interface PartnerRelationApiGetPartnerRelationTypeRequest
|
|
707
707
|
*/
|
|
708
|
-
export interface
|
|
708
|
+
export interface PartnerRelationApiGetPartnerRelationTypeRequest {
|
|
709
709
|
/**
|
|
710
710
|
* Identifying slug of the partner relation type
|
|
711
711
|
* @type {string}
|
|
712
|
-
* @memberof
|
|
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
|
|
719
|
+
* @memberof PartnerRelationApiGetPartnerRelationType
|
|
720
720
|
*/
|
|
721
721
|
readonly authorization?: string
|
|
722
722
|
}
|
|
723
723
|
|
|
724
724
|
/**
|
|
725
|
-
* Request parameters for listPartnerRelationTypes operation in
|
|
725
|
+
* Request parameters for listPartnerRelationTypes operation in PartnerRelationApi.
|
|
726
726
|
* @export
|
|
727
|
-
* @interface
|
|
727
|
+
* @interface PartnerRelationApiListPartnerRelationTypesRequest
|
|
728
728
|
*/
|
|
729
|
-
export interface
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
782
|
+
* @memberof PartnerRelationApiListPartnerRelationTypes
|
|
783
783
|
*/
|
|
784
784
|
readonly filters?: string
|
|
785
785
|
}
|
|
786
786
|
|
|
787
787
|
/**
|
|
788
|
-
* Request parameters for listPartnerRelations operation in
|
|
788
|
+
* Request parameters for listPartnerRelations operation in PartnerRelationApi.
|
|
789
789
|
* @export
|
|
790
|
-
* @interface
|
|
790
|
+
* @interface PartnerRelationApiListPartnerRelationsRequest
|
|
791
791
|
*/
|
|
792
|
-
export interface
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
845
|
+
* @memberof PartnerRelationApiListPartnerRelations
|
|
846
846
|
*/
|
|
847
847
|
readonly filters?: string
|
|
848
848
|
}
|
|
849
849
|
|
|
850
850
|
/**
|
|
851
|
-
* Request parameters for updatePartnerRelation operation in
|
|
851
|
+
* Request parameters for updatePartnerRelation operation in PartnerRelationApi.
|
|
852
852
|
* @export
|
|
853
|
-
* @interface
|
|
853
|
+
* @interface PartnerRelationApiUpdatePartnerRelationRequest
|
|
854
854
|
*/
|
|
855
|
-
export interface
|
|
855
|
+
export interface PartnerRelationApiUpdatePartnerRelationRequest {
|
|
856
856
|
/**
|
|
857
857
|
* Id of the partner relation
|
|
858
858
|
* @type {number}
|
|
859
|
-
* @memberof
|
|
859
|
+
* @memberof PartnerRelationApiUpdatePartnerRelation
|
|
860
860
|
*/
|
|
861
861
|
readonly id: number
|
|
862
862
|
|
|
863
863
|
/**
|
|
864
864
|
*
|
|
865
865
|
* @type {UpdatePartnerRelationRequestDtoRest}
|
|
866
|
-
* @memberof
|
|
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
|
|
873
|
+
* @memberof PartnerRelationApiUpdatePartnerRelation
|
|
874
874
|
*/
|
|
875
875
|
readonly authorization?: string
|
|
876
876
|
}
|
|
877
877
|
|
|
878
878
|
/**
|
|
879
|
-
*
|
|
879
|
+
* PartnerRelationApi - object-oriented interface
|
|
880
880
|
* @export
|
|
881
|
-
* @class
|
|
881
|
+
* @class PartnerRelationApi
|
|
882
882
|
* @extends {BaseAPI}
|
|
883
883
|
*/
|
|
884
|
-
export class
|
|
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 {
|
|
888
|
+
* @param {PartnerRelationApiCreatePartnerRelationRequest} requestParameters Request parameters.
|
|
889
889
|
* @param {*} [options] Override http request option.
|
|
890
890
|
* @throws {RequiredError}
|
|
891
|
-
* @memberof
|
|
891
|
+
* @memberof PartnerRelationApi
|
|
892
892
|
*/
|
|
893
|
-
public createPartnerRelation(requestParameters:
|
|
894
|
-
return
|
|
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 {
|
|
900
|
+
* @param {PartnerRelationApiDeletePartnerRelationRequest} requestParameters Request parameters.
|
|
901
901
|
* @param {*} [options] Override http request option.
|
|
902
902
|
* @throws {RequiredError}
|
|
903
|
-
* @memberof
|
|
903
|
+
* @memberof PartnerRelationApi
|
|
904
904
|
*/
|
|
905
|
-
public deletePartnerRelation(requestParameters:
|
|
906
|
-
return
|
|
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 {
|
|
912
|
+
* @param {PartnerRelationApiGetPartnerRelationRequest} requestParameters Request parameters.
|
|
913
913
|
* @param {*} [options] Override http request option.
|
|
914
914
|
* @throws {RequiredError}
|
|
915
|
-
* @memberof
|
|
915
|
+
* @memberof PartnerRelationApi
|
|
916
916
|
*/
|
|
917
|
-
public getPartnerRelation(requestParameters:
|
|
918
|
-
return
|
|
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 {
|
|
924
|
+
* @param {PartnerRelationApiGetPartnerRelationTypeRequest} requestParameters Request parameters.
|
|
925
925
|
* @param {*} [options] Override http request option.
|
|
926
926
|
* @throws {RequiredError}
|
|
927
|
-
* @memberof
|
|
927
|
+
* @memberof PartnerRelationApi
|
|
928
928
|
*/
|
|
929
|
-
public getPartnerRelationType(requestParameters:
|
|
930
|
-
return
|
|
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 {
|
|
936
|
+
* @param {PartnerRelationApiListPartnerRelationTypesRequest} requestParameters Request parameters.
|
|
937
937
|
* @param {*} [options] Override http request option.
|
|
938
938
|
* @throws {RequiredError}
|
|
939
|
-
* @memberof
|
|
939
|
+
* @memberof PartnerRelationApi
|
|
940
940
|
*/
|
|
941
|
-
public listPartnerRelationTypes(requestParameters:
|
|
942
|
-
return
|
|
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 {
|
|
948
|
+
* @param {PartnerRelationApiListPartnerRelationsRequest} requestParameters Request parameters.
|
|
949
949
|
* @param {*} [options] Override http request option.
|
|
950
950
|
* @throws {RequiredError}
|
|
951
|
-
* @memberof
|
|
951
|
+
* @memberof PartnerRelationApi
|
|
952
952
|
*/
|
|
953
|
-
public listPartnerRelations(requestParameters:
|
|
954
|
-
return
|
|
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 {
|
|
960
|
+
* @param {PartnerRelationApiUpdatePartnerRelationRequest} requestParameters Request parameters.
|
|
961
961
|
* @param {*} [options] Override http request option.
|
|
962
962
|
* @throws {RequiredError}
|
|
963
|
-
* @memberof
|
|
963
|
+
* @memberof PartnerRelationApi
|
|
964
964
|
*/
|
|
965
|
-
public updatePartnerRelation(requestParameters:
|
|
966
|
-
return
|
|
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
|
}
|