@gewis/sudosos-client 1.28.2 → 1.29.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/dist/api.d.ts +243 -7
- package/dist/api.js +152 -7
- package/dist/common.d.ts +1 -1
- package/package.json +2 -2
package/dist/api.d.ts
CHANGED
|
@@ -1683,11 +1683,11 @@ export interface CreateContainerRequest {
|
|
|
1683
1683
|
*/
|
|
1684
1684
|
'public': boolean;
|
|
1685
1685
|
/**
|
|
1686
|
-
* Id of the
|
|
1686
|
+
* Id of the organ that will own the container
|
|
1687
1687
|
* @type {number}
|
|
1688
1688
|
* @memberof CreateContainerRequest
|
|
1689
1689
|
*/
|
|
1690
|
-
'ownerId'
|
|
1690
|
+
'ownerId': number;
|
|
1691
1691
|
}
|
|
1692
1692
|
/**
|
|
1693
1693
|
*
|
|
@@ -2724,6 +2724,37 @@ export interface InactiveAdministrativeCostResponse {
|
|
|
2724
2724
|
*/
|
|
2725
2725
|
'transfer': TransferResponse;
|
|
2726
2726
|
}
|
|
2727
|
+
/**
|
|
2728
|
+
*
|
|
2729
|
+
* @export
|
|
2730
|
+
* @interface InvoiceDriftResponse
|
|
2731
|
+
*/
|
|
2732
|
+
export interface InvoiceDriftResponse {
|
|
2733
|
+
/**
|
|
2734
|
+
*
|
|
2735
|
+
* @type {BaseInvoiceResponse}
|
|
2736
|
+
* @memberof InvoiceDriftResponse
|
|
2737
|
+
*/
|
|
2738
|
+
'invoice': BaseInvoiceResponse;
|
|
2739
|
+
/**
|
|
2740
|
+
*
|
|
2741
|
+
* @type {DineroObjectResponse}
|
|
2742
|
+
* @memberof InvoiceDriftResponse
|
|
2743
|
+
*/
|
|
2744
|
+
'actualAmount': DineroObjectResponse;
|
|
2745
|
+
/**
|
|
2746
|
+
*
|
|
2747
|
+
* @type {DineroObjectResponse}
|
|
2748
|
+
* @memberof InvoiceDriftResponse
|
|
2749
|
+
*/
|
|
2750
|
+
'expectedAmount': DineroObjectResponse;
|
|
2751
|
+
/**
|
|
2752
|
+
*
|
|
2753
|
+
* @type {DineroObjectResponse}
|
|
2754
|
+
* @memberof InvoiceDriftResponse
|
|
2755
|
+
*/
|
|
2756
|
+
'deltaAmount': DineroObjectResponse;
|
|
2757
|
+
}
|
|
2727
2758
|
/**
|
|
2728
2759
|
*
|
|
2729
2760
|
* @export
|
|
@@ -5605,6 +5636,85 @@ export interface TransferResponse {
|
|
|
5605
5636
|
*/
|
|
5606
5637
|
'sellerPayout'?: SellerPayoutResponse;
|
|
5607
5638
|
}
|
|
5639
|
+
/**
|
|
5640
|
+
*
|
|
5641
|
+
* @export
|
|
5642
|
+
* @interface TransferSummaryResponse
|
|
5643
|
+
*/
|
|
5644
|
+
export interface TransferSummaryResponse {
|
|
5645
|
+
/**
|
|
5646
|
+
*
|
|
5647
|
+
* @type {TransferAggregateResponse}
|
|
5648
|
+
* @memberof TransferSummaryResponse
|
|
5649
|
+
*/
|
|
5650
|
+
'total': TransferAggregateResponse;
|
|
5651
|
+
/**
|
|
5652
|
+
*
|
|
5653
|
+
* @type {TransferAggregateResponse}
|
|
5654
|
+
* @memberof TransferSummaryResponse
|
|
5655
|
+
*/
|
|
5656
|
+
'deposits': TransferAggregateResponse;
|
|
5657
|
+
/**
|
|
5658
|
+
*
|
|
5659
|
+
* @type {TransferAggregateResponse}
|
|
5660
|
+
* @memberof TransferSummaryResponse
|
|
5661
|
+
*/
|
|
5662
|
+
'payoutRequests': TransferAggregateResponse;
|
|
5663
|
+
/**
|
|
5664
|
+
*
|
|
5665
|
+
* @type {TransferAggregateResponse}
|
|
5666
|
+
* @memberof TransferSummaryResponse
|
|
5667
|
+
*/
|
|
5668
|
+
'sellerPayouts': TransferAggregateResponse;
|
|
5669
|
+
/**
|
|
5670
|
+
*
|
|
5671
|
+
* @type {TransferAggregateResponse}
|
|
5672
|
+
* @memberof TransferSummaryResponse
|
|
5673
|
+
*/
|
|
5674
|
+
'invoices': TransferAggregateResponse;
|
|
5675
|
+
/**
|
|
5676
|
+
*
|
|
5677
|
+
* @type {TransferAggregateResponse}
|
|
5678
|
+
* @memberof TransferSummaryResponse
|
|
5679
|
+
*/
|
|
5680
|
+
'creditInvoices': TransferAggregateResponse;
|
|
5681
|
+
/**
|
|
5682
|
+
*
|
|
5683
|
+
* @type {TransferAggregateResponse}
|
|
5684
|
+
* @memberof TransferSummaryResponse
|
|
5685
|
+
*/
|
|
5686
|
+
'fines': TransferAggregateResponse;
|
|
5687
|
+
/**
|
|
5688
|
+
*
|
|
5689
|
+
* @type {TransferAggregateResponse}
|
|
5690
|
+
* @memberof TransferSummaryResponse
|
|
5691
|
+
*/
|
|
5692
|
+
'waivedFines': TransferAggregateResponse;
|
|
5693
|
+
/**
|
|
5694
|
+
*
|
|
5695
|
+
* @type {TransferAggregateResponse}
|
|
5696
|
+
* @memberof TransferSummaryResponse
|
|
5697
|
+
*/
|
|
5698
|
+
'writeOffs': TransferAggregateResponse;
|
|
5699
|
+
/**
|
|
5700
|
+
*
|
|
5701
|
+
* @type {TransferAggregateResponse}
|
|
5702
|
+
* @memberof TransferSummaryResponse
|
|
5703
|
+
*/
|
|
5704
|
+
'inactiveAdministrativeCosts': TransferAggregateResponse;
|
|
5705
|
+
/**
|
|
5706
|
+
*
|
|
5707
|
+
* @type {TransferAggregateResponse}
|
|
5708
|
+
* @memberof TransferSummaryResponse
|
|
5709
|
+
*/
|
|
5710
|
+
'manualCreations': TransferAggregateResponse;
|
|
5711
|
+
/**
|
|
5712
|
+
*
|
|
5713
|
+
* @type {TransferAggregateResponse}
|
|
5714
|
+
* @memberof TransferSummaryResponse
|
|
5715
|
+
*/
|
|
5716
|
+
'manualDeletions': TransferAggregateResponse;
|
|
5717
|
+
}
|
|
5608
5718
|
/**
|
|
5609
5719
|
*
|
|
5610
5720
|
* @export
|
|
@@ -6418,6 +6528,25 @@ export interface UserWithIndex {
|
|
|
6418
6528
|
*/
|
|
6419
6529
|
'index': number;
|
|
6420
6530
|
}
|
|
6531
|
+
/**
|
|
6532
|
+
*
|
|
6533
|
+
* @export
|
|
6534
|
+
* @interface ValidationResponse
|
|
6535
|
+
*/
|
|
6536
|
+
export interface ValidationResponse {
|
|
6537
|
+
/**
|
|
6538
|
+
* Whether the request passed validation.
|
|
6539
|
+
* @type {boolean}
|
|
6540
|
+
* @memberof ValidationResponse
|
|
6541
|
+
*/
|
|
6542
|
+
'valid': boolean;
|
|
6543
|
+
/**
|
|
6544
|
+
* List of validation error messages.
|
|
6545
|
+
* @type {Array<string>}
|
|
6546
|
+
* @memberof ValidationResponse
|
|
6547
|
+
*/
|
|
6548
|
+
'errors': Array<string>;
|
|
6549
|
+
}
|
|
6421
6550
|
/**
|
|
6422
6551
|
*
|
|
6423
6552
|
* @export
|
|
@@ -11031,12 +11160,13 @@ export declare const InvoicesApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
11031
11160
|
* @param {boolean} [returnEntries] Boolean if invoice entries should be returned
|
|
11032
11161
|
* @param {string} [fromDate] Start date for selected invoices (inclusive)
|
|
11033
11162
|
* @param {string} [tillDate] End date for selected invoices (exclusive)
|
|
11163
|
+
* @param {string} [description] Filter invoices by description (partial match)
|
|
11034
11164
|
* @param {number} [take] How many entries the endpoint should return
|
|
11035
11165
|
* @param {number} [skip] How many entries should be skipped (for pagination)
|
|
11036
11166
|
* @param {*} [options] Override http request option.
|
|
11037
11167
|
* @throws {RequiredError}
|
|
11038
11168
|
*/
|
|
11039
|
-
getAllInvoices: (toId?: number, invoiceId?: number, currentState?: GetAllInvoicesCurrentStateEnum, returnEntries?: boolean, fromDate?: string, tillDate?: string, take?: number, skip?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
11169
|
+
getAllInvoices: (toId?: number, invoiceId?: number, currentState?: GetAllInvoicesCurrentStateEnum, returnEntries?: boolean, fromDate?: string, tillDate?: string, description?: string, take?: number, skip?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
11040
11170
|
/**
|
|
11041
11171
|
*
|
|
11042
11172
|
* @summary Get eligible transactions for invoice creation.
|
|
@@ -11047,6 +11177,13 @@ export declare const InvoicesApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
11047
11177
|
* @throws {RequiredError}
|
|
11048
11178
|
*/
|
|
11049
11179
|
getEligibleTransactions: (forId: number, fromDate: string, tillDate?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
11180
|
+
/**
|
|
11181
|
+
*
|
|
11182
|
+
* @summary Returns all invoices with transfer amount drift: for active invoices transfer != row sum; for deleted invoices transfer != credit transfer.
|
|
11183
|
+
* @param {*} [options] Override http request option.
|
|
11184
|
+
* @throws {RequiredError}
|
|
11185
|
+
*/
|
|
11186
|
+
getInvoiceDrift: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
11050
11187
|
/**
|
|
11051
11188
|
*
|
|
11052
11189
|
* @summary Get an invoice pdf.
|
|
@@ -11130,12 +11267,13 @@ export declare const InvoicesApiFp: (configuration?: Configuration) => {
|
|
|
11130
11267
|
* @param {boolean} [returnEntries] Boolean if invoice entries should be returned
|
|
11131
11268
|
* @param {string} [fromDate] Start date for selected invoices (inclusive)
|
|
11132
11269
|
* @param {string} [tillDate] End date for selected invoices (exclusive)
|
|
11270
|
+
* @param {string} [description] Filter invoices by description (partial match)
|
|
11133
11271
|
* @param {number} [take] How many entries the endpoint should return
|
|
11134
11272
|
* @param {number} [skip] How many entries should be skipped (for pagination)
|
|
11135
11273
|
* @param {*} [options] Override http request option.
|
|
11136
11274
|
* @throws {RequiredError}
|
|
11137
11275
|
*/
|
|
11138
|
-
getAllInvoices(toId?: number, invoiceId?: number, currentState?: GetAllInvoicesCurrentStateEnum, returnEntries?: boolean, fromDate?: string, tillDate?: string, take?: number, skip?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginatedInvoiceResponse>>;
|
|
11276
|
+
getAllInvoices(toId?: number, invoiceId?: number, currentState?: GetAllInvoicesCurrentStateEnum, returnEntries?: boolean, fromDate?: string, tillDate?: string, description?: string, take?: number, skip?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginatedInvoiceResponse>>;
|
|
11139
11277
|
/**
|
|
11140
11278
|
*
|
|
11141
11279
|
* @summary Get eligible transactions for invoice creation.
|
|
@@ -11146,6 +11284,13 @@ export declare const InvoicesApiFp: (configuration?: Configuration) => {
|
|
|
11146
11284
|
* @throws {RequiredError}
|
|
11147
11285
|
*/
|
|
11148
11286
|
getEligibleTransactions(forId: number, fromDate: string, tillDate?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TransactionResponse>>;
|
|
11287
|
+
/**
|
|
11288
|
+
*
|
|
11289
|
+
* @summary Returns all invoices with transfer amount drift: for active invoices transfer != row sum; for deleted invoices transfer != credit transfer.
|
|
11290
|
+
* @param {*} [options] Override http request option.
|
|
11291
|
+
* @throws {RequiredError}
|
|
11292
|
+
*/
|
|
11293
|
+
getInvoiceDrift(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<InvoiceDriftResponse>>>;
|
|
11149
11294
|
/**
|
|
11150
11295
|
*
|
|
11151
11296
|
* @summary Get an invoice pdf.
|
|
@@ -11236,6 +11381,13 @@ export declare const InvoicesApiFactory: (configuration?: Configuration, basePat
|
|
|
11236
11381
|
* @throws {RequiredError}
|
|
11237
11382
|
*/
|
|
11238
11383
|
getEligibleTransactions(requestParameters: InvoicesApiGetEligibleTransactionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<TransactionResponse>;
|
|
11384
|
+
/**
|
|
11385
|
+
*
|
|
11386
|
+
* @summary Returns all invoices with transfer amount drift: for active invoices transfer != row sum; for deleted invoices transfer != credit transfer.
|
|
11387
|
+
* @param {*} [options] Override http request option.
|
|
11388
|
+
* @throws {RequiredError}
|
|
11389
|
+
*/
|
|
11390
|
+
getInvoiceDrift(options?: RawAxiosRequestConfig): AxiosPromise<Array<InvoiceDriftResponse>>;
|
|
11239
11391
|
/**
|
|
11240
11392
|
*
|
|
11241
11393
|
* @summary Get an invoice pdf.
|
|
@@ -11358,6 +11510,12 @@ export interface InvoicesApiGetAllInvoicesRequest {
|
|
|
11358
11510
|
* @memberof InvoicesApiGetAllInvoices
|
|
11359
11511
|
*/
|
|
11360
11512
|
readonly tillDate?: string;
|
|
11513
|
+
/**
|
|
11514
|
+
* Filter invoices by description (partial match)
|
|
11515
|
+
* @type {string}
|
|
11516
|
+
* @memberof InvoicesApiGetAllInvoices
|
|
11517
|
+
*/
|
|
11518
|
+
readonly description?: string;
|
|
11361
11519
|
/**
|
|
11362
11520
|
* How many entries the endpoint should return
|
|
11363
11521
|
* @type {number}
|
|
@@ -11537,6 +11695,14 @@ export declare class InvoicesApi extends BaseAPI {
|
|
|
11537
11695
|
* @memberof InvoicesApi
|
|
11538
11696
|
*/
|
|
11539
11697
|
getEligibleTransactions(requestParameters: InvoicesApiGetEligibleTransactionsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TransactionResponse, any, {}>>;
|
|
11698
|
+
/**
|
|
11699
|
+
*
|
|
11700
|
+
* @summary Returns all invoices with transfer amount drift: for active invoices transfer != row sum; for deleted invoices transfer != credit transfer.
|
|
11701
|
+
* @param {*} [options] Override http request option.
|
|
11702
|
+
* @throws {RequiredError}
|
|
11703
|
+
* @memberof InvoicesApi
|
|
11704
|
+
*/
|
|
11705
|
+
getInvoiceDrift(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<InvoiceDriftResponse[], any, {}>>;
|
|
11540
11706
|
/**
|
|
11541
11707
|
*
|
|
11542
11708
|
* @summary Get an invoice pdf.
|
|
@@ -14980,7 +15146,7 @@ export declare const TransfersApiAxiosParamCreator: (configuration?: Configurati
|
|
|
14980
15146
|
* @param {string} [tillDate] End date for selected transfers (exclusive)
|
|
14981
15147
|
* @param {number} [fromId] Filter transfers from this user ID
|
|
14982
15148
|
* @param {number} [toId] Filter transfers to this user ID
|
|
14983
|
-
* @param {string} [category] Restrict to a specific transfer category: deposit, payoutRequest, invoice, fine, waivedFines, writeOff, inactiveAdministrativeCost
|
|
15149
|
+
* @param {string} [category] Restrict to a specific transfer category: deposit, payoutRequest, sellerPayout, invoice, creditInvoice, fine, waivedFines, writeOff, inactiveAdministrativeCost
|
|
14984
15150
|
* @param {*} [options] Override http request option.
|
|
14985
15151
|
* @throws {RequiredError}
|
|
14986
15152
|
*/
|
|
@@ -14993,6 +15159,17 @@ export declare const TransfersApiAxiosParamCreator: (configuration?: Configurati
|
|
|
14993
15159
|
* @throws {RequiredError}
|
|
14994
15160
|
*/
|
|
14995
15161
|
getTransferPdf: (id: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
15162
|
+
/**
|
|
15163
|
+
*
|
|
15164
|
+
* @summary Returns an aggregate breakdown of transfers for every category plus an overall total
|
|
15165
|
+
* @param {string} [fromDate] Start date for selected transfers (inclusive)
|
|
15166
|
+
* @param {string} [tillDate] End date for selected transfers (exclusive)
|
|
15167
|
+
* @param {number} [fromId] Filter transfers from this user ID
|
|
15168
|
+
* @param {number} [toId] Filter transfers to this user ID
|
|
15169
|
+
* @param {*} [options] Override http request option.
|
|
15170
|
+
* @throws {RequiredError}
|
|
15171
|
+
*/
|
|
15172
|
+
getTransferSummary: (fromDate?: string, tillDate?: string, fromId?: number, toId?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
14996
15173
|
};
|
|
14997
15174
|
/**
|
|
14998
15175
|
* TransfersApi - functional programming interface
|
|
@@ -15041,7 +15218,7 @@ export declare const TransfersApiFp: (configuration?: Configuration) => {
|
|
|
15041
15218
|
* @param {string} [tillDate] End date for selected transfers (exclusive)
|
|
15042
15219
|
* @param {number} [fromId] Filter transfers from this user ID
|
|
15043
15220
|
* @param {number} [toId] Filter transfers to this user ID
|
|
15044
|
-
* @param {string} [category] Restrict to a specific transfer category: deposit, payoutRequest, invoice, fine, waivedFines, writeOff, inactiveAdministrativeCost
|
|
15221
|
+
* @param {string} [category] Restrict to a specific transfer category: deposit, payoutRequest, sellerPayout, invoice, creditInvoice, fine, waivedFines, writeOff, inactiveAdministrativeCost
|
|
15045
15222
|
* @param {*} [options] Override http request option.
|
|
15046
15223
|
* @throws {RequiredError}
|
|
15047
15224
|
*/
|
|
@@ -15054,6 +15231,17 @@ export declare const TransfersApiFp: (configuration?: Configuration) => {
|
|
|
15054
15231
|
* @throws {RequiredError}
|
|
15055
15232
|
*/
|
|
15056
15233
|
getTransferPdf(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
|
|
15234
|
+
/**
|
|
15235
|
+
*
|
|
15236
|
+
* @summary Returns an aggregate breakdown of transfers for every category plus an overall total
|
|
15237
|
+
* @param {string} [fromDate] Start date for selected transfers (inclusive)
|
|
15238
|
+
* @param {string} [tillDate] End date for selected transfers (exclusive)
|
|
15239
|
+
* @param {number} [fromId] Filter transfers from this user ID
|
|
15240
|
+
* @param {number} [toId] Filter transfers to this user ID
|
|
15241
|
+
* @param {*} [options] Override http request option.
|
|
15242
|
+
* @throws {RequiredError}
|
|
15243
|
+
*/
|
|
15244
|
+
getTransferSummary(fromDate?: string, tillDate?: string, fromId?: number, toId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TransferSummaryResponse>>;
|
|
15057
15245
|
};
|
|
15058
15246
|
/**
|
|
15059
15247
|
* TransfersApi - factory interface
|
|
@@ -15108,6 +15296,14 @@ export declare const TransfersApiFactory: (configuration?: Configuration, basePa
|
|
|
15108
15296
|
* @throws {RequiredError}
|
|
15109
15297
|
*/
|
|
15110
15298
|
getTransferPdf(requestParameters: TransfersApiGetTransferPdfRequest, options?: RawAxiosRequestConfig): AxiosPromise<string>;
|
|
15299
|
+
/**
|
|
15300
|
+
*
|
|
15301
|
+
* @summary Returns an aggregate breakdown of transfers for every category plus an overall total
|
|
15302
|
+
* @param {TransfersApiGetTransferSummaryRequest} requestParameters Request parameters.
|
|
15303
|
+
* @param {*} [options] Override http request option.
|
|
15304
|
+
* @throws {RequiredError}
|
|
15305
|
+
*/
|
|
15306
|
+
getTransferSummary(requestParameters?: TransfersApiGetTransferSummaryRequest, options?: RawAxiosRequestConfig): AxiosPromise<TransferSummaryResponse>;
|
|
15111
15307
|
};
|
|
15112
15308
|
/**
|
|
15113
15309
|
* Request parameters for createTransfer operation in TransfersApi.
|
|
@@ -15210,7 +15406,7 @@ export interface TransfersApiGetTransferAggregateRequest {
|
|
|
15210
15406
|
*/
|
|
15211
15407
|
readonly toId?: number;
|
|
15212
15408
|
/**
|
|
15213
|
-
* Restrict to a specific transfer category: deposit, payoutRequest, invoice, fine, waivedFines, writeOff, inactiveAdministrativeCost
|
|
15409
|
+
* Restrict to a specific transfer category: deposit, payoutRequest, sellerPayout, invoice, creditInvoice, fine, waivedFines, writeOff, inactiveAdministrativeCost
|
|
15214
15410
|
* @type {string}
|
|
15215
15411
|
* @memberof TransfersApiGetTransferAggregate
|
|
15216
15412
|
*/
|
|
@@ -15229,6 +15425,37 @@ export interface TransfersApiGetTransferPdfRequest {
|
|
|
15229
15425
|
*/
|
|
15230
15426
|
readonly id: number;
|
|
15231
15427
|
}
|
|
15428
|
+
/**
|
|
15429
|
+
* Request parameters for getTransferSummary operation in TransfersApi.
|
|
15430
|
+
* @export
|
|
15431
|
+
* @interface TransfersApiGetTransferSummaryRequest
|
|
15432
|
+
*/
|
|
15433
|
+
export interface TransfersApiGetTransferSummaryRequest {
|
|
15434
|
+
/**
|
|
15435
|
+
* Start date for selected transfers (inclusive)
|
|
15436
|
+
* @type {string}
|
|
15437
|
+
* @memberof TransfersApiGetTransferSummary
|
|
15438
|
+
*/
|
|
15439
|
+
readonly fromDate?: string;
|
|
15440
|
+
/**
|
|
15441
|
+
* End date for selected transfers (exclusive)
|
|
15442
|
+
* @type {string}
|
|
15443
|
+
* @memberof TransfersApiGetTransferSummary
|
|
15444
|
+
*/
|
|
15445
|
+
readonly tillDate?: string;
|
|
15446
|
+
/**
|
|
15447
|
+
* Filter transfers from this user ID
|
|
15448
|
+
* @type {number}
|
|
15449
|
+
* @memberof TransfersApiGetTransferSummary
|
|
15450
|
+
*/
|
|
15451
|
+
readonly fromId?: number;
|
|
15452
|
+
/**
|
|
15453
|
+
* Filter transfers to this user ID
|
|
15454
|
+
* @type {number}
|
|
15455
|
+
* @memberof TransfersApiGetTransferSummary
|
|
15456
|
+
*/
|
|
15457
|
+
readonly toId?: number;
|
|
15458
|
+
}
|
|
15232
15459
|
/**
|
|
15233
15460
|
* TransfersApi - object-oriented interface
|
|
15234
15461
|
* @export
|
|
@@ -15290,6 +15517,15 @@ export declare class TransfersApi extends BaseAPI {
|
|
|
15290
15517
|
* @memberof TransfersApi
|
|
15291
15518
|
*/
|
|
15292
15519
|
getTransferPdf(requestParameters: TransfersApiGetTransferPdfRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any, {}>>;
|
|
15520
|
+
/**
|
|
15521
|
+
*
|
|
15522
|
+
* @summary Returns an aggregate breakdown of transfers for every category plus an overall total
|
|
15523
|
+
* @param {TransfersApiGetTransferSummaryRequest} requestParameters Request parameters.
|
|
15524
|
+
* @param {*} [options] Override http request option.
|
|
15525
|
+
* @throws {RequiredError}
|
|
15526
|
+
* @memberof TransfersApi
|
|
15527
|
+
*/
|
|
15528
|
+
getTransferSummary(requestParameters?: TransfersApiGetTransferSummaryRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TransferSummaryResponse, any, {}>>;
|
|
15293
15529
|
}
|
|
15294
15530
|
/**
|
|
15295
15531
|
* UserNotificationPreferencesApi - axios parameter creator
|
package/dist/api.js
CHANGED
|
@@ -5808,12 +5808,13 @@ const InvoicesApiAxiosParamCreator = function (configuration) {
|
|
|
5808
5808
|
* @param {boolean} [returnEntries] Boolean if invoice entries should be returned
|
|
5809
5809
|
* @param {string} [fromDate] Start date for selected invoices (inclusive)
|
|
5810
5810
|
* @param {string} [tillDate] End date for selected invoices (exclusive)
|
|
5811
|
+
* @param {string} [description] Filter invoices by description (partial match)
|
|
5811
5812
|
* @param {number} [take] How many entries the endpoint should return
|
|
5812
5813
|
* @param {number} [skip] How many entries should be skipped (for pagination)
|
|
5813
5814
|
* @param {*} [options] Override http request option.
|
|
5814
5815
|
* @throws {RequiredError}
|
|
5815
5816
|
*/
|
|
5816
|
-
getAllInvoices: async (toId, invoiceId, currentState, returnEntries, fromDate, tillDate, take, skip, options = {}) => {
|
|
5817
|
+
getAllInvoices: async (toId, invoiceId, currentState, returnEntries, fromDate, tillDate, description, take, skip, options = {}) => {
|
|
5817
5818
|
const localVarPath = `/invoices`;
|
|
5818
5819
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5819
5820
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -5845,6 +5846,9 @@ const InvoicesApiAxiosParamCreator = function (configuration) {
|
|
|
5845
5846
|
if (tillDate !== undefined) {
|
|
5846
5847
|
localVarQueryParameter['tillDate'] = tillDate;
|
|
5847
5848
|
}
|
|
5849
|
+
if (description !== undefined) {
|
|
5850
|
+
localVarQueryParameter['description'] = description;
|
|
5851
|
+
}
|
|
5848
5852
|
if (take !== undefined) {
|
|
5849
5853
|
localVarQueryParameter['take'] = take;
|
|
5850
5854
|
}
|
|
@@ -5903,6 +5907,34 @@ const InvoicesApiAxiosParamCreator = function (configuration) {
|
|
|
5903
5907
|
options: localVarRequestOptions,
|
|
5904
5908
|
};
|
|
5905
5909
|
},
|
|
5910
|
+
/**
|
|
5911
|
+
*
|
|
5912
|
+
* @summary Returns all invoices with transfer amount drift: for active invoices transfer != row sum; for deleted invoices transfer != credit transfer.
|
|
5913
|
+
* @param {*} [options] Override http request option.
|
|
5914
|
+
* @throws {RequiredError}
|
|
5915
|
+
*/
|
|
5916
|
+
getInvoiceDrift: async (options = {}) => {
|
|
5917
|
+
const localVarPath = `/invoices/drift`;
|
|
5918
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5919
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
5920
|
+
let baseOptions;
|
|
5921
|
+
if (configuration) {
|
|
5922
|
+
baseOptions = configuration.baseOptions;
|
|
5923
|
+
}
|
|
5924
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
5925
|
+
const localVarHeaderParameter = {};
|
|
5926
|
+
const localVarQueryParameter = {};
|
|
5927
|
+
// authentication JWT required
|
|
5928
|
+
// http bearer authentication required
|
|
5929
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
5930
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5931
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5932
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
5933
|
+
return {
|
|
5934
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
5935
|
+
options: localVarRequestOptions,
|
|
5936
|
+
};
|
|
5937
|
+
},
|
|
5906
5938
|
/**
|
|
5907
5939
|
*
|
|
5908
5940
|
* @summary Get an invoice pdf.
|
|
@@ -6139,13 +6171,14 @@ const InvoicesApiFp = function (configuration) {
|
|
|
6139
6171
|
* @param {boolean} [returnEntries] Boolean if invoice entries should be returned
|
|
6140
6172
|
* @param {string} [fromDate] Start date for selected invoices (inclusive)
|
|
6141
6173
|
* @param {string} [tillDate] End date for selected invoices (exclusive)
|
|
6174
|
+
* @param {string} [description] Filter invoices by description (partial match)
|
|
6142
6175
|
* @param {number} [take] How many entries the endpoint should return
|
|
6143
6176
|
* @param {number} [skip] How many entries should be skipped (for pagination)
|
|
6144
6177
|
* @param {*} [options] Override http request option.
|
|
6145
6178
|
* @throws {RequiredError}
|
|
6146
6179
|
*/
|
|
6147
|
-
async getAllInvoices(toId, invoiceId, currentState, returnEntries, fromDate, tillDate, take, skip, options) {
|
|
6148
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getAllInvoices(toId, invoiceId, currentState, returnEntries, fromDate, tillDate, take, skip, options);
|
|
6180
|
+
async getAllInvoices(toId, invoiceId, currentState, returnEntries, fromDate, tillDate, description, take, skip, options) {
|
|
6181
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getAllInvoices(toId, invoiceId, currentState, returnEntries, fromDate, tillDate, description, take, skip, options);
|
|
6149
6182
|
const index = configuration?.serverIndex ?? 0;
|
|
6150
6183
|
const operationBasePath = base_1.operationServerMap['InvoicesApi.getAllInvoices']?.[index]?.url;
|
|
6151
6184
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
@@ -6165,6 +6198,18 @@ const InvoicesApiFp = function (configuration) {
|
|
|
6165
6198
|
const operationBasePath = base_1.operationServerMap['InvoicesApi.getEligibleTransactions']?.[index]?.url;
|
|
6166
6199
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
6167
6200
|
},
|
|
6201
|
+
/**
|
|
6202
|
+
*
|
|
6203
|
+
* @summary Returns all invoices with transfer amount drift: for active invoices transfer != row sum; for deleted invoices transfer != credit transfer.
|
|
6204
|
+
* @param {*} [options] Override http request option.
|
|
6205
|
+
* @throws {RequiredError}
|
|
6206
|
+
*/
|
|
6207
|
+
async getInvoiceDrift(options) {
|
|
6208
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getInvoiceDrift(options);
|
|
6209
|
+
const index = configuration?.serverIndex ?? 0;
|
|
6210
|
+
const operationBasePath = base_1.operationServerMap['InvoicesApi.getInvoiceDrift']?.[index]?.url;
|
|
6211
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
6212
|
+
},
|
|
6168
6213
|
/**
|
|
6169
6214
|
*
|
|
6170
6215
|
* @summary Get an invoice pdf.
|
|
@@ -6282,7 +6327,7 @@ const InvoicesApiFactory = function (configuration, basePath, axios) {
|
|
|
6282
6327
|
* @throws {RequiredError}
|
|
6283
6328
|
*/
|
|
6284
6329
|
getAllInvoices(requestParameters = {}, options) {
|
|
6285
|
-
return localVarFp.getAllInvoices(requestParameters.toId, requestParameters.invoiceId, requestParameters.currentState, requestParameters.returnEntries, requestParameters.fromDate, requestParameters.tillDate, requestParameters.take, requestParameters.skip, options).then((request) => request(axios, basePath));
|
|
6330
|
+
return localVarFp.getAllInvoices(requestParameters.toId, requestParameters.invoiceId, requestParameters.currentState, requestParameters.returnEntries, requestParameters.fromDate, requestParameters.tillDate, requestParameters.description, requestParameters.take, requestParameters.skip, options).then((request) => request(axios, basePath));
|
|
6286
6331
|
},
|
|
6287
6332
|
/**
|
|
6288
6333
|
*
|
|
@@ -6294,6 +6339,15 @@ const InvoicesApiFactory = function (configuration, basePath, axios) {
|
|
|
6294
6339
|
getEligibleTransactions(requestParameters, options) {
|
|
6295
6340
|
return localVarFp.getEligibleTransactions(requestParameters.forId, requestParameters.fromDate, requestParameters.tillDate, options).then((request) => request(axios, basePath));
|
|
6296
6341
|
},
|
|
6342
|
+
/**
|
|
6343
|
+
*
|
|
6344
|
+
* @summary Returns all invoices with transfer amount drift: for active invoices transfer != row sum; for deleted invoices transfer != credit transfer.
|
|
6345
|
+
* @param {*} [options] Override http request option.
|
|
6346
|
+
* @throws {RequiredError}
|
|
6347
|
+
*/
|
|
6348
|
+
getInvoiceDrift(options) {
|
|
6349
|
+
return localVarFp.getInvoiceDrift(options).then((request) => request(axios, basePath));
|
|
6350
|
+
},
|
|
6297
6351
|
/**
|
|
6298
6352
|
*
|
|
6299
6353
|
* @summary Get an invoice pdf.
|
|
@@ -6396,7 +6450,7 @@ class InvoicesApi extends base_1.BaseAPI {
|
|
|
6396
6450
|
* @memberof InvoicesApi
|
|
6397
6451
|
*/
|
|
6398
6452
|
getAllInvoices(requestParameters = {}, options) {
|
|
6399
|
-
return (0, exports.InvoicesApiFp)(this.configuration).getAllInvoices(requestParameters.toId, requestParameters.invoiceId, requestParameters.currentState, requestParameters.returnEntries, requestParameters.fromDate, requestParameters.tillDate, requestParameters.take, requestParameters.skip, options).then((request) => request(this.axios, this.basePath));
|
|
6453
|
+
return (0, exports.InvoicesApiFp)(this.configuration).getAllInvoices(requestParameters.toId, requestParameters.invoiceId, requestParameters.currentState, requestParameters.returnEntries, requestParameters.fromDate, requestParameters.tillDate, requestParameters.description, requestParameters.take, requestParameters.skip, options).then((request) => request(this.axios, this.basePath));
|
|
6400
6454
|
}
|
|
6401
6455
|
/**
|
|
6402
6456
|
*
|
|
@@ -6409,6 +6463,16 @@ class InvoicesApi extends base_1.BaseAPI {
|
|
|
6409
6463
|
getEligibleTransactions(requestParameters, options) {
|
|
6410
6464
|
return (0, exports.InvoicesApiFp)(this.configuration).getEligibleTransactions(requestParameters.forId, requestParameters.fromDate, requestParameters.tillDate, options).then((request) => request(this.axios, this.basePath));
|
|
6411
6465
|
}
|
|
6466
|
+
/**
|
|
6467
|
+
*
|
|
6468
|
+
* @summary Returns all invoices with transfer amount drift: for active invoices transfer != row sum; for deleted invoices transfer != credit transfer.
|
|
6469
|
+
* @param {*} [options] Override http request option.
|
|
6470
|
+
* @throws {RequiredError}
|
|
6471
|
+
* @memberof InvoicesApi
|
|
6472
|
+
*/
|
|
6473
|
+
getInvoiceDrift(options) {
|
|
6474
|
+
return (0, exports.InvoicesApiFp)(this.configuration).getInvoiceDrift(options).then((request) => request(this.axios, this.basePath));
|
|
6475
|
+
}
|
|
6412
6476
|
/**
|
|
6413
6477
|
*
|
|
6414
6478
|
* @summary Get an invoice pdf.
|
|
@@ -11260,7 +11324,7 @@ const TransfersApiAxiosParamCreator = function (configuration) {
|
|
|
11260
11324
|
* @param {string} [tillDate] End date for selected transfers (exclusive)
|
|
11261
11325
|
* @param {number} [fromId] Filter transfers from this user ID
|
|
11262
11326
|
* @param {number} [toId] Filter transfers to this user ID
|
|
11263
|
-
* @param {string} [category] Restrict to a specific transfer category: deposit, payoutRequest, invoice, fine, waivedFines, writeOff, inactiveAdministrativeCost
|
|
11327
|
+
* @param {string} [category] Restrict to a specific transfer category: deposit, payoutRequest, sellerPayout, invoice, creditInvoice, fine, waivedFines, writeOff, inactiveAdministrativeCost
|
|
11264
11328
|
* @param {*} [options] Override http request option.
|
|
11265
11329
|
* @throws {RequiredError}
|
|
11266
11330
|
*/
|
|
@@ -11333,6 +11397,50 @@ const TransfersApiAxiosParamCreator = function (configuration) {
|
|
|
11333
11397
|
options: localVarRequestOptions,
|
|
11334
11398
|
};
|
|
11335
11399
|
},
|
|
11400
|
+
/**
|
|
11401
|
+
*
|
|
11402
|
+
* @summary Returns an aggregate breakdown of transfers for every category plus an overall total
|
|
11403
|
+
* @param {string} [fromDate] Start date for selected transfers (inclusive)
|
|
11404
|
+
* @param {string} [tillDate] End date for selected transfers (exclusive)
|
|
11405
|
+
* @param {number} [fromId] Filter transfers from this user ID
|
|
11406
|
+
* @param {number} [toId] Filter transfers to this user ID
|
|
11407
|
+
* @param {*} [options] Override http request option.
|
|
11408
|
+
* @throws {RequiredError}
|
|
11409
|
+
*/
|
|
11410
|
+
getTransferSummary: async (fromDate, tillDate, fromId, toId, options = {}) => {
|
|
11411
|
+
const localVarPath = `/transfers/summary`;
|
|
11412
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11413
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11414
|
+
let baseOptions;
|
|
11415
|
+
if (configuration) {
|
|
11416
|
+
baseOptions = configuration.baseOptions;
|
|
11417
|
+
}
|
|
11418
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
11419
|
+
const localVarHeaderParameter = {};
|
|
11420
|
+
const localVarQueryParameter = {};
|
|
11421
|
+
// authentication JWT required
|
|
11422
|
+
// http bearer authentication required
|
|
11423
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
11424
|
+
if (fromDate !== undefined) {
|
|
11425
|
+
localVarQueryParameter['fromDate'] = fromDate;
|
|
11426
|
+
}
|
|
11427
|
+
if (tillDate !== undefined) {
|
|
11428
|
+
localVarQueryParameter['tillDate'] = tillDate;
|
|
11429
|
+
}
|
|
11430
|
+
if (fromId !== undefined) {
|
|
11431
|
+
localVarQueryParameter['fromId'] = fromId;
|
|
11432
|
+
}
|
|
11433
|
+
if (toId !== undefined) {
|
|
11434
|
+
localVarQueryParameter['toId'] = toId;
|
|
11435
|
+
}
|
|
11436
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
11437
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11438
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
11439
|
+
return {
|
|
11440
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
11441
|
+
options: localVarRequestOptions,
|
|
11442
|
+
};
|
|
11443
|
+
},
|
|
11336
11444
|
};
|
|
11337
11445
|
};
|
|
11338
11446
|
exports.TransfersApiAxiosParamCreator = TransfersApiAxiosParamCreator;
|
|
@@ -11405,7 +11513,7 @@ const TransfersApiFp = function (configuration) {
|
|
|
11405
11513
|
* @param {string} [tillDate] End date for selected transfers (exclusive)
|
|
11406
11514
|
* @param {number} [fromId] Filter transfers from this user ID
|
|
11407
11515
|
* @param {number} [toId] Filter transfers to this user ID
|
|
11408
|
-
* @param {string} [category] Restrict to a specific transfer category: deposit, payoutRequest, invoice, fine, waivedFines, writeOff, inactiveAdministrativeCost
|
|
11516
|
+
* @param {string} [category] Restrict to a specific transfer category: deposit, payoutRequest, sellerPayout, invoice, creditInvoice, fine, waivedFines, writeOff, inactiveAdministrativeCost
|
|
11409
11517
|
* @param {*} [options] Override http request option.
|
|
11410
11518
|
* @throws {RequiredError}
|
|
11411
11519
|
*/
|
|
@@ -11428,6 +11536,22 @@ const TransfersApiFp = function (configuration) {
|
|
|
11428
11536
|
const operationBasePath = base_1.operationServerMap['TransfersApi.getTransferPdf']?.[index]?.url;
|
|
11429
11537
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
11430
11538
|
},
|
|
11539
|
+
/**
|
|
11540
|
+
*
|
|
11541
|
+
* @summary Returns an aggregate breakdown of transfers for every category plus an overall total
|
|
11542
|
+
* @param {string} [fromDate] Start date for selected transfers (inclusive)
|
|
11543
|
+
* @param {string} [tillDate] End date for selected transfers (exclusive)
|
|
11544
|
+
* @param {number} [fromId] Filter transfers from this user ID
|
|
11545
|
+
* @param {number} [toId] Filter transfers to this user ID
|
|
11546
|
+
* @param {*} [options] Override http request option.
|
|
11547
|
+
* @throws {RequiredError}
|
|
11548
|
+
*/
|
|
11549
|
+
async getTransferSummary(fromDate, tillDate, fromId, toId, options) {
|
|
11550
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getTransferSummary(fromDate, tillDate, fromId, toId, options);
|
|
11551
|
+
const index = configuration?.serverIndex ?? 0;
|
|
11552
|
+
const operationBasePath = base_1.operationServerMap['TransfersApi.getTransferSummary']?.[index]?.url;
|
|
11553
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
11554
|
+
},
|
|
11431
11555
|
};
|
|
11432
11556
|
};
|
|
11433
11557
|
exports.TransfersApiFp = TransfersApiFp;
|
|
@@ -11498,6 +11622,16 @@ const TransfersApiFactory = function (configuration, basePath, axios) {
|
|
|
11498
11622
|
getTransferPdf(requestParameters, options) {
|
|
11499
11623
|
return localVarFp.getTransferPdf(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
11500
11624
|
},
|
|
11625
|
+
/**
|
|
11626
|
+
*
|
|
11627
|
+
* @summary Returns an aggregate breakdown of transfers for every category plus an overall total
|
|
11628
|
+
* @param {TransfersApiGetTransferSummaryRequest} requestParameters Request parameters.
|
|
11629
|
+
* @param {*} [options] Override http request option.
|
|
11630
|
+
* @throws {RequiredError}
|
|
11631
|
+
*/
|
|
11632
|
+
getTransferSummary(requestParameters = {}, options) {
|
|
11633
|
+
return localVarFp.getTransferSummary(requestParameters.fromDate, requestParameters.tillDate, requestParameters.fromId, requestParameters.toId, options).then((request) => request(axios, basePath));
|
|
11634
|
+
},
|
|
11501
11635
|
};
|
|
11502
11636
|
};
|
|
11503
11637
|
exports.TransfersApiFactory = TransfersApiFactory;
|
|
@@ -11574,6 +11708,17 @@ class TransfersApi extends base_1.BaseAPI {
|
|
|
11574
11708
|
getTransferPdf(requestParameters, options) {
|
|
11575
11709
|
return (0, exports.TransfersApiFp)(this.configuration).getTransferPdf(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
11576
11710
|
}
|
|
11711
|
+
/**
|
|
11712
|
+
*
|
|
11713
|
+
* @summary Returns an aggregate breakdown of transfers for every category plus an overall total
|
|
11714
|
+
* @param {TransfersApiGetTransferSummaryRequest} requestParameters Request parameters.
|
|
11715
|
+
* @param {*} [options] Override http request option.
|
|
11716
|
+
* @throws {RequiredError}
|
|
11717
|
+
* @memberof TransfersApi
|
|
11718
|
+
*/
|
|
11719
|
+
getTransferSummary(requestParameters = {}, options) {
|
|
11720
|
+
return (0, exports.TransfersApiFp)(this.configuration).getTransferSummary(requestParameters.fromDate, requestParameters.tillDate, requestParameters.fromId, requestParameters.toId, options).then((request) => request(this.axios, this.basePath));
|
|
11721
|
+
}
|
|
11577
11722
|
}
|
|
11578
11723
|
exports.TransfersApi = TransfersApi;
|
|
11579
11724
|
/**
|
package/dist/common.d.ts
CHANGED
|
@@ -62,4 +62,4 @@ 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>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gewis/sudosos-client",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.29.0",
|
|
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",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
22
|
"@openapitools/openapi-generator-cli": "^2.7.0",
|
|
23
|
-
"typescript": "~5.
|
|
23
|
+
"typescript": "~5.9.3"
|
|
24
24
|
},
|
|
25
25
|
"repository": {
|
|
26
26
|
"type": "git",
|