@emilgroup/partner-sdk 1.5.1-beta.3 → 1.6.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 +4 -10
- package/README.md +2 -2
- 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-api.ts → partners-api.ts} +82 -82
- package/api.ts +8 -10
- 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-api.d.ts → partners-api.d.ts} +74 -74
- package/dist/api/{partner-api.js → partners-api.js} +49 -49
- package/dist/api.d.ts +4 -5
- package/dist/api.js +4 -5
- package/dist/models/create-partner-response-class.d.ts +0 -7
- package/dist/models/index.d.ts +0 -5
- package/dist/models/index.js +0 -5
- package/dist/models/partner-class.d.ts +0 -6
- package/models/create-partner-response-class.ts +0 -7
- package/models/index.ts +0 -5
- package/models/partner-class.ts +0 -6
- package/package.json +1 -1
- package/api/partner-invitation-api.ts +0 -165
- package/dist/api/partner-invitation-api.d.ts +0 -97
- package/dist/api/partner-invitation-api.js +0 -224
- package/dist/models/invite-class.d.ts +0 -79
- package/dist/models/invite-class.js +0 -15
- package/dist/models/invite-partner-to-eis-response-class.d.ts +0 -25
- package/dist/models/invite-partner-to-eis-response-class.js +0 -15
- package/dist/models/invite-partner-to-eisrequest-dto.d.ts +0 -42
- package/dist/models/invite-partner-to-eisrequest-dto.js +0 -15
- package/dist/models/permission-class.d.ts +0 -72
- package/dist/models/permission-class.js +0 -15
- package/dist/models/role-class.d.ts +0 -73
- package/dist/models/role-class.js +0 -15
- package/models/invite-class.ts +0 -85
- package/models/invite-partner-to-eis-response-class.ts +0 -31
- package/models/invite-partner-to-eisrequest-dto.ts +0 -48
- package/models/permission-class.ts +0 -78
- package/models/role-class.ts +0 -79
|
@@ -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
|
}
|
|
@@ -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.PartnerRelationsApi = exports.PartnerRelationsApiFactory = exports.PartnerRelationsApiFp = exports.PartnerRelationsApiAxiosParamCreator = 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
|
+
* PartnerRelationsApi - axios parameter creator
|
|
90
90
|
* @export
|
|
91
91
|
*/
|
|
92
|
-
var
|
|
92
|
+
var PartnerRelationsApiAxiosParamCreator = function (configuration) {
|
|
93
93
|
var _this = this;
|
|
94
94
|
return {
|
|
95
95
|
/**
|
|
@@ -484,13 +484,13 @@ var PartnerRelationApiAxiosParamCreator = function (configuration) {
|
|
|
484
484
|
},
|
|
485
485
|
};
|
|
486
486
|
};
|
|
487
|
-
exports.
|
|
487
|
+
exports.PartnerRelationsApiAxiosParamCreator = PartnerRelationsApiAxiosParamCreator;
|
|
488
488
|
/**
|
|
489
|
-
*
|
|
489
|
+
* PartnerRelationsApi - functional programming interface
|
|
490
490
|
* @export
|
|
491
491
|
*/
|
|
492
|
-
var
|
|
493
|
-
var localVarAxiosParamCreator = (0, exports.
|
|
492
|
+
var PartnerRelationsApiFp = function (configuration) {
|
|
493
|
+
var localVarAxiosParamCreator = (0, exports.PartnerRelationsApiAxiosParamCreator)(configuration);
|
|
494
494
|
return {
|
|
495
495
|
/**
|
|
496
496
|
* This will create a relationship between two partners. For example a parent-child relationship, or a partnership agreement.
|
|
@@ -654,13 +654,13 @@ var PartnerRelationApiFp = function (configuration) {
|
|
|
654
654
|
},
|
|
655
655
|
};
|
|
656
656
|
};
|
|
657
|
-
exports.
|
|
657
|
+
exports.PartnerRelationsApiFp = PartnerRelationsApiFp;
|
|
658
658
|
/**
|
|
659
|
-
*
|
|
659
|
+
* PartnerRelationsApi - factory interface
|
|
660
660
|
* @export
|
|
661
661
|
*/
|
|
662
|
-
var
|
|
663
|
-
var localVarFp = (0, exports.
|
|
662
|
+
var PartnerRelationsApiFactory = function (configuration, basePath, axios) {
|
|
663
|
+
var localVarFp = (0, exports.PartnerRelationsApiFp)(configuration);
|
|
664
664
|
return {
|
|
665
665
|
/**
|
|
666
666
|
* This will create a relationship between two partners. For example a parent-child relationship, or a partnership agreement.
|
|
@@ -754,104 +754,104 @@ var PartnerRelationApiFactory = function (configuration, basePath, axios) {
|
|
|
754
754
|
},
|
|
755
755
|
};
|
|
756
756
|
};
|
|
757
|
-
exports.
|
|
757
|
+
exports.PartnerRelationsApiFactory = PartnerRelationsApiFactory;
|
|
758
758
|
/**
|
|
759
|
-
*
|
|
759
|
+
* PartnerRelationsApi - object-oriented interface
|
|
760
760
|
* @export
|
|
761
|
-
* @class
|
|
761
|
+
* @class PartnerRelationsApi
|
|
762
762
|
* @extends {BaseAPI}
|
|
763
763
|
*/
|
|
764
|
-
var
|
|
765
|
-
__extends(
|
|
766
|
-
function
|
|
764
|
+
var PartnerRelationsApi = /** @class */ (function (_super) {
|
|
765
|
+
__extends(PartnerRelationsApi, _super);
|
|
766
|
+
function PartnerRelationsApi() {
|
|
767
767
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
768
768
|
}
|
|
769
769
|
/**
|
|
770
770
|
* This will create a relationship between two partners. For example a parent-child relationship, or a partnership agreement.
|
|
771
771
|
* @summary Create the partner relation
|
|
772
|
-
* @param {
|
|
772
|
+
* @param {PartnerRelationsApiCreatePartnerRelationRequest} requestParameters Request parameters.
|
|
773
773
|
* @param {*} [options] Override http request option.
|
|
774
774
|
* @throws {RequiredError}
|
|
775
|
-
* @memberof
|
|
775
|
+
* @memberof PartnerRelationsApi
|
|
776
776
|
*/
|
|
777
|
-
|
|
777
|
+
PartnerRelationsApi.prototype.createPartnerRelation = function (requestParameters, options) {
|
|
778
778
|
var _this = this;
|
|
779
|
-
return (0, exports.
|
|
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
782
|
* Permanently deletes the partner-relation. Supply the unique code that was returned when you created the partner-relation and this will delete it.
|
|
783
783
|
* @summary Delete the partner-relation
|
|
784
|
-
* @param {
|
|
784
|
+
* @param {PartnerRelationsApiDeletePartnerRelationRequest} requestParameters Request parameters.
|
|
785
785
|
* @param {*} [options] Override http request option.
|
|
786
786
|
* @throws {RequiredError}
|
|
787
|
-
* @memberof
|
|
787
|
+
* @memberof PartnerRelationsApi
|
|
788
788
|
*/
|
|
789
|
-
|
|
789
|
+
PartnerRelationsApi.prototype.deletePartnerRelation = function (requestParameters, options) {
|
|
790
790
|
var _this = this;
|
|
791
|
-
return (0, exports.
|
|
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
794
|
* Retrieve a single partner relation identified by its id
|
|
795
795
|
* @summary Retrieve the partner relation
|
|
796
|
-
* @param {
|
|
796
|
+
* @param {PartnerRelationsApiGetPartnerRelationRequest} requestParameters Request parameters.
|
|
797
797
|
* @param {*} [options] Override http request option.
|
|
798
798
|
* @throws {RequiredError}
|
|
799
|
-
* @memberof
|
|
799
|
+
* @memberof PartnerRelationsApi
|
|
800
800
|
*/
|
|
801
|
-
|
|
801
|
+
PartnerRelationsApi.prototype.getPartnerRelation = function (requestParameters, options) {
|
|
802
802
|
var _this = this;
|
|
803
|
-
return (0, exports.
|
|
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
806
|
* Retrieve a single partner relation type identified with a slug - can be used to create partner relations
|
|
807
807
|
* @summary Retrieve the partner relation type
|
|
808
|
-
* @param {
|
|
808
|
+
* @param {PartnerRelationsApiGetPartnerRelationTypeRequest} requestParameters Request parameters.
|
|
809
809
|
* @param {*} [options] Override http request option.
|
|
810
810
|
* @throws {RequiredError}
|
|
811
|
-
* @memberof
|
|
811
|
+
* @memberof PartnerRelationsApi
|
|
812
812
|
*/
|
|
813
|
-
|
|
813
|
+
PartnerRelationsApi.prototype.getPartnerRelationType = function (requestParameters, options) {
|
|
814
814
|
var _this = this;
|
|
815
|
-
return (0, exports.
|
|
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
818
|
* List all partner relation types - is used to create partner relations
|
|
819
819
|
* @summary List partner relation types
|
|
820
|
-
* @param {
|
|
820
|
+
* @param {PartnerRelationsApiListPartnerRelationTypesRequest} requestParameters Request parameters.
|
|
821
821
|
* @param {*} [options] Override http request option.
|
|
822
822
|
* @throws {RequiredError}
|
|
823
|
-
* @memberof
|
|
823
|
+
* @memberof PartnerRelationsApi
|
|
824
824
|
*/
|
|
825
|
-
|
|
825
|
+
PartnerRelationsApi.prototype.listPartnerRelationTypes = function (requestParameters, options) {
|
|
826
826
|
var _this = this;
|
|
827
827
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
828
|
-
return (0, exports.
|
|
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
831
|
* List all partner relations
|
|
832
832
|
* @summary List partner relations
|
|
833
|
-
* @param {
|
|
833
|
+
* @param {PartnerRelationsApiListPartnerRelationsRequest} requestParameters Request parameters.
|
|
834
834
|
* @param {*} [options] Override http request option.
|
|
835
835
|
* @throws {RequiredError}
|
|
836
|
-
* @memberof
|
|
836
|
+
* @memberof PartnerRelationsApi
|
|
837
837
|
*/
|
|
838
|
-
|
|
838
|
+
PartnerRelationsApi.prototype.listPartnerRelations = function (requestParameters, options) {
|
|
839
839
|
var _this = this;
|
|
840
840
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
841
|
-
return (0, exports.
|
|
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
844
|
* Update a partner relation identified by its id
|
|
845
845
|
* @summary Update the partner relation
|
|
846
|
-
* @param {
|
|
846
|
+
* @param {PartnerRelationsApiUpdatePartnerRelationRequest} requestParameters Request parameters.
|
|
847
847
|
* @param {*} [options] Override http request option.
|
|
848
848
|
* @throws {RequiredError}
|
|
849
|
-
* @memberof
|
|
849
|
+
* @memberof PartnerRelationsApi
|
|
850
850
|
*/
|
|
851
|
-
|
|
851
|
+
PartnerRelationsApi.prototype.updatePartnerRelation = function (requestParameters, options) {
|
|
852
852
|
var _this = this;
|
|
853
|
-
return (0, exports.
|
|
853
|
+
return (0, exports.PartnerRelationsApiFp)(this.configuration).updatePartnerRelation(requestParameters.id, requestParameters.updatePartnerRelationRequestDtoRest, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
854
854
|
};
|
|
855
|
-
return
|
|
855
|
+
return PartnerRelationsApi;
|
|
856
856
|
}(base_1.BaseAPI));
|
|
857
|
-
exports.
|
|
857
|
+
exports.PartnerRelationsApi = PartnerRelationsApi;
|