@seamapi/types 1.460.0 → 1.460.1
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.
- package/dist/connect.cjs +331 -120
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +848 -238
- package/dist/index.cjs +331 -120
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +2338 -276
- package/lib/seam/connect/models/batch.js +7 -0
- package/lib/seam/connect/models/batch.js.map +1 -1
- package/lib/seam/connect/models/customer/access-grant-resources.d.ts +18 -18
- package/lib/seam/connect/models/customer/access-grant-resources.js +2 -1
- package/lib/seam/connect/models/customer/access-grant-resources.js.map +1 -1
- package/lib/seam/connect/models/customer/customer-data.d.ts +15 -15
- package/lib/seam/connect/models/phones/phone-session.d.ts +167 -0
- package/lib/seam/connect/models/phones/phone-session.js +3 -0
- package/lib/seam/connect/models/phones/phone-session.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +199 -33
- package/lib/seam/connect/openapi.js +319 -113
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +619 -175
- package/package.json +1 -1
- package/src/lib/seam/connect/internal/schemas.ts +1 -0
- package/src/lib/seam/connect/models/batch.ts +7 -0
- package/src/lib/seam/connect/models/customer/access-grant-resources.ts +2 -1
- package/src/lib/seam/connect/models/phones/phone-session.ts +5 -0
- package/src/lib/seam/connect/openapi.ts +341 -113
- package/src/lib/seam/connect/route-types.ts +789 -189
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
import { acs_system } from './acs/acs-system.js';
|
|
2
3
|
import { acs_entrance } from './acs/index.js';
|
|
4
|
+
import { connected_account } from './connected-accounts/index.js';
|
|
3
5
|
import { device } from './devices/index.js';
|
|
4
6
|
import { space } from './spaces/index.js';
|
|
5
7
|
import { user_identity } from './user-identities/index.js';
|
|
@@ -10,6 +12,8 @@ export const spaces_batch = z
|
|
|
10
12
|
spaces: space.array().optional(),
|
|
11
13
|
devices: device.array().optional(),
|
|
12
14
|
acs_entrances: acs_entrance.array().optional(),
|
|
15
|
+
connected_accounts: connected_account.array().optional(),
|
|
16
|
+
acs_systems: acs_system.array().optional(),
|
|
13
17
|
})
|
|
14
18
|
.describe('ID of the affected access system user.');
|
|
15
19
|
export const access_grants_batch = z.object({
|
|
@@ -17,6 +21,9 @@ export const access_grants_batch = z.object({
|
|
|
17
21
|
spaces: space.array().optional(),
|
|
18
22
|
devices: device.array().optional(),
|
|
19
23
|
acs_entrances: acs_entrance.array().optional(),
|
|
24
|
+
user_identities: user_identity.array().optional(),
|
|
25
|
+
connected_accounts: connected_account.array().optional(),
|
|
26
|
+
acs_systems: acs_system.array().optional(),
|
|
20
27
|
});
|
|
21
28
|
export const access_methods_batch = z.object({
|
|
22
29
|
batch_type: z.literal('access_methods'),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"batch.js","sourceRoot":"","sources":["../../../../src/lib/seam/connect/models/batch.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAA;AAC3C,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAA;AACzC,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AAEjD,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC;KAC1B,MAAM,CAAC;IACN,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC;IAC/B,MAAM,EAAE,KAAK,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;IAChC,OAAO,EAAE,MAAM,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;IAClC,aAAa,EAAE,YAAY,CAAC,KAAK,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QAAQ;KACT,CAAC;IACF,eAAe,EAAE,aAAa,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;IACjD,UAAU,EAAE,SAAS,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;IACxC,MAAM,EAAE,KAAK,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;IAChC,OAAO,EAAE,MAAM,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;IAClC,aAAa,EAAE,YAAY,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;CAC/C,CAAC,CAAC,QAAQ,CAAC;;;;;CAKX,CAAC,CAAA"}
|
|
@@ -47,7 +47,7 @@ export declare const location_references: z.ZodObject<{
|
|
|
47
47
|
listing_keys?: string[] | undefined;
|
|
48
48
|
}>;
|
|
49
49
|
export declare const reservation_resource: z.ZodObject<{
|
|
50
|
-
name: z.ZodString
|
|
50
|
+
name: z.ZodOptional<z.ZodString>;
|
|
51
51
|
starts_at: z.ZodOptional<z.ZodString>;
|
|
52
52
|
ends_at: z.ZodOptional<z.ZodString>;
|
|
53
53
|
} & {
|
|
@@ -68,8 +68,8 @@ export declare const reservation_resource: z.ZodObject<{
|
|
|
68
68
|
building_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
69
69
|
listing_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
70
70
|
}, "strip", z.ZodTypeAny, {
|
|
71
|
-
name: string;
|
|
72
71
|
reservation_key: string;
|
|
72
|
+
name?: string | undefined;
|
|
73
73
|
starts_at?: string | undefined;
|
|
74
74
|
ends_at?: string | undefined;
|
|
75
75
|
user_identity_key?: string | undefined;
|
|
@@ -86,8 +86,8 @@ export declare const reservation_resource: z.ZodObject<{
|
|
|
86
86
|
building_keys?: string[] | undefined;
|
|
87
87
|
listing_keys?: string[] | undefined;
|
|
88
88
|
}, {
|
|
89
|
-
name: string;
|
|
90
89
|
reservation_key: string;
|
|
90
|
+
name?: string | undefined;
|
|
91
91
|
starts_at?: string | undefined;
|
|
92
92
|
ends_at?: string | undefined;
|
|
93
93
|
user_identity_key?: string | undefined;
|
|
@@ -105,7 +105,7 @@ export declare const reservation_resource: z.ZodObject<{
|
|
|
105
105
|
listing_keys?: string[] | undefined;
|
|
106
106
|
}>;
|
|
107
107
|
export declare const booking_resource: z.ZodObject<{
|
|
108
|
-
name: z.ZodString
|
|
108
|
+
name: z.ZodOptional<z.ZodString>;
|
|
109
109
|
starts_at: z.ZodOptional<z.ZodString>;
|
|
110
110
|
ends_at: z.ZodOptional<z.ZodString>;
|
|
111
111
|
} & {
|
|
@@ -126,8 +126,8 @@ export declare const booking_resource: z.ZodObject<{
|
|
|
126
126
|
building_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
127
127
|
listing_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
128
128
|
}, "strip", z.ZodTypeAny, {
|
|
129
|
-
name: string;
|
|
130
129
|
booking_key: string;
|
|
130
|
+
name?: string | undefined;
|
|
131
131
|
starts_at?: string | undefined;
|
|
132
132
|
ends_at?: string | undefined;
|
|
133
133
|
user_identity_key?: string | undefined;
|
|
@@ -144,8 +144,8 @@ export declare const booking_resource: z.ZodObject<{
|
|
|
144
144
|
building_keys?: string[] | undefined;
|
|
145
145
|
listing_keys?: string[] | undefined;
|
|
146
146
|
}, {
|
|
147
|
-
name: string;
|
|
148
147
|
booking_key: string;
|
|
148
|
+
name?: string | undefined;
|
|
149
149
|
starts_at?: string | undefined;
|
|
150
150
|
ends_at?: string | undefined;
|
|
151
151
|
user_identity_key?: string | undefined;
|
|
@@ -163,7 +163,7 @@ export declare const booking_resource: z.ZodObject<{
|
|
|
163
163
|
listing_keys?: string[] | undefined;
|
|
164
164
|
}>;
|
|
165
165
|
export declare const access_grant_resource: z.ZodObject<{
|
|
166
|
-
name: z.ZodString
|
|
166
|
+
name: z.ZodOptional<z.ZodString>;
|
|
167
167
|
starts_at: z.ZodOptional<z.ZodString>;
|
|
168
168
|
ends_at: z.ZodOptional<z.ZodString>;
|
|
169
169
|
} & {
|
|
@@ -184,8 +184,8 @@ export declare const access_grant_resource: z.ZodObject<{
|
|
|
184
184
|
building_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
185
185
|
listing_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
186
186
|
}, "strip", z.ZodTypeAny, {
|
|
187
|
-
name: string;
|
|
188
187
|
access_grant_key: string;
|
|
188
|
+
name?: string | undefined;
|
|
189
189
|
starts_at?: string | undefined;
|
|
190
190
|
ends_at?: string | undefined;
|
|
191
191
|
user_identity_key?: string | undefined;
|
|
@@ -202,8 +202,8 @@ export declare const access_grant_resource: z.ZodObject<{
|
|
|
202
202
|
building_keys?: string[] | undefined;
|
|
203
203
|
listing_keys?: string[] | undefined;
|
|
204
204
|
}, {
|
|
205
|
-
name: string;
|
|
206
205
|
access_grant_key: string;
|
|
206
|
+
name?: string | undefined;
|
|
207
207
|
starts_at?: string | undefined;
|
|
208
208
|
ends_at?: string | undefined;
|
|
209
209
|
user_identity_key?: string | undefined;
|
|
@@ -221,7 +221,7 @@ export declare const access_grant_resource: z.ZodObject<{
|
|
|
221
221
|
listing_keys?: string[] | undefined;
|
|
222
222
|
}>;
|
|
223
223
|
export declare const access_grant_resource_union: z.ZodUnion<[z.ZodObject<{
|
|
224
|
-
name: z.ZodString
|
|
224
|
+
name: z.ZodOptional<z.ZodString>;
|
|
225
225
|
starts_at: z.ZodOptional<z.ZodString>;
|
|
226
226
|
ends_at: z.ZodOptional<z.ZodString>;
|
|
227
227
|
} & {
|
|
@@ -242,8 +242,8 @@ export declare const access_grant_resource_union: z.ZodUnion<[z.ZodObject<{
|
|
|
242
242
|
building_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
243
243
|
listing_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
244
244
|
}, "strip", z.ZodTypeAny, {
|
|
245
|
-
name: string;
|
|
246
245
|
reservation_key: string;
|
|
246
|
+
name?: string | undefined;
|
|
247
247
|
starts_at?: string | undefined;
|
|
248
248
|
ends_at?: string | undefined;
|
|
249
249
|
user_identity_key?: string | undefined;
|
|
@@ -260,8 +260,8 @@ export declare const access_grant_resource_union: z.ZodUnion<[z.ZodObject<{
|
|
|
260
260
|
building_keys?: string[] | undefined;
|
|
261
261
|
listing_keys?: string[] | undefined;
|
|
262
262
|
}, {
|
|
263
|
-
name: string;
|
|
264
263
|
reservation_key: string;
|
|
264
|
+
name?: string | undefined;
|
|
265
265
|
starts_at?: string | undefined;
|
|
266
266
|
ends_at?: string | undefined;
|
|
267
267
|
user_identity_key?: string | undefined;
|
|
@@ -278,7 +278,7 @@ export declare const access_grant_resource_union: z.ZodUnion<[z.ZodObject<{
|
|
|
278
278
|
building_keys?: string[] | undefined;
|
|
279
279
|
listing_keys?: string[] | undefined;
|
|
280
280
|
}>, z.ZodObject<{
|
|
281
|
-
name: z.ZodString
|
|
281
|
+
name: z.ZodOptional<z.ZodString>;
|
|
282
282
|
starts_at: z.ZodOptional<z.ZodString>;
|
|
283
283
|
ends_at: z.ZodOptional<z.ZodString>;
|
|
284
284
|
} & {
|
|
@@ -299,8 +299,8 @@ export declare const access_grant_resource_union: z.ZodUnion<[z.ZodObject<{
|
|
|
299
299
|
building_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
300
300
|
listing_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
301
301
|
}, "strip", z.ZodTypeAny, {
|
|
302
|
-
name: string;
|
|
303
302
|
booking_key: string;
|
|
303
|
+
name?: string | undefined;
|
|
304
304
|
starts_at?: string | undefined;
|
|
305
305
|
ends_at?: string | undefined;
|
|
306
306
|
user_identity_key?: string | undefined;
|
|
@@ -317,8 +317,8 @@ export declare const access_grant_resource_union: z.ZodUnion<[z.ZodObject<{
|
|
|
317
317
|
building_keys?: string[] | undefined;
|
|
318
318
|
listing_keys?: string[] | undefined;
|
|
319
319
|
}, {
|
|
320
|
-
name: string;
|
|
321
320
|
booking_key: string;
|
|
321
|
+
name?: string | undefined;
|
|
322
322
|
starts_at?: string | undefined;
|
|
323
323
|
ends_at?: string | undefined;
|
|
324
324
|
user_identity_key?: string | undefined;
|
|
@@ -335,7 +335,7 @@ export declare const access_grant_resource_union: z.ZodUnion<[z.ZodObject<{
|
|
|
335
335
|
building_keys?: string[] | undefined;
|
|
336
336
|
listing_keys?: string[] | undefined;
|
|
337
337
|
}>, z.ZodObject<{
|
|
338
|
-
name: z.ZodString
|
|
338
|
+
name: z.ZodOptional<z.ZodString>;
|
|
339
339
|
starts_at: z.ZodOptional<z.ZodString>;
|
|
340
340
|
ends_at: z.ZodOptional<z.ZodString>;
|
|
341
341
|
} & {
|
|
@@ -356,8 +356,8 @@ export declare const access_grant_resource_union: z.ZodUnion<[z.ZodObject<{
|
|
|
356
356
|
building_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
357
357
|
listing_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
358
358
|
}, "strip", z.ZodTypeAny, {
|
|
359
|
-
name: string;
|
|
360
359
|
access_grant_key: string;
|
|
360
|
+
name?: string | undefined;
|
|
361
361
|
starts_at?: string | undefined;
|
|
362
362
|
ends_at?: string | undefined;
|
|
363
363
|
user_identity_key?: string | undefined;
|
|
@@ -374,8 +374,8 @@ export declare const access_grant_resource_union: z.ZodUnion<[z.ZodObject<{
|
|
|
374
374
|
building_keys?: string[] | undefined;
|
|
375
375
|
listing_keys?: string[] | undefined;
|
|
376
376
|
}, {
|
|
377
|
-
name: string;
|
|
378
377
|
access_grant_key: string;
|
|
378
|
+
name?: string | undefined;
|
|
379
379
|
starts_at?: string | undefined;
|
|
380
380
|
ends_at?: string | undefined;
|
|
381
381
|
user_identity_key?: string | undefined;
|
|
@@ -3,7 +3,8 @@ import { z } from 'zod';
|
|
|
3
3
|
const base_access_grant_resource = z.object({
|
|
4
4
|
name: z
|
|
5
5
|
.string()
|
|
6
|
-
.
|
|
6
|
+
.optional()
|
|
7
|
+
.describe('Your name for this access grant resource.'),
|
|
7
8
|
starts_at: z
|
|
8
9
|
.string()
|
|
9
10
|
.optional()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"access-grant-resources.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/customer/access-grant-resources.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,gDAAgD;AAChD,MAAM,0BAA0B,GAAG,CAAC,CAAC,MAAM,CAAC;IAC1C,IAAI,EAAE,CAAC;SACJ,MAAM,EAAE;SACR,QAAQ,CAAC,
|
|
1
|
+
{"version":3,"file":"access-grant-resources.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/customer/access-grant-resources.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,gDAAgD;AAChD,MAAM,0BAA0B,GAAG,CAAC,CAAC,MAAM,CAAC;IAC1C,IAAI,EAAE,CAAC;SACJ,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,2CAA2C,CAAC;IACxD,SAAS,EAAE,CAAC;SACT,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,8CAA8C,CAAC;IAC3D,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,4CAA4C,CAAC;CAC1D,CAAC,CAAA;AAEF,mEAAmE;AACnE,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC9C,iEAAiE;IACjE,SAAS,EAAE,CAAC;SACT,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,6CAA6C,CAAC;IAC1D,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,8CAA8C,CAAC;IAC3D,YAAY,EAAE,CAAC;SACZ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C,CAAC,MAAM,CAAC,EAAE,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC;CAC3C,CAAC,CAAA"}
|
|
@@ -186,7 +186,7 @@ export declare const customer_data: z.ZodObject<{
|
|
|
186
186
|
phone_number?: string | undefined;
|
|
187
187
|
}>, "many">>;
|
|
188
188
|
reservations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
189
|
-
name: z.ZodString
|
|
189
|
+
name: z.ZodOptional<z.ZodString>;
|
|
190
190
|
starts_at: z.ZodOptional<z.ZodString>;
|
|
191
191
|
ends_at: z.ZodOptional<z.ZodString>;
|
|
192
192
|
} & {
|
|
@@ -207,8 +207,8 @@ export declare const customer_data: z.ZodObject<{
|
|
|
207
207
|
building_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
208
208
|
listing_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
209
209
|
}, "strip", z.ZodTypeAny, {
|
|
210
|
-
name: string;
|
|
211
210
|
reservation_key: string;
|
|
211
|
+
name?: string | undefined;
|
|
212
212
|
starts_at?: string | undefined;
|
|
213
213
|
ends_at?: string | undefined;
|
|
214
214
|
user_identity_key?: string | undefined;
|
|
@@ -225,8 +225,8 @@ export declare const customer_data: z.ZodObject<{
|
|
|
225
225
|
building_keys?: string[] | undefined;
|
|
226
226
|
listing_keys?: string[] | undefined;
|
|
227
227
|
}, {
|
|
228
|
-
name: string;
|
|
229
228
|
reservation_key: string;
|
|
229
|
+
name?: string | undefined;
|
|
230
230
|
starts_at?: string | undefined;
|
|
231
231
|
ends_at?: string | undefined;
|
|
232
232
|
user_identity_key?: string | undefined;
|
|
@@ -244,7 +244,7 @@ export declare const customer_data: z.ZodObject<{
|
|
|
244
244
|
listing_keys?: string[] | undefined;
|
|
245
245
|
}>, "many">>;
|
|
246
246
|
bookings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
247
|
-
name: z.ZodString
|
|
247
|
+
name: z.ZodOptional<z.ZodString>;
|
|
248
248
|
starts_at: z.ZodOptional<z.ZodString>;
|
|
249
249
|
ends_at: z.ZodOptional<z.ZodString>;
|
|
250
250
|
} & {
|
|
@@ -265,8 +265,8 @@ export declare const customer_data: z.ZodObject<{
|
|
|
265
265
|
building_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
266
266
|
listing_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
267
267
|
}, "strip", z.ZodTypeAny, {
|
|
268
|
-
name: string;
|
|
269
268
|
booking_key: string;
|
|
269
|
+
name?: string | undefined;
|
|
270
270
|
starts_at?: string | undefined;
|
|
271
271
|
ends_at?: string | undefined;
|
|
272
272
|
user_identity_key?: string | undefined;
|
|
@@ -283,8 +283,8 @@ export declare const customer_data: z.ZodObject<{
|
|
|
283
283
|
building_keys?: string[] | undefined;
|
|
284
284
|
listing_keys?: string[] | undefined;
|
|
285
285
|
}, {
|
|
286
|
-
name: string;
|
|
287
286
|
booking_key: string;
|
|
287
|
+
name?: string | undefined;
|
|
288
288
|
starts_at?: string | undefined;
|
|
289
289
|
ends_at?: string | undefined;
|
|
290
290
|
user_identity_key?: string | undefined;
|
|
@@ -302,7 +302,7 @@ export declare const customer_data: z.ZodObject<{
|
|
|
302
302
|
listing_keys?: string[] | undefined;
|
|
303
303
|
}>, "many">>;
|
|
304
304
|
access_grants: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
305
|
-
name: z.ZodString
|
|
305
|
+
name: z.ZodOptional<z.ZodString>;
|
|
306
306
|
starts_at: z.ZodOptional<z.ZodString>;
|
|
307
307
|
ends_at: z.ZodOptional<z.ZodString>;
|
|
308
308
|
} & {
|
|
@@ -323,8 +323,8 @@ export declare const customer_data: z.ZodObject<{
|
|
|
323
323
|
building_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
324
324
|
listing_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
325
325
|
}, "strip", z.ZodTypeAny, {
|
|
326
|
-
name: string;
|
|
327
326
|
access_grant_key: string;
|
|
327
|
+
name?: string | undefined;
|
|
328
328
|
starts_at?: string | undefined;
|
|
329
329
|
ends_at?: string | undefined;
|
|
330
330
|
user_identity_key?: string | undefined;
|
|
@@ -341,8 +341,8 @@ export declare const customer_data: z.ZodObject<{
|
|
|
341
341
|
building_keys?: string[] | undefined;
|
|
342
342
|
listing_keys?: string[] | undefined;
|
|
343
343
|
}, {
|
|
344
|
-
name: string;
|
|
345
344
|
access_grant_key: string;
|
|
345
|
+
name?: string | undefined;
|
|
346
346
|
starts_at?: string | undefined;
|
|
347
347
|
ends_at?: string | undefined;
|
|
348
348
|
user_identity_key?: string | undefined;
|
|
@@ -370,8 +370,8 @@ export declare const customer_data: z.ZodObject<{
|
|
|
370
370
|
space_key: string;
|
|
371
371
|
}[] | undefined;
|
|
372
372
|
access_grants?: {
|
|
373
|
-
name: string;
|
|
374
373
|
access_grant_key: string;
|
|
374
|
+
name?: string | undefined;
|
|
375
375
|
starts_at?: string | undefined;
|
|
376
376
|
ends_at?: string | undefined;
|
|
377
377
|
user_identity_key?: string | undefined;
|
|
@@ -447,8 +447,8 @@ export declare const customer_data: z.ZodObject<{
|
|
|
447
447
|
phone_number?: string | undefined;
|
|
448
448
|
}[] | undefined;
|
|
449
449
|
reservations?: {
|
|
450
|
-
name: string;
|
|
451
450
|
reservation_key: string;
|
|
451
|
+
name?: string | undefined;
|
|
452
452
|
starts_at?: string | undefined;
|
|
453
453
|
ends_at?: string | undefined;
|
|
454
454
|
user_identity_key?: string | undefined;
|
|
@@ -466,8 +466,8 @@ export declare const customer_data: z.ZodObject<{
|
|
|
466
466
|
listing_keys?: string[] | undefined;
|
|
467
467
|
}[] | undefined;
|
|
468
468
|
bookings?: {
|
|
469
|
-
name: string;
|
|
470
469
|
booking_key: string;
|
|
470
|
+
name?: string | undefined;
|
|
471
471
|
starts_at?: string | undefined;
|
|
472
472
|
ends_at?: string | undefined;
|
|
473
473
|
user_identity_key?: string | undefined;
|
|
@@ -495,8 +495,8 @@ export declare const customer_data: z.ZodObject<{
|
|
|
495
495
|
space_key: string;
|
|
496
496
|
}[] | undefined;
|
|
497
497
|
access_grants?: {
|
|
498
|
-
name: string;
|
|
499
498
|
access_grant_key: string;
|
|
499
|
+
name?: string | undefined;
|
|
500
500
|
starts_at?: string | undefined;
|
|
501
501
|
ends_at?: string | undefined;
|
|
502
502
|
user_identity_key?: string | undefined;
|
|
@@ -572,8 +572,8 @@ export declare const customer_data: z.ZodObject<{
|
|
|
572
572
|
phone_number?: string | undefined;
|
|
573
573
|
}[] | undefined;
|
|
574
574
|
reservations?: {
|
|
575
|
-
name: string;
|
|
576
575
|
reservation_key: string;
|
|
576
|
+
name?: string | undefined;
|
|
577
577
|
starts_at?: string | undefined;
|
|
578
578
|
ends_at?: string | undefined;
|
|
579
579
|
user_identity_key?: string | undefined;
|
|
@@ -591,8 +591,8 @@ export declare const customer_data: z.ZodObject<{
|
|
|
591
591
|
listing_keys?: string[] | undefined;
|
|
592
592
|
}[] | undefined;
|
|
593
593
|
bookings?: {
|
|
594
|
-
name: string;
|
|
595
594
|
booking_key: string;
|
|
595
|
+
name?: string | undefined;
|
|
596
596
|
starts_at?: string | undefined;
|
|
597
597
|
ends_at?: string | undefined;
|
|
598
598
|
user_identity_key?: string | undefined;
|
|
@@ -1930,7 +1930,119 @@ export declare const phone_session: z.ZodObject<{
|
|
|
1930
1930
|
latest_desired_state_synced_with_provider_at?: string | null | undefined;
|
|
1931
1931
|
}[];
|
|
1932
1932
|
}>, "many">;
|
|
1933
|
+
user_identity: z.ZodObject<{
|
|
1934
|
+
user_identity_id: z.ZodString;
|
|
1935
|
+
user_identity_key: z.ZodNullable<z.ZodString>;
|
|
1936
|
+
email_address: z.ZodNullable<z.ZodString>;
|
|
1937
|
+
phone_number: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
|
|
1938
|
+
display_name: z.ZodString;
|
|
1939
|
+
full_name: z.ZodNullable<z.ZodString>;
|
|
1940
|
+
created_at: z.ZodString;
|
|
1941
|
+
workspace_id: z.ZodString;
|
|
1942
|
+
errors: z.ZodArray<z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<{
|
|
1943
|
+
created_at: z.ZodString;
|
|
1944
|
+
message: z.ZodString;
|
|
1945
|
+
} & {
|
|
1946
|
+
error_code: z.ZodLiteral<"issue_with_acs_user">;
|
|
1947
|
+
acs_user_id: z.ZodString;
|
|
1948
|
+
acs_system_id: z.ZodString;
|
|
1949
|
+
}, "strip", z.ZodTypeAny, {
|
|
1950
|
+
message: string;
|
|
1951
|
+
created_at: string;
|
|
1952
|
+
error_code: "issue_with_acs_user";
|
|
1953
|
+
acs_system_id: string;
|
|
1954
|
+
acs_user_id: string;
|
|
1955
|
+
}, {
|
|
1956
|
+
message: string;
|
|
1957
|
+
created_at: string;
|
|
1958
|
+
error_code: "issue_with_acs_user";
|
|
1959
|
+
acs_system_id: string;
|
|
1960
|
+
acs_user_id: string;
|
|
1961
|
+
}>]>, "many">;
|
|
1962
|
+
warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
|
|
1963
|
+
created_at: z.ZodString;
|
|
1964
|
+
message: z.ZodString;
|
|
1965
|
+
} & {
|
|
1966
|
+
warning_code: z.ZodLiteral<"being_deleted">;
|
|
1967
|
+
}, "strip", z.ZodTypeAny, {
|
|
1968
|
+
message: string;
|
|
1969
|
+
created_at: string;
|
|
1970
|
+
warning_code: "being_deleted";
|
|
1971
|
+
}, {
|
|
1972
|
+
message: string;
|
|
1973
|
+
created_at: string;
|
|
1974
|
+
warning_code: "being_deleted";
|
|
1975
|
+
}>, z.ZodObject<{
|
|
1976
|
+
created_at: z.ZodString;
|
|
1977
|
+
message: z.ZodString;
|
|
1978
|
+
} & {
|
|
1979
|
+
warning_code: z.ZodLiteral<"acs_user_profile_does_not_match_user_identity">;
|
|
1980
|
+
}, "strip", z.ZodTypeAny, {
|
|
1981
|
+
message: string;
|
|
1982
|
+
created_at: string;
|
|
1983
|
+
warning_code: "acs_user_profile_does_not_match_user_identity";
|
|
1984
|
+
}, {
|
|
1985
|
+
message: string;
|
|
1986
|
+
created_at: string;
|
|
1987
|
+
warning_code: "acs_user_profile_does_not_match_user_identity";
|
|
1988
|
+
}>]>, "many">;
|
|
1989
|
+
acs_user_ids: z.ZodArray<z.ZodString, "many">;
|
|
1990
|
+
}, "strip", z.ZodTypeAny, {
|
|
1991
|
+
display_name: string;
|
|
1992
|
+
workspace_id: string;
|
|
1993
|
+
created_at: string;
|
|
1994
|
+
errors: {
|
|
1995
|
+
message: string;
|
|
1996
|
+
created_at: string;
|
|
1997
|
+
error_code: "issue_with_acs_user";
|
|
1998
|
+
acs_system_id: string;
|
|
1999
|
+
acs_user_id: string;
|
|
2000
|
+
}[];
|
|
2001
|
+
warnings: ({
|
|
2002
|
+
message: string;
|
|
2003
|
+
created_at: string;
|
|
2004
|
+
warning_code: "being_deleted";
|
|
2005
|
+
} | {
|
|
2006
|
+
message: string;
|
|
2007
|
+
created_at: string;
|
|
2008
|
+
warning_code: "acs_user_profile_does_not_match_user_identity";
|
|
2009
|
+
})[];
|
|
2010
|
+
user_identity_id: string;
|
|
2011
|
+
email_address: string | null;
|
|
2012
|
+
full_name: string | null;
|
|
2013
|
+
phone_number: string | null;
|
|
2014
|
+
user_identity_key: string | null;
|
|
2015
|
+
acs_user_ids: string[];
|
|
2016
|
+
}, {
|
|
2017
|
+
display_name: string;
|
|
2018
|
+
workspace_id: string;
|
|
2019
|
+
created_at: string;
|
|
2020
|
+
errors: {
|
|
2021
|
+
message: string;
|
|
2022
|
+
created_at: string;
|
|
2023
|
+
error_code: "issue_with_acs_user";
|
|
2024
|
+
acs_system_id: string;
|
|
2025
|
+
acs_user_id: string;
|
|
2026
|
+
}[];
|
|
2027
|
+
warnings: ({
|
|
2028
|
+
message: string;
|
|
2029
|
+
created_at: string;
|
|
2030
|
+
warning_code: "being_deleted";
|
|
2031
|
+
} | {
|
|
2032
|
+
message: string;
|
|
2033
|
+
created_at: string;
|
|
2034
|
+
warning_code: "acs_user_profile_does_not_match_user_identity";
|
|
2035
|
+
})[];
|
|
2036
|
+
user_identity_id: string;
|
|
2037
|
+
email_address: string | null;
|
|
2038
|
+
full_name: string | null;
|
|
2039
|
+
phone_number: string | null;
|
|
2040
|
+
user_identity_key: string | null;
|
|
2041
|
+
acs_user_ids: string[];
|
|
2042
|
+
}>;
|
|
2043
|
+
workspace_id: z.ZodString;
|
|
1933
2044
|
}, "strip", z.ZodTypeAny, {
|
|
2045
|
+
workspace_id: string;
|
|
1934
2046
|
provider_sessions: {
|
|
1935
2047
|
phone_registration: {
|
|
1936
2048
|
phone_registration_id: string;
|
|
@@ -2068,7 +2180,35 @@ export declare const phone_session: z.ZodObject<{
|
|
|
2068
2180
|
latest_desired_state_synced_with_provider_at?: string | null | undefined;
|
|
2069
2181
|
}[];
|
|
2070
2182
|
}[];
|
|
2183
|
+
user_identity: {
|
|
2184
|
+
display_name: string;
|
|
2185
|
+
workspace_id: string;
|
|
2186
|
+
created_at: string;
|
|
2187
|
+
errors: {
|
|
2188
|
+
message: string;
|
|
2189
|
+
created_at: string;
|
|
2190
|
+
error_code: "issue_with_acs_user";
|
|
2191
|
+
acs_system_id: string;
|
|
2192
|
+
acs_user_id: string;
|
|
2193
|
+
}[];
|
|
2194
|
+
warnings: ({
|
|
2195
|
+
message: string;
|
|
2196
|
+
created_at: string;
|
|
2197
|
+
warning_code: "being_deleted";
|
|
2198
|
+
} | {
|
|
2199
|
+
message: string;
|
|
2200
|
+
created_at: string;
|
|
2201
|
+
warning_code: "acs_user_profile_does_not_match_user_identity";
|
|
2202
|
+
})[];
|
|
2203
|
+
user_identity_id: string;
|
|
2204
|
+
email_address: string | null;
|
|
2205
|
+
full_name: string | null;
|
|
2206
|
+
phone_number: string | null;
|
|
2207
|
+
user_identity_key: string | null;
|
|
2208
|
+
acs_user_ids: string[];
|
|
2209
|
+
};
|
|
2071
2210
|
}, {
|
|
2211
|
+
workspace_id: string;
|
|
2072
2212
|
provider_sessions: {
|
|
2073
2213
|
phone_registration: {
|
|
2074
2214
|
phone_registration_id: string;
|
|
@@ -2206,6 +2346,33 @@ export declare const phone_session: z.ZodObject<{
|
|
|
2206
2346
|
latest_desired_state_synced_with_provider_at?: string | null | undefined;
|
|
2207
2347
|
}[];
|
|
2208
2348
|
}[];
|
|
2349
|
+
user_identity: {
|
|
2350
|
+
display_name: string;
|
|
2351
|
+
workspace_id: string;
|
|
2352
|
+
created_at: string;
|
|
2353
|
+
errors: {
|
|
2354
|
+
message: string;
|
|
2355
|
+
created_at: string;
|
|
2356
|
+
error_code: "issue_with_acs_user";
|
|
2357
|
+
acs_system_id: string;
|
|
2358
|
+
acs_user_id: string;
|
|
2359
|
+
}[];
|
|
2360
|
+
warnings: ({
|
|
2361
|
+
message: string;
|
|
2362
|
+
created_at: string;
|
|
2363
|
+
warning_code: "being_deleted";
|
|
2364
|
+
} | {
|
|
2365
|
+
message: string;
|
|
2366
|
+
created_at: string;
|
|
2367
|
+
warning_code: "acs_user_profile_does_not_match_user_identity";
|
|
2368
|
+
})[];
|
|
2369
|
+
user_identity_id: string;
|
|
2370
|
+
email_address: string | null;
|
|
2371
|
+
full_name: string | null;
|
|
2372
|
+
phone_number: string | null;
|
|
2373
|
+
user_identity_key: string | null;
|
|
2374
|
+
acs_user_ids: string[];
|
|
2375
|
+
};
|
|
2209
2376
|
}>;
|
|
2210
2377
|
export type PhoneProviderSession = z.infer<typeof phone_provider_session>;
|
|
2211
2378
|
export type PhoneSession = z.infer<typeof phone_session>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { acs_credential } from '../acs/acs-credential.js';
|
|
3
3
|
import { acs_entrance } from '../acs/acs-entrance.js';
|
|
4
|
+
import { user_identity } from '../user-identities/user-identity.js';
|
|
4
5
|
import { phone_registration } from './phone-registration.js';
|
|
5
6
|
const phone_provider_session = z
|
|
6
7
|
.object({
|
|
@@ -21,6 +22,8 @@ export const phone_session = z.object({
|
|
|
21
22
|
provider_sessions: phone_provider_session
|
|
22
23
|
.array()
|
|
23
24
|
.describe('Phone provider sessions.'),
|
|
25
|
+
user_identity: user_identity.describe('User identity.'),
|
|
26
|
+
workspace_id: z.string().describe('Workspace ID.'),
|
|
24
27
|
}).describe(`
|
|
25
28
|
---
|
|
26
29
|
route_path: /seam/mobile_sdk/v1/phone_sessions
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"phone-session.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/phones/phone-session.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;AACzD,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAA;AAE5D,MAAM,sBAAsB,GAAG,CAAC;KAC7B,MAAM,CAAC;IACN,kBAAkB;IAClB,eAAe,EAAE,cAAc;SAC5B,IAAI,CAAC;QACJ,iBAAiB,EAAE,IAAI;KACxB,CAAC;SACD,MAAM,CAAC;QACN,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QACxC,aAAa,EAAE,YAAY,CAAC,KAAK,EAAE;KACpC,CAAC;SACD,KAAK,EAAE;SACP,QAAQ,CACP,uEAAuE,CACxE;CACJ,CAAC;KACD,QAAQ,CAAC,yBAAyB,CAAC,CAAA;AAEtC,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,CAAC,MAAM,CAAC;IACpC,iBAAiB,EAAE,sBAAsB;SACtC,KAAK,EAAE;SACP,QAAQ,CAAC,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"phone-session.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/phones/phone-session.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,K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