@seamapi/types 1.826.0 → 1.827.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";
@@ -34908,18 +34921,21 @@ declare const batch: z.ZodObject<{
34908
34921
  } & {
34909
34922
  error_code: z.ZodLiteral<"duplicate_code_on_device">;
34910
34923
  unmanaged_access_code_id: z.ZodOptional<z.ZodString>;
34924
+ managed_access_code_id: z.ZodOptional<z.ZodString>;
34911
34925
  }, "strip", z.ZodTypeAny, {
34912
34926
  message: string;
34913
34927
  error_code: "duplicate_code_on_device";
34914
34928
  is_access_code_error: true;
34915
34929
  created_at?: string | undefined;
34916
34930
  unmanaged_access_code_id?: string | undefined;
34931
+ managed_access_code_id?: string | undefined;
34917
34932
  }, {
34918
34933
  message: string;
34919
34934
  error_code: "duplicate_code_on_device";
34920
34935
  is_access_code_error: true;
34921
34936
  created_at?: string | undefined;
34922
34937
  unmanaged_access_code_id?: string | undefined;
34938
+ managed_access_code_id?: string | undefined;
34923
34939
  }>, z.ZodObject<{
34924
34940
  message: z.ZodString;
34925
34941
  is_access_code_error: z.ZodLiteral<true>;
@@ -36066,6 +36082,7 @@ declare const batch: z.ZodObject<{
36066
36082
  is_access_code_error: true;
36067
36083
  created_at?: string | undefined;
36068
36084
  unmanaged_access_code_id?: string | undefined;
36085
+ managed_access_code_id?: string | undefined;
36069
36086
  } | {
36070
36087
  message: string;
36071
36088
  error_code: "duplicate_code_attempt_prevented";
@@ -36418,6 +36435,7 @@ declare const batch: z.ZodObject<{
36418
36435
  is_access_code_error: true;
36419
36436
  created_at?: string | undefined;
36420
36437
  unmanaged_access_code_id?: string | undefined;
36438
+ managed_access_code_id?: string | undefined;
36421
36439
  } | {
36422
36440
  message: string;
36423
36441
  error_code: "duplicate_code_attempt_prevented";
@@ -36730,18 +36748,21 @@ declare const batch: z.ZodObject<{
36730
36748
  } & {
36731
36749
  error_code: z.ZodLiteral<"duplicate_code_on_device">;
36732
36750
  unmanaged_access_code_id: z.ZodOptional<z.ZodString>;
36751
+ managed_access_code_id: z.ZodOptional<z.ZodString>;
36733
36752
  }, "strip", z.ZodTypeAny, {
36734
36753
  message: string;
36735
36754
  error_code: "duplicate_code_on_device";
36736
36755
  is_access_code_error: true;
36737
36756
  created_at?: string | undefined;
36738
36757
  unmanaged_access_code_id?: string | undefined;
36758
+ managed_access_code_id?: string | undefined;
36739
36759
  }, {
36740
36760
  message: string;
36741
36761
  error_code: "duplicate_code_on_device";
36742
36762
  is_access_code_error: true;
36743
36763
  created_at?: string | undefined;
36744
36764
  unmanaged_access_code_id?: string | undefined;
36765
+ managed_access_code_id?: string | undefined;
36745
36766
  }>, z.ZodObject<{
36746
36767
  message: z.ZodString;
36747
36768
  is_access_code_error: z.ZodLiteral<true>;
@@ -37712,6 +37733,7 @@ declare const batch: z.ZodObject<{
37712
37733
  is_access_code_error: true;
37713
37734
  created_at?: string | undefined;
37714
37735
  unmanaged_access_code_id?: string | undefined;
37736
+ managed_access_code_id?: string | undefined;
37715
37737
  } | {
37716
37738
  message: string;
37717
37739
  error_code: "duplicate_code_attempt_prevented";
@@ -38009,6 +38031,7 @@ declare const batch: z.ZodObject<{
38009
38031
  is_access_code_error: true;
38010
38032
  created_at?: string | undefined;
38011
38033
  unmanaged_access_code_id?: string | undefined;
38034
+ managed_access_code_id?: string | undefined;
38012
38035
  } | {
38013
38036
  message: string;
38014
38037
  error_code: "duplicate_code_attempt_prevented";
@@ -42745,6 +42768,7 @@ declare const batch: z.ZodObject<{
42745
42768
  is_access_code_error: true;
42746
42769
  created_at?: string | undefined;
42747
42770
  unmanaged_access_code_id?: string | undefined;
42771
+ managed_access_code_id?: string | undefined;
42748
42772
  } | {
42749
42773
  message: string;
42750
42774
  error_code: "duplicate_code_attempt_prevented";
@@ -43098,6 +43122,7 @@ declare const batch: z.ZodObject<{
43098
43122
  is_access_code_error: true;
43099
43123
  created_at?: string | undefined;
43100
43124
  unmanaged_access_code_id?: string | undefined;
43125
+ managed_access_code_id?: string | undefined;
43101
43126
  } | {
43102
43127
  message: string;
43103
43128
  error_code: "duplicate_code_attempt_prevented";
@@ -47707,6 +47732,7 @@ declare const batch: z.ZodObject<{
47707
47732
  is_access_code_error: true;
47708
47733
  created_at?: string | undefined;
47709
47734
  unmanaged_access_code_id?: string | undefined;
47735
+ managed_access_code_id?: string | undefined;
47710
47736
  } | {
47711
47737
  message: string;
47712
47738
  error_code: "duplicate_code_attempt_prevented";
@@ -48060,6 +48086,7 @@ declare const batch: z.ZodObject<{
48060
48086
  is_access_code_error: true;
48061
48087
  created_at?: string | undefined;
48062
48088
  unmanaged_access_code_id?: string | undefined;
48089
+ managed_access_code_id?: string | undefined;
48063
48090
  } | {
48064
48091
  message: string;
48065
48092
  error_code: "duplicate_code_attempt_prevented";
@@ -65213,6 +65240,8 @@ type Routes = {
65213
65240
  error_code: 'duplicate_code_on_device';
65214
65241
  /** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */
65215
65242
  unmanaged_access_code_id?: string | undefined;
65243
+ /** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
65244
+ managed_access_code_id?: string | undefined;
65216
65245
  } | {
65217
65246
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
65218
65247
  message: string;
@@ -65852,6 +65881,8 @@ type Routes = {
65852
65881
  error_code: 'duplicate_code_on_device';
65853
65882
  /** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */
65854
65883
  unmanaged_access_code_id?: string | undefined;
65884
+ /** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
65885
+ managed_access_code_id?: string | undefined;
65855
65886
  } | {
65856
65887
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
65857
65888
  message: string;
@@ -67837,6 +67868,8 @@ type Routes = {
67837
67868
  error_code: 'duplicate_code_on_device';
67838
67869
  /** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */
67839
67870
  unmanaged_access_code_id?: string | undefined;
67871
+ /** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
67872
+ managed_access_code_id?: string | undefined;
67840
67873
  } | {
67841
67874
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
67842
67875
  message: string;
@@ -68522,6 +68555,8 @@ type Routes = {
68522
68555
  error_code: 'duplicate_code_on_device';
68523
68556
  /** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */
68524
68557
  unmanaged_access_code_id?: string | undefined;
68558
+ /** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
68559
+ managed_access_code_id?: string | undefined;
68525
68560
  } | {
68526
68561
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
68527
68562
  message: string;
@@ -69150,6 +69185,8 @@ type Routes = {
69150
69185
  error_code: 'duplicate_code_on_device';
69151
69186
  /** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */
69152
69187
  unmanaged_access_code_id?: string | undefined;
69188
+ /** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
69189
+ managed_access_code_id?: string | undefined;
69153
69190
  } | {
69154
69191
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
69155
69192
  message: string;
@@ -69755,6 +69792,8 @@ type Routes = {
69755
69792
  error_code: 'duplicate_code_on_device';
69756
69793
  /** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */
69757
69794
  unmanaged_access_code_id?: string | undefined;
69795
+ /** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
69796
+ managed_access_code_id?: string | undefined;
69758
69797
  } | {
69759
69798
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
69760
69799
  message: string;
@@ -70395,6 +70434,8 @@ type Routes = {
70395
70434
  error_code: 'duplicate_code_on_device';
70396
70435
  /** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */
70397
70436
  unmanaged_access_code_id?: string | undefined;
70437
+ /** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
70438
+ managed_access_code_id?: string | undefined;
70398
70439
  } | {
70399
70440
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
70400
70441
  message: string;
@@ -72287,6 +72328,8 @@ type Routes = {
72287
72328
  error_code: 'duplicate_code_on_device';
72288
72329
  /** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */
72289
72330
  unmanaged_access_code_id?: string | undefined;
72331
+ /** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
72332
+ managed_access_code_id?: string | undefined;
72290
72333
  } | {
72291
72334
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
72292
72335
  message: string;
@@ -72809,6 +72852,8 @@ type Routes = {
72809
72852
  error_code: 'duplicate_code_on_device';
72810
72853
  /** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */
72811
72854
  unmanaged_access_code_id?: string | undefined;
72855
+ /** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
72856
+ managed_access_code_id?: string | undefined;
72812
72857
  } | {
72813
72858
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
72814
72859
  message: string;
@@ -163589,6 +163634,8 @@ type Routes = {
163589
163634
  error_code: 'duplicate_code_on_device';
163590
163635
  /** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */
163591
163636
  unmanaged_access_code_id?: string | undefined;
163637
+ /** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
163638
+ managed_access_code_id?: string | undefined;
163592
163639
  } | {
163593
163640
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
163594
163641
  message: string;
@@ -164095,6 +164142,8 @@ type Routes = {
164095
164142
  error_code: 'duplicate_code_on_device';
164096
164143
  /** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */
164097
164144
  unmanaged_access_code_id?: string | undefined;
164145
+ /** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
164146
+ managed_access_code_id?: string | undefined;
164098
164147
  } | {
164099
164148
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
164100
164149
  message: string;
package/dist/index.cjs CHANGED
@@ -2263,6 +2263,9 @@ var duplicate_code_on_device = common_access_code_error.extend({
2263
2263
  error_code: zod.z.literal("duplicate_code_on_device").describe(error_code_description3),
2264
2264
  unmanaged_access_code_id: zod.z.string().uuid().optional().describe(
2265
2265
  "ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it."
2266
+ ),
2267
+ managed_access_code_id: zod.z.string().uuid().optional().describe(
2268
+ "ID of the managed access code that conflicts with this managed access code, when Seam can identify it."
2266
2269
  )
2267
2270
  }).describe("Duplicate access code detected on device.");
2268
2271
  var duplicate_code_attempt_prevented = common_access_code_error.extend({
@@ -7135,6 +7138,11 @@ var openapi = {
7135
7138
  enum: [true],
7136
7139
  type: "boolean"
7137
7140
  },
7141
+ managed_access_code_id: {
7142
+ description: "ID of the managed access code that conflicts with this managed access code, when Seam can identify it.",
7143
+ format: "uuid",
7144
+ type: "string"
7145
+ },
7138
7146
  message: {
7139
7147
  description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
7140
7148
  type: "string"
@@ -30674,6 +30682,11 @@ var openapi = {
30674
30682
  enum: [true],
30675
30683
  type: "boolean"
30676
30684
  },
30685
+ managed_access_code_id: {
30686
+ description: "ID of the managed access code that conflicts with this managed access code, when Seam can identify it.",
30687
+ format: "uuid",
30688
+ type: "string"
30689
+ },
30677
30690
  message: {
30678
30691
  description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
30679
30692
  type: "string"