@emilgroup/partner-sdk-node 1.14.0 → 1.14.1-beta.1
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/README.md +2 -2
- package/api/partners-api.ts +8 -8
- package/base.ts +1 -1
- package/dist/api/default-api.js +18 -5
- package/dist/api/partner-invitations-api.js +18 -5
- package/dist/api/partner-relations-api.js +60 -23
- package/dist/api/partner-tags-api.js +46 -17
- package/dist/api/partner-types-api.js +46 -17
- package/dist/api/partner-versions-api.js +25 -8
- package/dist/api/partners-api.d.ts +8 -8
- package/dist/api/partners-api.js +66 -29
- package/dist/base.js +25 -15
- package/dist/common.d.ts +1 -1
- package/dist/common.js +2 -2
- package/dist/models/partner-class.d.ts +3 -2
- package/models/partner-class.ts +3 -2
- package/package.json +4 -4
- package/tsconfig.json +1 -0
package/README.md
CHANGED
|
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
|
|
|
17
17
|
Navigate to the folder of your consuming project and run one of the following commands:
|
|
18
18
|
|
|
19
19
|
```
|
|
20
|
-
npm install @emilgroup/partner-sdk-node@1.14.
|
|
20
|
+
npm install @emilgroup/partner-sdk-node@1.14.1-beta.1 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/partner-sdk-node@1.14.
|
|
24
|
+
yarn add @emilgroup/partner-sdk-node@1.14.1-beta.1
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `PartnersApi`.
|
package/api/partners-api.ts
CHANGED
|
@@ -196,11 +196,11 @@ export const PartnersApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
196
196
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
197
197
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
198
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.
|
|
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, partnerTypeId, tenantUserCode, partnerNumber</i>
|
|
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, partnerTypeId, tenantUserCode, partnerNumber, accountCode</i>
|
|
200
200
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
201
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</i>
|
|
202
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<i>
|
|
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, partnerTypeId, tenantUserCode, partnerNumber</i>
|
|
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, partnerTypeId, tenantUserCode, partnerNumber, accountCode</i>
|
|
204
204
|
* @param {*} [options] Override http request option.
|
|
205
205
|
* @throws {RequiredError}
|
|
206
206
|
*/
|
|
@@ -501,11 +501,11 @@ export const PartnersApiFp = function(configuration?: Configuration) {
|
|
|
501
501
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
502
502
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
503
503
|
* @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.
|
|
504
|
-
* @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, partnerTypeId, tenantUserCode, partnerNumber</i>
|
|
504
|
+
* @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, partnerTypeId, tenantUserCode, partnerNumber, accountCode</i>
|
|
505
505
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
506
506
|
* @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</i>
|
|
507
507
|
* @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<i>
|
|
508
|
-
* @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, partnerTypeId, tenantUserCode, partnerNumber</i>
|
|
508
|
+
* @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, partnerTypeId, tenantUserCode, partnerNumber, accountCode</i>
|
|
509
509
|
* @param {*} [options] Override http request option.
|
|
510
510
|
* @throws {RequiredError}
|
|
511
511
|
*/
|
|
@@ -608,11 +608,11 @@ export const PartnersApiFactory = function (configuration?: Configuration, baseP
|
|
|
608
608
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
609
609
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
610
610
|
* @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.
|
|
611
|
-
* @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, partnerTypeId, tenantUserCode, partnerNumber</i>
|
|
611
|
+
* @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, partnerTypeId, tenantUserCode, partnerNumber, accountCode</i>
|
|
612
612
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
613
613
|
* @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</i>
|
|
614
614
|
* @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<i>
|
|
615
|
-
* @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, partnerTypeId, tenantUserCode, partnerNumber</i>
|
|
615
|
+
* @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, partnerTypeId, tenantUserCode, partnerNumber, accountCode</i>
|
|
616
616
|
* @param {*} [options] Override http request option.
|
|
617
617
|
* @throws {RequiredError}
|
|
618
618
|
*/
|
|
@@ -762,7 +762,7 @@ export interface PartnersApiListPartnersRequest {
|
|
|
762
762
|
readonly pageToken?: string
|
|
763
763
|
|
|
764
764
|
/**
|
|
765
|
-
* 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, partnerTypeId, tenantUserCode, partnerNumber</i>
|
|
765
|
+
* 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, partnerTypeId, tenantUserCode, partnerNumber, accountCode</i>
|
|
766
766
|
* @type {string}
|
|
767
767
|
* @memberof PartnersApiListPartners
|
|
768
768
|
*/
|
|
@@ -790,7 +790,7 @@ export interface PartnersApiListPartnersRequest {
|
|
|
790
790
|
readonly expand?: string
|
|
791
791
|
|
|
792
792
|
/**
|
|
793
|
-
* 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, partnerTypeId, tenantUserCode, partnerNumber</i>
|
|
793
|
+
* 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, partnerTypeId, tenantUserCode, partnerNumber, accountCode</i>
|
|
794
794
|
* @type {string}
|
|
795
795
|
* @memberof PartnersApiListPartners
|
|
796
796
|
*/
|
package/base.ts
CHANGED
|
@@ -278,7 +278,7 @@ export class BaseAPI {
|
|
|
278
278
|
* @extends {Error}
|
|
279
279
|
*/
|
|
280
280
|
export class RequiredError extends Error {
|
|
281
|
-
name: "RequiredError" = "RequiredError";
|
|
281
|
+
override name: "RequiredError" = "RequiredError";
|
|
282
282
|
constructor(public field: string, msg?: string) {
|
|
283
283
|
super(msg);
|
|
284
284
|
}
|
package/dist/api/default-api.js
CHANGED
|
@@ -48,8 +48,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
48
48
|
});
|
|
49
49
|
};
|
|
50
50
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
51
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
52
|
-
return g =
|
|
51
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
52
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
53
53
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
54
54
|
function step(op) {
|
|
55
55
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -74,6 +74,15 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
74
74
|
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
75
75
|
}
|
|
76
76
|
};
|
|
77
|
+
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
78
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
79
|
+
if (ar || !(i in from)) {
|
|
80
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
81
|
+
ar[i] = from[i];
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
85
|
+
};
|
|
77
86
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
78
87
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
79
88
|
};
|
|
@@ -102,10 +111,14 @@ var DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
102
111
|
* @param {*} [options] Override http request option.
|
|
103
112
|
* @throws {RequiredError}
|
|
104
113
|
*/
|
|
105
|
-
check: function (
|
|
106
|
-
|
|
107
|
-
|
|
114
|
+
check: function () {
|
|
115
|
+
var args_1 = [];
|
|
116
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
117
|
+
args_1[_i] = arguments[_i];
|
|
118
|
+
}
|
|
119
|
+
return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
|
|
108
120
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
121
|
+
if (options === void 0) { options = {}; }
|
|
109
122
|
return __generator(this, function (_a) {
|
|
110
123
|
localVarPath = "/partnerservice/health";
|
|
111
124
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -48,8 +48,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
48
48
|
});
|
|
49
49
|
};
|
|
50
50
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
51
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
52
|
-
return g =
|
|
51
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
52
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
53
53
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
54
54
|
function step(op) {
|
|
55
55
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -74,6 +74,15 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
74
74
|
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
75
75
|
}
|
|
76
76
|
};
|
|
77
|
+
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
78
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
79
|
+
if (ar || !(i in from)) {
|
|
80
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
81
|
+
ar[i] = from[i];
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
85
|
+
};
|
|
77
86
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
78
87
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
79
88
|
};
|
|
@@ -104,10 +113,14 @@ var PartnerInvitationsApiAxiosParamCreator = function (configuration) {
|
|
|
104
113
|
* @param {*} [options] Override http request option.
|
|
105
114
|
* @throws {RequiredError}
|
|
106
115
|
*/
|
|
107
|
-
invitePartnerToEIS: function (
|
|
108
|
-
|
|
109
|
-
|
|
116
|
+
invitePartnerToEIS: function (invitePartnerToEISRequestDto_1, authorization_1) {
|
|
117
|
+
var args_1 = [];
|
|
118
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
119
|
+
args_1[_i - 2] = arguments[_i];
|
|
120
|
+
}
|
|
121
|
+
return __awaiter(_this, __spreadArray([invitePartnerToEISRequestDto_1, authorization_1], args_1, true), void 0, function (invitePartnerToEISRequestDto, authorization, options) {
|
|
110
122
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
123
|
+
if (options === void 0) { options = {}; }
|
|
111
124
|
return __generator(this, function (_a) {
|
|
112
125
|
switch (_a.label) {
|
|
113
126
|
case 0:
|
|
@@ -48,8 +48,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
48
48
|
});
|
|
49
49
|
};
|
|
50
50
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
51
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
52
|
-
return g =
|
|
51
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
52
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
53
53
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
54
54
|
function step(op) {
|
|
55
55
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -74,6 +74,15 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
74
74
|
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
75
75
|
}
|
|
76
76
|
};
|
|
77
|
+
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
78
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
79
|
+
if (ar || !(i in from)) {
|
|
80
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
81
|
+
ar[i] = from[i];
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
85
|
+
};
|
|
77
86
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
78
87
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
79
88
|
};
|
|
@@ -104,10 +113,14 @@ var PartnerRelationsApiAxiosParamCreator = function (configuration) {
|
|
|
104
113
|
* @param {*} [options] Override http request option.
|
|
105
114
|
* @throws {RequiredError}
|
|
106
115
|
*/
|
|
107
|
-
createPartnerRelation: function (
|
|
108
|
-
|
|
109
|
-
|
|
116
|
+
createPartnerRelation: function (createPartnerRelationRequestDtoRest_1, authorization_1) {
|
|
117
|
+
var args_1 = [];
|
|
118
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
119
|
+
args_1[_i - 2] = arguments[_i];
|
|
120
|
+
}
|
|
121
|
+
return __awaiter(_this, __spreadArray([createPartnerRelationRequestDtoRest_1, authorization_1], args_1, true), void 0, function (createPartnerRelationRequestDtoRest, authorization, options) {
|
|
110
122
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
123
|
+
if (options === void 0) { options = {}; }
|
|
111
124
|
return __generator(this, function (_a) {
|
|
112
125
|
switch (_a.label) {
|
|
113
126
|
case 0:
|
|
@@ -153,10 +166,14 @@ var PartnerRelationsApiAxiosParamCreator = function (configuration) {
|
|
|
153
166
|
* @param {*} [options] Override http request option.
|
|
154
167
|
* @throws {RequiredError}
|
|
155
168
|
*/
|
|
156
|
-
deletePartnerRelation: function (
|
|
157
|
-
|
|
158
|
-
|
|
169
|
+
deletePartnerRelation: function (id_1, authorization_1) {
|
|
170
|
+
var args_1 = [];
|
|
171
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
172
|
+
args_1[_i - 2] = arguments[_i];
|
|
173
|
+
}
|
|
174
|
+
return __awaiter(_this, __spreadArray([id_1, authorization_1], args_1, true), void 0, function (id, authorization, options) {
|
|
159
175
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
176
|
+
if (options === void 0) { options = {}; }
|
|
160
177
|
return __generator(this, function (_a) {
|
|
161
178
|
switch (_a.label) {
|
|
162
179
|
case 0:
|
|
@@ -201,10 +218,14 @@ var PartnerRelationsApiAxiosParamCreator = function (configuration) {
|
|
|
201
218
|
* @param {*} [options] Override http request option.
|
|
202
219
|
* @throws {RequiredError}
|
|
203
220
|
*/
|
|
204
|
-
getPartnerRelation: function (
|
|
205
|
-
|
|
206
|
-
|
|
221
|
+
getPartnerRelation: function (id_1, authorization_1) {
|
|
222
|
+
var args_1 = [];
|
|
223
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
224
|
+
args_1[_i - 2] = arguments[_i];
|
|
225
|
+
}
|
|
226
|
+
return __awaiter(_this, __spreadArray([id_1, authorization_1], args_1, true), void 0, function (id, authorization, options) {
|
|
207
227
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
228
|
+
if (options === void 0) { options = {}; }
|
|
208
229
|
return __generator(this, function (_a) {
|
|
209
230
|
switch (_a.label) {
|
|
210
231
|
case 0:
|
|
@@ -249,10 +270,14 @@ var PartnerRelationsApiAxiosParamCreator = function (configuration) {
|
|
|
249
270
|
* @param {*} [options] Override http request option.
|
|
250
271
|
* @throws {RequiredError}
|
|
251
272
|
*/
|
|
252
|
-
getPartnerRelationType: function (
|
|
253
|
-
|
|
254
|
-
|
|
273
|
+
getPartnerRelationType: function (slug_1, authorization_1) {
|
|
274
|
+
var args_1 = [];
|
|
275
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
276
|
+
args_1[_i - 2] = arguments[_i];
|
|
277
|
+
}
|
|
278
|
+
return __awaiter(_this, __spreadArray([slug_1, authorization_1], args_1, true), void 0, function (slug, authorization, options) {
|
|
255
279
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
280
|
+
if (options === void 0) { options = {}; }
|
|
256
281
|
return __generator(this, function (_a) {
|
|
257
282
|
switch (_a.label) {
|
|
258
283
|
case 0:
|
|
@@ -303,10 +328,14 @@ var PartnerRelationsApiAxiosParamCreator = function (configuration) {
|
|
|
303
328
|
* @param {*} [options] Override http request option.
|
|
304
329
|
* @throws {RequiredError}
|
|
305
330
|
*/
|
|
306
|
-
listPartnerRelationTypes: function (
|
|
307
|
-
|
|
308
|
-
|
|
331
|
+
listPartnerRelationTypes: function (authorization_1, pageSize_1, pageToken_1, filter_1, search_1, order_1, expand_1, filters_1) {
|
|
332
|
+
var args_1 = [];
|
|
333
|
+
for (var _i = 8; _i < arguments.length; _i++) {
|
|
334
|
+
args_1[_i - 8] = arguments[_i];
|
|
335
|
+
}
|
|
336
|
+
return __awaiter(_this, __spreadArray([authorization_1, pageSize_1, pageToken_1, filter_1, search_1, order_1, expand_1, filters_1], args_1, true), void 0, function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
309
337
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
338
|
+
if (options === void 0) { options = {}; }
|
|
310
339
|
return __generator(this, function (_a) {
|
|
311
340
|
switch (_a.label) {
|
|
312
341
|
case 0:
|
|
@@ -375,10 +404,14 @@ var PartnerRelationsApiAxiosParamCreator = function (configuration) {
|
|
|
375
404
|
* @param {*} [options] Override http request option.
|
|
376
405
|
* @throws {RequiredError}
|
|
377
406
|
*/
|
|
378
|
-
listPartnerRelations: function (
|
|
379
|
-
|
|
380
|
-
|
|
407
|
+
listPartnerRelations: function (authorization_1, pageSize_1, pageToken_1, filter_1, search_1, order_1, expand_1, filters_1) {
|
|
408
|
+
var args_1 = [];
|
|
409
|
+
for (var _i = 8; _i < arguments.length; _i++) {
|
|
410
|
+
args_1[_i - 8] = arguments[_i];
|
|
411
|
+
}
|
|
412
|
+
return __awaiter(_this, __spreadArray([authorization_1, pageSize_1, pageToken_1, filter_1, search_1, order_1, expand_1, filters_1], args_1, true), void 0, function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
381
413
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
414
|
+
if (options === void 0) { options = {}; }
|
|
382
415
|
return __generator(this, function (_a) {
|
|
383
416
|
switch (_a.label) {
|
|
384
417
|
case 0:
|
|
@@ -442,10 +475,14 @@ var PartnerRelationsApiAxiosParamCreator = function (configuration) {
|
|
|
442
475
|
* @param {*} [options] Override http request option.
|
|
443
476
|
* @throws {RequiredError}
|
|
444
477
|
*/
|
|
445
|
-
updatePartnerRelation: function (
|
|
446
|
-
|
|
447
|
-
|
|
478
|
+
updatePartnerRelation: function (id_1, updatePartnerRelationRequestDtoRest_1, authorization_1) {
|
|
479
|
+
var args_1 = [];
|
|
480
|
+
for (var _i = 3; _i < arguments.length; _i++) {
|
|
481
|
+
args_1[_i - 3] = arguments[_i];
|
|
482
|
+
}
|
|
483
|
+
return __awaiter(_this, __spreadArray([id_1, updatePartnerRelationRequestDtoRest_1, authorization_1], args_1, true), void 0, function (id, updatePartnerRelationRequestDtoRest, authorization, options) {
|
|
448
484
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
485
|
+
if (options === void 0) { options = {}; }
|
|
449
486
|
return __generator(this, function (_a) {
|
|
450
487
|
switch (_a.label) {
|
|
451
488
|
case 0:
|
|
@@ -48,8 +48,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
48
48
|
});
|
|
49
49
|
};
|
|
50
50
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
51
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
52
|
-
return g =
|
|
51
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
52
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
53
53
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
54
54
|
function step(op) {
|
|
55
55
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -74,6 +74,15 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
74
74
|
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
75
75
|
}
|
|
76
76
|
};
|
|
77
|
+
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
78
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
79
|
+
if (ar || !(i in from)) {
|
|
80
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
81
|
+
ar[i] = from[i];
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
85
|
+
};
|
|
77
86
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
78
87
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
79
88
|
};
|
|
@@ -104,10 +113,14 @@ var PartnerTagsApiAxiosParamCreator = function (configuration) {
|
|
|
104
113
|
* @param {*} [options] Override http request option.
|
|
105
114
|
* @throws {RequiredError}
|
|
106
115
|
*/
|
|
107
|
-
createTag: function (
|
|
108
|
-
|
|
109
|
-
|
|
116
|
+
createTag: function (createTagRequestDto_1, authorization_1) {
|
|
117
|
+
var args_1 = [];
|
|
118
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
119
|
+
args_1[_i - 2] = arguments[_i];
|
|
120
|
+
}
|
|
121
|
+
return __awaiter(_this, __spreadArray([createTagRequestDto_1, authorization_1], args_1, true), void 0, function (createTagRequestDto, authorization, options) {
|
|
110
122
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
123
|
+
if (options === void 0) { options = {}; }
|
|
111
124
|
return __generator(this, function (_a) {
|
|
112
125
|
switch (_a.label) {
|
|
113
126
|
case 0:
|
|
@@ -153,10 +166,14 @@ var PartnerTagsApiAxiosParamCreator = function (configuration) {
|
|
|
153
166
|
* @param {*} [options] Override http request option.
|
|
154
167
|
* @throws {RequiredError}
|
|
155
168
|
*/
|
|
156
|
-
deleteTag: function (
|
|
157
|
-
|
|
158
|
-
|
|
169
|
+
deleteTag: function (code_1, authorization_1) {
|
|
170
|
+
var args_1 = [];
|
|
171
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
172
|
+
args_1[_i - 2] = arguments[_i];
|
|
173
|
+
}
|
|
174
|
+
return __awaiter(_this, __spreadArray([code_1, authorization_1], args_1, true), void 0, function (code, authorization, options) {
|
|
159
175
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
176
|
+
if (options === void 0) { options = {}; }
|
|
160
177
|
return __generator(this, function (_a) {
|
|
161
178
|
switch (_a.label) {
|
|
162
179
|
case 0:
|
|
@@ -201,10 +218,14 @@ var PartnerTagsApiAxiosParamCreator = function (configuration) {
|
|
|
201
218
|
* @param {*} [options] Override http request option.
|
|
202
219
|
* @throws {RequiredError}
|
|
203
220
|
*/
|
|
204
|
-
getTag: function (
|
|
205
|
-
|
|
206
|
-
|
|
221
|
+
getTag: function (code_1, authorization_1) {
|
|
222
|
+
var args_1 = [];
|
|
223
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
224
|
+
args_1[_i - 2] = arguments[_i];
|
|
225
|
+
}
|
|
226
|
+
return __awaiter(_this, __spreadArray([code_1, authorization_1], args_1, true), void 0, function (code, authorization, options) {
|
|
207
227
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
228
|
+
if (options === void 0) { options = {}; }
|
|
208
229
|
return __generator(this, function (_a) {
|
|
209
230
|
switch (_a.label) {
|
|
210
231
|
case 0:
|
|
@@ -255,10 +276,14 @@ var PartnerTagsApiAxiosParamCreator = function (configuration) {
|
|
|
255
276
|
* @param {*} [options] Override http request option.
|
|
256
277
|
* @throws {RequiredError}
|
|
257
278
|
*/
|
|
258
|
-
listTags: function (
|
|
259
|
-
|
|
260
|
-
|
|
279
|
+
listTags: function (authorization_1, pageSize_1, pageToken_1, filter_1, search_1, order_1, expand_1, filters_1) {
|
|
280
|
+
var args_1 = [];
|
|
281
|
+
for (var _i = 8; _i < arguments.length; _i++) {
|
|
282
|
+
args_1[_i - 8] = arguments[_i];
|
|
283
|
+
}
|
|
284
|
+
return __awaiter(_this, __spreadArray([authorization_1, pageSize_1, pageToken_1, filter_1, search_1, order_1, expand_1, filters_1], args_1, true), void 0, function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
261
285
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
286
|
+
if (options === void 0) { options = {}; }
|
|
262
287
|
return __generator(this, function (_a) {
|
|
263
288
|
switch (_a.label) {
|
|
264
289
|
case 0:
|
|
@@ -321,10 +346,14 @@ var PartnerTagsApiAxiosParamCreator = function (configuration) {
|
|
|
321
346
|
* @param {*} [options] Override http request option.
|
|
322
347
|
* @throws {RequiredError}
|
|
323
348
|
*/
|
|
324
|
-
updateTag: function (
|
|
325
|
-
|
|
326
|
-
|
|
349
|
+
updateTag: function (code_1, authorization_1) {
|
|
350
|
+
var args_1 = [];
|
|
351
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
352
|
+
args_1[_i - 2] = arguments[_i];
|
|
353
|
+
}
|
|
354
|
+
return __awaiter(_this, __spreadArray([code_1, authorization_1], args_1, true), void 0, function (code, authorization, options) {
|
|
327
355
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
356
|
+
if (options === void 0) { options = {}; }
|
|
328
357
|
return __generator(this, function (_a) {
|
|
329
358
|
switch (_a.label) {
|
|
330
359
|
case 0:
|
|
@@ -48,8 +48,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
48
48
|
});
|
|
49
49
|
};
|
|
50
50
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
51
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
52
|
-
return g =
|
|
51
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
52
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
53
53
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
54
54
|
function step(op) {
|
|
55
55
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -74,6 +74,15 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
74
74
|
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
75
75
|
}
|
|
76
76
|
};
|
|
77
|
+
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
78
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
79
|
+
if (ar || !(i in from)) {
|
|
80
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
81
|
+
ar[i] = from[i];
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
85
|
+
};
|
|
77
86
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
78
87
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
79
88
|
};
|
|
@@ -104,10 +113,14 @@ var PartnerTypesApiAxiosParamCreator = function (configuration) {
|
|
|
104
113
|
* @param {*} [options] Override http request option.
|
|
105
114
|
* @throws {RequiredError}
|
|
106
115
|
*/
|
|
107
|
-
createPartnerType: function (
|
|
108
|
-
|
|
109
|
-
|
|
116
|
+
createPartnerType: function (createPartnerTypeRequestDto_1, authorization_1) {
|
|
117
|
+
var args_1 = [];
|
|
118
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
119
|
+
args_1[_i - 2] = arguments[_i];
|
|
120
|
+
}
|
|
121
|
+
return __awaiter(_this, __spreadArray([createPartnerTypeRequestDto_1, authorization_1], args_1, true), void 0, function (createPartnerTypeRequestDto, authorization, options) {
|
|
110
122
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
123
|
+
if (options === void 0) { options = {}; }
|
|
111
124
|
return __generator(this, function (_a) {
|
|
112
125
|
switch (_a.label) {
|
|
113
126
|
case 0:
|
|
@@ -153,10 +166,14 @@ var PartnerTypesApiAxiosParamCreator = function (configuration) {
|
|
|
153
166
|
* @param {*} [options] Override http request option.
|
|
154
167
|
* @throws {RequiredError}
|
|
155
168
|
*/
|
|
156
|
-
deletePartnerType: function (
|
|
157
|
-
|
|
158
|
-
|
|
169
|
+
deletePartnerType: function (code_1, authorization_1) {
|
|
170
|
+
var args_1 = [];
|
|
171
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
172
|
+
args_1[_i - 2] = arguments[_i];
|
|
173
|
+
}
|
|
174
|
+
return __awaiter(_this, __spreadArray([code_1, authorization_1], args_1, true), void 0, function (code, authorization, options) {
|
|
159
175
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
176
|
+
if (options === void 0) { options = {}; }
|
|
160
177
|
return __generator(this, function (_a) {
|
|
161
178
|
switch (_a.label) {
|
|
162
179
|
case 0:
|
|
@@ -202,10 +219,14 @@ var PartnerTypesApiAxiosParamCreator = function (configuration) {
|
|
|
202
219
|
* @param {*} [options] Override http request option.
|
|
203
220
|
* @throws {RequiredError}
|
|
204
221
|
*/
|
|
205
|
-
getPartnerType: function (
|
|
206
|
-
|
|
207
|
-
|
|
222
|
+
getPartnerType: function (code_1, authorization_1, expand_1) {
|
|
223
|
+
var args_1 = [];
|
|
224
|
+
for (var _i = 3; _i < arguments.length; _i++) {
|
|
225
|
+
args_1[_i - 3] = arguments[_i];
|
|
226
|
+
}
|
|
227
|
+
return __awaiter(_this, __spreadArray([code_1, authorization_1, expand_1], args_1, true), void 0, function (code, authorization, expand, options) {
|
|
208
228
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
229
|
+
if (options === void 0) { options = {}; }
|
|
209
230
|
return __generator(this, function (_a) {
|
|
210
231
|
switch (_a.label) {
|
|
211
232
|
case 0:
|
|
@@ -259,10 +280,14 @@ var PartnerTypesApiAxiosParamCreator = function (configuration) {
|
|
|
259
280
|
* @param {*} [options] Override http request option.
|
|
260
281
|
* @throws {RequiredError}
|
|
261
282
|
*/
|
|
262
|
-
listPartnerTypes: function (
|
|
263
|
-
|
|
264
|
-
|
|
283
|
+
listPartnerTypes: function (authorization_1, pageSize_1, pageToken_1, filter_1, search_1, order_1, expand_1, filters_1) {
|
|
284
|
+
var args_1 = [];
|
|
285
|
+
for (var _i = 8; _i < arguments.length; _i++) {
|
|
286
|
+
args_1[_i - 8] = arguments[_i];
|
|
287
|
+
}
|
|
288
|
+
return __awaiter(_this, __spreadArray([authorization_1, pageSize_1, pageToken_1, filter_1, search_1, order_1, expand_1, filters_1], args_1, true), void 0, function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
265
289
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
290
|
+
if (options === void 0) { options = {}; }
|
|
266
291
|
return __generator(this, function (_a) {
|
|
267
292
|
switch (_a.label) {
|
|
268
293
|
case 0:
|
|
@@ -326,10 +351,14 @@ var PartnerTypesApiAxiosParamCreator = function (configuration) {
|
|
|
326
351
|
* @param {*} [options] Override http request option.
|
|
327
352
|
* @throws {RequiredError}
|
|
328
353
|
*/
|
|
329
|
-
updatePartnerType: function (
|
|
330
|
-
|
|
331
|
-
|
|
354
|
+
updatePartnerType: function (code_1, updatePartnerTypeRequestDto_1, authorization_1) {
|
|
355
|
+
var args_1 = [];
|
|
356
|
+
for (var _i = 3; _i < arguments.length; _i++) {
|
|
357
|
+
args_1[_i - 3] = arguments[_i];
|
|
358
|
+
}
|
|
359
|
+
return __awaiter(_this, __spreadArray([code_1, updatePartnerTypeRequestDto_1, authorization_1], args_1, true), void 0, function (code, updatePartnerTypeRequestDto, authorization, options) {
|
|
332
360
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
361
|
+
if (options === void 0) { options = {}; }
|
|
333
362
|
return __generator(this, function (_a) {
|
|
334
363
|
switch (_a.label) {
|
|
335
364
|
case 0:
|
|
@@ -48,8 +48,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
48
48
|
});
|
|
49
49
|
};
|
|
50
50
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
51
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
52
|
-
return g =
|
|
51
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
52
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
53
53
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
54
54
|
function step(op) {
|
|
55
55
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -74,6 +74,15 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
74
74
|
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
75
75
|
}
|
|
76
76
|
};
|
|
77
|
+
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
78
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
79
|
+
if (ar || !(i in from)) {
|
|
80
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
81
|
+
ar[i] = from[i];
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
85
|
+
};
|
|
77
86
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
78
87
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
79
88
|
};
|
|
@@ -105,10 +114,14 @@ var PartnerVersionsApiAxiosParamCreator = function (configuration) {
|
|
|
105
114
|
* @param {*} [options] Override http request option.
|
|
106
115
|
* @throws {RequiredError}
|
|
107
116
|
*/
|
|
108
|
-
getPartnerVersion: function (
|
|
109
|
-
|
|
110
|
-
|
|
117
|
+
getPartnerVersion: function (code_1, version_1, authorization_1) {
|
|
118
|
+
var args_1 = [];
|
|
119
|
+
for (var _i = 3; _i < arguments.length; _i++) {
|
|
120
|
+
args_1[_i - 3] = arguments[_i];
|
|
121
|
+
}
|
|
122
|
+
return __awaiter(_this, __spreadArray([code_1, version_1, authorization_1], args_1, true), void 0, function (code, version, authorization, options) {
|
|
111
123
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
124
|
+
if (options === void 0) { options = {}; }
|
|
112
125
|
return __generator(this, function (_a) {
|
|
113
126
|
switch (_a.label) {
|
|
114
127
|
case 0:
|
|
@@ -163,10 +176,14 @@ var PartnerVersionsApiAxiosParamCreator = function (configuration) {
|
|
|
163
176
|
* @param {*} [options] Override http request option.
|
|
164
177
|
* @throws {RequiredError}
|
|
165
178
|
*/
|
|
166
|
-
listPartnerVersion: function (
|
|
167
|
-
|
|
168
|
-
|
|
179
|
+
listPartnerVersion: function (code_1, authorization_1, pageSize_1, pageToken_1, filter_1, search_1, order_1, expand_1, filters_1) {
|
|
180
|
+
var args_1 = [];
|
|
181
|
+
for (var _i = 9; _i < arguments.length; _i++) {
|
|
182
|
+
args_1[_i - 9] = arguments[_i];
|
|
183
|
+
}
|
|
184
|
+
return __awaiter(_this, __spreadArray([code_1, authorization_1, pageSize_1, pageToken_1, filter_1, search_1, order_1, expand_1, filters_1], args_1, true), void 0, function (code, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
169
185
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
186
|
+
if (options === void 0) { options = {}; }
|
|
170
187
|
return __generator(this, function (_a) {
|
|
171
188
|
switch (_a.label) {
|
|
172
189
|
case 0:
|
|
@@ -60,11 +60,11 @@ export declare const PartnersApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
60
60
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
61
61
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
62
62
|
* @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.
|
|
63
|
-
* @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, partnerTypeId, tenantUserCode, partnerNumber</i>
|
|
63
|
+
* @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, partnerTypeId, tenantUserCode, partnerNumber, accountCode</i>
|
|
64
64
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
65
65
|
* @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</i>
|
|
66
66
|
* @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<i>
|
|
67
|
-
* @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, partnerTypeId, tenantUserCode, partnerNumber</i>
|
|
67
|
+
* @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, partnerTypeId, tenantUserCode, partnerNumber, accountCode</i>
|
|
68
68
|
* @param {*} [options] Override http request option.
|
|
69
69
|
* @throws {RequiredError}
|
|
70
70
|
*/
|
|
@@ -145,11 +145,11 @@ export declare const PartnersApiFp: (configuration?: Configuration) => {
|
|
|
145
145
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
146
146
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
147
147
|
* @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.
|
|
148
|
-
* @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, partnerTypeId, tenantUserCode, partnerNumber</i>
|
|
148
|
+
* @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, partnerTypeId, tenantUserCode, partnerNumber, accountCode</i>
|
|
149
149
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
150
150
|
* @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</i>
|
|
151
151
|
* @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<i>
|
|
152
|
-
* @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, partnerTypeId, tenantUserCode, partnerNumber</i>
|
|
152
|
+
* @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, partnerTypeId, tenantUserCode, partnerNumber, accountCode</i>
|
|
153
153
|
* @param {*} [options] Override http request option.
|
|
154
154
|
* @throws {RequiredError}
|
|
155
155
|
*/
|
|
@@ -230,11 +230,11 @@ export declare const PartnersApiFactory: (configuration?: Configuration, basePat
|
|
|
230
230
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
231
231
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
232
232
|
* @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.
|
|
233
|
-
* @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, partnerTypeId, tenantUserCode, partnerNumber</i>
|
|
233
|
+
* @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, partnerTypeId, tenantUserCode, partnerNumber, accountCode</i>
|
|
234
234
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
235
235
|
* @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</i>
|
|
236
236
|
* @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<i>
|
|
237
|
-
* @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, partnerTypeId, tenantUserCode, partnerNumber</i>
|
|
237
|
+
* @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, partnerTypeId, tenantUserCode, partnerNumber, accountCode</i>
|
|
238
238
|
* @param {*} [options] Override http request option.
|
|
239
239
|
* @throws {RequiredError}
|
|
240
240
|
*/
|
|
@@ -364,7 +364,7 @@ export interface PartnersApiListPartnersRequest {
|
|
|
364
364
|
*/
|
|
365
365
|
readonly pageToken?: string;
|
|
366
366
|
/**
|
|
367
|
-
* 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, partnerTypeId, tenantUserCode, partnerNumber</i>
|
|
367
|
+
* 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, partnerTypeId, tenantUserCode, partnerNumber, accountCode</i>
|
|
368
368
|
* @type {string}
|
|
369
369
|
* @memberof PartnersApiListPartners
|
|
370
370
|
*/
|
|
@@ -388,7 +388,7 @@ export interface PartnersApiListPartnersRequest {
|
|
|
388
388
|
*/
|
|
389
389
|
readonly expand?: string;
|
|
390
390
|
/**
|
|
391
|
-
* 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, partnerTypeId, tenantUserCode, partnerNumber</i>
|
|
391
|
+
* 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, partnerTypeId, tenantUserCode, partnerNumber, accountCode</i>
|
|
392
392
|
* @type {string}
|
|
393
393
|
* @memberof PartnersApiListPartners
|
|
394
394
|
*/
|
package/dist/api/partners-api.js
CHANGED
|
@@ -48,8 +48,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
48
48
|
});
|
|
49
49
|
};
|
|
50
50
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
51
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
52
|
-
return g =
|
|
51
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
52
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
53
53
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
54
54
|
function step(op) {
|
|
55
55
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -74,6 +74,15 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
74
74
|
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
75
75
|
}
|
|
76
76
|
};
|
|
77
|
+
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
78
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
79
|
+
if (ar || !(i in from)) {
|
|
80
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
81
|
+
ar[i] = from[i];
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
85
|
+
};
|
|
77
86
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
78
87
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
79
88
|
};
|
|
@@ -104,10 +113,14 @@ var PartnersApiAxiosParamCreator = function (configuration) {
|
|
|
104
113
|
* @param {*} [options] Override http request option.
|
|
105
114
|
* @throws {RequiredError}
|
|
106
115
|
*/
|
|
107
|
-
createPartner: function (
|
|
108
|
-
|
|
109
|
-
|
|
116
|
+
createPartner: function (createPartnerRequestDto_1, authorization_1) {
|
|
117
|
+
var args_1 = [];
|
|
118
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
119
|
+
args_1[_i - 2] = arguments[_i];
|
|
120
|
+
}
|
|
121
|
+
return __awaiter(_this, __spreadArray([createPartnerRequestDto_1, authorization_1], args_1, true), void 0, function (createPartnerRequestDto, authorization, options) {
|
|
110
122
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
123
|
+
if (options === void 0) { options = {}; }
|
|
111
124
|
return __generator(this, function (_a) {
|
|
112
125
|
switch (_a.label) {
|
|
113
126
|
case 0:
|
|
@@ -153,10 +166,14 @@ var PartnersApiAxiosParamCreator = function (configuration) {
|
|
|
153
166
|
* @param {*} [options] Override http request option.
|
|
154
167
|
* @throws {RequiredError}
|
|
155
168
|
*/
|
|
156
|
-
deletePartner: function (
|
|
157
|
-
|
|
158
|
-
|
|
169
|
+
deletePartner: function (code_1, authorization_1) {
|
|
170
|
+
var args_1 = [];
|
|
171
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
172
|
+
args_1[_i - 2] = arguments[_i];
|
|
173
|
+
}
|
|
174
|
+
return __awaiter(_this, __spreadArray([code_1, authorization_1], args_1, true), void 0, function (code, authorization, options) {
|
|
159
175
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
176
|
+
if (options === void 0) { options = {}; }
|
|
160
177
|
return __generator(this, function (_a) {
|
|
161
178
|
switch (_a.label) {
|
|
162
179
|
case 0:
|
|
@@ -202,10 +219,14 @@ var PartnersApiAxiosParamCreator = function (configuration) {
|
|
|
202
219
|
* @param {*} [options] Override http request option.
|
|
203
220
|
* @throws {RequiredError}
|
|
204
221
|
*/
|
|
205
|
-
getPartner: function (
|
|
206
|
-
|
|
207
|
-
|
|
222
|
+
getPartner: function (code_1, authorization_1, expand_1) {
|
|
223
|
+
var args_1 = [];
|
|
224
|
+
for (var _i = 3; _i < arguments.length; _i++) {
|
|
225
|
+
args_1[_i - 3] = arguments[_i];
|
|
226
|
+
}
|
|
227
|
+
return __awaiter(_this, __spreadArray([code_1, authorization_1, expand_1], args_1, true), void 0, function (code, authorization, expand, options) {
|
|
208
228
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
229
|
+
if (options === void 0) { options = {}; }
|
|
209
230
|
return __generator(this, function (_a) {
|
|
210
231
|
switch (_a.label) {
|
|
211
232
|
case 0:
|
|
@@ -251,18 +272,22 @@ var PartnersApiAxiosParamCreator = function (configuration) {
|
|
|
251
272
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
252
273
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
253
274
|
* @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.
|
|
254
|
-
* @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, partnerTypeId, tenantUserCode, partnerNumber</i>
|
|
275
|
+
* @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, partnerTypeId, tenantUserCode, partnerNumber, accountCode</i>
|
|
255
276
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
256
277
|
* @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</i>
|
|
257
278
|
* @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<i>
|
|
258
|
-
* @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, partnerTypeId, tenantUserCode, partnerNumber</i>
|
|
279
|
+
* @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, partnerTypeId, tenantUserCode, partnerNumber, accountCode</i>
|
|
259
280
|
* @param {*} [options] Override http request option.
|
|
260
281
|
* @throws {RequiredError}
|
|
261
282
|
*/
|
|
262
|
-
listPartners: function (
|
|
263
|
-
|
|
264
|
-
|
|
283
|
+
listPartners: function (authorization_1, pageSize_1, pageToken_1, filter_1, search_1, order_1, expand_1, filters_1) {
|
|
284
|
+
var args_1 = [];
|
|
285
|
+
for (var _i = 8; _i < arguments.length; _i++) {
|
|
286
|
+
args_1[_i - 8] = arguments[_i];
|
|
287
|
+
}
|
|
288
|
+
return __awaiter(_this, __spreadArray([authorization_1, pageSize_1, pageToken_1, filter_1, search_1, order_1, expand_1, filters_1], args_1, true), void 0, function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
265
289
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
290
|
+
if (options === void 0) { options = {}; }
|
|
266
291
|
return __generator(this, function (_a) {
|
|
267
292
|
switch (_a.label) {
|
|
268
293
|
case 0:
|
|
@@ -332,10 +357,14 @@ var PartnersApiAxiosParamCreator = function (configuration) {
|
|
|
332
357
|
* @param {*} [options] Override http request option.
|
|
333
358
|
* @throws {RequiredError}
|
|
334
359
|
*/
|
|
335
|
-
listRelationsForPartner: function (
|
|
336
|
-
|
|
337
|
-
|
|
360
|
+
listRelationsForPartner: function (code_1, authorization_1, pageSize_1, pageToken_1, filter_1, search_1, order_1, expand_1, filters_1) {
|
|
361
|
+
var args_1 = [];
|
|
362
|
+
for (var _i = 9; _i < arguments.length; _i++) {
|
|
363
|
+
args_1[_i - 9] = arguments[_i];
|
|
364
|
+
}
|
|
365
|
+
return __awaiter(_this, __spreadArray([code_1, authorization_1, pageSize_1, pageToken_1, filter_1, search_1, order_1, expand_1, filters_1], args_1, true), void 0, function (code, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
338
366
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
367
|
+
if (options === void 0) { options = {}; }
|
|
339
368
|
return __generator(this, function (_a) {
|
|
340
369
|
switch (_a.label) {
|
|
341
370
|
case 0:
|
|
@@ -402,10 +431,14 @@ var PartnersApiAxiosParamCreator = function (configuration) {
|
|
|
402
431
|
* @param {*} [options] Override http request option.
|
|
403
432
|
* @throws {RequiredError}
|
|
404
433
|
*/
|
|
405
|
-
tagPartner: function (
|
|
406
|
-
|
|
407
|
-
|
|
434
|
+
tagPartner: function (code_1, tagPartnerRequestDtoRest_1, authorization_1) {
|
|
435
|
+
var args_1 = [];
|
|
436
|
+
for (var _i = 3; _i < arguments.length; _i++) {
|
|
437
|
+
args_1[_i - 3] = arguments[_i];
|
|
438
|
+
}
|
|
439
|
+
return __awaiter(_this, __spreadArray([code_1, tagPartnerRequestDtoRest_1, authorization_1], args_1, true), void 0, function (code, tagPartnerRequestDtoRest, authorization, options) {
|
|
408
440
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
441
|
+
if (options === void 0) { options = {}; }
|
|
409
442
|
return __generator(this, function (_a) {
|
|
410
443
|
switch (_a.label) {
|
|
411
444
|
case 0:
|
|
@@ -455,10 +488,14 @@ var PartnersApiAxiosParamCreator = function (configuration) {
|
|
|
455
488
|
* @param {*} [options] Override http request option.
|
|
456
489
|
* @throws {RequiredError}
|
|
457
490
|
*/
|
|
458
|
-
updatePartner: function (
|
|
459
|
-
|
|
460
|
-
|
|
491
|
+
updatePartner: function (code_1, updatePartnerRequestDto_1, authorization_1) {
|
|
492
|
+
var args_1 = [];
|
|
493
|
+
for (var _i = 3; _i < arguments.length; _i++) {
|
|
494
|
+
args_1[_i - 3] = arguments[_i];
|
|
495
|
+
}
|
|
496
|
+
return __awaiter(_this, __spreadArray([code_1, updatePartnerRequestDto_1, authorization_1], args_1, true), void 0, function (code, updatePartnerRequestDto, authorization, options) {
|
|
461
497
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
498
|
+
if (options === void 0) { options = {}; }
|
|
462
499
|
return __generator(this, function (_a) {
|
|
463
500
|
switch (_a.label) {
|
|
464
501
|
case 0:
|
|
@@ -579,11 +616,11 @@ var PartnersApiFp = function (configuration) {
|
|
|
579
616
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
580
617
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
581
618
|
* @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.
|
|
582
|
-
* @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, partnerTypeId, tenantUserCode, partnerNumber</i>
|
|
619
|
+
* @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, partnerTypeId, tenantUserCode, partnerNumber, accountCode</i>
|
|
583
620
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
584
621
|
* @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</i>
|
|
585
622
|
* @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<i>
|
|
586
|
-
* @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, partnerTypeId, tenantUserCode, partnerNumber</i>
|
|
623
|
+
* @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, partnerTypeId, tenantUserCode, partnerNumber, accountCode</i>
|
|
587
624
|
* @param {*} [options] Override http request option.
|
|
588
625
|
* @throws {RequiredError}
|
|
589
626
|
*/
|
|
@@ -722,11 +759,11 @@ var PartnersApiFactory = function (configuration, basePath, axios) {
|
|
|
722
759
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
723
760
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
724
761
|
* @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.
|
|
725
|
-
* @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, partnerTypeId, tenantUserCode, partnerNumber</i>
|
|
762
|
+
* @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, partnerTypeId, tenantUserCode, partnerNumber, accountCode</i>
|
|
726
763
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
727
764
|
* @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</i>
|
|
728
765
|
* @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<i>
|
|
729
|
-
* @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, partnerTypeId, tenantUserCode, partnerNumber</i>
|
|
766
|
+
* @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, partnerTypeId, tenantUserCode, partnerNumber, accountCode</i>
|
|
730
767
|
* @param {*} [options] Override http request option.
|
|
731
768
|
* @throws {RequiredError}
|
|
732
769
|
*/
|
package/dist/base.js
CHANGED
|
@@ -54,13 +54,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
54
54
|
}) : function(o, v) {
|
|
55
55
|
o["default"] = v;
|
|
56
56
|
});
|
|
57
|
-
var __importStar = (this && this.__importStar) || function (
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
};
|
|
57
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
58
|
+
var ownKeys = function(o) {
|
|
59
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
60
|
+
var ar = [];
|
|
61
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
62
|
+
return ar;
|
|
63
|
+
};
|
|
64
|
+
return ownKeys(o);
|
|
65
|
+
};
|
|
66
|
+
return function (mod) {
|
|
67
|
+
if (mod && mod.__esModule) return mod;
|
|
68
|
+
var result = {};
|
|
69
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
70
|
+
__setModuleDefault(result, mod);
|
|
71
|
+
return result;
|
|
72
|
+
};
|
|
73
|
+
})();
|
|
64
74
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
65
75
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
66
76
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -71,8 +81,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
71
81
|
});
|
|
72
82
|
};
|
|
73
83
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
74
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
75
|
-
return g =
|
|
84
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
85
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
76
86
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
77
87
|
function step(op) {
|
|
78
88
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -101,7 +111,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
101
111
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
102
112
|
};
|
|
103
113
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
104
|
-
exports.RequiredError = exports.BaseAPI = exports.
|
|
114
|
+
exports.RequiredError = exports.BaseAPI = exports.Environment = exports.COLLECTION_FORMATS = exports.BASE_PATH = void 0;
|
|
115
|
+
exports.resetRetry = resetRetry;
|
|
105
116
|
var configuration_1 = require("./configuration");
|
|
106
117
|
// Some imports not used depending on template conditions
|
|
107
118
|
// @ts-ignore
|
|
@@ -132,13 +143,12 @@ var Environment;
|
|
|
132
143
|
Environment["Staging"] = "https://apiv2-staging.emil.de";
|
|
133
144
|
Environment["Development"] = "https://apiv2-dev.emil.de";
|
|
134
145
|
Environment["ProductionZurich"] = "https://eu-central-2.apiv2.emil.de";
|
|
135
|
-
})(Environment
|
|
146
|
+
})(Environment || (exports.Environment = Environment = {}));
|
|
136
147
|
var _retry_count = 0;
|
|
137
148
|
var _retry = null;
|
|
138
149
|
function resetRetry() {
|
|
139
150
|
_retry_count = 0;
|
|
140
151
|
}
|
|
141
|
-
exports.resetRetry = resetRetry;
|
|
142
152
|
var NETWORK_ERROR_MESSAGE = "Network Error";
|
|
143
153
|
/**
|
|
144
154
|
*
|
|
@@ -162,9 +172,9 @@ var BaseAPI = /** @class */ (function () {
|
|
|
162
172
|
}
|
|
163
173
|
this.attachInterceptor(axios);
|
|
164
174
|
}
|
|
165
|
-
BaseAPI.prototype.initialize = function (
|
|
166
|
-
|
|
167
|
-
|
|
175
|
+
BaseAPI.prototype.initialize = function () {
|
|
176
|
+
return __awaiter(this, arguments, void 0, function (env) {
|
|
177
|
+
if (env === void 0) { env = Environment.Production; }
|
|
168
178
|
return __generator(this, function (_a) {
|
|
169
179
|
switch (_a.label) {
|
|
170
180
|
case 0:
|
package/dist/common.d.ts
CHANGED
|
@@ -63,7 +63,7 @@ export declare const toPathString: (url: URL) => string;
|
|
|
63
63
|
*
|
|
64
64
|
* @export
|
|
65
65
|
*/
|
|
66
|
-
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T
|
|
66
|
+
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
|
|
67
67
|
/**
|
|
68
68
|
* EMIL PartnerService
|
|
69
69
|
* The EMIL PartnerService API description
|
package/dist/common.js
CHANGED
|
@@ -33,8 +33,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
33
33
|
});
|
|
34
34
|
};
|
|
35
35
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
36
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
37
|
-
return g =
|
|
36
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
37
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
38
38
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
39
39
|
function step(op) {
|
|
40
40
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { PartnerTypeClass } from './partner-type-class';
|
|
13
|
+
import { TagClass } from './tag-class';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
15
16
|
* @export
|
|
@@ -72,10 +73,10 @@ export interface PartnerClass {
|
|
|
72
73
|
'version': number;
|
|
73
74
|
/**
|
|
74
75
|
* Tags that the partner is associated with
|
|
75
|
-
* @type {Array<
|
|
76
|
+
* @type {Array<TagClass>}
|
|
76
77
|
* @memberof PartnerClass
|
|
77
78
|
*/
|
|
78
|
-
'tags': Array<
|
|
79
|
+
'tags': Array<TagClass>;
|
|
79
80
|
/**
|
|
80
81
|
* The user code of the partner
|
|
81
82
|
* @type {string}
|
package/models/partner-class.ts
CHANGED
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
import { PartnerTypeClass } from './partner-type-class';
|
|
17
|
+
import { TagClass } from './tag-class';
|
|
17
18
|
|
|
18
19
|
/**
|
|
19
20
|
*
|
|
@@ -77,10 +78,10 @@ export interface PartnerClass {
|
|
|
77
78
|
'version': number;
|
|
78
79
|
/**
|
|
79
80
|
* Tags that the partner is associated with
|
|
80
|
-
* @type {Array<
|
|
81
|
+
* @type {Array<TagClass>}
|
|
81
82
|
* @memberof PartnerClass
|
|
82
83
|
*/
|
|
83
|
-
'tags': Array<
|
|
84
|
+
'tags': Array<TagClass>;
|
|
84
85
|
/**
|
|
85
86
|
* The user code of the partner
|
|
86
87
|
* @type {string}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@emilgroup/partner-sdk-node",
|
|
3
|
-
"version": "1.14.
|
|
3
|
+
"version": "1.14.1-beta.1",
|
|
4
4
|
"description": "OpenAPI client for @emilgroup/partner-sdk-node",
|
|
5
5
|
"author": "OpenAPI-Generator Contributors",
|
|
6
6
|
"keywords": [
|
|
@@ -18,12 +18,12 @@
|
|
|
18
18
|
"prepare": "npm run build"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"axios": "^
|
|
21
|
+
"axios": "^1.9.0",
|
|
22
22
|
"form-data": "^4.0.0",
|
|
23
23
|
"url": "^0.11.0"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@types/node": "^
|
|
27
|
-
"typescript": "^
|
|
26
|
+
"@types/node": "^22.15.18",
|
|
27
|
+
"typescript": "^5.8"
|
|
28
28
|
}
|
|
29
29
|
}
|