@emilgroup/partner-sdk 1.4.0 → 1.5.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 +10 -4
- package/README.md +2 -2
- package/api/{partners-api.ts → partner-api.ts} +90 -90
- package/api/partner-invitation-api.ts +165 -0
- package/api/{partner-relations-api.ts → partner-relation-api.ts} +95 -95
- package/api/{partner-tags-api.ts → partner-tag-api.ts} +70 -70
- package/api/{partner-types-api.ts → partner-type-api.ts} +68 -68
- package/api/partner-version-api.ts +4 -4
- package/api.ts +10 -8
- package/base.ts +3 -3
- package/dist/api/{partners-api.d.ts → partner-api.d.ts} +82 -82
- package/dist/api/{partners-api.js → partner-api.js} +56 -56
- package/dist/api/partner-invitation-api.d.ts +97 -0
- package/dist/api/partner-invitation-api.js +224 -0
- package/dist/api/{partner-relations-api.d.ts → partner-relation-api.d.ts} +86 -86
- package/dist/api/{partner-relations-api.js → partner-relation-api.js} +53 -53
- package/dist/api/{partner-tags-api.d.ts → partner-tag-api.d.ts} +63 -63
- package/dist/api/{partner-tags-api.js → partner-tag-api.js} +46 -46
- package/dist/api/{partner-types-api.d.ts → partner-type-api.d.ts} +61 -61
- package/dist/api/{partner-types-api.js → partner-type-api.js} +43 -43
- package/dist/api/partner-version-api.d.ts +4 -4
- package/dist/api/partner-version-api.js +3 -3
- package/dist/api.d.ts +5 -4
- package/dist/api.js +5 -4
- package/dist/base.d.ts +2 -2
- package/dist/base.js +1 -2
- package/dist/models/create-partner-response-class.d.ts +7 -0
- package/dist/models/create-partner-type-response-class.d.ts +1 -1
- package/dist/models/get-partner-type-response-class.d.ts +1 -1
- package/dist/models/get-partner-version-response-class.d.ts +3 -3
- package/dist/models/index.d.ts +5 -0
- package/dist/models/index.js +5 -0
- package/dist/models/invite-class.d.ts +79 -0
- package/dist/models/invite-class.js +15 -0
- package/dist/models/invite-partner-to-eis-response-class.d.ts +25 -0
- package/dist/models/invite-partner-to-eis-response-class.js +15 -0
- package/dist/models/invite-partner-to-eisrequest-dto.d.ts +42 -0
- package/dist/models/invite-partner-to-eisrequest-dto.js +15 -0
- package/dist/models/list-partner-relation-class.d.ts +1 -1
- package/dist/models/list-partner-relation-types-class.d.ts +1 -1
- package/dist/models/list-partner-types-response-class.d.ts +1 -1
- package/dist/models/list-partner-versions-response-class.d.ts +7 -1
- package/dist/models/list-partners-response-class.d.ts +1 -1
- package/dist/models/partner-class.d.ts +24 -6
- package/dist/models/partner-relation-class.d.ts +12 -0
- package/dist/models/partner-relation-type-class.d.ts +12 -0
- package/dist/models/partner-type-class.d.ts +12 -0
- package/dist/models/permission-class.d.ts +72 -0
- package/dist/models/permission-class.js +15 -0
- package/dist/models/role-class.d.ts +73 -0
- package/dist/models/role-class.js +15 -0
- package/dist/models/tag-class.d.ts +12 -0
- package/dist/models/update-partner-type-response-class.d.ts +1 -1
- package/models/create-partner-response-class.ts +7 -0
- package/models/create-partner-type-response-class.ts +1 -1
- package/models/get-partner-type-response-class.ts +1 -1
- package/models/get-partner-version-response-class.ts +3 -3
- package/models/index.ts +5 -0
- package/models/invite-class.ts +85 -0
- package/models/invite-partner-to-eis-response-class.ts +31 -0
- package/models/invite-partner-to-eisrequest-dto.ts +48 -0
- package/models/list-partner-relation-class.ts +1 -1
- package/models/list-partner-relation-types-class.ts +1 -1
- package/models/list-partner-types-response-class.ts +1 -1
- package/models/list-partner-versions-response-class.ts +7 -1
- package/models/list-partners-response-class.ts +1 -1
- package/models/partner-class.ts +24 -6
- package/models/partner-relation-class.ts +12 -0
- package/models/partner-relation-type-class.ts +12 -0
- package/models/partner-type-class.ts +12 -0
- package/models/permission-class.ts +78 -0
- package/models/role-class.ts +79 -0
- package/models/tag-class.ts +12 -0
- package/models/update-partner-type-response-class.ts +1 -1
- package/package.json +1 -1
|
@@ -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.PartnerTagApi = exports.PartnerTagApiFactory = exports.PartnerTagApiFp = exports.PartnerTagApiAxiosParamCreator = 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
|
+
* PartnerTagApi - axios parameter creator
|
|
90
90
|
* @export
|
|
91
91
|
*/
|
|
92
|
-
var
|
|
92
|
+
var PartnerTagApiAxiosParamCreator = function (configuration) {
|
|
93
93
|
var _this = this;
|
|
94
94
|
return {
|
|
95
95
|
/**
|
|
@@ -190,7 +190,7 @@ var PartnerTagsApiAxiosParamCreator = function (configuration) {
|
|
|
190
190
|
});
|
|
191
191
|
},
|
|
192
192
|
/**
|
|
193
|
-
* Retrieves the details of the partner tag that was previously created. Supply the unique partner tag code
|
|
193
|
+
* Retrieves the details of the partner tag that was previously created. Supply the unique partner tag code that was returned when you created it and Emil Api will return the corresponding partner tag information.
|
|
194
194
|
* @summary Retrieve the partner tag
|
|
195
195
|
* @param {string} code Unique identifier for the object.
|
|
196
196
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -246,7 +246,7 @@ var PartnerTagsApiAxiosParamCreator = function (configuration) {
|
|
|
246
246
|
* @param {string} [filter] 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, slug, label</i>
|
|
247
247
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
248
248
|
* @param {string} [order] 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: code, slug, label, createdAt, updatedAt</i>
|
|
249
|
-
* @param {string} [expand] Expand to fetch additional information about the list items.
|
|
249
|
+
* @param {string} [expand] 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>
|
|
250
250
|
* @param {string} [filters] 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, slug, label</i>
|
|
251
251
|
* @param {*} [options] Override http request option.
|
|
252
252
|
* @throws {RequiredError}
|
|
@@ -359,13 +359,13 @@ var PartnerTagsApiAxiosParamCreator = function (configuration) {
|
|
|
359
359
|
},
|
|
360
360
|
};
|
|
361
361
|
};
|
|
362
|
-
exports.
|
|
362
|
+
exports.PartnerTagApiAxiosParamCreator = PartnerTagApiAxiosParamCreator;
|
|
363
363
|
/**
|
|
364
|
-
*
|
|
364
|
+
* PartnerTagApi - functional programming interface
|
|
365
365
|
* @export
|
|
366
366
|
*/
|
|
367
|
-
var
|
|
368
|
-
var localVarAxiosParamCreator = (0, exports.
|
|
367
|
+
var PartnerTagApiFp = function (configuration) {
|
|
368
|
+
var localVarAxiosParamCreator = (0, exports.PartnerTagApiAxiosParamCreator)(configuration);
|
|
369
369
|
return {
|
|
370
370
|
/**
|
|
371
371
|
* This will create a tag that can be used tag partners. Tags can be used to categorize partners and to apply specific rules to them.
|
|
@@ -410,7 +410,7 @@ var PartnerTagsApiFp = function (configuration) {
|
|
|
410
410
|
});
|
|
411
411
|
},
|
|
412
412
|
/**
|
|
413
|
-
* Retrieves the details of the partner tag that was previously created. Supply the unique partner tag code
|
|
413
|
+
* Retrieves the details of the partner tag that was previously created. Supply the unique partner tag code that was returned when you created it and Emil Api will return the corresponding partner tag information.
|
|
414
414
|
* @summary Retrieve the partner tag
|
|
415
415
|
* @param {string} code Unique identifier for the object.
|
|
416
416
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -439,7 +439,7 @@ var PartnerTagsApiFp = function (configuration) {
|
|
|
439
439
|
* @param {string} [filter] 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, slug, label</i>
|
|
440
440
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
441
441
|
* @param {string} [order] 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: code, slug, label, createdAt, updatedAt</i>
|
|
442
|
-
* @param {string} [expand] Expand to fetch additional information about the list items.
|
|
442
|
+
* @param {string} [expand] 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>
|
|
443
443
|
* @param {string} [filters] 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, slug, label</i>
|
|
444
444
|
* @param {*} [options] Override http request option.
|
|
445
445
|
* @throws {RequiredError}
|
|
@@ -480,13 +480,13 @@ var PartnerTagsApiFp = function (configuration) {
|
|
|
480
480
|
},
|
|
481
481
|
};
|
|
482
482
|
};
|
|
483
|
-
exports.
|
|
483
|
+
exports.PartnerTagApiFp = PartnerTagApiFp;
|
|
484
484
|
/**
|
|
485
|
-
*
|
|
485
|
+
* PartnerTagApi - factory interface
|
|
486
486
|
* @export
|
|
487
487
|
*/
|
|
488
|
-
var
|
|
489
|
-
var localVarFp = (0, exports.
|
|
488
|
+
var PartnerTagApiFactory = function (configuration, basePath, axios) {
|
|
489
|
+
var localVarFp = (0, exports.PartnerTagApiFp)(configuration);
|
|
490
490
|
return {
|
|
491
491
|
/**
|
|
492
492
|
* This will create a tag that can be used tag partners. Tags can be used to categorize partners and to apply specific rules to them.
|
|
@@ -511,7 +511,7 @@ var PartnerTagsApiFactory = function (configuration, basePath, axios) {
|
|
|
511
511
|
return localVarFp.deleteTag(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
512
512
|
},
|
|
513
513
|
/**
|
|
514
|
-
* Retrieves the details of the partner tag that was previously created. Supply the unique partner tag code
|
|
514
|
+
* Retrieves the details of the partner tag that was previously created. Supply the unique partner tag code that was returned when you created it and Emil Api will return the corresponding partner tag information.
|
|
515
515
|
* @summary Retrieve the partner tag
|
|
516
516
|
* @param {string} code Unique identifier for the object.
|
|
517
517
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -530,7 +530,7 @@ var PartnerTagsApiFactory = function (configuration, basePath, axios) {
|
|
|
530
530
|
* @param {string} [filter] 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, slug, label</i>
|
|
531
531
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
532
532
|
* @param {string} [order] 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: code, slug, label, createdAt, updatedAt</i>
|
|
533
|
-
* @param {string} [expand] Expand to fetch additional information about the list items.
|
|
533
|
+
* @param {string} [expand] 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>
|
|
534
534
|
* @param {string} [filters] 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, slug, label</i>
|
|
535
535
|
* @param {*} [options] Override http request option.
|
|
536
536
|
* @throws {RequiredError}
|
|
@@ -551,79 +551,79 @@ var PartnerTagsApiFactory = function (configuration, basePath, axios) {
|
|
|
551
551
|
},
|
|
552
552
|
};
|
|
553
553
|
};
|
|
554
|
-
exports.
|
|
554
|
+
exports.PartnerTagApiFactory = PartnerTagApiFactory;
|
|
555
555
|
/**
|
|
556
|
-
*
|
|
556
|
+
* PartnerTagApi - object-oriented interface
|
|
557
557
|
* @export
|
|
558
|
-
* @class
|
|
558
|
+
* @class PartnerTagApi
|
|
559
559
|
* @extends {BaseAPI}
|
|
560
560
|
*/
|
|
561
|
-
var
|
|
562
|
-
__extends(
|
|
563
|
-
function
|
|
561
|
+
var PartnerTagApi = /** @class */ (function (_super) {
|
|
562
|
+
__extends(PartnerTagApi, _super);
|
|
563
|
+
function PartnerTagApi() {
|
|
564
564
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
565
565
|
}
|
|
566
566
|
/**
|
|
567
567
|
* This will create a tag that can be used tag partners. Tags can be used to categorize partners and to apply specific rules to them.
|
|
568
568
|
* @summary Create the partner tag
|
|
569
|
-
* @param {
|
|
569
|
+
* @param {PartnerTagApiCreateTagRequest} requestParameters Request parameters.
|
|
570
570
|
* @param {*} [options] Override http request option.
|
|
571
571
|
* @throws {RequiredError}
|
|
572
|
-
* @memberof
|
|
572
|
+
* @memberof PartnerTagApi
|
|
573
573
|
*/
|
|
574
|
-
|
|
574
|
+
PartnerTagApi.prototype.createTag = function (requestParameters, options) {
|
|
575
575
|
var _this = this;
|
|
576
|
-
return (0, exports.
|
|
576
|
+
return (0, exports.PartnerTagApiFp)(this.configuration).createTag(requestParameters.createTagRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
577
577
|
};
|
|
578
578
|
/**
|
|
579
579
|
* Permanently deletes the partner tag. Supply the unique code that was returned when you created the partner tag and this will delete it.
|
|
580
580
|
* @summary Delete the partner tag
|
|
581
|
-
* @param {
|
|
581
|
+
* @param {PartnerTagApiDeleteTagRequest} requestParameters Request parameters.
|
|
582
582
|
* @param {*} [options] Override http request option.
|
|
583
583
|
* @throws {RequiredError}
|
|
584
|
-
* @memberof
|
|
584
|
+
* @memberof PartnerTagApi
|
|
585
585
|
*/
|
|
586
|
-
|
|
586
|
+
PartnerTagApi.prototype.deleteTag = function (requestParameters, options) {
|
|
587
587
|
var _this = this;
|
|
588
|
-
return (0, exports.
|
|
588
|
+
return (0, exports.PartnerTagApiFp)(this.configuration).deleteTag(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
589
589
|
};
|
|
590
590
|
/**
|
|
591
|
-
* Retrieves the details of the partner tag that was previously created. Supply the unique partner tag code
|
|
591
|
+
* Retrieves the details of the partner tag that was previously created. Supply the unique partner tag code that was returned when you created it and Emil Api will return the corresponding partner tag information.
|
|
592
592
|
* @summary Retrieve the partner tag
|
|
593
|
-
* @param {
|
|
593
|
+
* @param {PartnerTagApiGetTagRequest} requestParameters Request parameters.
|
|
594
594
|
* @param {*} [options] Override http request option.
|
|
595
595
|
* @throws {RequiredError}
|
|
596
|
-
* @memberof
|
|
596
|
+
* @memberof PartnerTagApi
|
|
597
597
|
*/
|
|
598
|
-
|
|
598
|
+
PartnerTagApi.prototype.getTag = function (requestParameters, options) {
|
|
599
599
|
var _this = this;
|
|
600
|
-
return (0, exports.
|
|
600
|
+
return (0, exports.PartnerTagApiFp)(this.configuration).getTag(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
601
601
|
};
|
|
602
602
|
/**
|
|
603
603
|
* Returns a list of partner tags you have previously created. The partner tags are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
604
604
|
* @summary List partner tags
|
|
605
|
-
* @param {
|
|
605
|
+
* @param {PartnerTagApiListTagsRequest} requestParameters Request parameters.
|
|
606
606
|
* @param {*} [options] Override http request option.
|
|
607
607
|
* @throws {RequiredError}
|
|
608
|
-
* @memberof
|
|
608
|
+
* @memberof PartnerTagApi
|
|
609
609
|
*/
|
|
610
|
-
|
|
610
|
+
PartnerTagApi.prototype.listTags = function (requestParameters, options) {
|
|
611
611
|
var _this = this;
|
|
612
612
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
613
|
-
return (0, exports.
|
|
613
|
+
return (0, exports.PartnerTagApiFp)(this.configuration).listTags(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); });
|
|
614
614
|
};
|
|
615
615
|
/**
|
|
616
616
|
* Updates the specified partner tag by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
617
617
|
* @summary Update the partner tag
|
|
618
|
-
* @param {
|
|
618
|
+
* @param {PartnerTagApiUpdateTagRequest} requestParameters Request parameters.
|
|
619
619
|
* @param {*} [options] Override http request option.
|
|
620
620
|
* @throws {RequiredError}
|
|
621
|
-
* @memberof
|
|
621
|
+
* @memberof PartnerTagApi
|
|
622
622
|
*/
|
|
623
|
-
|
|
623
|
+
PartnerTagApi.prototype.updateTag = function (requestParameters, options) {
|
|
624
624
|
var _this = this;
|
|
625
|
-
return (0, exports.
|
|
625
|
+
return (0, exports.PartnerTagApiFp)(this.configuration).updateTag(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
626
626
|
};
|
|
627
|
-
return
|
|
627
|
+
return PartnerTagApi;
|
|
628
628
|
}(base_1.BaseAPI));
|
|
629
|
-
exports.
|
|
629
|
+
exports.PartnerTagApi = PartnerTagApi;
|
|
@@ -20,10 +20,10 @@ import { ListPartnerTypesResponseClass } from '../models';
|
|
|
20
20
|
import { UpdatePartnerTypeRequestDto } from '../models';
|
|
21
21
|
import { UpdatePartnerTypeResponseClass } from '../models';
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
23
|
+
* PartnerTypeApi - axios parameter creator
|
|
24
24
|
* @export
|
|
25
25
|
*/
|
|
26
|
-
export declare const
|
|
26
|
+
export declare const PartnerTypeApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
27
27
|
/**
|
|
28
28
|
* This will create a partner type.
|
|
29
29
|
* @summary Create the partner-types
|
|
@@ -43,7 +43,7 @@ export declare const PartnerTypesApiAxiosParamCreator: (configuration?: Configur
|
|
|
43
43
|
*/
|
|
44
44
|
deletePartnerType: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
45
45
|
/**
|
|
46
|
-
* Retrieves the details of the partner-types that was previously created. Supply the unique partner-types code
|
|
46
|
+
* 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.
|
|
47
47
|
* @summary Retrieve the partner-types
|
|
48
48
|
* @param {string} code Unique identifier for the object.
|
|
49
49
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -79,10 +79,10 @@ export declare const PartnerTypesApiAxiosParamCreator: (configuration?: Configur
|
|
|
79
79
|
updatePartnerType: (code: string, updatePartnerTypeRequestDto: UpdatePartnerTypeRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
80
80
|
};
|
|
81
81
|
/**
|
|
82
|
-
*
|
|
82
|
+
* PartnerTypeApi - functional programming interface
|
|
83
83
|
* @export
|
|
84
84
|
*/
|
|
85
|
-
export declare const
|
|
85
|
+
export declare const PartnerTypeApiFp: (configuration?: Configuration) => {
|
|
86
86
|
/**
|
|
87
87
|
* This will create a partner type.
|
|
88
88
|
* @summary Create the partner-types
|
|
@@ -102,7 +102,7 @@ export declare const PartnerTypesApiFp: (configuration?: Configuration) => {
|
|
|
102
102
|
*/
|
|
103
103
|
deletePartnerType(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteResponseClass>>;
|
|
104
104
|
/**
|
|
105
|
-
* Retrieves the details of the partner-types that was previously created. Supply the unique partner-types code
|
|
105
|
+
* 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.
|
|
106
106
|
* @summary Retrieve the partner-types
|
|
107
107
|
* @param {string} code Unique identifier for the object.
|
|
108
108
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -138,10 +138,10 @@ export declare const PartnerTypesApiFp: (configuration?: Configuration) => {
|
|
|
138
138
|
updatePartnerType(code: string, updatePartnerTypeRequestDto: UpdatePartnerTypeRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdatePartnerTypeResponseClass>>;
|
|
139
139
|
};
|
|
140
140
|
/**
|
|
141
|
-
*
|
|
141
|
+
* PartnerTypeApi - factory interface
|
|
142
142
|
* @export
|
|
143
143
|
*/
|
|
144
|
-
export declare const
|
|
144
|
+
export declare const PartnerTypeApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
145
145
|
/**
|
|
146
146
|
* This will create a partner type.
|
|
147
147
|
* @summary Create the partner-types
|
|
@@ -161,7 +161,7 @@ export declare const PartnerTypesApiFactory: (configuration?: Configuration, bas
|
|
|
161
161
|
*/
|
|
162
162
|
deletePartnerType(code: string, authorization?: string, options?: any): AxiosPromise<DeleteResponseClass>;
|
|
163
163
|
/**
|
|
164
|
-
* Retrieves the details of the partner-types that was previously created. Supply the unique partner-types code
|
|
164
|
+
* 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.
|
|
165
165
|
* @summary Retrieve the partner-types
|
|
166
166
|
* @param {string} code Unique identifier for the object.
|
|
167
167
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -197,198 +197,198 @@ export declare const PartnerTypesApiFactory: (configuration?: Configuration, bas
|
|
|
197
197
|
updatePartnerType(code: string, updatePartnerTypeRequestDto: UpdatePartnerTypeRequestDto, authorization?: string, options?: any): AxiosPromise<UpdatePartnerTypeResponseClass>;
|
|
198
198
|
};
|
|
199
199
|
/**
|
|
200
|
-
* Request parameters for createPartnerType operation in
|
|
200
|
+
* Request parameters for createPartnerType operation in PartnerTypeApi.
|
|
201
201
|
* @export
|
|
202
|
-
* @interface
|
|
202
|
+
* @interface PartnerTypeApiCreatePartnerTypeRequest
|
|
203
203
|
*/
|
|
204
|
-
export interface
|
|
204
|
+
export interface PartnerTypeApiCreatePartnerTypeRequest {
|
|
205
205
|
/**
|
|
206
206
|
*
|
|
207
207
|
* @type {CreatePartnerTypeRequestDto}
|
|
208
|
-
* @memberof
|
|
208
|
+
* @memberof PartnerTypeApiCreatePartnerType
|
|
209
209
|
*/
|
|
210
210
|
readonly createPartnerTypeRequestDto: CreatePartnerTypeRequestDto;
|
|
211
211
|
/**
|
|
212
212
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
213
213
|
* @type {string}
|
|
214
|
-
* @memberof
|
|
214
|
+
* @memberof PartnerTypeApiCreatePartnerType
|
|
215
215
|
*/
|
|
216
216
|
readonly authorization?: string;
|
|
217
217
|
}
|
|
218
218
|
/**
|
|
219
|
-
* Request parameters for deletePartnerType operation in
|
|
219
|
+
* Request parameters for deletePartnerType operation in PartnerTypeApi.
|
|
220
220
|
* @export
|
|
221
|
-
* @interface
|
|
221
|
+
* @interface PartnerTypeApiDeletePartnerTypeRequest
|
|
222
222
|
*/
|
|
223
|
-
export interface
|
|
223
|
+
export interface PartnerTypeApiDeletePartnerTypeRequest {
|
|
224
224
|
/**
|
|
225
225
|
*
|
|
226
226
|
* @type {string}
|
|
227
|
-
* @memberof
|
|
227
|
+
* @memberof PartnerTypeApiDeletePartnerType
|
|
228
228
|
*/
|
|
229
229
|
readonly code: string;
|
|
230
230
|
/**
|
|
231
231
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
232
232
|
* @type {string}
|
|
233
|
-
* @memberof
|
|
233
|
+
* @memberof PartnerTypeApiDeletePartnerType
|
|
234
234
|
*/
|
|
235
235
|
readonly authorization?: string;
|
|
236
236
|
}
|
|
237
237
|
/**
|
|
238
|
-
* Request parameters for getPartnerType operation in
|
|
238
|
+
* Request parameters for getPartnerType operation in PartnerTypeApi.
|
|
239
239
|
* @export
|
|
240
|
-
* @interface
|
|
240
|
+
* @interface PartnerTypeApiGetPartnerTypeRequest
|
|
241
241
|
*/
|
|
242
|
-
export interface
|
|
242
|
+
export interface PartnerTypeApiGetPartnerTypeRequest {
|
|
243
243
|
/**
|
|
244
244
|
* Unique identifier for the object.
|
|
245
245
|
* @type {string}
|
|
246
|
-
* @memberof
|
|
246
|
+
* @memberof PartnerTypeApiGetPartnerType
|
|
247
247
|
*/
|
|
248
248
|
readonly code: string;
|
|
249
249
|
/**
|
|
250
250
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
251
251
|
* @type {string}
|
|
252
|
-
* @memberof
|
|
252
|
+
* @memberof PartnerTypeApiGetPartnerType
|
|
253
253
|
*/
|
|
254
254
|
readonly authorization?: string;
|
|
255
255
|
/**
|
|
256
256
|
*
|
|
257
257
|
* @type {any}
|
|
258
|
-
* @memberof
|
|
258
|
+
* @memberof PartnerTypeApiGetPartnerType
|
|
259
259
|
*/
|
|
260
260
|
readonly expand?: any;
|
|
261
261
|
}
|
|
262
262
|
/**
|
|
263
|
-
* Request parameters for listPartnerTypes operation in
|
|
263
|
+
* Request parameters for listPartnerTypes operation in PartnerTypeApi.
|
|
264
264
|
* @export
|
|
265
|
-
* @interface
|
|
265
|
+
* @interface PartnerTypeApiListPartnerTypesRequest
|
|
266
266
|
*/
|
|
267
|
-
export interface
|
|
267
|
+
export interface PartnerTypeApiListPartnerTypesRequest {
|
|
268
268
|
/**
|
|
269
269
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
270
270
|
* @type {string}
|
|
271
|
-
* @memberof
|
|
271
|
+
* @memberof PartnerTypeApiListPartnerTypes
|
|
272
272
|
*/
|
|
273
273
|
readonly authorization?: string;
|
|
274
274
|
/**
|
|
275
275
|
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
276
276
|
* @type {any}
|
|
277
|
-
* @memberof
|
|
277
|
+
* @memberof PartnerTypeApiListPartnerTypes
|
|
278
278
|
*/
|
|
279
279
|
readonly pageSize?: any;
|
|
280
280
|
/**
|
|
281
281
|
* 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.
|
|
282
282
|
* @type {any}
|
|
283
|
-
* @memberof
|
|
283
|
+
* @memberof PartnerTypeApiListPartnerTypes
|
|
284
284
|
*/
|
|
285
285
|
readonly pageToken?: any;
|
|
286
286
|
/**
|
|
287
287
|
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
288
288
|
* @type {any}
|
|
289
|
-
* @memberof
|
|
289
|
+
* @memberof PartnerTypeApiListPartnerTypes
|
|
290
290
|
*/
|
|
291
291
|
readonly filter?: any;
|
|
292
292
|
/**
|
|
293
293
|
* To search the list by any field, pass search=xxx to fetch the result.
|
|
294
294
|
* @type {any}
|
|
295
|
-
* @memberof
|
|
295
|
+
* @memberof PartnerTypeApiListPartnerTypes
|
|
296
296
|
*/
|
|
297
297
|
readonly search?: any;
|
|
298
298
|
/**
|
|
299
299
|
* 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.
|
|
300
300
|
* @type {any}
|
|
301
|
-
* @memberof
|
|
301
|
+
* @memberof PartnerTypeApiListPartnerTypes
|
|
302
302
|
*/
|
|
303
303
|
readonly order?: any;
|
|
304
304
|
/**
|
|
305
305
|
* 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.
|
|
306
306
|
* @type {any}
|
|
307
|
-
* @memberof
|
|
307
|
+
* @memberof PartnerTypeApiListPartnerTypes
|
|
308
308
|
*/
|
|
309
309
|
readonly expand?: any;
|
|
310
310
|
/**
|
|
311
311
|
* 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.
|
|
312
312
|
* @type {any}
|
|
313
|
-
* @memberof
|
|
313
|
+
* @memberof PartnerTypeApiListPartnerTypes
|
|
314
314
|
*/
|
|
315
315
|
readonly filters?: any;
|
|
316
316
|
}
|
|
317
317
|
/**
|
|
318
|
-
* Request parameters for updatePartnerType operation in
|
|
318
|
+
* Request parameters for updatePartnerType operation in PartnerTypeApi.
|
|
319
319
|
* @export
|
|
320
|
-
* @interface
|
|
320
|
+
* @interface PartnerTypeApiUpdatePartnerTypeRequest
|
|
321
321
|
*/
|
|
322
|
-
export interface
|
|
322
|
+
export interface PartnerTypeApiUpdatePartnerTypeRequest {
|
|
323
323
|
/**
|
|
324
324
|
* Unique identifier for the object.
|
|
325
325
|
* @type {string}
|
|
326
|
-
* @memberof
|
|
326
|
+
* @memberof PartnerTypeApiUpdatePartnerType
|
|
327
327
|
*/
|
|
328
328
|
readonly code: string;
|
|
329
329
|
/**
|
|
330
330
|
*
|
|
331
331
|
* @type {UpdatePartnerTypeRequestDto}
|
|
332
|
-
* @memberof
|
|
332
|
+
* @memberof PartnerTypeApiUpdatePartnerType
|
|
333
333
|
*/
|
|
334
334
|
readonly updatePartnerTypeRequestDto: UpdatePartnerTypeRequestDto;
|
|
335
335
|
/**
|
|
336
336
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
337
337
|
* @type {string}
|
|
338
|
-
* @memberof
|
|
338
|
+
* @memberof PartnerTypeApiUpdatePartnerType
|
|
339
339
|
*/
|
|
340
340
|
readonly authorization?: string;
|
|
341
341
|
}
|
|
342
342
|
/**
|
|
343
|
-
*
|
|
343
|
+
* PartnerTypeApi - object-oriented interface
|
|
344
344
|
* @export
|
|
345
|
-
* @class
|
|
345
|
+
* @class PartnerTypeApi
|
|
346
346
|
* @extends {BaseAPI}
|
|
347
347
|
*/
|
|
348
|
-
export declare class
|
|
348
|
+
export declare class PartnerTypeApi extends BaseAPI {
|
|
349
349
|
/**
|
|
350
350
|
* This will create a partner type.
|
|
351
351
|
* @summary Create the partner-types
|
|
352
|
-
* @param {
|
|
352
|
+
* @param {PartnerTypeApiCreatePartnerTypeRequest} requestParameters Request parameters.
|
|
353
353
|
* @param {*} [options] Override http request option.
|
|
354
354
|
* @throws {RequiredError}
|
|
355
|
-
* @memberof
|
|
355
|
+
* @memberof PartnerTypeApi
|
|
356
356
|
*/
|
|
357
|
-
createPartnerType(requestParameters:
|
|
357
|
+
createPartnerType(requestParameters: PartnerTypeApiCreatePartnerTypeRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePartnerTypeResponseClass, any>>;
|
|
358
358
|
/**
|
|
359
359
|
* Permanently deletes the partner-types. Supply the unique code that was returned when you created the partner-types and this will delete it.
|
|
360
360
|
* @summary Delete the partner-types
|
|
361
|
-
* @param {
|
|
361
|
+
* @param {PartnerTypeApiDeletePartnerTypeRequest} requestParameters Request parameters.
|
|
362
362
|
* @param {*} [options] Override http request option.
|
|
363
363
|
* @throws {RequiredError}
|
|
364
|
-
* @memberof
|
|
364
|
+
* @memberof PartnerTypeApi
|
|
365
365
|
*/
|
|
366
|
-
deletePartnerType(requestParameters:
|
|
366
|
+
deletePartnerType(requestParameters: PartnerTypeApiDeletePartnerTypeRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteResponseClass, any>>;
|
|
367
367
|
/**
|
|
368
|
-
* Retrieves the details of the partner-types that was previously created. Supply the unique partner-types code
|
|
368
|
+
* 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.
|
|
369
369
|
* @summary Retrieve the partner-types
|
|
370
|
-
* @param {
|
|
370
|
+
* @param {PartnerTypeApiGetPartnerTypeRequest} requestParameters Request parameters.
|
|
371
371
|
* @param {*} [options] Override http request option.
|
|
372
372
|
* @throws {RequiredError}
|
|
373
|
-
* @memberof
|
|
373
|
+
* @memberof PartnerTypeApi
|
|
374
374
|
*/
|
|
375
|
-
getPartnerType(requestParameters:
|
|
375
|
+
getPartnerType(requestParameters: PartnerTypeApiGetPartnerTypeRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPartnerTypeResponseClass, any>>;
|
|
376
376
|
/**
|
|
377
377
|
* 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.
|
|
378
378
|
* @summary List partner-types
|
|
379
|
-
* @param {
|
|
379
|
+
* @param {PartnerTypeApiListPartnerTypesRequest} requestParameters Request parameters.
|
|
380
380
|
* @param {*} [options] Override http request option.
|
|
381
381
|
* @throws {RequiredError}
|
|
382
|
-
* @memberof
|
|
382
|
+
* @memberof PartnerTypeApi
|
|
383
383
|
*/
|
|
384
|
-
listPartnerTypes(requestParameters?:
|
|
384
|
+
listPartnerTypes(requestParameters?: PartnerTypeApiListPartnerTypesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPartnerTypesResponseClass, any>>;
|
|
385
385
|
/**
|
|
386
386
|
* Updates the specified partner-types by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
387
387
|
* @summary Update the partner-types
|
|
388
|
-
* @param {
|
|
388
|
+
* @param {PartnerTypeApiUpdatePartnerTypeRequest} requestParameters Request parameters.
|
|
389
389
|
* @param {*} [options] Override http request option.
|
|
390
390
|
* @throws {RequiredError}
|
|
391
|
-
* @memberof
|
|
391
|
+
* @memberof PartnerTypeApi
|
|
392
392
|
*/
|
|
393
|
-
updatePartnerType(requestParameters:
|
|
393
|
+
updatePartnerType(requestParameters: PartnerTypeApiUpdatePartnerTypeRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdatePartnerTypeResponseClass, any>>;
|
|
394
394
|
}
|