@seamapi/types 1.554.0 → 1.555.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.
@@ -3640,6 +3640,20 @@ declare const access_grant: z.ZodObject<{
3640
3640
  created_at: z.ZodString;
3641
3641
  starts_at: z.ZodString;
3642
3642
  ends_at: z.ZodNullable<z.ZodString>;
3643
+ warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
3644
+ created_at: z.ZodString;
3645
+ message: z.ZodString;
3646
+ } & {
3647
+ warning_code: z.ZodLiteral<"being_deleted">;
3648
+ }, "strip", z.ZodTypeAny, {
3649
+ message: string;
3650
+ created_at: string;
3651
+ warning_code: "being_deleted";
3652
+ }, {
3653
+ message: string;
3654
+ created_at: string;
3655
+ warning_code: "being_deleted";
3656
+ }>]>, "many">;
3643
3657
  customization_profile_id: z.ZodOptional<z.ZodString>;
3644
3658
  }, "strip", z.ZodTypeAny, {
3645
3659
  name: string | null;
@@ -3648,6 +3662,11 @@ declare const access_grant: z.ZodObject<{
3648
3662
  created_at: string;
3649
3663
  starts_at: string;
3650
3664
  ends_at: string | null;
3665
+ warnings: {
3666
+ message: string;
3667
+ created_at: string;
3668
+ warning_code: "being_deleted";
3669
+ }[];
3651
3670
  access_grant_id: string;
3652
3671
  user_identity_id: string;
3653
3672
  location_ids: string[];
@@ -3671,6 +3690,11 @@ declare const access_grant: z.ZodObject<{
3671
3690
  created_at: string;
3672
3691
  starts_at: string;
3673
3692
  ends_at: string | null;
3693
+ warnings: {
3694
+ message: string;
3695
+ created_at: string;
3696
+ warning_code: "being_deleted";
3697
+ }[];
3674
3698
  access_grant_id: string;
3675
3699
  user_identity_id: string;
3676
3700
  location_ids: string[];
@@ -3702,11 +3726,30 @@ declare const access_method: z.ZodObject<{
3702
3726
  client_session_token: z.ZodOptional<z.ZodString>;
3703
3727
  is_encoding_required: z.ZodOptional<z.ZodBoolean>;
3704
3728
  code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3729
+ warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
3730
+ created_at: z.ZodString;
3731
+ message: z.ZodString;
3732
+ } & {
3733
+ warning_code: z.ZodLiteral<"being_deleted">;
3734
+ }, "strip", z.ZodTypeAny, {
3735
+ message: string;
3736
+ created_at: string;
3737
+ warning_code: "being_deleted";
3738
+ }, {
3739
+ message: string;
3740
+ created_at: string;
3741
+ warning_code: "being_deleted";
3742
+ }>]>, "many">;
3705
3743
  customization_profile_id: z.ZodOptional<z.ZodString>;
3706
3744
  }, "strip", z.ZodTypeAny, {
3707
3745
  display_name: string;
3708
3746
  workspace_id: string;
3709
3747
  created_at: string;
3748
+ warnings: {
3749
+ message: string;
3750
+ created_at: string;
3751
+ warning_code: "being_deleted";
3752
+ }[];
3710
3753
  mode: "code" | "card" | "mobile_key";
3711
3754
  access_method_id: string;
3712
3755
  issued_at: string | null;
@@ -3720,6 +3763,11 @@ declare const access_method: z.ZodObject<{
3720
3763
  display_name: string;
3721
3764
  workspace_id: string;
3722
3765
  created_at: string;
3766
+ warnings: {
3767
+ message: string;
3768
+ created_at: string;
3769
+ warning_code: "being_deleted";
3770
+ }[];
3723
3771
  mode: "code" | "card" | "mobile_key";
3724
3772
  access_method_id: string;
3725
3773
  issued_at: string | null;
@@ -24573,11 +24621,30 @@ declare const batch: z.ZodObject<{
24573
24621
  client_session_token: z.ZodOptional<z.ZodString>;
24574
24622
  is_encoding_required: z.ZodOptional<z.ZodBoolean>;
24575
24623
  code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24624
+ warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
24625
+ created_at: z.ZodString;
24626
+ message: z.ZodString;
24627
+ } & {
24628
+ warning_code: z.ZodLiteral<"being_deleted">;
24629
+ }, "strip", z.ZodTypeAny, {
24630
+ message: string;
24631
+ created_at: string;
24632
+ warning_code: "being_deleted";
24633
+ }, {
24634
+ message: string;
24635
+ created_at: string;
24636
+ warning_code: "being_deleted";
24637
+ }>]>, "many">;
24576
24638
  customization_profile_id: z.ZodOptional<z.ZodString>;
24577
24639
  }, "strip", z.ZodTypeAny, {
24578
24640
  display_name: string;
24579
24641
  workspace_id: string;
24580
24642
  created_at: string;
24643
+ warnings: {
24644
+ message: string;
24645
+ created_at: string;
24646
+ warning_code: "being_deleted";
24647
+ }[];
24581
24648
  mode: "code" | "card" | "mobile_key";
24582
24649
  access_method_id: string;
24583
24650
  issued_at: string | null;
@@ -24591,6 +24658,11 @@ declare const batch: z.ZodObject<{
24591
24658
  display_name: string;
24592
24659
  workspace_id: string;
24593
24660
  created_at: string;
24661
+ warnings: {
24662
+ message: string;
24663
+ created_at: string;
24664
+ warning_code: "being_deleted";
24665
+ }[];
24594
24666
  mode: "code" | "card" | "mobile_key";
24595
24667
  access_method_id: string;
24596
24668
  issued_at: string | null;
@@ -24635,6 +24707,20 @@ declare const batch: z.ZodObject<{
24635
24707
  created_at: z.ZodString;
24636
24708
  starts_at: z.ZodString;
24637
24709
  ends_at: z.ZodNullable<z.ZodString>;
24710
+ warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
24711
+ created_at: z.ZodString;
24712
+ message: z.ZodString;
24713
+ } & {
24714
+ warning_code: z.ZodLiteral<"being_deleted">;
24715
+ }, "strip", z.ZodTypeAny, {
24716
+ message: string;
24717
+ created_at: string;
24718
+ warning_code: "being_deleted";
24719
+ }, {
24720
+ message: string;
24721
+ created_at: string;
24722
+ warning_code: "being_deleted";
24723
+ }>]>, "many">;
24638
24724
  customization_profile_id: z.ZodOptional<z.ZodString>;
24639
24725
  }, "strip", z.ZodTypeAny, {
24640
24726
  name: string | null;
@@ -24643,6 +24729,11 @@ declare const batch: z.ZodObject<{
24643
24729
  created_at: string;
24644
24730
  starts_at: string;
24645
24731
  ends_at: string | null;
24732
+ warnings: {
24733
+ message: string;
24734
+ created_at: string;
24735
+ warning_code: "being_deleted";
24736
+ }[];
24646
24737
  access_grant_id: string;
24647
24738
  user_identity_id: string;
24648
24739
  location_ids: string[];
@@ -24666,6 +24757,11 @@ declare const batch: z.ZodObject<{
24666
24757
  created_at: string;
24667
24758
  starts_at: string;
24668
24759
  ends_at: string | null;
24760
+ warnings: {
24761
+ message: string;
24762
+ created_at: string;
24763
+ warning_code: "being_deleted";
24764
+ }[];
24669
24765
  access_grant_id: string;
24670
24766
  user_identity_id: string;
24671
24767
  location_ids: string[];
@@ -31751,6 +31847,11 @@ declare const batch: z.ZodObject<{
31751
31847
  created_at: string;
31752
31848
  starts_at: string;
31753
31849
  ends_at: string | null;
31850
+ warnings: {
31851
+ message: string;
31852
+ created_at: string;
31853
+ warning_code: "being_deleted";
31854
+ }[];
31754
31855
  access_grant_id: string;
31755
31856
  user_identity_id: string;
31756
31857
  location_ids: string[];
@@ -31818,6 +31919,11 @@ declare const batch: z.ZodObject<{
31818
31919
  display_name: string;
31819
31920
  workspace_id: string;
31820
31921
  created_at: string;
31922
+ warnings: {
31923
+ message: string;
31924
+ created_at: string;
31925
+ warning_code: "being_deleted";
31926
+ }[];
31821
31927
  mode: "code" | "card" | "mobile_key";
31822
31928
  access_method_id: string;
31823
31929
  issued_at: string | null;
@@ -35654,6 +35760,11 @@ declare const batch: z.ZodObject<{
35654
35760
  created_at: string;
35655
35761
  starts_at: string;
35656
35762
  ends_at: string | null;
35763
+ warnings: {
35764
+ message: string;
35765
+ created_at: string;
35766
+ warning_code: "being_deleted";
35767
+ }[];
35657
35768
  access_grant_id: string;
35658
35769
  user_identity_id: string;
35659
35770
  location_ids: string[];
@@ -35721,6 +35832,11 @@ declare const batch: z.ZodObject<{
35721
35832
  display_name: string;
35722
35833
  workspace_id: string;
35723
35834
  created_at: string;
35835
+ warnings: {
35836
+ message: string;
35837
+ created_at: string;
35838
+ warning_code: "being_deleted";
35839
+ }[];
35724
35840
  mode: "code" | "card" | "mobile_key";
35725
35841
  access_method_id: string;
35726
35842
  issued_at: string | null;
@@ -51911,6 +52027,37 @@ declare const _default: {
51911
52027
  format: string;
51912
52028
  type: string;
51913
52029
  };
52030
+ warnings: {
52031
+ description: string;
52032
+ items: {
52033
+ description: string;
52034
+ discriminator: {
52035
+ propertyName: string;
52036
+ };
52037
+ oneOf: {
52038
+ description: string;
52039
+ properties: {
52040
+ created_at: {
52041
+ description: string;
52042
+ format: string;
52043
+ type: string;
52044
+ };
52045
+ message: {
52046
+ description: string;
52047
+ type: string;
52048
+ };
52049
+ warning_code: {
52050
+ description: string;
52051
+ enum: string[];
52052
+ type: string;
52053
+ };
52054
+ };
52055
+ required: string[];
52056
+ type: string;
52057
+ }[];
52058
+ };
52059
+ type: string;
52060
+ };
51914
52061
  workspace_id: {
51915
52062
  description: string;
51916
52063
  format: string;
@@ -51977,6 +52124,37 @@ declare const _default: {
51977
52124
  enum: string[];
51978
52125
  type: string;
51979
52126
  };
52127
+ warnings: {
52128
+ description: string;
52129
+ items: {
52130
+ description: string;
52131
+ discriminator: {
52132
+ propertyName: string;
52133
+ };
52134
+ oneOf: {
52135
+ description: string;
52136
+ properties: {
52137
+ created_at: {
52138
+ description: string;
52139
+ format: string;
52140
+ type: string;
52141
+ };
52142
+ message: {
52143
+ description: string;
52144
+ type: string;
52145
+ };
52146
+ warning_code: {
52147
+ description: string;
52148
+ enum: string[];
52149
+ type: string;
52150
+ };
52151
+ };
52152
+ required: string[];
52153
+ type: string;
52154
+ }[];
52155
+ };
52156
+ type: string;
52157
+ };
51980
52158
  workspace_id: {
51981
52159
  description: string;
51982
52160
  format: string;
@@ -113656,6 +113834,15 @@ type Routes = {
113656
113834
  starts_at: string;
113657
113835
  /** Date and time at which the Access Grant ends. */
113658
113836
  ends_at: string | null;
113837
+ /** Warnings associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants). */
113838
+ warnings: {
113839
+ /** Date and time at which Seam created the warning. */
113840
+ created_at: string;
113841
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
113842
+ message: string;
113843
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
113844
+ warning_code: 'being_deleted';
113845
+ }[];
113659
113846
  /** ID of the customization profile associated with the Access Grant. */
113660
113847
  customization_profile_id?: string | undefined;
113661
113848
  };
@@ -113731,6 +113918,15 @@ type Routes = {
113731
113918
  starts_at: string;
113732
113919
  /** Date and time at which the Access Grant ends. */
113733
113920
  ends_at: string | null;
113921
+ /** Warnings associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants). */
113922
+ warnings: {
113923
+ /** Date and time at which Seam created the warning. */
113924
+ created_at: string;
113925
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
113926
+ message: string;
113927
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
113928
+ warning_code: 'being_deleted';
113929
+ }[];
113734
113930
  /** ID of the customization profile associated with the Access Grant. */
113735
113931
  customization_profile_id?: string | undefined;
113736
113932
  };
@@ -115498,6 +115694,15 @@ type Routes = {
115498
115694
  starts_at: string;
115499
115695
  /** Date and time at which the Access Grant ends. */
115500
115696
  ends_at: string | null;
115697
+ /** Warnings associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants). */
115698
+ warnings: {
115699
+ /** Date and time at which Seam created the warning. */
115700
+ created_at: string;
115701
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
115702
+ message: string;
115703
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
115704
+ warning_code: 'being_deleted';
115705
+ }[];
115501
115706
  /** ID of the customization profile associated with the Access Grant. */
115502
115707
  customization_profile_id?: string | undefined;
115503
115708
  }[];
@@ -116828,6 +117033,15 @@ type Routes = {
116828
117033
  is_encoding_required?: boolean | undefined;
116829
117034
  /** The actual PIN code for code access methods. */
116830
117035
  code?: (string | null) | undefined;
117036
+ /** Warnings associated with the [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods). */
117037
+ warnings: {
117038
+ /** Date and time at which Seam created the warning. */
117039
+ created_at: string;
117040
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
117041
+ message: string;
117042
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
117043
+ warning_code: 'being_deleted';
117044
+ }[];
116831
117045
  /** ID of the customization profile associated with the access method. */
116832
117046
  customization_profile_id?: string | undefined;
116833
117047
  };
@@ -120887,6 +121101,15 @@ type Routes = {
120887
121101
  is_encoding_required?: boolean | undefined;
120888
121102
  /** The actual PIN code for code access methods. */
120889
121103
  code?: (string | null) | undefined;
121104
+ /** Warnings associated with the [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods). */
121105
+ warnings: {
121106
+ /** Date and time at which Seam created the warning. */
121107
+ created_at: string;
121108
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
121109
+ message: string;
121110
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
121111
+ warning_code: 'being_deleted';
121112
+ }[];
120890
121113
  /** ID of the customization profile associated with the access method. */
120891
121114
  customization_profile_id?: string | undefined;
120892
121115
  }[] | undefined;
@@ -120933,6 +121156,15 @@ type Routes = {
120933
121156
  starts_at: string;
120934
121157
  /** Date and time at which the Access Grant ends. */
120935
121158
  ends_at: string | null;
121159
+ /** Warnings associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants). */
121160
+ warnings: {
121161
+ /** Date and time at which Seam created the warning. */
121162
+ created_at: string;
121163
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
121164
+ message: string;
121165
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
121166
+ warning_code: 'being_deleted';
121167
+ }[];
120936
121168
  /** ID of the customization profile associated with the Access Grant. */
120937
121169
  customization_profile_id?: string | undefined;
120938
121170
  }[] | undefined;
@@ -123973,6 +124205,15 @@ type Routes = {
123973
124205
  is_encoding_required?: boolean | undefined;
123974
124206
  /** The actual PIN code for code access methods. */
123975
124207
  code?: (string | null) | undefined;
124208
+ /** Warnings associated with the [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods). */
124209
+ warnings: {
124210
+ /** Date and time at which Seam created the warning. */
124211
+ created_at: string;
124212
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
124213
+ message: string;
124214
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
124215
+ warning_code: 'being_deleted';
124216
+ }[];
123976
124217
  /** ID of the customization profile associated with the access method. */
123977
124218
  customization_profile_id?: string | undefined;
123978
124219
  }[];
@@ -187603,6 +187844,15 @@ type Routes = {
187603
187844
  is_encoding_required?: boolean | undefined;
187604
187845
  /** The actual PIN code for code access methods. */
187605
187846
  code?: (string | null) | undefined;
187847
+ /** Warnings associated with the [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods). */
187848
+ warnings: {
187849
+ /** Date and time at which Seam created the warning. */
187850
+ created_at: string;
187851
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
187852
+ message: string;
187853
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
187854
+ warning_code: 'being_deleted';
187855
+ }[];
187606
187856
  /** ID of the customization profile associated with the access method. */
187607
187857
  customization_profile_id?: string | undefined;
187608
187858
  }[] | undefined;
@@ -187649,6 +187899,15 @@ type Routes = {
187649
187899
  starts_at: string;
187650
187900
  /** Date and time at which the Access Grant ends. */
187651
187901
  ends_at: string | null;
187902
+ /** Warnings associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants). */
187903
+ warnings: {
187904
+ /** Date and time at which Seam created the warning. */
187905
+ created_at: string;
187906
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
187907
+ message: string;
187908
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
187909
+ warning_code: 'being_deleted';
187910
+ }[];
187652
187911
  /** ID of the customization profile associated with the Access Grant. */
187653
187912
  customization_profile_id?: string | undefined;
187654
187913
  }[] | undefined;