@seamapi/types 1.263.1 → 1.264.1

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 (40) hide show
  1. package/dist/connect.cjs +438 -84
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +3745 -454
  4. package/lib/seam/connect/models/acs/acs-credential.d.ts +83 -0
  5. package/lib/seam/connect/models/acs/acs-credential.js +38 -0
  6. package/lib/seam/connect/models/acs/acs-credential.js.map +1 -1
  7. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +862 -53
  8. package/lib/seam/connect/models/action-attempts/action-attempt.js +2 -2
  9. package/lib/seam/connect/models/action-attempts/action-attempt.js.map +1 -1
  10. package/lib/seam/connect/models/action-attempts/deprecated.d.ts +61 -21
  11. package/lib/seam/connect/models/action-attempts/deprecated.js +13 -5
  12. package/lib/seam/connect/models/action-attempts/deprecated.js.map +1 -1
  13. package/lib/seam/connect/models/action-attempts/encode-card.d.ts +3 -18
  14. package/lib/seam/connect/models/action-attempts/encode-card.js +1 -12
  15. package/lib/seam/connect/models/action-attempts/encode-card.js.map +1 -1
  16. package/lib/seam/connect/models/action-attempts/index.d.ts +1 -0
  17. package/lib/seam/connect/models/action-attempts/index.js +1 -0
  18. package/lib/seam/connect/models/action-attempts/index.js.map +1 -1
  19. package/lib/seam/connect/models/action-attempts/scan-card.d.ts +875 -0
  20. package/lib/seam/connect/models/action-attempts/{read-card.js → scan-card.js} +8 -12
  21. package/lib/seam/connect/models/action-attempts/scan-card.js.map +1 -0
  22. package/lib/seam/connect/openapi.d.ts +308 -38
  23. package/lib/seam/connect/openapi.js +368 -42
  24. package/lib/seam/connect/openapi.js.map +1 -1
  25. package/lib/seam/connect/route-types.d.ts +2522 -362
  26. package/lib/seam/connect/schemas.d.ts +1 -1
  27. package/lib/seam/connect/schemas.js +1 -1
  28. package/lib/seam/connect/schemas.js.map +1 -1
  29. package/package.json +2 -2
  30. package/src/lib/seam/connect/models/acs/acs-credential.ts +48 -0
  31. package/src/lib/seam/connect/models/action-attempts/action-attempt.ts +2 -2
  32. package/src/lib/seam/connect/models/action-attempts/deprecated.ts +13 -5
  33. package/src/lib/seam/connect/models/action-attempts/encode-card.ts +1 -12
  34. package/src/lib/seam/connect/models/action-attempts/index.ts +1 -0
  35. package/src/lib/seam/connect/models/action-attempts/{read-card.ts → scan-card.ts} +15 -12
  36. package/src/lib/seam/connect/openapi.ts +373 -44
  37. package/src/lib/seam/connect/route-types.ts +3362 -502
  38. package/src/lib/seam/connect/schemas.ts +3 -0
  39. package/lib/seam/connect/models/action-attempts/read-card.d.ts +0 -91
  40. package/lib/seam/connect/models/action-attempts/read-card.js.map +0 -1
@@ -3,8 +3,8 @@ import { activate_climate_preset_action_attempt } from './activate-climate-prese
3
3
  import { deprecated_action_attempts } from './deprecated.js';
4
4
  import { encode_card_action_attempt } from './encode-card.js';
5
5
  import { lock_door_action_attempt } from './lock-door.js';
6
- import { read_card_action_attempt } from './read-card.js';
7
6
  import { reset_sandbox_workspace_action_attempt } from './reset-sandbox-workspace.js';
7
+ import { scan_card_action_attempt } from './scan-card.js';
8
8
  import { set_cool_action_attempt } from './set-cool.js';
9
9
  import { set_fan_mode_action_attempt } from './set-fan-mode.js';
10
10
  import { set_heat_action_attempt } from './set-heat.js';
@@ -14,7 +14,7 @@ import { unlock_door_action_attempt } from './unlock-door.js';
14
14
  export const action_attempt = z.union([
15
15
  ...lock_door_action_attempt.options,
16
16
  ...unlock_door_action_attempt.options,
17
- ...read_card_action_attempt.options,
17
+ ...scan_card_action_attempt.options,
18
18
  ...encode_card_action_attempt.options,
19
19
  ...reset_sandbox_workspace_action_attempt.options,
20
20
  ...set_cool_action_attempt.options,
@@ -1 +1 @@
1
- {"version":3,"file":"action-attempt.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/action-attempts/action-attempt.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,sCAAsC,EAAE,MAAM,8BAA8B,CAAA;AACrF,OAAO,EAAE,0BAA0B,EAAE,MAAM,iBAAiB,CAAA;AAC5D,OAAO,EAAE,0BAA0B,EAAE,MAAM,kBAAkB,CAAA;AAC7D,OAAO,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAA;AACzD,OAAO,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAA;AACzD,OAAO,EAAE,sCAAsC,EAAE,MAAM,8BAA8B,CAAA;AACrF,OAAO,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAA;AACvD,OAAO,EAAE,2BAA2B,EAAE,MAAM,mBAAmB,CAAA;AAC/D,OAAO,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAA;AACvD,OAAO,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAA;AACjE,OAAO,EAAE,iCAAiC,EAAE,MAAM,yBAAyB,CAAA;AAC3E,OAAO,EAAE,0BAA0B,EAAE,MAAM,kBAAkB,CAAA;AAE7D,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC;IACpC,GAAG,wBAAwB,CAAC,OAAO;IACnC,GAAG,0BAA0B,CAAC,OAAO;IACrC,GAAG,wBAAwB,CAAC,OAAO;IACnC,GAAG,0BAA0B,CAAC,OAAO;IACrC,GAAG,sCAAsC,CAAC,OAAO;IACjD,GAAG,uBAAuB,CAAC,OAAO;IAClC,GAAG,uBAAuB,CAAC,OAAO;IAClC,GAAG,4BAA4B,CAAC,OAAO;IACvC,GAAG,2BAA2B,CAAC,OAAO;IACtC,GAAG,iCAAiC,CAAC,OAAO;IAC5C,GAAG,sCAAsC,CAAC,OAAO;IACjD,GAAG,0BAA0B;CAC9B,CAAC,CAAA"}
1
+ {"version":3,"file":"action-attempt.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/action-attempts/action-attempt.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CA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ES">;
31
- result: z.ZodAny;
31
+ result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
32
32
  }>, "strip", z.ZodTypeAny, {
33
33
  error: null;
34
34
  status: "success";
35
35
  action_attempt_id: string;
36
+ result: {};
36
37
  action_type: "SYNC_ACCESS_CODES";
37
- result?: any;
38
38
  }, {
39
39
  error: null;
40
40
  status: "success";
41
41
  action_attempt_id: string;
42
+ result: {};
42
43
  action_type: "SYNC_ACCESS_CODES";
43
- result?: any;
44
44
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
45
45
  action_attempt_id: z.ZodString;
46
46
  status: z.ZodEnum<["pending", "success", "error"]>;
@@ -106,19 +106,29 @@ export declare const deprecated_action_attempts: readonly [z.ZodObject<z.objectU
106
106
  error: z.ZodNull;
107
107
  }>, {
108
108
  action_type: z.ZodLiteral<"CREATE_ACCESS_CODE">;
109
- result: z.ZodAny;
109
+ result: z.ZodObject<{
110
+ access_code: z.ZodAny;
111
+ }, "strip", z.ZodTypeAny, {
112
+ access_code?: any;
113
+ }, {
114
+ access_code?: any;
115
+ }>;
110
116
  }>, "strip", z.ZodTypeAny, {
111
117
  error: null;
112
118
  status: "success";
113
119
  action_attempt_id: string;
120
+ result: {
121
+ access_code?: any;
122
+ };
114
123
  action_type: "CREATE_ACCESS_CODE";
115
- result?: any;
116
124
  }, {
117
125
  error: null;
118
126
  status: "success";
119
127
  action_attempt_id: string;
128
+ result: {
129
+ access_code?: any;
130
+ };
120
131
  action_type: "CREATE_ACCESS_CODE";
121
- result?: any;
122
132
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
123
133
  action_attempt_id: z.ZodString;
124
134
  status: z.ZodEnum<["pending", "success", "error"]>;
@@ -184,19 +194,19 @@ export declare const deprecated_action_attempts: readonly [z.ZodObject<z.objectU
184
194
  error: z.ZodNull;
185
195
  }>, {
186
196
  action_type: z.ZodLiteral<"DELETE_ACCESS_CODE">;
187
- result: z.ZodAny;
197
+ result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
188
198
  }>, "strip", z.ZodTypeAny, {
189
199
  error: null;
190
200
  status: "success";
191
201
  action_attempt_id: string;
202
+ result: {};
192
203
  action_type: "DELETE_ACCESS_CODE";
193
- result?: any;
194
204
  }, {
195
205
  error: null;
196
206
  status: "success";
197
207
  action_attempt_id: string;
208
+ result: {};
198
209
  action_type: "DELETE_ACCESS_CODE";
199
- result?: any;
200
210
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
201
211
  action_attempt_id: z.ZodString;
202
212
  status: z.ZodEnum<["pending", "success", "error"]>;
@@ -262,19 +272,29 @@ export declare const deprecated_action_attempts: readonly [z.ZodObject<z.objectU
262
272
  error: z.ZodNull;
263
273
  }>, {
264
274
  action_type: z.ZodLiteral<"UPDATE_ACCESS_CODE">;
265
- result: z.ZodAny;
275
+ result: z.ZodObject<{
276
+ access_code: z.ZodAny;
277
+ }, "strip", z.ZodTypeAny, {
278
+ access_code?: any;
279
+ }, {
280
+ access_code?: any;
281
+ }>;
266
282
  }>, "strip", z.ZodTypeAny, {
267
283
  error: null;
268
284
  status: "success";
269
285
  action_attempt_id: string;
286
+ result: {
287
+ access_code?: any;
288
+ };
270
289
  action_type: "UPDATE_ACCESS_CODE";
271
- result?: any;
272
290
  }, {
273
291
  error: null;
274
292
  status: "success";
275
293
  action_attempt_id: string;
294
+ result: {
295
+ access_code?: any;
296
+ };
276
297
  action_type: "UPDATE_ACCESS_CODE";
277
- result?: any;
278
298
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
279
299
  action_attempt_id: z.ZodString;
280
300
  status: z.ZodEnum<["pending", "success", "error"]>;
@@ -340,19 +360,29 @@ export declare const deprecated_action_attempts: readonly [z.ZodObject<z.objectU
340
360
  error: z.ZodNull;
341
361
  }>, {
342
362
  action_type: z.ZodLiteral<"CREATE_NOISE_THRESHOLD">;
343
- result: z.ZodAny;
363
+ result: z.ZodObject<{
364
+ noise_threshold: z.ZodAny;
365
+ }, "strip", z.ZodTypeAny, {
366
+ noise_threshold?: any;
367
+ }, {
368
+ noise_threshold?: any;
369
+ }>;
344
370
  }>, "strip", z.ZodTypeAny, {
345
371
  error: null;
346
372
  status: "success";
347
373
  action_attempt_id: string;
374
+ result: {
375
+ noise_threshold?: any;
376
+ };
348
377
  action_type: "CREATE_NOISE_THRESHOLD";
349
- result?: any;
350
378
  }, {
351
379
  error: null;
352
380
  status: "success";
353
381
  action_attempt_id: string;
382
+ result: {
383
+ noise_threshold?: any;
384
+ };
354
385
  action_type: "CREATE_NOISE_THRESHOLD";
355
- result?: any;
356
386
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
357
387
  action_attempt_id: z.ZodString;
358
388
  status: z.ZodEnum<["pending", "success", "error"]>;
@@ -418,19 +448,19 @@ export declare const deprecated_action_attempts: readonly [z.ZodObject<z.objectU
418
448
  error: z.ZodNull;
419
449
  }>, {
420
450
  action_type: z.ZodLiteral<"DELETE_NOISE_THRESHOLD">;
421
- result: z.ZodAny;
451
+ result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
422
452
  }>, "strip", z.ZodTypeAny, {
423
453
  error: null;
424
454
  status: "success";
425
455
  action_attempt_id: string;
456
+ result: {};
426
457
  action_type: "DELETE_NOISE_THRESHOLD";
427
- result?: any;
428
458
  }, {
429
459
  error: null;
430
460
  status: "success";
431
461
  action_attempt_id: string;
462
+ result: {};
432
463
  action_type: "DELETE_NOISE_THRESHOLD";
433
- result?: any;
434
464
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
435
465
  action_attempt_id: z.ZodString;
436
466
  status: z.ZodEnum<["pending", "success", "error"]>;
@@ -496,19 +526,29 @@ export declare const deprecated_action_attempts: readonly [z.ZodObject<z.objectU
496
526
  error: z.ZodNull;
497
527
  }>, {
498
528
  action_type: z.ZodLiteral<"UPDATE_NOISE_THRESHOLD">;
499
- result: z.ZodAny;
529
+ result: z.ZodObject<{
530
+ noise_threshold: z.ZodAny;
531
+ }, "strip", z.ZodTypeAny, {
532
+ noise_threshold?: any;
533
+ }, {
534
+ noise_threshold?: any;
535
+ }>;
500
536
  }>, "strip", z.ZodTypeAny, {
501
537
  error: null;
502
538
  status: "success";
503
539
  action_attempt_id: string;
540
+ result: {
541
+ noise_threshold?: any;
542
+ };
504
543
  action_type: "UPDATE_NOISE_THRESHOLD";
505
- result?: any;
506
544
  }, {
507
545
  error: null;
508
546
  status: "success";
509
547
  action_attempt_id: string;
548
+ result: {
549
+ noise_threshold?: any;
550
+ };
510
551
  action_type: "UPDATE_NOISE_THRESHOLD";
511
- result?: any;
512
552
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
513
553
  action_attempt_id: z.ZodString;
514
554
  status: z.ZodEnum<["pending", "success", "error"]>;
@@ -4,7 +4,7 @@ const error = z.object({
4
4
  type: z.string(),
5
5
  message: z.string(),
6
6
  });
7
- const result = z.any();
7
+ const result = z.object({});
8
8
  const sync_access_codes_action_attempt = z.discriminatedUnion('status', [
9
9
  common_pending_action_attempt.extend({
10
10
  action_type: z.literal('SYNC_ACCESS_CODES'),
@@ -24,7 +24,9 @@ const create_access_code_action_attempt = z.discriminatedUnion('status', [
24
24
  }),
25
25
  common_succeeded_action_attempt.extend({
26
26
  action_type: z.literal('CREATE_ACCESS_CODE'),
27
- result,
27
+ result: z.object({
28
+ access_code: z.any(),
29
+ }),
28
30
  }),
29
31
  common_failed_action_attempt.extend({
30
32
  action_type: z.literal('CREATE_ACCESS_CODE'),
@@ -50,7 +52,9 @@ const update_access_code_action_attempt = z.discriminatedUnion('status', [
50
52
  }),
51
53
  common_succeeded_action_attempt.extend({
52
54
  action_type: z.literal('UPDATE_ACCESS_CODE'),
53
- result,
55
+ result: z.object({
56
+ access_code: z.any(),
57
+ }),
54
58
  }),
55
59
  common_failed_action_attempt.extend({
56
60
  action_type: z.literal('UPDATE_ACCESS_CODE'),
@@ -63,7 +67,9 @@ const create_noise_threshold_action_attempt = z.discriminatedUnion('status', [
63
67
  }),
64
68
  common_succeeded_action_attempt.extend({
65
69
  action_type: z.literal('CREATE_NOISE_THRESHOLD'),
66
- result,
70
+ result: z.object({
71
+ noise_threshold: z.any(),
72
+ }),
67
73
  }),
68
74
  common_failed_action_attempt.extend({
69
75
  action_type: z.literal('CREATE_NOISE_THRESHOLD'),
@@ -89,7 +95,9 @@ const update_noise_threshold_action_attempt = z.discriminatedUnion('status', [
89
95
  }),
90
96
  common_succeeded_action_attempt.extend({
91
97
  action_type: z.literal('UPDATE_NOISE_THRESHOLD'),
92
- result,
98
+ result: z.object({
99
+ noise_threshold: z.any(),
100
+ }),
93
101
  }),
94
102
  common_failed_action_attempt.extend({
95
103
  action_type: z.literal('UPDATE_NOISE_THRESHOLD'),
@@ -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,GAAG,EAAE,CAAA;AAEtB,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;I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C,MAAM,CAAC;QAClC,WAAW,EAAE,CAAC,CAAC,OAAO,CAAC,wBAAwB,CAAC;QAChD,KAAK;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,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;C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jD,CAAC;IACF,+BAA+B,CAAC,MAAM,CAAC;QACrC,WAAW,EAAE,CAAC,CAAC,OAAO,CAAC,wBAAwB,CAAC;QAChD,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC;YACf,eAAe,EAAE,CAAC,CAAC,GAAG,EAAE;SACzB,CAAC;KACH,CAAC;IACF,4BAA4B,CAAC,MAAM,CAAC;QAClC,WAAW,EAAE,CAAC,CAAC,OAAO,CAAC,wBAAwB,CAAC;QAChD,KAAK;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"}
@@ -28,33 +28,18 @@ export declare const encode_card_action_attempt: z.ZodDiscriminatedUnion<"status
28
28
  error: z.ZodNull;
29
29
  }>, {
30
30
  action_type: z.ZodLiteral<"ENCODE_CARD">;
31
- result: z.ZodObject<{
32
- acs_credential_id: z.ZodNullable<z.ZodString>;
33
- card_number: z.ZodNullable<z.ZodString>;
34
- }, "strip", z.ZodTypeAny, {
35
- acs_credential_id: string | null;
36
- card_number: string | null;
37
- }, {
38
- acs_credential_id: string | null;
39
- card_number: string | null;
40
- }>;
31
+ result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
41
32
  }>, "strip", z.ZodTypeAny, {
42
33
  error: null;
43
34
  status: "success";
44
35
  action_attempt_id: string;
45
- result: {
46
- acs_credential_id: string | null;
47
- card_number: string | null;
48
- };
36
+ result: {};
49
37
  action_type: "ENCODE_CARD";
50
38
  }, {
51
39
  error: null;
52
40
  status: "success";
53
41
  action_attempt_id: string;
54
- result: {
55
- acs_credential_id: string | null;
56
- card_number: string | null;
57
- };
42
+ result: {};
58
43
  action_type: "ENCODE_CARD";
59
44
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
60
45
  action_attempt_id: z.ZodString;
@@ -5,18 +5,7 @@ const error = z.object({
5
5
  type: z.string(), // TODO This should be typed properly with the possible errors
6
6
  message: z.string(),
7
7
  });
8
- const result = z.object({
9
- acs_credential_id: z
10
- .string()
11
- .uuid()
12
- .nullable()
13
- .describe('Matching acs_credential currently encoded on this card.'),
14
- card_number: z
15
- .string()
16
- .nullable()
17
- .describe('A number or string that physically identifies this card.'),
18
- // TODO visionline_metadata: visionline_credential_metadata,
19
- });
8
+ const result = z.object({});
20
9
  export const encode_card_action_attempt = z.discriminatedUnion('status', [
21
10
  common_pending_action_attempt
22
11
  .extend({
@@ -1 +1 @@
1
- {"version":3,"file":"encode-card.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/action-attempts/encode-card.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,aAAa,CAAC,CAAA;AAE5C,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC;IACrB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,8DAA8D;IAChF,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;CACpB,CAAC,CAAA;AAEF,MAAM,MAAM,GAAG,CAAC,CAAC,MAAM,CAAC;IACtB,iBAAiB,EAAE,CAAC;SACjB,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,EAAE;SACV,QAAQ,CAAC,yDAAyD,CAAC;IACtE,WAAW,EAAE,CAAC;SACX,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,0DAA0D,CAAC;IACvE,4DAA4D;CAC7D,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,CAAC,kBAAkB,CAAC,QAAQ,EAAE;IACvE,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,qDAAqD,CAAC;IAClE,4BAA4B;SACzB,MAAM,CAAC,EAAE,WAAW,EAAE,KAAK,EAAE,CAAC;SAC9B,QAAQ,CAAC,kDAAkD,CAAC;CAChE,CAAC,CAAA"}
1
+ {"version":3,"file":"encode-card.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/action-attempts/encode-card.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,aAAa,CAAC,CAAA;AAE5C,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC;IACrB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,8DAA8D;IAChF,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;CACpB,CAAC,CAAA;AAEF,MAAM,MAAM,GAAG,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAA;AAE3B,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,CAAC,kBAAkB,CAAC,QAAQ,EAAE;IACvE,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,qDAAqD,CAAC;IAClE,4BAA4B;SACzB,MAAM,CAAC,EAAE,WAAW,EAAE,KAAK,EAAE,CAAC;SAC9B,QAAQ,CAAC,kDAAkD,CAAC;CAChE,CAAC,CAAA"}
@@ -1 +1,2 @@
1
1
  export * from './action-attempt.js';
2
+ export * from './common.js';
@@ -1,2 +1,3 @@
1
1
  export * from './action-attempt.js';
2
+ export * from './common.js';
2
3
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/action-attempts/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/action-attempts/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA;AACnC,cAAc,aAAa,CAAA"}