@bikefinder/sdk 0.1.6 → 0.1.7
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 +8 -7
- package/dist/device-schema.d.ts +3 -4
- package/dist/device-schema.js +5 -15
- package/dist/generated/sdk.gen.js +94 -1
- package/dist/generated/types.gen.d.ts +0 -3
- package/dist/generated/zod.gen.d.ts +30 -30
- package/dist/workflow-schema.d.ts +1 -1
- package/openapi/api.json +4 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -50,9 +50,9 @@ The application owns subscription sharing, retained data and account scope. Subs
|
|
|
50
50
|
|
|
51
51
|
The application's Auth0 SDK supplies tokens and handles refresh. Create a new client for a new account session. `dispose()` aborts HTTP requests and stops both connections. Requests use bearer authentication, omit cookies and reject redirects. Network/validation failures reject; HTTP Problem Details are available as `result.error` by default. Writes are never automatically retried; a `503 operation_unconfirmed` may already have committed.
|
|
52
52
|
|
|
53
|
-
REST calls
|
|
53
|
+
REST calls automatically validate response structure without transforming response JSON. The API validates and converts stored data before responding; `readIssues` identifies unusable stored fields. Stream values use the native SignalR decoder; import `zTrackerDocument` from `@bikefinder/sdk/schemas` and call `.parse(value)` for the same runtime boundary check on a stream message. Both transports reference the same generated payload types. Firestore responses come from the actual C# DTOs in `Firestore/TrackerData.cs` and `Firestore/ResourceData.cs`. Additional metadata remains in explicit JSON extension fields. Server-serialized response fixtures are validated by both API and generated-client tests. IDs are exact Firestore IDs.
|
|
54
54
|
|
|
55
|
-
Other native resources expose their known fields through resource-specific document types. Their C# contracts expose only interpreted fields; unrelated stored fields stay inside the API. Tracker reports and statistics have concrete models, and access-code storage is omitted from responses. Observation values are generated unions: after `observation.definitionId === 5`, `observation.value.percent` is a number. Current readings expose the same discriminator; check `observationId !== null` before using a present reading. Device settings, the built-in workflow descriptor and command argument tuples are generated from the canonical protocol JSON contracts. Bike and preference patches expose supported properties and distinguish omission from explicit null.
|
|
55
|
+
Other native resources expose their known fields through resource-specific document types. Their C# contracts expose only interpreted fields; unrelated stored fields stay inside the API. Tracker reports and statistics have concrete models, and access-code storage is omitted from responses. Observation values are generated unions: after `observation.definitionId === 5`, `observation.value.percent` is a number. Current readings expose the same discriminator; check `observationId !== null` before using a present reading. Device settings, the built-in workflow descriptor and command argument tuples are generated from the canonical protocol JSON contracts. Bike and preference patches expose supported properties and distinguish omission from explicit null. Response validators preserve additional API fields while checking known values and required properties. Workflow diagnostic states are extensible strings, including `idle` and `rest`; display or preserve unfamiliar states. Request models retain their declared constraints and closed objects reject unknown write fields. Shared payloads have generated read variants so a tolerant response never weakens a request schema.
|
|
56
56
|
|
|
57
57
|
The handwritten entry point only configures clients, authentication and disposal. Hub methods, wire names and streaming signatures are generated. A generated type-only bridge reuses OpenAPI payload definitions instead of publishing a second set of models. There is no RxJS or MQTT dependency.
|
|
58
58
|
|
|
@@ -117,9 +117,10 @@ Command reads validate stored identity, catalog arguments, artifacts, and execut
|
|
|
117
117
|
|
|
118
118
|
## Supported API consumers
|
|
119
119
|
|
|
120
|
-
`@bikefinder/sdk@0.1.
|
|
121
|
-
|
|
122
|
-
|
|
120
|
+
`@bikefinder/sdk@0.1.7` is the supported baseline for the 2026-11-07 minimum-rest
|
|
121
|
+
release with automatic response validation and extensible diagnostic strings.
|
|
122
|
+
Older closed-state readers should upgrade for the extensible diagnostic contract.
|
|
123
|
+
SDK 0.1.6 disables automatic response validation; upgrade to 0.1.7 to retain it.
|
|
123
124
|
The preceding prelaunch cutover retired experimental `@bikefinder/api-client`
|
|
124
125
|
releases and their older AWS contracts. The `/v1` route version is unchanged.
|
|
125
126
|
Future breaking changes still require an explicit retirement decision or a
|
|
@@ -144,7 +145,7 @@ version for breaking changes and retain the supported v1 routes. Raising the
|
|
|
144
145
|
oldest supported SDK version is an explicit retirement decision, not a routine
|
|
145
146
|
way to pass CI. Dev deployment and production promotion both require this job.
|
|
146
147
|
|
|
147
|
-
|
|
148
|
-
|
|
148
|
+
Runtime validation rejects malformed known data. Stream consumers should retain
|
|
149
|
+
last valid messages and isolate failures per resource. When patching
|
|
149
150
|
settings, send only changed supported fields; preserve unfamiliar response fields
|
|
150
151
|
and do not copy a full response into a write payload.
|
package/dist/device-schema.d.ts
CHANGED
|
@@ -5432,7 +5432,6 @@ export declare const observationValueSchema: {
|
|
|
5432
5432
|
};
|
|
5433
5433
|
readonly state: {
|
|
5434
5434
|
readonly type: "string";
|
|
5435
|
-
readonly enum: readonly ["idle", "battery", "connect", "cell", "wifi", "publish", "listen", "gps", "gpsPublish", "rest"];
|
|
5436
5435
|
};
|
|
5437
5436
|
readonly owner: {
|
|
5438
5437
|
readonly type: "string";
|
|
@@ -5515,7 +5514,7 @@ export declare const observationValueSchema: {
|
|
|
5515
5514
|
readonly label: "Duration";
|
|
5516
5515
|
readonly format: "duration";
|
|
5517
5516
|
}];
|
|
5518
|
-
readonly extensibleEnumFields: readonly ["mode"];
|
|
5517
|
+
readonly extensibleEnumFields: readonly ["mode", "state"];
|
|
5519
5518
|
};
|
|
5520
5519
|
};
|
|
5521
5520
|
};
|
|
@@ -8386,7 +8385,7 @@ export declare const observationDefinitions: readonly [{
|
|
|
8386
8385
|
readonly label: "Duration";
|
|
8387
8386
|
readonly format: "duration";
|
|
8388
8387
|
}];
|
|
8389
|
-
readonly extensibleEnumFields: readonly ["mode"];
|
|
8388
|
+
readonly extensibleEnumFields: readonly ["mode", "state"];
|
|
8390
8389
|
};
|
|
8391
8390
|
}, {
|
|
8392
8391
|
readonly id: 159;
|
|
@@ -9724,7 +9723,7 @@ export interface RecoveryCounts {
|
|
|
9724
9723
|
export interface WorkflowExecution {
|
|
9725
9724
|
workflowVersion: number;
|
|
9726
9725
|
mode: string;
|
|
9727
|
-
state:
|
|
9726
|
+
state: string;
|
|
9728
9727
|
owner: "workflow" | "command" | "update" | "recovery" | "shutdown" | "fault" | "settings" | "charging" | "ble" | "network";
|
|
9729
9728
|
phase: "entered" | "completed" | "cancelled" | "ownerChanged" | "snapshot";
|
|
9730
9729
|
outcome: ("done" | "unavailable" | "failed" | "timeout" | "cancelled") | null;
|
package/dist/device-schema.js
CHANGED
|
@@ -6501,19 +6501,7 @@ export const observationValueSchema = {
|
|
|
6501
6501
|
"type": "string"
|
|
6502
6502
|
},
|
|
6503
6503
|
"state": {
|
|
6504
|
-
"type": "string"
|
|
6505
|
-
"enum": [
|
|
6506
|
-
"idle",
|
|
6507
|
-
"battery",
|
|
6508
|
-
"connect",
|
|
6509
|
-
"cell",
|
|
6510
|
-
"wifi",
|
|
6511
|
-
"publish",
|
|
6512
|
-
"listen",
|
|
6513
|
-
"gps",
|
|
6514
|
-
"gpsPublish",
|
|
6515
|
-
"rest"
|
|
6516
|
-
]
|
|
6504
|
+
"type": "string"
|
|
6517
6505
|
},
|
|
6518
6506
|
"owner": {
|
|
6519
6507
|
"type": "string",
|
|
@@ -6670,7 +6658,8 @@ export const observationValueSchema = {
|
|
|
6670
6658
|
}
|
|
6671
6659
|
],
|
|
6672
6660
|
"extensibleEnumFields": [
|
|
6673
|
-
"mode"
|
|
6661
|
+
"mode",
|
|
6662
|
+
"state"
|
|
6674
6663
|
]
|
|
6675
6664
|
}
|
|
6676
6665
|
}
|
|
@@ -9943,7 +9932,8 @@ export const observationDefinitions = [
|
|
|
9943
9932
|
}
|
|
9944
9933
|
],
|
|
9945
9934
|
"extensibleEnumFields": [
|
|
9946
|
-
"mode"
|
|
9935
|
+
"mode",
|
|
9936
|
+
"state"
|
|
9947
9937
|
]
|
|
9948
9938
|
}
|
|
9949
9939
|
},
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
2
|
import * as z from "zod";
|
|
3
3
|
import { client } from "./client.gen.js";
|
|
4
|
-
import { zAcceptShopifySubscriptionBody, zAcceptWooPaidOrderBody, zAcceptWooSubscriptionBody, zAddStaffTrackerMemberBody, zAddStaffTrackerMemberPath, zCancelAwsFirmwareBody, zCancelAwsFirmwarePath, zCancelLegacyLteUpgradeBody, zCancelLegacyLteUpgradePath, zChangeBluetoothPinBody, zChangeBluetoothPinPath, zClaimTrackerBody, zClaimTrackerPath, zCleanStaffTrackerBody, zCleanStaffTrackerPath, zCreateInvitationPath, zCreateTrackerFirmwareUpdateBody, zCreateTrackerFirmwareUpdateHeaders, zCreateTrackerFirmwareUpdatePath, zDeleteStaffFavoritePath, zDeleteStaffTrackerPhotoPath, zDeleteTrackerPhotoPath, zEditPreferencesBody, zEditStaffTrackerBikeBody, zEditStaffTrackerBikePath, zEditTrackerBikeBody, zEditTrackerBikePath, zGetActiveAwsFirmwarePath, zGetAwsCommandOperationPath, zGetAwsCommandPath, zGetAwsDeviceCommandCapabilitiesPath, zGetAwsDeviceConnectivityPath, zGetAwsDeviceIdentityPath, zGetAwsDeviceObservationPath, zGetAwsFirmwareOperationPath, zGetAwsSchemaPath, zGetAwsSettingsPath, zGetBillingOperationPath, zGetInsuranceContractPath, zGetInsuranceContractQuery, zGetLegacyLteUpgradeOptionsPath, zGetNativeInsuranceJournalPath, zGetStaffAccountPath, zGetStaffSubscriptionPath, zGetStaffTrackerCom4SimStatusPath, zGetStaffTrackerModesPath, zGetStaffTrackerOperationPath, zGetStaffTrackerPath, zGetSubscriptionPath, zGetTrackerFirmwareUpdatePath, zGetTrackerModesPath, zGetTrackerPath, zListAwsCommandsPath, zListAwsCommandsQuery, zListAwsDeviceObservationsPath, zListAwsDeviceObservationsQuery, zListAwsFirmwareReleasesPath, zListInsuranceAttemptsPath, zListInsuranceAttemptsQuery, zListInsuranceContractsPath, zListInsuranceContractsQuery, zListNotificationsQuery, zListStaffFavoritesQuery, zListStaffSubscriptionsQuery, zListStaffTrackerAuditPath, zListStaffTrackerAuditQuery, zListStaffTrackerHistoryPath, zListStaffTrackerHistoryQuery, zListStaffTrackerPhotosPath, zListStaffTrackerPhotosQuery, zListStaffTrackersQuery, zListSubscriptionsQuery, zListTrackerFirmwareReleasesPath, zListTrackerFirmwareReleasesQuery, zListTrackerHistoryPath, zListTrackerHistoryQuery, zListTrackerPhotosPath, zListTrackerPhotosQuery, zListTrackersQuery, zLookupStaffAccountsQuery, zLookupTrackerQuery, zReadAwsObservationsBody, zReadAwsObservationsPath, zReadStaffAccountsBody, zReconcileTrackerSubscriptionBody, zReconcileTrackerSubscriptionPath, zRedeemInvitationBody, zRedeemInvitationPath, zRefreshSubscriptionBody, zRefreshSubscriptionPath, zRegisterPushBody, zRemoveStaffTrackerMemberPath, zRemoveTrackerMemberPath, zReportBatteryBody, zReportBatteryPath, zReportFactoryResetBody, zReportFactoryResetPath, zReportLocationBody, zReportLocationPath, zReportTheftBody, zReportTheftPath, zReportTrackerFirmwareAttemptBody, zReportTrackerFirmwareAttemptPath, zRequestAccountInsuranceBody, zRequestAccountInsurancePath, zRequestAwsFirmwareBody, zRequestAwsFirmwarePath, zRequestLegacyLteUpgradeBody, zRequestLegacyLteUpgradePath, zRequestSubscriptionInsuranceBody, zRequestSubscriptionInsurancePath, zRequestTrackerInsuranceBody, zRequestTrackerInsurancePath, zResolveTrackerAwsDevicePath, zRevokeInvitationsPath, zSaveStaffFavoriteBody, zSaveStaffFavoritePath, zSendAwsCommandBody, zSendAwsCommandPath, zSetRequestedModeBody, zSetRequestedModePath, zSetStaffTrackerDenylistBody, zSetStaffTrackerDenylistPath, zSetStaffTrackerSubscriptionBody, zSetStaffTrackerSubscriptionPath, zSetTrackerSubscriptionBody, zSetTrackerSubscriptionPath, zUnregisterPushQuery, zUpdateAwsSettingsBody, zUpdateAwsSettingsPath, zUploadBatteryFirmwareBody, zUploadBatteryFirmwarePath, zUploadBatteryFirmwareQuery, zUploadPhotoBody, zUploadPhotoPath, zUploadPhotoQuery, } from "./zod.gen.js";
|
|
4
|
+
import { zAcceptShopifySubscriptionBody, zAcceptShopifySubscriptionResponse, zAcceptWooPaidOrderBody, zAcceptWooPaidOrderResponse, zAcceptWooSubscriptionBody, zAcceptWooSubscriptionResponse, zAddStaffTrackerMemberBody, zAddStaffTrackerMemberPath, zAddStaffTrackerMemberResponse, zCancelAwsFirmwareBody, zCancelAwsFirmwarePath, zCancelAwsFirmwareResponse, zCancelLegacyLteUpgradeBody, zCancelLegacyLteUpgradePath, zCancelLegacyLteUpgradeResponse, zChangeBluetoothPinBody, zChangeBluetoothPinPath, zChangeBluetoothPinResponse, zClaimTrackerBody, zClaimTrackerPath, zClaimTrackerResponse, zCleanStaffTrackerBody, zCleanStaffTrackerPath, zCleanStaffTrackerResponse, zCreateInvitationPath, zCreateInvitationResponse, zCreateTrackerFirmwareUpdateBody, zCreateTrackerFirmwareUpdateHeaders, zCreateTrackerFirmwareUpdatePath, zCreateTrackerFirmwareUpdateResponse, zDeleteStaffFavoritePath, zDeleteStaffFavoriteResponse, zDeleteStaffTrackerPhotoPath, zDeleteStaffTrackerPhotoResponse, zDeleteTrackerPhotoPath, zDeleteTrackerPhotoResponse, zEditPreferencesBody, zEditPreferencesResponse, zEditStaffTrackerBikeBody, zEditStaffTrackerBikePath, zEditStaffTrackerBikeResponse, zEditTrackerBikeBody, zEditTrackerBikePath, zEditTrackerBikeResponse, zGetAccountResponse, zGetActiveAwsFirmwarePath, zGetActiveAwsFirmwareResponse, zGetAwsCommandCatalogResponse, zGetAwsCommandOperationPath, zGetAwsCommandOperationResponse, zGetAwsCommandPath, zGetAwsCommandResponse, zGetAwsDeviceCommandCapabilitiesPath, zGetAwsDeviceCommandCapabilitiesResponse, zGetAwsDeviceConnectivityPath, zGetAwsDeviceConnectivityResponse, zGetAwsDeviceIdentityPath, zGetAwsDeviceIdentityResponse, zGetAwsDeviceObservationPath, zGetAwsDeviceObservationResponse, zGetAwsFirmwareOperationPath, zGetAwsFirmwareOperationResponse, zGetAwsSchemaPath, zGetAwsSchemaResponse, zGetAwsSettingsPath, zGetAwsSettingsResponse, zGetBillingOperationPath, zGetBillingOperationResponse, zGetInsuranceContractPath, zGetInsuranceContractQuery, zGetInsuranceContractResponse, zGetLegacyLteUpgradeOptionsPath, zGetLegacyLteUpgradeOptionsResponse, zGetNativeInsuranceJournalPath, zGetNativeInsuranceJournalResponse, zGetStaffAccountPath, zGetStaffAccountResponse, zGetStaffSubscriptionPath, zGetStaffSubscriptionResponse, zGetStaffTrackerCom4SimStatusPath, zGetStaffTrackerCom4SimStatusResponse, zGetStaffTrackerModesPath, zGetStaffTrackerModesResponse, zGetStaffTrackerOperationPath, zGetStaffTrackerOperationResponse, zGetStaffTrackerPath, zGetStaffTrackerResponse, zGetSubscriptionPath, zGetSubscriptionResponse, zGetTrackerFirmwareUpdatePath, zGetTrackerFirmwareUpdateResponse, zGetTrackerModesPath, zGetTrackerModesResponse, zGetTrackerPath, zGetTrackerResponse, zInitializeAccountResponse, zListAwsCommandsPath, zListAwsCommandsQuery, zListAwsCommandsResponse, zListAwsDeviceObservationsPath, zListAwsDeviceObservationsQuery, zListAwsDeviceObservationsResponse, zListAwsFirmwareReleasesPath, zListAwsFirmwareReleasesResponse, zListInsuranceAttemptsPath, zListInsuranceAttemptsQuery, zListInsuranceAttemptsResponse, zListInsuranceContractsPath, zListInsuranceContractsQuery, zListInsuranceContractsResponse, zListNotificationsQuery, zListNotificationsResponse, zListStaffFavoritesQuery, zListStaffFavoritesResponse, zListStaffSubscriptionsQuery, zListStaffSubscriptionsResponse, zListStaffTrackerAuditPath, zListStaffTrackerAuditQuery, zListStaffTrackerAuditResponse, zListStaffTrackerHistoryPath, zListStaffTrackerHistoryQuery, zListStaffTrackerHistoryResponse, zListStaffTrackerPhotosPath, zListStaffTrackerPhotosQuery, zListStaffTrackerPhotosResponse, zListStaffTrackersQuery, zListStaffTrackersResponse, zListSubscriptionsQuery, zListSubscriptionsResponse, zListTrackerFirmwareReleasesPath, zListTrackerFirmwareReleasesQuery, zListTrackerFirmwareReleasesResponse, zListTrackerHistoryPath, zListTrackerHistoryQuery, zListTrackerHistoryResponse, zListTrackerPhotosPath, zListTrackerPhotosQuery, zListTrackerPhotosResponse, zListTrackersQuery, zListTrackersResponse, zLookupStaffAccountsQuery, zLookupStaffAccountsResponse, zLookupTrackerQuery, zLookupTrackerResponse, zReadAwsObservationsBody, zReadAwsObservationsPath, zReadAwsObservationsResponse, zReadStaffAccountsBody, zReadStaffAccountsResponse, zReconcileTrackerSubscriptionBody, zReconcileTrackerSubscriptionPath, zReconcileTrackerSubscriptionResponse, zRedeemInvitationBody, zRedeemInvitationPath, zRedeemInvitationResponse, zRefreshSubscriptionBody, zRefreshSubscriptionPath, zRefreshSubscriptionResponse, zRegisterPushBody, zRegisterPushResponse, zRemoveStaffTrackerMemberPath, zRemoveStaffTrackerMemberResponse, zRemoveTrackerMemberPath, zRemoveTrackerMemberResponse, zReportBatteryBody, zReportBatteryPath, zReportBatteryResponse, zReportFactoryResetBody, zReportFactoryResetPath, zReportFactoryResetResponse, zReportLocationBody, zReportLocationPath, zReportLocationResponse, zReportTheftBody, zReportTheftPath, zReportTheftResponse, zReportTrackerFirmwareAttemptBody, zReportTrackerFirmwareAttemptPath, zReportTrackerFirmwareAttemptResponse, zRequestAccountInsuranceBody, zRequestAccountInsurancePath, zRequestAccountInsuranceResponse, zRequestAwsFirmwareBody, zRequestAwsFirmwarePath, zRequestAwsFirmwareResponse, zRequestLegacyLteUpgradeBody, zRequestLegacyLteUpgradePath, zRequestLegacyLteUpgradeResponse, zRequestSubscriptionInsuranceBody, zRequestSubscriptionInsurancePath, zRequestSubscriptionInsuranceResponse, zRequestTrackerInsuranceBody, zRequestTrackerInsurancePath, zRequestTrackerInsuranceResponse, zResolveTrackerAwsDevicePath, zResolveTrackerAwsDeviceResponse, zRevokeInvitationsPath, zRevokeInvitationsResponse, zSaveStaffFavoriteBody, zSaveStaffFavoritePath, zSaveStaffFavoriteResponse, zSendAwsCommandBody, zSendAwsCommandPath, zSendAwsCommandResponse, zSetRequestedModeBody, zSetRequestedModePath, zSetRequestedModeResponse, zSetStaffTrackerDenylistBody, zSetStaffTrackerDenylistPath, zSetStaffTrackerDenylistResponse, zSetStaffTrackerSubscriptionBody, zSetStaffTrackerSubscriptionPath, zSetStaffTrackerSubscriptionResponse, zSetTrackerSubscriptionBody, zSetTrackerSubscriptionPath, zSetTrackerSubscriptionResponse, zUnregisterPushQuery, zUnregisterPushResponse, zUpdateAwsSettingsBody, zUpdateAwsSettingsPath, zUpdateAwsSettingsResponse, zUploadBatteryFirmwareBody, zUploadBatteryFirmwarePath, zUploadBatteryFirmwareQuery, zUploadBatteryFirmwareResponse, zUploadPhotoBody, zUploadPhotoPath, zUploadPhotoQuery, zUploadPhotoResponse, } from "./zod.gen.js";
|
|
5
5
|
class HeyApiClient {
|
|
6
6
|
client;
|
|
7
7
|
constructor(args) {
|
|
@@ -37,6 +37,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
37
37
|
query: z.never().optional(),
|
|
38
38
|
})
|
|
39
39
|
.parseAsync(data),
|
|
40
|
+
responseValidator: async (data) => await zSetTrackerSubscriptionResponse.parseAsync(data),
|
|
40
41
|
security: [
|
|
41
42
|
{
|
|
42
43
|
key: "Bearer",
|
|
@@ -61,6 +62,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
61
62
|
query: z.never().optional(),
|
|
62
63
|
})
|
|
63
64
|
.parseAsync(data),
|
|
65
|
+
responseValidator: async (data) => await zSetStaffTrackerSubscriptionResponse.parseAsync(data),
|
|
64
66
|
security: [
|
|
65
67
|
{
|
|
66
68
|
key: "Bearer",
|
|
@@ -85,6 +87,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
85
87
|
query: z.never().optional(),
|
|
86
88
|
})
|
|
87
89
|
.parseAsync(data),
|
|
90
|
+
responseValidator: async (data) => await zResolveTrackerAwsDeviceResponse.parseAsync(data),
|
|
88
91
|
security: [
|
|
89
92
|
{
|
|
90
93
|
key: "Bearer",
|
|
@@ -106,6 +109,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
106
109
|
query: zUploadBatteryFirmwareQuery,
|
|
107
110
|
})
|
|
108
111
|
.parseAsync(data),
|
|
112
|
+
responseValidator: async (data) => await zUploadBatteryFirmwareResponse.parseAsync(data),
|
|
109
113
|
security: [
|
|
110
114
|
{
|
|
111
115
|
key: "Bearer",
|
|
@@ -130,6 +134,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
130
134
|
query: z.never().optional(),
|
|
131
135
|
})
|
|
132
136
|
.parseAsync(data),
|
|
137
|
+
responseValidator: async (data) => await zGetAwsSchemaResponse.parseAsync(data),
|
|
133
138
|
security: [
|
|
134
139
|
{
|
|
135
140
|
key: "Bearer",
|
|
@@ -150,6 +155,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
150
155
|
query: zListTrackersQuery.optional(),
|
|
151
156
|
})
|
|
152
157
|
.parseAsync(data),
|
|
158
|
+
responseValidator: async (data) => await zListTrackersResponse.parseAsync(data),
|
|
153
159
|
security: [
|
|
154
160
|
{
|
|
155
161
|
key: "Bearer",
|
|
@@ -170,6 +176,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
170
176
|
query: zLookupTrackerQuery.optional(),
|
|
171
177
|
})
|
|
172
178
|
.parseAsync(data),
|
|
179
|
+
responseValidator: async (data) => await zLookupTrackerResponse.parseAsync(data),
|
|
173
180
|
security: [
|
|
174
181
|
{
|
|
175
182
|
key: "Bearer",
|
|
@@ -190,6 +197,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
190
197
|
query: z.never().optional(),
|
|
191
198
|
})
|
|
192
199
|
.parseAsync(data),
|
|
200
|
+
responseValidator: async (data) => await zGetTrackerModesResponse.parseAsync(data),
|
|
193
201
|
security: [
|
|
194
202
|
{
|
|
195
203
|
key: "Bearer",
|
|
@@ -210,6 +218,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
210
218
|
query: z.never().optional(),
|
|
211
219
|
})
|
|
212
220
|
.parseAsync(data),
|
|
221
|
+
responseValidator: async (data) => await zGetTrackerResponse.parseAsync(data),
|
|
213
222
|
security: [
|
|
214
223
|
{
|
|
215
224
|
key: "Bearer",
|
|
@@ -230,6 +239,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
230
239
|
query: zListTrackerHistoryQuery,
|
|
231
240
|
})
|
|
232
241
|
.parseAsync(data),
|
|
242
|
+
responseValidator: async (data) => await zListTrackerHistoryResponse.parseAsync(data),
|
|
233
243
|
security: [
|
|
234
244
|
{
|
|
235
245
|
key: "Bearer",
|
|
@@ -250,6 +260,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
250
260
|
query: z.never().optional(),
|
|
251
261
|
})
|
|
252
262
|
.parseAsync(data),
|
|
263
|
+
responseValidator: async (data) => await zEditTrackerBikeResponse.parseAsync(data),
|
|
253
264
|
security: [
|
|
254
265
|
{
|
|
255
266
|
key: "Bearer",
|
|
@@ -274,6 +285,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
274
285
|
query: z.never().optional(),
|
|
275
286
|
})
|
|
276
287
|
.parseAsync(data),
|
|
288
|
+
responseValidator: async (data) => await zRemoveTrackerMemberResponse.parseAsync(data),
|
|
277
289
|
security: [
|
|
278
290
|
{
|
|
279
291
|
key: "Bearer",
|
|
@@ -294,6 +306,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
294
306
|
query: z.never().optional(),
|
|
295
307
|
})
|
|
296
308
|
.parseAsync(data),
|
|
309
|
+
responseValidator: async (data) => await zClaimTrackerResponse.parseAsync(data),
|
|
297
310
|
security: [
|
|
298
311
|
{
|
|
299
312
|
key: "Bearer",
|
|
@@ -318,6 +331,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
318
331
|
query: z.never().optional(),
|
|
319
332
|
})
|
|
320
333
|
.parseAsync(data),
|
|
334
|
+
responseValidator: async (data) => await zRevokeInvitationsResponse.parseAsync(data),
|
|
321
335
|
security: [
|
|
322
336
|
{
|
|
323
337
|
key: "Bearer",
|
|
@@ -338,6 +352,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
338
352
|
query: z.never().optional(),
|
|
339
353
|
})
|
|
340
354
|
.parseAsync(data),
|
|
355
|
+
responseValidator: async (data) => await zCreateInvitationResponse.parseAsync(data),
|
|
341
356
|
security: [
|
|
342
357
|
{
|
|
343
358
|
key: "Bearer",
|
|
@@ -358,6 +373,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
358
373
|
query: z.never().optional(),
|
|
359
374
|
})
|
|
360
375
|
.parseAsync(data),
|
|
376
|
+
responseValidator: async (data) => await zRedeemInvitationResponse.parseAsync(data),
|
|
361
377
|
security: [
|
|
362
378
|
{
|
|
363
379
|
key: "Bearer",
|
|
@@ -382,6 +398,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
382
398
|
query: z.never().optional(),
|
|
383
399
|
})
|
|
384
400
|
.parseAsync(data),
|
|
401
|
+
responseValidator: async (data) => await zSetRequestedModeResponse.parseAsync(data),
|
|
385
402
|
security: [
|
|
386
403
|
{
|
|
387
404
|
key: "Bearer",
|
|
@@ -406,6 +423,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
406
423
|
query: z.never().optional(),
|
|
407
424
|
})
|
|
408
425
|
.parseAsync(data),
|
|
426
|
+
responseValidator: async (data) => await zReportBatteryResponse.parseAsync(data),
|
|
409
427
|
security: [
|
|
410
428
|
{
|
|
411
429
|
key: "Bearer",
|
|
@@ -430,6 +448,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
430
448
|
query: z.never().optional(),
|
|
431
449
|
})
|
|
432
450
|
.parseAsync(data),
|
|
451
|
+
responseValidator: async (data) => await zChangeBluetoothPinResponse.parseAsync(data),
|
|
433
452
|
security: [
|
|
434
453
|
{
|
|
435
454
|
key: "Bearer",
|
|
@@ -454,6 +473,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
454
473
|
query: z.never().optional(),
|
|
455
474
|
})
|
|
456
475
|
.parseAsync(data),
|
|
476
|
+
responseValidator: async (data) => await zReportFactoryResetResponse.parseAsync(data),
|
|
457
477
|
security: [
|
|
458
478
|
{
|
|
459
479
|
key: "Bearer",
|
|
@@ -478,6 +498,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
478
498
|
query: z.never().optional(),
|
|
479
499
|
})
|
|
480
500
|
.parseAsync(data),
|
|
501
|
+
responseValidator: async (data) => await zReportLocationResponse.parseAsync(data),
|
|
481
502
|
security: [
|
|
482
503
|
{
|
|
483
504
|
key: "Bearer",
|
|
@@ -502,6 +523,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
502
523
|
query: z.never().optional(),
|
|
503
524
|
})
|
|
504
525
|
.parseAsync(data),
|
|
526
|
+
responseValidator: async (data) => await zReportTheftResponse.parseAsync(data),
|
|
505
527
|
security: [
|
|
506
528
|
{
|
|
507
529
|
key: "Bearer",
|
|
@@ -531,6 +553,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
531
553
|
query: z.never().optional(),
|
|
532
554
|
})
|
|
533
555
|
.parseAsync(data),
|
|
556
|
+
responseValidator: async (data) => await zGetStaffTrackerCom4SimStatusResponse.parseAsync(data),
|
|
534
557
|
security: [
|
|
535
558
|
{
|
|
536
559
|
key: "Bearer",
|
|
@@ -551,6 +574,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
551
574
|
query: z.never().optional(),
|
|
552
575
|
})
|
|
553
576
|
.parseAsync(data),
|
|
577
|
+
responseValidator: async (data) => await zEditStaffTrackerBikeResponse.parseAsync(data),
|
|
554
578
|
security: [
|
|
555
579
|
{
|
|
556
580
|
key: "Bearer",
|
|
@@ -575,6 +599,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
575
599
|
query: z.never().optional(),
|
|
576
600
|
})
|
|
577
601
|
.parseAsync(data),
|
|
602
|
+
responseValidator: async (data) => await zRemoveStaffTrackerMemberResponse.parseAsync(data),
|
|
578
603
|
security: [
|
|
579
604
|
{
|
|
580
605
|
key: "Bearer",
|
|
@@ -595,6 +620,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
595
620
|
query: z.never().optional(),
|
|
596
621
|
})
|
|
597
622
|
.parseAsync(data),
|
|
623
|
+
responseValidator: async (data) => await zAddStaffTrackerMemberResponse.parseAsync(data),
|
|
598
624
|
security: [
|
|
599
625
|
{
|
|
600
626
|
key: "Bearer",
|
|
@@ -619,6 +645,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
619
645
|
query: z.never().optional(),
|
|
620
646
|
})
|
|
621
647
|
.parseAsync(data),
|
|
648
|
+
responseValidator: async (data) => await zCleanStaffTrackerResponse.parseAsync(data),
|
|
622
649
|
security: [
|
|
623
650
|
{
|
|
624
651
|
key: "Bearer",
|
|
@@ -643,6 +670,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
643
670
|
query: z.never().optional(),
|
|
644
671
|
})
|
|
645
672
|
.parseAsync(data),
|
|
673
|
+
responseValidator: async (data) => await zSetStaffTrackerDenylistResponse.parseAsync(data),
|
|
646
674
|
security: [
|
|
647
675
|
{
|
|
648
676
|
key: "Bearer",
|
|
@@ -667,6 +695,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
667
695
|
query: z.never().optional(),
|
|
668
696
|
})
|
|
669
697
|
.parseAsync(data),
|
|
698
|
+
responseValidator: async (data) => await zGetStaffTrackerOperationResponse.parseAsync(data),
|
|
670
699
|
security: [
|
|
671
700
|
{
|
|
672
701
|
key: "Bearer",
|
|
@@ -687,6 +716,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
687
716
|
query: zListStaffTrackersQuery.optional(),
|
|
688
717
|
})
|
|
689
718
|
.parseAsync(data),
|
|
719
|
+
responseValidator: async (data) => await zListStaffTrackersResponse.parseAsync(data),
|
|
690
720
|
security: [
|
|
691
721
|
{
|
|
692
722
|
key: "Bearer",
|
|
@@ -707,6 +737,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
707
737
|
query: z.never().optional(),
|
|
708
738
|
})
|
|
709
739
|
.parseAsync(data),
|
|
740
|
+
responseValidator: async (data) => await zGetStaffTrackerModesResponse.parseAsync(data),
|
|
710
741
|
security: [
|
|
711
742
|
{
|
|
712
743
|
key: "Bearer",
|
|
@@ -727,6 +758,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
727
758
|
query: z.never().optional(),
|
|
728
759
|
})
|
|
729
760
|
.parseAsync(data),
|
|
761
|
+
responseValidator: async (data) => await zGetStaffTrackerResponse.parseAsync(data),
|
|
730
762
|
security: [
|
|
731
763
|
{
|
|
732
764
|
key: "Bearer",
|
|
@@ -747,6 +779,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
747
779
|
query: zListStaffTrackerHistoryQuery,
|
|
748
780
|
})
|
|
749
781
|
.parseAsync(data),
|
|
782
|
+
responseValidator: async (data) => await zListStaffTrackerHistoryResponse.parseAsync(data),
|
|
750
783
|
security: [
|
|
751
784
|
{
|
|
752
785
|
key: "Bearer",
|
|
@@ -767,6 +800,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
767
800
|
query: zListStaffTrackerAuditQuery,
|
|
768
801
|
})
|
|
769
802
|
.parseAsync(data),
|
|
803
|
+
responseValidator: async (data) => await zListStaffTrackerAuditResponse.parseAsync(data),
|
|
770
804
|
security: [
|
|
771
805
|
{
|
|
772
806
|
key: "Bearer",
|
|
@@ -787,6 +821,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
787
821
|
query: zListTrackerFirmwareReleasesQuery,
|
|
788
822
|
})
|
|
789
823
|
.parseAsync(data),
|
|
824
|
+
responseValidator: async (data) => await zListTrackerFirmwareReleasesResponse.parseAsync(data),
|
|
790
825
|
security: [
|
|
791
826
|
{
|
|
792
827
|
key: "Bearer",
|
|
@@ -808,6 +843,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
808
843
|
query: z.never().optional(),
|
|
809
844
|
})
|
|
810
845
|
.parseAsync(data),
|
|
846
|
+
responseValidator: async (data) => await zCreateTrackerFirmwareUpdateResponse.parseAsync(data),
|
|
811
847
|
security: [
|
|
812
848
|
{
|
|
813
849
|
key: "Bearer",
|
|
@@ -832,6 +868,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
832
868
|
query: z.never().optional(),
|
|
833
869
|
})
|
|
834
870
|
.parseAsync(data),
|
|
871
|
+
responseValidator: async (data) => await zGetTrackerFirmwareUpdateResponse.parseAsync(data),
|
|
835
872
|
security: [
|
|
836
873
|
{
|
|
837
874
|
key: "Bearer",
|
|
@@ -852,6 +889,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
852
889
|
query: z.never().optional(),
|
|
853
890
|
})
|
|
854
891
|
.parseAsync(data),
|
|
892
|
+
responseValidator: async (data) => await zReportTrackerFirmwareAttemptResponse.parseAsync(data),
|
|
855
893
|
security: [
|
|
856
894
|
{
|
|
857
895
|
key: "Bearer",
|
|
@@ -876,6 +914,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
876
914
|
query: z.never().optional(),
|
|
877
915
|
})
|
|
878
916
|
.parseAsync(data),
|
|
917
|
+
responseValidator: async (data) => await zGetLegacyLteUpgradeOptionsResponse.parseAsync(data),
|
|
879
918
|
security: [
|
|
880
919
|
{
|
|
881
920
|
key: "Bearer",
|
|
@@ -896,6 +935,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
896
935
|
query: z.never().optional(),
|
|
897
936
|
})
|
|
898
937
|
.parseAsync(data),
|
|
938
|
+
responseValidator: async (data) => await zRequestLegacyLteUpgradeResponse.parseAsync(data),
|
|
899
939
|
security: [
|
|
900
940
|
{
|
|
901
941
|
key: "Bearer",
|
|
@@ -920,6 +960,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
920
960
|
query: z.never().optional(),
|
|
921
961
|
})
|
|
922
962
|
.parseAsync(data),
|
|
963
|
+
responseValidator: async (data) => await zCancelLegacyLteUpgradeResponse.parseAsync(data),
|
|
923
964
|
security: [
|
|
924
965
|
{
|
|
925
966
|
key: "Bearer",
|
|
@@ -944,6 +985,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
944
985
|
query: z.never().optional(),
|
|
945
986
|
})
|
|
946
987
|
.parseAsync(data),
|
|
988
|
+
responseValidator: async (data) => await zGetAccountResponse.parseAsync(data),
|
|
947
989
|
security: [
|
|
948
990
|
{
|
|
949
991
|
key: "Bearer",
|
|
@@ -964,6 +1006,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
964
1006
|
query: z.never().optional(),
|
|
965
1007
|
})
|
|
966
1008
|
.parseAsync(data),
|
|
1009
|
+
responseValidator: async (data) => await zInitializeAccountResponse.parseAsync(data),
|
|
967
1010
|
security: [
|
|
968
1011
|
{
|
|
969
1012
|
key: "Bearer",
|
|
@@ -984,6 +1027,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
984
1027
|
query: zListNotificationsQuery.optional(),
|
|
985
1028
|
})
|
|
986
1029
|
.parseAsync(data),
|
|
1030
|
+
responseValidator: async (data) => await zListNotificationsResponse.parseAsync(data),
|
|
987
1031
|
security: [
|
|
988
1032
|
{
|
|
989
1033
|
key: "Bearer",
|
|
@@ -1004,6 +1048,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
1004
1048
|
query: z.never().optional(),
|
|
1005
1049
|
})
|
|
1006
1050
|
.parseAsync(data),
|
|
1051
|
+
responseValidator: async (data) => await zEditPreferencesResponse.parseAsync(data),
|
|
1007
1052
|
security: [
|
|
1008
1053
|
{
|
|
1009
1054
|
key: "Bearer",
|
|
@@ -1028,6 +1073,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
1028
1073
|
query: zUnregisterPushQuery,
|
|
1029
1074
|
})
|
|
1030
1075
|
.parseAsync(data),
|
|
1076
|
+
responseValidator: async (data) => await zUnregisterPushResponse.parseAsync(data),
|
|
1031
1077
|
security: [
|
|
1032
1078
|
{
|
|
1033
1079
|
key: "Bearer",
|
|
@@ -1048,6 +1094,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
1048
1094
|
query: z.never().optional(),
|
|
1049
1095
|
})
|
|
1050
1096
|
.parseAsync(data),
|
|
1097
|
+
responseValidator: async (data) => await zRegisterPushResponse.parseAsync(data),
|
|
1051
1098
|
security: [
|
|
1052
1099
|
{
|
|
1053
1100
|
key: "Bearer",
|
|
@@ -1072,6 +1119,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
1072
1119
|
query: zLookupStaffAccountsQuery,
|
|
1073
1120
|
})
|
|
1074
1121
|
.parseAsync(data),
|
|
1122
|
+
responseValidator: async (data) => await zLookupStaffAccountsResponse.parseAsync(data),
|
|
1075
1123
|
security: [
|
|
1076
1124
|
{
|
|
1077
1125
|
key: "Bearer",
|
|
@@ -1092,6 +1140,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
1092
1140
|
query: z.never().optional(),
|
|
1093
1141
|
})
|
|
1094
1142
|
.parseAsync(data),
|
|
1143
|
+
responseValidator: async (data) => await zGetStaffAccountResponse.parseAsync(data),
|
|
1095
1144
|
security: [
|
|
1096
1145
|
{
|
|
1097
1146
|
key: "Bearer",
|
|
@@ -1112,6 +1161,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
1112
1161
|
query: z.never().optional(),
|
|
1113
1162
|
})
|
|
1114
1163
|
.parseAsync(data),
|
|
1164
|
+
responseValidator: async (data) => await zReadStaffAccountsResponse.parseAsync(data),
|
|
1115
1165
|
security: [
|
|
1116
1166
|
{
|
|
1117
1167
|
key: "Bearer",
|
|
@@ -1136,6 +1186,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
1136
1186
|
query: zListStaffFavoritesQuery.optional(),
|
|
1137
1187
|
})
|
|
1138
1188
|
.parseAsync(data),
|
|
1189
|
+
responseValidator: async (data) => await zListStaffFavoritesResponse.parseAsync(data),
|
|
1139
1190
|
security: [
|
|
1140
1191
|
{
|
|
1141
1192
|
key: "Bearer",
|
|
@@ -1156,6 +1207,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
1156
1207
|
query: z.never().optional(),
|
|
1157
1208
|
})
|
|
1158
1209
|
.parseAsync(data),
|
|
1210
|
+
responseValidator: async (data) => await zDeleteStaffFavoriteResponse.parseAsync(data),
|
|
1159
1211
|
security: [
|
|
1160
1212
|
{
|
|
1161
1213
|
key: "Bearer",
|
|
@@ -1176,6 +1228,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
1176
1228
|
query: z.never().optional(),
|
|
1177
1229
|
})
|
|
1178
1230
|
.parseAsync(data),
|
|
1231
|
+
responseValidator: async (data) => await zSaveStaffFavoriteResponse.parseAsync(data),
|
|
1179
1232
|
security: [
|
|
1180
1233
|
{
|
|
1181
1234
|
key: "Bearer",
|
|
@@ -1200,6 +1253,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
1200
1253
|
query: zListTrackerPhotosQuery.optional(),
|
|
1201
1254
|
})
|
|
1202
1255
|
.parseAsync(data),
|
|
1256
|
+
responseValidator: async (data) => await zListTrackerPhotosResponse.parseAsync(data),
|
|
1203
1257
|
security: [
|
|
1204
1258
|
{
|
|
1205
1259
|
key: "Bearer",
|
|
@@ -1221,6 +1275,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
1221
1275
|
query: zUploadPhotoQuery,
|
|
1222
1276
|
})
|
|
1223
1277
|
.parseAsync(data),
|
|
1278
|
+
responseValidator: async (data) => await zUploadPhotoResponse.parseAsync(data),
|
|
1224
1279
|
security: [
|
|
1225
1280
|
{
|
|
1226
1281
|
key: "Bearer",
|
|
@@ -1245,6 +1300,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
1245
1300
|
query: z.never().optional(),
|
|
1246
1301
|
})
|
|
1247
1302
|
.parseAsync(data),
|
|
1303
|
+
responseValidator: async (data) => await zDeleteTrackerPhotoResponse.parseAsync(data),
|
|
1248
1304
|
security: [
|
|
1249
1305
|
{
|
|
1250
1306
|
key: "Bearer",
|
|
@@ -1265,6 +1321,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
1265
1321
|
query: zListStaffTrackerPhotosQuery.optional(),
|
|
1266
1322
|
})
|
|
1267
1323
|
.parseAsync(data),
|
|
1324
|
+
responseValidator: async (data) => await zListStaffTrackerPhotosResponse.parseAsync(data),
|
|
1268
1325
|
security: [
|
|
1269
1326
|
{
|
|
1270
1327
|
key: "Bearer",
|
|
@@ -1285,6 +1342,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
1285
1342
|
query: z.never().optional(),
|
|
1286
1343
|
})
|
|
1287
1344
|
.parseAsync(data),
|
|
1345
|
+
responseValidator: async (data) => await zDeleteStaffTrackerPhotoResponse.parseAsync(data),
|
|
1288
1346
|
security: [
|
|
1289
1347
|
{
|
|
1290
1348
|
key: "Bearer",
|
|
@@ -1305,6 +1363,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
1305
1363
|
query: zListSubscriptionsQuery.optional(),
|
|
1306
1364
|
})
|
|
1307
1365
|
.parseAsync(data),
|
|
1366
|
+
responseValidator: async (data) => await zListSubscriptionsResponse.parseAsync(data),
|
|
1308
1367
|
security: [
|
|
1309
1368
|
{
|
|
1310
1369
|
key: "Bearer",
|
|
@@ -1325,6 +1384,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
1325
1384
|
query: z.never().optional(),
|
|
1326
1385
|
})
|
|
1327
1386
|
.parseAsync(data),
|
|
1387
|
+
responseValidator: async (data) => await zGetSubscriptionResponse.parseAsync(data),
|
|
1328
1388
|
security: [
|
|
1329
1389
|
{
|
|
1330
1390
|
key: "Bearer",
|
|
@@ -1345,6 +1405,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
1345
1405
|
query: z.never().optional(),
|
|
1346
1406
|
})
|
|
1347
1407
|
.parseAsync(data),
|
|
1408
|
+
responseValidator: async (data) => await zGetAwsCommandCatalogResponse.parseAsync(data),
|
|
1348
1409
|
security: [
|
|
1349
1410
|
{
|
|
1350
1411
|
key: "Bearer",
|
|
@@ -1365,6 +1426,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
1365
1426
|
query: z.never().optional(),
|
|
1366
1427
|
})
|
|
1367
1428
|
.parseAsync(data),
|
|
1429
|
+
responseValidator: async (data) => await zGetAwsDeviceIdentityResponse.parseAsync(data),
|
|
1368
1430
|
security: [
|
|
1369
1431
|
{
|
|
1370
1432
|
key: "Bearer",
|
|
@@ -1385,6 +1447,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
1385
1447
|
query: z.never().optional(),
|
|
1386
1448
|
})
|
|
1387
1449
|
.parseAsync(data),
|
|
1450
|
+
responseValidator: async (data) => await zGetAwsDeviceConnectivityResponse.parseAsync(data),
|
|
1388
1451
|
security: [
|
|
1389
1452
|
{
|
|
1390
1453
|
key: "Bearer",
|
|
@@ -1405,6 +1468,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
1405
1468
|
query: z.never().optional(),
|
|
1406
1469
|
})
|
|
1407
1470
|
.parseAsync(data),
|
|
1471
|
+
responseValidator: async (data) => await zGetAwsDeviceCommandCapabilitiesResponse.parseAsync(data),
|
|
1408
1472
|
security: [
|
|
1409
1473
|
{
|
|
1410
1474
|
key: "Bearer",
|
|
@@ -1425,6 +1489,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
1425
1489
|
query: zListAwsDeviceObservationsQuery,
|
|
1426
1490
|
})
|
|
1427
1491
|
.parseAsync(data),
|
|
1492
|
+
responseValidator: async (data) => await zListAwsDeviceObservationsResponse.parseAsync(data),
|
|
1428
1493
|
security: [
|
|
1429
1494
|
{
|
|
1430
1495
|
key: "Bearer",
|
|
@@ -1445,6 +1510,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
1445
1510
|
query: z.never().optional(),
|
|
1446
1511
|
})
|
|
1447
1512
|
.parseAsync(data),
|
|
1513
|
+
responseValidator: async (data) => await zGetAwsDeviceObservationResponse.parseAsync(data),
|
|
1448
1514
|
security: [
|
|
1449
1515
|
{
|
|
1450
1516
|
key: "Bearer",
|
|
@@ -1465,6 +1531,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
1465
1531
|
query: z.never().optional(),
|
|
1466
1532
|
})
|
|
1467
1533
|
.parseAsync(data),
|
|
1534
|
+
responseValidator: async (data) => await zReadAwsObservationsResponse.parseAsync(data),
|
|
1468
1535
|
security: [
|
|
1469
1536
|
{
|
|
1470
1537
|
key: "Bearer",
|
|
@@ -1489,6 +1556,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
1489
1556
|
query: z.never().optional(),
|
|
1490
1557
|
})
|
|
1491
1558
|
.parseAsync(data),
|
|
1559
|
+
responseValidator: async (data) => await zGetAwsSettingsResponse.parseAsync(data),
|
|
1492
1560
|
security: [
|
|
1493
1561
|
{
|
|
1494
1562
|
key: "Bearer",
|
|
@@ -1509,6 +1577,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
1509
1577
|
query: z.never().optional(),
|
|
1510
1578
|
})
|
|
1511
1579
|
.parseAsync(data),
|
|
1580
|
+
responseValidator: async (data) => await zUpdateAwsSettingsResponse.parseAsync(data),
|
|
1512
1581
|
security: [
|
|
1513
1582
|
{
|
|
1514
1583
|
key: "Bearer",
|
|
@@ -1533,6 +1602,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
1533
1602
|
query: zListAwsCommandsQuery.optional(),
|
|
1534
1603
|
})
|
|
1535
1604
|
.parseAsync(data),
|
|
1605
|
+
responseValidator: async (data) => await zListAwsCommandsResponse.parseAsync(data),
|
|
1536
1606
|
security: [
|
|
1537
1607
|
{
|
|
1538
1608
|
key: "Bearer",
|
|
@@ -1553,6 +1623,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
1553
1623
|
query: z.never().optional(),
|
|
1554
1624
|
})
|
|
1555
1625
|
.parseAsync(data),
|
|
1626
|
+
responseValidator: async (data) => await zSendAwsCommandResponse.parseAsync(data),
|
|
1556
1627
|
security: [
|
|
1557
1628
|
{
|
|
1558
1629
|
key: "Bearer",
|
|
@@ -1577,6 +1648,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
1577
1648
|
query: z.never().optional(),
|
|
1578
1649
|
})
|
|
1579
1650
|
.parseAsync(data),
|
|
1651
|
+
responseValidator: async (data) => await zGetAwsCommandResponse.parseAsync(data),
|
|
1580
1652
|
security: [
|
|
1581
1653
|
{
|
|
1582
1654
|
key: "Bearer",
|
|
@@ -1597,6 +1669,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
1597
1669
|
query: z.never().optional(),
|
|
1598
1670
|
})
|
|
1599
1671
|
.parseAsync(data),
|
|
1672
|
+
responseValidator: async (data) => await zGetAwsCommandOperationResponse.parseAsync(data),
|
|
1600
1673
|
security: [
|
|
1601
1674
|
{
|
|
1602
1675
|
key: "Bearer",
|
|
@@ -1617,6 +1690,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
1617
1690
|
query: z.never().optional(),
|
|
1618
1691
|
})
|
|
1619
1692
|
.parseAsync(data),
|
|
1693
|
+
responseValidator: async (data) => await zListAwsFirmwareReleasesResponse.parseAsync(data),
|
|
1620
1694
|
security: [
|
|
1621
1695
|
{
|
|
1622
1696
|
key: "Bearer",
|
|
@@ -1637,6 +1711,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
1637
1711
|
query: z.never().optional(),
|
|
1638
1712
|
})
|
|
1639
1713
|
.parseAsync(data),
|
|
1714
|
+
responseValidator: async (data) => await zGetActiveAwsFirmwareResponse.parseAsync(data),
|
|
1640
1715
|
security: [
|
|
1641
1716
|
{
|
|
1642
1717
|
key: "Bearer",
|
|
@@ -1657,6 +1732,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
1657
1732
|
query: z.never().optional(),
|
|
1658
1733
|
})
|
|
1659
1734
|
.parseAsync(data),
|
|
1735
|
+
responseValidator: async (data) => await zRequestAwsFirmwareResponse.parseAsync(data),
|
|
1660
1736
|
security: [
|
|
1661
1737
|
{
|
|
1662
1738
|
key: "Bearer",
|
|
@@ -1681,6 +1757,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
1681
1757
|
query: z.never().optional(),
|
|
1682
1758
|
})
|
|
1683
1759
|
.parseAsync(data),
|
|
1760
|
+
responseValidator: async (data) => await zGetAwsFirmwareOperationResponse.parseAsync(data),
|
|
1684
1761
|
security: [
|
|
1685
1762
|
{
|
|
1686
1763
|
key: "Bearer",
|
|
@@ -1701,6 +1778,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
1701
1778
|
query: z.never().optional(),
|
|
1702
1779
|
})
|
|
1703
1780
|
.parseAsync(data),
|
|
1781
|
+
responseValidator: async (data) => await zCancelAwsFirmwareResponse.parseAsync(data),
|
|
1704
1782
|
security: [
|
|
1705
1783
|
{
|
|
1706
1784
|
key: "Bearer",
|
|
@@ -1725,6 +1803,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
1725
1803
|
query: zListStaffSubscriptionsQuery.optional(),
|
|
1726
1804
|
})
|
|
1727
1805
|
.parseAsync(data),
|
|
1806
|
+
responseValidator: async (data) => await zListStaffSubscriptionsResponse.parseAsync(data),
|
|
1728
1807
|
security: [
|
|
1729
1808
|
{
|
|
1730
1809
|
key: "Bearer",
|
|
@@ -1745,6 +1824,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
1745
1824
|
query: z.never().optional(),
|
|
1746
1825
|
})
|
|
1747
1826
|
.parseAsync(data),
|
|
1827
|
+
responseValidator: async (data) => await zGetStaffSubscriptionResponse.parseAsync(data),
|
|
1748
1828
|
security: [
|
|
1749
1829
|
{
|
|
1750
1830
|
key: "Bearer",
|
|
@@ -1765,6 +1845,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
1765
1845
|
query: z.never().optional(),
|
|
1766
1846
|
})
|
|
1767
1847
|
.parseAsync(data),
|
|
1848
|
+
responseValidator: async (data) => await zGetNativeInsuranceJournalResponse.parseAsync(data),
|
|
1768
1849
|
security: [
|
|
1769
1850
|
{
|
|
1770
1851
|
key: "Bearer",
|
|
@@ -1785,6 +1866,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
1785
1866
|
query: zListInsuranceContractsQuery.optional(),
|
|
1786
1867
|
})
|
|
1787
1868
|
.parseAsync(data),
|
|
1869
|
+
responseValidator: async (data) => await zListInsuranceContractsResponse.parseAsync(data),
|
|
1788
1870
|
security: [
|
|
1789
1871
|
{
|
|
1790
1872
|
key: "Bearer",
|
|
@@ -1805,6 +1887,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
1805
1887
|
query: zGetInsuranceContractQuery.optional(),
|
|
1806
1888
|
})
|
|
1807
1889
|
.parseAsync(data),
|
|
1890
|
+
responseValidator: async (data) => await zGetInsuranceContractResponse.parseAsync(data),
|
|
1808
1891
|
security: [
|
|
1809
1892
|
{
|
|
1810
1893
|
key: "Bearer",
|
|
@@ -1825,6 +1908,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
1825
1908
|
query: zListInsuranceAttemptsQuery.optional(),
|
|
1826
1909
|
})
|
|
1827
1910
|
.parseAsync(data),
|
|
1911
|
+
responseValidator: async (data) => await zListInsuranceAttemptsResponse.parseAsync(data),
|
|
1828
1912
|
security: [
|
|
1829
1913
|
{
|
|
1830
1914
|
key: "Bearer",
|
|
@@ -1845,6 +1929,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
1845
1929
|
query: z.never().optional(),
|
|
1846
1930
|
})
|
|
1847
1931
|
.parseAsync(data),
|
|
1932
|
+
responseValidator: async (data) => await zRequestSubscriptionInsuranceResponse.parseAsync(data),
|
|
1848
1933
|
security: [
|
|
1849
1934
|
{
|
|
1850
1935
|
key: "Bearer",
|
|
@@ -1869,6 +1954,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
1869
1954
|
query: z.never().optional(),
|
|
1870
1955
|
})
|
|
1871
1956
|
.parseAsync(data),
|
|
1957
|
+
responseValidator: async (data) => await zRefreshSubscriptionResponse.parseAsync(data),
|
|
1872
1958
|
security: [
|
|
1873
1959
|
{
|
|
1874
1960
|
key: "Bearer",
|
|
@@ -1893,6 +1979,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
1893
1979
|
query: z.never().optional(),
|
|
1894
1980
|
})
|
|
1895
1981
|
.parseAsync(data),
|
|
1982
|
+
responseValidator: async (data) => await zRequestAccountInsuranceResponse.parseAsync(data),
|
|
1896
1983
|
security: [
|
|
1897
1984
|
{
|
|
1898
1985
|
key: "Bearer",
|
|
@@ -1917,6 +2004,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
1917
2004
|
query: z.never().optional(),
|
|
1918
2005
|
})
|
|
1919
2006
|
.parseAsync(data),
|
|
2007
|
+
responseValidator: async (data) => await zRequestTrackerInsuranceResponse.parseAsync(data),
|
|
1920
2008
|
security: [
|
|
1921
2009
|
{
|
|
1922
2010
|
key: "Bearer",
|
|
@@ -1941,6 +2029,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
1941
2029
|
query: z.never().optional(),
|
|
1942
2030
|
})
|
|
1943
2031
|
.parseAsync(data),
|
|
2032
|
+
responseValidator: async (data) => await zReconcileTrackerSubscriptionResponse.parseAsync(data),
|
|
1944
2033
|
security: [
|
|
1945
2034
|
{
|
|
1946
2035
|
key: "Bearer",
|
|
@@ -1965,6 +2054,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
1965
2054
|
query: z.never().optional(),
|
|
1966
2055
|
})
|
|
1967
2056
|
.parseAsync(data),
|
|
2057
|
+
responseValidator: async (data) => await zGetBillingOperationResponse.parseAsync(data),
|
|
1968
2058
|
security: [
|
|
1969
2059
|
{
|
|
1970
2060
|
key: "Bearer",
|
|
@@ -1985,6 +2075,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
1985
2075
|
query: z.never().optional(),
|
|
1986
2076
|
})
|
|
1987
2077
|
.parseAsync(data),
|
|
2078
|
+
responseValidator: async (data) => await zAcceptShopifySubscriptionResponse.parseAsync(data),
|
|
1988
2079
|
security: [
|
|
1989
2080
|
{
|
|
1990
2081
|
key: "ShopifyFlow",
|
|
@@ -2009,6 +2100,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
2009
2100
|
query: z.never().optional(),
|
|
2010
2101
|
})
|
|
2011
2102
|
.parseAsync(data),
|
|
2103
|
+
responseValidator: async (data) => await zAcceptWooSubscriptionResponse.parseAsync(data),
|
|
2012
2104
|
security: [{ name: "X-WC-Webhook-Signature", type: "apiKey" }],
|
|
2013
2105
|
url: "/v1/automation/woocommerce/subscriptions",
|
|
2014
2106
|
...options,
|
|
@@ -2027,6 +2119,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
2027
2119
|
query: z.never().optional(),
|
|
2028
2120
|
})
|
|
2029
2121
|
.parseAsync(data),
|
|
2122
|
+
responseValidator: async (data) => await zAcceptWooPaidOrderResponse.parseAsync(data),
|
|
2030
2123
|
security: [{ name: "X-WC-Webhook-Signature", type: "apiKey" }],
|
|
2031
2124
|
url: "/v1/automation/woocommerce/paid-orders",
|
|
2032
2125
|
...options,
|
|
@@ -8596,9 +8596,6 @@ export type DeviceWorkCompletedValue = {
|
|
|
8596
8596
|
export type DeviceWorkflowExecutionValue = {
|
|
8597
8597
|
workflowVersion: number;
|
|
8598
8598
|
mode: string;
|
|
8599
|
-
/**
|
|
8600
|
-
* Workflow diagnostic state, including idle and rest. New states may be added; callers must handle unfamiliar values.
|
|
8601
|
-
*/
|
|
8602
8599
|
state: string;
|
|
8603
8600
|
owner: "workflow" | "command" | "update" | "recovery" | "shutdown" | "fault" | "settings" | "charging" | "ble" | "network";
|
|
8604
8601
|
phase: "entered" | "completed" | "cancelled" | "ownerChanged" | "snapshot";
|
|
@@ -9242,24 +9242,24 @@ export declare const zDeviceWorkflowExecutionValue: z.ZodObject<{
|
|
|
9242
9242
|
error: z.ZodNullable<z.ZodInt>;
|
|
9243
9243
|
waitReason: z.ZodNullable<z.ZodEnum<{
|
|
9244
9244
|
command: "command";
|
|
9245
|
-
rest: "rest";
|
|
9246
9245
|
update: "update";
|
|
9247
9246
|
network: "network";
|
|
9248
9247
|
resource: "resource";
|
|
9249
9248
|
configuration: "configuration";
|
|
9249
|
+
rest: "rest";
|
|
9250
9250
|
}>>;
|
|
9251
9251
|
operation: z.ZodNullable<z.ZodEnum<{
|
|
9252
9252
|
publish: "publish";
|
|
9253
|
-
connect: "connect";
|
|
9254
|
-
listen: "listen";
|
|
9255
9253
|
capture: "capture";
|
|
9256
9254
|
mqttOpen: "mqttOpen";
|
|
9255
|
+
listen: "listen";
|
|
9257
9256
|
modemOnline: "modemOnline";
|
|
9258
9257
|
modemEdrx: "modemEdrx";
|
|
9259
9258
|
modemPsm: "modemPsm";
|
|
9260
9259
|
modemOffline: "modemOffline";
|
|
9261
9260
|
disconnectMqtt: "disconnectMqtt";
|
|
9262
9261
|
prepareConnection: "prepareConnection";
|
|
9262
|
+
connect: "connect";
|
|
9263
9263
|
}>>;
|
|
9264
9264
|
}, z.core.$catchall<z.ZodUnknown>>;
|
|
9265
9265
|
export declare const zAwsWorkflowExecutionObservation: z.ZodObject<{
|
|
@@ -9300,24 +9300,24 @@ export declare const zAwsWorkflowExecutionObservation: z.ZodObject<{
|
|
|
9300
9300
|
error: z.ZodNullable<z.ZodInt>;
|
|
9301
9301
|
waitReason: z.ZodNullable<z.ZodEnum<{
|
|
9302
9302
|
command: "command";
|
|
9303
|
-
rest: "rest";
|
|
9304
9303
|
update: "update";
|
|
9305
9304
|
network: "network";
|
|
9306
9305
|
resource: "resource";
|
|
9307
9306
|
configuration: "configuration";
|
|
9307
|
+
rest: "rest";
|
|
9308
9308
|
}>>;
|
|
9309
9309
|
operation: z.ZodNullable<z.ZodEnum<{
|
|
9310
9310
|
publish: "publish";
|
|
9311
|
-
connect: "connect";
|
|
9312
|
-
listen: "listen";
|
|
9313
9311
|
capture: "capture";
|
|
9314
9312
|
mqttOpen: "mqttOpen";
|
|
9313
|
+
listen: "listen";
|
|
9315
9314
|
modemOnline: "modemOnline";
|
|
9316
9315
|
modemEdrx: "modemEdrx";
|
|
9317
9316
|
modemPsm: "modemPsm";
|
|
9318
9317
|
modemOffline: "modemOffline";
|
|
9319
9318
|
disconnectMqtt: "disconnectMqtt";
|
|
9320
9319
|
prepareConnection: "prepareConnection";
|
|
9320
|
+
connect: "connect";
|
|
9321
9321
|
}>>;
|
|
9322
9322
|
}, z.core.$catchall<z.ZodUnknown>>;
|
|
9323
9323
|
measuredAt: z.ZodISODateTime;
|
|
@@ -9364,24 +9364,24 @@ export declare const zAwsWorkflowExecutionReading: z.ZodUnion<readonly [z.ZodObj
|
|
|
9364
9364
|
error: z.ZodNullable<z.ZodInt>;
|
|
9365
9365
|
waitReason: z.ZodNullable<z.ZodEnum<{
|
|
9366
9366
|
command: "command";
|
|
9367
|
-
rest: "rest";
|
|
9368
9367
|
update: "update";
|
|
9369
9368
|
network: "network";
|
|
9370
9369
|
resource: "resource";
|
|
9371
9370
|
configuration: "configuration";
|
|
9371
|
+
rest: "rest";
|
|
9372
9372
|
}>>;
|
|
9373
9373
|
operation: z.ZodNullable<z.ZodEnum<{
|
|
9374
9374
|
publish: "publish";
|
|
9375
|
-
connect: "connect";
|
|
9376
|
-
listen: "listen";
|
|
9377
9375
|
capture: "capture";
|
|
9378
9376
|
mqttOpen: "mqttOpen";
|
|
9377
|
+
listen: "listen";
|
|
9379
9378
|
modemOnline: "modemOnline";
|
|
9380
9379
|
modemEdrx: "modemEdrx";
|
|
9381
9380
|
modemPsm: "modemPsm";
|
|
9382
9381
|
modemOffline: "modemOffline";
|
|
9383
9382
|
disconnectMqtt: "disconnectMqtt";
|
|
9384
9383
|
prepareConnection: "prepareConnection";
|
|
9384
|
+
connect: "connect";
|
|
9385
9385
|
}>>;
|
|
9386
9386
|
}, z.core.$catchall<z.ZodUnknown>>;
|
|
9387
9387
|
measuredAt: z.ZodISODateTime;
|
|
@@ -20460,24 +20460,24 @@ export declare const zAwsObservation: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
20460
20460
|
error: z.ZodNullable<z.ZodInt>;
|
|
20461
20461
|
waitReason: z.ZodNullable<z.ZodEnum<{
|
|
20462
20462
|
command: "command";
|
|
20463
|
-
rest: "rest";
|
|
20464
20463
|
update: "update";
|
|
20465
20464
|
network: "network";
|
|
20466
20465
|
resource: "resource";
|
|
20467
20466
|
configuration: "configuration";
|
|
20467
|
+
rest: "rest";
|
|
20468
20468
|
}>>;
|
|
20469
20469
|
operation: z.ZodNullable<z.ZodEnum<{
|
|
20470
20470
|
publish: "publish";
|
|
20471
|
-
connect: "connect";
|
|
20472
|
-
listen: "listen";
|
|
20473
20471
|
capture: "capture";
|
|
20474
20472
|
mqttOpen: "mqttOpen";
|
|
20473
|
+
listen: "listen";
|
|
20475
20474
|
modemOnline: "modemOnline";
|
|
20476
20475
|
modemEdrx: "modemEdrx";
|
|
20477
20476
|
modemPsm: "modemPsm";
|
|
20478
20477
|
modemOffline: "modemOffline";
|
|
20479
20478
|
disconnectMqtt: "disconnectMqtt";
|
|
20480
20479
|
prepareConnection: "prepareConnection";
|
|
20480
|
+
connect: "connect";
|
|
20481
20481
|
}>>;
|
|
20482
20482
|
}, z.core.$catchall<z.ZodUnknown>>;
|
|
20483
20483
|
measuredAt: z.ZodISODateTime;
|
|
@@ -22782,24 +22782,24 @@ export declare const zAwsObservationPage: z.ZodObject<{
|
|
|
22782
22782
|
error: z.ZodNullable<z.ZodInt>;
|
|
22783
22783
|
waitReason: z.ZodNullable<z.ZodEnum<{
|
|
22784
22784
|
command: "command";
|
|
22785
|
-
rest: "rest";
|
|
22786
22785
|
update: "update";
|
|
22787
22786
|
network: "network";
|
|
22788
22787
|
resource: "resource";
|
|
22789
22788
|
configuration: "configuration";
|
|
22789
|
+
rest: "rest";
|
|
22790
22790
|
}>>;
|
|
22791
22791
|
operation: z.ZodNullable<z.ZodEnum<{
|
|
22792
22792
|
publish: "publish";
|
|
22793
|
-
connect: "connect";
|
|
22794
|
-
listen: "listen";
|
|
22795
22793
|
capture: "capture";
|
|
22796
22794
|
mqttOpen: "mqttOpen";
|
|
22795
|
+
listen: "listen";
|
|
22797
22796
|
modemOnline: "modemOnline";
|
|
22798
22797
|
modemEdrx: "modemEdrx";
|
|
22799
22798
|
modemPsm: "modemPsm";
|
|
22800
22799
|
modemOffline: "modemOffline";
|
|
22801
22800
|
disconnectMqtt: "disconnectMqtt";
|
|
22802
22801
|
prepareConnection: "prepareConnection";
|
|
22802
|
+
connect: "connect";
|
|
22803
22803
|
}>>;
|
|
22804
22804
|
}, z.core.$catchall<z.ZodUnknown>>;
|
|
22805
22805
|
measuredAt: z.ZodISODateTime;
|
|
@@ -26799,24 +26799,24 @@ export declare const zAwsObservationReading: z.ZodUnion<readonly [z.ZodUnion<rea
|
|
|
26799
26799
|
error: z.ZodNullable<z.ZodInt>;
|
|
26800
26800
|
waitReason: z.ZodNullable<z.ZodEnum<{
|
|
26801
26801
|
command: "command";
|
|
26802
|
-
rest: "rest";
|
|
26803
26802
|
update: "update";
|
|
26804
26803
|
network: "network";
|
|
26805
26804
|
resource: "resource";
|
|
26806
26805
|
configuration: "configuration";
|
|
26806
|
+
rest: "rest";
|
|
26807
26807
|
}>>;
|
|
26808
26808
|
operation: z.ZodNullable<z.ZodEnum<{
|
|
26809
26809
|
publish: "publish";
|
|
26810
|
-
connect: "connect";
|
|
26811
|
-
listen: "listen";
|
|
26812
26810
|
capture: "capture";
|
|
26813
26811
|
mqttOpen: "mqttOpen";
|
|
26812
|
+
listen: "listen";
|
|
26814
26813
|
modemOnline: "modemOnline";
|
|
26815
26814
|
modemEdrx: "modemEdrx";
|
|
26816
26815
|
modemPsm: "modemPsm";
|
|
26817
26816
|
modemOffline: "modemOffline";
|
|
26818
26817
|
disconnectMqtt: "disconnectMqtt";
|
|
26819
26818
|
prepareConnection: "prepareConnection";
|
|
26819
|
+
connect: "connect";
|
|
26820
26820
|
}>>;
|
|
26821
26821
|
}, z.core.$catchall<z.ZodUnknown>>;
|
|
26822
26822
|
measuredAt: z.ZodISODateTime;
|
|
@@ -28212,24 +28212,24 @@ export declare const zDeviceObservationValues: z.ZodObject<{
|
|
|
28212
28212
|
error: z.ZodNullable<z.ZodInt>;
|
|
28213
28213
|
waitReason: z.ZodNullable<z.ZodEnum<{
|
|
28214
28214
|
command: "command";
|
|
28215
|
-
rest: "rest";
|
|
28216
28215
|
update: "update";
|
|
28217
28216
|
network: "network";
|
|
28218
28217
|
resource: "resource";
|
|
28219
28218
|
configuration: "configuration";
|
|
28219
|
+
rest: "rest";
|
|
28220
28220
|
}>>;
|
|
28221
28221
|
operation: z.ZodNullable<z.ZodEnum<{
|
|
28222
28222
|
publish: "publish";
|
|
28223
|
-
connect: "connect";
|
|
28224
|
-
listen: "listen";
|
|
28225
28223
|
capture: "capture";
|
|
28226
28224
|
mqttOpen: "mqttOpen";
|
|
28225
|
+
listen: "listen";
|
|
28227
28226
|
modemOnline: "modemOnline";
|
|
28228
28227
|
modemEdrx: "modemEdrx";
|
|
28229
28228
|
modemPsm: "modemPsm";
|
|
28230
28229
|
modemOffline: "modemOffline";
|
|
28231
28230
|
disconnectMqtt: "disconnectMqtt";
|
|
28232
28231
|
prepareConnection: "prepareConnection";
|
|
28232
|
+
connect: "connect";
|
|
28233
28233
|
}>>;
|
|
28234
28234
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
28235
28235
|
"battery.module.chargeCompleted": z.ZodOptional<z.ZodObject<{
|
|
@@ -34736,24 +34736,24 @@ export declare const zListAwsDeviceObservationsResponse: z.ZodObject<{
|
|
|
34736
34736
|
error: z.ZodNullable<z.ZodInt>;
|
|
34737
34737
|
waitReason: z.ZodNullable<z.ZodEnum<{
|
|
34738
34738
|
command: "command";
|
|
34739
|
-
rest: "rest";
|
|
34740
34739
|
update: "update";
|
|
34741
34740
|
network: "network";
|
|
34742
34741
|
resource: "resource";
|
|
34743
34742
|
configuration: "configuration";
|
|
34743
|
+
rest: "rest";
|
|
34744
34744
|
}>>;
|
|
34745
34745
|
operation: z.ZodNullable<z.ZodEnum<{
|
|
34746
34746
|
publish: "publish";
|
|
34747
|
-
connect: "connect";
|
|
34748
|
-
listen: "listen";
|
|
34749
34747
|
capture: "capture";
|
|
34750
34748
|
mqttOpen: "mqttOpen";
|
|
34749
|
+
listen: "listen";
|
|
34751
34750
|
modemOnline: "modemOnline";
|
|
34752
34751
|
modemEdrx: "modemEdrx";
|
|
34753
34752
|
modemPsm: "modemPsm";
|
|
34754
34753
|
modemOffline: "modemOffline";
|
|
34755
34754
|
disconnectMqtt: "disconnectMqtt";
|
|
34756
34755
|
prepareConnection: "prepareConnection";
|
|
34756
|
+
connect: "connect";
|
|
34757
34757
|
}>>;
|
|
34758
34758
|
}, z.core.$catchall<z.ZodUnknown>>;
|
|
34759
34759
|
measuredAt: z.ZodISODateTime;
|
|
@@ -37066,24 +37066,24 @@ export declare const zGetAwsDeviceObservationResponse: z.ZodUnion<readonly [z.Zo
|
|
|
37066
37066
|
error: z.ZodNullable<z.ZodInt>;
|
|
37067
37067
|
waitReason: z.ZodNullable<z.ZodEnum<{
|
|
37068
37068
|
command: "command";
|
|
37069
|
-
rest: "rest";
|
|
37070
37069
|
update: "update";
|
|
37071
37070
|
network: "network";
|
|
37072
37071
|
resource: "resource";
|
|
37073
37072
|
configuration: "configuration";
|
|
37073
|
+
rest: "rest";
|
|
37074
37074
|
}>>;
|
|
37075
37075
|
operation: z.ZodNullable<z.ZodEnum<{
|
|
37076
37076
|
publish: "publish";
|
|
37077
|
-
connect: "connect";
|
|
37078
|
-
listen: "listen";
|
|
37079
37077
|
capture: "capture";
|
|
37080
37078
|
mqttOpen: "mqttOpen";
|
|
37079
|
+
listen: "listen";
|
|
37081
37080
|
modemOnline: "modemOnline";
|
|
37082
37081
|
modemEdrx: "modemEdrx";
|
|
37083
37082
|
modemPsm: "modemPsm";
|
|
37084
37083
|
modemOffline: "modemOffline";
|
|
37085
37084
|
disconnectMqtt: "disconnectMqtt";
|
|
37086
37085
|
prepareConnection: "prepareConnection";
|
|
37086
|
+
connect: "connect";
|
|
37087
37087
|
}>>;
|
|
37088
37088
|
}, z.core.$catchall<z.ZodUnknown>>;
|
|
37089
37089
|
measuredAt: z.ZodISODateTime;
|
|
@@ -41534,24 +41534,24 @@ export declare const zReadAwsObservationsResponse: z.ZodArray<z.ZodUnion<readonl
|
|
|
41534
41534
|
error: z.ZodNullable<z.ZodInt>;
|
|
41535
41535
|
waitReason: z.ZodNullable<z.ZodEnum<{
|
|
41536
41536
|
command: "command";
|
|
41537
|
-
rest: "rest";
|
|
41538
41537
|
update: "update";
|
|
41539
41538
|
network: "network";
|
|
41540
41539
|
resource: "resource";
|
|
41541
41540
|
configuration: "configuration";
|
|
41541
|
+
rest: "rest";
|
|
41542
41542
|
}>>;
|
|
41543
41543
|
operation: z.ZodNullable<z.ZodEnum<{
|
|
41544
41544
|
publish: "publish";
|
|
41545
|
-
connect: "connect";
|
|
41546
|
-
listen: "listen";
|
|
41547
41545
|
capture: "capture";
|
|
41548
41546
|
mqttOpen: "mqttOpen";
|
|
41547
|
+
listen: "listen";
|
|
41549
41548
|
modemOnline: "modemOnline";
|
|
41550
41549
|
modemEdrx: "modemEdrx";
|
|
41551
41550
|
modemPsm: "modemPsm";
|
|
41552
41551
|
modemOffline: "modemOffline";
|
|
41553
41552
|
disconnectMqtt: "disconnectMqtt";
|
|
41554
41553
|
prepareConnection: "prepareConnection";
|
|
41554
|
+
connect: "connect";
|
|
41555
41555
|
}>>;
|
|
41556
41556
|
}, z.core.$catchall<z.ZodUnknown>>;
|
|
41557
41557
|
measuredAt: z.ZodISODateTime;
|
package/openapi/api.json
CHANGED
|
@@ -44475,8 +44475,8 @@
|
|
|
44475
44475
|
"type": "string"
|
|
44476
44476
|
},
|
|
44477
44477
|
"state": {
|
|
44478
|
-
"
|
|
44479
|
-
"
|
|
44478
|
+
"uniqueItems": false,
|
|
44479
|
+
"type": "string"
|
|
44480
44480
|
},
|
|
44481
44481
|
"owner": {
|
|
44482
44482
|
"uniqueItems": false,
|
|
@@ -44638,7 +44638,8 @@
|
|
|
44638
44638
|
}
|
|
44639
44639
|
],
|
|
44640
44640
|
"extensibleEnumFields": [
|
|
44641
|
-
"mode"
|
|
44641
|
+
"mode",
|
|
44642
|
+
"state"
|
|
44642
44643
|
]
|
|
44643
44644
|
}
|
|
44644
44645
|
}
|