@emilgroup/partner-sdk 1.6.1-beta.3 → 1.8.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} +91 -91
- package/api/{partner-tag-api.ts → partner-tags-api.ts} +66 -66
- 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} +82 -82
- package/dist/api/{partner-relation-api.js → partner-relations-api.js} +50 -50
- package/dist/api/{partner-tag-api.d.ts → partner-tags-api.d.ts} +59 -59
- package/dist/api/{partner-tag-api.js → partner-tags-api.js} +42 -42
- 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
|
@@ -35,10 +35,10 @@ import { UpdatePartnerTypeRequestDto } from '../models';
|
|
|
35
35
|
// @ts-ignore
|
|
36
36
|
import { UpdatePartnerTypeResponseClass } from '../models';
|
|
37
37
|
/**
|
|
38
|
-
*
|
|
38
|
+
* PartnerTypesApi - axios parameter creator
|
|
39
39
|
* @export
|
|
40
40
|
*/
|
|
41
|
-
export const
|
|
41
|
+
export const PartnerTypesApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
42
42
|
return {
|
|
43
43
|
/**
|
|
44
44
|
* This will create a partner type.
|
|
@@ -313,11 +313,11 @@ export const PartnerTypeApiAxiosParamCreator = function (configuration?: Configu
|
|
|
313
313
|
};
|
|
314
314
|
|
|
315
315
|
/**
|
|
316
|
-
*
|
|
316
|
+
* PartnerTypesApi - functional programming interface
|
|
317
317
|
* @export
|
|
318
318
|
*/
|
|
319
|
-
export const
|
|
320
|
-
const localVarAxiosParamCreator =
|
|
319
|
+
export const PartnerTypesApiFp = function(configuration?: Configuration) {
|
|
320
|
+
const localVarAxiosParamCreator = PartnerTypesApiAxiosParamCreator(configuration)
|
|
321
321
|
return {
|
|
322
322
|
/**
|
|
323
323
|
* This will create a partner type.
|
|
@@ -391,11 +391,11 @@ export const PartnerTypeApiFp = function(configuration?: Configuration) {
|
|
|
391
391
|
};
|
|
392
392
|
|
|
393
393
|
/**
|
|
394
|
-
*
|
|
394
|
+
* PartnerTypesApi - factory interface
|
|
395
395
|
* @export
|
|
396
396
|
*/
|
|
397
|
-
export const
|
|
398
|
-
const localVarFp =
|
|
397
|
+
export const PartnerTypesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
398
|
+
const localVarFp = PartnerTypesApiFp(configuration)
|
|
399
399
|
return {
|
|
400
400
|
/**
|
|
401
401
|
* This will create a partner type.
|
|
@@ -464,230 +464,230 @@ export const PartnerTypeApiFactory = function (configuration?: Configuration, ba
|
|
|
464
464
|
};
|
|
465
465
|
|
|
466
466
|
/**
|
|
467
|
-
* Request parameters for createPartnerType operation in
|
|
467
|
+
* Request parameters for createPartnerType operation in PartnerTypesApi.
|
|
468
468
|
* @export
|
|
469
|
-
* @interface
|
|
469
|
+
* @interface PartnerTypesApiCreatePartnerTypeRequest
|
|
470
470
|
*/
|
|
471
|
-
export interface
|
|
471
|
+
export interface PartnerTypesApiCreatePartnerTypeRequest {
|
|
472
472
|
/**
|
|
473
473
|
*
|
|
474
474
|
* @type {CreatePartnerTypeRequestDto}
|
|
475
|
-
* @memberof
|
|
475
|
+
* @memberof PartnerTypesApiCreatePartnerType
|
|
476
476
|
*/
|
|
477
477
|
readonly createPartnerTypeRequestDto: CreatePartnerTypeRequestDto
|
|
478
478
|
|
|
479
479
|
/**
|
|
480
480
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
481
481
|
* @type {string}
|
|
482
|
-
* @memberof
|
|
482
|
+
* @memberof PartnerTypesApiCreatePartnerType
|
|
483
483
|
*/
|
|
484
484
|
readonly authorization?: string
|
|
485
485
|
}
|
|
486
486
|
|
|
487
487
|
/**
|
|
488
|
-
* Request parameters for deletePartnerType operation in
|
|
488
|
+
* Request parameters for deletePartnerType operation in PartnerTypesApi.
|
|
489
489
|
* @export
|
|
490
|
-
* @interface
|
|
490
|
+
* @interface PartnerTypesApiDeletePartnerTypeRequest
|
|
491
491
|
*/
|
|
492
|
-
export interface
|
|
492
|
+
export interface PartnerTypesApiDeletePartnerTypeRequest {
|
|
493
493
|
/**
|
|
494
494
|
*
|
|
495
495
|
* @type {string}
|
|
496
|
-
* @memberof
|
|
496
|
+
* @memberof PartnerTypesApiDeletePartnerType
|
|
497
497
|
*/
|
|
498
498
|
readonly code: string
|
|
499
499
|
|
|
500
500
|
/**
|
|
501
501
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
502
502
|
* @type {string}
|
|
503
|
-
* @memberof
|
|
503
|
+
* @memberof PartnerTypesApiDeletePartnerType
|
|
504
504
|
*/
|
|
505
505
|
readonly authorization?: string
|
|
506
506
|
}
|
|
507
507
|
|
|
508
508
|
/**
|
|
509
|
-
* Request parameters for getPartnerType operation in
|
|
509
|
+
* Request parameters for getPartnerType operation in PartnerTypesApi.
|
|
510
510
|
* @export
|
|
511
|
-
* @interface
|
|
511
|
+
* @interface PartnerTypesApiGetPartnerTypeRequest
|
|
512
512
|
*/
|
|
513
|
-
export interface
|
|
513
|
+
export interface PartnerTypesApiGetPartnerTypeRequest {
|
|
514
514
|
/**
|
|
515
515
|
* Unique identifier for the object.
|
|
516
516
|
* @type {string}
|
|
517
|
-
* @memberof
|
|
517
|
+
* @memberof PartnerTypesApiGetPartnerType
|
|
518
518
|
*/
|
|
519
519
|
readonly code: string
|
|
520
520
|
|
|
521
521
|
/**
|
|
522
522
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
523
523
|
* @type {string}
|
|
524
|
-
* @memberof
|
|
524
|
+
* @memberof PartnerTypesApiGetPartnerType
|
|
525
525
|
*/
|
|
526
526
|
readonly authorization?: string
|
|
527
527
|
|
|
528
528
|
/**
|
|
529
529
|
*
|
|
530
530
|
* @type {any}
|
|
531
|
-
* @memberof
|
|
531
|
+
* @memberof PartnerTypesApiGetPartnerType
|
|
532
532
|
*/
|
|
533
533
|
readonly expand?: any
|
|
534
534
|
}
|
|
535
535
|
|
|
536
536
|
/**
|
|
537
|
-
* Request parameters for listPartnerTypes operation in
|
|
537
|
+
* Request parameters for listPartnerTypes operation in PartnerTypesApi.
|
|
538
538
|
* @export
|
|
539
|
-
* @interface
|
|
539
|
+
* @interface PartnerTypesApiListPartnerTypesRequest
|
|
540
540
|
*/
|
|
541
|
-
export interface
|
|
541
|
+
export interface PartnerTypesApiListPartnerTypesRequest {
|
|
542
542
|
/**
|
|
543
543
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
544
544
|
* @type {string}
|
|
545
|
-
* @memberof
|
|
545
|
+
* @memberof PartnerTypesApiListPartnerTypes
|
|
546
546
|
*/
|
|
547
547
|
readonly authorization?: string
|
|
548
548
|
|
|
549
549
|
/**
|
|
550
550
|
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
551
551
|
* @type {any}
|
|
552
|
-
* @memberof
|
|
552
|
+
* @memberof PartnerTypesApiListPartnerTypes
|
|
553
553
|
*/
|
|
554
554
|
readonly pageSize?: any
|
|
555
555
|
|
|
556
556
|
/**
|
|
557
557
|
* 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.
|
|
558
558
|
* @type {any}
|
|
559
|
-
* @memberof
|
|
559
|
+
* @memberof PartnerTypesApiListPartnerTypes
|
|
560
560
|
*/
|
|
561
561
|
readonly pageToken?: any
|
|
562
562
|
|
|
563
563
|
/**
|
|
564
564
|
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
565
565
|
* @type {any}
|
|
566
|
-
* @memberof
|
|
566
|
+
* @memberof PartnerTypesApiListPartnerTypes
|
|
567
567
|
*/
|
|
568
568
|
readonly filter?: any
|
|
569
569
|
|
|
570
570
|
/**
|
|
571
571
|
* To search the list by any field, pass search=xxx to fetch the result.
|
|
572
572
|
* @type {any}
|
|
573
|
-
* @memberof
|
|
573
|
+
* @memberof PartnerTypesApiListPartnerTypes
|
|
574
574
|
*/
|
|
575
575
|
readonly search?: any
|
|
576
576
|
|
|
577
577
|
/**
|
|
578
578
|
* The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
579
579
|
* @type {any}
|
|
580
|
-
* @memberof
|
|
580
|
+
* @memberof PartnerTypesApiListPartnerTypes
|
|
581
581
|
*/
|
|
582
582
|
readonly order?: any
|
|
583
583
|
|
|
584
584
|
/**
|
|
585
585
|
* Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
586
586
|
* @type {any}
|
|
587
|
-
* @memberof
|
|
587
|
+
* @memberof PartnerTypesApiListPartnerTypes
|
|
588
588
|
*/
|
|
589
589
|
readonly expand?: any
|
|
590
590
|
|
|
591
591
|
/**
|
|
592
592
|
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
593
593
|
* @type {any}
|
|
594
|
-
* @memberof
|
|
594
|
+
* @memberof PartnerTypesApiListPartnerTypes
|
|
595
595
|
*/
|
|
596
596
|
readonly filters?: any
|
|
597
597
|
}
|
|
598
598
|
|
|
599
599
|
/**
|
|
600
|
-
* Request parameters for updatePartnerType operation in
|
|
600
|
+
* Request parameters for updatePartnerType operation in PartnerTypesApi.
|
|
601
601
|
* @export
|
|
602
|
-
* @interface
|
|
602
|
+
* @interface PartnerTypesApiUpdatePartnerTypeRequest
|
|
603
603
|
*/
|
|
604
|
-
export interface
|
|
604
|
+
export interface PartnerTypesApiUpdatePartnerTypeRequest {
|
|
605
605
|
/**
|
|
606
606
|
* Unique identifier for the object.
|
|
607
607
|
* @type {string}
|
|
608
|
-
* @memberof
|
|
608
|
+
* @memberof PartnerTypesApiUpdatePartnerType
|
|
609
609
|
*/
|
|
610
610
|
readonly code: string
|
|
611
611
|
|
|
612
612
|
/**
|
|
613
613
|
*
|
|
614
614
|
* @type {UpdatePartnerTypeRequestDto}
|
|
615
|
-
* @memberof
|
|
615
|
+
* @memberof PartnerTypesApiUpdatePartnerType
|
|
616
616
|
*/
|
|
617
617
|
readonly updatePartnerTypeRequestDto: UpdatePartnerTypeRequestDto
|
|
618
618
|
|
|
619
619
|
/**
|
|
620
620
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
621
621
|
* @type {string}
|
|
622
|
-
* @memberof
|
|
622
|
+
* @memberof PartnerTypesApiUpdatePartnerType
|
|
623
623
|
*/
|
|
624
624
|
readonly authorization?: string
|
|
625
625
|
}
|
|
626
626
|
|
|
627
627
|
/**
|
|
628
|
-
*
|
|
628
|
+
* PartnerTypesApi - object-oriented interface
|
|
629
629
|
* @export
|
|
630
|
-
* @class
|
|
630
|
+
* @class PartnerTypesApi
|
|
631
631
|
* @extends {BaseAPI}
|
|
632
632
|
*/
|
|
633
|
-
export class
|
|
633
|
+
export class PartnerTypesApi extends BaseAPI {
|
|
634
634
|
/**
|
|
635
635
|
* This will create a partner type.
|
|
636
636
|
* @summary Create the partner-types
|
|
637
|
-
* @param {
|
|
637
|
+
* @param {PartnerTypesApiCreatePartnerTypeRequest} requestParameters Request parameters.
|
|
638
638
|
* @param {*} [options] Override http request option.
|
|
639
639
|
* @throws {RequiredError}
|
|
640
|
-
* @memberof
|
|
640
|
+
* @memberof PartnerTypesApi
|
|
641
641
|
*/
|
|
642
|
-
public createPartnerType(requestParameters:
|
|
643
|
-
return
|
|
642
|
+
public createPartnerType(requestParameters: PartnerTypesApiCreatePartnerTypeRequest, options?: AxiosRequestConfig) {
|
|
643
|
+
return PartnerTypesApiFp(this.configuration).createPartnerType(requestParameters.createPartnerTypeRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
644
644
|
}
|
|
645
645
|
|
|
646
646
|
/**
|
|
647
647
|
* Permanently deletes the partner-types. Supply the unique code that was returned when you created the partner-types and this will delete it.
|
|
648
648
|
* @summary Delete the partner-types
|
|
649
|
-
* @param {
|
|
649
|
+
* @param {PartnerTypesApiDeletePartnerTypeRequest} requestParameters Request parameters.
|
|
650
650
|
* @param {*} [options] Override http request option.
|
|
651
651
|
* @throws {RequiredError}
|
|
652
|
-
* @memberof
|
|
652
|
+
* @memberof PartnerTypesApi
|
|
653
653
|
*/
|
|
654
|
-
public deletePartnerType(requestParameters:
|
|
655
|
-
return
|
|
654
|
+
public deletePartnerType(requestParameters: PartnerTypesApiDeletePartnerTypeRequest, options?: AxiosRequestConfig) {
|
|
655
|
+
return PartnerTypesApiFp(this.configuration).deletePartnerType(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
656
656
|
}
|
|
657
657
|
|
|
658
658
|
/**
|
|
659
659
|
* Retrieves the details of the partner-types that was previously created. Supply the unique partner-types code that was returned when you created it and Emil Api will return the corresponding partner-types information.
|
|
660
660
|
* @summary Retrieve the partner-types
|
|
661
|
-
* @param {
|
|
661
|
+
* @param {PartnerTypesApiGetPartnerTypeRequest} requestParameters Request parameters.
|
|
662
662
|
* @param {*} [options] Override http request option.
|
|
663
663
|
* @throws {RequiredError}
|
|
664
|
-
* @memberof
|
|
664
|
+
* @memberof PartnerTypesApi
|
|
665
665
|
*/
|
|
666
|
-
public getPartnerType(requestParameters:
|
|
667
|
-
return
|
|
666
|
+
public getPartnerType(requestParameters: PartnerTypesApiGetPartnerTypeRequest, options?: AxiosRequestConfig) {
|
|
667
|
+
return PartnerTypesApiFp(this.configuration).getPartnerType(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
|
|
668
668
|
}
|
|
669
669
|
|
|
670
670
|
/**
|
|
671
671
|
* Returns a list of partner-types you have previously created. The partner-types are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
672
672
|
* @summary List partner-types
|
|
673
|
-
* @param {
|
|
673
|
+
* @param {PartnerTypesApiListPartnerTypesRequest} requestParameters Request parameters.
|
|
674
674
|
* @param {*} [options] Override http request option.
|
|
675
675
|
* @throws {RequiredError}
|
|
676
|
-
* @memberof
|
|
676
|
+
* @memberof PartnerTypesApi
|
|
677
677
|
*/
|
|
678
|
-
public listPartnerTypes(requestParameters:
|
|
679
|
-
return
|
|
678
|
+
public listPartnerTypes(requestParameters: PartnerTypesApiListPartnerTypesRequest = {}, options?: AxiosRequestConfig) {
|
|
679
|
+
return PartnerTypesApiFp(this.configuration).listPartnerTypes(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
680
680
|
}
|
|
681
681
|
|
|
682
682
|
/**
|
|
683
683
|
* Updates the specified partner-types by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
684
684
|
* @summary Update the partner-types
|
|
685
|
-
* @param {
|
|
685
|
+
* @param {PartnerTypesApiUpdatePartnerTypeRequest} requestParameters Request parameters.
|
|
686
686
|
* @param {*} [options] Override http request option.
|
|
687
687
|
* @throws {RequiredError}
|
|
688
|
-
* @memberof
|
|
688
|
+
* @memberof PartnerTypesApi
|
|
689
689
|
*/
|
|
690
|
-
public updatePartnerType(requestParameters:
|
|
691
|
-
return
|
|
690
|
+
public updatePartnerType(requestParameters: PartnerTypesApiUpdatePartnerTypeRequest, options?: AxiosRequestConfig) {
|
|
691
|
+
return PartnerTypesApiFp(this.configuration).updatePartnerType(requestParameters.code, requestParameters.updatePartnerTypeRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
692
692
|
}
|
|
693
693
|
}
|
|
@@ -25,10 +25,10 @@ import { GetPartnerVersionResponseClass } from '../models';
|
|
|
25
25
|
// @ts-ignore
|
|
26
26
|
import { ListPartnerVersionsResponseClass } from '../models';
|
|
27
27
|
/**
|
|
28
|
-
*
|
|
28
|
+
* PartnerVersionsApi - axios parameter creator
|
|
29
29
|
* @export
|
|
30
30
|
*/
|
|
31
|
-
export const
|
|
31
|
+
export const PartnerVersionsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
32
32
|
return {
|
|
33
33
|
/**
|
|
34
34
|
* Retrieve a partner version by providing partner code and version number
|
|
@@ -163,11 +163,11 @@ export const PartnerVersionApiAxiosParamCreator = function (configuration?: Conf
|
|
|
163
163
|
};
|
|
164
164
|
|
|
165
165
|
/**
|
|
166
|
-
*
|
|
166
|
+
* PartnerVersionsApi - functional programming interface
|
|
167
167
|
* @export
|
|
168
168
|
*/
|
|
169
|
-
export const
|
|
170
|
-
const localVarAxiosParamCreator =
|
|
169
|
+
export const PartnerVersionsApiFp = function(configuration?: Configuration) {
|
|
170
|
+
const localVarAxiosParamCreator = PartnerVersionsApiAxiosParamCreator(configuration)
|
|
171
171
|
return {
|
|
172
172
|
/**
|
|
173
173
|
* Retrieve a partner version by providing partner code and version number
|
|
@@ -205,11 +205,11 @@ export const PartnerVersionApiFp = function(configuration?: Configuration) {
|
|
|
205
205
|
};
|
|
206
206
|
|
|
207
207
|
/**
|
|
208
|
-
*
|
|
208
|
+
* PartnerVersionsApi - factory interface
|
|
209
209
|
* @export
|
|
210
210
|
*/
|
|
211
|
-
export const
|
|
212
|
-
const localVarFp =
|
|
211
|
+
export const PartnerVersionsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
212
|
+
const localVarFp = PartnerVersionsApiFp(configuration)
|
|
213
213
|
return {
|
|
214
214
|
/**
|
|
215
215
|
* Retrieve a partner version by providing partner code and version number
|
|
@@ -245,131 +245,131 @@ export const PartnerVersionApiFactory = function (configuration?: Configuration,
|
|
|
245
245
|
};
|
|
246
246
|
|
|
247
247
|
/**
|
|
248
|
-
* Request parameters for getPartnerVersion operation in
|
|
248
|
+
* Request parameters for getPartnerVersion operation in PartnerVersionsApi.
|
|
249
249
|
* @export
|
|
250
|
-
* @interface
|
|
250
|
+
* @interface PartnerVersionsApiGetPartnerVersionRequest
|
|
251
251
|
*/
|
|
252
|
-
export interface
|
|
252
|
+
export interface PartnerVersionsApiGetPartnerVersionRequest {
|
|
253
253
|
/**
|
|
254
254
|
* Unique identifier for the object.
|
|
255
255
|
* @type {string}
|
|
256
|
-
* @memberof
|
|
256
|
+
* @memberof PartnerVersionsApiGetPartnerVersion
|
|
257
257
|
*/
|
|
258
258
|
readonly code: string
|
|
259
259
|
|
|
260
260
|
/**
|
|
261
261
|
*
|
|
262
262
|
* @type {number}
|
|
263
|
-
* @memberof
|
|
263
|
+
* @memberof PartnerVersionsApiGetPartnerVersion
|
|
264
264
|
*/
|
|
265
265
|
readonly version: number
|
|
266
266
|
|
|
267
267
|
/**
|
|
268
268
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
269
269
|
* @type {string}
|
|
270
|
-
* @memberof
|
|
270
|
+
* @memberof PartnerVersionsApiGetPartnerVersion
|
|
271
271
|
*/
|
|
272
272
|
readonly authorization?: string
|
|
273
273
|
}
|
|
274
274
|
|
|
275
275
|
/**
|
|
276
|
-
* Request parameters for listPartnerVersion operation in
|
|
276
|
+
* Request parameters for listPartnerVersion operation in PartnerVersionsApi.
|
|
277
277
|
* @export
|
|
278
|
-
* @interface
|
|
278
|
+
* @interface PartnerVersionsApiListPartnerVersionRequest
|
|
279
279
|
*/
|
|
280
|
-
export interface
|
|
280
|
+
export interface PartnerVersionsApiListPartnerVersionRequest {
|
|
281
281
|
/**
|
|
282
282
|
*
|
|
283
283
|
* @type {string}
|
|
284
|
-
* @memberof
|
|
284
|
+
* @memberof PartnerVersionsApiListPartnerVersion
|
|
285
285
|
*/
|
|
286
286
|
readonly code: string
|
|
287
287
|
|
|
288
288
|
/**
|
|
289
289
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
290
290
|
* @type {string}
|
|
291
|
-
* @memberof
|
|
291
|
+
* @memberof PartnerVersionsApiListPartnerVersion
|
|
292
292
|
*/
|
|
293
293
|
readonly authorization?: string
|
|
294
294
|
|
|
295
295
|
/**
|
|
296
296
|
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
297
297
|
* @type {any}
|
|
298
|
-
* @memberof
|
|
298
|
+
* @memberof PartnerVersionsApiListPartnerVersion
|
|
299
299
|
*/
|
|
300
300
|
readonly pageSize?: any
|
|
301
301
|
|
|
302
302
|
/**
|
|
303
303
|
* 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.
|
|
304
304
|
* @type {any}
|
|
305
|
-
* @memberof
|
|
305
|
+
* @memberof PartnerVersionsApiListPartnerVersion
|
|
306
306
|
*/
|
|
307
307
|
readonly pageToken?: any
|
|
308
308
|
|
|
309
309
|
/**
|
|
310
310
|
* 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: code, version, displayName, updatedAt, updatedBy</i>
|
|
311
311
|
* @type {string}
|
|
312
|
-
* @memberof
|
|
312
|
+
* @memberof PartnerVersionsApiListPartnerVersion
|
|
313
313
|
*/
|
|
314
314
|
readonly filter?: string
|
|
315
315
|
|
|
316
316
|
/**
|
|
317
317
|
* To search the list by any field, pass search=xxx to fetch the result.
|
|
318
318
|
* @type {any}
|
|
319
|
-
* @memberof
|
|
319
|
+
* @memberof PartnerVersionsApiListPartnerVersion
|
|
320
320
|
*/
|
|
321
321
|
readonly search?: any
|
|
322
322
|
|
|
323
323
|
/**
|
|
324
324
|
* 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: displayName, createdAt, updatedAt, version</i>
|
|
325
325
|
* @type {string}
|
|
326
|
-
* @memberof
|
|
326
|
+
* @memberof PartnerVersionsApiListPartnerVersion
|
|
327
327
|
*/
|
|
328
328
|
readonly order?: string
|
|
329
329
|
|
|
330
330
|
/**
|
|
331
331
|
* 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: partnerType<i>
|
|
332
332
|
* @type {string}
|
|
333
|
-
* @memberof
|
|
333
|
+
* @memberof PartnerVersionsApiListPartnerVersion
|
|
334
334
|
*/
|
|
335
335
|
readonly expand?: string
|
|
336
336
|
|
|
337
337
|
/**
|
|
338
338
|
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, version, displayName, updatedAt, updatedBy</i>
|
|
339
339
|
* @type {string}
|
|
340
|
-
* @memberof
|
|
340
|
+
* @memberof PartnerVersionsApiListPartnerVersion
|
|
341
341
|
*/
|
|
342
342
|
readonly filters?: string
|
|
343
343
|
}
|
|
344
344
|
|
|
345
345
|
/**
|
|
346
|
-
*
|
|
346
|
+
* PartnerVersionsApi - object-oriented interface
|
|
347
347
|
* @export
|
|
348
|
-
* @class
|
|
348
|
+
* @class PartnerVersionsApi
|
|
349
349
|
* @extends {BaseAPI}
|
|
350
350
|
*/
|
|
351
|
-
export class
|
|
351
|
+
export class PartnerVersionsApi extends BaseAPI {
|
|
352
352
|
/**
|
|
353
353
|
* Retrieve a partner version by providing partner code and version number
|
|
354
354
|
* @summary Retrieve the partner version
|
|
355
|
-
* @param {
|
|
355
|
+
* @param {PartnerVersionsApiGetPartnerVersionRequest} requestParameters Request parameters.
|
|
356
356
|
* @param {*} [options] Override http request option.
|
|
357
357
|
* @throws {RequiredError}
|
|
358
|
-
* @memberof
|
|
358
|
+
* @memberof PartnerVersionsApi
|
|
359
359
|
*/
|
|
360
|
-
public getPartnerVersion(requestParameters:
|
|
361
|
-
return
|
|
360
|
+
public getPartnerVersion(requestParameters: PartnerVersionsApiGetPartnerVersionRequest, options?: AxiosRequestConfig) {
|
|
361
|
+
return PartnerVersionsApiFp(this.configuration).getPartnerVersion(requestParameters.code, requestParameters.version, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
362
362
|
}
|
|
363
363
|
|
|
364
364
|
/**
|
|
365
365
|
* Returns a list of partner versions you have previously created. The partner versions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
366
366
|
* @summary List partner versions
|
|
367
|
-
* @param {
|
|
367
|
+
* @param {PartnerVersionsApiListPartnerVersionRequest} requestParameters Request parameters.
|
|
368
368
|
* @param {*} [options] Override http request option.
|
|
369
369
|
* @throws {RequiredError}
|
|
370
|
-
* @memberof
|
|
370
|
+
* @memberof PartnerVersionsApi
|
|
371
371
|
*/
|
|
372
|
-
public listPartnerVersion(requestParameters:
|
|
373
|
-
return
|
|
372
|
+
public listPartnerVersion(requestParameters: PartnerVersionsApiListPartnerVersionRequest, options?: AxiosRequestConfig) {
|
|
373
|
+
return PartnerVersionsApiFp(this.configuration).listPartnerVersion(requestParameters.code, requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
374
374
|
}
|
|
375
375
|
}
|