@kosdev-code/kos-freestyle-sdk 2.0.43 → 2.0.45

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (121) hide show
  1. package/extension-utils--qB2FP1I.js +237 -0
  2. package/extension-utils--qB2FP1I.js.map +1 -0
  3. package/extension-utils-DQSu9dSv.cjs +2 -0
  4. package/extension-utils-DQSu9dSv.cjs.map +1 -0
  5. package/index.cjs +1 -1
  6. package/index.js +43 -28
  7. package/kos-models.json +180 -0
  8. package/models/models/agitation-required-trouble/agitation-required-trouble-model.d.ts +195 -5
  9. package/models/models/agitation-required-trouble/agitation-required-trouble-model.d.ts.map +1 -1
  10. package/models/models/agitation-required-trouble/index.d.ts +4 -2
  11. package/models/models/agitation-required-trouble/index.d.ts.map +1 -1
  12. package/models/models/carb-agitator/carb-agitator-model.d.ts +296 -6
  13. package/models/models/carb-agitator/carb-agitator-model.d.ts.map +1 -1
  14. package/models/models/carb-agitator/index.d.ts +1 -1
  15. package/models/models/carb-agitator/index.d.ts.map +1 -1
  16. package/models/models/carb-agitator/services/carb-tank-services.d.ts +29 -0
  17. package/models/models/carb-agitator/services/carb-tank-services.d.ts.map +1 -0
  18. package/models/models/carb-agitator/types/index.d.ts +1 -8
  19. package/models/models/cartridge-agitator/cartridge-agitator-model.d.ts +5 -8
  20. package/models/models/cartridge-agitator/cartridge-agitator-model.d.ts.map +1 -1
  21. package/models/models/cgp-pump/cgp-pump-model.d.ts +24 -0
  22. package/models/models/cgp-pump/cgp-pump-model.d.ts.map +1 -0
  23. package/models/models/cgp-pump/index.d.ts +4 -0
  24. package/models/models/cgp-pump/index.d.ts.map +1 -0
  25. package/models/models/cgp-pump/types/index.d.ts +5 -0
  26. package/models/models/fcm-pump/fcm-pump-model.d.ts +28 -0
  27. package/models/models/fcm-pump/fcm-pump-model.d.ts.map +1 -0
  28. package/models/models/{carb-agitator/carb-agitator-registration.d.ts → fcm-pump/fcm-pump-registration.d.ts} +23 -20
  29. package/models/models/fcm-pump/fcm-pump-registration.d.ts.map +1 -0
  30. package/models/models/fcm-pump/index.d.ts +5 -0
  31. package/models/models/fcm-pump/index.d.ts.map +1 -0
  32. package/models/models/fcm-pump/services/fcm-pump-services.d.ts +17 -0
  33. package/models/models/fcm-pump/services/fcm-pump-services.d.ts.map +1 -0
  34. package/models/models/fcm-pump/services/index.d.ts +2 -0
  35. package/models/models/fcm-pump/services/index.d.ts.map +1 -0
  36. package/models/models/fcm-pump/types/index.d.ts +5 -0
  37. package/models/models/freestyle-assembly/freestyle-assembly-model.d.ts +4 -2
  38. package/models/models/freestyle-assembly/freestyle-assembly-model.d.ts.map +1 -1
  39. package/models/models/freestyle-nozzle/freestyle-nozzle-model.d.ts +5 -1
  40. package/models/models/freestyle-nozzle/freestyle-nozzle-model.d.ts.map +1 -1
  41. package/models/models/ice-agitator/ice-agitator-model.d.ts +9 -9
  42. package/models/models/ice-agitator/ice-agitator-model.d.ts.map +1 -1
  43. package/models/models/ice-agitator/index.d.ts +1 -2
  44. package/models/models/ice-agitator/index.d.ts.map +1 -1
  45. package/models/models/index.d.ts +4 -0
  46. package/models/models/index.d.ts.map +1 -1
  47. package/models/models/lfcv-pump/index.d.ts +3 -0
  48. package/models/models/lfcv-pump/index.d.ts.map +1 -0
  49. package/models/models/lfcv-pump/lfcv-pump-model.d.ts +21 -0
  50. package/models/models/lfcv-pump/lfcv-pump-model.d.ts.map +1 -0
  51. package/models/models/lfcv-pump/types/index.d.ts +5 -0
  52. package/models/models/remote-tray/remote-tray-container-model.d.ts +5 -14
  53. package/models/models/remote-tray/remote-tray-container-model.d.ts.map +1 -1
  54. package/models/models/spm-pump/index.d.ts +5 -0
  55. package/models/models/spm-pump/index.d.ts.map +1 -0
  56. package/models/models/spm-pump/services/index.d.ts +2 -0
  57. package/models/models/spm-pump/services/index.d.ts.map +1 -0
  58. package/models/models/spm-pump/services/spm-pump-services.d.ts +7 -0
  59. package/models/models/spm-pump/services/spm-pump-services.d.ts.map +1 -0
  60. package/models/models/spm-pump/spm-pump-model.d.ts +26 -0
  61. package/models/models/spm-pump/spm-pump-model.d.ts.map +1 -0
  62. package/models/models/{ice-agitator/ice-agitator-registration.d.ts → spm-pump/spm-pump-registration.d.ts} +23 -21
  63. package/models/models/spm-pump/spm-pump-registration.d.ts.map +1 -0
  64. package/models/models/spm-pump/types/index.d.ts +5 -0
  65. package/models/models/types/assembly.d.ts +7 -3
  66. package/models/models/types/assembly.d.ts.map +1 -1
  67. package/models/utils/extension-utils.d.ts +3 -0
  68. package/models/utils/extension-utils.d.ts.map +1 -1
  69. package/models/utils/extensions/assembly/assembly-data-mapper.d.ts +2 -7
  70. package/models/utils/extensions/assembly/assembly-data-mapper.d.ts.map +1 -1
  71. package/models/utils/extensions/trouble/trouble-utils.d.ts +10 -0
  72. package/models/utils/extensions/trouble/trouble-utils.d.ts.map +1 -0
  73. package/models/utils/freestyle-registration-manager.d.ts +3 -3
  74. package/models/utils/freestyle-registration-manager.d.ts.map +1 -1
  75. package/models/utils/index.d.ts +1 -0
  76. package/models/utils/index.d.ts.map +1 -1
  77. package/models/utils/openapi-index.d.ts +3 -0
  78. package/models/utils/openapi-index.d.ts.map +1 -0
  79. package/models/utils/services/freestyle/1.6.5/openapi.d.ts +1462 -0
  80. package/models/utils/services/freestyle/1.6.5/service.d.ts +122 -0
  81. package/models/utils/services/freestyle/1.6.5/service.d.ts.map +1 -0
  82. package/models/utils/services/freestyle/1.8.1/openapi.d.ts +1656 -0
  83. package/models/utils/services/freestyle/1.8.1/service.d.ts +122 -0
  84. package/models/utils/services/freestyle/1.8.1/service.d.ts.map +1 -0
  85. package/models/utils/services/freestyle/daily/openapi.d.ts +1937 -0
  86. package/models/utils/services/freestyle/daily/service.d.ts +122 -0
  87. package/models/utils/services/freestyle/daily/service.d.ts.map +1 -0
  88. package/models/utils/services/handle/1.8.1/openapi.d.ts +237 -0
  89. package/models/utils/services/handle/1.8.1/service.d.ts +122 -0
  90. package/models/utils/services/handle/1.8.1/service.d.ts.map +1 -0
  91. package/models/utils/services/handle/daily/openapi.d.ts +420 -0
  92. package/models/utils/services/handle/daily/service.d.ts +122 -0
  93. package/models/utils/services/handle/daily/service.d.ts.map +1 -0
  94. package/models/utils/services-index.d.ts +10 -0
  95. package/models/utils/services-index.d.ts.map +1 -0
  96. package/models.cjs +1 -1
  97. package/models.js +36 -21
  98. package/package.json +3 -2
  99. package/service-BuugCicr.js +1907 -0
  100. package/service-BuugCicr.js.map +1 -0
  101. package/service-DSV9Dr2d.cjs +2 -0
  102. package/service-DSV9Dr2d.cjs.map +1 -0
  103. package/ui.cjs +1 -1
  104. package/ui.js +2 -2
  105. package/{use-nutrition-info-Ca9_UnOV.js → use-nutrition-info-CPEwk_O-.js} +8 -8
  106. package/{use-nutrition-info-Ca9_UnOV.js.map → use-nutrition-info-CPEwk_O-.js.map} +1 -1
  107. package/use-nutrition-info-C_myxRvf.cjs +2 -0
  108. package/{use-nutrition-info-Bb4itG4D.cjs.map → use-nutrition-info-C_myxRvf.cjs.map} +1 -1
  109. package/extension-utils-COesmx4N.js +0 -201
  110. package/extension-utils-COesmx4N.js.map +0 -1
  111. package/extension-utils-yKcm_im8.cjs +0 -2
  112. package/extension-utils-yKcm_im8.cjs.map +0 -1
  113. package/freestyle-registration-manager-D57Lznu_.js +0 -1111
  114. package/freestyle-registration-manager-D57Lznu_.js.map +0 -1
  115. package/freestyle-registration-manager-Dx8XJMpl.cjs +0 -2
  116. package/freestyle-registration-manager-Dx8XJMpl.cjs.map +0 -1
  117. package/models/models/agitation-required-trouble/agitation-required-trouble-registration.d.ts +0 -87
  118. package/models/models/agitation-required-trouble/agitation-required-trouble-registration.d.ts.map +0 -1
  119. package/models/models/carb-agitator/carb-agitator-registration.d.ts.map +0 -1
  120. package/models/models/ice-agitator/ice-agitator-registration.d.ts.map +0 -1
  121. package/use-nutrition-info-Bb4itG4D.cjs +0 -2
@@ -1,14 +1,304 @@
1
- import { CarbAgitatorModel, CarbAgitatorOptions } from './types';
2
- import { IKosDataModel, KosCreationContext } from '@kosdev-code/kos-ui-sdk';
1
+ import { CarbAgitatorOptions } from './types';
2
+ import { ProbeAware } from '../types/assembly';
3
+ import { IKosDataModel, KosCompanionComposition, KosConfigProperty, KosCreationContext, KosFutureAwareFull, KosLoggerAware, KosModelRegistrationType, KosStateMachineAware, KosStateProp, PublicModelInterface } from '@kosdev-code/kos-ui-sdk';
4
+ import { AssemblyModel } from '@kosdev-code/kos-dispense-sdk';
3
5
 
6
+ /**
7
+ * Unique identifier for the carb agitator model type used in KOS model registration.
8
+ *
9
+ * @category Constants
10
+ */
4
11
  export declare const MODEL_TYPE = "carb-agitator-model";
5
- export declare class CarbAgitatorModelImpl implements CarbAgitatorModel, IKosDataModel {
12
+ /**
13
+ * State machine states for carb agitator initialization workflow.
14
+ *
15
+ * The carb agitator progresses through these states during setup and operation:
16
+ * - UNINITIALIZED: Initial state, awaiting user action
17
+ * - ACTIVATING: Carb tank is being initialized
18
+ * - INITIALIZED: Carb tank is ready for operation
19
+ * - SKIPPED: User chose to proceed without carbonation
20
+ *
21
+ * @category State Machine
22
+ */
23
+ export declare enum CarbAgitatorState {
24
+ /**
25
+ * Initial state before any action is taken.
26
+ * Can transition to ACTIVATING or SKIPPED.
27
+ */
28
+ UNINITIALIZED = "UNINITIALIZED",
29
+ /**
30
+ * Carb tank activation is in progress.
31
+ * Transitions to INITIALIZED when complete.
32
+ */
33
+ ACTIVATING = "ACTIVATING",
34
+ /**
35
+ * Carb tank is initialized and ready for operation.
36
+ * Can transition back to UNINITIALIZED via RESET.
37
+ */
38
+ INITIALIZED = "INITIALIZED",
39
+ /**
40
+ * User chose to skip carbonation for this workflow.
41
+ * Can transition back to UNINITIALIZED via RESET.
42
+ */
43
+ SKIPPED = "SKIPPED"
44
+ }
45
+ /**
46
+ * Events that trigger state transitions in the carb agitator state machine.
47
+ *
48
+ * - ACTIVATE: Begin carb tank activation process
49
+ * - ACTIVATION_COMPLETE: Carb tank activation finished successfully
50
+ * - SKIP: Bypass carbonation for this workflow
51
+ * - RESET: Return to uninitialized state
52
+ *
53
+ * @category State Machine
54
+ */
55
+ export type CarbAgitatorEvent = "ACTIVATE" | "ACTIVATION_COMPLETE" | "SKIP" | "RESET";
56
+ /**
57
+ * Public interface type for the carb agitator model.
58
+ *
59
+ * This type represents the public-facing API of the carb agitator model,
60
+ * exposing only public methods and properties while hiding internal implementation details.
61
+ *
62
+ * @category Types
63
+ */
64
+ export type CarbAgitatorModel = PublicModelInterface<CarbAgitatorModelImpl>;
65
+ /**
66
+ * Interface defining the capabilities of the carb agitator model implementation.
67
+ *
68
+ * This interface combines multiple KOS aware interfaces to provide:
69
+ * - Logging capabilities via KosLoggerAware
70
+ * - Probe monitoring via ProbeAware (high/low probes, filling status)
71
+ * - State machine management via KosStateMachineAware
72
+ * - Async operations via KosFutureAwareFull
73
+ * - Parent-child relationships via KosCompanionComposition
74
+ *
75
+ * @category Types
76
+ */
77
+ export interface CarbAgitatorModelImpl extends KosLoggerAware, ProbeAware, KosStateMachineAware<CarbAgitatorState, CarbAgitatorEvent>, KosFutureAwareFull, KosCompanionComposition<AssemblyModel> {
78
+ }
79
+ export declare class CarbAgitatorModelImpl implements IKosDataModel {
80
+ /**
81
+ * Registration factory for creating CarbAgitator model instances.
82
+ *
83
+ * Automatically injected by the `@kosModel` decorator.
84
+ *
85
+ * @see {@link CarbAgitator}
86
+ */
87
+ static Registration: KosModelRegistrationType<CarbAgitatorModel, CarbAgitatorOptions>;
88
+ /**
89
+ * Unique identifier for this carb agitator instance.
90
+ */
6
91
  id: string;
92
+ /**
93
+ * Display name for this carb agitator.
94
+ */
7
95
  name: string;
96
+ /**
97
+ * Device path for carb tank operations.
98
+ */
8
99
  path: string;
9
- private logger;
100
+ /**
101
+ * State path for accessing probe and filling status.
102
+ */
103
+ statePath: string;
104
+ /**
105
+ * High probe wet status indicator.
106
+ *
107
+ * Monitors whether the high-level probe in the carb tank is detecting liquid.
108
+ */
109
+ highProbeWet: KosStateProp<boolean>;
110
+ /**
111
+ * Low probe wet status indicator.
112
+ *
113
+ * Monitors whether the low-level probe in the carb tank is detecting liquid.
114
+ */
115
+ lowProbeWet: KosStateProp<boolean>;
116
+ /**
117
+ * Carb tank filling status indicator.
118
+ *
119
+ * Indicates whether the carb tank is currently being filled with liquid.
120
+ */
121
+ filling: KosStateProp<boolean>;
122
+ /**
123
+ * Configuration property controlling carb tank enable/disable state.
124
+ *
125
+ * When enabled, the carb tank is operational and carbonation is active.
126
+ * When disabled, carbonation is bypassed.
127
+ */
128
+ enabled: KosConfigProperty<boolean>;
129
+ /**
130
+ * Creates a new carb agitator model instance.
131
+ *
132
+ * @param modelId - Unique identifier for this instance
133
+ * @param options - Configuration options including name
134
+ * @param context - KOS creation context providing assembly paths
135
+ */
10
136
  constructor(modelId: string, options: CarbAgitatorOptions, context: KosCreationContext);
11
- init(): Promise<void>;
12
- load(): Promise<void>;
137
+ /**
138
+ * Gets the carb holder associated with this agitator.
139
+ *
140
+ * Retrieves the first holder from the "carb" group in the parent assembly.
141
+ *
142
+ * @returns The carb holder model, or undefined if not found
143
+ */
144
+ get holder(): import('@kosdev-code/kos-dispense-sdk').HolderModel<any>;
145
+ /**
146
+ * Gets the pump associated with the carb holder.
147
+ *
148
+ * Returns the first pump from the holder's pump collection.
149
+ *
150
+ * @returns The pump model, or undefined if holder or pump not available
151
+ */
152
+ get pump(): import('@kosdev-code/kos-dispense-sdk').PumpModel<any>;
153
+ /**
154
+ * Indicates whether the carb tank is currently being filled.
155
+ *
156
+ * @returns true if the filling state property indicates active filling
157
+ */
158
+ get isFilling(): boolean;
159
+ /**
160
+ * Indicates whether the carb tank has been initialized.
161
+ *
162
+ * @returns true if the carb tank enabled configuration is set to true
163
+ */
164
+ get isCarbInitialized(): boolean;
165
+ /**
166
+ * Indicates whether carb tank activation is allowed.
167
+ *
168
+ * Activation is only allowed when the carb tank is not already enabled.
169
+ *
170
+ * @returns true if the carb tank can be activated
171
+ */
172
+ get canActivate(): boolean;
173
+ /**
174
+ * Indicates whether the workflow can proceed past carb initialization.
175
+ *
176
+ * The workflow can proceed when the state machine is in either INITIALIZED
177
+ * (carb tank activated) or SKIPPED (user chose to bypass carbonation).
178
+ *
179
+ * @returns true if ready to proceed with beverage operations
180
+ */
181
+ get canProceed(): boolean;
182
+ /**
183
+ * State entry handler when entering ACTIVATING state.
184
+ *
185
+ * Logs the start of carb tank activation process.
186
+ *
187
+ * @internal
188
+ */
189
+ handleActivationStart(): void;
190
+ /**
191
+ * State exit handler when leaving ACTIVATING state.
192
+ *
193
+ * Logs successful completion of carb tank initialization.
194
+ *
195
+ * @internal
196
+ */
197
+ handleActivationComplete(): void;
198
+ /**
199
+ * State entry handler when entering INITIALIZED state.
200
+ *
201
+ * Logs that the carb tank is ready for beverage operations.
202
+ *
203
+ * @internal
204
+ */
205
+ handleInitialized(): void;
206
+ /**
207
+ * State entry handler when entering SKIPPED state.
208
+ *
209
+ * Logs that the user has chosen to proceed without carbonation.
210
+ *
211
+ * @internal
212
+ */
213
+ handleSkipped(): void;
214
+ /**
215
+ * Activates the carb tank and transitions through initialization workflow.
216
+ *
217
+ * This method:
218
+ * 1. Transitions to ACTIVATING state
219
+ * 2. Updates the enabled configuration property to true
220
+ * 3. Transitions to INITIALIZED state
221
+ *
222
+ * Can only be called when in UNINITIALIZED state (enforced by state guard).
223
+ *
224
+ * @throws {Error} If called from an invalid state
225
+ */
226
+ activateCarbTank(): Promise<void>;
227
+ /**
228
+ * Deactivates the carb tank and resets to uninitialized state.
229
+ *
230
+ * This method:
231
+ * 1. Updates the enabled configuration property to false
232
+ * 2. Transitions back to UNINITIALIZED state
233
+ *
234
+ * Can be called from any state.
235
+ */
236
+ deactivateCarbTank(): Promise<void>;
237
+ /**
238
+ * Skips carb tank initialization and proceeds without carbonation.
239
+ *
240
+ * Allows the workflow to continue without activating the carb tank.
241
+ * Transitions from UNINITIALIZED to SKIPPED state.
242
+ *
243
+ * Can only be called when in UNINITIALIZED state (enforced by state guard).
244
+ *
245
+ * @throws {Error} If called from an invalid state
246
+ */
247
+ skip(): void;
248
+ /**
249
+ * Resets the carb tank to uninitialized state.
250
+ *
251
+ * This method:
252
+ * 1. Updates the enabled configuration property to false
253
+ * 2. Transitions back to UNINITIALIZED state
254
+ *
255
+ * Can only be called when in INITIALIZED or SKIPPED states (enforced by state guard).
256
+ *
257
+ * @throws {Error} If called from an invalid state
258
+ */
259
+ reset(): void;
260
+ /**
261
+ * Toggles the carb tank between enabled and disabled states.
262
+ *
263
+ * If currently enabled, calls {@link deactivateCarbTank}.
264
+ * If currently disabled, calls {@link activateCarbTank}.
265
+ */
266
+ toggleCarbTank(): void;
267
+ /**
268
+ * Tests the carb tank operation and returns a future for tracking progress.
269
+ *
270
+ * Initiates a carb tank test operation on the device and returns a future
271
+ * that can be monitored for progress and completion status.
272
+ *
273
+ * @param tracker - Future tracker ID (injected by @kosFuture decorator)
274
+ * @returns Promise resolving to a FutureResponse for operation tracking
275
+ * @throws {Error} If tracker is not provided by the decorator
276
+ */
277
+ handleTestCarbTank(tracker?: string): Promise<import('@kosdev-code/kos-ui-sdk').FutureResponse>;
13
278
  }
279
+ /**
280
+ * Registration factory for creating CarbAgitator model instances.
281
+ *
282
+ * Use this constant to create new carb agitator instances using the fluent factory pattern.
283
+ *
284
+ * @example
285
+ * ```typescript
286
+ * // Create a new carb agitator model
287
+ * const carbAgitator = CarbAgitator
288
+ * .instance("carb-agitator-1")
289
+ * .options({ name: "Carb Tank" })
290
+ * .build();
291
+ *
292
+ * // Activate carb tank
293
+ * await carbAgitator.activateCarbTank();
294
+ *
295
+ * // Check readiness
296
+ * if (carbAgitator.canProceed) {
297
+ * console.log("Ready for beverage operations");
298
+ * }
299
+ * ```
300
+ *
301
+ * @category Models
302
+ */
303
+ export declare const CarbAgitator: KosModelRegistrationType<CarbAgitatorModel, CarbAgitatorOptions>;
14
304
  //# sourceMappingURL=carb-agitator-model.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"carb-agitator-model.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-freestyle-sdk/src/models/models/carb-agitator/carb-agitator-model.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,aAAa,EAEb,kBAAkB,EACnB,MAAM,yBAAyB,CAAC;AAEjC,OAAO,KAAK,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAEtE,eAAO,MAAM,UAAU,wBAAwB,CAAC;AAEhD,qBACa,qBAAsB,YAAW,iBAAiB,EAAE,aAAa;IAC5E,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IAEb,OAAO,CAAC,MAAM,CAAmB;gBAE/B,OAAO,EAAE,MAAM,EACf,OAAO,EAAE,mBAAmB,EAC5B,OAAO,EAAE,kBAAkB;IAavB,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;IAIrB,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;CAG5B"}
1
+ {"version":3,"file":"carb-agitator-model.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-freestyle-sdk/src/models/models/carb-agitator/carb-agitator-model.ts"],"names":[],"mappings":"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"}
@@ -1,3 +1,3 @@
1
- export { CarbAgitator } from './carb-agitator-registration';
1
+ export { CarbAgitator, type CarbAgitatorModel } from './carb-agitator-model';
2
2
  export type * from './types';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-freestyle-sdk/src/models/models/carb-agitator/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAE5D,mBAAmB,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-freestyle-sdk/src/models/models/carb-agitator/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,KAAK,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE7E,mBAAmB,SAAS,CAAC"}
@@ -0,0 +1,29 @@
1
+ import { FutureResponse } from '@kosdev-code/kos-ui-sdk';
2
+
3
+ /**
4
+ * Initiates a carb tank test operation on the device.
5
+ *
6
+ * Sends a test command to the carb tank hardware at the specified path and returns
7
+ * a future response that can be used to track the test operation's progress and
8
+ * completion status.
9
+ *
10
+ * @param path - Device path to the carb tank hardware (e.g., "assembly:core:board:macksm:carbTank:carbTank")
11
+ * @param tracker - Future tracker ID for monitoring operation progress
12
+ * @returns Promise resolving to a FutureResponse for operation tracking
13
+ * @throws {Error} If the server returns no response data
14
+ *
15
+ * @example
16
+ * ```typescript
17
+ * const future = await testCarbTank(
18
+ * "assembly:core:board:macksm:carbTank:carbTank",
19
+ * "tracker-123"
20
+ * );
21
+ *
22
+ * // Monitor future progress
23
+ * console.log(`Test status: ${future.status}`);
24
+ * ```
25
+ *
26
+ * @category Services
27
+ */
28
+ export declare const testCarbTank: (path: string, tracker: string) => Promise<FutureResponse>;
29
+ //# sourceMappingURL=carb-tank-services.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"carb-tank-services.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/sdk/kos-freestyle-sdk/src/models/models/carb-agitator/services/carb-tank-services.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAIL,KAAK,cAAc,EAEpB,MAAM,yBAAyB,CAAC;AAYjC;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,eAAO,MAAM,YAAY,SAAgB,MAAM,WAAW,MAAM,4BAY/D,CAAC"}
@@ -1,14 +1,7 @@
1
- import { IKosIdentifiable } from '@kosdev-code/kos-ui-sdk';
2
-
3
-
4
1
  export interface CarbAgitatorOptions {
5
2
  name: string;
6
3
  path: string;
7
- }
8
-
9
- export interface CarbAgitatorModel extends IKosIdentifiable {
10
- name: string;
11
- path: string;
4
+ statePath: string;
12
5
  }
13
6
 
14
7
  export {};
@@ -1,5 +1,5 @@
1
1
  import { CartridgeAgitatorOptions } from './types';
2
- import { ExternalFutureInterface, FutureAwareContainer, IKosDataModel, IKosIdentifiable, KosCreationContext, PublicModelInterface } from '@kosdev-code/kos-ui-sdk';
2
+ import { ExternalFutureInterface, IKosDataModel, IKosIdentifiable, KosFutureAwareFull, KosLoggerAware, PublicModelInterface } from '@kosdev-code/kos-ui-sdk';
3
3
 
4
4
  export declare const MODEL_TYPE = "cartridge-agitator-model";
5
5
  export type CartridgeAgitatorModel = PublicModelInterface<CartridgeAgitatorModelImpl> & ExternalFutureInterface;
@@ -7,20 +7,17 @@ export declare class CartridgeAgitatorEvents {
7
7
  static TOPIC_AGITATION_STARTED: string;
8
8
  static TOPIC_AGITATION_ENDED: string;
9
9
  }
10
+ export interface CartridgeAgitatorModelImpl extends KosFutureAwareFull, KosLoggerAware {
11
+ }
10
12
  export declare class CartridgeAgitatorModelImpl implements IKosDataModel, IKosIdentifiable {
11
13
  id: string;
12
- futureHandler: FutureAwareContainer;
13
- private logger;
14
- private disposer?;
15
14
  private agitating;
16
15
  path: string;
17
16
  statePath: string;
18
17
  name: string;
19
- constructor(modelId: string, options: CartridgeAgitatorOptions, context: KosCreationContext);
18
+ constructor(modelId: string, options: CartridgeAgitatorOptions);
20
19
  get isAgitating(): boolean;
21
20
  testAgitate(tracker?: string): Promise<import('@kosdev-code/kos-ui-sdk').FutureResponse>;
22
- init(): Promise<void>;
23
- unload(): void;
24
- load(): Promise<void>;
21
+ handleAgitation(): void;
25
22
  }
26
23
  //# sourceMappingURL=cartridge-agitator-model.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"cartridge-agitator-model.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-freestyle-sdk/src/models/models/cartridge-agitator/cartridge-agitator-model.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,uBAAuB,EACvB,oBAAoB,EACpB,aAAa,EACb,gBAAgB,EAEhB,kBAAkB,EAElB,oBAAoB,EACrB,MAAM,yBAAyB,CAAC;AAWjC,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAC;AAExD,eAAO,MAAM,UAAU,6BAA6B,CAAC;AAErD,MAAM,MAAM,sBAAsB,GAChC,oBAAoB,CAAC,0BAA0B,CAAC,GAAG,uBAAuB,CAAC;AAE7E,qBAAa,uBAAuB;IAClC,MAAM,CAAC,uBAAuB,SAAuC;IACrE,MAAM,CAAC,qBAAqB,SAAqC;CAClE;AAED,qBACa,0BACX,YAAW,aAAa,EAAE,gBAAgB;IAE1C,EAAE,EAAE,MAAM,CAAC;IACJ,aAAa,EAAG,oBAAoB,CAAC;IAC5C,OAAO,CAAC,MAAM,CAAmB;IACjC,OAAO,CAAC,QAAQ,CAAC,CAAe;IAEhC,OAAO,CAAC,SAAS,CAAyB;IAC1C,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;gBAEX,OAAO,EAAE,MAAM,EACf,OAAO,EAAE,wBAAwB,EACjC,OAAO,EAAE,kBAAkB;IAY7B,IAAI,WAAW,IAAI,OAAO,CAEzB;IAGK,WAAW,CAAC,OAAO,CAAC,EAAE,MAAM;IAY5B,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;IAI3B,MAAM;IAIA,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;CAoB5B"}
1
+ {"version":3,"file":"cartridge-agitator-model.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-freestyle-sdk/src/models/models/cartridge-agitator/cartridge-agitator-model.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,uBAAuB,EACvB,aAAa,EACb,gBAAgB,EAChB,kBAAkB,EAClB,cAAc,EAEd,oBAAoB,EACrB,MAAM,yBAAyB,CAAC;AAYjC,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAC;AAExD,eAAO,MAAM,UAAU,6BAA6B,CAAC;AAErD,MAAM,MAAM,sBAAsB,GAChC,oBAAoB,CAAC,0BAA0B,CAAC,GAAG,uBAAuB,CAAC;AAE7E,qBAAa,uBAAuB;IAClC,MAAM,CAAC,uBAAuB,SAAuC;IACrE,MAAM,CAAC,qBAAqB,SAAqC;CAClE;AAGD,MAAM,WAAW,0BACf,SAAQ,kBAAkB,EACxB,cAAc;CAAG;AAGrB,qBAGa,0BACX,YAAW,aAAa,EAAE,gBAAgB;IAE1C,EAAE,EAAE,MAAM,CAAC;IAEX,OAAO,CAAC,SAAS,CAAyB;IAC1C,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;gBACD,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,wBAAwB;IAQ9D,IAAI,WAAW,IAAI,OAAO,CAEzB;IAGK,WAAW,CAAC,OAAO,CAAC,EAAE,MAAM;IAclC,eAAe;CAahB"}
@@ -0,0 +1,24 @@
1
+ import { ProbeAware } from '../types/assembly';
2
+ import { PumpModel } from '@kosdev-code/kos-dispense-sdk';
3
+ import { CgpPumpOptions } from './types';
4
+ import { IKosDataModel, IKosIdentifiable, KosCompanionComposition, KosLoggerAware, KosModelRegistrationType, KosStateProp, PublicModelInterface } from '@kosdev-code/kos-ui-sdk';
5
+
6
+ export declare const MODEL_TYPE = "cgp-pump-model";
7
+ export type CgpPumpModel = PublicModelInterface<CgpPumpModelImpl>;
8
+ export interface CgpPumpModelImpl extends KosLoggerAware, ProbeAware, KosCompanionComposition<PumpModel> {
9
+ }
10
+ export declare class CgpPumpModelImpl implements IKosDataModel, IKosIdentifiable {
11
+ static Registration: KosModelRegistrationType<CgpPumpModel, CgpPumpOptions>;
12
+ highProbeWet: KosStateProp<boolean>;
13
+ lowProbeWet: KosStateProp<boolean>;
14
+ filling: KosStateProp<boolean>;
15
+ id: string;
16
+ state: {
17
+ name: string;
18
+ path: string;
19
+ };
20
+ constructor(modelId: string, options: CgpPumpOptions);
21
+ get statePath(): string;
22
+ }
23
+ export declare const CgpPump: KosModelRegistrationType<CgpPumpModel, CgpPumpOptions>;
24
+ //# sourceMappingURL=cgp-pump-model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cgp-pump-model.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-freestyle-sdk/src/models/models/cgp-pump/cgp-pump-model.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,aAAa,EACb,gBAAgB,EAChB,uBAAuB,EACvB,cAAc,EACd,wBAAwB,EACxB,YAAY,EACZ,oBAAoB,EACrB,MAAM,yBAAyB,CAAC;AASjC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAE9C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAC;AAC/D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAEpD,eAAO,MAAM,UAAU,mBAAmB,CAAC;AAE3C,MAAM,MAAM,YAAY,GAAG,oBAAoB,CAAC,gBAAgB,CAAC,CAAC;AAGlE,MAAM,WAAW,gBACf,SAAQ,cAAc,EACpB,UAAU,EACV,uBAAuB,CAAC,SAAS,CAAC;CAAG;AAGzC,qBAKa,gBAAiB,YAAW,aAAa,EAAE,gBAAgB;IAEtE,MAAM,CAAC,YAAY,EAAE,wBAAwB,CAAC,YAAY,EAAE,cAAc,CAAC,CAAC;IAM5E,YAAY,EAAG,YAAY,CAAC,OAAO,CAAC,CAAC;IAMrC,WAAW,EAAG,YAAY,CAAC,OAAO,CAAC,CAAC;IAMpC,OAAO,EAAG,YAAY,CAAC,OAAO,CAAC,CAAC;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC;gBAE1B,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,cAAc;IAMpD,IAAI,SAAS,WAEZ;CACF;AAED,eAAO,MAAM,OAAO,wDAAgC,CAAC"}
@@ -0,0 +1,4 @@
1
+ export type { CgpPumpModel } from './cgp-pump-model';
2
+ export type * from './types';
3
+ export { CgpPump } from './cgp-pump-model';
4
+ //# 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/cgp-pump/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AACrD,mBAAmB,SAAS,CAAC;AAE7B,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { IKosCompanionOptions } from '@kosdev-code/kos-ui-sdk';
2
+ import { PumpModel, PumpOptions } from '@kosdev-code/kos-dispense-sdk';
3
+
4
+
5
+ export type CgpPumpOptions = IKosCompanionOptions<PumpModel, PumpOptions>;
@@ -0,0 +1,28 @@
1
+ import { FcmPumpOptions } from './types';
2
+ import { FutureAwareContainer, FutureContainer, FutureResponse, IKosDataModel, IKosIdentifiable, KosCreationContext, PublicModelInterface } from '@kosdev-code/kos-ui-sdk';
3
+ import { IntentAware, IntentAwareProps } from '@kosdev-code/kos-dispense-sdk';
4
+
5
+ export declare const MODEL_TYPE = "fcm-pump-model";
6
+ export type FcmPumpModel = PublicModelInterface<FcmPumpModelImpl>;
7
+ export declare class FcmPumpModelImpl implements IKosDataModel, IKosIdentifiable, IntentAware, FutureContainer {
8
+ id: string;
9
+ private logger;
10
+ private pumpModel;
11
+ futureHandler: FutureAwareContainer;
12
+ constructor(modelId: string, options: FcmPumpOptions, context: KosCreationContext);
13
+ get future(): import('@kosdev-code/kos-ui-sdk').IFutureModel<Record<string, unknown>> | undefined;
14
+ get name(): string;
15
+ get canPour(): boolean;
16
+ get isPouring(): boolean;
17
+ cancelPour(): Promise<void>;
18
+ performIntent(props: IntentAwareProps | string): Promise<FutureResponse | undefined>;
19
+ performElectricalTest(): Promise<import('./services').ElectricalTestData>;
20
+ getChildren(): import('@kosdev-code/kos-ui-sdk').IFutureModel<Record<string, unknown>>[];
21
+ performPreCalibrate(tracker?: string): Promise<FutureResponse>;
22
+ performCalibrate(tracker?: string): Promise<FutureResponse>;
23
+ performVerify(volume: string, tracker?: string): Promise<FutureResponse>;
24
+ performComplete(volume1: string, volume2: string): Promise<string | undefined>;
25
+ init(): Promise<void>;
26
+ load(): Promise<void>;
27
+ }
28
+ //# sourceMappingURL=fcm-pump-model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fcm-pump-model.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-freestyle-sdk/src/models/models/fcm-pump/fcm-pump-model.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,WAAW,EACX,gBAAgB,EAEjB,MAAM,+BAA+B,CAAC;AACvC,OAAO,KAAK,EACV,oBAAoB,EACpB,eAAe,EACf,cAAc,EACd,aAAa,EACb,gBAAgB,EAEhB,kBAAkB,EAClB,oBAAoB,EACrB,MAAM,yBAAyB,CAAC;AAcjC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAE9C,eAAO,MAAM,UAAU,mBAAmB,CAAC;AAI3C,MAAM,MAAM,YAAY,GAAG,oBAAoB,CAAC,gBAAgB,CAAC,CAAC;AAElE,qBACa,gBACX,YAAW,aAAa,EAAE,gBAAgB,EAAE,WAAW,EAAE,eAAe;IAExE,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,CAAC,MAAM,CAAmB;IACjC,OAAO,CAAC,SAAS,CAAY;IAC7B,aAAa,EAAE,oBAAoB,CAAC;gBAElC,OAAO,EAAE,MAAM,EACf,OAAO,EAAE,cAAc,EACvB,OAAO,EAAE,kBAAkB;IAQ7B,IAAI,MAAM,wFAET;IAED,IAAI,IAAI,WAEP;IAED,IAAI,OAAO,YAEV;IAED,IAAI,SAAS,YAEZ;IAEK,UAAU;IAIhB,aAAa,CACX,KAAK,EAAE,gBAAgB,GAAG,MAAM,GAC/B,OAAO,CAAC,cAAc,GAAG,SAAS,CAAC;IAIhC,qBAAqB;IAS3B,WAAW;IAML,mBAAmB,CAAC,OAAO,CAAC,EAAE,MAAM;IAKpC,gBAAgB,CAAC,OAAO,CAAC,EAAE,MAAM;IAKjC,aAAa,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM;IAI9C,eAAe,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM;IAMhD,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;IAIrB,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;CAG5B"}
@@ -1,10 +1,11 @@
1
- import { CarbAgitatorModel, CarbAgitatorOptions } from './types';
1
+ import { FcmPumpModel } from './fcm-pump-model';
2
+ import { FcmPumpOptions } from './types';
2
3
  import { KosModelRegistrationFactory } from '@kosdev-code/kos-ui-sdk';
3
4
 
4
5
  /**
5
- * # CarbAgitator
6
+ * # FcmPump
6
7
  *
7
- * The registration bean includes convenience methods for creating and working with CarbAgitatorModel instances.
8
+ * The registration bean includes convenience methods for creating and working with FcmPumpModel instances.
8
9
  *
9
10
  * ## type
10
11
  * The type property is a string that identifies the model type.
@@ -14,14 +15,14 @@ import { KosModelRegistrationFactory } from '@kosdev-code/kos-ui-sdk';
14
15
  * @example
15
16
  * ```typescript
16
17
  *
17
- * @kosDependency({modelType: CarbAgitator.type, id: "carbAgitatorId"})
18
- * private carbAgitatorModel: CarbAgitatorModel;
18
+ * @kosDependency({modelType: FcmPump.type, id: "fcmPumpId"})
19
+ * private fcmPumpModel: FcmPumpModel;
19
20
  * ```
20
21
  *
21
22
  *
22
23
  * ## factory
23
24
  *
24
- * The factory method creates a factory function that can be used to create new CarbAgitatorModel instances.
25
+ * The factory method creates a factory function that can be used to create new FcmPumpModel instances.
25
26
  *
26
27
 
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.
@@ -31,7 +32,7 @@ import { KosModelRegistrationFactory } from '@kosdev-code/kos-ui-sdk';
31
32
  *
32
33
  * @example
33
34
  * ```typescript
34
- * const model = CarbAgitator.factory("carbAgitatorId")({
35
+ * const model = FcmPump.factory("fcmPumpId")({
35
36
  * // Add option data
36
37
  * });
37
38
  * ```
@@ -40,16 +41,16 @@ import { KosModelRegistrationFactory } from '@kosdev-code/kos-ui-sdk';
40
41
  *
41
42
  * ## predicate
42
43
  *
43
- * [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 CarbAgitatorModel.
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.
44
45
  *
45
46
  * @example
46
47
  * ```typescript
47
48
  *
48
49
  * const model: IKosDataModel = ...; // some model
49
50
  *
50
- * if (CarbAgitator.predicate(model)) {
51
- * // if the function evaluates to true, the model is narrowed down to CarbAgitatorModel
52
- * // and the compiler will know that the model has the CarbAgitatorModel interface
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
53
54
  * model.updateAvailability(false);
54
55
  * }
55
56
  * ```
@@ -66,19 +67,21 @@ import { KosModelRegistrationFactory } from '@kosdev-code/kos-ui-sdk';
66
67
  *
67
68
  * **registration.ts**
68
69
  * ```typescript
69
- * import { CarbAgitator } from "@kos-ui/kos-dispenser-model";
70
- * ...
71
- * import { ExtensionManager, IKosRegistry } from "@kosdev-code/kos-ui-sdk";
72
- * export const kosModels: IKosRegistry["models"] = {
73
- * ...CarbAgitator.registration,
74
- * };
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);
75
78
  * ```
76
79
  *
77
80
  * ## registration.singleton
78
81
 
79
- * The carbAgitator 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.
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.
80
83
  * If the factory function is called with an ID that already exists, the existing model will be returned.
81
84
 
82
85
  * */
83
- export declare const CarbAgitator: KosModelRegistrationFactory<CarbAgitatorModel, CarbAgitatorOptions>;
84
- //# sourceMappingURL=carb-agitator-registration.d.ts.map
86
+ export declare const FcmPump: KosModelRegistrationFactory<FcmPumpModel, FcmPumpOptions>;
87
+ //# sourceMappingURL=fcm-pump-registration.d.ts.map
@@ -0,0 +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"}
@@ -0,0 +1,5 @@
1
+ export { FcmPump } from './fcm-pump-registration';
2
+ export type * from './types';
3
+ export type { FcmPumpModel } from './fcm-pump-model';
4
+ export * as FcmPumpServices from './services';
5
+ //# 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/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"}
@@ -0,0 +1,17 @@
1
+ import { FutureResponse } from '@kosdev-code/kos-ui-sdk';
2
+
3
+ export type ElectricalTestErrorType = "errEEPROM" | "unknownError";
4
+ export type ElectricalTestData = {
5
+ error?: ElectricalTestErrorType;
6
+ result?: string;
7
+ };
8
+ export type ElectricalTestResponse = [
9
+ ElectricalTestErrorType | undefined,
10
+ ElectricalTestData
11
+ ];
12
+ export declare const performElectricalTest: (path: string) => Promise<ElectricalTestResponse>;
13
+ export declare const performPreCalibrate: (pump: string, tracker?: string) => Promise<FutureResponse>;
14
+ export declare const performCalibrate: (pump: string, tracker?: string) => Promise<FutureResponse>;
15
+ 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>;
17
+ //# sourceMappingURL=fcm-pump-services.d.ts.map
@@ -0,0 +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"}
@@ -0,0 +1,2 @@
1
+ export * from './fcm-pump-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/fcm-pump/services/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { IKosCompanionOptions } from '@kosdev-code/kos-ui-sdk';
2
+ import { PumpModel, PumpOptions } from '@kosdev-code/kos-dispense-sdk';
3
+
4
+
5
+ export type FcmPumpOptions = IKosCompanionOptions<PumpModel, PumpOptions>;