@munchi_oy/core 1.5.5 → 1.5.7
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 +336 -153
- 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 +450 -192
- 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
|
|
@@ -1991,11 +2065,84 @@ export interface CashSessionResponseDto {
|
|
|
1991
2065
|
'activeSession': CashSessionResponseDtoActiveSession | null;
|
|
1992
2066
|
}
|
|
1993
2067
|
/**
|
|
1994
|
-
*
|
|
1995
|
-
* The currently open cash session for the business, or null if none.
|
|
2068
|
+
* The currently open cash session for the business. Returns null when no session is open.
|
|
1996
2069
|
* @export
|
|
2070
|
+
* @interface CashSessionResponseDtoActiveSession
|
|
1997
2071
|
*/
|
|
1998
|
-
export
|
|
2072
|
+
export interface CashSessionResponseDtoActiveSession {
|
|
2073
|
+
/**
|
|
2074
|
+
* Session ID
|
|
2075
|
+
* @type {string}
|
|
2076
|
+
* @memberof CashSessionResponseDtoActiveSession
|
|
2077
|
+
*/
|
|
2078
|
+
'id': string;
|
|
2079
|
+
/**
|
|
2080
|
+
* Business ID
|
|
2081
|
+
* @type {string}
|
|
2082
|
+
* @memberof CashSessionResponseDtoActiveSession
|
|
2083
|
+
*/
|
|
2084
|
+
'businessId': string;
|
|
2085
|
+
/**
|
|
2086
|
+
*
|
|
2087
|
+
* @type {string}
|
|
2088
|
+
* @memberof CashSessionResponseDtoActiveSession
|
|
2089
|
+
*/
|
|
2090
|
+
'currency': string;
|
|
2091
|
+
/**
|
|
2092
|
+
*
|
|
2093
|
+
* @type {CashSessionStatus}
|
|
2094
|
+
* @memberof CashSessionResponseDtoActiveSession
|
|
2095
|
+
*/
|
|
2096
|
+
'status': CashSessionStatus;
|
|
2097
|
+
/**
|
|
2098
|
+
* ID of staff who opened
|
|
2099
|
+
* @type {string}
|
|
2100
|
+
* @memberof CashSessionResponseDtoActiveSession
|
|
2101
|
+
*/
|
|
2102
|
+
'openedBy'?: string | null;
|
|
2103
|
+
/**
|
|
2104
|
+
*
|
|
2105
|
+
* @type {string}
|
|
2106
|
+
* @memberof CashSessionResponseDtoActiveSession
|
|
2107
|
+
*/
|
|
2108
|
+
'openedAt': string;
|
|
2109
|
+
/**
|
|
2110
|
+
* ID of staff who closed
|
|
2111
|
+
* @type {string}
|
|
2112
|
+
* @memberof CashSessionResponseDtoActiveSession
|
|
2113
|
+
*/
|
|
2114
|
+
'closedBy'?: string | null;
|
|
2115
|
+
/**
|
|
2116
|
+
*
|
|
2117
|
+
* @type {string}
|
|
2118
|
+
* @memberof CashSessionResponseDtoActiveSession
|
|
2119
|
+
*/
|
|
2120
|
+
'closedAt'?: string;
|
|
2121
|
+
/**
|
|
2122
|
+
* Initial float amount
|
|
2123
|
+
* @type {number}
|
|
2124
|
+
* @memberof CashSessionResponseDtoActiveSession
|
|
2125
|
+
*/
|
|
2126
|
+
'openingBalance': number;
|
|
2127
|
+
/**
|
|
2128
|
+
*
|
|
2129
|
+
* @type {CashSessionTotalsDto}
|
|
2130
|
+
* @memberof CashSessionResponseDtoActiveSession
|
|
2131
|
+
*/
|
|
2132
|
+
'totals': CashSessionTotalsDto;
|
|
2133
|
+
/**
|
|
2134
|
+
*
|
|
2135
|
+
* @type {CashSessionDtoClosing}
|
|
2136
|
+
* @memberof CashSessionResponseDtoActiveSession
|
|
2137
|
+
*/
|
|
2138
|
+
'closing'?: CashSessionDtoClosing;
|
|
2139
|
+
/**
|
|
2140
|
+
* Optional label for the stage/shift
|
|
2141
|
+
* @type {string}
|
|
2142
|
+
* @memberof CashSessionResponseDtoActiveSession
|
|
2143
|
+
*/
|
|
2144
|
+
'currentStageLabel'?: string;
|
|
2145
|
+
}
|
|
1999
2146
|
/**
|
|
2000
2147
|
*
|
|
2001
2148
|
* @export
|
|
@@ -12557,7 +12704,6 @@ export type RefundMode = typeof RefundMode[keyof typeof RefundMode];
|
|
|
12557
12704
|
export declare const RefundOverallStatus: {
|
|
12558
12705
|
readonly Pending: "PENDING";
|
|
12559
12706
|
readonly InProgress: "IN_PROGRESS";
|
|
12560
|
-
readonly Processing: "PROCESSING";
|
|
12561
12707
|
readonly ChoiceRequired: "CHOICE_REQUIRED";
|
|
12562
12708
|
readonly Completed: "COMPLETED";
|
|
12563
12709
|
readonly Failed: "FAILED";
|
|
@@ -12842,7 +12988,6 @@ export type RefundStatusEnum = typeof RefundStatusEnum[keyof typeof RefundStatus
|
|
|
12842
12988
|
export declare const RefundStepStatus: {
|
|
12843
12989
|
readonly Pending: "PENDING";
|
|
12844
12990
|
readonly InProgress: "IN_PROGRESS";
|
|
12845
|
-
readonly Processing: "PROCESSING";
|
|
12846
12991
|
readonly Failed: "FAILED";
|
|
12847
12992
|
readonly Completed: "COMPLETED";
|
|
12848
12993
|
};
|
|
@@ -12927,6 +13072,16 @@ export interface RejectOrderDto {
|
|
|
12927
13072
|
*/
|
|
12928
13073
|
'reason': string;
|
|
12929
13074
|
}
|
|
13075
|
+
/**
|
|
13076
|
+
*
|
|
13077
|
+
* @export
|
|
13078
|
+
* @enum {string}
|
|
13079
|
+
*/
|
|
13080
|
+
export declare const ReportLanguage: {
|
|
13081
|
+
readonly Fi: "fi";
|
|
13082
|
+
readonly En: "en";
|
|
13083
|
+
};
|
|
13084
|
+
export type ReportLanguage = typeof ReportLanguage[keyof typeof ReportLanguage];
|
|
12930
13085
|
/**
|
|
12931
13086
|
*
|
|
12932
13087
|
* @export
|
|
@@ -13212,6 +13367,12 @@ export interface SendReportEmailDto {
|
|
|
13212
13367
|
* @memberof SendReportEmailDto
|
|
13213
13368
|
*/
|
|
13214
13369
|
'email'?: string;
|
|
13370
|
+
/**
|
|
13371
|
+
*
|
|
13372
|
+
* @type {ReportLanguage}
|
|
13373
|
+
* @memberof SendReportEmailDto
|
|
13374
|
+
*/
|
|
13375
|
+
'language'?: ReportLanguage;
|
|
13215
13376
|
}
|
|
13216
13377
|
/**
|
|
13217
13378
|
*
|
|
@@ -13688,10 +13849,10 @@ export interface SubcategoryDto {
|
|
|
13688
13849
|
'description': string | null;
|
|
13689
13850
|
/**
|
|
13690
13851
|
* Products in this subcategory
|
|
13691
|
-
* @type {Array<
|
|
13852
|
+
* @type {Array<ExtendedProductDto>}
|
|
13692
13853
|
* @memberof SubcategoryDto
|
|
13693
13854
|
*/
|
|
13694
|
-
'products': Array<
|
|
13855
|
+
'products': Array<ExtendedProductDto>;
|
|
13695
13856
|
}
|
|
13696
13857
|
/**
|
|
13697
13858
|
*
|
|
@@ -16609,67 +16770,6 @@ export interface VivaConfigDto {
|
|
|
16609
16770
|
*/
|
|
16610
16771
|
'additionalAmount'?: number;
|
|
16611
16772
|
}
|
|
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
16773
|
/**
|
|
16674
16774
|
*
|
|
16675
16775
|
* @export
|
|
@@ -17182,10 +17282,16 @@ export interface VivaPaymentIntent {
|
|
|
17182
17282
|
'showReceipt': boolean;
|
|
17183
17283
|
/**
|
|
17184
17284
|
*
|
|
17185
|
-
* @type {
|
|
17285
|
+
* @type {VivaPaymentResultDtoIsvDetails}
|
|
17286
|
+
* @memberof VivaPaymentIntent
|
|
17287
|
+
*/
|
|
17288
|
+
'isvDetails'?: VivaPaymentResultDtoIsvDetails;
|
|
17289
|
+
/**
|
|
17290
|
+
* Whether to skip applying a surcharge to the transaction.
|
|
17291
|
+
* @type {boolean}
|
|
17186
17292
|
* @memberof VivaPaymentIntent
|
|
17187
17293
|
*/
|
|
17188
|
-
'
|
|
17294
|
+
'skipSurcharge': boolean;
|
|
17189
17295
|
}
|
|
17190
17296
|
export declare const CurrencyCodeEnum: {
|
|
17191
17297
|
readonly _978: "978";
|
|
@@ -17225,43 +17331,6 @@ export declare const CurrencyCodeEnum: {
|
|
|
17225
17331
|
readonly _946: "946";
|
|
17226
17332
|
};
|
|
17227
17333
|
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
17334
|
/**
|
|
17266
17335
|
*
|
|
17267
17336
|
* @export
|
|
@@ -17541,10 +17610,10 @@ export interface VivaPaymentMessageDtoData {
|
|
|
17541
17610
|
'bankId': string;
|
|
17542
17611
|
/**
|
|
17543
17612
|
*
|
|
17544
|
-
* @type {
|
|
17613
|
+
* @type {VivaPaymentResultDtoIsvDetails}
|
|
17545
17614
|
* @memberof VivaPaymentMessageDtoData
|
|
17546
17615
|
*/
|
|
17547
|
-
'isvDetails'?:
|
|
17616
|
+
'isvDetails'?: VivaPaymentResultDtoIsvDetails;
|
|
17548
17617
|
/**
|
|
17549
17618
|
* AADE (Greek Tax Authority) specific transaction ID.
|
|
17550
17619
|
* @type {object}
|
|
@@ -17800,10 +17869,10 @@ export interface VivaPaymentResultDto {
|
|
|
17800
17869
|
'bankId': string;
|
|
17801
17870
|
/**
|
|
17802
17871
|
*
|
|
17803
|
-
* @type {
|
|
17872
|
+
* @type {VivaPaymentResultDtoIsvDetails}
|
|
17804
17873
|
* @memberof VivaPaymentResultDto
|
|
17805
17874
|
*/
|
|
17806
|
-
'isvDetails'?:
|
|
17875
|
+
'isvDetails'?: VivaPaymentResultDtoIsvDetails;
|
|
17807
17876
|
/**
|
|
17808
17877
|
* AADE (Greek Tax Authority) specific transaction ID.
|
|
17809
17878
|
* @type {object}
|
|
@@ -17829,6 +17898,43 @@ export interface VivaPaymentResultDto {
|
|
|
17829
17898
|
*/
|
|
17830
17899
|
'surchargeAmount': number;
|
|
17831
17900
|
}
|
|
17901
|
+
/**
|
|
17902
|
+
* ISV (Independent Software Vendor) specific details.
|
|
17903
|
+
* @export
|
|
17904
|
+
* @interface VivaPaymentResultDtoIsvDetails
|
|
17905
|
+
*/
|
|
17906
|
+
export interface VivaPaymentResultDtoIsvDetails {
|
|
17907
|
+
/**
|
|
17908
|
+
* The amount related to the ISV (Independent Software Vendor).
|
|
17909
|
+
* @type {number}
|
|
17910
|
+
* @memberof VivaPaymentResultDtoIsvDetails
|
|
17911
|
+
*/
|
|
17912
|
+
'amount'?: number;
|
|
17913
|
+
/**
|
|
17914
|
+
* The terminal merchant ID associated with the ISV.
|
|
17915
|
+
* @type {string}
|
|
17916
|
+
* @memberof VivaPaymentResultDtoIsvDetails
|
|
17917
|
+
*/
|
|
17918
|
+
'terminalMerchantId'?: string;
|
|
17919
|
+
/**
|
|
17920
|
+
* The source code for the ISV.
|
|
17921
|
+
* @type {string}
|
|
17922
|
+
* @memberof VivaPaymentResultDtoIsvDetails
|
|
17923
|
+
*/
|
|
17924
|
+
'sourceCode'?: string;
|
|
17925
|
+
/**
|
|
17926
|
+
* The merchant ID for the ISV.
|
|
17927
|
+
* @type {string}
|
|
17928
|
+
* @memberof VivaPaymentResultDtoIsvDetails
|
|
17929
|
+
*/
|
|
17930
|
+
'merchantId'?: string;
|
|
17931
|
+
/**
|
|
17932
|
+
* The merchant source code for the ISV.
|
|
17933
|
+
* @type {string}
|
|
17934
|
+
* @memberof VivaPaymentResultDtoIsvDetails
|
|
17935
|
+
*/
|
|
17936
|
+
'merchantSourceCode'?: string;
|
|
17937
|
+
}
|
|
17832
17938
|
/**
|
|
17833
17939
|
*
|
|
17834
17940
|
* @export
|
|
@@ -19660,6 +19766,15 @@ export declare const BusinessApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
19660
19766
|
* @throws {RequiredError}
|
|
19661
19767
|
*/
|
|
19662
19768
|
getBusinessCategoriesByMenuIdV2: (businessId: string, businessCategoryBodyDto: BusinessCategoryBodyDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
19769
|
+
/**
|
|
19770
|
+
*
|
|
19771
|
+
* @summary Get business menu categories V3
|
|
19772
|
+
* @param {string} businessId
|
|
19773
|
+
* @param {BusinessCategoryBodyDto} businessCategoryBodyDto Example body
|
|
19774
|
+
* @param {*} [options] Override http request option.
|
|
19775
|
+
* @throws {RequiredError}
|
|
19776
|
+
*/
|
|
19777
|
+
getBusinessCategoriesByMenuIdV3: (businessId: string, businessCategoryBodyDto: BusinessCategoryBodyDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
19663
19778
|
/**
|
|
19664
19779
|
*
|
|
19665
19780
|
* @param {string} businessId Id of the business
|
|
@@ -19856,6 +19971,15 @@ export declare const BusinessApiFp: (configuration?: Configuration) => {
|
|
|
19856
19971
|
* @throws {RequiredError}
|
|
19857
19972
|
*/
|
|
19858
19973
|
getBusinessCategoriesByMenuIdV2(businessId: string, businessCategoryBodyDto: BusinessCategoryBodyDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ExtendedCategoryDto>>>;
|
|
19974
|
+
/**
|
|
19975
|
+
*
|
|
19976
|
+
* @summary Get business menu categories V3
|
|
19977
|
+
* @param {string} businessId
|
|
19978
|
+
* @param {BusinessCategoryBodyDto} businessCategoryBodyDto Example body
|
|
19979
|
+
* @param {*} [options] Override http request option.
|
|
19980
|
+
* @throws {RequiredError}
|
|
19981
|
+
*/
|
|
19982
|
+
getBusinessCategoriesByMenuIdV3(businessId: string, businessCategoryBodyDto: BusinessCategoryBodyDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ExtendedCategoryDto>>>;
|
|
19859
19983
|
/**
|
|
19860
19984
|
*
|
|
19861
19985
|
* @param {string} businessId Id of the business
|
|
@@ -20052,6 +20176,15 @@ export declare const BusinessApiFactory: (configuration?: Configuration, basePat
|
|
|
20052
20176
|
* @throws {RequiredError}
|
|
20053
20177
|
*/
|
|
20054
20178
|
getBusinessCategoriesByMenuIdV2(businessId: string, businessCategoryBodyDto: BusinessCategoryBodyDto, options?: any): AxiosPromise<Array<ExtendedCategoryDto>>;
|
|
20179
|
+
/**
|
|
20180
|
+
*
|
|
20181
|
+
* @summary Get business menu categories V3
|
|
20182
|
+
* @param {string} businessId
|
|
20183
|
+
* @param {BusinessCategoryBodyDto} businessCategoryBodyDto Example body
|
|
20184
|
+
* @param {*} [options] Override http request option.
|
|
20185
|
+
* @throws {RequiredError}
|
|
20186
|
+
*/
|
|
20187
|
+
getBusinessCategoriesByMenuIdV3(businessId: string, businessCategoryBodyDto: BusinessCategoryBodyDto, options?: any): AxiosPromise<Array<ExtendedCategoryDto>>;
|
|
20055
20188
|
/**
|
|
20056
20189
|
*
|
|
20057
20190
|
* @param {string} businessId Id of the business
|
|
@@ -20253,6 +20386,16 @@ export interface BusinessApiInterface {
|
|
|
20253
20386
|
* @memberof BusinessApiInterface
|
|
20254
20387
|
*/
|
|
20255
20388
|
getBusinessCategoriesByMenuIdV2(businessId: string, businessCategoryBodyDto: BusinessCategoryBodyDto, options?: AxiosRequestConfig): AxiosPromise<Array<ExtendedCategoryDto>>;
|
|
20389
|
+
/**
|
|
20390
|
+
*
|
|
20391
|
+
* @summary Get business menu categories V3
|
|
20392
|
+
* @param {string} businessId
|
|
20393
|
+
* @param {BusinessCategoryBodyDto} businessCategoryBodyDto Example body
|
|
20394
|
+
* @param {*} [options] Override http request option.
|
|
20395
|
+
* @throws {RequiredError}
|
|
20396
|
+
* @memberof BusinessApiInterface
|
|
20397
|
+
*/
|
|
20398
|
+
getBusinessCategoriesByMenuIdV3(businessId: string, businessCategoryBodyDto: BusinessCategoryBodyDto, options?: AxiosRequestConfig): AxiosPromise<Array<ExtendedCategoryDto>>;
|
|
20256
20399
|
/**
|
|
20257
20400
|
*
|
|
20258
20401
|
* @param {string} businessId Id of the business
|
|
@@ -20474,6 +20617,16 @@ export declare class BusinessApi extends BaseAPI implements BusinessApiInterface
|
|
|
20474
20617
|
* @memberof BusinessApi
|
|
20475
20618
|
*/
|
|
20476
20619
|
getBusinessCategoriesByMenuIdV2(businessId: string, businessCategoryBodyDto: BusinessCategoryBodyDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ExtendedCategoryDto[], any, {}>>;
|
|
20620
|
+
/**
|
|
20621
|
+
*
|
|
20622
|
+
* @summary Get business menu categories V3
|
|
20623
|
+
* @param {string} businessId
|
|
20624
|
+
* @param {BusinessCategoryBodyDto} businessCategoryBodyDto Example body
|
|
20625
|
+
* @param {*} [options] Override http request option.
|
|
20626
|
+
* @throws {RequiredError}
|
|
20627
|
+
* @memberof BusinessApi
|
|
20628
|
+
*/
|
|
20629
|
+
getBusinessCategoriesByMenuIdV3(businessId: string, businessCategoryBodyDto: BusinessCategoryBodyDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ExtendedCategoryDto[], any, {}>>;
|
|
20477
20630
|
/**
|
|
20478
20631
|
*
|
|
20479
20632
|
* @param {string} businessId Id of the business
|
|
@@ -20662,6 +20815,20 @@ export declare const CashManagementApiAxiosParamCreator: (configuration?: Config
|
|
|
20662
20815
|
* @throws {RequiredError}
|
|
20663
20816
|
*/
|
|
20664
20817
|
create: (businessId: string, cashSessionDto: CashSessionDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
20818
|
+
/**
|
|
20819
|
+
*
|
|
20820
|
+
* @summary
|
|
20821
|
+
* @param {string} businessId
|
|
20822
|
+
* @param {string} timezone
|
|
20823
|
+
* @param {TimeSpan} [timeSpan] Time span
|
|
20824
|
+
* @param {string} [start] Start date
|
|
20825
|
+
* @param {string} [end] End date
|
|
20826
|
+
* @param {number} [page] Page number
|
|
20827
|
+
* @param {number} [rowPerPage] Rows per page
|
|
20828
|
+
* @param {*} [options] Override http request option.
|
|
20829
|
+
* @throws {RequiredError}
|
|
20830
|
+
*/
|
|
20831
|
+
getCashLogs: (businessId: string, timezone: string, timeSpan?: TimeSpan, start?: string, end?: string, page?: number, rowPerPage?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
20665
20832
|
/**
|
|
20666
20833
|
*
|
|
20667
20834
|
* @param {string} businessId
|
|
@@ -20708,6 +20875,20 @@ export declare const CashManagementApiFp: (configuration?: Configuration) => {
|
|
|
20708
20875
|
* @throws {RequiredError}
|
|
20709
20876
|
*/
|
|
20710
20877
|
create(businessId: string, cashSessionDto: CashSessionDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CashSessionDto>>;
|
|
20878
|
+
/**
|
|
20879
|
+
*
|
|
20880
|
+
* @summary
|
|
20881
|
+
* @param {string} businessId
|
|
20882
|
+
* @param {string} timezone
|
|
20883
|
+
* @param {TimeSpan} [timeSpan] Time span
|
|
20884
|
+
* @param {string} [start] Start date
|
|
20885
|
+
* @param {string} [end] End date
|
|
20886
|
+
* @param {number} [page] Page number
|
|
20887
|
+
* @param {number} [rowPerPage] Rows per page
|
|
20888
|
+
* @param {*} [options] Override http request option.
|
|
20889
|
+
* @throws {RequiredError}
|
|
20890
|
+
*/
|
|
20891
|
+
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
20892
|
/**
|
|
20712
20893
|
*
|
|
20713
20894
|
* @param {string} businessId
|
|
@@ -20754,6 +20935,20 @@ export declare const CashManagementApiFactory: (configuration?: Configuration, b
|
|
|
20754
20935
|
* @throws {RequiredError}
|
|
20755
20936
|
*/
|
|
20756
20937
|
create(businessId: string, cashSessionDto: CashSessionDto, options?: any): AxiosPromise<CashSessionDto>;
|
|
20938
|
+
/**
|
|
20939
|
+
*
|
|
20940
|
+
* @summary
|
|
20941
|
+
* @param {string} businessId
|
|
20942
|
+
* @param {string} timezone
|
|
20943
|
+
* @param {TimeSpan} [timeSpan] Time span
|
|
20944
|
+
* @param {string} [start] Start date
|
|
20945
|
+
* @param {string} [end] End date
|
|
20946
|
+
* @param {number} [page] Page number
|
|
20947
|
+
* @param {number} [rowPerPage] Rows per page
|
|
20948
|
+
* @param {*} [options] Override http request option.
|
|
20949
|
+
* @throws {RequiredError}
|
|
20950
|
+
*/
|
|
20951
|
+
getCashLogs(businessId: string, timezone: string, timeSpan?: TimeSpan, start?: string, end?: string, page?: number, rowPerPage?: number, options?: any): AxiosPromise<CashLogsPaginatedDto>;
|
|
20757
20952
|
/**
|
|
20758
20953
|
*
|
|
20759
20954
|
* @param {string} businessId
|
|
@@ -20802,6 +20997,21 @@ export interface CashManagementApiInterface {
|
|
|
20802
20997
|
* @memberof CashManagementApiInterface
|
|
20803
20998
|
*/
|
|
20804
20999
|
create(businessId: string, cashSessionDto: CashSessionDto, options?: AxiosRequestConfig): AxiosPromise<CashSessionDto>;
|
|
21000
|
+
/**
|
|
21001
|
+
*
|
|
21002
|
+
* @summary
|
|
21003
|
+
* @param {string} businessId
|
|
21004
|
+
* @param {string} timezone
|
|
21005
|
+
* @param {TimeSpan} [timeSpan] Time span
|
|
21006
|
+
* @param {string} [start] Start date
|
|
21007
|
+
* @param {string} [end] End date
|
|
21008
|
+
* @param {number} [page] Page number
|
|
21009
|
+
* @param {number} [rowPerPage] Rows per page
|
|
21010
|
+
* @param {*} [options] Override http request option.
|
|
21011
|
+
* @throws {RequiredError}
|
|
21012
|
+
* @memberof CashManagementApiInterface
|
|
21013
|
+
*/
|
|
21014
|
+
getCashLogs(businessId: string, timezone: string, timeSpan?: TimeSpan, start?: string, end?: string, page?: number, rowPerPage?: number, options?: AxiosRequestConfig): AxiosPromise<CashLogsPaginatedDto>;
|
|
20805
21015
|
/**
|
|
20806
21016
|
*
|
|
20807
21017
|
* @param {string} businessId
|
|
@@ -20855,6 +21065,21 @@ export declare class CashManagementApi extends BaseAPI implements CashManagement
|
|
|
20855
21065
|
* @memberof CashManagementApi
|
|
20856
21066
|
*/
|
|
20857
21067
|
create(businessId: string, cashSessionDto: CashSessionDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CashSessionDto, any, {}>>;
|
|
21068
|
+
/**
|
|
21069
|
+
*
|
|
21070
|
+
* @summary
|
|
21071
|
+
* @param {string} businessId
|
|
21072
|
+
* @param {string} timezone
|
|
21073
|
+
* @param {TimeSpan} [timeSpan] Time span
|
|
21074
|
+
* @param {string} [start] Start date
|
|
21075
|
+
* @param {string} [end] End date
|
|
21076
|
+
* @param {number} [page] Page number
|
|
21077
|
+
* @param {number} [rowPerPage] Rows per page
|
|
21078
|
+
* @param {*} [options] Override http request option.
|
|
21079
|
+
* @throws {RequiredError}
|
|
21080
|
+
* @memberof CashManagementApi
|
|
21081
|
+
*/
|
|
21082
|
+
getCashLogs(businessId: string, timezone: string, timeSpan?: TimeSpan, start?: string, end?: string, page?: number, rowPerPage?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CashLogsPaginatedDto, any, {}>>;
|
|
20858
21083
|
/**
|
|
20859
21084
|
*
|
|
20860
21085
|
* @param {string} businessId
|
|
@@ -24100,14 +24325,6 @@ export declare const PaymentApiAxiosParamCreator: (configuration?: Configuration
|
|
|
24100
24325
|
* @throws {RequiredError}
|
|
24101
24326
|
*/
|
|
24102
24327
|
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
24328
|
/**
|
|
24112
24329
|
* Retrieves the refund reference for a specific transaction.
|
|
24113
24330
|
* @summary Get refund reference for a transaction
|
|
@@ -24226,14 +24443,6 @@ export declare const PaymentApiFp: (configuration?: Configuration) => {
|
|
|
24226
24443
|
* @throws {RequiredError}
|
|
24227
24444
|
*/
|
|
24228
24445
|
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
24446
|
/**
|
|
24238
24447
|
* Retrieves the refund reference for a specific transaction.
|
|
24239
24448
|
* @summary Get refund reference for a transaction
|
|
@@ -24352,14 +24561,6 @@ export declare const PaymentApiFactory: (configuration?: Configuration, basePath
|
|
|
24352
24561
|
* @throws {RequiredError}
|
|
24353
24562
|
*/
|
|
24354
24563
|
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
24564
|
/**
|
|
24364
24565
|
* Retrieves the refund reference for a specific transaction.
|
|
24365
24566
|
* @summary Get refund reference for a transaction
|
|
@@ -24482,15 +24683,6 @@ export interface PaymentApiInterface {
|
|
|
24482
24683
|
* @memberof PaymentApiInterface
|
|
24483
24684
|
*/
|
|
24484
24685
|
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
24686
|
/**
|
|
24495
24687
|
* Retrieves the refund reference for a specific transaction.
|
|
24496
24688
|
* @summary Get refund reference for a transaction
|
|
@@ -24625,15 +24817,6 @@ export declare class PaymentApi extends BaseAPI implements PaymentApiInterface {
|
|
|
24625
24817
|
* @memberof PaymentApi
|
|
24626
24818
|
*/
|
|
24627
24819
|
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
24820
|
/**
|
|
24638
24821
|
* Retrieves the refund reference for a specific transaction.
|
|
24639
24822
|
* @summary Get refund reference for a transaction
|