@emilgroup/partner-sdk-node 1.23.1-beta.6 → 1.23.1-beta.7
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 -211
- package/api.ts +2 -10
- 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 -130
- package/dist/api/partners-api.js +9 -143
- package/dist/api.d.ts +1 -5
- package/dist/api.js +1 -5
- package/dist/base.d.ts +1 -2
- package/dist/base.js +0 -1
- package/dist/models/index.d.ts +0 -37
- package/dist/models/index.js +0 -37
- 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 +0 -12
- 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/partner-class.d.ts +0 -6
- package/dist/models/update-blacklist-reason-status-request-dto.d.ts +1 -1
- package/models/index.ts +0 -37
- 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 +0 -12
- package/models/list-related-partners-response-class.ts +6 -18
- package/models/list-tags-response-class.ts +6 -18
- package/models/partner-class.ts +0 -6
- package/models/update-blacklist-reason-status-request-dto.ts +1 -1
- package/package.json +2 -2
- package/api/partner-hierarchies-api.ts +0 -1170
- package/api/partner-hierarchy-nodes-api.ts +0 -1201
- package/api/partner-hierarchy-operations-api.ts +0 -367
- package/api/partner-hierarchy-types-api.ts +0 -683
- package/dist/api/partner-hierarchies-api.d.ts +0 -655
- package/dist/api/partner-hierarchies-api.js +0 -1041
- 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-operations-api.d.ts +0 -215
- package/dist/api/partner-hierarchy-operations-api.js +0 -362
- 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-operation-response-class.d.ts +0 -25
- package/dist/models/get-partner-hierarchy-operation-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 -60
- 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 -72
- 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 -110
- package/dist/models/partner-hierarchy-operation-class.js +0 -27
- 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/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-operation-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 -66
- 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 -78
- 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 -120
- 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
|
@@ -14,7 +14,7 @@ import { Configuration } from '../configuration';
|
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
import { CreateBlacklistReasonRequestDto } from '../models';
|
|
16
16
|
import { CreateBlacklistReasonResponseClass } from '../models';
|
|
17
|
-
import {
|
|
17
|
+
import { DeleteResponseClass } from '../models';
|
|
18
18
|
import { GetBlacklistReasonResponseClass } from '../models';
|
|
19
19
|
import { ListBlacklistReasonsResponseClass } from '../models';
|
|
20
20
|
import { UpdateBlacklistReasonRequestDto } from '../models';
|
|
@@ -110,7 +110,7 @@ export declare const BlacklistReasonsApiFp: (configuration?: Configuration) => {
|
|
|
110
110
|
* @param {*} [options] Override http request option.
|
|
111
111
|
* @throws {RequiredError}
|
|
112
112
|
*/
|
|
113
|
-
deleteBlacklistReason(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
113
|
+
deleteBlacklistReason(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteResponseClass>>;
|
|
114
114
|
/**
|
|
115
115
|
* Retrieves the details of the blacklist reason that was previously created. Supply the unique blacklist reason code that was returned when you created it and Emil Api will return the corresponding blacklist reason information. **Required Permissions** \"partner-management.partners.view\"
|
|
116
116
|
* @summary Retrieve the blacklist reason
|
|
@@ -178,7 +178,7 @@ export declare const BlacklistReasonsApiFactory: (configuration?: Configuration,
|
|
|
178
178
|
* @param {*} [options] Override http request option.
|
|
179
179
|
* @throws {RequiredError}
|
|
180
180
|
*/
|
|
181
|
-
deleteBlacklistReason(code: string, authorization?: string, options?: any): AxiosPromise<
|
|
181
|
+
deleteBlacklistReason(code: string, authorization?: string, options?: any): AxiosPromise<DeleteResponseClass>;
|
|
182
182
|
/**
|
|
183
183
|
* Retrieves the details of the blacklist reason that was previously created. Supply the unique blacklist reason code that was returned when you created it and Emil Api will return the corresponding blacklist reason information. **Required Permissions** \"partner-management.partners.view\"
|
|
184
184
|
* @summary Retrieve the blacklist reason
|
|
@@ -410,7 +410,7 @@ export declare class BlacklistReasonsApi extends BaseAPI {
|
|
|
410
410
|
* @throws {RequiredError}
|
|
411
411
|
* @memberof BlacklistReasonsApi
|
|
412
412
|
*/
|
|
413
|
-
deleteBlacklistReason(requestParameters: BlacklistReasonsApiDeleteBlacklistReasonRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
413
|
+
deleteBlacklistReason(requestParameters: BlacklistReasonsApiDeleteBlacklistReasonRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteResponseClass, any, {}>>;
|
|
414
414
|
/**
|
|
415
415
|
* Retrieves the details of the blacklist reason that was previously created. Supply the unique blacklist reason code that was returned when you created it and Emil Api will return the corresponding blacklist reason information. **Required Permissions** \"partner-management.partners.view\"
|
|
416
416
|
* @summary Retrieve the blacklist reason
|
|
@@ -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;
|
|
@@ -85,11 +85,11 @@ export declare const PartnersApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
85
85
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
86
86
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
87
87
|
* @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
|
|
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</i>
|
|
89
89
|
* @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
|
|
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</i>
|
|
91
91
|
* @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
|
|
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</i>
|
|
93
93
|
* @param {*} [options] Override http request option.
|
|
94
94
|
* @throws {RequiredError}
|
|
95
95
|
*/
|
|
@@ -110,22 +110,6 @@ export declare const PartnersApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
110
110
|
* @throws {RequiredError}
|
|
111
111
|
*/
|
|
112
112
|
listRelationsForPartner: (code: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
113
|
-
/**
|
|
114
|
-
* Returns a paginated list of sub-partners assigned under the selected partner across partner hierarchies. **Required Permissions** \"partner-management.partners.view\"
|
|
115
|
-
* @summary List sub-partners
|
|
116
|
-
* @param {string} code Unique identifier for the object.
|
|
117
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
118
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
119
|
-
* @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.
|
|
120
|
-
* @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, subPartnersCount</i>
|
|
121
|
-
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
122
|
-
* @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, subPartnersCount</i>
|
|
123
|
-
* @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>
|
|
124
|
-
* @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, subPartnersCount</i>
|
|
125
|
-
* @param {*} [options] Override http request option.
|
|
126
|
-
* @throws {RequiredError}
|
|
127
|
-
*/
|
|
128
|
-
listSubPartners: (code: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
129
113
|
/**
|
|
130
114
|
* Updates the specified partner by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"partner-management.partners.update\", \"partner-management.partners.delete\"
|
|
131
115
|
* @summary Update the partner
|
|
@@ -223,11 +207,11 @@ export declare const PartnersApiFp: (configuration?: Configuration) => {
|
|
|
223
207
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
224
208
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
225
209
|
* @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.
|
|
226
|
-
* @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
|
|
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</i>
|
|
227
211
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
228
|
-
* @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
|
|
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</i>
|
|
229
213
|
* @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>
|
|
230
|
-
* @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
|
|
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</i>
|
|
231
215
|
* @param {*} [options] Override http request option.
|
|
232
216
|
* @throws {RequiredError}
|
|
233
217
|
*/
|
|
@@ -248,22 +232,6 @@ export declare const PartnersApiFp: (configuration?: Configuration) => {
|
|
|
248
232
|
* @throws {RequiredError}
|
|
249
233
|
*/
|
|
250
234
|
listRelationsForPartner(code: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListRelatedPartnersResponseClass>>;
|
|
251
|
-
/**
|
|
252
|
-
* Returns a paginated list of sub-partners assigned under the selected partner across partner hierarchies. **Required Permissions** \"partner-management.partners.view\"
|
|
253
|
-
* @summary List sub-partners
|
|
254
|
-
* @param {string} code Unique identifier for the object.
|
|
255
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
256
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
257
|
-
* @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.
|
|
258
|
-
* @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, subPartnersCount</i>
|
|
259
|
-
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
260
|
-
* @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, subPartnersCount</i>
|
|
261
|
-
* @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>
|
|
262
|
-
* @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, subPartnersCount</i>
|
|
263
|
-
* @param {*} [options] Override http request option.
|
|
264
|
-
* @throws {RequiredError}
|
|
265
|
-
*/
|
|
266
|
-
listSubPartners(code: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPartnersResponseClass>>;
|
|
267
235
|
/**
|
|
268
236
|
* Updates the specified partner by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"partner-management.partners.update\", \"partner-management.partners.delete\"
|
|
269
237
|
* @summary Update the partner
|
|
@@ -361,11 +329,11 @@ export declare const PartnersApiFactory: (configuration?: Configuration, basePat
|
|
|
361
329
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
362
330
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
363
331
|
* @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.
|
|
364
|
-
* @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
|
|
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</i>
|
|
365
333
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
366
|
-
* @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
|
|
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</i>
|
|
367
335
|
* @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>
|
|
368
|
-
* @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
|
|
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</i>
|
|
369
337
|
* @param {*} [options] Override http request option.
|
|
370
338
|
* @throws {RequiredError}
|
|
371
339
|
*/
|
|
@@ -386,22 +354,6 @@ export declare const PartnersApiFactory: (configuration?: Configuration, basePat
|
|
|
386
354
|
* @throws {RequiredError}
|
|
387
355
|
*/
|
|
388
356
|
listRelationsForPartner(code: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListRelatedPartnersResponseClass>;
|
|
389
|
-
/**
|
|
390
|
-
* Returns a paginated list of sub-partners assigned under the selected partner across partner hierarchies. **Required Permissions** \"partner-management.partners.view\"
|
|
391
|
-
* @summary List sub-partners
|
|
392
|
-
* @param {string} code Unique identifier for the object.
|
|
393
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
394
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
395
|
-
* @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.
|
|
396
|
-
* @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, subPartnersCount</i>
|
|
397
|
-
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
398
|
-
* @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, subPartnersCount</i>
|
|
399
|
-
* @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>
|
|
400
|
-
* @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, subPartnersCount</i>
|
|
401
|
-
* @param {*} [options] Override http request option.
|
|
402
|
-
* @throws {RequiredError}
|
|
403
|
-
*/
|
|
404
|
-
listSubPartners(code: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListPartnersResponseClass>;
|
|
405
357
|
/**
|
|
406
358
|
* Updates the specified partner by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"partner-management.partners.update\", \"partner-management.partners.delete\"
|
|
407
359
|
* @summary Update the partner
|
|
@@ -568,7 +520,7 @@ export interface PartnersApiListPartnersRequest {
|
|
|
568
520
|
*/
|
|
569
521
|
readonly pageToken?: string;
|
|
570
522
|
/**
|
|
571
|
-
* 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
|
|
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</i>
|
|
572
524
|
* @type {string}
|
|
573
525
|
* @memberof PartnersApiListPartners
|
|
574
526
|
*/
|
|
@@ -580,7 +532,7 @@ export interface PartnersApiListPartnersRequest {
|
|
|
580
532
|
*/
|
|
581
533
|
readonly search?: string;
|
|
582
534
|
/**
|
|
583
|
-
* 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
|
|
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</i>
|
|
584
536
|
* @type {string}
|
|
585
537
|
* @memberof PartnersApiListPartners
|
|
586
538
|
*/
|
|
@@ -592,7 +544,7 @@ export interface PartnersApiListPartnersRequest {
|
|
|
592
544
|
*/
|
|
593
545
|
readonly expand?: string;
|
|
594
546
|
/**
|
|
595
|
-
* 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
|
|
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</i>
|
|
596
548
|
* @type {string}
|
|
597
549
|
* @memberof PartnersApiListPartners
|
|
598
550
|
*/
|
|
@@ -659,67 +611,6 @@ export interface PartnersApiListRelationsForPartnerRequest {
|
|
|
659
611
|
*/
|
|
660
612
|
readonly filters?: string;
|
|
661
613
|
}
|
|
662
|
-
/**
|
|
663
|
-
* Request parameters for listSubPartners operation in PartnersApi.
|
|
664
|
-
* @export
|
|
665
|
-
* @interface PartnersApiListSubPartnersRequest
|
|
666
|
-
*/
|
|
667
|
-
export interface PartnersApiListSubPartnersRequest {
|
|
668
|
-
/**
|
|
669
|
-
* Unique identifier for the object.
|
|
670
|
-
* @type {string}
|
|
671
|
-
* @memberof PartnersApiListSubPartners
|
|
672
|
-
*/
|
|
673
|
-
readonly code: string;
|
|
674
|
-
/**
|
|
675
|
-
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
676
|
-
* @type {string}
|
|
677
|
-
* @memberof PartnersApiListSubPartners
|
|
678
|
-
*/
|
|
679
|
-
readonly authorization?: string;
|
|
680
|
-
/**
|
|
681
|
-
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
682
|
-
* @type {number}
|
|
683
|
-
* @memberof PartnersApiListSubPartners
|
|
684
|
-
*/
|
|
685
|
-
readonly pageSize?: number;
|
|
686
|
-
/**
|
|
687
|
-
* 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.
|
|
688
|
-
* @type {string}
|
|
689
|
-
* @memberof PartnersApiListSubPartners
|
|
690
|
-
*/
|
|
691
|
-
readonly pageToken?: string;
|
|
692
|
-
/**
|
|
693
|
-
* 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, subPartnersCount</i>
|
|
694
|
-
* @type {string}
|
|
695
|
-
* @memberof PartnersApiListSubPartners
|
|
696
|
-
*/
|
|
697
|
-
readonly filter?: string;
|
|
698
|
-
/**
|
|
699
|
-
* To search the list by any field, pass search=xxx to fetch the result.
|
|
700
|
-
* @type {string}
|
|
701
|
-
* @memberof PartnersApiListSubPartners
|
|
702
|
-
*/
|
|
703
|
-
readonly search?: string;
|
|
704
|
-
/**
|
|
705
|
-
* 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, subPartnersCount</i>
|
|
706
|
-
* @type {string}
|
|
707
|
-
* @memberof PartnersApiListSubPartners
|
|
708
|
-
*/
|
|
709
|
-
readonly order?: string;
|
|
710
|
-
/**
|
|
711
|
-
* 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>
|
|
712
|
-
* @type {string}
|
|
713
|
-
* @memberof PartnersApiListSubPartners
|
|
714
|
-
*/
|
|
715
|
-
readonly expand?: string;
|
|
716
|
-
/**
|
|
717
|
-
* 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, subPartnersCount</i>
|
|
718
|
-
* @type {string}
|
|
719
|
-
* @memberof PartnersApiListSubPartners
|
|
720
|
-
*/
|
|
721
|
-
readonly filters?: string;
|
|
722
|
-
}
|
|
723
614
|
/**
|
|
724
615
|
* Request parameters for mergePartners operation in PartnersApi.
|
|
725
616
|
* @export
|
|
@@ -884,15 +775,6 @@ export declare class PartnersApi extends BaseAPI {
|
|
|
884
775
|
* @memberof PartnersApi
|
|
885
776
|
*/
|
|
886
777
|
listRelationsForPartner(requestParameters: PartnersApiListRelationsForPartnerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListRelatedPartnersResponseClass, any, {}>>;
|
|
887
|
-
/**
|
|
888
|
-
* Returns a paginated list of sub-partners assigned under the selected partner across partner hierarchies. **Required Permissions** \"partner-management.partners.view\"
|
|
889
|
-
* @summary List sub-partners
|
|
890
|
-
* @param {PartnersApiListSubPartnersRequest} requestParameters Request parameters.
|
|
891
|
-
* @param {*} [options] Override http request option.
|
|
892
|
-
* @throws {RequiredError}
|
|
893
|
-
* @memberof PartnersApi
|
|
894
|
-
*/
|
|
895
|
-
listSubPartners(requestParameters: PartnersApiListSubPartnersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPartnersResponseClass, any, {}>>;
|
|
896
778
|
/**
|
|
897
779
|
* Updates the specified partner by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"partner-management.partners.update\", \"partner-management.partners.delete\"
|
|
898
780
|
* @summary Update the partner
|