@emilgroup/partner-sdk-node 1.22.1-beta.20 → 1.22.1-beta.22
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 +1 -42
- package/README.md +2 -2
- package/api/blacklist-api.ts +3 -3
- package/api/blacklist-reasons-api.ts +3 -3
- package/api/{health-api.ts → default-api.ts} +13 -13
- package/api/partners-api.ts +12 -119
- package/api.ts +2 -8
- package/base.ts +0 -1
- package/dist/api/blacklist-api.d.ts +4 -4
- package/dist/api/blacklist-reasons-api.d.ts +4 -4
- package/dist/api/{health-api.d.ts → default-api.d.ts} +10 -10
- package/dist/api/{health-api.js → default-api.js} +22 -22
- package/dist/api/partners-api.d.ts +12 -69
- package/dist/api/partners-api.js +9 -102
- package/dist/api.d.ts +1 -4
- package/dist/api.js +1 -4
- package/dist/base.d.ts +1 -2
- package/dist/base.js +0 -1
- package/dist/models/index.d.ts +0 -38
- package/dist/models/index.js +0 -38
- package/dist/models/list-blacklist-items-response-class.d.ts +0 -12
- package/dist/models/list-partner-relation-class.d.ts +6 -18
- package/dist/models/list-partner-relation-types-class.d.ts +6 -18
- package/dist/models/list-partner-types-response-class.d.ts +6 -18
- package/dist/models/list-partner-versions-response-class.d.ts +6 -18
- package/dist/models/list-partners-response-class.d.ts +6 -18
- package/dist/models/list-related-partners-response-class.d.ts +6 -18
- package/dist/models/list-tags-response-class.d.ts +6 -18
- package/dist/models/update-blacklist-reason-status-request-dto.d.ts +1 -1
- package/models/index.ts +0 -38
- package/models/list-blacklist-items-response-class.ts +0 -12
- package/models/list-partner-relation-class.ts +6 -18
- package/models/list-partner-relation-types-class.ts +6 -18
- package/models/list-partner-types-response-class.ts +6 -18
- package/models/list-partner-versions-response-class.ts +6 -18
- package/models/list-partners-response-class.ts +6 -18
- package/models/list-related-partners-response-class.ts +6 -18
- package/models/list-tags-response-class.ts +6 -18
- package/models/update-blacklist-reason-status-request-dto.ts +1 -1
- package/package.json +1 -1
- package/api/partner-hierarchies-api.ts +0 -1371
- package/api/partner-hierarchy-nodes-api.ts +0 -1201
- package/api/partner-hierarchy-types-api.ts +0 -683
- package/dist/api/partner-hierarchies-api.d.ts +0 -774
- package/dist/api/partner-hierarchies-api.js +0 -1175
- package/dist/api/partner-hierarchy-nodes-api.d.ts +0 -674
- package/dist/api/partner-hierarchy-nodes-api.js +0 -1053
- package/dist/api/partner-hierarchy-types-api.d.ts +0 -385
- package/dist/api/partner-hierarchy-types-api.js +0 -640
- package/dist/models/batch-create-partner-hierarchy-nodes-request-dto.d.ts +0 -30
- package/dist/models/batch-create-partner-hierarchy-nodes-request-dto.js +0 -15
- package/dist/models/create-partner-hierarchy-node-request-dto.d.ts +0 -42
- package/dist/models/create-partner-hierarchy-node-request-dto.js +0 -15
- package/dist/models/create-partner-hierarchy-node-response-class.d.ts +0 -25
- package/dist/models/create-partner-hierarchy-node-response-class.js +0 -15
- package/dist/models/create-partner-hierarchy-request-dto.d.ts +0 -30
- package/dist/models/create-partner-hierarchy-request-dto.js +0 -15
- package/dist/models/create-partner-hierarchy-response-class.d.ts +0 -25
- package/dist/models/create-partner-hierarchy-response-class.js +0 -15
- package/dist/models/create-partner-hierarchy-type-request-dto.d.ts +0 -30
- package/dist/models/create-partner-hierarchy-type-request-dto.js +0 -15
- package/dist/models/create-partner-hierarchy-type-response-class.d.ts +0 -25
- package/dist/models/create-partner-hierarchy-type-response-class.js +0 -15
- package/dist/models/delete-by-code-response-class.d.ts +0 -24
- package/dist/models/delete-by-code-response-class.js +0 -15
- package/dist/models/generate-upload-url-response-class.d.ts +0 -36
- package/dist/models/generate-upload-url-response-class.js +0 -15
- package/dist/models/get-partner-hierarchy-node-response-class.d.ts +0 -25
- package/dist/models/get-partner-hierarchy-node-response-class.js +0 -15
- package/dist/models/get-partner-hierarchy-response-class.d.ts +0 -25
- package/dist/models/get-partner-hierarchy-response-class.js +0 -15
- package/dist/models/get-partner-hierarchy-tree-file-response-class.d.ts +0 -42
- package/dist/models/get-partner-hierarchy-tree-file-response-class.js +0 -15
- package/dist/models/get-partner-hierarchy-tree-response-class.d.ts +0 -25
- package/dist/models/get-partner-hierarchy-tree-response-class.js +0 -15
- package/dist/models/get-partner-hierarchy-type-response-class.d.ts +0 -25
- package/dist/models/get-partner-hierarchy-type-response-class.js +0 -15
- package/dist/models/list-partner-hierarchies-response-class.d.ts +0 -43
- package/dist/models/list-partner-hierarchies-response-class.js +0 -15
- package/dist/models/list-partner-hierarchy-node-history-response-class.d.ts +0 -43
- package/dist/models/list-partner-hierarchy-node-history-response-class.js +0 -15
- package/dist/models/list-partner-hierarchy-nodes-response-class.d.ts +0 -43
- package/dist/models/list-partner-hierarchy-nodes-response-class.js +0 -15
- package/dist/models/list-partner-hierarchy-operations-response-class.d.ts +0 -43
- package/dist/models/list-partner-hierarchy-operations-response-class.js +0 -15
- package/dist/models/list-partner-hierarchy-types-response-class.d.ts +0 -43
- package/dist/models/list-partner-hierarchy-types-response-class.js +0 -15
- package/dist/models/move-partner-hierarchy-node-request-dto.d.ts +0 -30
- package/dist/models/move-partner-hierarchy-node-request-dto.js +0 -15
- package/dist/models/move-partner-hierarchy-node-response-class.d.ts +0 -25
- package/dist/models/move-partner-hierarchy-node-response-class.js +0 -15
- package/dist/models/partner-hierarchy-async-operation-response-class.d.ts +0 -30
- package/dist/models/partner-hierarchy-async-operation-response-class.js +0 -15
- package/dist/models/partner-hierarchy-class.d.ts +0 -78
- package/dist/models/partner-hierarchy-class.js +0 -15
- package/dist/models/partner-hierarchy-node-class.d.ts +0 -109
- package/dist/models/partner-hierarchy-node-class.js +0 -15
- package/dist/models/partner-hierarchy-node-history-class.d.ts +0 -97
- package/dist/models/partner-hierarchy-node-history-class.js +0 -15
- package/dist/models/partner-hierarchy-node-tree-class.d.ts +0 -96
- package/dist/models/partner-hierarchy-node-tree-class.js +0 -15
- package/dist/models/partner-hierarchy-operation-class.d.ts +0 -90
- package/dist/models/partner-hierarchy-operation-class.js +0 -15
- package/dist/models/partner-hierarchy-type-class.d.ts +0 -66
- package/dist/models/partner-hierarchy-type-class.js +0 -15
- package/dist/models/unassign-partner-hierarchy-node-response-class.d.ts +0 -25
- package/dist/models/unassign-partner-hierarchy-node-response-class.js +0 -15
- package/dist/models/update-partner-hierarchy-node-request-dto.d.ts +0 -30
- package/dist/models/update-partner-hierarchy-node-request-dto.js +0 -15
- package/dist/models/update-partner-hierarchy-node-response-class.d.ts +0 -25
- package/dist/models/update-partner-hierarchy-node-response-class.js +0 -15
- package/dist/models/update-partner-hierarchy-request-dto.d.ts +0 -24
- package/dist/models/update-partner-hierarchy-request-dto.js +0 -15
- package/dist/models/update-partner-hierarchy-response-class.d.ts +0 -25
- package/dist/models/update-partner-hierarchy-response-class.js +0 -15
- package/dist/models/update-partner-hierarchy-tree-request-body-dto.d.ts +0 -24
- package/dist/models/update-partner-hierarchy-tree-request-body-dto.js +0 -15
- package/dist/models/update-partner-hierarchy-type-request-dto.d.ts +0 -30
- package/dist/models/update-partner-hierarchy-type-request-dto.js +0 -15
- package/dist/models/update-partner-hierarchy-type-response-class.d.ts +0 -25
- package/dist/models/update-partner-hierarchy-type-response-class.js +0 -15
- package/dist/models/validate-partner-request-dto.d.ts +0 -30
- package/dist/models/validate-partner-request-dto.js +0 -15
- package/dist/models/validate-partner-response-class.d.ts +0 -30
- package/dist/models/validate-partner-response-class.js +0 -15
- package/models/batch-create-partner-hierarchy-nodes-request-dto.ts +0 -36
- package/models/create-partner-hierarchy-node-request-dto.ts +0 -48
- package/models/create-partner-hierarchy-node-response-class.ts +0 -31
- package/models/create-partner-hierarchy-request-dto.ts +0 -36
- package/models/create-partner-hierarchy-response-class.ts +0 -31
- package/models/create-partner-hierarchy-type-request-dto.ts +0 -36
- package/models/create-partner-hierarchy-type-response-class.ts +0 -31
- package/models/delete-by-code-response-class.ts +0 -30
- package/models/generate-upload-url-response-class.ts +0 -42
- package/models/get-partner-hierarchy-node-response-class.ts +0 -31
- package/models/get-partner-hierarchy-response-class.ts +0 -31
- package/models/get-partner-hierarchy-tree-file-response-class.ts +0 -48
- package/models/get-partner-hierarchy-tree-response-class.ts +0 -31
- package/models/get-partner-hierarchy-type-response-class.ts +0 -31
- package/models/list-partner-hierarchies-response-class.ts +0 -49
- package/models/list-partner-hierarchy-node-history-response-class.ts +0 -49
- package/models/list-partner-hierarchy-nodes-response-class.ts +0 -49
- package/models/list-partner-hierarchy-operations-response-class.ts +0 -49
- package/models/list-partner-hierarchy-types-response-class.ts +0 -49
- package/models/move-partner-hierarchy-node-request-dto.ts +0 -36
- package/models/move-partner-hierarchy-node-response-class.ts +0 -31
- package/models/partner-hierarchy-async-operation-response-class.ts +0 -36
- package/models/partner-hierarchy-class.ts +0 -84
- package/models/partner-hierarchy-node-class.ts +0 -115
- package/models/partner-hierarchy-node-history-class.ts +0 -103
- package/models/partner-hierarchy-node-tree-class.ts +0 -102
- package/models/partner-hierarchy-operation-class.ts +0 -96
- package/models/partner-hierarchy-type-class.ts +0 -72
- package/models/unassign-partner-hierarchy-node-response-class.ts +0 -31
- package/models/update-partner-hierarchy-node-request-dto.ts +0 -36
- package/models/update-partner-hierarchy-node-response-class.ts +0 -31
- package/models/update-partner-hierarchy-request-dto.ts +0 -30
- package/models/update-partner-hierarchy-response-class.ts +0 -31
- package/models/update-partner-hierarchy-tree-request-body-dto.ts +0 -30
- package/models/update-partner-hierarchy-type-request-dto.ts +0 -36
- package/models/update-partner-hierarchy-type-response-class.ts +0 -31
- package/models/validate-partner-request-dto.ts +0 -36
- package/models/validate-partner-response-class.ts +0 -36
|
@@ -14,10 +14,10 @@ import { Configuration } from '../configuration';
|
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
import { InlineResponse200 } from '../models';
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
* DefaultApi - axios parameter creator
|
|
18
18
|
* @export
|
|
19
19
|
*/
|
|
20
|
-
export declare const
|
|
20
|
+
export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
21
21
|
/**
|
|
22
22
|
* Returns the health status of the partner service. This endpoint is used to monitor the operational status of the partner service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
23
23
|
* @summary Health Check
|
|
@@ -27,10 +27,10 @@ export declare const HealthApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
27
27
|
check: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* DefaultApi - functional programming interface
|
|
31
31
|
* @export
|
|
32
32
|
*/
|
|
33
|
-
export declare const
|
|
33
|
+
export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
34
34
|
/**
|
|
35
35
|
* Returns the health status of the partner service. This endpoint is used to monitor the operational status of the partner service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
36
36
|
* @summary Health Check
|
|
@@ -40,10 +40,10 @@ export declare const HealthApiFp: (configuration?: Configuration) => {
|
|
|
40
40
|
check(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse200>>;
|
|
41
41
|
};
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
43
|
+
* DefaultApi - factory interface
|
|
44
44
|
* @export
|
|
45
45
|
*/
|
|
46
|
-
export declare const
|
|
46
|
+
export declare const DefaultApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
47
47
|
/**
|
|
48
48
|
* Returns the health status of the partner service. This endpoint is used to monitor the operational status of the partner service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
49
49
|
* @summary Health Check
|
|
@@ -53,18 +53,18 @@ export declare const HealthApiFactory: (configuration?: Configuration, basePath?
|
|
|
53
53
|
check(options?: any): AxiosPromise<InlineResponse200>;
|
|
54
54
|
};
|
|
55
55
|
/**
|
|
56
|
-
*
|
|
56
|
+
* DefaultApi - object-oriented interface
|
|
57
57
|
* @export
|
|
58
|
-
* @class
|
|
58
|
+
* @class DefaultApi
|
|
59
59
|
* @extends {BaseAPI}
|
|
60
60
|
*/
|
|
61
|
-
export declare class
|
|
61
|
+
export declare class DefaultApi extends BaseAPI {
|
|
62
62
|
/**
|
|
63
63
|
* Returns the health status of the partner service. This endpoint is used to monitor the operational status of the partner service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
64
64
|
* @summary Health Check
|
|
65
65
|
* @param {*} [options] Override http request option.
|
|
66
66
|
* @throws {RequiredError}
|
|
67
|
-
* @memberof
|
|
67
|
+
* @memberof DefaultApi
|
|
68
68
|
*/
|
|
69
69
|
check(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InlineResponse200, any, {}>>;
|
|
70
70
|
}
|
|
@@ -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.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = void 0;
|
|
82
82
|
var axios_1 = __importDefault(require("axios"));
|
|
83
83
|
// Some imports not used depending on template conditions
|
|
84
84
|
// @ts-ignore
|
|
@@ -90,10 +90,10 @@ var base_1 = require("../base");
|
|
|
90
90
|
var url_1 = require("url");
|
|
91
91
|
var FormData = require('form-data');
|
|
92
92
|
/**
|
|
93
|
-
*
|
|
93
|
+
* DefaultApi - axios parameter creator
|
|
94
94
|
* @export
|
|
95
95
|
*/
|
|
96
|
-
var
|
|
96
|
+
var DefaultApiAxiosParamCreator = function (configuration) {
|
|
97
97
|
var _this = this;
|
|
98
98
|
return {
|
|
99
99
|
/**
|
|
@@ -128,13 +128,13 @@ var HealthApiAxiosParamCreator = function (configuration) {
|
|
|
128
128
|
},
|
|
129
129
|
};
|
|
130
130
|
};
|
|
131
|
-
exports.
|
|
131
|
+
exports.DefaultApiAxiosParamCreator = DefaultApiAxiosParamCreator;
|
|
132
132
|
/**
|
|
133
|
-
*
|
|
133
|
+
* DefaultApi - functional programming interface
|
|
134
134
|
* @export
|
|
135
135
|
*/
|
|
136
|
-
var
|
|
137
|
-
var localVarAxiosParamCreator = (0, exports.
|
|
136
|
+
var DefaultApiFp = function (configuration) {
|
|
137
|
+
var localVarAxiosParamCreator = (0, exports.DefaultApiAxiosParamCreator)(configuration);
|
|
138
138
|
return {
|
|
139
139
|
/**
|
|
140
140
|
* Returns the health status of the partner service. This endpoint is used to monitor the operational status of the partner service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
@@ -157,13 +157,13 @@ var HealthApiFp = function (configuration) {
|
|
|
157
157
|
},
|
|
158
158
|
};
|
|
159
159
|
};
|
|
160
|
-
exports.
|
|
160
|
+
exports.DefaultApiFp = DefaultApiFp;
|
|
161
161
|
/**
|
|
162
|
-
*
|
|
162
|
+
* DefaultApi - factory interface
|
|
163
163
|
* @export
|
|
164
164
|
*/
|
|
165
|
-
var
|
|
166
|
-
var localVarFp = (0, exports.
|
|
165
|
+
var DefaultApiFactory = function (configuration, basePath, axios) {
|
|
166
|
+
var localVarFp = (0, exports.DefaultApiFp)(configuration);
|
|
167
167
|
return {
|
|
168
168
|
/**
|
|
169
169
|
* Returns the health status of the partner service. This endpoint is used to monitor the operational status of the partner service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
@@ -176,16 +176,16 @@ var HealthApiFactory = function (configuration, basePath, axios) {
|
|
|
176
176
|
},
|
|
177
177
|
};
|
|
178
178
|
};
|
|
179
|
-
exports.
|
|
179
|
+
exports.DefaultApiFactory = DefaultApiFactory;
|
|
180
180
|
/**
|
|
181
|
-
*
|
|
181
|
+
* DefaultApi - object-oriented interface
|
|
182
182
|
* @export
|
|
183
|
-
* @class
|
|
183
|
+
* @class DefaultApi
|
|
184
184
|
* @extends {BaseAPI}
|
|
185
185
|
*/
|
|
186
|
-
var
|
|
187
|
-
__extends(
|
|
188
|
-
function
|
|
186
|
+
var DefaultApi = /** @class */ (function (_super) {
|
|
187
|
+
__extends(DefaultApi, _super);
|
|
188
|
+
function DefaultApi() {
|
|
189
189
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
190
190
|
}
|
|
191
191
|
/**
|
|
@@ -193,12 +193,12 @@ var HealthApi = /** @class */ (function (_super) {
|
|
|
193
193
|
* @summary Health Check
|
|
194
194
|
* @param {*} [options] Override http request option.
|
|
195
195
|
* @throws {RequiredError}
|
|
196
|
-
* @memberof
|
|
196
|
+
* @memberof DefaultApi
|
|
197
197
|
*/
|
|
198
|
-
|
|
198
|
+
DefaultApi.prototype.check = function (options) {
|
|
199
199
|
var _this = this;
|
|
200
|
-
return (0, exports.
|
|
200
|
+
return (0, exports.DefaultApiFp)(this.configuration).check(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
201
201
|
};
|
|
202
|
-
return
|
|
202
|
+
return DefaultApi;
|
|
203
203
|
}(base_1.BaseAPI));
|
|
204
|
-
exports.
|
|
204
|
+
exports.DefaultApi = DefaultApi;
|
|
@@ -26,8 +26,6 @@ import { MergePartnersResponseClass } from '../models';
|
|
|
26
26
|
import { TagPartnerRequestDtoRest } from '../models';
|
|
27
27
|
import { UpdatePartnerRequestDto } from '../models';
|
|
28
28
|
import { UpdatePartnerResponseClass } from '../models';
|
|
29
|
-
import { ValidatePartnerRequestDto } from '../models';
|
|
30
|
-
import { ValidatePartnerResponseClass } from '../models';
|
|
31
29
|
/**
|
|
32
30
|
* PartnersApi - axios parameter creator
|
|
33
31
|
* @export
|
|
@@ -85,11 +83,11 @@ export declare const PartnersApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
85
83
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
86
84
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
87
85
|
* @param {string} [pageToken] 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.
|
|
88
|
-
* @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: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode
|
|
86
|
+
* @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: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode</i>
|
|
89
87
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
90
|
-
* @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: id, code, displayName, createdAt, updatedAt, version, tags, tagSlugs, partnerNumber, partnerType.name, partnerTagLabels.tagLabels
|
|
88
|
+
* @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: id, code, displayName, createdAt, updatedAt, version, tags, tagSlugs, partnerNumber, partnerType.name, partnerTagLabels.tagLabels</i>
|
|
91
89
|
* @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: partnerType, tags, partnerTagLabels<i>
|
|
92
|
-
* @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: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode
|
|
90
|
+
* @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: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode</i>
|
|
93
91
|
* @param {*} [options] Override http request option.
|
|
94
92
|
* @throws {RequiredError}
|
|
95
93
|
*/
|
|
@@ -140,15 +138,6 @@ export declare const PartnersApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
140
138
|
* @throws {RequiredError}
|
|
141
139
|
*/
|
|
142
140
|
updatePartner: (code: string, updatePartnerRequestDto: UpdatePartnerRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
143
|
-
/**
|
|
144
|
-
* Validates a partner identity by partnerNumber and optional custom field values. All provided validationFields must match (AND logic). If validationFields is omitted the call succeeds as long as the partner exists. Never returns partner data — only isValid and an optional error message. **Required Permissions** none
|
|
145
|
-
* @summary Validate a partner
|
|
146
|
-
* @param {ValidatePartnerRequestDto} validatePartnerRequestDto
|
|
147
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
148
|
-
* @param {*} [options] Override http request option.
|
|
149
|
-
* @throws {RequiredError}
|
|
150
|
-
*/
|
|
151
|
-
validatePartner: (validatePartnerRequestDto: ValidatePartnerRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
152
141
|
};
|
|
153
142
|
/**
|
|
154
143
|
* PartnersApi - functional programming interface
|
|
@@ -207,11 +196,11 @@ export declare const PartnersApiFp: (configuration?: Configuration) => {
|
|
|
207
196
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
208
197
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
209
198
|
* @param {string} [pageToken] 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.
|
|
210
|
-
* @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: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode
|
|
199
|
+
* @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: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode</i>
|
|
211
200
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
212
|
-
* @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: id, code, displayName, createdAt, updatedAt, version, tags, tagSlugs, partnerNumber, partnerType.name, partnerTagLabels.tagLabels
|
|
201
|
+
* @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: id, code, displayName, createdAt, updatedAt, version, tags, tagSlugs, partnerNumber, partnerType.name, partnerTagLabels.tagLabels</i>
|
|
213
202
|
* @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: partnerType, tags, partnerTagLabels<i>
|
|
214
|
-
* @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: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode
|
|
203
|
+
* @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: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode</i>
|
|
215
204
|
* @param {*} [options] Override http request option.
|
|
216
205
|
* @throws {RequiredError}
|
|
217
206
|
*/
|
|
@@ -262,15 +251,6 @@ export declare const PartnersApiFp: (configuration?: Configuration) => {
|
|
|
262
251
|
* @throws {RequiredError}
|
|
263
252
|
*/
|
|
264
253
|
updatePartner(code: string, updatePartnerRequestDto: UpdatePartnerRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdatePartnerResponseClass>>;
|
|
265
|
-
/**
|
|
266
|
-
* Validates a partner identity by partnerNumber and optional custom field values. All provided validationFields must match (AND logic). If validationFields is omitted the call succeeds as long as the partner exists. Never returns partner data — only isValid and an optional error message. **Required Permissions** none
|
|
267
|
-
* @summary Validate a partner
|
|
268
|
-
* @param {ValidatePartnerRequestDto} validatePartnerRequestDto
|
|
269
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
270
|
-
* @param {*} [options] Override http request option.
|
|
271
|
-
* @throws {RequiredError}
|
|
272
|
-
*/
|
|
273
|
-
validatePartner(validatePartnerRequestDto: ValidatePartnerRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ValidatePartnerResponseClass>>;
|
|
274
254
|
};
|
|
275
255
|
/**
|
|
276
256
|
* PartnersApi - factory interface
|
|
@@ -329,11 +309,11 @@ export declare const PartnersApiFactory: (configuration?: Configuration, basePat
|
|
|
329
309
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
330
310
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
331
311
|
* @param {string} [pageToken] 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.
|
|
332
|
-
* @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: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode
|
|
312
|
+
* @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: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode</i>
|
|
333
313
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
334
|
-
* @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: id, code, displayName, createdAt, updatedAt, version, tags, tagSlugs, partnerNumber, partnerType.name, partnerTagLabels.tagLabels
|
|
314
|
+
* @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: id, code, displayName, createdAt, updatedAt, version, tags, tagSlugs, partnerNumber, partnerType.name, partnerTagLabels.tagLabels</i>
|
|
335
315
|
* @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: partnerType, tags, partnerTagLabels<i>
|
|
336
|
-
* @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: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode
|
|
316
|
+
* @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: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode</i>
|
|
337
317
|
* @param {*} [options] Override http request option.
|
|
338
318
|
* @throws {RequiredError}
|
|
339
319
|
*/
|
|
@@ -384,15 +364,6 @@ export declare const PartnersApiFactory: (configuration?: Configuration, basePat
|
|
|
384
364
|
* @throws {RequiredError}
|
|
385
365
|
*/
|
|
386
366
|
updatePartner(code: string, updatePartnerRequestDto: UpdatePartnerRequestDto, authorization?: string, options?: any): AxiosPromise<UpdatePartnerResponseClass>;
|
|
387
|
-
/**
|
|
388
|
-
* Validates a partner identity by partnerNumber and optional custom field values. All provided validationFields must match (AND logic). If validationFields is omitted the call succeeds as long as the partner exists. Never returns partner data — only isValid and an optional error message. **Required Permissions** none
|
|
389
|
-
* @summary Validate a partner
|
|
390
|
-
* @param {ValidatePartnerRequestDto} validatePartnerRequestDto
|
|
391
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
392
|
-
* @param {*} [options] Override http request option.
|
|
393
|
-
* @throws {RequiredError}
|
|
394
|
-
*/
|
|
395
|
-
validatePartner(validatePartnerRequestDto: ValidatePartnerRequestDto, authorization?: string, options?: any): AxiosPromise<ValidatePartnerResponseClass>;
|
|
396
367
|
};
|
|
397
368
|
/**
|
|
398
369
|
* Request parameters for createOrUpdatePartnerFromAccount operation in PartnersApi.
|
|
@@ -520,7 +491,7 @@ export interface PartnersApiListPartnersRequest {
|
|
|
520
491
|
*/
|
|
521
492
|
readonly pageToken?: string;
|
|
522
493
|
/**
|
|
523
|
-
* 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, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode
|
|
494
|
+
* 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, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode</i>
|
|
524
495
|
* @type {string}
|
|
525
496
|
* @memberof PartnersApiListPartners
|
|
526
497
|
*/
|
|
@@ -532,7 +503,7 @@ export interface PartnersApiListPartnersRequest {
|
|
|
532
503
|
*/
|
|
533
504
|
readonly search?: string;
|
|
534
505
|
/**
|
|
535
|
-
* 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, code, displayName, createdAt, updatedAt, version, tags, tagSlugs, partnerNumber, partnerType.name, partnerTagLabels.tagLabels
|
|
506
|
+
* 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, code, displayName, createdAt, updatedAt, version, tags, tagSlugs, partnerNumber, partnerType.name, partnerTagLabels.tagLabels</i>
|
|
536
507
|
* @type {string}
|
|
537
508
|
* @memberof PartnersApiListPartners
|
|
538
509
|
*/
|
|
@@ -544,7 +515,7 @@ export interface PartnersApiListPartnersRequest {
|
|
|
544
515
|
*/
|
|
545
516
|
readonly expand?: string;
|
|
546
517
|
/**
|
|
547
|
-
* 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, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode
|
|
518
|
+
* 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, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode</i>
|
|
548
519
|
* @type {string}
|
|
549
520
|
* @memberof PartnersApiListPartners
|
|
550
521
|
*/
|
|
@@ -686,25 +657,6 @@ export interface PartnersApiUpdatePartnerRequest {
|
|
|
686
657
|
*/
|
|
687
658
|
readonly authorization?: string;
|
|
688
659
|
}
|
|
689
|
-
/**
|
|
690
|
-
* Request parameters for validatePartner operation in PartnersApi.
|
|
691
|
-
* @export
|
|
692
|
-
* @interface PartnersApiValidatePartnerRequest
|
|
693
|
-
*/
|
|
694
|
-
export interface PartnersApiValidatePartnerRequest {
|
|
695
|
-
/**
|
|
696
|
-
*
|
|
697
|
-
* @type {ValidatePartnerRequestDto}
|
|
698
|
-
* @memberof PartnersApiValidatePartner
|
|
699
|
-
*/
|
|
700
|
-
readonly validatePartnerRequestDto: ValidatePartnerRequestDto;
|
|
701
|
-
/**
|
|
702
|
-
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
703
|
-
* @type {string}
|
|
704
|
-
* @memberof PartnersApiValidatePartner
|
|
705
|
-
*/
|
|
706
|
-
readonly authorization?: string;
|
|
707
|
-
}
|
|
708
660
|
/**
|
|
709
661
|
* PartnersApi - object-oriented interface
|
|
710
662
|
* @export
|
|
@@ -802,13 +754,4 @@ export declare class PartnersApi extends BaseAPI {
|
|
|
802
754
|
* @memberof PartnersApi
|
|
803
755
|
*/
|
|
804
756
|
updatePartner(requestParameters: PartnersApiUpdatePartnerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdatePartnerResponseClass, any, {}>>;
|
|
805
|
-
/**
|
|
806
|
-
* Validates a partner identity by partnerNumber and optional custom field values. All provided validationFields must match (AND logic). If validationFields is omitted the call succeeds as long as the partner exists. Never returns partner data — only isValid and an optional error message. **Required Permissions** none
|
|
807
|
-
* @summary Validate a partner
|
|
808
|
-
* @param {PartnersApiValidatePartnerRequest} requestParameters Request parameters.
|
|
809
|
-
* @param {*} [options] Override http request option.
|
|
810
|
-
* @throws {RequiredError}
|
|
811
|
-
* @memberof PartnersApi
|
|
812
|
-
*/
|
|
813
|
-
validatePartner(requestParameters: PartnersApiValidatePartnerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ValidatePartnerResponseClass, any, {}>>;
|
|
814
757
|
}
|
package/dist/api/partners-api.js
CHANGED
|
@@ -348,11 +348,11 @@ var PartnersApiAxiosParamCreator = function (configuration) {
|
|
|
348
348
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
349
349
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
350
350
|
* @param {string} [pageToken] 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.
|
|
351
|
-
* @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: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode
|
|
351
|
+
* @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: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode</i>
|
|
352
352
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
353
|
-
* @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: id, code, displayName, createdAt, updatedAt, version, tags, tagSlugs, partnerNumber, partnerType.name, partnerTagLabels.tagLabels
|
|
353
|
+
* @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: id, code, displayName, createdAt, updatedAt, version, tags, tagSlugs, partnerNumber, partnerType.name, partnerTagLabels.tagLabels</i>
|
|
354
354
|
* @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: partnerType, tags, partnerTagLabels<i>
|
|
355
|
-
* @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: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode
|
|
355
|
+
* @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: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode</i>
|
|
356
356
|
* @param {*} [options] Override http request option.
|
|
357
357
|
* @throws {RequiredError}
|
|
358
358
|
*/
|
|
@@ -649,55 +649,6 @@ var PartnersApiAxiosParamCreator = function (configuration) {
|
|
|
649
649
|
});
|
|
650
650
|
});
|
|
651
651
|
},
|
|
652
|
-
/**
|
|
653
|
-
* Validates a partner identity by partnerNumber and optional custom field values. All provided validationFields must match (AND logic). If validationFields is omitted the call succeeds as long as the partner exists. Never returns partner data — only isValid and an optional error message. **Required Permissions** none
|
|
654
|
-
* @summary Validate a partner
|
|
655
|
-
* @param {ValidatePartnerRequestDto} validatePartnerRequestDto
|
|
656
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
657
|
-
* @param {*} [options] Override http request option.
|
|
658
|
-
* @throws {RequiredError}
|
|
659
|
-
*/
|
|
660
|
-
validatePartner: function (validatePartnerRequestDto, authorization, options) {
|
|
661
|
-
if (options === void 0) { options = {}; }
|
|
662
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
663
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
664
|
-
return __generator(this, function (_a) {
|
|
665
|
-
switch (_a.label) {
|
|
666
|
-
case 0:
|
|
667
|
-
// verify required parameter 'validatePartnerRequestDto' is not null or undefined
|
|
668
|
-
(0, common_1.assertParamExists)('validatePartner', 'validatePartnerRequestDto', validatePartnerRequestDto);
|
|
669
|
-
localVarPath = "/partnerservice/v1/partners/validate";
|
|
670
|
-
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
671
|
-
if (configuration) {
|
|
672
|
-
baseOptions = configuration.baseOptions;
|
|
673
|
-
baseAccessToken = configuration.accessToken;
|
|
674
|
-
}
|
|
675
|
-
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
676
|
-
localVarHeaderParameter = {};
|
|
677
|
-
localVarQueryParameter = {};
|
|
678
|
-
// authentication bearer required
|
|
679
|
-
// http bearer authentication required
|
|
680
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
681
|
-
case 1:
|
|
682
|
-
// authentication bearer required
|
|
683
|
-
// http bearer authentication required
|
|
684
|
-
_a.sent();
|
|
685
|
-
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
686
|
-
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
687
|
-
}
|
|
688
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
689
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
690
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
691
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
692
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(validatePartnerRequestDto, localVarRequestOptions, configuration);
|
|
693
|
-
return [2 /*return*/, {
|
|
694
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
695
|
-
options: localVarRequestOptions,
|
|
696
|
-
}];
|
|
697
|
-
}
|
|
698
|
-
});
|
|
699
|
-
});
|
|
700
|
-
},
|
|
701
652
|
};
|
|
702
653
|
};
|
|
703
654
|
exports.PartnersApiAxiosParamCreator = PartnersApiAxiosParamCreator;
|
|
@@ -820,11 +771,11 @@ var PartnersApiFp = function (configuration) {
|
|
|
820
771
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
821
772
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
822
773
|
* @param {string} [pageToken] 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.
|
|
823
|
-
* @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: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode
|
|
774
|
+
* @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: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode</i>
|
|
824
775
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
825
|
-
* @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: id, code, displayName, createdAt, updatedAt, version, tags, tagSlugs, partnerNumber, partnerType.name, partnerTagLabels.tagLabels
|
|
776
|
+
* @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: id, code, displayName, createdAt, updatedAt, version, tags, tagSlugs, partnerNumber, partnerType.name, partnerTagLabels.tagLabels</i>
|
|
826
777
|
* @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: partnerType, tags, partnerTagLabels<i>
|
|
827
|
-
* @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: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode
|
|
778
|
+
* @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: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode</i>
|
|
828
779
|
* @param {*} [options] Override http request option.
|
|
829
780
|
* @throws {RequiredError}
|
|
830
781
|
*/
|
|
@@ -935,27 +886,6 @@ var PartnersApiFp = function (configuration) {
|
|
|
935
886
|
});
|
|
936
887
|
});
|
|
937
888
|
},
|
|
938
|
-
/**
|
|
939
|
-
* Validates a partner identity by partnerNumber and optional custom field values. All provided validationFields must match (AND logic). If validationFields is omitted the call succeeds as long as the partner exists. Never returns partner data — only isValid and an optional error message. **Required Permissions** none
|
|
940
|
-
* @summary Validate a partner
|
|
941
|
-
* @param {ValidatePartnerRequestDto} validatePartnerRequestDto
|
|
942
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
943
|
-
* @param {*} [options] Override http request option.
|
|
944
|
-
* @throws {RequiredError}
|
|
945
|
-
*/
|
|
946
|
-
validatePartner: function (validatePartnerRequestDto, authorization, options) {
|
|
947
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
948
|
-
var localVarAxiosArgs;
|
|
949
|
-
return __generator(this, function (_a) {
|
|
950
|
-
switch (_a.label) {
|
|
951
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.validatePartner(validatePartnerRequestDto, authorization, options)];
|
|
952
|
-
case 1:
|
|
953
|
-
localVarAxiosArgs = _a.sent();
|
|
954
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
955
|
-
}
|
|
956
|
-
});
|
|
957
|
-
});
|
|
958
|
-
},
|
|
959
889
|
};
|
|
960
890
|
};
|
|
961
891
|
exports.PartnersApiFp = PartnersApiFp;
|
|
@@ -1028,11 +958,11 @@ var PartnersApiFactory = function (configuration, basePath, axios) {
|
|
|
1028
958
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1029
959
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
1030
960
|
* @param {string} [pageToken] 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.
|
|
1031
|
-
* @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: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode
|
|
961
|
+
* @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: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode</i>
|
|
1032
962
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
1033
|
-
* @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: id, code, displayName, createdAt, updatedAt, version, tags, tagSlugs, partnerNumber, partnerType.name, partnerTagLabels.tagLabels
|
|
963
|
+
* @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: id, code, displayName, createdAt, updatedAt, version, tags, tagSlugs, partnerNumber, partnerType.name, partnerTagLabels.tagLabels</i>
|
|
1034
964
|
* @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: partnerType, tags, partnerTagLabels<i>
|
|
1035
|
-
* @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: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode
|
|
965
|
+
* @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: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode</i>
|
|
1036
966
|
* @param {*} [options] Override http request option.
|
|
1037
967
|
* @throws {RequiredError}
|
|
1038
968
|
*/
|
|
@@ -1093,17 +1023,6 @@ var PartnersApiFactory = function (configuration, basePath, axios) {
|
|
|
1093
1023
|
updatePartner: function (code, updatePartnerRequestDto, authorization, options) {
|
|
1094
1024
|
return localVarFp.updatePartner(code, updatePartnerRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1095
1025
|
},
|
|
1096
|
-
/**
|
|
1097
|
-
* Validates a partner identity by partnerNumber and optional custom field values. All provided validationFields must match (AND logic). If validationFields is omitted the call succeeds as long as the partner exists. Never returns partner data — only isValid and an optional error message. **Required Permissions** none
|
|
1098
|
-
* @summary Validate a partner
|
|
1099
|
-
* @param {ValidatePartnerRequestDto} validatePartnerRequestDto
|
|
1100
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1101
|
-
* @param {*} [options] Override http request option.
|
|
1102
|
-
* @throws {RequiredError}
|
|
1103
|
-
*/
|
|
1104
|
-
validatePartner: function (validatePartnerRequestDto, authorization, options) {
|
|
1105
|
-
return localVarFp.validatePartner(validatePartnerRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1106
|
-
},
|
|
1107
1026
|
};
|
|
1108
1027
|
};
|
|
1109
1028
|
exports.PartnersApiFactory = PartnersApiFactory;
|
|
@@ -1239,18 +1158,6 @@ var PartnersApi = /** @class */ (function (_super) {
|
|
|
1239
1158
|
var _this = this;
|
|
1240
1159
|
return (0, exports.PartnersApiFp)(this.configuration).updatePartner(requestParameters.code, requestParameters.updatePartnerRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1241
1160
|
};
|
|
1242
|
-
/**
|
|
1243
|
-
* Validates a partner identity by partnerNumber and optional custom field values. All provided validationFields must match (AND logic). If validationFields is omitted the call succeeds as long as the partner exists. Never returns partner data — only isValid and an optional error message. **Required Permissions** none
|
|
1244
|
-
* @summary Validate a partner
|
|
1245
|
-
* @param {PartnersApiValidatePartnerRequest} requestParameters Request parameters.
|
|
1246
|
-
* @param {*} [options] Override http request option.
|
|
1247
|
-
* @throws {RequiredError}
|
|
1248
|
-
* @memberof PartnersApi
|
|
1249
|
-
*/
|
|
1250
|
-
PartnersApi.prototype.validatePartner = function (requestParameters, options) {
|
|
1251
|
-
var _this = this;
|
|
1252
|
-
return (0, exports.PartnersApiFp)(this.configuration).validatePartner(requestParameters.validatePartnerRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1253
|
-
};
|
|
1254
1161
|
return PartnersApi;
|
|
1255
1162
|
}(base_1.BaseAPI));
|
|
1256
1163
|
exports.PartnersApi = PartnersApi;
|
package/dist/api.d.ts
CHANGED
|
@@ -11,10 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
export * from './api/blacklist-api';
|
|
13
13
|
export * from './api/blacklist-reasons-api';
|
|
14
|
-
export * from './api/
|
|
15
|
-
export * from './api/partner-hierarchies-api';
|
|
16
|
-
export * from './api/partner-hierarchy-nodes-api';
|
|
17
|
-
export * from './api/partner-hierarchy-types-api';
|
|
14
|
+
export * from './api/default-api';
|
|
18
15
|
export * from './api/partner-invitations-api';
|
|
19
16
|
export * from './api/partner-relations-api';
|
|
20
17
|
export * from './api/partner-tags-api';
|
package/dist/api.js
CHANGED
|
@@ -29,10 +29,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
29
29
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
30
|
__exportStar(require("./api/blacklist-api"), exports);
|
|
31
31
|
__exportStar(require("./api/blacklist-reasons-api"), exports);
|
|
32
|
-
__exportStar(require("./api/
|
|
33
|
-
__exportStar(require("./api/partner-hierarchies-api"), exports);
|
|
34
|
-
__exportStar(require("./api/partner-hierarchy-nodes-api"), exports);
|
|
35
|
-
__exportStar(require("./api/partner-hierarchy-types-api"), exports);
|
|
32
|
+
__exportStar(require("./api/default-api"), exports);
|
|
36
33
|
__exportStar(require("./api/partner-invitations-api"), exports);
|
|
37
34
|
__exportStar(require("./api/partner-relations-api"), exports);
|
|
38
35
|
__exportStar(require("./api/partner-tags-api"), exports);
|
package/dist/base.d.ts
CHANGED
|
@@ -39,8 +39,7 @@ export declare enum Environment {
|
|
|
39
39
|
Test = "https://apiv2-test.emil.de",
|
|
40
40
|
Staging = "https://apiv2-staging.emil.de",
|
|
41
41
|
Development = "https://apiv2-dev.emil.de",
|
|
42
|
-
ProductionZurich = "https://eu-central-2.apiv2.emil.de"
|
|
43
|
-
StagingZurich = "https://eu-central-2.apiv2-staging.emil.de"
|
|
42
|
+
ProductionZurich = "https://eu-central-2.apiv2.emil.de"
|
|
44
43
|
}
|
|
45
44
|
export declare function resetRetry(): void;
|
|
46
45
|
/**
|
package/dist/base.js
CHANGED
|
@@ -132,7 +132,6 @@ var Environment;
|
|
|
132
132
|
Environment["Staging"] = "https://apiv2-staging.emil.de";
|
|
133
133
|
Environment["Development"] = "https://apiv2-dev.emil.de";
|
|
134
134
|
Environment["ProductionZurich"] = "https://eu-central-2.apiv2.emil.de";
|
|
135
|
-
Environment["StagingZurich"] = "https://eu-central-2.apiv2-staging.emil.de";
|
|
136
135
|
})(Environment = exports.Environment || (exports.Environment = {}));
|
|
137
136
|
var _retry_count = 0;
|
|
138
137
|
var _retry = null;
|