@emilgroup/partner-sdk 1.22.1-beta.23 → 1.22.1-beta.24
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 -1367
- package/api/partner-hierarchy-nodes-api.ts +0 -1197
- package/api/partner-hierarchy-types-api.ts +0 -679
- package/dist/api/partner-hierarchies-api.d.ts +0 -774
- package/dist/api/partner-hierarchies-api.js +0 -1171
- package/dist/api/partner-hierarchy-nodes-api.d.ts +0 -674
- package/dist/api/partner-hierarchy-nodes-api.js +0 -1049
- package/dist/api/partner-hierarchy-types-api.d.ts +0 -385
- package/dist/api/partner-hierarchy-types-api.js +0 -636
- 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
|
|
@@ -86,10 +86,10 @@ var common_1 = require("../common");
|
|
|
86
86
|
// @ts-ignore
|
|
87
87
|
var base_1 = require("../base");
|
|
88
88
|
/**
|
|
89
|
-
*
|
|
89
|
+
* DefaultApi - axios parameter creator
|
|
90
90
|
* @export
|
|
91
91
|
*/
|
|
92
|
-
var
|
|
92
|
+
var DefaultApiAxiosParamCreator = function (configuration) {
|
|
93
93
|
var _this = this;
|
|
94
94
|
return {
|
|
95
95
|
/**
|
|
@@ -124,13 +124,13 @@ var HealthApiAxiosParamCreator = function (configuration) {
|
|
|
124
124
|
},
|
|
125
125
|
};
|
|
126
126
|
};
|
|
127
|
-
exports.
|
|
127
|
+
exports.DefaultApiAxiosParamCreator = DefaultApiAxiosParamCreator;
|
|
128
128
|
/**
|
|
129
|
-
*
|
|
129
|
+
* DefaultApi - functional programming interface
|
|
130
130
|
* @export
|
|
131
131
|
*/
|
|
132
|
-
var
|
|
133
|
-
var localVarAxiosParamCreator = (0, exports.
|
|
132
|
+
var DefaultApiFp = function (configuration) {
|
|
133
|
+
var localVarAxiosParamCreator = (0, exports.DefaultApiAxiosParamCreator)(configuration);
|
|
134
134
|
return {
|
|
135
135
|
/**
|
|
136
136
|
* 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.
|
|
@@ -153,13 +153,13 @@ var HealthApiFp = function (configuration) {
|
|
|
153
153
|
},
|
|
154
154
|
};
|
|
155
155
|
};
|
|
156
|
-
exports.
|
|
156
|
+
exports.DefaultApiFp = DefaultApiFp;
|
|
157
157
|
/**
|
|
158
|
-
*
|
|
158
|
+
* DefaultApi - factory interface
|
|
159
159
|
* @export
|
|
160
160
|
*/
|
|
161
|
-
var
|
|
162
|
-
var localVarFp = (0, exports.
|
|
161
|
+
var DefaultApiFactory = function (configuration, basePath, axios) {
|
|
162
|
+
var localVarFp = (0, exports.DefaultApiFp)(configuration);
|
|
163
163
|
return {
|
|
164
164
|
/**
|
|
165
165
|
* 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.
|
|
@@ -172,16 +172,16 @@ var HealthApiFactory = function (configuration, basePath, axios) {
|
|
|
172
172
|
},
|
|
173
173
|
};
|
|
174
174
|
};
|
|
175
|
-
exports.
|
|
175
|
+
exports.DefaultApiFactory = DefaultApiFactory;
|
|
176
176
|
/**
|
|
177
|
-
*
|
|
177
|
+
* DefaultApi - object-oriented interface
|
|
178
178
|
* @export
|
|
179
|
-
* @class
|
|
179
|
+
* @class DefaultApi
|
|
180
180
|
* @extends {BaseAPI}
|
|
181
181
|
*/
|
|
182
|
-
var
|
|
183
|
-
__extends(
|
|
184
|
-
function
|
|
182
|
+
var DefaultApi = /** @class */ (function (_super) {
|
|
183
|
+
__extends(DefaultApi, _super);
|
|
184
|
+
function DefaultApi() {
|
|
185
185
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
186
186
|
}
|
|
187
187
|
/**
|
|
@@ -189,12 +189,12 @@ var HealthApi = /** @class */ (function (_super) {
|
|
|
189
189
|
* @summary Health Check
|
|
190
190
|
* @param {*} [options] Override http request option.
|
|
191
191
|
* @throws {RequiredError}
|
|
192
|
-
* @memberof
|
|
192
|
+
* @memberof DefaultApi
|
|
193
193
|
*/
|
|
194
|
-
|
|
194
|
+
DefaultApi.prototype.check = function (options) {
|
|
195
195
|
var _this = this;
|
|
196
|
-
return (0, exports.
|
|
196
|
+
return (0, exports.DefaultApiFp)(this.configuration).check(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
197
197
|
};
|
|
198
|
-
return
|
|
198
|
+
return DefaultApi;
|
|
199
199
|
}(base_1.BaseAPI));
|
|
200
|
-
exports.
|
|
200
|
+
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
|
@@ -344,11 +344,11 @@ var PartnersApiAxiosParamCreator = function (configuration) {
|
|
|
344
344
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
345
345
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
346
346
|
* @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.
|
|
347
|
-
* @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
|
|
347
|
+
* @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>
|
|
348
348
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
349
|
-
* @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
|
|
349
|
+
* @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>
|
|
350
350
|
* @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>
|
|
351
|
-
* @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
|
|
351
|
+
* @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>
|
|
352
352
|
* @param {*} [options] Override http request option.
|
|
353
353
|
* @throws {RequiredError}
|
|
354
354
|
*/
|
|
@@ -645,55 +645,6 @@ var PartnersApiAxiosParamCreator = function (configuration) {
|
|
|
645
645
|
});
|
|
646
646
|
});
|
|
647
647
|
},
|
|
648
|
-
/**
|
|
649
|
-
* 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
|
|
650
|
-
* @summary Validate a partner
|
|
651
|
-
* @param {ValidatePartnerRequestDto} validatePartnerRequestDto
|
|
652
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
653
|
-
* @param {*} [options] Override http request option.
|
|
654
|
-
* @throws {RequiredError}
|
|
655
|
-
*/
|
|
656
|
-
validatePartner: function (validatePartnerRequestDto, authorization, options) {
|
|
657
|
-
if (options === void 0) { options = {}; }
|
|
658
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
659
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
660
|
-
return __generator(this, function (_a) {
|
|
661
|
-
switch (_a.label) {
|
|
662
|
-
case 0:
|
|
663
|
-
// verify required parameter 'validatePartnerRequestDto' is not null or undefined
|
|
664
|
-
(0, common_1.assertParamExists)('validatePartner', 'validatePartnerRequestDto', validatePartnerRequestDto);
|
|
665
|
-
localVarPath = "/partnerservice/v1/partners/validate";
|
|
666
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
667
|
-
if (configuration) {
|
|
668
|
-
baseOptions = configuration.baseOptions;
|
|
669
|
-
baseAccessToken = configuration.accessToken;
|
|
670
|
-
}
|
|
671
|
-
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
672
|
-
localVarHeaderParameter = {};
|
|
673
|
-
localVarQueryParameter = {};
|
|
674
|
-
// authentication bearer required
|
|
675
|
-
// http bearer authentication required
|
|
676
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
677
|
-
case 1:
|
|
678
|
-
// authentication bearer required
|
|
679
|
-
// http bearer authentication required
|
|
680
|
-
_a.sent();
|
|
681
|
-
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
682
|
-
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
683
|
-
}
|
|
684
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
685
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
686
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
687
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
688
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(validatePartnerRequestDto, localVarRequestOptions, configuration);
|
|
689
|
-
return [2 /*return*/, {
|
|
690
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
691
|
-
options: localVarRequestOptions,
|
|
692
|
-
}];
|
|
693
|
-
}
|
|
694
|
-
});
|
|
695
|
-
});
|
|
696
|
-
},
|
|
697
648
|
};
|
|
698
649
|
};
|
|
699
650
|
exports.PartnersApiAxiosParamCreator = PartnersApiAxiosParamCreator;
|
|
@@ -816,11 +767,11 @@ var PartnersApiFp = function (configuration) {
|
|
|
816
767
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
817
768
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
818
769
|
* @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.
|
|
819
|
-
* @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
|
|
770
|
+
* @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>
|
|
820
771
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
821
|
-
* @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
|
|
772
|
+
* @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>
|
|
822
773
|
* @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>
|
|
823
|
-
* @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
|
|
774
|
+
* @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>
|
|
824
775
|
* @param {*} [options] Override http request option.
|
|
825
776
|
* @throws {RequiredError}
|
|
826
777
|
*/
|
|
@@ -931,27 +882,6 @@ var PartnersApiFp = function (configuration) {
|
|
|
931
882
|
});
|
|
932
883
|
});
|
|
933
884
|
},
|
|
934
|
-
/**
|
|
935
|
-
* 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
|
|
936
|
-
* @summary Validate a partner
|
|
937
|
-
* @param {ValidatePartnerRequestDto} validatePartnerRequestDto
|
|
938
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
939
|
-
* @param {*} [options] Override http request option.
|
|
940
|
-
* @throws {RequiredError}
|
|
941
|
-
*/
|
|
942
|
-
validatePartner: function (validatePartnerRequestDto, authorization, options) {
|
|
943
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
944
|
-
var localVarAxiosArgs;
|
|
945
|
-
return __generator(this, function (_a) {
|
|
946
|
-
switch (_a.label) {
|
|
947
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.validatePartner(validatePartnerRequestDto, authorization, options)];
|
|
948
|
-
case 1:
|
|
949
|
-
localVarAxiosArgs = _a.sent();
|
|
950
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
951
|
-
}
|
|
952
|
-
});
|
|
953
|
-
});
|
|
954
|
-
},
|
|
955
885
|
};
|
|
956
886
|
};
|
|
957
887
|
exports.PartnersApiFp = PartnersApiFp;
|
|
@@ -1024,11 +954,11 @@ var PartnersApiFactory = function (configuration, basePath, axios) {
|
|
|
1024
954
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1025
955
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
1026
956
|
* @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.
|
|
1027
|
-
* @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
|
|
957
|
+
* @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>
|
|
1028
958
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
1029
|
-
* @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
|
|
959
|
+
* @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>
|
|
1030
960
|
* @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>
|
|
1031
|
-
* @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
|
|
961
|
+
* @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>
|
|
1032
962
|
* @param {*} [options] Override http request option.
|
|
1033
963
|
* @throws {RequiredError}
|
|
1034
964
|
*/
|
|
@@ -1089,17 +1019,6 @@ var PartnersApiFactory = function (configuration, basePath, axios) {
|
|
|
1089
1019
|
updatePartner: function (code, updatePartnerRequestDto, authorization, options) {
|
|
1090
1020
|
return localVarFp.updatePartner(code, updatePartnerRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1091
1021
|
},
|
|
1092
|
-
/**
|
|
1093
|
-
* 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
|
|
1094
|
-
* @summary Validate a partner
|
|
1095
|
-
* @param {ValidatePartnerRequestDto} validatePartnerRequestDto
|
|
1096
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1097
|
-
* @param {*} [options] Override http request option.
|
|
1098
|
-
* @throws {RequiredError}
|
|
1099
|
-
*/
|
|
1100
|
-
validatePartner: function (validatePartnerRequestDto, authorization, options) {
|
|
1101
|
-
return localVarFp.validatePartner(validatePartnerRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1102
|
-
},
|
|
1103
1022
|
};
|
|
1104
1023
|
};
|
|
1105
1024
|
exports.PartnersApiFactory = PartnersApiFactory;
|
|
@@ -1235,18 +1154,6 @@ var PartnersApi = /** @class */ (function (_super) {
|
|
|
1235
1154
|
var _this = this;
|
|
1236
1155
|
return (0, exports.PartnersApiFp)(this.configuration).updatePartner(requestParameters.code, requestParameters.updatePartnerRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1237
1156
|
};
|
|
1238
|
-
/**
|
|
1239
|
-
* 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
|
|
1240
|
-
* @summary Validate a partner
|
|
1241
|
-
* @param {PartnersApiValidatePartnerRequest} requestParameters Request parameters.
|
|
1242
|
-
* @param {*} [options] Override http request option.
|
|
1243
|
-
* @throws {RequiredError}
|
|
1244
|
-
* @memberof PartnersApi
|
|
1245
|
-
*/
|
|
1246
|
-
PartnersApi.prototype.validatePartner = function (requestParameters, options) {
|
|
1247
|
-
var _this = this;
|
|
1248
|
-
return (0, exports.PartnersApiFp)(this.configuration).validatePartner(requestParameters.validatePartnerRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1249
|
-
};
|
|
1250
1157
|
return PartnersApi;
|
|
1251
1158
|
}(base_1.BaseAPI));
|
|
1252
1159
|
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
|
@@ -102,7 +102,6 @@ var Environment;
|
|
|
102
102
|
Environment["Staging"] = "https://apiv2-staging.emil.de";
|
|
103
103
|
Environment["Development"] = "https://apiv2-dev.emil.de";
|
|
104
104
|
Environment["ProductionZurich"] = "https://eu-central-2.apiv2.emil.de";
|
|
105
|
-
Environment["StagingZurich"] = "https://eu-central-2.apiv2-staging.emil.de";
|
|
106
105
|
})(Environment = exports.Environment || (exports.Environment = {}));
|
|
107
106
|
var _retry_count = 0;
|
|
108
107
|
var _retry = null;
|