@gewis/sudosos-client 0.0.0-develop.e05135a → 1.28.2

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 CHANGED
@@ -5605,73 +5605,6 @@ export interface TransferResponse {
5605
5605
  */
5606
5606
  'sellerPayout'?: SellerPayoutResponse;
5607
5607
  }
5608
- /**
5609
- *
5610
- * @export
5611
- * @interface TransferSummaryResponse
5612
- */
5613
- export interface TransferSummaryResponse {
5614
- /**
5615
- *
5616
- * @type {TransferAggregateResponse}
5617
- * @memberof TransferSummaryResponse
5618
- */
5619
- 'total': TransferAggregateResponse;
5620
- /**
5621
- *
5622
- * @type {TransferAggregateResponse}
5623
- * @memberof TransferSummaryResponse
5624
- */
5625
- 'deposits': TransferAggregateResponse;
5626
- /**
5627
- *
5628
- * @type {TransferAggregateResponse}
5629
- * @memberof TransferSummaryResponse
5630
- */
5631
- 'payoutRequests': TransferAggregateResponse;
5632
- /**
5633
- *
5634
- * @type {TransferAggregateResponse}
5635
- * @memberof TransferSummaryResponse
5636
- */
5637
- 'sellerPayouts': TransferAggregateResponse;
5638
- /**
5639
- *
5640
- * @type {TransferAggregateResponse}
5641
- * @memberof TransferSummaryResponse
5642
- */
5643
- 'invoices': TransferAggregateResponse;
5644
- /**
5645
- *
5646
- * @type {TransferAggregateResponse}
5647
- * @memberof TransferSummaryResponse
5648
- */
5649
- 'creditInvoices': TransferAggregateResponse;
5650
- /**
5651
- *
5652
- * @type {TransferAggregateResponse}
5653
- * @memberof TransferSummaryResponse
5654
- */
5655
- 'fines': TransferAggregateResponse;
5656
- /**
5657
- *
5658
- * @type {TransferAggregateResponse}
5659
- * @memberof TransferSummaryResponse
5660
- */
5661
- 'waivedFines': TransferAggregateResponse;
5662
- /**
5663
- *
5664
- * @type {TransferAggregateResponse}
5665
- * @memberof TransferSummaryResponse
5666
- */
5667
- 'writeOffs': TransferAggregateResponse;
5668
- /**
5669
- *
5670
- * @type {TransferAggregateResponse}
5671
- * @memberof TransferSummaryResponse
5672
- */
5673
- 'inactiveAdministrativeCosts': TransferAggregateResponse;
5674
- }
5675
5608
  /**
5676
5609
  *
5677
5610
  * @export
@@ -15047,7 +14980,7 @@ export declare const TransfersApiAxiosParamCreator: (configuration?: Configurati
15047
14980
  * @param {string} [tillDate] End date for selected transfers (exclusive)
15048
14981
  * @param {number} [fromId] Filter transfers from this user ID
15049
14982
  * @param {number} [toId] Filter transfers to this user ID
15050
- * @param {string} [category] Restrict to a specific transfer category: deposit, payoutRequest, sellerPayout, invoice, creditInvoice, fine, waivedFines, writeOff, inactiveAdministrativeCost
14983
+ * @param {string} [category] Restrict to a specific transfer category: deposit, payoutRequest, invoice, fine, waivedFines, writeOff, inactiveAdministrativeCost
15051
14984
  * @param {*} [options] Override http request option.
15052
14985
  * @throws {RequiredError}
15053
14986
  */
@@ -15060,17 +14993,6 @@ export declare const TransfersApiAxiosParamCreator: (configuration?: Configurati
15060
14993
  * @throws {RequiredError}
15061
14994
  */
15062
14995
  getTransferPdf: (id: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15063
- /**
15064
- *
15065
- * @summary Returns an aggregate breakdown of transfers for every category plus an overall total
15066
- * @param {string} [fromDate] Start date for selected transfers (inclusive)
15067
- * @param {string} [tillDate] End date for selected transfers (exclusive)
15068
- * @param {number} [fromId] Filter transfers from this user ID
15069
- * @param {number} [toId] Filter transfers to this user ID
15070
- * @param {*} [options] Override http request option.
15071
- * @throws {RequiredError}
15072
- */
15073
- getTransferSummary: (fromDate?: string, tillDate?: string, fromId?: number, toId?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15074
14996
  };
15075
14997
  /**
15076
14998
  * TransfersApi - functional programming interface
@@ -15119,7 +15041,7 @@ export declare const TransfersApiFp: (configuration?: Configuration) => {
15119
15041
  * @param {string} [tillDate] End date for selected transfers (exclusive)
15120
15042
  * @param {number} [fromId] Filter transfers from this user ID
15121
15043
  * @param {number} [toId] Filter transfers to this user ID
15122
- * @param {string} [category] Restrict to a specific transfer category: deposit, payoutRequest, sellerPayout, invoice, creditInvoice, fine, waivedFines, writeOff, inactiveAdministrativeCost
15044
+ * @param {string} [category] Restrict to a specific transfer category: deposit, payoutRequest, invoice, fine, waivedFines, writeOff, inactiveAdministrativeCost
15123
15045
  * @param {*} [options] Override http request option.
15124
15046
  * @throws {RequiredError}
15125
15047
  */
@@ -15132,17 +15054,6 @@ export declare const TransfersApiFp: (configuration?: Configuration) => {
15132
15054
  * @throws {RequiredError}
15133
15055
  */
15134
15056
  getTransferPdf(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
15135
- /**
15136
- *
15137
- * @summary Returns an aggregate breakdown of transfers for every category plus an overall total
15138
- * @param {string} [fromDate] Start date for selected transfers (inclusive)
15139
- * @param {string} [tillDate] End date for selected transfers (exclusive)
15140
- * @param {number} [fromId] Filter transfers from this user ID
15141
- * @param {number} [toId] Filter transfers to this user ID
15142
- * @param {*} [options] Override http request option.
15143
- * @throws {RequiredError}
15144
- */
15145
- getTransferSummary(fromDate?: string, tillDate?: string, fromId?: number, toId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TransferSummaryResponse>>;
15146
15057
  };
15147
15058
  /**
15148
15059
  * TransfersApi - factory interface
@@ -15197,14 +15108,6 @@ export declare const TransfersApiFactory: (configuration?: Configuration, basePa
15197
15108
  * @throws {RequiredError}
15198
15109
  */
15199
15110
  getTransferPdf(requestParameters: TransfersApiGetTransferPdfRequest, options?: RawAxiosRequestConfig): AxiosPromise<string>;
15200
- /**
15201
- *
15202
- * @summary Returns an aggregate breakdown of transfers for every category plus an overall total
15203
- * @param {TransfersApiGetTransferSummaryRequest} requestParameters Request parameters.
15204
- * @param {*} [options] Override http request option.
15205
- * @throws {RequiredError}
15206
- */
15207
- getTransferSummary(requestParameters?: TransfersApiGetTransferSummaryRequest, options?: RawAxiosRequestConfig): AxiosPromise<TransferSummaryResponse>;
15208
15111
  };
15209
15112
  /**
15210
15113
  * Request parameters for createTransfer operation in TransfersApi.
@@ -15307,7 +15210,7 @@ export interface TransfersApiGetTransferAggregateRequest {
15307
15210
  */
15308
15211
  readonly toId?: number;
15309
15212
  /**
15310
- * Restrict to a specific transfer category: deposit, payoutRequest, sellerPayout, invoice, creditInvoice, fine, waivedFines, writeOff, inactiveAdministrativeCost
15213
+ * Restrict to a specific transfer category: deposit, payoutRequest, invoice, fine, waivedFines, writeOff, inactiveAdministrativeCost
15311
15214
  * @type {string}
15312
15215
  * @memberof TransfersApiGetTransferAggregate
15313
15216
  */
@@ -15326,37 +15229,6 @@ export interface TransfersApiGetTransferPdfRequest {
15326
15229
  */
15327
15230
  readonly id: number;
15328
15231
  }
15329
- /**
15330
- * Request parameters for getTransferSummary operation in TransfersApi.
15331
- * @export
15332
- * @interface TransfersApiGetTransferSummaryRequest
15333
- */
15334
- export interface TransfersApiGetTransferSummaryRequest {
15335
- /**
15336
- * Start date for selected transfers (inclusive)
15337
- * @type {string}
15338
- * @memberof TransfersApiGetTransferSummary
15339
- */
15340
- readonly fromDate?: string;
15341
- /**
15342
- * End date for selected transfers (exclusive)
15343
- * @type {string}
15344
- * @memberof TransfersApiGetTransferSummary
15345
- */
15346
- readonly tillDate?: string;
15347
- /**
15348
- * Filter transfers from this user ID
15349
- * @type {number}
15350
- * @memberof TransfersApiGetTransferSummary
15351
- */
15352
- readonly fromId?: number;
15353
- /**
15354
- * Filter transfers to this user ID
15355
- * @type {number}
15356
- * @memberof TransfersApiGetTransferSummary
15357
- */
15358
- readonly toId?: number;
15359
- }
15360
15232
  /**
15361
15233
  * TransfersApi - object-oriented interface
15362
15234
  * @export
@@ -15418,15 +15290,6 @@ export declare class TransfersApi extends BaseAPI {
15418
15290
  * @memberof TransfersApi
15419
15291
  */
15420
15292
  getTransferPdf(requestParameters: TransfersApiGetTransferPdfRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any, {}>>;
15421
- /**
15422
- *
15423
- * @summary Returns an aggregate breakdown of transfers for every category plus an overall total
15424
- * @param {TransfersApiGetTransferSummaryRequest} requestParameters Request parameters.
15425
- * @param {*} [options] Override http request option.
15426
- * @throws {RequiredError}
15427
- * @memberof TransfersApi
15428
- */
15429
- getTransferSummary(requestParameters?: TransfersApiGetTransferSummaryRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TransferSummaryResponse, any, {}>>;
15430
15293
  }
15431
15294
  /**
15432
15295
  * UserNotificationPreferencesApi - axios parameter creator
package/dist/api.js CHANGED
@@ -11260,7 +11260,7 @@ const TransfersApiAxiosParamCreator = function (configuration) {
11260
11260
  * @param {string} [tillDate] End date for selected transfers (exclusive)
11261
11261
  * @param {number} [fromId] Filter transfers from this user ID
11262
11262
  * @param {number} [toId] Filter transfers to this user ID
11263
- * @param {string} [category] Restrict to a specific transfer category: deposit, payoutRequest, sellerPayout, invoice, creditInvoice, fine, waivedFines, writeOff, inactiveAdministrativeCost
11263
+ * @param {string} [category] Restrict to a specific transfer category: deposit, payoutRequest, invoice, fine, waivedFines, writeOff, inactiveAdministrativeCost
11264
11264
  * @param {*} [options] Override http request option.
11265
11265
  * @throws {RequiredError}
11266
11266
  */
@@ -11333,50 +11333,6 @@ const TransfersApiAxiosParamCreator = function (configuration) {
11333
11333
  options: localVarRequestOptions,
11334
11334
  };
11335
11335
  },
11336
- /**
11337
- *
11338
- * @summary Returns an aggregate breakdown of transfers for every category plus an overall total
11339
- * @param {string} [fromDate] Start date for selected transfers (inclusive)
11340
- * @param {string} [tillDate] End date for selected transfers (exclusive)
11341
- * @param {number} [fromId] Filter transfers from this user ID
11342
- * @param {number} [toId] Filter transfers to this user ID
11343
- * @param {*} [options] Override http request option.
11344
- * @throws {RequiredError}
11345
- */
11346
- getTransferSummary: async (fromDate, tillDate, fromId, toId, options = {}) => {
11347
- const localVarPath = `/transfers/summary`;
11348
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
11349
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
11350
- let baseOptions;
11351
- if (configuration) {
11352
- baseOptions = configuration.baseOptions;
11353
- }
11354
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
11355
- const localVarHeaderParameter = {};
11356
- const localVarQueryParameter = {};
11357
- // authentication JWT required
11358
- // http bearer authentication required
11359
- await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
11360
- if (fromDate !== undefined) {
11361
- localVarQueryParameter['fromDate'] = fromDate;
11362
- }
11363
- if (tillDate !== undefined) {
11364
- localVarQueryParameter['tillDate'] = tillDate;
11365
- }
11366
- if (fromId !== undefined) {
11367
- localVarQueryParameter['fromId'] = fromId;
11368
- }
11369
- if (toId !== undefined) {
11370
- localVarQueryParameter['toId'] = toId;
11371
- }
11372
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
11373
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11374
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
11375
- return {
11376
- url: (0, common_1.toPathString)(localVarUrlObj),
11377
- options: localVarRequestOptions,
11378
- };
11379
- },
11380
11336
  };
11381
11337
  };
11382
11338
  exports.TransfersApiAxiosParamCreator = TransfersApiAxiosParamCreator;
@@ -11449,7 +11405,7 @@ const TransfersApiFp = function (configuration) {
11449
11405
  * @param {string} [tillDate] End date for selected transfers (exclusive)
11450
11406
  * @param {number} [fromId] Filter transfers from this user ID
11451
11407
  * @param {number} [toId] Filter transfers to this user ID
11452
- * @param {string} [category] Restrict to a specific transfer category: deposit, payoutRequest, sellerPayout, invoice, creditInvoice, fine, waivedFines, writeOff, inactiveAdministrativeCost
11408
+ * @param {string} [category] Restrict to a specific transfer category: deposit, payoutRequest, invoice, fine, waivedFines, writeOff, inactiveAdministrativeCost
11453
11409
  * @param {*} [options] Override http request option.
11454
11410
  * @throws {RequiredError}
11455
11411
  */
@@ -11472,22 +11428,6 @@ const TransfersApiFp = function (configuration) {
11472
11428
  const operationBasePath = base_1.operationServerMap['TransfersApi.getTransferPdf']?.[index]?.url;
11473
11429
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
11474
11430
  },
11475
- /**
11476
- *
11477
- * @summary Returns an aggregate breakdown of transfers for every category plus an overall total
11478
- * @param {string} [fromDate] Start date for selected transfers (inclusive)
11479
- * @param {string} [tillDate] End date for selected transfers (exclusive)
11480
- * @param {number} [fromId] Filter transfers from this user ID
11481
- * @param {number} [toId] Filter transfers to this user ID
11482
- * @param {*} [options] Override http request option.
11483
- * @throws {RequiredError}
11484
- */
11485
- async getTransferSummary(fromDate, tillDate, fromId, toId, options) {
11486
- const localVarAxiosArgs = await localVarAxiosParamCreator.getTransferSummary(fromDate, tillDate, fromId, toId, options);
11487
- const index = configuration?.serverIndex ?? 0;
11488
- const operationBasePath = base_1.operationServerMap['TransfersApi.getTransferSummary']?.[index]?.url;
11489
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
11490
- },
11491
11431
  };
11492
11432
  };
11493
11433
  exports.TransfersApiFp = TransfersApiFp;
@@ -11558,16 +11498,6 @@ const TransfersApiFactory = function (configuration, basePath, axios) {
11558
11498
  getTransferPdf(requestParameters, options) {
11559
11499
  return localVarFp.getTransferPdf(requestParameters.id, options).then((request) => request(axios, basePath));
11560
11500
  },
11561
- /**
11562
- *
11563
- * @summary Returns an aggregate breakdown of transfers for every category plus an overall total
11564
- * @param {TransfersApiGetTransferSummaryRequest} requestParameters Request parameters.
11565
- * @param {*} [options] Override http request option.
11566
- * @throws {RequiredError}
11567
- */
11568
- getTransferSummary(requestParameters = {}, options) {
11569
- return localVarFp.getTransferSummary(requestParameters.fromDate, requestParameters.tillDate, requestParameters.fromId, requestParameters.toId, options).then((request) => request(axios, basePath));
11570
- },
11571
11501
  };
11572
11502
  };
11573
11503
  exports.TransfersApiFactory = TransfersApiFactory;
@@ -11644,17 +11574,6 @@ class TransfersApi extends base_1.BaseAPI {
11644
11574
  getTransferPdf(requestParameters, options) {
11645
11575
  return (0, exports.TransfersApiFp)(this.configuration).getTransferPdf(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
11646
11576
  }
11647
- /**
11648
- *
11649
- * @summary Returns an aggregate breakdown of transfers for every category plus an overall total
11650
- * @param {TransfersApiGetTransferSummaryRequest} requestParameters Request parameters.
11651
- * @param {*} [options] Override http request option.
11652
- * @throws {RequiredError}
11653
- * @memberof TransfersApi
11654
- */
11655
- getTransferSummary(requestParameters = {}, options) {
11656
- return (0, exports.TransfersApiFp)(this.configuration).getTransferSummary(requestParameters.fromDate, requestParameters.tillDate, requestParameters.fromId, requestParameters.toId, options).then((request) => request(this.axios, this.basePath));
11657
- }
11658
11577
  }
11659
11578
  exports.TransfersApi = TransfersApi;
11660
11579
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gewis/sudosos-client",
3
- "version": "0.0.0-develop.e05135a",
3
+ "version": "1.28.2",
4
4
  "description": "Auto-generated TypeScript-Axios client for the SudoSOS API",
5
5
  "license": "AGPL-3.0-or-later",
6
6
  "main": "dist/index.js",