@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
package/dist/connect.d.cts
CHANGED
|
@@ -131867,6 +131867,7 @@ type Routes = {
|
|
|
131867
131867
|
code?: (string | null) | undefined;
|
|
131868
131868
|
instant_key_url?: string | undefined;
|
|
131869
131869
|
}[];
|
|
131870
|
+
connected_account_id: string | null;
|
|
131870
131871
|
last_automation_result: {
|
|
131871
131872
|
success: boolean;
|
|
131872
131873
|
rule: string;
|
|
@@ -131951,6 +131952,7 @@ type Routes = {
|
|
|
131951
131952
|
space_key: string;
|
|
131952
131953
|
name: string | null;
|
|
131953
131954
|
}[];
|
|
131955
|
+
connected_account_id: string | null;
|
|
131954
131956
|
last_automation_result: {
|
|
131955
131957
|
success: boolean;
|
|
131956
131958
|
rule: string;
|
|
@@ -132284,6 +132286,8 @@ type Routes = {
|
|
|
132284
132286
|
device_ids?: string[] | undefined;
|
|
132285
132287
|
/** IDs of the entrances that you want to add to the new space. */
|
|
132286
132288
|
acs_entrance_ids?: string[] | undefined;
|
|
132289
|
+
/** 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. */
|
|
132290
|
+
connected_account_ids?: string[] | undefined;
|
|
132287
132291
|
/** Space key of the parent space for this space. */
|
|
132288
132292
|
parent_space_key?: string | undefined;
|
|
132289
132293
|
/** Name of the parent space for this space. */
|
|
@@ -133363,6 +133367,7 @@ type Routes = {
|
|
|
133363
133367
|
needs_review?: boolean | undefined;
|
|
133364
133368
|
is_draft?: boolean | undefined;
|
|
133365
133369
|
is_common_area?: boolean | undefined;
|
|
133370
|
+
connected_account_ids: string[];
|
|
133366
133371
|
}[];
|
|
133367
133372
|
};
|
|
133368
133373
|
maxDuration: undefined;
|
|
@@ -133425,6 +133430,8 @@ type Routes = {
|
|
|
133425
133430
|
device_ids?: string[] | undefined;
|
|
133426
133431
|
/** IDs of the entrances that you want to add to the new space. */
|
|
133427
133432
|
acs_entrance_ids?: string[] | undefined;
|
|
133433
|
+
/** 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. */
|
|
133434
|
+
connected_account_ids?: string[] | undefined;
|
|
133428
133435
|
/** Customer key for which you want to create the space. */
|
|
133429
133436
|
customer_key?: string | undefined;
|
|
133430
133437
|
/** Reservation/stay-related defaults for the space. */
|
package/dist/index.cjs
CHANGED
|
@@ -71585,6 +71585,11 @@ var openapi = {
|
|
|
71585
71585
|
},
|
|
71586
71586
|
type: "array"
|
|
71587
71587
|
},
|
|
71588
|
+
connected_account_id: {
|
|
71589
|
+
format: "uuid",
|
|
71590
|
+
nullable: true,
|
|
71591
|
+
type: "string"
|
|
71592
|
+
},
|
|
71588
71593
|
created_at: { format: "date-time", type: "string" },
|
|
71589
71594
|
ends_at: {
|
|
71590
71595
|
format: "date-time",
|
|
@@ -71697,6 +71702,7 @@ var openapi = {
|
|
|
71697
71702
|
"spaces",
|
|
71698
71703
|
"access_grant_id",
|
|
71699
71704
|
"access_methods",
|
|
71705
|
+
"connected_account_id",
|
|
71700
71706
|
"last_automation_result"
|
|
71701
71707
|
],
|
|
71702
71708
|
type: "object"
|
|
@@ -71796,6 +71802,11 @@ var openapi = {
|
|
|
71796
71802
|
},
|
|
71797
71803
|
type: "array"
|
|
71798
71804
|
},
|
|
71805
|
+
connected_account_id: {
|
|
71806
|
+
format: "uuid",
|
|
71807
|
+
nullable: true,
|
|
71808
|
+
type: "string"
|
|
71809
|
+
},
|
|
71799
71810
|
created_at: { format: "date-time", type: "string" },
|
|
71800
71811
|
ends_at: {
|
|
71801
71812
|
format: "date-time",
|
|
@@ -71908,6 +71919,7 @@ var openapi = {
|
|
|
71908
71919
|
"spaces",
|
|
71909
71920
|
"access_grant_id",
|
|
71910
71921
|
"access_methods",
|
|
71922
|
+
"connected_account_id",
|
|
71911
71923
|
"last_automation_result"
|
|
71912
71924
|
],
|
|
71913
71925
|
type: "object"
|
|
@@ -72101,6 +72113,11 @@ var openapi = {
|
|
|
72101
72113
|
},
|
|
72102
72114
|
type: "array"
|
|
72103
72115
|
},
|
|
72116
|
+
connected_account_id: {
|
|
72117
|
+
format: "uuid",
|
|
72118
|
+
nullable: true,
|
|
72119
|
+
type: "string"
|
|
72120
|
+
},
|
|
72104
72121
|
created_at: { format: "date-time", type: "string" },
|
|
72105
72122
|
ends_at: {
|
|
72106
72123
|
format: "date-time",
|
|
@@ -72226,6 +72243,7 @@ var openapi = {
|
|
|
72226
72243
|
"pending_mutations",
|
|
72227
72244
|
"access_methods",
|
|
72228
72245
|
"spaces",
|
|
72246
|
+
"connected_account_id",
|
|
72229
72247
|
"last_automation_result"
|
|
72230
72248
|
],
|
|
72231
72249
|
type: "object"
|
|
@@ -72392,6 +72410,11 @@ var openapi = {
|
|
|
72392
72410
|
},
|
|
72393
72411
|
type: "array"
|
|
72394
72412
|
},
|
|
72413
|
+
connected_account_id: {
|
|
72414
|
+
format: "uuid",
|
|
72415
|
+
nullable: true,
|
|
72416
|
+
type: "string"
|
|
72417
|
+
},
|
|
72395
72418
|
created_at: { format: "date-time", type: "string" },
|
|
72396
72419
|
ends_at: {
|
|
72397
72420
|
format: "date-time",
|
|
@@ -72517,6 +72540,7 @@ var openapi = {
|
|
|
72517
72540
|
"pending_mutations",
|
|
72518
72541
|
"access_methods",
|
|
72519
72542
|
"spaces",
|
|
72543
|
+
"connected_account_id",
|
|
72520
72544
|
"last_automation_result"
|
|
72521
72545
|
],
|
|
72522
72546
|
type: "object"
|
|
@@ -73336,6 +73360,11 @@ var openapi = {
|
|
|
73336
73360
|
items: { format: "uuid", type: "string" },
|
|
73337
73361
|
type: "array"
|
|
73338
73362
|
},
|
|
73363
|
+
connected_account_ids: {
|
|
73364
|
+
description: "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.",
|
|
73365
|
+
items: { format: "uuid", type: "string" },
|
|
73366
|
+
type: "array"
|
|
73367
|
+
},
|
|
73339
73368
|
device_ids: {
|
|
73340
73369
|
description: "IDs of the devices that you want to add to the new space.",
|
|
73341
73370
|
items: { format: "uuid", type: "string" },
|
|
@@ -74886,6 +74915,10 @@ var openapi = {
|
|
|
74886
74915
|
},
|
|
74887
74916
|
type: "array"
|
|
74888
74917
|
},
|
|
74918
|
+
connected_account_ids: {
|
|
74919
|
+
items: { format: "uuid", type: "string" },
|
|
74920
|
+
type: "array"
|
|
74921
|
+
},
|
|
74889
74922
|
devices: {
|
|
74890
74923
|
items: {
|
|
74891
74924
|
properties: {
|
|
@@ -74918,7 +74951,8 @@ var openapi = {
|
|
|
74918
74951
|
"name",
|
|
74919
74952
|
"partner_resource_key",
|
|
74920
74953
|
"devices",
|
|
74921
|
-
"acs_entrances"
|
|
74954
|
+
"acs_entrances",
|
|
74955
|
+
"connected_account_ids"
|
|
74922
74956
|
],
|
|
74923
74957
|
type: "object"
|
|
74924
74958
|
},
|
|
@@ -75014,6 +75048,10 @@ var openapi = {
|
|
|
75014
75048
|
},
|
|
75015
75049
|
type: "array"
|
|
75016
75050
|
},
|
|
75051
|
+
connected_account_ids: {
|
|
75052
|
+
items: { format: "uuid", type: "string" },
|
|
75053
|
+
type: "array"
|
|
75054
|
+
},
|
|
75017
75055
|
devices: {
|
|
75018
75056
|
items: {
|
|
75019
75057
|
properties: {
|
|
@@ -75046,7 +75084,8 @@ var openapi = {
|
|
|
75046
75084
|
"name",
|
|
75047
75085
|
"partner_resource_key",
|
|
75048
75086
|
"devices",
|
|
75049
|
-
"acs_entrances"
|
|
75087
|
+
"acs_entrances",
|
|
75088
|
+
"connected_account_ids"
|
|
75050
75089
|
],
|
|
75051
75090
|
type: "object"
|
|
75052
75091
|
},
|
|
@@ -75432,6 +75471,11 @@ var openapi = {
|
|
|
75432
75471
|
items: { format: "uuid", type: "string" },
|
|
75433
75472
|
type: "array"
|
|
75434
75473
|
},
|
|
75474
|
+
connected_account_ids: {
|
|
75475
|
+
description: "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.",
|
|
75476
|
+
items: { format: "uuid", type: "string" },
|
|
75477
|
+
type: "array"
|
|
75478
|
+
},
|
|
75435
75479
|
customer_data: {
|
|
75436
75480
|
description: "Reservation/stay-related defaults for the space.",
|
|
75437
75481
|
properties: {
|