@seamapi/types 1.838.0 → 1.840.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 +46 -2
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +7 -0
- package/dist/index.cjs +46 -2
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/openapi.js +44 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +7 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +46 -0
- package/src/lib/seam/connect/route-types.ts +7 -0
|
@@ -67595,6 +67595,7 @@ export type Routes = {
|
|
|
67595
67595
|
code?: (string | null) | undefined;
|
|
67596
67596
|
instant_key_url?: string | undefined;
|
|
67597
67597
|
}[];
|
|
67598
|
+
connected_account_id: string | null;
|
|
67598
67599
|
last_automation_result: {
|
|
67599
67600
|
success: boolean;
|
|
67600
67601
|
rule: string;
|
|
@@ -67679,6 +67680,7 @@ export type Routes = {
|
|
|
67679
67680
|
space_key: string;
|
|
67680
67681
|
name: string | null;
|
|
67681
67682
|
}[];
|
|
67683
|
+
connected_account_id: string | null;
|
|
67682
67684
|
last_automation_result: {
|
|
67683
67685
|
success: boolean;
|
|
67684
67686
|
rule: string;
|
|
@@ -68012,6 +68014,8 @@ export type Routes = {
|
|
|
68012
68014
|
device_ids?: string[] | undefined;
|
|
68013
68015
|
/** IDs of the entrances that you want to add to the new space. */
|
|
68014
68016
|
acs_entrance_ids?: string[] | undefined;
|
|
68017
|
+
/** IDs of connected accounts (third-party accounts) to associate with the new space. Persisted on seam.location_third_party_account so the UI can show which provider account a space came from. */
|
|
68018
|
+
connected_account_ids?: string[] | undefined;
|
|
68015
68019
|
/** Space key of the parent space for this space. */
|
|
68016
68020
|
parent_space_key?: string | undefined;
|
|
68017
68021
|
/** Name of the parent space for this space. */
|
|
@@ -69091,6 +69095,7 @@ export type Routes = {
|
|
|
69091
69095
|
needs_review?: boolean | undefined;
|
|
69092
69096
|
is_draft?: boolean | undefined;
|
|
69093
69097
|
is_common_area?: boolean | undefined;
|
|
69098
|
+
connected_account_ids: string[];
|
|
69094
69099
|
}[];
|
|
69095
69100
|
};
|
|
69096
69101
|
maxDuration: undefined;
|
|
@@ -69153,6 +69158,8 @@ export type Routes = {
|
|
|
69153
69158
|
device_ids?: string[] | undefined;
|
|
69154
69159
|
/** IDs of the entrances that you want to add to the new space. */
|
|
69155
69160
|
acs_entrance_ids?: string[] | undefined;
|
|
69161
|
+
/** IDs of connected accounts to associate with the new space. Persisted on seam.location_third_party_account so the UI can show which provider account(s) a space came from. */
|
|
69162
|
+
connected_account_ids?: string[] | undefined;
|
|
69156
69163
|
/** Customer key for which you want to create the space. */
|
|
69157
69164
|
customer_key?: string | undefined;
|
|
69158
69165
|
/** Reservation/stay-related defaults for the space. */
|
package/package.json
CHANGED
|
@@ -70209,6 +70209,11 @@ const openapi: OpenAPISpec = {
|
|
|
70209
70209
|
},
|
|
70210
70210
|
type: 'array',
|
|
70211
70211
|
},
|
|
70212
|
+
connected_account_id: {
|
|
70213
|
+
format: 'uuid',
|
|
70214
|
+
nullable: true,
|
|
70215
|
+
type: 'string',
|
|
70216
|
+
},
|
|
70212
70217
|
created_at: { format: 'date-time', type: 'string' },
|
|
70213
70218
|
ends_at: {
|
|
70214
70219
|
format: 'date-time',
|
|
@@ -70321,6 +70326,7 @@ const openapi: OpenAPISpec = {
|
|
|
70321
70326
|
'spaces',
|
|
70322
70327
|
'access_grant_id',
|
|
70323
70328
|
'access_methods',
|
|
70329
|
+
'connected_account_id',
|
|
70324
70330
|
'last_automation_result',
|
|
70325
70331
|
],
|
|
70326
70332
|
type: 'object',
|
|
@@ -70422,6 +70428,11 @@ const openapi: OpenAPISpec = {
|
|
|
70422
70428
|
},
|
|
70423
70429
|
type: 'array',
|
|
70424
70430
|
},
|
|
70431
|
+
connected_account_id: {
|
|
70432
|
+
format: 'uuid',
|
|
70433
|
+
nullable: true,
|
|
70434
|
+
type: 'string',
|
|
70435
|
+
},
|
|
70425
70436
|
created_at: { format: 'date-time', type: 'string' },
|
|
70426
70437
|
ends_at: {
|
|
70427
70438
|
format: 'date-time',
|
|
@@ -70534,6 +70545,7 @@ const openapi: OpenAPISpec = {
|
|
|
70534
70545
|
'spaces',
|
|
70535
70546
|
'access_grant_id',
|
|
70536
70547
|
'access_methods',
|
|
70548
|
+
'connected_account_id',
|
|
70537
70549
|
'last_automation_result',
|
|
70538
70550
|
],
|
|
70539
70551
|
type: 'object',
|
|
@@ -70734,6 +70746,11 @@ const openapi: OpenAPISpec = {
|
|
|
70734
70746
|
},
|
|
70735
70747
|
type: 'array',
|
|
70736
70748
|
},
|
|
70749
|
+
connected_account_id: {
|
|
70750
|
+
format: 'uuid',
|
|
70751
|
+
nullable: true,
|
|
70752
|
+
type: 'string',
|
|
70753
|
+
},
|
|
70737
70754
|
created_at: { format: 'date-time', type: 'string' },
|
|
70738
70755
|
ends_at: {
|
|
70739
70756
|
format: 'date-time',
|
|
@@ -70859,6 +70876,7 @@ const openapi: OpenAPISpec = {
|
|
|
70859
70876
|
'pending_mutations',
|
|
70860
70877
|
'access_methods',
|
|
70861
70878
|
'spaces',
|
|
70879
|
+
'connected_account_id',
|
|
70862
70880
|
'last_automation_result',
|
|
70863
70881
|
],
|
|
70864
70882
|
type: 'object',
|
|
@@ -71033,6 +71051,11 @@ const openapi: OpenAPISpec = {
|
|
|
71033
71051
|
},
|
|
71034
71052
|
type: 'array',
|
|
71035
71053
|
},
|
|
71054
|
+
connected_account_id: {
|
|
71055
|
+
format: 'uuid',
|
|
71056
|
+
nullable: true,
|
|
71057
|
+
type: 'string',
|
|
71058
|
+
},
|
|
71036
71059
|
created_at: { format: 'date-time', type: 'string' },
|
|
71037
71060
|
ends_at: {
|
|
71038
71061
|
format: 'date-time',
|
|
@@ -71158,6 +71181,7 @@ const openapi: OpenAPISpec = {
|
|
|
71158
71181
|
'pending_mutations',
|
|
71159
71182
|
'access_methods',
|
|
71160
71183
|
'spaces',
|
|
71184
|
+
'connected_account_id',
|
|
71161
71185
|
'last_automation_result',
|
|
71162
71186
|
],
|
|
71163
71187
|
type: 'object',
|
|
@@ -72025,6 +72049,12 @@ const openapi: OpenAPISpec = {
|
|
|
72025
72049
|
items: { format: 'uuid', type: 'string' },
|
|
72026
72050
|
type: 'array',
|
|
72027
72051
|
},
|
|
72052
|
+
connected_account_ids: {
|
|
72053
|
+
description:
|
|
72054
|
+
'IDs of connected accounts (third-party accounts) to associate with the new space. Persisted on seam.location_third_party_account so the UI can show which provider account a space came from.',
|
|
72055
|
+
items: { format: 'uuid', type: 'string' },
|
|
72056
|
+
type: 'array',
|
|
72057
|
+
},
|
|
72028
72058
|
device_ids: {
|
|
72029
72059
|
description:
|
|
72030
72060
|
'IDs of the devices that you want to add to the new space.',
|
|
@@ -73631,6 +73661,10 @@ const openapi: OpenAPISpec = {
|
|
|
73631
73661
|
},
|
|
73632
73662
|
type: 'array',
|
|
73633
73663
|
},
|
|
73664
|
+
connected_account_ids: {
|
|
73665
|
+
items: { format: 'uuid', type: 'string' },
|
|
73666
|
+
type: 'array',
|
|
73667
|
+
},
|
|
73634
73668
|
devices: {
|
|
73635
73669
|
items: {
|
|
73636
73670
|
properties: {
|
|
@@ -73664,6 +73698,7 @@ const openapi: OpenAPISpec = {
|
|
|
73664
73698
|
'partner_resource_key',
|
|
73665
73699
|
'devices',
|
|
73666
73700
|
'acs_entrances',
|
|
73701
|
+
'connected_account_ids',
|
|
73667
73702
|
],
|
|
73668
73703
|
type: 'object',
|
|
73669
73704
|
},
|
|
@@ -73761,6 +73796,10 @@ const openapi: OpenAPISpec = {
|
|
|
73761
73796
|
},
|
|
73762
73797
|
type: 'array',
|
|
73763
73798
|
},
|
|
73799
|
+
connected_account_ids: {
|
|
73800
|
+
items: { format: 'uuid', type: 'string' },
|
|
73801
|
+
type: 'array',
|
|
73802
|
+
},
|
|
73764
73803
|
devices: {
|
|
73765
73804
|
items: {
|
|
73766
73805
|
properties: {
|
|
@@ -73794,6 +73833,7 @@ const openapi: OpenAPISpec = {
|
|
|
73794
73833
|
'partner_resource_key',
|
|
73795
73834
|
'devices',
|
|
73796
73835
|
'acs_entrances',
|
|
73836
|
+
'connected_account_ids',
|
|
73797
73837
|
],
|
|
73798
73838
|
type: 'object',
|
|
73799
73839
|
},
|
|
@@ -74196,6 +74236,12 @@ const openapi: OpenAPISpec = {
|
|
|
74196
74236
|
items: { format: 'uuid', type: 'string' },
|
|
74197
74237
|
type: 'array',
|
|
74198
74238
|
},
|
|
74239
|
+
connected_account_ids: {
|
|
74240
|
+
description:
|
|
74241
|
+
'IDs of connected accounts to associate with the new space. Persisted on seam.location_third_party_account so the UI can show which provider account(s) a space came from.',
|
|
74242
|
+
items: { format: 'uuid', type: 'string' },
|
|
74243
|
+
type: 'array',
|
|
74244
|
+
},
|
|
74199
74245
|
customer_data: {
|
|
74200
74246
|
description:
|
|
74201
74247
|
'Reservation/stay-related defaults for the space.',
|
|
@@ -80837,6 +80837,7 @@ export type Routes = {
|
|
|
80837
80837
|
code?: (string | null) | undefined
|
|
80838
80838
|
instant_key_url?: string | undefined
|
|
80839
80839
|
}[]
|
|
80840
|
+
connected_account_id: string | null
|
|
80840
80841
|
last_automation_result: {
|
|
80841
80842
|
success: boolean
|
|
80842
80843
|
rule: string
|
|
@@ -80921,6 +80922,7 @@ export type Routes = {
|
|
|
80921
80922
|
space_key: string
|
|
80922
80923
|
name: string | null
|
|
80923
80924
|
}[]
|
|
80925
|
+
connected_account_id: string | null
|
|
80924
80926
|
last_automation_result: {
|
|
80925
80927
|
success: boolean
|
|
80926
80928
|
rule: string
|
|
@@ -81295,6 +81297,8 @@ export type Routes = {
|
|
|
81295
81297
|
device_ids?: string[] | undefined
|
|
81296
81298
|
/** IDs of the entrances that you want to add to the new space. */
|
|
81297
81299
|
acs_entrance_ids?: string[] | undefined
|
|
81300
|
+
/** IDs of connected accounts (third-party accounts) to associate with the new space. Persisted on seam.location_third_party_account so the UI can show which provider account a space came from. */
|
|
81301
|
+
connected_account_ids?: string[] | undefined
|
|
81298
81302
|
/** Space key of the parent space for this space. */
|
|
81299
81303
|
parent_space_key?: string | undefined
|
|
81300
81304
|
/** Name of the parent space for this space. */
|
|
@@ -82497,6 +82501,7 @@ export type Routes = {
|
|
|
82497
82501
|
needs_review?: boolean | undefined
|
|
82498
82502
|
is_draft?: boolean | undefined
|
|
82499
82503
|
is_common_area?: boolean | undefined
|
|
82504
|
+
connected_account_ids: string[]
|
|
82500
82505
|
}[]
|
|
82501
82506
|
}
|
|
82502
82507
|
maxDuration: undefined
|
|
@@ -82559,6 +82564,8 @@ export type Routes = {
|
|
|
82559
82564
|
device_ids?: string[] | undefined
|
|
82560
82565
|
/** IDs of the entrances that you want to add to the new space. */
|
|
82561
82566
|
acs_entrance_ids?: string[] | undefined
|
|
82567
|
+
/** IDs of connected accounts to associate with the new space. Persisted on seam.location_third_party_account so the UI can show which provider account(s) a space came from. */
|
|
82568
|
+
connected_account_ids?: string[] | undefined
|
|
82562
82569
|
/** Customer key for which you want to create the space. */
|
|
82563
82570
|
customer_key?: string | undefined
|
|
82564
82571
|
/** Reservation/stay-related defaults for the space. */
|