@seamapi/types 1.747.0 → 1.748.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.
@@ -4001,6 +4001,22 @@ declare const access_method: z.ZodObject<{
4001
4001
  message: string;
4002
4002
  created_at: string;
4003
4003
  warning_code: "updating_access_times";
4004
+ }>, z.ZodObject<{
4005
+ created_at: z.ZodString;
4006
+ message: z.ZodString;
4007
+ } & {
4008
+ warning_code: z.ZodLiteral<"pulled_backup_access_code">;
4009
+ original_access_method_id: z.ZodOptional<z.ZodString>;
4010
+ }, "strip", z.ZodTypeAny, {
4011
+ message: string;
4012
+ created_at: string;
4013
+ warning_code: "pulled_backup_access_code";
4014
+ original_access_method_id?: string | undefined;
4015
+ }, {
4016
+ message: string;
4017
+ created_at: string;
4018
+ warning_code: "pulled_backup_access_code";
4019
+ original_access_method_id?: string | undefined;
4004
4020
  }>]>, "many">;
4005
4021
  pending_mutations: z.ZodArray<z.ZodDiscriminatedUnion<"mutation_code", [z.ZodObject<{
4006
4022
  created_at: z.ZodString;
@@ -4143,6 +4159,11 @@ declare const access_method: z.ZodObject<{
4143
4159
  message: string;
4144
4160
  created_at: string;
4145
4161
  warning_code: "updating_access_times";
4162
+ } | {
4163
+ message: string;
4164
+ created_at: string;
4165
+ warning_code: "pulled_backup_access_code";
4166
+ original_access_method_id?: string | undefined;
4146
4167
  })[];
4147
4168
  mode: "code" | "card" | "mobile_key";
4148
4169
  pending_mutations: ({
@@ -4198,6 +4219,11 @@ declare const access_method: z.ZodObject<{
4198
4219
  message: string;
4199
4220
  created_at: string;
4200
4221
  warning_code: "updating_access_times";
4222
+ } | {
4223
+ message: string;
4224
+ created_at: string;
4225
+ warning_code: "pulled_backup_access_code";
4226
+ original_access_method_id?: string | undefined;
4201
4227
  })[];
4202
4228
  mode: "code" | "card" | "mobile_key";
4203
4229
  pending_mutations: ({
@@ -28038,6 +28064,22 @@ declare const batch: z.ZodObject<{
28038
28064
  message: string;
28039
28065
  created_at: string;
28040
28066
  warning_code: "updating_access_times";
28067
+ }>, z.ZodObject<{
28068
+ created_at: z.ZodString;
28069
+ message: z.ZodString;
28070
+ } & {
28071
+ warning_code: z.ZodLiteral<"pulled_backup_access_code">;
28072
+ original_access_method_id: z.ZodOptional<z.ZodString>;
28073
+ }, "strip", z.ZodTypeAny, {
28074
+ message: string;
28075
+ created_at: string;
28076
+ warning_code: "pulled_backup_access_code";
28077
+ original_access_method_id?: string | undefined;
28078
+ }, {
28079
+ message: string;
28080
+ created_at: string;
28081
+ warning_code: "pulled_backup_access_code";
28082
+ original_access_method_id?: string | undefined;
28041
28083
  }>]>, "many">;
28042
28084
  pending_mutations: z.ZodArray<z.ZodDiscriminatedUnion<"mutation_code", [z.ZodObject<{
28043
28085
  created_at: z.ZodString;
@@ -28180,6 +28222,11 @@ declare const batch: z.ZodObject<{
28180
28222
  message: string;
28181
28223
  created_at: string;
28182
28224
  warning_code: "updating_access_times";
28225
+ } | {
28226
+ message: string;
28227
+ created_at: string;
28228
+ warning_code: "pulled_backup_access_code";
28229
+ original_access_method_id?: string | undefined;
28183
28230
  })[];
28184
28231
  mode: "code" | "card" | "mobile_key";
28185
28232
  pending_mutations: ({
@@ -28235,6 +28282,11 @@ declare const batch: z.ZodObject<{
28235
28282
  message: string;
28236
28283
  created_at: string;
28237
28284
  warning_code: "updating_access_times";
28285
+ } | {
28286
+ message: string;
28287
+ created_at: string;
28288
+ warning_code: "pulled_backup_access_code";
28289
+ original_access_method_id?: string | undefined;
28238
28290
  })[];
28239
28291
  mode: "code" | "card" | "mobile_key";
28240
28292
  pending_mutations: ({
@@ -39431,6 +39483,11 @@ declare const batch: z.ZodObject<{
39431
39483
  message: string;
39432
39484
  created_at: string;
39433
39485
  warning_code: "updating_access_times";
39486
+ } | {
39487
+ message: string;
39488
+ created_at: string;
39489
+ warning_code: "pulled_backup_access_code";
39490
+ original_access_method_id?: string | undefined;
39434
39491
  })[];
39435
39492
  mode: "code" | "card" | "mobile_key";
39436
39493
  pending_mutations: ({
@@ -44228,6 +44285,11 @@ declare const batch: z.ZodObject<{
44228
44285
  message: string;
44229
44286
  created_at: string;
44230
44287
  warning_code: "updating_access_times";
44288
+ } | {
44289
+ message: string;
44290
+ created_at: string;
44291
+ warning_code: "pulled_backup_access_code";
44292
+ original_access_method_id?: string | undefined;
44231
44293
  })[];
44232
44294
  mode: "code" | "card" | "mobile_key";
44233
44295
  pending_mutations: ({
@@ -62686,7 +62748,7 @@ declare const _default: {
62686
62748
  discriminator: {
62687
62749
  propertyName: string;
62688
62750
  };
62689
- oneOf: {
62751
+ oneOf: ({
62690
62752
  description: string;
62691
62753
  properties: {
62692
62754
  created_at: {
@@ -62703,10 +62765,36 @@ declare const _default: {
62703
62765
  enum: string[];
62704
62766
  type: string;
62705
62767
  };
62768
+ original_access_method_id?: never;
62706
62769
  };
62707
62770
  required: string[];
62708
62771
  type: string;
62709
- }[];
62772
+ } | {
62773
+ description: string;
62774
+ properties: {
62775
+ created_at: {
62776
+ description: string;
62777
+ format: string;
62778
+ type: string;
62779
+ };
62780
+ message: {
62781
+ description: string;
62782
+ type: string;
62783
+ };
62784
+ original_access_method_id: {
62785
+ description: string;
62786
+ format: string;
62787
+ type: string;
62788
+ };
62789
+ warning_code: {
62790
+ description: string;
62791
+ enum: string[];
62792
+ type: string;
62793
+ };
62794
+ };
62795
+ required: string[];
62796
+ type: string;
62797
+ })[];
62710
62798
  };
62711
62799
  type: string;
62712
62800
  };
@@ -88779,7 +88867,7 @@ declare const _default: {
88779
88867
  discriminator: {
88780
88868
  propertyName: string;
88781
88869
  };
88782
- oneOf: {
88870
+ oneOf: ({
88783
88871
  description: string;
88784
88872
  properties: {
88785
88873
  created_at: {
@@ -88796,10 +88884,36 @@ declare const _default: {
88796
88884
  enum: string[];
88797
88885
  type: string;
88798
88886
  };
88887
+ original_access_method_id?: never;
88799
88888
  };
88800
88889
  required: string[];
88801
88890
  type: string;
88802
- }[];
88891
+ } | {
88892
+ description: string;
88893
+ properties: {
88894
+ created_at: {
88895
+ description: string;
88896
+ format: string;
88897
+ type: string;
88898
+ };
88899
+ message: {
88900
+ description: string;
88901
+ type: string;
88902
+ };
88903
+ original_access_method_id: {
88904
+ description: string;
88905
+ format: string;
88906
+ type: string;
88907
+ };
88908
+ warning_code: {
88909
+ description: string;
88910
+ enum: string[];
88911
+ type: string;
88912
+ };
88913
+ };
88914
+ required: string[];
88915
+ type: string;
88916
+ })[];
88803
88917
  };
88804
88918
  type: string;
88805
88919
  };
@@ -89052,7 +89166,7 @@ declare const _default: {
89052
89166
  discriminator: {
89053
89167
  propertyName: string;
89054
89168
  };
89055
- oneOf: {
89169
+ oneOf: ({
89056
89170
  description: string;
89057
89171
  properties: {
89058
89172
  created_at: {
@@ -89069,10 +89183,36 @@ declare const _default: {
89069
89183
  enum: string[];
89070
89184
  type: string;
89071
89185
  };
89186
+ original_access_method_id?: never;
89072
89187
  };
89073
89188
  required: string[];
89074
89189
  type: string;
89075
- }[];
89190
+ } | {
89191
+ description: string;
89192
+ properties: {
89193
+ created_at: {
89194
+ description: string;
89195
+ format: string;
89196
+ type: string;
89197
+ };
89198
+ message: {
89199
+ description: string;
89200
+ type: string;
89201
+ };
89202
+ original_access_method_id: {
89203
+ description: string;
89204
+ format: string;
89205
+ type: string;
89206
+ };
89207
+ warning_code: {
89208
+ description: string;
89209
+ enum: string[];
89210
+ type: string;
89211
+ };
89212
+ };
89213
+ required: string[];
89214
+ type: string;
89215
+ })[];
89076
89216
  };
89077
89217
  type: string;
89078
89218
  };
@@ -89321,7 +89461,7 @@ declare const _default: {
89321
89461
  discriminator: {
89322
89462
  propertyName: string;
89323
89463
  };
89324
- oneOf: {
89464
+ oneOf: ({
89325
89465
  description: string;
89326
89466
  properties: {
89327
89467
  created_at: {
@@ -89338,10 +89478,36 @@ declare const _default: {
89338
89478
  enum: string[];
89339
89479
  type: string;
89340
89480
  };
89481
+ original_access_method_id?: never;
89341
89482
  };
89342
89483
  required: string[];
89343
89484
  type: string;
89344
- }[];
89485
+ } | {
89486
+ description: string;
89487
+ properties: {
89488
+ created_at: {
89489
+ description: string;
89490
+ format: string;
89491
+ type: string;
89492
+ };
89493
+ message: {
89494
+ description: string;
89495
+ type: string;
89496
+ };
89497
+ original_access_method_id: {
89498
+ description: string;
89499
+ format: string;
89500
+ type: string;
89501
+ };
89502
+ warning_code: {
89503
+ description: string;
89504
+ enum: string[];
89505
+ type: string;
89506
+ };
89507
+ };
89508
+ required: string[];
89509
+ type: string;
89510
+ })[];
89345
89511
  };
89346
89512
  type: string;
89347
89513
  };
@@ -89612,7 +89778,7 @@ declare const _default: {
89612
89778
  discriminator: {
89613
89779
  propertyName: string;
89614
89780
  };
89615
- oneOf: {
89781
+ oneOf: ({
89616
89782
  description: string;
89617
89783
  properties: {
89618
89784
  created_at: {
@@ -89629,10 +89795,36 @@ declare const _default: {
89629
89795
  enum: string[];
89630
89796
  type: string;
89631
89797
  };
89798
+ original_access_method_id?: never;
89632
89799
  };
89633
89800
  required: string[];
89634
89801
  type: string;
89635
- }[];
89802
+ } | {
89803
+ description: string;
89804
+ properties: {
89805
+ created_at: {
89806
+ description: string;
89807
+ format: string;
89808
+ type: string;
89809
+ };
89810
+ message: {
89811
+ description: string;
89812
+ type: string;
89813
+ };
89814
+ original_access_method_id: {
89815
+ description: string;
89816
+ format: string;
89817
+ type: string;
89818
+ };
89819
+ warning_code: {
89820
+ description: string;
89821
+ enum: string[];
89822
+ type: string;
89823
+ };
89824
+ };
89825
+ required: string[];
89826
+ type: string;
89827
+ })[];
89636
89828
  };
89637
89829
  type: string;
89638
89830
  };
@@ -144925,6 +145117,15 @@ type Routes = {
144925
145117
  message: string;
144926
145118
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
144927
145119
  warning_code: 'updating_access_times';
145120
+ } | {
145121
+ /** Date and time at which Seam created the warning. */
145122
+ created_at: string;
145123
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
145124
+ message: string;
145125
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
145126
+ warning_code: 'pulled_backup_access_code';
145127
+ /** ID of the original access method from which this backup access method was split, if applicable. */
145128
+ original_access_method_id?: string | undefined;
144928
145129
  })[];
144929
145130
  /** Pending mutations for the [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods). Indicates operations that are in progress. */
144930
145131
  pending_mutations: ({
@@ -147087,6 +147288,15 @@ type Routes = {
147087
147288
  message: string;
147088
147289
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
147089
147290
  warning_code: 'updating_access_times';
147291
+ } | {
147292
+ /** Date and time at which Seam created the warning. */
147293
+ created_at: string;
147294
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
147295
+ message: string;
147296
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
147297
+ warning_code: 'pulled_backup_access_code';
147298
+ /** ID of the original access method from which this backup access method was split, if applicable. */
147299
+ original_access_method_id?: string | undefined;
147090
147300
  })[];
147091
147301
  /** Pending mutations for the [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods). Indicates operations that are in progress. */
147092
147302
  pending_mutations: ({
@@ -148817,6 +149027,15 @@ type Routes = {
148817
149027
  message: string;
148818
149028
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
148819
149029
  warning_code: 'updating_access_times';
149030
+ } | {
149031
+ /** Date and time at which Seam created the warning. */
149032
+ created_at: string;
149033
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
149034
+ message: string;
149035
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
149036
+ warning_code: 'pulled_backup_access_code';
149037
+ /** ID of the original access method from which this backup access method was split, if applicable. */
149038
+ original_access_method_id?: string | undefined;
148820
149039
  })[];
148821
149040
  /** Pending mutations for the [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods). Indicates operations that are in progress. */
148822
149041
  pending_mutations: ({
@@ -149122,6 +149341,15 @@ type Routes = {
149122
149341
  message: string;
149123
149342
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
149124
149343
  warning_code: 'updating_access_times';
149344
+ } | {
149345
+ /** Date and time at which Seam created the warning. */
149346
+ created_at: string;
149347
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
149348
+ message: string;
149349
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
149350
+ warning_code: 'pulled_backup_access_code';
149351
+ /** ID of the original access method from which this backup access method was split, if applicable. */
149352
+ original_access_method_id?: string | undefined;
149125
149353
  })[];
149126
149354
  /** Pending mutations for the [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods). Indicates operations that are in progress. */
149127
149355
  pending_mutations: ({
@@ -149232,6 +149460,15 @@ type Routes = {
149232
149460
  message: string;
149233
149461
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
149234
149462
  warning_code: 'updating_access_times';
149463
+ } | {
149464
+ /** Date and time at which Seam created the warning. */
149465
+ created_at: string;
149466
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
149467
+ message: string;
149468
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
149469
+ warning_code: 'pulled_backup_access_code';
149470
+ /** ID of the original access method from which this backup access method was split, if applicable. */
149471
+ original_access_method_id?: string | undefined;
149235
149472
  })[];
149236
149473
  /** Pending mutations for the [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods). Indicates operations that are in progress. */
149237
149474
  pending_mutations: ({
@@ -149345,6 +149582,15 @@ type Routes = {
149345
149582
  message: string;
149346
149583
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
149347
149584
  warning_code: 'updating_access_times';
149585
+ } | {
149586
+ /** Date and time at which Seam created the warning. */
149587
+ created_at: string;
149588
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
149589
+ message: string;
149590
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
149591
+ warning_code: 'pulled_backup_access_code';
149592
+ /** ID of the original access method from which this backup access method was split, if applicable. */
149593
+ original_access_method_id?: string | undefined;
149348
149594
  })[];
149349
149595
  /** Pending mutations for the [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods). Indicates operations that are in progress. */
149350
149596
  pending_mutations: ({
@@ -197514,6 +197760,15 @@ type Routes = {
197514
197760
  message: string;
197515
197761
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
197516
197762
  warning_code: 'updating_access_times';
197763
+ } | {
197764
+ /** Date and time at which Seam created the warning. */
197765
+ created_at: string;
197766
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
197767
+ message: string;
197768
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
197769
+ warning_code: 'pulled_backup_access_code';
197770
+ /** ID of the original access method from which this backup access method was split, if applicable. */
197771
+ original_access_method_id?: string | undefined;
197517
197772
  })[];
197518
197773
  /** Pending mutations for the [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods). Indicates operations that are in progress. */
197519
197774
  pending_mutations: ({
@@ -222009,6 +222264,15 @@ type Routes = {
222009
222264
  message: string;
222010
222265
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
222011
222266
  warning_code: 'updating_access_times';
222267
+ } | {
222268
+ /** Date and time at which Seam created the warning. */
222269
+ created_at: string;
222270
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
222271
+ message: string;
222272
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
222273
+ warning_code: 'pulled_backup_access_code';
222274
+ /** ID of the original access method from which this backup access method was split, if applicable. */
222275
+ original_access_method_id?: string | undefined;
222012
222276
  })[];
222013
222277
  /** Pending mutations for the [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods). Indicates operations that are in progress. */
222014
222278
  pending_mutations: ({