@emilgroup/partner-sdk 1.7.0 → 1.8.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/.openapi-generator/FILES +6 -6
- package/README.md +2 -2
- package/api/{partner-invitation-api.ts → partner-invitations-api.ts} +20 -20
- package/api/{partner-relation-api.ts → partner-relations-api.ts} +87 -87
- package/api/{partner-tag-api.ts → partner-tags-api.ts} +62 -62
- package/api/{partner-type-api.ts → partner-types-api.ts} +64 -64
- package/api/{partner-version-api.ts → partner-versions-api.ts} +37 -37
- package/api/{partner-api.ts → partners-api.ts} +74 -74
- package/api.ts +12 -12
- package/dist/api/{partner-invitation-api.d.ts → partner-invitations-api.d.ts} +17 -17
- package/dist/api/{partner-invitation-api.js → partner-invitations-api.js} +23 -23
- package/dist/api/{partner-relation-api.d.ts → partner-relations-api.d.ts} +78 -78
- package/dist/api/{partner-relation-api.js → partner-relations-api.js} +47 -47
- package/dist/api/{partner-tag-api.d.ts → partner-tags-api.d.ts} +55 -55
- package/dist/api/{partner-tag-api.js → partner-tags-api.js} +39 -39
- package/dist/api/{partner-type-api.d.ts → partner-types-api.d.ts} +57 -57
- package/dist/api/{partner-type-api.js → partner-types-api.js} +39 -39
- package/dist/api/{partner-version-api.d.ts → partner-versions-api.d.ts} +33 -33
- package/dist/api/{partner-version-api.js → partner-versions-api.js} +27 -27
- package/dist/api/{partner-api.d.ts → partners-api.d.ts} +66 -66
- package/dist/api/{partner-api.js → partners-api.js} +43 -43
- package/dist/api.d.ts +6 -6
- package/dist/api.js +6 -6
- package/package.json +1 -1
|
@@ -15,10 +15,10 @@ import { RequestArgs, BaseAPI } from '../base';
|
|
|
15
15
|
import { InvitePartnerToEISRequestDto } from '../models';
|
|
16
16
|
import { InvitePartnerToEisResponseClass } from '../models';
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* PartnerInvitationsApi - axios parameter creator
|
|
19
19
|
* @export
|
|
20
20
|
*/
|
|
21
|
-
export declare const
|
|
21
|
+
export declare const PartnerInvitationsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
22
22
|
/**
|
|
23
23
|
* Invites a partner to EIS Platform - partner must have one of vermittler,intermediary to be eligible for invitation.
|
|
24
24
|
* @summary Create the Partner Invitation
|
|
@@ -30,10 +30,10 @@ export declare const PartnerInvitationApiAxiosParamCreator: (configuration?: Con
|
|
|
30
30
|
invitePartnerToEIS: (invitePartnerToEISRequestDto: InvitePartnerToEISRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
31
31
|
};
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
33
|
+
* PartnerInvitationsApi - functional programming interface
|
|
34
34
|
* @export
|
|
35
35
|
*/
|
|
36
|
-
export declare const
|
|
36
|
+
export declare const PartnerInvitationsApiFp: (configuration?: Configuration) => {
|
|
37
37
|
/**
|
|
38
38
|
* Invites a partner to EIS Platform - partner must have one of vermittler,intermediary to be eligible for invitation.
|
|
39
39
|
* @summary Create the Partner Invitation
|
|
@@ -45,10 +45,10 @@ export declare const PartnerInvitationApiFp: (configuration?: Configuration) =>
|
|
|
45
45
|
invitePartnerToEIS(invitePartnerToEISRequestDto: InvitePartnerToEISRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InvitePartnerToEisResponseClass>>;
|
|
46
46
|
};
|
|
47
47
|
/**
|
|
48
|
-
*
|
|
48
|
+
* PartnerInvitationsApi - factory interface
|
|
49
49
|
* @export
|
|
50
50
|
*/
|
|
51
|
-
export declare const
|
|
51
|
+
export declare const PartnerInvitationsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
52
52
|
/**
|
|
53
53
|
* Invites a partner to EIS Platform - partner must have one of vermittler,intermediary to be eligible for invitation.
|
|
54
54
|
* @summary Create the Partner Invitation
|
|
@@ -60,38 +60,38 @@ export declare const PartnerInvitationApiFactory: (configuration?: Configuration
|
|
|
60
60
|
invitePartnerToEIS(invitePartnerToEISRequestDto: InvitePartnerToEISRequestDto, authorization?: string, options?: any): AxiosPromise<InvitePartnerToEisResponseClass>;
|
|
61
61
|
};
|
|
62
62
|
/**
|
|
63
|
-
* Request parameters for invitePartnerToEIS operation in
|
|
63
|
+
* Request parameters for invitePartnerToEIS operation in PartnerInvitationsApi.
|
|
64
64
|
* @export
|
|
65
|
-
* @interface
|
|
65
|
+
* @interface PartnerInvitationsApiInvitePartnerToEISRequest
|
|
66
66
|
*/
|
|
67
|
-
export interface
|
|
67
|
+
export interface PartnerInvitationsApiInvitePartnerToEISRequest {
|
|
68
68
|
/**
|
|
69
69
|
*
|
|
70
70
|
* @type {InvitePartnerToEISRequestDto}
|
|
71
|
-
* @memberof
|
|
71
|
+
* @memberof PartnerInvitationsApiInvitePartnerToEIS
|
|
72
72
|
*/
|
|
73
73
|
readonly invitePartnerToEISRequestDto: InvitePartnerToEISRequestDto;
|
|
74
74
|
/**
|
|
75
75
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
76
76
|
* @type {string}
|
|
77
|
-
* @memberof
|
|
77
|
+
* @memberof PartnerInvitationsApiInvitePartnerToEIS
|
|
78
78
|
*/
|
|
79
79
|
readonly authorization?: string;
|
|
80
80
|
}
|
|
81
81
|
/**
|
|
82
|
-
*
|
|
82
|
+
* PartnerInvitationsApi - object-oriented interface
|
|
83
83
|
* @export
|
|
84
|
-
* @class
|
|
84
|
+
* @class PartnerInvitationsApi
|
|
85
85
|
* @extends {BaseAPI}
|
|
86
86
|
*/
|
|
87
|
-
export declare class
|
|
87
|
+
export declare class PartnerInvitationsApi extends BaseAPI {
|
|
88
88
|
/**
|
|
89
89
|
* Invites a partner to EIS Platform - partner must have one of vermittler,intermediary to be eligible for invitation.
|
|
90
90
|
* @summary Create the Partner Invitation
|
|
91
|
-
* @param {
|
|
91
|
+
* @param {PartnerInvitationsApiInvitePartnerToEISRequest} requestParameters Request parameters.
|
|
92
92
|
* @param {*} [options] Override http request option.
|
|
93
93
|
* @throws {RequiredError}
|
|
94
|
-
* @memberof
|
|
94
|
+
* @memberof PartnerInvitationsApi
|
|
95
95
|
*/
|
|
96
|
-
invitePartnerToEIS(requestParameters:
|
|
96
|
+
invitePartnerToEIS(requestParameters: PartnerInvitationsApiInvitePartnerToEISRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InvitePartnerToEisResponseClass, any>>;
|
|
97
97
|
}
|
|
@@ -78,7 +78,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
78
78
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
79
79
|
};
|
|
80
80
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
81
|
-
exports.
|
|
81
|
+
exports.PartnerInvitationsApi = exports.PartnerInvitationsApiFactory = exports.PartnerInvitationsApiFp = exports.PartnerInvitationsApiAxiosParamCreator = void 0;
|
|
82
82
|
var axios_1 = __importDefault(require("axios"));
|
|
83
83
|
// Some imports not used depending on template conditions
|
|
84
84
|
// @ts-ignore
|
|
@@ -86,10 +86,10 @@ var common_1 = require("../common");
|
|
|
86
86
|
// @ts-ignore
|
|
87
87
|
var base_1 = require("../base");
|
|
88
88
|
/**
|
|
89
|
-
*
|
|
89
|
+
* PartnerInvitationsApi - axios parameter creator
|
|
90
90
|
* @export
|
|
91
91
|
*/
|
|
92
|
-
var
|
|
92
|
+
var PartnerInvitationsApiAxiosParamCreator = function (configuration) {
|
|
93
93
|
var _this = this;
|
|
94
94
|
return {
|
|
95
95
|
/**
|
|
@@ -143,13 +143,13 @@ var PartnerInvitationApiAxiosParamCreator = function (configuration) {
|
|
|
143
143
|
},
|
|
144
144
|
};
|
|
145
145
|
};
|
|
146
|
-
exports.
|
|
146
|
+
exports.PartnerInvitationsApiAxiosParamCreator = PartnerInvitationsApiAxiosParamCreator;
|
|
147
147
|
/**
|
|
148
|
-
*
|
|
148
|
+
* PartnerInvitationsApi - functional programming interface
|
|
149
149
|
* @export
|
|
150
150
|
*/
|
|
151
|
-
var
|
|
152
|
-
var localVarAxiosParamCreator = (0, exports.
|
|
151
|
+
var PartnerInvitationsApiFp = function (configuration) {
|
|
152
|
+
var localVarAxiosParamCreator = (0, exports.PartnerInvitationsApiAxiosParamCreator)(configuration);
|
|
153
153
|
return {
|
|
154
154
|
/**
|
|
155
155
|
* Invites a partner to EIS Platform - partner must have one of vermittler,intermediary to be eligible for invitation.
|
|
@@ -174,13 +174,13 @@ var PartnerInvitationApiFp = function (configuration) {
|
|
|
174
174
|
},
|
|
175
175
|
};
|
|
176
176
|
};
|
|
177
|
-
exports.
|
|
177
|
+
exports.PartnerInvitationsApiFp = PartnerInvitationsApiFp;
|
|
178
178
|
/**
|
|
179
|
-
*
|
|
179
|
+
* PartnerInvitationsApi - factory interface
|
|
180
180
|
* @export
|
|
181
181
|
*/
|
|
182
|
-
var
|
|
183
|
-
var localVarFp = (0, exports.
|
|
182
|
+
var PartnerInvitationsApiFactory = function (configuration, basePath, axios) {
|
|
183
|
+
var localVarFp = (0, exports.PartnerInvitationsApiFp)(configuration);
|
|
184
184
|
return {
|
|
185
185
|
/**
|
|
186
186
|
* Invites a partner to EIS Platform - partner must have one of vermittler,intermediary to be eligible for invitation.
|
|
@@ -195,30 +195,30 @@ var PartnerInvitationApiFactory = function (configuration, basePath, axios) {
|
|
|
195
195
|
},
|
|
196
196
|
};
|
|
197
197
|
};
|
|
198
|
-
exports.
|
|
198
|
+
exports.PartnerInvitationsApiFactory = PartnerInvitationsApiFactory;
|
|
199
199
|
/**
|
|
200
|
-
*
|
|
200
|
+
* PartnerInvitationsApi - object-oriented interface
|
|
201
201
|
* @export
|
|
202
|
-
* @class
|
|
202
|
+
* @class PartnerInvitationsApi
|
|
203
203
|
* @extends {BaseAPI}
|
|
204
204
|
*/
|
|
205
|
-
var
|
|
206
|
-
__extends(
|
|
207
|
-
function
|
|
205
|
+
var PartnerInvitationsApi = /** @class */ (function (_super) {
|
|
206
|
+
__extends(PartnerInvitationsApi, _super);
|
|
207
|
+
function PartnerInvitationsApi() {
|
|
208
208
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
209
209
|
}
|
|
210
210
|
/**
|
|
211
211
|
* Invites a partner to EIS Platform - partner must have one of vermittler,intermediary to be eligible for invitation.
|
|
212
212
|
* @summary Create the Partner Invitation
|
|
213
|
-
* @param {
|
|
213
|
+
* @param {PartnerInvitationsApiInvitePartnerToEISRequest} requestParameters Request parameters.
|
|
214
214
|
* @param {*} [options] Override http request option.
|
|
215
215
|
* @throws {RequiredError}
|
|
216
|
-
* @memberof
|
|
216
|
+
* @memberof PartnerInvitationsApi
|
|
217
217
|
*/
|
|
218
|
-
|
|
218
|
+
PartnerInvitationsApi.prototype.invitePartnerToEIS = function (requestParameters, options) {
|
|
219
219
|
var _this = this;
|
|
220
|
-
return (0, exports.
|
|
220
|
+
return (0, exports.PartnerInvitationsApiFp)(this.configuration).invitePartnerToEIS(requestParameters.invitePartnerToEISRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
221
221
|
};
|
|
222
|
-
return
|
|
222
|
+
return PartnerInvitationsApi;
|
|
223
223
|
}(base_1.BaseAPI));
|
|
224
|
-
exports.
|
|
224
|
+
exports.PartnerInvitationsApi = PartnerInvitationsApi;
|
|
@@ -21,10 +21,10 @@ import { ListPartnerRelationClass } from '../models';
|
|
|
21
21
|
import { ListPartnerRelationTypesClass } from '../models';
|
|
22
22
|
import { UpdatePartnerRelationRequestDtoRest } from '../models';
|
|
23
23
|
/**
|
|
24
|
-
*
|
|
24
|
+
* PartnerRelationsApi - axios parameter creator
|
|
25
25
|
* @export
|
|
26
26
|
*/
|
|
27
|
-
export declare const
|
|
27
|
+
export declare const PartnerRelationsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
28
28
|
/**
|
|
29
29
|
* This will create a relationship between two partners. For example a parent-child relationship, or a partnership agreement.
|
|
30
30
|
* @summary Create the partner relation
|
|
@@ -103,10 +103,10 @@ export declare const PartnerRelationApiAxiosParamCreator: (configuration?: Confi
|
|
|
103
103
|
updatePartnerRelation: (id: number, updatePartnerRelationRequestDtoRest: UpdatePartnerRelationRequestDtoRest, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
104
104
|
};
|
|
105
105
|
/**
|
|
106
|
-
*
|
|
106
|
+
* PartnerRelationsApi - functional programming interface
|
|
107
107
|
* @export
|
|
108
108
|
*/
|
|
109
|
-
export declare const
|
|
109
|
+
export declare const PartnerRelationsApiFp: (configuration?: Configuration) => {
|
|
110
110
|
/**
|
|
111
111
|
* This will create a relationship between two partners. For example a parent-child relationship, or a partnership agreement.
|
|
112
112
|
* @summary Create the partner relation
|
|
@@ -185,10 +185,10 @@ export declare const PartnerRelationApiFp: (configuration?: Configuration) => {
|
|
|
185
185
|
updatePartnerRelation(id: number, updatePartnerRelationRequestDtoRest: UpdatePartnerRelationRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPartnerRelationClass>>;
|
|
186
186
|
};
|
|
187
187
|
/**
|
|
188
|
-
*
|
|
188
|
+
* PartnerRelationsApi - factory interface
|
|
189
189
|
* @export
|
|
190
190
|
*/
|
|
191
|
-
export declare const
|
|
191
|
+
export declare const PartnerRelationsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
192
192
|
/**
|
|
193
193
|
* This will create a relationship between two partners. For example a parent-child relationship, or a partnership agreement.
|
|
194
194
|
* @summary Create the partner relation
|
|
@@ -267,284 +267,284 @@ export declare const PartnerRelationApiFactory: (configuration?: Configuration,
|
|
|
267
267
|
updatePartnerRelation(id: number, updatePartnerRelationRequestDtoRest: UpdatePartnerRelationRequestDtoRest, authorization?: string, options?: any): AxiosPromise<GetPartnerRelationClass>;
|
|
268
268
|
};
|
|
269
269
|
/**
|
|
270
|
-
* Request parameters for createPartnerRelation operation in
|
|
270
|
+
* Request parameters for createPartnerRelation operation in PartnerRelationsApi.
|
|
271
271
|
* @export
|
|
272
|
-
* @interface
|
|
272
|
+
* @interface PartnerRelationsApiCreatePartnerRelationRequest
|
|
273
273
|
*/
|
|
274
|
-
export interface
|
|
274
|
+
export interface PartnerRelationsApiCreatePartnerRelationRequest {
|
|
275
275
|
/**
|
|
276
276
|
*
|
|
277
277
|
* @type {CreatePartnerRelationRequestDtoRest}
|
|
278
|
-
* @memberof
|
|
278
|
+
* @memberof PartnerRelationsApiCreatePartnerRelation
|
|
279
279
|
*/
|
|
280
280
|
readonly createPartnerRelationRequestDtoRest: CreatePartnerRelationRequestDtoRest;
|
|
281
281
|
/**
|
|
282
282
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
283
283
|
* @type {string}
|
|
284
|
-
* @memberof
|
|
284
|
+
* @memberof PartnerRelationsApiCreatePartnerRelation
|
|
285
285
|
*/
|
|
286
286
|
readonly authorization?: string;
|
|
287
287
|
}
|
|
288
288
|
/**
|
|
289
|
-
* Request parameters for deletePartnerRelation operation in
|
|
289
|
+
* Request parameters for deletePartnerRelation operation in PartnerRelationsApi.
|
|
290
290
|
* @export
|
|
291
|
-
* @interface
|
|
291
|
+
* @interface PartnerRelationsApiDeletePartnerRelationRequest
|
|
292
292
|
*/
|
|
293
|
-
export interface
|
|
293
|
+
export interface PartnerRelationsApiDeletePartnerRelationRequest {
|
|
294
294
|
/**
|
|
295
295
|
*
|
|
296
296
|
* @type {number}
|
|
297
|
-
* @memberof
|
|
297
|
+
* @memberof PartnerRelationsApiDeletePartnerRelation
|
|
298
298
|
*/
|
|
299
299
|
readonly id: number;
|
|
300
300
|
/**
|
|
301
301
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
302
302
|
* @type {string}
|
|
303
|
-
* @memberof
|
|
303
|
+
* @memberof PartnerRelationsApiDeletePartnerRelation
|
|
304
304
|
*/
|
|
305
305
|
readonly authorization?: string;
|
|
306
306
|
}
|
|
307
307
|
/**
|
|
308
|
-
* Request parameters for getPartnerRelation operation in
|
|
308
|
+
* Request parameters for getPartnerRelation operation in PartnerRelationsApi.
|
|
309
309
|
* @export
|
|
310
|
-
* @interface
|
|
310
|
+
* @interface PartnerRelationsApiGetPartnerRelationRequest
|
|
311
311
|
*/
|
|
312
|
-
export interface
|
|
312
|
+
export interface PartnerRelationsApiGetPartnerRelationRequest {
|
|
313
313
|
/**
|
|
314
314
|
* Id of the partner relation
|
|
315
315
|
* @type {number}
|
|
316
|
-
* @memberof
|
|
316
|
+
* @memberof PartnerRelationsApiGetPartnerRelation
|
|
317
317
|
*/
|
|
318
318
|
readonly id: number;
|
|
319
319
|
/**
|
|
320
320
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
321
321
|
* @type {string}
|
|
322
|
-
* @memberof
|
|
322
|
+
* @memberof PartnerRelationsApiGetPartnerRelation
|
|
323
323
|
*/
|
|
324
324
|
readonly authorization?: string;
|
|
325
325
|
}
|
|
326
326
|
/**
|
|
327
|
-
* Request parameters for getPartnerRelationType operation in
|
|
327
|
+
* Request parameters for getPartnerRelationType operation in PartnerRelationsApi.
|
|
328
328
|
* @export
|
|
329
|
-
* @interface
|
|
329
|
+
* @interface PartnerRelationsApiGetPartnerRelationTypeRequest
|
|
330
330
|
*/
|
|
331
|
-
export interface
|
|
331
|
+
export interface PartnerRelationsApiGetPartnerRelationTypeRequest {
|
|
332
332
|
/**
|
|
333
333
|
* Identifying slug of the partner relation type
|
|
334
334
|
* @type {string}
|
|
335
|
-
* @memberof
|
|
335
|
+
* @memberof PartnerRelationsApiGetPartnerRelationType
|
|
336
336
|
*/
|
|
337
337
|
readonly slug: string;
|
|
338
338
|
/**
|
|
339
339
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
340
340
|
* @type {string}
|
|
341
|
-
* @memberof
|
|
341
|
+
* @memberof PartnerRelationsApiGetPartnerRelationType
|
|
342
342
|
*/
|
|
343
343
|
readonly authorization?: string;
|
|
344
344
|
}
|
|
345
345
|
/**
|
|
346
|
-
* Request parameters for listPartnerRelationTypes operation in
|
|
346
|
+
* Request parameters for listPartnerRelationTypes operation in PartnerRelationsApi.
|
|
347
347
|
* @export
|
|
348
|
-
* @interface
|
|
348
|
+
* @interface PartnerRelationsApiListPartnerRelationTypesRequest
|
|
349
349
|
*/
|
|
350
|
-
export interface
|
|
350
|
+
export interface PartnerRelationsApiListPartnerRelationTypesRequest {
|
|
351
351
|
/**
|
|
352
352
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
353
353
|
* @type {string}
|
|
354
|
-
* @memberof
|
|
354
|
+
* @memberof PartnerRelationsApiListPartnerRelationTypes
|
|
355
355
|
*/
|
|
356
356
|
readonly authorization?: string;
|
|
357
357
|
/**
|
|
358
358
|
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
359
359
|
* @type {any}
|
|
360
|
-
* @memberof
|
|
360
|
+
* @memberof PartnerRelationsApiListPartnerRelationTypes
|
|
361
361
|
*/
|
|
362
362
|
readonly pageSize?: any;
|
|
363
363
|
/**
|
|
364
364
|
* 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.
|
|
365
365
|
* @type {any}
|
|
366
|
-
* @memberof
|
|
366
|
+
* @memberof PartnerRelationsApiListPartnerRelationTypes
|
|
367
367
|
*/
|
|
368
368
|
readonly pageToken?: any;
|
|
369
369
|
/**
|
|
370
370
|
* 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>
|
|
371
371
|
* @type {string}
|
|
372
|
-
* @memberof
|
|
372
|
+
* @memberof PartnerRelationsApiListPartnerRelationTypes
|
|
373
373
|
*/
|
|
374
374
|
readonly filter?: string;
|
|
375
375
|
/**
|
|
376
376
|
* To search the list by any field, pass search=xxx to fetch the result.
|
|
377
377
|
* @type {any}
|
|
378
|
-
* @memberof
|
|
378
|
+
* @memberof PartnerRelationsApiListPartnerRelationTypes
|
|
379
379
|
*/
|
|
380
380
|
readonly search?: any;
|
|
381
381
|
/**
|
|
382
382
|
* 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>
|
|
383
383
|
* @type {string}
|
|
384
|
-
* @memberof
|
|
384
|
+
* @memberof PartnerRelationsApiListPartnerRelationTypes
|
|
385
385
|
*/
|
|
386
386
|
readonly order?: string;
|
|
387
387
|
/**
|
|
388
388
|
* 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>
|
|
389
389
|
* @type {string}
|
|
390
|
-
* @memberof
|
|
390
|
+
* @memberof PartnerRelationsApiListPartnerRelationTypes
|
|
391
391
|
*/
|
|
392
392
|
readonly expand?: string;
|
|
393
393
|
/**
|
|
394
394
|
* 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>
|
|
395
395
|
* @type {string}
|
|
396
|
-
* @memberof
|
|
396
|
+
* @memberof PartnerRelationsApiListPartnerRelationTypes
|
|
397
397
|
*/
|
|
398
398
|
readonly filters?: string;
|
|
399
399
|
}
|
|
400
400
|
/**
|
|
401
|
-
* Request parameters for listPartnerRelations operation in
|
|
401
|
+
* Request parameters for listPartnerRelations operation in PartnerRelationsApi.
|
|
402
402
|
* @export
|
|
403
|
-
* @interface
|
|
403
|
+
* @interface PartnerRelationsApiListPartnerRelationsRequest
|
|
404
404
|
*/
|
|
405
|
-
export interface
|
|
405
|
+
export interface PartnerRelationsApiListPartnerRelationsRequest {
|
|
406
406
|
/**
|
|
407
407
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
408
408
|
* @type {string}
|
|
409
|
-
* @memberof
|
|
409
|
+
* @memberof PartnerRelationsApiListPartnerRelations
|
|
410
410
|
*/
|
|
411
411
|
readonly authorization?: string;
|
|
412
412
|
/**
|
|
413
413
|
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
414
414
|
* @type {any}
|
|
415
|
-
* @memberof
|
|
415
|
+
* @memberof PartnerRelationsApiListPartnerRelations
|
|
416
416
|
*/
|
|
417
417
|
readonly pageSize?: any;
|
|
418
418
|
/**
|
|
419
419
|
* 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.
|
|
420
420
|
* @type {any}
|
|
421
|
-
* @memberof
|
|
421
|
+
* @memberof PartnerRelationsApiListPartnerRelations
|
|
422
422
|
*/
|
|
423
423
|
readonly pageToken?: any;
|
|
424
424
|
/**
|
|
425
425
|
* 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>
|
|
426
426
|
* @type {string}
|
|
427
|
-
* @memberof
|
|
427
|
+
* @memberof PartnerRelationsApiListPartnerRelations
|
|
428
428
|
*/
|
|
429
429
|
readonly filter?: string;
|
|
430
430
|
/**
|
|
431
431
|
* To search the list by any field, pass search=xxx to fetch the result.
|
|
432
432
|
* @type {any}
|
|
433
|
-
* @memberof
|
|
433
|
+
* @memberof PartnerRelationsApiListPartnerRelations
|
|
434
434
|
*/
|
|
435
435
|
readonly search?: any;
|
|
436
436
|
/**
|
|
437
437
|
* 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>
|
|
438
438
|
* @type {string}
|
|
439
|
-
* @memberof
|
|
439
|
+
* @memberof PartnerRelationsApiListPartnerRelations
|
|
440
440
|
*/
|
|
441
441
|
readonly order?: string;
|
|
442
442
|
/**
|
|
443
443
|
* 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>
|
|
444
444
|
* @type {string}
|
|
445
|
-
* @memberof
|
|
445
|
+
* @memberof PartnerRelationsApiListPartnerRelations
|
|
446
446
|
*/
|
|
447
447
|
readonly expand?: string;
|
|
448
448
|
/**
|
|
449
449
|
* 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>
|
|
450
450
|
* @type {string}
|
|
451
|
-
* @memberof
|
|
451
|
+
* @memberof PartnerRelationsApiListPartnerRelations
|
|
452
452
|
*/
|
|
453
453
|
readonly filters?: string;
|
|
454
454
|
}
|
|
455
455
|
/**
|
|
456
|
-
* Request parameters for updatePartnerRelation operation in
|
|
456
|
+
* Request parameters for updatePartnerRelation operation in PartnerRelationsApi.
|
|
457
457
|
* @export
|
|
458
|
-
* @interface
|
|
458
|
+
* @interface PartnerRelationsApiUpdatePartnerRelationRequest
|
|
459
459
|
*/
|
|
460
|
-
export interface
|
|
460
|
+
export interface PartnerRelationsApiUpdatePartnerRelationRequest {
|
|
461
461
|
/**
|
|
462
462
|
* Id of the partner relation
|
|
463
463
|
* @type {number}
|
|
464
|
-
* @memberof
|
|
464
|
+
* @memberof PartnerRelationsApiUpdatePartnerRelation
|
|
465
465
|
*/
|
|
466
466
|
readonly id: number;
|
|
467
467
|
/**
|
|
468
468
|
*
|
|
469
469
|
* @type {UpdatePartnerRelationRequestDtoRest}
|
|
470
|
-
* @memberof
|
|
470
|
+
* @memberof PartnerRelationsApiUpdatePartnerRelation
|
|
471
471
|
*/
|
|
472
472
|
readonly updatePartnerRelationRequestDtoRest: UpdatePartnerRelationRequestDtoRest;
|
|
473
473
|
/**
|
|
474
474
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
475
475
|
* @type {string}
|
|
476
|
-
* @memberof
|
|
476
|
+
* @memberof PartnerRelationsApiUpdatePartnerRelation
|
|
477
477
|
*/
|
|
478
478
|
readonly authorization?: string;
|
|
479
479
|
}
|
|
480
480
|
/**
|
|
481
|
-
*
|
|
481
|
+
* PartnerRelationsApi - object-oriented interface
|
|
482
482
|
* @export
|
|
483
|
-
* @class
|
|
483
|
+
* @class PartnerRelationsApi
|
|
484
484
|
* @extends {BaseAPI}
|
|
485
485
|
*/
|
|
486
|
-
export declare class
|
|
486
|
+
export declare class PartnerRelationsApi extends BaseAPI {
|
|
487
487
|
/**
|
|
488
488
|
* This will create a relationship between two partners. For example a parent-child relationship, or a partnership agreement.
|
|
489
489
|
* @summary Create the partner relation
|
|
490
|
-
* @param {
|
|
490
|
+
* @param {PartnerRelationsApiCreatePartnerRelationRequest} requestParameters Request parameters.
|
|
491
491
|
* @param {*} [options] Override http request option.
|
|
492
492
|
* @throws {RequiredError}
|
|
493
|
-
* @memberof
|
|
493
|
+
* @memberof PartnerRelationsApi
|
|
494
494
|
*/
|
|
495
|
-
createPartnerRelation(requestParameters:
|
|
495
|
+
createPartnerRelation(requestParameters: PartnerRelationsApiCreatePartnerRelationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePartnerRelationResponseClass, any>>;
|
|
496
496
|
/**
|
|
497
497
|
* Permanently deletes the partner-relation. Supply the unique code that was returned when you created the partner-relation and this will delete it.
|
|
498
498
|
* @summary Delete the partner-relation
|
|
499
|
-
* @param {
|
|
499
|
+
* @param {PartnerRelationsApiDeletePartnerRelationRequest} requestParameters Request parameters.
|
|
500
500
|
* @param {*} [options] Override http request option.
|
|
501
501
|
* @throws {RequiredError}
|
|
502
|
-
* @memberof
|
|
502
|
+
* @memberof PartnerRelationsApi
|
|
503
503
|
*/
|
|
504
|
-
deletePartnerRelation(requestParameters:
|
|
504
|
+
deletePartnerRelation(requestParameters: PartnerRelationsApiDeletePartnerRelationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteResponseClass, any>>;
|
|
505
505
|
/**
|
|
506
506
|
* Retrieve a single partner relation identified by its id
|
|
507
507
|
* @summary Retrieve the partner relation
|
|
508
|
-
* @param {
|
|
508
|
+
* @param {PartnerRelationsApiGetPartnerRelationRequest} requestParameters Request parameters.
|
|
509
509
|
* @param {*} [options] Override http request option.
|
|
510
510
|
* @throws {RequiredError}
|
|
511
|
-
* @memberof
|
|
511
|
+
* @memberof PartnerRelationsApi
|
|
512
512
|
*/
|
|
513
|
-
getPartnerRelation(requestParameters:
|
|
513
|
+
getPartnerRelation(requestParameters: PartnerRelationsApiGetPartnerRelationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPartnerRelationClass, any>>;
|
|
514
514
|
/**
|
|
515
515
|
* Retrieve a single partner relation type identified with a slug - can be used to create partner relations
|
|
516
516
|
* @summary Retrieve the partner relation type
|
|
517
|
-
* @param {
|
|
517
|
+
* @param {PartnerRelationsApiGetPartnerRelationTypeRequest} requestParameters Request parameters.
|
|
518
518
|
* @param {*} [options] Override http request option.
|
|
519
519
|
* @throws {RequiredError}
|
|
520
|
-
* @memberof
|
|
520
|
+
* @memberof PartnerRelationsApi
|
|
521
521
|
*/
|
|
522
|
-
getPartnerRelationType(requestParameters:
|
|
522
|
+
getPartnerRelationType(requestParameters: PartnerRelationsApiGetPartnerRelationTypeRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPartnerRelationTypeClass, any>>;
|
|
523
523
|
/**
|
|
524
524
|
* List all partner relation types - is used to create partner relations
|
|
525
525
|
* @summary List partner relation types
|
|
526
|
-
* @param {
|
|
526
|
+
* @param {PartnerRelationsApiListPartnerRelationTypesRequest} requestParameters Request parameters.
|
|
527
527
|
* @param {*} [options] Override http request option.
|
|
528
528
|
* @throws {RequiredError}
|
|
529
|
-
* @memberof
|
|
529
|
+
* @memberof PartnerRelationsApi
|
|
530
530
|
*/
|
|
531
|
-
listPartnerRelationTypes(requestParameters?:
|
|
531
|
+
listPartnerRelationTypes(requestParameters?: PartnerRelationsApiListPartnerRelationTypesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPartnerRelationTypesClass, any>>;
|
|
532
532
|
/**
|
|
533
533
|
* List all partner relations
|
|
534
534
|
* @summary List partner relations
|
|
535
|
-
* @param {
|
|
535
|
+
* @param {PartnerRelationsApiListPartnerRelationsRequest} requestParameters Request parameters.
|
|
536
536
|
* @param {*} [options] Override http request option.
|
|
537
537
|
* @throws {RequiredError}
|
|
538
|
-
* @memberof
|
|
538
|
+
* @memberof PartnerRelationsApi
|
|
539
539
|
*/
|
|
540
|
-
listPartnerRelations(requestParameters?:
|
|
540
|
+
listPartnerRelations(requestParameters?: PartnerRelationsApiListPartnerRelationsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPartnerRelationClass, any>>;
|
|
541
541
|
/**
|
|
542
542
|
* Update a partner relation identified by its id
|
|
543
543
|
* @summary Update the partner relation
|
|
544
|
-
* @param {
|
|
544
|
+
* @param {PartnerRelationsApiUpdatePartnerRelationRequest} requestParameters Request parameters.
|
|
545
545
|
* @param {*} [options] Override http request option.
|
|
546
546
|
* @throws {RequiredError}
|
|
547
|
-
* @memberof
|
|
547
|
+
* @memberof PartnerRelationsApi
|
|
548
548
|
*/
|
|
549
|
-
updatePartnerRelation(requestParameters:
|
|
549
|
+
updatePartnerRelation(requestParameters: PartnerRelationsApiUpdatePartnerRelationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPartnerRelationClass, any>>;
|
|
550
550
|
}
|