@seamapi/types 1.744.0 → 1.746.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.
- package/dist/connect.cjs +306 -8
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +645 -0
- package/dist/index.cjs +306 -8
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +20 -0
- package/lib/seam/connect/models/events/devices.d.ts +24 -0
- package/lib/seam/connect/models/events/devices.js +20 -0
- package/lib/seam/connect/models/events/devices.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +12 -0
- package/lib/seam/connect/openapi.d.ts +539 -0
- package/lib/seam/connect/openapi.js +290 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +74 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/events/devices.ts +24 -0
- package/src/lib/seam/connect/openapi.ts +294 -0
- package/src/lib/seam/connect/route-types.ts +74 -0
|
@@ -35924,6 +35924,10 @@ export type Routes = {
|
|
|
35924
35924
|
activation_reason: 'motion_detected';
|
|
35925
35925
|
/** Sub-type of motion detected, if available. */
|
|
35926
35926
|
motion_sub_type?: ('human' | 'vehicle' | 'package' | 'other') | undefined;
|
|
35927
|
+
/** URL to a thumbnail image captured at the time of activation. */
|
|
35928
|
+
image_url?: string | undefined;
|
|
35929
|
+
/** URL to a short video clip captured at the time of activation. */
|
|
35930
|
+
video_url?: string | undefined;
|
|
35927
35931
|
} | {
|
|
35928
35932
|
/** ID of the event. */
|
|
35929
35933
|
event_id: string;
|
|
@@ -35948,6 +35952,10 @@ export type Routes = {
|
|
|
35948
35952
|
[x: string]: string | boolean;
|
|
35949
35953
|
} | undefined;
|
|
35950
35954
|
event_type: 'device.doorbell_rang';
|
|
35955
|
+
/** URL to a thumbnail image captured at the time the doorbell was pressed. */
|
|
35956
|
+
image_url?: string | undefined;
|
|
35957
|
+
/** URL to a short video clip captured at the time the doorbell was pressed. */
|
|
35958
|
+
video_url?: string | undefined;
|
|
35951
35959
|
} | {
|
|
35952
35960
|
/** ID of the event. */
|
|
35953
35961
|
event_id: string;
|
|
@@ -38744,6 +38752,10 @@ export type Routes = {
|
|
|
38744
38752
|
activation_reason: 'motion_detected';
|
|
38745
38753
|
/** Sub-type of motion detected, if available. */
|
|
38746
38754
|
motion_sub_type?: ('human' | 'vehicle' | 'package' | 'other') | undefined;
|
|
38755
|
+
/** URL to a thumbnail image captured at the time of activation. */
|
|
38756
|
+
image_url?: string | undefined;
|
|
38757
|
+
/** URL to a short video clip captured at the time of activation. */
|
|
38758
|
+
video_url?: string | undefined;
|
|
38747
38759
|
} | {
|
|
38748
38760
|
/** ID of the event. */
|
|
38749
38761
|
event_id: string;
|
|
@@ -38768,6 +38780,10 @@ export type Routes = {
|
|
|
38768
38780
|
[x: string]: string | boolean;
|
|
38769
38781
|
} | undefined;
|
|
38770
38782
|
event_type: 'device.doorbell_rang';
|
|
38783
|
+
/** URL to a thumbnail image captured at the time the doorbell was pressed. */
|
|
38784
|
+
image_url?: string | undefined;
|
|
38785
|
+
/** URL to a short video clip captured at the time the doorbell was pressed. */
|
|
38786
|
+
video_url?: string | undefined;
|
|
38771
38787
|
} | {
|
|
38772
38788
|
/** ID of the event. */
|
|
38773
38789
|
event_id: string;
|
|
@@ -61568,6 +61584,10 @@ export type Routes = {
|
|
|
61568
61584
|
activation_reason: 'motion_detected';
|
|
61569
61585
|
/** Sub-type of motion detected, if available. */
|
|
61570
61586
|
motion_sub_type?: ('human' | 'vehicle' | 'package' | 'other') | undefined;
|
|
61587
|
+
/** URL to a thumbnail image captured at the time of activation. */
|
|
61588
|
+
image_url?: string | undefined;
|
|
61589
|
+
/** URL to a short video clip captured at the time of activation. */
|
|
61590
|
+
video_url?: string | undefined;
|
|
61571
61591
|
} | {
|
|
61572
61592
|
/** ID of the event. */
|
|
61573
61593
|
event_id: string;
|
|
@@ -61592,6 +61612,10 @@ export type Routes = {
|
|
|
61592
61612
|
[x: string]: string | boolean;
|
|
61593
61613
|
} | undefined;
|
|
61594
61614
|
event_type: 'device.doorbell_rang';
|
|
61615
|
+
/** URL to a thumbnail image captured at the time the doorbell was pressed. */
|
|
61616
|
+
image_url?: string | undefined;
|
|
61617
|
+
/** URL to a short video clip captured at the time the doorbell was pressed. */
|
|
61618
|
+
video_url?: string | undefined;
|
|
61595
61619
|
} | {
|
|
61596
61620
|
/** ID of the event. */
|
|
61597
61621
|
event_id: string;
|
|
@@ -61851,6 +61875,20 @@ export type Routes = {
|
|
|
61851
61875
|
code?: (string | null) | undefined;
|
|
61852
61876
|
instant_key_url?: string | undefined;
|
|
61853
61877
|
}[];
|
|
61878
|
+
last_automation_result: {
|
|
61879
|
+
success: boolean;
|
|
61880
|
+
rule: string;
|
|
61881
|
+
actions: {
|
|
61882
|
+
action_type: 'create' | 'update' | 'delete' | 'skip';
|
|
61883
|
+
resource_type: string;
|
|
61884
|
+
access_grant_id?: string | undefined;
|
|
61885
|
+
skip_reason?: string | undefined;
|
|
61886
|
+
message?: string | undefined;
|
|
61887
|
+
}[];
|
|
61888
|
+
error?: string | undefined;
|
|
61889
|
+
message?: string | undefined;
|
|
61890
|
+
created_at: string;
|
|
61891
|
+
} | null;
|
|
61854
61892
|
};
|
|
61855
61893
|
};
|
|
61856
61894
|
maxDuration: undefined;
|
|
@@ -61917,6 +61955,20 @@ export type Routes = {
|
|
|
61917
61955
|
space_key: string;
|
|
61918
61956
|
name: string | null;
|
|
61919
61957
|
}[];
|
|
61958
|
+
last_automation_result: {
|
|
61959
|
+
success: boolean;
|
|
61960
|
+
rule: string;
|
|
61961
|
+
actions: {
|
|
61962
|
+
action_type: 'create' | 'update' | 'delete' | 'skip';
|
|
61963
|
+
resource_type: string;
|
|
61964
|
+
access_grant_id?: string | undefined;
|
|
61965
|
+
skip_reason?: string | undefined;
|
|
61966
|
+
message?: string | undefined;
|
|
61967
|
+
}[];
|
|
61968
|
+
error?: string | undefined;
|
|
61969
|
+
message?: string | undefined;
|
|
61970
|
+
created_at: string;
|
|
61971
|
+
} | null;
|
|
61920
61972
|
}[];
|
|
61921
61973
|
/** Information about the current page of results. */
|
|
61922
61974
|
pagination: {
|
|
@@ -62142,6 +62194,20 @@ export type Routes = {
|
|
|
62142
62194
|
mode: string;
|
|
62143
62195
|
is_issued: boolean;
|
|
62144
62196
|
}[];
|
|
62197
|
+
last_automation_result: {
|
|
62198
|
+
success: boolean;
|
|
62199
|
+
rule: string;
|
|
62200
|
+
actions: {
|
|
62201
|
+
action_type: 'create' | 'update' | 'delete' | 'skip';
|
|
62202
|
+
resource_type: string;
|
|
62203
|
+
access_grant_id?: string | undefined;
|
|
62204
|
+
skip_reason?: string | undefined;
|
|
62205
|
+
message?: string | undefined;
|
|
62206
|
+
}[];
|
|
62207
|
+
error?: string | undefined;
|
|
62208
|
+
message?: string | undefined;
|
|
62209
|
+
created_at: string;
|
|
62210
|
+
} | null;
|
|
62145
62211
|
}[];
|
|
62146
62212
|
};
|
|
62147
62213
|
maxDuration: undefined;
|
|
@@ -92432,6 +92498,10 @@ export type Routes = {
|
|
|
92432
92498
|
activation_reason: 'motion_detected';
|
|
92433
92499
|
/** Sub-type of motion detected, if available. */
|
|
92434
92500
|
motion_sub_type?: ('human' | 'vehicle' | 'package' | 'other') | undefined;
|
|
92501
|
+
/** URL to a thumbnail image captured at the time of activation. */
|
|
92502
|
+
image_url?: string | undefined;
|
|
92503
|
+
/** URL to a short video clip captured at the time of activation. */
|
|
92504
|
+
video_url?: string | undefined;
|
|
92435
92505
|
} | {
|
|
92436
92506
|
/** ID of the event. */
|
|
92437
92507
|
event_id: string;
|
|
@@ -92456,6 +92526,10 @@ export type Routes = {
|
|
|
92456
92526
|
[x: string]: string | boolean;
|
|
92457
92527
|
} | undefined;
|
|
92458
92528
|
event_type: 'device.doorbell_rang';
|
|
92529
|
+
/** URL to a thumbnail image captured at the time the doorbell was pressed. */
|
|
92530
|
+
image_url?: string | undefined;
|
|
92531
|
+
/** URL to a short video clip captured at the time the doorbell was pressed. */
|
|
92532
|
+
video_url?: string | undefined;
|
|
92459
92533
|
} | {
|
|
92460
92534
|
/** ID of the event. */
|
|
92461
92535
|
event_id: string;
|
package/package.json
CHANGED
|
@@ -715,6 +715,16 @@ export const camera_activated_event = device_event.extend({
|
|
|
715
715
|
.enum(['human', 'vehicle', 'package', 'other'])
|
|
716
716
|
.optional()
|
|
717
717
|
.describe('Sub-type of motion detected, if available.'),
|
|
718
|
+
image_url: z
|
|
719
|
+
.string()
|
|
720
|
+
.url()
|
|
721
|
+
.optional()
|
|
722
|
+
.describe('URL to a thumbnail image captured at the time of activation.'),
|
|
723
|
+
video_url: z
|
|
724
|
+
.string()
|
|
725
|
+
.url()
|
|
726
|
+
.optional()
|
|
727
|
+
.describe('URL to a short video clip captured at the time of activation.'),
|
|
718
728
|
}).describe(`
|
|
719
729
|
---
|
|
720
730
|
route_path: /devices
|
|
@@ -726,6 +736,20 @@ export type CameraActivatedEvent = z.infer<typeof camera_activated_event>
|
|
|
726
736
|
|
|
727
737
|
export const device_doorbell_rang_event = device_event.extend({
|
|
728
738
|
event_type: z.literal('device.doorbell_rang'),
|
|
739
|
+
image_url: z
|
|
740
|
+
.string()
|
|
741
|
+
.url()
|
|
742
|
+
.optional()
|
|
743
|
+
.describe(
|
|
744
|
+
'URL to a thumbnail image captured at the time the doorbell was pressed.',
|
|
745
|
+
),
|
|
746
|
+
video_url: z
|
|
747
|
+
.string()
|
|
748
|
+
.url()
|
|
749
|
+
.optional()
|
|
750
|
+
.describe(
|
|
751
|
+
'URL to a short video clip captured at the time the doorbell was pressed.',
|
|
752
|
+
),
|
|
729
753
|
}).describe(`
|
|
730
754
|
---
|
|
731
755
|
route_path: /devices
|
|
@@ -23162,6 +23162,12 @@ export default {
|
|
|
23162
23162
|
type: 'string',
|
|
23163
23163
|
},
|
|
23164
23164
|
event_type: { enum: ['camera.activated'], type: 'string' },
|
|
23165
|
+
image_url: {
|
|
23166
|
+
description:
|
|
23167
|
+
'URL to a thumbnail image captured at the time of activation.',
|
|
23168
|
+
format: 'uri',
|
|
23169
|
+
type: 'string',
|
|
23170
|
+
},
|
|
23165
23171
|
motion_sub_type: {
|
|
23166
23172
|
description: 'Sub-type of motion detected, if available.',
|
|
23167
23173
|
enum: ['human', 'vehicle', 'package', 'other'],
|
|
@@ -23172,6 +23178,12 @@ export default {
|
|
|
23172
23178
|
format: 'date-time',
|
|
23173
23179
|
type: 'string',
|
|
23174
23180
|
},
|
|
23181
|
+
video_url: {
|
|
23182
|
+
description:
|
|
23183
|
+
'URL to a short video clip captured at the time of activation.',
|
|
23184
|
+
format: 'uri',
|
|
23185
|
+
type: 'string',
|
|
23186
|
+
},
|
|
23175
23187
|
workspace_id: {
|
|
23176
23188
|
description:
|
|
23177
23189
|
'ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event.',
|
|
@@ -23239,11 +23251,23 @@ export default {
|
|
|
23239
23251
|
type: 'string',
|
|
23240
23252
|
},
|
|
23241
23253
|
event_type: { enum: ['device.doorbell_rang'], type: 'string' },
|
|
23254
|
+
image_url: {
|
|
23255
|
+
description:
|
|
23256
|
+
'URL to a thumbnail image captured at the time the doorbell was pressed.',
|
|
23257
|
+
format: 'uri',
|
|
23258
|
+
type: 'string',
|
|
23259
|
+
},
|
|
23242
23260
|
occurred_at: {
|
|
23243
23261
|
description: 'Date and time at which the event occurred.',
|
|
23244
23262
|
format: 'date-time',
|
|
23245
23263
|
type: 'string',
|
|
23246
23264
|
},
|
|
23265
|
+
video_url: {
|
|
23266
|
+
description:
|
|
23267
|
+
'URL to a short video clip captured at the time the doorbell was pressed.',
|
|
23268
|
+
format: 'uri',
|
|
23269
|
+
type: 'string',
|
|
23270
|
+
},
|
|
23247
23271
|
workspace_id: {
|
|
23248
23272
|
description:
|
|
23249
23273
|
'ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event.',
|
|
@@ -66281,6 +66305,48 @@ export default {
|
|
|
66281
66305
|
},
|
|
66282
66306
|
guest_name: { nullable: true, type: 'string' },
|
|
66283
66307
|
is_resource_syncing: { type: 'boolean' },
|
|
66308
|
+
last_automation_result: {
|
|
66309
|
+
nullable: true,
|
|
66310
|
+
properties: {
|
|
66311
|
+
actions: {
|
|
66312
|
+
items: {
|
|
66313
|
+
properties: {
|
|
66314
|
+
access_grant_id: {
|
|
66315
|
+
format: 'uuid',
|
|
66316
|
+
type: 'string',
|
|
66317
|
+
},
|
|
66318
|
+
action_type: {
|
|
66319
|
+
enum: [
|
|
66320
|
+
'create',
|
|
66321
|
+
'update',
|
|
66322
|
+
'delete',
|
|
66323
|
+
'skip',
|
|
66324
|
+
],
|
|
66325
|
+
type: 'string',
|
|
66326
|
+
},
|
|
66327
|
+
message: { type: 'string' },
|
|
66328
|
+
resource_type: { type: 'string' },
|
|
66329
|
+
skip_reason: { type: 'string' },
|
|
66330
|
+
},
|
|
66331
|
+
required: ['action_type', 'resource_type'],
|
|
66332
|
+
type: 'object',
|
|
66333
|
+
},
|
|
66334
|
+
type: 'array',
|
|
66335
|
+
},
|
|
66336
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
66337
|
+
error: { type: 'string' },
|
|
66338
|
+
message: { type: 'string' },
|
|
66339
|
+
rule: { type: 'string' },
|
|
66340
|
+
success: { type: 'boolean' },
|
|
66341
|
+
},
|
|
66342
|
+
required: [
|
|
66343
|
+
'success',
|
|
66344
|
+
'rule',
|
|
66345
|
+
'actions',
|
|
66346
|
+
'created_at',
|
|
66347
|
+
],
|
|
66348
|
+
type: 'object',
|
|
66349
|
+
},
|
|
66284
66350
|
name: { nullable: true, type: 'string' },
|
|
66285
66351
|
reservation_id: { format: 'uuid', type: 'string' },
|
|
66286
66352
|
reservation_key: { type: 'string' },
|
|
@@ -66319,6 +66385,7 @@ export default {
|
|
|
66319
66385
|
'spaces',
|
|
66320
66386
|
'access_grant_id',
|
|
66321
66387
|
'access_methods',
|
|
66388
|
+
'last_automation_result',
|
|
66322
66389
|
],
|
|
66323
66390
|
type: 'object',
|
|
66324
66391
|
},
|
|
@@ -66451,6 +66518,48 @@ export default {
|
|
|
66451
66518
|
},
|
|
66452
66519
|
guest_name: { nullable: true, type: 'string' },
|
|
66453
66520
|
is_resource_syncing: { type: 'boolean' },
|
|
66521
|
+
last_automation_result: {
|
|
66522
|
+
nullable: true,
|
|
66523
|
+
properties: {
|
|
66524
|
+
actions: {
|
|
66525
|
+
items: {
|
|
66526
|
+
properties: {
|
|
66527
|
+
access_grant_id: {
|
|
66528
|
+
format: 'uuid',
|
|
66529
|
+
type: 'string',
|
|
66530
|
+
},
|
|
66531
|
+
action_type: {
|
|
66532
|
+
enum: [
|
|
66533
|
+
'create',
|
|
66534
|
+
'update',
|
|
66535
|
+
'delete',
|
|
66536
|
+
'skip',
|
|
66537
|
+
],
|
|
66538
|
+
type: 'string',
|
|
66539
|
+
},
|
|
66540
|
+
message: { type: 'string' },
|
|
66541
|
+
resource_type: { type: 'string' },
|
|
66542
|
+
skip_reason: { type: 'string' },
|
|
66543
|
+
},
|
|
66544
|
+
required: ['action_type', 'resource_type'],
|
|
66545
|
+
type: 'object',
|
|
66546
|
+
},
|
|
66547
|
+
type: 'array',
|
|
66548
|
+
},
|
|
66549
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
66550
|
+
error: { type: 'string' },
|
|
66551
|
+
message: { type: 'string' },
|
|
66552
|
+
rule: { type: 'string' },
|
|
66553
|
+
success: { type: 'boolean' },
|
|
66554
|
+
},
|
|
66555
|
+
required: [
|
|
66556
|
+
'success',
|
|
66557
|
+
'rule',
|
|
66558
|
+
'actions',
|
|
66559
|
+
'created_at',
|
|
66560
|
+
],
|
|
66561
|
+
type: 'object',
|
|
66562
|
+
},
|
|
66454
66563
|
name: { nullable: true, type: 'string' },
|
|
66455
66564
|
reservation_id: { format: 'uuid', type: 'string' },
|
|
66456
66565
|
reservation_key: { type: 'string' },
|
|
@@ -66489,6 +66598,7 @@ export default {
|
|
|
66489
66598
|
'spaces',
|
|
66490
66599
|
'access_grant_id',
|
|
66491
66600
|
'access_methods',
|
|
66601
|
+
'last_automation_result',
|
|
66492
66602
|
],
|
|
66493
66603
|
type: 'object',
|
|
66494
66604
|
},
|
|
@@ -66669,6 +66779,51 @@ export default {
|
|
|
66669
66779
|
},
|
|
66670
66780
|
guest_name: { nullable: true, type: 'string' },
|
|
66671
66781
|
is_resource_syncing: { type: 'boolean' },
|
|
66782
|
+
last_automation_result: {
|
|
66783
|
+
nullable: true,
|
|
66784
|
+
properties: {
|
|
66785
|
+
actions: {
|
|
66786
|
+
items: {
|
|
66787
|
+
properties: {
|
|
66788
|
+
access_grant_id: {
|
|
66789
|
+
format: 'uuid',
|
|
66790
|
+
type: 'string',
|
|
66791
|
+
},
|
|
66792
|
+
action_type: {
|
|
66793
|
+
enum: [
|
|
66794
|
+
'create',
|
|
66795
|
+
'update',
|
|
66796
|
+
'delete',
|
|
66797
|
+
'skip',
|
|
66798
|
+
],
|
|
66799
|
+
type: 'string',
|
|
66800
|
+
},
|
|
66801
|
+
message: { type: 'string' },
|
|
66802
|
+
resource_type: { type: 'string' },
|
|
66803
|
+
skip_reason: { type: 'string' },
|
|
66804
|
+
},
|
|
66805
|
+
required: ['action_type', 'resource_type'],
|
|
66806
|
+
type: 'object',
|
|
66807
|
+
},
|
|
66808
|
+
type: 'array',
|
|
66809
|
+
},
|
|
66810
|
+
created_at: {
|
|
66811
|
+
format: 'date-time',
|
|
66812
|
+
type: 'string',
|
|
66813
|
+
},
|
|
66814
|
+
error: { type: 'string' },
|
|
66815
|
+
message: { type: 'string' },
|
|
66816
|
+
rule: { type: 'string' },
|
|
66817
|
+
success: { type: 'boolean' },
|
|
66818
|
+
},
|
|
66819
|
+
required: [
|
|
66820
|
+
'success',
|
|
66821
|
+
'rule',
|
|
66822
|
+
'actions',
|
|
66823
|
+
'created_at',
|
|
66824
|
+
],
|
|
66825
|
+
type: 'object',
|
|
66826
|
+
},
|
|
66672
66827
|
name: { nullable: true, type: 'string' },
|
|
66673
66828
|
pending_mutations: {
|
|
66674
66829
|
items: {
|
|
@@ -66741,6 +66896,7 @@ export default {
|
|
|
66741
66896
|
'pending_mutations',
|
|
66742
66897
|
'access_methods',
|
|
66743
66898
|
'spaces',
|
|
66899
|
+
'last_automation_result',
|
|
66744
66900
|
],
|
|
66745
66901
|
type: 'object',
|
|
66746
66902
|
},
|
|
@@ -66903,6 +67059,51 @@ export default {
|
|
|
66903
67059
|
},
|
|
66904
67060
|
guest_name: { nullable: true, type: 'string' },
|
|
66905
67061
|
is_resource_syncing: { type: 'boolean' },
|
|
67062
|
+
last_automation_result: {
|
|
67063
|
+
nullable: true,
|
|
67064
|
+
properties: {
|
|
67065
|
+
actions: {
|
|
67066
|
+
items: {
|
|
67067
|
+
properties: {
|
|
67068
|
+
access_grant_id: {
|
|
67069
|
+
format: 'uuid',
|
|
67070
|
+
type: 'string',
|
|
67071
|
+
},
|
|
67072
|
+
action_type: {
|
|
67073
|
+
enum: [
|
|
67074
|
+
'create',
|
|
67075
|
+
'update',
|
|
67076
|
+
'delete',
|
|
67077
|
+
'skip',
|
|
67078
|
+
],
|
|
67079
|
+
type: 'string',
|
|
67080
|
+
},
|
|
67081
|
+
message: { type: 'string' },
|
|
67082
|
+
resource_type: { type: 'string' },
|
|
67083
|
+
skip_reason: { type: 'string' },
|
|
67084
|
+
},
|
|
67085
|
+
required: ['action_type', 'resource_type'],
|
|
67086
|
+
type: 'object',
|
|
67087
|
+
},
|
|
67088
|
+
type: 'array',
|
|
67089
|
+
},
|
|
67090
|
+
created_at: {
|
|
67091
|
+
format: 'date-time',
|
|
67092
|
+
type: 'string',
|
|
67093
|
+
},
|
|
67094
|
+
error: { type: 'string' },
|
|
67095
|
+
message: { type: 'string' },
|
|
67096
|
+
rule: { type: 'string' },
|
|
67097
|
+
success: { type: 'boolean' },
|
|
67098
|
+
},
|
|
67099
|
+
required: [
|
|
67100
|
+
'success',
|
|
67101
|
+
'rule',
|
|
67102
|
+
'actions',
|
|
67103
|
+
'created_at',
|
|
67104
|
+
],
|
|
67105
|
+
type: 'object',
|
|
67106
|
+
},
|
|
66906
67107
|
name: { nullable: true, type: 'string' },
|
|
66907
67108
|
pending_mutations: {
|
|
66908
67109
|
items: {
|
|
@@ -66975,6 +67176,7 @@ export default {
|
|
|
66975
67176
|
'pending_mutations',
|
|
66976
67177
|
'access_methods',
|
|
66977
67178
|
'spaces',
|
|
67179
|
+
'last_automation_result',
|
|
66978
67180
|
],
|
|
66979
67181
|
type: 'object',
|
|
66980
67182
|
},
|
|
@@ -67966,6 +68168,51 @@ export default {
|
|
|
67966
68168
|
},
|
|
67967
68169
|
guest_name: { nullable: true, type: 'string' },
|
|
67968
68170
|
has_issued_access: { type: 'boolean' },
|
|
68171
|
+
last_automation_result: {
|
|
68172
|
+
nullable: true,
|
|
68173
|
+
properties: {
|
|
68174
|
+
actions: {
|
|
68175
|
+
items: {
|
|
68176
|
+
properties: {
|
|
68177
|
+
access_grant_id: {
|
|
68178
|
+
format: 'uuid',
|
|
68179
|
+
type: 'string',
|
|
68180
|
+
},
|
|
68181
|
+
action_type: {
|
|
68182
|
+
enum: [
|
|
68183
|
+
'create',
|
|
68184
|
+
'update',
|
|
68185
|
+
'delete',
|
|
68186
|
+
'skip',
|
|
68187
|
+
],
|
|
68188
|
+
type: 'string',
|
|
68189
|
+
},
|
|
68190
|
+
message: { type: 'string' },
|
|
68191
|
+
resource_type: { type: 'string' },
|
|
68192
|
+
skip_reason: { type: 'string' },
|
|
68193
|
+
},
|
|
68194
|
+
required: ['action_type', 'resource_type'],
|
|
68195
|
+
type: 'object',
|
|
68196
|
+
},
|
|
68197
|
+
type: 'array',
|
|
68198
|
+
},
|
|
68199
|
+
created_at: {
|
|
68200
|
+
format: 'date-time',
|
|
68201
|
+
type: 'string',
|
|
68202
|
+
},
|
|
68203
|
+
error: { type: 'string' },
|
|
68204
|
+
message: { type: 'string' },
|
|
68205
|
+
rule: { type: 'string' },
|
|
68206
|
+
success: { type: 'boolean' },
|
|
68207
|
+
},
|
|
68208
|
+
required: [
|
|
68209
|
+
'success',
|
|
68210
|
+
'rule',
|
|
68211
|
+
'actions',
|
|
68212
|
+
'created_at',
|
|
68213
|
+
],
|
|
68214
|
+
type: 'object',
|
|
68215
|
+
},
|
|
67969
68216
|
name: { nullable: true, type: 'string' },
|
|
67970
68217
|
reservation_id: { format: 'uuid', type: 'string' },
|
|
67971
68218
|
reservation_key: { type: 'string' },
|
|
@@ -67985,6 +68232,7 @@ export default {
|
|
|
67985
68232
|
'guest_name',
|
|
67986
68233
|
'has_issued_access',
|
|
67987
68234
|
'access_methods',
|
|
68235
|
+
'last_automation_result',
|
|
67988
68236
|
],
|
|
67989
68237
|
type: 'object',
|
|
67990
68238
|
},
|
|
@@ -68061,6 +68309,51 @@ export default {
|
|
|
68061
68309
|
},
|
|
68062
68310
|
guest_name: { nullable: true, type: 'string' },
|
|
68063
68311
|
has_issued_access: { type: 'boolean' },
|
|
68312
|
+
last_automation_result: {
|
|
68313
|
+
nullable: true,
|
|
68314
|
+
properties: {
|
|
68315
|
+
actions: {
|
|
68316
|
+
items: {
|
|
68317
|
+
properties: {
|
|
68318
|
+
access_grant_id: {
|
|
68319
|
+
format: 'uuid',
|
|
68320
|
+
type: 'string',
|
|
68321
|
+
},
|
|
68322
|
+
action_type: {
|
|
68323
|
+
enum: [
|
|
68324
|
+
'create',
|
|
68325
|
+
'update',
|
|
68326
|
+
'delete',
|
|
68327
|
+
'skip',
|
|
68328
|
+
],
|
|
68329
|
+
type: 'string',
|
|
68330
|
+
},
|
|
68331
|
+
message: { type: 'string' },
|
|
68332
|
+
resource_type: { type: 'string' },
|
|
68333
|
+
skip_reason: { type: 'string' },
|
|
68334
|
+
},
|
|
68335
|
+
required: ['action_type', 'resource_type'],
|
|
68336
|
+
type: 'object',
|
|
68337
|
+
},
|
|
68338
|
+
type: 'array',
|
|
68339
|
+
},
|
|
68340
|
+
created_at: {
|
|
68341
|
+
format: 'date-time',
|
|
68342
|
+
type: 'string',
|
|
68343
|
+
},
|
|
68344
|
+
error: { type: 'string' },
|
|
68345
|
+
message: { type: 'string' },
|
|
68346
|
+
rule: { type: 'string' },
|
|
68347
|
+
success: { type: 'boolean' },
|
|
68348
|
+
},
|
|
68349
|
+
required: [
|
|
68350
|
+
'success',
|
|
68351
|
+
'rule',
|
|
68352
|
+
'actions',
|
|
68353
|
+
'created_at',
|
|
68354
|
+
],
|
|
68355
|
+
type: 'object',
|
|
68356
|
+
},
|
|
68064
68357
|
name: { nullable: true, type: 'string' },
|
|
68065
68358
|
reservation_id: { format: 'uuid', type: 'string' },
|
|
68066
68359
|
reservation_key: { type: 'string' },
|
|
@@ -68080,6 +68373,7 @@ export default {
|
|
|
68080
68373
|
'guest_name',
|
|
68081
68374
|
'has_issued_access',
|
|
68082
68375
|
'access_methods',
|
|
68376
|
+
'last_automation_result',
|
|
68083
68377
|
],
|
|
68084
68378
|
type: 'object',
|
|
68085
68379
|
},
|