@emilgroup/partner-sdk-node 1.7.0 → 1.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +6 -6
- package/README.md +2 -2
- package/api/{partner-invitation-api.ts → partner-invitations-api.ts} +20 -20
- package/api/{partner-relation-api.ts → partner-relations-api.ts} +87 -87
- package/api/{partner-tag-api.ts → partner-tags-api.ts} +62 -62
- package/api/{partner-type-api.ts → partner-types-api.ts} +64 -64
- package/api/{partner-version-api.ts → partner-versions-api.ts} +37 -37
- package/api/{partner-api.ts → partners-api.ts} +74 -74
- package/api.ts +12 -12
- package/dist/api/{partner-invitation-api.d.ts → partner-invitations-api.d.ts} +17 -17
- package/dist/api/{partner-invitation-api.js → partner-invitations-api.js} +23 -23
- package/dist/api/{partner-relation-api.d.ts → partner-relations-api.d.ts} +78 -78
- package/dist/api/{partner-relation-api.js → partner-relations-api.js} +47 -47
- package/dist/api/{partner-tag-api.d.ts → partner-tags-api.d.ts} +55 -55
- package/dist/api/{partner-tag-api.js → partner-tags-api.js} +39 -39
- package/dist/api/{partner-type-api.d.ts → partner-types-api.d.ts} +57 -57
- package/dist/api/{partner-type-api.js → partner-types-api.js} +39 -39
- package/dist/api/{partner-version-api.d.ts → partner-versions-api.d.ts} +33 -33
- package/dist/api/{partner-version-api.js → partner-versions-api.js} +27 -27
- package/dist/api/{partner-api.d.ts → partners-api.d.ts} +66 -66
- package/dist/api/{partner-api.js → partners-api.js} +43 -43
- package/dist/api.d.ts +6 -6
- package/dist/api.js +6 -6
- package/package.json +1 -1
|
@@ -20,10 +20,10 @@ import { ListPartnerTypesResponseClass } from '../models';
|
|
|
20
20
|
import { UpdatePartnerTypeRequestDto } from '../models';
|
|
21
21
|
import { UpdatePartnerTypeResponseClass } from '../models';
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
23
|
+
* PartnerTypesApi - axios parameter creator
|
|
24
24
|
* @export
|
|
25
25
|
*/
|
|
26
|
-
export declare const
|
|
26
|
+
export declare const PartnerTypesApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
27
27
|
/**
|
|
28
28
|
* This will create a partner type.
|
|
29
29
|
* @summary Create the partner-types
|
|
@@ -79,10 +79,10 @@ export declare const PartnerTypeApiAxiosParamCreator: (configuration?: Configura
|
|
|
79
79
|
updatePartnerType: (code: string, updatePartnerTypeRequestDto: UpdatePartnerTypeRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
80
80
|
};
|
|
81
81
|
/**
|
|
82
|
-
*
|
|
82
|
+
* PartnerTypesApi - functional programming interface
|
|
83
83
|
* @export
|
|
84
84
|
*/
|
|
85
|
-
export declare const
|
|
85
|
+
export declare const PartnerTypesApiFp: (configuration?: Configuration) => {
|
|
86
86
|
/**
|
|
87
87
|
* This will create a partner type.
|
|
88
88
|
* @summary Create the partner-types
|
|
@@ -138,10 +138,10 @@ export declare const PartnerTypeApiFp: (configuration?: Configuration) => {
|
|
|
138
138
|
updatePartnerType(code: string, updatePartnerTypeRequestDto: UpdatePartnerTypeRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdatePartnerTypeResponseClass>>;
|
|
139
139
|
};
|
|
140
140
|
/**
|
|
141
|
-
*
|
|
141
|
+
* PartnerTypesApi - factory interface
|
|
142
142
|
* @export
|
|
143
143
|
*/
|
|
144
|
-
export declare const
|
|
144
|
+
export declare const PartnerTypesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
145
145
|
/**
|
|
146
146
|
* This will create a partner type.
|
|
147
147
|
* @summary Create the partner-types
|
|
@@ -197,198 +197,198 @@ export declare const PartnerTypeApiFactory: (configuration?: Configuration, base
|
|
|
197
197
|
updatePartnerType(code: string, updatePartnerTypeRequestDto: UpdatePartnerTypeRequestDto, authorization?: string, options?: any): AxiosPromise<UpdatePartnerTypeResponseClass>;
|
|
198
198
|
};
|
|
199
199
|
/**
|
|
200
|
-
* Request parameters for createPartnerType operation in
|
|
200
|
+
* Request parameters for createPartnerType operation in PartnerTypesApi.
|
|
201
201
|
* @export
|
|
202
|
-
* @interface
|
|
202
|
+
* @interface PartnerTypesApiCreatePartnerTypeRequest
|
|
203
203
|
*/
|
|
204
|
-
export interface
|
|
204
|
+
export interface PartnerTypesApiCreatePartnerTypeRequest {
|
|
205
205
|
/**
|
|
206
206
|
*
|
|
207
207
|
* @type {CreatePartnerTypeRequestDto}
|
|
208
|
-
* @memberof
|
|
208
|
+
* @memberof PartnerTypesApiCreatePartnerType
|
|
209
209
|
*/
|
|
210
210
|
readonly createPartnerTypeRequestDto: CreatePartnerTypeRequestDto;
|
|
211
211
|
/**
|
|
212
212
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
213
213
|
* @type {string}
|
|
214
|
-
* @memberof
|
|
214
|
+
* @memberof PartnerTypesApiCreatePartnerType
|
|
215
215
|
*/
|
|
216
216
|
readonly authorization?: string;
|
|
217
217
|
}
|
|
218
218
|
/**
|
|
219
|
-
* Request parameters for deletePartnerType operation in
|
|
219
|
+
* Request parameters for deletePartnerType operation in PartnerTypesApi.
|
|
220
220
|
* @export
|
|
221
|
-
* @interface
|
|
221
|
+
* @interface PartnerTypesApiDeletePartnerTypeRequest
|
|
222
222
|
*/
|
|
223
|
-
export interface
|
|
223
|
+
export interface PartnerTypesApiDeletePartnerTypeRequest {
|
|
224
224
|
/**
|
|
225
225
|
*
|
|
226
226
|
* @type {string}
|
|
227
|
-
* @memberof
|
|
227
|
+
* @memberof PartnerTypesApiDeletePartnerType
|
|
228
228
|
*/
|
|
229
229
|
readonly code: string;
|
|
230
230
|
/**
|
|
231
231
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
232
232
|
* @type {string}
|
|
233
|
-
* @memberof
|
|
233
|
+
* @memberof PartnerTypesApiDeletePartnerType
|
|
234
234
|
*/
|
|
235
235
|
readonly authorization?: string;
|
|
236
236
|
}
|
|
237
237
|
/**
|
|
238
|
-
* Request parameters for getPartnerType operation in
|
|
238
|
+
* Request parameters for getPartnerType operation in PartnerTypesApi.
|
|
239
239
|
* @export
|
|
240
|
-
* @interface
|
|
240
|
+
* @interface PartnerTypesApiGetPartnerTypeRequest
|
|
241
241
|
*/
|
|
242
|
-
export interface
|
|
242
|
+
export interface PartnerTypesApiGetPartnerTypeRequest {
|
|
243
243
|
/**
|
|
244
244
|
* Unique identifier for the object.
|
|
245
245
|
* @type {string}
|
|
246
|
-
* @memberof
|
|
246
|
+
* @memberof PartnerTypesApiGetPartnerType
|
|
247
247
|
*/
|
|
248
248
|
readonly code: string;
|
|
249
249
|
/**
|
|
250
250
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
251
251
|
* @type {string}
|
|
252
|
-
* @memberof
|
|
252
|
+
* @memberof PartnerTypesApiGetPartnerType
|
|
253
253
|
*/
|
|
254
254
|
readonly authorization?: string;
|
|
255
255
|
/**
|
|
256
256
|
*
|
|
257
257
|
* @type {any}
|
|
258
|
-
* @memberof
|
|
258
|
+
* @memberof PartnerTypesApiGetPartnerType
|
|
259
259
|
*/
|
|
260
260
|
readonly expand?: any;
|
|
261
261
|
}
|
|
262
262
|
/**
|
|
263
|
-
* Request parameters for listPartnerTypes operation in
|
|
263
|
+
* Request parameters for listPartnerTypes operation in PartnerTypesApi.
|
|
264
264
|
* @export
|
|
265
|
-
* @interface
|
|
265
|
+
* @interface PartnerTypesApiListPartnerTypesRequest
|
|
266
266
|
*/
|
|
267
|
-
export interface
|
|
267
|
+
export interface PartnerTypesApiListPartnerTypesRequest {
|
|
268
268
|
/**
|
|
269
269
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
270
270
|
* @type {string}
|
|
271
|
-
* @memberof
|
|
271
|
+
* @memberof PartnerTypesApiListPartnerTypes
|
|
272
272
|
*/
|
|
273
273
|
readonly authorization?: string;
|
|
274
274
|
/**
|
|
275
275
|
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
276
276
|
* @type {any}
|
|
277
|
-
* @memberof
|
|
277
|
+
* @memberof PartnerTypesApiListPartnerTypes
|
|
278
278
|
*/
|
|
279
279
|
readonly pageSize?: any;
|
|
280
280
|
/**
|
|
281
281
|
* 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.
|
|
282
282
|
* @type {any}
|
|
283
|
-
* @memberof
|
|
283
|
+
* @memberof PartnerTypesApiListPartnerTypes
|
|
284
284
|
*/
|
|
285
285
|
readonly pageToken?: any;
|
|
286
286
|
/**
|
|
287
287
|
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
288
288
|
* @type {any}
|
|
289
|
-
* @memberof
|
|
289
|
+
* @memberof PartnerTypesApiListPartnerTypes
|
|
290
290
|
*/
|
|
291
291
|
readonly filter?: any;
|
|
292
292
|
/**
|
|
293
293
|
* To search the list by any field, pass search=xxx to fetch the result.
|
|
294
294
|
* @type {any}
|
|
295
|
-
* @memberof
|
|
295
|
+
* @memberof PartnerTypesApiListPartnerTypes
|
|
296
296
|
*/
|
|
297
297
|
readonly search?: any;
|
|
298
298
|
/**
|
|
299
299
|
* The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
300
300
|
* @type {any}
|
|
301
|
-
* @memberof
|
|
301
|
+
* @memberof PartnerTypesApiListPartnerTypes
|
|
302
302
|
*/
|
|
303
303
|
readonly order?: any;
|
|
304
304
|
/**
|
|
305
305
|
* Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
306
306
|
* @type {any}
|
|
307
|
-
* @memberof
|
|
307
|
+
* @memberof PartnerTypesApiListPartnerTypes
|
|
308
308
|
*/
|
|
309
309
|
readonly expand?: any;
|
|
310
310
|
/**
|
|
311
311
|
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
312
312
|
* @type {any}
|
|
313
|
-
* @memberof
|
|
313
|
+
* @memberof PartnerTypesApiListPartnerTypes
|
|
314
314
|
*/
|
|
315
315
|
readonly filters?: any;
|
|
316
316
|
}
|
|
317
317
|
/**
|
|
318
|
-
* Request parameters for updatePartnerType operation in
|
|
318
|
+
* Request parameters for updatePartnerType operation in PartnerTypesApi.
|
|
319
319
|
* @export
|
|
320
|
-
* @interface
|
|
320
|
+
* @interface PartnerTypesApiUpdatePartnerTypeRequest
|
|
321
321
|
*/
|
|
322
|
-
export interface
|
|
322
|
+
export interface PartnerTypesApiUpdatePartnerTypeRequest {
|
|
323
323
|
/**
|
|
324
324
|
* Unique identifier for the object.
|
|
325
325
|
* @type {string}
|
|
326
|
-
* @memberof
|
|
326
|
+
* @memberof PartnerTypesApiUpdatePartnerType
|
|
327
327
|
*/
|
|
328
328
|
readonly code: string;
|
|
329
329
|
/**
|
|
330
330
|
*
|
|
331
331
|
* @type {UpdatePartnerTypeRequestDto}
|
|
332
|
-
* @memberof
|
|
332
|
+
* @memberof PartnerTypesApiUpdatePartnerType
|
|
333
333
|
*/
|
|
334
334
|
readonly updatePartnerTypeRequestDto: UpdatePartnerTypeRequestDto;
|
|
335
335
|
/**
|
|
336
336
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
337
337
|
* @type {string}
|
|
338
|
-
* @memberof
|
|
338
|
+
* @memberof PartnerTypesApiUpdatePartnerType
|
|
339
339
|
*/
|
|
340
340
|
readonly authorization?: string;
|
|
341
341
|
}
|
|
342
342
|
/**
|
|
343
|
-
*
|
|
343
|
+
* PartnerTypesApi - object-oriented interface
|
|
344
344
|
* @export
|
|
345
|
-
* @class
|
|
345
|
+
* @class PartnerTypesApi
|
|
346
346
|
* @extends {BaseAPI}
|
|
347
347
|
*/
|
|
348
|
-
export declare class
|
|
348
|
+
export declare class PartnerTypesApi extends BaseAPI {
|
|
349
349
|
/**
|
|
350
350
|
* This will create a partner type.
|
|
351
351
|
* @summary Create the partner-types
|
|
352
|
-
* @param {
|
|
352
|
+
* @param {PartnerTypesApiCreatePartnerTypeRequest} requestParameters Request parameters.
|
|
353
353
|
* @param {*} [options] Override http request option.
|
|
354
354
|
* @throws {RequiredError}
|
|
355
|
-
* @memberof
|
|
355
|
+
* @memberof PartnerTypesApi
|
|
356
356
|
*/
|
|
357
|
-
createPartnerType(requestParameters:
|
|
357
|
+
createPartnerType(requestParameters: PartnerTypesApiCreatePartnerTypeRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePartnerTypeResponseClass, any>>;
|
|
358
358
|
/**
|
|
359
359
|
* Permanently deletes the partner-types. Supply the unique code that was returned when you created the partner-types and this will delete it.
|
|
360
360
|
* @summary Delete the partner-types
|
|
361
|
-
* @param {
|
|
361
|
+
* @param {PartnerTypesApiDeletePartnerTypeRequest} requestParameters Request parameters.
|
|
362
362
|
* @param {*} [options] Override http request option.
|
|
363
363
|
* @throws {RequiredError}
|
|
364
|
-
* @memberof
|
|
364
|
+
* @memberof PartnerTypesApi
|
|
365
365
|
*/
|
|
366
|
-
deletePartnerType(requestParameters:
|
|
366
|
+
deletePartnerType(requestParameters: PartnerTypesApiDeletePartnerTypeRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteResponseClass, any>>;
|
|
367
367
|
/**
|
|
368
368
|
* Retrieves the details of the partner-types that was previously created. Supply the unique partner-types code that was returned when you created it and Emil Api will return the corresponding partner-types information.
|
|
369
369
|
* @summary Retrieve the partner-types
|
|
370
|
-
* @param {
|
|
370
|
+
* @param {PartnerTypesApiGetPartnerTypeRequest} requestParameters Request parameters.
|
|
371
371
|
* @param {*} [options] Override http request option.
|
|
372
372
|
* @throws {RequiredError}
|
|
373
|
-
* @memberof
|
|
373
|
+
* @memberof PartnerTypesApi
|
|
374
374
|
*/
|
|
375
|
-
getPartnerType(requestParameters:
|
|
375
|
+
getPartnerType(requestParameters: PartnerTypesApiGetPartnerTypeRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPartnerTypeResponseClass, any>>;
|
|
376
376
|
/**
|
|
377
377
|
* Returns a list of partner-types you have previously created. The partner-types are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
378
378
|
* @summary List partner-types
|
|
379
|
-
* @param {
|
|
379
|
+
* @param {PartnerTypesApiListPartnerTypesRequest} requestParameters Request parameters.
|
|
380
380
|
* @param {*} [options] Override http request option.
|
|
381
381
|
* @throws {RequiredError}
|
|
382
|
-
* @memberof
|
|
382
|
+
* @memberof PartnerTypesApi
|
|
383
383
|
*/
|
|
384
|
-
listPartnerTypes(requestParameters?:
|
|
384
|
+
listPartnerTypes(requestParameters?: PartnerTypesApiListPartnerTypesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPartnerTypesResponseClass, any>>;
|
|
385
385
|
/**
|
|
386
386
|
* Updates the specified partner-types by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
387
387
|
* @summary Update the partner-types
|
|
388
|
-
* @param {
|
|
388
|
+
* @param {PartnerTypesApiUpdatePartnerTypeRequest} requestParameters Request parameters.
|
|
389
389
|
* @param {*} [options] Override http request option.
|
|
390
390
|
* @throws {RequiredError}
|
|
391
|
-
* @memberof
|
|
391
|
+
* @memberof PartnerTypesApi
|
|
392
392
|
*/
|
|
393
|
-
updatePartnerType(requestParameters:
|
|
393
|
+
updatePartnerType(requestParameters: PartnerTypesApiUpdatePartnerTypeRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdatePartnerTypeResponseClass, any>>;
|
|
394
394
|
}
|
|
@@ -78,7 +78,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
78
78
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
79
79
|
};
|
|
80
80
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
81
|
-
exports.
|
|
81
|
+
exports.PartnerTypesApi = exports.PartnerTypesApiFactory = exports.PartnerTypesApiFp = exports.PartnerTypesApiAxiosParamCreator = void 0;
|
|
82
82
|
var axios_1 = __importDefault(require("axios"));
|
|
83
83
|
// Some imports not used depending on template conditions
|
|
84
84
|
// @ts-ignore
|
|
@@ -90,10 +90,10 @@ var base_1 = require("../base");
|
|
|
90
90
|
var url_1 = require("url");
|
|
91
91
|
var FormData = require('form-data');
|
|
92
92
|
/**
|
|
93
|
-
*
|
|
93
|
+
* PartnerTypesApi - axios parameter creator
|
|
94
94
|
* @export
|
|
95
95
|
*/
|
|
96
|
-
var
|
|
96
|
+
var PartnerTypesApiAxiosParamCreator = function (configuration) {
|
|
97
97
|
var _this = this;
|
|
98
98
|
return {
|
|
99
99
|
/**
|
|
@@ -372,13 +372,13 @@ var PartnerTypeApiAxiosParamCreator = function (configuration) {
|
|
|
372
372
|
},
|
|
373
373
|
};
|
|
374
374
|
};
|
|
375
|
-
exports.
|
|
375
|
+
exports.PartnerTypesApiAxiosParamCreator = PartnerTypesApiAxiosParamCreator;
|
|
376
376
|
/**
|
|
377
|
-
*
|
|
377
|
+
* PartnerTypesApi - functional programming interface
|
|
378
378
|
* @export
|
|
379
379
|
*/
|
|
380
|
-
var
|
|
381
|
-
var localVarAxiosParamCreator = (0, exports.
|
|
380
|
+
var PartnerTypesApiFp = function (configuration) {
|
|
381
|
+
var localVarAxiosParamCreator = (0, exports.PartnerTypesApiAxiosParamCreator)(configuration);
|
|
382
382
|
return {
|
|
383
383
|
/**
|
|
384
384
|
* This will create a partner type.
|
|
@@ -495,13 +495,13 @@ var PartnerTypeApiFp = function (configuration) {
|
|
|
495
495
|
},
|
|
496
496
|
};
|
|
497
497
|
};
|
|
498
|
-
exports.
|
|
498
|
+
exports.PartnerTypesApiFp = PartnerTypesApiFp;
|
|
499
499
|
/**
|
|
500
|
-
*
|
|
500
|
+
* PartnerTypesApi - factory interface
|
|
501
501
|
* @export
|
|
502
502
|
*/
|
|
503
|
-
var
|
|
504
|
-
var localVarFp = (0, exports.
|
|
503
|
+
var PartnerTypesApiFactory = function (configuration, basePath, axios) {
|
|
504
|
+
var localVarFp = (0, exports.PartnerTypesApiFp)(configuration);
|
|
505
505
|
return {
|
|
506
506
|
/**
|
|
507
507
|
* This will create a partner type.
|
|
@@ -568,79 +568,79 @@ var PartnerTypeApiFactory = function (configuration, basePath, axios) {
|
|
|
568
568
|
},
|
|
569
569
|
};
|
|
570
570
|
};
|
|
571
|
-
exports.
|
|
571
|
+
exports.PartnerTypesApiFactory = PartnerTypesApiFactory;
|
|
572
572
|
/**
|
|
573
|
-
*
|
|
573
|
+
* PartnerTypesApi - object-oriented interface
|
|
574
574
|
* @export
|
|
575
|
-
* @class
|
|
575
|
+
* @class PartnerTypesApi
|
|
576
576
|
* @extends {BaseAPI}
|
|
577
577
|
*/
|
|
578
|
-
var
|
|
579
|
-
__extends(
|
|
580
|
-
function
|
|
578
|
+
var PartnerTypesApi = /** @class */ (function (_super) {
|
|
579
|
+
__extends(PartnerTypesApi, _super);
|
|
580
|
+
function PartnerTypesApi() {
|
|
581
581
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
582
582
|
}
|
|
583
583
|
/**
|
|
584
584
|
* This will create a partner type.
|
|
585
585
|
* @summary Create the partner-types
|
|
586
|
-
* @param {
|
|
586
|
+
* @param {PartnerTypesApiCreatePartnerTypeRequest} requestParameters Request parameters.
|
|
587
587
|
* @param {*} [options] Override http request option.
|
|
588
588
|
* @throws {RequiredError}
|
|
589
|
-
* @memberof
|
|
589
|
+
* @memberof PartnerTypesApi
|
|
590
590
|
*/
|
|
591
|
-
|
|
591
|
+
PartnerTypesApi.prototype.createPartnerType = function (requestParameters, options) {
|
|
592
592
|
var _this = this;
|
|
593
|
-
return (0, exports.
|
|
593
|
+
return (0, exports.PartnerTypesApiFp)(this.configuration).createPartnerType(requestParameters.createPartnerTypeRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
594
594
|
};
|
|
595
595
|
/**
|
|
596
596
|
* Permanently deletes the partner-types. Supply the unique code that was returned when you created the partner-types and this will delete it.
|
|
597
597
|
* @summary Delete the partner-types
|
|
598
|
-
* @param {
|
|
598
|
+
* @param {PartnerTypesApiDeletePartnerTypeRequest} requestParameters Request parameters.
|
|
599
599
|
* @param {*} [options] Override http request option.
|
|
600
600
|
* @throws {RequiredError}
|
|
601
|
-
* @memberof
|
|
601
|
+
* @memberof PartnerTypesApi
|
|
602
602
|
*/
|
|
603
|
-
|
|
603
|
+
PartnerTypesApi.prototype.deletePartnerType = function (requestParameters, options) {
|
|
604
604
|
var _this = this;
|
|
605
|
-
return (0, exports.
|
|
605
|
+
return (0, exports.PartnerTypesApiFp)(this.configuration).deletePartnerType(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
606
606
|
};
|
|
607
607
|
/**
|
|
608
608
|
* Retrieves the details of the partner-types that was previously created. Supply the unique partner-types code that was returned when you created it and Emil Api will return the corresponding partner-types information.
|
|
609
609
|
* @summary Retrieve the partner-types
|
|
610
|
-
* @param {
|
|
610
|
+
* @param {PartnerTypesApiGetPartnerTypeRequest} requestParameters Request parameters.
|
|
611
611
|
* @param {*} [options] Override http request option.
|
|
612
612
|
* @throws {RequiredError}
|
|
613
|
-
* @memberof
|
|
613
|
+
* @memberof PartnerTypesApi
|
|
614
614
|
*/
|
|
615
|
-
|
|
615
|
+
PartnerTypesApi.prototype.getPartnerType = function (requestParameters, options) {
|
|
616
616
|
var _this = this;
|
|
617
|
-
return (0, exports.
|
|
617
|
+
return (0, exports.PartnerTypesApiFp)(this.configuration).getPartnerType(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
618
618
|
};
|
|
619
619
|
/**
|
|
620
620
|
* Returns a list of partner-types you have previously created. The partner-types are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
621
621
|
* @summary List partner-types
|
|
622
|
-
* @param {
|
|
622
|
+
* @param {PartnerTypesApiListPartnerTypesRequest} requestParameters Request parameters.
|
|
623
623
|
* @param {*} [options] Override http request option.
|
|
624
624
|
* @throws {RequiredError}
|
|
625
|
-
* @memberof
|
|
625
|
+
* @memberof PartnerTypesApi
|
|
626
626
|
*/
|
|
627
|
-
|
|
627
|
+
PartnerTypesApi.prototype.listPartnerTypes = function (requestParameters, options) {
|
|
628
628
|
var _this = this;
|
|
629
629
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
630
|
-
return (0, exports.
|
|
630
|
+
return (0, exports.PartnerTypesApiFp)(this.configuration).listPartnerTypes(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
631
631
|
};
|
|
632
632
|
/**
|
|
633
633
|
* Updates the specified partner-types by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
634
634
|
* @summary Update the partner-types
|
|
635
|
-
* @param {
|
|
635
|
+
* @param {PartnerTypesApiUpdatePartnerTypeRequest} requestParameters Request parameters.
|
|
636
636
|
* @param {*} [options] Override http request option.
|
|
637
637
|
* @throws {RequiredError}
|
|
638
|
-
* @memberof
|
|
638
|
+
* @memberof PartnerTypesApi
|
|
639
639
|
*/
|
|
640
|
-
|
|
640
|
+
PartnerTypesApi.prototype.updatePartnerType = function (requestParameters, options) {
|
|
641
641
|
var _this = this;
|
|
642
|
-
return (0, exports.
|
|
642
|
+
return (0, exports.PartnerTypesApiFp)(this.configuration).updatePartnerType(requestParameters.code, requestParameters.updatePartnerTypeRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
643
643
|
};
|
|
644
|
-
return
|
|
644
|
+
return PartnerTypesApi;
|
|
645
645
|
}(base_1.BaseAPI));
|
|
646
|
-
exports.
|
|
646
|
+
exports.PartnerTypesApi = PartnerTypesApi;
|
|
@@ -15,10 +15,10 @@ import { RequestArgs, BaseAPI } from '../base';
|
|
|
15
15
|
import { GetPartnerVersionResponseClass } from '../models';
|
|
16
16
|
import { ListPartnerVersionsResponseClass } from '../models';
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* PartnerVersionsApi - axios parameter creator
|
|
19
19
|
* @export
|
|
20
20
|
*/
|
|
21
|
-
export declare const
|
|
21
|
+
export declare const PartnerVersionsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
22
22
|
/**
|
|
23
23
|
* Retrieve a partner version by providing partner code and version number
|
|
24
24
|
* @summary Retrieve the partner version
|
|
@@ -47,10 +47,10 @@ export declare const PartnerVersionApiAxiosParamCreator: (configuration?: Config
|
|
|
47
47
|
listPartnerVersion: (code: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
48
48
|
};
|
|
49
49
|
/**
|
|
50
|
-
*
|
|
50
|
+
* PartnerVersionsApi - functional programming interface
|
|
51
51
|
* @export
|
|
52
52
|
*/
|
|
53
|
-
export declare const
|
|
53
|
+
export declare const PartnerVersionsApiFp: (configuration?: Configuration) => {
|
|
54
54
|
/**
|
|
55
55
|
* Retrieve a partner version by providing partner code and version number
|
|
56
56
|
* @summary Retrieve the partner version
|
|
@@ -79,10 +79,10 @@ export declare const PartnerVersionApiFp: (configuration?: Configuration) => {
|
|
|
79
79
|
listPartnerVersion(code: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPartnerVersionsResponseClass>>;
|
|
80
80
|
};
|
|
81
81
|
/**
|
|
82
|
-
*
|
|
82
|
+
* PartnerVersionsApi - factory interface
|
|
83
83
|
* @export
|
|
84
84
|
*/
|
|
85
|
-
export declare const
|
|
85
|
+
export declare const PartnerVersionsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
86
86
|
/**
|
|
87
87
|
* Retrieve a partner version by providing partner code and version number
|
|
88
88
|
* @summary Retrieve the partner version
|
|
@@ -111,114 +111,114 @@ export declare const PartnerVersionApiFactory: (configuration?: Configuration, b
|
|
|
111
111
|
listPartnerVersion(code: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListPartnerVersionsResponseClass>;
|
|
112
112
|
};
|
|
113
113
|
/**
|
|
114
|
-
* Request parameters for getPartnerVersion operation in
|
|
114
|
+
* Request parameters for getPartnerVersion operation in PartnerVersionsApi.
|
|
115
115
|
* @export
|
|
116
|
-
* @interface
|
|
116
|
+
* @interface PartnerVersionsApiGetPartnerVersionRequest
|
|
117
117
|
*/
|
|
118
|
-
export interface
|
|
118
|
+
export interface PartnerVersionsApiGetPartnerVersionRequest {
|
|
119
119
|
/**
|
|
120
120
|
* Unique identifier for the object.
|
|
121
121
|
* @type {string}
|
|
122
|
-
* @memberof
|
|
122
|
+
* @memberof PartnerVersionsApiGetPartnerVersion
|
|
123
123
|
*/
|
|
124
124
|
readonly code: string;
|
|
125
125
|
/**
|
|
126
126
|
*
|
|
127
127
|
* @type {number}
|
|
128
|
-
* @memberof
|
|
128
|
+
* @memberof PartnerVersionsApiGetPartnerVersion
|
|
129
129
|
*/
|
|
130
130
|
readonly version: number;
|
|
131
131
|
/**
|
|
132
132
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
133
133
|
* @type {string}
|
|
134
|
-
* @memberof
|
|
134
|
+
* @memberof PartnerVersionsApiGetPartnerVersion
|
|
135
135
|
*/
|
|
136
136
|
readonly authorization?: string;
|
|
137
137
|
}
|
|
138
138
|
/**
|
|
139
|
-
* Request parameters for listPartnerVersion operation in
|
|
139
|
+
* Request parameters for listPartnerVersion operation in PartnerVersionsApi.
|
|
140
140
|
* @export
|
|
141
|
-
* @interface
|
|
141
|
+
* @interface PartnerVersionsApiListPartnerVersionRequest
|
|
142
142
|
*/
|
|
143
|
-
export interface
|
|
143
|
+
export interface PartnerVersionsApiListPartnerVersionRequest {
|
|
144
144
|
/**
|
|
145
145
|
*
|
|
146
146
|
* @type {string}
|
|
147
|
-
* @memberof
|
|
147
|
+
* @memberof PartnerVersionsApiListPartnerVersion
|
|
148
148
|
*/
|
|
149
149
|
readonly code: string;
|
|
150
150
|
/**
|
|
151
151
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
152
152
|
* @type {string}
|
|
153
|
-
* @memberof
|
|
153
|
+
* @memberof PartnerVersionsApiListPartnerVersion
|
|
154
154
|
*/
|
|
155
155
|
readonly authorization?: string;
|
|
156
156
|
/**
|
|
157
157
|
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
158
158
|
* @type {any}
|
|
159
|
-
* @memberof
|
|
159
|
+
* @memberof PartnerVersionsApiListPartnerVersion
|
|
160
160
|
*/
|
|
161
161
|
readonly pageSize?: any;
|
|
162
162
|
/**
|
|
163
163
|
* 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.
|
|
164
164
|
* @type {any}
|
|
165
|
-
* @memberof
|
|
165
|
+
* @memberof PartnerVersionsApiListPartnerVersion
|
|
166
166
|
*/
|
|
167
167
|
readonly pageToken?: any;
|
|
168
168
|
/**
|
|
169
169
|
* 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: code, version, displayName, updatedAt, updatedBy</i>
|
|
170
170
|
* @type {string}
|
|
171
|
-
* @memberof
|
|
171
|
+
* @memberof PartnerVersionsApiListPartnerVersion
|
|
172
172
|
*/
|
|
173
173
|
readonly filter?: string;
|
|
174
174
|
/**
|
|
175
175
|
* To search the list by any field, pass search=xxx to fetch the result.
|
|
176
176
|
* @type {any}
|
|
177
|
-
* @memberof
|
|
177
|
+
* @memberof PartnerVersionsApiListPartnerVersion
|
|
178
178
|
*/
|
|
179
179
|
readonly search?: any;
|
|
180
180
|
/**
|
|
181
181
|
* 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: displayName, createdAt, updatedAt, version</i>
|
|
182
182
|
* @type {string}
|
|
183
|
-
* @memberof
|
|
183
|
+
* @memberof PartnerVersionsApiListPartnerVersion
|
|
184
184
|
*/
|
|
185
185
|
readonly order?: string;
|
|
186
186
|
/**
|
|
187
187
|
* 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<i>
|
|
188
188
|
* @type {string}
|
|
189
|
-
* @memberof
|
|
189
|
+
* @memberof PartnerVersionsApiListPartnerVersion
|
|
190
190
|
*/
|
|
191
191
|
readonly expand?: string;
|
|
192
192
|
/**
|
|
193
193
|
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, version, displayName, updatedAt, updatedBy</i>
|
|
194
194
|
* @type {string}
|
|
195
|
-
* @memberof
|
|
195
|
+
* @memberof PartnerVersionsApiListPartnerVersion
|
|
196
196
|
*/
|
|
197
197
|
readonly filters?: string;
|
|
198
198
|
}
|
|
199
199
|
/**
|
|
200
|
-
*
|
|
200
|
+
* PartnerVersionsApi - object-oriented interface
|
|
201
201
|
* @export
|
|
202
|
-
* @class
|
|
202
|
+
* @class PartnerVersionsApi
|
|
203
203
|
* @extends {BaseAPI}
|
|
204
204
|
*/
|
|
205
|
-
export declare class
|
|
205
|
+
export declare class PartnerVersionsApi extends BaseAPI {
|
|
206
206
|
/**
|
|
207
207
|
* Retrieve a partner version by providing partner code and version number
|
|
208
208
|
* @summary Retrieve the partner version
|
|
209
|
-
* @param {
|
|
209
|
+
* @param {PartnerVersionsApiGetPartnerVersionRequest} requestParameters Request parameters.
|
|
210
210
|
* @param {*} [options] Override http request option.
|
|
211
211
|
* @throws {RequiredError}
|
|
212
|
-
* @memberof
|
|
212
|
+
* @memberof PartnerVersionsApi
|
|
213
213
|
*/
|
|
214
|
-
getPartnerVersion(requestParameters:
|
|
214
|
+
getPartnerVersion(requestParameters: PartnerVersionsApiGetPartnerVersionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPartnerVersionResponseClass, any>>;
|
|
215
215
|
/**
|
|
216
216
|
* Returns a list of partner versions you have previously created. The partner versions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
217
217
|
* @summary List partner versions
|
|
218
|
-
* @param {
|
|
218
|
+
* @param {PartnerVersionsApiListPartnerVersionRequest} requestParameters Request parameters.
|
|
219
219
|
* @param {*} [options] Override http request option.
|
|
220
220
|
* @throws {RequiredError}
|
|
221
|
-
* @memberof
|
|
221
|
+
* @memberof PartnerVersionsApi
|
|
222
222
|
*/
|
|
223
|
-
listPartnerVersion(requestParameters:
|
|
223
|
+
listPartnerVersion(requestParameters: PartnerVersionsApiListPartnerVersionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPartnerVersionsResponseClass, any>>;
|
|
224
224
|
}
|