@seamapi/types 1.746.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
  };
@@ -112650,15 +112842,9 @@ declare const _default: {
112650
112842
  security: ({
112651
112843
  console_session_with_workspace: never[];
112652
112844
  api_key?: never;
112653
- client_session_with_customer?: never;
112654
112845
  } | {
112655
112846
  api_key: never[];
112656
112847
  console_session_with_workspace?: never;
112657
- client_session_with_customer?: never;
112658
- } | {
112659
- client_session_with_customer: never[];
112660
- console_session_with_workspace?: never;
112661
- api_key?: never;
112662
112848
  })[];
112663
112849
  summary: string;
112664
112850
  tags: never[];
@@ -112961,15 +113147,9 @@ declare const _default: {
112961
113147
  security: ({
112962
113148
  console_session_with_workspace: never[];
112963
113149
  api_key?: never;
112964
- client_session_with_customer?: never;
112965
113150
  } | {
112966
113151
  api_key: never[];
112967
113152
  console_session_with_workspace?: never;
112968
- client_session_with_customer?: never;
112969
- } | {
112970
- client_session_with_customer: never[];
112971
- console_session_with_workspace?: never;
112972
- api_key?: never;
112973
113153
  })[];
112974
113154
  summary: string;
112975
113155
  tags: never[];
@@ -114983,12 +115163,7 @@ declare const _default: {
114983
115163
  };
114984
115164
  type: string;
114985
115165
  };
114986
- customer_key: {
114987
- description: string;
114988
- type: string;
114989
- };
114990
115166
  };
114991
- required: string[];
114992
115167
  type: string;
114993
115168
  };
114994
115169
  };
@@ -115018,19 +115193,9 @@ declare const _default: {
115018
115193
  description: string;
115019
115194
  };
115020
115195
  };
115021
- security: ({
115022
- pat_with_workspace: never[];
115023
- console_session_with_workspace?: never;
115024
- api_key?: never;
115025
- } | {
115026
- console_session_with_workspace: never[];
115027
- pat_with_workspace?: never;
115028
- api_key?: never;
115029
- } | {
115030
- api_key: never[];
115031
- pat_with_workspace?: never;
115032
- console_session_with_workspace?: never;
115033
- })[];
115196
+ security: {
115197
+ client_session_with_customer: never[];
115198
+ }[];
115034
115199
  summary: string;
115035
115200
  tags: never[];
115036
115201
  'x-fern-sdk-group-name': string[];
@@ -115298,12 +115463,7 @@ declare const _default: {
115298
115463
  };
115299
115464
  type: string;
115300
115465
  };
115301
- customer_key: {
115302
- description: string;
115303
- type: string;
115304
- };
115305
115466
  };
115306
- required: string[];
115307
115467
  type: string;
115308
115468
  };
115309
115469
  };
@@ -115333,19 +115493,9 @@ declare const _default: {
115333
115493
  description: string;
115334
115494
  };
115335
115495
  };
115336
- security: ({
115337
- pat_with_workspace: never[];
115338
- console_session_with_workspace?: never;
115339
- api_key?: never;
115340
- } | {
115341
- console_session_with_workspace: never[];
115342
- pat_with_workspace?: never;
115343
- api_key?: never;
115344
- } | {
115345
- api_key: never[];
115346
- pat_with_workspace?: never;
115347
- console_session_with_workspace?: never;
115348
- })[];
115496
+ security: {
115497
+ client_session_with_customer: never[];
115498
+ }[];
115349
115499
  summary: string;
115350
115500
  tags: never[];
115351
115501
  'x-fern-sdk-group-name': string[];
@@ -144967,6 +145117,15 @@ type Routes = {
144967
145117
  message: string;
144968
145118
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
144969
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;
144970
145129
  })[];
144971
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. */
144972
145131
  pending_mutations: ({
@@ -147129,6 +147288,15 @@ type Routes = {
147129
147288
  message: string;
147130
147289
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
147131
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;
147132
147300
  })[];
147133
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. */
147134
147302
  pending_mutations: ({
@@ -148859,6 +149027,15 @@ type Routes = {
148859
149027
  message: string;
148860
149028
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
148861
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;
148862
149039
  })[];
148863
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. */
148864
149041
  pending_mutations: ({
@@ -149164,6 +149341,15 @@ type Routes = {
149164
149341
  message: string;
149165
149342
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
149166
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;
149167
149353
  })[];
149168
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. */
149169
149355
  pending_mutations: ({
@@ -149274,6 +149460,15 @@ type Routes = {
149274
149460
  message: string;
149275
149461
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
149276
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;
149277
149472
  })[];
149278
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. */
149279
149474
  pending_mutations: ({
@@ -149387,6 +149582,15 @@ type Routes = {
149387
149582
  message: string;
149388
149583
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
149389
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;
149390
149594
  })[];
149391
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. */
149392
149596
  pending_mutations: ({
@@ -191291,8 +191495,6 @@ type Routes = {
191291
191495
  method: 'PATCH' | 'POST';
191292
191496
  queryParams: {};
191293
191497
  jsonBody: {
191294
- /** Key of the customer. */
191295
- customer_key: string;
191296
191498
  /** Access automation rules configuration. */
191297
191499
  access_rules?: {
191298
191500
  reservation_created?: {
@@ -197558,6 +197760,15 @@ type Routes = {
197558
197760
  message: string;
197559
197761
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
197560
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;
197561
197772
  })[];
197562
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. */
197563
197774
  pending_mutations: ({
@@ -222053,6 +222264,15 @@ type Routes = {
222053
222264
  message: string;
222054
222265
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
222055
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;
222056
222276
  })[];
222057
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. */
222058
222278
  pending_mutations: ({