@alwaysai/device-agent-schemas 2.1.0 → 2.1.2

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.
@@ -18,8 +18,8 @@ declare const toClientMessageTypeEnum: {
18
18
  declare const toDeviceAgentMessageTypeEnum: {
19
19
  app_state_control: "app_state_control";
20
20
  app_version_control: "app_version_control";
21
- app_install_cloud_response: "app_install_cloud_response";
22
- models_install_cloud_response: "models_install_cloud_response";
21
+ app_install_response: "app_install_response";
22
+ models_install_response: "models_install_response";
23
23
  live_state_updates: "live_state_updates";
24
24
  status_response: "status_response";
25
25
  };
@@ -27,8 +27,8 @@ export declare const keyMirrors: {
27
27
  toDeviceAgentMessageType: {
28
28
  app_state_control: "app_state_control";
29
29
  app_version_control: "app_version_control";
30
- app_install_cloud_response: "app_install_cloud_response";
31
- models_install_cloud_response: "models_install_cloud_response";
30
+ app_install_response: "app_install_response";
31
+ models_install_response: "models_install_response";
32
32
  live_state_updates: "live_state_updates";
33
33
  status_response: "status_response";
34
34
  };
@@ -74,12 +74,12 @@ export declare type AppStateMessageType = typeof toClientMessageTypeEnum.app_sta
74
74
  export declare type DeviceStatsMessageType = typeof toClientMessageTypeEnum.device_stats;
75
75
  export declare type StatusResponseMessageType = typeof toClientMessageTypeEnum.status_response;
76
76
  export declare type SignedUrlsRequestMessageType = typeof toCloudMessageTypeEnum.signed_urls_request;
77
- export declare const toDeviceAgentMessageTypeValues: ("status_response" | "app_state_control" | "app_version_control" | "app_install_cloud_response" | "models_install_cloud_response" | "live_state_updates")[];
77
+ export declare const toDeviceAgentMessageTypeValues: ("status_response" | "app_state_control" | "app_version_control" | "app_install_response" | "models_install_response" | "live_state_updates")[];
78
78
  export declare type ToDeviceAgentMessageTypeValue = keyof typeof keyMirrors.toDeviceAgentMessageType;
79
79
  export declare type AppStateControlMessageType = typeof toDeviceAgentMessageTypeEnum.app_state_control;
80
80
  export declare type AppVersionControlMessageType = typeof toDeviceAgentMessageTypeEnum.app_version_control;
81
- export declare type AppInstallResponseMessageType = typeof toDeviceAgentMessageTypeEnum.app_install_cloud_response;
82
- export declare type ModelsInstallResponseMessageType = typeof toDeviceAgentMessageTypeEnum.models_install_cloud_response;
81
+ export declare type AppInstallResponseMessageType = typeof toDeviceAgentMessageTypeEnum.app_install_response;
82
+ export declare type ModelsInstallResponseMessageType = typeof toDeviceAgentMessageTypeEnum.models_install_response;
83
83
  export declare type LiveStateUpdatesTogglesMessageType = typeof toDeviceAgentMessageTypeEnum.live_state_updates;
84
84
  export declare const appStateValues: ("up" | "stopped" | "restarting")[];
85
85
  export declare type AppStateValue = keyof typeof keyMirrors.appState;
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,kBAAkB,8BAA8B,CAAC;AAC9D,eAAO,MAAM,iBAAiB,8BAA8B,CAAC;AAC7D,eAAO,MAAM,sBAAsB,iBAAiB,CAAC;AACrD,eAAO,MAAM,gBAAgB,gCAAgC,CAAC;AAE9D,eAAO,MAAM,mBAAmB,cAAc,CAAC;AAC/C,eAAO,MAAM,kBAAkB,aAAa,CAAC;AAC7C,eAAO,MAAM,mBAAmB,cAAc,CAAC;AAC/C,eAAO,MAAM,WAAW,eAAe,CAAC;AAExC,QAAA,MAAM,sBAAsB;;CAE1B,CAAC;AAEH,QAAA,MAAM,uBAAuB;;;;;CAK3B,CAAC;AAEH,QAAA,MAAM,4BAA4B;;;;;;;CAOhC,CAAC;AA8BH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAStB,CAAC;AAEF,eAAO,MAAM,wBAAwB,yBAA+C,CAAC;AACrF,oBAAY,uBAAuB,GAAG,MAAM,OAAO,UAAU,CAAC,kBAAkB,CAAC;AAEjF,eAAO,MAAM,yBAAyB,mEAAgD,CAAC;AACvF,oBAAY,wBAAwB,GAAG,MAAM,OAAO,UAAU,CAAC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6BAA6B,GACvC,MAAM,OAAO,UAAU,CAAC,wBAAwB,CAAC;AAEnD,oBAAY,0BAA0B,GACpC,OAAO,4BAA4B,CAAC,iBAAiB,CAAC;AAExD,oBAAY,4BAA4B,GACtC,OAAO,4BAA4B,CAAC,mBAAmB,CAAC;AAC1D,oBAAY,6BAA6B,GACvC,OAAO,4BAA4B,CAAC,oBAAoB,CAAC;AAC3D,oBAAY,gCAAgC,GAC1C,OAAO,4BAA4B,CAAC,uBAAuB,CAAC;AAC9D,oBAAY,kCAAkC,GAC5C,OAAO,4BAA4B,CAAC,kBAAkB,CAAC;AAEzD,eAAO,MAAM,cAAc,qCAAqC,CAAC;AACjE,oBAAY,aAAa,GAAG,MAAM,OAAO,UAAU,CAAC,QAAQ,CAAC;AAE7D,eAAO,MAAM,qBAAqB,kCAA4C,CAAC;AAC/E,oBAAY,oBAAoB,GAAG,MAAM,OAAO,UAAU,CAAC,eAAe,CAAC;AAE3E,eAAO,MAAM,uBAAuB,6BAA8C,CAAC;AACnF,oBAAY,sBAAsB,GAAG,MAAM,OAAO,UAAU,CAAC,iBAAiB,CAAC;AAE/E,eAAO,MAAM,iBAAiB,kBAAwC,CAAC;AACvE,oBAAY,gBAAgB,GAAG,MAAM,OAAO,UAAU,CAAC,WAAW,CAAC;AAEnE,eAAO,MAAM,oBAAoB,yDAA2C,CAAC;AAC7E,oBAAY,mBAAmB,GAAG,MAAM,OAAO,UAAU,CAAC,cAAc,CAAC"}
package/lib/constants.js CHANGED
@@ -22,8 +22,8 @@ const toClientMessageTypeEnum = (0, utils_1.keyMirror)({
22
22
  const toDeviceAgentMessageTypeEnum = (0, utils_1.keyMirror)({
23
23
  app_state_control: null,
24
24
  app_version_control: null,
25
- app_install_cloud_response: null,
26
- models_install_cloud_response: null,
25
+ app_install_response: null,
26
+ models_install_response: null,
27
27
  live_state_updates: null,
28
28
  status_response: null,
29
29
  });
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../src/constants.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index.js",
6
6
  "types": "lib/index.d.ts",
7
7
  "engines": {
package/src/constants.ts CHANGED
@@ -24,8 +24,8 @@ const toClientMessageTypeEnum = keyMirror({
24
24
  const toDeviceAgentMessageTypeEnum = keyMirror({
25
25
  app_state_control: null,
26
26
  app_version_control: null,
27
- app_install_cloud_response: null,
28
- models_install_cloud_response: null,
27
+ app_install_response: null,
28
+ models_install_response: null,
29
29
  live_state_updates: null,
30
30
  status_response: null,
31
31
  });
@@ -94,9 +94,9 @@ export type AppStateControlMessageType =
94
94
  export type AppVersionControlMessageType =
95
95
  typeof toDeviceAgentMessageTypeEnum.app_version_control;
96
96
  export type AppInstallResponseMessageType =
97
- typeof toDeviceAgentMessageTypeEnum.app_install_cloud_response;
97
+ typeof toDeviceAgentMessageTypeEnum.app_install_response;
98
98
  export type ModelsInstallResponseMessageType =
99
- typeof toDeviceAgentMessageTypeEnum.models_install_cloud_response;
99
+ typeof toDeviceAgentMessageTypeEnum.models_install_response;
100
100
  export type LiveStateUpdatesTogglesMessageType =
101
101
  typeof toDeviceAgentMessageTypeEnum.live_state_updates;
102
102