@munchi_oy/core 1.5.5 → 1.5.6
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/generated/api.d.ts +242 -148
- package/dist/generated/api.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/src/version.d.ts +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/generated/api.ts +349 -187
- package/package.json +1 -1
- package/src/version.ts +1 -1
package/dist/generated/api.d.ts
CHANGED
|
@@ -1601,6 +1601,80 @@ export declare const CashLogType: {
|
|
|
1601
1601
|
readonly Closing: "CLOSING";
|
|
1602
1602
|
};
|
|
1603
1603
|
export type CashLogType = typeof CashLogType[keyof typeof CashLogType];
|
|
1604
|
+
/**
|
|
1605
|
+
*
|
|
1606
|
+
* @export
|
|
1607
|
+
* @interface CashLogsPaginatedDto
|
|
1608
|
+
*/
|
|
1609
|
+
export interface CashLogsPaginatedDto {
|
|
1610
|
+
/**
|
|
1611
|
+
*
|
|
1612
|
+
* @type {Array<CashLogDto>}
|
|
1613
|
+
* @memberof CashLogsPaginatedDto
|
|
1614
|
+
*/
|
|
1615
|
+
'data': Array<CashLogDto>;
|
|
1616
|
+
/**
|
|
1617
|
+
*
|
|
1618
|
+
* @type {number}
|
|
1619
|
+
* @memberof CashLogsPaginatedDto
|
|
1620
|
+
*/
|
|
1621
|
+
'page': number;
|
|
1622
|
+
/**
|
|
1623
|
+
*
|
|
1624
|
+
* @type {number}
|
|
1625
|
+
* @memberof CashLogsPaginatedDto
|
|
1626
|
+
*/
|
|
1627
|
+
'rowPerPage': number;
|
|
1628
|
+
/**
|
|
1629
|
+
*
|
|
1630
|
+
* @type {number}
|
|
1631
|
+
* @memberof CashLogsPaginatedDto
|
|
1632
|
+
*/
|
|
1633
|
+
'totalPages': number;
|
|
1634
|
+
/**
|
|
1635
|
+
*
|
|
1636
|
+
* @type {number}
|
|
1637
|
+
* @memberof CashLogsPaginatedDto
|
|
1638
|
+
*/
|
|
1639
|
+
'total': number;
|
|
1640
|
+
}
|
|
1641
|
+
/**
|
|
1642
|
+
*
|
|
1643
|
+
* @export
|
|
1644
|
+
* @interface CashLogsQueryDto
|
|
1645
|
+
*/
|
|
1646
|
+
export interface CashLogsQueryDto {
|
|
1647
|
+
/**
|
|
1648
|
+
*
|
|
1649
|
+
* @type {TimeSpan}
|
|
1650
|
+
* @memberof CashLogsQueryDto
|
|
1651
|
+
*/
|
|
1652
|
+
'timeSpan'?: TimeSpan;
|
|
1653
|
+
/**
|
|
1654
|
+
* Start date
|
|
1655
|
+
* @type {string}
|
|
1656
|
+
* @memberof CashLogsQueryDto
|
|
1657
|
+
*/
|
|
1658
|
+
'start'?: string;
|
|
1659
|
+
/**
|
|
1660
|
+
* End date
|
|
1661
|
+
* @type {string}
|
|
1662
|
+
* @memberof CashLogsQueryDto
|
|
1663
|
+
*/
|
|
1664
|
+
'end'?: string;
|
|
1665
|
+
/**
|
|
1666
|
+
* Page number
|
|
1667
|
+
* @type {number}
|
|
1668
|
+
* @memberof CashLogsQueryDto
|
|
1669
|
+
*/
|
|
1670
|
+
'page'?: number;
|
|
1671
|
+
/**
|
|
1672
|
+
* Rows per page
|
|
1673
|
+
* @type {number}
|
|
1674
|
+
* @memberof CashLogsQueryDto
|
|
1675
|
+
*/
|
|
1676
|
+
'rowPerPage'?: number;
|
|
1677
|
+
}
|
|
1604
1678
|
/**
|
|
1605
1679
|
*
|
|
1606
1680
|
* @export
|
|
@@ -12557,7 +12631,6 @@ export type RefundMode = typeof RefundMode[keyof typeof RefundMode];
|
|
|
12557
12631
|
export declare const RefundOverallStatus: {
|
|
12558
12632
|
readonly Pending: "PENDING";
|
|
12559
12633
|
readonly InProgress: "IN_PROGRESS";
|
|
12560
|
-
readonly Processing: "PROCESSING";
|
|
12561
12634
|
readonly ChoiceRequired: "CHOICE_REQUIRED";
|
|
12562
12635
|
readonly Completed: "COMPLETED";
|
|
12563
12636
|
readonly Failed: "FAILED";
|
|
@@ -12842,7 +12915,6 @@ export type RefundStatusEnum = typeof RefundStatusEnum[keyof typeof RefundStatus
|
|
|
12842
12915
|
export declare const RefundStepStatus: {
|
|
12843
12916
|
readonly Pending: "PENDING";
|
|
12844
12917
|
readonly InProgress: "IN_PROGRESS";
|
|
12845
|
-
readonly Processing: "PROCESSING";
|
|
12846
12918
|
readonly Failed: "FAILED";
|
|
12847
12919
|
readonly Completed: "COMPLETED";
|
|
12848
12920
|
};
|
|
@@ -16609,67 +16681,6 @@ export interface VivaConfigDto {
|
|
|
16609
16681
|
*/
|
|
16610
16682
|
'additionalAmount'?: number;
|
|
16611
16683
|
}
|
|
16612
|
-
/**
|
|
16613
|
-
*
|
|
16614
|
-
* @export
|
|
16615
|
-
* @interface VivaCreatePaymentDto
|
|
16616
|
-
*/
|
|
16617
|
-
export interface VivaCreatePaymentDto {
|
|
16618
|
-
/**
|
|
16619
|
-
* The ordering business ID for this transaction.
|
|
16620
|
-
* @type {number}
|
|
16621
|
-
* @memberof VivaCreatePaymentDto
|
|
16622
|
-
*/
|
|
16623
|
-
'orderingBusinessId': number;
|
|
16624
|
-
/**
|
|
16625
|
-
*
|
|
16626
|
-
* @type {PaymentProvider}
|
|
16627
|
-
* @memberof VivaCreatePaymentDto
|
|
16628
|
-
*/
|
|
16629
|
-
'provider': PaymentProvider;
|
|
16630
|
-
/**
|
|
16631
|
-
* The cart ID for this transaction.
|
|
16632
|
-
* @type {string}
|
|
16633
|
-
* @memberof VivaCreatePaymentDto
|
|
16634
|
-
*/
|
|
16635
|
-
'cartId': string;
|
|
16636
|
-
/**
|
|
16637
|
-
* The amount for this transaction in cents.
|
|
16638
|
-
* @type {number}
|
|
16639
|
-
* @memberof VivaCreatePaymentDto
|
|
16640
|
-
*/
|
|
16641
|
-
'amount': number;
|
|
16642
|
-
/**
|
|
16643
|
-
* The terminal ID for this transaction.
|
|
16644
|
-
* @type {string}
|
|
16645
|
-
* @memberof VivaCreatePaymentDto
|
|
16646
|
-
*/
|
|
16647
|
-
'terminalId': string;
|
|
16648
|
-
/**
|
|
16649
|
-
*
|
|
16650
|
-
* @type {VivaCurrencyCode}
|
|
16651
|
-
* @memberof VivaCreatePaymentDto
|
|
16652
|
-
*/
|
|
16653
|
-
'currencyCode': VivaCurrencyCode;
|
|
16654
|
-
/**
|
|
16655
|
-
* Whether to show the transaction result.
|
|
16656
|
-
* @type {boolean}
|
|
16657
|
-
* @memberof VivaCreatePaymentDto
|
|
16658
|
-
*/
|
|
16659
|
-
'showTransactionResult'?: boolean;
|
|
16660
|
-
/**
|
|
16661
|
-
* Whether to show the receipt.
|
|
16662
|
-
* @type {boolean}
|
|
16663
|
-
* @memberof VivaCreatePaymentDto
|
|
16664
|
-
*/
|
|
16665
|
-
'showReceipt'?: boolean;
|
|
16666
|
-
/**
|
|
16667
|
-
* The tip amount for this transaction.
|
|
16668
|
-
* @type {number}
|
|
16669
|
-
* @memberof VivaCreatePaymentDto
|
|
16670
|
-
*/
|
|
16671
|
-
'tipAmount'?: number;
|
|
16672
|
-
}
|
|
16673
16684
|
/**
|
|
16674
16685
|
*
|
|
16675
16686
|
* @export
|
|
@@ -17182,10 +17193,16 @@ export interface VivaPaymentIntent {
|
|
|
17182
17193
|
'showReceipt': boolean;
|
|
17183
17194
|
/**
|
|
17184
17195
|
*
|
|
17185
|
-
* @type {
|
|
17196
|
+
* @type {VivaPaymentResultDtoIsvDetails}
|
|
17186
17197
|
* @memberof VivaPaymentIntent
|
|
17187
17198
|
*/
|
|
17188
|
-
'isvDetails'?:
|
|
17199
|
+
'isvDetails'?: VivaPaymentResultDtoIsvDetails;
|
|
17200
|
+
/**
|
|
17201
|
+
* Whether to skip applying a surcharge to the transaction.
|
|
17202
|
+
* @type {boolean}
|
|
17203
|
+
* @memberof VivaPaymentIntent
|
|
17204
|
+
*/
|
|
17205
|
+
'skipSurcharge': boolean;
|
|
17189
17206
|
}
|
|
17190
17207
|
export declare const CurrencyCodeEnum: {
|
|
17191
17208
|
readonly _978: "978";
|
|
@@ -17225,43 +17242,6 @@ export declare const CurrencyCodeEnum: {
|
|
|
17225
17242
|
readonly _946: "946";
|
|
17226
17243
|
};
|
|
17227
17244
|
export type CurrencyCodeEnum = typeof CurrencyCodeEnum[keyof typeof CurrencyCodeEnum];
|
|
17228
|
-
/**
|
|
17229
|
-
* ISV (Independent Software Vendor) specific details.
|
|
17230
|
-
* @export
|
|
17231
|
-
* @interface VivaPaymentIntentIsvDetails
|
|
17232
|
-
*/
|
|
17233
|
-
export interface VivaPaymentIntentIsvDetails {
|
|
17234
|
-
/**
|
|
17235
|
-
* The amount related to the ISV (Independent Software Vendor).
|
|
17236
|
-
* @type {number}
|
|
17237
|
-
* @memberof VivaPaymentIntentIsvDetails
|
|
17238
|
-
*/
|
|
17239
|
-
'amount'?: number;
|
|
17240
|
-
/**
|
|
17241
|
-
* The terminal merchant ID associated with the ISV.
|
|
17242
|
-
* @type {string}
|
|
17243
|
-
* @memberof VivaPaymentIntentIsvDetails
|
|
17244
|
-
*/
|
|
17245
|
-
'terminalMerchantId'?: string;
|
|
17246
|
-
/**
|
|
17247
|
-
* The source code for the ISV.
|
|
17248
|
-
* @type {string}
|
|
17249
|
-
* @memberof VivaPaymentIntentIsvDetails
|
|
17250
|
-
*/
|
|
17251
|
-
'sourceCode'?: string;
|
|
17252
|
-
/**
|
|
17253
|
-
* The merchant ID for the ISV.
|
|
17254
|
-
* @type {string}
|
|
17255
|
-
* @memberof VivaPaymentIntentIsvDetails
|
|
17256
|
-
*/
|
|
17257
|
-
'merchantId'?: string;
|
|
17258
|
-
/**
|
|
17259
|
-
* The merchant source code for the ISV.
|
|
17260
|
-
* @type {string}
|
|
17261
|
-
* @memberof VivaPaymentIntentIsvDetails
|
|
17262
|
-
*/
|
|
17263
|
-
'merchantSourceCode'?: string;
|
|
17264
|
-
}
|
|
17265
17245
|
/**
|
|
17266
17246
|
*
|
|
17267
17247
|
* @export
|
|
@@ -17541,10 +17521,10 @@ export interface VivaPaymentMessageDtoData {
|
|
|
17541
17521
|
'bankId': string;
|
|
17542
17522
|
/**
|
|
17543
17523
|
*
|
|
17544
|
-
* @type {
|
|
17524
|
+
* @type {VivaPaymentResultDtoIsvDetails}
|
|
17545
17525
|
* @memberof VivaPaymentMessageDtoData
|
|
17546
17526
|
*/
|
|
17547
|
-
'isvDetails'?:
|
|
17527
|
+
'isvDetails'?: VivaPaymentResultDtoIsvDetails;
|
|
17548
17528
|
/**
|
|
17549
17529
|
* AADE (Greek Tax Authority) specific transaction ID.
|
|
17550
17530
|
* @type {object}
|
|
@@ -17800,10 +17780,10 @@ export interface VivaPaymentResultDto {
|
|
|
17800
17780
|
'bankId': string;
|
|
17801
17781
|
/**
|
|
17802
17782
|
*
|
|
17803
|
-
* @type {
|
|
17783
|
+
* @type {VivaPaymentResultDtoIsvDetails}
|
|
17804
17784
|
* @memberof VivaPaymentResultDto
|
|
17805
17785
|
*/
|
|
17806
|
-
'isvDetails'?:
|
|
17786
|
+
'isvDetails'?: VivaPaymentResultDtoIsvDetails;
|
|
17807
17787
|
/**
|
|
17808
17788
|
* AADE (Greek Tax Authority) specific transaction ID.
|
|
17809
17789
|
* @type {object}
|
|
@@ -17829,6 +17809,43 @@ export interface VivaPaymentResultDto {
|
|
|
17829
17809
|
*/
|
|
17830
17810
|
'surchargeAmount': number;
|
|
17831
17811
|
}
|
|
17812
|
+
/**
|
|
17813
|
+
* ISV (Independent Software Vendor) specific details.
|
|
17814
|
+
* @export
|
|
17815
|
+
* @interface VivaPaymentResultDtoIsvDetails
|
|
17816
|
+
*/
|
|
17817
|
+
export interface VivaPaymentResultDtoIsvDetails {
|
|
17818
|
+
/**
|
|
17819
|
+
* The amount related to the ISV (Independent Software Vendor).
|
|
17820
|
+
* @type {number}
|
|
17821
|
+
* @memberof VivaPaymentResultDtoIsvDetails
|
|
17822
|
+
*/
|
|
17823
|
+
'amount'?: number;
|
|
17824
|
+
/**
|
|
17825
|
+
* The terminal merchant ID associated with the ISV.
|
|
17826
|
+
* @type {string}
|
|
17827
|
+
* @memberof VivaPaymentResultDtoIsvDetails
|
|
17828
|
+
*/
|
|
17829
|
+
'terminalMerchantId'?: string;
|
|
17830
|
+
/**
|
|
17831
|
+
* The source code for the ISV.
|
|
17832
|
+
* @type {string}
|
|
17833
|
+
* @memberof VivaPaymentResultDtoIsvDetails
|
|
17834
|
+
*/
|
|
17835
|
+
'sourceCode'?: string;
|
|
17836
|
+
/**
|
|
17837
|
+
* The merchant ID for the ISV.
|
|
17838
|
+
* @type {string}
|
|
17839
|
+
* @memberof VivaPaymentResultDtoIsvDetails
|
|
17840
|
+
*/
|
|
17841
|
+
'merchantId'?: string;
|
|
17842
|
+
/**
|
|
17843
|
+
* The merchant source code for the ISV.
|
|
17844
|
+
* @type {string}
|
|
17845
|
+
* @memberof VivaPaymentResultDtoIsvDetails
|
|
17846
|
+
*/
|
|
17847
|
+
'merchantSourceCode'?: string;
|
|
17848
|
+
}
|
|
17832
17849
|
/**
|
|
17833
17850
|
*
|
|
17834
17851
|
* @export
|
|
@@ -19660,6 +19677,15 @@ export declare const BusinessApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
19660
19677
|
* @throws {RequiredError}
|
|
19661
19678
|
*/
|
|
19662
19679
|
getBusinessCategoriesByMenuIdV2: (businessId: string, businessCategoryBodyDto: BusinessCategoryBodyDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
19680
|
+
/**
|
|
19681
|
+
*
|
|
19682
|
+
* @summary Get business menu categories V3
|
|
19683
|
+
* @param {string} businessId
|
|
19684
|
+
* @param {BusinessCategoryBodyDto} businessCategoryBodyDto Example body
|
|
19685
|
+
* @param {*} [options] Override http request option.
|
|
19686
|
+
* @throws {RequiredError}
|
|
19687
|
+
*/
|
|
19688
|
+
getBusinessCategoriesByMenuIdV3: (businessId: string, businessCategoryBodyDto: BusinessCategoryBodyDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
19663
19689
|
/**
|
|
19664
19690
|
*
|
|
19665
19691
|
* @param {string} businessId Id of the business
|
|
@@ -19856,6 +19882,15 @@ export declare const BusinessApiFp: (configuration?: Configuration) => {
|
|
|
19856
19882
|
* @throws {RequiredError}
|
|
19857
19883
|
*/
|
|
19858
19884
|
getBusinessCategoriesByMenuIdV2(businessId: string, businessCategoryBodyDto: BusinessCategoryBodyDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ExtendedCategoryDto>>>;
|
|
19885
|
+
/**
|
|
19886
|
+
*
|
|
19887
|
+
* @summary Get business menu categories V3
|
|
19888
|
+
* @param {string} businessId
|
|
19889
|
+
* @param {BusinessCategoryBodyDto} businessCategoryBodyDto Example body
|
|
19890
|
+
* @param {*} [options] Override http request option.
|
|
19891
|
+
* @throws {RequiredError}
|
|
19892
|
+
*/
|
|
19893
|
+
getBusinessCategoriesByMenuIdV3(businessId: string, businessCategoryBodyDto: BusinessCategoryBodyDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ExtendedCategoryDto>>>;
|
|
19859
19894
|
/**
|
|
19860
19895
|
*
|
|
19861
19896
|
* @param {string} businessId Id of the business
|
|
@@ -20052,6 +20087,15 @@ export declare const BusinessApiFactory: (configuration?: Configuration, basePat
|
|
|
20052
20087
|
* @throws {RequiredError}
|
|
20053
20088
|
*/
|
|
20054
20089
|
getBusinessCategoriesByMenuIdV2(businessId: string, businessCategoryBodyDto: BusinessCategoryBodyDto, options?: any): AxiosPromise<Array<ExtendedCategoryDto>>;
|
|
20090
|
+
/**
|
|
20091
|
+
*
|
|
20092
|
+
* @summary Get business menu categories V3
|
|
20093
|
+
* @param {string} businessId
|
|
20094
|
+
* @param {BusinessCategoryBodyDto} businessCategoryBodyDto Example body
|
|
20095
|
+
* @param {*} [options] Override http request option.
|
|
20096
|
+
* @throws {RequiredError}
|
|
20097
|
+
*/
|
|
20098
|
+
getBusinessCategoriesByMenuIdV3(businessId: string, businessCategoryBodyDto: BusinessCategoryBodyDto, options?: any): AxiosPromise<Array<ExtendedCategoryDto>>;
|
|
20055
20099
|
/**
|
|
20056
20100
|
*
|
|
20057
20101
|
* @param {string} businessId Id of the business
|
|
@@ -20253,6 +20297,16 @@ export interface BusinessApiInterface {
|
|
|
20253
20297
|
* @memberof BusinessApiInterface
|
|
20254
20298
|
*/
|
|
20255
20299
|
getBusinessCategoriesByMenuIdV2(businessId: string, businessCategoryBodyDto: BusinessCategoryBodyDto, options?: AxiosRequestConfig): AxiosPromise<Array<ExtendedCategoryDto>>;
|
|
20300
|
+
/**
|
|
20301
|
+
*
|
|
20302
|
+
* @summary Get business menu categories V3
|
|
20303
|
+
* @param {string} businessId
|
|
20304
|
+
* @param {BusinessCategoryBodyDto} businessCategoryBodyDto Example body
|
|
20305
|
+
* @param {*} [options] Override http request option.
|
|
20306
|
+
* @throws {RequiredError}
|
|
20307
|
+
* @memberof BusinessApiInterface
|
|
20308
|
+
*/
|
|
20309
|
+
getBusinessCategoriesByMenuIdV3(businessId: string, businessCategoryBodyDto: BusinessCategoryBodyDto, options?: AxiosRequestConfig): AxiosPromise<Array<ExtendedCategoryDto>>;
|
|
20256
20310
|
/**
|
|
20257
20311
|
*
|
|
20258
20312
|
* @param {string} businessId Id of the business
|
|
@@ -20474,6 +20528,16 @@ export declare class BusinessApi extends BaseAPI implements BusinessApiInterface
|
|
|
20474
20528
|
* @memberof BusinessApi
|
|
20475
20529
|
*/
|
|
20476
20530
|
getBusinessCategoriesByMenuIdV2(businessId: string, businessCategoryBodyDto: BusinessCategoryBodyDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ExtendedCategoryDto[], any, {}>>;
|
|
20531
|
+
/**
|
|
20532
|
+
*
|
|
20533
|
+
* @summary Get business menu categories V3
|
|
20534
|
+
* @param {string} businessId
|
|
20535
|
+
* @param {BusinessCategoryBodyDto} businessCategoryBodyDto Example body
|
|
20536
|
+
* @param {*} [options] Override http request option.
|
|
20537
|
+
* @throws {RequiredError}
|
|
20538
|
+
* @memberof BusinessApi
|
|
20539
|
+
*/
|
|
20540
|
+
getBusinessCategoriesByMenuIdV3(businessId: string, businessCategoryBodyDto: BusinessCategoryBodyDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ExtendedCategoryDto[], any, {}>>;
|
|
20477
20541
|
/**
|
|
20478
20542
|
*
|
|
20479
20543
|
* @param {string} businessId Id of the business
|
|
@@ -20662,6 +20726,20 @@ export declare const CashManagementApiAxiosParamCreator: (configuration?: Config
|
|
|
20662
20726
|
* @throws {RequiredError}
|
|
20663
20727
|
*/
|
|
20664
20728
|
create: (businessId: string, cashSessionDto: CashSessionDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
20729
|
+
/**
|
|
20730
|
+
*
|
|
20731
|
+
* @summary
|
|
20732
|
+
* @param {string} businessId
|
|
20733
|
+
* @param {string} timezone
|
|
20734
|
+
* @param {TimeSpan} [timeSpan] Time span
|
|
20735
|
+
* @param {string} [start] Start date
|
|
20736
|
+
* @param {string} [end] End date
|
|
20737
|
+
* @param {number} [page] Page number
|
|
20738
|
+
* @param {number} [rowPerPage] Rows per page
|
|
20739
|
+
* @param {*} [options] Override http request option.
|
|
20740
|
+
* @throws {RequiredError}
|
|
20741
|
+
*/
|
|
20742
|
+
getCashLogs: (businessId: string, timezone: string, timeSpan?: TimeSpan, start?: string, end?: string, page?: number, rowPerPage?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
20665
20743
|
/**
|
|
20666
20744
|
*
|
|
20667
20745
|
* @param {string} businessId
|
|
@@ -20708,6 +20786,20 @@ export declare const CashManagementApiFp: (configuration?: Configuration) => {
|
|
|
20708
20786
|
* @throws {RequiredError}
|
|
20709
20787
|
*/
|
|
20710
20788
|
create(businessId: string, cashSessionDto: CashSessionDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CashSessionDto>>;
|
|
20789
|
+
/**
|
|
20790
|
+
*
|
|
20791
|
+
* @summary
|
|
20792
|
+
* @param {string} businessId
|
|
20793
|
+
* @param {string} timezone
|
|
20794
|
+
* @param {TimeSpan} [timeSpan] Time span
|
|
20795
|
+
* @param {string} [start] Start date
|
|
20796
|
+
* @param {string} [end] End date
|
|
20797
|
+
* @param {number} [page] Page number
|
|
20798
|
+
* @param {number} [rowPerPage] Rows per page
|
|
20799
|
+
* @param {*} [options] Override http request option.
|
|
20800
|
+
* @throws {RequiredError}
|
|
20801
|
+
*/
|
|
20802
|
+
getCashLogs(businessId: string, timezone: string, timeSpan?: TimeSpan, start?: string, end?: string, page?: number, rowPerPage?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CashLogsPaginatedDto>>;
|
|
20711
20803
|
/**
|
|
20712
20804
|
*
|
|
20713
20805
|
* @param {string} businessId
|
|
@@ -20754,6 +20846,20 @@ export declare const CashManagementApiFactory: (configuration?: Configuration, b
|
|
|
20754
20846
|
* @throws {RequiredError}
|
|
20755
20847
|
*/
|
|
20756
20848
|
create(businessId: string, cashSessionDto: CashSessionDto, options?: any): AxiosPromise<CashSessionDto>;
|
|
20849
|
+
/**
|
|
20850
|
+
*
|
|
20851
|
+
* @summary
|
|
20852
|
+
* @param {string} businessId
|
|
20853
|
+
* @param {string} timezone
|
|
20854
|
+
* @param {TimeSpan} [timeSpan] Time span
|
|
20855
|
+
* @param {string} [start] Start date
|
|
20856
|
+
* @param {string} [end] End date
|
|
20857
|
+
* @param {number} [page] Page number
|
|
20858
|
+
* @param {number} [rowPerPage] Rows per page
|
|
20859
|
+
* @param {*} [options] Override http request option.
|
|
20860
|
+
* @throws {RequiredError}
|
|
20861
|
+
*/
|
|
20862
|
+
getCashLogs(businessId: string, timezone: string, timeSpan?: TimeSpan, start?: string, end?: string, page?: number, rowPerPage?: number, options?: any): AxiosPromise<CashLogsPaginatedDto>;
|
|
20757
20863
|
/**
|
|
20758
20864
|
*
|
|
20759
20865
|
* @param {string} businessId
|
|
@@ -20802,6 +20908,21 @@ export interface CashManagementApiInterface {
|
|
|
20802
20908
|
* @memberof CashManagementApiInterface
|
|
20803
20909
|
*/
|
|
20804
20910
|
create(businessId: string, cashSessionDto: CashSessionDto, options?: AxiosRequestConfig): AxiosPromise<CashSessionDto>;
|
|
20911
|
+
/**
|
|
20912
|
+
*
|
|
20913
|
+
* @summary
|
|
20914
|
+
* @param {string} businessId
|
|
20915
|
+
* @param {string} timezone
|
|
20916
|
+
* @param {TimeSpan} [timeSpan] Time span
|
|
20917
|
+
* @param {string} [start] Start date
|
|
20918
|
+
* @param {string} [end] End date
|
|
20919
|
+
* @param {number} [page] Page number
|
|
20920
|
+
* @param {number} [rowPerPage] Rows per page
|
|
20921
|
+
* @param {*} [options] Override http request option.
|
|
20922
|
+
* @throws {RequiredError}
|
|
20923
|
+
* @memberof CashManagementApiInterface
|
|
20924
|
+
*/
|
|
20925
|
+
getCashLogs(businessId: string, timezone: string, timeSpan?: TimeSpan, start?: string, end?: string, page?: number, rowPerPage?: number, options?: AxiosRequestConfig): AxiosPromise<CashLogsPaginatedDto>;
|
|
20805
20926
|
/**
|
|
20806
20927
|
*
|
|
20807
20928
|
* @param {string} businessId
|
|
@@ -20855,6 +20976,21 @@ export declare class CashManagementApi extends BaseAPI implements CashManagement
|
|
|
20855
20976
|
* @memberof CashManagementApi
|
|
20856
20977
|
*/
|
|
20857
20978
|
create(businessId: string, cashSessionDto: CashSessionDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CashSessionDto, any, {}>>;
|
|
20979
|
+
/**
|
|
20980
|
+
*
|
|
20981
|
+
* @summary
|
|
20982
|
+
* @param {string} businessId
|
|
20983
|
+
* @param {string} timezone
|
|
20984
|
+
* @param {TimeSpan} [timeSpan] Time span
|
|
20985
|
+
* @param {string} [start] Start date
|
|
20986
|
+
* @param {string} [end] End date
|
|
20987
|
+
* @param {number} [page] Page number
|
|
20988
|
+
* @param {number} [rowPerPage] Rows per page
|
|
20989
|
+
* @param {*} [options] Override http request option.
|
|
20990
|
+
* @throws {RequiredError}
|
|
20991
|
+
* @memberof CashManagementApi
|
|
20992
|
+
*/
|
|
20993
|
+
getCashLogs(businessId: string, timezone: string, timeSpan?: TimeSpan, start?: string, end?: string, page?: number, rowPerPage?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CashLogsPaginatedDto, any, {}>>;
|
|
20858
20994
|
/**
|
|
20859
20995
|
*
|
|
20860
20996
|
* @param {string} businessId
|
|
@@ -24100,14 +24236,6 @@ export declare const PaymentApiAxiosParamCreator: (configuration?: Configuration
|
|
|
24100
24236
|
* @throws {RequiredError}
|
|
24101
24237
|
*/
|
|
24102
24238
|
createNetsRefundTransaction: (createRefundDto: CreateRefundDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
24103
|
-
/**
|
|
24104
|
-
* Creates a new Viva payment intent.
|
|
24105
|
-
* @summary Create Viva payment
|
|
24106
|
-
* @param {VivaCreatePaymentDto} vivaCreatePaymentDto Viva payment creation payload
|
|
24107
|
-
* @param {*} [options] Override http request option.
|
|
24108
|
-
* @throws {RequiredError}
|
|
24109
|
-
*/
|
|
24110
|
-
createVivaPaymentV3: (vivaCreatePaymentDto: VivaCreatePaymentDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
24111
24239
|
/**
|
|
24112
24240
|
* Retrieves the refund reference for a specific transaction.
|
|
24113
24241
|
* @summary Get refund reference for a transaction
|
|
@@ -24226,14 +24354,6 @@ export declare const PaymentApiFp: (configuration?: Configuration) => {
|
|
|
24226
24354
|
* @throws {RequiredError}
|
|
24227
24355
|
*/
|
|
24228
24356
|
createNetsRefundTransaction(createRefundDto: CreateRefundDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateNetsRefundResponseDto>>;
|
|
24229
|
-
/**
|
|
24230
|
-
* Creates a new Viva payment intent.
|
|
24231
|
-
* @summary Create Viva payment
|
|
24232
|
-
* @param {VivaCreatePaymentDto} vivaCreatePaymentDto Viva payment creation payload
|
|
24233
|
-
* @param {*} [options] Override http request option.
|
|
24234
|
-
* @throws {RequiredError}
|
|
24235
|
-
*/
|
|
24236
|
-
createVivaPaymentV3(vivaCreatePaymentDto: VivaCreatePaymentDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VivaPaymentIntent>>;
|
|
24237
24357
|
/**
|
|
24238
24358
|
* Retrieves the refund reference for a specific transaction.
|
|
24239
24359
|
* @summary Get refund reference for a transaction
|
|
@@ -24352,14 +24472,6 @@ export declare const PaymentApiFactory: (configuration?: Configuration, basePath
|
|
|
24352
24472
|
* @throws {RequiredError}
|
|
24353
24473
|
*/
|
|
24354
24474
|
createNetsRefundTransaction(createRefundDto: CreateRefundDto, options?: any): AxiosPromise<CreateNetsRefundResponseDto>;
|
|
24355
|
-
/**
|
|
24356
|
-
* Creates a new Viva payment intent.
|
|
24357
|
-
* @summary Create Viva payment
|
|
24358
|
-
* @param {VivaCreatePaymentDto} vivaCreatePaymentDto Viva payment creation payload
|
|
24359
|
-
* @param {*} [options] Override http request option.
|
|
24360
|
-
* @throws {RequiredError}
|
|
24361
|
-
*/
|
|
24362
|
-
createVivaPaymentV3(vivaCreatePaymentDto: VivaCreatePaymentDto, options?: any): AxiosPromise<VivaPaymentIntent>;
|
|
24363
24475
|
/**
|
|
24364
24476
|
* Retrieves the refund reference for a specific transaction.
|
|
24365
24477
|
* @summary Get refund reference for a transaction
|
|
@@ -24482,15 +24594,6 @@ export interface PaymentApiInterface {
|
|
|
24482
24594
|
* @memberof PaymentApiInterface
|
|
24483
24595
|
*/
|
|
24484
24596
|
createNetsRefundTransaction(createRefundDto: CreateRefundDto, options?: AxiosRequestConfig): AxiosPromise<CreateNetsRefundResponseDto>;
|
|
24485
|
-
/**
|
|
24486
|
-
* Creates a new Viva payment intent.
|
|
24487
|
-
* @summary Create Viva payment
|
|
24488
|
-
* @param {VivaCreatePaymentDto} vivaCreatePaymentDto Viva payment creation payload
|
|
24489
|
-
* @param {*} [options] Override http request option.
|
|
24490
|
-
* @throws {RequiredError}
|
|
24491
|
-
* @memberof PaymentApiInterface
|
|
24492
|
-
*/
|
|
24493
|
-
createVivaPaymentV3(vivaCreatePaymentDto: VivaCreatePaymentDto, options?: AxiosRequestConfig): AxiosPromise<VivaPaymentIntent>;
|
|
24494
24597
|
/**
|
|
24495
24598
|
* Retrieves the refund reference for a specific transaction.
|
|
24496
24599
|
* @summary Get refund reference for a transaction
|
|
@@ -24625,15 +24728,6 @@ export declare class PaymentApi extends BaseAPI implements PaymentApiInterface {
|
|
|
24625
24728
|
* @memberof PaymentApi
|
|
24626
24729
|
*/
|
|
24627
24730
|
createNetsRefundTransaction(createRefundDto: CreateRefundDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateNetsRefundResponseDto, any, {}>>;
|
|
24628
|
-
/**
|
|
24629
|
-
* Creates a new Viva payment intent.
|
|
24630
|
-
* @summary Create Viva payment
|
|
24631
|
-
* @param {VivaCreatePaymentDto} vivaCreatePaymentDto Viva payment creation payload
|
|
24632
|
-
* @param {*} [options] Override http request option.
|
|
24633
|
-
* @throws {RequiredError}
|
|
24634
|
-
* @memberof PaymentApi
|
|
24635
|
-
*/
|
|
24636
|
-
createVivaPaymentV3(vivaCreatePaymentDto: VivaCreatePaymentDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<VivaPaymentIntent, any, {}>>;
|
|
24637
24731
|
/**
|
|
24638
24732
|
* Retrieves the refund reference for a specific transaction.
|
|
24639
24733
|
* @summary Get refund reference for a transaction
|