@seamapi/types 1.295.0 → 1.297.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.
@@ -56,16 +56,59 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
56
56
  message: string;
57
57
  error_code: string;
58
58
  }>, "many">;
59
- warnings: z.ZodArray<z.ZodObject<{
60
- warning_code: z.ZodString;
59
+ warnings: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
60
+ created_at: z.ZodString;
61
61
  message: z.ZodString;
62
- }, "strip", z.ZodTypeAny, {
62
+ }, {
63
+ warning_code: z.ZodLiteral<"waiting_to_be_issued">;
64
+ }>, "strip", z.ZodTypeAny, {
63
65
  message: string;
64
- warning_code: string;
66
+ warning_code: "waiting_to_be_issued";
67
+ created_at: string;
65
68
  }, {
66
69
  message: string;
67
- warning_code: string;
68
- }>, "many">;
70
+ warning_code: "waiting_to_be_issued";
71
+ created_at: string;
72
+ }>, z.ZodObject<z.objectUtil.extendShape<{
73
+ created_at: z.ZodString;
74
+ message: z.ZodString;
75
+ }, {
76
+ warning_code: z.ZodLiteral<"schedule_externally_modified">;
77
+ }>, "strip", z.ZodTypeAny, {
78
+ message: string;
79
+ warning_code: "schedule_externally_modified";
80
+ created_at: string;
81
+ }, {
82
+ message: string;
83
+ warning_code: "schedule_externally_modified";
84
+ created_at: string;
85
+ }>, z.ZodObject<z.objectUtil.extendShape<{
86
+ created_at: z.ZodString;
87
+ message: z.ZodString;
88
+ }, {
89
+ warning_code: z.ZodLiteral<"schedule_modified">;
90
+ }>, "strip", z.ZodTypeAny, {
91
+ message: string;
92
+ warning_code: "schedule_modified";
93
+ created_at: string;
94
+ }, {
95
+ message: string;
96
+ warning_code: "schedule_modified";
97
+ created_at: string;
98
+ }>, z.ZodObject<z.objectUtil.extendShape<{
99
+ created_at: z.ZodString;
100
+ message: z.ZodString;
101
+ }, {
102
+ warning_code: z.ZodLiteral<"being_deleted">;
103
+ }>, "strip", z.ZodTypeAny, {
104
+ message: string;
105
+ warning_code: "being_deleted";
106
+ created_at: string;
107
+ }, {
108
+ message: string;
109
+ warning_code: "being_deleted";
110
+ created_at: string;
111
+ }>]>, "many">;
69
112
  is_multi_phone_sync_credential: z.ZodOptional<z.ZodBoolean>;
70
113
  is_latest_desired_state_synced_with_provider: z.ZodOptional<z.ZodBoolean>;
71
114
  latest_desired_state_synced_with_provider_at: z.ZodOptional<z.ZodString>;
@@ -105,10 +148,23 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
105
148
  message: string;
106
149
  error_code: string;
107
150
  }[];
108
- warnings: {
151
+ warnings: ({
109
152
  message: string;
110
- warning_code: string;
111
- }[];
153
+ warning_code: "waiting_to_be_issued";
154
+ created_at: string;
155
+ } | {
156
+ message: string;
157
+ warning_code: "schedule_externally_modified";
158
+ created_at: string;
159
+ } | {
160
+ message: string;
161
+ warning_code: "schedule_modified";
162
+ created_at: string;
163
+ } | {
164
+ message: string;
165
+ warning_code: "being_deleted";
166
+ created_at: string;
167
+ })[];
112
168
  display_name: string;
113
169
  workspace_id: string;
114
170
  is_managed: true;
@@ -145,10 +201,23 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
145
201
  message: string;
146
202
  error_code: string;
147
203
  }[];
148
- warnings: {
204
+ warnings: ({
149
205
  message: string;
150
- warning_code: string;
151
- }[];
206
+ warning_code: "waiting_to_be_issued";
207
+ created_at: string;
208
+ } | {
209
+ message: string;
210
+ warning_code: "schedule_externally_modified";
211
+ created_at: string;
212
+ } | {
213
+ message: string;
214
+ warning_code: "schedule_modified";
215
+ created_at: string;
216
+ } | {
217
+ message: string;
218
+ warning_code: "being_deleted";
219
+ created_at: string;
220
+ })[];
152
221
  display_name: string;
153
222
  workspace_id: string;
154
223
  is_managed: true;
@@ -207,16 +276,59 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
207
276
  message: string;
208
277
  error_code: string;
209
278
  }>, "many">;
210
- warnings: z.ZodArray<z.ZodObject<{
211
- warning_code: z.ZodString;
279
+ warnings: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
280
+ created_at: z.ZodString;
212
281
  message: z.ZodString;
213
- }, "strip", z.ZodTypeAny, {
282
+ }, {
283
+ warning_code: z.ZodLiteral<"waiting_to_be_issued">;
284
+ }>, "strip", z.ZodTypeAny, {
214
285
  message: string;
215
- warning_code: string;
286
+ warning_code: "waiting_to_be_issued";
287
+ created_at: string;
216
288
  }, {
217
289
  message: string;
218
- warning_code: string;
219
- }>, "many">;
290
+ warning_code: "waiting_to_be_issued";
291
+ created_at: string;
292
+ }>, z.ZodObject<z.objectUtil.extendShape<{
293
+ created_at: z.ZodString;
294
+ message: z.ZodString;
295
+ }, {
296
+ warning_code: z.ZodLiteral<"schedule_externally_modified">;
297
+ }>, "strip", z.ZodTypeAny, {
298
+ message: string;
299
+ warning_code: "schedule_externally_modified";
300
+ created_at: string;
301
+ }, {
302
+ message: string;
303
+ warning_code: "schedule_externally_modified";
304
+ created_at: string;
305
+ }>, z.ZodObject<z.objectUtil.extendShape<{
306
+ created_at: z.ZodString;
307
+ message: z.ZodString;
308
+ }, {
309
+ warning_code: z.ZodLiteral<"schedule_modified">;
310
+ }>, "strip", z.ZodTypeAny, {
311
+ message: string;
312
+ warning_code: "schedule_modified";
313
+ created_at: string;
314
+ }, {
315
+ message: string;
316
+ warning_code: "schedule_modified";
317
+ created_at: string;
318
+ }>, z.ZodObject<z.objectUtil.extendShape<{
319
+ created_at: z.ZodString;
320
+ message: z.ZodString;
321
+ }, {
322
+ warning_code: z.ZodLiteral<"being_deleted">;
323
+ }>, "strip", z.ZodTypeAny, {
324
+ message: string;
325
+ warning_code: "being_deleted";
326
+ created_at: string;
327
+ }, {
328
+ message: string;
329
+ warning_code: "being_deleted";
330
+ created_at: string;
331
+ }>]>, "many">;
220
332
  is_multi_phone_sync_credential: z.ZodOptional<z.ZodBoolean>;
221
333
  is_latest_desired_state_synced_with_provider: z.ZodOptional<z.ZodBoolean>;
222
334
  latest_desired_state_synced_with_provider_at: z.ZodOptional<z.ZodString>;
@@ -256,10 +368,23 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
256
368
  message: string;
257
369
  error_code: string;
258
370
  }[];
259
- warnings: {
371
+ warnings: ({
260
372
  message: string;
261
- warning_code: string;
262
- }[];
373
+ warning_code: "waiting_to_be_issued";
374
+ created_at: string;
375
+ } | {
376
+ message: string;
377
+ warning_code: "schedule_externally_modified";
378
+ created_at: string;
379
+ } | {
380
+ message: string;
381
+ warning_code: "schedule_modified";
382
+ created_at: string;
383
+ } | {
384
+ message: string;
385
+ warning_code: "being_deleted";
386
+ created_at: string;
387
+ })[];
263
388
  display_name: string;
264
389
  workspace_id: string;
265
390
  is_managed: false;
@@ -296,10 +421,23 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
296
421
  message: string;
297
422
  error_code: string;
298
423
  }[];
299
- warnings: {
424
+ warnings: ({
300
425
  message: string;
301
- warning_code: string;
302
- }[];
426
+ warning_code: "waiting_to_be_issued";
427
+ created_at: string;
428
+ } | {
429
+ message: string;
430
+ warning_code: "schedule_externally_modified";
431
+ created_at: string;
432
+ } | {
433
+ message: string;
434
+ warning_code: "schedule_modified";
435
+ created_at: string;
436
+ } | {
437
+ message: string;
438
+ warning_code: "being_deleted";
439
+ created_at: string;
440
+ })[];
303
441
  display_name: string;
304
442
  workspace_id: string;
305
443
  is_managed: false;
@@ -341,10 +479,23 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
341
479
  message: string;
342
480
  error_code: string;
343
481
  }[];
344
- warnings: {
482
+ warnings: ({
345
483
  message: string;
346
- warning_code: string;
347
- }[];
484
+ warning_code: "waiting_to_be_issued";
485
+ created_at: string;
486
+ } | {
487
+ message: string;
488
+ warning_code: "schedule_externally_modified";
489
+ created_at: string;
490
+ } | {
491
+ message: string;
492
+ warning_code: "schedule_modified";
493
+ created_at: string;
494
+ } | {
495
+ message: string;
496
+ warning_code: "being_deleted";
497
+ created_at: string;
498
+ })[];
348
499
  display_name: string;
349
500
  workspace_id: string;
350
501
  is_managed: true;
@@ -381,10 +532,23 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
381
532
  message: string;
382
533
  error_code: string;
383
534
  }[];
384
- warnings: {
535
+ warnings: ({
385
536
  message: string;
386
- warning_code: string;
387
- }[];
537
+ warning_code: "waiting_to_be_issued";
538
+ created_at: string;
539
+ } | {
540
+ message: string;
541
+ warning_code: "schedule_externally_modified";
542
+ created_at: string;
543
+ } | {
544
+ message: string;
545
+ warning_code: "schedule_modified";
546
+ created_at: string;
547
+ } | {
548
+ message: string;
549
+ warning_code: "being_deleted";
550
+ created_at: string;
551
+ })[];
388
552
  display_name: string;
389
553
  workspace_id: string;
390
554
  is_managed: false;
@@ -427,10 +591,23 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
427
591
  message: string;
428
592
  error_code: string;
429
593
  }[];
430
- warnings: {
594
+ warnings: ({
431
595
  message: string;
432
- warning_code: string;
433
- }[];
596
+ warning_code: "waiting_to_be_issued";
597
+ created_at: string;
598
+ } | {
599
+ message: string;
600
+ warning_code: "schedule_externally_modified";
601
+ created_at: string;
602
+ } | {
603
+ message: string;
604
+ warning_code: "schedule_modified";
605
+ created_at: string;
606
+ } | {
607
+ message: string;
608
+ warning_code: "being_deleted";
609
+ created_at: string;
610
+ })[];
434
611
  display_name: string;
435
612
  workspace_id: string;
436
613
  is_managed: true;
@@ -467,10 +644,23 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
467
644
  message: string;
468
645
  error_code: string;
469
646
  }[];
470
- warnings: {
647
+ warnings: ({
471
648
  message: string;
472
- warning_code: string;
473
- }[];
649
+ warning_code: "waiting_to_be_issued";
650
+ created_at: string;
651
+ } | {
652
+ message: string;
653
+ warning_code: "schedule_externally_modified";
654
+ created_at: string;
655
+ } | {
656
+ message: string;
657
+ warning_code: "schedule_modified";
658
+ created_at: string;
659
+ } | {
660
+ message: string;
661
+ warning_code: "being_deleted";
662
+ created_at: string;
663
+ })[];
474
664
  display_name: string;
475
665
  workspace_id: string;
476
666
  is_managed: false;