@seamapi/types 1.744.0 → 1.745.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 +276 -6
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +336 -0
- package/dist/index.cjs +276 -6
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/openapi.d.ts +294 -0
- package/lib/seam/connect/openapi.js +270 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +42 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +270 -0
- package/src/lib/seam/connect/route-types.ts +42 -0
|
@@ -61851,6 +61851,20 @@ export type Routes = {
|
|
|
61851
61851
|
code?: (string | null) | undefined;
|
|
61852
61852
|
instant_key_url?: string | undefined;
|
|
61853
61853
|
}[];
|
|
61854
|
+
last_automation_result: {
|
|
61855
|
+
success: boolean;
|
|
61856
|
+
rule: string;
|
|
61857
|
+
actions: {
|
|
61858
|
+
action_type: 'create' | 'update' | 'delete' | 'skip';
|
|
61859
|
+
resource_type: string;
|
|
61860
|
+
access_grant_id?: string | undefined;
|
|
61861
|
+
skip_reason?: string | undefined;
|
|
61862
|
+
message?: string | undefined;
|
|
61863
|
+
}[];
|
|
61864
|
+
error?: string | undefined;
|
|
61865
|
+
message?: string | undefined;
|
|
61866
|
+
created_at: string;
|
|
61867
|
+
} | null;
|
|
61854
61868
|
};
|
|
61855
61869
|
};
|
|
61856
61870
|
maxDuration: undefined;
|
|
@@ -61917,6 +61931,20 @@ export type Routes = {
|
|
|
61917
61931
|
space_key: string;
|
|
61918
61932
|
name: string | null;
|
|
61919
61933
|
}[];
|
|
61934
|
+
last_automation_result: {
|
|
61935
|
+
success: boolean;
|
|
61936
|
+
rule: string;
|
|
61937
|
+
actions: {
|
|
61938
|
+
action_type: 'create' | 'update' | 'delete' | 'skip';
|
|
61939
|
+
resource_type: string;
|
|
61940
|
+
access_grant_id?: string | undefined;
|
|
61941
|
+
skip_reason?: string | undefined;
|
|
61942
|
+
message?: string | undefined;
|
|
61943
|
+
}[];
|
|
61944
|
+
error?: string | undefined;
|
|
61945
|
+
message?: string | undefined;
|
|
61946
|
+
created_at: string;
|
|
61947
|
+
} | null;
|
|
61920
61948
|
}[];
|
|
61921
61949
|
/** Information about the current page of results. */
|
|
61922
61950
|
pagination: {
|
|
@@ -62142,6 +62170,20 @@ export type Routes = {
|
|
|
62142
62170
|
mode: string;
|
|
62143
62171
|
is_issued: boolean;
|
|
62144
62172
|
}[];
|
|
62173
|
+
last_automation_result: {
|
|
62174
|
+
success: boolean;
|
|
62175
|
+
rule: string;
|
|
62176
|
+
actions: {
|
|
62177
|
+
action_type: 'create' | 'update' | 'delete' | 'skip';
|
|
62178
|
+
resource_type: string;
|
|
62179
|
+
access_grant_id?: string | undefined;
|
|
62180
|
+
skip_reason?: string | undefined;
|
|
62181
|
+
message?: string | undefined;
|
|
62182
|
+
}[];
|
|
62183
|
+
error?: string | undefined;
|
|
62184
|
+
message?: string | undefined;
|
|
62185
|
+
created_at: string;
|
|
62186
|
+
} | null;
|
|
62145
62187
|
}[];
|
|
62146
62188
|
};
|
|
62147
62189
|
maxDuration: undefined;
|
package/package.json
CHANGED
|
@@ -66281,6 +66281,48 @@ export default {
|
|
|
66281
66281
|
},
|
|
66282
66282
|
guest_name: { nullable: true, type: 'string' },
|
|
66283
66283
|
is_resource_syncing: { type: 'boolean' },
|
|
66284
|
+
last_automation_result: {
|
|
66285
|
+
nullable: true,
|
|
66286
|
+
properties: {
|
|
66287
|
+
actions: {
|
|
66288
|
+
items: {
|
|
66289
|
+
properties: {
|
|
66290
|
+
access_grant_id: {
|
|
66291
|
+
format: 'uuid',
|
|
66292
|
+
type: 'string',
|
|
66293
|
+
},
|
|
66294
|
+
action_type: {
|
|
66295
|
+
enum: [
|
|
66296
|
+
'create',
|
|
66297
|
+
'update',
|
|
66298
|
+
'delete',
|
|
66299
|
+
'skip',
|
|
66300
|
+
],
|
|
66301
|
+
type: 'string',
|
|
66302
|
+
},
|
|
66303
|
+
message: { type: 'string' },
|
|
66304
|
+
resource_type: { type: 'string' },
|
|
66305
|
+
skip_reason: { type: 'string' },
|
|
66306
|
+
},
|
|
66307
|
+
required: ['action_type', 'resource_type'],
|
|
66308
|
+
type: 'object',
|
|
66309
|
+
},
|
|
66310
|
+
type: 'array',
|
|
66311
|
+
},
|
|
66312
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
66313
|
+
error: { type: 'string' },
|
|
66314
|
+
message: { type: 'string' },
|
|
66315
|
+
rule: { type: 'string' },
|
|
66316
|
+
success: { type: 'boolean' },
|
|
66317
|
+
},
|
|
66318
|
+
required: [
|
|
66319
|
+
'success',
|
|
66320
|
+
'rule',
|
|
66321
|
+
'actions',
|
|
66322
|
+
'created_at',
|
|
66323
|
+
],
|
|
66324
|
+
type: 'object',
|
|
66325
|
+
},
|
|
66284
66326
|
name: { nullable: true, type: 'string' },
|
|
66285
66327
|
reservation_id: { format: 'uuid', type: 'string' },
|
|
66286
66328
|
reservation_key: { type: 'string' },
|
|
@@ -66319,6 +66361,7 @@ export default {
|
|
|
66319
66361
|
'spaces',
|
|
66320
66362
|
'access_grant_id',
|
|
66321
66363
|
'access_methods',
|
|
66364
|
+
'last_automation_result',
|
|
66322
66365
|
],
|
|
66323
66366
|
type: 'object',
|
|
66324
66367
|
},
|
|
@@ -66451,6 +66494,48 @@ export default {
|
|
|
66451
66494
|
},
|
|
66452
66495
|
guest_name: { nullable: true, type: 'string' },
|
|
66453
66496
|
is_resource_syncing: { type: 'boolean' },
|
|
66497
|
+
last_automation_result: {
|
|
66498
|
+
nullable: true,
|
|
66499
|
+
properties: {
|
|
66500
|
+
actions: {
|
|
66501
|
+
items: {
|
|
66502
|
+
properties: {
|
|
66503
|
+
access_grant_id: {
|
|
66504
|
+
format: 'uuid',
|
|
66505
|
+
type: 'string',
|
|
66506
|
+
},
|
|
66507
|
+
action_type: {
|
|
66508
|
+
enum: [
|
|
66509
|
+
'create',
|
|
66510
|
+
'update',
|
|
66511
|
+
'delete',
|
|
66512
|
+
'skip',
|
|
66513
|
+
],
|
|
66514
|
+
type: 'string',
|
|
66515
|
+
},
|
|
66516
|
+
message: { type: 'string' },
|
|
66517
|
+
resource_type: { type: 'string' },
|
|
66518
|
+
skip_reason: { type: 'string' },
|
|
66519
|
+
},
|
|
66520
|
+
required: ['action_type', 'resource_type'],
|
|
66521
|
+
type: 'object',
|
|
66522
|
+
},
|
|
66523
|
+
type: 'array',
|
|
66524
|
+
},
|
|
66525
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
66526
|
+
error: { type: 'string' },
|
|
66527
|
+
message: { type: 'string' },
|
|
66528
|
+
rule: { type: 'string' },
|
|
66529
|
+
success: { type: 'boolean' },
|
|
66530
|
+
},
|
|
66531
|
+
required: [
|
|
66532
|
+
'success',
|
|
66533
|
+
'rule',
|
|
66534
|
+
'actions',
|
|
66535
|
+
'created_at',
|
|
66536
|
+
],
|
|
66537
|
+
type: 'object',
|
|
66538
|
+
},
|
|
66454
66539
|
name: { nullable: true, type: 'string' },
|
|
66455
66540
|
reservation_id: { format: 'uuid', type: 'string' },
|
|
66456
66541
|
reservation_key: { type: 'string' },
|
|
@@ -66489,6 +66574,7 @@ export default {
|
|
|
66489
66574
|
'spaces',
|
|
66490
66575
|
'access_grant_id',
|
|
66491
66576
|
'access_methods',
|
|
66577
|
+
'last_automation_result',
|
|
66492
66578
|
],
|
|
66493
66579
|
type: 'object',
|
|
66494
66580
|
},
|
|
@@ -66669,6 +66755,51 @@ export default {
|
|
|
66669
66755
|
},
|
|
66670
66756
|
guest_name: { nullable: true, type: 'string' },
|
|
66671
66757
|
is_resource_syncing: { type: 'boolean' },
|
|
66758
|
+
last_automation_result: {
|
|
66759
|
+
nullable: true,
|
|
66760
|
+
properties: {
|
|
66761
|
+
actions: {
|
|
66762
|
+
items: {
|
|
66763
|
+
properties: {
|
|
66764
|
+
access_grant_id: {
|
|
66765
|
+
format: 'uuid',
|
|
66766
|
+
type: 'string',
|
|
66767
|
+
},
|
|
66768
|
+
action_type: {
|
|
66769
|
+
enum: [
|
|
66770
|
+
'create',
|
|
66771
|
+
'update',
|
|
66772
|
+
'delete',
|
|
66773
|
+
'skip',
|
|
66774
|
+
],
|
|
66775
|
+
type: 'string',
|
|
66776
|
+
},
|
|
66777
|
+
message: { type: 'string' },
|
|
66778
|
+
resource_type: { type: 'string' },
|
|
66779
|
+
skip_reason: { type: 'string' },
|
|
66780
|
+
},
|
|
66781
|
+
required: ['action_type', 'resource_type'],
|
|
66782
|
+
type: 'object',
|
|
66783
|
+
},
|
|
66784
|
+
type: 'array',
|
|
66785
|
+
},
|
|
66786
|
+
created_at: {
|
|
66787
|
+
format: 'date-time',
|
|
66788
|
+
type: 'string',
|
|
66789
|
+
},
|
|
66790
|
+
error: { type: 'string' },
|
|
66791
|
+
message: { type: 'string' },
|
|
66792
|
+
rule: { type: 'string' },
|
|
66793
|
+
success: { type: 'boolean' },
|
|
66794
|
+
},
|
|
66795
|
+
required: [
|
|
66796
|
+
'success',
|
|
66797
|
+
'rule',
|
|
66798
|
+
'actions',
|
|
66799
|
+
'created_at',
|
|
66800
|
+
],
|
|
66801
|
+
type: 'object',
|
|
66802
|
+
},
|
|
66672
66803
|
name: { nullable: true, type: 'string' },
|
|
66673
66804
|
pending_mutations: {
|
|
66674
66805
|
items: {
|
|
@@ -66741,6 +66872,7 @@ export default {
|
|
|
66741
66872
|
'pending_mutations',
|
|
66742
66873
|
'access_methods',
|
|
66743
66874
|
'spaces',
|
|
66875
|
+
'last_automation_result',
|
|
66744
66876
|
],
|
|
66745
66877
|
type: 'object',
|
|
66746
66878
|
},
|
|
@@ -66903,6 +67035,51 @@ export default {
|
|
|
66903
67035
|
},
|
|
66904
67036
|
guest_name: { nullable: true, type: 'string' },
|
|
66905
67037
|
is_resource_syncing: { type: 'boolean' },
|
|
67038
|
+
last_automation_result: {
|
|
67039
|
+
nullable: true,
|
|
67040
|
+
properties: {
|
|
67041
|
+
actions: {
|
|
67042
|
+
items: {
|
|
67043
|
+
properties: {
|
|
67044
|
+
access_grant_id: {
|
|
67045
|
+
format: 'uuid',
|
|
67046
|
+
type: 'string',
|
|
67047
|
+
},
|
|
67048
|
+
action_type: {
|
|
67049
|
+
enum: [
|
|
67050
|
+
'create',
|
|
67051
|
+
'update',
|
|
67052
|
+
'delete',
|
|
67053
|
+
'skip',
|
|
67054
|
+
],
|
|
67055
|
+
type: 'string',
|
|
67056
|
+
},
|
|
67057
|
+
message: { type: 'string' },
|
|
67058
|
+
resource_type: { type: 'string' },
|
|
67059
|
+
skip_reason: { type: 'string' },
|
|
67060
|
+
},
|
|
67061
|
+
required: ['action_type', 'resource_type'],
|
|
67062
|
+
type: 'object',
|
|
67063
|
+
},
|
|
67064
|
+
type: 'array',
|
|
67065
|
+
},
|
|
67066
|
+
created_at: {
|
|
67067
|
+
format: 'date-time',
|
|
67068
|
+
type: 'string',
|
|
67069
|
+
},
|
|
67070
|
+
error: { type: 'string' },
|
|
67071
|
+
message: { type: 'string' },
|
|
67072
|
+
rule: { type: 'string' },
|
|
67073
|
+
success: { type: 'boolean' },
|
|
67074
|
+
},
|
|
67075
|
+
required: [
|
|
67076
|
+
'success',
|
|
67077
|
+
'rule',
|
|
67078
|
+
'actions',
|
|
67079
|
+
'created_at',
|
|
67080
|
+
],
|
|
67081
|
+
type: 'object',
|
|
67082
|
+
},
|
|
66906
67083
|
name: { nullable: true, type: 'string' },
|
|
66907
67084
|
pending_mutations: {
|
|
66908
67085
|
items: {
|
|
@@ -66975,6 +67152,7 @@ export default {
|
|
|
66975
67152
|
'pending_mutations',
|
|
66976
67153
|
'access_methods',
|
|
66977
67154
|
'spaces',
|
|
67155
|
+
'last_automation_result',
|
|
66978
67156
|
],
|
|
66979
67157
|
type: 'object',
|
|
66980
67158
|
},
|
|
@@ -67966,6 +68144,51 @@ export default {
|
|
|
67966
68144
|
},
|
|
67967
68145
|
guest_name: { nullable: true, type: 'string' },
|
|
67968
68146
|
has_issued_access: { type: 'boolean' },
|
|
68147
|
+
last_automation_result: {
|
|
68148
|
+
nullable: true,
|
|
68149
|
+
properties: {
|
|
68150
|
+
actions: {
|
|
68151
|
+
items: {
|
|
68152
|
+
properties: {
|
|
68153
|
+
access_grant_id: {
|
|
68154
|
+
format: 'uuid',
|
|
68155
|
+
type: 'string',
|
|
68156
|
+
},
|
|
68157
|
+
action_type: {
|
|
68158
|
+
enum: [
|
|
68159
|
+
'create',
|
|
68160
|
+
'update',
|
|
68161
|
+
'delete',
|
|
68162
|
+
'skip',
|
|
68163
|
+
],
|
|
68164
|
+
type: 'string',
|
|
68165
|
+
},
|
|
68166
|
+
message: { type: 'string' },
|
|
68167
|
+
resource_type: { type: 'string' },
|
|
68168
|
+
skip_reason: { type: 'string' },
|
|
68169
|
+
},
|
|
68170
|
+
required: ['action_type', 'resource_type'],
|
|
68171
|
+
type: 'object',
|
|
68172
|
+
},
|
|
68173
|
+
type: 'array',
|
|
68174
|
+
},
|
|
68175
|
+
created_at: {
|
|
68176
|
+
format: 'date-time',
|
|
68177
|
+
type: 'string',
|
|
68178
|
+
},
|
|
68179
|
+
error: { type: 'string' },
|
|
68180
|
+
message: { type: 'string' },
|
|
68181
|
+
rule: { type: 'string' },
|
|
68182
|
+
success: { type: 'boolean' },
|
|
68183
|
+
},
|
|
68184
|
+
required: [
|
|
68185
|
+
'success',
|
|
68186
|
+
'rule',
|
|
68187
|
+
'actions',
|
|
68188
|
+
'created_at',
|
|
68189
|
+
],
|
|
68190
|
+
type: 'object',
|
|
68191
|
+
},
|
|
67969
68192
|
name: { nullable: true, type: 'string' },
|
|
67970
68193
|
reservation_id: { format: 'uuid', type: 'string' },
|
|
67971
68194
|
reservation_key: { type: 'string' },
|
|
@@ -67985,6 +68208,7 @@ export default {
|
|
|
67985
68208
|
'guest_name',
|
|
67986
68209
|
'has_issued_access',
|
|
67987
68210
|
'access_methods',
|
|
68211
|
+
'last_automation_result',
|
|
67988
68212
|
],
|
|
67989
68213
|
type: 'object',
|
|
67990
68214
|
},
|
|
@@ -68061,6 +68285,51 @@ export default {
|
|
|
68061
68285
|
},
|
|
68062
68286
|
guest_name: { nullable: true, type: 'string' },
|
|
68063
68287
|
has_issued_access: { type: 'boolean' },
|
|
68288
|
+
last_automation_result: {
|
|
68289
|
+
nullable: true,
|
|
68290
|
+
properties: {
|
|
68291
|
+
actions: {
|
|
68292
|
+
items: {
|
|
68293
|
+
properties: {
|
|
68294
|
+
access_grant_id: {
|
|
68295
|
+
format: 'uuid',
|
|
68296
|
+
type: 'string',
|
|
68297
|
+
},
|
|
68298
|
+
action_type: {
|
|
68299
|
+
enum: [
|
|
68300
|
+
'create',
|
|
68301
|
+
'update',
|
|
68302
|
+
'delete',
|
|
68303
|
+
'skip',
|
|
68304
|
+
],
|
|
68305
|
+
type: 'string',
|
|
68306
|
+
},
|
|
68307
|
+
message: { type: 'string' },
|
|
68308
|
+
resource_type: { type: 'string' },
|
|
68309
|
+
skip_reason: { type: 'string' },
|
|
68310
|
+
},
|
|
68311
|
+
required: ['action_type', 'resource_type'],
|
|
68312
|
+
type: 'object',
|
|
68313
|
+
},
|
|
68314
|
+
type: 'array',
|
|
68315
|
+
},
|
|
68316
|
+
created_at: {
|
|
68317
|
+
format: 'date-time',
|
|
68318
|
+
type: 'string',
|
|
68319
|
+
},
|
|
68320
|
+
error: { type: 'string' },
|
|
68321
|
+
message: { type: 'string' },
|
|
68322
|
+
rule: { type: 'string' },
|
|
68323
|
+
success: { type: 'boolean' },
|
|
68324
|
+
},
|
|
68325
|
+
required: [
|
|
68326
|
+
'success',
|
|
68327
|
+
'rule',
|
|
68328
|
+
'actions',
|
|
68329
|
+
'created_at',
|
|
68330
|
+
],
|
|
68331
|
+
type: 'object',
|
|
68332
|
+
},
|
|
68064
68333
|
name: { nullable: true, type: 'string' },
|
|
68065
68334
|
reservation_id: { format: 'uuid', type: 'string' },
|
|
68066
68335
|
reservation_key: { type: 'string' },
|
|
@@ -68080,6 +68349,7 @@ export default {
|
|
|
68080
68349
|
'guest_name',
|
|
68081
68350
|
'has_issued_access',
|
|
68082
68351
|
'access_methods',
|
|
68352
|
+
'last_automation_result',
|
|
68083
68353
|
],
|
|
68084
68354
|
type: 'object',
|
|
68085
68355
|
},
|
|
@@ -73485,6 +73485,20 @@ export type Routes = {
|
|
|
73485
73485
|
code?: (string | null) | undefined
|
|
73486
73486
|
instant_key_url?: string | undefined
|
|
73487
73487
|
}[]
|
|
73488
|
+
last_automation_result: {
|
|
73489
|
+
success: boolean
|
|
73490
|
+
rule: string
|
|
73491
|
+
actions: {
|
|
73492
|
+
action_type: 'create' | 'update' | 'delete' | 'skip'
|
|
73493
|
+
resource_type: string
|
|
73494
|
+
access_grant_id?: string | undefined
|
|
73495
|
+
skip_reason?: string | undefined
|
|
73496
|
+
message?: string | undefined
|
|
73497
|
+
}[]
|
|
73498
|
+
error?: string | undefined
|
|
73499
|
+
message?: string | undefined
|
|
73500
|
+
created_at: string
|
|
73501
|
+
} | null
|
|
73488
73502
|
}
|
|
73489
73503
|
}
|
|
73490
73504
|
maxDuration: undefined
|
|
@@ -73551,6 +73565,20 @@ export type Routes = {
|
|
|
73551
73565
|
space_key: string
|
|
73552
73566
|
name: string | null
|
|
73553
73567
|
}[]
|
|
73568
|
+
last_automation_result: {
|
|
73569
|
+
success: boolean
|
|
73570
|
+
rule: string
|
|
73571
|
+
actions: {
|
|
73572
|
+
action_type: 'create' | 'update' | 'delete' | 'skip'
|
|
73573
|
+
resource_type: string
|
|
73574
|
+
access_grant_id?: string | undefined
|
|
73575
|
+
skip_reason?: string | undefined
|
|
73576
|
+
message?: string | undefined
|
|
73577
|
+
}[]
|
|
73578
|
+
error?: string | undefined
|
|
73579
|
+
message?: string | undefined
|
|
73580
|
+
created_at: string
|
|
73581
|
+
} | null
|
|
73554
73582
|
}[]
|
|
73555
73583
|
/** Information about the current page of results. */
|
|
73556
73584
|
pagination: {
|
|
@@ -73801,6 +73829,20 @@ export type Routes = {
|
|
|
73801
73829
|
mode: string
|
|
73802
73830
|
is_issued: boolean
|
|
73803
73831
|
}[]
|
|
73832
|
+
last_automation_result: {
|
|
73833
|
+
success: boolean
|
|
73834
|
+
rule: string
|
|
73835
|
+
actions: {
|
|
73836
|
+
action_type: 'create' | 'update' | 'delete' | 'skip'
|
|
73837
|
+
resource_type: string
|
|
73838
|
+
access_grant_id?: string | undefined
|
|
73839
|
+
skip_reason?: string | undefined
|
|
73840
|
+
message?: string | undefined
|
|
73841
|
+
}[]
|
|
73842
|
+
error?: string | undefined
|
|
73843
|
+
message?: string | undefined
|
|
73844
|
+
created_at: string
|
|
73845
|
+
} | null
|
|
73804
73846
|
}[]
|
|
73805
73847
|
}
|
|
73806
73848
|
maxDuration: undefined
|