@kosdev-code/kos-freestyle-sdk 0.1.0-dev.5053

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 (194) hide show
  1. package/extension-utils-BE0Y1Zlv.js +201 -0
  2. package/extension-utils-BE0Y1Zlv.js.map +1 -0
  3. package/extension-utils-BVDLwtKr.cjs +2 -0
  4. package/extension-utils-BVDLwtKr.cjs.map +1 -0
  5. package/freestyle-registration-manager-CDbljuRk.cjs +2 -0
  6. package/freestyle-registration-manager-CDbljuRk.cjs.map +1 -0
  7. package/freestyle-registration-manager-z0aYdMcC.js +1069 -0
  8. package/freestyle-registration-manager-z0aYdMcC.js.map +1 -0
  9. package/index.cjs +2 -0
  10. package/index.cjs.map +1 -0
  11. package/index.d.ts +4 -0
  12. package/index.d.ts.map +1 -0
  13. package/index.js +36 -0
  14. package/index.js.map +1 -0
  15. package/models/constants/index.d.ts +2 -0
  16. package/models/constants/index.d.ts.map +1 -0
  17. package/models/index.d.ts +6 -0
  18. package/models/index.d.ts.map +1 -0
  19. package/models/models/agitation-required-trouble/agitation-required-trouble-model.d.ts +25 -0
  20. package/models/models/agitation-required-trouble/agitation-required-trouble-model.d.ts.map +1 -0
  21. package/models/models/agitation-required-trouble/agitation-required-trouble-registration.d.ts +87 -0
  22. package/models/models/agitation-required-trouble/agitation-required-trouble-registration.d.ts.map +1 -0
  23. package/models/models/agitation-required-trouble/index.d.ts +4 -0
  24. package/models/models/agitation-required-trouble/index.d.ts.map +1 -0
  25. package/models/models/agitation-required-trouble/types/index.d.ts +8 -0
  26. package/models/models/carb-agitator/carb-agitator-model.d.ts +14 -0
  27. package/models/models/carb-agitator/carb-agitator-model.d.ts.map +1 -0
  28. package/models/models/carb-agitator/carb-agitator-registration.d.ts +84 -0
  29. package/models/models/carb-agitator/carb-agitator-registration.d.ts.map +1 -0
  30. package/models/models/carb-agitator/index.d.ts +3 -0
  31. package/models/models/carb-agitator/index.d.ts.map +1 -0
  32. package/models/models/carb-agitator/types/index.d.ts +14 -0
  33. package/models/models/cartridge-agitator/cartridge-agitator-container-model.d.ts +20 -0
  34. package/models/models/cartridge-agitator/cartridge-agitator-container-model.d.ts.map +1 -0
  35. package/models/models/cartridge-agitator/cartridge-agitator-container-registration.d.ts +87 -0
  36. package/models/models/cartridge-agitator/cartridge-agitator-container-registration.d.ts.map +1 -0
  37. package/models/models/cartridge-agitator/cartridge-agitator-model.d.ts +23 -0
  38. package/models/models/cartridge-agitator/cartridge-agitator-model.d.ts.map +1 -0
  39. package/models/models/cartridge-agitator/cartridge-agitator-registration.d.ts +89 -0
  40. package/models/models/cartridge-agitator/cartridge-agitator-registration.d.ts.map +1 -0
  41. package/models/models/cartridge-agitator/index.d.ts +6 -0
  42. package/models/models/cartridge-agitator/index.d.ts.map +1 -0
  43. package/models/models/cartridge-agitator/services/cartridge-agitator-services.d.ts +8 -0
  44. package/models/models/cartridge-agitator/services/cartridge-agitator-services.d.ts.map +1 -0
  45. package/models/models/cartridge-agitator/types/index.d.ts +14 -0
  46. package/models/models/freestyle-assembly/freestyle-assembly-model.d.ts +43 -0
  47. package/models/models/freestyle-assembly/freestyle-assembly-model.d.ts.map +1 -0
  48. package/models/models/freestyle-assembly/freestyle-assembly-registration.d.ts +89 -0
  49. package/models/models/freestyle-assembly/freestyle-assembly-registration.d.ts.map +1 -0
  50. package/models/models/freestyle-assembly/index.d.ts +4 -0
  51. package/models/models/freestyle-assembly/index.d.ts.map +1 -0
  52. package/models/models/freestyle-assembly/types/index.d.ts +8 -0
  53. package/models/models/freestyle-holder/freestyle-holder-model.d.ts +21 -0
  54. package/models/models/freestyle-holder/freestyle-holder-model.d.ts.map +1 -0
  55. package/models/models/freestyle-holder/freestyle-holder-registration.d.ts +87 -0
  56. package/models/models/freestyle-holder/freestyle-holder-registration.d.ts.map +1 -0
  57. package/models/models/freestyle-holder/index.d.ts +4 -0
  58. package/models/models/freestyle-holder/index.d.ts.map +1 -0
  59. package/models/models/freestyle-holder/types/index.d.ts +8 -0
  60. package/models/models/freestyle-nozzle/freestyle-nozzle-model.d.ts +25 -0
  61. package/models/models/freestyle-nozzle/freestyle-nozzle-model.d.ts.map +1 -0
  62. package/models/models/freestyle-nozzle/freestyle-nozzle-registration.d.ts +87 -0
  63. package/models/models/freestyle-nozzle/freestyle-nozzle-registration.d.ts.map +1 -0
  64. package/models/models/freestyle-nozzle/index.d.ts +5 -0
  65. package/models/models/freestyle-nozzle/index.d.ts.map +1 -0
  66. package/models/models/freestyle-nozzle/services/freestyle-nozzle-services.d.ts +32 -0
  67. package/models/models/freestyle-nozzle/services/freestyle-nozzle-services.d.ts.map +1 -0
  68. package/models/models/freestyle-nozzle/services/index.d.ts +2 -0
  69. package/models/models/freestyle-nozzle/services/index.d.ts.map +1 -0
  70. package/models/models/freestyle-nozzle/types/index.d.ts +8 -0
  71. package/models/models/freestyle-pump/freestyle-pump-model.d.ts +14 -0
  72. package/models/models/freestyle-pump/freestyle-pump-model.d.ts.map +1 -0
  73. package/models/models/freestyle-pump/freestyle-pump-registration.d.ts +87 -0
  74. package/models/models/freestyle-pump/freestyle-pump-registration.d.ts.map +1 -0
  75. package/models/models/freestyle-pump/index.d.ts +5 -0
  76. package/models/models/freestyle-pump/index.d.ts.map +1 -0
  77. package/models/models/freestyle-pump/services/freestyle-pump-services.d.ts +10 -0
  78. package/models/models/freestyle-pump/services/freestyle-pump-services.d.ts.map +1 -0
  79. package/models/models/freestyle-pump/services/index.d.ts +2 -0
  80. package/models/models/freestyle-pump/services/index.d.ts.map +1 -0
  81. package/models/models/freestyle-pump/types/index.d.ts +5 -0
  82. package/models/models/ice-agitator/ice-agitator-model.d.ts +65 -0
  83. package/models/models/ice-agitator/ice-agitator-model.d.ts.map +1 -0
  84. package/models/models/ice-agitator/ice-agitator-registration.d.ts +85 -0
  85. package/models/models/ice-agitator/ice-agitator-registration.d.ts.map +1 -0
  86. package/models/models/ice-agitator/index.d.ts +4 -0
  87. package/models/models/ice-agitator/index.d.ts.map +1 -0
  88. package/models/models/ice-agitator/services/ice-agitator-services.d.ts +13 -0
  89. package/models/models/ice-agitator/services/ice-agitator-services.d.ts.map +1 -0
  90. package/models/models/ice-agitator/services/index.d.ts +2 -0
  91. package/models/models/ice-agitator/services/index.d.ts.map +1 -0
  92. package/models/models/ice-agitator/types/index.d.ts +7 -0
  93. package/models/models/index.d.ts +11 -0
  94. package/models/models/index.d.ts.map +1 -0
  95. package/models/models/remote-tray/index.d.ts +6 -0
  96. package/models/models/remote-tray/index.d.ts.map +1 -0
  97. package/models/models/remote-tray/remote-tray-container-model.d.ts +12 -0
  98. package/models/models/remote-tray/remote-tray-container-model.d.ts.map +1 -0
  99. package/models/models/remote-tray/remote-tray-container-registration.d.ts +87 -0
  100. package/models/models/remote-tray/remote-tray-container-registration.d.ts.map +1 -0
  101. package/models/models/remote-tray/remote-tray-model.d.ts +175 -0
  102. package/models/models/remote-tray/remote-tray-model.d.ts.map +1 -0
  103. package/models/models/remote-tray/remote-tray-registration.d.ts +90 -0
  104. package/models/models/remote-tray/remote-tray-registration.d.ts.map +1 -0
  105. package/models/models/remote-tray/types/index.d.ts +10 -0
  106. package/models/models/types/assembly.d.ts +21 -0
  107. package/models/models/types/assembly.d.ts.map +1 -0
  108. package/models/models/types/ingredients.d.ts +33 -0
  109. package/models/models/types/ingredients.d.ts.map +1 -0
  110. package/models/models/types/pumps.d.ts +6 -0
  111. package/models/models/types/pumps.d.ts.map +1 -0
  112. package/models/utils/extension-utils.d.ts +37 -0
  113. package/models/utils/extension-utils.d.ts.map +1 -0
  114. package/models/utils/extensions/assembly/assembly-data-mapper.d.ts +19 -0
  115. package/models/utils/extensions/assembly/assembly-data-mapper.d.ts.map +1 -0
  116. package/models/utils/extensions/assembly/types.d.ts +141 -0
  117. package/models/utils/extensions/assembly/types.d.ts.map +1 -0
  118. package/models/utils/extensions/availability/freestyle-loader.d.ts +31 -0
  119. package/models/utils/extensions/availability/freestyle-loader.d.ts.map +1 -0
  120. package/models/utils/extensions/availability/freestyle-mapper.d.ts +14 -0
  121. package/models/utils/extensions/availability/freestyle-mapper.d.ts.map +1 -0
  122. package/models/utils/extensions/availability/middleware/assets.d.ts +10 -0
  123. package/models/utils/extensions/availability/middleware/assets.d.ts.map +1 -0
  124. package/models/utils/extensions/availability/middleware/beverage-screen.d.ts +14 -0
  125. package/models/utils/extensions/availability/middleware/beverage-screen.d.ts.map +1 -0
  126. package/models/utils/extensions/availability/middleware/beverages.d.ts +10 -0
  127. package/models/utils/extensions/availability/middleware/beverages.d.ts.map +1 -0
  128. package/models/utils/extensions/availability/middleware/brand-screen.d.ts +5 -0
  129. package/models/utils/extensions/availability/middleware/brand-screen.d.ts.map +1 -0
  130. package/models/utils/extensions/availability/middleware/brands.d.ts +10 -0
  131. package/models/utils/extensions/availability/middleware/brands.d.ts.map +1 -0
  132. package/models/utils/extensions/availability/middleware/copy-input.d.ts +4 -0
  133. package/models/utils/extensions/availability/middleware/copy-input.d.ts.map +1 -0
  134. package/models/utils/extensions/availability/middleware/flavors.d.ts +10 -0
  135. package/models/utils/extensions/availability/middleware/flavors.d.ts.map +1 -0
  136. package/models/utils/extensions/availability/middleware/nutrition.d.ts +10 -0
  137. package/models/utils/extensions/availability/middleware/nutrition.d.ts.map +1 -0
  138. package/models/utils/extensions/availability/middleware/related-brands.d.ts +14 -0
  139. package/models/utils/extensions/availability/middleware/related-brands.d.ts.map +1 -0
  140. package/models/utils/extensions/availability/types.d.ts +251 -0
  141. package/models/utils/extensions/availability/types.d.ts.map +1 -0
  142. package/models/utils/extensions/availability/util/locate-brand.d.ts +2 -0
  143. package/models/utils/extensions/availability/util/locate-brand.d.ts.map +1 -0
  144. package/models/utils/extensions/availability/util/process-related-brand.d.ts +4 -0
  145. package/models/utils/extensions/availability/util/process-related-brand.d.ts.map +1 -0
  146. package/models/utils/extensions/ingredient/index.d.ts +2 -0
  147. package/models/utils/extensions/ingredient/index.d.ts.map +1 -0
  148. package/models/utils/extensions/ingredient/model-extension.d.ts +7 -0
  149. package/models/utils/extensions/ingredient/model-extension.d.ts.map +1 -0
  150. package/models/utils/extensions/pourable/select-pourable-mapper.d.ts +6 -0
  151. package/models/utils/extensions/pourable/select-pourable-mapper.d.ts.map +1 -0
  152. package/models/utils/freestyle-registration-manager.d.ts +39 -0
  153. package/models/utils/freestyle-registration-manager.d.ts.map +1 -0
  154. package/models/utils/index.d.ts +5 -0
  155. package/models/utils/index.d.ts.map +1 -0
  156. package/models.cjs +2 -0
  157. package/models.cjs.map +1 -0
  158. package/models.d.ts +1 -0
  159. package/models.js +26 -0
  160. package/models.js.map +1 -0
  161. package/package.json +37 -0
  162. package/ui/contexts/index.d.ts +2 -0
  163. package/ui/contexts/index.d.ts.map +1 -0
  164. package/ui/hooks/freestyle-assembly/index.d.ts +2 -0
  165. package/ui/hooks/freestyle-assembly/index.d.ts.map +1 -0
  166. package/ui/hooks/freestyle-assembly/use-freestyle-assembly.d.ts +4 -0
  167. package/ui/hooks/freestyle-assembly/use-freestyle-assembly.d.ts.map +1 -0
  168. package/ui/hooks/freestyle-nozzle/index.d.ts +2 -0
  169. package/ui/hooks/freestyle-nozzle/index.d.ts.map +1 -0
  170. package/ui/hooks/freestyle-nozzle/use-freestyle-nozzle.d.ts +4 -0
  171. package/ui/hooks/freestyle-nozzle/use-freestyle-nozzle.d.ts.map +1 -0
  172. package/ui/hooks/ice-agitator/index.d.ts +3 -0
  173. package/ui/hooks/ice-agitator/index.d.ts.map +1 -0
  174. package/ui/hooks/ice-agitator/use-ice-agitator.d.ts +14 -0
  175. package/ui/hooks/ice-agitator/use-ice-agitator.d.ts.map +1 -0
  176. package/ui/hooks/ice-agitator/with-ice-agitator.d.ts +7 -0
  177. package/ui/hooks/ice-agitator/with-ice-agitator.d.ts.map +1 -0
  178. package/ui/hooks/index.d.ts +5 -0
  179. package/ui/hooks/index.d.ts.map +1 -0
  180. package/ui/hooks/nutrition/index.d.ts +2 -0
  181. package/ui/hooks/nutrition/index.d.ts.map +1 -0
  182. package/ui/hooks/nutrition/use-nutrition-info.d.ts +4 -0
  183. package/ui/hooks/nutrition/use-nutrition-info.d.ts.map +1 -0
  184. package/ui/index.d.ts +3 -0
  185. package/ui/index.d.ts.map +1 -0
  186. package/ui.cjs +2 -0
  187. package/ui.cjs.map +1 -0
  188. package/ui.d.ts +1 -0
  189. package/ui.js +14 -0
  190. package/ui.js.map +1 -0
  191. package/use-nutrition-info-CjXNGbCN.js +52 -0
  192. package/use-nutrition-info-CjXNGbCN.js.map +1 -0
  193. package/use-nutrition-info-DjIGT-mE.cjs +2 -0
  194. package/use-nutrition-info-DjIGT-mE.cjs.map +1 -0
@@ -0,0 +1,2 @@
1
+ export * from './ice-agitator-services';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/sdk/kos-freestyle-sdk/src/models/models/ice-agitator/services/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC"}
@@ -0,0 +1,7 @@
1
+ export interface IceAgitatorOptions {
2
+ name: string;
3
+ path: string;
4
+ statePath: string;
5
+ }
6
+
7
+ export {};
@@ -0,0 +1,11 @@
1
+ export * from './carb-agitator';
2
+ export * from './cartridge-agitator';
3
+ export * from './freestyle-assembly';
4
+ export * from './freestyle-holder';
5
+ export * from './freestyle-nozzle';
6
+ export * from './freestyle-pump';
7
+ export * from './ice-agitator';
8
+ export * from './types/assembly';
9
+ export * from './types/ingredients';
10
+ export * from './types/pumps';
11
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../packages/sdk/kos-freestyle-sdk/src/models/models/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,eAAe,CAAC"}
@@ -0,0 +1,6 @@
1
+ export type { RemoteTrayContainerModel } from './remote-tray-container-model';
2
+ export { RemoteTrayContainer } from './remote-tray-container-registration';
3
+ export type { RemoteTrayModel } from './remote-tray-model';
4
+ export { RemoteTray } from './remote-tray-registration';
5
+ export type * from './types';
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-freestyle-sdk/src/models/models/remote-tray/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AAC9E,OAAO,EAAE,mBAAmB,EAAE,MAAM,sCAAsC,CAAC;AAC3E,YAAY,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAC3D,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AACxD,mBAAmB,SAAS,CAAC"}
@@ -0,0 +1,12 @@
1
+ import { RemoteTrayModel } from './remote-tray-model';
2
+ import { IKosDataModel, IKosIdentifiable, KosContainerAware, PublicModelInterface } from '@kosdev-code/kos-ui-sdk';
3
+
4
+ export declare const MODEL_TYPE = "remote-tray-container-model";
5
+ export type RemoteTrayContainerModel = PublicModelInterface<RemoteTrayContainerModelImpl>;
6
+ export interface RemoteTrayContainerModelImpl extends KosContainerAware<RemoteTrayModel> {
7
+ }
8
+ export declare class RemoteTrayContainerModelImpl implements IKosIdentifiable, IKosDataModel {
9
+ id: string;
10
+ constructor(modelId: string);
11
+ }
12
+ //# sourceMappingURL=remote-tray-container-model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"remote-tray-container-model.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-freestyle-sdk/src/models/models/remote-tray/remote-tray-container-model.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,aAAa,EACb,gBAAgB,EAChB,iBAAiB,EACjB,oBAAoB,EACrB,MAAM,yBAAyB,CAAC;AAMjC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAE3D,eAAO,MAAM,UAAU,gCAAgC,CAAC;AAExD,MAAM,MAAM,wBAAwB,GAClC,oBAAoB,CAAC,4BAA4B,CAAC,CAAC;AAGrD,MAAM,WAAW,4BACf,SAAQ,iBAAiB,CAAC,eAAe,CAAC;CAAG;AAC/C,qBAGa,4BACX,YAAW,gBAAgB,EAAE,aAAa;IAE1C,EAAE,EAAE,MAAM,CAAC;gBAEC,OAAO,EAAE,MAAM;CAG5B"}
@@ -0,0 +1,87 @@
1
+ import { RemoteTrayContainerModel } from './remote-tray-container-model';
2
+ import { RemoteTrayContainerOptions } from './types';
3
+ import { SingletonKosModelRegistrationFactory } from '@kosdev-code/kos-ui-sdk';
4
+
5
+ /**
6
+ * # RemoteTrayContainer
7
+ *
8
+ * The registration bean includes convenience methods for creating and working with RemoteTrayContainerModel instances.
9
+ *
10
+ * ## type
11
+ * The type property is a string that identifies the model type.
12
+ * The type is used to identify the model type in the model registry and to narrow down the model type in type predicates. It's most frequently
13
+ * used when declaring dependencies on models.
14
+ *
15
+ * @example
16
+ * ```typescript
17
+ *
18
+ * @kosDependency({modelType: RemoteTrayContainer.type, id: "remoteTrayContainerId"})
19
+ * private remoteTrayContainerModel: RemoteTrayContainerModel;
20
+ * ```
21
+ *
22
+ *
23
+ * ## factory
24
+ *
25
+ * The factory method creates a factory function that can be used to create new RemoteTrayContainerModel instances.
26
+ *
27
+
28
+ * As this is a singleton model, the factory function accepts the model options as its argument.
29
+ *
30
+ * If a model with the same model type already exists, the factory function will return the existing model. The options will be ignored
31
+ * in this case and the existing model will be returned in its current state.
32
+ *
33
+ * @example
34
+ * ```typescript
35
+ * const model = RemoteTrayContainer.factory({
36
+ * // Add option data
37
+ * });
38
+ * ```
39
+
40
+
41
+ *
42
+ * ## predicate
43
+ *
44
+ * [Typescript type predicate](https://www.typescriptlang.org/docs/handbook/2/narrowing.html#using-type-predicates) function that will identify and narrow down a model to a RemoteTrayContainerModel.
45
+ *
46
+ * @example
47
+ * ```typescript
48
+ *
49
+ * const model: IKosDataModel = ...; // some model
50
+ *
51
+ * if (RemoteTrayContainer.predicate(model)) {
52
+ * // if the function evaluates to true, the model is narrowed down to RemoteTrayContainerModel
53
+ * // and the compiler will know that the model has the RemoteTrayContainerModel interface
54
+ * model.updateAvailability(false);
55
+ * }
56
+ * ```
57
+ *
58
+ * ## registration
59
+ *
60
+ * The registration property is an object that can be used to simplify registration of the model with the model registry. The registration object
61
+ * can be spread into the model registration and provides all of the required information to register the model implementation class against the model type.
62
+ *
63
+ *
64
+ * @example
65
+ *
66
+ * In an application registration file you can declare the model registration as follows:
67
+ *
68
+ * **registration.ts**
69
+ * ```typescript
70
+ * import { RemoteTrayContainer } from "@kosdev-code/kos-freestyle-sdk";
71
+ * ...
72
+ * import { ExtensionManager, IKosRegistry } from "@kosdev-code/kos-ui-sdk";
73
+ * export const kosModels: IKosRegistry["models"] = {
74
+ * ...RemoteTrayContainer.registration,
75
+ * };
76
+ * ```
77
+ *
78
+ * ## registration.singleton
79
+
80
+ * The remoteTrayContainer model is a singleton model. This means that each time the factory function is called , the same instance will be returned.
81
+ * If the model does not yet exist, it will be created passing in the provided options to initialize it.
82
+ *
83
+ * Singleton models don't require an ID as they will use the model type as their ID to guarantee uniqueness throughout the system.
84
+
85
+ * */
86
+ export declare const RemoteTrayContainer: SingletonKosModelRegistrationFactory<RemoteTrayContainerModel, RemoteTrayContainerOptions>;
87
+ //# sourceMappingURL=remote-tray-container-registration.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"remote-tray-container-registration.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-freestyle-sdk/src/models/models/remote-tray/remote-tray-container-registration.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oCAAoC,EAAE,MAAM,yBAAyB,CAAC;AAC/E,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,SAAS,CAAC;AAM1D,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AAE9E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAgFK;AACL,eAAO,MAAM,mBAAmB,4FAM9B,CAAC"}
@@ -0,0 +1,175 @@
1
+ import { RemoteTrayOptions } from './types';
2
+ import { ActiveAware } from '../types/assembly';
3
+ import { HolderModel } from '@kosdev-code/kos-dispense-sdk';
4
+ import { IKosDataModel, IKosIdentifiable, KosConfigProperty, KosCreationContext, PublicModelInterface, TroubleAware, TroubleModel } from '@kosdev-code/kos-ui-sdk';
5
+
6
+ export declare const MODEL_TYPE = "remote-tray-model";
7
+ /**
8
+ * Model for managing remote tray configurations in the KOS Freestyle system.
9
+ *
10
+ * A remote tray represents a physical or virtual tray that can be enabled/disabled
11
+ * remotely and is associated with a holder in the dispensing system. This model
12
+ * manages the tray's configuration, activation state, and trouble propagation
13
+ * from its associated holder.
14
+ *
15
+ * ## Key Features
16
+ * - Remote enable/disable capability through configuration properties
17
+ * - Automatic trouble propagation from associated holder
18
+ * - Active state management based on configuration
19
+ * - Integration with the KOS dispensing system through holder references
20
+ *
21
+ * ## Properties
22
+ * - `id` - Unique identifier for the remote tray
23
+ * - `name` - Display name of the tray
24
+ * - `holderPath` - Path reference to the associated holder model
25
+ * - `configPath` - Configuration path for tray settings
26
+ * - `remoteTrayEnabled` - Configuration property controlling tray activation
27
+ * - `active` - Computed property indicating if the tray is currently active
28
+ * - `holder` - Reference to the associated holder model
29
+ * - `troubles` - Propagated troubles from the associated holder
30
+ *
31
+ * ## Methods
32
+ * - `updateModel(options)` - Updates the model with new configuration options
33
+ * - `init()` - Initializes the remote tray model
34
+ * - `load()` - Loads the remote tray configuration and data
35
+ *
36
+ * @example
37
+ * ```typescript
38
+ * // Create a new remote tray instance
39
+ * const remoteTray = RemoteTray.instance('tray-1')
40
+ * .options({
41
+ * name: 'Remote Tray 1',
42
+ * holderPath: '/holders/holder-1',
43
+ * configPath: '/config/trays/tray-1'
44
+ * })
45
+ * .build();
46
+ *
47
+ * // Check if tray is active
48
+ * if (remoteTray.active) {
49
+ * console.log(`${remoteTray.name} is enabled`);
50
+ * }
51
+ *
52
+ * // Access associated holder
53
+ * const holder = remoteTray.holder;
54
+ * console.log(`Holder status: ${holder?.status}`);
55
+ * ```
56
+ *
57
+ * @example
58
+ * ```typescript
59
+ * // Monitor trouble states
60
+ * const TrayStatus = ({ tray }: { tray: RemoteTrayModel }) => {
61
+ * const troubles = tray.troubles;
62
+ * const isEnabled = tray.remoteTrayEnabled.value;
63
+ *
64
+ * return (
65
+ * <div>
66
+ * <h3>{tray.name}</h3>
67
+ * <p>Status: {isEnabled ? 'Enabled' : 'Disabled'}</p>
68
+ * {troubles.length > 0 && (
69
+ * <Alert severity="warning">
70
+ * {troubles.length} issue(s) detected
71
+ * </Alert>
72
+ * )}
73
+ * </div>
74
+ * );
75
+ * };
76
+ * ```
77
+ *
78
+ * @example
79
+ * ```typescript
80
+ * // Programmatically enable/disable tray
81
+ * async function toggleRemoteTray(tray: RemoteTrayModel) {
82
+ * const currentState = tray.remoteTrayEnabled.value;
83
+ * await tray.remoteTrayEnabled.setValue(!currentState);
84
+ *
85
+ * console.log(`Tray ${tray.name} is now ${!currentState ? 'enabled' : 'disabled'}`);
86
+ * }
87
+ * ```
88
+ *
89
+ * @category KOS Model
90
+ * @subcategory Freestyle Models
91
+ *
92
+ * @see {@link HolderModel} - The associated holder model
93
+ * @see {@link ActiveAware} - Interface for active state management
94
+ * @see {@link TroubleAware} - Interface for trouble tracking
95
+ */
96
+ export type RemoteTrayModel = PublicModelInterface<RemoteTrayModelImpl>;
97
+ /**
98
+ * Implementation class for RemoteTrayModel.
99
+ *
100
+ * @internal
101
+ * @category KOS Model
102
+ * @subcategory Freestyle Models
103
+ */
104
+ export declare class RemoteTrayModelImpl implements IKosDataModel, IKosIdentifiable, ActiveAware, TroubleAware {
105
+ /** Unique identifier for the remote tray instance */
106
+ id: string;
107
+ private logger;
108
+ /** Path reference to the associated holder model */
109
+ holderPath: string;
110
+ /** Configuration path for tray-specific settings */
111
+ configPath: string;
112
+ /** Display name of the remote tray */
113
+ name: string;
114
+ /** Configuration property that controls whether the tray is enabled remotely */
115
+ remoteTrayEnabled: KosConfigProperty<boolean>;
116
+ constructor(modelId: string, options: RemoteTrayOptions, context: KosCreationContext);
117
+ /**
118
+ * Gets the troubles from the associated holder model.
119
+ * Propagates trouble states from the holder to this remote tray.
120
+ *
121
+ * @returns Array of trouble models from the holder, or empty array if no holder
122
+ */
123
+ get troubles(): TroubleModel<any>[];
124
+ /**
125
+ * Gets the highest priority trouble status.
126
+ * Currently returns empty string as troubles are managed by the holder.
127
+ *
128
+ * @returns Empty string (trouble status handled by holder)
129
+ */
130
+ get troubleStatus(): string;
131
+ /**
132
+ * Gets troubles grouped by type from the associated holder.
133
+ *
134
+ * @returns Record of troubles grouped by type from the holder, or empty object if no holder
135
+ */
136
+ get troublesByType(): Record<string, TroubleModel<any>[]>;
137
+ /**
138
+ * Updates the model with new configuration options.
139
+ * Can be used to modify the holder path, config path, or name after initialization.
140
+ *
141
+ * @param _options - New configuration options for the remote tray
142
+ */
143
+ updateModel(_options: RemoteTrayOptions): void;
144
+ /**
145
+ * Gets the associated holder model for this remote tray.
146
+ * Uses synchronous model lookup to retrieve the holder by path.
147
+ *
148
+ * @returns The HolderModel instance referenced by holderPath, or undefined if not found
149
+ */
150
+ get holder(): HolderModel<any>;
151
+ /**
152
+ * Determines if the remote tray is currently active.
153
+ * Active state is based on the remoteTrayEnabled configuration property.
154
+ *
155
+ * @returns true if the tray is enabled, false otherwise
156
+ */
157
+ get active(): boolean;
158
+ /**
159
+ * Initializes the remote tray model.
160
+ * Called during the model lifecycle initialization phase.
161
+ * Sets up initial state and prepares the model for use.
162
+ *
163
+ * @returns Promise that resolves when initialization is complete
164
+ */
165
+ init(): Promise<void>;
166
+ /**
167
+ * Loads the remote tray configuration and associated data.
168
+ * Called during the model lifecycle load phase.
169
+ * Typically loads configuration settings and establishes holder references.
170
+ *
171
+ * @returns Promise that resolves when loading is complete
172
+ */
173
+ load(): Promise<void>;
174
+ }
175
+ //# sourceMappingURL=remote-tray-model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"remote-tray-model.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-freestyle-sdk/src/models/models/remote-tray/remote-tray-model.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,aAAa,EACb,gBAAgB,EAChB,iBAAiB,EAEjB,kBAAkB,EAClB,oBAAoB,EACpB,YAAY,EACZ,YAAY,EACb,MAAM,yBAAyB,CAAC;AAQjC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAEjD,eAAO,MAAM,UAAU,sBAAsB,CAAC;AAE9C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwFG;AACH,MAAM,MAAM,eAAe,GAAG,oBAAoB,CAAC,mBAAmB,CAAC,CAAC;AAKxE;;;;;;GAMG;AACH,qBACa,mBACX,YAAW,aAAa,EAAE,gBAAgB,EAAE,WAAW,EAAE,YAAY;IAErE,qDAAqD;IACrD,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,CAAC,MAAM,CAAmB;IAEjC,oDAAoD;IACpD,UAAU,EAAE,MAAM,CAAC;IACnB,oDAAoD;IACpD,UAAU,EAAE,MAAM,CAAC;IACnB,sCAAsC;IACtC,IAAI,EAAE,MAAM,CAAC;IACb,gFAAgF;IAKhF,iBAAiB,EAAG,iBAAiB,CAAC,OAAO,CAAC,CAAC;gBAG7C,OAAO,EAAE,MAAM,EACf,OAAO,EAAE,iBAAiB,EAC1B,OAAO,EAAE,kBAAkB;IAU7B;;;;;OAKG;IACH,IAAI,QAAQ,IAAI,YAAY,CAAC,GAAG,CAAC,EAAE,CAElC;IAED;;;;;OAKG;IACH,IAAI,aAAa,WAEhB;IAED;;;;OAIG;IACH,IAAI,cAAc,wCAEjB;IAED;;;;;OAKG;IACH,WAAW,CAAC,QAAQ,EAAE,iBAAiB,GAAG,IAAI;IAI9C;;;;;OAKG;IACH,IAAI,MAAM,qBAET;IAED;;;;;OAKG;IACH,IAAI,MAAM,IAAI,OAAO,CAEpB;IAID;;;;;;OAMG;IACG,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;IAI3B;;;;;;OAMG;IACG,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;CAG5B"}
@@ -0,0 +1,90 @@
1
+ import { RemoteTrayModel } from './remote-tray-model';
2
+ import { RemoteTrayOptions } from './types';
3
+ import { KosModelRegistrationFactory } from '@kosdev-code/kos-ui-sdk';
4
+
5
+ /**
6
+ * # RemoteTray
7
+ *
8
+ * The registration bean includes convenience methods for creating and working with RemoteTrayModel instances.
9
+
10
+ *
11
+ * ## type
12
+ * The type property is a string that identifies the model type.
13
+ * The type is used to identify the model type in the model registry and to narrow down the model type in type predicates. It's most frequently
14
+ * used when declaring dependencies on models.
15
+ *
16
+ * @example
17
+ * ```typescript
18
+ *
19
+ * @kosDependency({modelType: RemoteTray.type, id: "remoteTrayId"})
20
+ * private remoteTrayModel: RemoteTrayModel;
21
+ * ```
22
+ *
23
+ *
24
+ * ## factory
25
+ *
26
+ * The factory method creates a factory function that can be used to create new RemoteTrayModel instances.
27
+ *
28
+
29
+ * The factory function is a curried function that takes the model id as the first argument and the options as the second argument.
30
+ *
31
+ * If a model with the specified id already exists, the factory function will return the existing model. The options will be ignored
32
+ * in this case and the existing model will be returned in its current state.
33
+ *
34
+ * @example
35
+ * ```typescript
36
+ * const model = RemoteTray.factory("remoteTrayId")({
37
+ * // Add option data
38
+ * });
39
+
40
+ * ```
41
+
42
+
43
+ *
44
+ * ## predicate
45
+ *
46
+ * [Typescript type predicate](https://www.typescriptlang.org/docs/handbook/2/narrowing.html#using-type-predicates) function that will identify and narrow down a model to a RemoteTrayModel.
47
+ *
48
+ * @example
49
+ * ```typescript
50
+ *
51
+ * const model: IKosDataModel = ...; // some model
52
+ *
53
+ * if (RemoteTray.predicate(model)) {
54
+ * // if the function evaluates to true, the model is narrowed down to RemoteTrayModel
55
+ * // and the compiler will know that the model has the RemoteTrayModel interface
56
+ * model.updateAvailability(false);
57
+
58
+ * }
59
+ * ```
60
+ *
61
+ * ## registration
62
+ *
63
+ * The registration property is an object that can be used to simplify registration of the model with the model registry. The registration object
64
+ * can be spread into the model registration and provides all of the required information to register the model implementation class against the model type.
65
+ *
66
+ *
67
+ * @example
68
+ *
69
+ * In an application registration file you can declare the model registration as follows:
70
+ *
71
+ * **registration.ts**
72
+ * ```typescript
73
+ * import { RemoteTray } from "@kos-ui/project-models";
74
+ * import { KosModelRegistry } from "@kosdev-code/kos-dispense-sdk";
75
+ *
76
+ * import { initKosProvider } from "@kosdev-code/kos-ui-sdk";
77
+ *
78
+ * KosModelRegistry.dispense
79
+ * .models()
80
+ * .model(RemoteTray);
81
+ * ```
82
+ *
83
+ * ## registration.singleton
84
+
85
+ * The remoteTray model is NOT a singleton model. This means that each time the factory function is called with a unique ID, a new model instance will be created.
86
+ * If the factory function is called with an ID that already exists, the existing model will be returned.
87
+
88
+ * */
89
+ export declare const RemoteTray: KosModelRegistrationFactory<RemoteTrayModel, RemoteTrayOptions>;
90
+ //# sourceMappingURL=remote-tray-registration.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"remote-tray-registration.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-freestyle-sdk/src/models/models/remote-tray/remote-tray-registration.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,yBAAyB,CAAC;AACtE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AACjD,OAAO,EAGL,eAAe,EAChB,MAAM,qBAAqB,CAAC;AAE7B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAmFK;AACL,eAAO,MAAM,UAAU,iEAMrB,CAAC"}
@@ -0,0 +1,10 @@
1
+ // --------------- RemoteTray ---------------
2
+
3
+ export interface RemoteTrayOptions {
4
+ holderPath: string;
5
+ name: string;
6
+ configPath: string;
7
+ }
8
+
9
+ // --------------- RemoteTrayContainer ---------------
10
+ export interface RemoteTrayContainerOptions {}
@@ -0,0 +1,21 @@
1
+ import { RemoteTrayContainerModel } from '../remote-tray';
2
+ import { IceAgitatorModel } from '../ice-agitator';
3
+ import { CartridgeAgitatorContainerModel } from '../cartridge-agitator';
4
+ import { CarbAgitatorModel } from '../carb-agitator';
5
+
6
+ export interface FreestyleHolderModelExt {
7
+ agitated?: boolean;
8
+ }
9
+ export interface FreestyleModelAssemblyExt {
10
+ iceAgitator: IceAgitatorModel;
11
+ carbAgitator: CarbAgitatorModel;
12
+ cartridgeAgitators: CartridgeAgitatorContainerModel;
13
+ remoteTrays: RemoteTrayContainerModel;
14
+ supportsIce: boolean;
15
+ supportsCarb: boolean;
16
+ }
17
+ export type Agitator = IceAgitatorModel | CarbAgitatorModel;
18
+ export interface ActiveAware {
19
+ active: boolean;
20
+ }
21
+ //# sourceMappingURL=assembly.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"assembly.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-freestyle-sdk/src/models/models/types/assembly.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAC1D,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,uBAAuB,CAAC;AAC7E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACxD,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAE/D,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,yBAAyB;IACxC,WAAW,EAAE,gBAAgB,CAAC;IAC9B,YAAY,EAAE,iBAAiB,CAAC;IAChC,kBAAkB,EAAE,+BAA+B,CAAC;IACpD,WAAW,EAAE,wBAAwB,CAAC;IACtC,WAAW,EAAE,OAAO,CAAC;IACrB,YAAY,EAAE,OAAO,CAAC;CACvB;AAED,MAAM,MAAM,QAAQ,GAAG,gBAAgB,GAAG,iBAAiB,CAAC;AAE5D,MAAM,WAAW,WAAW;IAC1B,MAAM,EAAE,OAAO,CAAC;CACjB"}
@@ -0,0 +1,33 @@
1
+ import { IngredientContainerModel, IngredientModel, IngredientServices } from '@kosdev-code/kos-dispense-sdk';
2
+
3
+ export interface FreestyleExtIngredientResponseData {
4
+ carbonated: boolean;
5
+ chilled: boolean;
6
+ highYield: number;
7
+ icon: string;
8
+ daysUseByOffset: number;
9
+ daysExpirationOffset: number;
10
+ maxGaugeLevel: number;
11
+ agitated: boolean;
12
+ sweetener: boolean;
13
+ superPump: boolean;
14
+ bib: boolean;
15
+ }
16
+ export interface FreestyleIngredientData {
17
+ carbonated: boolean;
18
+ chilled: boolean;
19
+ highYield: number;
20
+ icon: string;
21
+ daysUseByOffset: number;
22
+ daysExpirationOffset: number;
23
+ maxGaugeLevel: number;
24
+ agitated: boolean;
25
+ sweetener: boolean;
26
+ superPump: boolean;
27
+ bib: boolean;
28
+ ingredientMacro: "macro" | "micro";
29
+ }
30
+ export type FreestyleIngredientResponseData = FreestyleExtIngredientResponseData & IngredientServices.IngredientResponse;
31
+ export type FreestyleIngredientModelData = IngredientModel<FreestyleIngredientData>;
32
+ export type IngredientContainerModelData = IngredientContainerModel<FreestyleIngredientData>;
33
+ //# sourceMappingURL=ingredients.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ingredients.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-freestyle-sdk/src/models/models/types/ingredients.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,wBAAwB,EACxB,eAAe,EACf,kBAAkB,EACnB,MAAM,+BAA+B,CAAC;AAEvC,MAAM,WAAW,kCAAkC;IACjD,UAAU,EAAE,OAAO,CAAC;IACpB,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,eAAe,EAAE,MAAM,CAAC;IACxB,oBAAoB,EAAE,MAAM,CAAC;IAC7B,aAAa,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,OAAO,CAAC;IAClB,SAAS,EAAE,OAAO,CAAC;IACnB,SAAS,EAAE,OAAO,CAAC;IACnB,GAAG,EAAE,OAAO,CAAC;CACd;AAED,MAAM,WAAW,uBAAuB;IACtC,UAAU,EAAE,OAAO,CAAC;IACpB,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,eAAe,EAAE,MAAM,CAAC;IACxB,oBAAoB,EAAE,MAAM,CAAC;IAC7B,aAAa,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,OAAO,CAAC;IAClB,SAAS,EAAE,OAAO,CAAC;IACnB,SAAS,EAAE,OAAO,CAAC;IACnB,GAAG,EAAE,OAAO,CAAC;IACb,eAAe,EAAE,OAAO,GAAG,OAAO,CAAC;CACpC;AACD,MAAM,MAAM,+BAA+B,GACzC,kCAAkC,GAAG,kBAAkB,CAAC,kBAAkB,CAAC;AAE7E,MAAM,MAAM,4BAA4B,GACtC,eAAe,CAAC,uBAAuB,CAAC,CAAC;AAC3C,MAAM,MAAM,4BAA4B,GACtC,wBAAwB,CAAC,uBAAuB,CAAC,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { IntentAware } from '@kosdev-code/kos-dispense-sdk';
2
+
3
+ export interface PumpAware {
4
+ getPump: () => IntentAware;
5
+ }
6
+ //# sourceMappingURL=pumps.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pumps.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-freestyle-sdk/src/models/models/types/pumps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAEjE,MAAM,WAAW,SAAS;IACxB,OAAO,EAAE,MAAM,WAAW,CAAC;CAC5B"}
@@ -0,0 +1,37 @@
1
+ import { AvailabilityLoaderProps } from './extensions/availability/freestyle-loader';
2
+ import { CoreExtensionManager } from '@kosdev-code/kos-ui-sdk';
3
+ import { DispenseExtensionManager } from '@kosdev-code/kos-dispense-sdk';
4
+
5
+ export declare const EXTENSION_PLUGIN_VISIBILITY = "pluginVisibility";
6
+ export declare class FreestyleExtensionManager {
7
+ core: CoreExtensionManager;
8
+ dispense: DispenseExtensionManager;
9
+ constructor(core: CoreExtensionManager, dispense: DispenseExtensionManager);
10
+ /**
11
+ * Loads the core brandset data into a format that can be consumed by the
12
+ * freestyle models.
13
+ * */
14
+ registerFreestyleBrandsetReader(props?: AvailabilityLoaderProps): this;
15
+ registerFreestylePourableMapper(): void;
16
+ registerFreestyleAssemblyMapper(): void;
17
+ registerFreestyleIngredientIndex(): void;
18
+ registerFreestyleIngredientDataMapper(): void;
19
+ registerFreestyleIceAgitator(): void;
20
+ registerFreestyleAgitationRequiredTroubleMapper(): void;
21
+ initializeFreestyleExtension(): void;
22
+ }
23
+ /**
24
+ * The KosExtensionManager provides access to the extension points that are provided in the SDK for Dispense applications.
25
+ *
26
+ * The extension points are divided into two categories:
27
+ *
28
+ * @param core - The core extension {@link CoreExtensionManager} points are used to extend the base models that are provided by the SDK.
29
+ * @param dispense - The dispense extension {@link DispenseExtensionManager} points are used to extend the models that are specific to the Dispense SDK.
30
+ */
31
+ export declare class KosExtensionManager {
32
+ dispense: DispenseExtensionManager;
33
+ core: CoreExtensionManager;
34
+ freestyle: FreestyleExtensionManager;
35
+ constructor();
36
+ }
37
+ //# sourceMappingURL=extension-utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"extension-utils.d.ts","sourceRoot":"","sources":["../../../../../../packages/sdk/kos-freestyle-sdk/src/models/utils/extension-utils.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EACL,oBAAoB,EAKrB,MAAM,yBAAyB,CAAC;AAIjC,OAAO,EAEL,KAAK,uBAAuB,EAC7B,MAAM,4CAA4C,CAAC;AAMpD,eAAO,MAAM,2BAA2B,qBAAqB,CAAC;AAE9D,qBAAa,yBAAyB;IACpC,IAAI,EAAE,oBAAoB,CAAC;IAC3B,QAAQ,EAAE,wBAAwB,CAAC;gBACvB,IAAI,EAAE,oBAAoB,EAAE,QAAQ,EAAE,wBAAwB;IAK1E;;;SAGK;IACL,+BAA+B,CAAC,KAAK,GAAE,uBAA4B;IAQnE,+BAA+B;IAI/B,+BAA+B;IAI/B,gCAAgC;IAIhC,qCAAqC;IAIrC,4BAA4B;IAS5B,+CAA+C;IAS/C,4BAA4B;CAQ7B;AACD;;;;;;;GAOG;AACH,qBAAa,mBAAmB;IAC9B,QAAQ,EAAE,wBAAwB,CAAC;IACnC,IAAI,EAAE,oBAAoB,CAAC;IAC3B,SAAS,EAAE,yBAAyB,CAAC;;CAMtC"}
@@ -0,0 +1,19 @@
1
+ import { FreestyleAssemblyResponse } from './types';
2
+ import { FreestyleModelAssemblyExt } from '../../../models/types/assembly';
3
+ import { IceAgitatorModel } from '../../../models/ice-agitator';
4
+ import { CarbAgitatorModel } from '../../../models/carb-agitator';
5
+ import { DataMapper } from '@kosdev-code/kos-ui-sdk';
6
+
7
+ export type AgitatorTypes = "iceAgitator" | "carbAgitator";
8
+ export declare const AGITATOR_KEYS: AgitatorTypes[];
9
+ export declare const AGITATOR_FACTORY_MAP: {
10
+ iceAgitator: (id: string) => (options?: import('../../../models/ice-agitator').IceAgitatorOptions | undefined, parentId?: string | undefined) => IceAgitatorModel;
11
+ carbAgitator: (id: string) => (options?: import('../../../models/carb-agitator').CarbAgitatorOptions | undefined, parentId?: string | undefined) => CarbAgitatorModel;
12
+ };
13
+ export declare const AGITATOR_NAME_MAP: {
14
+ iceAgitator: string;
15
+ carbAgitator: string;
16
+ cartridgeAgitator: string;
17
+ };
18
+ export declare const freestyleAssemblyDataMapper: DataMapper<FreestyleAssemblyResponse, FreestyleModelAssemblyExt>;
19
+ //# sourceMappingURL=assembly-data-mapper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"assembly-data-mapper.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/sdk/kos-freestyle-sdk/src/models/utils/extensions/assembly/assembly-data-mapper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,KAAK,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAClE,OAAO,EAEL,KAAK,iBAAiB,EACvB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAEL,KAAK,gBAAgB,EACtB,MAAM,8BAA8B,CAAC;AAOtC,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AAChF,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,SAAS,CAAC;AAGzD,MAAM,MAAM,aAAa,GAAG,aAAa,GAAG,cAAc,CAAC;AAC3D,eAAO,MAAM,aAAa,EAAE,aAAa,EAAoC,CAAC;AAC9E,eAAO,MAAM,oBAAoB;;;CAGhC,CAAC;AACF,eAAO,MAAM,iBAAiB;;;;CAI7B,CAAC;AAIF,eAAO,MAAM,2BAA2B,EAAE,UAAU,CAClD,yBAAyB,EACzB,yBAAyB,CA8D1B,CAAC"}