@kosdev-code/kos-dispense-sdk 2.0.45 → 2.0.46

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.
Files changed (121) hide show
  1. package/dispense-registration-manager-o2X21qmP.js +1972 -0
  2. package/dispense-registration-manager-o2X21qmP.js.map +1 -0
  3. package/dispense-registration-manager-oEcu0aLL.cjs +2 -0
  4. package/dispense-registration-manager-oEcu0aLL.cjs.map +1 -0
  5. package/extension-utils-CJ5qRklm.cjs +2 -0
  6. package/extension-utils-CJ5qRklm.cjs.map +1 -0
  7. package/extension-utils-CbCKII-5.js +381 -0
  8. package/extension-utils-CbCKII-5.js.map +1 -0
  9. package/index.cjs +1 -142
  10. package/index.cjs.map +1 -1
  11. package/index.d.ts +1 -2
  12. package/index.d.ts.map +1 -1
  13. package/index.js +103 -133
  14. package/index.js.map +1 -1
  15. package/models/models/assembly/assembly-model.d.ts +0 -4
  16. package/models/models/assembly/assembly-model.d.ts.map +1 -1
  17. package/models/models/assembly/pump-utils.d.ts.map +1 -1
  18. package/models/models/availability/availability-model.d.ts.map +1 -1
  19. package/models/models/board/board-container-model.d.ts +0 -4
  20. package/models/models/board/board-container-model.d.ts.map +1 -1
  21. package/models/models/board/board-model.d.ts +0 -4
  22. package/models/models/board/board-model.d.ts.map +1 -1
  23. package/models/models/device-assembly/device-assembly-model.d.ts +0 -4
  24. package/models/models/device-assembly/device-assembly-model.d.ts.map +1 -1
  25. package/models/models/generic-pour/generic-pour-model.d.ts +13 -54
  26. package/models/models/generic-pour/generic-pour-model.d.ts.map +1 -1
  27. package/models/models/generic-pour/index.d.ts +2 -2
  28. package/models/models/generic-pour/index.d.ts.map +1 -1
  29. package/models/models/generic-pour/types/index.d.ts +0 -1
  30. package/models/models/holder/holder-model.d.ts.map +1 -1
  31. package/models/models/holder-container/holder-container-model.d.ts.map +1 -1
  32. package/models/models/ingredient/ingredient-model.d.ts.map +1 -1
  33. package/models/models/ingredient-container/ingredient-container-model.d.ts.map +1 -1
  34. package/models/models/nozzle/index.d.ts +1 -1
  35. package/models/models/nozzle/index.d.ts.map +1 -1
  36. package/models/models/nozzle/nozzle-model.d.ts +10 -28
  37. package/models/models/nozzle/nozzle-model.d.ts.map +1 -1
  38. package/models/models/nozzle/types/index.d.ts +0 -8
  39. package/models/models/pump/pump-model.d.ts.map +1 -1
  40. package/models/models/pump/types/index.d.ts +2 -7
  41. package/models/models/pump-container/pump-container-model.d.ts.map +1 -1
  42. package/models/models/types/assembly.d.ts +0 -4
  43. package/models/models/types/assembly.d.ts.map +1 -1
  44. package/models/models/types/intent.d.ts +0 -98
  45. package/models/models/types/intent.d.ts.map +1 -1
  46. package/models/models/types/pouring.d.ts +3 -1
  47. package/models/models/types/pouring.d.ts.map +1 -1
  48. package/models/utils/dispense-registration-manager.d.ts +2 -2
  49. package/models/utils/extension-utils.d.ts +18 -90
  50. package/models/utils/extension-utils.d.ts.map +1 -1
  51. package/models/utils/service.d.ts +12 -16
  52. package/models/utils/service.d.ts.map +1 -1
  53. package/models.cjs +1 -47
  54. package/models.cjs.map +1 -1
  55. package/models.js +37 -40
  56. package/package.json +2 -19
  57. package/pump-provider-BQcKWjr8.cjs +2 -0
  58. package/pump-provider-BQcKWjr8.cjs.map +1 -0
  59. package/pump-provider-Bv-OLySq.js +1238 -0
  60. package/pump-provider-Bv-OLySq.js.map +1 -0
  61. package/ui/contexts/cui-kit/cui-kit.d.ts +4 -4
  62. package/ui/contexts/cui-kit/cui-kit.d.ts.map +1 -1
  63. package/ui/hooks/cui-kit/use-beverages.d.ts +2 -3
  64. package/ui/hooks/cui-kit/use-beverages.d.ts.map +1 -1
  65. package/ui/hooks/cui-kit/use-brands.d.ts +1 -1
  66. package/ui/hooks/cui-kit/use-brands.d.ts.map +1 -1
  67. package/ui/hooks/cui-kit/use-cui-kit.d.ts +2 -3
  68. package/ui/hooks/cui-kit/use-cui-kit.d.ts.map +1 -1
  69. package/ui/hooks/cui-kit/use-dispense-lifecycle.d.ts +1 -2
  70. package/ui/hooks/cui-kit/use-dispense-lifecycle.d.ts.map +1 -1
  71. package/ui/hooks/cui-kit/use-flavors.d.ts +1 -1
  72. package/ui/hooks/cui-kit/use-flavors.d.ts.map +1 -1
  73. package/ui/hooks/generic-pour/use-generic-pour.d.ts +2 -3
  74. package/ui/hooks/generic-pour/use-generic-pour.d.ts.map +1 -1
  75. package/ui/hooks/nozzle-pour/use-nozzle-pour.d.ts +2 -6
  76. package/ui/hooks/nozzle-pour/use-nozzle-pour.d.ts.map +1 -1
  77. package/ui/hooks/pour/use-pour.d.ts +3 -8
  78. package/ui/hooks/pour/use-pour.d.ts.map +1 -1
  79. package/ui/hooks/utils/pour-strategy/hold-to-pour-strategy.d.ts.map +1 -1
  80. package/ui/hooks/utils/pour-strategy/pour-strategy.d.ts +9 -2
  81. package/ui/hooks/utils/pour-strategy/pour-strategy.d.ts.map +1 -1
  82. package/ui/hooks/utils/pour-strategy/tap-to-pour-strategy.d.ts.map +1 -1
  83. package/ui/index.d.ts +0 -1
  84. package/ui/index.d.ts.map +1 -1
  85. package/ui.cjs +1 -73
  86. package/ui.cjs.map +1 -1
  87. package/ui.js +65 -66
  88. package/dispense-registration-manager-C7GGaZ47.js +0 -2673
  89. package/dispense-registration-manager-C7GGaZ47.js.map +0 -1
  90. package/dispense-registration-manager-lQhkTFKW.cjs +0 -2671
  91. package/dispense-registration-manager-lQhkTFKW.cjs.map +0 -1
  92. package/extension-utils-50g2ril2.cjs +0 -500
  93. package/extension-utils-50g2ril2.cjs.map +0 -1
  94. package/extension-utils-Dt00FOJq.js +0 -501
  95. package/extension-utils-Dt00FOJq.js.map +0 -1
  96. package/extensions/control-pour-extension.d.ts +0 -70
  97. package/extensions/control-pour-extension.d.ts.map +0 -1
  98. package/extensions/index.d.ts +0 -2
  99. package/extensions/index.d.ts.map +0 -1
  100. package/kos-models.json +0 -180
  101. package/models/utils/openapi-index.d.ts +0 -2
  102. package/models/utils/openapi-index.d.ts.map +0 -1
  103. package/models/utils/services/dispense/1.6.5/openapi.d.ts +0 -845
  104. package/models/utils/services/dispense/1.6.5/service.d.ts +0 -122
  105. package/models/utils/services/dispense/1.6.5/service.d.ts.map +0 -1
  106. package/models/utils/services/dispense/1.8.1/openapi.d.ts +0 -1653
  107. package/models/utils/services/dispense/1.8.1/service.d.ts +0 -122
  108. package/models/utils/services/dispense/1.8.1/service.d.ts.map +0 -1
  109. package/models/utils/services/dispense/daily/openapi.d.ts +0 -1820
  110. package/models/utils/services/dispense/daily/service.d.ts +0 -122
  111. package/models/utils/services/dispense/daily/service.d.ts.map +0 -1
  112. package/models/utils/services-index.d.ts +0 -4
  113. package/models/utils/services-index.d.ts.map +0 -1
  114. package/pump-provider-CBFev3qg.cjs +0 -1824
  115. package/pump-provider-CBFev3qg.cjs.map +0 -1
  116. package/pump-provider-DyxEmFRT.js +0 -1825
  117. package/pump-provider-DyxEmFRT.js.map +0 -1
  118. package/ui/hooks/cui-kit/dispense-topics.d.ts +0 -47
  119. package/ui/hooks/cui-kit/dispense-topics.d.ts.map +0 -1
  120. package/ui/utils/pour-context.d.ts +0 -8
  121. package/ui/utils/pour-context.d.ts.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"nozzle-model.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-dispense-sdk/src/models/models/nozzle/nozzle-model.ts"],"names":[],"mappings":"AACA,OAAO,EAuBL,KAAK,oBAAoB,EACzB,KAAK,eAAe,EACpB,KAAK,YAAY,EACjB,KAAK,aAAa,EAElB,KAAK,eAAe,EACpB,KAAK,UAAU,EACf,KAAK,cAAc,EACnB,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EAC1B,MAAM,yBAAyB,CAAC;AAEjC,OAAO,EAEL,KAAK,iBAAiB,EAEvB,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAML,KAAK,oBAAoB,EAC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;;;;;;;;;;;;;;;;;;;;;;;;;;;;KA+EK;AACL,eAAO,MAAM,MAAM,EAAE,QAAQ,CAC3B,wBAAwB,CAAC,WAAW,EAAE,aAAa,CAAC,CAWrD,CAAC"}
1
+ {"version":3,"file":"nozzle-model.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-dispense-sdk/src/models/models/nozzle/nozzle-model.ts"],"names":[],"mappings":"AAAA,OAAO,EAiBL,KAAK,oBAAoB,EACzB,KAAK,eAAe,EACpB,KAAK,YAAY,EACjB,KAAK,aAAa,EAElB,KAAK,eAAe,EACpB,KAAK,UAAU,EACf,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EAC1B,MAAM,yBAAyB,CAAC;AAEjC,OAAO,EAEL,KAAK,iBAAiB,EAEvB,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAML,KAAK,oBAAoB,EAC1B,MAAM,YAAY,CAAC;AACpB,OAAO,KAAK,EACV,aAAa,EAKb,gBAAgB,EACjB,MAAM,SAAS,CAAC;AAajB,eAAO,MAAM,yBAAyB,6BAA6B,CAAC;AACpE,eAAO,MAAM,0BAA0B,8BAA8B,CAAC;AACtE,eAAO,MAAM,wBAAwB,4BAA4B,CAAC;AAClE;;GAEG;AACH,cACM,eACJ,YAAW,eAAe,EAAE,aAAa,EAAE,eAAe;IAE1D,4CAA4C;IAC5C,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,gBAAgB,CAAC;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,iBAAiB,CAAC,CAAoB;IAC9C,OAAO,CAAC,cAAc,CAAC,CAAoB;IAC3C,OAAO,CAAC,gBAAgB,CAAC,CAAsB;IACrC,OAAO,CAAC,kBAAkB,CAAwC;IAC5E,aAAa,EAAE,oBAAoB,C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,gBAAgB;IACV,IAAI,CAAC,OAAO,CAAC,EAAE,UAAU,GAAG,OAAO,CAAC,IAAI,CAAC;IA6CzC,kBAAkB,CAAC,MAAM,EAAE,oBAAoB;CA0GtD;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,MAAM,MAAM,WAAW,GAAG,oBAAoB,CAAC,eAAe,CAAC,CAAC;AAEhE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KA+EK;AACL,eAAO,MAAM,MAAM,EAAE,QAAQ,CAC3B,wBAAwB,CAAC,WAAW,EAAE,aAAa,CAAC,CAWrD,CAAC"}
@@ -1,14 +1,6 @@
1
1
  import { AvailabilityModel } from '../../availability';
2
- import { IKosIdentifiable } from '@kosdev-code/kos-ui-sdk';
3
2
 
4
3
 
5
- export interface PourStrategyAware extends IKosIdentifiable {
6
- canPour: boolean;
7
- isPouring: boolean;
8
- currentState: PourState;
9
- pour: () => Promise<void>;
10
- cancelPour: () => Promise<void>;
11
- }
12
4
  /**
13
5
  * Options for a nozzle.
14
6
  */
@@ -1 +1 @@
1
- {"version":3,"file":"pump-model.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-dispense-sdk/src/models/models/pump/pump-model.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAIV,wBAAwB,EAEzB,MAAM,yBAAyB,CAAC;AAYjC,OAAO,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AA8LtD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAqFK;AACL,eAAO,MAAM,IAAI,EAAE,QAAQ,CAAC,wBAAwB,CAAC,SAAS,EAAE,WAAW,CAAC,CAWzE,CAAC"}
1
+ {"version":3,"file":"pump-model.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-dispense-sdk/src/models/models/pump/pump-model.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAIV,wBAAwB,EAIzB,MAAM,yBAAyB,CAAC;AAejC,OAAO,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAkMtD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAqFK;AACL,eAAO,MAAM,IAAI,EAAE,QAAQ,CAAC,wBAAwB,CAAC,SAAS,EAAE,WAAW,CAAC,CAWzE,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { IntentAware } from '../../types';
2
- import { IKosDataModel, TroubleAware } from '@kosdev-code/kos-ui-sdk';
2
+ import { IKosDataModel } from '@kosdev-code/kos-ui-sdk';
3
3
 
4
4
 
5
5
  export enum PourStatus {
@@ -18,10 +18,6 @@ export interface PumpOptions<AdditionalData extends object = any> {
18
18
  name: string;
19
19
  path: string;
20
20
  prevIngredientId?: string;
21
- state?: {
22
- path: string;
23
- name: string;
24
- };
25
21
  [key: keyof AdditionalData]: AdditionalData[key];
26
22
  }
27
23
 
@@ -36,8 +32,7 @@ interface IntentResponse {
36
32
  export interface PumpModel<AdditionalData extends object = any>
37
33
  extends IKosDataModel,
38
34
  IntentAware,
39
- AdditionalData,
40
- TroubleAware {
35
+ AdditionalData {
41
36
  id: string;
42
37
  inserted: boolean;
43
38
  type: string;
@@ -1 +1 @@
1
- {"version":3,"file":"pump-container-model.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-dispense-sdk/src/models/models/pump-container/pump-container-model.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,iCAAiC,EAClC,MAAM,yBAAyB,CAAC;AASjC,OAAO,KAAK,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAQxE,oBAAY,SAAS;IACnB,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,QAAQ,aAAa;CACtB;AAqED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA0EO;AACP,eAAO,MAAM,aAAa,EAAE,iCAAiC,CAC3D,kBAAkB,EAClB,oBAAoB,CAarB,CAAC"}
1
+ {"version":3,"file":"pump-container-model.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-dispense-sdk/src/models/models/pump-container/pump-container-model.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,iCAAiC,EAClC,MAAM,yBAAyB,CAAC;AASjC,OAAO,KAAK,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAQxE,oBAAY,SAAS;IACnB,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,QAAQ,aAAa;CACtB;AAiED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA0EO;AACP,eAAO,MAAM,aAAa,EAAE,iCAAiC,CAC3D,kBAAkB,EAClB,oBAAoB,CAarB,CAAC"}
@@ -42,10 +42,6 @@ export type AssemblyPump<PumpExt extends object = {}> = {
42
42
  holderPath: string;
43
43
  ingredientId?: string;
44
44
  prevIngredientId?: string;
45
- state?: {
46
- path: string;
47
- name: string;
48
- };
49
45
  };
50
46
  interface AssemblyPipeline {
51
47
  name: string;
@@ -1 +1 @@
1
- {"version":3,"file":"assembly.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-dispense-sdk/src/models/models/types/assembly.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,aAAa,CAAC,QAAQ,SAAS,MAAM,GAAG,EAAE,IAAI;KACvD,GAAG,IAAI,MAAM,QAAQ,GAAG,QAAQ,CAAC,GAAG,CAAC;CACvC,GAAG;IACF,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAA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,GAAG,CACjD,CAAC"}
@@ -16,102 +16,4 @@ export interface IntentAware extends IKosIdentifiable {
16
16
  cancelPour: () => Promise<void>;
17
17
  performIntent(props: IntentAwareProps | string): Promise<FutureResponse | undefined>;
18
18
  }
19
- /**
20
- * Interface for models that can resolve intent volumes for various operations.
21
- *
22
- * This interface extends intent-aware models with the ability to calculate
23
- * appropriate volumes for specific intents (e.g., CALIBRATE, PRIME, FLUSH).
24
- * Typically implemented by holder and pump models that have ingredient assignments
25
- * and need to determine operation-specific volumes based on ingredient type,
26
- * pump configuration, or operational requirements.
27
- *
28
- * Use this interface in combination with {@link IntentAware} to create models
29
- * that can both determine appropriate volumes and execute the operations.
30
- *
31
- * @example
32
- * Using IntentContainer for calibration:
33
- * ```typescript
34
- * async function calibratePump(holder: HolderModel & IntentContainer) {
35
- * // Resolve appropriate calibration volume
36
- * const result = await holder.resolveIntentVolume("CALIBRATE");
37
- * console.log(`Calibration requires ${result.volume} oz`);
38
- *
39
- * // Execute calibration with resolved volume
40
- * await holder.performIntent("CALIBRATE");
41
- * }
42
- * ```
43
- *
44
- * @example
45
- * Checking for ingredient assignment:
46
- * ```typescript
47
- * function canResolveVolume(model: IntentContainer): boolean {
48
- * return model.ingredientId !== undefined;
49
- * }
50
- * ```
51
- *
52
- * @category Model Interfaces
53
- * @see {@link IntentAware} for intent execution capabilities
54
- */
55
- export interface IntentContainer {
56
- /**
57
- * Resolves the appropriate volume for a given intent operation.
58
- *
59
- * Different intents require different volumes based on operational requirements:
60
- * - **CALIBRATE**: Standard calibration volume based on ingredient type and pump configuration
61
- * - **PRIME**: Volume needed to prime the line from reservoir to dispense point
62
- * - **FLUSH**: Cleaning volume to flush contaminants from the system
63
- * - **PURGE**: Volume to completely clear the line
64
- *
65
- * The resolved volume is calculated based on:
66
- * - Ingredient type and properties
67
- * - Pump hardware configuration (line length, diameter)
68
- * - Operational parameters (flow rates, pressure)
69
- * - Device-specific calibration data
70
- *
71
- * @param intent - The intent string identifier (e.g., "CALIBRATE", "PRIME", "FLUSH")
72
- * @returns Promise resolving to object with `volume` property in ounces (oz)
73
- *
74
- * @throws May reject if ingredient is not assigned or volume cannot be determined
75
- *
76
- * @example
77
- * Resolving calibration volume:
78
- * ```typescript
79
- * const result = await holder.resolveIntentVolume("CALIBRATE");
80
- * console.log(`Calibration: ${result.volume} oz`);
81
- * ```
82
- *
83
- * @example
84
- * Handling volume resolution errors:
85
- * ```typescript
86
- * try {
87
- * const result = await holder.resolveIntentVolume("PRIME");
88
- * displayVolume(result.volume);
89
- * } catch (error) {
90
- * console.error("Cannot resolve volume - ingredient may not be assigned");
91
- * }
92
- * ```
93
- */
94
- resolveIntentVolume(intent: string): Promise<{
95
- volume: number;
96
- }>;
97
- /**
98
- * Optional ingredient identifier for the assigned ingredient.
99
- *
100
- * When undefined, no ingredient is assigned to this holder/pump and volume
101
- * resolution operations may fail or return default values. Check this property
102
- * before calling {@link resolveIntentVolume} to ensure an ingredient is assigned.
103
- *
104
- * @example
105
- * Checking for assignment before resolving volume:
106
- * ```typescript
107
- * if (holder.ingredientId) {
108
- * const volume = await holder.resolveIntentVolume("CALIBRATE");
109
- * // Use volume...
110
- * } else {
111
- * console.log("No ingredient assigned - cannot calibrate");
112
- * }
113
- * ```
114
- */
115
- ingredientId?: string;
116
- }
117
19
  //# sourceMappingURL=intent.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"intent.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-dispense-sdk/src/models/models/types/intent.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAEhE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAE9D,MAAM,WAAW,gBAAgB;IAC/B,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;;;;GAKG;AACH,MAAM,WAAW,WAAY,SAAQ,gBAAgB;IACnD,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAChC,aAAa,CACX,KAAK,EAAE,gBAAgB,GAAG,MAAM,GAC/B,OAAO,CAAC,cAAc,GAAG,SAAS,CAAC,CAAC;CACxC;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,MAAM,WAAW,eAAe;IAC9B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAqCG;IACH,mBAAmB,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC;QAAE,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAEjE;;;;;;;;;;;;;;;;;OAiBG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB"}
1
+ {"version":3,"file":"intent.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-dispense-sdk/src/models/models/types/intent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAEhE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAE9D,MAAM,WAAW,gBAAgB;IAC/B,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;;;;GAKG;AACH,MAAM,WAAW,WAAY,SAAQ,gBAAgB;IACnD,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAChC,aAAa,CACX,KAAK,EAAE,gBAAgB,GAAG,MAAM,GAC/B,OAAO,CAAC,cAAc,GAAG,SAAS,CAAC,CAAC;CACxC"}
@@ -2,6 +2,8 @@ export declare enum PourState {
2
2
  IDLE = "IDLE",
3
3
  POURING = "POURING",
4
4
  POUR_STARTING = "POUR_STARTING",
5
- POUR_CANCELING = "POUR_CANCELING"
5
+ POUR_CANCELING = "POUR_CANCELING",
6
+ POUR_CANCELED = "POUR_CANCELED",
7
+ POUR_COMPLETE = "POUR_COMPLETE"
6
8
  }
7
9
  //# sourceMappingURL=pouring.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"pouring.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-dispense-sdk/src/models/models/types/pouring.ts"],"names":[],"mappings":"AAAA,oBAAY,SAAS;IACnB,IAAI,SAAS;IACb,OAAO,YAAY;IACnB,aAAa,kBAAkB;IAC/B,cAAc,mBAAmB;CAClC"}
1
+ {"version":3,"file":"pouring.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-dispense-sdk/src/models/models/types/pouring.ts"],"names":[],"mappings":"AAAA,oBAAY,SAAS;IACnB,IAAI,SAAS;IACb,OAAO,YAAY;IACnB,aAAa,kBAAkB;IAC/B,cAAc,mBAAmB;IACjC,aAAa,kBAAkB;IAC/B,aAAa,kBAAkB;CAChC"}
@@ -2,7 +2,7 @@ import { KosModelRegistry as CoreKosModelRegistration, RegistrationManager, Regi
2
2
 
3
3
  export declare const registerDispenseModels: <R>(root: R) => () => {
4
4
  preload: (type: string) => RegistrationResult<R>;
5
- model: <T extends import('@kosdev-code/kos-ui-sdk').BaseKosModelRegistrationBean<any, any> | import('@kosdev-code/kos-ui-sdk').KosModelRegistrationType<any, any>>(registration: T, preload?: boolean | undefined) => RegistrationResult<R>;
5
+ model: <T extends import('@kosdev-code/kos-ui-sdk').BaseKosModelRegistrationBean<any, any> | import('packages/sdk/kos-ui-sdk/src/core/core/registration/model-registration').KosModelRegistrationType<any, any>>(registration: T, preload?: boolean | undefined) => RegistrationResult<R>;
6
6
  companion: (parentType: string, companion: import('@kosdev-code/kos-ui-sdk').KosCompanionModelType<any>) => RegistrationResult<R>;
7
7
  legacy: <T_1 extends import('@kosdev-code/kos-ui-sdk').IKosModelRegistration>(type: string, registration: T_1) => RegistrationResult<R>;
8
8
  };
@@ -19,7 +19,7 @@ declare const _KosModelRegistry: {
19
19
  models: () => RegistrationResult<{}>;
20
20
  };
21
21
  preload: (type: string) => RegistrationResult<unknown>;
22
- model: <T extends import('@kosdev-code/kos-ui-sdk').BaseKosModelRegistrationBean<any, any> | import('@kosdev-code/kos-ui-sdk').KosModelRegistrationType<any, any>>(registration: T, preload?: boolean | undefined) => RegistrationResult<unknown>;
22
+ model: <T extends import('@kosdev-code/kos-ui-sdk').BaseKosModelRegistrationBean<any, any> | import('packages/sdk/kos-ui-sdk/src/core/core/registration/model-registration').KosModelRegistrationType<any, any>>(registration: T, preload?: boolean | undefined) => RegistrationResult<unknown>;
23
23
  companion: (parentType: string, companion: import('@kosdev-code/kos-ui-sdk').KosCompanionModelType<any>) => RegistrationResult<unknown>;
24
24
  };
25
25
  type KosModelRegistryType = DispenseKosModelRegistration<typeof _KosModelRegistry>;
@@ -4,7 +4,7 @@ import { IngredientResponse } from '../models/ingredient/services';
4
4
  import { HolderModel } from '../models/holder/types';
5
5
  import { HolderResponse } from '../models/holder/services';
6
6
  import { AssemblyTypes, AssemblyModel } from '../models';
7
- import { CoreExtensionManager, DataLoader, DataMapper, ExtensionOptions, IndexExtension, PropertyMapper, FlagResolver } from '@kosdev-code/kos-ui-sdk';
7
+ import { CoreExtensionManager, DataLoader, DataMapper, IndexExtension, PropertyMapper, FlagResolver } from '@kosdev-code/kos-ui-sdk';
8
8
 
9
9
  export type IngredientDataMapper<AdditionalData extends object = Record<string, any>> = DataMapper<IngredientResponse, AdditionalData, any>;
10
10
  /**
@@ -41,12 +41,6 @@ export declare class DispenseExtensionManager {
41
41
  * not provided by the base KOS Ingredient model. The {@link IngredientMapper} extension point allows for the data to be mapped
42
42
  * into the {@link IngredientModel} and the {@link IngredientModel.data} property to be augmented with additional properties.
43
43
  *
44
- * @param ingredientDataMapper - Mapping function that maps an {@link IngredientResponse} into additional model data
45
- * @param options - Optional {@link ExtensionOptions} to control failure behavior.
46
- * Defaults to `failurePolicy: "throw"`, which throws an {@link ExtensionException} on mapper failure.
47
- * Set to `"continue"` to log the error and continue processing remaining mappers.
48
- * @returns this instance for chaining
49
- *
50
44
  * @example
51
45
  * The following example shows how to map the data from the service response into the {@link IngredientModel}.
52
46
  * The context is provided by the {@link IngredientLoader} extension point with its data being used to optionally augment the
@@ -84,15 +78,9 @@ export declare class DispenseExtensionManager {
84
78
  * }
85
79
  * ```
86
80
  * */
87
- registerIngredientDataMapper(ingredientDataMapper: IngredientDataMapper, options?: ExtensionOptions): this;
81
+ registerIngredientDataMapper(ingredientDataMapper: IngredientDataMapper): this;
88
82
  /**
89
- * Loads data that will be provided as context into the {@link IngredientMapper}.
90
- *
91
- * @param ingredientLoader - Async function that loads and returns ingredient context data
92
- * @param options - Optional {@link ExtensionOptions} to control failure behavior.
93
- * Defaults to `failurePolicy: "throw"`, which throws an {@link ExtensionException} on loader failure.
94
- * Set to `"continue"` to log the error and return `undefined` instead.
95
- * @returns this instance for chaining
83
+ * Loads data that will be provided as context into the {@link IngredientMapper}
96
84
  *
97
85
  * @example
98
86
  * The following example shows how to load the brandset data, normalize it into a map and then provide it back to the framework
@@ -114,61 +102,28 @@ export declare class DispenseExtensionManager {
114
102
  * };
115
103
  * ```
116
104
  * */
117
- registerIngredientLoader(ingredientLoader: DataLoader, options?: ExtensionOptions): this;
105
+ registerIngredientLoader(ingredientLoader: DataLoader): this;
118
106
  registerIngredientIndex(ingredientIndex: IndexExtension): this;
119
107
  /**
120
- * Registers a property mapper that derives the `type` property of the {@link IngredientModel}
121
- * from an {@link IngredientResponse}.
122
- *
123
- * @param ingredientTypeMapper - Mapping function that extracts a type string from an {@link IngredientResponse}
124
- * @param options - Optional {@link ExtensionOptions} to control failure behavior.
125
- * Defaults to `failurePolicy: "throw"`, which throws an {@link ExtensionException} on mapper failure.
126
- * Set to `"continue"` to log the error and return a fallback value instead.
127
- * @returns this instance for chaining
108
+ * Registers a data mapper for the {@link IngredientModel}
128
109
  * */
129
- registerIngredientTypeMapper(ingredientTypeMapper: IngredientTypeMapper, options?: ExtensionOptions): this;
110
+ registerIngredientTypeMapper(ingredientTypeMapper: IngredientTypeMapper): this;
130
111
  /**
131
112
  * Registers a data mapper for the {@link HolderModel} model.
132
- *
133
- * @param holderDataMapper - Mapping function that maps additional data from a {@link HolderResponse}
134
- * @param options - Optional {@link ExtensionOptions} to control failure behavior.
135
- * Defaults to `failurePolicy: "throw"`, which throws an {@link ExtensionException} on mapper failure.
136
- * Set to `"continue"` to log the error and continue processing remaining mappers.
137
- * @returns this instance for chaining
113
+ * @param holderDataMapper - Mapping function that maps additional data from holder service response
114
+ * @returns
138
115
  */
139
- registerHolderDataMapper(holderDataMapper: HolderDataMapper, options?: ExtensionOptions): this;
140
- /**
141
- * Registers a property mapper that derives the `type` property of the {@link HolderModel}
142
- * from a {@link HolderResponse}.
143
- *
144
- * @param holderTypeMapper - Mapping function that extracts a type string from a {@link HolderResponse}
145
- * @param options - Optional {@link ExtensionOptions} to control failure behavior.
146
- * Defaults to `failurePolicy: "throw"`, which throws an {@link ExtensionException} on mapper failure.
147
- * Set to `"continue"` to log the error and return a fallback value instead.
148
- * @returns this instance for chaining
149
- */
150
- registerHolderTypeMapper(holderTypeMapper: HolderTypeMapper, options?: ExtensionOptions): this;
116
+ registerHolderDataMapper(holderDataMapper: HolderDataMapper): this;
117
+ registerHolderTypeMapper(holderTypeMapper: HolderTypeMapper): this;
151
118
  /**
152
119
  * Maps the ingredientId property of the holder into the {@link HolderModel}.
153
120
  * If not provided, the ingredientId will assume that the value is mapped from the
154
121
  * ingredientId property of the service response.
155
- *
156
- * @param holderTypeMapper - Mapping function that extracts the ingredientId from a {@link HolderResponse}
157
- * @param options - Optional {@link ExtensionOptions} to control failure behavior.
158
- * Defaults to `failurePolicy: "throw"`, which throws an {@link ExtensionException} on mapper failure.
159
- * Set to `"continue"` to log the error and return a fallback value instead.
160
- * @returns this instance for chaining
161
122
  * */
162
- registerHolderIngredientMapper(holderTypeMapper: HolderTypeMapper, options?: ExtensionOptions): this;
123
+ registerHolderIngredientMapper(holderTypeMapper: HolderTypeMapper): this;
163
124
  registerHolderIndex<T extends HolderModel = HolderModel>(holderIndex: IndexExtension<T>): this;
164
125
  /**
165
- * Maps data into the {@link AvailabilityModel}.
166
- *
167
- * @param availabilityMapper - Mapping function that maps a {@link GroupBeverageResponse} into additional availability data
168
- * @param options - Optional {@link ExtensionOptions} to control failure behavior.
169
- * Defaults to `failurePolicy: "throw"`, which throws an {@link ExtensionException} on mapper failure.
170
- * Set to `"continue"` to log the error and continue processing remaining mappers.
171
- * @returns this instance for chaining
126
+ * Maps data into the {@link AvailabilityModel}
172
127
  *
173
128
  * @example
174
129
  * The following example shows how to map the data from the service response into the {@link AvailabilityModel}.
@@ -193,15 +148,9 @@ export declare class DispenseExtensionManager {
193
148
  * };
194
149
  * ```
195
150
  * */
196
- registerAvailabilityDataMapper(availabilityMapper: AvailabilityDataMapper, options?: ExtensionOptions): this;
151
+ registerAvailabilityDataMapper(availabilityMapper: AvailabilityDataMapper): this;
197
152
  /**
198
- * Loads data that will be provided as context into the {@link AvailabilityMapper}.
199
- *
200
- * @param availabilityLoader - Async function that loads and returns availability context data
201
- * @param options - Optional {@link ExtensionOptions} to control failure behavior.
202
- * Defaults to `failurePolicy: "throw"`, which throws an {@link ExtensionException} on loader failure.
203
- * Set to `"continue"` to log the error and return `undefined` instead.
204
- * @returns this instance for chaining
153
+ * Loads data that will be provided as context into the {@link AvailabilityMapper}
205
154
  *
206
155
  * @example
207
156
  * A common use case is to load brandset data that is UI specific and not provided directly by the Java service.
@@ -230,28 +179,16 @@ export declare class DispenseExtensionManager {
230
179
  * };
231
180
  * ```
232
181
  * */
233
- registerAvailabilityLoader(availabilityLoader: DataLoader, options?: ExtensionOptions): this;
182
+ registerAvailabilityLoader(availabilityLoader: DataLoader): this;
234
183
  /**
235
184
  * Maps the abstract {@link SelectedPourable} data into a format that is specific to the nozzle.
236
- *
237
- * @param selectedPourableMapper - Mapping function that transforms {@link SelectedPourable} data
238
- * @param options - Optional {@link ExtensionOptions} to control failure behavior.
239
- * Defaults to `failurePolicy: "throw"`, which throws an {@link ExtensionException} on mapper failure.
240
- * Set to `"continue"` to log the error and continue processing remaining mappers.
241
- * @returns this instance for chaining
242
185
  * */
243
- registerSelectedPourableDataMapper(selectedPourableMapper: SelectedPourableMapper, options?: ExtensionOptions): this;
186
+ registerSelectedPourableDataMapper(selectedPourableMapper: SelectedPourableMapper): this;
244
187
  /**
245
188
  * Maps data into the {@link AssemblyModel} data.
246
189
  * Used in cases where the base assembly has been extended with additional properties in the backend. This extension
247
190
  * point allows for the data to be mapped into the {@link AssemblyModel} and augmented with additional properties.
248
191
  *
249
- * @param assemblyDataMapper - Mapping function that maps an {@link AssemblyTypes.AssemblyResponse} into additional assembly data
250
- * @param options - Optional {@link ExtensionOptions} to control failure behavior.
251
- * Defaults to `failurePolicy: "throw"`, which throws an {@link ExtensionException} on mapper failure.
252
- * Set to `"continue"` to log the error and continue processing remaining mappers.
253
- * @returns this instance for chaining
254
- *
255
192
  * @example
256
193
  *
257
194
  * In this example of an implementation of a {@link AssemblyMapper}, the {@link AssemblyResponse} data is mapped into
@@ -308,18 +245,9 @@ export declare class DispenseExtensionManager {
308
245
  * };
309
246
  *```
310
247
  */
311
- registerAssemblyDataMapper(assemblyDataMapper: AssemblyMapper, options?: ExtensionOptions): this;
248
+ registerAssemblyDataMapper(assemblyDataMapper: AssemblyMapper): this;
312
249
  registerBoardIndex(boardIndex: IndexExtension): this;
313
- /**
314
- * Registers a data mapper for the board model within an assembly.
315
- *
316
- * @param boardDataMapper - Mapping function that maps an {@link AssemblyTypes.AssemblyBoard} into additional board data
317
- * @param options - Optional {@link ExtensionOptions} to control failure behavior.
318
- * Defaults to `failurePolicy: "throw"`, which throws an {@link ExtensionException} on mapper failure.
319
- * Set to `"continue"` to log the error and continue processing remaining mappers.
320
- * @returns this instance for chaining
321
- */
322
- registerBoardDataMapper(boardDataMapper: BoardDataMapper<any, any>, options?: ExtensionOptions): this;
250
+ registerBoardDataMapper(boardDataMapper: BoardDataMapper<any, any>): this;
323
251
  registerAssemblyFeatureFlagResolver(assemblyFeatureFlagResolver: FlagResolver<AssemblyModel>): this;
324
252
  }
325
253
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"extension-utils.d.ts","sourceRoot":"","sources":["../../../../../../packages/sdk/kos-dispense-sdk/src/models/utils/extension-utils.ts"],"names":[],"mappings":"AACA,OAAO,EACL,oBAAoB,EACpB,UAAU,EACV,UAAU,EAGV,gBAAgB,EAChB,cAAc,EACd,cAAc,EACd,KAAK,YAAY,EAClB,MAAM,yBAAyB,CAAC;AAEjC,OAAO,EAAE,aAAa,EAAE,KAAK,aAAa,EAAE,MAAM,WAAW,CAAC;AAC9D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AACxE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAClE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAE/D,MAAM,MAAM,oBAAoB,CAC9B,cAAc,SAAS,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,IACjD,UAAU,CAAC,kBAAkB,EAAE,cAAc,EAAE,GAAG,CAAC,CAAC;AAExD;;;GAGG;AACH,MAAM,MAAM,oBAAoB,CAC9B,CAAC,SAAS,kBAAkB,GAAG,kBAAkB,IAC/C,cAAc,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC;AAE9B;;;GAGG;AACH,MAAM,MAAM,gBAAgB,CAAC,CAAC,SAAS,cAAc,GAAG,cAAc,IACpE,cAAc,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC;AAE5B;;;GAGG;AACH,MAAM,MAAM,gBAAgB,CAC1B,cAAc,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;IACH,uBAAuB,CACrB,eAAe,EAAE,eAAe,CAAC,GAAG,EAAE,GAAG,CAAC,EAC1C,OAAO,CAAC,EAAE,gBAAgB;IAU5B,mCAAmC,CACjC,2BAA2B,EAAE,YAAY,CAAC,aAAa,CAAC;CAQ3D;AAED;;;;;;;GAOG;AACH,qBAAa,mBAAmB;IAC9B,QAAQ,EAAE,wBAAwB,CAAC;IACnC,IAAI,EAAE,oBAAoB,CAAC;;CAK5B"}
1
+ {"version":3,"file":"extension-utils.d.ts","sourceRoot":"","sources":["../../../../../../packages/sdk/kos-dispense-sdk/src/models/utils/extension-utils.ts"],"names":[],"mappings":"AACA,OAAO,EACL,oBAAoB,EACpB,UAAU,EACV,UAAU,EAGV,cAAc,EACd,cAAc,EACd,KAAK,YAAY,EAClB,MAAM,yBAAyB,CAAC;AAEjC,OAAO,EAAE,aAAa,EAAE,KAAK,aAAa,EAAE,MAAM,WAAW,CAAC;AAC9D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AACxE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAClE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAE/D,MAAM,MAAM,oBAAoB,CAC9B,cAAc,SAAS,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,IACjD,UAAU,CAAC,kBAAkB,EAAE,cAAc,EAAE,GAAG,CAAC,CAAC;AAExD;;;GAGG;AACH,MAAM,MAAM,oBAAoB,CAC9B,CAAC,SAAS,kBAAkB,GAAG,kBAAkB,IAC/C,cAAc,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC;AAE9B;;;GAGG;AACH,MAAM,MAAM,gBAAgB,CAAC,CAAC,SAAS,cAAc,GAAG,cAA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ationAddress?: string | undefined;
12
- bridge?: boolean | undefined;
13
- headers?: Record<string, string> | undefined;
14
- fos?: boolean | undefined;
15
12
  studio?: boolean | undefined;
13
+ fos?: boolean | undefined;
14
+ bridge?: boolean | undefined;
16
15
  signal?: AbortSignal | undefined;
16
+ headers?: Record<string, string> | undefined;
17
17
  stream?: boolean | undefined;
18
18
  responseType?: "text" | "json" | "arraybuffer" | "blob" | undefined;
19
- retry?: boolean | import('@kosdev-code/kos-ui-sdk').RetryConfig | undefined;
20
19
  } | undefined) => Promise<import('@kosdev-code/kos-ui-sdk').ServiceResponse<ClientResponse<paths, K, "get">>>;
21
20
  post: <K_1 extends "/api/app/kosdev.ddk/auth/pincode/{pin}" | "/api/ext/dispense/nozzle/nozzle/pipeline/beverage/select" | "/api/ext/dispense/nozzle/nozzle/pipeline/beverage/pour" | "/api/ext/dispense/nozzle/nozzle/pipeline/beverage/fixed/{name}" | "/api/kos/browser/{nodeId}" | "/api/kos/browser/{nodeId}/{name}" | "/api/kos/browser/intent" | "/api/kos/browser/url" | "/api/kos/future/{futureId}/cancel" | "/api/kos/ota/resume/{name}" | "/api/kos/ota/cancel" | "/api/kos/ota/cancel/{name}" | "/api/kos/ota/pause/{name}" | "/api/app/kosdev.ddk/copyLogs/eraseAndCopy/{id}" | "/api/app/kosdev.ddk/copyLogs/{id}" | "/api/ext/freestyle/can/stats" | "/api/ext/freestyle/can/write/byte/{boardPath}/{index}/{subIndex}/{val}" | "/api/ext/freestyle/can/write/short/{boardPath}/{index}/{subIndex}/{val}" | "/api/ext/freestyle/can/write/float/{boardPath}/{index}/{subIndex}/{val}" | "/api/ext/freestyle/can/write/int/{boardPath}/{index}/{subIndex}/{val}" | "/api/ext/freestyle/fcm/diagnostics/{pump}/pressureTest" | "/api/ext/freestyle/fcm/diagnostics/{pump}/opennessTest" | "/api/ext/freestyle/fcm/diagnostics/{pump}/flowTest" | "/api/ext/freestyle/fcm/diagnostics/{pump}/electricalTest" | "/api/ext/dispense/metrics/{name}" | "/api/ext/dispense/metrics/{nozzle}/{name}" | "/api/ext/freestyle/microCalibration/cal/{pump}/running/{val}" | "/api/ext/freestyle/microCalibration/cal/{pump}/code/{code}" | "/api/ext/freestyle/microCalibration/cal/{pump}/baseline/{val}" | "/api/ext/freestyle/microCalibration/cal/{pump}/both/{val}" | "/api/kos/config/{path}" | "/api/kos/config/bulk" | "/api/ext/freestyle/brandset/grantProperties" | "/api/ext/freestyle/fcm/calibration/{pump}/calibrate" | "/api/ext/freestyle/fcm/calibration/{pump}/preCalibrate" | "/api/ext/freestyle/fcm/calibration/{pump}/verify/{calVolume}" | "/api/ext/freestyle/fcm/calibration/{pump}/baseline/{value}" | "/api/ext/freestyle/fcm/calibration/{pump}/complete/{calVolume}/{verifyVolume}" | "/api/kos/update/install" | "/api/kos/troubles/resolve" | "/api/kos/troubles/resolve/{troubleId}" | "/api/ext/freestyle/fuelGauges/{holder}/{val}" | "/api/ext/dispense/pumpEvents/replaceLine/{holder}" | "/api/ext/dispense/pumpEvents/replacePump/{pump}" | "/api/kos/time/date" | "/api/kos/time/timezone" | "/api/kos/time/time" | "/api/ext/dispense/soldOuts/container/{pump}/{reason}" | "/api/ext/dispense/soldOuts/slice/{pump}/{reason}" | "/api/app/kosdev.ddk/setup/complete/{stepName}" | "/api/ext/dispense/assignments" | "/api/kos/nodeMgr/reboot" | "/api/kos/nodeMgr/node/{nodeId}/reboot" | "/api/kos/nodeMgr/node/{nodeId}/blockedManifests/{manifestId}" | "/api/kos/nodeMgr/blockedManifests/{manifestId}" | "/api/app/kosdev.ddk/lockout/unlock/{pin}" | "/api/kos/criticalData/data" | "/api/kos/criticalData/data/{name}" | "/api/app/kosdev.ddk/ncui/reboot" | "/api/kos/device/serialNumber/{serialNum}" | "/api/ext/freestyle/ice/type/{path}/{type}" | "/api/app/tccc.fits/medusa/profile" | "/api/app/tccc.fits/medusa/profiles/{profileId}" | "/api/app/tccc.fits/medusa/profiles/{profileId}/tests/resume" | "/api/app/tccc.fits/medusa/profiles/{profileId}/tests/exit" | "/api/app/tccc.fits/medusa/profiles/{profileId}/tests/stop" | "/api/app/tccc.fits/medusa/profiles/{profileId}/tests/{testId}" | "/api/app/tccc.fits/medusa/profiles/{profileId}/tests/{testId}/json" | "/api/app/tccc.fits/medusa/profiles/{profileId}/tests/{testId}/run" | "/api/app/tccc.fits/medusa/profiles/{profileId}/tests/pause" | "/api/app/tccc.fits/medusa/profiles/{profileId}/test" | "/api/app/tccc.fits/medusa/profiles/{profileId}/activate" | "/api/app/tccc.fits/medusa/profiles/{profileId}/builder/blocks" | "/api/app/tccc.fits/medusa/profiles/{profileId}/builder/bevs/{bevId}" | "/api/app/tccc.fits/medusa/profiles/{profileId}/recipe" | "/api/app/tccc.fits/medusa/profiles/{profileId}/mapper/discovery" | "/api/app/tccc.fits/medusa/profiles/{profileId}/mapper/builder" | "/api/app/tccc.fits/medusa/profiles/{profileId}/results/{resultsId}" | "/api/app/tccc.fits/medusa/profiles/{profileId}/validate" | "/api/app/tccc.fits/medusa/profiles/{profileId}/validate/all" | "/api/app/tccc.fits/scales/{serialNum}" | "/api/app/tccc.fits/persistence/sources/{storageId}/{name}" | "/api/ext/dispense/nozzle/nozzle/pipeline/ingredient/pour/{path}/{intent}" | "/api/app/tccc.fits/session/pop/all" | "/api/app/tccc.fits/session/pop/include/{type}" | "/api/app/tccc.fits/session/pop/to/{type}" | "/api/app/tccc.fits/session/data/{key}" | "/api/handle/assembly:core:board:macro:agitator:agit/test" | "/api/kos/log/overrides">(endpoint: K_1, params?: (paths[K_1]["post"] extends {
22
21
  parameters: infer P_1;
@@ -29,14 +28,13 @@ export declare const api: {
29
28
  tracker?: string | undefined;
30
29
  timeout?: number | undefined;
31
30
  destinationAddress?: string | undefined;
32
- bridge?: boolean | undefined;
33
- headers?: Record<string, string> | undefined;
34
- fos?: boolean | undefined;
35
31
  studio?: boolean | undefined;
32
+ fos?: boolean | undefined;
33
+ bridge?: boolean | undefined;
36
34
  signal?: AbortSignal | undefined;
35
+ headers?: Record<string, string> | undefined;
37
36
  stream?: boolean | undefined;
38
37
  responseType?: "text" | "json" | "arraybuffer" | "blob" | undefined;
39
- retry?: boolean | import('@kosdev-code/kos-ui-sdk').RetryConfig | undefined;
40
38
  } | undefined) => Promise<import('@kosdev-code/kos-ui-sdk').ServiceResponse<ClientResponse<paths, K_1, "post">>>;
41
39
  put: <K_2 extends never>(endpoint: K_2, params?: (paths[K_2]["put"] extends {
42
40
  parameters: infer P_2;
@@ -49,14 +47,13 @@ export declare const api: {
49
47
  tracker?: string | undefined;
50
48
  timeout?: number | undefined;
51
49
  destinationAddress?: string | undefined;
52
- bridge?: boolean | undefined;
53
- headers?: Record<string, string> | undefined;
54
- fos?: boolean | undefined;
55
50
  studio?: boolean | undefined;
51
+ fos?: boolean | undefined;
52
+ bridge?: boolean | undefined;
56
53
  signal?: AbortSignal | undefined;
54
+ headers?: Record<string, string> | undefined;
57
55
  stream?: boolean | undefined;
58
56
  responseType?: "text" | "json" | "arraybuffer" | "blob" | undefined;
59
- retry?: boolean | import('@kosdev-code/kos-ui-sdk').RetryConfig | undefined;
60
57
  } | undefined) => Promise<import('@kosdev-code/kos-ui-sdk').ServiceResponse<ClientResponse<paths, K_2, "put">>>;
61
58
  delete: <K_3 extends "/api/ext/dispense/nozzle/nozzle/pipeline/beverage/select" | "/api/app/kosdev.ddk/copyLogs/{id}" | "/api/ext/dispense/metrics/{name}" | "/api/ext/dispense/metrics/{nozzle}/{name}" | "/api/ext/dispense/assignments/{holderPath}" | "/api/kos/nodeMgr/node/{nodeId}/blockedManifests" | "/api/kos/nodeMgr/node/{nodeId}/blockedManifests/{manifestId}" | "/api/kos/nodeMgr/blockedManifests/{manifestId}" | "/api/kos/criticalData/data/{name}" | "/api/app/tccc.fits/medusa/profiles/{profileId}" | "/api/app/tccc.fits/medusa/profiles/{profileId}/recipes/{name}" | "/api/app/tccc.fits/medusa/profiles/{profileId}/tests/{testId}" | "/api/app/tccc.fits/medusa/profiles/{profileId}/builder/blocks" | "/api/app/tccc.fits/medusa/profiles/{profileId}/builder/bevs/{bevId}" | "/api/app/tccc.fits/medusa/profiles/{profileId}/results/{resultsId}" | "/api/app/tccc.fits/scales/{serialNum}" | "/api/app/tccc.fits/session/data/{key}" | "/api/kos/log/overrides">(endpoint: K_3, params?: (paths[K_3]["delete"] extends {
62
59
  parameters: infer P_3;
@@ -69,14 +66,13 @@ export declare const api: {
69
66
  tracker?: string | undefined;
70
67
  timeout?: number | undefined;
71
68
  destinationAddress?: string | undefined;
72
- bridge?: boolean | undefined;
73
- headers?: Record<string, string> | undefined;
74
- fos?: boolean | undefined;
75
69
  studio?: boolean | undefined;
70
+ fos?: boolean | undefined;
71
+ bridge?: boolean | undefined;
76
72
  signal?: AbortSignal | undefined;
73
+ headers?: Record<string, string> | undefined;
77
74
  stream?: boolean | undefined;
78
75
  responseType?: "text" | "json" | "arraybuffer" | "blob" | undefined;
79
- retry?: boolean | import('@kosdev-code/kos-ui-sdk').RetryConfig | undefined;
80
76
  } | undefined) => Promise<import('@kosdev-code/kos-ui-sdk').ServiceResponse<ClientResponse<paths, K_3, "delete">>>;
81
77
  };
82
78
  export type RegionTypeArray = ClientResponse<paths, "/api/kos/regions", "get">;
@@ -1 +1 @@
1
- {"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../../../../../packages/sdk/kos-dispense-sdk/src/models/utils/service.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,cAAc,EACnB,KAAK,YAAY,EACjB,KAAK,WAAW,EACjB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,KAAK,EAAE,MAAM,WAAW,CAAC;AAElC,eAAO,MAAM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAwB,CAAC;AAEzC,MAAM,MAAM,eAAe,GAAG,cAAc,CAAC,KAAK,EAAE,kBAAkB,EAAE,KAAK,CAAC,CAAC;AAE/E,MAAM,MAAM,UAAU,GAAG,YAAY,CAAC,WAAW,CAAC,eAAe,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../../../../../packages/sdk/kos-dispense-sdk/src/models/utils/service.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,cAAc,EACnB,KAAK,YAAY,EACjB,KAAK,WAAW,EACjB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,KAAK,EAAE,MAAM,WAAW,CAAC;AAElC,eAAO,MAAM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAwB,CAAC;AAEzC,MAAM,MAAM,eAAe,GAAG,cAAc,CAAC,KAAK,EAAE,kBAAkB,EAAE,KAAK,CAAC,CAAC;AAE/E,MAAM,MAAM,UAAU,GAAG,YAAY,CAAC,WAAW,CAAC,eAAe,CAAC,CAAC,CAAC"}
package/models.cjs CHANGED
@@ -1,48 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const dispenseRegistrationManager = require("./dispense-registration-manager-lQhkTFKW.cjs");
4
- const extensionUtils = require("./extension-utils-50g2ril2.cjs");
5
- require("@kosdev-code/kos-ui-sdk");
6
- require("react");
7
- exports.Assembly = dispenseRegistrationManager.Assembly;
8
- exports.Availability = dispenseRegistrationManager.Availability;
9
- exports.Board = dispenseRegistrationManager.Board;
10
- exports.BoardContainer = dispenseRegistrationManager.BoardContainer;
11
- Object.defineProperty(exports, "BoardContainerModel", {
12
- enumerable: true,
13
- get: () => dispenseRegistrationManager.BoardContainerModel
14
- });
15
- exports.CONTEXT_ASSEMBLY_DATA = dispenseRegistrationManager.CONTEXT_ASSEMBLY_DATA;
16
- exports.CONTEXT_ASSEMBLY_RAW_DATA = dispenseRegistrationManager.CONTEXT_ASSEMBLY_RAW_DATA;
17
- exports.DeviceAssembly = dispenseRegistrationManager.DeviceAssembly;
18
- exports.DispenseModelType = dispenseRegistrationManager.DispenseModelType;
19
- exports.ExtensionType = dispenseRegistrationManager.ExtensionType;
20
- exports.GenericPour = dispenseRegistrationManager.GenericPour;
21
- exports.Holder = dispenseRegistrationManager.Holder;
22
- exports.HolderContainer = dispenseRegistrationManager.HolderContainer;
23
- exports.Ingredient = dispenseRegistrationManager.Ingredient;
24
- exports.IngredientContainer = dispenseRegistrationManager.IngredientContainer;
25
- exports.KosModelRegistry = dispenseRegistrationManager.KosModelRegistry;
26
- exports.Nozzle = dispenseRegistrationManager.Nozzle;
27
- exports.PourState = dispenseRegistrationManager.PourState;
28
- exports.Pump = dispenseRegistrationManager.Pump;
29
- exports.PumpContainer = dispenseRegistrationManager.PumpContainer;
30
- exports.PumpIndex = dispenseRegistrationManager.PumpIndex;
31
- exports.TOPIC_BOARD_LINKED = dispenseRegistrationManager.TOPIC_BOARD_LINKED;
32
- exports.TOPIC_BOARD_UNLINKED = dispenseRegistrationManager.TOPIC_BOARD_UNLINKED;
33
- exports.TOPIC_GENERIC_POUR_CANCEL = dispenseRegistrationManager.TOPIC_GENERIC_POUR_CANCEL;
34
- exports.TOPIC_GENERIC_POUR_PROGRESS = dispenseRegistrationManager.TOPIC_GENERIC_POUR_PROGRESS;
35
- exports.TOPIC_GENERIC_POUR_STARTED = dispenseRegistrationManager.TOPIC_GENERIC_POUR_STARTED;
36
- exports.kosModels = dispenseRegistrationManager.kosModels;
37
- exports.registerDispenseModels = dispenseRegistrationManager.registerDispenseModels;
38
- exports.AssemblyServices = extensionUtils.index;
39
- exports.AssemblyTypes = extensionUtils.assembly;
40
- exports.DispenseExtensionManager = extensionUtils.DispenseExtensionManager;
41
- exports.GenericPourServices = extensionUtils.index$1;
42
- exports.HolderServices = extensionUtils.index$2;
43
- exports.IngredientServices = extensionUtils.index$3;
44
- exports.KosExtensionManager = extensionUtils.KosExtensionManager;
45
- exports.NozzleServices = extensionUtils.index$4;
46
- exports.PumpServices = extensionUtils.index$5;
47
- exports.getFuelGaugeValue = extensionUtils.getFuelGaugeValue;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./dispense-registration-manager-oEcu0aLL.cjs"),n=require("./extension-utils-CJ5qRklm.cjs");require("@kosdev-code/kos-ui-sdk");require("react");exports.Assembly=e.Assembly;exports.Availability=e.Availability;exports.Board=e.Board;exports.BoardContainer=e.BoardContainer;Object.defineProperty(exports,"BoardContainerModel",{enumerable:!0,get:()=>e.BoardContainerModel});exports.CONTEXT_ASSEMBLY_DATA=e.CONTEXT_ASSEMBLY_DATA;exports.CONTEXT_ASSEMBLY_RAW_DATA=e.CONTEXT_ASSEMBLY_RAW_DATA;exports.DeviceAssembly=e.DeviceAssembly;exports.DispenseModelType=e.DispenseModelType;exports.ExtensionType=e.ExtensionType;exports.GenericPour=e.GenericPour;exports.Holder=e.Holder;exports.HolderContainer=e.HolderContainer;exports.Ingredient=e.Ingredient;exports.IngredientContainer=e.IngredientContainer;exports.KosModelRegistry=e.KosModelRegistry;exports.Nozzle=e.Nozzle;exports.PourState=e.PourState;exports.Pump=e.Pump;exports.PumpContainer=e.PumpContainer;exports.PumpIndex=e.PumpIndex;exports.TOPIC_BOARD_LINKED=e.TOPIC_BOARD_LINKED;exports.TOPIC_BOARD_UNLINKED=e.TOPIC_BOARD_UNLINKED;exports.kosModels=e.kosModels;exports.registerDispenseModels=e.registerDispenseModels;exports.AssemblyServices=n.index;exports.AssemblyTypes=n.assembly;exports.DispenseExtensionManager=n.DispenseExtensionManager;exports.GenericPourServices=n.index$1;exports.HolderServices=n.index$2;exports.IngredientServices=n.index$3;exports.KosExtensionManager=n.KosExtensionManager;exports.NozzleServices=n.index$4;exports.PumpServices=n.index$5;exports.getFuelGaugeValue=n.getFuelGaugeValue;
48
2
  //# sourceMappingURL=models.cjs.map
package/models.cjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"models.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"models.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}