@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.
@@ -1,4 +1,33 @@
1
1
  import { z } from 'zod';
2
+ declare const _access_grant_warning_map: z.ZodObject<{
3
+ being_deleted: z.ZodNullable<z.ZodOptional<z.ZodObject<{
4
+ created_at: z.ZodString;
5
+ message: z.ZodString;
6
+ } & {
7
+ warning_code: z.ZodLiteral<"being_deleted">;
8
+ }, "strip", z.ZodTypeAny, {
9
+ message: string;
10
+ created_at: string;
11
+ warning_code: "being_deleted";
12
+ }, {
13
+ message: string;
14
+ created_at: string;
15
+ warning_code: "being_deleted";
16
+ }>>>;
17
+ }, "strip", z.ZodTypeAny, {
18
+ being_deleted?: {
19
+ message: string;
20
+ created_at: string;
21
+ warning_code: "being_deleted";
22
+ } | null | undefined;
23
+ }, {
24
+ being_deleted?: {
25
+ message: string;
26
+ created_at: string;
27
+ warning_code: "being_deleted";
28
+ } | null | undefined;
29
+ }>;
30
+ export type AccessGrantWarningMap = z.infer<typeof _access_grant_warning_map>;
2
31
  export declare const access_grant: z.ZodObject<{
3
32
  workspace_id: z.ZodString;
4
33
  access_grant_id: z.ZodString;
@@ -33,6 +62,20 @@ export declare const access_grant: z.ZodObject<{
33
62
  created_at: z.ZodString;
34
63
  starts_at: z.ZodString;
35
64
  ends_at: z.ZodNullable<z.ZodString>;
65
+ warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
66
+ created_at: z.ZodString;
67
+ message: z.ZodString;
68
+ } & {
69
+ warning_code: z.ZodLiteral<"being_deleted">;
70
+ }, "strip", z.ZodTypeAny, {
71
+ message: string;
72
+ created_at: string;
73
+ warning_code: "being_deleted";
74
+ }, {
75
+ message: string;
76
+ created_at: string;
77
+ warning_code: "being_deleted";
78
+ }>]>, "many">;
36
79
  customization_profile_id: z.ZodOptional<z.ZodString>;
37
80
  }, "strip", z.ZodTypeAny, {
38
81
  name: string | null;
@@ -41,6 +84,11 @@ export declare const access_grant: z.ZodObject<{
41
84
  created_at: string;
42
85
  starts_at: string;
43
86
  ends_at: string | null;
87
+ warnings: {
88
+ message: string;
89
+ created_at: string;
90
+ warning_code: "being_deleted";
91
+ }[];
44
92
  access_grant_id: string;
45
93
  user_identity_id: string;
46
94
  location_ids: string[];
@@ -64,6 +112,11 @@ export declare const access_grant: z.ZodObject<{
64
112
  created_at: string;
65
113
  starts_at: string;
66
114
  ends_at: string | null;
115
+ warnings: {
116
+ message: string;
117
+ created_at: string;
118
+ warning_code: "being_deleted";
119
+ }[];
67
120
  access_grant_id: string;
68
121
  user_identity_id: string;
69
122
  location_ids: string[];
@@ -82,3 +135,4 @@ export declare const access_grant: z.ZodObject<{
82
135
  customization_profile_id?: string | undefined;
83
136
  }>;
84
137
  export type AccessGrant = z.infer<typeof access_grant>;
138
+ export {};
@@ -1,5 +1,26 @@
1
1
  import { z } from 'zod';
2
2
  import { requested_access_method } from './requested-access-method.js';
3
+ const common_access_grant_warning = z.object({
4
+ created_at: z
5
+ .string()
6
+ .datetime()
7
+ .describe('Date and time at which Seam created the warning.'),
8
+ message: z
9
+ .string()
10
+ .describe('Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.'),
11
+ });
12
+ const warning_code_description = 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.';
13
+ const being_deleted = common_access_grant_warning
14
+ .extend({
15
+ warning_code: z.literal('being_deleted').describe(warning_code_description),
16
+ })
17
+ .describe('Indicates that the [access grant](https://docs.seam.co/latest/capability-guides/access-grants) is being deleted.');
18
+ const access_grant_warning = z
19
+ .discriminatedUnion('warning_code', [being_deleted])
20
+ .describe('Warning associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants).');
21
+ const _access_grant_warning_map = z.object({
22
+ being_deleted: being_deleted.optional().nullable(),
23
+ });
3
24
  export const access_grant = z.object({
4
25
  workspace_id: z
5
26
  .string()
@@ -55,6 +76,9 @@ export const access_grant = z.object({
55
76
  .datetime()
56
77
  .nullable()
57
78
  .describe('Date and time at which the Access Grant ends.'),
79
+ warnings: z
80
+ .array(access_grant_warning)
81
+ .describe('Warnings associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants).'),
58
82
  customization_profile_id: z
59
83
  .string()
60
84
  .uuid()
@@ -1 +1 @@
1
- {"version":3,"file":"access-grant.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/access-grants/access-grant.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAA;AAEtE,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM,CAAC;IACnC,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CAAC,4DAA4D,CAAC;IACzE,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,yBAAyB,CAAC;IACtE,gBAAgB,EAAE,CAAC;SAChB,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,uDAAuD,CAAC;IACpE,gBAAgB,EAAE,CAAC;SAChB,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CAAC,6DAA6D,CAAC;IAC1E,YAAY,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,CAAC,QAAQ,CAAC;;;;GAIjD,CAAC;IACF,SAAS,EAAE,CAAC;SACT,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC;SACxB,QAAQ,CAAC,2DAA2D,CAAC;IACxE,wBAAwB,EAAE,CAAC;SACxB,KAAK,CAAC,uBAAuB,CAAC;SAC9B,QAAQ,CAAC,8DAA8D,CAAC;IAC3E,iBAAiB,EAAE,CAAC;SACjB,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC;SACxB,QAAQ,CAAC,yDAAyD,CAAC;IACtE,oBAAoB,EAAE,CAAC;SACpB,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,yFAAyF,CAC1F;IACH,IAAI,EAAE,CAAC;SACJ,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,+EAA+E,CAChF;IACH,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,mCAAmC,CAAC;IACtE,eAAe,EAAE,CAAC;SACf,MAAM,EAAE;SACR,GAAG,EAAE;SACL,QAAQ,EAAE;SACV,QAAQ,CACP,4FAA4F,CAC7F;IACH,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,sDAAsD,CAAC;IACnE,SAAS,EAAE,CAAC;SACT,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,iDAAiD,CAAC;IAC9D,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,EAAE;SACV,QAAQ,CAAC,+CAA+C,CAAC;IAC5D,wBAAwB,EAAE,CAAC;SACxB,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,EAAE;SACV,QAAQ,CACP,mEAAmE,CACpE;CACJ,CAAC,CAAC,QAAQ,CAAC;;;;;;GAMT,CAAC,CAAA"}
1
+ {"version":3,"file":"access-grant.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/access-grants/access-grant.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAA;AAEtE,MAAM,2BAA2B,GAAG,CAAC,CAAC,MAAM,CAAC;IAC3C,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,k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+ declare const _access_method_warning_map: z.ZodObject<{
3
+ being_deleted: z.ZodNullable<z.ZodOptional<z.ZodObject<{
4
+ created_at: z.ZodString;
5
+ message: z.ZodString;
6
+ } & {
7
+ warning_code: z.ZodLiteral<"being_deleted">;
8
+ }, "strip", z.ZodTypeAny, {
9
+ message: string;
10
+ created_at: string;
11
+ warning_code: "being_deleted";
12
+ }, {
13
+ message: string;
14
+ created_at: string;
15
+ warning_code: "being_deleted";
16
+ }>>>;
17
+ }, "strip", z.ZodTypeAny, {
18
+ being_deleted?: {
19
+ message: string;
20
+ created_at: string;
21
+ warning_code: "being_deleted";
22
+ } | null | undefined;
23
+ }, {
24
+ being_deleted?: {
25
+ message: string;
26
+ created_at: string;
27
+ warning_code: "being_deleted";
28
+ } | null | undefined;
29
+ }>;
30
+ export type AccessMethodWarningMap = z.infer<typeof _access_method_warning_map>;
2
31
  export declare const access_method: z.ZodObject<{
3
32
  workspace_id: z.ZodString;
4
33
  access_method_id: z.ZodString;
@@ -11,11 +40,30 @@ export declare const access_method: z.ZodObject<{
11
40
  client_session_token: z.ZodOptional<z.ZodString>;
12
41
  is_encoding_required: z.ZodOptional<z.ZodBoolean>;
13
42
  code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43
+ warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
44
+ created_at: z.ZodString;
45
+ message: z.ZodString;
46
+ } & {
47
+ warning_code: z.ZodLiteral<"being_deleted">;
48
+ }, "strip", z.ZodTypeAny, {
49
+ message: string;
50
+ created_at: string;
51
+ warning_code: "being_deleted";
52
+ }, {
53
+ message: string;
54
+ created_at: string;
55
+ warning_code: "being_deleted";
56
+ }>]>, "many">;
14
57
  customization_profile_id: z.ZodOptional<z.ZodString>;
15
58
  }, "strip", z.ZodTypeAny, {
16
59
  display_name: string;
17
60
  workspace_id: string;
18
61
  created_at: string;
62
+ warnings: {
63
+ message: string;
64
+ created_at: string;
65
+ warning_code: "being_deleted";
66
+ }[];
19
67
  mode: "code" | "card" | "mobile_key";
20
68
  access_method_id: string;
21
69
  issued_at: string | null;
@@ -29,6 +77,11 @@ export declare const access_method: z.ZodObject<{
29
77
  display_name: string;
30
78
  workspace_id: string;
31
79
  created_at: string;
80
+ warnings: {
81
+ message: string;
82
+ created_at: string;
83
+ warning_code: "being_deleted";
84
+ }[];
32
85
  mode: "code" | "card" | "mobile_key";
33
86
  access_method_id: string;
34
87
  issued_at: string | null;
@@ -40,3 +93,4 @@ export declare const access_method: z.ZodObject<{
40
93
  is_encoding_required?: boolean | undefined;
41
94
  }>;
42
95
  export type AccessMethod = z.infer<typeof access_method>;
96
+ export {};
@@ -1,4 +1,25 @@
1
1
  import { z } from 'zod';
2
+ const common_access_method_warning = z.object({
3
+ created_at: z
4
+ .string()
5
+ .datetime()
6
+ .describe('Date and time at which Seam created the warning.'),
7
+ message: z
8
+ .string()
9
+ .describe('Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.'),
10
+ });
11
+ const warning_code_description = 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.';
12
+ const being_deleted = common_access_method_warning
13
+ .extend({
14
+ warning_code: z.literal('being_deleted').describe(warning_code_description),
15
+ })
16
+ .describe('Indicates that the [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods) is being deleted.');
17
+ const access_method_warning = z
18
+ .discriminatedUnion('warning_code', [being_deleted])
19
+ .describe('Warning associated with the [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods).');
20
+ const _access_method_warning_map = z.object({
21
+ being_deleted: being_deleted.optional().nullable(),
22
+ });
2
23
  export const access_method = z.object({
3
24
  workspace_id: z
4
25
  .string()
@@ -39,6 +60,9 @@ export const access_method = z.object({
39
60
  .nullable()
40
61
  .optional()
41
62
  .describe('The actual PIN code for code access methods.'),
63
+ warnings: z
64
+ .array(access_method_warning)
65
+ .describe('Warnings associated with the [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods).'),
42
66
  customization_profile_id: z
43
67
  .string()
44
68
  .uuid()
@@ -1 +1 @@
1
- {"version":3,"file":"access-method.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/access-grants/access-method.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,CAAC,MAAM,CAAC;IACpC,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CAAC,6DAA6D,CAAC;IAC1E,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,0BAA0B,CAAC;IACxE,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,oCAAoC,CAAC;IACvE,IAAI,EAAE,CAAC;SACJ,IAAI,CAAC,CAAC,MAAM,EAAE,MAAM,EAAE,YAAY,CAAC,CAAC;SACpC,QAAQ,CACP,qEAAqE,CACtE;IACH,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,uDAAuD,CAAC;IACpE,SAAS,EAAE,CAAC;SACT,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,EAAE;SACV,QAAQ,CAAC,sDAAsD,CAAC;IACnE,SAAS,EAAE,CAAC;SACT,OAAO,EAAE;SACT,QAAQ,CAAC,sDAAsD,CAAC;IACnE,eAAe,EAAE,CAAC;SACf,MAAM,EAAE;SACR,GAAG,EAAE;SACL,QAAQ,EAAE;SACV,QAAQ,CAAC,uDAAuD,CAAC;IACpE,oBAAoB,EAAE,CAAC;SACpB,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,gEAAgE,CAAC;IAC7E,oBAAoB,EAAE,CAAC;SACpB,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CACP,qIAAqI,CACtI;IACH,IAAI,EAAE,CAAC;SACJ,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,EAAE;SACV,QAAQ,CAAC,8CAA8C,CAAC;IAC3D,wBAAwB,EAAE,CAAC;SACxB,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,EAAE;SACV,QAAQ,CACP,oEAAoE,CACrE;CACJ,CAAC,CAAC,QAAQ,CAAC;;;;;;GAMT,CAAC,CAAA"}
1
+ {"version":3,"file":"access-method.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/access-grants/access-method.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,4BAA4B,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5C,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,kDAAkD,CAAC;IAC/D,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,CACP,0GAA0G,CAC3G;CACJ,CAAC,CAAA;AAEF,MAAM,wBAAwB,GAC5B,sGAAsG,CAAA;AAExG,MAAM,aAAa,GAAG,4BAA4B;KAC/C,MAAM,CAAC;IACN,YAAY,EAAE,CAAC,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC,QAAQ,CAAC,wBAAwB,CAAC;CAC5E,CAAC;KACD,QAAQ,CACP,6IAA6I,CAC9I,CAAA;AAEH,MAAM,qBAAqB,GAAG,CAAC;KAC5B,kBAAkB,CAAC,cAAc,EAAE,CAAC,aAAa,CAAC,CAAC;KACnD,QAAQ,CACP,qIAAqI,CACtI,CAAA;AAEH,MAAM,0BAA0B,GAAG,CAAC,CAAC,MAAM,CAAC;IAC1C,aAAa,EAAE,aAAa,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;CACnD,CAAC,CAAA;AAIF,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,CAAC,MAAM,CAAC;IACpC,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,IAAI,EAAE;S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,CAAC;;;;;;GAMT,CAAC,CAAA"}
@@ -102,6 +102,11 @@ declare const _acs_credential_warning_map: z.ZodObject<{
102
102
  warning_code: "needs_to_be_reissued";
103
103
  }>>>;
104
104
  }, "strip", z.ZodTypeAny, {
105
+ being_deleted?: {
106
+ message: string;
107
+ created_at: string;
108
+ warning_code: "being_deleted";
109
+ } | null | undefined;
105
110
  waiting_to_be_issued?: {
106
111
  message: string;
107
112
  created_at: string;
@@ -117,11 +122,6 @@ declare const _acs_credential_warning_map: z.ZodObject<{
117
122
  created_at: string;
118
123
  warning_code: "schedule_modified";
119
124
  } | null | undefined;
120
- being_deleted?: {
121
- message: string;
122
- created_at: string;
123
- warning_code: "being_deleted";
124
- } | null | undefined;
125
125
  unknown_issue_with_acs_credential?: {
126
126
  message: string;
127
127
  created_at: string;
@@ -133,6 +133,11 @@ declare const _acs_credential_warning_map: z.ZodObject<{
133
133
  warning_code: "needs_to_be_reissued";
134
134
  } | null | undefined;
135
135
  }, {
136
+ being_deleted?: {
137
+ message: string;
138
+ created_at: string;
139
+ warning_code: "being_deleted";
140
+ } | null | undefined;
136
141
  waiting_to_be_issued?: {
137
142
  message: string;
138
143
  created_at: string;
@@ -148,11 +153,6 @@ declare const _acs_credential_warning_map: z.ZodObject<{
148
153
  created_at: string;
149
154
  warning_code: "schedule_modified";
150
155
  } | null | undefined;
151
- being_deleted?: {
152
- message: string;
153
- created_at: string;
154
- warning_code: "being_deleted";
155
- } | null | undefined;
156
156
  unknown_issue_with_acs_credential?: {
157
157
  message: string;
158
158
  created_at: string;
@@ -34819,11 +34819,30 @@ export declare const workspaces_batch: z.ZodObject<{
34819
34819
  client_session_token: z.ZodOptional<z.ZodString>;
34820
34820
  is_encoding_required: z.ZodOptional<z.ZodBoolean>;
34821
34821
  code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34822
+ warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
34823
+ created_at: z.ZodString;
34824
+ message: z.ZodString;
34825
+ } & {
34826
+ warning_code: z.ZodLiteral<"being_deleted">;
34827
+ }, "strip", z.ZodTypeAny, {
34828
+ message: string;
34829
+ created_at: string;
34830
+ warning_code: "being_deleted";
34831
+ }, {
34832
+ message: string;
34833
+ created_at: string;
34834
+ warning_code: "being_deleted";
34835
+ }>]>, "many">;
34822
34836
  customization_profile_id: z.ZodOptional<z.ZodString>;
34823
34837
  }, "strip", z.ZodTypeAny, {
34824
34838
  display_name: string;
34825
34839
  workspace_id: string;
34826
34840
  created_at: string;
34841
+ warnings: {
34842
+ message: string;
34843
+ created_at: string;
34844
+ warning_code: "being_deleted";
34845
+ }[];
34827
34846
  mode: "code" | "card" | "mobile_key";
34828
34847
  access_method_id: string;
34829
34848
  issued_at: string | null;
@@ -34837,6 +34856,11 @@ export declare const workspaces_batch: z.ZodObject<{
34837
34856
  display_name: string;
34838
34857
  workspace_id: string;
34839
34858
  created_at: string;
34859
+ warnings: {
34860
+ message: string;
34861
+ created_at: string;
34862
+ warning_code: "being_deleted";
34863
+ }[];
34840
34864
  mode: "code" | "card" | "mobile_key";
34841
34865
  access_method_id: string;
34842
34866
  issued_at: string | null;
@@ -34881,6 +34905,20 @@ export declare const workspaces_batch: z.ZodObject<{
34881
34905
  created_at: z.ZodString;
34882
34906
  starts_at: z.ZodString;
34883
34907
  ends_at: z.ZodNullable<z.ZodString>;
34908
+ warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
34909
+ created_at: z.ZodString;
34910
+ message: z.ZodString;
34911
+ } & {
34912
+ warning_code: z.ZodLiteral<"being_deleted">;
34913
+ }, "strip", z.ZodTypeAny, {
34914
+ message: string;
34915
+ created_at: string;
34916
+ warning_code: "being_deleted";
34917
+ }, {
34918
+ message: string;
34919
+ created_at: string;
34920
+ warning_code: "being_deleted";
34921
+ }>]>, "many">;
34884
34922
  customization_profile_id: z.ZodOptional<z.ZodString>;
34885
34923
  }, "strip", z.ZodTypeAny, {
34886
34924
  name: string | null;
@@ -34889,6 +34927,11 @@ export declare const workspaces_batch: z.ZodObject<{
34889
34927
  created_at: string;
34890
34928
  starts_at: string;
34891
34929
  ends_at: string | null;
34930
+ warnings: {
34931
+ message: string;
34932
+ created_at: string;
34933
+ warning_code: "being_deleted";
34934
+ }[];
34892
34935
  access_grant_id: string;
34893
34936
  user_identity_id: string;
34894
34937
  location_ids: string[];
@@ -34912,6 +34955,11 @@ export declare const workspaces_batch: z.ZodObject<{
34912
34955
  created_at: string;
34913
34956
  starts_at: string;
34914
34957
  ends_at: string | null;
34958
+ warnings: {
34959
+ message: string;
34960
+ created_at: string;
34961
+ warning_code: "being_deleted";
34962
+ }[];
34915
34963
  access_grant_id: string;
34916
34964
  user_identity_id: string;
34917
34965
  location_ids: string[];
@@ -42068,6 +42116,11 @@ export declare const workspaces_batch: z.ZodObject<{
42068
42116
  created_at: string;
42069
42117
  starts_at: string;
42070
42118
  ends_at: string | null;
42119
+ warnings: {
42120
+ message: string;
42121
+ created_at: string;
42122
+ warning_code: "being_deleted";
42123
+ }[];
42071
42124
  access_grant_id: string;
42072
42125
  user_identity_id: string;
42073
42126
  location_ids: string[];
@@ -42135,6 +42188,11 @@ export declare const workspaces_batch: z.ZodObject<{
42135
42188
  display_name: string;
42136
42189
  workspace_id: string;
42137
42190
  created_at: string;
42191
+ warnings: {
42192
+ message: string;
42193
+ created_at: string;
42194
+ warning_code: "being_deleted";
42195
+ }[];
42138
42196
  mode: "code" | "card" | "mobile_key";
42139
42197
  access_method_id: string;
42140
42198
  issued_at: string | null;
@@ -46042,6 +46100,11 @@ export declare const workspaces_batch: z.ZodObject<{
46042
46100
  created_at: string;
46043
46101
  starts_at: string;
46044
46102
  ends_at: string | null;
46103
+ warnings: {
46104
+ message: string;
46105
+ created_at: string;
46106
+ warning_code: "being_deleted";
46107
+ }[];
46045
46108
  access_grant_id: string;
46046
46109
  user_identity_id: string;
46047
46110
  location_ids: string[];
@@ -46109,6 +46172,11 @@ export declare const workspaces_batch: z.ZodObject<{
46109
46172
  display_name: string;
46110
46173
  workspace_id: string;
46111
46174
  created_at: string;
46175
+ warnings: {
46176
+ message: string;
46177
+ created_at: string;
46178
+ warning_code: "being_deleted";
46179
+ }[];
46112
46180
  mode: "code" | "card" | "mobile_key";
46113
46181
  access_method_id: string;
46114
46182
  issued_at: string | null;
@@ -63490,11 +63558,30 @@ export declare const batch: z.ZodObject<{
63490
63558
  client_session_token: z.ZodOptional<z.ZodString>;
63491
63559
  is_encoding_required: z.ZodOptional<z.ZodBoolean>;
63492
63560
  code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
63561
+ warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
63562
+ created_at: z.ZodString;
63563
+ message: z.ZodString;
63564
+ } & {
63565
+ warning_code: z.ZodLiteral<"being_deleted">;
63566
+ }, "strip", z.ZodTypeAny, {
63567
+ message: string;
63568
+ created_at: string;
63569
+ warning_code: "being_deleted";
63570
+ }, {
63571
+ message: string;
63572
+ created_at: string;
63573
+ warning_code: "being_deleted";
63574
+ }>]>, "many">;
63493
63575
  customization_profile_id: z.ZodOptional<z.ZodString>;
63494
63576
  }, "strip", z.ZodTypeAny, {
63495
63577
  display_name: string;
63496
63578
  workspace_id: string;
63497
63579
  created_at: string;
63580
+ warnings: {
63581
+ message: string;
63582
+ created_at: string;
63583
+ warning_code: "being_deleted";
63584
+ }[];
63498
63585
  mode: "code" | "card" | "mobile_key";
63499
63586
  access_method_id: string;
63500
63587
  issued_at: string | null;
@@ -63508,6 +63595,11 @@ export declare const batch: z.ZodObject<{
63508
63595
  display_name: string;
63509
63596
  workspace_id: string;
63510
63597
  created_at: string;
63598
+ warnings: {
63599
+ message: string;
63600
+ created_at: string;
63601
+ warning_code: "being_deleted";
63602
+ }[];
63511
63603
  mode: "code" | "card" | "mobile_key";
63512
63604
  access_method_id: string;
63513
63605
  issued_at: string | null;
@@ -63552,6 +63644,20 @@ export declare const batch: z.ZodObject<{
63552
63644
  created_at: z.ZodString;
63553
63645
  starts_at: z.ZodString;
63554
63646
  ends_at: z.ZodNullable<z.ZodString>;
63647
+ warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
63648
+ created_at: z.ZodString;
63649
+ message: z.ZodString;
63650
+ } & {
63651
+ warning_code: z.ZodLiteral<"being_deleted">;
63652
+ }, "strip", z.ZodTypeAny, {
63653
+ message: string;
63654
+ created_at: string;
63655
+ warning_code: "being_deleted";
63656
+ }, {
63657
+ message: string;
63658
+ created_at: string;
63659
+ warning_code: "being_deleted";
63660
+ }>]>, "many">;
63555
63661
  customization_profile_id: z.ZodOptional<z.ZodString>;
63556
63662
  }, "strip", z.ZodTypeAny, {
63557
63663
  name: string | null;
@@ -63560,6 +63666,11 @@ export declare const batch: z.ZodObject<{
63560
63666
  created_at: string;
63561
63667
  starts_at: string;
63562
63668
  ends_at: string | null;
63669
+ warnings: {
63670
+ message: string;
63671
+ created_at: string;
63672
+ warning_code: "being_deleted";
63673
+ }[];
63563
63674
  access_grant_id: string;
63564
63675
  user_identity_id: string;
63565
63676
  location_ids: string[];
@@ -63583,6 +63694,11 @@ export declare const batch: z.ZodObject<{
63583
63694
  created_at: string;
63584
63695
  starts_at: string;
63585
63696
  ends_at: string | null;
63697
+ warnings: {
63698
+ message: string;
63699
+ created_at: string;
63700
+ warning_code: "being_deleted";
63701
+ }[];
63586
63702
  access_grant_id: string;
63587
63703
  user_identity_id: string;
63588
63704
  location_ids: string[];
@@ -70668,6 +70784,11 @@ export declare const batch: z.ZodObject<{
70668
70784
  created_at: string;
70669
70785
  starts_at: string;
70670
70786
  ends_at: string | null;
70787
+ warnings: {
70788
+ message: string;
70789
+ created_at: string;
70790
+ warning_code: "being_deleted";
70791
+ }[];
70671
70792
  access_grant_id: string;
70672
70793
  user_identity_id: string;
70673
70794
  location_ids: string[];
@@ -70735,6 +70856,11 @@ export declare const batch: z.ZodObject<{
70735
70856
  display_name: string;
70736
70857
  workspace_id: string;
70737
70858
  created_at: string;
70859
+ warnings: {
70860
+ message: string;
70861
+ created_at: string;
70862
+ warning_code: "being_deleted";
70863
+ }[];
70738
70864
  mode: "code" | "card" | "mobile_key";
70739
70865
  access_method_id: string;
70740
70866
  issued_at: string | null;
@@ -74571,6 +74697,11 @@ export declare const batch: z.ZodObject<{
74571
74697
  created_at: string;
74572
74698
  starts_at: string;
74573
74699
  ends_at: string | null;
74700
+ warnings: {
74701
+ message: string;
74702
+ created_at: string;
74703
+ warning_code: "being_deleted";
74704
+ }[];
74574
74705
  access_grant_id: string;
74575
74706
  user_identity_id: string;
74576
74707
  location_ids: string[];
@@ -74638,6 +74769,11 @@ export declare const batch: z.ZodObject<{
74638
74769
  display_name: string;
74639
74770
  workspace_id: string;
74640
74771
  created_at: string;
74772
+ warnings: {
74773
+ message: string;
74774
+ created_at: string;
74775
+ warning_code: "being_deleted";
74776
+ }[];
74641
74777
  mode: "code" | "card" | "mobile_key";
74642
74778
  access_method_id: string;
74643
74779
  issued_at: string | null;
@@ -497,6 +497,37 @@ declare const _default: {
497
497
  format: string;
498
498
  type: string;
499
499
  };
500
+ warnings: {
501
+ description: string;
502
+ items: {
503
+ description: string;
504
+ discriminator: {
505
+ propertyName: string;
506
+ };
507
+ oneOf: {
508
+ description: string;
509
+ properties: {
510
+ created_at: {
511
+ description: string;
512
+ format: string;
513
+ type: string;
514
+ };
515
+ message: {
516
+ description: string;
517
+ type: string;
518
+ };
519
+ warning_code: {
520
+ description: string;
521
+ enum: string[];
522
+ type: string;
523
+ };
524
+ };
525
+ required: string[];
526
+ type: string;
527
+ }[];
528
+ };
529
+ type: string;
530
+ };
500
531
  workspace_id: {
501
532
  description: string;
502
533
  format: string;
@@ -563,6 +594,37 @@ declare const _default: {
563
594
  enum: string[];
564
595
  type: string;
565
596
  };
597
+ warnings: {
598
+ description: string;
599
+ items: {
600
+ description: string;
601
+ discriminator: {
602
+ propertyName: string;
603
+ };
604
+ oneOf: {
605
+ description: string;
606
+ properties: {
607
+ created_at: {
608
+ description: string;
609
+ format: string;
610
+ type: string;
611
+ };
612
+ message: {
613
+ description: string;
614
+ type: string;
615
+ };
616
+ warning_code: {
617
+ description: string;
618
+ enum: string[];
619
+ type: string;
620
+ };
621
+ };
622
+ required: string[];
623
+ type: string;
624
+ }[];
625
+ };
626
+ type: string;
627
+ };
566
628
  workspace_id: {
567
629
  description: string;
568
630
  format: string;