@munchi_oy/core 1.9.41 → 1.9.43

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.
@@ -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
- * The currency code for the transaction amount.
6023
- * @type {string}
6046
+ *
6047
+ * @type {VivaCurrencyCode}
6024
6048
  * @memberof InitiateVivaSessionResponseDtoVivaIntent
6025
6049
  */
6026
- 'currencyCode': CurrencyCodeEnum;
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
@@ -13093,6 +13079,18 @@ export interface PosItemDto {
13093
13079
  * @memberof PosItemDto
13094
13080
  */
13095
13081
  'default_course_name'?: string | null;
13082
+ /**
13083
+ * Course ID inherited from the product\'s category, used as fallback when the product has no own course
13084
+ * @type {string}
13085
+ * @memberof PosItemDto
13086
+ */
13087
+ 'category_default_course_id'?: string | null;
13088
+ /**
13089
+ * Course name inherited from the product\'s category, used as fallback when the product has no own course
13090
+ * @type {string}
13091
+ * @memberof PosItemDto
13092
+ */
13093
+ 'category_default_course_name'?: string | null;
13096
13094
  /**
13097
13095
  * Order identifier
13098
13096
  * @type {string}
@@ -15346,6 +15344,12 @@ export interface ProductsByCategoriesResponseDto {
15346
15344
  * @memberof ProductsByCategoriesResponseDto
15347
15345
  */
15348
15346
  'products': Array<ProductWithCategoryDto>;
15347
+ /**
15348
+ * Categories sorted by rank (additive — existing clients can ignore this field)
15349
+ * @type {Array<RankedCategoryDto>}
15350
+ * @memberof ProductsByCategoriesResponseDto
15351
+ */
15352
+ 'categories': Array<RankedCategoryDto>;
15349
15353
  /**
15350
15354
  *
15351
15355
  * @type {ProductsByCategoriesResponseDtoSummary}
@@ -15621,6 +15625,43 @@ export declare const PubSubTarget: {
15621
15625
  readonly Kds: "KDS";
15622
15626
  };
15623
15627
  export type PubSubTarget = typeof PubSubTarget[keyof typeof PubSubTarget];
15628
+ /**
15629
+ *
15630
+ * @export
15631
+ * @interface RankedCategoryDto
15632
+ */
15633
+ export interface RankedCategoryDto {
15634
+ /**
15635
+ * Category ID
15636
+ * @type {number}
15637
+ * @memberof RankedCategoryDto
15638
+ */
15639
+ 'id': number;
15640
+ /**
15641
+ * Category name
15642
+ * @type {string}
15643
+ * @memberof RankedCategoryDto
15644
+ */
15645
+ 'name': string;
15646
+ /**
15647
+ * Display order rank of the category
15648
+ * @type {number}
15649
+ * @memberof RankedCategoryDto
15650
+ */
15651
+ 'rank': number;
15652
+ /**
15653
+ * Parent category ID for subcategories; null for top-level
15654
+ * @type {object}
15655
+ * @memberof RankedCategoryDto
15656
+ */
15657
+ 'parent_category_id'?: object | null;
15658
+ /**
15659
+ * Whether the category is enabled
15660
+ * @type {boolean}
15661
+ * @memberof RankedCategoryDto
15662
+ */
15663
+ 'enabled': boolean;
15664
+ }
15624
15665
  /**
15625
15666
  *
15626
15667
  * @export
@@ -17367,6 +17408,12 @@ export interface SubcategoryDto {
17367
17408
  * @memberof SubcategoryDto
17368
17409
  */
17369
17410
  'description': string | null;
17411
+ /**
17412
+ * Default course ID assigned to this subcategory
17413
+ * @type {object}
17414
+ * @memberof SubcategoryDto
17415
+ */
17416
+ 'default_course_id'?: object | null;
17370
17417
  /**
17371
17418
  * Products in this subcategory
17372
17419
  * @type {Array<ExtendedProductDto>}
@@ -21175,11 +21222,11 @@ export interface VivaPaymentIntent {
21175
21222
  */
21176
21223
  'amount': number;
21177
21224
  /**
21178
- * The currency code for the transaction amount.
21179
- * @type {string}
21225
+ *
21226
+ * @type {VivaCurrencyCode}
21180
21227
  * @memberof VivaPaymentIntent
21181
21228
  */
21182
- 'currencyCode': CurrencyCodeEnum;
21229
+ 'currencyCode': VivaCurrencyCode;
21183
21230
  /**
21184
21231
  * A reference for the merchant.
21185
21232
  * @type {string}