@bikefinder/sdk 0.1.8 → 0.2.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 +22 -50
- package/dist/generated/index.d.ts +1 -1
- package/dist/generated/sdk.gen.d.ts +35 -32
- package/dist/generated/sdk.gen.js +210 -961
- package/dist/generated/types.gen.d.ts +7682 -7719
- package/dist/generated/zod.gen.d.ts +31256 -36912
- package/dist/generated/zod.gen.js +8379 -10447
- package/dist/index.d.ts +5 -3
- package/dist/index.js +5 -1
- package/dist/signalr/BikeFinder.Api.Trackers.d.ts +22 -0
- package/dist/signalr/BikeFinder.Observations.Model.d.ts +1 -0
- package/dist/signalr/BikeFinder.Observations.Model.js +1 -0
- package/dist/signalr/TypedSignalR.Client/BikeFinder.Api.Trackers.d.ts +12 -11
- package/dist/signalr/TypedSignalR.Client/index.js +10 -10
- package/openapi/api.json +32398 -35063
- package/package.json +2 -2
|
@@ -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 {
|
|
4
|
+
import { zAddStaffTrackerMemberBody, zAddStaffTrackerMemberPath, zAddStaffTrackerMemberResponse, zCancelLegacyLteUpgradeBody, zCancelLegacyLteUpgradePath, zCancelLegacyLteUpgradeResponse, zCancelStaffTrackerFirmwareUpdateBody, zCancelStaffTrackerFirmwareUpdatePath, zCancelStaffTrackerFirmwareUpdateResponse, 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, zGetInsuranceContractPath, zGetInsuranceContractQuery, zGetInsuranceContractResponse, zGetLegacyLteUpgradeOptionsPath, zGetLegacyLteUpgradeOptionsResponse, zGetLegacyLteUpgradeRequestPath, zGetLegacyLteUpgradeRequestResponse, zGetStaffAccountPath, zGetStaffAccountResponse, zGetStaffSubscriptionPath, zGetStaffSubscriptionResponse, zGetStaffTrackerCom4SimStatusPath, zGetStaffTrackerCom4SimStatusResponse, zGetStaffTrackerCommandCatalogPath, zGetStaffTrackerCommandCatalogResponse, zGetStaffTrackerCommandPath, zGetStaffTrackerCommandResponse, zGetStaffTrackerConnectivityPath, zGetStaffTrackerConnectivityResponse, zGetStaffTrackerFirmwareUpdatePath, zGetStaffTrackerFirmwareUpdateResponse, zGetStaffTrackerModesPath, zGetStaffTrackerModesResponse, zGetStaffTrackerObservationPath, zGetStaffTrackerObservationResponse, zGetStaffTrackerOperationPath, zGetStaffTrackerOperationResponse, zGetStaffTrackerPath, zGetStaffTrackerResponse, zGetStaffTrackerSchemaPath, zGetStaffTrackerSchemaResponse, zGetStaffTrackerSettingsPath, zGetStaffTrackerSettingsResponse, zGetSubscriptionPath, zGetSubscriptionResponse, zGetTrackerFirmwareUpdatePath, zGetTrackerFirmwareUpdateResponse, zGetTrackerModesPath, zGetTrackerModesResponse, zGetTrackerPath, zGetTrackerResponse, zInitializeAccountResponse, zListActiveStaffTrackerFirmwareUpdatesPath, zListActiveStaffTrackerFirmwareUpdatesResponse, zListInsuranceAttemptsPath, zListInsuranceAttemptsQuery, zListInsuranceAttemptsResponse, zListInsuranceContractsPath, zListInsuranceContractsQuery, zListInsuranceContractsResponse, zListNotificationsQuery, zListNotificationsResponse, zListStaffFavoritesQuery, zListStaffFavoritesResponse, zListStaffSubscriptionsQuery, zListStaffSubscriptionsResponse, zListStaffTrackerAuditPath, zListStaffTrackerAuditQuery, zListStaffTrackerAuditResponse, zListStaffTrackerCommandsPath, zListStaffTrackerCommandsQuery, zListStaffTrackerCommandsResponse, zListStaffTrackerFirmwareReleasesPath, zListStaffTrackerFirmwareReleasesResponse, zListStaffTrackerHistoryPath, zListStaffTrackerHistoryQuery, zListStaffTrackerHistoryResponse, zListStaffTrackerObservationsPath, zListStaffTrackerObservationsQuery, zListStaffTrackerObservationsResponse, zListStaffTrackerPhotosPath, zListStaffTrackerPhotosQuery, zListStaffTrackerPhotosResponse, zListStaffTrackersQuery, zListStaffTrackersResponse, zListSubscriptionsQuery, zListSubscriptionsResponse, zListTrackerFirmwareReleasesPath, zListTrackerFirmwareReleasesQuery, zListTrackerFirmwareReleasesResponse, zListTrackerHistoryPath, zListTrackerHistoryQuery, zListTrackerHistoryResponse, zListTrackerPhotosPath, zListTrackerPhotosQuery, zListTrackerPhotosResponse, zListTrackersQuery, zListTrackersResponse, zLookupStaffAccountsQuery, zLookupStaffAccountsResponse, zLookupStaffTrackerInventoryQuery, zLookupStaffTrackerInventoryResponse, zLookupTrackerQuery, zLookupTrackerResponse, zReadStaffAccountsQuery, zReadStaffAccountsResponse, zReadStaffTrackerObservationsPath, zReadStaffTrackerObservationsQuery, zReadStaffTrackerObservationsResponse, zRedeemInvitationBody, zRedeemInvitationPath, zRedeemInvitationResponse, zRegisterPushBody, zRegisterPushResponse, zRemoveStaffTrackerMemberPath, zRemoveStaffTrackerMemberResponse, zRemoveTrackerMemberPath, zRemoveTrackerMemberResponse, zReportBatteryBody, zReportBatteryPath, zReportBatteryResponse, zReportFactoryResetBody, zReportFactoryResetPath, zReportFactoryResetResponse, zReportLocationBody, zReportLocationPath, zReportLocationResponse, zReportTheftBody, zReportTheftPath, zReportTheftResponse, zReportTrackerFirmwareAttemptBody, zReportTrackerFirmwareAttemptPath, zReportTrackerFirmwareAttemptResponse, zRequestLegacyLteUpgradeBody, zRequestLegacyLteUpgradePath, zRequestLegacyLteUpgradeResponse, zRequestStaffTrackerFirmwareUpdateBody, zRequestStaffTrackerFirmwareUpdatePath, zRequestStaffTrackerFirmwareUpdateResponse, zRevokeInvitationsPath, zRevokeInvitationsResponse, zSaveStaffFavoriteBody, zSaveStaffFavoritePath, zSaveStaffFavoriteResponse, zSendStaffTrackerCommandBody, zSendStaffTrackerCommandPath, zSendStaffTrackerCommandResponse, zSetRequestedModeBody, zSetRequestedModePath, zSetRequestedModeResponse, zSetStaffTrackerDenylistBody, zSetStaffTrackerDenylistPath, zSetStaffTrackerDenylistResponse, zSetStaffTrackerSubscriptionBody, zSetStaffTrackerSubscriptionPath, zSetStaffTrackerSubscriptionResponse, zSetTrackerSubscriptionBody, zSetTrackerSubscriptionPath, zSetTrackerSubscriptionResponse, zUnregisterPushQuery, zUnregisterPushResponse, zUpdateStaffTrackerSettingsBody, zUpdateStaffTrackerSettingsPath, zUpdateStaffTrackerSettingsResponse, zUploadPhotoBody, zUploadPhotoPath, zUploadPhotoQuery, zUploadPhotoResponse, zUploadStaffTrackerBatteryFirmwareBody, zUploadStaffTrackerBatteryFirmwarePath, zUploadStaffTrackerBatteryFirmwareQuery, zUploadStaffTrackerBatteryFirmwareResponse, } from "./zod.gen.js";
|
|
5
5
|
class HeyApiClient {
|
|
6
6
|
client;
|
|
7
7
|
constructor(args) {
|
|
@@ -38,13 +38,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
38
38
|
})
|
|
39
39
|
.parseAsync(data),
|
|
40
40
|
responseValidator: async (data) => await zSetTrackerSubscriptionResponse.parseAsync(data),
|
|
41
|
-
security: [
|
|
42
|
-
{
|
|
43
|
-
key: "Bearer",
|
|
44
|
-
scheme: "bearer",
|
|
45
|
-
type: "http",
|
|
46
|
-
},
|
|
47
|
-
],
|
|
41
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
48
42
|
url: "/v1/trackers/{id}/subscription",
|
|
49
43
|
...options,
|
|
50
44
|
headers: {
|
|
@@ -63,13 +57,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
63
57
|
})
|
|
64
58
|
.parseAsync(data),
|
|
65
59
|
responseValidator: async (data) => await zSetStaffTrackerSubscriptionResponse.parseAsync(data),
|
|
66
|
-
security: [
|
|
67
|
-
{
|
|
68
|
-
key: "Bearer",
|
|
69
|
-
scheme: "bearer",
|
|
70
|
-
type: "http",
|
|
71
|
-
},
|
|
72
|
-
],
|
|
60
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
73
61
|
url: "/v1/admin/trackers/{id}/subscription",
|
|
74
62
|
...options,
|
|
75
63
|
headers: {
|
|
@@ -78,71 +66,36 @@ export class ApiRequests extends HeyApiClient {
|
|
|
78
66
|
},
|
|
79
67
|
});
|
|
80
68
|
}
|
|
81
|
-
|
|
69
|
+
/**
|
|
70
|
+
* Resolve an exact Gen2 serial or inventory ID, including devices without a tracker projection. Tracker operations use the returned inventoryId.
|
|
71
|
+
*/
|
|
72
|
+
lookupStaffTrackerInventory(options) {
|
|
82
73
|
return (options.client ?? this.client).get({
|
|
83
74
|
requestValidator: async (data) => await z
|
|
84
75
|
.object({
|
|
85
76
|
body: z.never().optional(),
|
|
86
|
-
path:
|
|
87
|
-
query:
|
|
77
|
+
path: z.never().optional(),
|
|
78
|
+
query: zLookupStaffTrackerInventoryQuery,
|
|
88
79
|
})
|
|
89
80
|
.parseAsync(data),
|
|
90
|
-
responseValidator: async (data) => await
|
|
91
|
-
security: [
|
|
92
|
-
|
|
93
|
-
key: "Bearer",
|
|
94
|
-
scheme: "bearer",
|
|
95
|
-
type: "http",
|
|
96
|
-
},
|
|
97
|
-
],
|
|
98
|
-
url: "/v1/admin/trackers/{id}/aws-device",
|
|
81
|
+
responseValidator: async (data) => await zLookupStaffTrackerInventoryResponse.parseAsync(data),
|
|
82
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
83
|
+
url: "/v1/admin/inventory/lookup",
|
|
99
84
|
...options,
|
|
100
85
|
});
|
|
101
86
|
}
|
|
102
|
-
|
|
103
|
-
return (options.client ?? this.client).post({
|
|
104
|
-
bodySerializer: null,
|
|
105
|
-
requestValidator: async (data) => await z
|
|
106
|
-
.object({
|
|
107
|
-
body: zUploadBatteryFirmwareBody,
|
|
108
|
-
path: zUploadBatteryFirmwarePath,
|
|
109
|
-
query: zUploadBatteryFirmwareQuery,
|
|
110
|
-
})
|
|
111
|
-
.parseAsync(data),
|
|
112
|
-
responseValidator: async (data) => await zUploadBatteryFirmwareResponse.parseAsync(data),
|
|
113
|
-
security: [
|
|
114
|
-
{
|
|
115
|
-
key: "Bearer",
|
|
116
|
-
scheme: "bearer",
|
|
117
|
-
type: "http",
|
|
118
|
-
},
|
|
119
|
-
],
|
|
120
|
-
url: "/v1/admin/aws/devices/{id}/battery-firmware",
|
|
121
|
-
...options,
|
|
122
|
-
headers: {
|
|
123
|
-
"Content-Type": "application/octet-stream",
|
|
124
|
-
...options.headers,
|
|
125
|
-
},
|
|
126
|
-
});
|
|
127
|
-
}
|
|
128
|
-
getAwsSchema(options) {
|
|
87
|
+
getStaffTrackerSchema(options) {
|
|
129
88
|
return (options.client ?? this.client).get({
|
|
130
89
|
requestValidator: async (data) => await z
|
|
131
90
|
.object({
|
|
132
91
|
body: z.never().optional(),
|
|
133
|
-
path:
|
|
92
|
+
path: zGetStaffTrackerSchemaPath,
|
|
134
93
|
query: z.never().optional(),
|
|
135
94
|
})
|
|
136
95
|
.parseAsync(data),
|
|
137
|
-
responseValidator: async (data) => await
|
|
138
|
-
security: [
|
|
139
|
-
|
|
140
|
-
key: "Bearer",
|
|
141
|
-
scheme: "bearer",
|
|
142
|
-
type: "http",
|
|
143
|
-
},
|
|
144
|
-
],
|
|
145
|
-
url: "/v1/admin/aws/schemas/{name}",
|
|
96
|
+
responseValidator: async (data) => await zGetStaffTrackerSchemaResponse.parseAsync(data),
|
|
97
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
98
|
+
url: "/v1/admin/tracker-schemas/{name}",
|
|
146
99
|
...options,
|
|
147
100
|
});
|
|
148
101
|
}
|
|
@@ -156,13 +109,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
156
109
|
})
|
|
157
110
|
.parseAsync(data),
|
|
158
111
|
responseValidator: async (data) => await zListTrackersResponse.parseAsync(data),
|
|
159
|
-
security: [
|
|
160
|
-
{
|
|
161
|
-
key: "Bearer",
|
|
162
|
-
scheme: "bearer",
|
|
163
|
-
type: "http",
|
|
164
|
-
},
|
|
165
|
-
],
|
|
112
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
166
113
|
url: "/v1/trackers",
|
|
167
114
|
...options,
|
|
168
115
|
});
|
|
@@ -177,13 +124,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
177
124
|
})
|
|
178
125
|
.parseAsync(data),
|
|
179
126
|
responseValidator: async (data) => await zLookupTrackerResponse.parseAsync(data),
|
|
180
|
-
security: [
|
|
181
|
-
{
|
|
182
|
-
key: "Bearer",
|
|
183
|
-
scheme: "bearer",
|
|
184
|
-
type: "http",
|
|
185
|
-
},
|
|
186
|
-
],
|
|
127
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
187
128
|
url: "/v1/trackers/lookup",
|
|
188
129
|
...options,
|
|
189
130
|
});
|
|
@@ -198,13 +139,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
198
139
|
})
|
|
199
140
|
.parseAsync(data),
|
|
200
141
|
responseValidator: async (data) => await zGetTrackerModesResponse.parseAsync(data),
|
|
201
|
-
security: [
|
|
202
|
-
{
|
|
203
|
-
key: "Bearer",
|
|
204
|
-
scheme: "bearer",
|
|
205
|
-
type: "http",
|
|
206
|
-
},
|
|
207
|
-
],
|
|
142
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
208
143
|
url: "/v1/trackers/{id}/modes",
|
|
209
144
|
...options,
|
|
210
145
|
});
|
|
@@ -219,13 +154,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
219
154
|
})
|
|
220
155
|
.parseAsync(data),
|
|
221
156
|
responseValidator: async (data) => await zGetTrackerResponse.parseAsync(data),
|
|
222
|
-
security: [
|
|
223
|
-
{
|
|
224
|
-
key: "Bearer",
|
|
225
|
-
scheme: "bearer",
|
|
226
|
-
type: "http",
|
|
227
|
-
},
|
|
228
|
-
],
|
|
157
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
229
158
|
url: "/v1/trackers/{id}",
|
|
230
159
|
...options,
|
|
231
160
|
});
|
|
@@ -240,13 +169,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
240
169
|
})
|
|
241
170
|
.parseAsync(data),
|
|
242
171
|
responseValidator: async (data) => await zListTrackerHistoryResponse.parseAsync(data),
|
|
243
|
-
security: [
|
|
244
|
-
{
|
|
245
|
-
key: "Bearer",
|
|
246
|
-
scheme: "bearer",
|
|
247
|
-
type: "http",
|
|
248
|
-
},
|
|
249
|
-
],
|
|
172
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
250
173
|
url: "/v1/trackers/{id}/history",
|
|
251
174
|
...options,
|
|
252
175
|
});
|
|
@@ -261,13 +184,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
261
184
|
})
|
|
262
185
|
.parseAsync(data),
|
|
263
186
|
responseValidator: async (data) => await zEditTrackerBikeResponse.parseAsync(data),
|
|
264
|
-
security: [
|
|
265
|
-
{
|
|
266
|
-
key: "Bearer",
|
|
267
|
-
scheme: "bearer",
|
|
268
|
-
type: "http",
|
|
269
|
-
},
|
|
270
|
-
],
|
|
187
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
271
188
|
url: "/v1/trackers/{id}/bike",
|
|
272
189
|
...options,
|
|
273
190
|
headers: {
|
|
@@ -286,13 +203,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
286
203
|
})
|
|
287
204
|
.parseAsync(data),
|
|
288
205
|
responseValidator: async (data) => await zRemoveTrackerMemberResponse.parseAsync(data),
|
|
289
|
-
security: [
|
|
290
|
-
{
|
|
291
|
-
key: "Bearer",
|
|
292
|
-
scheme: "bearer",
|
|
293
|
-
type: "http",
|
|
294
|
-
},
|
|
295
|
-
],
|
|
206
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
296
207
|
url: "/v1/trackers/{id}/members/{memberId}",
|
|
297
208
|
...options,
|
|
298
209
|
});
|
|
@@ -307,13 +218,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
307
218
|
})
|
|
308
219
|
.parseAsync(data),
|
|
309
220
|
responseValidator: async (data) => await zClaimTrackerResponse.parseAsync(data),
|
|
310
|
-
security: [
|
|
311
|
-
{
|
|
312
|
-
key: "Bearer",
|
|
313
|
-
scheme: "bearer",
|
|
314
|
-
type: "http",
|
|
315
|
-
},
|
|
316
|
-
],
|
|
221
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
317
222
|
url: "/v1/trackers/{id}/claim",
|
|
318
223
|
...options,
|
|
319
224
|
headers: {
|
|
@@ -332,13 +237,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
332
237
|
})
|
|
333
238
|
.parseAsync(data),
|
|
334
239
|
responseValidator: async (data) => await zRevokeInvitationsResponse.parseAsync(data),
|
|
335
|
-
security: [
|
|
336
|
-
{
|
|
337
|
-
key: "Bearer",
|
|
338
|
-
scheme: "bearer",
|
|
339
|
-
type: "http",
|
|
340
|
-
},
|
|
341
|
-
],
|
|
240
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
342
241
|
url: "/v1/trackers/{id}/invitations",
|
|
343
242
|
...options,
|
|
344
243
|
});
|
|
@@ -353,13 +252,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
353
252
|
})
|
|
354
253
|
.parseAsync(data),
|
|
355
254
|
responseValidator: async (data) => await zCreateInvitationResponse.parseAsync(data),
|
|
356
|
-
security: [
|
|
357
|
-
{
|
|
358
|
-
key: "Bearer",
|
|
359
|
-
scheme: "bearer",
|
|
360
|
-
type: "http",
|
|
361
|
-
},
|
|
362
|
-
],
|
|
255
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
363
256
|
url: "/v1/trackers/{id}/invitations",
|
|
364
257
|
...options,
|
|
365
258
|
});
|
|
@@ -374,13 +267,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
374
267
|
})
|
|
375
268
|
.parseAsync(data),
|
|
376
269
|
responseValidator: async (data) => await zRedeemInvitationResponse.parseAsync(data),
|
|
377
|
-
security: [
|
|
378
|
-
{
|
|
379
|
-
key: "Bearer",
|
|
380
|
-
scheme: "bearer",
|
|
381
|
-
type: "http",
|
|
382
|
-
},
|
|
383
|
-
],
|
|
270
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
384
271
|
url: "/v1/trackers/{id}/redeem-invitation",
|
|
385
272
|
...options,
|
|
386
273
|
headers: {
|
|
@@ -399,13 +286,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
399
286
|
})
|
|
400
287
|
.parseAsync(data),
|
|
401
288
|
responseValidator: async (data) => await zSetRequestedModeResponse.parseAsync(data),
|
|
402
|
-
security: [
|
|
403
|
-
{
|
|
404
|
-
key: "Bearer",
|
|
405
|
-
scheme: "bearer",
|
|
406
|
-
type: "http",
|
|
407
|
-
},
|
|
408
|
-
],
|
|
289
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
409
290
|
url: "/v1/trackers/{id}/requested-mode",
|
|
410
291
|
...options,
|
|
411
292
|
headers: {
|
|
@@ -424,13 +305,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
424
305
|
})
|
|
425
306
|
.parseAsync(data),
|
|
426
307
|
responseValidator: async (data) => await zReportBatteryResponse.parseAsync(data),
|
|
427
|
-
security: [
|
|
428
|
-
{
|
|
429
|
-
key: "Bearer",
|
|
430
|
-
scheme: "bearer",
|
|
431
|
-
type: "http",
|
|
432
|
-
},
|
|
433
|
-
],
|
|
308
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
434
309
|
url: "/v1/trackers/{id}/battery-observations",
|
|
435
310
|
...options,
|
|
436
311
|
headers: {
|
|
@@ -449,13 +324,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
449
324
|
})
|
|
450
325
|
.parseAsync(data),
|
|
451
326
|
responseValidator: async (data) => await zChangeBluetoothPinResponse.parseAsync(data),
|
|
452
|
-
security: [
|
|
453
|
-
{
|
|
454
|
-
key: "Bearer",
|
|
455
|
-
scheme: "bearer",
|
|
456
|
-
type: "http",
|
|
457
|
-
},
|
|
458
|
-
],
|
|
327
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
459
328
|
url: "/v1/trackers/{id}/bluetooth-pin",
|
|
460
329
|
...options,
|
|
461
330
|
headers: {
|
|
@@ -474,13 +343,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
474
343
|
})
|
|
475
344
|
.parseAsync(data),
|
|
476
345
|
responseValidator: async (data) => await zReportFactoryResetResponse.parseAsync(data),
|
|
477
|
-
security: [
|
|
478
|
-
{
|
|
479
|
-
key: "Bearer",
|
|
480
|
-
scheme: "bearer",
|
|
481
|
-
type: "http",
|
|
482
|
-
},
|
|
483
|
-
],
|
|
346
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
484
347
|
url: "/v1/trackers/{id}/factory-reset-reports",
|
|
485
348
|
...options,
|
|
486
349
|
headers: {
|
|
@@ -499,13 +362,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
499
362
|
})
|
|
500
363
|
.parseAsync(data),
|
|
501
364
|
responseValidator: async (data) => await zReportLocationResponse.parseAsync(data),
|
|
502
|
-
security: [
|
|
503
|
-
{
|
|
504
|
-
key: "Bearer",
|
|
505
|
-
scheme: "bearer",
|
|
506
|
-
type: "http",
|
|
507
|
-
},
|
|
508
|
-
],
|
|
365
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
509
366
|
url: "/v1/trackers/{id}/location-observations",
|
|
510
367
|
...options,
|
|
511
368
|
headers: {
|
|
@@ -524,13 +381,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
524
381
|
})
|
|
525
382
|
.parseAsync(data),
|
|
526
383
|
responseValidator: async (data) => await zReportTheftResponse.parseAsync(data),
|
|
527
|
-
security: [
|
|
528
|
-
{
|
|
529
|
-
key: "Bearer",
|
|
530
|
-
scheme: "bearer",
|
|
531
|
-
type: "http",
|
|
532
|
-
},
|
|
533
|
-
],
|
|
384
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
534
385
|
url: "/v1/trackers/{id}/theft-reports",
|
|
535
386
|
...options,
|
|
536
387
|
headers: {
|
|
@@ -554,13 +405,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
554
405
|
})
|
|
555
406
|
.parseAsync(data),
|
|
556
407
|
responseValidator: async (data) => await zGetStaffTrackerCom4SimStatusResponse.parseAsync(data),
|
|
557
|
-
security: [
|
|
558
|
-
{
|
|
559
|
-
key: "Bearer",
|
|
560
|
-
scheme: "bearer",
|
|
561
|
-
type: "http",
|
|
562
|
-
},
|
|
563
|
-
],
|
|
408
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
564
409
|
url: "/v1/admin/trackers/{id}/sim-status/com4",
|
|
565
410
|
...options,
|
|
566
411
|
});
|
|
@@ -575,13 +420,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
575
420
|
})
|
|
576
421
|
.parseAsync(data),
|
|
577
422
|
responseValidator: async (data) => await zEditStaffTrackerBikeResponse.parseAsync(data),
|
|
578
|
-
security: [
|
|
579
|
-
{
|
|
580
|
-
key: "Bearer",
|
|
581
|
-
scheme: "bearer",
|
|
582
|
-
type: "http",
|
|
583
|
-
},
|
|
584
|
-
],
|
|
423
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
585
424
|
url: "/v1/admin/trackers/{id}/bike",
|
|
586
425
|
...options,
|
|
587
426
|
headers: {
|
|
@@ -600,13 +439,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
600
439
|
})
|
|
601
440
|
.parseAsync(data),
|
|
602
441
|
responseValidator: async (data) => await zRemoveStaffTrackerMemberResponse.parseAsync(data),
|
|
603
|
-
security: [
|
|
604
|
-
{
|
|
605
|
-
key: "Bearer",
|
|
606
|
-
scheme: "bearer",
|
|
607
|
-
type: "http",
|
|
608
|
-
},
|
|
609
|
-
],
|
|
442
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
610
443
|
url: "/v1/admin/trackers/{id}/members/{memberId}",
|
|
611
444
|
...options,
|
|
612
445
|
});
|
|
@@ -621,13 +454,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
621
454
|
})
|
|
622
455
|
.parseAsync(data),
|
|
623
456
|
responseValidator: async (data) => await zAddStaffTrackerMemberResponse.parseAsync(data),
|
|
624
|
-
security: [
|
|
625
|
-
{
|
|
626
|
-
key: "Bearer",
|
|
627
|
-
scheme: "bearer",
|
|
628
|
-
type: "http",
|
|
629
|
-
},
|
|
630
|
-
],
|
|
457
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
631
458
|
url: "/v1/admin/trackers/{id}/members/{memberId}",
|
|
632
459
|
...options,
|
|
633
460
|
headers: {
|
|
@@ -646,13 +473,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
646
473
|
})
|
|
647
474
|
.parseAsync(data),
|
|
648
475
|
responseValidator: async (data) => await zCleanStaffTrackerResponse.parseAsync(data),
|
|
649
|
-
security: [
|
|
650
|
-
{
|
|
651
|
-
key: "Bearer",
|
|
652
|
-
scheme: "bearer",
|
|
653
|
-
type: "http",
|
|
654
|
-
},
|
|
655
|
-
],
|
|
476
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
656
477
|
url: "/v1/admin/trackers/{id}/clean",
|
|
657
478
|
...options,
|
|
658
479
|
headers: {
|
|
@@ -671,13 +492,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
671
492
|
})
|
|
672
493
|
.parseAsync(data),
|
|
673
494
|
responseValidator: async (data) => await zSetStaffTrackerDenylistResponse.parseAsync(data),
|
|
674
|
-
security: [
|
|
675
|
-
{
|
|
676
|
-
key: "Bearer",
|
|
677
|
-
scheme: "bearer",
|
|
678
|
-
type: "http",
|
|
679
|
-
},
|
|
680
|
-
],
|
|
495
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
681
496
|
url: "/v1/admin/trackers/{id}/denylist",
|
|
682
497
|
...options,
|
|
683
498
|
headers: {
|
|
@@ -696,13 +511,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
696
511
|
})
|
|
697
512
|
.parseAsync(data),
|
|
698
513
|
responseValidator: async (data) => await zGetStaffTrackerOperationResponse.parseAsync(data),
|
|
699
|
-
security: [
|
|
700
|
-
{
|
|
701
|
-
key: "Bearer",
|
|
702
|
-
scheme: "bearer",
|
|
703
|
-
type: "http",
|
|
704
|
-
},
|
|
705
|
-
],
|
|
514
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
706
515
|
url: "/v1/admin/trackers/{id}/operations/{requestId}",
|
|
707
516
|
...options,
|
|
708
517
|
});
|
|
@@ -717,13 +526,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
717
526
|
})
|
|
718
527
|
.parseAsync(data),
|
|
719
528
|
responseValidator: async (data) => await zListStaffTrackersResponse.parseAsync(data),
|
|
720
|
-
security: [
|
|
721
|
-
{
|
|
722
|
-
key: "Bearer",
|
|
723
|
-
scheme: "bearer",
|
|
724
|
-
type: "http",
|
|
725
|
-
},
|
|
726
|
-
],
|
|
529
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
727
530
|
url: "/v1/admin/trackers",
|
|
728
531
|
...options,
|
|
729
532
|
});
|
|
@@ -738,13 +541,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
738
541
|
})
|
|
739
542
|
.parseAsync(data),
|
|
740
543
|
responseValidator: async (data) => await zGetStaffTrackerModesResponse.parseAsync(data),
|
|
741
|
-
security: [
|
|
742
|
-
{
|
|
743
|
-
key: "Bearer",
|
|
744
|
-
scheme: "bearer",
|
|
745
|
-
type: "http",
|
|
746
|
-
},
|
|
747
|
-
],
|
|
544
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
748
545
|
url: "/v1/admin/trackers/{id}/modes",
|
|
749
546
|
...options,
|
|
750
547
|
});
|
|
@@ -759,13 +556,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
759
556
|
})
|
|
760
557
|
.parseAsync(data),
|
|
761
558
|
responseValidator: async (data) => await zGetStaffTrackerResponse.parseAsync(data),
|
|
762
|
-
security: [
|
|
763
|
-
{
|
|
764
|
-
key: "Bearer",
|
|
765
|
-
scheme: "bearer",
|
|
766
|
-
type: "http",
|
|
767
|
-
},
|
|
768
|
-
],
|
|
559
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
769
560
|
url: "/v1/admin/trackers/{id}",
|
|
770
561
|
...options,
|
|
771
562
|
});
|
|
@@ -780,13 +571,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
780
571
|
})
|
|
781
572
|
.parseAsync(data),
|
|
782
573
|
responseValidator: async (data) => await zListStaffTrackerHistoryResponse.parseAsync(data),
|
|
783
|
-
security: [
|
|
784
|
-
{
|
|
785
|
-
key: "Bearer",
|
|
786
|
-
scheme: "bearer",
|
|
787
|
-
type: "http",
|
|
788
|
-
},
|
|
789
|
-
],
|
|
574
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
790
575
|
url: "/v1/admin/trackers/{id}/history",
|
|
791
576
|
...options,
|
|
792
577
|
});
|
|
@@ -801,13 +586,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
801
586
|
})
|
|
802
587
|
.parseAsync(data),
|
|
803
588
|
responseValidator: async (data) => await zListStaffTrackerAuditResponse.parseAsync(data),
|
|
804
|
-
security: [
|
|
805
|
-
{
|
|
806
|
-
key: "Bearer",
|
|
807
|
-
scheme: "bearer",
|
|
808
|
-
type: "http",
|
|
809
|
-
},
|
|
810
|
-
],
|
|
589
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
811
590
|
url: "/v1/admin/trackers/{id}/audit",
|
|
812
591
|
...options,
|
|
813
592
|
});
|
|
@@ -822,13 +601,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
822
601
|
})
|
|
823
602
|
.parseAsync(data),
|
|
824
603
|
responseValidator: async (data) => await zListTrackerFirmwareReleasesResponse.parseAsync(data),
|
|
825
|
-
security: [
|
|
826
|
-
{
|
|
827
|
-
key: "Bearer",
|
|
828
|
-
scheme: "bearer",
|
|
829
|
-
type: "http",
|
|
830
|
-
},
|
|
831
|
-
],
|
|
604
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
832
605
|
url: "/v1/trackers/{id}/firmware/releases",
|
|
833
606
|
...options,
|
|
834
607
|
});
|
|
@@ -844,13 +617,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
844
617
|
})
|
|
845
618
|
.parseAsync(data),
|
|
846
619
|
responseValidator: async (data) => await zCreateTrackerFirmwareUpdateResponse.parseAsync(data),
|
|
847
|
-
security: [
|
|
848
|
-
{
|
|
849
|
-
key: "Bearer",
|
|
850
|
-
scheme: "bearer",
|
|
851
|
-
type: "http",
|
|
852
|
-
},
|
|
853
|
-
],
|
|
620
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
854
621
|
url: "/v1/trackers/{id}/firmware/updates",
|
|
855
622
|
...options,
|
|
856
623
|
headers: {
|
|
@@ -869,13 +636,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
869
636
|
})
|
|
870
637
|
.parseAsync(data),
|
|
871
638
|
responseValidator: async (data) => await zGetTrackerFirmwareUpdateResponse.parseAsync(data),
|
|
872
|
-
security: [
|
|
873
|
-
{
|
|
874
|
-
key: "Bearer",
|
|
875
|
-
scheme: "bearer",
|
|
876
|
-
type: "http",
|
|
877
|
-
},
|
|
878
|
-
],
|
|
639
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
879
640
|
url: "/v1/trackers/{id}/firmware/updates/{updateId}",
|
|
880
641
|
...options,
|
|
881
642
|
});
|
|
@@ -890,13 +651,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
890
651
|
})
|
|
891
652
|
.parseAsync(data),
|
|
892
653
|
responseValidator: async (data) => await zReportTrackerFirmwareAttemptResponse.parseAsync(data),
|
|
893
|
-
security: [
|
|
894
|
-
{
|
|
895
|
-
key: "Bearer",
|
|
896
|
-
scheme: "bearer",
|
|
897
|
-
type: "http",
|
|
898
|
-
},
|
|
899
|
-
],
|
|
654
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
900
655
|
url: "/v1/trackers/{id}/firmware/updates/{updateId}/reports",
|
|
901
656
|
...options,
|
|
902
657
|
headers: {
|
|
@@ -915,14 +670,8 @@ export class ApiRequests extends HeyApiClient {
|
|
|
915
670
|
})
|
|
916
671
|
.parseAsync(data),
|
|
917
672
|
responseValidator: async (data) => await zGetLegacyLteUpgradeOptionsResponse.parseAsync(data),
|
|
918
|
-
security: [
|
|
919
|
-
|
|
920
|
-
key: "Bearer",
|
|
921
|
-
scheme: "bearer",
|
|
922
|
-
type: "http",
|
|
923
|
-
},
|
|
924
|
-
],
|
|
925
|
-
url: "/v1/admin/trackers/{id}/firmware/lte-upgrade-options",
|
|
673
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
674
|
+
url: "/v1/admin/trackers/{id}/firmware/legacy-lte/options",
|
|
926
675
|
...options,
|
|
927
676
|
});
|
|
928
677
|
}
|
|
@@ -936,14 +685,8 @@ export class ApiRequests extends HeyApiClient {
|
|
|
936
685
|
})
|
|
937
686
|
.parseAsync(data),
|
|
938
687
|
responseValidator: async (data) => await zRequestLegacyLteUpgradeResponse.parseAsync(data),
|
|
939
|
-
security: [
|
|
940
|
-
|
|
941
|
-
key: "Bearer",
|
|
942
|
-
scheme: "bearer",
|
|
943
|
-
type: "http",
|
|
944
|
-
},
|
|
945
|
-
],
|
|
946
|
-
url: "/v1/admin/trackers/{id}/firmware/lte-upgrade-requests",
|
|
688
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
689
|
+
url: "/v1/admin/trackers/{id}/firmware/legacy-lte/updates",
|
|
947
690
|
...options,
|
|
948
691
|
headers: {
|
|
949
692
|
"Content-Type": "application/json",
|
|
@@ -961,14 +704,8 @@ export class ApiRequests extends HeyApiClient {
|
|
|
961
704
|
})
|
|
962
705
|
.parseAsync(data),
|
|
963
706
|
responseValidator: async (data) => await zCancelLegacyLteUpgradeResponse.parseAsync(data),
|
|
964
|
-
security: [
|
|
965
|
-
|
|
966
|
-
key: "Bearer",
|
|
967
|
-
scheme: "bearer",
|
|
968
|
-
type: "http",
|
|
969
|
-
},
|
|
970
|
-
],
|
|
971
|
-
url: "/v1/admin/trackers/{id}/firmware/lte-upgrade-cancellations",
|
|
707
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
708
|
+
url: "/v1/admin/trackers/{id}/firmware/legacy-lte/cancellations",
|
|
972
709
|
...options,
|
|
973
710
|
headers: {
|
|
974
711
|
"Content-Type": "application/json",
|
|
@@ -976,6 +713,24 @@ export class ApiRequests extends HeyApiClient {
|
|
|
976
713
|
},
|
|
977
714
|
});
|
|
978
715
|
}
|
|
716
|
+
/**
|
|
717
|
+
* Recover the accepted queue or cancellation request using its caller-generated UUID. This receipt proves acceptance, not installation. Read options for the current dispatch and reported version.
|
|
718
|
+
*/
|
|
719
|
+
getLegacyLteUpgradeRequest(options) {
|
|
720
|
+
return (options.client ?? this.client).get({
|
|
721
|
+
requestValidator: async (data) => await z
|
|
722
|
+
.object({
|
|
723
|
+
body: z.never().optional(),
|
|
724
|
+
path: zGetLegacyLteUpgradeRequestPath,
|
|
725
|
+
query: z.never().optional(),
|
|
726
|
+
})
|
|
727
|
+
.parseAsync(data),
|
|
728
|
+
responseValidator: async (data) => await zGetLegacyLteUpgradeRequestResponse.parseAsync(data),
|
|
729
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
730
|
+
url: "/v1/admin/trackers/{id}/firmware/legacy-lte/requests/{requestId}",
|
|
731
|
+
...options,
|
|
732
|
+
});
|
|
733
|
+
}
|
|
979
734
|
getAccount(options) {
|
|
980
735
|
return (options?.client ?? this.client).get({
|
|
981
736
|
requestValidator: async (data) => await z
|
|
@@ -986,13 +741,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
986
741
|
})
|
|
987
742
|
.parseAsync(data),
|
|
988
743
|
responseValidator: async (data) => await zGetAccountResponse.parseAsync(data),
|
|
989
|
-
security: [
|
|
990
|
-
{
|
|
991
|
-
key: "Bearer",
|
|
992
|
-
scheme: "bearer",
|
|
993
|
-
type: "http",
|
|
994
|
-
},
|
|
995
|
-
],
|
|
744
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
996
745
|
url: "/v1/account",
|
|
997
746
|
...options,
|
|
998
747
|
});
|
|
@@ -1007,13 +756,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
1007
756
|
})
|
|
1008
757
|
.parseAsync(data),
|
|
1009
758
|
responseValidator: async (data) => await zInitializeAccountResponse.parseAsync(data),
|
|
1010
|
-
security: [
|
|
1011
|
-
{
|
|
1012
|
-
key: "Bearer",
|
|
1013
|
-
scheme: "bearer",
|
|
1014
|
-
type: "http",
|
|
1015
|
-
},
|
|
1016
|
-
],
|
|
759
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1017
760
|
url: "/v1/account",
|
|
1018
761
|
...options,
|
|
1019
762
|
});
|
|
@@ -1028,13 +771,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
1028
771
|
})
|
|
1029
772
|
.parseAsync(data),
|
|
1030
773
|
responseValidator: async (data) => await zListNotificationsResponse.parseAsync(data),
|
|
1031
|
-
security: [
|
|
1032
|
-
{
|
|
1033
|
-
key: "Bearer",
|
|
1034
|
-
scheme: "bearer",
|
|
1035
|
-
type: "http",
|
|
1036
|
-
},
|
|
1037
|
-
],
|
|
774
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1038
775
|
url: "/v1/account/notifications",
|
|
1039
776
|
...options,
|
|
1040
777
|
});
|
|
@@ -1049,13 +786,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
1049
786
|
})
|
|
1050
787
|
.parseAsync(data),
|
|
1051
788
|
responseValidator: async (data) => await zEditPreferencesResponse.parseAsync(data),
|
|
1052
|
-
security: [
|
|
1053
|
-
{
|
|
1054
|
-
key: "Bearer",
|
|
1055
|
-
scheme: "bearer",
|
|
1056
|
-
type: "http",
|
|
1057
|
-
},
|
|
1058
|
-
],
|
|
789
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1059
790
|
url: "/v1/account/preferences",
|
|
1060
791
|
...options,
|
|
1061
792
|
headers: {
|
|
@@ -1074,13 +805,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
1074
805
|
})
|
|
1075
806
|
.parseAsync(data),
|
|
1076
807
|
responseValidator: async (data) => await zUnregisterPushResponse.parseAsync(data),
|
|
1077
|
-
security: [
|
|
1078
|
-
{
|
|
1079
|
-
key: "Bearer",
|
|
1080
|
-
scheme: "bearer",
|
|
1081
|
-
type: "http",
|
|
1082
|
-
},
|
|
1083
|
-
],
|
|
808
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1084
809
|
url: "/v1/account/push-registration",
|
|
1085
810
|
...options,
|
|
1086
811
|
});
|
|
@@ -1095,13 +820,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
1095
820
|
})
|
|
1096
821
|
.parseAsync(data),
|
|
1097
822
|
responseValidator: async (data) => await zRegisterPushResponse.parseAsync(data),
|
|
1098
|
-
security: [
|
|
1099
|
-
{
|
|
1100
|
-
key: "Bearer",
|
|
1101
|
-
scheme: "bearer",
|
|
1102
|
-
type: "http",
|
|
1103
|
-
},
|
|
1104
|
-
],
|
|
823
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1105
824
|
url: "/v1/account/push-registration",
|
|
1106
825
|
...options,
|
|
1107
826
|
headers: {
|
|
@@ -1120,14 +839,8 @@ export class ApiRequests extends HeyApiClient {
|
|
|
1120
839
|
})
|
|
1121
840
|
.parseAsync(data),
|
|
1122
841
|
responseValidator: async (data) => await zLookupStaffAccountsResponse.parseAsync(data),
|
|
1123
|
-
security: [
|
|
1124
|
-
|
|
1125
|
-
key: "Bearer",
|
|
1126
|
-
scheme: "bearer",
|
|
1127
|
-
type: "http",
|
|
1128
|
-
},
|
|
1129
|
-
],
|
|
1130
|
-
url: "/v1/admin/accounts",
|
|
842
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
843
|
+
url: "/v1/admin/accounts/lookup",
|
|
1131
844
|
...options,
|
|
1132
845
|
});
|
|
1133
846
|
}
|
|
@@ -1141,40 +854,27 @@ export class ApiRequests extends HeyApiClient {
|
|
|
1141
854
|
})
|
|
1142
855
|
.parseAsync(data),
|
|
1143
856
|
responseValidator: async (data) => await zGetStaffAccountResponse.parseAsync(data),
|
|
1144
|
-
security: [
|
|
1145
|
-
{
|
|
1146
|
-
key: "Bearer",
|
|
1147
|
-
scheme: "bearer",
|
|
1148
|
-
type: "http",
|
|
1149
|
-
},
|
|
1150
|
-
],
|
|
857
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1151
858
|
url: "/v1/admin/accounts/{id}",
|
|
1152
859
|
...options,
|
|
1153
860
|
});
|
|
1154
861
|
}
|
|
862
|
+
/**
|
|
863
|
+
* Read one to 100 distinct account profiles using repeated ids query parameters. Missing profiles are explicit nulls; order matches the selection.
|
|
864
|
+
*/
|
|
1155
865
|
readStaffAccounts(options) {
|
|
1156
|
-
return (options.client ?? this.client).
|
|
866
|
+
return (options.client ?? this.client).get({
|
|
1157
867
|
requestValidator: async (data) => await z
|
|
1158
868
|
.object({
|
|
1159
|
-
body:
|
|
869
|
+
body: z.never().optional(),
|
|
1160
870
|
path: z.never().optional(),
|
|
1161
|
-
query:
|
|
871
|
+
query: zReadStaffAccountsQuery,
|
|
1162
872
|
})
|
|
1163
873
|
.parseAsync(data),
|
|
1164
874
|
responseValidator: async (data) => await zReadStaffAccountsResponse.parseAsync(data),
|
|
1165
|
-
security: [
|
|
1166
|
-
|
|
1167
|
-
key: "Bearer",
|
|
1168
|
-
scheme: "bearer",
|
|
1169
|
-
type: "http",
|
|
1170
|
-
},
|
|
1171
|
-
],
|
|
1172
|
-
url: "/v1/admin/accounts/query",
|
|
875
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
876
|
+
url: "/v1/admin/accounts",
|
|
1173
877
|
...options,
|
|
1174
|
-
headers: {
|
|
1175
|
-
"Content-Type": "application/json",
|
|
1176
|
-
...options.headers,
|
|
1177
|
-
},
|
|
1178
878
|
});
|
|
1179
879
|
}
|
|
1180
880
|
listStaffFavorites(options) {
|
|
@@ -1187,13 +887,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
1187
887
|
})
|
|
1188
888
|
.parseAsync(data),
|
|
1189
889
|
responseValidator: async (data) => await zListStaffFavoritesResponse.parseAsync(data),
|
|
1190
|
-
security: [
|
|
1191
|
-
{
|
|
1192
|
-
key: "Bearer",
|
|
1193
|
-
scheme: "bearer",
|
|
1194
|
-
type: "http",
|
|
1195
|
-
},
|
|
1196
|
-
],
|
|
890
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1197
891
|
url: "/v1/admin/favorites",
|
|
1198
892
|
...options,
|
|
1199
893
|
});
|
|
@@ -1208,13 +902,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
1208
902
|
})
|
|
1209
903
|
.parseAsync(data),
|
|
1210
904
|
responseValidator: async (data) => await zDeleteStaffFavoriteResponse.parseAsync(data),
|
|
1211
|
-
security: [
|
|
1212
|
-
{
|
|
1213
|
-
key: "Bearer",
|
|
1214
|
-
scheme: "bearer",
|
|
1215
|
-
type: "http",
|
|
1216
|
-
},
|
|
1217
|
-
],
|
|
905
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1218
906
|
url: "/v1/admin/favorites/{id}",
|
|
1219
907
|
...options,
|
|
1220
908
|
});
|
|
@@ -1229,13 +917,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
1229
917
|
})
|
|
1230
918
|
.parseAsync(data),
|
|
1231
919
|
responseValidator: async (data) => await zSaveStaffFavoriteResponse.parseAsync(data),
|
|
1232
|
-
security: [
|
|
1233
|
-
{
|
|
1234
|
-
key: "Bearer",
|
|
1235
|
-
scheme: "bearer",
|
|
1236
|
-
type: "http",
|
|
1237
|
-
},
|
|
1238
|
-
],
|
|
920
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1239
921
|
url: "/v1/admin/favorites/{id}",
|
|
1240
922
|
...options,
|
|
1241
923
|
headers: {
|
|
@@ -1254,13 +936,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
1254
936
|
})
|
|
1255
937
|
.parseAsync(data),
|
|
1256
938
|
responseValidator: async (data) => await zListTrackerPhotosResponse.parseAsync(data),
|
|
1257
|
-
security: [
|
|
1258
|
-
{
|
|
1259
|
-
key: "Bearer",
|
|
1260
|
-
scheme: "bearer",
|
|
1261
|
-
type: "http",
|
|
1262
|
-
},
|
|
1263
|
-
],
|
|
939
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1264
940
|
url: "/v1/trackers/{id}/photos",
|
|
1265
941
|
...options,
|
|
1266
942
|
});
|
|
@@ -1276,13 +952,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
1276
952
|
})
|
|
1277
953
|
.parseAsync(data),
|
|
1278
954
|
responseValidator: async (data) => await zUploadPhotoResponse.parseAsync(data),
|
|
1279
|
-
security: [
|
|
1280
|
-
{
|
|
1281
|
-
key: "Bearer",
|
|
1282
|
-
scheme: "bearer",
|
|
1283
|
-
type: "http",
|
|
1284
|
-
},
|
|
1285
|
-
],
|
|
955
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1286
956
|
url: "/v1/trackers/{id}/photos",
|
|
1287
957
|
...options,
|
|
1288
958
|
headers: {
|
|
@@ -1301,13 +971,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
1301
971
|
})
|
|
1302
972
|
.parseAsync(data),
|
|
1303
973
|
responseValidator: async (data) => await zDeleteTrackerPhotoResponse.parseAsync(data),
|
|
1304
|
-
security: [
|
|
1305
|
-
{
|
|
1306
|
-
key: "Bearer",
|
|
1307
|
-
scheme: "bearer",
|
|
1308
|
-
type: "http",
|
|
1309
|
-
},
|
|
1310
|
-
],
|
|
974
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1311
975
|
url: "/v1/trackers/{id}/photos/{photoId}",
|
|
1312
976
|
...options,
|
|
1313
977
|
});
|
|
@@ -1322,13 +986,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
1322
986
|
})
|
|
1323
987
|
.parseAsync(data),
|
|
1324
988
|
responseValidator: async (data) => await zListStaffTrackerPhotosResponse.parseAsync(data),
|
|
1325
|
-
security: [
|
|
1326
|
-
{
|
|
1327
|
-
key: "Bearer",
|
|
1328
|
-
scheme: "bearer",
|
|
1329
|
-
type: "http",
|
|
1330
|
-
},
|
|
1331
|
-
],
|
|
989
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1332
990
|
url: "/v1/admin/trackers/{id}/photos",
|
|
1333
991
|
...options,
|
|
1334
992
|
});
|
|
@@ -1343,13 +1001,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
1343
1001
|
})
|
|
1344
1002
|
.parseAsync(data),
|
|
1345
1003
|
responseValidator: async (data) => await zDeleteStaffTrackerPhotoResponse.parseAsync(data),
|
|
1346
|
-
security: [
|
|
1347
|
-
{
|
|
1348
|
-
key: "Bearer",
|
|
1349
|
-
scheme: "bearer",
|
|
1350
|
-
type: "http",
|
|
1351
|
-
},
|
|
1352
|
-
],
|
|
1004
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1353
1005
|
url: "/v1/admin/trackers/{id}/photos/{photoId}",
|
|
1354
1006
|
...options,
|
|
1355
1007
|
});
|
|
@@ -1364,13 +1016,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
1364
1016
|
})
|
|
1365
1017
|
.parseAsync(data),
|
|
1366
1018
|
responseValidator: async (data) => await zListSubscriptionsResponse.parseAsync(data),
|
|
1367
|
-
security: [
|
|
1368
|
-
{
|
|
1369
|
-
key: "Bearer",
|
|
1370
|
-
scheme: "bearer",
|
|
1371
|
-
type: "http",
|
|
1372
|
-
},
|
|
1373
|
-
],
|
|
1019
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1374
1020
|
url: "/v1/subscriptions",
|
|
1375
1021
|
...options,
|
|
1376
1022
|
});
|
|
@@ -1385,207 +1031,136 @@ export class ApiRequests extends HeyApiClient {
|
|
|
1385
1031
|
})
|
|
1386
1032
|
.parseAsync(data),
|
|
1387
1033
|
responseValidator: async (data) => await zGetSubscriptionResponse.parseAsync(data),
|
|
1388
|
-
security: [
|
|
1389
|
-
{
|
|
1390
|
-
key: "Bearer",
|
|
1391
|
-
scheme: "bearer",
|
|
1392
|
-
type: "http",
|
|
1393
|
-
},
|
|
1394
|
-
],
|
|
1034
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1395
1035
|
url: "/v1/subscriptions/{id}",
|
|
1396
1036
|
...options,
|
|
1397
1037
|
});
|
|
1398
1038
|
}
|
|
1399
|
-
|
|
1400
|
-
return (options?.client ?? this.client).get({
|
|
1401
|
-
requestValidator: async (data) => await z
|
|
1402
|
-
.object({
|
|
1403
|
-
body: z.never().optional(),
|
|
1404
|
-
path: z.never().optional(),
|
|
1405
|
-
query: z.never().optional(),
|
|
1406
|
-
})
|
|
1407
|
-
.parseAsync(data),
|
|
1408
|
-
responseValidator: async (data) => await zGetAwsCommandCatalogResponse.parseAsync(data),
|
|
1409
|
-
security: [
|
|
1410
|
-
{
|
|
1411
|
-
key: "Bearer",
|
|
1412
|
-
scheme: "bearer",
|
|
1413
|
-
type: "http",
|
|
1414
|
-
},
|
|
1415
|
-
],
|
|
1416
|
-
url: "/v1/admin/aws/command-catalog",
|
|
1417
|
-
...options,
|
|
1418
|
-
});
|
|
1419
|
-
}
|
|
1420
|
-
getAwsDeviceIdentity(options) {
|
|
1039
|
+
getStaffTrackerConnectivity(options) {
|
|
1421
1040
|
return (options.client ?? this.client).get({
|
|
1422
1041
|
requestValidator: async (data) => await z
|
|
1423
1042
|
.object({
|
|
1424
1043
|
body: z.never().optional(),
|
|
1425
|
-
path:
|
|
1044
|
+
path: zGetStaffTrackerConnectivityPath,
|
|
1426
1045
|
query: z.never().optional(),
|
|
1427
1046
|
})
|
|
1428
1047
|
.parseAsync(data),
|
|
1429
|
-
responseValidator: async (data) => await
|
|
1430
|
-
security: [
|
|
1431
|
-
|
|
1432
|
-
key: "Bearer",
|
|
1433
|
-
scheme: "bearer",
|
|
1434
|
-
type: "http",
|
|
1435
|
-
},
|
|
1436
|
-
],
|
|
1437
|
-
url: "/v1/admin/aws/device-identities/{identifier}",
|
|
1048
|
+
responseValidator: async (data) => await zGetStaffTrackerConnectivityResponse.parseAsync(data),
|
|
1049
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1050
|
+
url: "/v1/admin/trackers/{id}/connectivity",
|
|
1438
1051
|
...options,
|
|
1439
1052
|
});
|
|
1440
1053
|
}
|
|
1441
|
-
|
|
1054
|
+
getStaffTrackerCommandCatalog(options) {
|
|
1442
1055
|
return (options.client ?? this.client).get({
|
|
1443
1056
|
requestValidator: async (data) => await z
|
|
1444
1057
|
.object({
|
|
1445
1058
|
body: z.never().optional(),
|
|
1446
|
-
path:
|
|
1059
|
+
path: zGetStaffTrackerCommandCatalogPath,
|
|
1447
1060
|
query: z.never().optional(),
|
|
1448
1061
|
})
|
|
1449
1062
|
.parseAsync(data),
|
|
1450
|
-
responseValidator: async (data) => await
|
|
1451
|
-
security: [
|
|
1452
|
-
|
|
1453
|
-
key: "Bearer",
|
|
1454
|
-
scheme: "bearer",
|
|
1455
|
-
type: "http",
|
|
1456
|
-
},
|
|
1457
|
-
],
|
|
1458
|
-
url: "/v1/admin/aws/devices/{id}/connectivity",
|
|
1063
|
+
responseValidator: async (data) => await zGetStaffTrackerCommandCatalogResponse.parseAsync(data),
|
|
1064
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1065
|
+
url: "/v1/admin/trackers/{id}/commands/catalog",
|
|
1459
1066
|
...options,
|
|
1460
1067
|
});
|
|
1461
1068
|
}
|
|
1462
|
-
|
|
1069
|
+
listStaffTrackerObservations(options) {
|
|
1463
1070
|
return (options.client ?? this.client).get({
|
|
1464
1071
|
requestValidator: async (data) => await z
|
|
1465
1072
|
.object({
|
|
1466
1073
|
body: z.never().optional(),
|
|
1467
|
-
path:
|
|
1468
|
-
query:
|
|
1074
|
+
path: zListStaffTrackerObservationsPath,
|
|
1075
|
+
query: zListStaffTrackerObservationsQuery,
|
|
1469
1076
|
})
|
|
1470
1077
|
.parseAsync(data),
|
|
1471
|
-
responseValidator: async (data) => await
|
|
1472
|
-
security: [
|
|
1473
|
-
|
|
1474
|
-
key: "Bearer",
|
|
1475
|
-
scheme: "bearer",
|
|
1476
|
-
type: "http",
|
|
1477
|
-
},
|
|
1478
|
-
],
|
|
1479
|
-
url: "/v1/admin/aws/devices/{id}/command-capabilities",
|
|
1078
|
+
responseValidator: async (data) => await zListStaffTrackerObservationsResponse.parseAsync(data),
|
|
1079
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1080
|
+
url: "/v1/admin/trackers/{id}/observations",
|
|
1480
1081
|
...options,
|
|
1481
1082
|
});
|
|
1482
1083
|
}
|
|
1483
|
-
|
|
1084
|
+
getStaffTrackerObservation(options) {
|
|
1484
1085
|
return (options.client ?? this.client).get({
|
|
1485
1086
|
requestValidator: async (data) => await z
|
|
1486
1087
|
.object({
|
|
1487
1088
|
body: z.never().optional(),
|
|
1488
|
-
path:
|
|
1489
|
-
query:
|
|
1089
|
+
path: zGetStaffTrackerObservationPath,
|
|
1090
|
+
query: z.never().optional(),
|
|
1490
1091
|
})
|
|
1491
1092
|
.parseAsync(data),
|
|
1492
|
-
responseValidator: async (data) => await
|
|
1493
|
-
security: [
|
|
1494
|
-
|
|
1495
|
-
key: "Bearer",
|
|
1496
|
-
scheme: "bearer",
|
|
1497
|
-
type: "http",
|
|
1498
|
-
},
|
|
1499
|
-
],
|
|
1500
|
-
url: "/v1/admin/aws/devices/{id}/observations",
|
|
1093
|
+
responseValidator: async (data) => await zGetStaffTrackerObservationResponse.parseAsync(data),
|
|
1094
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1095
|
+
url: "/v1/admin/trackers/{id}/observations/{observationId}",
|
|
1501
1096
|
...options,
|
|
1502
1097
|
});
|
|
1503
1098
|
}
|
|
1504
|
-
|
|
1099
|
+
/**
|
|
1100
|
+
* Select one to 100 distinct series with repeated series query parameters: definitionId for a subjectless metric, or definitionId/subject for an exact subject. The SDK observationSeriesQuery helper encodes typed selections. Results retain selection order and explicit nulls for unavailable values.
|
|
1101
|
+
*/
|
|
1102
|
+
readStaffTrackerObservations(options) {
|
|
1505
1103
|
return (options.client ?? this.client).get({
|
|
1506
1104
|
requestValidator: async (data) => await z
|
|
1507
1105
|
.object({
|
|
1508
1106
|
body: z.never().optional(),
|
|
1509
|
-
path:
|
|
1510
|
-
query:
|
|
1107
|
+
path: zReadStaffTrackerObservationsPath,
|
|
1108
|
+
query: zReadStaffTrackerObservationsQuery,
|
|
1511
1109
|
})
|
|
1512
1110
|
.parseAsync(data),
|
|
1513
|
-
responseValidator: async (data) => await
|
|
1514
|
-
security: [
|
|
1515
|
-
|
|
1516
|
-
key: "Bearer",
|
|
1517
|
-
scheme: "bearer",
|
|
1518
|
-
type: "http",
|
|
1519
|
-
},
|
|
1520
|
-
],
|
|
1521
|
-
url: "/v1/admin/aws/devices/{id}/observations/{observationId}",
|
|
1111
|
+
responseValidator: async (data) => await zReadStaffTrackerObservationsResponse.parseAsync(data),
|
|
1112
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1113
|
+
url: "/v1/admin/trackers/{id}/observations/current",
|
|
1522
1114
|
...options,
|
|
1523
1115
|
});
|
|
1524
1116
|
}
|
|
1525
|
-
|
|
1117
|
+
uploadStaffTrackerBatteryFirmware(options) {
|
|
1526
1118
|
return (options.client ?? this.client).post({
|
|
1119
|
+
bodySerializer: null,
|
|
1527
1120
|
requestValidator: async (data) => await z
|
|
1528
1121
|
.object({
|
|
1529
|
-
body:
|
|
1530
|
-
path:
|
|
1531
|
-
query:
|
|
1122
|
+
body: zUploadStaffTrackerBatteryFirmwareBody,
|
|
1123
|
+
path: zUploadStaffTrackerBatteryFirmwarePath,
|
|
1124
|
+
query: zUploadStaffTrackerBatteryFirmwareQuery,
|
|
1532
1125
|
})
|
|
1533
1126
|
.parseAsync(data),
|
|
1534
|
-
responseValidator: async (data) => await
|
|
1535
|
-
security: [
|
|
1536
|
-
|
|
1537
|
-
key: "Bearer",
|
|
1538
|
-
scheme: "bearer",
|
|
1539
|
-
type: "http",
|
|
1540
|
-
},
|
|
1541
|
-
],
|
|
1542
|
-
url: "/v1/admin/aws/devices/{id}/observations/query",
|
|
1127
|
+
responseValidator: async (data) => await zUploadStaffTrackerBatteryFirmwareResponse.parseAsync(data),
|
|
1128
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1129
|
+
url: "/v1/admin/trackers/{id}/firmware/battery-updates",
|
|
1543
1130
|
...options,
|
|
1544
1131
|
headers: {
|
|
1545
|
-
"Content-Type": "application/
|
|
1132
|
+
"Content-Type": "application/octet-stream",
|
|
1546
1133
|
...options.headers,
|
|
1547
1134
|
},
|
|
1548
1135
|
});
|
|
1549
1136
|
}
|
|
1550
|
-
|
|
1137
|
+
listStaffTrackerCommands(options) {
|
|
1551
1138
|
return (options.client ?? this.client).get({
|
|
1552
1139
|
requestValidator: async (data) => await z
|
|
1553
1140
|
.object({
|
|
1554
1141
|
body: z.never().optional(),
|
|
1555
|
-
path:
|
|
1556
|
-
query:
|
|
1142
|
+
path: zListStaffTrackerCommandsPath,
|
|
1143
|
+
query: zListStaffTrackerCommandsQuery.optional(),
|
|
1557
1144
|
})
|
|
1558
1145
|
.parseAsync(data),
|
|
1559
|
-
responseValidator: async (data) => await
|
|
1560
|
-
security: [
|
|
1561
|
-
|
|
1562
|
-
key: "Bearer",
|
|
1563
|
-
scheme: "bearer",
|
|
1564
|
-
type: "http",
|
|
1565
|
-
},
|
|
1566
|
-
],
|
|
1567
|
-
url: "/v1/admin/aws/devices/{id}/settings",
|
|
1146
|
+
responseValidator: async (data) => await zListStaffTrackerCommandsResponse.parseAsync(data),
|
|
1147
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1148
|
+
url: "/v1/admin/trackers/{id}/commands",
|
|
1568
1149
|
...options,
|
|
1569
1150
|
});
|
|
1570
1151
|
}
|
|
1571
|
-
|
|
1572
|
-
return (options.client ?? this.client).
|
|
1152
|
+
sendStaffTrackerCommand(options) {
|
|
1153
|
+
return (options.client ?? this.client).post({
|
|
1573
1154
|
requestValidator: async (data) => await z
|
|
1574
1155
|
.object({
|
|
1575
|
-
body:
|
|
1576
|
-
path:
|
|
1156
|
+
body: zSendStaffTrackerCommandBody,
|
|
1157
|
+
path: zSendStaffTrackerCommandPath,
|
|
1577
1158
|
query: z.never().optional(),
|
|
1578
1159
|
})
|
|
1579
1160
|
.parseAsync(data),
|
|
1580
|
-
responseValidator: async (data) => await
|
|
1581
|
-
security: [
|
|
1582
|
-
|
|
1583
|
-
key: "Bearer",
|
|
1584
|
-
scheme: "bearer",
|
|
1585
|
-
type: "http",
|
|
1586
|
-
},
|
|
1587
|
-
],
|
|
1588
|
-
url: "/v1/admin/aws/devices/{id}/settings",
|
|
1161
|
+
responseValidator: async (data) => await zSendStaffTrackerCommandResponse.parseAsync(data),
|
|
1162
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1163
|
+
url: "/v1/admin/trackers/{id}/commands",
|
|
1589
1164
|
...options,
|
|
1590
1165
|
headers: {
|
|
1591
1166
|
"Content-Type": "application/json",
|
|
@@ -1593,154 +1168,100 @@ export class ApiRequests extends HeyApiClient {
|
|
|
1593
1168
|
},
|
|
1594
1169
|
});
|
|
1595
1170
|
}
|
|
1596
|
-
|
|
1171
|
+
getStaffTrackerCommand(options) {
|
|
1597
1172
|
return (options.client ?? this.client).get({
|
|
1598
1173
|
requestValidator: async (data) => await z
|
|
1599
1174
|
.object({
|
|
1600
1175
|
body: z.never().optional(),
|
|
1601
|
-
path:
|
|
1602
|
-
query: zListAwsCommandsQuery.optional(),
|
|
1603
|
-
})
|
|
1604
|
-
.parseAsync(data),
|
|
1605
|
-
responseValidator: async (data) => await zListAwsCommandsResponse.parseAsync(data),
|
|
1606
|
-
security: [
|
|
1607
|
-
{
|
|
1608
|
-
key: "Bearer",
|
|
1609
|
-
scheme: "bearer",
|
|
1610
|
-
type: "http",
|
|
1611
|
-
},
|
|
1612
|
-
],
|
|
1613
|
-
url: "/v1/admin/aws/devices/{id}/commands",
|
|
1614
|
-
...options,
|
|
1615
|
-
});
|
|
1616
|
-
}
|
|
1617
|
-
sendAwsCommand(options) {
|
|
1618
|
-
return (options.client ?? this.client).post({
|
|
1619
|
-
requestValidator: async (data) => await z
|
|
1620
|
-
.object({
|
|
1621
|
-
body: zSendAwsCommandBody,
|
|
1622
|
-
path: zSendAwsCommandPath,
|
|
1176
|
+
path: zGetStaffTrackerCommandPath,
|
|
1623
1177
|
query: z.never().optional(),
|
|
1624
1178
|
})
|
|
1625
1179
|
.parseAsync(data),
|
|
1626
|
-
responseValidator: async (data) => await
|
|
1627
|
-
security: [
|
|
1628
|
-
|
|
1629
|
-
key: "Bearer",
|
|
1630
|
-
scheme: "bearer",
|
|
1631
|
-
type: "http",
|
|
1632
|
-
},
|
|
1633
|
-
],
|
|
1634
|
-
url: "/v1/admin/aws/devices/{id}/commands",
|
|
1180
|
+
responseValidator: async (data) => await zGetStaffTrackerCommandResponse.parseAsync(data),
|
|
1181
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1182
|
+
url: "/v1/admin/trackers/{id}/commands/{operationId}",
|
|
1635
1183
|
...options,
|
|
1636
|
-
headers: {
|
|
1637
|
-
"Content-Type": "application/json",
|
|
1638
|
-
...options.headers,
|
|
1639
|
-
},
|
|
1640
1184
|
});
|
|
1641
1185
|
}
|
|
1642
|
-
|
|
1186
|
+
getStaffTrackerSettings(options) {
|
|
1643
1187
|
return (options.client ?? this.client).get({
|
|
1644
1188
|
requestValidator: async (data) => await z
|
|
1645
1189
|
.object({
|
|
1646
1190
|
body: z.never().optional(),
|
|
1647
|
-
path:
|
|
1191
|
+
path: zGetStaffTrackerSettingsPath,
|
|
1648
1192
|
query: z.never().optional(),
|
|
1649
1193
|
})
|
|
1650
1194
|
.parseAsync(data),
|
|
1651
|
-
responseValidator: async (data) => await
|
|
1652
|
-
security: [
|
|
1653
|
-
|
|
1654
|
-
key: "Bearer",
|
|
1655
|
-
scheme: "bearer",
|
|
1656
|
-
type: "http",
|
|
1657
|
-
},
|
|
1658
|
-
],
|
|
1659
|
-
url: "/v1/admin/aws/devices/{id}/commands/{requestId}",
|
|
1195
|
+
responseValidator: async (data) => await zGetStaffTrackerSettingsResponse.parseAsync(data),
|
|
1196
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1197
|
+
url: "/v1/admin/trackers/{id}/settings",
|
|
1660
1198
|
...options,
|
|
1661
1199
|
});
|
|
1662
1200
|
}
|
|
1663
|
-
|
|
1664
|
-
|
|
1201
|
+
/**
|
|
1202
|
+
* Persist desired settings with optimistic version checking and return the fresh snapshot. Application on the tracker is asynchronous; inspect application or watch settings for convergence.
|
|
1203
|
+
*/
|
|
1204
|
+
updateStaffTrackerSettings(options) {
|
|
1205
|
+
return (options.client ?? this.client).patch({
|
|
1665
1206
|
requestValidator: async (data) => await z
|
|
1666
1207
|
.object({
|
|
1667
|
-
body:
|
|
1668
|
-
path:
|
|
1208
|
+
body: zUpdateStaffTrackerSettingsBody,
|
|
1209
|
+
path: zUpdateStaffTrackerSettingsPath,
|
|
1669
1210
|
query: z.never().optional(),
|
|
1670
1211
|
})
|
|
1671
1212
|
.parseAsync(data),
|
|
1672
|
-
responseValidator: async (data) => await
|
|
1673
|
-
security: [
|
|
1674
|
-
|
|
1675
|
-
key: "Bearer",
|
|
1676
|
-
scheme: "bearer",
|
|
1677
|
-
type: "http",
|
|
1678
|
-
},
|
|
1679
|
-
],
|
|
1680
|
-
url: "/v1/admin/aws/devices/{id}/commands/operations/{operationId}",
|
|
1213
|
+
responseValidator: async (data) => await zUpdateStaffTrackerSettingsResponse.parseAsync(data),
|
|
1214
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1215
|
+
url: "/v1/admin/trackers/{id}/settings",
|
|
1681
1216
|
...options,
|
|
1217
|
+
headers: {
|
|
1218
|
+
"Content-Type": "application/json",
|
|
1219
|
+
...options.headers,
|
|
1220
|
+
},
|
|
1682
1221
|
});
|
|
1683
1222
|
}
|
|
1684
|
-
|
|
1223
|
+
listStaffTrackerFirmwareReleases(options) {
|
|
1685
1224
|
return (options.client ?? this.client).get({
|
|
1686
1225
|
requestValidator: async (data) => await z
|
|
1687
1226
|
.object({
|
|
1688
1227
|
body: z.never().optional(),
|
|
1689
|
-
path:
|
|
1228
|
+
path: zListStaffTrackerFirmwareReleasesPath,
|
|
1690
1229
|
query: z.never().optional(),
|
|
1691
1230
|
})
|
|
1692
1231
|
.parseAsync(data),
|
|
1693
|
-
responseValidator: async (data) => await
|
|
1694
|
-
security: [
|
|
1695
|
-
|
|
1696
|
-
key: "Bearer",
|
|
1697
|
-
scheme: "bearer",
|
|
1698
|
-
type: "http",
|
|
1699
|
-
},
|
|
1700
|
-
],
|
|
1701
|
-
url: "/v1/admin/aws/devices/{id}/firmware/releases",
|
|
1232
|
+
responseValidator: async (data) => await zListStaffTrackerFirmwareReleasesResponse.parseAsync(data),
|
|
1233
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1234
|
+
url: "/v1/admin/trackers/{id}/firmware/releases",
|
|
1702
1235
|
...options,
|
|
1703
1236
|
});
|
|
1704
1237
|
}
|
|
1705
|
-
|
|
1238
|
+
listActiveStaffTrackerFirmwareUpdates(options) {
|
|
1706
1239
|
return (options.client ?? this.client).get({
|
|
1707
1240
|
requestValidator: async (data) => await z
|
|
1708
1241
|
.object({
|
|
1709
1242
|
body: z.never().optional(),
|
|
1710
|
-
path:
|
|
1243
|
+
path: zListActiveStaffTrackerFirmwareUpdatesPath,
|
|
1711
1244
|
query: z.never().optional(),
|
|
1712
1245
|
})
|
|
1713
1246
|
.parseAsync(data),
|
|
1714
|
-
responseValidator: async (data) => await
|
|
1715
|
-
security: [
|
|
1716
|
-
|
|
1717
|
-
key: "Bearer",
|
|
1718
|
-
scheme: "bearer",
|
|
1719
|
-
type: "http",
|
|
1720
|
-
},
|
|
1721
|
-
],
|
|
1722
|
-
url: "/v1/admin/aws/devices/{id}/firmware/updates/active",
|
|
1247
|
+
responseValidator: async (data) => await zListActiveStaffTrackerFirmwareUpdatesResponse.parseAsync(data),
|
|
1248
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1249
|
+
url: "/v1/admin/trackers/{id}/firmware/updates/active",
|
|
1723
1250
|
...options,
|
|
1724
1251
|
});
|
|
1725
1252
|
}
|
|
1726
|
-
|
|
1253
|
+
requestStaffTrackerFirmwareUpdate(options) {
|
|
1727
1254
|
return (options.client ?? this.client).post({
|
|
1728
1255
|
requestValidator: async (data) => await z
|
|
1729
1256
|
.object({
|
|
1730
|
-
body:
|
|
1731
|
-
path:
|
|
1257
|
+
body: zRequestStaffTrackerFirmwareUpdateBody,
|
|
1258
|
+
path: zRequestStaffTrackerFirmwareUpdatePath,
|
|
1732
1259
|
query: z.never().optional(),
|
|
1733
1260
|
})
|
|
1734
1261
|
.parseAsync(data),
|
|
1735
|
-
responseValidator: async (data) => await
|
|
1736
|
-
security: [
|
|
1737
|
-
|
|
1738
|
-
key: "Bearer",
|
|
1739
|
-
scheme: "bearer",
|
|
1740
|
-
type: "http",
|
|
1741
|
-
},
|
|
1742
|
-
],
|
|
1743
|
-
url: "/v1/admin/aws/devices/{id}/firmware/updates",
|
|
1262
|
+
responseValidator: async (data) => await zRequestStaffTrackerFirmwareUpdateResponse.parseAsync(data),
|
|
1263
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1264
|
+
url: "/v1/admin/trackers/{id}/firmware/updates",
|
|
1744
1265
|
...options,
|
|
1745
1266
|
headers: {
|
|
1746
1267
|
"Content-Type": "application/json",
|
|
@@ -1748,45 +1269,33 @@ export class ApiRequests extends HeyApiClient {
|
|
|
1748
1269
|
},
|
|
1749
1270
|
});
|
|
1750
1271
|
}
|
|
1751
|
-
|
|
1272
|
+
getStaffTrackerFirmwareUpdate(options) {
|
|
1752
1273
|
return (options.client ?? this.client).get({
|
|
1753
1274
|
requestValidator: async (data) => await z
|
|
1754
1275
|
.object({
|
|
1755
1276
|
body: z.never().optional(),
|
|
1756
|
-
path:
|
|
1277
|
+
path: zGetStaffTrackerFirmwareUpdatePath,
|
|
1757
1278
|
query: z.never().optional(),
|
|
1758
1279
|
})
|
|
1759
1280
|
.parseAsync(data),
|
|
1760
|
-
responseValidator: async (data) => await
|
|
1761
|
-
security: [
|
|
1762
|
-
|
|
1763
|
-
key: "Bearer",
|
|
1764
|
-
scheme: "bearer",
|
|
1765
|
-
type: "http",
|
|
1766
|
-
},
|
|
1767
|
-
],
|
|
1768
|
-
url: "/v1/admin/aws/devices/{id}/firmware/updates/{updateId}",
|
|
1281
|
+
responseValidator: async (data) => await zGetStaffTrackerFirmwareUpdateResponse.parseAsync(data),
|
|
1282
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1283
|
+
url: "/v1/admin/trackers/{id}/firmware/updates/{updateId}",
|
|
1769
1284
|
...options,
|
|
1770
1285
|
});
|
|
1771
1286
|
}
|
|
1772
|
-
|
|
1287
|
+
cancelStaffTrackerFirmwareUpdate(options) {
|
|
1773
1288
|
return (options.client ?? this.client).post({
|
|
1774
1289
|
requestValidator: async (data) => await z
|
|
1775
1290
|
.object({
|
|
1776
|
-
body:
|
|
1777
|
-
path:
|
|
1291
|
+
body: zCancelStaffTrackerFirmwareUpdateBody,
|
|
1292
|
+
path: zCancelStaffTrackerFirmwareUpdatePath,
|
|
1778
1293
|
query: z.never().optional(),
|
|
1779
1294
|
})
|
|
1780
1295
|
.parseAsync(data),
|
|
1781
|
-
responseValidator: async (data) => await
|
|
1782
|
-
security: [
|
|
1783
|
-
|
|
1784
|
-
key: "Bearer",
|
|
1785
|
-
scheme: "bearer",
|
|
1786
|
-
type: "http",
|
|
1787
|
-
},
|
|
1788
|
-
],
|
|
1789
|
-
url: "/v1/admin/aws/devices/{id}/firmware/updates/{updateId}/cancellation",
|
|
1296
|
+
responseValidator: async (data) => await zCancelStaffTrackerFirmwareUpdateResponse.parseAsync(data),
|
|
1297
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1298
|
+
url: "/v1/admin/trackers/{id}/firmware/updates/{updateId}/cancellation",
|
|
1790
1299
|
...options,
|
|
1791
1300
|
headers: {
|
|
1792
1301
|
"Content-Type": "application/json",
|
|
@@ -1804,13 +1313,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
1804
1313
|
})
|
|
1805
1314
|
.parseAsync(data),
|
|
1806
1315
|
responseValidator: async (data) => await zListStaffSubscriptionsResponse.parseAsync(data),
|
|
1807
|
-
security: [
|
|
1808
|
-
{
|
|
1809
|
-
key: "Bearer",
|
|
1810
|
-
scheme: "bearer",
|
|
1811
|
-
type: "http",
|
|
1812
|
-
},
|
|
1813
|
-
],
|
|
1316
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1814
1317
|
url: "/v1/admin/subscriptions",
|
|
1815
1318
|
...options,
|
|
1816
1319
|
});
|
|
@@ -1825,38 +1328,11 @@ export class ApiRequests extends HeyApiClient {
|
|
|
1825
1328
|
})
|
|
1826
1329
|
.parseAsync(data),
|
|
1827
1330
|
responseValidator: async (data) => await zGetStaffSubscriptionResponse.parseAsync(data),
|
|
1828
|
-
security: [
|
|
1829
|
-
{
|
|
1830
|
-
key: "Bearer",
|
|
1831
|
-
scheme: "bearer",
|
|
1832
|
-
type: "http",
|
|
1833
|
-
},
|
|
1834
|
-
],
|
|
1331
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1835
1332
|
url: "/v1/admin/subscriptions/{id}",
|
|
1836
1333
|
...options,
|
|
1837
1334
|
});
|
|
1838
1335
|
}
|
|
1839
|
-
getNativeInsuranceJournal(options) {
|
|
1840
|
-
return (options.client ?? this.client).get({
|
|
1841
|
-
requestValidator: async (data) => await z
|
|
1842
|
-
.object({
|
|
1843
|
-
body: z.never().optional(),
|
|
1844
|
-
path: zGetNativeInsuranceJournalPath,
|
|
1845
|
-
query: z.never().optional(),
|
|
1846
|
-
})
|
|
1847
|
-
.parseAsync(data),
|
|
1848
|
-
responseValidator: async (data) => await zGetNativeInsuranceJournalResponse.parseAsync(data),
|
|
1849
|
-
security: [
|
|
1850
|
-
{
|
|
1851
|
-
key: "Bearer",
|
|
1852
|
-
scheme: "bearer",
|
|
1853
|
-
type: "http",
|
|
1854
|
-
},
|
|
1855
|
-
],
|
|
1856
|
-
url: "/v1/admin/subscriptions/{id}/insurance",
|
|
1857
|
-
...options,
|
|
1858
|
-
});
|
|
1859
|
-
}
|
|
1860
1336
|
listInsuranceContracts(options) {
|
|
1861
1337
|
return (options.client ?? this.client).get({
|
|
1862
1338
|
requestValidator: async (data) => await z
|
|
@@ -1867,13 +1343,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
1867
1343
|
})
|
|
1868
1344
|
.parseAsync(data),
|
|
1869
1345
|
responseValidator: async (data) => await zListInsuranceContractsResponse.parseAsync(data),
|
|
1870
|
-
security: [
|
|
1871
|
-
{
|
|
1872
|
-
key: "Bearer",
|
|
1873
|
-
scheme: "bearer",
|
|
1874
|
-
type: "http",
|
|
1875
|
-
},
|
|
1876
|
-
],
|
|
1346
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1877
1347
|
url: "/v1/admin/subscriptions/{id}/insurance/contracts",
|
|
1878
1348
|
...options,
|
|
1879
1349
|
});
|
|
@@ -1888,13 +1358,7 @@ export class ApiRequests extends HeyApiClient {
|
|
|
1888
1358
|
})
|
|
1889
1359
|
.parseAsync(data),
|
|
1890
1360
|
responseValidator: async (data) => await zGetInsuranceContractResponse.parseAsync(data),
|
|
1891
|
-
security: [
|
|
1892
|
-
{
|
|
1893
|
-
key: "Bearer",
|
|
1894
|
-
scheme: "bearer",
|
|
1895
|
-
type: "http",
|
|
1896
|
-
},
|
|
1897
|
-
],
|
|
1361
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1898
1362
|
url: "/v1/admin/subscriptions/{id}/insurance/contracts/{contractId}",
|
|
1899
1363
|
...options,
|
|
1900
1364
|
});
|
|
@@ -1909,224 +1373,9 @@ export class ApiRequests extends HeyApiClient {
|
|
|
1909
1373
|
})
|
|
1910
1374
|
.parseAsync(data),
|
|
1911
1375
|
responseValidator: async (data) => await zListInsuranceAttemptsResponse.parseAsync(data),
|
|
1912
|
-
security: [
|
|
1913
|
-
{
|
|
1914
|
-
key: "Bearer",
|
|
1915
|
-
scheme: "bearer",
|
|
1916
|
-
type: "http",
|
|
1917
|
-
},
|
|
1918
|
-
],
|
|
1376
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1919
1377
|
url: "/v1/admin/subscriptions/{id}/insurance/attempts",
|
|
1920
1378
|
...options,
|
|
1921
1379
|
});
|
|
1922
1380
|
}
|
|
1923
|
-
requestSubscriptionInsurance(options) {
|
|
1924
|
-
return (options.client ?? this.client).post({
|
|
1925
|
-
requestValidator: async (data) => await z
|
|
1926
|
-
.object({
|
|
1927
|
-
body: zRequestSubscriptionInsuranceBody,
|
|
1928
|
-
path: zRequestSubscriptionInsurancePath,
|
|
1929
|
-
query: z.never().optional(),
|
|
1930
|
-
})
|
|
1931
|
-
.parseAsync(data),
|
|
1932
|
-
responseValidator: async (data) => await zRequestSubscriptionInsuranceResponse.parseAsync(data),
|
|
1933
|
-
security: [
|
|
1934
|
-
{
|
|
1935
|
-
key: "Bearer",
|
|
1936
|
-
scheme: "bearer",
|
|
1937
|
-
type: "http",
|
|
1938
|
-
},
|
|
1939
|
-
],
|
|
1940
|
-
url: "/v1/admin/subscriptions/{id}/insurance-requests",
|
|
1941
|
-
...options,
|
|
1942
|
-
headers: {
|
|
1943
|
-
"Content-Type": "application/json",
|
|
1944
|
-
...options.headers,
|
|
1945
|
-
},
|
|
1946
|
-
});
|
|
1947
|
-
}
|
|
1948
|
-
refreshSubscription(options) {
|
|
1949
|
-
return (options.client ?? this.client).post({
|
|
1950
|
-
requestValidator: async (data) => await z
|
|
1951
|
-
.object({
|
|
1952
|
-
body: zRefreshSubscriptionBody,
|
|
1953
|
-
path: zRefreshSubscriptionPath,
|
|
1954
|
-
query: z.never().optional(),
|
|
1955
|
-
})
|
|
1956
|
-
.parseAsync(data),
|
|
1957
|
-
responseValidator: async (data) => await zRefreshSubscriptionResponse.parseAsync(data),
|
|
1958
|
-
security: [
|
|
1959
|
-
{
|
|
1960
|
-
key: "Bearer",
|
|
1961
|
-
scheme: "bearer",
|
|
1962
|
-
type: "http",
|
|
1963
|
-
},
|
|
1964
|
-
],
|
|
1965
|
-
url: "/v1/admin/subscriptions/{id}/refresh-requests",
|
|
1966
|
-
...options,
|
|
1967
|
-
headers: {
|
|
1968
|
-
"Content-Type": "application/json",
|
|
1969
|
-
...options.headers,
|
|
1970
|
-
},
|
|
1971
|
-
});
|
|
1972
|
-
}
|
|
1973
|
-
requestAccountInsurance(options) {
|
|
1974
|
-
return (options.client ?? this.client).post({
|
|
1975
|
-
requestValidator: async (data) => await z
|
|
1976
|
-
.object({
|
|
1977
|
-
body: zRequestAccountInsuranceBody,
|
|
1978
|
-
path: zRequestAccountInsurancePath,
|
|
1979
|
-
query: z.never().optional(),
|
|
1980
|
-
})
|
|
1981
|
-
.parseAsync(data),
|
|
1982
|
-
responseValidator: async (data) => await zRequestAccountInsuranceResponse.parseAsync(data),
|
|
1983
|
-
security: [
|
|
1984
|
-
{
|
|
1985
|
-
key: "Bearer",
|
|
1986
|
-
scheme: "bearer",
|
|
1987
|
-
type: "http",
|
|
1988
|
-
},
|
|
1989
|
-
],
|
|
1990
|
-
url: "/v1/admin/accounts/{uid}/insurance-requests",
|
|
1991
|
-
...options,
|
|
1992
|
-
headers: {
|
|
1993
|
-
"Content-Type": "application/json",
|
|
1994
|
-
...options.headers,
|
|
1995
|
-
},
|
|
1996
|
-
});
|
|
1997
|
-
}
|
|
1998
|
-
requestTrackerInsurance(options) {
|
|
1999
|
-
return (options.client ?? this.client).post({
|
|
2000
|
-
requestValidator: async (data) => await z
|
|
2001
|
-
.object({
|
|
2002
|
-
body: zRequestTrackerInsuranceBody,
|
|
2003
|
-
path: zRequestTrackerInsurancePath,
|
|
2004
|
-
query: z.never().optional(),
|
|
2005
|
-
})
|
|
2006
|
-
.parseAsync(data),
|
|
2007
|
-
responseValidator: async (data) => await zRequestTrackerInsuranceResponse.parseAsync(data),
|
|
2008
|
-
security: [
|
|
2009
|
-
{
|
|
2010
|
-
key: "Bearer",
|
|
2011
|
-
scheme: "bearer",
|
|
2012
|
-
type: "http",
|
|
2013
|
-
},
|
|
2014
|
-
],
|
|
2015
|
-
url: "/v1/admin/trackers/{id}/insurance-requests",
|
|
2016
|
-
...options,
|
|
2017
|
-
headers: {
|
|
2018
|
-
"Content-Type": "application/json",
|
|
2019
|
-
...options.headers,
|
|
2020
|
-
},
|
|
2021
|
-
});
|
|
2022
|
-
}
|
|
2023
|
-
reconcileTrackerSubscription(options) {
|
|
2024
|
-
return (options.client ?? this.client).post({
|
|
2025
|
-
requestValidator: async (data) => await z
|
|
2026
|
-
.object({
|
|
2027
|
-
body: zReconcileTrackerSubscriptionBody,
|
|
2028
|
-
path: zReconcileTrackerSubscriptionPath,
|
|
2029
|
-
query: z.never().optional(),
|
|
2030
|
-
})
|
|
2031
|
-
.parseAsync(data),
|
|
2032
|
-
responseValidator: async (data) => await zReconcileTrackerSubscriptionResponse.parseAsync(data),
|
|
2033
|
-
security: [
|
|
2034
|
-
{
|
|
2035
|
-
key: "Bearer",
|
|
2036
|
-
scheme: "bearer",
|
|
2037
|
-
type: "http",
|
|
2038
|
-
},
|
|
2039
|
-
],
|
|
2040
|
-
url: "/v1/admin/trackers/{id}/subscription/reconciliation-requests",
|
|
2041
|
-
...options,
|
|
2042
|
-
headers: {
|
|
2043
|
-
"Content-Type": "application/json",
|
|
2044
|
-
...options.headers,
|
|
2045
|
-
},
|
|
2046
|
-
});
|
|
2047
|
-
}
|
|
2048
|
-
getBillingOperation(options) {
|
|
2049
|
-
return (options.client ?? this.client).get({
|
|
2050
|
-
requestValidator: async (data) => await z
|
|
2051
|
-
.object({
|
|
2052
|
-
body: z.never().optional(),
|
|
2053
|
-
path: zGetBillingOperationPath,
|
|
2054
|
-
query: z.never().optional(),
|
|
2055
|
-
})
|
|
2056
|
-
.parseAsync(data),
|
|
2057
|
-
responseValidator: async (data) => await zGetBillingOperationResponse.parseAsync(data),
|
|
2058
|
-
security: [
|
|
2059
|
-
{
|
|
2060
|
-
key: "Bearer",
|
|
2061
|
-
scheme: "bearer",
|
|
2062
|
-
type: "http",
|
|
2063
|
-
},
|
|
2064
|
-
],
|
|
2065
|
-
url: "/v1/admin/billing/operations/{operationId}",
|
|
2066
|
-
...options,
|
|
2067
|
-
});
|
|
2068
|
-
}
|
|
2069
|
-
acceptShopifySubscription(options) {
|
|
2070
|
-
return (options.client ?? this.client).post({
|
|
2071
|
-
requestValidator: async (data) => await z
|
|
2072
|
-
.object({
|
|
2073
|
-
body: zAcceptShopifySubscriptionBody,
|
|
2074
|
-
path: z.never().optional(),
|
|
2075
|
-
query: z.never().optional(),
|
|
2076
|
-
})
|
|
2077
|
-
.parseAsync(data),
|
|
2078
|
-
responseValidator: async (data) => await zAcceptShopifySubscriptionResponse.parseAsync(data),
|
|
2079
|
-
security: [
|
|
2080
|
-
{
|
|
2081
|
-
key: "ShopifyFlow",
|
|
2082
|
-
scheme: "bearer",
|
|
2083
|
-
type: "http",
|
|
2084
|
-
},
|
|
2085
|
-
],
|
|
2086
|
-
url: "/v1/automation/shopify/subscriptions",
|
|
2087
|
-
...options,
|
|
2088
|
-
headers: {
|
|
2089
|
-
"Content-Type": "application/json",
|
|
2090
|
-
...options.headers,
|
|
2091
|
-
},
|
|
2092
|
-
});
|
|
2093
|
-
}
|
|
2094
|
-
acceptWooSubscription(options) {
|
|
2095
|
-
return (options.client ?? this.client).post({
|
|
2096
|
-
requestValidator: async (data) => await z
|
|
2097
|
-
.object({
|
|
2098
|
-
body: zAcceptWooSubscriptionBody,
|
|
2099
|
-
path: z.never().optional(),
|
|
2100
|
-
query: z.never().optional(),
|
|
2101
|
-
})
|
|
2102
|
-
.parseAsync(data),
|
|
2103
|
-
responseValidator: async (data) => await zAcceptWooSubscriptionResponse.parseAsync(data),
|
|
2104
|
-
security: [{ name: "X-WC-Webhook-Signature", type: "apiKey" }],
|
|
2105
|
-
url: "/v1/automation/woocommerce/subscriptions",
|
|
2106
|
-
...options,
|
|
2107
|
-
headers: {
|
|
2108
|
-
"Content-Type": "application/json",
|
|
2109
|
-
...options.headers,
|
|
2110
|
-
},
|
|
2111
|
-
});
|
|
2112
|
-
}
|
|
2113
|
-
acceptWooPaidOrder(options) {
|
|
2114
|
-
return (options.client ?? this.client).post({
|
|
2115
|
-
requestValidator: async (data) => await z
|
|
2116
|
-
.object({
|
|
2117
|
-
body: zAcceptWooPaidOrderBody,
|
|
2118
|
-
path: z.never().optional(),
|
|
2119
|
-
query: z.never().optional(),
|
|
2120
|
-
})
|
|
2121
|
-
.parseAsync(data),
|
|
2122
|
-
responseValidator: async (data) => await zAcceptWooPaidOrderResponse.parseAsync(data),
|
|
2123
|
-
security: [{ name: "X-WC-Webhook-Signature", type: "apiKey" }],
|
|
2124
|
-
url: "/v1/automation/woocommerce/paid-orders",
|
|
2125
|
-
...options,
|
|
2126
|
-
headers: {
|
|
2127
|
-
"Content-Type": "application/json",
|
|
2128
|
-
...options.headers,
|
|
2129
|
-
},
|
|
2130
|
-
});
|
|
2131
|
-
}
|
|
2132
1381
|
}
|