@seamapi/types 1.416.1 → 1.416.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.
Files changed (174) hide show
  1. package/dist/connect.cjs +4125 -1987
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +11471 -6206
  4. package/lib/seam/connect/models/access-codes/managed-access-code.js +1 -1
  5. package/lib/seam/connect/models/access-codes/managed-access-code.js.map +1 -1
  6. package/lib/seam/connect/models/access-grants/access-grant.js +6 -5
  7. package/lib/seam/connect/models/access-grants/access-grant.js.map +1 -1
  8. package/lib/seam/connect/models/access-grants/access-method.js +4 -3
  9. package/lib/seam/connect/models/access-grants/access-method.js.map +1 -1
  10. package/lib/seam/connect/models/access-grants/requested-access-method.js +2 -2
  11. package/lib/seam/connect/models/access-grants/requested-access-method.js.map +1 -1
  12. package/lib/seam/connect/models/acs/acs-credential-pool.js +2 -1
  13. package/lib/seam/connect/models/acs/acs-credential-pool.js.map +1 -1
  14. package/lib/seam/connect/models/acs/acs-credential-provisioning-automation.js +2 -1
  15. package/lib/seam/connect/models/acs/acs-credential-provisioning-automation.js.map +1 -1
  16. package/lib/seam/connect/models/acs/acs-users/acs-user.js +37 -37
  17. package/lib/seam/connect/models/acs/acs-users/acs-user.js.map +1 -1
  18. package/lib/seam/connect/models/acs/acs-users/pending-mutations.js +57 -19
  19. package/lib/seam/connect/models/acs/acs-users/pending-mutations.js.map +1 -1
  20. package/lib/seam/connect/models/acs/metadata/assa-abloy-vostio.js +52 -15
  21. package/lib/seam/connect/models/acs/metadata/assa-abloy-vostio.js.map +1 -1
  22. package/lib/seam/connect/models/acs/metadata/dormakaba-community.js +7 -3
  23. package/lib/seam/connect/models/acs/metadata/dormakaba-community.js.map +1 -1
  24. package/lib/seam/connect/models/acs/metadata/latch.js +16 -6
  25. package/lib/seam/connect/models/acs/metadata/latch.js.map +1 -1
  26. package/lib/seam/connect/models/acs/metadata/salto-space.js +14 -5
  27. package/lib/seam/connect/models/acs/metadata/salto-space.js.map +1 -1
  28. package/lib/seam/connect/models/acs/metadata/salto.js +32 -10
  29. package/lib/seam/connect/models/acs/metadata/salto.js.map +1 -1
  30. package/lib/seam/connect/models/acs/metadata/visionline.js +53 -23
  31. package/lib/seam/connect/models/acs/metadata/visionline.js.map +1 -1
  32. package/lib/seam/connect/models/action-attempts/action-attempt.js +5 -0
  33. package/lib/seam/connect/models/action-attempts/action-attempt.js.map +1 -1
  34. package/lib/seam/connect/models/action-attempts/activate-climate-preset.js +15 -9
  35. package/lib/seam/connect/models/action-attempts/activate-climate-preset.js.map +1 -1
  36. package/lib/seam/connect/models/action-attempts/deprecated.js +120 -52
  37. package/lib/seam/connect/models/action-attempts/deprecated.js.map +1 -1
  38. package/lib/seam/connect/models/action-attempts/encode-access-method.js +35 -17
  39. package/lib/seam/connect/models/action-attempts/encode-access-method.js.map +1 -1
  40. package/lib/seam/connect/models/action-attempts/encode-credential.js +35 -17
  41. package/lib/seam/connect/models/action-attempts/encode-credential.js.map +1 -1
  42. package/lib/seam/connect/models/action-attempts/lock-door.js +15 -9
  43. package/lib/seam/connect/models/action-attempts/lock-door.js.map +1 -1
  44. package/lib/seam/connect/models/action-attempts/push-thermostat-programs.js +13 -7
  45. package/lib/seam/connect/models/action-attempts/push-thermostat-programs.js.map +1 -1
  46. package/lib/seam/connect/models/action-attempts/reset-sandbox-workspace.js +15 -9
  47. package/lib/seam/connect/models/action-attempts/reset-sandbox-workspace.js.map +1 -1
  48. package/lib/seam/connect/models/action-attempts/scan-credential.js +34 -16
  49. package/lib/seam/connect/models/action-attempts/scan-credential.js.map +1 -1
  50. package/lib/seam/connect/models/action-attempts/set-fan-mode.js +15 -9
  51. package/lib/seam/connect/models/action-attempts/set-fan-mode.js.map +1 -1
  52. package/lib/seam/connect/models/action-attempts/set-hvac-mode.js +15 -9
  53. package/lib/seam/connect/models/action-attempts/set-hvac-mode.js.map +1 -1
  54. package/lib/seam/connect/models/action-attempts/simulate-keypad-code-entry.js +15 -9
  55. package/lib/seam/connect/models/action-attempts/simulate-keypad-code-entry.js.map +1 -1
  56. package/lib/seam/connect/models/action-attempts/simulate-manual-lock-via-keypad.js +15 -9
  57. package/lib/seam/connect/models/action-attempts/simulate-manual-lock-via-keypad.js.map +1 -1
  58. package/lib/seam/connect/models/action-attempts/unlock-door.js +15 -9
  59. package/lib/seam/connect/models/action-attempts/unlock-door.js.map +1 -1
  60. package/lib/seam/connect/models/bridges/bridge-client-session.js +66 -25
  61. package/lib/seam/connect/models/bridges/bridge-client-session.js.map +1 -1
  62. package/lib/seam/connect/models/bridges/bridge-connected-system.js +32 -9
  63. package/lib/seam/connect/models/bridges/bridge-connected-system.js.map +1 -1
  64. package/lib/seam/connect/models/bridges/bridge.js +10 -3
  65. package/lib/seam/connect/models/bridges/bridge.js.map +1 -1
  66. package/lib/seam/connect/models/client-sessions/client-session.js +47 -13
  67. package/lib/seam/connect/models/client-sessions/client-session.js.map +1 -1
  68. package/lib/seam/connect/models/connect-webviews/connect-webview.js +7 -9
  69. package/lib/seam/connect/models/connect-webviews/connect-webview.js.map +1 -1
  70. package/lib/seam/connect/models/connected-accounts/connected-account.js +8 -8
  71. package/lib/seam/connect/models/connected-accounts/connected-account.js.map +1 -1
  72. package/lib/seam/connect/models/custom-metadata.js +1 -1
  73. package/lib/seam/connect/models/custom-metadata.js.map +1 -1
  74. package/lib/seam/connect/models/devices/capability-properties/lock.js +2 -1
  75. package/lib/seam/connect/models/devices/capability-properties/lock.js.map +1 -1
  76. package/lib/seam/connect/models/devices/device-metadata.js +493 -480
  77. package/lib/seam/connect/models/devices/device-metadata.js.map +1 -1
  78. package/lib/seam/connect/models/devices/device.js +67 -47
  79. package/lib/seam/connect/models/devices/device.js.map +1 -1
  80. package/lib/seam/connect/models/devices/phone.js +1 -1
  81. package/lib/seam/connect/models/events/access-codes.js +1 -1
  82. package/lib/seam/connect/models/events/access-codes.js.map +1 -1
  83. package/lib/seam/connect/models/events/acs/credentials.js +4 -4
  84. package/lib/seam/connect/models/events/acs/encoders.js +2 -2
  85. package/lib/seam/connect/models/events/acs/entrances.js +2 -2
  86. package/lib/seam/connect/models/events/common.js +1 -1
  87. package/lib/seam/connect/models/events/common.js.map +1 -1
  88. package/lib/seam/connect/models/events/connect-webviews.js +2 -2
  89. package/lib/seam/connect/models/events/connect-webviews.js.map +1 -1
  90. package/lib/seam/connect/models/events/connected-accounts.js +2 -2
  91. package/lib/seam/connect/models/events/connected-accounts.js.map +1 -1
  92. package/lib/seam/connect/models/events/devices.js +1 -1
  93. package/lib/seam/connect/models/events/devices.js.map +1 -1
  94. package/lib/seam/connect/models/instant-keys/instant-key.js +28 -7
  95. package/lib/seam/connect/models/instant-keys/instant-key.js.map +1 -1
  96. package/lib/seam/connect/models/partner/magic-link.js +22 -11
  97. package/lib/seam/connect/models/partner/magic-link.js.map +1 -1
  98. package/lib/seam/connect/models/partner/resources.js +61 -20
  99. package/lib/seam/connect/models/partner/resources.js.map +1 -1
  100. package/lib/seam/connect/models/phones/phone-registration.js +7 -4
  101. package/lib/seam/connect/models/phones/phone-registration.js.map +1 -1
  102. package/lib/seam/connect/models/phones/phone-session.js +10 -4
  103. package/lib/seam/connect/models/phones/phone-session.js.map +1 -1
  104. package/lib/seam/connect/models/schedule.js +4 -2
  105. package/lib/seam/connect/models/schedule.js.map +1 -1
  106. package/lib/seam/connect/models/spaces/space.js +5 -4
  107. package/lib/seam/connect/models/spaces/space.js.map +1 -1
  108. package/lib/seam/connect/models/webhooks/webhook.js +16 -5
  109. package/lib/seam/connect/models/webhooks/webhook.js.map +1 -1
  110. package/lib/seam/connect/models/workspaces/workspace.js +33 -11
  111. package/lib/seam/connect/models/workspaces/workspace.js.map +1 -1
  112. package/lib/seam/connect/openapi.d.ts +410 -172
  113. package/lib/seam/connect/openapi.js +3231 -1186
  114. package/lib/seam/connect/openapi.js.map +1 -1
  115. package/lib/seam/connect/route-types.d.ts +11061 -6034
  116. package/package.json +2 -2
  117. package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +1 -1
  118. package/src/lib/seam/connect/models/access-grants/access-grant.ts +6 -9
  119. package/src/lib/seam/connect/models/access-grants/access-method.ts +4 -5
  120. package/src/lib/seam/connect/models/access-grants/requested-access-method.ts +2 -2
  121. package/src/lib/seam/connect/models/acs/acs-credential-pool.ts +2 -1
  122. package/src/lib/seam/connect/models/acs/acs-credential-provisioning-automation.ts +2 -1
  123. package/src/lib/seam/connect/models/acs/acs-users/acs-user.ts +37 -37
  124. package/src/lib/seam/connect/models/acs/acs-users/pending-mutations.ts +69 -19
  125. package/src/lib/seam/connect/models/acs/metadata/assa-abloy-vostio.ts +63 -16
  126. package/src/lib/seam/connect/models/acs/metadata/dormakaba-community.ts +11 -3
  127. package/src/lib/seam/connect/models/acs/metadata/latch.ts +16 -6
  128. package/src/lib/seam/connect/models/acs/metadata/salto-space.ts +14 -5
  129. package/src/lib/seam/connect/models/acs/metadata/salto.ts +32 -10
  130. package/src/lib/seam/connect/models/acs/metadata/visionline.ts +60 -28
  131. package/src/lib/seam/connect/models/action-attempts/action-attempt.ts +5 -0
  132. package/src/lib/seam/connect/models/action-attempts/activate-climate-preset.ts +19 -9
  133. package/src/lib/seam/connect/models/action-attempts/deprecated.ts +174 -104
  134. package/src/lib/seam/connect/models/action-attempts/encode-access-method.ts +49 -17
  135. package/src/lib/seam/connect/models/action-attempts/encode-credential.ts +49 -18
  136. package/src/lib/seam/connect/models/action-attempts/lock-door.ts +17 -9
  137. package/src/lib/seam/connect/models/action-attempts/push-thermostat-programs.ts +17 -7
  138. package/src/lib/seam/connect/models/action-attempts/reset-sandbox-workspace.ts +19 -9
  139. package/src/lib/seam/connect/models/action-attempts/scan-credential.ts +52 -22
  140. package/src/lib/seam/connect/models/action-attempts/set-fan-mode.ts +19 -9
  141. package/src/lib/seam/connect/models/action-attempts/set-hvac-mode.ts +19 -9
  142. package/src/lib/seam/connect/models/action-attempts/simulate-keypad-code-entry.ts +19 -9
  143. package/src/lib/seam/connect/models/action-attempts/simulate-manual-lock-via-keypad.ts +19 -9
  144. package/src/lib/seam/connect/models/action-attempts/unlock-door.ts +17 -9
  145. package/src/lib/seam/connect/models/bridges/bridge-client-session.ts +84 -25
  146. package/src/lib/seam/connect/models/bridges/bridge-connected-system.ts +42 -9
  147. package/src/lib/seam/connect/models/bridges/bridge.ts +12 -3
  148. package/src/lib/seam/connect/models/client-sessions/client-session.ts +69 -13
  149. package/src/lib/seam/connect/models/connect-webviews/connect-webview.ts +10 -10
  150. package/src/lib/seam/connect/models/connected-accounts/connected-account.ts +12 -8
  151. package/src/lib/seam/connect/models/custom-metadata.ts +1 -1
  152. package/src/lib/seam/connect/models/devices/capability-properties/lock.ts +2 -1
  153. package/src/lib/seam/connect/models/devices/device-metadata.ts +588 -521
  154. package/src/lib/seam/connect/models/devices/device.ts +89 -47
  155. package/src/lib/seam/connect/models/devices/phone.ts +1 -1
  156. package/src/lib/seam/connect/models/events/access-codes.ts +1 -1
  157. package/src/lib/seam/connect/models/events/acs/credentials.ts +4 -4
  158. package/src/lib/seam/connect/models/events/acs/encoders.ts +2 -2
  159. package/src/lib/seam/connect/models/events/acs/entrances.ts +2 -2
  160. package/src/lib/seam/connect/models/events/common.ts +3 -1
  161. package/src/lib/seam/connect/models/events/connect-webviews.ts +6 -2
  162. package/src/lib/seam/connect/models/events/connected-accounts.ts +6 -2
  163. package/src/lib/seam/connect/models/events/devices.ts +3 -1
  164. package/src/lib/seam/connect/models/instant-keys/instant-key.ts +34 -7
  165. package/src/lib/seam/connect/models/partner/magic-link.ts +24 -11
  166. package/src/lib/seam/connect/models/partner/resources.ts +73 -20
  167. package/src/lib/seam/connect/models/phones/phone-registration.ts +7 -4
  168. package/src/lib/seam/connect/models/phones/phone-session.ts +21 -13
  169. package/src/lib/seam/connect/models/schedule.ts +19 -15
  170. package/src/lib/seam/connect/models/spaces/space.ts +5 -4
  171. package/src/lib/seam/connect/models/webhooks/webhook.ts +24 -5
  172. package/src/lib/seam/connect/models/workspaces/workspace.ts +53 -11
  173. package/src/lib/seam/connect/openapi.ts +4123 -1457
  174. package/src/lib/seam/connect/route-types.ts +11061 -6034
@@ -1 +1 @@
1
- {"version":3,"file":"deprecated.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/action-attempts/deprecated.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EACL,4BAA4B,EAC5B,6BAA6B,EAC7B,+BAA+B,GAChC,MAAM,aAAa,CAAA;AAEpB,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC;IACrB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;CACpB,CAAC,CAAA;AAEF,MAAM,MAAM,GAAG,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAA;AAE3B,MAAM,gCAAgC,GAAG,CAAC,CAAC,kBAAkB,CAAC,QAAQ,EAAE;IACtE,6BAA6B,CAAC,MAAM,CAAC;QACnC,WAAW,EAAE,CAAC,CAAC,OAAO,CAAC,mBAAmB,CAAC;KAC5C,CAAC;IACF,+BAA+B,CAAC,MAAM,CAAC;QACrC,WAAW,EAAE,CAAC,CAAC,OAAO,CAAC,mBAAmB,CAAC;QAC3C,MAAM;KACP,CAAC;IACF,4BAA4B,CAAC,MAAM,CAAC;QAClC,WAAW,EAAE,CAAC,CAAC,OAAO,CAAC,mBAAmB,CAAC;QAC3C,KAAK;KACN,CAAC;CACH,CAAC,CAAA;AAEF,MAAM,iCAAiC,GAAG,CAAC,CAAC,kBAAkB,CAAC,QAAQ,EAAE;IACvE,6BAA6B,CAAC,MAAM,CAAC;QACnC,WAAW,EAAE,CAAC,CAAC,OAAO,CAAC,oBAAoB,CAAC;KAC7C,CAAC;IACF,+BAA+B,CAAC,MAAM,CAAC;QACrC,WAAW,EAAE,CAAC,CAAC,OAAO,CAAC,oBAAoB,CAAC;QAC5C,MAAM,EAAE,CAAC,C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AAK;KACN,CAAC;CACH,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACxC,GAAG,gCAAgC,CAAC,OAAO;IAC3C,GAAG,iCAAiC,CAAC,OAAO;IAC5C,GAAG,iCAAiC,CAAC,OAAO;IAC5C,GAAG,iCAAiC,CAAC,OAAO;IAC5C,GAAG,qCAAqC,CAAC,OAAO;IAChD,GAAG,qCAAqC,CAAC,OAAO;IAChD,GAAG,qCAAqC,CAAC,OAAO;CACxC,CAAA"}
1
+ {"version":3,"file":"deprecated.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/action-attempts/deprecated.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EACL,4BAA4B,EAC5B,6BAA6B,EAC7B,+BAA+B,GAChC,MAAM,aAAa,CAAA;AAEpB,MAAM,KAAK,GAAG,CAAC;KACZ,MAAM,CAAC;IACN,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,oBAAoB,CAAC;IAC/C,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,CACP,wGAAwG,CACzG;CACJ,CAAC;KACD,QAAQ,CAAC,mCAAmC,CAAC,CAAA;AAEhD,MAAM,MAAM,GAAG,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,QAAQ,CAAC,uBAAuB,CAAC,CAAA;AAE7D,MAAM,gCAAgC,GAAG,CAAC;KACvC,kBAAkB,CAAC,QAAQ,EAAE;IAC5B,6BAA6B,CAAC,MAAM,CAAC;QACnC,WAAW,EAAE,CAAC;aACX,OAAO,CAAC,mBAAmB,CAAC;aAC5B,QAAQ,CAAC,kCAAkC,CAAC;KAChD,CAAC;IACF,+BAA+B,CAAC,MAAM,CAAC;QACrC,WAAW,EAAE,CAAC;aACX,OAAO,CAAC,mBAAmB,CAAC;aAC5B,QAAQ,CAAC,iCAAiC,CAAC;QAC9C,MAAM;KACP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E,CAAC;aACN,MAAM,CAAC;YACN,eAAe,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,QAAQ,CAAC,0BAA0B,CAAC;SAC9D,CAAC;aACD,QAAQ,CAAC,uBAAuB,CAAC;KACrC,CAAC;IACF,4BAA4B,CAAC,MAAM,CAAC;QAClC,WAAW,EAAE,CAAC;aACX,OAAO,CAAC,wBAAwB,CAAC;aACjC,QAAQ,CAAC,oCAAoC,CAAC;QACjD,KAAK;KACN,CAAC;CACH,CAAC;KACD,QAAQ,CAAC,mEAAmE,CAAC,CAAA;AAEhF,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACxC,GAAG,gCAAgC,CAAC,OAAO;IAC3C,GAAG,iCAAiC,CAAC,OAAO;IAC5C,GAAG,iCAAiC,CAAC,OAAO;IAC5C,GAAG,iCAAiC,CAAC,OAAO;IAC5C,GAAG,qCAAqC,CAAC,OAAO;IAChD,GAAG,qCAAqC,CAAC,OAAO;IAChD,GAAG,qCAAqC,CAAC,OAAO;CACxC,CAAA"}
@@ -3,40 +3,58 @@ import { access_method } from '../access-grants/access-method.js';
3
3
  import { common_action_attempt_errors, common_failed_action_attempt, common_pending_action_attempt, common_succeeded_action_attempt, } from './common.js';
4
4
  const action_type = z
5
5
  .literal('ENCODE_ACCESS_METHOD')
6
- .describe('Type of action that the action attempt tracks.');
7
- const no_credential_on_encoder_error = z.object({
8
- type: z.literal('no_credential_on_encoder'),
9
- message: z.string(),
10
- });
11
- const incompatible_card_format_error = z.object({
12
- type: z.literal('incompatible_card_format'),
13
- message: z.string(),
14
- });
15
- const credential_cannot_be_reissued = z.object({
16
- type: z.literal('credential_cannot_be_reissued'),
17
- message: z.string(),
18
- });
6
+ .describe('Action attempt to track the status of encoding an access method from the physical encoder onto a card.');
7
+ const no_credential_on_encoder_error = z
8
+ .object({
9
+ type: z
10
+ .literal('no_credential_on_encoder')
11
+ .describe('Error type to indicate that there is no credential on the encoder.'),
12
+ message: z
13
+ .string()
14
+ .describe('Detailed description of the error. Provides insights into the issue and potentially how to rectify it.'),
15
+ })
16
+ .describe('Error to indicate that there is no credential on the encoder.');
17
+ const incompatible_card_format_error = z
18
+ .object({
19
+ type: z
20
+ .literal('incompatible_card_format')
21
+ .describe('Error type to indicate an incompatible card format.'),
22
+ message: z
23
+ .string()
24
+ .describe('Detailed description of the error. Provides insights into the issue and potentially how to rectify it.'),
25
+ })
26
+ .describe('Error to indicate an incompatible card format.');
27
+ const credential_cannot_be_reissued = z
28
+ .object({
29
+ type: z
30
+ .literal('credential_cannot_be_reissued')
31
+ .describe('Error type to indicate that the affected credential cannot be reissued.'),
32
+ message: z
33
+ .string()
34
+ .describe('Detailed description of the error. Provides insights into the issue and potentially how to rectify it.'),
35
+ })
36
+ .describe('Error to indicate that the affected credential cannot be reissued.');
19
37
  const error = z.union([
20
38
  ...common_action_attempt_errors,
21
39
  no_credential_on_encoder_error,
22
40
  incompatible_card_format_error,
23
41
  credential_cannot_be_reissued,
24
42
  ]);
25
- const result = access_method.describe('If an encoding attempt was successful, includes the `access_method` data that was encoded onto the card.');
43
+ const result = access_method.describe('Result of an encoding attempt. If the attempt was successful, includes the access method data that was encoded onto the card.');
26
44
  export const encode_access_method_action_attempt = z.discriminatedUnion('status', [
27
45
  common_pending_action_attempt
28
46
  .extend({
29
47
  action_type,
30
48
  })
31
- .describe('Action attempt to track encoding credential data from the physical encoder onto a card.'),
49
+ .describe('Encoding access method data from the physical encoder onto a card is pending.'),
32
50
  common_succeeded_action_attempt
33
51
  .extend({
34
52
  action_type,
35
53
  result,
36
54
  })
37
- .describe('Action attempt to indicate that encoding access method data from the physical encoder onto a card succeeded.'),
55
+ .describe('Encoding access method data from the physical encoder onto a card succeeded.'),
38
56
  common_failed_action_attempt
39
57
  .extend({ action_type, error })
40
- .describe('Action attempt to indicate that encoding access method data from the physical encoder onto a card failed.'),
58
+ .describe('Encoding access method data from the physical encoder onto a card failed.'),
41
59
  ]);
42
60
  //# sourceMappingURL=encode-access-method.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"encode-access-method.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/action-attempts/encode-access-method.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAA;AACjE,OAAO,EACL,4BAA4B,EAC5B,4BAA4B,EAC5B,6BAA6B,EAC7B,+BAA+B,GAChC,MAAM,aAAa,CAAA;AAEpB,MAAM,WAAW,GAAG,CAAC;KAClB,OAAO,CAAC,sBAAsB,CAAC;KAC/B,QAAQ,CAAC,gDAAgD,CAAC,CAAA;AAE7D,MAAM,8BAA8B,GAAG,CAAC,CAAC,MAAM,CAAC;IAC9C,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,0BAA0B,CAAC;IAC3C,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;CACpB,CAAC,CAAA;AAEF,MAAM,8BAA8B,GAAG,CAAC,CAAC,MAAM,CAAC;IAC9C,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,0BAA0B,CAAC;IAC3C,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;CACpB,CAAC,CAAA;AAEF,MAAM,6BAA6B,GAAG,CAAC,CAAC,MAAM,CAAC;IAC7C,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,+BAA+B,CAAC;IAChD,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;CACpB,CAAC,CAAA;AAEF,MAAM,KAAK,GAAG,CAAC,CAAC,KAAK,CAAC;IACpB,GAAG,4BAA4B;IAC/B,8BAA8B;IAC9B,8BAA8B;IAC9B,6BAA6B;CAC9B,CAAC,CAAA;AAEF,MAAM,MAAM,GAAG,aAAa,CAAC,QAAQ,CACnC,0GAA0G,CAC3G,CAAA;AAED,MAAM,CAAC,MAAM,mCAAmC,GAAG,CAAC,CAAC,kBAAkB,CACrE,QAAQ,EACR;IACE,6BAA6B;SAC1B,MAAM,CAAC;QACN,WAAW;KACZ,CAAC;SACD,QAAQ,CACP,yFAAyF,CAC1F;IACH,+BAA+B;SAC5B,MAAM,CAAC;QACN,WAAW;QACX,MAAM;KACP,CAAC;SACD,QAAQ,CACP,8GAA8G,CAC/G;IACH,4BAA4B;SACzB,MAAM,CAAC,EAAE,WAAW,EAAE,KAAK,EAAE,CAAC;SAC9B,QAAQ,CACP,2GAA2G,CAC5G;CACJ,CACF,CAAA"}
1
+ {"version":3,"file":"encode-access-method.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/action-attempts/encode-access-method.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAA;AACjE,OAAO,EACL,4BAA4B,EAC5B,4BAA4B,EAC5B,6BAA6B,EAC7B,+BAA+B,GAChC,MAAM,aAAa,CAAA;AAEpB,MAAM,WAAW,GAAG,CAAC;KAClB,OAAO,CAAC,sBAAsB,CAAC;KAC/B,QAAQ,CACP,wGAAwG,CACzG,CAAA;AAEH,MAAM,8BAA8B,GAAG,CAAC;KACrC,MAAM,CAAC;IACN,IAAI,EAAE,CAAC;SACJ,OAAO,CAAC,0BAA0B,CAAC;SACnC,QAAQ,CACP,oEAAoE,CACrE;IACH,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,CACP,wGAAwG,CACzG;CACJ,CAAC;KACD,QAAQ,CAAC,+DAA+D,CAAC,CAAA;AAE5E,MAAM,8BAA8B,GAAG,CAAC;KACrC,MAAM,CAAC;IACN,IAAI,EAAE,CAAC;SACJ,OAAO,CAAC,0BAA0B,CAAC;SACnC,QAAQ,CAAC,qDAAqD,CAAC;IAClE,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,CACP,wGAAwG,CACzG;CACJ,CAAC;KACD,QAAQ,CAAC,gDAAgD,CAAC,CAAA;AAE7D,MAAM,6BAA6B,GAAG,CAAC;KACpC,MAAM,CAAC;IACN,IAAI,EAAE,CAAC;SACJ,OAAO,CAAC,+BAA+B,CAAC;SACxC,QAAQ,CACP,yEAAyE,CAC1E;IACH,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,CACP,wGAAwG,CACzG;CACJ,CAAC;KACD,QAAQ,CACP,oEAAoE,CACrE,CAAA;AAEH,MAAM,KAAK,GAAG,CAAC,CAAC,KAAK,CAAC;IACpB,GAAG,4BAA4B;IAC/B,8BAA8B;IAC9B,8BAA8B;IAC9B,6BAA6B;CAC9B,CAAC,CAAA;AAEF,MAAM,MAAM,GAAG,aAAa,CAAC,QAAQ,CACnC,+HAA+H,CAChI,CAAA;AAED,MAAM,CAAC,MAAM,mCAAmC,GAAG,CAAC,CAAC,kBAAkB,CACrE,QAAQ,EACR;IACE,6BAA6B;SAC1B,MAAM,CAAC;QACN,WAAW;KACZ,CAAC;SACD,QAAQ,CACP,+EAA+E,CAChF;IACH,+BAA+B;SAC5B,MAAM,CAAC;QACN,WAAW;QACX,MAAM;KACP,CAAC;SACD,QAAQ,CACP,8EAA8E,CAC/E;IACH,4BAA4B;SACzB,MAAM,CAAC,EAAE,WAAW,EAAE,KAAK,EAAE,CAAC;SAC9B,QAAQ,CACP,2EAA2E,CAC5E;CACJ,CACF,CAAA"}
@@ -3,19 +3,37 @@ import { acs_credential, unmanaged_acs_credential, } from '../acs/acs-credential
3
3
  import { common_action_attempt_errors, common_failed_action_attempt, common_pending_action_attempt, common_succeeded_action_attempt, } from './common.js';
4
4
  const action_type = z
5
5
  .literal('ENCODE_CREDENTIAL')
6
- .describe('Type of action that the action attempt tracks.');
7
- const no_credential_on_encoder_error = z.object({
8
- type: z.literal('no_credential_on_encoder'),
9
- message: z.string(),
10
- });
11
- const incompatible_card_format_error = z.object({
12
- type: z.literal('incompatible_card_format'),
13
- message: z.string(),
14
- });
15
- const credential_cannot_be_reissued = z.object({
16
- type: z.literal('credential_cannot_be_reissued'),
17
- message: z.string(),
18
- });
6
+ .describe('Action attempt to track the status of encoding credential data from the physical encoder onto a card.');
7
+ const no_credential_on_encoder_error = z
8
+ .object({
9
+ type: z
10
+ .literal('no_credential_on_encoder')
11
+ .describe('Error type to indicate that there is no credential on the encoder.'),
12
+ message: z
13
+ .string()
14
+ .describe('Detailed description of the error. Provides insights into the issue and potentially how to rectify it.'),
15
+ })
16
+ .describe('Error to indicate that there is no credential on the encoder.');
17
+ const incompatible_card_format_error = z
18
+ .object({
19
+ type: z
20
+ .literal('incompatible_card_format')
21
+ .describe('Error type to indicate an incompatible card format.'),
22
+ message: z
23
+ .string()
24
+ .describe('Detailed description of the error. Provides insights into the issue and potentially how to rectify it.'),
25
+ })
26
+ .describe('Error to indicate an incompatible card format.');
27
+ const credential_cannot_be_reissued = z
28
+ .object({
29
+ type: z
30
+ .literal('credential_cannot_be_reissued')
31
+ .describe('Error type to indicate that the affected credential cannot be reissued.'),
32
+ message: z
33
+ .string()
34
+ .describe('Detailed description of the error. Provides insights into the issue and potentially how to rectify it.'),
35
+ })
36
+ .describe('Error to indicate that the affected credential cannot be reissued.');
19
37
  const error = z.union([
20
38
  ...common_action_attempt_errors,
21
39
  no_credential_on_encoder_error,
@@ -24,21 +42,21 @@ const error = z.union([
24
42
  ]);
25
43
  const result = acs_credential
26
44
  .or(unmanaged_acs_credential)
27
- .describe('If an encoding attempt was successful, includes the `acs_credential` data that was encoded onto the card.');
45
+ .describe('Result of an encoding attempt. If the attempt was successful, includes the credential data that was encoded onto the card.');
28
46
  export const encode_credential_action_attempt = z.discriminatedUnion('status', [
29
47
  common_pending_action_attempt
30
48
  .extend({
31
49
  action_type,
32
50
  })
33
- .describe('Action attempt to track encoding credential data from the physical encoder onto a card.'),
51
+ .describe('Encoding credential data from the physical encoder onto a card is pending.'),
34
52
  common_succeeded_action_attempt
35
53
  .extend({
36
54
  action_type,
37
55
  result,
38
56
  })
39
- .describe('Action attempt to indicate that encoding credential data from the physical encoder onto a card succeeded.'),
57
+ .describe('Encoding credential data from the physical encoder onto a card succeeded.'),
40
58
  common_failed_action_attempt
41
59
  .extend({ action_type, error })
42
- .describe('Action attempt to indicate that encoding credential data from the physical encoder onto a card failed.'),
60
+ .describe('Encoding credential data from the physical encoder onto a card failed.'),
43
61
  ]);
44
62
  //# sourceMappingURL=encode-credential.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"encode-credential.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/action-attempts/encode-credential.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EACL,cAAc,EACd,wBAAwB,GACzB,MAAM,0BAA0B,CAAA;AACjC,OAAO,EACL,4BAA4B,EAC5B,4BAA4B,EAC5B,6BAA6B,EAC7B,+BAA+B,GAChC,MAAM,aAAa,CAAA;AAEpB,MAAM,WAAW,GAAG,CAAC;KAClB,OAAO,CAAC,mBAAmB,CAAC;KAC5B,QAAQ,CAAC,gDAAgD,CAAC,CAAA;AAE7D,MAAM,8BAA8B,GAAG,CAAC,CAAC,MAAM,CAAC;IAC9C,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,0BAA0B,CAAC;IAC3C,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;CACpB,CAAC,CAAA;AAEF,MAAM,8BAA8B,GAAG,CAAC,CAAC,MAAM,CAAC;IAC9C,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,0BAA0B,CAAC;IAC3C,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;CACpB,CAAC,CAAA;AAEF,MAAM,6BAA6B,GAAG,CAAC,CAAC,MAAM,CAAC;IAC7C,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,+BAA+B,CAAC;IAChD,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;CACpB,CAAC,CAAA;AAEF,MAAM,KAAK,GAAG,CAAC,CAAC,KAAK,CAAC;IACpB,GAAG,4BAA4B;IAC/B,8BAA8B;IAC9B,8BAA8B;IAC9B,6BAA6B;CAC9B,CAAC,CAAA;AAEF,MAAM,MAAM,GAAG,cAAc;KAC1B,EAAE,CAAC,wBAAwB,CAAC;KAC5B,QAAQ,CACP,2GAA2G,CAC5G,CAAA;AAEH,MAAM,CAAC,MAAM,gCAAgC,GAAG,CAAC,CAAC,kBAAkB,CAAC,QAAQ,EAAE;IAC7E,6BAA6B;SAC1B,MAAM,CAAC;QACN,WAAW;KACZ,CAAC;SACD,QAAQ,CACP,yFAAyF,CAC1F;IACH,+BAA+B;SAC5B,MAAM,CAAC;QACN,WAAW;QACX,MAAM;KACP,CAAC;SACD,QAAQ,CACP,2GAA2G,CAC5G;IACH,4BAA4B;SACzB,MAAM,CAAC,EAAE,WAAW,EAAE,KAAK,EAAE,CAAC;SAC9B,QAAQ,CACP,wGAAwG,CACzG;CACJ,CAAC,CAAA"}
1
+ {"version":3,"file":"encode-credential.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/action-attempts/encode-credential.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EACL,cAAc,EACd,wBAAwB,GACzB,MAAM,0BAA0B,CAAA;AACjC,OAAO,EACL,4BAA4B,EAC5B,4BAA4B,EAC5B,6BAA6B,EAC7B,+BAA+B,GAChC,MAAM,aAAa,CAAA;AAEpB,MAAM,WAAW,GAAG,CAAC;KAClB,OAAO,CAAC,mBAAmB,CAAC;KAC5B,QAAQ,CACP,uGAAuG,CACxG,CAAA;AAEH,MAAM,8BAA8B,GAAG,CAAC;KACrC,MAAM,CAAC;IACN,IAAI,EAAE,CAAC;SACJ,OAAO,CAAC,0BAA0B,CAAC;SACnC,QAAQ,CACP,oEAAoE,CACrE;IACH,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,CACP,wGAAwG,CACzG;CACJ,CAAC;KACD,QAAQ,CAAC,+DAA+D,CAAC,CAAA;AAE5E,MAAM,8BAA8B,GAAG,CAAC;KACrC,MAAM,CAAC;IACN,IAAI,EAAE,CAAC;SACJ,OAAO,CAAC,0BAA0B,CAAC;SACnC,QAAQ,CAAC,qDAAqD,CAAC;IAClE,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,CACP,wGAAwG,CACzG;CACJ,CAAC;KACD,QAAQ,CAAC,gDAAgD,CAAC,CAAA;AAE7D,MAAM,6BAA6B,GAAG,CAAC;KACpC,MAAM,CAAC;IACN,IAAI,EAAE,CAAC;SACJ,OAAO,CAAC,+BAA+B,CAAC;SACxC,QAAQ,CACP,yEAAyE,CAC1E;IACH,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,CACP,wGAAwG,CACzG;CACJ,CAAC;KACD,QAAQ,CACP,oEAAoE,CACrE,CAAA;AAEH,MAAM,KAAK,GAAG,CAAC,CAAC,KAAK,CAAC;IACpB,GAAG,4BAA4B;IAC/B,8BAA8B;IAC9B,8BAA8B;IAC9B,6BAA6B;CAC9B,CAAC,CAAA;AAEF,MAAM,MAAM,GAAG,cAAc;KAC1B,EAAE,CAAC,wBAAwB,CAAC;KAC5B,QAAQ,CACP,4HAA4H,CAC7H,CAAA;AACH,MAAM,CAAC,MAAM,gCAAgC,GAAG,CAAC,CAAC,kBAAkB,CAAC,QAAQ,EAAE;IAC7E,6BAA6B;SAC1B,MAAM,CAAC;QACN,WAAW;KACZ,CAAC;SACD,QAAQ,CACP,4EAA4E,CAC7E;IACH,+BAA+B;SAC5B,MAAM,CAAC;QACN,WAAW;QACX,MAAM;KACP,CAAC;SACD,QAAQ,CACP,2EAA2E,CAC5E;IACH,4BAA4B;SACzB,MAAM,CAAC,EAAE,WAAW,EAAE,KAAK,EAAE,CAAC;SAC9B,QAAQ,CACP,wEAAwE,CACzE;CACJ,CAAC,CAAA"}
@@ -1,25 +1,31 @@
1
1
  import { z } from 'zod';
2
2
  import { common_failed_action_attempt, common_pending_action_attempt, common_succeeded_action_attempt, } from './common.js';
3
- const action_type = z.literal('LOCK_DOOR');
4
- const error = z.object({
5
- type: z.string(),
6
- message: z.string(),
7
- });
8
- const result = z.object({});
3
+ const action_type = z
4
+ .literal('LOCK_DOOR')
5
+ .describe('Action attempt to track the status of locking a door.');
6
+ const error = z
7
+ .object({
8
+ type: z.string().describe('Type of the error.'),
9
+ message: z
10
+ .string()
11
+ .describe('Detailed description of the error. Provides insights into the issue and potentially how to rectify it.'),
12
+ })
13
+ .describe('Error associated with the action.');
14
+ const result = z.object({}).describe('Result of the action.');
9
15
  export const lock_door_action_attempt = z.discriminatedUnion('status', [
10
16
  common_pending_action_attempt
11
17
  .extend({
12
18
  action_type,
13
19
  })
14
- .describe('Locking door.'),
20
+ .describe('Locking a door is pending.'),
15
21
  common_succeeded_action_attempt
16
22
  .extend({
17
23
  action_type,
18
24
  result,
19
25
  })
20
- .describe('Locking door succeeded.'),
26
+ .describe('Locking a door succeeded.'),
21
27
  common_failed_action_attempt
22
28
  .extend({ action_type, error })
23
- .describe('Locking door failed.'),
29
+ .describe('Locking a door failed.'),
24
30
  ]);
25
31
  //# sourceMappingURL=lock-door.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"lock-door.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/action-attempts/lock-door.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EACL,4BAA4B,EAC5B,6BAA6B,EAC7B,+BAA+B,GAChC,MAAM,aAAa,CAAA;AAEpB,MAAM,WAAW,GAAG,CAAC,CAAC,OAAO,CAAC,WAAW,CAAC,CAAA;AAE1C,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC;IACrB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;CACpB,CAAC,CAAA;AAEF,MAAM,MAAM,GAAG,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAA;AAE3B,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC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AAM;KACP,CAAC;SACD,QAAQ,CAAC,2BAA2B,CAAC;IACxC,4BAA4B;SACzB,MAAM,CAAC,EAAE,WAAW,EAAE,KAAK,EAAE,CAAC;SAC9B,QAAQ,CAAC,wBAAwB,CAAC;CACtC,CAAC,CAAA"}
@@ -1,17 +1,23 @@
1
1
  import { z } from 'zod';
2
2
  import { common_failed_action_attempt, common_pending_action_attempt, common_succeeded_action_attempt, } from './common.js';
3
- const action_type = z.literal('PUSH_THERMOSTAT_PROGRAMS');
4
- const error = z.object({
5
- type: z.string(),
6
- message: z.string(),
7
- });
8
- const result = z.object({});
3
+ const action_type = z
4
+ .literal('PUSH_THERMOSTAT_PROGRAMS')
5
+ .describe('Action attempt to track the status of pushing thermostat programs.');
6
+ const error = z
7
+ .object({
8
+ type: z.string().describe('Type of the error.'),
9
+ message: z
10
+ .string()
11
+ .describe('Detailed description of the error. Provides insights into the issue and potentially how to rectify it.'),
12
+ })
13
+ .describe('Error associated with the action.');
14
+ const result = z.object({}).describe('Result of the action.');
9
15
  export const push_thermostat_programs_action_attempt = z.discriminatedUnion('status', [
10
16
  common_pending_action_attempt
11
17
  .extend({
12
18
  action_type,
13
19
  })
14
- .describe('Pushing thermostat weekly programs.'),
20
+ .describe('Pushing thermostat weekly programs is pending.'),
15
21
  common_succeeded_action_attempt
16
22
  .extend({
17
23
  action_type,
@@ -1 +1 @@
1
- {"version":3,"file":"push-thermostat-programs.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/action-attempts/push-thermostat-programs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EACL,4BAA4B,EAC5B,6BAA6B,EAC7B,+BAA+B,GAChC,MAAM,aAAa,CAAA;AAEpB,MAAM,WAAW,GAAG,CAAC,CAAC,OAAO,CAAC,0BAA0B,CAAC,CAAA;AAEzD,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC;IACrB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;CACpB,CAAC,CAAA;AAEF,MAAM,MAAM,GAAG,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAA;AAE3B,MAAM,CAAC,MAAM,uCAAuC,GAAG,CAAC,CAAC,kBAAkB,CACzE,QAAQ,EACR;IACE,6BAA6B;SAC1B,MAAM,CAAC;QACN,WAAW;KACZ,CAAC;SACD,QAAQ,CAAC,qCAAqC,CAAC;IAClD,+BAA+B;SAC5B,MAAM,CAAC;QACN,WAAW;QACX,MAAM;KACP,CAAC;SACD,QAAQ,CAAC,+CAA+C,CAAC;IAC5D,4BAA4B;SACzB,MAAM,CAAC,EAAE,WAAW,EAAE,KAAK,EAAE,CAAC;SAC9B,QAAQ,CAAC,4CAA4C,CAAC;CAC1D,CACF,CAAA"}
1
+ {"version":3,"file":"push-thermostat-programs.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/action-attempts/push-thermostat-programs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EACL,4BAA4B,EAC5B,6BAA6B,EAC7B,+BAA+B,GAChC,MAAM,aAAa,CAAA;AAEpB,MAAM,WAAW,GAAG,CAAC;KAClB,OAAO,CAAC,0BAA0B,CAAC;KACnC,QAAQ,CACP,oEAAoE,CACrE,CAAA;AAEH,MAAM,KAAK,GAAG,CAAC;KACZ,MAAM,CAAC;IACN,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,oBAAoB,CAAC;IAC/C,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,CACP,wGAAwG,CACzG;CACJ,CAAC;KACD,QAAQ,CAAC,mCAAmC,CAAC,CAAA;AAEhD,MAAM,MAAM,GAAG,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,QAAQ,CAAC,uBAAuB,CAAC,CAAA;AAE7D,MAAM,CAAC,MAAM,uCAAuC,GAAG,CAAC,CAAC,kBAAkB,CACzE,QAAQ,EACR;IACE,6BAA6B;SAC1B,MAAM,CAAC;QACN,WAAW;KACZ,CAAC;SACD,QAAQ,CAAC,gDAAgD,CAAC;IAC7D,+BAA+B;SAC5B,MAAM,CAAC;QACN,WAAW;QACX,MAAM;KACP,CAAC;SACD,QAAQ,CAAC,+CAA+C,CAAC;IAC5D,4BAA4B;SACzB,MAAM,CAAC,EAAE,WAAW,EAAE,KAAK,EAAE,CAAC;SAC9B,QAAQ,CAAC,4CAA4C,CAAC;CAC1D,CACF,CAAA"}
@@ -1,28 +1,34 @@
1
1
  import { z } from 'zod';
2
2
  import { common_failed_action_attempt, common_pending_action_attempt, common_succeeded_action_attempt, } from './common.js';
3
- const action_type = z.literal('RESET_SANDBOX_WORKSPACE');
4
- const error = z.object({
5
- type: z.string(),
6
- message: z.string(),
7
- });
8
- const result = z.object({});
3
+ const action_type = z
4
+ .literal('RESET_SANDBOX_WORKSPACE')
5
+ .describe('Action attempt to track the status of resetting a sandbox workspace.');
6
+ const error = z
7
+ .object({
8
+ type: z.string().describe('Type of the error.'),
9
+ message: z
10
+ .string()
11
+ .describe('Detailed description of the error. Provides insights into the issue and potentially how to rectify it.'),
12
+ })
13
+ .describe('Error associated with the action.');
14
+ const result = z.object({}).describe('Result of the action.');
9
15
  export const reset_sandbox_workspace_action_attempt = z.discriminatedUnion('status', [
10
16
  common_pending_action_attempt
11
17
  .extend({
12
18
  action_type,
13
19
  })
14
- .describe('Resetting sandbox workspace.'),
20
+ .describe('Resetting a sandbox workspace is pending.'),
15
21
  common_succeeded_action_attempt
16
22
  .extend({
17
23
  action_type,
18
24
  result,
19
25
  })
20
- .describe('Resetting sandbox workspace succeeded.'),
26
+ .describe('Resetting a sandbox workspace succeeded.'),
21
27
  common_failed_action_attempt
22
28
  .extend({
23
29
  action_type,
24
30
  error,
25
31
  })
26
- .describe('Resetting sandbox workspace failed.'),
32
+ .describe('Resetting a sandbox workspace failed.'),
27
33
  ]);
28
34
  //# sourceMappingURL=reset-sandbox-workspace.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"reset-sandbox-workspace.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/action-attempts/reset-sandbox-workspace.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EACL,4BAA4B,EAC5B,6BAA6B,EAC7B,+BAA+B,GAChC,MAAM,aAAa,CAAA;AAEpB,MAAM,WAAW,GAAG,CAAC,CAAC,OAAO,CAAC,yBAAyB,CAAC,CAAA;AAExD,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC;IACrB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;CACpB,CAAC,CAAA;AAEF,MAAM,MAAM,GAAG,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAA;AAE3B,MAAM,CAAC,MAAM,sCAAsC,GAAG,CAAC,CAAC,kBAAkB,CACxE,QAAQ,EACR;IACE,6BAA6B;SAC1B,MAAM,CAAC;QACN,WAAW;KACZ,CAAC;SACD,QAAQ,CAAC,8BAA8B,CAAC;IAC3C,+BAA+B;SAC5B,MAAM,CAAC;QACN,WAAW;QACX,MAAM;KACP,CAAC;SACD,QAAQ,CAAC,wCAAwC,CAAC;IACrD,4BAA4B;SACzB,MAAM,CAAC;QACN,WAAW;QACX,KAAK;KACN,CAAC;SACD,QAAQ,CAAC,qCAAqC,CAAC;CACnD,CACF,CAAA"}
1
+ {"version":3,"file":"reset-sandbox-workspace.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/action-attempts/reset-sandbox-workspace.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EACL,4BAA4B,EAC5B,6BAA6B,EAC7B,+BAA+B,GAChC,MAAM,aAAa,CAAA;AAEpB,MAAM,WAAW,GAAG,CAAC;KAClB,OAAO,CAAC,yBAAyB,CAAC;KAClC,QAAQ,CACP,sEAAsE,CACvE,CAAA;AAEH,MAAM,KAAK,GAAG,CAAC;KACZ,MAAM,CAAC;IACN,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,oBAAoB,CAAC;IAC/C,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,CACP,wGAAwG,CACzG;CACJ,CAAC;KACD,QAAQ,CAAC,mCAAmC,CAAC,CAAA;AAEhD,MAAM,MAAM,GAAG,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,QAAQ,CAAC,uBAAuB,CAAC,CAAA;AAE7D,MAAM,CAAC,MAAM,sCAAsC,GAAG,CAAC,CAAC,kBAAkB,CACxE,QAAQ,EACR;IACE,6BAA6B;SAC1B,MAAM,CAAC;QACN,WAAW;KACZ,CAAC;SACD,QAAQ,CAAC,2CAA2C,CAAC;IACxD,+BAA+B;SAC5B,MAAM,CAAC;QACN,WAAW;QACX,MAAM;KACP,CAAC;SACD,QAAQ,CAAC,0CAA0C,CAAC;IACvD,4BAA4B;SACzB,MAAM,CAAC;QACN,WAAW;QACX,KAAK;KACN,CAAC;SACD,QAAQ,CAAC,uCAAuC,CAAC;CACrD,CACF,CAAA"}
@@ -1,38 +1,56 @@
1
1
  import { z } from 'zod';
2
2
  import { acs_credential, acs_credential_on_encoder, unmanaged_acs_credential, } from '../acs/acs-credential.js';
3
3
  import { common_action_attempt_errors, common_failed_action_attempt, common_pending_action_attempt, common_succeeded_action_attempt, } from './common.js';
4
- const action_type = z.literal('SCAN_CREDENTIAL');
5
- const no_credential_on_encoder_error = z.object({
6
- type: z.literal('no_credential_on_encoder'),
7
- message: z.string(),
8
- });
4
+ const action_type = z
5
+ .literal('SCAN_CREDENTIAL')
6
+ .describe('Action attempt to track the status of scanning a credential.');
7
+ const no_credential_on_encoder_error = z
8
+ .object({
9
+ type: z
10
+ .literal('no_credential_on_encoder')
11
+ .describe('Error type to indicate that there is no credential on the encoder.'),
12
+ message: z
13
+ .string()
14
+ .describe('Detailed description of the error. Provides insights into the issue and potentially how to rectify it.'),
15
+ })
16
+ .describe('Error to indicate that there is no credential on the encoder.');
9
17
  const error = z.union([
10
18
  ...common_action_attempt_errors,
11
19
  no_credential_on_encoder_error,
12
20
  ]);
13
- const warning = z.object({
14
- warning_code: z.union([
21
+ const warning = z
22
+ .object({
23
+ warning_code: z
24
+ .union([
15
25
  z.literal('acs_credential_on_encoder_out_of_sync'),
16
26
  z.literal('acs_credential_on_seam_not_found'),
17
- ]),
18
- warning_message: z.string(),
19
- });
27
+ ])
28
+ .describe('Indicates a warning related to scanning a credential.'),
29
+ warning_message: z
30
+ .string()
31
+ .describe('Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.'),
32
+ })
33
+ .describe('Warning related to scanning a credential.');
20
34
  const acs_credential_on_seam = acs_credential.or(unmanaged_acs_credential);
21
- const result = z.object({
35
+ const result = z
36
+ .object({
22
37
  acs_credential_on_encoder: acs_credential_on_encoder
23
38
  .nullable()
24
- .describe('Snapshot of credential data read from physical encoder.'),
39
+ .describe('Snapshot of credential data read from the physical encoder.'),
25
40
  acs_credential_on_seam: acs_credential_on_seam
26
41
  .nullable()
27
- .describe('Matching acs_credential currently encoded on this card.'),
28
- warnings: z.array(warning),
29
- });
42
+ .describe('Corresponding credential data as stored on Seam and the access system.'),
43
+ warnings: z
44
+ .array(warning)
45
+ .describe('Warnings related to scanning the credential, such as mismatches between the credential data currently encoded on the card and the corresponding data stored on Seam and the access system.'),
46
+ })
47
+ .describe('Result of scanning a card. If the attempt was successful, includes a snapshot of credential data read from the physical encoder, the corresponding data stored on Seam and the access system, and any associated warnings.');
30
48
  export const scan_credential_action_attempt = z.discriminatedUnion('status', [
31
49
  common_pending_action_attempt
32
50
  .extend({
33
51
  action_type,
34
52
  })
35
- .describe('Reading credential data from physical encoder.'),
53
+ .describe('Reading credential data from the physical encoder is pending.'),
36
54
  common_succeeded_action_attempt
37
55
  .extend({
38
56
  action_type,
@@ -1 +1 @@
1
- {"version":3,"file":"scan-credential.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/action-attempts/scan-credential.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EACL,cAAc,EACd,yBAAyB,EACzB,wBAAwB,GACzB,MAAM,0BAA0B,CAAA;AACjC,OAAO,EACL,4BAA4B,EAC5B,4BAA4B,EAC5B,6BAA6B,EAC7B,+BAA+B,GAChC,MAAM,aAAa,CAAA;AAEpB,MAAM,WAAW,GAAG,CAAC,CAAC,OAAO,CAAC,iBAAiB,CAAC,CAAA;AAEhD,MAAM,8BAA8B,GAAG,CAAC,CAAC,MAAM,CAAC;IAC9C,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,0BAA0B,CAAC;IAC3C,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;CACpB,CAAC,CAAA;AAEF,MAAM,KAAK,GAAG,CAAC,CAAC,KAAK,CAAC;IACpB,GAAG,4BAA4B;IAC/B,8BAA8B;CAC/B,CAAC,CAAA;AAEF,MAAM,OAAO,GAAG,CAAC,CAAC,MAAM,CAAC;IACvB,YAAY,EAAE,CAAC,CAAC,KAAK,CAAC;QACpB,CAAC,CAAC,OAAO,CAAC,uCAAuC,CAAC;QAClD,CAAC,CAAC,OAAO,CAAC,kCAAkC,CAAC;KAC9C,CAAC;IACF,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE;CAC5B,CAAC,CAAA;AAEF,MAAM,sBAAsB,GAAG,cAAc,CAAC,EAAE,CAAC,wBAAwB,CAAC,CAAA;AAE1E,MAAM,MAAM,GAAG,CAAC,CAAC,MAAM,CAAC;IACtB,yBAAyB,EAAE,yBAAyB;SACjD,QAAQ,EAAE;SACV,QAAQ,CAAC,yDAAyD,CAAC;IACtE,sBAAsB,EAAE,sBAAsB;SAC3C,QAAQ,EAAE;SACV,QAAQ,CAAC,yDAAyD,CAAC;IACtE,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC;CAC3B,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,8BAA8B,GAAG,CAAC,CAAC,kBAAkB,CAAC,QAAQ,EAAE;IAC3E,6BAA6B;SAC1B,MAAM,CAAC;QACN,WAAW;KACZ,CAAC;SACD,QAAQ,CAAC,gDAAgD,CAAC;IAC7D,+BAA+B;SAC5B,MAAM,CAAC;QACN,WAAW;QACX,MAAM;KACP,CAAC;SACD,QAAQ,CAAC,0DAA0D,CAAC;IACvE,4BAA4B;SACzB,MAAM,CAAC,EAAE,WAAW,EAAE,KAAK,EAAE,CAAC;SAC9B,QAAQ,CAAC,uDAAuD,CAAC;CACrE,CAAC,CAAA"}
1
+ {"version":3,"file":"scan-credential.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/action-attempts/scan-credential.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EACL,cAAc,EACd,yBAAyB,EACzB,wBAAwB,GACzB,MAAM,0BAA0B,CAAA;AACjC,OAAO,EACL,4BAA4B,EAC5B,4BAA4B,EAC5B,6BAA6B,EAC7B,+BAA+B,GAChC,MAAM,aAAa,CAAA;AAEpB,MAAM,WAAW,GAAG,CAAC;KAClB,OAAO,CAAC,iBAAiB,CAAC;KAC1B,QAAQ,CAAC,8DAA8D,CAAC,CAAA;AAE3E,MAAM,8BAA8B,GAAG,CAAC;KACrC,MAAM,CAAC;IACN,IAAI,EAAE,CAAC;SACJ,OAAO,CAAC,0BAA0B,CAAC;SACnC,QAAQ,CACP,oEAAoE,CACrE;IACH,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,CACP,wGAAwG,CACzG;CACJ,CAAC;KACD,QAAQ,CAAC,+DAA+D,CAAC,CAAA;AAE5E,MAAM,KAAK,GAAG,CAAC,CAAC,KAAK,CAAC;IAC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import { z } from 'zod';
2
2
  import { common_failed_action_attempt, common_pending_action_attempt, common_succeeded_action_attempt, } from './common.js';
3
- const action_type = z.literal('SET_FAN_MODE');
4
- const error = z.object({
5
- type: z.string(),
6
- message: z.string(),
7
- });
8
- const result = z.object({});
3
+ const action_type = z
4
+ .literal('SET_FAN_MODE')
5
+ .describe('Action attempt to track the status of setting the fan mode on a thermostat.');
6
+ const error = z
7
+ .object({
8
+ type: z.string().describe('Type of the error.'),
9
+ message: z
10
+ .string()
11
+ .describe('Detailed description of the error. Provides insights into the issue and potentially how to rectify it.'),
12
+ })
13
+ .describe('Error associated with the action.');
14
+ const result = z.object({}).describe('Result of the action.');
9
15
  export const set_fan_mode_action_attempt = z.discriminatedUnion('status', [
10
16
  common_pending_action_attempt
11
17
  .extend({
12
18
  action_type,
13
19
  })
14
- .describe('Setting fan mode.'),
20
+ .describe('Setting the fan mode is pending.'),
15
21
  common_succeeded_action_attempt
16
22
  .extend({
17
23
  action_type,
18
24
  result,
19
25
  })
20
- .describe('Setting fan mode succeeded.'),
26
+ .describe('Setting the fan mode succeeded.'),
21
27
  common_failed_action_attempt
22
28
  .extend({ action_type, error })
23
- .describe('Setting fan mode failed.'),
29
+ .describe('Setting the fan mode failed.'),
24
30
  ]);
25
31
  //# sourceMappingURL=set-fan-mode.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"set-fan-mode.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/action-attempts/set-fan-mode.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EACL,4BAA4B,EAC5B,6BAA6B,EAC7B,+BAA+B,GAChC,MAAM,aAAa,CAAA;AAEpB,MAAM,WAAW,GAAG,CAAC,CAAC,OAAO,CAAC,cAAc,CAAC,CAAA;AAE7C,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC;IACrB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,OAAO,EAAE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,kBAAkB,CAAC,QAAQ,EAAE;IACxE,6BAA6B;SAC1B,MAAM,CAAC;QACN,WAAW;KACZ,CAAC;SACD,QAAQ,CAAC,kCAAkC,CAAC;IAC/C,+BAA+B;SAC5B,MAAM,CAAC;QACN,WAAW;QACX,MAAM;KACP,CAAC;SACD,QAAQ,CAAC,iCAAiC,CAAC;IAC9C,4BAA4B;SACzB,MAAM,CAAC,EAAE,WAAW,EAAE,KAAK,EAAE,CAAC;SAC9B,QAAQ,CAAC,8BAA8B,CAAC;CAC5C,CAAC,CAAA"}
@@ -1,25 +1,31 @@
1
1
  import { z } from 'zod';
2
2
  import { common_failed_action_attempt, common_pending_action_attempt, common_succeeded_action_attempt, } from './common.js';
3
- const action_type = z.literal('SET_HVAC_MODE');
4
- const error = z.object({
5
- type: z.string(),
6
- message: z.string(),
7
- });
8
- const result = z.object({});
3
+ const action_type = z
4
+ .literal('SET_HVAC_MODE')
5
+ .describe('Action attempt to track the status of setting the HVAC mode on a thermostat.');
6
+ const error = z
7
+ .object({
8
+ type: z.string().describe('Type of the error.'),
9
+ message: z
10
+ .string()
11
+ .describe('Detailed description of the error. Provides insights into the issue and potentially how to rectify it.'),
12
+ })
13
+ .describe('Error associated with the action.');
14
+ const result = z.object({}).describe('Result of the action.');
9
15
  export const set_hvac_mode_action_attempt = z.discriminatedUnion('status', [
10
16
  common_pending_action_attempt
11
17
  .extend({
12
18
  action_type,
13
19
  })
14
- .describe('Setting HVAC mode.'),
20
+ .describe('Setting the HVAC mode is pending.'),
15
21
  common_succeeded_action_attempt
16
22
  .extend({
17
23
  action_type,
18
24
  result,
19
25
  })
20
- .describe('Setting HVAC mode succeeded.'),
26
+ .describe('Setting the HVAC mode succeeded.'),
21
27
  common_failed_action_attempt
22
28
  .extend({ action_type, error })
23
- .describe('Setting HVAC mode failed.'),
29
+ .describe('Setting the HVAC mode failed.'),
24
30
  ]);
25
31
  //# sourceMappingURL=set-hvac-mode.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"set-hvac-mode.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/action-attempts/set-hvac-mode.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EACL,4BAA4B,EAC5B,6BAA6B,EAC7B,+BAA+B,GAChC,MAAM,aAAa,CAAA;AAEpB,MAAM,WAAW,GAAG,CAAC,CAAC,OAAO,CAAC,eAAe,CAAC,CAAA;AAE9C,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC;IACrB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;CACpB,CAAC,CAAA;AAEF,MAAM,MAAM,GAAG,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAA;AAE3B,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAAC,CAAC,kBAAkB,CAAC,QAAQ,EAAE;IACzE,6BAA6B;SAC1B,MAAM,CAAC;QACN,WAAW;KACZ,CAAC;SACD,QAAQ,CAAC,oBAAoB,CAAC;IACjC,+BAA+B;SAC5B,MAAM,CAAC;QACN,WAAW;QACX,MAAM;KACP,CAAC;SACD,QAAQ,CAAC,8BAA8B,CAAC;IAC3C,4BAA4B;SACzB,MAAM,CAAC,EAAE,WAAW,EAAE,KAAK,EAAE,CAAC;SAC9B,QAAQ,CAAC,2BAA2B,CAAC;CACzC,CAAC,CAAA"}
1
+ {"version":3,"file":"set-hvac-mode.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/action-attempts/set-hvac-mode.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EACL,4BAA4B,EAC5B,6BAA6B,EAC7B,+BAA+B,GAChC,MAAM,aAAa,CAAA;AAEpB,MAAM,WAAW,GAAG,CAAC;KAClB,OAAO,CAAC,eAAe,CAAC;KACxB,QAAQ,CACP,8EAA8E,CAC/E,CAAA;AAEH,MAAM,KAAK,GAAG,CAAC;KACZ,MAAM,CAAC;IACN,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,oBAAoB,CAAC;IAC/C,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,CACP,wGAAwG,CACzG;CACJ,CAAC;KACD,QAAQ,CAAC,mCAAmC,CAAC,CAAA;AAEhD,MAAM,MAAM,GAAG,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,QAAQ,CAAC,uBAAuB,CAAC,CAAA;AAE7D,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAAC,CAAC,kBAAkB,CAAC,QAAQ,EAAE;IACzE,6BAA6B;SAC1B,MAAM,CAAC;QACN,WAAW;KACZ,CAAC;SACD,QAAQ,CAAC,mCAAmC,CAAC;IAChD,+BAA+B;SAC5B,MAAM,CAAC;QACN,WAAW;QACX,MAAM;KACP,CAAC;SACD,QAAQ,CAAC,kCAAkC,CAAC;IAC/C,4BAA4B;SACzB,MAAM,CAAC,EAAE,WAAW,EAAE,KAAK,EAAE,CAAC;SAC9B,QAAQ,CAAC,+BAA+B,CAAC;CAC7C,CAAC,CAAA"}
@@ -1,28 +1,34 @@
1
1
  import { z } from 'zod';
2
2
  import { common_failed_action_attempt, common_pending_action_attempt, common_succeeded_action_attempt, } from './common.js';
3
- const action_type = z.literal('SIMULATE_KEYPAD_CODE_ENTRY');
4
- const error = z.object({
5
- type: z.string(),
6
- message: z.string(),
7
- });
8
- const result = z.object({});
3
+ const action_type = z
4
+ .literal('SIMULATE_KEYPAD_CODE_ENTRY')
5
+ .describe('Action attempt to track the status of simulating a keypad code entry.');
6
+ const error = z
7
+ .object({
8
+ type: z.string().describe('Type of the error.'),
9
+ message: z
10
+ .string()
11
+ .describe('Detailed description of the error. Provides insights into the issue and potentially how to rectify it.'),
12
+ })
13
+ .describe('Error associated with the action.');
14
+ const result = z.object({}).describe('Result of the action.');
9
15
  export const simulate_keypad_code_entry_action_attempt = z.discriminatedUnion('status', [
10
16
  common_pending_action_attempt
11
17
  .extend({
12
18
  action_type,
13
19
  })
14
- .describe('Simulating keypad code entry.'),
20
+ .describe('Simulating a keypad code entry is pending.'),
15
21
  common_succeeded_action_attempt
16
22
  .extend({
17
23
  action_type,
18
24
  result,
19
25
  })
20
- .describe('Simulating keypad code entry succeeded.'),
26
+ .describe('Simulating a keypad code entry succeeded.'),
21
27
  common_failed_action_attempt
22
28
  .extend({
23
29
  action_type,
24
30
  error,
25
31
  })
26
- .describe('Simulating keypad code entry failed.'),
32
+ .describe('Simulating a keypad code entry failed.'),
27
33
  ]);
28
34
  //# sourceMappingURL=simulate-keypad-code-entry.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"simulate-keypad-code-entry.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/action-attempts/simulate-keypad-code-entry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EACL,4BAA4B,EAC5B,6BAA6B,EAC7B,+BAA+B,GAChC,MAAM,aAAa,CAAA;AAEpB,MAAM,WAAW,GAAG,CAAC,CAAC,OAAO,CAAC,4BAA4B,CAAC,CAAA;AAE3D,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC;IACrB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;CACpB,CAAC,CAAA;AAEF,MAAM,MAAM,GAAG,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAA;AAE3B,MAAM,CAAC,MAAM,yCAAyC,GAAG,CAAC,CAAC,kBAAkB,CAC3E,QAAQ,EACR;IACE,6BAA6B;SAC1B,MAAM,CAAC;QACN,WAAW;KACZ,CAAC;SACD,QAAQ,CAAC,+BAA+B,CAAC;IAC5C,+BAA+B;SAC5B,MAAM,CAAC;QACN,WAAW;QACX,MAAM;KACP,CAAC;SACD,QAAQ,CAAC,yCAAyC,CAAC;IACtD,4BAA4B;SACzB,MAAM,CAAC;QACN,WAAW;QACX,KAAK;KACN,CAAC;SACD,QAAQ,CAAC,sCAAsC,CAAC;CACpD,CACF,CAAA"}
1
+ {"version":3,"file":"simulate-keypad-code-entry.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/action-attempts/simulate-keypad-code-entry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EACL,4BAA4B,EAC5B,6BAA6B,EAC7B,+BAA+B,GAChC,MAAM,aAAa,CAAA;AAEpB,MAAM,WAAW,GAAG,CAAC;KAClB,OAAO,CAAC,4BAA4B,CAAC;KACrC,QAAQ,CACP,uEAAuE,CACxE,CAAA;AAEH,MAAM,KAAK,GAAG,CAAC;KACZ,MAAM,CAAC;IACN,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,oBAAoB,CAAC;IAC/C,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,CACP,wGAAwG,CACzG;CACJ,CAAC;KACD,QAAQ,CAAC,mCAAmC,CAAC,CAAA;AAEhD,MAAM,MAAM,GAAG,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,QAAQ,CAAC,uBAAuB,CAAC,CAAA;AAE7D,MAAM,CAAC,MAAM,yCAAyC,GAAG,CAAC,CAAC,kBAAkB,CAC3E,QAAQ,EACR;IACE,6BAA6B;SAC1B,MAAM,CAAC;QACN,WAAW;KACZ,CAAC;SACD,QAAQ,CAAC,4CAA4C,CAAC;IACzD,+BAA+B;SAC5B,MAAM,CAAC;QACN,WAAW;QACX,MAAM;KACP,CAAC;SACD,QAAQ,CAAC,2CAA2C,CAAC;IACxD,4BAA4B;SACzB,MAAM,CAAC;QACN,WAAW;QACX,KAAK;KACN,CAAC;SACD,QAAQ,CAAC,wCAAwC,CAAC;CACtD,CACF,CAAA"}