@seamapi/types 1.826.0 → 1.828.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.
@@ -87,18 +87,21 @@ declare const access_code_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodObj
87
87
  } & {
88
88
  error_code: z.ZodLiteral<"duplicate_code_on_device">;
89
89
  unmanaged_access_code_id: z.ZodOptional<z.ZodString>;
90
+ managed_access_code_id: z.ZodOptional<z.ZodString>;
90
91
  }, "strip", z.ZodTypeAny, {
91
92
  message: string;
92
93
  error_code: "duplicate_code_on_device";
93
94
  is_access_code_error: true;
94
95
  created_at?: string | undefined;
95
96
  unmanaged_access_code_id?: string | undefined;
97
+ managed_access_code_id?: string | undefined;
96
98
  }, {
97
99
  message: string;
98
100
  error_code: "duplicate_code_on_device";
99
101
  is_access_code_error: true;
100
102
  created_at?: string | undefined;
101
103
  unmanaged_access_code_id?: string | undefined;
104
+ managed_access_code_id?: string | undefined;
102
105
  }>, z.ZodObject<{
103
106
  message: z.ZodString;
104
107
  is_access_code_error: z.ZodLiteral<true>;
@@ -665,18 +668,21 @@ declare const access_code: z.ZodObject<{
665
668
  } & {
666
669
  error_code: z.ZodLiteral<"duplicate_code_on_device">;
667
670
  unmanaged_access_code_id: z.ZodOptional<z.ZodString>;
671
+ managed_access_code_id: z.ZodOptional<z.ZodString>;
668
672
  }, "strip", z.ZodTypeAny, {
669
673
  message: string;
670
674
  error_code: "duplicate_code_on_device";
671
675
  is_access_code_error: true;
672
676
  created_at?: string | undefined;
673
677
  unmanaged_access_code_id?: string | undefined;
678
+ managed_access_code_id?: string | undefined;
674
679
  }, {
675
680
  message: string;
676
681
  error_code: "duplicate_code_on_device";
677
682
  is_access_code_error: true;
678
683
  created_at?: string | undefined;
679
684
  unmanaged_access_code_id?: string | undefined;
685
+ managed_access_code_id?: string | undefined;
680
686
  }>, z.ZodObject<{
681
687
  message: z.ZodString;
682
688
  is_access_code_error: z.ZodLiteral<true>;
@@ -1823,6 +1829,7 @@ declare const access_code: z.ZodObject<{
1823
1829
  is_access_code_error: true;
1824
1830
  created_at?: string | undefined;
1825
1831
  unmanaged_access_code_id?: string | undefined;
1832
+ managed_access_code_id?: string | undefined;
1826
1833
  } | {
1827
1834
  message: string;
1828
1835
  error_code: "duplicate_code_attempt_prevented";
@@ -2175,6 +2182,7 @@ declare const access_code: z.ZodObject<{
2175
2182
  is_access_code_error: true;
2176
2183
  created_at?: string | undefined;
2177
2184
  unmanaged_access_code_id?: string | undefined;
2185
+ managed_access_code_id?: string | undefined;
2178
2186
  } | {
2179
2187
  message: string;
2180
2188
  error_code: "duplicate_code_attempt_prevented";
@@ -2489,18 +2497,21 @@ declare const unmanaged_access_code: z.ZodObject<{
2489
2497
  } & {
2490
2498
  error_code: z.ZodLiteral<"duplicate_code_on_device">;
2491
2499
  unmanaged_access_code_id: z.ZodOptional<z.ZodString>;
2500
+ managed_access_code_id: z.ZodOptional<z.ZodString>;
2492
2501
  }, "strip", z.ZodTypeAny, {
2493
2502
  message: string;
2494
2503
  error_code: "duplicate_code_on_device";
2495
2504
  is_access_code_error: true;
2496
2505
  created_at?: string | undefined;
2497
2506
  unmanaged_access_code_id?: string | undefined;
2507
+ managed_access_code_id?: string | undefined;
2498
2508
  }, {
2499
2509
  message: string;
2500
2510
  error_code: "duplicate_code_on_device";
2501
2511
  is_access_code_error: true;
2502
2512
  created_at?: string | undefined;
2503
2513
  unmanaged_access_code_id?: string | undefined;
2514
+ managed_access_code_id?: string | undefined;
2504
2515
  }>, z.ZodObject<{
2505
2516
  message: z.ZodString;
2506
2517
  is_access_code_error: z.ZodLiteral<true>;
@@ -3471,6 +3482,7 @@ declare const unmanaged_access_code: z.ZodObject<{
3471
3482
  is_access_code_error: true;
3472
3483
  created_at?: string | undefined;
3473
3484
  unmanaged_access_code_id?: string | undefined;
3485
+ managed_access_code_id?: string | undefined;
3474
3486
  } | {
3475
3487
  message: string;
3476
3488
  error_code: "duplicate_code_attempt_prevented";
@@ -3768,6 +3780,7 @@ declare const unmanaged_access_code: z.ZodObject<{
3768
3780
  is_access_code_error: true;
3769
3781
  created_at?: string | undefined;
3770
3782
  unmanaged_access_code_id?: string | undefined;
3783
+ managed_access_code_id?: string | undefined;
3771
3784
  } | {
3772
3785
  message: string;
3773
3786
  error_code: "duplicate_code_attempt_prevented";
@@ -4110,14 +4123,17 @@ declare const access_grant: z.ZodObject<{
4110
4123
  message: z.ZodString;
4111
4124
  } & {
4112
4125
  error_code: z.ZodLiteral<"cannot_create_requested_access_methods">;
4126
+ missing_device_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4113
4127
  }, "strip", z.ZodTypeAny, {
4114
4128
  message: string;
4115
4129
  created_at: string;
4116
4130
  error_code: "cannot_create_requested_access_methods";
4131
+ missing_device_ids?: string[] | undefined;
4117
4132
  }, {
4118
4133
  message: string;
4119
4134
  created_at: string;
4120
4135
  error_code: "cannot_create_requested_access_methods";
4136
+ missing_device_ids?: string[] | undefined;
4121
4137
  }>]>, "many">;
4122
4138
  customization_profile_id: z.ZodOptional<z.ZodString>;
4123
4139
  pending_mutations: z.ZodArray<z.ZodDiscriminatedUnion<"mutation_code", [z.ZodObject<{
@@ -4228,6 +4244,7 @@ declare const access_grant: z.ZodObject<{
4228
4244
  message: string;
4229
4245
  created_at: string;
4230
4246
  error_code: "cannot_create_requested_access_methods";
4247
+ missing_device_ids?: string[] | undefined;
4231
4248
  }[];
4232
4249
  warnings: ({
4233
4250
  message: string;
@@ -4324,6 +4341,7 @@ declare const access_grant: z.ZodObject<{
4324
4341
  message: string;
4325
4342
  created_at: string;
4326
4343
  error_code: "cannot_create_requested_access_methods";
4344
+ missing_device_ids?: string[] | undefined;
4327
4345
  }[];
4328
4346
  warnings: ({
4329
4347
  message: string;
@@ -29568,14 +29586,17 @@ declare const batch: z.ZodObject<{
29568
29586
  message: z.ZodString;
29569
29587
  } & {
29570
29588
  error_code: z.ZodLiteral<"cannot_create_requested_access_methods">;
29589
+ missing_device_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
29571
29590
  }, "strip", z.ZodTypeAny, {
29572
29591
  message: string;
29573
29592
  created_at: string;
29574
29593
  error_code: "cannot_create_requested_access_methods";
29594
+ missing_device_ids?: string[] | undefined;
29575
29595
  }, {
29576
29596
  message: string;
29577
29597
  created_at: string;
29578
29598
  error_code: "cannot_create_requested_access_methods";
29599
+ missing_device_ids?: string[] | undefined;
29579
29600
  }>]>, "many">;
29580
29601
  customization_profile_id: z.ZodOptional<z.ZodString>;
29581
29602
  pending_mutations: z.ZodArray<z.ZodDiscriminatedUnion<"mutation_code", [z.ZodObject<{
@@ -29686,6 +29707,7 @@ declare const batch: z.ZodObject<{
29686
29707
  message: string;
29687
29708
  created_at: string;
29688
29709
  error_code: "cannot_create_requested_access_methods";
29710
+ missing_device_ids?: string[] | undefined;
29689
29711
  }[];
29690
29712
  warnings: ({
29691
29713
  message: string;
@@ -29782,6 +29804,7 @@ declare const batch: z.ZodObject<{
29782
29804
  message: string;
29783
29805
  created_at: string;
29784
29806
  error_code: "cannot_create_requested_access_methods";
29807
+ missing_device_ids?: string[] | undefined;
29785
29808
  }[];
29786
29809
  warnings: ({
29787
29810
  message: string;
@@ -31333,6 +31356,7 @@ declare const batch: z.ZodObject<{
31333
31356
  } & {
31334
31357
  event_type: z.ZodLiteral<"access_grant.could_not_create_requested_access_methods">;
31335
31358
  error_message: z.ZodString;
31359
+ missing_device_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
31336
31360
  }, "strip", z.ZodTypeAny, {
31337
31361
  workspace_id: string;
31338
31362
  created_at: string;
@@ -31341,6 +31365,7 @@ declare const batch: z.ZodObject<{
31341
31365
  occurred_at: string;
31342
31366
  event_type: "access_grant.could_not_create_requested_access_methods";
31343
31367
  error_message: string;
31368
+ missing_device_ids?: string[] | undefined;
31344
31369
  }, {
31345
31370
  workspace_id: string;
31346
31371
  created_at: string;
@@ -31349,6 +31374,7 @@ declare const batch: z.ZodObject<{
31349
31374
  occurred_at: string;
31350
31375
  event_type: "access_grant.could_not_create_requested_access_methods";
31351
31376
  error_message: string;
31377
+ missing_device_ids?: string[] | undefined;
31352
31378
  }>, z.ZodObject<{
31353
31379
  event_id: z.ZodString;
31354
31380
  workspace_id: z.ZodString;
@@ -34908,18 +34934,21 @@ declare const batch: z.ZodObject<{
34908
34934
  } & {
34909
34935
  error_code: z.ZodLiteral<"duplicate_code_on_device">;
34910
34936
  unmanaged_access_code_id: z.ZodOptional<z.ZodString>;
34937
+ managed_access_code_id: z.ZodOptional<z.ZodString>;
34911
34938
  }, "strip", z.ZodTypeAny, {
34912
34939
  message: string;
34913
34940
  error_code: "duplicate_code_on_device";
34914
34941
  is_access_code_error: true;
34915
34942
  created_at?: string | undefined;
34916
34943
  unmanaged_access_code_id?: string | undefined;
34944
+ managed_access_code_id?: string | undefined;
34917
34945
  }, {
34918
34946
  message: string;
34919
34947
  error_code: "duplicate_code_on_device";
34920
34948
  is_access_code_error: true;
34921
34949
  created_at?: string | undefined;
34922
34950
  unmanaged_access_code_id?: string | undefined;
34951
+ managed_access_code_id?: string | undefined;
34923
34952
  }>, z.ZodObject<{
34924
34953
  message: z.ZodString;
34925
34954
  is_access_code_error: z.ZodLiteral<true>;
@@ -36066,6 +36095,7 @@ declare const batch: z.ZodObject<{
36066
36095
  is_access_code_error: true;
36067
36096
  created_at?: string | undefined;
36068
36097
  unmanaged_access_code_id?: string | undefined;
36098
+ managed_access_code_id?: string | undefined;
36069
36099
  } | {
36070
36100
  message: string;
36071
36101
  error_code: "duplicate_code_attempt_prevented";
@@ -36418,6 +36448,7 @@ declare const batch: z.ZodObject<{
36418
36448
  is_access_code_error: true;
36419
36449
  created_at?: string | undefined;
36420
36450
  unmanaged_access_code_id?: string | undefined;
36451
+ managed_access_code_id?: string | undefined;
36421
36452
  } | {
36422
36453
  message: string;
36423
36454
  error_code: "duplicate_code_attempt_prevented";
@@ -36730,18 +36761,21 @@ declare const batch: z.ZodObject<{
36730
36761
  } & {
36731
36762
  error_code: z.ZodLiteral<"duplicate_code_on_device">;
36732
36763
  unmanaged_access_code_id: z.ZodOptional<z.ZodString>;
36764
+ managed_access_code_id: z.ZodOptional<z.ZodString>;
36733
36765
  }, "strip", z.ZodTypeAny, {
36734
36766
  message: string;
36735
36767
  error_code: "duplicate_code_on_device";
36736
36768
  is_access_code_error: true;
36737
36769
  created_at?: string | undefined;
36738
36770
  unmanaged_access_code_id?: string | undefined;
36771
+ managed_access_code_id?: string | undefined;
36739
36772
  }, {
36740
36773
  message: string;
36741
36774
  error_code: "duplicate_code_on_device";
36742
36775
  is_access_code_error: true;
36743
36776
  created_at?: string | undefined;
36744
36777
  unmanaged_access_code_id?: string | undefined;
36778
+ managed_access_code_id?: string | undefined;
36745
36779
  }>, z.ZodObject<{
36746
36780
  message: z.ZodString;
36747
36781
  is_access_code_error: z.ZodLiteral<true>;
@@ -37712,6 +37746,7 @@ declare const batch: z.ZodObject<{
37712
37746
  is_access_code_error: true;
37713
37747
  created_at?: string | undefined;
37714
37748
  unmanaged_access_code_id?: string | undefined;
37749
+ managed_access_code_id?: string | undefined;
37715
37750
  } | {
37716
37751
  message: string;
37717
37752
  error_code: "duplicate_code_attempt_prevented";
@@ -38009,6 +38044,7 @@ declare const batch: z.ZodObject<{
38009
38044
  is_access_code_error: true;
38010
38045
  created_at?: string | undefined;
38011
38046
  unmanaged_access_code_id?: string | undefined;
38047
+ managed_access_code_id?: string | undefined;
38012
38048
  } | {
38013
38049
  message: string;
38014
38050
  error_code: "duplicate_code_attempt_prevented";
@@ -41114,6 +41150,7 @@ declare const batch: z.ZodObject<{
41114
41150
  message: string;
41115
41151
  created_at: string;
41116
41152
  error_code: "cannot_create_requested_access_methods";
41153
+ missing_device_ids?: string[] | undefined;
41117
41154
  }[];
41118
41155
  warnings: ({
41119
41156
  message: string;
@@ -41596,6 +41633,7 @@ declare const batch: z.ZodObject<{
41596
41633
  occurred_at: string;
41597
41634
  event_type: "access_grant.could_not_create_requested_access_methods";
41598
41635
  error_message: string;
41636
+ missing_device_ids?: string[] | undefined;
41599
41637
  } | {
41600
41638
  workspace_id: string;
41601
41639
  created_at: string;
@@ -42745,6 +42783,7 @@ declare const batch: z.ZodObject<{
42745
42783
  is_access_code_error: true;
42746
42784
  created_at?: string | undefined;
42747
42785
  unmanaged_access_code_id?: string | undefined;
42786
+ managed_access_code_id?: string | undefined;
42748
42787
  } | {
42749
42788
  message: string;
42750
42789
  error_code: "duplicate_code_attempt_prevented";
@@ -43098,6 +43137,7 @@ declare const batch: z.ZodObject<{
43098
43137
  is_access_code_error: true;
43099
43138
  created_at?: string | undefined;
43100
43139
  unmanaged_access_code_id?: string | undefined;
43140
+ managed_access_code_id?: string | undefined;
43101
43141
  } | {
43102
43142
  message: string;
43103
43143
  error_code: "duplicate_code_attempt_prevented";
@@ -46076,6 +46116,7 @@ declare const batch: z.ZodObject<{
46076
46116
  message: string;
46077
46117
  created_at: string;
46078
46118
  error_code: "cannot_create_requested_access_methods";
46119
+ missing_device_ids?: string[] | undefined;
46079
46120
  }[];
46080
46121
  warnings: ({
46081
46122
  message: string;
@@ -46558,6 +46599,7 @@ declare const batch: z.ZodObject<{
46558
46599
  occurred_at: string;
46559
46600
  event_type: "access_grant.could_not_create_requested_access_methods";
46560
46601
  error_message: string;
46602
+ missing_device_ids?: string[] | undefined;
46561
46603
  } | {
46562
46604
  workspace_id: string;
46563
46605
  created_at: string;
@@ -47707,6 +47749,7 @@ declare const batch: z.ZodObject<{
47707
47749
  is_access_code_error: true;
47708
47750
  created_at?: string | undefined;
47709
47751
  unmanaged_access_code_id?: string | undefined;
47752
+ managed_access_code_id?: string | undefined;
47710
47753
  } | {
47711
47754
  message: string;
47712
47755
  error_code: "duplicate_code_attempt_prevented";
@@ -48060,6 +48103,7 @@ declare const batch: z.ZodObject<{
48060
48103
  is_access_code_error: true;
48061
48104
  created_at?: string | undefined;
48062
48105
  unmanaged_access_code_id?: string | undefined;
48106
+ managed_access_code_id?: string | undefined;
48063
48107
  } | {
48064
48108
  message: string;
48065
48109
  error_code: "duplicate_code_attempt_prevented";
@@ -59693,6 +59737,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
59693
59737
  } & {
59694
59738
  event_type: z.ZodLiteral<"access_grant.could_not_create_requested_access_methods">;
59695
59739
  error_message: z.ZodString;
59740
+ missing_device_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
59696
59741
  }, "strip", z.ZodTypeAny, {
59697
59742
  workspace_id: string;
59698
59743
  created_at: string;
@@ -59701,6 +59746,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
59701
59746
  occurred_at: string;
59702
59747
  event_type: "access_grant.could_not_create_requested_access_methods";
59703
59748
  error_message: string;
59749
+ missing_device_ids?: string[] | undefined;
59704
59750
  }, {
59705
59751
  workspace_id: string;
59706
59752
  created_at: string;
@@ -59709,6 +59755,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
59709
59755
  occurred_at: string;
59710
59756
  event_type: "access_grant.could_not_create_requested_access_methods";
59711
59757
  error_message: string;
59758
+ missing_device_ids?: string[] | undefined;
59712
59759
  }>, z.ZodObject<{
59713
59760
  event_id: z.ZodString;
59714
59761
  workspace_id: z.ZodString;
@@ -65213,6 +65260,8 @@ type Routes = {
65213
65260
  error_code: 'duplicate_code_on_device';
65214
65261
  /** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */
65215
65262
  unmanaged_access_code_id?: string | undefined;
65263
+ /** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
65264
+ managed_access_code_id?: string | undefined;
65216
65265
  } | {
65217
65266
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
65218
65267
  message: string;
@@ -65852,6 +65901,8 @@ type Routes = {
65852
65901
  error_code: 'duplicate_code_on_device';
65853
65902
  /** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */
65854
65903
  unmanaged_access_code_id?: string | undefined;
65904
+ /** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
65905
+ managed_access_code_id?: string | undefined;
65855
65906
  } | {
65856
65907
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
65857
65908
  message: string;
@@ -67837,6 +67888,8 @@ type Routes = {
67837
67888
  error_code: 'duplicate_code_on_device';
67838
67889
  /** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */
67839
67890
  unmanaged_access_code_id?: string | undefined;
67891
+ /** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
67892
+ managed_access_code_id?: string | undefined;
67840
67893
  } | {
67841
67894
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
67842
67895
  message: string;
@@ -68522,6 +68575,8 @@ type Routes = {
68522
68575
  error_code: 'duplicate_code_on_device';
68523
68576
  /** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */
68524
68577
  unmanaged_access_code_id?: string | undefined;
68578
+ /** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
68579
+ managed_access_code_id?: string | undefined;
68525
68580
  } | {
68526
68581
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
68527
68582
  message: string;
@@ -69150,6 +69205,8 @@ type Routes = {
69150
69205
  error_code: 'duplicate_code_on_device';
69151
69206
  /** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */
69152
69207
  unmanaged_access_code_id?: string | undefined;
69208
+ /** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
69209
+ managed_access_code_id?: string | undefined;
69153
69210
  } | {
69154
69211
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
69155
69212
  message: string;
@@ -69755,6 +69812,8 @@ type Routes = {
69755
69812
  error_code: 'duplicate_code_on_device';
69756
69813
  /** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */
69757
69814
  unmanaged_access_code_id?: string | undefined;
69815
+ /** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
69816
+ managed_access_code_id?: string | undefined;
69758
69817
  } | {
69759
69818
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
69760
69819
  message: string;
@@ -70395,6 +70454,8 @@ type Routes = {
70395
70454
  error_code: 'duplicate_code_on_device';
70396
70455
  /** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */
70397
70456
  unmanaged_access_code_id?: string | undefined;
70457
+ /** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
70458
+ managed_access_code_id?: string | undefined;
70398
70459
  } | {
70399
70460
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
70400
70461
  message: string;
@@ -72287,6 +72348,8 @@ type Routes = {
72287
72348
  error_code: 'duplicate_code_on_device';
72288
72349
  /** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */
72289
72350
  unmanaged_access_code_id?: string | undefined;
72351
+ /** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
72352
+ managed_access_code_id?: string | undefined;
72290
72353
  } | {
72291
72354
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
72292
72355
  message: string;
@@ -72809,6 +72872,8 @@ type Routes = {
72809
72872
  error_code: 'duplicate_code_on_device';
72810
72873
  /** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */
72811
72874
  unmanaged_access_code_id?: string | undefined;
72875
+ /** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
72876
+ managed_access_code_id?: string | undefined;
72812
72877
  } | {
72813
72878
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
72814
72879
  message: string;
@@ -74871,6 +74936,8 @@ type Routes = {
74871
74936
  message: string;
74872
74937
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
74873
74938
  error_code: 'cannot_create_requested_access_methods';
74939
+ /** IDs of the devices that did not receive an access code at grant creation. Use these to identify which specific devices failed when the message reports a partial failure. */
74940
+ missing_device_ids?: string[] | undefined;
74874
74941
  }[];
74875
74942
  /** ID of the customization profile associated with the Access Grant. */
74876
74943
  customization_profile_id?: string | undefined;
@@ -75079,6 +75146,8 @@ type Routes = {
75079
75146
  message: string;
75080
75147
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
75081
75148
  error_code: 'cannot_create_requested_access_methods';
75149
+ /** IDs of the devices that did not receive an access code at grant creation. Use these to identify which specific devices failed when the message reports a partial failure. */
75150
+ missing_device_ids?: string[] | undefined;
75082
75151
  }[];
75083
75152
  /** ID of the customization profile associated with the Access Grant. */
75084
75153
  customization_profile_id?: string | undefined;
@@ -77386,6 +77455,8 @@ type Routes = {
77386
77455
  message: string;
77387
77456
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
77388
77457
  error_code: 'cannot_create_requested_access_methods';
77458
+ /** IDs of the devices that did not receive an access code at grant creation. Use these to identify which specific devices failed when the message reports a partial failure. */
77459
+ missing_device_ids?: string[] | undefined;
77389
77460
  }[];
77390
77461
  /** ID of the customization profile associated with the Access Grant. */
77391
77462
  customization_profile_id?: string | undefined;
@@ -77596,6 +77667,8 @@ type Routes = {
77596
77667
  message: string;
77597
77668
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
77598
77669
  error_code: 'cannot_create_requested_access_methods';
77670
+ /** IDs of the devices that did not receive an access code at grant creation. Use these to identify which specific devices failed when the message reports a partial failure. */
77671
+ missing_device_ids?: string[] | undefined;
77599
77672
  }[];
77600
77673
  /** ID of the customization profile associated with the Access Grant. */
77601
77674
  customization_profile_id?: string | undefined;
@@ -77780,6 +77853,8 @@ type Routes = {
77780
77853
  message: string;
77781
77854
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
77782
77855
  error_code: 'cannot_create_requested_access_methods';
77856
+ /** IDs of the devices that did not receive an access code at grant creation. Use these to identify which specific devices failed when the message reports a partial failure. */
77857
+ missing_device_ids?: string[] | undefined;
77783
77858
  }[];
77784
77859
  /** List of pending mutations for the access grant. This shows updates that are in progress. */
77785
77860
  pending_mutations: ({
@@ -77973,6 +78048,8 @@ type Routes = {
77973
78048
  message: string;
77974
78049
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
77975
78050
  error_code: 'cannot_create_requested_access_methods';
78051
+ /** IDs of the devices that did not receive an access code at grant creation. Use these to identify which specific devices failed when the message reports a partial failure. */
78052
+ missing_device_ids?: string[] | undefined;
77976
78053
  }[];
77977
78054
  /** List of pending mutations for the access grant. This shows updates that are in progress. */
77978
78055
  pending_mutations: ({
@@ -81194,6 +81271,8 @@ type Routes = {
81194
81271
  message: string;
81195
81272
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
81196
81273
  error_code: 'cannot_create_requested_access_methods';
81274
+ /** IDs of the devices that did not receive an access code at grant creation. Use these to identify which specific devices failed when the message reports a partial failure. */
81275
+ missing_device_ids?: string[] | undefined;
81197
81276
  }[];
81198
81277
  /** ID of the customization profile associated with the Access Grant. */
81199
81278
  customization_profile_id?: string | undefined;
@@ -100852,6 +100931,8 @@ type Routes = {
100852
100931
  event_type: 'access_grant.could_not_create_requested_access_methods';
100853
100932
  /** Description of why the access methods could not be created. */
100854
100933
  error_message: string;
100934
+ /** IDs of the devices that did not receive a requested access method. Use these to identify which specific devices failed without having to fetch the Access Grant. */
100935
+ missing_device_ids?: string[] | undefined;
100855
100936
  } | {
100856
100937
  /** ID of the event. */
100857
100938
  event_id: string;
@@ -103696,6 +103777,8 @@ type Routes = {
103696
103777
  event_type: 'access_grant.could_not_create_requested_access_methods';
103697
103778
  /** Description of why the access methods could not be created. */
103698
103779
  error_message: string;
103780
+ /** IDs of the devices that did not receive a requested access method. Use these to identify which specific devices failed without having to fetch the Access Grant. */
103781
+ missing_device_ids?: string[] | undefined;
103699
103782
  } | {
103700
103783
  /** ID of the event. */
103701
103784
  event_id: string;
@@ -125719,6 +125802,8 @@ type Routes = {
125719
125802
  message: string;
125720
125803
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
125721
125804
  error_code: 'cannot_create_requested_access_methods';
125805
+ /** IDs of the devices that did not receive an access code at grant creation. Use these to identify which specific devices failed when the message reports a partial failure. */
125806
+ missing_device_ids?: string[] | undefined;
125722
125807
  }[];
125723
125808
  /** ID of the customization profile associated with the Access Grant. */
125724
125809
  customization_profile_id?: string | undefined;
@@ -128744,6 +128829,8 @@ type Routes = {
128744
128829
  event_type: 'access_grant.could_not_create_requested_access_methods';
128745
128830
  /** Description of why the access methods could not be created. */
128746
128831
  error_message: string;
128832
+ /** IDs of the devices that did not receive a requested access method. Use these to identify which specific devices failed without having to fetch the Access Grant. */
128833
+ missing_device_ids?: string[] | undefined;
128747
128834
  } | {
128748
128835
  /** ID of the event. */
128749
128836
  event_id: string;
@@ -131293,6 +131380,8 @@ type Routes = {
131293
131380
  message: string;
131294
131381
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
131295
131382
  error_code: 'cannot_create_requested_access_methods';
131383
+ /** IDs of the devices that did not receive an access code at grant creation. Use these to identify which specific devices failed when the message reports a partial failure. */
131384
+ missing_device_ids?: string[] | undefined;
131296
131385
  }[];
131297
131386
  /** ID of the customization profile associated with the Access Grant. */
131298
131387
  customization_profile_id?: string | undefined;
@@ -131757,6 +131846,8 @@ type Routes = {
131757
131846
  message: string;
131758
131847
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
131759
131848
  error_code: 'cannot_create_requested_access_methods';
131849
+ /** IDs of the devices that did not receive an access code at grant creation. Use these to identify which specific devices failed when the message reports a partial failure. */
131850
+ missing_device_ids?: string[] | undefined;
131760
131851
  }[];
131761
131852
  /** ID of the customization profile associated with the Access Grant. */
131762
131853
  customization_profile_id?: string | undefined;
@@ -160267,6 +160358,8 @@ type Routes = {
160267
160358
  message: string;
160268
160359
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
160269
160360
  error_code: 'cannot_create_requested_access_methods';
160361
+ /** IDs of the devices that did not receive an access code at grant creation. Use these to identify which specific devices failed when the message reports a partial failure. */
160362
+ missing_device_ids?: string[] | undefined;
160270
160363
  }[];
160271
160364
  /** ID of the customization profile associated with the Access Grant. */
160272
160365
  customization_profile_id?: string | undefined;
@@ -161234,6 +161327,8 @@ type Routes = {
161234
161327
  event_type: 'access_grant.could_not_create_requested_access_methods';
161235
161328
  /** Description of why the access methods could not be created. */
161236
161329
  error_message: string;
161330
+ /** IDs of the devices that did not receive a requested access method. Use these to identify which specific devices failed without having to fetch the Access Grant. */
161331
+ missing_device_ids?: string[] | undefined;
161237
161332
  } | {
161238
161333
  /** ID of the event. */
161239
161334
  event_id: string;
@@ -163589,6 +163684,8 @@ type Routes = {
163589
163684
  error_code: 'duplicate_code_on_device';
163590
163685
  /** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */
163591
163686
  unmanaged_access_code_id?: string | undefined;
163687
+ /** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
163688
+ managed_access_code_id?: string | undefined;
163592
163689
  } | {
163593
163690
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
163594
163691
  message: string;
@@ -164095,6 +164192,8 @@ type Routes = {
164095
164192
  error_code: 'duplicate_code_on_device';
164096
164193
  /** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */
164097
164194
  unmanaged_access_code_id?: string | undefined;
164195
+ /** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
164196
+ managed_access_code_id?: string | undefined;
164098
164197
  } | {
164099
164198
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
164100
164199
  message: string;