@munchi_oy/core 1.9.41 → 1.9.44
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 +116 -44
- 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 +118 -46
- package/package.json +1 -1
- package/src/version.ts +1 -1
package/dist/generated/api.d.ts
CHANGED
|
@@ -2414,6 +2414,12 @@ export interface CategoryDto {
|
|
|
2414
2414
|
* @memberof CategoryDto
|
|
2415
2415
|
*/
|
|
2416
2416
|
'description': object | null;
|
|
2417
|
+
/**
|
|
2418
|
+
* Default course ID assigned to this category
|
|
2419
|
+
* @type {object}
|
|
2420
|
+
* @memberof CategoryDto
|
|
2421
|
+
*/
|
|
2422
|
+
'default_course_id'?: object | null;
|
|
2417
2423
|
/**
|
|
2418
2424
|
*
|
|
2419
2425
|
* @type {Array<ExtendedProductDto>}
|
|
@@ -4955,6 +4961,12 @@ export interface ExtendedCategoryDto {
|
|
|
4955
4961
|
* @memberof ExtendedCategoryDto
|
|
4956
4962
|
*/
|
|
4957
4963
|
'description': object | null;
|
|
4964
|
+
/**
|
|
4965
|
+
* Default course ID assigned to this category
|
|
4966
|
+
* @type {object}
|
|
4967
|
+
* @memberof ExtendedCategoryDto
|
|
4968
|
+
*/
|
|
4969
|
+
'default_course_id'?: object | null;
|
|
4958
4970
|
/**
|
|
4959
4971
|
*
|
|
4960
4972
|
* @type {Array<ExtendedProductDto>}
|
|
@@ -5196,6 +5208,18 @@ export interface ExtendedProductDto {
|
|
|
5196
5208
|
* @memberof ExtendedProductDto
|
|
5197
5209
|
*/
|
|
5198
5210
|
'default_course_name'?: string | null;
|
|
5211
|
+
/**
|
|
5212
|
+
* Course ID inherited from the product\'s category, used as fallback when the product has no own course
|
|
5213
|
+
* @type {string}
|
|
5214
|
+
* @memberof ExtendedProductDto
|
|
5215
|
+
*/
|
|
5216
|
+
'category_default_course_id'?: string | null;
|
|
5217
|
+
/**
|
|
5218
|
+
* Course name inherited from the product\'s category, used as fallback when the product has no own course
|
|
5219
|
+
* @type {string}
|
|
5220
|
+
* @memberof ExtendedProductDto
|
|
5221
|
+
*/
|
|
5222
|
+
'category_default_course_name'?: string | null;
|
|
5199
5223
|
}
|
|
5200
5224
|
/**
|
|
5201
5225
|
*
|
|
@@ -6019,11 +6043,11 @@ export interface InitiateVivaSessionResponseDtoVivaIntent {
|
|
|
6019
6043
|
*/
|
|
6020
6044
|
'amount': number;
|
|
6021
6045
|
/**
|
|
6022
|
-
*
|
|
6023
|
-
* @type {
|
|
6046
|
+
*
|
|
6047
|
+
* @type {VivaCurrencyCode}
|
|
6024
6048
|
* @memberof InitiateVivaSessionResponseDtoVivaIntent
|
|
6025
6049
|
*/
|
|
6026
|
-
'currencyCode':
|
|
6050
|
+
'currencyCode': VivaCurrencyCode;
|
|
6027
6051
|
/**
|
|
6028
6052
|
* A reference for the merchant.
|
|
6029
6053
|
* @type {string}
|
|
@@ -6073,44 +6097,6 @@ export interface InitiateVivaSessionResponseDtoVivaIntent {
|
|
|
6073
6097
|
*/
|
|
6074
6098
|
'skipSurcharge': boolean;
|
|
6075
6099
|
}
|
|
6076
|
-
export declare const CurrencyCodeEnum: {
|
|
6077
|
-
readonly _978: "978";
|
|
6078
|
-
readonly _840: "840";
|
|
6079
|
-
readonly _826: "826";
|
|
6080
|
-
readonly _392: "392";
|
|
6081
|
-
readonly _036: "036";
|
|
6082
|
-
readonly _124: "124";
|
|
6083
|
-
readonly _756: "756";
|
|
6084
|
-
readonly _156: "156";
|
|
6085
|
-
readonly _344: "344";
|
|
6086
|
-
readonly _554: "554";
|
|
6087
|
-
readonly _752: "752";
|
|
6088
|
-
readonly _410: "410";
|
|
6089
|
-
readonly _702: "702";
|
|
6090
|
-
readonly _578: "578";
|
|
6091
|
-
readonly _484: "484";
|
|
6092
|
-
readonly _356: "356";
|
|
6093
|
-
readonly _643: "643";
|
|
6094
|
-
readonly _710: "710";
|
|
6095
|
-
readonly _949: "949";
|
|
6096
|
-
readonly _986: "986";
|
|
6097
|
-
readonly _901: "901";
|
|
6098
|
-
readonly _208: "208";
|
|
6099
|
-
readonly _985: "985";
|
|
6100
|
-
readonly _764: "764";
|
|
6101
|
-
readonly _360: "360";
|
|
6102
|
-
readonly _348: "348";
|
|
6103
|
-
readonly _203: "203";
|
|
6104
|
-
readonly _376: "376";
|
|
6105
|
-
readonly _152: "152";
|
|
6106
|
-
readonly _608: "608";
|
|
6107
|
-
readonly _784: "784";
|
|
6108
|
-
readonly _170: "170";
|
|
6109
|
-
readonly _682: "682";
|
|
6110
|
-
readonly _458: "458";
|
|
6111
|
-
readonly _946: "946";
|
|
6112
|
-
};
|
|
6113
|
-
export type CurrencyCodeEnum = typeof CurrencyCodeEnum[keyof typeof CurrencyCodeEnum];
|
|
6114
6100
|
/**
|
|
6115
6101
|
*
|
|
6116
6102
|
* @export
|
|
@@ -9767,6 +9753,18 @@ export interface OrderActionDataDto {
|
|
|
9767
9753
|
* @memberof OrderActionDataDto
|
|
9768
9754
|
*/
|
|
9769
9755
|
'targetUserId'?: number;
|
|
9756
|
+
/**
|
|
9757
|
+
* Line item IDs to fire for the CourseFire action
|
|
9758
|
+
* @type {Array<string>}
|
|
9759
|
+
* @memberof OrderActionDataDto
|
|
9760
|
+
*/
|
|
9761
|
+
'courseItemIds'?: Array<string>;
|
|
9762
|
+
/**
|
|
9763
|
+
* Course name used on the course-fire ticket
|
|
9764
|
+
* @type {string}
|
|
9765
|
+
* @memberof OrderActionDataDto
|
|
9766
|
+
*/
|
|
9767
|
+
'courseName'?: string;
|
|
9770
9768
|
}
|
|
9771
9769
|
/**
|
|
9772
9770
|
*
|
|
@@ -13093,6 +13091,18 @@ export interface PosItemDto {
|
|
|
13093
13091
|
* @memberof PosItemDto
|
|
13094
13092
|
*/
|
|
13095
13093
|
'default_course_name'?: string | null;
|
|
13094
|
+
/**
|
|
13095
|
+
* Course ID inherited from the product\'s category, used as fallback when the product has no own course
|
|
13096
|
+
* @type {string}
|
|
13097
|
+
* @memberof PosItemDto
|
|
13098
|
+
*/
|
|
13099
|
+
'category_default_course_id'?: string | null;
|
|
13100
|
+
/**
|
|
13101
|
+
* Course name inherited from the product\'s category, used as fallback when the product has no own course
|
|
13102
|
+
* @type {string}
|
|
13103
|
+
* @memberof PosItemDto
|
|
13104
|
+
*/
|
|
13105
|
+
'category_default_course_name'?: string | null;
|
|
13096
13106
|
/**
|
|
13097
13107
|
* Order identifier
|
|
13098
13108
|
* @type {string}
|
|
@@ -14771,6 +14781,7 @@ export declare const ActionsEnum: {
|
|
|
14771
14781
|
readonly Printing: "Printing";
|
|
14772
14782
|
readonly PosOrderChange: "PosOrderChange";
|
|
14773
14783
|
readonly UpdateLoyaltyPoints: "UpdateLoyaltyPoints";
|
|
14784
|
+
readonly CourseFire: "CourseFire";
|
|
14774
14785
|
};
|
|
14775
14786
|
export type ActionsEnum = typeof ActionsEnum[keyof typeof ActionsEnum];
|
|
14776
14787
|
/**
|
|
@@ -14803,6 +14814,18 @@ export interface ProcessOrderActionsDtoData {
|
|
|
14803
14814
|
* @memberof ProcessOrderActionsDtoData
|
|
14804
14815
|
*/
|
|
14805
14816
|
'targetUserId'?: number;
|
|
14817
|
+
/**
|
|
14818
|
+
* Line item IDs to fire for the CourseFire action
|
|
14819
|
+
* @type {Array<string>}
|
|
14820
|
+
* @memberof ProcessOrderActionsDtoData
|
|
14821
|
+
*/
|
|
14822
|
+
'courseItemIds'?: Array<string>;
|
|
14823
|
+
/**
|
|
14824
|
+
* Course name used on the course-fire ticket
|
|
14825
|
+
* @type {string}
|
|
14826
|
+
* @memberof ProcessOrderActionsDtoData
|
|
14827
|
+
*/
|
|
14828
|
+
'courseName'?: string;
|
|
14806
14829
|
}
|
|
14807
14830
|
/**
|
|
14808
14831
|
*
|
|
@@ -15346,6 +15369,12 @@ export interface ProductsByCategoriesResponseDto {
|
|
|
15346
15369
|
* @memberof ProductsByCategoriesResponseDto
|
|
15347
15370
|
*/
|
|
15348
15371
|
'products': Array<ProductWithCategoryDto>;
|
|
15372
|
+
/**
|
|
15373
|
+
* Categories sorted by rank (additive — existing clients can ignore this field)
|
|
15374
|
+
* @type {Array<RankedCategoryDto>}
|
|
15375
|
+
* @memberof ProductsByCategoriesResponseDto
|
|
15376
|
+
*/
|
|
15377
|
+
'categories': Array<RankedCategoryDto>;
|
|
15349
15378
|
/**
|
|
15350
15379
|
*
|
|
15351
15380
|
* @type {ProductsByCategoriesResponseDtoSummary}
|
|
@@ -15621,6 +15650,43 @@ export declare const PubSubTarget: {
|
|
|
15621
15650
|
readonly Kds: "KDS";
|
|
15622
15651
|
};
|
|
15623
15652
|
export type PubSubTarget = typeof PubSubTarget[keyof typeof PubSubTarget];
|
|
15653
|
+
/**
|
|
15654
|
+
*
|
|
15655
|
+
* @export
|
|
15656
|
+
* @interface RankedCategoryDto
|
|
15657
|
+
*/
|
|
15658
|
+
export interface RankedCategoryDto {
|
|
15659
|
+
/**
|
|
15660
|
+
* Category ID
|
|
15661
|
+
* @type {number}
|
|
15662
|
+
* @memberof RankedCategoryDto
|
|
15663
|
+
*/
|
|
15664
|
+
'id': number;
|
|
15665
|
+
/**
|
|
15666
|
+
* Category name
|
|
15667
|
+
* @type {string}
|
|
15668
|
+
* @memberof RankedCategoryDto
|
|
15669
|
+
*/
|
|
15670
|
+
'name': string;
|
|
15671
|
+
/**
|
|
15672
|
+
* Display order rank of the category
|
|
15673
|
+
* @type {number}
|
|
15674
|
+
* @memberof RankedCategoryDto
|
|
15675
|
+
*/
|
|
15676
|
+
'rank': number;
|
|
15677
|
+
/**
|
|
15678
|
+
* Parent category ID for subcategories; null for top-level
|
|
15679
|
+
* @type {object}
|
|
15680
|
+
* @memberof RankedCategoryDto
|
|
15681
|
+
*/
|
|
15682
|
+
'parent_category_id'?: object | null;
|
|
15683
|
+
/**
|
|
15684
|
+
* Whether the category is enabled
|
|
15685
|
+
* @type {boolean}
|
|
15686
|
+
* @memberof RankedCategoryDto
|
|
15687
|
+
*/
|
|
15688
|
+
'enabled': boolean;
|
|
15689
|
+
}
|
|
15624
15690
|
/**
|
|
15625
15691
|
*
|
|
15626
15692
|
* @export
|
|
@@ -17367,6 +17433,12 @@ export interface SubcategoryDto {
|
|
|
17367
17433
|
* @memberof SubcategoryDto
|
|
17368
17434
|
*/
|
|
17369
17435
|
'description': string | null;
|
|
17436
|
+
/**
|
|
17437
|
+
* Default course ID assigned to this subcategory
|
|
17438
|
+
* @type {object}
|
|
17439
|
+
* @memberof SubcategoryDto
|
|
17440
|
+
*/
|
|
17441
|
+
'default_course_id'?: object | null;
|
|
17370
17442
|
/**
|
|
17371
17443
|
* Products in this subcategory
|
|
17372
17444
|
* @type {Array<ExtendedProductDto>}
|
|
@@ -21175,11 +21247,11 @@ export interface VivaPaymentIntent {
|
|
|
21175
21247
|
*/
|
|
21176
21248
|
'amount': number;
|
|
21177
21249
|
/**
|
|
21178
|
-
*
|
|
21179
|
-
* @type {
|
|
21250
|
+
*
|
|
21251
|
+
* @type {VivaCurrencyCode}
|
|
21180
21252
|
* @memberof VivaPaymentIntent
|
|
21181
21253
|
*/
|
|
21182
|
-
'currencyCode':
|
|
21254
|
+
'currencyCode': VivaCurrencyCode;
|
|
21183
21255
|
/**
|
|
21184
21256
|
* A reference for the merchant.
|
|
21185
21257
|
* @type {string}
|