@bikefinder/sdk 0.5.0 → 0.7.0

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.
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Generated REST and SignalR clients for the [API service](../../services/api/README.md). Hey API generates named HTTP methods, types and Zod validation from OpenAPI. TypedSignalR.Client.TypeScript generates hub proxies from C# interfaces implemented by the server. The official `@microsoft/signalr` client owns streaming and connection management.
4
4
 
5
- This package starts at **0.1.0** and remains prelaunch. It replaces the experimental
5
+ This package remains prelaunch. It replaces the experimental
6
6
  `@bikefinder/api-client` package so **1.0.0** can mark the eventual stable launch.
7
7
  Pin exact versions during development. Existing consumers of the old package
8
8
  continue to work; renaming the package does not change the API's `/v1` paths.
@@ -58,7 +58,7 @@ The handwritten entry point only configures clients, authentication and disposal
58
58
 
59
59
  Hey API owns all settings and observation value types. The public `DeviceSettings` export is the generated request type; `ObservationFact` combines catalog-defined metric names/IDs with the generated `Observation` value for that metric. Its known fields stay typed while read models allow additive fields. `generate-device-sdk.mjs` emits protocol schema/catalog data and workflow descriptors; it does not compile another set of settings or observation interfaces. No second schema-to-TypeScript compiler is required.
60
60
 
61
- Staff diagnostics use the same tracker inventory ID as `getStaffTracker`. Use `requests.readStaffTrackerObservations({path: {id}, query: {series: observationSeriesQuery([{definitionId, subject?}])}})` for current values, `getStaffTrackerSettings` to read settings, and `updateStaffTrackerSettings` to patch typed settings with an expected version. Import `observationSeriesQuery` from this package. These reads use GET; account batches use `readStaffAccounts({query: {ids}})`. `getStaffTrackerCommandCatalog` returns definitions and availability together. The generated `staffRealtime.hub.watchObservations`, `watchCommand(id, operationId)` and `watchSettings` methods return native SignalR streams. Staff tracker pages accept `StaffTrackerPageRequest` with an optional exact `selection`, matching REST filters. See the [tracker diagnostics map](../../docs/api/aws.md) for database, identity and acceptance semantics.
61
+ Staff diagnostics use the same tracker inventory ID as `getStaffTracker`. Use `requests.readStaffTrackerObservations({path: {id}, body: {series: [{definitionId, subject?}]}})` for current values, `getStaffTrackerSettings` to read settings, and `updateStaffTrackerSettings` to patch typed settings with an expected version. Current observation reads use POST with the same JSON selection as their realtime subscriptions; account batches use GET with `readStaffAccounts({query: {ids}})`. `getStaffTrackerCommandCatalog` returns definitions and availability together. The generated `staffRealtime.hub.watchObservations`, `watchCommand(id, operationId)` and `watchSettings` methods return native SignalR streams. Staff tracker pages accept `StaffTrackerPageRequest` with an optional exact `selection`, matching REST filters. See the [tracker diagnostics map](../../docs/api/diagnostics.md) for database, identity and acceptance semantics.
62
62
 
63
63
  Command and firmware acceptance returns `202` with a `Location` status URL. Recover a command with `getStaffTrackerCommand({path: {id, operationId}})` using the original caller-generated UUID; its numeric hardware request ID is receipt evidence. Do not allocate a new UUID after an uncertain write. SDK 0.2 introduced the tracker resource layout; SDK 0.3 standardizes legacy LTE states (`queued`, `dispatched`, `expired`) and request kinds (`queue`, `cancel`) on lower-case strings. Firmware enum inputs accept strings, with numeric inputs rejected. Consumers must pin the matching prelaunch release.
64
64
 
@@ -69,7 +69,7 @@ The runtime requires standard Fetch, Request, Blob, AbortController and `AbortSi
69
69
  The [protocol ownership guide](../../protocol/README.md) identifies the source
70
70
  for each contract and the upstream generation steps. Edit those sources before
71
71
  regenerating this client. `openapi/api.json`, `src/generated`, `src/signalr`,
72
- `src/device-schema.ts` and `src/workflow-schema.ts` are generated outputs required
72
+ `src/device-schema.ts` and `src/acquisition-schema.ts` are generated outputs required
73
73
  by the client build and consumers.
74
74
 
75
75
  From the repository root:
@@ -100,7 +100,11 @@ repository `aws_cloud`, workflow `publish-client.yml`, with direct `npm publish`
100
100
  allowed and no environment name. This account setup is performed once in the
101
101
  package's npm settings. See [npm trusted publishing](https://docs.npmjs.com/trusted-publishers/).
102
102
 
103
- Command HTTP reads return `AwsCommand`; command subscriptions return `AwsCommandUpdate` with a command or an explicit read issue. Requests, broker publication and `execution.accepted`/`execution.completed` are distinct stages on that resource. There is no separate command-result observation endpoint. A completion includes a typed response data union and authenticated receipt time.
103
+ Command HTTP reads return `TrackerCommand`; command subscriptions return `CommandUpdate` with a command or an explicit read issue. Requests, broker publication and `execution.completed` are distinct stages on that resource. A completion includes its outcome, unavailable observation names and authenticated receipt time. Command output values are separate typed observations delivered through the observation endpoints and streams.
104
+
105
+ Version **0.7.0** reads selected current observations with a typed JSON body instead of repeated URL parameters. Pass `{path: {id}, body: {series: [{definitionId, subject?}]}}` to `readStaffTrackerObservations`. All registered observations, including request-scoped command events, support latest-value reads and streams. Observation `requestId` metadata is retained when recorded; older facts may lack it.
106
+
107
+ Version **0.6.0** aligned command receipts and independent domain observations. Consumers upgrading from 0.5 must read command output from the observation stream instead of a nested response-data union. `execution.accepted` is removed; use `publishedAt` for broker publication and `execution.completed` for the terminal device result.
104
108
 
105
109
  ## Observation timestamps
106
110
 
@@ -110,29 +114,18 @@ sequence information. Distinct rows can have identical capture timestamps;
110
114
  clients must not infer physical ordering from their IDs. History can contain
111
115
  separate rows for an at-least-once delivery of the same reading.
112
116
 
113
- Settings responses use the API-owned `AwsSettingsSnapshot` for HTTP and SignalR: read typed `desired`, `reported`, `application`, capabilities and schema/version evidence directly. `readIssues` identifies stored values the API could not interpret. The resource does not expose the underlying AWS shadow document or its independent owners. Settings fields and bounds come from the same protocol registry as the firmware.
117
+ Settings responses use the API-owned `SettingsSnapshot` for HTTP and SignalR: read typed `desired`, `reported`, `application`, capabilities and schema/version evidence directly. `readIssues` identifies stored values the API could not interpret. The resource does not expose the underlying AWS shadow document or its independent owners. Settings fields and bounds come from the same protocol registry as the firmware.
114
118
 
115
- Command reads validate stored identity, catalog arguments, artifacts, and execution evidence. A malformed single-command read returns `command_unreadable`; command pages keep valid items and attach per-request `readIssues`. Both command streams emit `AwsCommandUpdate` with either a validated `command` or a `readIssue`, allowing subsequent events to continue.
119
+ Command reads validate stored identity, catalog arguments, artifacts, and execution evidence. A malformed single-command read returns `command_unreadable`; command pages keep valid items and attach per-request `readIssues`. Both command streams emit `CommandUpdate` with either a validated `command` or a `readIssue`, allowing subsequent events to continue.
116
120
 
117
121
  ## Current API contract
118
122
 
119
- SDK 0.5.0 uses settings schema 34. Position requests and positioning schedules
120
- have dedicated HTTP methods, and movement-alert preferences belong to tracker
121
- preferences. Firmware mode selectors, per-mode timers and command-listening
122
- settings are removed. Use `requestStaffTrackerPosition`,
123
- `getStaffTrackerPositioning` and `setStaffTrackerPositioningSchedule` for staff
124
- positioning controls. Deploy the matching API before updating consumers.
125
-
126
- SDK 0.4.0 removes insurance contract/attempt methods, provider value types and subscription `tier` fields. Ordinary subscription reads and allocation remain. Deploy the matching API with this SDK release.
127
-
128
- The shared `ObservationSeries` type replaces `AwsObservationSeries` in selections and current readings. Its JSON fields remain `definitionId` and optional `subject`; HTTP and SignalR use the same package-owned identity.
129
-
130
- The API has no external consumers. The owner approved breaking changes during this simplification; the published 0.1.x SDK is not a compatibility baseline. Update the API and generated SDK together. No legacy response wrappers or parallel versioned route tree are retained.
123
+ Generate HTTP methods and response schemas from the API-owned OpenAPI contract. Use the same explicit models for HTTP and SignalR: `TrackerCommand`, `CommandUpdate`, `ObservationSelection`, `SettingsSnapshot` and `FirmwareArtifact`. Deploy the matching API before updating consumers to a changed contract.
131
124
 
132
- Observation history and events use the shared typed Observation union, discriminated by its catalog-defined type string. Current readings contain the selected series and a nullable typed CurrentObservation. Null means that no current reading exists. HTTP and SignalR use these same models.
125
+ Position requests, positioning schedules and movement-alert preferences have separate typed request contracts. The protocol registry owns settings fields and bounds; the runtime schema endpoints expose the deployed definitions. Firmware mode selectors, per-mode timers and command-listening settings are retired.
133
126
 
134
- Request validation stays strict and response validation checks known fields without dropping additions. Position requests, server schedules and movement-alert preferences have independent typed request contracts. Protocol schemas still own value bounds, subject rules, conditional constraints and presentation metadata.
127
+ Observation history and events use the catalog-discriminated `Observation` union. Current readings identify a selected series and a nullable typed `CurrentObservation`; null means that no current reading exists. Request validation is strict. Response validation checks known fields while preserving additions.
135
128
 
136
- Contract export uses Microsoft.Extensions.ApiDescription.Server through the contract script. It executes startup with inert configuration and disables cloud event workers; it does not open a listening HTTP server or need cloud credentials. Ordinary builds do not rewrite the checked-in contract.
129
+ Contract export uses `Microsoft.Extensions.ApiDescription.Server` through the contract script. It executes startup with inert configuration and disables cloud event workers; it opens no listening HTTP server and needs no cloud credentials. Ordinary builds do not rewrite the checked-in contract.
137
130
 
138
- Run SDK generation, type checks, runtime contract tests and the build together before release. Publishing the SDK and deploying the API are separate local operations; generated code does not itself publish or deploy anything.
131
+ Run generation, type checks, runtime contract tests and the build before release. Publishing the SDK and deploying the API are separate operations; generated code does neither.
@@ -1,7 +1,5 @@
1
- export declare const workflowDefinition: {
2
- readonly version: 3;
3
- readonly states: readonly ["idle", "battery", "connect", "publish"];
4
- readonly outcomes: readonly ["done", "unavailable", "failed", "timeout", "cancelled"];
1
+ export declare const acquisitionDefinition: {
2
+ readonly version: 1;
5
3
  readonly acquisition: {
6
4
  readonly gnss: readonly [{
7
5
  readonly path: readonly ["assistance"];
@@ -10,6 +8,7 @@ export declare const workflowDefinition: {
10
8
  readonly default: true;
11
9
  readonly title: "assistance";
12
10
  readonly description: "assistance for this behavior request.";
11
+ readonly wireId: 1;
13
12
  }, {
14
13
  readonly path: readonly ["powerMode"];
15
14
  readonly member: "power_mode";
@@ -25,13 +24,16 @@ export declare const workflowDefinition: {
25
24
  readonly "2": "Duty cycling: power";
26
25
  };
27
26
  readonly apiValues: readonly ["NRF_MODEM_GNSS_PSM_DISABLED", "NRF_MODEM_GNSS_PSM_DUTY_CYCLING_PERFORMANCE", "NRF_MODEM_GNSS_PSM_DUTY_CYCLING_POWER"];
27
+ readonly wireId: 2;
28
+ readonly commandChoices: readonly ["disabled", "performance", "power"];
28
29
  }, {
29
30
  readonly path: readonly ["priorityMode"];
30
31
  readonly member: "priority_mode";
31
32
  readonly kind: "BOOL";
32
- readonly default: true;
33
+ readonly default: false;
33
34
  readonly title: "priorityMode";
34
- readonly description: "priorityMode for this behavior request.";
35
+ readonly description: "Keep LTE paging available during the normal connected search. GNSS priority can block LTE paging for up to 40 seconds.";
36
+ readonly wireId: 3;
35
37
  }, {
36
38
  readonly path: readonly ["lowAccuracy"];
37
39
  readonly member: "low_accuracy";
@@ -39,6 +41,7 @@ export declare const workflowDefinition: {
39
41
  readonly default: false;
40
42
  readonly title: "lowAccuracy";
41
43
  readonly description: "lowAccuracy for this behavior request.";
44
+ readonly wireId: 4;
42
45
  }, {
43
46
  readonly path: readonly ["targetAccuracyMeters"];
44
47
  readonly member: "target_accuracy_meters";
@@ -48,6 +51,7 @@ export declare const workflowDefinition: {
48
51
  readonly description: "targetAccuracyMeters for this behavior request.";
49
52
  readonly maximum: 10000;
50
53
  readonly minimum: 0;
54
+ readonly wireId: 5;
51
55
  }, {
52
56
  readonly path: readonly ["consecutiveFixes"];
53
57
  readonly member: "consecutive_fixes";
@@ -57,6 +61,7 @@ export declare const workflowDefinition: {
57
61
  readonly description: "consecutiveFixes for this behavior request.";
58
62
  readonly maximum: 10;
59
63
  readonly minimum: 1;
64
+ readonly wireId: 6;
60
65
  }, {
61
66
  readonly path: readonly ["visibility", "enabled"];
62
67
  readonly member: "visibility_enabled";
@@ -64,6 +69,7 @@ export declare const workflowDefinition: {
64
69
  readonly default: true;
65
70
  readonly title: "visibility.enabled";
66
71
  readonly description: "visibility.enabled for this behavior request.";
72
+ readonly wireId: 7;
67
73
  }, {
68
74
  readonly path: readonly ["visibility", "executionSeconds"];
69
75
  readonly member: "visibility_execution_seconds";
@@ -73,6 +79,7 @@ export declare const workflowDefinition: {
73
79
  readonly description: "visibility.executionSeconds for this behavior request.";
74
80
  readonly maximum: 120;
75
81
  readonly minimum: 10;
82
+ readonly wireId: 8;
76
83
  }, {
77
84
  readonly path: readonly ["visibility", "minSatellites"];
78
85
  readonly member: "visibility_min_satellites";
@@ -82,6 +89,7 @@ export declare const workflowDefinition: {
82
89
  readonly description: "visibility.minSatellites for this behavior request.";
83
90
  readonly maximum: 12;
84
91
  readonly minimum: 1;
92
+ readonly wireId: 9;
85
93
  }];
86
94
  readonly cell: readonly [{
87
95
  readonly path: readonly ["mode"];
@@ -92,6 +100,7 @@ export declare const workflowDefinition: {
92
100
  readonly description: "mode for this behavior request.";
93
101
  readonly choices: readonly ["serving", "gci", "neighbors"];
94
102
  readonly maximum: 2;
103
+ readonly wireId: 1;
95
104
  }, {
96
105
  readonly path: readonly ["gciCount"];
97
106
  readonly member: "gci_count";
@@ -101,6 +110,7 @@ export declare const workflowDefinition: {
101
110
  readonly description: "gciCount for this behavior request.";
102
111
  readonly maximum: 5;
103
112
  readonly minimum: 0;
113
+ readonly wireId: 2;
104
114
  }];
105
115
  readonly wifi: readonly [{
106
116
  readonly path: readonly ["scanType"];
@@ -111,6 +121,7 @@ export declare const workflowDefinition: {
111
121
  readonly description: "scanType for this behavior request.";
112
122
  readonly choices: readonly ["active", "passive"];
113
123
  readonly maximum: 1;
124
+ readonly wireId: 1;
114
125
  }, {
115
126
  readonly path: readonly ["activeMinMs"];
116
127
  readonly member: "active_min_ms";
@@ -120,6 +131,7 @@ export declare const workflowDefinition: {
120
131
  readonly description: "activeMinMs for this behavior request.";
121
132
  readonly maximum: 1500;
122
133
  readonly minimum: 1;
134
+ readonly wireId: 2;
123
135
  }, {
124
136
  readonly path: readonly ["activeMaxMs"];
125
137
  readonly member: "active_max_ms";
@@ -129,6 +141,7 @@ export declare const workflowDefinition: {
129
141
  readonly description: "activeMaxMs for this behavior request.";
130
142
  readonly maximum: 1500;
131
143
  readonly minimum: 1;
144
+ readonly wireId: 3;
132
145
  }, {
133
146
  readonly path: readonly ["passiveMs"];
134
147
  readonly member: "passive_ms";
@@ -138,6 +151,7 @@ export declare const workflowDefinition: {
138
151
  readonly description: "passiveMs for this behavior request.";
139
152
  readonly maximum: 1500;
140
153
  readonly minimum: 1;
154
+ readonly wireId: 4;
141
155
  }, {
142
156
  readonly path: readonly ["channelMask"];
143
157
  readonly member: "channel_mask";
@@ -147,6 +161,7 @@ export declare const workflowDefinition: {
147
161
  readonly description: "channelMask for this behavior request.";
148
162
  readonly maximum: 16383;
149
163
  readonly minimum: 0;
164
+ readonly wireId: 5;
150
165
  }, {
151
166
  readonly path: readonly ["budgetMs"];
152
167
  readonly member: "budget_ms";
@@ -156,35 +171,7 @@ export declare const workflowDefinition: {
156
171
  readonly description: "budgetMs for this behavior request.";
157
172
  readonly maximum: 60000;
158
173
  readonly minimum: 100;
174
+ readonly wireId: 6;
159
175
  }];
160
176
  };
161
- readonly operations: readonly [{
162
- readonly symbol: "CAPTURE";
163
- readonly name: "capture";
164
- }, {
165
- readonly symbol: "MQTT_OPEN";
166
- readonly name: "mqttOpen";
167
- }, {
168
- readonly symbol: "PUBLISH";
169
- readonly name: "publish";
170
- }, {
171
- readonly symbol: "MODEM_ONLINE";
172
- readonly name: "modemOnline";
173
- }, {
174
- readonly symbol: "MODEM_EDRX";
175
- readonly name: "modemEdrx";
176
- }, {
177
- readonly symbol: "MODEM_OFFLINE";
178
- readonly name: "modemOffline";
179
- }, {
180
- readonly symbol: "DISCONNECT_MQTT";
181
- readonly name: "disconnectMqtt";
182
- }, {
183
- readonly symbol: "PREPARE_CONNECTION";
184
- readonly name: "prepareConnection";
185
- }, {
186
- readonly symbol: "CONNECT";
187
- readonly name: "connect";
188
- }];
189
177
  };
190
- export type WorkflowState = string;
@@ -1,19 +1,6 @@
1
- // Generated from protocol JSON Schemas by tools/generate-device-sdk.mjs. Do not edit.
2
- export const workflowDefinition = {
3
- "version": 3,
4
- "states": [
5
- "idle",
6
- "battery",
7
- "connect",
8
- "publish"
9
- ],
10
- "outcomes": [
11
- "done",
12
- "unavailable",
13
- "failed",
14
- "timeout",
15
- "cancelled"
16
- ],
1
+ // Generated from protocol JSON Schemas by packages/sdk/scripts/generate-device-schema.mjs. Do not edit.
2
+ export const acquisitionDefinition = {
3
+ "version": 1,
17
4
  "acquisition": {
18
5
  "gnss": [
19
6
  {
@@ -24,7 +11,8 @@ export const workflowDefinition = {
24
11
  "kind": "BOOL",
25
12
  "default": true,
26
13
  "title": "assistance",
27
- "description": "assistance for this behavior request."
14
+ "description": "assistance for this behavior request.",
15
+ "wireId": 1
28
16
  },
29
17
  {
30
18
  "path": [
@@ -46,6 +34,12 @@ export const workflowDefinition = {
46
34
  "NRF_MODEM_GNSS_PSM_DISABLED",
47
35
  "NRF_MODEM_GNSS_PSM_DUTY_CYCLING_PERFORMANCE",
48
36
  "NRF_MODEM_GNSS_PSM_DUTY_CYCLING_POWER"
37
+ ],
38
+ "wireId": 2,
39
+ "commandChoices": [
40
+ "disabled",
41
+ "performance",
42
+ "power"
49
43
  ]
50
44
  },
51
45
  {
@@ -54,9 +48,10 @@ export const workflowDefinition = {
54
48
  ],
55
49
  "member": "priority_mode",
56
50
  "kind": "BOOL",
57
- "default": true,
51
+ "default": false,
58
52
  "title": "priorityMode",
59
- "description": "priorityMode for this behavior request."
53
+ "description": "Keep LTE paging available during the normal connected search. GNSS priority can block LTE paging for up to 40 seconds.",
54
+ "wireId": 3
60
55
  },
61
56
  {
62
57
  "path": [
@@ -66,7 +61,8 @@ export const workflowDefinition = {
66
61
  "kind": "BOOL",
67
62
  "default": false,
68
63
  "title": "lowAccuracy",
69
- "description": "lowAccuracy for this behavior request."
64
+ "description": "lowAccuracy for this behavior request.",
65
+ "wireId": 4
70
66
  },
71
67
  {
72
68
  "path": [
@@ -78,7 +74,8 @@ export const workflowDefinition = {
78
74
  "title": "targetAccuracyMeters",
79
75
  "description": "targetAccuracyMeters for this behavior request.",
80
76
  "maximum": 10000,
81
- "minimum": 0
77
+ "minimum": 0,
78
+ "wireId": 5
82
79
  },
83
80
  {
84
81
  "path": [
@@ -90,7 +87,8 @@ export const workflowDefinition = {
90
87
  "title": "consecutiveFixes",
91
88
  "description": "consecutiveFixes for this behavior request.",
92
89
  "maximum": 10,
93
- "minimum": 1
90
+ "minimum": 1,
91
+ "wireId": 6
94
92
  },
95
93
  {
96
94
  "path": [
@@ -101,7 +99,8 @@ export const workflowDefinition = {
101
99
  "kind": "BOOL",
102
100
  "default": true,
103
101
  "title": "visibility.enabled",
104
- "description": "visibility.enabled for this behavior request."
102
+ "description": "visibility.enabled for this behavior request.",
103
+ "wireId": 7
105
104
  },
106
105
  {
107
106
  "path": [
@@ -114,7 +113,8 @@ export const workflowDefinition = {
114
113
  "title": "visibility.executionSeconds",
115
114
  "description": "visibility.executionSeconds for this behavior request.",
116
115
  "maximum": 120,
117
- "minimum": 10
116
+ "minimum": 10,
117
+ "wireId": 8
118
118
  },
119
119
  {
120
120
  "path": [
@@ -127,7 +127,8 @@ export const workflowDefinition = {
127
127
  "title": "visibility.minSatellites",
128
128
  "description": "visibility.minSatellites for this behavior request.",
129
129
  "maximum": 12,
130
- "minimum": 1
130
+ "minimum": 1,
131
+ "wireId": 9
131
132
  }
132
133
  ],
133
134
  "cell": [
@@ -145,7 +146,8 @@ export const workflowDefinition = {
145
146
  "gci",
146
147
  "neighbors"
147
148
  ],
148
- "maximum": 2
149
+ "maximum": 2,
150
+ "wireId": 1
149
151
  },
150
152
  {
151
153
  "path": [
@@ -157,7 +159,8 @@ export const workflowDefinition = {
157
159
  "title": "gciCount",
158
160
  "description": "gciCount for this behavior request.",
159
161
  "maximum": 5,
160
- "minimum": 0
162
+ "minimum": 0,
163
+ "wireId": 2
161
164
  }
162
165
  ],
163
166
  "wifi": [
@@ -174,7 +177,8 @@ export const workflowDefinition = {
174
177
  "active",
175
178
  "passive"
176
179
  ],
177
- "maximum": 1
180
+ "maximum": 1,
181
+ "wireId": 1
178
182
  },
179
183
  {
180
184
  "path": [
@@ -186,7 +190,8 @@ export const workflowDefinition = {
186
190
  "title": "activeMinMs",
187
191
  "description": "activeMinMs for this behavior request.",
188
192
  "maximum": 1500,
189
- "minimum": 1
193
+ "minimum": 1,
194
+ "wireId": 2
190
195
  },
191
196
  {
192
197
  "path": [
@@ -198,7 +203,8 @@ export const workflowDefinition = {
198
203
  "title": "activeMaxMs",
199
204
  "description": "activeMaxMs for this behavior request.",
200
205
  "maximum": 1500,
201
- "minimum": 1
206
+ "minimum": 1,
207
+ "wireId": 3
202
208
  },
203
209
  {
204
210
  "path": [
@@ -210,7 +216,8 @@ export const workflowDefinition = {
210
216
  "title": "passiveMs",
211
217
  "description": "passiveMs for this behavior request.",
212
218
  "maximum": 1500,
213
- "minimum": 1
219
+ "minimum": 1,
220
+ "wireId": 4
214
221
  },
215
222
  {
216
223
  "path": [
@@ -222,7 +229,8 @@ export const workflowDefinition = {
222
229
  "title": "channelMask",
223
230
  "description": "channelMask for this behavior request.",
224
231
  "maximum": 16383,
225
- "minimum": 0
232
+ "minimum": 0,
233
+ "wireId": 5
226
234
  },
227
235
  {
228
236
  "path": [
@@ -234,46 +242,9 @@ export const workflowDefinition = {
234
242
  "title": "budgetMs",
235
243
  "description": "budgetMs for this behavior request.",
236
244
  "maximum": 60000,
237
- "minimum": 100
245
+ "minimum": 100,
246
+ "wireId": 6
238
247
  }
239
248
  ]
240
- },
241
- "operations": [
242
- {
243
- "symbol": "CAPTURE",
244
- "name": "capture"
245
- },
246
- {
247
- "symbol": "MQTT_OPEN",
248
- "name": "mqttOpen"
249
- },
250
- {
251
- "symbol": "PUBLISH",
252
- "name": "publish"
253
- },
254
- {
255
- "symbol": "MODEM_ONLINE",
256
- "name": "modemOnline"
257
- },
258
- {
259
- "symbol": "MODEM_EDRX",
260
- "name": "modemEdrx"
261
- },
262
- {
263
- "symbol": "MODEM_OFFLINE",
264
- "name": "modemOffline"
265
- },
266
- {
267
- "symbol": "DISCONNECT_MQTT",
268
- "name": "disconnectMqtt"
269
- },
270
- {
271
- "symbol": "PREPARE_CONNECTION",
272
- "name": "prepareConnection"
273
- },
274
- {
275
- "symbol": "CONNECT",
276
- "name": "connect"
277
- }
278
- ]
249
+ }
279
250
  };