@emilgroup/partner-sdk 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 +5 -5
- 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 +3 -3
- 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@1.14.
|
|
20
|
+
npm install @emilgroup/partner-sdk@1.14.1-beta.1 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/partner-sdk@1.14.
|
|
24
|
+
yarn add @emilgroup/partner-sdk@1.14.1-beta.1
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `PartnersApi`.
|
package/api/partners-api.ts
CHANGED
|
@@ -192,11 +192,11 @@ export const PartnersApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
192
192
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
193
193
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
194
194
|
* @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.
|
|
195
|
-
* @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>
|
|
195
|
+
* @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>
|
|
196
196
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
197
197
|
* @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>
|
|
198
198
|
* @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>
|
|
199
|
-
* @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>
|
|
199
|
+
* @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>
|
|
200
200
|
* @param {*} [options] Override http request option.
|
|
201
201
|
* @throws {RequiredError}
|
|
202
202
|
*/
|
|
@@ -497,11 +497,11 @@ export const PartnersApiFp = function(configuration?: Configuration) {
|
|
|
497
497
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
498
498
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
499
499
|
* @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.
|
|
500
|
-
* @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>
|
|
500
|
+
* @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>
|
|
501
501
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
502
502
|
* @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>
|
|
503
503
|
* @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>
|
|
504
|
-
* @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>
|
|
504
|
+
* @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>
|
|
505
505
|
* @param {*} [options] Override http request option.
|
|
506
506
|
* @throws {RequiredError}
|
|
507
507
|
*/
|
|
@@ -604,11 +604,11 @@ export const PartnersApiFactory = function (configuration?: Configuration, baseP
|
|
|
604
604
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
605
605
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
606
606
|
* @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.
|
|
607
|
-
* @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>
|
|
607
|
+
* @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>
|
|
608
608
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
609
609
|
* @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>
|
|
610
610
|
* @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>
|
|
611
|
-
* @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>
|
|
611
|
+
* @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>
|
|
612
612
|
* @param {*} [options] Override http request option.
|
|
613
613
|
* @throws {RequiredError}
|
|
614
614
|
*/
|
|
@@ -758,7 +758,7 @@ export interface PartnersApiListPartnersRequest {
|
|
|
758
758
|
readonly pageToken?: string
|
|
759
759
|
|
|
760
760
|
/**
|
|
761
|
-
* 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>
|
|
761
|
+
* 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>
|
|
762
762
|
* @type {string}
|
|
763
763
|
* @memberof PartnersApiListPartners
|
|
764
764
|
*/
|
|
@@ -786,7 +786,7 @@ export interface PartnersApiListPartnersRequest {
|
|
|
786
786
|
readonly expand?: string
|
|
787
787
|
|
|
788
788
|
/**
|
|
789
|
-
* 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>
|
|
789
|
+
* 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>
|
|
790
790
|
* @type {string}
|
|
791
791
|
* @memberof PartnersApiListPartners
|
|
792
792
|
*/
|
package/base.ts
CHANGED
|
@@ -270,7 +270,7 @@ export class BaseAPI {
|
|
|
270
270
|
* @extends {Error}
|
|
271
271
|
*/
|
|
272
272
|
export class RequiredError extends Error {
|
|
273
|
-
name: "RequiredError" = "RequiredError";
|
|
273
|
+
override name: "RequiredError" = "RequiredError";
|
|
274
274
|
constructor(public field: string, msg?: string) {
|
|
275
275
|
super(msg);
|
|
276
276
|
}
|
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
|
};
|
|
@@ -98,10 +107,14 @@ var DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
98
107
|
* @param {*} [options] Override http request option.
|
|
99
108
|
* @throws {RequiredError}
|
|
100
109
|
*/
|
|
101
|
-
check: function (
|
|
102
|
-
|
|
103
|
-
|
|
110
|
+
check: function () {
|
|
111
|
+
var args_1 = [];
|
|
112
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
113
|
+
args_1[_i] = arguments[_i];
|
|
114
|
+
}
|
|
115
|
+
return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
|
|
104
116
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
117
|
+
if (options === void 0) { options = {}; }
|
|
105
118
|
return __generator(this, function (_a) {
|
|
106
119
|
localVarPath = "/partnerservice/health";
|
|
107
120
|
localVarUrlObj = new 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
|
};
|
|
@@ -100,10 +109,14 @@ var PartnerInvitationsApiAxiosParamCreator = function (configuration) {
|
|
|
100
109
|
* @param {*} [options] Override http request option.
|
|
101
110
|
* @throws {RequiredError}
|
|
102
111
|
*/
|
|
103
|
-
invitePartnerToEIS: function (
|
|
104
|
-
|
|
105
|
-
|
|
112
|
+
invitePartnerToEIS: function (invitePartnerToEISRequestDto_1, authorization_1) {
|
|
113
|
+
var args_1 = [];
|
|
114
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
115
|
+
args_1[_i - 2] = arguments[_i];
|
|
116
|
+
}
|
|
117
|
+
return __awaiter(_this, __spreadArray([invitePartnerToEISRequestDto_1, authorization_1], args_1, true), void 0, function (invitePartnerToEISRequestDto, authorization, options) {
|
|
106
118
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
119
|
+
if (options === void 0) { options = {}; }
|
|
107
120
|
return __generator(this, function (_a) {
|
|
108
121
|
switch (_a.label) {
|
|
109
122
|
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
|
};
|
|
@@ -100,10 +109,14 @@ var PartnerRelationsApiAxiosParamCreator = function (configuration) {
|
|
|
100
109
|
* @param {*} [options] Override http request option.
|
|
101
110
|
* @throws {RequiredError}
|
|
102
111
|
*/
|
|
103
|
-
createPartnerRelation: function (
|
|
104
|
-
|
|
105
|
-
|
|
112
|
+
createPartnerRelation: function (createPartnerRelationRequestDtoRest_1, authorization_1) {
|
|
113
|
+
var args_1 = [];
|
|
114
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
115
|
+
args_1[_i - 2] = arguments[_i];
|
|
116
|
+
}
|
|
117
|
+
return __awaiter(_this, __spreadArray([createPartnerRelationRequestDtoRest_1, authorization_1], args_1, true), void 0, function (createPartnerRelationRequestDtoRest, authorization, options) {
|
|
106
118
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
119
|
+
if (options === void 0) { options = {}; }
|
|
107
120
|
return __generator(this, function (_a) {
|
|
108
121
|
switch (_a.label) {
|
|
109
122
|
case 0:
|
|
@@ -149,10 +162,14 @@ var PartnerRelationsApiAxiosParamCreator = function (configuration) {
|
|
|
149
162
|
* @param {*} [options] Override http request option.
|
|
150
163
|
* @throws {RequiredError}
|
|
151
164
|
*/
|
|
152
|
-
deletePartnerRelation: function (
|
|
153
|
-
|
|
154
|
-
|
|
165
|
+
deletePartnerRelation: function (id_1, authorization_1) {
|
|
166
|
+
var args_1 = [];
|
|
167
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
168
|
+
args_1[_i - 2] = arguments[_i];
|
|
169
|
+
}
|
|
170
|
+
return __awaiter(_this, __spreadArray([id_1, authorization_1], args_1, true), void 0, function (id, authorization, options) {
|
|
155
171
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
172
|
+
if (options === void 0) { options = {}; }
|
|
156
173
|
return __generator(this, function (_a) {
|
|
157
174
|
switch (_a.label) {
|
|
158
175
|
case 0:
|
|
@@ -197,10 +214,14 @@ var PartnerRelationsApiAxiosParamCreator = function (configuration) {
|
|
|
197
214
|
* @param {*} [options] Override http request option.
|
|
198
215
|
* @throws {RequiredError}
|
|
199
216
|
*/
|
|
200
|
-
getPartnerRelation: function (
|
|
201
|
-
|
|
202
|
-
|
|
217
|
+
getPartnerRelation: function (id_1, authorization_1) {
|
|
218
|
+
var args_1 = [];
|
|
219
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
220
|
+
args_1[_i - 2] = arguments[_i];
|
|
221
|
+
}
|
|
222
|
+
return __awaiter(_this, __spreadArray([id_1, authorization_1], args_1, true), void 0, function (id, authorization, options) {
|
|
203
223
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
224
|
+
if (options === void 0) { options = {}; }
|
|
204
225
|
return __generator(this, function (_a) {
|
|
205
226
|
switch (_a.label) {
|
|
206
227
|
case 0:
|
|
@@ -245,10 +266,14 @@ var PartnerRelationsApiAxiosParamCreator = function (configuration) {
|
|
|
245
266
|
* @param {*} [options] Override http request option.
|
|
246
267
|
* @throws {RequiredError}
|
|
247
268
|
*/
|
|
248
|
-
getPartnerRelationType: function (
|
|
249
|
-
|
|
250
|
-
|
|
269
|
+
getPartnerRelationType: function (slug_1, authorization_1) {
|
|
270
|
+
var args_1 = [];
|
|
271
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
272
|
+
args_1[_i - 2] = arguments[_i];
|
|
273
|
+
}
|
|
274
|
+
return __awaiter(_this, __spreadArray([slug_1, authorization_1], args_1, true), void 0, function (slug, authorization, options) {
|
|
251
275
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
276
|
+
if (options === void 0) { options = {}; }
|
|
252
277
|
return __generator(this, function (_a) {
|
|
253
278
|
switch (_a.label) {
|
|
254
279
|
case 0:
|
|
@@ -299,10 +324,14 @@ var PartnerRelationsApiAxiosParamCreator = function (configuration) {
|
|
|
299
324
|
* @param {*} [options] Override http request option.
|
|
300
325
|
* @throws {RequiredError}
|
|
301
326
|
*/
|
|
302
|
-
listPartnerRelationTypes: function (
|
|
303
|
-
|
|
304
|
-
|
|
327
|
+
listPartnerRelationTypes: function (authorization_1, pageSize_1, pageToken_1, filter_1, search_1, order_1, expand_1, filters_1) {
|
|
328
|
+
var args_1 = [];
|
|
329
|
+
for (var _i = 8; _i < arguments.length; _i++) {
|
|
330
|
+
args_1[_i - 8] = arguments[_i];
|
|
331
|
+
}
|
|
332
|
+
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) {
|
|
305
333
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
334
|
+
if (options === void 0) { options = {}; }
|
|
306
335
|
return __generator(this, function (_a) {
|
|
307
336
|
switch (_a.label) {
|
|
308
337
|
case 0:
|
|
@@ -371,10 +400,14 @@ var PartnerRelationsApiAxiosParamCreator = function (configuration) {
|
|
|
371
400
|
* @param {*} [options] Override http request option.
|
|
372
401
|
* @throws {RequiredError}
|
|
373
402
|
*/
|
|
374
|
-
listPartnerRelations: function (
|
|
375
|
-
|
|
376
|
-
|
|
403
|
+
listPartnerRelations: function (authorization_1, pageSize_1, pageToken_1, filter_1, search_1, order_1, expand_1, filters_1) {
|
|
404
|
+
var args_1 = [];
|
|
405
|
+
for (var _i = 8; _i < arguments.length; _i++) {
|
|
406
|
+
args_1[_i - 8] = arguments[_i];
|
|
407
|
+
}
|
|
408
|
+
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) {
|
|
377
409
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
410
|
+
if (options === void 0) { options = {}; }
|
|
378
411
|
return __generator(this, function (_a) {
|
|
379
412
|
switch (_a.label) {
|
|
380
413
|
case 0:
|
|
@@ -438,10 +471,14 @@ var PartnerRelationsApiAxiosParamCreator = function (configuration) {
|
|
|
438
471
|
* @param {*} [options] Override http request option.
|
|
439
472
|
* @throws {RequiredError}
|
|
440
473
|
*/
|
|
441
|
-
updatePartnerRelation: function (
|
|
442
|
-
|
|
443
|
-
|
|
474
|
+
updatePartnerRelation: function (id_1, updatePartnerRelationRequestDtoRest_1, authorization_1) {
|
|
475
|
+
var args_1 = [];
|
|
476
|
+
for (var _i = 3; _i < arguments.length; _i++) {
|
|
477
|
+
args_1[_i - 3] = arguments[_i];
|
|
478
|
+
}
|
|
479
|
+
return __awaiter(_this, __spreadArray([id_1, updatePartnerRelationRequestDtoRest_1, authorization_1], args_1, true), void 0, function (id, updatePartnerRelationRequestDtoRest, authorization, options) {
|
|
444
480
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
481
|
+
if (options === void 0) { options = {}; }
|
|
445
482
|
return __generator(this, function (_a) {
|
|
446
483
|
switch (_a.label) {
|
|
447
484
|
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
|
};
|
|
@@ -100,10 +109,14 @@ var PartnerTagsApiAxiosParamCreator = function (configuration) {
|
|
|
100
109
|
* @param {*} [options] Override http request option.
|
|
101
110
|
* @throws {RequiredError}
|
|
102
111
|
*/
|
|
103
|
-
createTag: function (
|
|
104
|
-
|
|
105
|
-
|
|
112
|
+
createTag: function (createTagRequestDto_1, authorization_1) {
|
|
113
|
+
var args_1 = [];
|
|
114
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
115
|
+
args_1[_i - 2] = arguments[_i];
|
|
116
|
+
}
|
|
117
|
+
return __awaiter(_this, __spreadArray([createTagRequestDto_1, authorization_1], args_1, true), void 0, function (createTagRequestDto, authorization, options) {
|
|
106
118
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
119
|
+
if (options === void 0) { options = {}; }
|
|
107
120
|
return __generator(this, function (_a) {
|
|
108
121
|
switch (_a.label) {
|
|
109
122
|
case 0:
|
|
@@ -149,10 +162,14 @@ var PartnerTagsApiAxiosParamCreator = function (configuration) {
|
|
|
149
162
|
* @param {*} [options] Override http request option.
|
|
150
163
|
* @throws {RequiredError}
|
|
151
164
|
*/
|
|
152
|
-
deleteTag: function (
|
|
153
|
-
|
|
154
|
-
|
|
165
|
+
deleteTag: function (code_1, authorization_1) {
|
|
166
|
+
var args_1 = [];
|
|
167
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
168
|
+
args_1[_i - 2] = arguments[_i];
|
|
169
|
+
}
|
|
170
|
+
return __awaiter(_this, __spreadArray([code_1, authorization_1], args_1, true), void 0, function (code, authorization, options) {
|
|
155
171
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
172
|
+
if (options === void 0) { options = {}; }
|
|
156
173
|
return __generator(this, function (_a) {
|
|
157
174
|
switch (_a.label) {
|
|
158
175
|
case 0:
|
|
@@ -197,10 +214,14 @@ var PartnerTagsApiAxiosParamCreator = function (configuration) {
|
|
|
197
214
|
* @param {*} [options] Override http request option.
|
|
198
215
|
* @throws {RequiredError}
|
|
199
216
|
*/
|
|
200
|
-
getTag: function (
|
|
201
|
-
|
|
202
|
-
|
|
217
|
+
getTag: function (code_1, authorization_1) {
|
|
218
|
+
var args_1 = [];
|
|
219
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
220
|
+
args_1[_i - 2] = arguments[_i];
|
|
221
|
+
}
|
|
222
|
+
return __awaiter(_this, __spreadArray([code_1, authorization_1], args_1, true), void 0, function (code, authorization, options) {
|
|
203
223
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
224
|
+
if (options === void 0) { options = {}; }
|
|
204
225
|
return __generator(this, function (_a) {
|
|
205
226
|
switch (_a.label) {
|
|
206
227
|
case 0:
|
|
@@ -251,10 +272,14 @@ var PartnerTagsApiAxiosParamCreator = function (configuration) {
|
|
|
251
272
|
* @param {*} [options] Override http request option.
|
|
252
273
|
* @throws {RequiredError}
|
|
253
274
|
*/
|
|
254
|
-
listTags: function (
|
|
255
|
-
|
|
256
|
-
|
|
275
|
+
listTags: function (authorization_1, pageSize_1, pageToken_1, filter_1, search_1, order_1, expand_1, filters_1) {
|
|
276
|
+
var args_1 = [];
|
|
277
|
+
for (var _i = 8; _i < arguments.length; _i++) {
|
|
278
|
+
args_1[_i - 8] = arguments[_i];
|
|
279
|
+
}
|
|
280
|
+
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) {
|
|
257
281
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
282
|
+
if (options === void 0) { options = {}; }
|
|
258
283
|
return __generator(this, function (_a) {
|
|
259
284
|
switch (_a.label) {
|
|
260
285
|
case 0:
|
|
@@ -317,10 +342,14 @@ var PartnerTagsApiAxiosParamCreator = function (configuration) {
|
|
|
317
342
|
* @param {*} [options] Override http request option.
|
|
318
343
|
* @throws {RequiredError}
|
|
319
344
|
*/
|
|
320
|
-
updateTag: function (
|
|
321
|
-
|
|
322
|
-
|
|
345
|
+
updateTag: function (code_1, authorization_1) {
|
|
346
|
+
var args_1 = [];
|
|
347
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
348
|
+
args_1[_i - 2] = arguments[_i];
|
|
349
|
+
}
|
|
350
|
+
return __awaiter(_this, __spreadArray([code_1, authorization_1], args_1, true), void 0, function (code, authorization, options) {
|
|
323
351
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
352
|
+
if (options === void 0) { options = {}; }
|
|
324
353
|
return __generator(this, function (_a) {
|
|
325
354
|
switch (_a.label) {
|
|
326
355
|
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
|
};
|
|
@@ -100,10 +109,14 @@ var PartnerTypesApiAxiosParamCreator = function (configuration) {
|
|
|
100
109
|
* @param {*} [options] Override http request option.
|
|
101
110
|
* @throws {RequiredError}
|
|
102
111
|
*/
|
|
103
|
-
createPartnerType: function (
|
|
104
|
-
|
|
105
|
-
|
|
112
|
+
createPartnerType: function (createPartnerTypeRequestDto_1, authorization_1) {
|
|
113
|
+
var args_1 = [];
|
|
114
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
115
|
+
args_1[_i - 2] = arguments[_i];
|
|
116
|
+
}
|
|
117
|
+
return __awaiter(_this, __spreadArray([createPartnerTypeRequestDto_1, authorization_1], args_1, true), void 0, function (createPartnerTypeRequestDto, authorization, options) {
|
|
106
118
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
119
|
+
if (options === void 0) { options = {}; }
|
|
107
120
|
return __generator(this, function (_a) {
|
|
108
121
|
switch (_a.label) {
|
|
109
122
|
case 0:
|
|
@@ -149,10 +162,14 @@ var PartnerTypesApiAxiosParamCreator = function (configuration) {
|
|
|
149
162
|
* @param {*} [options] Override http request option.
|
|
150
163
|
* @throws {RequiredError}
|
|
151
164
|
*/
|
|
152
|
-
deletePartnerType: function (
|
|
153
|
-
|
|
154
|
-
|
|
165
|
+
deletePartnerType: function (code_1, authorization_1) {
|
|
166
|
+
var args_1 = [];
|
|
167
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
168
|
+
args_1[_i - 2] = arguments[_i];
|
|
169
|
+
}
|
|
170
|
+
return __awaiter(_this, __spreadArray([code_1, authorization_1], args_1, true), void 0, function (code, authorization, options) {
|
|
155
171
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
172
|
+
if (options === void 0) { options = {}; }
|
|
156
173
|
return __generator(this, function (_a) {
|
|
157
174
|
switch (_a.label) {
|
|
158
175
|
case 0:
|
|
@@ -198,10 +215,14 @@ var PartnerTypesApiAxiosParamCreator = function (configuration) {
|
|
|
198
215
|
* @param {*} [options] Override http request option.
|
|
199
216
|
* @throws {RequiredError}
|
|
200
217
|
*/
|
|
201
|
-
getPartnerType: function (
|
|
202
|
-
|
|
203
|
-
|
|
218
|
+
getPartnerType: function (code_1, authorization_1, expand_1) {
|
|
219
|
+
var args_1 = [];
|
|
220
|
+
for (var _i = 3; _i < arguments.length; _i++) {
|
|
221
|
+
args_1[_i - 3] = arguments[_i];
|
|
222
|
+
}
|
|
223
|
+
return __awaiter(_this, __spreadArray([code_1, authorization_1, expand_1], args_1, true), void 0, function (code, authorization, expand, options) {
|
|
204
224
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
225
|
+
if (options === void 0) { options = {}; }
|
|
205
226
|
return __generator(this, function (_a) {
|
|
206
227
|
switch (_a.label) {
|
|
207
228
|
case 0:
|
|
@@ -255,10 +276,14 @@ var PartnerTypesApiAxiosParamCreator = function (configuration) {
|
|
|
255
276
|
* @param {*} [options] Override http request option.
|
|
256
277
|
* @throws {RequiredError}
|
|
257
278
|
*/
|
|
258
|
-
listPartnerTypes: function (
|
|
259
|
-
|
|
260
|
-
|
|
279
|
+
listPartnerTypes: 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:
|
|
@@ -322,10 +347,14 @@ var PartnerTypesApiAxiosParamCreator = function (configuration) {
|
|
|
322
347
|
* @param {*} [options] Override http request option.
|
|
323
348
|
* @throws {RequiredError}
|
|
324
349
|
*/
|
|
325
|
-
updatePartnerType: function (
|
|
326
|
-
|
|
327
|
-
|
|
350
|
+
updatePartnerType: function (code_1, updatePartnerTypeRequestDto_1, authorization_1) {
|
|
351
|
+
var args_1 = [];
|
|
352
|
+
for (var _i = 3; _i < arguments.length; _i++) {
|
|
353
|
+
args_1[_i - 3] = arguments[_i];
|
|
354
|
+
}
|
|
355
|
+
return __awaiter(_this, __spreadArray([code_1, updatePartnerTypeRequestDto_1, authorization_1], args_1, true), void 0, function (code, updatePartnerTypeRequestDto, authorization, options) {
|
|
328
356
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
357
|
+
if (options === void 0) { options = {}; }
|
|
329
358
|
return __generator(this, function (_a) {
|
|
330
359
|
switch (_a.label) {
|
|
331
360
|
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
|
};
|
|
@@ -101,10 +110,14 @@ var PartnerVersionsApiAxiosParamCreator = function (configuration) {
|
|
|
101
110
|
* @param {*} [options] Override http request option.
|
|
102
111
|
* @throws {RequiredError}
|
|
103
112
|
*/
|
|
104
|
-
getPartnerVersion: function (
|
|
105
|
-
|
|
106
|
-
|
|
113
|
+
getPartnerVersion: function (code_1, version_1, authorization_1) {
|
|
114
|
+
var args_1 = [];
|
|
115
|
+
for (var _i = 3; _i < arguments.length; _i++) {
|
|
116
|
+
args_1[_i - 3] = arguments[_i];
|
|
117
|
+
}
|
|
118
|
+
return __awaiter(_this, __spreadArray([code_1, version_1, authorization_1], args_1, true), void 0, function (code, version, authorization, options) {
|
|
107
119
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
120
|
+
if (options === void 0) { options = {}; }
|
|
108
121
|
return __generator(this, function (_a) {
|
|
109
122
|
switch (_a.label) {
|
|
110
123
|
case 0:
|
|
@@ -159,10 +172,14 @@ var PartnerVersionsApiAxiosParamCreator = function (configuration) {
|
|
|
159
172
|
* @param {*} [options] Override http request option.
|
|
160
173
|
* @throws {RequiredError}
|
|
161
174
|
*/
|
|
162
|
-
listPartnerVersion: function (
|
|
163
|
-
|
|
164
|
-
|
|
175
|
+
listPartnerVersion: function (code_1, authorization_1, pageSize_1, pageToken_1, filter_1, search_1, order_1, expand_1, filters_1) {
|
|
176
|
+
var args_1 = [];
|
|
177
|
+
for (var _i = 9; _i < arguments.length; _i++) {
|
|
178
|
+
args_1[_i - 9] = arguments[_i];
|
|
179
|
+
}
|
|
180
|
+
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) {
|
|
165
181
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
182
|
+
if (options === void 0) { options = {}; }
|
|
166
183
|
return __generator(this, function (_a) {
|
|
167
184
|
switch (_a.label) {
|
|
168
185
|
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
|
};
|
|
@@ -100,10 +109,14 @@ var PartnersApiAxiosParamCreator = function (configuration) {
|
|
|
100
109
|
* @param {*} [options] Override http request option.
|
|
101
110
|
* @throws {RequiredError}
|
|
102
111
|
*/
|
|
103
|
-
createPartner: function (
|
|
104
|
-
|
|
105
|
-
|
|
112
|
+
createPartner: function (createPartnerRequestDto_1, authorization_1) {
|
|
113
|
+
var args_1 = [];
|
|
114
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
115
|
+
args_1[_i - 2] = arguments[_i];
|
|
116
|
+
}
|
|
117
|
+
return __awaiter(_this, __spreadArray([createPartnerRequestDto_1, authorization_1], args_1, true), void 0, function (createPartnerRequestDto, authorization, options) {
|
|
106
118
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
119
|
+
if (options === void 0) { options = {}; }
|
|
107
120
|
return __generator(this, function (_a) {
|
|
108
121
|
switch (_a.label) {
|
|
109
122
|
case 0:
|
|
@@ -149,10 +162,14 @@ var PartnersApiAxiosParamCreator = function (configuration) {
|
|
|
149
162
|
* @param {*} [options] Override http request option.
|
|
150
163
|
* @throws {RequiredError}
|
|
151
164
|
*/
|
|
152
|
-
deletePartner: function (
|
|
153
|
-
|
|
154
|
-
|
|
165
|
+
deletePartner: function (code_1, authorization_1) {
|
|
166
|
+
var args_1 = [];
|
|
167
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
168
|
+
args_1[_i - 2] = arguments[_i];
|
|
169
|
+
}
|
|
170
|
+
return __awaiter(_this, __spreadArray([code_1, authorization_1], args_1, true), void 0, function (code, authorization, options) {
|
|
155
171
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
172
|
+
if (options === void 0) { options = {}; }
|
|
156
173
|
return __generator(this, function (_a) {
|
|
157
174
|
switch (_a.label) {
|
|
158
175
|
case 0:
|
|
@@ -198,10 +215,14 @@ var PartnersApiAxiosParamCreator = function (configuration) {
|
|
|
198
215
|
* @param {*} [options] Override http request option.
|
|
199
216
|
* @throws {RequiredError}
|
|
200
217
|
*/
|
|
201
|
-
getPartner: function (
|
|
202
|
-
|
|
203
|
-
|
|
218
|
+
getPartner: function (code_1, authorization_1, expand_1) {
|
|
219
|
+
var args_1 = [];
|
|
220
|
+
for (var _i = 3; _i < arguments.length; _i++) {
|
|
221
|
+
args_1[_i - 3] = arguments[_i];
|
|
222
|
+
}
|
|
223
|
+
return __awaiter(_this, __spreadArray([code_1, authorization_1, expand_1], args_1, true), void 0, function (code, authorization, expand, options) {
|
|
204
224
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
225
|
+
if (options === void 0) { options = {}; }
|
|
205
226
|
return __generator(this, function (_a) {
|
|
206
227
|
switch (_a.label) {
|
|
207
228
|
case 0:
|
|
@@ -247,18 +268,22 @@ var PartnersApiAxiosParamCreator = function (configuration) {
|
|
|
247
268
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
248
269
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
249
270
|
* @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.
|
|
250
|
-
* @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>
|
|
271
|
+
* @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>
|
|
251
272
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
252
273
|
* @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>
|
|
253
274
|
* @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>
|
|
254
|
-
* @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>
|
|
275
|
+
* @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>
|
|
255
276
|
* @param {*} [options] Override http request option.
|
|
256
277
|
* @throws {RequiredError}
|
|
257
278
|
*/
|
|
258
|
-
listPartners: function (
|
|
259
|
-
|
|
260
|
-
|
|
279
|
+
listPartners: 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:
|
|
@@ -328,10 +353,14 @@ var PartnersApiAxiosParamCreator = function (configuration) {
|
|
|
328
353
|
* @param {*} [options] Override http request option.
|
|
329
354
|
* @throws {RequiredError}
|
|
330
355
|
*/
|
|
331
|
-
listRelationsForPartner: function (
|
|
332
|
-
|
|
333
|
-
|
|
356
|
+
listRelationsForPartner: function (code_1, authorization_1, pageSize_1, pageToken_1, filter_1, search_1, order_1, expand_1, filters_1) {
|
|
357
|
+
var args_1 = [];
|
|
358
|
+
for (var _i = 9; _i < arguments.length; _i++) {
|
|
359
|
+
args_1[_i - 9] = arguments[_i];
|
|
360
|
+
}
|
|
361
|
+
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) {
|
|
334
362
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
363
|
+
if (options === void 0) { options = {}; }
|
|
335
364
|
return __generator(this, function (_a) {
|
|
336
365
|
switch (_a.label) {
|
|
337
366
|
case 0:
|
|
@@ -398,10 +427,14 @@ var PartnersApiAxiosParamCreator = function (configuration) {
|
|
|
398
427
|
* @param {*} [options] Override http request option.
|
|
399
428
|
* @throws {RequiredError}
|
|
400
429
|
*/
|
|
401
|
-
tagPartner: function (
|
|
402
|
-
|
|
403
|
-
|
|
430
|
+
tagPartner: function (code_1, tagPartnerRequestDtoRest_1, authorization_1) {
|
|
431
|
+
var args_1 = [];
|
|
432
|
+
for (var _i = 3; _i < arguments.length; _i++) {
|
|
433
|
+
args_1[_i - 3] = arguments[_i];
|
|
434
|
+
}
|
|
435
|
+
return __awaiter(_this, __spreadArray([code_1, tagPartnerRequestDtoRest_1, authorization_1], args_1, true), void 0, function (code, tagPartnerRequestDtoRest, authorization, options) {
|
|
404
436
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
437
|
+
if (options === void 0) { options = {}; }
|
|
405
438
|
return __generator(this, function (_a) {
|
|
406
439
|
switch (_a.label) {
|
|
407
440
|
case 0:
|
|
@@ -451,10 +484,14 @@ var PartnersApiAxiosParamCreator = function (configuration) {
|
|
|
451
484
|
* @param {*} [options] Override http request option.
|
|
452
485
|
* @throws {RequiredError}
|
|
453
486
|
*/
|
|
454
|
-
updatePartner: function (
|
|
455
|
-
|
|
456
|
-
|
|
487
|
+
updatePartner: function (code_1, updatePartnerRequestDto_1, authorization_1) {
|
|
488
|
+
var args_1 = [];
|
|
489
|
+
for (var _i = 3; _i < arguments.length; _i++) {
|
|
490
|
+
args_1[_i - 3] = arguments[_i];
|
|
491
|
+
}
|
|
492
|
+
return __awaiter(_this, __spreadArray([code_1, updatePartnerRequestDto_1, authorization_1], args_1, true), void 0, function (code, updatePartnerRequestDto, authorization, options) {
|
|
457
493
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
494
|
+
if (options === void 0) { options = {}; }
|
|
458
495
|
return __generator(this, function (_a) {
|
|
459
496
|
switch (_a.label) {
|
|
460
497
|
case 0:
|
|
@@ -575,11 +612,11 @@ var PartnersApiFp = function (configuration) {
|
|
|
575
612
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
576
613
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
577
614
|
* @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.
|
|
578
|
-
* @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>
|
|
615
|
+
* @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>
|
|
579
616
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
580
617
|
* @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>
|
|
581
618
|
* @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>
|
|
582
|
-
* @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>
|
|
619
|
+
* @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>
|
|
583
620
|
* @param {*} [options] Override http request option.
|
|
584
621
|
* @throws {RequiredError}
|
|
585
622
|
*/
|
|
@@ -718,11 +755,11 @@ var PartnersApiFactory = function (configuration, basePath, axios) {
|
|
|
718
755
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
719
756
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
720
757
|
* @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.
|
|
721
|
-
* @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>
|
|
758
|
+
* @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>
|
|
722
759
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
723
760
|
* @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>
|
|
724
761
|
* @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>
|
|
725
|
-
* @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>
|
|
762
|
+
* @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>
|
|
726
763
|
* @param {*} [options] Override http request option.
|
|
727
764
|
* @throws {RequiredError}
|
|
728
765
|
*/
|
package/dist/base.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.");
|
|
@@ -78,7 +78,8 @@ 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.RequiredError = exports.BaseAPI = exports.
|
|
81
|
+
exports.RequiredError = exports.BaseAPI = exports.Environment = exports.COLLECTION_FORMATS = exports.BASE_PATH = void 0;
|
|
82
|
+
exports.resetRetry = resetRetry;
|
|
82
83
|
var configuration_1 = require("./configuration");
|
|
83
84
|
var common_1 = require("./common");
|
|
84
85
|
// Some imports not used depending on template conditions
|
|
@@ -102,13 +103,12 @@ var Environment;
|
|
|
102
103
|
Environment["Staging"] = "https://apiv2-staging.emil.de";
|
|
103
104
|
Environment["Development"] = "https://apiv2-dev.emil.de";
|
|
104
105
|
Environment["ProductionZurich"] = "https://eu-central-2.apiv2.emil.de";
|
|
105
|
-
})(Environment
|
|
106
|
+
})(Environment || (exports.Environment = Environment = {}));
|
|
106
107
|
var _retry_count = 0;
|
|
107
108
|
var _retry = null;
|
|
108
109
|
function resetRetry() {
|
|
109
110
|
_retry_count = 0;
|
|
110
111
|
}
|
|
111
|
-
exports.resetRetry = resetRetry;
|
|
112
112
|
var NETWORK_ERROR_MESSAGE = "Network Error";
|
|
113
113
|
var TOKEN_DATA = 'APP_TOKEN';
|
|
114
114
|
/**
|
package/dist/common.d.ts
CHANGED
|
@@ -62,7 +62,7 @@ export declare const toPathString: (url: URL) => string;
|
|
|
62
62
|
*
|
|
63
63
|
* @export
|
|
64
64
|
*/
|
|
65
|
-
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T
|
|
65
|
+
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
|
|
66
66
|
/**
|
|
67
67
|
* EMIL PartnerService
|
|
68
68
|
* 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",
|
|
3
|
-
"version": "1.14.
|
|
3
|
+
"version": "1.14.1-beta.1",
|
|
4
4
|
"description": "OpenAPI client for @emilgroup/partner-sdk",
|
|
5
5
|
"author": "OpenAPI-Generator Contributors",
|
|
6
6
|
"keywords": [
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
"prepare": "npm run build"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"axios": "^
|
|
21
|
+
"axios": "^1.9.0"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
"typescript": "^
|
|
24
|
+
"typescript": "^5.8"
|
|
25
25
|
}
|
|
26
26
|
}
|