@seamapi/types 1.695.0 → 1.696.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.
@@ -3716,6 +3716,20 @@ declare const access_grant: z.ZodObject<{
3716
3716
  created_at: string;
3717
3717
  warning_code: "being_deleted";
3718
3718
  }>]>, "many">;
3719
+ errors: z.ZodArray<z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<{
3720
+ created_at: z.ZodString;
3721
+ message: z.ZodString;
3722
+ } & {
3723
+ error_code: z.ZodLiteral<"cannot_create_requested_access_methods">;
3724
+ }, "strip", z.ZodTypeAny, {
3725
+ message: string;
3726
+ created_at: string;
3727
+ error_code: "cannot_create_requested_access_methods";
3728
+ }, {
3729
+ message: string;
3730
+ created_at: string;
3731
+ error_code: "cannot_create_requested_access_methods";
3732
+ }>]>, "many">;
3719
3733
  customization_profile_id: z.ZodOptional<z.ZodString>;
3720
3734
  }, "strip", z.ZodTypeAny, {
3721
3735
  name: string | null;
@@ -3724,6 +3738,11 @@ declare const access_grant: z.ZodObject<{
3724
3738
  created_at: string;
3725
3739
  starts_at: string;
3726
3740
  ends_at: string | null;
3741
+ errors: {
3742
+ message: string;
3743
+ created_at: string;
3744
+ error_code: "cannot_create_requested_access_methods";
3745
+ }[];
3727
3746
  warnings: {
3728
3747
  message: string;
3729
3748
  created_at: string;
@@ -3753,6 +3772,11 @@ declare const access_grant: z.ZodObject<{
3753
3772
  created_at: string;
3754
3773
  starts_at: string;
3755
3774
  ends_at: string | null;
3775
+ errors: {
3776
+ message: string;
3777
+ created_at: string;
3778
+ error_code: "cannot_create_requested_access_methods";
3779
+ }[];
3756
3780
  warnings: {
3757
3781
  message: string;
3758
3782
  created_at: string;
@@ -25693,6 +25717,20 @@ declare const batch: z.ZodObject<{
25693
25717
  created_at: string;
25694
25718
  warning_code: "being_deleted";
25695
25719
  }>]>, "many">;
25720
+ errors: z.ZodArray<z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<{
25721
+ created_at: z.ZodString;
25722
+ message: z.ZodString;
25723
+ } & {
25724
+ error_code: z.ZodLiteral<"cannot_create_requested_access_methods">;
25725
+ }, "strip", z.ZodTypeAny, {
25726
+ message: string;
25727
+ created_at: string;
25728
+ error_code: "cannot_create_requested_access_methods";
25729
+ }, {
25730
+ message: string;
25731
+ created_at: string;
25732
+ error_code: "cannot_create_requested_access_methods";
25733
+ }>]>, "many">;
25696
25734
  customization_profile_id: z.ZodOptional<z.ZodString>;
25697
25735
  }, "strip", z.ZodTypeAny, {
25698
25736
  name: string | null;
@@ -25701,6 +25739,11 @@ declare const batch: z.ZodObject<{
25701
25739
  created_at: string;
25702
25740
  starts_at: string;
25703
25741
  ends_at: string | null;
25742
+ errors: {
25743
+ message: string;
25744
+ created_at: string;
25745
+ error_code: "cannot_create_requested_access_methods";
25746
+ }[];
25704
25747
  warnings: {
25705
25748
  message: string;
25706
25749
  created_at: string;
@@ -25730,6 +25773,11 @@ declare const batch: z.ZodObject<{
25730
25773
  created_at: string;
25731
25774
  starts_at: string;
25732
25775
  ends_at: string | null;
25776
+ errors: {
25777
+ message: string;
25778
+ created_at: string;
25779
+ error_code: "cannot_create_requested_access_methods";
25780
+ }[];
25733
25781
  warnings: {
25734
25782
  message: string;
25735
25783
  created_at: string;
@@ -34558,6 +34606,11 @@ declare const batch: z.ZodObject<{
34558
34606
  created_at: string;
34559
34607
  starts_at: string;
34560
34608
  ends_at: string | null;
34609
+ errors: {
34610
+ message: string;
34611
+ created_at: string;
34612
+ error_code: "cannot_create_requested_access_methods";
34613
+ }[];
34561
34614
  warnings: {
34562
34615
  message: string;
34563
34616
  created_at: string;
@@ -38635,6 +38688,11 @@ declare const batch: z.ZodObject<{
38635
38688
  created_at: string;
38636
38689
  starts_at: string;
38637
38690
  ends_at: string | null;
38691
+ errors: {
38692
+ message: string;
38693
+ created_at: string;
38694
+ error_code: "cannot_create_requested_access_methods";
38695
+ }[];
38638
38696
  warnings: {
38639
38697
  message: string;
38640
38698
  created_at: string;
@@ -53717,6 +53775,35 @@ declare const _default: {
53717
53775
  nullable: boolean;
53718
53776
  type: string;
53719
53777
  };
53778
+ errors: {
53779
+ description: string;
53780
+ items: {
53781
+ discriminator: {
53782
+ propertyName: string;
53783
+ };
53784
+ oneOf: {
53785
+ properties: {
53786
+ created_at: {
53787
+ description: string;
53788
+ format: string;
53789
+ type: string;
53790
+ };
53791
+ error_code: {
53792
+ description: string;
53793
+ enum: string[];
53794
+ type: string;
53795
+ };
53796
+ message: {
53797
+ description: string;
53798
+ type: string;
53799
+ };
53800
+ };
53801
+ required: string[];
53802
+ type: string;
53803
+ }[];
53804
+ };
53805
+ type: string;
53806
+ };
53720
53807
  instant_key_url: {
53721
53808
  description: string;
53722
53809
  format: string;
@@ -73079,6 +73166,35 @@ declare const _default: {
73079
73166
  nullable: boolean;
73080
73167
  type: string;
73081
73168
  };
73169
+ errors: {
73170
+ description: string;
73171
+ items: {
73172
+ discriminator: {
73173
+ propertyName: string;
73174
+ };
73175
+ oneOf: {
73176
+ properties: {
73177
+ created_at: {
73178
+ description: string;
73179
+ format: string;
73180
+ type: string;
73181
+ };
73182
+ error_code: {
73183
+ description: string;
73184
+ enum: string[];
73185
+ type: string;
73186
+ };
73187
+ message: {
73188
+ description: string;
73189
+ type: string;
73190
+ };
73191
+ };
73192
+ required: string[];
73193
+ type: string;
73194
+ }[];
73195
+ };
73196
+ type: string;
73197
+ };
73082
73198
  location_ids: {
73083
73199
  deprecated: boolean;
73084
73200
  items: {
@@ -73301,6 +73417,35 @@ declare const _default: {
73301
73417
  nullable: boolean;
73302
73418
  type: string;
73303
73419
  };
73420
+ errors: {
73421
+ description: string;
73422
+ items: {
73423
+ discriminator: {
73424
+ propertyName: string;
73425
+ };
73426
+ oneOf: {
73427
+ properties: {
73428
+ created_at: {
73429
+ description: string;
73430
+ format: string;
73431
+ type: string;
73432
+ };
73433
+ error_code: {
73434
+ description: string;
73435
+ enum: string[];
73436
+ type: string;
73437
+ };
73438
+ message: {
73439
+ description: string;
73440
+ type: string;
73441
+ };
73442
+ };
73443
+ required: string[];
73444
+ type: string;
73445
+ }[];
73446
+ };
73447
+ type: string;
73448
+ };
73304
73449
  location_ids: {
73305
73450
  deprecated: boolean;
73306
73451
  items: {
@@ -73526,6 +73671,35 @@ declare const _default: {
73526
73671
  nullable: boolean;
73527
73672
  type: string;
73528
73673
  };
73674
+ errors: {
73675
+ description: string;
73676
+ items: {
73677
+ discriminator: {
73678
+ propertyName: string;
73679
+ };
73680
+ oneOf: {
73681
+ properties: {
73682
+ created_at: {
73683
+ description: string;
73684
+ format: string;
73685
+ type: string;
73686
+ };
73687
+ error_code: {
73688
+ description: string;
73689
+ enum: string[];
73690
+ type: string;
73691
+ };
73692
+ message: {
73693
+ description: string;
73694
+ type: string;
73695
+ };
73696
+ };
73697
+ required: string[];
73698
+ type: string;
73699
+ }[];
73700
+ };
73701
+ type: string;
73702
+ };
73529
73703
  location_ids: {
73530
73704
  deprecated: boolean;
73531
73705
  items: {
@@ -73764,6 +73938,35 @@ declare const _default: {
73764
73938
  nullable: boolean;
73765
73939
  type: string;
73766
73940
  };
73941
+ errors: {
73942
+ description: string;
73943
+ items: {
73944
+ discriminator: {
73945
+ propertyName: string;
73946
+ };
73947
+ oneOf: {
73948
+ properties: {
73949
+ created_at: {
73950
+ description: string;
73951
+ format: string;
73952
+ type: string;
73953
+ };
73954
+ error_code: {
73955
+ description: string;
73956
+ enum: string[];
73957
+ type: string;
73958
+ };
73959
+ message: {
73960
+ description: string;
73961
+ type: string;
73962
+ };
73963
+ };
73964
+ required: string[];
73965
+ type: string;
73966
+ }[];
73967
+ };
73968
+ type: string;
73969
+ };
73767
73970
  location_ids: {
73768
73971
  deprecated: boolean;
73769
73972
  items: {
@@ -124821,6 +125024,15 @@ type Routes = {
124821
125024
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
124822
125025
  warning_code: 'being_deleted';
124823
125026
  }[];
125027
+ /** Errors associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants). */
125028
+ errors: {
125029
+ /** Date and time at which Seam created the error. */
125030
+ created_at: string;
125031
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
125032
+ message: string;
125033
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
125034
+ error_code: 'cannot_create_requested_access_methods';
125035
+ }[];
124824
125036
  /** ID of the customization profile associated with the Access Grant. */
124825
125037
  customization_profile_id?: string | undefined;
124826
125038
  };
@@ -124909,6 +125121,15 @@ type Routes = {
124909
125121
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
124910
125122
  warning_code: 'being_deleted';
124911
125123
  }[];
125124
+ /** Errors associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants). */
125125
+ errors: {
125126
+ /** Date and time at which Seam created the error. */
125127
+ created_at: string;
125128
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
125129
+ message: string;
125130
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
125131
+ error_code: 'cannot_create_requested_access_methods';
125132
+ }[];
124912
125133
  /** ID of the customization profile associated with the Access Grant. */
124913
125134
  customization_profile_id?: string | undefined;
124914
125135
  };
@@ -126737,6 +126958,15 @@ type Routes = {
126737
126958
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
126738
126959
  warning_code: 'being_deleted';
126739
126960
  }[];
126961
+ /** Errors associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants). */
126962
+ errors: {
126963
+ /** Date and time at which Seam created the error. */
126964
+ created_at: string;
126965
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
126966
+ message: string;
126967
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
126968
+ error_code: 'cannot_create_requested_access_methods';
126969
+ }[];
126740
126970
  /** ID of the customization profile associated with the Access Grant. */
126741
126971
  customization_profile_id?: string | undefined;
126742
126972
  }[];
@@ -126816,6 +127046,15 @@ type Routes = {
126816
127046
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
126817
127047
  warning_code: 'being_deleted';
126818
127048
  }[];
127049
+ /** Errors associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants). */
127050
+ errors: {
127051
+ /** Date and time at which Seam created the error. */
127052
+ created_at: string;
127053
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
127054
+ message: string;
127055
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
127056
+ error_code: 'cannot_create_requested_access_methods';
127057
+ }[];
126819
127058
  /** ID of the customization profile associated with the Access Grant. */
126820
127059
  customization_profile_id?: string | undefined;
126821
127060
  };
@@ -126880,6 +127119,15 @@ type Routes = {
126880
127119
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
126881
127120
  warning_code: 'being_deleted';
126882
127121
  }[];
127122
+ /** Errors associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants). */
127123
+ errors: {
127124
+ /** Date and time at which Seam created the error. */
127125
+ created_at: string;
127126
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
127127
+ message: string;
127128
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
127129
+ error_code: 'cannot_create_requested_access_methods';
127130
+ }[];
126883
127131
  /** ID of user identity to which the Access Grant gives access. */
126884
127132
  user_identity_id?: string | undefined;
126885
127133
  };
@@ -126949,6 +127197,15 @@ type Routes = {
126949
127197
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
126950
127198
  warning_code: 'being_deleted';
126951
127199
  }[];
127200
+ /** Errors associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants). */
127201
+ errors: {
127202
+ /** Date and time at which Seam created the error. */
127203
+ created_at: string;
127204
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
127205
+ message: string;
127206
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
127207
+ error_code: 'cannot_create_requested_access_methods';
127208
+ }[];
126952
127209
  /** ID of user identity to which the Access Grant gives access. */
126953
127210
  user_identity_id?: string | undefined;
126954
127211
  }[];
@@ -129781,6 +130038,15 @@ type Routes = {
129781
130038
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
129782
130039
  warning_code: 'being_deleted';
129783
130040
  }[];
130041
+ /** Errors associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants). */
130042
+ errors: {
130043
+ /** Date and time at which Seam created the error. */
130044
+ created_at: string;
130045
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
130046
+ message: string;
130047
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
130048
+ error_code: 'cannot_create_requested_access_methods';
130049
+ }[];
129784
130050
  /** ID of the customization profile associated with the Access Grant. */
129785
130051
  customization_profile_id?: string | undefined;
129786
130052
  }[] | undefined;
@@ -167079,6 +167345,15 @@ type Routes = {
167079
167345
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
167080
167346
  warning_code: 'being_deleted';
167081
167347
  }[];
167348
+ /** Errors associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants). */
167349
+ errors: {
167350
+ /** Date and time at which Seam created the error. */
167351
+ created_at: string;
167352
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
167353
+ message: string;
167354
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
167355
+ error_code: 'cannot_create_requested_access_methods';
167356
+ }[];
167082
167357
  /** ID of the customization profile associated with the Access Grant. */
167083
167358
  customization_profile_id?: string | undefined;
167084
167359
  }[];
@@ -169953,6 +170228,15 @@ type Routes = {
169953
170228
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
169954
170229
  warning_code: 'being_deleted';
169955
170230
  }[];
170231
+ /** Errors associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants). */
170232
+ errors: {
170233
+ /** Date and time at which Seam created the error. */
170234
+ created_at: string;
170235
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
170236
+ message: string;
170237
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
170238
+ error_code: 'cannot_create_requested_access_methods';
170239
+ }[];
169956
170240
  /** ID of the customization profile associated with the Access Grant. */
169957
170241
  customization_profile_id?: string | undefined;
169958
170242
  };
@@ -196194,6 +196478,15 @@ type Routes = {
196194
196478
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
196195
196479
  warning_code: 'being_deleted';
196196
196480
  }[];
196481
+ /** Errors associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants). */
196482
+ errors: {
196483
+ /** Date and time at which Seam created the error. */
196484
+ created_at: string;
196485
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
196486
+ message: string;
196487
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
196488
+ error_code: 'cannot_create_requested_access_methods';
196489
+ }[];
196197
196490
  /** ID of the customization profile associated with the Access Grant. */
196198
196491
  customization_profile_id?: string | undefined;
196199
196492
  }[] | undefined;