@emilgroup/partner-sdk 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.
|
|
@@ -93,7 +93,7 @@ var PartnerRelationsApiAxiosParamCreator = function (configuration) {
|
|
|
93
93
|
var _this = this;
|
|
94
94
|
return {
|
|
95
95
|
/**
|
|
96
|
-
* This will create a relationship between two partners. For example a parent-child relationship, or a partnership agreement.
|
|
96
|
+
* This will create a relationship between two partners. For example a parent-child relationship, or a partnership agreement. **Required Permissions** \"partner-management.partners.create\"
|
|
97
97
|
* @summary Create the partner relation
|
|
98
98
|
* @param {CreatePartnerRelationRequestDtoRest} createPartnerRelationRequestDtoRest
|
|
99
99
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -142,7 +142,7 @@ var PartnerRelationsApiAxiosParamCreator = function (configuration) {
|
|
|
142
142
|
});
|
|
143
143
|
},
|
|
144
144
|
/**
|
|
145
|
-
* Permanently deletes the partner-relation. Supply the unique code that was returned when you created the partner-relation and this will delete it.
|
|
145
|
+
* 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\"
|
|
146
146
|
* @summary Delete the partner-relation
|
|
147
147
|
* @param {number} id
|
|
148
148
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -190,7 +190,7 @@ var PartnerRelationsApiAxiosParamCreator = function (configuration) {
|
|
|
190
190
|
});
|
|
191
191
|
},
|
|
192
192
|
/**
|
|
193
|
-
* Retrieve a single partner relation identified by its id
|
|
193
|
+
* Retrieve a single partner relation identified by its id **Required Permissions** \"partner-management.partners.view\"
|
|
194
194
|
* @summary Retrieve the partner relation
|
|
195
195
|
* @param {number} id Id of the partner relation
|
|
196
196
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -238,7 +238,7 @@ var PartnerRelationsApiAxiosParamCreator = function (configuration) {
|
|
|
238
238
|
});
|
|
239
239
|
},
|
|
240
240
|
/**
|
|
241
|
-
* Retrieve a single partner relation type identified with a slug - can be used to create partner relations
|
|
241
|
+
* Retrieve a single partner relation type identified with a slug - can be used to create partner relations **Required Permissions** \"partner-management.partners.view\"
|
|
242
242
|
* @summary Retrieve the partner relation type
|
|
243
243
|
* @param {string} slug Identifying slug of the partner relation type
|
|
244
244
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -286,7 +286,7 @@ var PartnerRelationsApiAxiosParamCreator = function (configuration) {
|
|
|
286
286
|
});
|
|
287
287
|
},
|
|
288
288
|
/**
|
|
289
|
-
* List all partner relation types - is used to create partner relations
|
|
289
|
+
* List all partner relation types - is used to create partner relations **Required Permissions** \"partner-management.partners.view\"
|
|
290
290
|
* @summary List partner relation types
|
|
291
291
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
292
292
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -358,7 +358,7 @@ var PartnerRelationsApiAxiosParamCreator = function (configuration) {
|
|
|
358
358
|
});
|
|
359
359
|
},
|
|
360
360
|
/**
|
|
361
|
-
* List all partner relations
|
|
361
|
+
* List all partner relations **Required Permissions** \"partner-management.partners.view\"
|
|
362
362
|
* @summary List partner relations
|
|
363
363
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
364
364
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -430,7 +430,7 @@ var PartnerRelationsApiAxiosParamCreator = function (configuration) {
|
|
|
430
430
|
});
|
|
431
431
|
},
|
|
432
432
|
/**
|
|
433
|
-
* Update a partner relation identified by its id
|
|
433
|
+
* Update a partner relation identified by its id **Required Permissions** \"partner-management.partners.update\"
|
|
434
434
|
* @summary Update the partner relation
|
|
435
435
|
* @param {number} id Id of the partner relation
|
|
436
436
|
* @param {UpdatePartnerRelationRequestDtoRest} updatePartnerRelationRequestDtoRest
|
|
@@ -493,7 +493,7 @@ var PartnerRelationsApiFp = function (configuration) {
|
|
|
493
493
|
var localVarAxiosParamCreator = (0, exports.PartnerRelationsApiAxiosParamCreator)(configuration);
|
|
494
494
|
return {
|
|
495
495
|
/**
|
|
496
|
-
* This will create a relationship between two partners. For example a parent-child relationship, or a partnership agreement.
|
|
496
|
+
* This will create a relationship between two partners. For example a parent-child relationship, or a partnership agreement. **Required Permissions** \"partner-management.partners.create\"
|
|
497
497
|
* @summary Create the partner relation
|
|
498
498
|
* @param {CreatePartnerRelationRequestDtoRest} createPartnerRelationRequestDtoRest
|
|
499
499
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -514,7 +514,7 @@ var PartnerRelationsApiFp = function (configuration) {
|
|
|
514
514
|
});
|
|
515
515
|
},
|
|
516
516
|
/**
|
|
517
|
-
* Permanently deletes the partner-relation. Supply the unique code that was returned when you created the partner-relation and this will delete it.
|
|
517
|
+
* 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\"
|
|
518
518
|
* @summary Delete the partner-relation
|
|
519
519
|
* @param {number} id
|
|
520
520
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -535,7 +535,7 @@ var PartnerRelationsApiFp = function (configuration) {
|
|
|
535
535
|
});
|
|
536
536
|
},
|
|
537
537
|
/**
|
|
538
|
-
* Retrieve a single partner relation identified by its id
|
|
538
|
+
* Retrieve a single partner relation identified by its id **Required Permissions** \"partner-management.partners.view\"
|
|
539
539
|
* @summary Retrieve the partner relation
|
|
540
540
|
* @param {number} id Id of the partner relation
|
|
541
541
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -556,7 +556,7 @@ var PartnerRelationsApiFp = function (configuration) {
|
|
|
556
556
|
});
|
|
557
557
|
},
|
|
558
558
|
/**
|
|
559
|
-
* Retrieve a single partner relation type identified with a slug - can be used to create partner relations
|
|
559
|
+
* Retrieve a single partner relation type identified with a slug - can be used to create partner relations **Required Permissions** \"partner-management.partners.view\"
|
|
560
560
|
* @summary Retrieve the partner relation type
|
|
561
561
|
* @param {string} slug Identifying slug of the partner relation type
|
|
562
562
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -577,7 +577,7 @@ var PartnerRelationsApiFp = function (configuration) {
|
|
|
577
577
|
});
|
|
578
578
|
},
|
|
579
579
|
/**
|
|
580
|
-
* List all partner relation types - is used to create partner relations
|
|
580
|
+
* List all partner relation types - is used to create partner relations **Required Permissions** \"partner-management.partners.view\"
|
|
581
581
|
* @summary List partner relation types
|
|
582
582
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
583
583
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -604,7 +604,7 @@ var PartnerRelationsApiFp = function (configuration) {
|
|
|
604
604
|
});
|
|
605
605
|
},
|
|
606
606
|
/**
|
|
607
|
-
* List all partner relations
|
|
607
|
+
* List all partner relations **Required Permissions** \"partner-management.partners.view\"
|
|
608
608
|
* @summary List partner relations
|
|
609
609
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
610
610
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -631,7 +631,7 @@ var PartnerRelationsApiFp = function (configuration) {
|
|
|
631
631
|
});
|
|
632
632
|
},
|
|
633
633
|
/**
|
|
634
|
-
* Update a partner relation identified by its id
|
|
634
|
+
* Update a partner relation identified by its id **Required Permissions** \"partner-management.partners.update\"
|
|
635
635
|
* @summary Update the partner relation
|
|
636
636
|
* @param {number} id Id of the partner relation
|
|
637
637
|
* @param {UpdatePartnerRelationRequestDtoRest} updatePartnerRelationRequestDtoRest
|
|
@@ -663,7 +663,7 @@ var PartnerRelationsApiFactory = function (configuration, basePath, axios) {
|
|
|
663
663
|
var localVarFp = (0, exports.PartnerRelationsApiFp)(configuration);
|
|
664
664
|
return {
|
|
665
665
|
/**
|
|
666
|
-
* This will create a relationship between two partners. For example a parent-child relationship, or a partnership agreement.
|
|
666
|
+
* This will create a relationship between two partners. For example a parent-child relationship, or a partnership agreement. **Required Permissions** \"partner-management.partners.create\"
|
|
667
667
|
* @summary Create the partner relation
|
|
668
668
|
* @param {CreatePartnerRelationRequestDtoRest} createPartnerRelationRequestDtoRest
|
|
669
669
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -674,7 +674,7 @@ var PartnerRelationsApiFactory = function (configuration, basePath, axios) {
|
|
|
674
674
|
return localVarFp.createPartnerRelation(createPartnerRelationRequestDtoRest, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
675
675
|
},
|
|
676
676
|
/**
|
|
677
|
-
* Permanently deletes the partner-relation. Supply the unique code that was returned when you created the partner-relation and this will delete it.
|
|
677
|
+
* 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\"
|
|
678
678
|
* @summary Delete the partner-relation
|
|
679
679
|
* @param {number} id
|
|
680
680
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -685,7 +685,7 @@ var PartnerRelationsApiFactory = function (configuration, basePath, axios) {
|
|
|
685
685
|
return localVarFp.deletePartnerRelation(id, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
686
686
|
},
|
|
687
687
|
/**
|
|
688
|
-
* Retrieve a single partner relation identified by its id
|
|
688
|
+
* Retrieve a single partner relation identified by its id **Required Permissions** \"partner-management.partners.view\"
|
|
689
689
|
* @summary Retrieve the partner relation
|
|
690
690
|
* @param {number} id Id of the partner relation
|
|
691
691
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -696,7 +696,7 @@ var PartnerRelationsApiFactory = function (configuration, basePath, axios) {
|
|
|
696
696
|
return localVarFp.getPartnerRelation(id, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
697
697
|
},
|
|
698
698
|
/**
|
|
699
|
-
* Retrieve a single partner relation type identified with a slug - can be used to create partner relations
|
|
699
|
+
* Retrieve a single partner relation type identified with a slug - can be used to create partner relations **Required Permissions** \"partner-management.partners.view\"
|
|
700
700
|
* @summary Retrieve the partner relation type
|
|
701
701
|
* @param {string} slug Identifying slug of the partner relation type
|
|
702
702
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -707,7 +707,7 @@ var PartnerRelationsApiFactory = function (configuration, basePath, axios) {
|
|
|
707
707
|
return localVarFp.getPartnerRelationType(slug, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
708
708
|
},
|
|
709
709
|
/**
|
|
710
|
-
* List all partner relation types - is used to create partner relations
|
|
710
|
+
* List all partner relation types - is used to create partner relations **Required Permissions** \"partner-management.partners.view\"
|
|
711
711
|
* @summary List partner relation types
|
|
712
712
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
713
713
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -724,7 +724,7 @@ var PartnerRelationsApiFactory = function (configuration, basePath, axios) {
|
|
|
724
724
|
return localVarFp.listPartnerRelationTypes(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
725
725
|
},
|
|
726
726
|
/**
|
|
727
|
-
* List all partner relations
|
|
727
|
+
* List all partner relations **Required Permissions** \"partner-management.partners.view\"
|
|
728
728
|
* @summary List partner relations
|
|
729
729
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
730
730
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -741,7 +741,7 @@ var PartnerRelationsApiFactory = function (configuration, basePath, axios) {
|
|
|
741
741
|
return localVarFp.listPartnerRelations(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
742
742
|
},
|
|
743
743
|
/**
|
|
744
|
-
* Update a partner relation identified by its id
|
|
744
|
+
* Update a partner relation identified by its id **Required Permissions** \"partner-management.partners.update\"
|
|
745
745
|
* @summary Update the partner relation
|
|
746
746
|
* @param {number} id Id of the partner relation
|
|
747
747
|
* @param {UpdatePartnerRelationRequestDtoRest} updatePartnerRelationRequestDtoRest
|
|
@@ -767,7 +767,7 @@ var PartnerRelationsApi = /** @class */ (function (_super) {
|
|
|
767
767
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
768
768
|
}
|
|
769
769
|
/**
|
|
770
|
-
* This will create a relationship between two partners. For example a parent-child relationship, or a partnership agreement.
|
|
770
|
+
* This will create a relationship between two partners. For example a parent-child relationship, or a partnership agreement. **Required Permissions** \"partner-management.partners.create\"
|
|
771
771
|
* @summary Create the partner relation
|
|
772
772
|
* @param {PartnerRelationsApiCreatePartnerRelationRequest} requestParameters Request parameters.
|
|
773
773
|
* @param {*} [options] Override http request option.
|
|
@@ -779,7 +779,7 @@ var PartnerRelationsApi = /** @class */ (function (_super) {
|
|
|
779
779
|
return (0, exports.PartnerRelationsApiFp)(this.configuration).createPartnerRelation(requestParameters.createPartnerRelationRequestDtoRest, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
780
780
|
};
|
|
781
781
|
/**
|
|
782
|
-
* Permanently deletes the partner-relation. Supply the unique code that was returned when you created the partner-relation and this will delete it.
|
|
782
|
+
* 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\"
|
|
783
783
|
* @summary Delete the partner-relation
|
|
784
784
|
* @param {PartnerRelationsApiDeletePartnerRelationRequest} requestParameters Request parameters.
|
|
785
785
|
* @param {*} [options] Override http request option.
|
|
@@ -791,7 +791,7 @@ var PartnerRelationsApi = /** @class */ (function (_super) {
|
|
|
791
791
|
return (0, exports.PartnerRelationsApiFp)(this.configuration).deletePartnerRelation(requestParameters.id, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
792
792
|
};
|
|
793
793
|
/**
|
|
794
|
-
* Retrieve a single partner relation identified by its id
|
|
794
|
+
* Retrieve a single partner relation identified by its id **Required Permissions** \"partner-management.partners.view\"
|
|
795
795
|
* @summary Retrieve the partner relation
|
|
796
796
|
* @param {PartnerRelationsApiGetPartnerRelationRequest} requestParameters Request parameters.
|
|
797
797
|
* @param {*} [options] Override http request option.
|
|
@@ -803,7 +803,7 @@ var PartnerRelationsApi = /** @class */ (function (_super) {
|
|
|
803
803
|
return (0, exports.PartnerRelationsApiFp)(this.configuration).getPartnerRelation(requestParameters.id, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
804
804
|
};
|
|
805
805
|
/**
|
|
806
|
-
* Retrieve a single partner relation type identified with a slug - can be used to create partner relations
|
|
806
|
+
* Retrieve a single partner relation type identified with a slug - can be used to create partner relations **Required Permissions** \"partner-management.partners.view\"
|
|
807
807
|
* @summary Retrieve the partner relation type
|
|
808
808
|
* @param {PartnerRelationsApiGetPartnerRelationTypeRequest} requestParameters Request parameters.
|
|
809
809
|
* @param {*} [options] Override http request option.
|
|
@@ -815,7 +815,7 @@ var PartnerRelationsApi = /** @class */ (function (_super) {
|
|
|
815
815
|
return (0, exports.PartnerRelationsApiFp)(this.configuration).getPartnerRelationType(requestParameters.slug, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
816
816
|
};
|
|
817
817
|
/**
|
|
818
|
-
* List all partner relation types - is used to create partner relations
|
|
818
|
+
* List all partner relation types - is used to create partner relations **Required Permissions** \"partner-management.partners.view\"
|
|
819
819
|
* @summary List partner relation types
|
|
820
820
|
* @param {PartnerRelationsApiListPartnerRelationTypesRequest} requestParameters Request parameters.
|
|
821
821
|
* @param {*} [options] Override http request option.
|
|
@@ -828,7 +828,7 @@ var PartnerRelationsApi = /** @class */ (function (_super) {
|
|
|
828
828
|
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); });
|
|
829
829
|
};
|
|
830
830
|
/**
|
|
831
|
-
* List all partner relations
|
|
831
|
+
* List all partner relations **Required Permissions** \"partner-management.partners.view\"
|
|
832
832
|
* @summary List partner relations
|
|
833
833
|
* @param {PartnerRelationsApiListPartnerRelationsRequest} requestParameters Request parameters.
|
|
834
834
|
* @param {*} [options] Override http request option.
|
|
@@ -841,7 +841,7 @@ var PartnerRelationsApi = /** @class */ (function (_super) {
|
|
|
841
841
|
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); });
|
|
842
842
|
};
|
|
843
843
|
/**
|
|
844
|
-
* Update a partner relation identified by its id
|
|
844
|
+
* Update a partner relation identified by its id **Required Permissions** \"partner-management.partners.update\"
|
|
845
845
|
* @summary Update the partner relation
|
|
846
846
|
* @param {PartnerRelationsApiUpdatePartnerRelationRequest} requestParameters Request parameters.
|
|
847
847
|
* @param {*} [options] Override http request option.
|