@kosdev-code/kos-freestyle-sdk 0.1.0-dev.5873 → 0.1.0-next.1000

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 (214) hide show
  1. package/extension-utils-BLjVB2bu.cjs +344 -0
  2. package/extension-utils-BLjVB2bu.cjs.map +1 -0
  3. package/extension-utils-CV3CeJXI.js +345 -0
  4. package/extension-utils-CV3CeJXI.js.map +1 -0
  5. package/index.cjs +42 -1
  6. package/index.cjs.map +1 -1
  7. package/index.d.ts.map +1 -1
  8. package/index.js +40 -48
  9. package/index.js.map +1 -1
  10. package/models/constants/index.d.ts.map +1 -1
  11. package/models/index.d.ts.map +1 -1
  12. package/models/models/agitation-required-trouble/agitation-required-trouble-model.d.ts +14 -80
  13. package/models/models/agitation-required-trouble/agitation-required-trouble-model.d.ts.map +1 -1
  14. package/models/models/agitation-required-trouble/index.d.ts.map +1 -1
  15. package/models/models/agitation-required-trouble/types/index.d.ts +1 -3
  16. package/models/models/carb-agitator/carb-agitator-model.d.ts +4 -24
  17. package/models/models/carb-agitator/carb-agitator-model.d.ts.map +1 -1
  18. package/models/models/carb-agitator/index.d.ts.map +1 -1
  19. package/models/models/carb-agitator/services/carb-tank-services.d.ts +1 -15
  20. package/models/models/carb-agitator/services/carb-tank-services.d.ts.map +1 -1
  21. package/models/models/cartridge-agitator/cartridge-agitator-container-model.d.ts +2 -3
  22. package/models/models/cartridge-agitator/cartridge-agitator-container-model.d.ts.map +1 -1
  23. package/models/models/cartridge-agitator/cartridge-agitator-container-registration.d.ts +12 -77
  24. package/models/models/cartridge-agitator/cartridge-agitator-container-registration.d.ts.map +1 -1
  25. package/models/models/cartridge-agitator/cartridge-agitator-model.d.ts +1 -2
  26. package/models/models/cartridge-agitator/cartridge-agitator-model.d.ts.map +1 -1
  27. package/models/models/cartridge-agitator/cartridge-agitator-registration.d.ts +12 -79
  28. package/models/models/cartridge-agitator/cartridge-agitator-registration.d.ts.map +1 -1
  29. package/models/models/cartridge-agitator/index.d.ts.map +1 -1
  30. package/models/models/cartridge-agitator/services/cartridge-agitator-services.d.ts +0 -1
  31. package/models/models/cartridge-agitator/services/cartridge-agitator-services.d.ts.map +1 -1
  32. package/models/models/cgp-pump/cgp-pump-model.d.ts +3 -4
  33. package/models/models/cgp-pump/cgp-pump-model.d.ts.map +1 -1
  34. package/models/models/cgp-pump/index.d.ts.map +1 -1
  35. package/models/models/cgp-pump/types/index.d.ts +1 -3
  36. package/models/models/fcm-pump/fcm-pump-model.d.ts +8 -5
  37. package/models/models/fcm-pump/fcm-pump-model.d.ts.map +1 -1
  38. package/models/models/fcm-pump/fcm-pump-registration.d.ts +12 -77
  39. package/models/models/fcm-pump/fcm-pump-registration.d.ts.map +1 -1
  40. package/models/models/fcm-pump/index.d.ts.map +1 -1
  41. package/models/models/fcm-pump/services/fcm-pump-services.d.ts +1 -2
  42. package/models/models/fcm-pump/services/fcm-pump-services.d.ts.map +1 -1
  43. package/models/models/fcm-pump/services/index.d.ts.map +1 -1
  44. package/models/models/fcm-pump/types/index.d.ts +1 -3
  45. package/models/models/freestyle-assembly/freestyle-assembly-model.d.ts +7 -8
  46. package/models/models/freestyle-assembly/freestyle-assembly-model.d.ts.map +1 -1
  47. package/models/models/freestyle-assembly/freestyle-assembly-registration.d.ts +12 -79
  48. package/models/models/freestyle-assembly/freestyle-assembly-registration.d.ts.map +1 -1
  49. package/models/models/freestyle-assembly/index.d.ts.map +1 -1
  50. package/models/models/freestyle-assembly/types/index.d.ts +1 -3
  51. package/models/models/freestyle-holder/freestyle-holder-model.d.ts +2 -3
  52. package/models/models/freestyle-holder/freestyle-holder-model.d.ts.map +1 -1
  53. package/models/models/freestyle-holder/freestyle-holder-registration.d.ts +12 -77
  54. package/models/models/freestyle-holder/freestyle-holder-registration.d.ts.map +1 -1
  55. package/models/models/freestyle-holder/index.d.ts.map +1 -1
  56. package/models/models/freestyle-holder/types/index.d.ts +1 -3
  57. package/models/models/freestyle-nozzle/freestyle-nozzle-model.d.ts +2 -3
  58. package/models/models/freestyle-nozzle/freestyle-nozzle-model.d.ts.map +1 -1
  59. package/models/models/freestyle-nozzle/freestyle-nozzle-registration.d.ts +12 -77
  60. package/models/models/freestyle-nozzle/freestyle-nozzle-registration.d.ts.map +1 -1
  61. package/models/models/freestyle-nozzle/index.d.ts.map +1 -1
  62. package/models/models/freestyle-nozzle/services/freestyle-nozzle-services.d.ts.map +1 -1
  63. package/models/models/freestyle-nozzle/services/index.d.ts.map +1 -1
  64. package/models/models/freestyle-nozzle/types/index.d.ts +1 -3
  65. package/models/models/freestyle-pump/freestyle-pump-model.d.ts +2 -3
  66. package/models/models/freestyle-pump/freestyle-pump-model.d.ts.map +1 -1
  67. package/models/models/freestyle-pump/freestyle-pump-registration.d.ts +12 -77
  68. package/models/models/freestyle-pump/freestyle-pump-registration.d.ts.map +1 -1
  69. package/models/models/freestyle-pump/index.d.ts.map +1 -1
  70. package/models/models/freestyle-pump/services/freestyle-pump-services.d.ts.map +1 -1
  71. package/models/models/freestyle-pump/services/index.d.ts.map +1 -1
  72. package/models/models/freestyle-pump/types/index.d.ts +1 -3
  73. package/models/models/ice-agitator/ice-agitator-model.d.ts +2 -3
  74. package/models/models/ice-agitator/ice-agitator-model.d.ts.map +1 -1
  75. package/models/models/ice-agitator/index.d.ts.map +1 -1
  76. package/models/models/ice-agitator/services/ice-agitator-services.d.ts +0 -1
  77. package/models/models/ice-agitator/services/ice-agitator-services.d.ts.map +1 -1
  78. package/models/models/ice-agitator/services/index.d.ts.map +1 -1
  79. package/models/models/index.d.ts.map +1 -1
  80. package/models/models/lfcv-pump/index.d.ts.map +1 -1
  81. package/models/models/lfcv-pump/lfcv-pump-model.d.ts +8 -5
  82. package/models/models/lfcv-pump/lfcv-pump-model.d.ts.map +1 -1
  83. package/models/models/lfcv-pump/types/index.d.ts +1 -3
  84. package/models/models/remote-tray/index.d.ts.map +1 -1
  85. package/models/models/remote-tray/remote-tray-container-model.d.ts +1 -2
  86. package/models/models/remote-tray/remote-tray-container-model.d.ts.map +1 -1
  87. package/models/models/remote-tray/remote-tray-container-registration.d.ts +12 -77
  88. package/models/models/remote-tray/remote-tray-container-registration.d.ts.map +1 -1
  89. package/models/models/remote-tray/remote-tray-model.d.ts +11 -93
  90. package/models/models/remote-tray/remote-tray-model.d.ts.map +1 -1
  91. package/models/models/remote-tray/remote-tray-registration.d.ts +12 -80
  92. package/models/models/remote-tray/remote-tray-registration.d.ts.map +1 -1
  93. package/models/models/spm-pump/index.d.ts.map +1 -1
  94. package/models/models/spm-pump/services/index.d.ts.map +1 -1
  95. package/models/models/spm-pump/services/spm-pump-services.d.ts +0 -1
  96. package/models/models/spm-pump/services/spm-pump-services.d.ts.map +1 -1
  97. package/models/models/spm-pump/spm-pump-model.d.ts +7 -4
  98. package/models/models/spm-pump/spm-pump-model.d.ts.map +1 -1
  99. package/models/models/spm-pump/spm-pump-registration.d.ts +12 -77
  100. package/models/models/spm-pump/spm-pump-registration.d.ts.map +1 -1
  101. package/models/models/spm-pump/types/index.d.ts +1 -3
  102. package/models/models/types/assembly.d.ts +3 -4
  103. package/models/models/types/assembly.d.ts.map +1 -1
  104. package/models/models/types/ingredients.d.ts +0 -1
  105. package/models/models/types/ingredients.d.ts.map +1 -1
  106. package/models/models/types/pumps.d.ts +0 -1
  107. package/models/models/types/pumps.d.ts.map +1 -1
  108. package/models/utils/extension-utils.d.ts +2 -3
  109. package/models/utils/extension-utils.d.ts.map +1 -1
  110. package/models/utils/extensions/assembly/assembly-data-mapper.d.ts +2 -3
  111. package/models/utils/extensions/assembly/assembly-data-mapper.d.ts.map +1 -1
  112. package/models/utils/extensions/assembly/types.d.ts +6 -90
  113. package/models/utils/extensions/assembly/types.d.ts.map +1 -1
  114. package/models/utils/extensions/availability/freestyle-loader.d.ts +1 -2
  115. package/models/utils/extensions/availability/freestyle-loader.d.ts.map +1 -1
  116. package/models/utils/extensions/availability/freestyle-mapper.d.ts +2 -3
  117. package/models/utils/extensions/availability/freestyle-mapper.d.ts.map +1 -1
  118. package/models/utils/extensions/availability/middleware/assets.d.ts +1 -2
  119. package/models/utils/extensions/availability/middleware/assets.d.ts.map +1 -1
  120. package/models/utils/extensions/availability/middleware/beverage-screen.d.ts +1 -2
  121. package/models/utils/extensions/availability/middleware/beverage-screen.d.ts.map +1 -1
  122. package/models/utils/extensions/availability/middleware/beverages.d.ts +1 -2
  123. package/models/utils/extensions/availability/middleware/beverages.d.ts.map +1 -1
  124. package/models/utils/extensions/availability/middleware/brand-screen.d.ts +1 -2
  125. package/models/utils/extensions/availability/middleware/brand-screen.d.ts.map +1 -1
  126. package/models/utils/extensions/availability/middleware/brands.d.ts +1 -2
  127. package/models/utils/extensions/availability/middleware/brands.d.ts.map +1 -1
  128. package/models/utils/extensions/availability/middleware/copy-input.d.ts +0 -1
  129. package/models/utils/extensions/availability/middleware/copy-input.d.ts.map +1 -1
  130. package/models/utils/extensions/availability/middleware/flavors.d.ts +1 -2
  131. package/models/utils/extensions/availability/middleware/flavors.d.ts.map +1 -1
  132. package/models/utils/extensions/availability/middleware/nutrition.d.ts +1 -2
  133. package/models/utils/extensions/availability/middleware/nutrition.d.ts.map +1 -1
  134. package/models/utils/extensions/availability/middleware/related-brands.d.ts +1 -2
  135. package/models/utils/extensions/availability/middleware/related-brands.d.ts.map +1 -1
  136. package/models/utils/extensions/availability/types.d.ts.map +1 -1
  137. package/models/utils/extensions/availability/util/locate-brand.d.ts.map +1 -1
  138. package/models/utils/extensions/availability/util/process-related-brand.d.ts +0 -1
  139. package/models/utils/extensions/availability/util/process-related-brand.d.ts.map +1 -1
  140. package/models/utils/extensions/ingredient/index.d.ts.map +1 -1
  141. package/models/utils/extensions/ingredient/model-extension.d.ts +1 -2
  142. package/models/utils/extensions/ingredient/model-extension.d.ts.map +1 -1
  143. package/models/utils/extensions/pourable/select-pourable-mapper.d.ts +0 -1
  144. package/models/utils/extensions/pourable/select-pourable-mapper.d.ts.map +1 -1
  145. package/models/utils/extensions/trouble/trouble-utils.d.ts +0 -1
  146. package/models/utils/extensions/trouble/trouble-utils.d.ts.map +1 -1
  147. package/models/utils/freestyle-registration-manager.d.ts +22 -13
  148. package/models/utils/freestyle-registration-manager.d.ts.map +1 -1
  149. package/models/utils/index.d.ts.map +1 -1
  150. package/models/utils/openapi-index.d.ts +2 -2
  151. package/models/utils/openapi-index.d.ts.map +1 -1
  152. package/models/utils/services/freestyle/1.6.5/service.d.ts +34 -35
  153. package/models/utils/services/freestyle/1.6.5/service.d.ts.map +1 -1
  154. package/models/utils/services/freestyle/1.8.1/service.d.ts +34 -35
  155. package/models/utils/services/freestyle/1.8.1/service.d.ts.map +1 -1
  156. package/models/utils/services/freestyle/daily/openapi.d.ts +477 -475
  157. package/models/utils/services/freestyle/daily/service.d.ts +127 -37
  158. package/models/utils/services/freestyle/daily/service.d.ts.map +1 -1
  159. package/models/utils/services/handle/1.8.1/service.d.ts +34 -35
  160. package/models/utils/services/handle/1.8.1/service.d.ts.map +1 -1
  161. package/models/utils/services/handle/daily/openapi.d.ts +102 -110
  162. package/models/utils/services/handle/daily/service.d.ts +128 -38
  163. package/models/utils/services/handle/daily/service.d.ts.map +1 -1
  164. package/models/utils/services-index.d.ts +2 -6
  165. package/models/utils/services-index.d.ts.map +1 -1
  166. package/models.cjs +34 -1
  167. package/models.cjs.map +1 -1
  168. package/models.d.ts +1 -0
  169. package/models.js +31 -37
  170. package/models.js.map +1 -1
  171. package/package.json +9 -10
  172. package/service-Dfj0KrIU.cjs +2323 -0
  173. package/service-Dfj0KrIU.cjs.map +1 -0
  174. package/service-VBsCe4jt.js +2324 -0
  175. package/service-VBsCe4jt.js.map +1 -0
  176. package/ui/contexts/index.d.ts.map +1 -1
  177. package/ui/hooks/freestyle-assembly/index.d.ts.map +1 -1
  178. package/ui/hooks/freestyle-assembly/use-freestyle-assembly.d.ts +0 -1
  179. package/ui/hooks/freestyle-assembly/use-freestyle-assembly.d.ts.map +1 -1
  180. package/ui/hooks/freestyle-nozzle/index.d.ts.map +1 -1
  181. package/ui/hooks/freestyle-nozzle/use-freestyle-nozzle.d.ts +0 -1
  182. package/ui/hooks/freestyle-nozzle/use-freestyle-nozzle.d.ts.map +1 -1
  183. package/ui/hooks/ice-agitator/index.d.ts.map +1 -1
  184. package/ui/hooks/ice-agitator/use-ice-agitator.d.ts +1 -2
  185. package/ui/hooks/ice-agitator/use-ice-agitator.d.ts.map +1 -1
  186. package/ui/hooks/ice-agitator/with-ice-agitator.d.ts +0 -1
  187. package/ui/hooks/ice-agitator/with-ice-agitator.d.ts.map +1 -1
  188. package/ui/hooks/index.d.ts.map +1 -1
  189. package/ui/hooks/nutrition/index.d.ts.map +1 -1
  190. package/ui/hooks/nutrition/use-nutrition-info.d.ts +0 -1
  191. package/ui/hooks/nutrition/use-nutrition-info.d.ts.map +1 -1
  192. package/ui/index.d.ts.map +1 -1
  193. package/ui.cjs +8 -1
  194. package/ui.cjs.map +1 -1
  195. package/ui.d.ts +1 -0
  196. package/ui.js +6 -11
  197. package/ui.js.map +1 -1
  198. package/use-nutrition-info-6ijRu88p.cjs +67 -0
  199. package/use-nutrition-info-6ijRu88p.cjs.map +1 -0
  200. package/use-nutrition-info-Rc_SHgBZ.js +68 -0
  201. package/use-nutrition-info-Rc_SHgBZ.js.map +1 -0
  202. package/extension-utils-CFD54lr3.js +0 -237
  203. package/extension-utils-CFD54lr3.js.map +0 -1
  204. package/extension-utils-D3-Gwy8G.cjs +0 -2
  205. package/extension-utils-D3-Gwy8G.cjs.map +0 -1
  206. package/kos-models.json +0 -180
  207. package/service-8u3gW6pr.cjs +0 -2
  208. package/service-8u3gW6pr.cjs.map +0 -1
  209. package/service-DildzPxj.js +0 -1910
  210. package/service-DildzPxj.js.map +0 -1
  211. package/use-nutrition-info-DMKLi-5k.cjs +0 -2
  212. package/use-nutrition-info-DMKLi-5k.cjs.map +0 -1
  213. package/use-nutrition-info-DP_JHkR0.js +0 -52
  214. package/use-nutrition-info-DP_JHkR0.js.map +0 -1
@@ -1,87 +1,22 @@
1
- import { FcmPumpModel } from './fcm-pump-model';
2
- import { FcmPumpOptions } from './types';
3
1
  import { KosModelRegistrationFactory } from '@kosdev-code/kos-ui-sdk';
4
-
2
+ import { FcmPumpOptions } from './types';
3
+ import { FcmPumpModel } from './fcm-pump-model';
5
4
  /**
6
- * # FcmPump
7
- *
8
- * The registration bean includes convenience methods for creating and working with FcmPumpModel 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: FcmPump.type, id: "fcmPumpId"})
19
- * private fcmPumpModel: FcmPumpModel;
20
- * ```
21
- *
22
- *
23
- * ## factory
24
- *
25
- * The factory method creates a factory function that can be used to create new FcmPumpModel instances.
26
- *
27
-
28
- * The factory function is a curried function that takes the model id as the first argument and the options as the second argument.
29
- *
30
- * If a model with the specified id 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 = FcmPump.factory("fcmPumpId")({
36
- * // Add option data
37
- * });
38
- * ```
39
-
40
-
5
+ * Registration bean for {@link FcmPumpModel}.
41
6
  *
42
- * ## predicate
7
+ * - `type`: the model type, used by the model registry and in `@kosDependency` declarations.
8
+ * - `factory`: curried factory, `FcmPump.factory(id)(options)`. Returns the existing model when the id is already in use and ignores the options.
9
+ * - `guard`: type guard that narrows an `IKosDataModel` to `FcmPumpModel`.
10
+ * - `instance(id)`: reads the model, or builds it from options.
11
+ * - `register()`: registers the model, and any related models, with the model registry.
43
12
  *
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 FcmPumpModel.
13
+ * FcmPump is not a singleton: each id has its own instance. `KosModelRegistry.freestyle.models()` registers it.
45
14
  *
46
15
  * @example
47
16
  * ```typescript
48
- *
49
- * const model: IKosDataModel = ...; // some model
50
- *
51
- * if (FcmPump.predicate(model)) {
52
- * // if the function evaluates to true, the model is narrowed down to FcmPumpModel
53
- * // and the compiler will know that the model has the FcmPumpModel interface
54
- * model.updateAvailability(false);
55
- * }
17
+ * @kosDependency({ modelType: FcmPump.type, id: "fcmPumpId" })
18
+ * private fcmPump!: FcmPumpModel;
56
19
  * ```
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 { FcmPump } from "@kos-ui/project-models";
71
- * import { KosModelRegistry } from "@kosdev-code/kos-dispense-sdk";
72
- *
73
- * import { initKosProvider } from "@kosdev-code/kos-ui-sdk";
74
- *
75
- * KosModelRegistry.dispense
76
- * .models()
77
- * .model(FcmPump);
78
- * ```
79
- *
80
- * ## registration.singleton
81
-
82
- * The fcmPump 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.
83
- * If the factory function is called with an ID that already exists, the existing model will be returned.
84
-
85
- * */
20
+ */
86
21
  export declare const FcmPump: KosModelRegistrationFactory<FcmPumpModel, FcmPumpOptions>;
87
22
  //# sourceMappingURL=fcm-pump-registration.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"fcm-pump-registration.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-freestyle-sdk/src/models/models/fcm-pump/fcm-pump-registration.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,yBAAyB,CAAC;AACtE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAE9C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAErD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAgFK;AACL,eAAO,MAAM,OAAO,2DAMlB,CAAC"}
1
+ {"version":3,"file":"fcm-pump-registration.d.ts","sourceRoot":"","sources":["../../../../../../packages/kos-freestyle-sdk/src/models/models/fcm-pump/fcm-pump-registration.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,yBAAyB,CAAC;AACtE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAE9C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAErD;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,OAAO,2DAMlB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-freestyle-sdk/src/models/models/fcm-pump/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AAClD,mBAAmB,SAAS,CAAC;AAC7B,YAAY,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,KAAK,eAAe,MAAM,YAAY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../packages/kos-freestyle-sdk/src/models/models/fcm-pump/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AAClD,mBAAmB,SAAS,CAAC;AAC7B,YAAY,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,KAAK,eAAe,MAAM,YAAY,CAAC"}
@@ -1,5 +1,4 @@
1
1
  import { FutureResponse } from '@kosdev-code/kos-ui-sdk';
2
-
3
2
  export type ElectricalTestErrorType = "errEEPROM" | "unknownError";
4
3
  export type ElectricalTestData = {
5
4
  error?: ElectricalTestErrorType;
@@ -13,5 +12,5 @@ export declare const performElectricalTest: (path: string) => Promise<Electrical
13
12
  export declare const performPreCalibrate: (pump: string, tracker?: string) => Promise<FutureResponse>;
14
13
  export declare const performCalibrate: (pump: string, tracker?: string) => Promise<FutureResponse>;
15
14
  export declare const performVerify: (pump: string, volume: string, tracker?: string) => Promise<FutureResponse>;
16
- export declare const performComplete: (pump: string, volume1: string, volume2: string) => Promise<string | undefined>;
15
+ export declare const performComplete: (pump: string, volume1: string, volume2: string) => Promise<string>;
17
16
  //# sourceMappingURL=fcm-pump-services.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"fcm-pump-services.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/sdk/kos-freestyle-sdk/src/models/models/fcm-pump/services/fcm-pump-services.ts"],"names":[],"mappings":"AAAA,OAAO,EAOL,KAAK,cAAc,EAEpB,MAAM,yBAAyB,CAAC;AAWjC,MAAM,MAAM,uBAAuB,GAAG,WAAW,GAAG,cAAc,CAAC;AACnE,MAAM,MAAM,kBAAkB,GAAG;IAC/B,KAAK,CAAC,EAAE,uBAAuB,CAAC;IAChC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AACF,MAAM,MAAM,sBAAsB,GAAG;IACnC,uBAAuB,GAAG,SAAS;IACnC,kBAAkB;CACnB,CAAC;AAEF,eAAO,MAAM,qBAAqB,SAC1B,MAAM,KACX,QAAQ,sBAAsB,CAoChC,CAAC;AAEF,eAAO,MAAM,mBAAmB,SAAgB,MAAM,YAAY,MAAM,4BAoCvE,CAAC;AAEF,eAAO,MAAM,gBAAgB,SAAgB,MAAM,YAAY,MAAM,4BAoCpE,CAAC;AAEF,eAAO,MAAM,aAAa,SAClB,MAAM,UACJ,MAAM,YACJ,MAAM,4BAqCjB,CAAC;AAyBF,eAAO,MAAM,eAAe,SACpB,MAAM,WACH,MAAM,WACN,MAAM,gCAuBhB,CAAC"}
1
+ {"version":3,"file":"fcm-pump-services.d.ts","sourceRoot":"","sources":["../../../../../../../packages/kos-freestyle-sdk/src/models/models/fcm-pump/services/fcm-pump-services.ts"],"names":[],"mappings":"AAAA,OAAO,EAQL,KAAK,cAAc,EAEpB,MAAM,yBAAyB,CAAC;AAWjC,MAAM,MAAM,uBAAuB,GAAG,WAAW,GAAG,cAAc,CAAC;AACnE,MAAM,MAAM,kBAAkB,GAAG;IAC/B,KAAK,CAAC,EAAE,uBAAuB,CAAC;IAChC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AACF,MAAM,MAAM,sBAAsB,GAAG;IACnC,uBAAuB,GAAG,SAAS;IACnC,kBAAkB;CACnB,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAChC,MAAM,MAAM,KACX,OAAO,CAAC,sBAAsB,CAoChC,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAAU,MAAM,MAAM,EAAE,UAAU,MAAM,4BAoCvE,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAU,MAAM,MAAM,EAAE,UAAU,MAAM,4BAoCpE,CAAC;AAEF,eAAO,MAAM,aAAa,GACxB,MAAM,MAAM,EACZ,QAAQ,MAAM,EACd,UAAU,MAAM,4BAqCjB,CAAC;AASF,eAAO,MAAM,eAAe,GAC1B,MAAM,MAAM,EACZ,SAAS,MAAM,EACf,SAAS,MAAM,oBAuBhB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/sdk/kos-freestyle-sdk/src/models/models/fcm-pump/services/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../packages/kos-freestyle-sdk/src/models/models/fcm-pump/services/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC"}
@@ -1,5 +1,3 @@
1
- import { IKosCompanionOptions } from '@kosdev-code/kos-ui-sdk';
2
1
  import { PumpModel, PumpOptions } from '@kosdev-code/kos-dispense-sdk';
3
-
4
-
2
+ import { IKosCompanionOptions } from '@kosdev-code/kos-ui-sdk';
5
3
  export type FcmPumpOptions = IKosCompanionOptions<PumpModel, PumpOptions>;
@@ -1,12 +1,11 @@
1
- import { FreestyleHolderModelExt, FreestyleModelAssemblyExt } from '../types/assembly';
2
- import { RemoteTrayContainerModel } from '../remote-tray';
3
- import { IceAgitatorModel } from '../ice-agitator';
4
- import { CartridgeAgitatorContainerModel, CartridgeAgitatorModel } from '../cartridge-agitator';
5
- import { CarbAgitatorModel } from '../carb-agitator';
6
- import { AssemblyModel, AssemblyOptions, BoardModel, HolderModel, PumpModel } from '@kosdev-code/kos-dispense-sdk';
7
- import { FreestyleAssemblyOptions } from './types';
8
1
  import { IKosDataModel, IKosIdentifiable, KosCreationContext, PublicModelInterface } from '@kosdev-code/kos-ui-sdk';
9
-
2
+ import { FreestyleAssemblyOptions } from './types';
3
+ import { AssemblyModel, AssemblyOptions, BoardModel, HolderModel, PumpModel } from '@kosdev-code/kos-dispense-sdk';
4
+ import { CarbAgitatorModel } from '../carb-agitator';
5
+ import { CartridgeAgitatorContainerModel, CartridgeAgitatorModel } from '../cartridge-agitator';
6
+ import { IceAgitatorModel } from '../ice-agitator';
7
+ import { RemoteTrayContainerModel } from '../remote-tray';
8
+ import { FreestyleHolderModelExt, FreestyleModelAssemblyExt } from '../types/assembly';
10
9
  export declare const MODEL_TYPE = "freestyle-assembly-model";
11
10
  export declare const FEATURE_SUPPORTS_ICE = "iceAgitator";
12
11
  export declare const FEATURE_SUPPORTS_CARB = "carbTank";
@@ -1 +1 @@
1
- {"version":3,"file":"freestyle-assembly-model.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-freestyle-sdk/src/models/models/freestyle-assembly/freestyle-assembly-model.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,aAAa,EACb,gBAAgB,EAEhB,kBAAkB,EAClB,oBAAoB,EACrB,MAAM,yBAAyB,CAAC;AAQjC,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAC;AAExD,OAAO,EACL,KAAK,aAAa,EAClB,KAAK,eAAe,EACpB,KAAK,UAAU,EACf,KAAK,WAAW,EAChB,KAAK,SAAS,EACf,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAgB,KAAK,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACxE,OAAO,EACL,KAAK,+BAA+B,EACpC,KAAK,sBAAsB,EAC5B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACxD,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAC/D,OAAO,KAAK,EACV,uBAAuB,EACvB,yBAAyB,EAC1B,MAAM,mBAAmB,CAAC;AAE3B,eAAO,MAAM,UAAU,6BAA6B,CAAC;AAErD,eAAO,MAAM,oBAAoB,gBAAgB,CAAC;AAClD,eAAO,MAAM,qBAAqB,aAAa,CAAC;AAChD,eAAO,MAAM,6BAA6B,gBAAgB,CAAC;AAE3D,MAAM,MAAM,sBAAsB,GAChC,oBAAoB,CAAC,0BAA0B,CAAC,GAC9C,aAAa,CAAC,yBAAyB,EAAE,uBAAuB,CAAC,CAAC;AAEtE,qBAEa,0BACX,YACE,aAAa,EACb,gBAAgB,EAChB,aAAa,CAAC,yBAAyB,EAAE,uBAAuB,CAAC;IAEnE,EAAE,EAAE,MAAM,CAAC;IAEX,OAAO,CAAC,cAAc,CAAC,CAAoB;IAC3C,OAAO,CAAC,MAAM,CAAmB;IACjC,OAAO,CAAC,QAAQ,CAGd;IAGF,OAAO,CAAC,YAAY,CAA4B;gBAG9C,OAAO,EAAE,MAAM,EACf,OAAO,EAAE,wBAAwB,EACjC,OAAO,EAAE,kBAAkB;IAW7B,IAAI,YAAY,IAAI,MAAM,EAAE,CAE3B;IACD,IAAI,WAAW,IAAI,MAAM,EAAE,CAE1B;IACD,IAAI,UAAU,IAAI,WAAW,CAAC,uBAAuB,CAAC,EAAE,CAEvD;IACD,iBAAiB,CAAC,KAAK,EAAE,MAAM,GAAG,WAAW,CAAC,uBAAuB,CAAC,EAAE;IAGxE,kBAAkB,CAChB,UAAU,EAAE,MAAM,GACjB,WAAW,CAAC,uBAAuB,CAAC,EAAE;IAGzC,IAAI,aAAa,IAAI,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,CAAC,EAAE,CAAC,CAEpD;IACD,IAAI,SAAS,IAAI,MAAM,EAAE,CAExB;IAED,IAAI,MAAM,IAAI,UAAU,CAAC,GAAG,CAAC,EAAE,CAE9B;IACD,WAAW,CAAC,OAAO,EAAE,eAAe,GAAG,IAAI;IAG3C,IAAI,WAAW,IAAI,gBAAgB,CAElC;IACD,IAAI,QAAQ,IAAI,iBAAiB,GAAG,SAAS,CAE5C;IAED,IAAI,kBAAkB,IAAI,+BAA+B,CAExD;IAED,IAAI,wBAAwB,IAAI,sBAAsB,CAErD;IACD,IAAI,uBAAuB,IAAI,sBAAsB,EAAE,CAEtD;IAED,IAAI,qBAAqB,IAAI,OAAO,CAEnC;IAED,IAAI,WAAW,IAAI,wBAAwB,CAE1C;IAED,IAAI,cAAc,IAAI,OAAO,CAI5B;IAID,IAAI,mBAAmB,IAAI,OAAO,CAEjC;IACD,IAAI,WAAW,YAEd;IAED,IAAI,YAAY,YAEf;IAEK,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;IAIrB,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;CAQ7B"}
1
+ {"version":3,"file":"freestyle-assembly-model.d.ts","sourceRoot":"","sources":["../../../../../../packages/kos-freestyle-sdk/src/models/models/freestyle-assembly/freestyle-assembly-model.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,aAAa,EACb,gBAAgB,EAEhB,kBAAkB,EAClB,oBAAoB,EACrB,MAAM,yBAAyB,CAAC;AAQjC,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAC;AAExD,OAAO,EACL,KAAK,aAAa,EAClB,KAAK,eAAe,EACpB,KAAK,UAAU,EACf,KAAK,WAAW,EAChB,KAAK,SAAS,EACf,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAgB,KAAK,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACxE,OAAO,EACL,KAAK,+BAA+B,EACpC,KAAK,sBAAsB,EAC5B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACxD,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAC/D,OAAO,KAAK,EACV,uBAAuB,EACvB,yBAAyB,EAC1B,MAAM,mBAAmB,CAAC;AAE3B,eAAO,MAAM,UAAU,6BAA6B,CAAC;AAErD,eAAO,MAAM,oBAAoB,gBAAgB,CAAC;AAClD,eAAO,MAAM,qBAAqB,aAAa,CAAC;AAChD,eAAO,MAAM,6BAA6B,gBAAgB,CAAC;AAE3D,MAAM,MAAM,sBAAsB,GAChC,oBAAoB,CAAC,0BAA0B,CAAC,GAC9C,aAAa,CAAC,yBAAyB,EAAE,uBAAuB,CAAC,CAAC;AAEtE,qBAEa,0BACX,YACE,aAAa,EACb,gBAAgB,EAChB,aAAa,CAAC,yBAAyB,EAAE,uBAAuB,CAAC;IAEnE,EAAE,EAAE,MAAM,CAAC;IAEX,OAAO,CAAC,cAAc,CAAC,CAAoB;IAC3C,OAAO,CAAC,MAAM,CAAmB;IACjC,OAAO,CAAC,QAAQ,CAGd;IAGF,OAAO,CAAC,YAAY,CAA4B;gBAG9C,OAAO,EAAE,MAAM,EACf,OAAO,EAAE,wBAAwB,EACjC,OAAO,EAAE,kBAAkB;IAW7B,IAAI,YAAY,IAAI,MAAM,EAAE,CAE3B;IACD,IAAI,WAAW,IAAI,MAAM,EAAE,CAE1B;IACD,IAAI,UAAU,IAAI,WAAW,CAAC,uBAAuB,CAAC,EAAE,CAEvD;IACD,iBAAiB,CAAC,KAAK,EAAE,MAAM,GAAG,WAAW,CAAC,uBAAuB,CAAC,EAAE;IAGxE,kBAAkB,CAChB,UAAU,EAAE,MAAM,GACjB,WAAW,CAAC,uBAAuB,CAAC,EAAE;IAGzC,IAAI,aAAa,IAAI,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,CAAC,EAAE,CAAC,CAEpD;IACD,IAAI,SAAS,IAAI,MAAM,EAAE,CAExB;IAED,IAAI,MAAM,IAAI,UAAU,CAAC,GAAG,CAAC,EAAE,CAE9B;IACD,WAAW,CAAC,OAAO,EAAE,eAAe,GAAG,IAAI;IAG3C,IAAI,WAAW,IAAI,gBAAgB,CAElC;IACD,IAAI,QAAQ,IAAI,iBAAiB,GAAG,SAAS,CAE5C;IAED,IAAI,kBAAkB,IAAI,+BAA+B,CAExD;IAED,IAAI,wBAAwB,IAAI,sBAAsB,CAErD;IACD,IAAI,uBAAuB,IAAI,sBAAsB,EAAE,CAEtD;IAED,IAAI,qBAAqB,IAAI,OAAO,CAEnC;IAED,IAAI,WAAW,IAAI,wBAAwB,CAE1C;IAED,IAAI,cAAc,IAAI,OAAO,CAI5B;IAID,IAAI,mBAAmB,IAAI,OAAO,CAEjC;IACD,IAAI,WAAW,YAEd;IAED,IAAI,YAAY,YAEf;IAEK,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;IAIrB,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;CAQ7B"}
@@ -1,89 +1,22 @@
1
- import { FreestyleAssemblyOptions } from './types';
2
- import { FreestyleAssemblyModel } from './freestyle-assembly-model';
3
1
  import { SingletonKosModelRegistrationFactory } from '@kosdev-code/kos-ui-sdk';
4
-
2
+ import { FreestyleAssemblyModel } from './freestyle-assembly-model';
3
+ import { FreestyleAssemblyOptions } from './types';
5
4
  /**
6
- * # FreestyleAssembly
7
- *
8
- * The registration bean includes convenience methods for creating and working with FreestyleAssemblyModel 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
5
+ * Registration bean for {@link FreestyleAssemblyModel}.
17
6
  *
18
- * @kosDependency({modelType: FreestyleAssembly.type, id: "freestyleAssemblyId"})
19
- * private freestyleAssemblyModel: FreestyleAssemblyModel;
20
- * ```
21
- *
22
- *
23
- * ## factory
24
- *
25
- * The factory method creates a factory function that can be used to create new FreestyleAssemblyModel instances.
26
- *
27
-
28
- * As this is a singleton model, the factory function accepts the model options as its argument.
7
+ * - `type`: the model type, used by the model registry and in `@kosDependency` declarations.
8
+ * - `factory`: `FreestyleAssembly.factory(options)` returns the single instance, creating it on the first call.
9
+ * - `guard`: type guard that narrows an `IKosDataModel` to `FreestyleAssemblyModel`.
10
+ * - `instance()`: reads the model, or builds it from options.
11
+ * - `register()`: registers the model, and any related models, with the model registry.
29
12
  *
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.
13
+ * FreestyleAssembly is a singleton. `KosModelRegistry.freestyle.models()` registers it.
32
14
  *
33
15
  * @example
34
16
  * ```typescript
35
- * const model = FreestyleAssembly.factory({
36
- * // Add option data
37
- * });
17
+ * @kosDependency({ modelType: FreestyleAssembly.type })
18
+ * private freestyleAssembly!: FreestyleAssemblyModel;
38
19
  * ```
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 FreestyleAssemblyModel.
45
- *
46
- * @example
47
- * ```typescript
48
- *
49
- * const model: IKosDataModel = ...; // some model
50
- *
51
- * if (FreestyleAssembly.predicate(model)) {
52
- * // if the function evaluates to true, the model is narrowed down to FreestyleAssemblyModel
53
- * // and the compiler will know that the model has the FreestyleAssemblyModel 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 { FreestyleAssembly } from "@kos-ui/project-models";
71
- * import { KosModelRegistry } from "@kosdev-code/kos-dispense-sdk";
72
- *
73
- * import { initKosProvider } from "@kosdev-code/kos-ui-sdk";
74
- *
75
- * KosModelRegistry.dispense
76
- * .models()
77
- * .model(FreestyleAssembly);
78
- * ```
79
- *
80
- * ## registration.singleton
81
-
82
- * The freestyleAssembly model is a singleton model. This means that each time the factory function is called , the same instance will be returned.
83
- * If the model does not yet exist, it will be created passing in the provided options to initialize it.
84
- *
85
- * Singleton models don't require an ID as they will use the model type as their ID to guarantee uniqueness throughout the system.
86
-
87
- * */
20
+ */
88
21
  export declare const FreestyleAssembly: SingletonKosModelRegistrationFactory<FreestyleAssemblyModel, FreestyleAssemblyOptions>;
89
22
  //# sourceMappingURL=freestyle-assembly-registration.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"freestyle-assembly-registration.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-freestyle-sdk/src/models/models/freestyle-assembly/freestyle-assembly-registration.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oCAAoC,EAAE,MAAM,yBAAyB,CAAC;AAC/E,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AAKzE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAC;AAExD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAkFK;AACL,eAAO,MAAM,iBAAiB,wFAM5B,CAAC"}
1
+ {"version":3,"file":"freestyle-assembly-registration.d.ts","sourceRoot":"","sources":["../../../../../../packages/kos-freestyle-sdk/src/models/models/freestyle-assembly/freestyle-assembly-registration.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oCAAoC,EAAE,MAAM,yBAAyB,CAAC;AAC/E,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AAKzE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAC;AAExD;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,iBAAiB,wFAM5B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-freestyle-sdk/src/models/models/freestyle-assembly/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AACtE,mBAAmB,SAAS,CAAC;AAC7B,YAAY,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../packages/kos-freestyle-sdk/src/models/models/freestyle-assembly/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AACtE,mBAAmB,SAAS,CAAC;AAC7B,YAAY,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC"}
@@ -1,7 +1,5 @@
1
- import { IKosCompanionOptions } from '@kosdev-code/kos-ui-sdk';
2
1
  import { AssemblyModel, AssemblyOptions } from '@kosdev-code/kos-dispense-sdk';
3
-
4
-
2
+ import { IKosCompanionOptions } from '@kosdev-code/kos-ui-sdk';
5
3
  export type FreestyleAssemblyOptions = IKosCompanionOptions<
6
4
  AssemblyModel,
7
5
  AssemblyOptions
@@ -1,7 +1,6 @@
1
- import { HolderModel } from '@kosdev-code/kos-dispense-sdk';
2
- import { FreestyleHolderOptions } from './types';
3
1
  import { FutureDelegate, IFutureModel, IKosDataModel, IKosIdentifiable, KosCreationContext, PublicModelInterface } from '@kosdev-code/kos-ui-sdk';
4
-
2
+ import { FreestyleHolderOptions } from './types';
3
+ import { HolderModel } from '@kosdev-code/kos-dispense-sdk';
5
4
  export declare const MODEL_TYPE = "freestyle-holder-model";
6
5
  export declare const freestyleHolderFactory: (holder: HolderModel) => "freestyle-holder-model" | undefined;
7
6
  export type FreestyleHolderModel = PublicModelInterface<FreestyleHolderModelImpl>;
@@ -1 +1 @@
1
- {"version":3,"file":"freestyle-holder-model.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-freestyle-sdk/src/models/models/freestyle-holder/freestyle-holder-model.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,cAAc,EAEd,YAAY,EACZ,aAAa,EACb,gBAAgB,EAGhB,kBAAkB,EAClB,oBAAoB,EACrB,MAAM,yBAAyB,CAAC;AAQjC,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAEtD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AASjE,eAAO,MAAM,UAAU,2BAA2B,CAAC;AAoCnD,eAAO,MAAM,sBAAsB,WAAY,WAAW,yCAKzD,CAAC;AACF,MAAM,MAAM,oBAAoB,GAC9B,oBAAoB,CAAC,wBAAwB,CAAC,CAAC;AAEjD,qBACa,wBACX,YAAW,aAAa,EAAE,gBAAgB,EAAE,cAAc;IAE1D,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,CAAC,MAAM,CAAmB;IACjC,OAAO,CAAC,MAAM,CAAkC;IAChD,OAAO,CAAC,OAAO,CAAa;IAE5B,MAAM,CAAC,EAAE,YAAY,CAAC;gBAEpB,OAAO,EAAE,MAAM,EACf,OAAO,EAAE,sBAAsB,EAC/B,OAAO,EAAE,kBAAkB;IAQ7B,IAAI,OAAO,uBAEV;IACD,IAAI,QAAQ,wBAEX;IACK,OAAO;IAuBb,IAAI,QAAQ,IAAI,OAAO,CAOtB;IAIK,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;IAIrB,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;CAG5B"}
1
+ {"version":3,"file":"freestyle-holder-model.d.ts","sourceRoot":"","sources":["../../../../../../packages/kos-freestyle-sdk/src/models/models/freestyle-holder/freestyle-holder-model.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,cAAc,EAEd,YAAY,EACZ,aAAa,EACb,gBAAgB,EAGhB,kBAAkB,EAClB,oBAAoB,EACrB,MAAM,yBAAyB,CAAC;AASjC,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAEtD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAajE,eAAO,MAAM,UAAU,2BAA2B,CAAC;AAoCnD,eAAO,MAAM,sBAAsB,GAAI,QAAQ,WAAW,yCAKzD,CAAC;AACF,MAAM,MAAM,oBAAoB,GAC9B,oBAAoB,CAAC,wBAAwB,CAAC,CAAC;AAEjD,qBACa,wBACX,YAAW,aAAa,EAAE,gBAAgB,EAAE,cAAc;IAE1D,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,CAAC,MAAM,CAAmB;IACjC,OAAO,CAAC,MAAM,CAAkC;IAChD,OAAO,CAAC,OAAO,CAAa;IAE5B,MAAM,CAAC,EAAE,YAAY,CAAC;gBAEpB,OAAO,EAAE,MAAM,EACf,OAAO,EAAE,sBAAsB,EAC/B,OAAO,EAAE,kBAAkB;IAQ7B,IAAI,OAAO,IACwC,MAAM,GAAG,SAAS,CACpE;IACD,IAAI,QAAQ,wBAEX;IACK,OAAO;IAuBb,IAAI,QAAQ,IAAI,OAAO,CAOtB;IAIK,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;IAIrB,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;CAG5B"}
@@ -1,87 +1,22 @@
1
- import { FreestyleHolderOptions } from './types';
2
- import { FreestyleHolderModel } from './freestyle-holder-model';
3
1
  import { KosModelRegistrationFactory } from '@kosdev-code/kos-ui-sdk';
4
-
2
+ import { FreestyleHolderModel } from './freestyle-holder-model';
3
+ import { FreestyleHolderOptions } from './types';
5
4
  /**
6
- * # FreestyleHolder
7
- *
8
- * The registration bean includes convenience methods for creating and working with FreestyleHolderModel 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: FreestyleHolder.type, id: "freestyleHolderId"})
19
- * private freestyleHolderModel: FreestyleHolderModel;
20
- * ```
21
- *
22
- *
23
- * ## factory
24
- *
25
- * The factory method creates a factory function that can be used to create new FreestyleHolderModel instances.
26
- *
27
-
28
- * The factory function is a curried function that takes the model id as the first argument and the options as the second argument.
29
- *
30
- * If a model with the specified id 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 = FreestyleHolder.factory("freestyleHolderId")({
36
- * // Add option data
37
- * });
38
- * ```
39
-
40
-
5
+ * Registration bean for {@link FreestyleHolderModel}.
41
6
  *
42
- * ## predicate
7
+ * - `type`: the model type, used by the model registry and in `@kosDependency` declarations.
8
+ * - `factory`: curried factory, `FreestyleHolder.factory(id)(options)`. Returns the existing model when the id is already in use and ignores the options.
9
+ * - `guard`: type guard that narrows an `IKosDataModel` to `FreestyleHolderModel`.
10
+ * - `instance(id)`: reads the model, or builds it from options.
11
+ * - `register()`: registers the model, and any related models, with the model registry.
43
12
  *
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 FreestyleHolderModel.
13
+ * FreestyleHolder is not a singleton: each id has its own instance. `KosModelRegistry.freestyle.models()` registers it.
45
14
  *
46
15
  * @example
47
16
  * ```typescript
48
- *
49
- * const model: IKosDataModel = ...; // some model
50
- *
51
- * if (FreestyleHolder.predicate(model)) {
52
- * // if the function evaluates to true, the model is narrowed down to FreestyleHolderModel
53
- * // and the compiler will know that the model has the FreestyleHolderModel interface
54
- * model.updateAvailability(false);
55
- * }
17
+ * @kosDependency({ modelType: FreestyleHolder.type, id: "freestyleHolderId" })
18
+ * private freestyleHolder!: FreestyleHolderModel;
56
19
  * ```
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 { FreestyleHolder } from "@kos-ui/project-models";
71
- * import { KosModelRegistry } from "@kosdev-code/kos-dispense-sdk";
72
- *
73
- * import { initKosProvider } from "@kosdev-code/kos-ui-sdk";
74
- *
75
- * KosModelRegistry.dispense
76
- * .models()
77
- * .model(FreestyleHolder);
78
- * ```
79
- *
80
- * ## registration.singleton
81
-
82
- * The freestyleHolder 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.
83
- * If the factory function is called with an ID that already exists, the existing model will be returned.
84
-
85
- * */
20
+ */
86
21
  export declare const FreestyleHolder: KosModelRegistrationFactory<FreestyleHolderModel, FreestyleHolderOptions>;
87
22
  //# sourceMappingURL=freestyle-holder-registration.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"freestyle-holder-registration.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-freestyle-sdk/src/models/models/freestyle-holder/freestyle-holder-registration.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,yBAAyB,CAAC;AACtE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAErE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAEtD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAgFK;AACL,eAAO,MAAM,eAAe,2EAM1B,CAAC"}
1
+ {"version":3,"file":"freestyle-holder-registration.d.ts","sourceRoot":"","sources":["../../../../../../packages/kos-freestyle-sdk/src/models/models/freestyle-holder/freestyle-holder-registration.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,yBAAyB,CAAC;AACtE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAErE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAEtD;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,eAAe,2EAM1B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-freestyle-sdk/src/models/models/freestyle-holder/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAClE,mBAAmB,SAAS,CAAC;AAC7B,YAAY,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../packages/kos-freestyle-sdk/src/models/models/freestyle-holder/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAClE,mBAAmB,SAAS,CAAC;AAC7B,YAAY,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC"}
@@ -1,7 +1,5 @@
1
- import { IKosCompanionOptions } from '@kosdev-code/kos-ui-sdk';
2
1
  import { HolderModel, HolderOptions } from '@kosdev-code/kos-dispense-sdk';
3
-
4
-
2
+ import { IKosCompanionOptions } from '@kosdev-code/kos-ui-sdk';
5
3
  export type FreestyleHolderOptions = IKosCompanionOptions<
6
4
  HolderModel,
7
5
  HolderOptions
@@ -1,7 +1,6 @@
1
- import { FreestyleNozzleOptions } from './types';
2
- import { FreestyleNutritionInfoResponse } from './services';
3
1
  import { IKosDataModel, IKosIdentifiable, KosCreationContext, PublicModelInterface } from '@kosdev-code/kos-ui-sdk';
4
-
2
+ import { FreestyleNutritionInfoResponse } from './services';
3
+ import { FreestyleNozzleOptions } from './types';
5
4
  export declare const MODEL_TYPE = "freestyle-nozzle-model";
6
5
  export type FreestyleNozzleModel = PublicModelInterface<FreestyleNozzleModelImpl>;
7
6
  export declare class FreestyleNozzleModelImpl implements IKosDataModel, IKosIdentifiable {
@@ -1 +1 @@
1
- {"version":3,"file":"freestyle-nozzle-model.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-freestyle-sdk/src/models/models/freestyle-nozzle/freestyle-nozzle-model.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,aAAa,EACb,gBAAgB,EAEhB,kBAAkB,EAClB,oBAAoB,EACrB,MAAM,yBAAyB,CAAC;AAQjC,OAAO,EAEL,KAAK,8BAA8B,EACpC,MAAM,YAAY,CAAC;AACpB,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAEtD,eAAO,MAAM,UAAU,2BAA2B,CAAC;AAEnD,MAAM,MAAM,oBAAoB,GAC9B,oBAAoB,CAAC,wBAAwB,CAAC,CAAC;AAEjD,qBAEa,wBACX,YAAW,aAAa,EAAE,gBAAgB;IAE1C,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,CAAC,MAAM,CAAmB;IACjC,OAAO,CAAC,WAAW,CAAc;IACjC,OAAO,CAAC,SAAS,CAAW;IAC5B,OAAO,CAAC,cAAc,CAAC,CAAiC;gBAEtD,OAAO,EAAE,MAAM,EACf,OAAO,EAAE,sBAAsB,EAC/B,OAAO,EAAE,kBAAkB;IAQ7B,IAAI,QAAQ,CAAC,QAAQ,EAAE,MAAM,EAAE,EAE9B;IACD,IAAI,aAAa,+CAEhB;IAED,IAAI,gBAAgB;;;MAEnB;IAOK,uBAAuB;IA0BvB,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;IAI3B,MAAM,IAAI,IAAI;IAGR,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;CAG5B"}
1
+ {"version":3,"file":"freestyle-nozzle-model.d.ts","sourceRoot":"","sources":["../../../../../../packages/kos-freestyle-sdk/src/models/models/freestyle-nozzle/freestyle-nozzle-model.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,aAAa,EACb,gBAAgB,EAEhB,kBAAkB,EAClB,oBAAoB,EACrB,MAAM,yBAAyB,CAAC;AAQjC,OAAO,EAEL,KAAK,8BAA8B,EACpC,MAAM,YAAY,CAAC;AACpB,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAEtD,eAAO,MAAM,UAAU,2BAA2B,CAAC;AAEnD,MAAM,MAAM,oBAAoB,GAC9B,oBAAoB,CAAC,wBAAwB,CAAC,CAAC;AAEjD,qBAEa,wBACX,YAAW,aAAa,EAAE,gBAAgB;IAE1C,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,CAAC,MAAM,CAAmB;IACjC,OAAO,CAAC,WAAW,CAAc;IACjC,OAAO,CAAC,SAAS,CAAW;IAC5B,OAAO,CAAC,cAAc,CAAC,CAAiC;gBAEtD,OAAO,EAAE,MAAM,EACf,OAAO,EAAE,sBAAsB,EAC/B,OAAO,EAAE,kBAAkB;IAQ7B,IAAI,QAAQ,CAAC,QAAQ,EAAE,MAAM,EAAE,EAE9B;IACD,IAAI,aAAa,+CAEhB;IAED,IAAI,gBAAgB;;;MAEnB;IAOK,uBAAuB;IA0BvB,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;IAI3B,MAAM,IAAI,IAAI;IAGR,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;CAG5B"}
@@ -1,87 +1,22 @@
1
- import { FreestyleNozzleOptions } from './types';
2
- import { FreestyleNozzleModel } from './freestyle-nozzle-model';
3
1
  import { KosModelRegistrationFactory } from '@kosdev-code/kos-ui-sdk';
4
-
2
+ import { FreestyleNozzleModel } from './freestyle-nozzle-model';
3
+ import { FreestyleNozzleOptions } from './types';
5
4
  /**
6
- * # FreestyleNozzle
7
- *
8
- * The registration bean includes convenience methods for creating and working with FreestyleNozzleModel 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: FreestyleNozzle.type, id: "freestyleNozzleId"})
19
- * private freestyleNozzleModel: FreestyleNozzleModel;
20
- * ```
21
- *
22
- *
23
- * ## factory
24
- *
25
- * The factory method creates a factory function that can be used to create new FreestyleNozzleModel instances.
26
- *
27
-
28
- * The factory function is a curried function that takes the model id as the first argument and the options as the second argument.
29
- *
30
- * If a model with the specified id 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 = FreestyleNozzle.factory("freestyleNozzleId")({
36
- * // Add option data
37
- * });
38
- * ```
39
-
40
-
5
+ * Registration bean for {@link FreestyleNozzleModel}.
41
6
  *
42
- * ## predicate
7
+ * - `type`: the model type, used by the model registry and in `@kosDependency` declarations.
8
+ * - `factory`: curried factory, `FreestyleNozzle.factory(id)(options)`. Returns the existing model when the id is already in use and ignores the options.
9
+ * - `guard`: type guard that narrows an `IKosDataModel` to `FreestyleNozzleModel`.
10
+ * - `instance(id)`: reads the model, or builds it from options.
11
+ * - `register()`: registers the model, and any related models, with the model registry.
43
12
  *
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 FreestyleNozzleModel.
13
+ * FreestyleNozzle is not a singleton: each id has its own instance. `KosModelRegistry.freestyle.models()` registers it.
45
14
  *
46
15
  * @example
47
16
  * ```typescript
48
- *
49
- * const model: IKosDataModel = ...; // some model
50
- *
51
- * if (FreestyleNozzle.predicate(model)) {
52
- * // if the function evaluates to true, the model is narrowed down to FreestyleNozzleModel
53
- * // and the compiler will know that the model has the FreestyleNozzleModel interface
54
- * model.updateAvailability(false);
55
- * }
17
+ * @kosDependency({ modelType: FreestyleNozzle.type, id: "freestyleNozzleId" })
18
+ * private freestyleNozzle!: FreestyleNozzleModel;
56
19
  * ```
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 { FreestyleNozzle } from "@kos-ui/project-models";
71
- * import { KosModelRegistry } from "@kosdev-code/kos-dispense-sdk";
72
- *
73
- * import { initKosProvider } from "@kosdev-code/kos-ui-sdk";
74
- *
75
- * KosModelRegistry.dispense
76
- * .models()
77
- * .model(FreestyleNozzle);
78
- * ```
79
- *
80
- * ## registration.singleton
81
-
82
- * The freestyleNozzle 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.
83
- * If the factory function is called with an ID that already exists, the existing model will be returned.
84
-
85
- * */
20
+ */
86
21
  export declare const FreestyleNozzle: KosModelRegistrationFactory<FreestyleNozzleModel, FreestyleNozzleOptions>;
87
22
  //# sourceMappingURL=freestyle-nozzle-registration.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"freestyle-nozzle-registration.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-freestyle-sdk/src/models/models/freestyle-nozzle/freestyle-nozzle-registration.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,yBAAyB,CAAC;AACtE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAErE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAEtD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAgFK;AACL,eAAO,MAAM,eAAe,2EAM1B,CAAC"}
1
+ {"version":3,"file":"freestyle-nozzle-registration.d.ts","sourceRoot":"","sources":["../../../../../../packages/kos-freestyle-sdk/src/models/models/freestyle-nozzle/freestyle-nozzle-registration.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,yBAAyB,CAAC;AACtE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAErE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAEtD;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,eAAe,2EAM1B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-freestyle-sdk/src/models/models/freestyle-nozzle/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAClE,mBAAmB,SAAS,CAAC;AAC7B,YAAY,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AACrE,OAAO,KAAK,uBAAuB,MAAM,YAAY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../packages/kos-freestyle-sdk/src/models/models/freestyle-nozzle/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAClE,mBAAmB,SAAS,CAAC;AAC7B,YAAY,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AACrE,OAAO,KAAK,uBAAuB,MAAM,YAAY,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"freestyle-nozzle-services.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/sdk/kos-freestyle-sdk/src/models/models/freestyle-nozzle/services/freestyle-nozzle-services.ts"],"names":[],"mappings":"AAeA,UAAU,cAAc;IACtB,YAAY,EAAE,MAAM,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;CACd;AACD,UAAU,eAAe;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,cAAc,EAAE,CAAC;CAC1B;AACD,MAAM,WAAW,8BAA8B;IAC7C,MAAM,CAAC,EAAE;QACP,SAAS,EAAE,MAAM,CAAC;QAClB,eAAe,EAAE,MAAM,CAAC;QACxB,WAAW,EAAE,MAAM,CAAC;QACpB,kBAAkB,EAAE,MAAM,CAAC;KAC5B,CAAC;IACF,OAAO,EAAE,eAAe,EAAE,CAAC;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,qBAAa,kBAAmB,SAAQ,KAAK;gBAC/B,OAAO,EAAE,MAAM;CAI5B;AAED,qBAAa,mBAAoB,SAAQ,KAAK;gBAChC,OAAO,EAAE,MAAM;CAI5B;AACD;;;GAGG;AACH,eAAO,MAAM,yBAAyB,oBACnB,MAAM,cACX,MAAM,WACT,MAAM,EAAE,8DA8BlB,CAAC"}
1
+ {"version":3,"file":"freestyle-nozzle-services.d.ts","sourceRoot":"","sources":["../../../../../../../packages/kos-freestyle-sdk/src/models/models/freestyle-nozzle/services/freestyle-nozzle-services.ts"],"names":[],"mappings":"AAgBA,UAAU,cAAc;IACtB,YAAY,EAAE,MAAM,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;CACd;AACD,UAAU,eAAe;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,cAAc,EAAE,CAAC;CAC1B;AACD,MAAM,WAAW,8BAA8B;IAC7C,MAAM,CAAC,EAAE;QACP,SAAS,EAAE,MAAM,CAAC;QAClB,eAAe,EAAE,MAAM,CAAC;QACxB,WAAW,EAAE,MAAM,CAAC;QACpB,kBAAkB,EAAE,MAAM,CAAC;KAC5B,CAAC;IACF,OAAO,EAAE,eAAe,EAAE,CAAC;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,qBAAa,kBAAmB,SAAQ,KAAK;gBAC/B,OAAO,EAAE,MAAM;CAI5B;AAED,qBAAa,mBAAoB,SAAQ,KAAK;gBAChC,OAAO,EAAE,MAAM;CAI5B;AACD;;;GAGG;AACH,eAAO,MAAM,yBAAyB,GACpC,iBAAiB,MAAM,EACvB,YAAY,MAAM,EAClB,SAAS,MAAM,EAAE,EACjB,gBAAiC,4CA6BlC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/sdk/kos-freestyle-sdk/src/models/models/freestyle-nozzle/services/index.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../packages/kos-freestyle-sdk/src/models/models/freestyle-nozzle/services/index.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC"}
@@ -1,7 +1,5 @@
1
- import { IKosCompanionOptions } from '@kosdev-code/kos-ui-sdk';
2
1
  import { NozzleModel, NozzleOptions } from '@kosdev-code/kos-dispense-sdk';
3
-
4
-
2
+ import { IKosCompanionOptions } from '@kosdev-code/kos-ui-sdk';
5
3
  export type FreestyleNozzleOptions = IKosCompanionOptions<
6
4
  NozzleModel,
7
5
  NozzleOptions
@@ -1,7 +1,6 @@
1
- import { ReplacePumpData, ReplacePumpErrorType } from './services';
2
- import { FreestylePumpOptions } from './types';
3
1
  import { IKosDataModel, IKosIdentifiable, KosCreationContext, PublicModelInterface } from '@kosdev-code/kos-ui-sdk';
4
-
2
+ import { FreestylePumpOptions } from './types';
3
+ import { ReplacePumpData, ReplacePumpErrorType } from './services';
5
4
  export declare const MODEL_TYPE = "freestyle-pump-model";
6
5
  export type FreestylePumpModel = PublicModelInterface<FreestylePumpModelImpl>;
7
6
  export declare class FreestylePumpModelImpl implements IKosDataModel, IKosIdentifiable {
@@ -1 +1 @@
1
- {"version":3,"file":"freestyle-pump-model.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-freestyle-sdk/src/models/models/freestyle-pump/freestyle-pump-model.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,aAAa,EACb,gBAAgB,EAEhB,kBAAkB,EAClB,oBAAoB,EACrB,MAAM,yBAAyB,CAAC;AAEjC,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAGpD,OAAO,EAEL,KAAK,eAAe,EACpB,KAAK,oBAAoB,EAC1B,MAAM,YAAY,CAAC;AAEpB,eAAO,MAAM,UAAU,yBAAyB,CAAC;AAEjD,MAAM,MAAM,kBAAkB,GAAG,oBAAoB,CAAC,sBAAsB,CAAC,CAAC;AAE9E,qBACa,sBAAuB,YAAW,aAAa,EAAE,gBAAgB;IAC5E,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,CAAC,MAAM,CAAmB;IACjC,OAAO,CAAC,IAAI,CAAY;gBAEtB,OAAO,EAAE,MAAM,EACf,OAAO,EAAE,oBAAoB,EAC7B,OAAO,EAAE,kBAAkB;IASvB,WAAW,CACf,IAAI,EAAE,MAAM,GACX,OAAO,CAAC,CAAC,oBAAoB,EAAE,eAAe,CAAC,CAAC;CAQpD"}
1
+ {"version":3,"file":"freestyle-pump-model.d.ts","sourceRoot":"","sources":["../../../../../../packages/kos-freestyle-sdk/src/models/models/freestyle-pump/freestyle-pump-model.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,aAAa,EACb,gBAAgB,EAEhB,kBAAkB,EAClB,oBAAoB,EACrB,MAAM,yBAAyB,CAAC;AAEjC,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAGpD,OAAO,EAEL,KAAK,eAAe,EACpB,KAAK,oBAAoB,EAC1B,MAAM,YAAY,CAAC;AAEpB,eAAO,MAAM,UAAU,yBAAyB,CAAC;AAEjD,MAAM,MAAM,kBAAkB,GAAG,oBAAoB,CAAC,sBAAsB,CAAC,CAAC;AAE9E,qBACa,sBAAuB,YAAW,aAAa,EAAE,gBAAgB;IAC5E,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,CAAC,MAAM,CAAmB;IACjC,OAAO,CAAC,IAAI,CAAY;gBAEtB,OAAO,EAAE,MAAM,EACf,OAAO,EAAE,oBAAoB,EAC7B,OAAO,EAAE,kBAAkB;IASvB,WAAW,CACf,IAAI,EAAE,MAAM,GACX,OAAO,CAAC,CAAC,oBAAoB,EAAE,eAAe,CAAC,CAAC;CAQpD"}