@gewis/sudosos-client 0.0.0-develop.5b3575a → 0.0.0-develop.5e0c322
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 +232 -3
- package/dist/api.js +15 -3
- package/package.json +3 -3
package/dist/api.d.ts
CHANGED
|
@@ -901,6 +901,104 @@ export interface BaseInvoiceResponse {
|
|
|
901
901
|
*/
|
|
902
902
|
'totalInclVat': DineroObjectResponse;
|
|
903
903
|
}
|
|
904
|
+
/**
|
|
905
|
+
* PaymentRequest is UUID-keyed. To avoid overloading the `id` slot (which on other responses is the numeric DB id), the UUID is exposed under a semantically named field, mirroring how `QRAuthenticator` exposes its UUID as `sessionId`. The response therefore extends `BaseResponseWithoutId` (timestamps + version, no `id`) and declares a `uuid` of its own.
|
|
906
|
+
* @export
|
|
907
|
+
* @interface BasePaymentRequestResponse
|
|
908
|
+
*/
|
|
909
|
+
export interface BasePaymentRequestResponse {
|
|
910
|
+
/**
|
|
911
|
+
* UUID v4 identifier (also the public share-link id).
|
|
912
|
+
* @type {string}
|
|
913
|
+
* @memberof BasePaymentRequestResponse
|
|
914
|
+
*/
|
|
915
|
+
'uuid': string;
|
|
916
|
+
/**
|
|
917
|
+
* ISO-8601 creation timestamp.
|
|
918
|
+
* @type {string}
|
|
919
|
+
* @memberof BasePaymentRequestResponse
|
|
920
|
+
*/
|
|
921
|
+
'createdAt'?: string;
|
|
922
|
+
/**
|
|
923
|
+
* ISO-8601 last update timestamp.
|
|
924
|
+
* @type {string}
|
|
925
|
+
* @memberof BasePaymentRequestResponse
|
|
926
|
+
*/
|
|
927
|
+
'updatedAt'?: string;
|
|
928
|
+
/**
|
|
929
|
+
* Optimistic-locking version.
|
|
930
|
+
* @type {number}
|
|
931
|
+
* @memberof BasePaymentRequestResponse
|
|
932
|
+
*/
|
|
933
|
+
'version'?: number;
|
|
934
|
+
/**
|
|
935
|
+
*
|
|
936
|
+
* @type {BaseUserResponse}
|
|
937
|
+
* @memberof BasePaymentRequestResponse
|
|
938
|
+
*/
|
|
939
|
+
'for': BaseUserResponse;
|
|
940
|
+
/**
|
|
941
|
+
*
|
|
942
|
+
* @type {BaseUserResponse}
|
|
943
|
+
* @memberof BasePaymentRequestResponse
|
|
944
|
+
*/
|
|
945
|
+
'createdBy': BaseUserResponse;
|
|
946
|
+
/**
|
|
947
|
+
*
|
|
948
|
+
* @type {DineroObjectResponse}
|
|
949
|
+
* @memberof BasePaymentRequestResponse
|
|
950
|
+
*/
|
|
951
|
+
'amount': DineroObjectResponse;
|
|
952
|
+
/**
|
|
953
|
+
* ISO-8601 timestamp after which payments stop being accepted.
|
|
954
|
+
* @type {string}
|
|
955
|
+
* @memberof BasePaymentRequestResponse
|
|
956
|
+
*/
|
|
957
|
+
'expiresAt': string;
|
|
958
|
+
/**
|
|
959
|
+
* ISO-8601 timestamp the request was marked paid (null if not paid).
|
|
960
|
+
* @type {string}
|
|
961
|
+
* @memberof BasePaymentRequestResponse
|
|
962
|
+
*/
|
|
963
|
+
'paidAt'?: string;
|
|
964
|
+
/**
|
|
965
|
+
* ISO-8601 timestamp the request was cancelled (null if not cancelled).
|
|
966
|
+
* @type {string}
|
|
967
|
+
* @memberof BasePaymentRequestResponse
|
|
968
|
+
*/
|
|
969
|
+
'cancelledAt'?: string;
|
|
970
|
+
/**
|
|
971
|
+
*
|
|
972
|
+
* @type {BaseUserResponse}
|
|
973
|
+
* @memberof BasePaymentRequestResponse
|
|
974
|
+
*/
|
|
975
|
+
'cancelledBy'?: BaseUserResponse;
|
|
976
|
+
/**
|
|
977
|
+
*
|
|
978
|
+
* @type {BaseUserResponse}
|
|
979
|
+
* @memberof BasePaymentRequestResponse
|
|
980
|
+
*/
|
|
981
|
+
'fulfilledBy'?: BaseUserResponse;
|
|
982
|
+
/**
|
|
983
|
+
* Optional human-readable description.
|
|
984
|
+
* @type {string}
|
|
985
|
+
* @memberof BasePaymentRequestResponse
|
|
986
|
+
*/
|
|
987
|
+
'description'?: string;
|
|
988
|
+
/**
|
|
989
|
+
* Derived lifecycle status.
|
|
990
|
+
* @type {string}
|
|
991
|
+
* @memberof BasePaymentRequestResponse
|
|
992
|
+
*/
|
|
993
|
+
'status': BasePaymentRequestResponseStatusEnum;
|
|
994
|
+
}
|
|
995
|
+
export declare const BasePaymentRequestResponseStatusEnum: {
|
|
996
|
+
readonly Pending: "PENDING";
|
|
997
|
+
readonly Paid: "PAID";
|
|
998
|
+
readonly Expired: "EXPIRED";
|
|
999
|
+
readonly Cancelled: "CANCELLED";
|
|
1000
|
+
};
|
|
1001
|
+
export type BasePaymentRequestResponseStatusEnum = typeof BasePaymentRequestResponseStatusEnum[keyof typeof BasePaymentRequestResponseStatusEnum];
|
|
904
1002
|
/**
|
|
905
1003
|
*
|
|
906
1004
|
* @export
|
|
@@ -1141,6 +1239,31 @@ export interface BaseResponse {
|
|
|
1141
1239
|
*/
|
|
1142
1240
|
'version'?: number;
|
|
1143
1241
|
}
|
|
1242
|
+
/**
|
|
1243
|
+
* Standard timestamp/version fields every response shares, without an `id`. Responses that key on a UUID (or any non-integer identifier) extend this and add their own `id` field. Responses keyed on an integer id extend `BaseResponse` instead, which adds `id: number`. Parallel to `BaseEntityWithoutId` on the entity side.
|
|
1244
|
+
* @export
|
|
1245
|
+
* @interface BaseResponseWithoutId
|
|
1246
|
+
*/
|
|
1247
|
+
export interface BaseResponseWithoutId {
|
|
1248
|
+
/**
|
|
1249
|
+
* The creation Date of the entity.
|
|
1250
|
+
* @type {string}
|
|
1251
|
+
* @memberof BaseResponseWithoutId
|
|
1252
|
+
*/
|
|
1253
|
+
'createdAt'?: string;
|
|
1254
|
+
/**
|
|
1255
|
+
* The last update Date of the entity.
|
|
1256
|
+
* @type {string}
|
|
1257
|
+
* @memberof BaseResponseWithoutId
|
|
1258
|
+
*/
|
|
1259
|
+
'updatedAt'?: string;
|
|
1260
|
+
/**
|
|
1261
|
+
* The version of the entity.
|
|
1262
|
+
* @type {number}
|
|
1263
|
+
* @memberof BaseResponseWithoutId
|
|
1264
|
+
*/
|
|
1265
|
+
'version'?: number;
|
|
1266
|
+
}
|
|
1144
1267
|
/**
|
|
1145
1268
|
*
|
|
1146
1269
|
* @export
|
|
@@ -3201,6 +3324,25 @@ export interface PaginatedBaseEventResponse {
|
|
|
3201
3324
|
*/
|
|
3202
3325
|
'records': Array<BaseEventResponse>;
|
|
3203
3326
|
}
|
|
3327
|
+
/**
|
|
3328
|
+
*
|
|
3329
|
+
* @export
|
|
3330
|
+
* @interface PaginatedBasePaymentRequestResponse
|
|
3331
|
+
*/
|
|
3332
|
+
export interface PaginatedBasePaymentRequestResponse {
|
|
3333
|
+
/**
|
|
3334
|
+
*
|
|
3335
|
+
* @type {PaginationResult}
|
|
3336
|
+
* @memberof PaginatedBasePaymentRequestResponse
|
|
3337
|
+
*/
|
|
3338
|
+
'_pagination': PaginationResult;
|
|
3339
|
+
/**
|
|
3340
|
+
* Returned payment requests
|
|
3341
|
+
* @type {Array<BasePaymentRequestResponse>}
|
|
3342
|
+
* @memberof PaginatedBasePaymentRequestResponse
|
|
3343
|
+
*/
|
|
3344
|
+
'records': Array<BasePaymentRequestResponse>;
|
|
3345
|
+
}
|
|
3204
3346
|
/**
|
|
3205
3347
|
*
|
|
3206
3348
|
* @export
|
|
@@ -3631,6 +3773,31 @@ export interface PatchUserTypeRequest {
|
|
|
3631
3773
|
*/
|
|
3632
3774
|
'userType': string;
|
|
3633
3775
|
}
|
|
3776
|
+
/**
|
|
3777
|
+
* Response returned from the \"start payment\" endpoint. Contains just enough to let the browser redirect into the Stripe Payment Element.
|
|
3778
|
+
* @export
|
|
3779
|
+
* @interface PaymentRequestStartResponse
|
|
3780
|
+
*/
|
|
3781
|
+
export interface PaymentRequestStartResponse {
|
|
3782
|
+
/**
|
|
3783
|
+
* The PaymentRequest id the intent is linked to.
|
|
3784
|
+
* @type {string}
|
|
3785
|
+
* @memberof PaymentRequestStartResponse
|
|
3786
|
+
*/
|
|
3787
|
+
'paymentRequestId': string;
|
|
3788
|
+
/**
|
|
3789
|
+
* Stripe payment intent id.
|
|
3790
|
+
* @type {string}
|
|
3791
|
+
* @memberof PaymentRequestStartResponse
|
|
3792
|
+
*/
|
|
3793
|
+
'stripeId': string;
|
|
3794
|
+
/**
|
|
3795
|
+
* Stripe client secret for the intent.
|
|
3796
|
+
* @type {string}
|
|
3797
|
+
* @memberof PaymentRequestStartResponse
|
|
3798
|
+
*/
|
|
3799
|
+
'clientSecret': string;
|
|
3800
|
+
}
|
|
3634
3801
|
/**
|
|
3635
3802
|
*
|
|
3636
3803
|
* @export
|
|
@@ -4155,6 +4322,56 @@ export interface ProductResponse {
|
|
|
4155
4322
|
*/
|
|
4156
4323
|
'priceList': boolean;
|
|
4157
4324
|
}
|
|
4325
|
+
/**
|
|
4326
|
+
* Minimal response returned to unauthenticated callers of the public share link endpoint. It deliberately omits `createdBy`, `cancelledBy`, and other internal audit fields — anyone with the link can see it, so we leak as little user info as possible.
|
|
4327
|
+
* @export
|
|
4328
|
+
* @interface PublicPaymentRequestResponse
|
|
4329
|
+
*/
|
|
4330
|
+
export interface PublicPaymentRequestResponse {
|
|
4331
|
+
/**
|
|
4332
|
+
* UUID v4 identifier.
|
|
4333
|
+
* @type {string}
|
|
4334
|
+
* @memberof PublicPaymentRequestResponse
|
|
4335
|
+
*/
|
|
4336
|
+
'uuid': string;
|
|
4337
|
+
/**
|
|
4338
|
+
* Recipient display name (e.g. \"John D.\").
|
|
4339
|
+
* @type {string}
|
|
4340
|
+
* @memberof PublicPaymentRequestResponse
|
|
4341
|
+
*/
|
|
4342
|
+
'forDisplayName': string;
|
|
4343
|
+
/**
|
|
4344
|
+
*
|
|
4345
|
+
* @type {DineroObjectResponse}
|
|
4346
|
+
* @memberof PublicPaymentRequestResponse
|
|
4347
|
+
*/
|
|
4348
|
+
'amount': DineroObjectResponse;
|
|
4349
|
+
/**
|
|
4350
|
+
* ISO-8601 timestamp after which payments stop being accepted.
|
|
4351
|
+
* @type {string}
|
|
4352
|
+
* @memberof PublicPaymentRequestResponse
|
|
4353
|
+
*/
|
|
4354
|
+
'expiresAt': string;
|
|
4355
|
+
/**
|
|
4356
|
+
* Optional human-readable description.
|
|
4357
|
+
* @type {string}
|
|
4358
|
+
* @memberof PublicPaymentRequestResponse
|
|
4359
|
+
*/
|
|
4360
|
+
'description'?: string;
|
|
4361
|
+
/**
|
|
4362
|
+
* Derived lifecycle status.
|
|
4363
|
+
* @type {string}
|
|
4364
|
+
* @memberof PublicPaymentRequestResponse
|
|
4365
|
+
*/
|
|
4366
|
+
'status': PublicPaymentRequestResponseStatusEnum;
|
|
4367
|
+
}
|
|
4368
|
+
export declare const PublicPaymentRequestResponseStatusEnum: {
|
|
4369
|
+
readonly Pending: "PENDING";
|
|
4370
|
+
readonly Paid: "PAID";
|
|
4371
|
+
readonly Expired: "EXPIRED";
|
|
4372
|
+
readonly Cancelled: "CANCELLED";
|
|
4373
|
+
};
|
|
4374
|
+
export type PublicPaymentRequestResponseStatusEnum = typeof PublicPaymentRequestResponseStatusEnum[keyof typeof PublicPaymentRequestResponseStatusEnum];
|
|
4158
4375
|
/**
|
|
4159
4376
|
*
|
|
4160
4377
|
* @export
|
|
@@ -6109,6 +6326,12 @@ export interface UpdateUserRequest {
|
|
|
6109
6326
|
* @memberof UpdateUserRequest
|
|
6110
6327
|
*/
|
|
6111
6328
|
'inactiveNotificationSend'?: boolean;
|
|
6329
|
+
/**
|
|
6330
|
+
* ISO date at which the account expires; pass null to clear
|
|
6331
|
+
* @type {string}
|
|
6332
|
+
* @memberof UpdateUserRequest
|
|
6333
|
+
*/
|
|
6334
|
+
'expiryDate'?: string | null;
|
|
6112
6335
|
}
|
|
6113
6336
|
/**
|
|
6114
6337
|
* API Request for updating an existing `vat group` entity. Only mutable fields; the rate itself cannot change on an existing group.
|
|
@@ -6325,6 +6548,12 @@ export interface UserResponse {
|
|
|
6325
6548
|
* @memberof UserResponse
|
|
6326
6549
|
*/
|
|
6327
6550
|
'pos'?: BasePointOfSaleInfoResponse;
|
|
6551
|
+
/**
|
|
6552
|
+
* ISO date at which the account expires (null for accounts without expiry)
|
|
6553
|
+
* @type {string}
|
|
6554
|
+
* @memberof UserResponse
|
|
6555
|
+
*/
|
|
6556
|
+
'expiryDate'?: string | null;
|
|
6328
6557
|
}
|
|
6329
6558
|
/**
|
|
6330
6559
|
*
|
|
@@ -11035,7 +11264,7 @@ export declare const InvoicesApiFp: (configuration?: Configuration) => {
|
|
|
11035
11264
|
* @param {*} [options] Override http request option.
|
|
11036
11265
|
* @throws {RequiredError}
|
|
11037
11266
|
*/
|
|
11038
|
-
getEligibleTransactions(forId: number, fromDate: string, tillDate?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TransactionResponse
|
|
11267
|
+
getEligibleTransactions(forId: number, fromDate: string, tillDate?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<TransactionResponse>>>;
|
|
11039
11268
|
/**
|
|
11040
11269
|
*
|
|
11041
11270
|
* @summary Returns all invoices with transfer amount drift: for active invoices transfer != row sum; for deleted invoices transfer != credit transfer.
|
|
@@ -11132,7 +11361,7 @@ export declare const InvoicesApiFactory: (configuration?: Configuration, basePat
|
|
|
11132
11361
|
* @param {*} [options] Override http request option.
|
|
11133
11362
|
* @throws {RequiredError}
|
|
11134
11363
|
*/
|
|
11135
|
-
getEligibleTransactions(requestParameters: InvoicesApiGetEligibleTransactionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<TransactionResponse
|
|
11364
|
+
getEligibleTransactions(requestParameters: InvoicesApiGetEligibleTransactionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<TransactionResponse>>;
|
|
11136
11365
|
/**
|
|
11137
11366
|
*
|
|
11138
11367
|
* @summary Returns all invoices with transfer amount drift: for active invoices transfer != row sum; for deleted invoices transfer != credit transfer.
|
|
@@ -11446,7 +11675,7 @@ export declare class InvoicesApi extends BaseAPI {
|
|
|
11446
11675
|
* @throws {RequiredError}
|
|
11447
11676
|
* @memberof InvoicesApi
|
|
11448
11677
|
*/
|
|
11449
|
-
getEligibleTransactions(requestParameters: InvoicesApiGetEligibleTransactionsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TransactionResponse, any, {}>>;
|
|
11678
|
+
getEligibleTransactions(requestParameters: InvoicesApiGetEligibleTransactionsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TransactionResponse[], any, {}>>;
|
|
11450
11679
|
/**
|
|
11451
11680
|
*
|
|
11452
11681
|
* @summary Returns all invoices with transfer amount drift: for active invoices transfer != row sum; for deleted invoices transfer != credit transfer.
|
package/dist/api.js
CHANGED
|
@@ -13,15 +13,21 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.WriteoffsApi = exports.WriteoffsApiFactory = exports.WriteoffsApiFp = exports.WriteoffsApiAxiosParamCreator = exports.VouchergroupsApi = exports.VouchergroupsApiFactory = exports.VouchergroupsApiFp = exports.VouchergroupsApiAxiosParamCreator = exports.VatGroupsApi = exports.VatGroupsApiFactory = exports.VatGroupsApiFp = exports.VatGroupsApiAxiosParamCreator = exports.GetUsersSalesReportPdfFileTypeEnum = exports.GetUsersPurchaseReportPdfFileTypeEnum = exports.GetAllUsersTypeEnum = exports.UsersApi = exports.UsersApiFactory = exports.UsersApiFp = exports.UsersApiAxiosParamCreator = exports.UserNotificationPreferencesApi = exports.UserNotificationPreferencesApiFactory = exports.UserNotificationPreferencesApiFp = exports.UserNotificationPreferencesApiAxiosParamCreator = exports.TransfersApi = exports.TransfersApiFactory = exports.TransfersApiFp = exports.TransfersApiAxiosParamCreator = exports.TransactionsApi = exports.TransactionsApiFactory = exports.TransactionsApiFp = exports.TransactionsApiAxiosParamCreator = exports.TransactionSummariesApi = exports.TransactionSummariesApiFactory = void 0;
|
|
16
|
+
exports.InvoicesApiFactory = exports.InvoicesApiFp = exports.InvoicesApiAxiosParamCreator = exports.InactiveAdministrativeCostsApi = exports.InactiveAdministrativeCostsApiFactory = exports.InactiveAdministrativeCostsApiFp = exports.InactiveAdministrativeCostsApiAxiosParamCreator = exports.FilesApi = exports.FilesApiFactory = exports.FilesApiFp = exports.FilesApiAxiosParamCreator = exports.EventsApi = exports.EventsApiFactory = exports.EventsApiFp = exports.EventsApiAxiosParamCreator = exports.GetFineReportPdfFileTypeEnum = exports.DebtorsApi = exports.DebtorsApiFactory = exports.DebtorsApiFp = exports.DebtorsApiAxiosParamCreator = exports.ContainersApi = exports.ContainersApiFactory = exports.ContainersApiFp = exports.ContainersApiAxiosParamCreator = exports.BannersApi = exports.BannersApiFactory = exports.BannersApiFp = exports.BannersApiAxiosParamCreator = exports.GetAllBalanceOrderDirectionEnum = exports.BalanceApi = exports.BalanceApiFactory = exports.BalanceApiFp = exports.BalanceApiAxiosParamCreator = exports.AuthenticateApi = exports.AuthenticateApiFactory = exports.AuthenticateApiFp = exports.AuthenticateApiAxiosParamCreator = exports.UserType = exports.UserSettingsResponseLanguageEnum = exports.UpdateInvoiceRequestStateEnum = exports.QRStatusResponseStatusEnum = exports.PublicPaymentRequestResponseStatusEnum = exports.PayoutRequestStatusRequestStateEnum = exports.PayoutRequestResponseStatusEnum = exports.PatchUserSettingsRequestLanguageEnum = exports.InvoiceStatusResponseStateEnum = exports.GetAllInvoicesCurrentStateParameterInner = exports.FinancialMutationResponseTypeEnum = exports.BasePayoutRequestResponseStatusEnum = exports.BasePaymentRequestResponseStatusEnum = void 0;
|
|
17
|
+
exports.TestOperationsOfTheTestControllerApi = exports.TestOperationsOfTheTestControllerApiFactory = exports.TestOperationsOfTheTestControllerApiFp = exports.TestOperationsOfTheTestControllerApiAxiosParamCreator = exports.TermsOfServiceApi = exports.TermsOfServiceApiFactory = exports.TermsOfServiceApiFp = exports.TermsOfServiceApiAxiosParamCreator = exports.GetUserSyncResultsServiceEnum = exports.SyncApi = exports.SyncApiFactory = exports.SyncApiFp = exports.SyncApiAxiosParamCreator = exports.StripeApi = exports.StripeApiFactory = exports.StripeApiFp = exports.StripeApiAxiosParamCreator = exports.ServerSettingsApi = exports.ServerSettingsApiFactory = exports.ServerSettingsApiFp = exports.ServerSettingsApiAxiosParamCreator = exports.SellerPayoutsApi = exports.SellerPayoutsApiFactory = exports.SellerPayoutsApiFp = exports.SellerPayoutsApiAxiosParamCreator = exports.RootApi = exports.RootApiFactory = exports.RootApiFp = exports.RootApiAxiosParamCreator = exports.RbacApi = exports.RbacApiFactory = exports.RbacApiFp = exports.RbacApiAxiosParamCreator = exports.ProductsApi = exports.ProductsApiFactory = exports.ProductsApiFp = exports.ProductsApiAxiosParamCreator = exports.ProductCategoriesApi = exports.ProductCategoriesApiFactory = exports.ProductCategoriesApiFp = exports.ProductCategoriesApiAxiosParamCreator = exports.PointofsaleApi = exports.PointofsaleApiFactory = exports.PointofsaleApiFp = exports.PointofsaleApiAxiosParamCreator = exports.PayoutRequestsApi = exports.PayoutRequestsApiFactory = exports.PayoutRequestsApiFp = exports.PayoutRequestsApiAxiosParamCreator = exports.InvoicesApi = void 0;
|
|
18
|
+
exports.WriteoffsApi = exports.WriteoffsApiFactory = exports.WriteoffsApiFp = exports.WriteoffsApiAxiosParamCreator = exports.VouchergroupsApi = exports.VouchergroupsApiFactory = exports.VouchergroupsApiFp = exports.VouchergroupsApiAxiosParamCreator = exports.VatGroupsApi = exports.VatGroupsApiFactory = exports.VatGroupsApiFp = exports.VatGroupsApiAxiosParamCreator = exports.GetUsersSalesReportPdfFileTypeEnum = exports.GetUsersPurchaseReportPdfFileTypeEnum = exports.GetAllUsersTypeEnum = exports.UsersApi = exports.UsersApiFactory = exports.UsersApiFp = exports.UsersApiAxiosParamCreator = exports.UserNotificationPreferencesApi = exports.UserNotificationPreferencesApiFactory = exports.UserNotificationPreferencesApiFp = exports.UserNotificationPreferencesApiAxiosParamCreator = exports.TransfersApi = exports.TransfersApiFactory = exports.TransfersApiFp = exports.TransfersApiAxiosParamCreator = exports.TransactionsApi = exports.TransactionsApiFactory = exports.TransactionsApiFp = exports.TransactionsApiAxiosParamCreator = exports.TransactionSummariesApi = exports.TransactionSummariesApiFactory = exports.TransactionSummariesApiFp = exports.TransactionSummariesApiAxiosParamCreator = void 0;
|
|
19
19
|
const axios_1 = require("axios");
|
|
20
20
|
// Some imports not used depending on template conditions
|
|
21
21
|
// @ts-ignore
|
|
22
22
|
const common_1 = require("./common");
|
|
23
23
|
// @ts-ignore
|
|
24
24
|
const base_1 = require("./base");
|
|
25
|
+
exports.BasePaymentRequestResponseStatusEnum = {
|
|
26
|
+
Pending: 'PENDING',
|
|
27
|
+
Paid: 'PAID',
|
|
28
|
+
Expired: 'EXPIRED',
|
|
29
|
+
Cancelled: 'CANCELLED'
|
|
30
|
+
};
|
|
25
31
|
exports.BasePayoutRequestResponseStatusEnum = {
|
|
26
32
|
Created: 'CREATED',
|
|
27
33
|
Approved: 'APPROVED',
|
|
@@ -66,6 +72,12 @@ exports.PayoutRequestStatusRequestStateEnum = {
|
|
|
66
72
|
Denied: 'DENIED',
|
|
67
73
|
Cancelled: 'CANCELLED'
|
|
68
74
|
};
|
|
75
|
+
exports.PublicPaymentRequestResponseStatusEnum = {
|
|
76
|
+
Pending: 'PENDING',
|
|
77
|
+
Paid: 'PAID',
|
|
78
|
+
Expired: 'EXPIRED',
|
|
79
|
+
Cancelled: 'CANCELLED'
|
|
80
|
+
};
|
|
69
81
|
exports.QRStatusResponseStatusEnum = {
|
|
70
82
|
Pending: 'PENDING',
|
|
71
83
|
Confirmed: 'CONFIRMED',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gewis/sudosos-client",
|
|
3
|
-
"version": "0.0.0-develop.
|
|
3
|
+
"version": "0.0.0-develop.5e0c322",
|
|
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",
|
|
@@ -16,10 +16,10 @@
|
|
|
16
16
|
"clean": "rm -rf src dist"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"axios": "1.
|
|
19
|
+
"axios": "1.16.1"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
|
-
"@openapitools/openapi-generator-cli": "2.
|
|
22
|
+
"@openapitools/openapi-generator-cli": "2.34.0",
|
|
23
23
|
"typescript": "5.9.3"
|
|
24
24
|
},
|
|
25
25
|
"repository": {
|