@emilgroup/partner-sdk-node 1.13.0 → 1.13.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.
- package/README.md +2 -2
- package/api/partner-invitations-api.ts +4 -4
- package/api/partner-relations-api.ts +28 -28
- package/api/partner-tags-api.ts +24 -24
- package/api/partner-types-api.ts +20 -20
- package/api/partner-versions-api.ts +8 -8
- package/api/partners-api.ts +28 -28
- package/dist/api/partner-invitations-api.d.ts +4 -4
- package/dist/api/partner-invitations-api.js +4 -4
- package/dist/api/partner-relations-api.d.ts +28 -28
- package/dist/api/partner-relations-api.js +28 -28
- package/dist/api/partner-tags-api.d.ts +24 -24
- package/dist/api/partner-tags-api.js +23 -23
- package/dist/api/partner-types-api.d.ts +20 -20
- package/dist/api/partner-types-api.js +20 -20
- package/dist/api/partner-versions-api.d.ts +8 -8
- package/dist/api/partner-versions-api.js +8 -8
- package/dist/api/partners-api.d.ts +28 -28
- package/dist/api/partners-api.js +28 -28
- package/package.json +1 -1
|
@@ -26,7 +26,7 @@ import { UpdatePartnerRelationRequestDtoRest } from '../models';
|
|
|
26
26
|
*/
|
|
27
27
|
export declare const PartnerRelationsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
28
28
|
/**
|
|
29
|
-
* This will create a relationship between two partners. For example a parent-child relationship, or a partnership agreement.
|
|
29
|
+
* This will create a relationship between two partners. For example a parent-child relationship, or a partnership agreement. **Required Permissions** \"partner-management.partners.create\"
|
|
30
30
|
* @summary Create the partner relation
|
|
31
31
|
* @param {CreatePartnerRelationRequestDtoRest} createPartnerRelationRequestDtoRest
|
|
32
32
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -35,7 +35,7 @@ export declare const PartnerRelationsApiAxiosParamCreator: (configuration?: Conf
|
|
|
35
35
|
*/
|
|
36
36
|
createPartnerRelation: (createPartnerRelationRequestDtoRest: CreatePartnerRelationRequestDtoRest, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
37
37
|
/**
|
|
38
|
-
* Permanently deletes the partner-relation. Supply the unique code that was returned when you created the partner-relation and this will delete it.
|
|
38
|
+
* Permanently deletes the partner-relation. Supply the unique code that was returned when you created the partner-relation and this will delete it. **Required Permissions** \"partner-management.partners.delete\"
|
|
39
39
|
* @summary Delete the partner-relation
|
|
40
40
|
* @param {number} id
|
|
41
41
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -44,7 +44,7 @@ export declare const PartnerRelationsApiAxiosParamCreator: (configuration?: Conf
|
|
|
44
44
|
*/
|
|
45
45
|
deletePartnerRelation: (id: number, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
46
46
|
/**
|
|
47
|
-
* Retrieve a single partner relation identified by its id
|
|
47
|
+
* Retrieve a single partner relation identified by its id **Required Permissions** \"partner-management.partners.view\"
|
|
48
48
|
* @summary Retrieve the partner relation
|
|
49
49
|
* @param {number} id Id of the partner relation
|
|
50
50
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -53,7 +53,7 @@ export declare const PartnerRelationsApiAxiosParamCreator: (configuration?: Conf
|
|
|
53
53
|
*/
|
|
54
54
|
getPartnerRelation: (id: number, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
55
55
|
/**
|
|
56
|
-
* Retrieve a single partner relation type identified with a slug - can be used to create partner relations
|
|
56
|
+
* Retrieve a single partner relation type identified with a slug - can be used to create partner relations **Required Permissions** \"partner-management.partners.view\"
|
|
57
57
|
* @summary Retrieve the partner relation type
|
|
58
58
|
* @param {string} slug Identifying slug of the partner relation type
|
|
59
59
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -62,7 +62,7 @@ export declare const PartnerRelationsApiAxiosParamCreator: (configuration?: Conf
|
|
|
62
62
|
*/
|
|
63
63
|
getPartnerRelationType: (slug: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
64
64
|
/**
|
|
65
|
-
* List all partner relation types - is used to create partner relations
|
|
65
|
+
* List all partner relation types - is used to create partner relations **Required Permissions** \"partner-management.partners.view\"
|
|
66
66
|
* @summary List partner relation types
|
|
67
67
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
68
68
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -77,7 +77,7 @@ export declare const PartnerRelationsApiAxiosParamCreator: (configuration?: Conf
|
|
|
77
77
|
*/
|
|
78
78
|
listPartnerRelationTypes: (authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
79
79
|
/**
|
|
80
|
-
* List all partner relations
|
|
80
|
+
* List all partner relations **Required Permissions** \"partner-management.partners.view\"
|
|
81
81
|
* @summary List partner relations
|
|
82
82
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
83
83
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -92,7 +92,7 @@ export declare const PartnerRelationsApiAxiosParamCreator: (configuration?: Conf
|
|
|
92
92
|
*/
|
|
93
93
|
listPartnerRelations: (authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
94
94
|
/**
|
|
95
|
-
* Update a partner relation identified by its id
|
|
95
|
+
* Update a partner relation identified by its id **Required Permissions** \"partner-management.partners.update\"
|
|
96
96
|
* @summary Update the partner relation
|
|
97
97
|
* @param {number} id Id of the partner relation
|
|
98
98
|
* @param {UpdatePartnerRelationRequestDtoRest} updatePartnerRelationRequestDtoRest
|
|
@@ -108,7 +108,7 @@ export declare const PartnerRelationsApiAxiosParamCreator: (configuration?: Conf
|
|
|
108
108
|
*/
|
|
109
109
|
export declare const PartnerRelationsApiFp: (configuration?: Configuration) => {
|
|
110
110
|
/**
|
|
111
|
-
* This will create a relationship between two partners. For example a parent-child relationship, or a partnership agreement.
|
|
111
|
+
* This will create a relationship between two partners. For example a parent-child relationship, or a partnership agreement. **Required Permissions** \"partner-management.partners.create\"
|
|
112
112
|
* @summary Create the partner relation
|
|
113
113
|
* @param {CreatePartnerRelationRequestDtoRest} createPartnerRelationRequestDtoRest
|
|
114
114
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -117,7 +117,7 @@ export declare const PartnerRelationsApiFp: (configuration?: Configuration) => {
|
|
|
117
117
|
*/
|
|
118
118
|
createPartnerRelation(createPartnerRelationRequestDtoRest: CreatePartnerRelationRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePartnerRelationResponseClass>>;
|
|
119
119
|
/**
|
|
120
|
-
* Permanently deletes the partner-relation. Supply the unique code that was returned when you created the partner-relation and this will delete it.
|
|
120
|
+
* Permanently deletes the partner-relation. Supply the unique code that was returned when you created the partner-relation and this will delete it. **Required Permissions** \"partner-management.partners.delete\"
|
|
121
121
|
* @summary Delete the partner-relation
|
|
122
122
|
* @param {number} id
|
|
123
123
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -126,7 +126,7 @@ export declare const PartnerRelationsApiFp: (configuration?: Configuration) => {
|
|
|
126
126
|
*/
|
|
127
127
|
deletePartnerRelation(id: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteResponseClass>>;
|
|
128
128
|
/**
|
|
129
|
-
* Retrieve a single partner relation identified by its id
|
|
129
|
+
* Retrieve a single partner relation identified by its id **Required Permissions** \"partner-management.partners.view\"
|
|
130
130
|
* @summary Retrieve the partner relation
|
|
131
131
|
* @param {number} id Id of the partner relation
|
|
132
132
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -135,7 +135,7 @@ export declare const PartnerRelationsApiFp: (configuration?: Configuration) => {
|
|
|
135
135
|
*/
|
|
136
136
|
getPartnerRelation(id: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPartnerRelationClass>>;
|
|
137
137
|
/**
|
|
138
|
-
* Retrieve a single partner relation type identified with a slug - can be used to create partner relations
|
|
138
|
+
* Retrieve a single partner relation type identified with a slug - can be used to create partner relations **Required Permissions** \"partner-management.partners.view\"
|
|
139
139
|
* @summary Retrieve the partner relation type
|
|
140
140
|
* @param {string} slug Identifying slug of the partner relation type
|
|
141
141
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -144,7 +144,7 @@ export declare const PartnerRelationsApiFp: (configuration?: Configuration) => {
|
|
|
144
144
|
*/
|
|
145
145
|
getPartnerRelationType(slug: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPartnerRelationTypeClass>>;
|
|
146
146
|
/**
|
|
147
|
-
* List all partner relation types - is used to create partner relations
|
|
147
|
+
* List all partner relation types - is used to create partner relations **Required Permissions** \"partner-management.partners.view\"
|
|
148
148
|
* @summary List partner relation types
|
|
149
149
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
150
150
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -159,7 +159,7 @@ export declare const PartnerRelationsApiFp: (configuration?: Configuration) => {
|
|
|
159
159
|
*/
|
|
160
160
|
listPartnerRelationTypes(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPartnerRelationTypesClass>>;
|
|
161
161
|
/**
|
|
162
|
-
* List all partner relations
|
|
162
|
+
* List all partner relations **Required Permissions** \"partner-management.partners.view\"
|
|
163
163
|
* @summary List partner relations
|
|
164
164
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
165
165
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -174,7 +174,7 @@ export declare const PartnerRelationsApiFp: (configuration?: Configuration) => {
|
|
|
174
174
|
*/
|
|
175
175
|
listPartnerRelations(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPartnerRelationClass>>;
|
|
176
176
|
/**
|
|
177
|
-
* Update a partner relation identified by its id
|
|
177
|
+
* Update a partner relation identified by its id **Required Permissions** \"partner-management.partners.update\"
|
|
178
178
|
* @summary Update the partner relation
|
|
179
179
|
* @param {number} id Id of the partner relation
|
|
180
180
|
* @param {UpdatePartnerRelationRequestDtoRest} updatePartnerRelationRequestDtoRest
|
|
@@ -190,7 +190,7 @@ export declare const PartnerRelationsApiFp: (configuration?: Configuration) => {
|
|
|
190
190
|
*/
|
|
191
191
|
export declare const PartnerRelationsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
192
192
|
/**
|
|
193
|
-
* This will create a relationship between two partners. For example a parent-child relationship, or a partnership agreement.
|
|
193
|
+
* This will create a relationship between two partners. For example a parent-child relationship, or a partnership agreement. **Required Permissions** \"partner-management.partners.create\"
|
|
194
194
|
* @summary Create the partner relation
|
|
195
195
|
* @param {CreatePartnerRelationRequestDtoRest} createPartnerRelationRequestDtoRest
|
|
196
196
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -199,7 +199,7 @@ export declare const PartnerRelationsApiFactory: (configuration?: Configuration,
|
|
|
199
199
|
*/
|
|
200
200
|
createPartnerRelation(createPartnerRelationRequestDtoRest: CreatePartnerRelationRequestDtoRest, authorization?: string, options?: any): AxiosPromise<CreatePartnerRelationResponseClass>;
|
|
201
201
|
/**
|
|
202
|
-
* Permanently deletes the partner-relation. Supply the unique code that was returned when you created the partner-relation and this will delete it.
|
|
202
|
+
* Permanently deletes the partner-relation. Supply the unique code that was returned when you created the partner-relation and this will delete it. **Required Permissions** \"partner-management.partners.delete\"
|
|
203
203
|
* @summary Delete the partner-relation
|
|
204
204
|
* @param {number} id
|
|
205
205
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -208,7 +208,7 @@ export declare const PartnerRelationsApiFactory: (configuration?: Configuration,
|
|
|
208
208
|
*/
|
|
209
209
|
deletePartnerRelation(id: number, authorization?: string, options?: any): AxiosPromise<DeleteResponseClass>;
|
|
210
210
|
/**
|
|
211
|
-
* Retrieve a single partner relation identified by its id
|
|
211
|
+
* Retrieve a single partner relation identified by its id **Required Permissions** \"partner-management.partners.view\"
|
|
212
212
|
* @summary Retrieve the partner relation
|
|
213
213
|
* @param {number} id Id of the partner relation
|
|
214
214
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -217,7 +217,7 @@ export declare const PartnerRelationsApiFactory: (configuration?: Configuration,
|
|
|
217
217
|
*/
|
|
218
218
|
getPartnerRelation(id: number, authorization?: string, options?: any): AxiosPromise<GetPartnerRelationClass>;
|
|
219
219
|
/**
|
|
220
|
-
* Retrieve a single partner relation type identified with a slug - can be used to create partner relations
|
|
220
|
+
* Retrieve a single partner relation type identified with a slug - can be used to create partner relations **Required Permissions** \"partner-management.partners.view\"
|
|
221
221
|
* @summary Retrieve the partner relation type
|
|
222
222
|
* @param {string} slug Identifying slug of the partner relation type
|
|
223
223
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -226,7 +226,7 @@ export declare const PartnerRelationsApiFactory: (configuration?: Configuration,
|
|
|
226
226
|
*/
|
|
227
227
|
getPartnerRelationType(slug: string, authorization?: string, options?: any): AxiosPromise<GetPartnerRelationTypeClass>;
|
|
228
228
|
/**
|
|
229
|
-
* List all partner relation types - is used to create partner relations
|
|
229
|
+
* List all partner relation types - is used to create partner relations **Required Permissions** \"partner-management.partners.view\"
|
|
230
230
|
* @summary List partner relation types
|
|
231
231
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
232
232
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -241,7 +241,7 @@ export declare const PartnerRelationsApiFactory: (configuration?: Configuration,
|
|
|
241
241
|
*/
|
|
242
242
|
listPartnerRelationTypes(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListPartnerRelationTypesClass>;
|
|
243
243
|
/**
|
|
244
|
-
* List all partner relations
|
|
244
|
+
* List all partner relations **Required Permissions** \"partner-management.partners.view\"
|
|
245
245
|
* @summary List partner relations
|
|
246
246
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
247
247
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -256,7 +256,7 @@ export declare const PartnerRelationsApiFactory: (configuration?: Configuration,
|
|
|
256
256
|
*/
|
|
257
257
|
listPartnerRelations(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListPartnerRelationClass>;
|
|
258
258
|
/**
|
|
259
|
-
* Update a partner relation identified by its id
|
|
259
|
+
* Update a partner relation identified by its id **Required Permissions** \"partner-management.partners.update\"
|
|
260
260
|
* @summary Update the partner relation
|
|
261
261
|
* @param {number} id Id of the partner relation
|
|
262
262
|
* @param {UpdatePartnerRelationRequestDtoRest} updatePartnerRelationRequestDtoRest
|
|
@@ -485,7 +485,7 @@ export interface PartnerRelationsApiUpdatePartnerRelationRequest {
|
|
|
485
485
|
*/
|
|
486
486
|
export declare class PartnerRelationsApi extends BaseAPI {
|
|
487
487
|
/**
|
|
488
|
-
* This will create a relationship between two partners. For example a parent-child relationship, or a partnership agreement.
|
|
488
|
+
* This will create a relationship between two partners. For example a parent-child relationship, or a partnership agreement. **Required Permissions** \"partner-management.partners.create\"
|
|
489
489
|
* @summary Create the partner relation
|
|
490
490
|
* @param {PartnerRelationsApiCreatePartnerRelationRequest} requestParameters Request parameters.
|
|
491
491
|
* @param {*} [options] Override http request option.
|
|
@@ -494,7 +494,7 @@ export declare class PartnerRelationsApi extends BaseAPI {
|
|
|
494
494
|
*/
|
|
495
495
|
createPartnerRelation(requestParameters: PartnerRelationsApiCreatePartnerRelationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePartnerRelationResponseClass, any>>;
|
|
496
496
|
/**
|
|
497
|
-
* Permanently deletes the partner-relation. Supply the unique code that was returned when you created the partner-relation and this will delete it.
|
|
497
|
+
* Permanently deletes the partner-relation. Supply the unique code that was returned when you created the partner-relation and this will delete it. **Required Permissions** \"partner-management.partners.delete\"
|
|
498
498
|
* @summary Delete the partner-relation
|
|
499
499
|
* @param {PartnerRelationsApiDeletePartnerRelationRequest} requestParameters Request parameters.
|
|
500
500
|
* @param {*} [options] Override http request option.
|
|
@@ -503,7 +503,7 @@ export declare class PartnerRelationsApi extends BaseAPI {
|
|
|
503
503
|
*/
|
|
504
504
|
deletePartnerRelation(requestParameters: PartnerRelationsApiDeletePartnerRelationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteResponseClass, any>>;
|
|
505
505
|
/**
|
|
506
|
-
* Retrieve a single partner relation identified by its id
|
|
506
|
+
* Retrieve a single partner relation identified by its id **Required Permissions** \"partner-management.partners.view\"
|
|
507
507
|
* @summary Retrieve the partner relation
|
|
508
508
|
* @param {PartnerRelationsApiGetPartnerRelationRequest} requestParameters Request parameters.
|
|
509
509
|
* @param {*} [options] Override http request option.
|
|
@@ -512,7 +512,7 @@ export declare class PartnerRelationsApi extends BaseAPI {
|
|
|
512
512
|
*/
|
|
513
513
|
getPartnerRelation(requestParameters: PartnerRelationsApiGetPartnerRelationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPartnerRelationClass, any>>;
|
|
514
514
|
/**
|
|
515
|
-
* Retrieve a single partner relation type identified with a slug - can be used to create partner relations
|
|
515
|
+
* Retrieve a single partner relation type identified with a slug - can be used to create partner relations **Required Permissions** \"partner-management.partners.view\"
|
|
516
516
|
* @summary Retrieve the partner relation type
|
|
517
517
|
* @param {PartnerRelationsApiGetPartnerRelationTypeRequest} requestParameters Request parameters.
|
|
518
518
|
* @param {*} [options] Override http request option.
|
|
@@ -521,7 +521,7 @@ export declare class PartnerRelationsApi extends BaseAPI {
|
|
|
521
521
|
*/
|
|
522
522
|
getPartnerRelationType(requestParameters: PartnerRelationsApiGetPartnerRelationTypeRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPartnerRelationTypeClass, any>>;
|
|
523
523
|
/**
|
|
524
|
-
* List all partner relation types - is used to create partner relations
|
|
524
|
+
* List all partner relation types - is used to create partner relations **Required Permissions** \"partner-management.partners.view\"
|
|
525
525
|
* @summary List partner relation types
|
|
526
526
|
* @param {PartnerRelationsApiListPartnerRelationTypesRequest} requestParameters Request parameters.
|
|
527
527
|
* @param {*} [options] Override http request option.
|
|
@@ -530,7 +530,7 @@ export declare class PartnerRelationsApi extends BaseAPI {
|
|
|
530
530
|
*/
|
|
531
531
|
listPartnerRelationTypes(requestParameters?: PartnerRelationsApiListPartnerRelationTypesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPartnerRelationTypesClass, any>>;
|
|
532
532
|
/**
|
|
533
|
-
* List all partner relations
|
|
533
|
+
* List all partner relations **Required Permissions** \"partner-management.partners.view\"
|
|
534
534
|
* @summary List partner relations
|
|
535
535
|
* @param {PartnerRelationsApiListPartnerRelationsRequest} requestParameters Request parameters.
|
|
536
536
|
* @param {*} [options] Override http request option.
|
|
@@ -539,7 +539,7 @@ export declare class PartnerRelationsApi extends BaseAPI {
|
|
|
539
539
|
*/
|
|
540
540
|
listPartnerRelations(requestParameters?: PartnerRelationsApiListPartnerRelationsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPartnerRelationClass, any>>;
|
|
541
541
|
/**
|
|
542
|
-
* Update a partner relation identified by its id
|
|
542
|
+
* Update a partner relation identified by its id **Required Permissions** \"partner-management.partners.update\"
|
|
543
543
|
* @summary Update the partner relation
|
|
544
544
|
* @param {PartnerRelationsApiUpdatePartnerRelationRequest} requestParameters Request parameters.
|
|
545
545
|
* @param {*} [options] Override http request option.
|
|
@@ -97,7 +97,7 @@ var PartnerRelationsApiAxiosParamCreator = function (configuration) {
|
|
|
97
97
|
var _this = this;
|
|
98
98
|
return {
|
|
99
99
|
/**
|
|
100
|
-
* This will create a relationship between two partners. For example a parent-child relationship, or a partnership agreement.
|
|
100
|
+
* This will create a relationship between two partners. For example a parent-child relationship, or a partnership agreement. **Required Permissions** \"partner-management.partners.create\"
|
|
101
101
|
* @summary Create the partner relation
|
|
102
102
|
* @param {CreatePartnerRelationRequestDtoRest} createPartnerRelationRequestDtoRest
|
|
103
103
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -146,7 +146,7 @@ var PartnerRelationsApiAxiosParamCreator = function (configuration) {
|
|
|
146
146
|
});
|
|
147
147
|
},
|
|
148
148
|
/**
|
|
149
|
-
* Permanently deletes the partner-relation. Supply the unique code that was returned when you created the partner-relation and this will delete it.
|
|
149
|
+
* Permanently deletes the partner-relation. Supply the unique code that was returned when you created the partner-relation and this will delete it. **Required Permissions** \"partner-management.partners.delete\"
|
|
150
150
|
* @summary Delete the partner-relation
|
|
151
151
|
* @param {number} id
|
|
152
152
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -194,7 +194,7 @@ var PartnerRelationsApiAxiosParamCreator = function (configuration) {
|
|
|
194
194
|
});
|
|
195
195
|
},
|
|
196
196
|
/**
|
|
197
|
-
* Retrieve a single partner relation identified by its id
|
|
197
|
+
* Retrieve a single partner relation identified by its id **Required Permissions** \"partner-management.partners.view\"
|
|
198
198
|
* @summary Retrieve the partner relation
|
|
199
199
|
* @param {number} id Id of the partner relation
|
|
200
200
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -242,7 +242,7 @@ var PartnerRelationsApiAxiosParamCreator = function (configuration) {
|
|
|
242
242
|
});
|
|
243
243
|
},
|
|
244
244
|
/**
|
|
245
|
-
* Retrieve a single partner relation type identified with a slug - can be used to create partner relations
|
|
245
|
+
* Retrieve a single partner relation type identified with a slug - can be used to create partner relations **Required Permissions** \"partner-management.partners.view\"
|
|
246
246
|
* @summary Retrieve the partner relation type
|
|
247
247
|
* @param {string} slug Identifying slug of the partner relation type
|
|
248
248
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -290,7 +290,7 @@ var PartnerRelationsApiAxiosParamCreator = function (configuration) {
|
|
|
290
290
|
});
|
|
291
291
|
},
|
|
292
292
|
/**
|
|
293
|
-
* List all partner relation types - is used to create partner relations
|
|
293
|
+
* List all partner relation types - is used to create partner relations **Required Permissions** \"partner-management.partners.view\"
|
|
294
294
|
* @summary List partner relation types
|
|
295
295
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
296
296
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -362,7 +362,7 @@ var PartnerRelationsApiAxiosParamCreator = function (configuration) {
|
|
|
362
362
|
});
|
|
363
363
|
},
|
|
364
364
|
/**
|
|
365
|
-
* List all partner relations
|
|
365
|
+
* List all partner relations **Required Permissions** \"partner-management.partners.view\"
|
|
366
366
|
* @summary List partner relations
|
|
367
367
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
368
368
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -434,7 +434,7 @@ var PartnerRelationsApiAxiosParamCreator = function (configuration) {
|
|
|
434
434
|
});
|
|
435
435
|
},
|
|
436
436
|
/**
|
|
437
|
-
* Update a partner relation identified by its id
|
|
437
|
+
* Update a partner relation identified by its id **Required Permissions** \"partner-management.partners.update\"
|
|
438
438
|
* @summary Update the partner relation
|
|
439
439
|
* @param {number} id Id of the partner relation
|
|
440
440
|
* @param {UpdatePartnerRelationRequestDtoRest} updatePartnerRelationRequestDtoRest
|
|
@@ -497,7 +497,7 @@ var PartnerRelationsApiFp = function (configuration) {
|
|
|
497
497
|
var localVarAxiosParamCreator = (0, exports.PartnerRelationsApiAxiosParamCreator)(configuration);
|
|
498
498
|
return {
|
|
499
499
|
/**
|
|
500
|
-
* This will create a relationship between two partners. For example a parent-child relationship, or a partnership agreement.
|
|
500
|
+
* This will create a relationship between two partners. For example a parent-child relationship, or a partnership agreement. **Required Permissions** \"partner-management.partners.create\"
|
|
501
501
|
* @summary Create the partner relation
|
|
502
502
|
* @param {CreatePartnerRelationRequestDtoRest} createPartnerRelationRequestDtoRest
|
|
503
503
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -518,7 +518,7 @@ var PartnerRelationsApiFp = function (configuration) {
|
|
|
518
518
|
});
|
|
519
519
|
},
|
|
520
520
|
/**
|
|
521
|
-
* Permanently deletes the partner-relation. Supply the unique code that was returned when you created the partner-relation and this will delete it.
|
|
521
|
+
* Permanently deletes the partner-relation. Supply the unique code that was returned when you created the partner-relation and this will delete it. **Required Permissions** \"partner-management.partners.delete\"
|
|
522
522
|
* @summary Delete the partner-relation
|
|
523
523
|
* @param {number} id
|
|
524
524
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -539,7 +539,7 @@ var PartnerRelationsApiFp = function (configuration) {
|
|
|
539
539
|
});
|
|
540
540
|
},
|
|
541
541
|
/**
|
|
542
|
-
* Retrieve a single partner relation identified by its id
|
|
542
|
+
* Retrieve a single partner relation identified by its id **Required Permissions** \"partner-management.partners.view\"
|
|
543
543
|
* @summary Retrieve the partner relation
|
|
544
544
|
* @param {number} id Id of the partner relation
|
|
545
545
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -560,7 +560,7 @@ var PartnerRelationsApiFp = function (configuration) {
|
|
|
560
560
|
});
|
|
561
561
|
},
|
|
562
562
|
/**
|
|
563
|
-
* Retrieve a single partner relation type identified with a slug - can be used to create partner relations
|
|
563
|
+
* Retrieve a single partner relation type identified with a slug - can be used to create partner relations **Required Permissions** \"partner-management.partners.view\"
|
|
564
564
|
* @summary Retrieve the partner relation type
|
|
565
565
|
* @param {string} slug Identifying slug of the partner relation type
|
|
566
566
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -581,7 +581,7 @@ var PartnerRelationsApiFp = function (configuration) {
|
|
|
581
581
|
});
|
|
582
582
|
},
|
|
583
583
|
/**
|
|
584
|
-
* List all partner relation types - is used to create partner relations
|
|
584
|
+
* List all partner relation types - is used to create partner relations **Required Permissions** \"partner-management.partners.view\"
|
|
585
585
|
* @summary List partner relation types
|
|
586
586
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
587
587
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -608,7 +608,7 @@ var PartnerRelationsApiFp = function (configuration) {
|
|
|
608
608
|
});
|
|
609
609
|
},
|
|
610
610
|
/**
|
|
611
|
-
* List all partner relations
|
|
611
|
+
* List all partner relations **Required Permissions** \"partner-management.partners.view\"
|
|
612
612
|
* @summary List partner relations
|
|
613
613
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
614
614
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -635,7 +635,7 @@ var PartnerRelationsApiFp = function (configuration) {
|
|
|
635
635
|
});
|
|
636
636
|
},
|
|
637
637
|
/**
|
|
638
|
-
* Update a partner relation identified by its id
|
|
638
|
+
* Update a partner relation identified by its id **Required Permissions** \"partner-management.partners.update\"
|
|
639
639
|
* @summary Update the partner relation
|
|
640
640
|
* @param {number} id Id of the partner relation
|
|
641
641
|
* @param {UpdatePartnerRelationRequestDtoRest} updatePartnerRelationRequestDtoRest
|
|
@@ -667,7 +667,7 @@ var PartnerRelationsApiFactory = function (configuration, basePath, axios) {
|
|
|
667
667
|
var localVarFp = (0, exports.PartnerRelationsApiFp)(configuration);
|
|
668
668
|
return {
|
|
669
669
|
/**
|
|
670
|
-
* This will create a relationship between two partners. For example a parent-child relationship, or a partnership agreement.
|
|
670
|
+
* This will create a relationship between two partners. For example a parent-child relationship, or a partnership agreement. **Required Permissions** \"partner-management.partners.create\"
|
|
671
671
|
* @summary Create the partner relation
|
|
672
672
|
* @param {CreatePartnerRelationRequestDtoRest} createPartnerRelationRequestDtoRest
|
|
673
673
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -678,7 +678,7 @@ var PartnerRelationsApiFactory = function (configuration, basePath, axios) {
|
|
|
678
678
|
return localVarFp.createPartnerRelation(createPartnerRelationRequestDtoRest, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
679
679
|
},
|
|
680
680
|
/**
|
|
681
|
-
* Permanently deletes the partner-relation. Supply the unique code that was returned when you created the partner-relation and this will delete it.
|
|
681
|
+
* Permanently deletes the partner-relation. Supply the unique code that was returned when you created the partner-relation and this will delete it. **Required Permissions** \"partner-management.partners.delete\"
|
|
682
682
|
* @summary Delete the partner-relation
|
|
683
683
|
* @param {number} id
|
|
684
684
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -689,7 +689,7 @@ var PartnerRelationsApiFactory = function (configuration, basePath, axios) {
|
|
|
689
689
|
return localVarFp.deletePartnerRelation(id, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
690
690
|
},
|
|
691
691
|
/**
|
|
692
|
-
* Retrieve a single partner relation identified by its id
|
|
692
|
+
* Retrieve a single partner relation identified by its id **Required Permissions** \"partner-management.partners.view\"
|
|
693
693
|
* @summary Retrieve the partner relation
|
|
694
694
|
* @param {number} id Id of the partner relation
|
|
695
695
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -700,7 +700,7 @@ var PartnerRelationsApiFactory = function (configuration, basePath, axios) {
|
|
|
700
700
|
return localVarFp.getPartnerRelation(id, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
701
701
|
},
|
|
702
702
|
/**
|
|
703
|
-
* Retrieve a single partner relation type identified with a slug - can be used to create partner relations
|
|
703
|
+
* Retrieve a single partner relation type identified with a slug - can be used to create partner relations **Required Permissions** \"partner-management.partners.view\"
|
|
704
704
|
* @summary Retrieve the partner relation type
|
|
705
705
|
* @param {string} slug Identifying slug of the partner relation type
|
|
706
706
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -711,7 +711,7 @@ var PartnerRelationsApiFactory = function (configuration, basePath, axios) {
|
|
|
711
711
|
return localVarFp.getPartnerRelationType(slug, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
712
712
|
},
|
|
713
713
|
/**
|
|
714
|
-
* List all partner relation types - is used to create partner relations
|
|
714
|
+
* List all partner relation types - is used to create partner relations **Required Permissions** \"partner-management.partners.view\"
|
|
715
715
|
* @summary List partner relation types
|
|
716
716
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
717
717
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -728,7 +728,7 @@ var PartnerRelationsApiFactory = function (configuration, basePath, axios) {
|
|
|
728
728
|
return localVarFp.listPartnerRelationTypes(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
729
729
|
},
|
|
730
730
|
/**
|
|
731
|
-
* List all partner relations
|
|
731
|
+
* List all partner relations **Required Permissions** \"partner-management.partners.view\"
|
|
732
732
|
* @summary List partner relations
|
|
733
733
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
734
734
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -745,7 +745,7 @@ var PartnerRelationsApiFactory = function (configuration, basePath, axios) {
|
|
|
745
745
|
return localVarFp.listPartnerRelations(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
746
746
|
},
|
|
747
747
|
/**
|
|
748
|
-
* Update a partner relation identified by its id
|
|
748
|
+
* Update a partner relation identified by its id **Required Permissions** \"partner-management.partners.update\"
|
|
749
749
|
* @summary Update the partner relation
|
|
750
750
|
* @param {number} id Id of the partner relation
|
|
751
751
|
* @param {UpdatePartnerRelationRequestDtoRest} updatePartnerRelationRequestDtoRest
|
|
@@ -771,7 +771,7 @@ var PartnerRelationsApi = /** @class */ (function (_super) {
|
|
|
771
771
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
772
772
|
}
|
|
773
773
|
/**
|
|
774
|
-
* This will create a relationship between two partners. For example a parent-child relationship, or a partnership agreement.
|
|
774
|
+
* This will create a relationship between two partners. For example a parent-child relationship, or a partnership agreement. **Required Permissions** \"partner-management.partners.create\"
|
|
775
775
|
* @summary Create the partner relation
|
|
776
776
|
* @param {PartnerRelationsApiCreatePartnerRelationRequest} requestParameters Request parameters.
|
|
777
777
|
* @param {*} [options] Override http request option.
|
|
@@ -783,7 +783,7 @@ var PartnerRelationsApi = /** @class */ (function (_super) {
|
|
|
783
783
|
return (0, exports.PartnerRelationsApiFp)(this.configuration).createPartnerRelation(requestParameters.createPartnerRelationRequestDtoRest, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
784
784
|
};
|
|
785
785
|
/**
|
|
786
|
-
* Permanently deletes the partner-relation. Supply the unique code that was returned when you created the partner-relation and this will delete it.
|
|
786
|
+
* Permanently deletes the partner-relation. Supply the unique code that was returned when you created the partner-relation and this will delete it. **Required Permissions** \"partner-management.partners.delete\"
|
|
787
787
|
* @summary Delete the partner-relation
|
|
788
788
|
* @param {PartnerRelationsApiDeletePartnerRelationRequest} requestParameters Request parameters.
|
|
789
789
|
* @param {*} [options] Override http request option.
|
|
@@ -795,7 +795,7 @@ var PartnerRelationsApi = /** @class */ (function (_super) {
|
|
|
795
795
|
return (0, exports.PartnerRelationsApiFp)(this.configuration).deletePartnerRelation(requestParameters.id, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
796
796
|
};
|
|
797
797
|
/**
|
|
798
|
-
* Retrieve a single partner relation identified by its id
|
|
798
|
+
* Retrieve a single partner relation identified by its id **Required Permissions** \"partner-management.partners.view\"
|
|
799
799
|
* @summary Retrieve the partner relation
|
|
800
800
|
* @param {PartnerRelationsApiGetPartnerRelationRequest} requestParameters Request parameters.
|
|
801
801
|
* @param {*} [options] Override http request option.
|
|
@@ -807,7 +807,7 @@ var PartnerRelationsApi = /** @class */ (function (_super) {
|
|
|
807
807
|
return (0, exports.PartnerRelationsApiFp)(this.configuration).getPartnerRelation(requestParameters.id, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
808
808
|
};
|
|
809
809
|
/**
|
|
810
|
-
* Retrieve a single partner relation type identified with a slug - can be used to create partner relations
|
|
810
|
+
* Retrieve a single partner relation type identified with a slug - can be used to create partner relations **Required Permissions** \"partner-management.partners.view\"
|
|
811
811
|
* @summary Retrieve the partner relation type
|
|
812
812
|
* @param {PartnerRelationsApiGetPartnerRelationTypeRequest} requestParameters Request parameters.
|
|
813
813
|
* @param {*} [options] Override http request option.
|
|
@@ -819,7 +819,7 @@ var PartnerRelationsApi = /** @class */ (function (_super) {
|
|
|
819
819
|
return (0, exports.PartnerRelationsApiFp)(this.configuration).getPartnerRelationType(requestParameters.slug, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
820
820
|
};
|
|
821
821
|
/**
|
|
822
|
-
* List all partner relation types - is used to create partner relations
|
|
822
|
+
* List all partner relation types - is used to create partner relations **Required Permissions** \"partner-management.partners.view\"
|
|
823
823
|
* @summary List partner relation types
|
|
824
824
|
* @param {PartnerRelationsApiListPartnerRelationTypesRequest} requestParameters Request parameters.
|
|
825
825
|
* @param {*} [options] Override http request option.
|
|
@@ -832,7 +832,7 @@ var PartnerRelationsApi = /** @class */ (function (_super) {
|
|
|
832
832
|
return (0, exports.PartnerRelationsApiFp)(this.configuration).listPartnerRelationTypes(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
833
833
|
};
|
|
834
834
|
/**
|
|
835
|
-
* List all partner relations
|
|
835
|
+
* List all partner relations **Required Permissions** \"partner-management.partners.view\"
|
|
836
836
|
* @summary List partner relations
|
|
837
837
|
* @param {PartnerRelationsApiListPartnerRelationsRequest} requestParameters Request parameters.
|
|
838
838
|
* @param {*} [options] Override http request option.
|
|
@@ -845,7 +845,7 @@ var PartnerRelationsApi = /** @class */ (function (_super) {
|
|
|
845
845
|
return (0, exports.PartnerRelationsApiFp)(this.configuration).listPartnerRelations(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
846
846
|
};
|
|
847
847
|
/**
|
|
848
|
-
* Update a partner relation identified by its id
|
|
848
|
+
* Update a partner relation identified by its id **Required Permissions** \"partner-management.partners.update\"
|
|
849
849
|
* @summary Update the partner relation
|
|
850
850
|
* @param {PartnerRelationsApiUpdatePartnerRelationRequest} requestParameters Request parameters.
|
|
851
851
|
* @param {*} [options] Override http request option.
|