@munchi_oy/core 1.5.1 → 1.5.3
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 +68 -52
- 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 +70 -54
- package/package.json +1 -1
- package/src/version.ts +1 -1
package/dist/generated/api.d.ts
CHANGED
|
@@ -4027,10 +4027,10 @@ export interface ExtendedProductDto {
|
|
|
4027
4027
|
'display_photo'?: boolean;
|
|
4028
4028
|
/**
|
|
4029
4029
|
*
|
|
4030
|
-
* @type {
|
|
4030
|
+
* @type {ExtendedProductDtoReportingCategory}
|
|
4031
4031
|
* @memberof ExtendedProductDto
|
|
4032
4032
|
*/
|
|
4033
|
-
'reporting_category'?:
|
|
4033
|
+
'reporting_category'?: ExtendedProductDtoReportingCategory | null;
|
|
4034
4034
|
/**
|
|
4035
4035
|
* Indicates if the product is inventoried in POS
|
|
4036
4036
|
* @type {boolean}
|
|
@@ -4056,6 +4056,49 @@ export interface ExtendedProductDto {
|
|
|
4056
4056
|
*/
|
|
4057
4057
|
'sku'?: string;
|
|
4058
4058
|
}
|
|
4059
|
+
/**
|
|
4060
|
+
* Reporting category details
|
|
4061
|
+
* @export
|
|
4062
|
+
* @interface ExtendedProductDtoReportingCategory
|
|
4063
|
+
*/
|
|
4064
|
+
export interface ExtendedProductDtoReportingCategory {
|
|
4065
|
+
/**
|
|
4066
|
+
* Reporting Category ID
|
|
4067
|
+
* @type {number}
|
|
4068
|
+
* @memberof ExtendedProductDtoReportingCategory
|
|
4069
|
+
*/
|
|
4070
|
+
'id': number;
|
|
4071
|
+
/**
|
|
4072
|
+
* Business ID
|
|
4073
|
+
* @type {string}
|
|
4074
|
+
* @memberof ExtendedProductDtoReportingCategory
|
|
4075
|
+
*/
|
|
4076
|
+
'business_id': string;
|
|
4077
|
+
/**
|
|
4078
|
+
* Reporting Category Name
|
|
4079
|
+
* @type {string}
|
|
4080
|
+
* @memberof ExtendedProductDtoReportingCategory
|
|
4081
|
+
*/
|
|
4082
|
+
'reporting_category_name': string;
|
|
4083
|
+
/**
|
|
4084
|
+
* Index/Order
|
|
4085
|
+
* @type {number}
|
|
4086
|
+
* @memberof ExtendedProductDtoReportingCategory
|
|
4087
|
+
*/
|
|
4088
|
+
'index': number;
|
|
4089
|
+
/**
|
|
4090
|
+
* Created at timestamp
|
|
4091
|
+
* @type {string}
|
|
4092
|
+
* @memberof ExtendedProductDtoReportingCategory
|
|
4093
|
+
*/
|
|
4094
|
+
'created_at': string;
|
|
4095
|
+
/**
|
|
4096
|
+
* Updated at timestamp
|
|
4097
|
+
* @type {string}
|
|
4098
|
+
* @memberof ExtendedProductDtoReportingCategory
|
|
4099
|
+
*/
|
|
4100
|
+
'updated_at': string;
|
|
4101
|
+
}
|
|
4059
4102
|
/**
|
|
4060
4103
|
*
|
|
4061
4104
|
* @export
|
|
@@ -4284,6 +4327,7 @@ export interface FeePartDtoTotal {
|
|
|
4284
4327
|
*/
|
|
4285
4328
|
export declare const FeeType: {
|
|
4286
4329
|
readonly TipAmount: "TIP_AMOUNT";
|
|
4330
|
+
readonly Surcharge: "SURCHARGE";
|
|
4287
4331
|
};
|
|
4288
4332
|
export type FeeType = typeof FeeType[keyof typeof FeeType];
|
|
4289
4333
|
/**
|
|
@@ -4325,13 +4369,13 @@ export interface GetPaymentReferenceDto {
|
|
|
4325
4369
|
*/
|
|
4326
4370
|
'provider': PaymentProvider;
|
|
4327
4371
|
/**
|
|
4328
|
-
*
|
|
4372
|
+
* The unique transaction identifier from the provider
|
|
4329
4373
|
* @type {string}
|
|
4330
4374
|
* @memberof GetPaymentReferenceDto
|
|
4331
4375
|
*/
|
|
4332
4376
|
'transactionId': string;
|
|
4333
4377
|
/**
|
|
4334
|
-
*
|
|
4378
|
+
* The unique identifier of the order
|
|
4335
4379
|
* @type {string}
|
|
4336
4380
|
* @memberof GetPaymentReferenceDto
|
|
4337
4381
|
*/
|
|
@@ -5369,6 +5413,12 @@ export interface LoyaltyInfoResponseDto {
|
|
|
5369
5413
|
* @memberof LoyaltyInfoResponseDto
|
|
5370
5414
|
*/
|
|
5371
5415
|
'expires_at': object | null;
|
|
5416
|
+
/**
|
|
5417
|
+
*
|
|
5418
|
+
* @type {boolean}
|
|
5419
|
+
* @memberof LoyaltyInfoResponseDto
|
|
5420
|
+
*/
|
|
5421
|
+
'hasPosIntegration': boolean;
|
|
5372
5422
|
/**
|
|
5373
5423
|
*
|
|
5374
5424
|
* @type {{ [key: string]: LoyaltyInfoResponseDtoLinksValue; }}
|
|
@@ -9962,10 +10012,10 @@ export interface PosItemDto {
|
|
|
9962
10012
|
'display_photo'?: boolean;
|
|
9963
10013
|
/**
|
|
9964
10014
|
*
|
|
9965
|
-
* @type {
|
|
10015
|
+
* @type {ExtendedProductDtoReportingCategory}
|
|
9966
10016
|
* @memberof PosItemDto
|
|
9967
10017
|
*/
|
|
9968
|
-
'reporting_category'?:
|
|
10018
|
+
'reporting_category'?: ExtendedProductDtoReportingCategory | null;
|
|
9969
10019
|
/**
|
|
9970
10020
|
* Indicates if the product is inventoried in POS
|
|
9971
10021
|
* @type {boolean}
|
|
@@ -10608,10 +10658,10 @@ export interface PosOrderItemDto {
|
|
|
10608
10658
|
'display_photo'?: boolean;
|
|
10609
10659
|
/**
|
|
10610
10660
|
*
|
|
10611
|
-
* @type {
|
|
10661
|
+
* @type {ExtendedProductDtoReportingCategory}
|
|
10612
10662
|
* @memberof PosOrderItemDto
|
|
10613
10663
|
*/
|
|
10614
|
-
'reporting_category'?:
|
|
10664
|
+
'reporting_category'?: ExtendedProductDtoReportingCategory | null;
|
|
10615
10665
|
/**
|
|
10616
10666
|
* Category ID of the item
|
|
10617
10667
|
* @type {number}
|
|
@@ -10619,49 +10669,6 @@ export interface PosOrderItemDto {
|
|
|
10619
10669
|
*/
|
|
10620
10670
|
'category_id': number | null;
|
|
10621
10671
|
}
|
|
10622
|
-
/**
|
|
10623
|
-
* Reporting category details
|
|
10624
|
-
* @export
|
|
10625
|
-
* @interface PosOrderItemDtoReportingCategory
|
|
10626
|
-
*/
|
|
10627
|
-
export interface PosOrderItemDtoReportingCategory {
|
|
10628
|
-
/**
|
|
10629
|
-
* Reporting Category ID
|
|
10630
|
-
* @type {number}
|
|
10631
|
-
* @memberof PosOrderItemDtoReportingCategory
|
|
10632
|
-
*/
|
|
10633
|
-
'id': number;
|
|
10634
|
-
/**
|
|
10635
|
-
* Business ID
|
|
10636
|
-
* @type {string}
|
|
10637
|
-
* @memberof PosOrderItemDtoReportingCategory
|
|
10638
|
-
*/
|
|
10639
|
-
'business_id': string;
|
|
10640
|
-
/**
|
|
10641
|
-
* Reporting Category Name
|
|
10642
|
-
* @type {string}
|
|
10643
|
-
* @memberof PosOrderItemDtoReportingCategory
|
|
10644
|
-
*/
|
|
10645
|
-
'reporting_category_name': string;
|
|
10646
|
-
/**
|
|
10647
|
-
* Index/Order
|
|
10648
|
-
* @type {number}
|
|
10649
|
-
* @memberof PosOrderItemDtoReportingCategory
|
|
10650
|
-
*/
|
|
10651
|
-
'index': number;
|
|
10652
|
-
/**
|
|
10653
|
-
* Created at timestamp
|
|
10654
|
-
* @type {string}
|
|
10655
|
-
* @memberof PosOrderItemDtoReportingCategory
|
|
10656
|
-
*/
|
|
10657
|
-
'created_at': string;
|
|
10658
|
-
/**
|
|
10659
|
-
* Updated at timestamp
|
|
10660
|
-
* @type {string}
|
|
10661
|
-
* @memberof PosOrderItemDtoReportingCategory
|
|
10662
|
-
*/
|
|
10663
|
-
'updated_at': string;
|
|
10664
|
-
}
|
|
10665
10672
|
/**
|
|
10666
10673
|
*
|
|
10667
10674
|
* @export
|
|
@@ -12550,6 +12557,7 @@ export type RefundMode = typeof RefundMode[keyof typeof RefundMode];
|
|
|
12550
12557
|
export declare const RefundOverallStatus: {
|
|
12551
12558
|
readonly Pending: "PENDING";
|
|
12552
12559
|
readonly InProgress: "IN_PROGRESS";
|
|
12560
|
+
readonly Processing: "PROCESSING";
|
|
12553
12561
|
readonly ChoiceRequired: "CHOICE_REQUIRED";
|
|
12554
12562
|
readonly Completed: "COMPLETED";
|
|
12555
12563
|
readonly Failed: "FAILED";
|
|
@@ -12788,6 +12796,12 @@ export interface RefundPlanItemDto {
|
|
|
12788
12796
|
'rawData'?: {
|
|
12789
12797
|
[key: string]: any;
|
|
12790
12798
|
} | null;
|
|
12799
|
+
/**
|
|
12800
|
+
* Provider failure reason for this refund step, when available.
|
|
12801
|
+
* @type {string}
|
|
12802
|
+
* @memberof RefundPlanItemDto
|
|
12803
|
+
*/
|
|
12804
|
+
'failureReason'?: string | null;
|
|
12791
12805
|
}
|
|
12792
12806
|
/**
|
|
12793
12807
|
*
|
|
@@ -12827,7 +12841,8 @@ export type RefundStatusEnum = typeof RefundStatusEnum[keyof typeof RefundStatus
|
|
|
12827
12841
|
*/
|
|
12828
12842
|
export declare const RefundStepStatus: {
|
|
12829
12843
|
readonly Pending: "PENDING";
|
|
12830
|
-
readonly InProgress: "
|
|
12844
|
+
readonly InProgress: "IN_PROGRESS";
|
|
12845
|
+
readonly Processing: "PROCESSING";
|
|
12831
12846
|
readonly Failed: "FAILED";
|
|
12832
12847
|
readonly Completed: "COMPLETED";
|
|
12833
12848
|
};
|
|
@@ -13014,6 +13029,7 @@ export declare const SYNCKEY: {
|
|
|
13014
13029
|
readonly PosSession: "POS_SESSION";
|
|
13015
13030
|
readonly InvoiceCompanies: "INVOICE_COMPANIES";
|
|
13016
13031
|
readonly BusinessTax: "BUSINESS_TAX";
|
|
13032
|
+
readonly Transaction: "TRANSACTION";
|
|
13017
13033
|
};
|
|
13018
13034
|
export type SYNCKEY = typeof SYNCKEY[keyof typeof SYNCKEY];
|
|
13019
13035
|
/**
|