@gewis/sudosos-client 0.0.0-develop.21cba1e → 0.0.0-develop.23674a9
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/dist/api.d.ts +26 -2
- package/dist/api.js +20 -5
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -15139,12 +15139,15 @@ export declare const TransfersApiAxiosParamCreator: (configuration?: Configurati
|
|
|
15139
15139
|
* @summary Returns all existing transfers
|
|
15140
15140
|
* @param {string} [fromDate] Start date for selected transfers (inclusive)
|
|
15141
15141
|
* @param {string} [tillDate] End date for selected transfers (exclusive)
|
|
15142
|
+
* @param {number} [fromId] Filter transfers from this user ID
|
|
15143
|
+
* @param {number} [toId] Filter transfers to this user ID
|
|
15144
|
+
* @param {string} [category] Restrict to a specific transfer category: deposit, payoutRequest, sellerPayout, invoice, creditInvoice, fine, waivedFines, writeOff, inactiveAdministrativeCost, manualCreation, manualDeletion
|
|
15142
15145
|
* @param {number} [take] How many transfers the endpoint should return
|
|
15143
15146
|
* @param {number} [skip] How many transfers should be skipped (for pagination)
|
|
15144
15147
|
* @param {*} [options] Override http request option.
|
|
15145
15148
|
* @throws {RequiredError}
|
|
15146
15149
|
*/
|
|
15147
|
-
getAllTransfers: (fromDate?: string, tillDate?: string, take?: number, skip?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
15150
|
+
getAllTransfers: (fromDate?: string, tillDate?: string, fromId?: number, toId?: number, category?: string, take?: number, skip?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
15148
15151
|
/**
|
|
15149
15152
|
*
|
|
15150
15153
|
* @summary Returns the requested transfer
|
|
@@ -15211,12 +15214,15 @@ export declare const TransfersApiFp: (configuration?: Configuration) => {
|
|
|
15211
15214
|
* @summary Returns all existing transfers
|
|
15212
15215
|
* @param {string} [fromDate] Start date for selected transfers (inclusive)
|
|
15213
15216
|
* @param {string} [tillDate] End date for selected transfers (exclusive)
|
|
15217
|
+
* @param {number} [fromId] Filter transfers from this user ID
|
|
15218
|
+
* @param {number} [toId] Filter transfers to this user ID
|
|
15219
|
+
* @param {string} [category] Restrict to a specific transfer category: deposit, payoutRequest, sellerPayout, invoice, creditInvoice, fine, waivedFines, writeOff, inactiveAdministrativeCost, manualCreation, manualDeletion
|
|
15214
15220
|
* @param {number} [take] How many transfers the endpoint should return
|
|
15215
15221
|
* @param {number} [skip] How many transfers should be skipped (for pagination)
|
|
15216
15222
|
* @param {*} [options] Override http request option.
|
|
15217
15223
|
* @throws {RequiredError}
|
|
15218
15224
|
*/
|
|
15219
|
-
getAllTransfers(fromDate?: string, tillDate?: string, take?: number, skip?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<TransferResponse>>>;
|
|
15225
|
+
getAllTransfers(fromDate?: string, tillDate?: string, fromId?: number, toId?: number, category?: string, take?: number, skip?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<TransferResponse>>>;
|
|
15220
15226
|
/**
|
|
15221
15227
|
*
|
|
15222
15228
|
* @summary Returns the requested transfer
|
|
@@ -15363,6 +15369,24 @@ export interface TransfersApiGetAllTransfersRequest {
|
|
|
15363
15369
|
* @memberof TransfersApiGetAllTransfers
|
|
15364
15370
|
*/
|
|
15365
15371
|
readonly tillDate?: string;
|
|
15372
|
+
/**
|
|
15373
|
+
* Filter transfers from this user ID
|
|
15374
|
+
* @type {number}
|
|
15375
|
+
* @memberof TransfersApiGetAllTransfers
|
|
15376
|
+
*/
|
|
15377
|
+
readonly fromId?: number;
|
|
15378
|
+
/**
|
|
15379
|
+
* Filter transfers to this user ID
|
|
15380
|
+
* @type {number}
|
|
15381
|
+
* @memberof TransfersApiGetAllTransfers
|
|
15382
|
+
*/
|
|
15383
|
+
readonly toId?: number;
|
|
15384
|
+
/**
|
|
15385
|
+
* Restrict to a specific transfer category: deposit, payoutRequest, sellerPayout, invoice, creditInvoice, fine, waivedFines, writeOff, inactiveAdministrativeCost, manualCreation, manualDeletion
|
|
15386
|
+
* @type {string}
|
|
15387
|
+
* @memberof TransfersApiGetAllTransfers
|
|
15388
|
+
*/
|
|
15389
|
+
readonly category?: string;
|
|
15366
15390
|
/**
|
|
15367
15391
|
* How many transfers the endpoint should return
|
|
15368
15392
|
* @type {number}
|
package/dist/api.js
CHANGED
|
@@ -11267,12 +11267,15 @@ const TransfersApiAxiosParamCreator = function (configuration) {
|
|
|
11267
11267
|
* @summary Returns all existing transfers
|
|
11268
11268
|
* @param {string} [fromDate] Start date for selected transfers (inclusive)
|
|
11269
11269
|
* @param {string} [tillDate] End date for selected transfers (exclusive)
|
|
11270
|
+
* @param {number} [fromId] Filter transfers from this user ID
|
|
11271
|
+
* @param {number} [toId] Filter transfers to this user ID
|
|
11272
|
+
* @param {string} [category] Restrict to a specific transfer category: deposit, payoutRequest, sellerPayout, invoice, creditInvoice, fine, waivedFines, writeOff, inactiveAdministrativeCost, manualCreation, manualDeletion
|
|
11270
11273
|
* @param {number} [take] How many transfers the endpoint should return
|
|
11271
11274
|
* @param {number} [skip] How many transfers should be skipped (for pagination)
|
|
11272
11275
|
* @param {*} [options] Override http request option.
|
|
11273
11276
|
* @throws {RequiredError}
|
|
11274
11277
|
*/
|
|
11275
|
-
getAllTransfers: async (fromDate, tillDate, take, skip, options = {}) => {
|
|
11278
|
+
getAllTransfers: async (fromDate, tillDate, fromId, toId, category, take, skip, options = {}) => {
|
|
11276
11279
|
const localVarPath = `/transfers`;
|
|
11277
11280
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11278
11281
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -11292,6 +11295,15 @@ const TransfersApiAxiosParamCreator = function (configuration) {
|
|
|
11292
11295
|
if (tillDate !== undefined) {
|
|
11293
11296
|
localVarQueryParameter['tillDate'] = tillDate;
|
|
11294
11297
|
}
|
|
11298
|
+
if (fromId !== undefined) {
|
|
11299
|
+
localVarQueryParameter['fromId'] = fromId;
|
|
11300
|
+
}
|
|
11301
|
+
if (toId !== undefined) {
|
|
11302
|
+
localVarQueryParameter['toId'] = toId;
|
|
11303
|
+
}
|
|
11304
|
+
if (category !== undefined) {
|
|
11305
|
+
localVarQueryParameter['category'] = category;
|
|
11306
|
+
}
|
|
11295
11307
|
if (take !== undefined) {
|
|
11296
11308
|
localVarQueryParameter['take'] = take;
|
|
11297
11309
|
}
|
|
@@ -11503,13 +11515,16 @@ const TransfersApiFp = function (configuration) {
|
|
|
11503
11515
|
* @summary Returns all existing transfers
|
|
11504
11516
|
* @param {string} [fromDate] Start date for selected transfers (inclusive)
|
|
11505
11517
|
* @param {string} [tillDate] End date for selected transfers (exclusive)
|
|
11518
|
+
* @param {number} [fromId] Filter transfers from this user ID
|
|
11519
|
+
* @param {number} [toId] Filter transfers to this user ID
|
|
11520
|
+
* @param {string} [category] Restrict to a specific transfer category: deposit, payoutRequest, sellerPayout, invoice, creditInvoice, fine, waivedFines, writeOff, inactiveAdministrativeCost, manualCreation, manualDeletion
|
|
11506
11521
|
* @param {number} [take] How many transfers the endpoint should return
|
|
11507
11522
|
* @param {number} [skip] How many transfers should be skipped (for pagination)
|
|
11508
11523
|
* @param {*} [options] Override http request option.
|
|
11509
11524
|
* @throws {RequiredError}
|
|
11510
11525
|
*/
|
|
11511
|
-
async getAllTransfers(fromDate, tillDate, take, skip, options) {
|
|
11512
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getAllTransfers(fromDate, tillDate, take, skip, options);
|
|
11526
|
+
async getAllTransfers(fromDate, tillDate, fromId, toId, category, take, skip, options) {
|
|
11527
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getAllTransfers(fromDate, tillDate, fromId, toId, category, take, skip, options);
|
|
11513
11528
|
const index = configuration?.serverIndex ?? 0;
|
|
11514
11529
|
const operationBasePath = base_1.operationServerMap['TransfersApi.getAllTransfers']?.[index]?.url;
|
|
11515
11530
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
@@ -11611,7 +11626,7 @@ const TransfersApiFactory = function (configuration, basePath, axios) {
|
|
|
11611
11626
|
* @throws {RequiredError}
|
|
11612
11627
|
*/
|
|
11613
11628
|
getAllTransfers(requestParameters = {}, options) {
|
|
11614
|
-
return localVarFp.getAllTransfers(requestParameters.fromDate, requestParameters.tillDate, requestParameters.take, requestParameters.skip, options).then((request) => request(axios, basePath));
|
|
11629
|
+
return localVarFp.getAllTransfers(requestParameters.fromDate, requestParameters.tillDate, requestParameters.fromId, requestParameters.toId, requestParameters.category, requestParameters.take, requestParameters.skip, options).then((request) => request(axios, basePath));
|
|
11615
11630
|
},
|
|
11616
11631
|
/**
|
|
11617
11632
|
*
|
|
@@ -11694,7 +11709,7 @@ class TransfersApi extends base_1.BaseAPI {
|
|
|
11694
11709
|
* @memberof TransfersApi
|
|
11695
11710
|
*/
|
|
11696
11711
|
getAllTransfers(requestParameters = {}, options) {
|
|
11697
|
-
return (0, exports.TransfersApiFp)(this.configuration).getAllTransfers(requestParameters.fromDate, requestParameters.tillDate, requestParameters.take, requestParameters.skip, options).then((request) => request(this.axios, this.basePath));
|
|
11712
|
+
return (0, exports.TransfersApiFp)(this.configuration).getAllTransfers(requestParameters.fromDate, requestParameters.tillDate, requestParameters.fromId, requestParameters.toId, requestParameters.category, requestParameters.take, requestParameters.skip, options).then((request) => request(this.axios, this.basePath));
|
|
11698
11713
|
}
|
|
11699
11714
|
/**
|
|
11700
11715
|
*
|
package/package.json
CHANGED