@omirion/orbit-sdk 0.4.0 → 0.5.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 +4 -1
- package/dist/index.cjs +9 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +58 -1
- package/dist/index.d.ts +58 -1
- package/dist/index.js +9 -0
- package/dist/index.js.map +1 -1
- package/examples/device-rpc-flow/README.md +1 -1
- package/examples/device-rpc-flow/index.tsx +4 -2
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -558,6 +558,10 @@ type CommandRequest = {
|
|
|
558
558
|
args?: {
|
|
559
559
|
[key: string]: string | number | boolean;
|
|
560
560
|
};
|
|
561
|
+
/**
|
|
562
|
+
* Required client-generated UUID scoped to this device and issuing user. Repeating the same command returns its original invocation with HTTP 202 and never dispatches again. Reusing the key with different arguments or timeout returns HTTP 409. Retained for the lifetime of the invocation.
|
|
563
|
+
*/
|
|
564
|
+
requestId: string;
|
|
561
565
|
/**
|
|
562
566
|
* Device-side hard deadline in milliseconds; the invocation is failed if no result arrives in time.
|
|
563
567
|
*/
|
|
@@ -1672,6 +1676,10 @@ type ExecDeviceCommandErrors = {
|
|
|
1672
1676
|
* Device not found or out of scope.
|
|
1673
1677
|
*/
|
|
1674
1678
|
404: ErrorResponse;
|
|
1679
|
+
/**
|
|
1680
|
+
* Request id was already used for a different command.
|
|
1681
|
+
*/
|
|
1682
|
+
409: ErrorResponse;
|
|
1675
1683
|
/**
|
|
1676
1684
|
* Command rejected by the device type's manifest: unknown name, missing required arg, wrong arg type, or the device type declares no manifest at all.
|
|
1677
1685
|
*/
|
|
@@ -1724,6 +1732,41 @@ type GetDeviceCommandInvocationResponses = {
|
|
|
1724
1732
|
200: CommandInvocationResponse;
|
|
1725
1733
|
};
|
|
1726
1734
|
type GetDeviceCommandInvocationResponse = GetDeviceCommandInvocationResponses[keyof GetDeviceCommandInvocationResponses];
|
|
1735
|
+
type GetDeviceCommandByRequestIdData = {
|
|
1736
|
+
body?: never;
|
|
1737
|
+
path: {
|
|
1738
|
+
id: string;
|
|
1739
|
+
requestId: string;
|
|
1740
|
+
};
|
|
1741
|
+
query?: never;
|
|
1742
|
+
url: '/api/v1/devices/{id}/commands/by-request/{requestId}';
|
|
1743
|
+
};
|
|
1744
|
+
type GetDeviceCommandByRequestIdErrors = {
|
|
1745
|
+
/**
|
|
1746
|
+
* Missing or invalid token.
|
|
1747
|
+
*/
|
|
1748
|
+
401: ErrorResponse;
|
|
1749
|
+
/**
|
|
1750
|
+
* Token is missing the command execution ability.
|
|
1751
|
+
*/
|
|
1752
|
+
403: ErrorResponse;
|
|
1753
|
+
/**
|
|
1754
|
+
* Request not found for this device and issuing user, or outside project scope.
|
|
1755
|
+
*/
|
|
1756
|
+
404: ErrorResponse;
|
|
1757
|
+
/**
|
|
1758
|
+
* Invalid device or request UUID.
|
|
1759
|
+
*/
|
|
1760
|
+
422: ErrorResponse;
|
|
1761
|
+
};
|
|
1762
|
+
type GetDeviceCommandByRequestIdError = GetDeviceCommandByRequestIdErrors[keyof GetDeviceCommandByRequestIdErrors];
|
|
1763
|
+
type GetDeviceCommandByRequestIdResponses = {
|
|
1764
|
+
/**
|
|
1765
|
+
* The original invocation and its current result.
|
|
1766
|
+
*/
|
|
1767
|
+
200: CommandInvocationResponse;
|
|
1768
|
+
};
|
|
1769
|
+
type GetDeviceCommandByRequestIdResponse = GetDeviceCommandByRequestIdResponses[keyof GetDeviceCommandByRequestIdResponses];
|
|
1727
1770
|
type GetDeviceCommandsData = {
|
|
1728
1771
|
body?: never;
|
|
1729
1772
|
path: {
|
|
@@ -2920,6 +2963,8 @@ declare class OrbitClient {
|
|
|
2920
2963
|
exec: (deviceId: string, command: CommandRequest) => Promise<CommandResult>;
|
|
2921
2964
|
/** The durable record of one invocation, the pull path for a queued dispatch. */
|
|
2922
2965
|
get: (deviceId: string, invocationId: string) => Promise<CommandInvocation>;
|
|
2966
|
+
/** Recover a lost admission response without creating or sending a command. */
|
|
2967
|
+
getByRequestId: (deviceId: string, requestId: string) => Promise<CommandInvocation>;
|
|
2923
2968
|
/** The command manifest of the device's type, or `null` if it declares none. */
|
|
2924
2969
|
manifest: (deviceId: string) => Promise<CommandManifest | null>;
|
|
2925
2970
|
};
|
|
@@ -3367,6 +3412,12 @@ declare const execDeviceCommand: <ThrowOnError extends boolean = false>(options:
|
|
|
3367
3412
|
* Returns the durable record of a single command invocation. Its lifecycle `status` and, once terminal, its result (`success`, `exitCode`, `output`, `error`, `durationMs`). This is the pull counterpart to the `command.result` webhook. Poll it after a queued (202) dispatch to retrieve the eventual outcome, so a missed or unsubscribed webhook delivery never makes a recorded result unrecoverable. The `invocationId` is the value returned by `POST /api/v1/devices/{id}/command`. Requires the `api:command:exec` ability and project scope over the device.
|
|
3368
3413
|
*/
|
|
3369
3414
|
declare const getDeviceCommandInvocation: <ThrowOnError extends boolean = false>(options: Options<GetDeviceCommandInvocationData, ThrowOnError>) => RequestResult<GetDeviceCommandInvocationResponses, GetDeviceCommandInvocationErrors, ThrowOnError>;
|
|
3415
|
+
/**
|
|
3416
|
+
* Find a command by its client request id
|
|
3417
|
+
*
|
|
3418
|
+
* Read-only recovery after a lost admission response. The request id is scoped to the device and issuing user. A missing or deleted invocation returns 404 and never creates or dispatches a command.
|
|
3419
|
+
*/
|
|
3420
|
+
declare const getDeviceCommandByRequestId: <ThrowOnError extends boolean = false>(options: Options<GetDeviceCommandByRequestIdData, ThrowOnError>) => RequestResult<GetDeviceCommandByRequestIdResponses, GetDeviceCommandByRequestIdErrors, ThrowOnError>;
|
|
3370
3421
|
/**
|
|
3371
3422
|
* Commands a device supports
|
|
3372
3423
|
*
|
|
@@ -3571,6 +3622,11 @@ type index_GetCommandManifestError = GetCommandManifestError;
|
|
|
3571
3622
|
type index_GetCommandManifestErrors = GetCommandManifestErrors;
|
|
3572
3623
|
type index_GetCommandManifestResponse = GetCommandManifestResponse;
|
|
3573
3624
|
type index_GetCommandManifestResponses = GetCommandManifestResponses;
|
|
3625
|
+
type index_GetDeviceCommandByRequestIdData = GetDeviceCommandByRequestIdData;
|
|
3626
|
+
type index_GetDeviceCommandByRequestIdError = GetDeviceCommandByRequestIdError;
|
|
3627
|
+
type index_GetDeviceCommandByRequestIdErrors = GetDeviceCommandByRequestIdErrors;
|
|
3628
|
+
type index_GetDeviceCommandByRequestIdResponse = GetDeviceCommandByRequestIdResponse;
|
|
3629
|
+
type index_GetDeviceCommandByRequestIdResponses = GetDeviceCommandByRequestIdResponses;
|
|
3574
3630
|
type index_GetDeviceCommandInvocationData = GetDeviceCommandInvocationData;
|
|
3575
3631
|
type index_GetDeviceCommandInvocationError = GetDeviceCommandInvocationError;
|
|
3576
3632
|
type index_GetDeviceCommandInvocationErrors = GetDeviceCommandInvocationErrors;
|
|
@@ -3762,6 +3818,7 @@ declare const index_execDeviceCommand: typeof execDeviceCommand;
|
|
|
3762
3818
|
declare const index_getAdmission: typeof getAdmission;
|
|
3763
3819
|
declare const index_getCommandManifest: typeof getCommandManifest;
|
|
3764
3820
|
declare const index_getDevice: typeof getDevice;
|
|
3821
|
+
declare const index_getDeviceCommandByRequestId: typeof getDeviceCommandByRequestId;
|
|
3765
3822
|
declare const index_getDeviceCommandInvocation: typeof getDeviceCommandInvocation;
|
|
3766
3823
|
declare const index_getDeviceCommands: typeof getDeviceCommands;
|
|
3767
3824
|
declare const index_getDeviceType: typeof getDeviceType;
|
|
@@ -3791,7 +3848,7 @@ declare const index_updateDeviceType: typeof updateDeviceType;
|
|
|
3791
3848
|
declare const index_updateWebhook: typeof updateWebhook;
|
|
3792
3849
|
declare const index_uploadFirmware: typeof uploadFirmware;
|
|
3793
3850
|
declare namespace index {
|
|
3794
|
-
export { type index_AcceptAdmissionData as AcceptAdmissionData, type index_AcceptAdmissionError as AcceptAdmissionError, type index_AcceptAdmissionErrors as AcceptAdmissionErrors, type index_AcceptAdmissionResponse as AcceptAdmissionResponse, type index_AcceptAdmissionResponses as AcceptAdmissionResponses, type index_Admission as Admission, type index_AdmissionAcceptRequest as AdmissionAcceptRequest, type index_AdmissionAcceptance as AdmissionAcceptance, type index_AdmissionAcceptanceResponse as AdmissionAcceptanceResponse, type index_AdmissionListPage as AdmissionListPage, type index_AdmissionResponse as AdmissionResponse, type index_CancelFirmwareDeploymentData as CancelFirmwareDeploymentData, type index_CancelFirmwareDeploymentError as CancelFirmwareDeploymentError, type index_CancelFirmwareDeploymentErrors as CancelFirmwareDeploymentErrors, type index_CancelFirmwareDeploymentResponse as CancelFirmwareDeploymentResponse, type index_CancelFirmwareDeploymentResponses as CancelFirmwareDeploymentResponses, type ClientOptions$1 as ClientOptions, type index_CommandArgDefinition as CommandArgDefinition, type index_CommandDefinition as CommandDefinition, type index_CommandInvocation as CommandInvocation, type index_CommandInvocationResponse as CommandInvocationResponse, type index_CommandManifest as CommandManifest, type index_CommandManifestResponse as CommandManifestResponse, type index_CommandRequest as CommandRequest, type index_CommandResult as CommandResult, type index_CommandResultResponse as CommandResultResponse, type index_CreateDeviceTypeData as CreateDeviceTypeData, type index_CreateDeviceTypeError as CreateDeviceTypeError, type index_CreateDeviceTypeErrors as CreateDeviceTypeErrors, type index_CreateDeviceTypeResponse as CreateDeviceTypeResponse, type index_CreateDeviceTypeResponses as CreateDeviceTypeResponses, type index_CreateProjectAppTokenData as CreateProjectAppTokenData, type index_CreateProjectAppTokenError as CreateProjectAppTokenError, type index_CreateProjectAppTokenErrors as CreateProjectAppTokenErrors, type index_CreateProjectAppTokenResponse as CreateProjectAppTokenResponse, type index_CreateProjectAppTokenResponses as CreateProjectAppTokenResponses, type index_CreateWebhookData as CreateWebhookData, type index_CreateWebhookError as CreateWebhookError, type index_CreateWebhookErrors as CreateWebhookErrors, type index_CreateWebhookResponse as CreateWebhookResponse, type index_CreateWebhookResponses as CreateWebhookResponses, type index_DeleteCommandManifestData as DeleteCommandManifestData, type index_DeleteCommandManifestError as DeleteCommandManifestError, type index_DeleteCommandManifestErrors as DeleteCommandManifestErrors, type index_DeleteCommandManifestResponses as DeleteCommandManifestResponses, type index_DeleteDeviceData as DeleteDeviceData, type index_DeleteDeviceError as DeleteDeviceError, type index_DeleteDeviceErrors as DeleteDeviceErrors, type index_DeleteDeviceResponses as DeleteDeviceResponses, type index_DeleteDeviceTypeData as DeleteDeviceTypeData, type index_DeleteDeviceTypeError as DeleteDeviceTypeError, type index_DeleteDeviceTypeErrors as DeleteDeviceTypeErrors, type index_DeleteDeviceTypeResponses as DeleteDeviceTypeResponses, type index_DeleteFirmwareBundleData as DeleteFirmwareBundleData, type index_DeleteFirmwareBundleError as DeleteFirmwareBundleError, type index_DeleteFirmwareBundleErrors as DeleteFirmwareBundleErrors, type index_DeleteFirmwareBundleResponses as DeleteFirmwareBundleResponses, type index_DeleteWebhookData as DeleteWebhookData, type index_DeleteWebhookError as DeleteWebhookError, type index_DeleteWebhookErrors as DeleteWebhookErrors, type index_DeleteWebhookResponses as DeleteWebhookResponses, type index_Device as Device, type index_DeviceListItem as DeviceListItem, type index_DeviceListPage as DeviceListPage, type index_DeviceResponse as DeviceResponse, type index_DeviceTokenReset as DeviceTokenReset, type index_DeviceTokenResetResponse as DeviceTokenResetResponse, type index_DeviceType as DeviceType, type index_DeviceTypeCreateRequest as DeviceTypeCreateRequest, type index_DeviceTypeListItem as DeviceTypeListItem, type index_DeviceTypeListPage as DeviceTypeListPage, type index_DeviceTypeResponse as DeviceTypeResponse, type index_DeviceTypeUpdateRequest as DeviceTypeUpdateRequest, type index_DismissAdmissionData as DismissAdmissionData, type index_DismissAdmissionError as DismissAdmissionError, type index_DismissAdmissionErrors as DismissAdmissionErrors, type index_DismissAdmissionResponse as DismissAdmissionResponse, type index_DismissAdmissionResponses as DismissAdmissionResponses, type index_ErrorItem as ErrorItem, type index_ErrorResponse as ErrorResponse, type index_ExecDeviceCommandData as ExecDeviceCommandData, type index_ExecDeviceCommandError as ExecDeviceCommandError, type index_ExecDeviceCommandErrors as ExecDeviceCommandErrors, type index_ExecDeviceCommandResponse as ExecDeviceCommandResponse, type index_ExecDeviceCommandResponses as ExecDeviceCommandResponses, type index_FirmwareBundle as FirmwareBundle, type index_FirmwareBundleListPage as FirmwareBundleListPage, type index_FirmwareBundleResponse as FirmwareBundleResponse, type index_FirmwareDeployment as FirmwareDeployment, type index_FirmwareDeploymentCancelRequest as FirmwareDeploymentCancelRequest, type index_FirmwareDeploymentListPage as FirmwareDeploymentListPage, type index_FirmwareDeploymentResponse as FirmwareDeploymentResponse, type index_FirmwareDeploymentRollbackRequest as FirmwareDeploymentRollbackRequest, type index_FirmwareDeploymentTriggerRequest as FirmwareDeploymentTriggerRequest, type index_FirmwareDeploymentsResponse as FirmwareDeploymentsResponse, type index_FirmwareUploadRequest as FirmwareUploadRequest, type index_GetAdmissionData as GetAdmissionData, type index_GetAdmissionError as GetAdmissionError, type index_GetAdmissionErrors as GetAdmissionErrors, type index_GetAdmissionResponse as GetAdmissionResponse, type index_GetAdmissionResponses as GetAdmissionResponses, type index_GetCommandManifestData as GetCommandManifestData, type index_GetCommandManifestError as GetCommandManifestError, type index_GetCommandManifestErrors as GetCommandManifestErrors, type index_GetCommandManifestResponse as GetCommandManifestResponse, type index_GetCommandManifestResponses as GetCommandManifestResponses, type index_GetDeviceCommandInvocationData as GetDeviceCommandInvocationData, type index_GetDeviceCommandInvocationError as GetDeviceCommandInvocationError, type index_GetDeviceCommandInvocationErrors as GetDeviceCommandInvocationErrors, type index_GetDeviceCommandInvocationResponse as GetDeviceCommandInvocationResponse, type index_GetDeviceCommandInvocationResponses as GetDeviceCommandInvocationResponses, type index_GetDeviceCommandsData as GetDeviceCommandsData, type index_GetDeviceCommandsError as GetDeviceCommandsError, type index_GetDeviceCommandsErrors as GetDeviceCommandsErrors, type index_GetDeviceCommandsResponse as GetDeviceCommandsResponse, type index_GetDeviceCommandsResponses as GetDeviceCommandsResponses, type index_GetDeviceData as GetDeviceData, type index_GetDeviceError as GetDeviceError, type index_GetDeviceErrors as GetDeviceErrors, type index_GetDeviceResponse as GetDeviceResponse, type index_GetDeviceResponses as GetDeviceResponses, type index_GetDeviceTypeData as GetDeviceTypeData, type index_GetDeviceTypeError as GetDeviceTypeError, type index_GetDeviceTypeErrors as GetDeviceTypeErrors, type index_GetDeviceTypeResponse as GetDeviceTypeResponse, type index_GetDeviceTypeResponses as GetDeviceTypeResponses, type index_GetFirmwareBundleData as GetFirmwareBundleData, type index_GetFirmwareBundleError as GetFirmwareBundleError, type index_GetFirmwareBundleErrors as GetFirmwareBundleErrors, type index_GetFirmwareBundleResponse as GetFirmwareBundleResponse, type index_GetFirmwareBundleResponses as GetFirmwareBundleResponses, type index_GetFirmwareDeploymentData as GetFirmwareDeploymentData, type index_GetFirmwareDeploymentError as GetFirmwareDeploymentError, type index_GetFirmwareDeploymentErrors as GetFirmwareDeploymentErrors, type index_GetFirmwareDeploymentResponse as GetFirmwareDeploymentResponse, type index_GetFirmwareDeploymentResponses as GetFirmwareDeploymentResponses, type index_GetIdentityData as GetIdentityData, type index_GetIdentityError as GetIdentityError, type index_GetIdentityErrors as GetIdentityErrors, type index_GetIdentityResponse as GetIdentityResponse, type index_GetIdentityResponses as GetIdentityResponses, type index_GetLatestTelemetryData as GetLatestTelemetryData, type index_GetLatestTelemetryError as GetLatestTelemetryError, type index_GetLatestTelemetryErrors as GetLatestTelemetryErrors, type index_GetLatestTelemetryResponse as GetLatestTelemetryResponse, type index_GetLatestTelemetryResponses as GetLatestTelemetryResponses, type index_GetProjectData as GetProjectData, type index_GetProjectError as GetProjectError, type index_GetProjectErrors as GetProjectErrors, type index_GetProjectResponse as GetProjectResponse, type index_GetProjectResponses as GetProjectResponses, type index_GetTelemetryHistoryData as GetTelemetryHistoryData, type index_GetTelemetryHistoryError as GetTelemetryHistoryError, type index_GetTelemetryHistoryErrors as GetTelemetryHistoryErrors, type index_GetTelemetryHistoryResponse as GetTelemetryHistoryResponse, type index_GetTelemetryHistoryResponses as GetTelemetryHistoryResponses, type index_GetTelemetryManifestData as GetTelemetryManifestData, type index_GetTelemetryManifestError as GetTelemetryManifestError, type index_GetTelemetryManifestErrors as GetTelemetryManifestErrors, type index_GetTelemetryManifestResponse as GetTelemetryManifestResponse, type index_GetTelemetryManifestResponses as GetTelemetryManifestResponses, type index_GetWebhookData as GetWebhookData, type index_GetWebhookError as GetWebhookError, type index_GetWebhookErrors as GetWebhookErrors, type index_GetWebhookResponse as GetWebhookResponse, type index_GetWebhookResponses as GetWebhookResponses, type index_Identity as Identity, type index_IdentityProject as IdentityProject, type index_IdentityResponse as IdentityResponse, type index_IdentityToken as IdentityToken, type index_IdentityUser as IdentityUser, type index_LatestTelemetryResponse as LatestTelemetryResponse, type index_ListAdmissionsData as ListAdmissionsData, type index_ListAdmissionsError as ListAdmissionsError, type index_ListAdmissionsErrors as ListAdmissionsErrors, type index_ListAdmissionsResponse as ListAdmissionsResponse, type index_ListAdmissionsResponses as ListAdmissionsResponses, type index_ListDeviceTypesData as ListDeviceTypesData, type index_ListDeviceTypesError as ListDeviceTypesError, type index_ListDeviceTypesErrors as ListDeviceTypesErrors, type index_ListDeviceTypesResponse as ListDeviceTypesResponse, type index_ListDeviceTypesResponses as ListDeviceTypesResponses, type index_ListDevicesData as ListDevicesData, type index_ListDevicesError as ListDevicesError, type index_ListDevicesErrors as ListDevicesErrors, type index_ListDevicesResponse as ListDevicesResponse, type index_ListDevicesResponses as ListDevicesResponses, type index_ListFirmwareBundlesData as ListFirmwareBundlesData, type index_ListFirmwareBundlesError as ListFirmwareBundlesError, type index_ListFirmwareBundlesErrors as ListFirmwareBundlesErrors, type index_ListFirmwareBundlesResponse as ListFirmwareBundlesResponse, type index_ListFirmwareBundlesResponses as ListFirmwareBundlesResponses, type index_ListFirmwareDeploymentsData as ListFirmwareDeploymentsData, type index_ListFirmwareDeploymentsError as ListFirmwareDeploymentsError, type index_ListFirmwareDeploymentsErrors as ListFirmwareDeploymentsErrors, type index_ListFirmwareDeploymentsResponse as ListFirmwareDeploymentsResponse, type index_ListFirmwareDeploymentsResponses as ListFirmwareDeploymentsResponses, type index_ListProjectsData as ListProjectsData, type index_ListProjectsError as ListProjectsError, type index_ListProjectsErrors as ListProjectsErrors, type index_ListProjectsResponse as ListProjectsResponse, type index_ListProjectsResponses as ListProjectsResponses, type index_ListWebhookDeliveriesData as ListWebhookDeliveriesData, type index_ListWebhookDeliveriesError as ListWebhookDeliveriesError, type index_ListWebhookDeliveriesErrors as ListWebhookDeliveriesErrors, type index_ListWebhookDeliveriesResponse as ListWebhookDeliveriesResponse, type index_ListWebhookDeliveriesResponses as ListWebhookDeliveriesResponses, type index_ListWebhooksData as ListWebhooksData, type index_ListWebhooksError as ListWebhooksError, type index_ListWebhooksErrors as ListWebhooksErrors, type index_ListWebhooksResponse as ListWebhooksResponse, type index_ListWebhooksResponses as ListWebhooksResponses, type index_MetricDefinition as MetricDefinition, type index_MetricGroup as MetricGroup, type index_Options as Options, type index_PageMeta as PageMeta, type index_Project as Project, type index_ProjectAppToken as ProjectAppToken, type index_ProjectAppTokenResponse as ProjectAppTokenResponse, type index_ProjectListPage as ProjectListPage, type index_ProjectResponse as ProjectResponse, type index_RejectAdmissionData as RejectAdmissionData, type index_RejectAdmissionError as RejectAdmissionError, type index_RejectAdmissionErrors as RejectAdmissionErrors, type index_RejectAdmissionResponse as RejectAdmissionResponse, type index_RejectAdmissionResponses as RejectAdmissionResponses, type index_ResetDeviceTokenData as ResetDeviceTokenData, type index_ResetDeviceTokenError as ResetDeviceTokenError, type index_ResetDeviceTokenErrors as ResetDeviceTokenErrors, type index_ResetDeviceTokenResponse as ResetDeviceTokenResponse, type index_ResetDeviceTokenResponses as ResetDeviceTokenResponses, type index_RollbackFirmwareDeploymentData as RollbackFirmwareDeploymentData, type index_RollbackFirmwareDeploymentError as RollbackFirmwareDeploymentError, type index_RollbackFirmwareDeploymentErrors as RollbackFirmwareDeploymentErrors, type index_RollbackFirmwareDeploymentResponse as RollbackFirmwareDeploymentResponse, type index_RollbackFirmwareDeploymentResponses as RollbackFirmwareDeploymentResponses, type index_RotateProjectAppTokenData as RotateProjectAppTokenData, type index_RotateProjectAppTokenError as RotateProjectAppTokenError, type index_RotateProjectAppTokenErrors as RotateProjectAppTokenErrors, type index_RotateProjectAppTokenResponse as RotateProjectAppTokenResponse, type index_RotateProjectAppTokenResponses as RotateProjectAppTokenResponses, type index_TelemetryHistoryResponse as TelemetryHistoryResponse, type index_TelemetryManifest as TelemetryManifest, type index_TelemetryManifestResponse as TelemetryManifestResponse, type index_TelemetrySample as TelemetrySample, type index_TriggerFirmwareDeploymentData as TriggerFirmwareDeploymentData, type index_TriggerFirmwareDeploymentError as TriggerFirmwareDeploymentError, type index_TriggerFirmwareDeploymentErrors as TriggerFirmwareDeploymentErrors, type index_TriggerFirmwareDeploymentResponse as TriggerFirmwareDeploymentResponse, type index_TriggerFirmwareDeploymentResponses as TriggerFirmwareDeploymentResponses, type index_UpdateCommandManifestData as UpdateCommandManifestData, type index_UpdateCommandManifestError as UpdateCommandManifestError, type index_UpdateCommandManifestErrors as UpdateCommandManifestErrors, type index_UpdateCommandManifestResponse as UpdateCommandManifestResponse, type index_UpdateCommandManifestResponses as UpdateCommandManifestResponses, type index_UpdateDeviceTypeData as UpdateDeviceTypeData, type index_UpdateDeviceTypeError as UpdateDeviceTypeError, type index_UpdateDeviceTypeErrors as UpdateDeviceTypeErrors, type index_UpdateDeviceTypeResponse as UpdateDeviceTypeResponse, type index_UpdateDeviceTypeResponses as UpdateDeviceTypeResponses, type index_UpdateWebhookData as UpdateWebhookData, type index_UpdateWebhookError as UpdateWebhookError, type index_UpdateWebhookErrors as UpdateWebhookErrors, type index_UpdateWebhookResponse as UpdateWebhookResponse, type index_UpdateWebhookResponses as UpdateWebhookResponses, type index_UploadFirmwareData as UploadFirmwareData, type index_UploadFirmwareError as UploadFirmwareError, type index_UploadFirmwareErrors as UploadFirmwareErrors, type index_UploadFirmwareResponse as UploadFirmwareResponse, type index_UploadFirmwareResponses as UploadFirmwareResponses, type index_WebhookCreateRequest as WebhookCreateRequest, type index_WebhookCreated as WebhookCreated, type index_WebhookCreatedResponse as WebhookCreatedResponse, type index_WebhookDelivery as WebhookDelivery, type index_WebhookDeliveryAttempt as WebhookDeliveryAttempt, type index_WebhookDeliveryPage as WebhookDeliveryPage, type index_WebhookEventType as WebhookEventType, type index_WebhookRetryPolicy as WebhookRetryPolicy, type index_WebhookSubscription as WebhookSubscription, type index_WebhookSubscriptionPage as WebhookSubscriptionPage, type index_WebhookSubscriptionResponse as WebhookSubscriptionResponse, type index_WebhookUpdateRequest as WebhookUpdateRequest, index_acceptAdmission as acceptAdmission, index_cancelFirmwareDeployment as cancelFirmwareDeployment, index_createDeviceType as createDeviceType, index_createProjectAppToken as createProjectAppToken, index_createWebhook as createWebhook, index_deleteCommandManifest as deleteCommandManifest, index_deleteDevice as deleteDevice, index_deleteDeviceType as deleteDeviceType, index_deleteFirmwareBundle as deleteFirmwareBundle, index_deleteWebhook as deleteWebhook, index_dismissAdmission as dismissAdmission, index_execDeviceCommand as execDeviceCommand, index_getAdmission as getAdmission, index_getCommandManifest as getCommandManifest, index_getDevice as getDevice, index_getDeviceCommandInvocation as getDeviceCommandInvocation, index_getDeviceCommands as getDeviceCommands, index_getDeviceType as getDeviceType, index_getFirmwareBundle as getFirmwareBundle, index_getFirmwareDeployment as getFirmwareDeployment, index_getIdentity as getIdentity, index_getLatestTelemetry as getLatestTelemetry, index_getProject as getProject, index_getTelemetryHistory as getTelemetryHistory, index_getTelemetryManifest as getTelemetryManifest, index_getWebhook as getWebhook, index_listAdmissions as listAdmissions, index_listDeviceTypes as listDeviceTypes, index_listDevices as listDevices, index_listFirmwareBundles as listFirmwareBundles, index_listFirmwareDeployments as listFirmwareDeployments, index_listProjects as listProjects, index_listWebhookDeliveries as listWebhookDeliveries, index_listWebhooks as listWebhooks, index_rejectAdmission as rejectAdmission, index_resetDeviceToken as resetDeviceToken, index_rollbackFirmwareDeployment as rollbackFirmwareDeployment, index_rotateProjectAppToken as rotateProjectAppToken, index_triggerFirmwareDeployment as triggerFirmwareDeployment, index_updateCommandManifest as updateCommandManifest, index_updateDeviceType as updateDeviceType, index_updateWebhook as updateWebhook, index_uploadFirmware as uploadFirmware };
|
|
3851
|
+
export { type index_AcceptAdmissionData as AcceptAdmissionData, type index_AcceptAdmissionError as AcceptAdmissionError, type index_AcceptAdmissionErrors as AcceptAdmissionErrors, type index_AcceptAdmissionResponse as AcceptAdmissionResponse, type index_AcceptAdmissionResponses as AcceptAdmissionResponses, type index_Admission as Admission, type index_AdmissionAcceptRequest as AdmissionAcceptRequest, type index_AdmissionAcceptance as AdmissionAcceptance, type index_AdmissionAcceptanceResponse as AdmissionAcceptanceResponse, type index_AdmissionListPage as AdmissionListPage, type index_AdmissionResponse as AdmissionResponse, type index_CancelFirmwareDeploymentData as CancelFirmwareDeploymentData, type index_CancelFirmwareDeploymentError as CancelFirmwareDeploymentError, type index_CancelFirmwareDeploymentErrors as CancelFirmwareDeploymentErrors, type index_CancelFirmwareDeploymentResponse as CancelFirmwareDeploymentResponse, type index_CancelFirmwareDeploymentResponses as CancelFirmwareDeploymentResponses, type ClientOptions$1 as ClientOptions, type index_CommandArgDefinition as CommandArgDefinition, type index_CommandDefinition as CommandDefinition, type index_CommandInvocation as CommandInvocation, type index_CommandInvocationResponse as CommandInvocationResponse, type index_CommandManifest as CommandManifest, type index_CommandManifestResponse as CommandManifestResponse, type index_CommandRequest as CommandRequest, type index_CommandResult as CommandResult, type index_CommandResultResponse as CommandResultResponse, type index_CreateDeviceTypeData as CreateDeviceTypeData, type index_CreateDeviceTypeError as CreateDeviceTypeError, type index_CreateDeviceTypeErrors as CreateDeviceTypeErrors, type index_CreateDeviceTypeResponse as CreateDeviceTypeResponse, type index_CreateDeviceTypeResponses as CreateDeviceTypeResponses, type index_CreateProjectAppTokenData as CreateProjectAppTokenData, type index_CreateProjectAppTokenError as CreateProjectAppTokenError, type index_CreateProjectAppTokenErrors as CreateProjectAppTokenErrors, type index_CreateProjectAppTokenResponse as CreateProjectAppTokenResponse, type index_CreateProjectAppTokenResponses as CreateProjectAppTokenResponses, type index_CreateWebhookData as CreateWebhookData, type index_CreateWebhookError as CreateWebhookError, type index_CreateWebhookErrors as CreateWebhookErrors, type index_CreateWebhookResponse as CreateWebhookResponse, type index_CreateWebhookResponses as CreateWebhookResponses, type index_DeleteCommandManifestData as DeleteCommandManifestData, type index_DeleteCommandManifestError as DeleteCommandManifestError, type index_DeleteCommandManifestErrors as DeleteCommandManifestErrors, type index_DeleteCommandManifestResponses as DeleteCommandManifestResponses, type index_DeleteDeviceData as DeleteDeviceData, type index_DeleteDeviceError as DeleteDeviceError, type index_DeleteDeviceErrors as DeleteDeviceErrors, type index_DeleteDeviceResponses as DeleteDeviceResponses, type index_DeleteDeviceTypeData as DeleteDeviceTypeData, type index_DeleteDeviceTypeError as DeleteDeviceTypeError, type index_DeleteDeviceTypeErrors as DeleteDeviceTypeErrors, type index_DeleteDeviceTypeResponses as DeleteDeviceTypeResponses, type index_DeleteFirmwareBundleData as DeleteFirmwareBundleData, type index_DeleteFirmwareBundleError as DeleteFirmwareBundleError, type index_DeleteFirmwareBundleErrors as DeleteFirmwareBundleErrors, type index_DeleteFirmwareBundleResponses as DeleteFirmwareBundleResponses, type index_DeleteWebhookData as DeleteWebhookData, type index_DeleteWebhookError as DeleteWebhookError, type index_DeleteWebhookErrors as DeleteWebhookErrors, type index_DeleteWebhookResponses as DeleteWebhookResponses, type index_Device as Device, type index_DeviceListItem as DeviceListItem, type index_DeviceListPage as DeviceListPage, type index_DeviceResponse as DeviceResponse, type index_DeviceTokenReset as DeviceTokenReset, type index_DeviceTokenResetResponse as DeviceTokenResetResponse, type index_DeviceType as DeviceType, type index_DeviceTypeCreateRequest as DeviceTypeCreateRequest, type index_DeviceTypeListItem as DeviceTypeListItem, type index_DeviceTypeListPage as DeviceTypeListPage, type index_DeviceTypeResponse as DeviceTypeResponse, type index_DeviceTypeUpdateRequest as DeviceTypeUpdateRequest, type index_DismissAdmissionData as DismissAdmissionData, type index_DismissAdmissionError as DismissAdmissionError, type index_DismissAdmissionErrors as DismissAdmissionErrors, type index_DismissAdmissionResponse as DismissAdmissionResponse, type index_DismissAdmissionResponses as DismissAdmissionResponses, type index_ErrorItem as ErrorItem, type index_ErrorResponse as ErrorResponse, type index_ExecDeviceCommandData as ExecDeviceCommandData, type index_ExecDeviceCommandError as ExecDeviceCommandError, type index_ExecDeviceCommandErrors as ExecDeviceCommandErrors, type index_ExecDeviceCommandResponse as ExecDeviceCommandResponse, type index_ExecDeviceCommandResponses as ExecDeviceCommandResponses, type index_FirmwareBundle as FirmwareBundle, type index_FirmwareBundleListPage as FirmwareBundleListPage, type index_FirmwareBundleResponse as FirmwareBundleResponse, type index_FirmwareDeployment as FirmwareDeployment, type index_FirmwareDeploymentCancelRequest as FirmwareDeploymentCancelRequest, type index_FirmwareDeploymentListPage as FirmwareDeploymentListPage, type index_FirmwareDeploymentResponse as FirmwareDeploymentResponse, type index_FirmwareDeploymentRollbackRequest as FirmwareDeploymentRollbackRequest, type index_FirmwareDeploymentTriggerRequest as FirmwareDeploymentTriggerRequest, type index_FirmwareDeploymentsResponse as FirmwareDeploymentsResponse, type index_FirmwareUploadRequest as FirmwareUploadRequest, type index_GetAdmissionData as GetAdmissionData, type index_GetAdmissionError as GetAdmissionError, type index_GetAdmissionErrors as GetAdmissionErrors, type index_GetAdmissionResponse as GetAdmissionResponse, type index_GetAdmissionResponses as GetAdmissionResponses, type index_GetCommandManifestData as GetCommandManifestData, type index_GetCommandManifestError as GetCommandManifestError, type index_GetCommandManifestErrors as GetCommandManifestErrors, type index_GetCommandManifestResponse as GetCommandManifestResponse, type index_GetCommandManifestResponses as GetCommandManifestResponses, type index_GetDeviceCommandByRequestIdData as GetDeviceCommandByRequestIdData, type index_GetDeviceCommandByRequestIdError as GetDeviceCommandByRequestIdError, type index_GetDeviceCommandByRequestIdErrors as GetDeviceCommandByRequestIdErrors, type index_GetDeviceCommandByRequestIdResponse as GetDeviceCommandByRequestIdResponse, type index_GetDeviceCommandByRequestIdResponses as GetDeviceCommandByRequestIdResponses, type index_GetDeviceCommandInvocationData as GetDeviceCommandInvocationData, type index_GetDeviceCommandInvocationError as GetDeviceCommandInvocationError, type index_GetDeviceCommandInvocationErrors as GetDeviceCommandInvocationErrors, type index_GetDeviceCommandInvocationResponse as GetDeviceCommandInvocationResponse, type index_GetDeviceCommandInvocationResponses as GetDeviceCommandInvocationResponses, type index_GetDeviceCommandsData as GetDeviceCommandsData, type index_GetDeviceCommandsError as GetDeviceCommandsError, type index_GetDeviceCommandsErrors as GetDeviceCommandsErrors, type index_GetDeviceCommandsResponse as GetDeviceCommandsResponse, type index_GetDeviceCommandsResponses as GetDeviceCommandsResponses, type index_GetDeviceData as GetDeviceData, type index_GetDeviceError as GetDeviceError, type index_GetDeviceErrors as GetDeviceErrors, type index_GetDeviceResponse as GetDeviceResponse, type index_GetDeviceResponses as GetDeviceResponses, type index_GetDeviceTypeData as GetDeviceTypeData, type index_GetDeviceTypeError as GetDeviceTypeError, type index_GetDeviceTypeErrors as GetDeviceTypeErrors, type index_GetDeviceTypeResponse as GetDeviceTypeResponse, type index_GetDeviceTypeResponses as GetDeviceTypeResponses, type index_GetFirmwareBundleData as GetFirmwareBundleData, type index_GetFirmwareBundleError as GetFirmwareBundleError, type index_GetFirmwareBundleErrors as GetFirmwareBundleErrors, type index_GetFirmwareBundleResponse as GetFirmwareBundleResponse, type index_GetFirmwareBundleResponses as GetFirmwareBundleResponses, type index_GetFirmwareDeploymentData as GetFirmwareDeploymentData, type index_GetFirmwareDeploymentError as GetFirmwareDeploymentError, type index_GetFirmwareDeploymentErrors as GetFirmwareDeploymentErrors, type index_GetFirmwareDeploymentResponse as GetFirmwareDeploymentResponse, type index_GetFirmwareDeploymentResponses as GetFirmwareDeploymentResponses, type index_GetIdentityData as GetIdentityData, type index_GetIdentityError as GetIdentityError, type index_GetIdentityErrors as GetIdentityErrors, type index_GetIdentityResponse as GetIdentityResponse, type index_GetIdentityResponses as GetIdentityResponses, type index_GetLatestTelemetryData as GetLatestTelemetryData, type index_GetLatestTelemetryError as GetLatestTelemetryError, type index_GetLatestTelemetryErrors as GetLatestTelemetryErrors, type index_GetLatestTelemetryResponse as GetLatestTelemetryResponse, type index_GetLatestTelemetryResponses as GetLatestTelemetryResponses, type index_GetProjectData as GetProjectData, type index_GetProjectError as GetProjectError, type index_GetProjectErrors as GetProjectErrors, type index_GetProjectResponse as GetProjectResponse, type index_GetProjectResponses as GetProjectResponses, type index_GetTelemetryHistoryData as GetTelemetryHistoryData, type index_GetTelemetryHistoryError as GetTelemetryHistoryError, type index_GetTelemetryHistoryErrors as GetTelemetryHistoryErrors, type index_GetTelemetryHistoryResponse as GetTelemetryHistoryResponse, type index_GetTelemetryHistoryResponses as GetTelemetryHistoryResponses, type index_GetTelemetryManifestData as GetTelemetryManifestData, type index_GetTelemetryManifestError as GetTelemetryManifestError, type index_GetTelemetryManifestErrors as GetTelemetryManifestErrors, type index_GetTelemetryManifestResponse as GetTelemetryManifestResponse, type index_GetTelemetryManifestResponses as GetTelemetryManifestResponses, type index_GetWebhookData as GetWebhookData, type index_GetWebhookError as GetWebhookError, type index_GetWebhookErrors as GetWebhookErrors, type index_GetWebhookResponse as GetWebhookResponse, type index_GetWebhookResponses as GetWebhookResponses, type index_Identity as Identity, type index_IdentityProject as IdentityProject, type index_IdentityResponse as IdentityResponse, type index_IdentityToken as IdentityToken, type index_IdentityUser as IdentityUser, type index_LatestTelemetryResponse as LatestTelemetryResponse, type index_ListAdmissionsData as ListAdmissionsData, type index_ListAdmissionsError as ListAdmissionsError, type index_ListAdmissionsErrors as ListAdmissionsErrors, type index_ListAdmissionsResponse as ListAdmissionsResponse, type index_ListAdmissionsResponses as ListAdmissionsResponses, type index_ListDeviceTypesData as ListDeviceTypesData, type index_ListDeviceTypesError as ListDeviceTypesError, type index_ListDeviceTypesErrors as ListDeviceTypesErrors, type index_ListDeviceTypesResponse as ListDeviceTypesResponse, type index_ListDeviceTypesResponses as ListDeviceTypesResponses, type index_ListDevicesData as ListDevicesData, type index_ListDevicesError as ListDevicesError, type index_ListDevicesErrors as ListDevicesErrors, type index_ListDevicesResponse as ListDevicesResponse, type index_ListDevicesResponses as ListDevicesResponses, type index_ListFirmwareBundlesData as ListFirmwareBundlesData, type index_ListFirmwareBundlesError as ListFirmwareBundlesError, type index_ListFirmwareBundlesErrors as ListFirmwareBundlesErrors, type index_ListFirmwareBundlesResponse as ListFirmwareBundlesResponse, type index_ListFirmwareBundlesResponses as ListFirmwareBundlesResponses, type index_ListFirmwareDeploymentsData as ListFirmwareDeploymentsData, type index_ListFirmwareDeploymentsError as ListFirmwareDeploymentsError, type index_ListFirmwareDeploymentsErrors as ListFirmwareDeploymentsErrors, type index_ListFirmwareDeploymentsResponse as ListFirmwareDeploymentsResponse, type index_ListFirmwareDeploymentsResponses as ListFirmwareDeploymentsResponses, type index_ListProjectsData as ListProjectsData, type index_ListProjectsError as ListProjectsError, type index_ListProjectsErrors as ListProjectsErrors, type index_ListProjectsResponse as ListProjectsResponse, type index_ListProjectsResponses as ListProjectsResponses, type index_ListWebhookDeliveriesData as ListWebhookDeliveriesData, type index_ListWebhookDeliveriesError as ListWebhookDeliveriesError, type index_ListWebhookDeliveriesErrors as ListWebhookDeliveriesErrors, type index_ListWebhookDeliveriesResponse as ListWebhookDeliveriesResponse, type index_ListWebhookDeliveriesResponses as ListWebhookDeliveriesResponses, type index_ListWebhooksData as ListWebhooksData, type index_ListWebhooksError as ListWebhooksError, type index_ListWebhooksErrors as ListWebhooksErrors, type index_ListWebhooksResponse as ListWebhooksResponse, type index_ListWebhooksResponses as ListWebhooksResponses, type index_MetricDefinition as MetricDefinition, type index_MetricGroup as MetricGroup, type index_Options as Options, type index_PageMeta as PageMeta, type index_Project as Project, type index_ProjectAppToken as ProjectAppToken, type index_ProjectAppTokenResponse as ProjectAppTokenResponse, type index_ProjectListPage as ProjectListPage, type index_ProjectResponse as ProjectResponse, type index_RejectAdmissionData as RejectAdmissionData, type index_RejectAdmissionError as RejectAdmissionError, type index_RejectAdmissionErrors as RejectAdmissionErrors, type index_RejectAdmissionResponse as RejectAdmissionResponse, type index_RejectAdmissionResponses as RejectAdmissionResponses, type index_ResetDeviceTokenData as ResetDeviceTokenData, type index_ResetDeviceTokenError as ResetDeviceTokenError, type index_ResetDeviceTokenErrors as ResetDeviceTokenErrors, type index_ResetDeviceTokenResponse as ResetDeviceTokenResponse, type index_ResetDeviceTokenResponses as ResetDeviceTokenResponses, type index_RollbackFirmwareDeploymentData as RollbackFirmwareDeploymentData, type index_RollbackFirmwareDeploymentError as RollbackFirmwareDeploymentError, type index_RollbackFirmwareDeploymentErrors as RollbackFirmwareDeploymentErrors, type index_RollbackFirmwareDeploymentResponse as RollbackFirmwareDeploymentResponse, type index_RollbackFirmwareDeploymentResponses as RollbackFirmwareDeploymentResponses, type index_RotateProjectAppTokenData as RotateProjectAppTokenData, type index_RotateProjectAppTokenError as RotateProjectAppTokenError, type index_RotateProjectAppTokenErrors as RotateProjectAppTokenErrors, type index_RotateProjectAppTokenResponse as RotateProjectAppTokenResponse, type index_RotateProjectAppTokenResponses as RotateProjectAppTokenResponses, type index_TelemetryHistoryResponse as TelemetryHistoryResponse, type index_TelemetryManifest as TelemetryManifest, type index_TelemetryManifestResponse as TelemetryManifestResponse, type index_TelemetrySample as TelemetrySample, type index_TriggerFirmwareDeploymentData as TriggerFirmwareDeploymentData, type index_TriggerFirmwareDeploymentError as TriggerFirmwareDeploymentError, type index_TriggerFirmwareDeploymentErrors as TriggerFirmwareDeploymentErrors, type index_TriggerFirmwareDeploymentResponse as TriggerFirmwareDeploymentResponse, type index_TriggerFirmwareDeploymentResponses as TriggerFirmwareDeploymentResponses, type index_UpdateCommandManifestData as UpdateCommandManifestData, type index_UpdateCommandManifestError as UpdateCommandManifestError, type index_UpdateCommandManifestErrors as UpdateCommandManifestErrors, type index_UpdateCommandManifestResponse as UpdateCommandManifestResponse, type index_UpdateCommandManifestResponses as UpdateCommandManifestResponses, type index_UpdateDeviceTypeData as UpdateDeviceTypeData, type index_UpdateDeviceTypeError as UpdateDeviceTypeError, type index_UpdateDeviceTypeErrors as UpdateDeviceTypeErrors, type index_UpdateDeviceTypeResponse as UpdateDeviceTypeResponse, type index_UpdateDeviceTypeResponses as UpdateDeviceTypeResponses, type index_UpdateWebhookData as UpdateWebhookData, type index_UpdateWebhookError as UpdateWebhookError, type index_UpdateWebhookErrors as UpdateWebhookErrors, type index_UpdateWebhookResponse as UpdateWebhookResponse, type index_UpdateWebhookResponses as UpdateWebhookResponses, type index_UploadFirmwareData as UploadFirmwareData, type index_UploadFirmwareError as UploadFirmwareError, type index_UploadFirmwareErrors as UploadFirmwareErrors, type index_UploadFirmwareResponse as UploadFirmwareResponse, type index_UploadFirmwareResponses as UploadFirmwareResponses, type index_WebhookCreateRequest as WebhookCreateRequest, type index_WebhookCreated as WebhookCreated, type index_WebhookCreatedResponse as WebhookCreatedResponse, type index_WebhookDelivery as WebhookDelivery, type index_WebhookDeliveryAttempt as WebhookDeliveryAttempt, type index_WebhookDeliveryPage as WebhookDeliveryPage, type index_WebhookEventType as WebhookEventType, type index_WebhookRetryPolicy as WebhookRetryPolicy, type index_WebhookSubscription as WebhookSubscription, type index_WebhookSubscriptionPage as WebhookSubscriptionPage, type index_WebhookSubscriptionResponse as WebhookSubscriptionResponse, type index_WebhookUpdateRequest as WebhookUpdateRequest, index_acceptAdmission as acceptAdmission, index_cancelFirmwareDeployment as cancelFirmwareDeployment, index_createDeviceType as createDeviceType, index_createProjectAppToken as createProjectAppToken, index_createWebhook as createWebhook, index_deleteCommandManifest as deleteCommandManifest, index_deleteDevice as deleteDevice, index_deleteDeviceType as deleteDeviceType, index_deleteFirmwareBundle as deleteFirmwareBundle, index_deleteWebhook as deleteWebhook, index_dismissAdmission as dismissAdmission, index_execDeviceCommand as execDeviceCommand, index_getAdmission as getAdmission, index_getCommandManifest as getCommandManifest, index_getDevice as getDevice, index_getDeviceCommandByRequestId as getDeviceCommandByRequestId, index_getDeviceCommandInvocation as getDeviceCommandInvocation, index_getDeviceCommands as getDeviceCommands, index_getDeviceType as getDeviceType, index_getFirmwareBundle as getFirmwareBundle, index_getFirmwareDeployment as getFirmwareDeployment, index_getIdentity as getIdentity, index_getLatestTelemetry as getLatestTelemetry, index_getProject as getProject, index_getTelemetryHistory as getTelemetryHistory, index_getTelemetryManifest as getTelemetryManifest, index_getWebhook as getWebhook, index_listAdmissions as listAdmissions, index_listDeviceTypes as listDeviceTypes, index_listDevices as listDevices, index_listFirmwareBundles as listFirmwareBundles, index_listFirmwareDeployments as listFirmwareDeployments, index_listProjects as listProjects, index_listWebhookDeliveries as listWebhookDeliveries, index_listWebhooks as listWebhooks, index_rejectAdmission as rejectAdmission, index_resetDeviceToken as resetDeviceToken, index_rollbackFirmwareDeployment as rollbackFirmwareDeployment, index_rotateProjectAppToken as rotateProjectAppToken, index_triggerFirmwareDeployment as triggerFirmwareDeployment, index_updateCommandManifest as updateCommandManifest, index_updateDeviceType as updateDeviceType, index_updateWebhook as updateWebhook, index_uploadFirmware as uploadFirmware };
|
|
3795
3852
|
}
|
|
3796
3853
|
|
|
3797
3854
|
export { type Admission, type AdmissionAcceptRequest, type AdmissionAcceptance, type AdmissionListPage, AuthenticationError, BadRequestError, BundleExistsError, type CancelDeploymentParams, type CommandArgDefinition, type CommandDefinition, type CommandInvocation, type CommandManifest, type CommandRequest, type CommandResult, ConflictError, type DecodedMetric, type Device, type DeviceListItem, type DeviceListPage, DeviceRpcError, type DeviceTokenReset, type DeviceType, type DeviceTypeCreateRequest, type DeviceTypeListItem, type DeviceTypeListPage, type DeviceTypeUpdateRequest, type ErrorItem, type ErrorResponse, type FirmwareBundle, type FirmwareBundleListPage, type FirmwareDeployment, type FirmwareDeploymentCancelRequest, type FirmwareDeploymentListPage, type FirmwareDeploymentTriggerRequest, type Identity, type IdentityProject, type IdentityToken, type IdentityUser, InsufficientScopeError, type IterateBundlesParams, type IterateDeploymentsParams, type IterateDevicesParams, type IterateWebhookDeliveriesParams, type IterateWebhooksParams, type ListBundlesParams, type ListDeploymentsParams, type ListDevicesParams, type ListWebhooksParams, type MetricDefinition, type MetricGroup, NetworkError, OrbitClient, type OrbitClientOptions, OrbitError, type OrbitErrorOptions, type OrbitWebhookEvent, type Page, type PageMeta, type Project, type ProjectAppToken, type ProjectListPage, RateLimitError, ResourceNotFoundError, ServerError, type TelemetryHistoryParams, type TelemetryHistoryResponse, type TelemetryManifest, type TelemetrySample, type TerminalTicketRequest, type TerminalTicketResponse, type UploadFirmwareParams, type UsbDeviceIdentifier, type UsbExportDefinition, type UsbExportList, type UsbTicketRequest, type UsbTicketResponse, ValidationError, type ValidationFieldError, type VerifyWebhookSignatureParams, WEBHOOK_REPLAY_TOLERANCE_SECONDS, type WebhookCreateRequest, type WebhookCreated, type WebhookDeliveriesParams, type WebhookDelivery, type WebhookDeliveryPage, type WebhookEventType, type WebhookSubscription, type WebhookSubscriptionPage, type WebhookUpdateRequest, decodeSample, decodeSamples, normalizeError, paginate, parseRetryAfterSeconds, parseWebhookEvent, index as raw, signWebhookPayload, verifyWebhookSignature };
|
package/dist/index.d.ts
CHANGED
|
@@ -558,6 +558,10 @@ type CommandRequest = {
|
|
|
558
558
|
args?: {
|
|
559
559
|
[key: string]: string | number | boolean;
|
|
560
560
|
};
|
|
561
|
+
/**
|
|
562
|
+
* Required client-generated UUID scoped to this device and issuing user. Repeating the same command returns its original invocation with HTTP 202 and never dispatches again. Reusing the key with different arguments or timeout returns HTTP 409. Retained for the lifetime of the invocation.
|
|
563
|
+
*/
|
|
564
|
+
requestId: string;
|
|
561
565
|
/**
|
|
562
566
|
* Device-side hard deadline in milliseconds; the invocation is failed if no result arrives in time.
|
|
563
567
|
*/
|
|
@@ -1672,6 +1676,10 @@ type ExecDeviceCommandErrors = {
|
|
|
1672
1676
|
* Device not found or out of scope.
|
|
1673
1677
|
*/
|
|
1674
1678
|
404: ErrorResponse;
|
|
1679
|
+
/**
|
|
1680
|
+
* Request id was already used for a different command.
|
|
1681
|
+
*/
|
|
1682
|
+
409: ErrorResponse;
|
|
1675
1683
|
/**
|
|
1676
1684
|
* Command rejected by the device type's manifest: unknown name, missing required arg, wrong arg type, or the device type declares no manifest at all.
|
|
1677
1685
|
*/
|
|
@@ -1724,6 +1732,41 @@ type GetDeviceCommandInvocationResponses = {
|
|
|
1724
1732
|
200: CommandInvocationResponse;
|
|
1725
1733
|
};
|
|
1726
1734
|
type GetDeviceCommandInvocationResponse = GetDeviceCommandInvocationResponses[keyof GetDeviceCommandInvocationResponses];
|
|
1735
|
+
type GetDeviceCommandByRequestIdData = {
|
|
1736
|
+
body?: never;
|
|
1737
|
+
path: {
|
|
1738
|
+
id: string;
|
|
1739
|
+
requestId: string;
|
|
1740
|
+
};
|
|
1741
|
+
query?: never;
|
|
1742
|
+
url: '/api/v1/devices/{id}/commands/by-request/{requestId}';
|
|
1743
|
+
};
|
|
1744
|
+
type GetDeviceCommandByRequestIdErrors = {
|
|
1745
|
+
/**
|
|
1746
|
+
* Missing or invalid token.
|
|
1747
|
+
*/
|
|
1748
|
+
401: ErrorResponse;
|
|
1749
|
+
/**
|
|
1750
|
+
* Token is missing the command execution ability.
|
|
1751
|
+
*/
|
|
1752
|
+
403: ErrorResponse;
|
|
1753
|
+
/**
|
|
1754
|
+
* Request not found for this device and issuing user, or outside project scope.
|
|
1755
|
+
*/
|
|
1756
|
+
404: ErrorResponse;
|
|
1757
|
+
/**
|
|
1758
|
+
* Invalid device or request UUID.
|
|
1759
|
+
*/
|
|
1760
|
+
422: ErrorResponse;
|
|
1761
|
+
};
|
|
1762
|
+
type GetDeviceCommandByRequestIdError = GetDeviceCommandByRequestIdErrors[keyof GetDeviceCommandByRequestIdErrors];
|
|
1763
|
+
type GetDeviceCommandByRequestIdResponses = {
|
|
1764
|
+
/**
|
|
1765
|
+
* The original invocation and its current result.
|
|
1766
|
+
*/
|
|
1767
|
+
200: CommandInvocationResponse;
|
|
1768
|
+
};
|
|
1769
|
+
type GetDeviceCommandByRequestIdResponse = GetDeviceCommandByRequestIdResponses[keyof GetDeviceCommandByRequestIdResponses];
|
|
1727
1770
|
type GetDeviceCommandsData = {
|
|
1728
1771
|
body?: never;
|
|
1729
1772
|
path: {
|
|
@@ -2920,6 +2963,8 @@ declare class OrbitClient {
|
|
|
2920
2963
|
exec: (deviceId: string, command: CommandRequest) => Promise<CommandResult>;
|
|
2921
2964
|
/** The durable record of one invocation, the pull path for a queued dispatch. */
|
|
2922
2965
|
get: (deviceId: string, invocationId: string) => Promise<CommandInvocation>;
|
|
2966
|
+
/** Recover a lost admission response without creating or sending a command. */
|
|
2967
|
+
getByRequestId: (deviceId: string, requestId: string) => Promise<CommandInvocation>;
|
|
2923
2968
|
/** The command manifest of the device's type, or `null` if it declares none. */
|
|
2924
2969
|
manifest: (deviceId: string) => Promise<CommandManifest | null>;
|
|
2925
2970
|
};
|
|
@@ -3367,6 +3412,12 @@ declare const execDeviceCommand: <ThrowOnError extends boolean = false>(options:
|
|
|
3367
3412
|
* Returns the durable record of a single command invocation. Its lifecycle `status` and, once terminal, its result (`success`, `exitCode`, `output`, `error`, `durationMs`). This is the pull counterpart to the `command.result` webhook. Poll it after a queued (202) dispatch to retrieve the eventual outcome, so a missed or unsubscribed webhook delivery never makes a recorded result unrecoverable. The `invocationId` is the value returned by `POST /api/v1/devices/{id}/command`. Requires the `api:command:exec` ability and project scope over the device.
|
|
3368
3413
|
*/
|
|
3369
3414
|
declare const getDeviceCommandInvocation: <ThrowOnError extends boolean = false>(options: Options<GetDeviceCommandInvocationData, ThrowOnError>) => RequestResult<GetDeviceCommandInvocationResponses, GetDeviceCommandInvocationErrors, ThrowOnError>;
|
|
3415
|
+
/**
|
|
3416
|
+
* Find a command by its client request id
|
|
3417
|
+
*
|
|
3418
|
+
* Read-only recovery after a lost admission response. The request id is scoped to the device and issuing user. A missing or deleted invocation returns 404 and never creates or dispatches a command.
|
|
3419
|
+
*/
|
|
3420
|
+
declare const getDeviceCommandByRequestId: <ThrowOnError extends boolean = false>(options: Options<GetDeviceCommandByRequestIdData, ThrowOnError>) => RequestResult<GetDeviceCommandByRequestIdResponses, GetDeviceCommandByRequestIdErrors, ThrowOnError>;
|
|
3370
3421
|
/**
|
|
3371
3422
|
* Commands a device supports
|
|
3372
3423
|
*
|
|
@@ -3571,6 +3622,11 @@ type index_GetCommandManifestError = GetCommandManifestError;
|
|
|
3571
3622
|
type index_GetCommandManifestErrors = GetCommandManifestErrors;
|
|
3572
3623
|
type index_GetCommandManifestResponse = GetCommandManifestResponse;
|
|
3573
3624
|
type index_GetCommandManifestResponses = GetCommandManifestResponses;
|
|
3625
|
+
type index_GetDeviceCommandByRequestIdData = GetDeviceCommandByRequestIdData;
|
|
3626
|
+
type index_GetDeviceCommandByRequestIdError = GetDeviceCommandByRequestIdError;
|
|
3627
|
+
type index_GetDeviceCommandByRequestIdErrors = GetDeviceCommandByRequestIdErrors;
|
|
3628
|
+
type index_GetDeviceCommandByRequestIdResponse = GetDeviceCommandByRequestIdResponse;
|
|
3629
|
+
type index_GetDeviceCommandByRequestIdResponses = GetDeviceCommandByRequestIdResponses;
|
|
3574
3630
|
type index_GetDeviceCommandInvocationData = GetDeviceCommandInvocationData;
|
|
3575
3631
|
type index_GetDeviceCommandInvocationError = GetDeviceCommandInvocationError;
|
|
3576
3632
|
type index_GetDeviceCommandInvocationErrors = GetDeviceCommandInvocationErrors;
|
|
@@ -3762,6 +3818,7 @@ declare const index_execDeviceCommand: typeof execDeviceCommand;
|
|
|
3762
3818
|
declare const index_getAdmission: typeof getAdmission;
|
|
3763
3819
|
declare const index_getCommandManifest: typeof getCommandManifest;
|
|
3764
3820
|
declare const index_getDevice: typeof getDevice;
|
|
3821
|
+
declare const index_getDeviceCommandByRequestId: typeof getDeviceCommandByRequestId;
|
|
3765
3822
|
declare const index_getDeviceCommandInvocation: typeof getDeviceCommandInvocation;
|
|
3766
3823
|
declare const index_getDeviceCommands: typeof getDeviceCommands;
|
|
3767
3824
|
declare const index_getDeviceType: typeof getDeviceType;
|
|
@@ -3791,7 +3848,7 @@ declare const index_updateDeviceType: typeof updateDeviceType;
|
|
|
3791
3848
|
declare const index_updateWebhook: typeof updateWebhook;
|
|
3792
3849
|
declare const index_uploadFirmware: typeof uploadFirmware;
|
|
3793
3850
|
declare namespace index {
|
|
3794
|
-
export { type index_AcceptAdmissionData as AcceptAdmissionData, type index_AcceptAdmissionError as AcceptAdmissionError, type index_AcceptAdmissionErrors as AcceptAdmissionErrors, type index_AcceptAdmissionResponse as AcceptAdmissionResponse, type index_AcceptAdmissionResponses as AcceptAdmissionResponses, type index_Admission as Admission, type index_AdmissionAcceptRequest as AdmissionAcceptRequest, type index_AdmissionAcceptance as AdmissionAcceptance, type index_AdmissionAcceptanceResponse as AdmissionAcceptanceResponse, type index_AdmissionListPage as AdmissionListPage, type index_AdmissionResponse as AdmissionResponse, type index_CancelFirmwareDeploymentData as CancelFirmwareDeploymentData, type index_CancelFirmwareDeploymentError as CancelFirmwareDeploymentError, type index_CancelFirmwareDeploymentErrors as CancelFirmwareDeploymentErrors, type index_CancelFirmwareDeploymentResponse as CancelFirmwareDeploymentResponse, type index_CancelFirmwareDeploymentResponses as CancelFirmwareDeploymentResponses, type ClientOptions$1 as ClientOptions, type index_CommandArgDefinition as CommandArgDefinition, type index_CommandDefinition as CommandDefinition, type index_CommandInvocation as CommandInvocation, type index_CommandInvocationResponse as CommandInvocationResponse, type index_CommandManifest as CommandManifest, type index_CommandManifestResponse as CommandManifestResponse, type index_CommandRequest as CommandRequest, type index_CommandResult as CommandResult, type index_CommandResultResponse as CommandResultResponse, type index_CreateDeviceTypeData as CreateDeviceTypeData, type index_CreateDeviceTypeError as CreateDeviceTypeError, type index_CreateDeviceTypeErrors as CreateDeviceTypeErrors, type index_CreateDeviceTypeResponse as CreateDeviceTypeResponse, type index_CreateDeviceTypeResponses as CreateDeviceTypeResponses, type index_CreateProjectAppTokenData as CreateProjectAppTokenData, type index_CreateProjectAppTokenError as CreateProjectAppTokenError, type index_CreateProjectAppTokenErrors as CreateProjectAppTokenErrors, type index_CreateProjectAppTokenResponse as CreateProjectAppTokenResponse, type index_CreateProjectAppTokenResponses as CreateProjectAppTokenResponses, type index_CreateWebhookData as CreateWebhookData, type index_CreateWebhookError as CreateWebhookError, type index_CreateWebhookErrors as CreateWebhookErrors, type index_CreateWebhookResponse as CreateWebhookResponse, type index_CreateWebhookResponses as CreateWebhookResponses, type index_DeleteCommandManifestData as DeleteCommandManifestData, type index_DeleteCommandManifestError as DeleteCommandManifestError, type index_DeleteCommandManifestErrors as DeleteCommandManifestErrors, type index_DeleteCommandManifestResponses as DeleteCommandManifestResponses, type index_DeleteDeviceData as DeleteDeviceData, type index_DeleteDeviceError as DeleteDeviceError, type index_DeleteDeviceErrors as DeleteDeviceErrors, type index_DeleteDeviceResponses as DeleteDeviceResponses, type index_DeleteDeviceTypeData as DeleteDeviceTypeData, type index_DeleteDeviceTypeError as DeleteDeviceTypeError, type index_DeleteDeviceTypeErrors as DeleteDeviceTypeErrors, type index_DeleteDeviceTypeResponses as DeleteDeviceTypeResponses, type index_DeleteFirmwareBundleData as DeleteFirmwareBundleData, type index_DeleteFirmwareBundleError as DeleteFirmwareBundleError, type index_DeleteFirmwareBundleErrors as DeleteFirmwareBundleErrors, type index_DeleteFirmwareBundleResponses as DeleteFirmwareBundleResponses, type index_DeleteWebhookData as DeleteWebhookData, type index_DeleteWebhookError as DeleteWebhookError, type index_DeleteWebhookErrors as DeleteWebhookErrors, type index_DeleteWebhookResponses as DeleteWebhookResponses, type index_Device as Device, type index_DeviceListItem as DeviceListItem, type index_DeviceListPage as DeviceListPage, type index_DeviceResponse as DeviceResponse, type index_DeviceTokenReset as DeviceTokenReset, type index_DeviceTokenResetResponse as DeviceTokenResetResponse, type index_DeviceType as DeviceType, type index_DeviceTypeCreateRequest as DeviceTypeCreateRequest, type index_DeviceTypeListItem as DeviceTypeListItem, type index_DeviceTypeListPage as DeviceTypeListPage, type index_DeviceTypeResponse as DeviceTypeResponse, type index_DeviceTypeUpdateRequest as DeviceTypeUpdateRequest, type index_DismissAdmissionData as DismissAdmissionData, type index_DismissAdmissionError as DismissAdmissionError, type index_DismissAdmissionErrors as DismissAdmissionErrors, type index_DismissAdmissionResponse as DismissAdmissionResponse, type index_DismissAdmissionResponses as DismissAdmissionResponses, type index_ErrorItem as ErrorItem, type index_ErrorResponse as ErrorResponse, type index_ExecDeviceCommandData as ExecDeviceCommandData, type index_ExecDeviceCommandError as ExecDeviceCommandError, type index_ExecDeviceCommandErrors as ExecDeviceCommandErrors, type index_ExecDeviceCommandResponse as ExecDeviceCommandResponse, type index_ExecDeviceCommandResponses as ExecDeviceCommandResponses, type index_FirmwareBundle as FirmwareBundle, type index_FirmwareBundleListPage as FirmwareBundleListPage, type index_FirmwareBundleResponse as FirmwareBundleResponse, type index_FirmwareDeployment as FirmwareDeployment, type index_FirmwareDeploymentCancelRequest as FirmwareDeploymentCancelRequest, type index_FirmwareDeploymentListPage as FirmwareDeploymentListPage, type index_FirmwareDeploymentResponse as FirmwareDeploymentResponse, type index_FirmwareDeploymentRollbackRequest as FirmwareDeploymentRollbackRequest, type index_FirmwareDeploymentTriggerRequest as FirmwareDeploymentTriggerRequest, type index_FirmwareDeploymentsResponse as FirmwareDeploymentsResponse, type index_FirmwareUploadRequest as FirmwareUploadRequest, type index_GetAdmissionData as GetAdmissionData, type index_GetAdmissionError as GetAdmissionError, type index_GetAdmissionErrors as GetAdmissionErrors, type index_GetAdmissionResponse as GetAdmissionResponse, type index_GetAdmissionResponses as GetAdmissionResponses, type index_GetCommandManifestData as GetCommandManifestData, type index_GetCommandManifestError as GetCommandManifestError, type index_GetCommandManifestErrors as GetCommandManifestErrors, type index_GetCommandManifestResponse as GetCommandManifestResponse, type index_GetCommandManifestResponses as GetCommandManifestResponses, type index_GetDeviceCommandInvocationData as GetDeviceCommandInvocationData, type index_GetDeviceCommandInvocationError as GetDeviceCommandInvocationError, type index_GetDeviceCommandInvocationErrors as GetDeviceCommandInvocationErrors, type index_GetDeviceCommandInvocationResponse as GetDeviceCommandInvocationResponse, type index_GetDeviceCommandInvocationResponses as GetDeviceCommandInvocationResponses, type index_GetDeviceCommandsData as GetDeviceCommandsData, type index_GetDeviceCommandsError as GetDeviceCommandsError, type index_GetDeviceCommandsErrors as GetDeviceCommandsErrors, type index_GetDeviceCommandsResponse as GetDeviceCommandsResponse, type index_GetDeviceCommandsResponses as GetDeviceCommandsResponses, type index_GetDeviceData as GetDeviceData, type index_GetDeviceError as GetDeviceError, type index_GetDeviceErrors as GetDeviceErrors, type index_GetDeviceResponse as GetDeviceResponse, type index_GetDeviceResponses as GetDeviceResponses, type index_GetDeviceTypeData as GetDeviceTypeData, type index_GetDeviceTypeError as GetDeviceTypeError, type index_GetDeviceTypeErrors as GetDeviceTypeErrors, type index_GetDeviceTypeResponse as GetDeviceTypeResponse, type index_GetDeviceTypeResponses as GetDeviceTypeResponses, type index_GetFirmwareBundleData as GetFirmwareBundleData, type index_GetFirmwareBundleError as GetFirmwareBundleError, type index_GetFirmwareBundleErrors as GetFirmwareBundleErrors, type index_GetFirmwareBundleResponse as GetFirmwareBundleResponse, type index_GetFirmwareBundleResponses as GetFirmwareBundleResponses, type index_GetFirmwareDeploymentData as GetFirmwareDeploymentData, type index_GetFirmwareDeploymentError as GetFirmwareDeploymentError, type index_GetFirmwareDeploymentErrors as GetFirmwareDeploymentErrors, type index_GetFirmwareDeploymentResponse as GetFirmwareDeploymentResponse, type index_GetFirmwareDeploymentResponses as GetFirmwareDeploymentResponses, type index_GetIdentityData as GetIdentityData, type index_GetIdentityError as GetIdentityError, type index_GetIdentityErrors as GetIdentityErrors, type index_GetIdentityResponse as GetIdentityResponse, type index_GetIdentityResponses as GetIdentityResponses, type index_GetLatestTelemetryData as GetLatestTelemetryData, type index_GetLatestTelemetryError as GetLatestTelemetryError, type index_GetLatestTelemetryErrors as GetLatestTelemetryErrors, type index_GetLatestTelemetryResponse as GetLatestTelemetryResponse, type index_GetLatestTelemetryResponses as GetLatestTelemetryResponses, type index_GetProjectData as GetProjectData, type index_GetProjectError as GetProjectError, type index_GetProjectErrors as GetProjectErrors, type index_GetProjectResponse as GetProjectResponse, type index_GetProjectResponses as GetProjectResponses, type index_GetTelemetryHistoryData as GetTelemetryHistoryData, type index_GetTelemetryHistoryError as GetTelemetryHistoryError, type index_GetTelemetryHistoryErrors as GetTelemetryHistoryErrors, type index_GetTelemetryHistoryResponse as GetTelemetryHistoryResponse, type index_GetTelemetryHistoryResponses as GetTelemetryHistoryResponses, type index_GetTelemetryManifestData as GetTelemetryManifestData, type index_GetTelemetryManifestError as GetTelemetryManifestError, type index_GetTelemetryManifestErrors as GetTelemetryManifestErrors, type index_GetTelemetryManifestResponse as GetTelemetryManifestResponse, type index_GetTelemetryManifestResponses as GetTelemetryManifestResponses, type index_GetWebhookData as GetWebhookData, type index_GetWebhookError as GetWebhookError, type index_GetWebhookErrors as GetWebhookErrors, type index_GetWebhookResponse as GetWebhookResponse, type index_GetWebhookResponses as GetWebhookResponses, type index_Identity as Identity, type index_IdentityProject as IdentityProject, type index_IdentityResponse as IdentityResponse, type index_IdentityToken as IdentityToken, type index_IdentityUser as IdentityUser, type index_LatestTelemetryResponse as LatestTelemetryResponse, type index_ListAdmissionsData as ListAdmissionsData, type index_ListAdmissionsError as ListAdmissionsError, type index_ListAdmissionsErrors as ListAdmissionsErrors, type index_ListAdmissionsResponse as ListAdmissionsResponse, type index_ListAdmissionsResponses as ListAdmissionsResponses, type index_ListDeviceTypesData as ListDeviceTypesData, type index_ListDeviceTypesError as ListDeviceTypesError, type index_ListDeviceTypesErrors as ListDeviceTypesErrors, type index_ListDeviceTypesResponse as ListDeviceTypesResponse, type index_ListDeviceTypesResponses as ListDeviceTypesResponses, type index_ListDevicesData as ListDevicesData, type index_ListDevicesError as ListDevicesError, type index_ListDevicesErrors as ListDevicesErrors, type index_ListDevicesResponse as ListDevicesResponse, type index_ListDevicesResponses as ListDevicesResponses, type index_ListFirmwareBundlesData as ListFirmwareBundlesData, type index_ListFirmwareBundlesError as ListFirmwareBundlesError, type index_ListFirmwareBundlesErrors as ListFirmwareBundlesErrors, type index_ListFirmwareBundlesResponse as ListFirmwareBundlesResponse, type index_ListFirmwareBundlesResponses as ListFirmwareBundlesResponses, type index_ListFirmwareDeploymentsData as ListFirmwareDeploymentsData, type index_ListFirmwareDeploymentsError as ListFirmwareDeploymentsError, type index_ListFirmwareDeploymentsErrors as ListFirmwareDeploymentsErrors, type index_ListFirmwareDeploymentsResponse as ListFirmwareDeploymentsResponse, type index_ListFirmwareDeploymentsResponses as ListFirmwareDeploymentsResponses, type index_ListProjectsData as ListProjectsData, type index_ListProjectsError as ListProjectsError, type index_ListProjectsErrors as ListProjectsErrors, type index_ListProjectsResponse as ListProjectsResponse, type index_ListProjectsResponses as ListProjectsResponses, type index_ListWebhookDeliveriesData as ListWebhookDeliveriesData, type index_ListWebhookDeliveriesError as ListWebhookDeliveriesError, type index_ListWebhookDeliveriesErrors as ListWebhookDeliveriesErrors, type index_ListWebhookDeliveriesResponse as ListWebhookDeliveriesResponse, type index_ListWebhookDeliveriesResponses as ListWebhookDeliveriesResponses, type index_ListWebhooksData as ListWebhooksData, type index_ListWebhooksError as ListWebhooksError, type index_ListWebhooksErrors as ListWebhooksErrors, type index_ListWebhooksResponse as ListWebhooksResponse, type index_ListWebhooksResponses as ListWebhooksResponses, type index_MetricDefinition as MetricDefinition, type index_MetricGroup as MetricGroup, type index_Options as Options, type index_PageMeta as PageMeta, type index_Project as Project, type index_ProjectAppToken as ProjectAppToken, type index_ProjectAppTokenResponse as ProjectAppTokenResponse, type index_ProjectListPage as ProjectListPage, type index_ProjectResponse as ProjectResponse, type index_RejectAdmissionData as RejectAdmissionData, type index_RejectAdmissionError as RejectAdmissionError, type index_RejectAdmissionErrors as RejectAdmissionErrors, type index_RejectAdmissionResponse as RejectAdmissionResponse, type index_RejectAdmissionResponses as RejectAdmissionResponses, type index_ResetDeviceTokenData as ResetDeviceTokenData, type index_ResetDeviceTokenError as ResetDeviceTokenError, type index_ResetDeviceTokenErrors as ResetDeviceTokenErrors, type index_ResetDeviceTokenResponse as ResetDeviceTokenResponse, type index_ResetDeviceTokenResponses as ResetDeviceTokenResponses, type index_RollbackFirmwareDeploymentData as RollbackFirmwareDeploymentData, type index_RollbackFirmwareDeploymentError as RollbackFirmwareDeploymentError, type index_RollbackFirmwareDeploymentErrors as RollbackFirmwareDeploymentErrors, type index_RollbackFirmwareDeploymentResponse as RollbackFirmwareDeploymentResponse, type index_RollbackFirmwareDeploymentResponses as RollbackFirmwareDeploymentResponses, type index_RotateProjectAppTokenData as RotateProjectAppTokenData, type index_RotateProjectAppTokenError as RotateProjectAppTokenError, type index_RotateProjectAppTokenErrors as RotateProjectAppTokenErrors, type index_RotateProjectAppTokenResponse as RotateProjectAppTokenResponse, type index_RotateProjectAppTokenResponses as RotateProjectAppTokenResponses, type index_TelemetryHistoryResponse as TelemetryHistoryResponse, type index_TelemetryManifest as TelemetryManifest, type index_TelemetryManifestResponse as TelemetryManifestResponse, type index_TelemetrySample as TelemetrySample, type index_TriggerFirmwareDeploymentData as TriggerFirmwareDeploymentData, type index_TriggerFirmwareDeploymentError as TriggerFirmwareDeploymentError, type index_TriggerFirmwareDeploymentErrors as TriggerFirmwareDeploymentErrors, type index_TriggerFirmwareDeploymentResponse as TriggerFirmwareDeploymentResponse, type index_TriggerFirmwareDeploymentResponses as TriggerFirmwareDeploymentResponses, type index_UpdateCommandManifestData as UpdateCommandManifestData, type index_UpdateCommandManifestError as UpdateCommandManifestError, type index_UpdateCommandManifestErrors as UpdateCommandManifestErrors, type index_UpdateCommandManifestResponse as UpdateCommandManifestResponse, type index_UpdateCommandManifestResponses as UpdateCommandManifestResponses, type index_UpdateDeviceTypeData as UpdateDeviceTypeData, type index_UpdateDeviceTypeError as UpdateDeviceTypeError, type index_UpdateDeviceTypeErrors as UpdateDeviceTypeErrors, type index_UpdateDeviceTypeResponse as UpdateDeviceTypeResponse, type index_UpdateDeviceTypeResponses as UpdateDeviceTypeResponses, type index_UpdateWebhookData as UpdateWebhookData, type index_UpdateWebhookError as UpdateWebhookError, type index_UpdateWebhookErrors as UpdateWebhookErrors, type index_UpdateWebhookResponse as UpdateWebhookResponse, type index_UpdateWebhookResponses as UpdateWebhookResponses, type index_UploadFirmwareData as UploadFirmwareData, type index_UploadFirmwareError as UploadFirmwareError, type index_UploadFirmwareErrors as UploadFirmwareErrors, type index_UploadFirmwareResponse as UploadFirmwareResponse, type index_UploadFirmwareResponses as UploadFirmwareResponses, type index_WebhookCreateRequest as WebhookCreateRequest, type index_WebhookCreated as WebhookCreated, type index_WebhookCreatedResponse as WebhookCreatedResponse, type index_WebhookDelivery as WebhookDelivery, type index_WebhookDeliveryAttempt as WebhookDeliveryAttempt, type index_WebhookDeliveryPage as WebhookDeliveryPage, type index_WebhookEventType as WebhookEventType, type index_WebhookRetryPolicy as WebhookRetryPolicy, type index_WebhookSubscription as WebhookSubscription, type index_WebhookSubscriptionPage as WebhookSubscriptionPage, type index_WebhookSubscriptionResponse as WebhookSubscriptionResponse, type index_WebhookUpdateRequest as WebhookUpdateRequest, index_acceptAdmission as acceptAdmission, index_cancelFirmwareDeployment as cancelFirmwareDeployment, index_createDeviceType as createDeviceType, index_createProjectAppToken as createProjectAppToken, index_createWebhook as createWebhook, index_deleteCommandManifest as deleteCommandManifest, index_deleteDevice as deleteDevice, index_deleteDeviceType as deleteDeviceType, index_deleteFirmwareBundle as deleteFirmwareBundle, index_deleteWebhook as deleteWebhook, index_dismissAdmission as dismissAdmission, index_execDeviceCommand as execDeviceCommand, index_getAdmission as getAdmission, index_getCommandManifest as getCommandManifest, index_getDevice as getDevice, index_getDeviceCommandInvocation as getDeviceCommandInvocation, index_getDeviceCommands as getDeviceCommands, index_getDeviceType as getDeviceType, index_getFirmwareBundle as getFirmwareBundle, index_getFirmwareDeployment as getFirmwareDeployment, index_getIdentity as getIdentity, index_getLatestTelemetry as getLatestTelemetry, index_getProject as getProject, index_getTelemetryHistory as getTelemetryHistory, index_getTelemetryManifest as getTelemetryManifest, index_getWebhook as getWebhook, index_listAdmissions as listAdmissions, index_listDeviceTypes as listDeviceTypes, index_listDevices as listDevices, index_listFirmwareBundles as listFirmwareBundles, index_listFirmwareDeployments as listFirmwareDeployments, index_listProjects as listProjects, index_listWebhookDeliveries as listWebhookDeliveries, index_listWebhooks as listWebhooks, index_rejectAdmission as rejectAdmission, index_resetDeviceToken as resetDeviceToken, index_rollbackFirmwareDeployment as rollbackFirmwareDeployment, index_rotateProjectAppToken as rotateProjectAppToken, index_triggerFirmwareDeployment as triggerFirmwareDeployment, index_updateCommandManifest as updateCommandManifest, index_updateDeviceType as updateDeviceType, index_updateWebhook as updateWebhook, index_uploadFirmware as uploadFirmware };
|
|
3851
|
+
export { type index_AcceptAdmissionData as AcceptAdmissionData, type index_AcceptAdmissionError as AcceptAdmissionError, type index_AcceptAdmissionErrors as AcceptAdmissionErrors, type index_AcceptAdmissionResponse as AcceptAdmissionResponse, type index_AcceptAdmissionResponses as AcceptAdmissionResponses, type index_Admission as Admission, type index_AdmissionAcceptRequest as AdmissionAcceptRequest, type index_AdmissionAcceptance as AdmissionAcceptance, type index_AdmissionAcceptanceResponse as AdmissionAcceptanceResponse, type index_AdmissionListPage as AdmissionListPage, type index_AdmissionResponse as AdmissionResponse, type index_CancelFirmwareDeploymentData as CancelFirmwareDeploymentData, type index_CancelFirmwareDeploymentError as CancelFirmwareDeploymentError, type index_CancelFirmwareDeploymentErrors as CancelFirmwareDeploymentErrors, type index_CancelFirmwareDeploymentResponse as CancelFirmwareDeploymentResponse, type index_CancelFirmwareDeploymentResponses as CancelFirmwareDeploymentResponses, type ClientOptions$1 as ClientOptions, type index_CommandArgDefinition as CommandArgDefinition, type index_CommandDefinition as CommandDefinition, type index_CommandInvocation as CommandInvocation, type index_CommandInvocationResponse as CommandInvocationResponse, type index_CommandManifest as CommandManifest, type index_CommandManifestResponse as CommandManifestResponse, type index_CommandRequest as CommandRequest, type index_CommandResult as CommandResult, type index_CommandResultResponse as CommandResultResponse, type index_CreateDeviceTypeData as CreateDeviceTypeData, type index_CreateDeviceTypeError as CreateDeviceTypeError, type index_CreateDeviceTypeErrors as CreateDeviceTypeErrors, type index_CreateDeviceTypeResponse as CreateDeviceTypeResponse, type index_CreateDeviceTypeResponses as CreateDeviceTypeResponses, type index_CreateProjectAppTokenData as CreateProjectAppTokenData, type index_CreateProjectAppTokenError as CreateProjectAppTokenError, type index_CreateProjectAppTokenErrors as CreateProjectAppTokenErrors, type index_CreateProjectAppTokenResponse as CreateProjectAppTokenResponse, type index_CreateProjectAppTokenResponses as CreateProjectAppTokenResponses, type index_CreateWebhookData as CreateWebhookData, type index_CreateWebhookError as CreateWebhookError, type index_CreateWebhookErrors as CreateWebhookErrors, type index_CreateWebhookResponse as CreateWebhookResponse, type index_CreateWebhookResponses as CreateWebhookResponses, type index_DeleteCommandManifestData as DeleteCommandManifestData, type index_DeleteCommandManifestError as DeleteCommandManifestError, type index_DeleteCommandManifestErrors as DeleteCommandManifestErrors, type index_DeleteCommandManifestResponses as DeleteCommandManifestResponses, type index_DeleteDeviceData as DeleteDeviceData, type index_DeleteDeviceError as DeleteDeviceError, type index_DeleteDeviceErrors as DeleteDeviceErrors, type index_DeleteDeviceResponses as DeleteDeviceResponses, type index_DeleteDeviceTypeData as DeleteDeviceTypeData, type index_DeleteDeviceTypeError as DeleteDeviceTypeError, type index_DeleteDeviceTypeErrors as DeleteDeviceTypeErrors, type index_DeleteDeviceTypeResponses as DeleteDeviceTypeResponses, type index_DeleteFirmwareBundleData as DeleteFirmwareBundleData, type index_DeleteFirmwareBundleError as DeleteFirmwareBundleError, type index_DeleteFirmwareBundleErrors as DeleteFirmwareBundleErrors, type index_DeleteFirmwareBundleResponses as DeleteFirmwareBundleResponses, type index_DeleteWebhookData as DeleteWebhookData, type index_DeleteWebhookError as DeleteWebhookError, type index_DeleteWebhookErrors as DeleteWebhookErrors, type index_DeleteWebhookResponses as DeleteWebhookResponses, type index_Device as Device, type index_DeviceListItem as DeviceListItem, type index_DeviceListPage as DeviceListPage, type index_DeviceResponse as DeviceResponse, type index_DeviceTokenReset as DeviceTokenReset, type index_DeviceTokenResetResponse as DeviceTokenResetResponse, type index_DeviceType as DeviceType, type index_DeviceTypeCreateRequest as DeviceTypeCreateRequest, type index_DeviceTypeListItem as DeviceTypeListItem, type index_DeviceTypeListPage as DeviceTypeListPage, type index_DeviceTypeResponse as DeviceTypeResponse, type index_DeviceTypeUpdateRequest as DeviceTypeUpdateRequest, type index_DismissAdmissionData as DismissAdmissionData, type index_DismissAdmissionError as DismissAdmissionError, type index_DismissAdmissionErrors as DismissAdmissionErrors, type index_DismissAdmissionResponse as DismissAdmissionResponse, type index_DismissAdmissionResponses as DismissAdmissionResponses, type index_ErrorItem as ErrorItem, type index_ErrorResponse as ErrorResponse, type index_ExecDeviceCommandData as ExecDeviceCommandData, type index_ExecDeviceCommandError as ExecDeviceCommandError, type index_ExecDeviceCommandErrors as ExecDeviceCommandErrors, type index_ExecDeviceCommandResponse as ExecDeviceCommandResponse, type index_ExecDeviceCommandResponses as ExecDeviceCommandResponses, type index_FirmwareBundle as FirmwareBundle, type index_FirmwareBundleListPage as FirmwareBundleListPage, type index_FirmwareBundleResponse as FirmwareBundleResponse, type index_FirmwareDeployment as FirmwareDeployment, type index_FirmwareDeploymentCancelRequest as FirmwareDeploymentCancelRequest, type index_FirmwareDeploymentListPage as FirmwareDeploymentListPage, type index_FirmwareDeploymentResponse as FirmwareDeploymentResponse, type index_FirmwareDeploymentRollbackRequest as FirmwareDeploymentRollbackRequest, type index_FirmwareDeploymentTriggerRequest as FirmwareDeploymentTriggerRequest, type index_FirmwareDeploymentsResponse as FirmwareDeploymentsResponse, type index_FirmwareUploadRequest as FirmwareUploadRequest, type index_GetAdmissionData as GetAdmissionData, type index_GetAdmissionError as GetAdmissionError, type index_GetAdmissionErrors as GetAdmissionErrors, type index_GetAdmissionResponse as GetAdmissionResponse, type index_GetAdmissionResponses as GetAdmissionResponses, type index_GetCommandManifestData as GetCommandManifestData, type index_GetCommandManifestError as GetCommandManifestError, type index_GetCommandManifestErrors as GetCommandManifestErrors, type index_GetCommandManifestResponse as GetCommandManifestResponse, type index_GetCommandManifestResponses as GetCommandManifestResponses, type index_GetDeviceCommandByRequestIdData as GetDeviceCommandByRequestIdData, type index_GetDeviceCommandByRequestIdError as GetDeviceCommandByRequestIdError, type index_GetDeviceCommandByRequestIdErrors as GetDeviceCommandByRequestIdErrors, type index_GetDeviceCommandByRequestIdResponse as GetDeviceCommandByRequestIdResponse, type index_GetDeviceCommandByRequestIdResponses as GetDeviceCommandByRequestIdResponses, type index_GetDeviceCommandInvocationData as GetDeviceCommandInvocationData, type index_GetDeviceCommandInvocationError as GetDeviceCommandInvocationError, type index_GetDeviceCommandInvocationErrors as GetDeviceCommandInvocationErrors, type index_GetDeviceCommandInvocationResponse as GetDeviceCommandInvocationResponse, type index_GetDeviceCommandInvocationResponses as GetDeviceCommandInvocationResponses, type index_GetDeviceCommandsData as GetDeviceCommandsData, type index_GetDeviceCommandsError as GetDeviceCommandsError, type index_GetDeviceCommandsErrors as GetDeviceCommandsErrors, type index_GetDeviceCommandsResponse as GetDeviceCommandsResponse, type index_GetDeviceCommandsResponses as GetDeviceCommandsResponses, type index_GetDeviceData as GetDeviceData, type index_GetDeviceError as GetDeviceError, type index_GetDeviceErrors as GetDeviceErrors, type index_GetDeviceResponse as GetDeviceResponse, type index_GetDeviceResponses as GetDeviceResponses, type index_GetDeviceTypeData as GetDeviceTypeData, type index_GetDeviceTypeError as GetDeviceTypeError, type index_GetDeviceTypeErrors as GetDeviceTypeErrors, type index_GetDeviceTypeResponse as GetDeviceTypeResponse, type index_GetDeviceTypeResponses as GetDeviceTypeResponses, type index_GetFirmwareBundleData as GetFirmwareBundleData, type index_GetFirmwareBundleError as GetFirmwareBundleError, type index_GetFirmwareBundleErrors as GetFirmwareBundleErrors, type index_GetFirmwareBundleResponse as GetFirmwareBundleResponse, type index_GetFirmwareBundleResponses as GetFirmwareBundleResponses, type index_GetFirmwareDeploymentData as GetFirmwareDeploymentData, type index_GetFirmwareDeploymentError as GetFirmwareDeploymentError, type index_GetFirmwareDeploymentErrors as GetFirmwareDeploymentErrors, type index_GetFirmwareDeploymentResponse as GetFirmwareDeploymentResponse, type index_GetFirmwareDeploymentResponses as GetFirmwareDeploymentResponses, type index_GetIdentityData as GetIdentityData, type index_GetIdentityError as GetIdentityError, type index_GetIdentityErrors as GetIdentityErrors, type index_GetIdentityResponse as GetIdentityResponse, type index_GetIdentityResponses as GetIdentityResponses, type index_GetLatestTelemetryData as GetLatestTelemetryData, type index_GetLatestTelemetryError as GetLatestTelemetryError, type index_GetLatestTelemetryErrors as GetLatestTelemetryErrors, type index_GetLatestTelemetryResponse as GetLatestTelemetryResponse, type index_GetLatestTelemetryResponses as GetLatestTelemetryResponses, type index_GetProjectData as GetProjectData, type index_GetProjectError as GetProjectError, type index_GetProjectErrors as GetProjectErrors, type index_GetProjectResponse as GetProjectResponse, type index_GetProjectResponses as GetProjectResponses, type index_GetTelemetryHistoryData as GetTelemetryHistoryData, type index_GetTelemetryHistoryError as GetTelemetryHistoryError, type index_GetTelemetryHistoryErrors as GetTelemetryHistoryErrors, type index_GetTelemetryHistoryResponse as GetTelemetryHistoryResponse, type index_GetTelemetryHistoryResponses as GetTelemetryHistoryResponses, type index_GetTelemetryManifestData as GetTelemetryManifestData, type index_GetTelemetryManifestError as GetTelemetryManifestError, type index_GetTelemetryManifestErrors as GetTelemetryManifestErrors, type index_GetTelemetryManifestResponse as GetTelemetryManifestResponse, type index_GetTelemetryManifestResponses as GetTelemetryManifestResponses, type index_GetWebhookData as GetWebhookData, type index_GetWebhookError as GetWebhookError, type index_GetWebhookErrors as GetWebhookErrors, type index_GetWebhookResponse as GetWebhookResponse, type index_GetWebhookResponses as GetWebhookResponses, type index_Identity as Identity, type index_IdentityProject as IdentityProject, type index_IdentityResponse as IdentityResponse, type index_IdentityToken as IdentityToken, type index_IdentityUser as IdentityUser, type index_LatestTelemetryResponse as LatestTelemetryResponse, type index_ListAdmissionsData as ListAdmissionsData, type index_ListAdmissionsError as ListAdmissionsError, type index_ListAdmissionsErrors as ListAdmissionsErrors, type index_ListAdmissionsResponse as ListAdmissionsResponse, type index_ListAdmissionsResponses as ListAdmissionsResponses, type index_ListDeviceTypesData as ListDeviceTypesData, type index_ListDeviceTypesError as ListDeviceTypesError, type index_ListDeviceTypesErrors as ListDeviceTypesErrors, type index_ListDeviceTypesResponse as ListDeviceTypesResponse, type index_ListDeviceTypesResponses as ListDeviceTypesResponses, type index_ListDevicesData as ListDevicesData, type index_ListDevicesError as ListDevicesError, type index_ListDevicesErrors as ListDevicesErrors, type index_ListDevicesResponse as ListDevicesResponse, type index_ListDevicesResponses as ListDevicesResponses, type index_ListFirmwareBundlesData as ListFirmwareBundlesData, type index_ListFirmwareBundlesError as ListFirmwareBundlesError, type index_ListFirmwareBundlesErrors as ListFirmwareBundlesErrors, type index_ListFirmwareBundlesResponse as ListFirmwareBundlesResponse, type index_ListFirmwareBundlesResponses as ListFirmwareBundlesResponses, type index_ListFirmwareDeploymentsData as ListFirmwareDeploymentsData, type index_ListFirmwareDeploymentsError as ListFirmwareDeploymentsError, type index_ListFirmwareDeploymentsErrors as ListFirmwareDeploymentsErrors, type index_ListFirmwareDeploymentsResponse as ListFirmwareDeploymentsResponse, type index_ListFirmwareDeploymentsResponses as ListFirmwareDeploymentsResponses, type index_ListProjectsData as ListProjectsData, type index_ListProjectsError as ListProjectsError, type index_ListProjectsErrors as ListProjectsErrors, type index_ListProjectsResponse as ListProjectsResponse, type index_ListProjectsResponses as ListProjectsResponses, type index_ListWebhookDeliveriesData as ListWebhookDeliveriesData, type index_ListWebhookDeliveriesError as ListWebhookDeliveriesError, type index_ListWebhookDeliveriesErrors as ListWebhookDeliveriesErrors, type index_ListWebhookDeliveriesResponse as ListWebhookDeliveriesResponse, type index_ListWebhookDeliveriesResponses as ListWebhookDeliveriesResponses, type index_ListWebhooksData as ListWebhooksData, type index_ListWebhooksError as ListWebhooksError, type index_ListWebhooksErrors as ListWebhooksErrors, type index_ListWebhooksResponse as ListWebhooksResponse, type index_ListWebhooksResponses as ListWebhooksResponses, type index_MetricDefinition as MetricDefinition, type index_MetricGroup as MetricGroup, type index_Options as Options, type index_PageMeta as PageMeta, type index_Project as Project, type index_ProjectAppToken as ProjectAppToken, type index_ProjectAppTokenResponse as ProjectAppTokenResponse, type index_ProjectListPage as ProjectListPage, type index_ProjectResponse as ProjectResponse, type index_RejectAdmissionData as RejectAdmissionData, type index_RejectAdmissionError as RejectAdmissionError, type index_RejectAdmissionErrors as RejectAdmissionErrors, type index_RejectAdmissionResponse as RejectAdmissionResponse, type index_RejectAdmissionResponses as RejectAdmissionResponses, type index_ResetDeviceTokenData as ResetDeviceTokenData, type index_ResetDeviceTokenError as ResetDeviceTokenError, type index_ResetDeviceTokenErrors as ResetDeviceTokenErrors, type index_ResetDeviceTokenResponse as ResetDeviceTokenResponse, type index_ResetDeviceTokenResponses as ResetDeviceTokenResponses, type index_RollbackFirmwareDeploymentData as RollbackFirmwareDeploymentData, type index_RollbackFirmwareDeploymentError as RollbackFirmwareDeploymentError, type index_RollbackFirmwareDeploymentErrors as RollbackFirmwareDeploymentErrors, type index_RollbackFirmwareDeploymentResponse as RollbackFirmwareDeploymentResponse, type index_RollbackFirmwareDeploymentResponses as RollbackFirmwareDeploymentResponses, type index_RotateProjectAppTokenData as RotateProjectAppTokenData, type index_RotateProjectAppTokenError as RotateProjectAppTokenError, type index_RotateProjectAppTokenErrors as RotateProjectAppTokenErrors, type index_RotateProjectAppTokenResponse as RotateProjectAppTokenResponse, type index_RotateProjectAppTokenResponses as RotateProjectAppTokenResponses, type index_TelemetryHistoryResponse as TelemetryHistoryResponse, type index_TelemetryManifest as TelemetryManifest, type index_TelemetryManifestResponse as TelemetryManifestResponse, type index_TelemetrySample as TelemetrySample, type index_TriggerFirmwareDeploymentData as TriggerFirmwareDeploymentData, type index_TriggerFirmwareDeploymentError as TriggerFirmwareDeploymentError, type index_TriggerFirmwareDeploymentErrors as TriggerFirmwareDeploymentErrors, type index_TriggerFirmwareDeploymentResponse as TriggerFirmwareDeploymentResponse, type index_TriggerFirmwareDeploymentResponses as TriggerFirmwareDeploymentResponses, type index_UpdateCommandManifestData as UpdateCommandManifestData, type index_UpdateCommandManifestError as UpdateCommandManifestError, type index_UpdateCommandManifestErrors as UpdateCommandManifestErrors, type index_UpdateCommandManifestResponse as UpdateCommandManifestResponse, type index_UpdateCommandManifestResponses as UpdateCommandManifestResponses, type index_UpdateDeviceTypeData as UpdateDeviceTypeData, type index_UpdateDeviceTypeError as UpdateDeviceTypeError, type index_UpdateDeviceTypeErrors as UpdateDeviceTypeErrors, type index_UpdateDeviceTypeResponse as UpdateDeviceTypeResponse, type index_UpdateDeviceTypeResponses as UpdateDeviceTypeResponses, type index_UpdateWebhookData as UpdateWebhookData, type index_UpdateWebhookError as UpdateWebhookError, type index_UpdateWebhookErrors as UpdateWebhookErrors, type index_UpdateWebhookResponse as UpdateWebhookResponse, type index_UpdateWebhookResponses as UpdateWebhookResponses, type index_UploadFirmwareData as UploadFirmwareData, type index_UploadFirmwareError as UploadFirmwareError, type index_UploadFirmwareErrors as UploadFirmwareErrors, type index_UploadFirmwareResponse as UploadFirmwareResponse, type index_UploadFirmwareResponses as UploadFirmwareResponses, type index_WebhookCreateRequest as WebhookCreateRequest, type index_WebhookCreated as WebhookCreated, type index_WebhookCreatedResponse as WebhookCreatedResponse, type index_WebhookDelivery as WebhookDelivery, type index_WebhookDeliveryAttempt as WebhookDeliveryAttempt, type index_WebhookDeliveryPage as WebhookDeliveryPage, type index_WebhookEventType as WebhookEventType, type index_WebhookRetryPolicy as WebhookRetryPolicy, type index_WebhookSubscription as WebhookSubscription, type index_WebhookSubscriptionPage as WebhookSubscriptionPage, type index_WebhookSubscriptionResponse as WebhookSubscriptionResponse, type index_WebhookUpdateRequest as WebhookUpdateRequest, index_acceptAdmission as acceptAdmission, index_cancelFirmwareDeployment as cancelFirmwareDeployment, index_createDeviceType as createDeviceType, index_createProjectAppToken as createProjectAppToken, index_createWebhook as createWebhook, index_deleteCommandManifest as deleteCommandManifest, index_deleteDevice as deleteDevice, index_deleteDeviceType as deleteDeviceType, index_deleteFirmwareBundle as deleteFirmwareBundle, index_deleteWebhook as deleteWebhook, index_dismissAdmission as dismissAdmission, index_execDeviceCommand as execDeviceCommand, index_getAdmission as getAdmission, index_getCommandManifest as getCommandManifest, index_getDevice as getDevice, index_getDeviceCommandByRequestId as getDeviceCommandByRequestId, index_getDeviceCommandInvocation as getDeviceCommandInvocation, index_getDeviceCommands as getDeviceCommands, index_getDeviceType as getDeviceType, index_getFirmwareBundle as getFirmwareBundle, index_getFirmwareDeployment as getFirmwareDeployment, index_getIdentity as getIdentity, index_getLatestTelemetry as getLatestTelemetry, index_getProject as getProject, index_getTelemetryHistory as getTelemetryHistory, index_getTelemetryManifest as getTelemetryManifest, index_getWebhook as getWebhook, index_listAdmissions as listAdmissions, index_listDeviceTypes as listDeviceTypes, index_listDevices as listDevices, index_listFirmwareBundles as listFirmwareBundles, index_listFirmwareDeployments as listFirmwareDeployments, index_listProjects as listProjects, index_listWebhookDeliveries as listWebhookDeliveries, index_listWebhooks as listWebhooks, index_rejectAdmission as rejectAdmission, index_resetDeviceToken as resetDeviceToken, index_rollbackFirmwareDeployment as rollbackFirmwareDeployment, index_rotateProjectAppToken as rotateProjectAppToken, index_triggerFirmwareDeployment as triggerFirmwareDeployment, index_updateCommandManifest as updateCommandManifest, index_updateDeviceType as updateDeviceType, index_updateWebhook as updateWebhook, index_uploadFirmware as uploadFirmware };
|
|
3795
3852
|
}
|
|
3796
3853
|
|
|
3797
3854
|
export { type Admission, type AdmissionAcceptRequest, type AdmissionAcceptance, type AdmissionListPage, AuthenticationError, BadRequestError, BundleExistsError, type CancelDeploymentParams, type CommandArgDefinition, type CommandDefinition, type CommandInvocation, type CommandManifest, type CommandRequest, type CommandResult, ConflictError, type DecodedMetric, type Device, type DeviceListItem, type DeviceListPage, DeviceRpcError, type DeviceTokenReset, type DeviceType, type DeviceTypeCreateRequest, type DeviceTypeListItem, type DeviceTypeListPage, type DeviceTypeUpdateRequest, type ErrorItem, type ErrorResponse, type FirmwareBundle, type FirmwareBundleListPage, type FirmwareDeployment, type FirmwareDeploymentCancelRequest, type FirmwareDeploymentListPage, type FirmwareDeploymentTriggerRequest, type Identity, type IdentityProject, type IdentityToken, type IdentityUser, InsufficientScopeError, type IterateBundlesParams, type IterateDeploymentsParams, type IterateDevicesParams, type IterateWebhookDeliveriesParams, type IterateWebhooksParams, type ListBundlesParams, type ListDeploymentsParams, type ListDevicesParams, type ListWebhooksParams, type MetricDefinition, type MetricGroup, NetworkError, OrbitClient, type OrbitClientOptions, OrbitError, type OrbitErrorOptions, type OrbitWebhookEvent, type Page, type PageMeta, type Project, type ProjectAppToken, type ProjectListPage, RateLimitError, ResourceNotFoundError, ServerError, type TelemetryHistoryParams, type TelemetryHistoryResponse, type TelemetryManifest, type TelemetrySample, type TerminalTicketRequest, type TerminalTicketResponse, type UploadFirmwareParams, type UsbDeviceIdentifier, type UsbExportDefinition, type UsbExportList, type UsbTicketRequest, type UsbTicketResponse, ValidationError, type ValidationFieldError, type VerifyWebhookSignatureParams, WEBHOOK_REPLAY_TOLERANCE_SECONDS, type WebhookCreateRequest, type WebhookCreated, type WebhookDeliveriesParams, type WebhookDelivery, type WebhookDeliveryPage, type WebhookEventType, type WebhookSubscription, type WebhookSubscriptionPage, type WebhookUpdateRequest, decodeSample, decodeSamples, normalizeError, paginate, parseRetryAfterSeconds, parseWebhookEvent, index as raw, signWebhookPayload, verifyWebhookSignature };
|
package/dist/index.js
CHANGED
|
@@ -974,6 +974,11 @@ var getDeviceCommandInvocation = (options) => (options.client ?? client).get({
|
|
|
974
974
|
url: "/api/v1/devices/{id}/commands/{invocationId}",
|
|
975
975
|
...options
|
|
976
976
|
});
|
|
977
|
+
var getDeviceCommandByRequestId = (options) => (options.client ?? client).get({
|
|
978
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
979
|
+
url: "/api/v1/devices/{id}/commands/by-request/{requestId}",
|
|
980
|
+
...options
|
|
981
|
+
});
|
|
977
982
|
var getDeviceCommands = (options) => (options.client ?? client).get({
|
|
978
983
|
security: [{ scheme: "bearer", type: "http" }],
|
|
979
984
|
url: "/api/v1/devices/{id}/commands",
|
|
@@ -1576,6 +1581,9 @@ var OrbitClient = class {
|
|
|
1576
1581
|
throwOnError: false
|
|
1577
1582
|
})
|
|
1578
1583
|
).then((result) => result.data),
|
|
1584
|
+
getByRequestId: (deviceId, requestId) => run(
|
|
1585
|
+
() => getDeviceCommandByRequestId({ client: client2, path: { id: deviceId, requestId }, throwOnError: false })
|
|
1586
|
+
).then((result) => result.data),
|
|
1579
1587
|
manifest: (deviceId) => run(
|
|
1580
1588
|
() => getDeviceCommands({
|
|
1581
1589
|
client: client2,
|
|
@@ -1786,6 +1794,7 @@ __export(generated_exports, {
|
|
|
1786
1794
|
getAdmission: () => getAdmission,
|
|
1787
1795
|
getCommandManifest: () => getCommandManifest,
|
|
1788
1796
|
getDevice: () => getDevice,
|
|
1797
|
+
getDeviceCommandByRequestId: () => getDeviceCommandByRequestId,
|
|
1789
1798
|
getDeviceCommandInvocation: () => getDeviceCommandInvocation,
|
|
1790
1799
|
getDeviceCommands: () => getDeviceCommands,
|
|
1791
1800
|
getDeviceType: () => getDeviceType,
|