@seamapi/types 1.517.0 → 1.519.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 +62 -13
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +63 -27
- package/dist/index.cjs +62 -13
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/openapi.d.ts +52 -23
- package/lib/seam/connect/openapi.js +62 -13
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +11 -4
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +67 -14
- package/src/lib/seam/connect/route-types.ts +11 -4
package/dist/connect.d.cts
CHANGED
|
@@ -67906,8 +67906,8 @@ declare const _default: {
|
|
|
67906
67906
|
name: string;
|
|
67907
67907
|
schema: {
|
|
67908
67908
|
description: string;
|
|
67909
|
-
format: string;
|
|
67910
67909
|
type: string;
|
|
67910
|
+
format?: never;
|
|
67911
67911
|
deprecated?: never;
|
|
67912
67912
|
'x-deprecated'?: never;
|
|
67913
67913
|
};
|
|
@@ -67915,21 +67915,21 @@ declare const _default: {
|
|
|
67915
67915
|
in: string;
|
|
67916
67916
|
name: string;
|
|
67917
67917
|
schema: {
|
|
67918
|
-
|
|
67918
|
+
description: string;
|
|
67919
67919
|
format: string;
|
|
67920
67920
|
type: string;
|
|
67921
|
-
|
|
67922
|
-
|
|
67921
|
+
deprecated?: never;
|
|
67922
|
+
'x-deprecated'?: never;
|
|
67923
67923
|
};
|
|
67924
67924
|
} | {
|
|
67925
67925
|
in: string;
|
|
67926
67926
|
name: string;
|
|
67927
67927
|
schema: {
|
|
67928
|
-
|
|
67928
|
+
deprecated: boolean;
|
|
67929
|
+
format: string;
|
|
67929
67930
|
type: string;
|
|
67930
|
-
|
|
67931
|
-
|
|
67932
|
-
'x-deprecated'?: never;
|
|
67931
|
+
'x-deprecated': string;
|
|
67932
|
+
description?: never;
|
|
67933
67933
|
};
|
|
67934
67934
|
})[];
|
|
67935
67935
|
responses: {
|
|
@@ -68014,6 +68014,10 @@ declare const _default: {
|
|
|
68014
68014
|
format: string;
|
|
68015
68015
|
type: string;
|
|
68016
68016
|
};
|
|
68017
|
+
customer_key: {
|
|
68018
|
+
description: string;
|
|
68019
|
+
type: string;
|
|
68020
|
+
};
|
|
68017
68021
|
location_id: {
|
|
68018
68022
|
deprecated: boolean;
|
|
68019
68023
|
format: string;
|
|
@@ -83510,8 +83514,8 @@ declare const _default: {
|
|
|
83510
83514
|
name: string;
|
|
83511
83515
|
schema: {
|
|
83512
83516
|
description: string;
|
|
83513
|
-
format: string;
|
|
83514
83517
|
type: string;
|
|
83518
|
+
format?: never;
|
|
83515
83519
|
items?: never;
|
|
83516
83520
|
maxItems?: never;
|
|
83517
83521
|
minItems?: never;
|
|
@@ -83523,8 +83527,8 @@ declare const _default: {
|
|
|
83523
83527
|
name: string;
|
|
83524
83528
|
schema: {
|
|
83525
83529
|
description: string;
|
|
83530
|
+
format: string;
|
|
83526
83531
|
type: string;
|
|
83527
|
-
format?: never;
|
|
83528
83532
|
items?: never;
|
|
83529
83533
|
maxItems?: never;
|
|
83530
83534
|
minItems?: never;
|
|
@@ -83746,12 +83750,8 @@ declare const _default: {
|
|
|
83746
83750
|
format: string;
|
|
83747
83751
|
type: string;
|
|
83748
83752
|
};
|
|
83749
|
-
|
|
83753
|
+
customer_key: {
|
|
83750
83754
|
description: string;
|
|
83751
|
-
items: {
|
|
83752
|
-
format: string;
|
|
83753
|
-
type: string;
|
|
83754
|
-
};
|
|
83755
83755
|
type: string;
|
|
83756
83756
|
};
|
|
83757
83757
|
device_id: {
|
|
@@ -88440,6 +88440,7 @@ declare const _default: {
|
|
|
88440
88440
|
};
|
|
88441
88441
|
partner_resource_id: {
|
|
88442
88442
|
format: string;
|
|
88443
|
+
nullable: boolean;
|
|
88443
88444
|
type: string;
|
|
88444
88445
|
};
|
|
88445
88446
|
workspace_id: {
|
|
@@ -88603,6 +88604,7 @@ declare const _default: {
|
|
|
88603
88604
|
};
|
|
88604
88605
|
partner_resource_id: {
|
|
88605
88606
|
format: string;
|
|
88607
|
+
nullable: boolean;
|
|
88606
88608
|
type: string;
|
|
88607
88609
|
};
|
|
88608
88610
|
workspace_id: {
|
|
@@ -91362,8 +91364,8 @@ declare const _default: {
|
|
|
91362
91364
|
name: string;
|
|
91363
91365
|
schema: {
|
|
91364
91366
|
description: string;
|
|
91365
|
-
minLength: number;
|
|
91366
91367
|
type: string;
|
|
91368
|
+
minLength?: never;
|
|
91367
91369
|
format?: never;
|
|
91368
91370
|
'x-draft'?: never;
|
|
91369
91371
|
'x-undocumented'?: never;
|
|
@@ -91373,22 +91375,22 @@ declare const _default: {
|
|
|
91373
91375
|
name: string;
|
|
91374
91376
|
schema: {
|
|
91375
91377
|
description: string;
|
|
91376
|
-
|
|
91378
|
+
minLength: number;
|
|
91377
91379
|
type: string;
|
|
91378
|
-
|
|
91379
|
-
'x-
|
|
91380
|
-
|
|
91380
|
+
format?: never;
|
|
91381
|
+
'x-draft'?: never;
|
|
91382
|
+
'x-undocumented'?: never;
|
|
91381
91383
|
};
|
|
91382
91384
|
} | {
|
|
91383
91385
|
in: string;
|
|
91384
91386
|
name: string;
|
|
91385
91387
|
schema: {
|
|
91386
91388
|
description: string;
|
|
91389
|
+
format: string;
|
|
91387
91390
|
type: string;
|
|
91391
|
+
'x-draft': string;
|
|
91392
|
+
'x-undocumented': string;
|
|
91388
91393
|
minLength?: never;
|
|
91389
|
-
format?: never;
|
|
91390
|
-
'x-draft'?: never;
|
|
91391
|
-
'x-undocumented'?: never;
|
|
91392
91394
|
};
|
|
91393
91395
|
})[];
|
|
91394
91396
|
responses: {
|
|
@@ -91466,6 +91468,10 @@ declare const _default: {
|
|
|
91466
91468
|
'x-draft': string;
|
|
91467
91469
|
'x-undocumented': string;
|
|
91468
91470
|
};
|
|
91471
|
+
customer_key: {
|
|
91472
|
+
description: string;
|
|
91473
|
+
type: string;
|
|
91474
|
+
};
|
|
91469
91475
|
search: {
|
|
91470
91476
|
description: string;
|
|
91471
91477
|
minLength: number;
|
|
@@ -99472,6 +99478,14 @@ declare const _default: {
|
|
|
99472
99478
|
get: {
|
|
99473
99479
|
description: string;
|
|
99474
99480
|
operationId: string;
|
|
99481
|
+
parameters: {
|
|
99482
|
+
in: string;
|
|
99483
|
+
name: string;
|
|
99484
|
+
schema: {
|
|
99485
|
+
description: string;
|
|
99486
|
+
type: string;
|
|
99487
|
+
};
|
|
99488
|
+
}[];
|
|
99475
99489
|
responses: {
|
|
99476
99490
|
200: {
|
|
99477
99491
|
content: {
|
|
@@ -99535,6 +99549,21 @@ declare const _default: {
|
|
|
99535
99549
|
post: {
|
|
99536
99550
|
description: string;
|
|
99537
99551
|
operationId: string;
|
|
99552
|
+
requestBody: {
|
|
99553
|
+
content: {
|
|
99554
|
+
'application/json': {
|
|
99555
|
+
schema: {
|
|
99556
|
+
properties: {
|
|
99557
|
+
customer_key: {
|
|
99558
|
+
description: string;
|
|
99559
|
+
type: string;
|
|
99560
|
+
};
|
|
99561
|
+
};
|
|
99562
|
+
type: string;
|
|
99563
|
+
};
|
|
99564
|
+
};
|
|
99565
|
+
};
|
|
99566
|
+
};
|
|
99538
99567
|
responses: {
|
|
99539
99568
|
200: {
|
|
99540
99569
|
content: {
|
|
@@ -112619,6 +112648,8 @@ type Routes = {
|
|
|
112619
112648
|
queryParams: {};
|
|
112620
112649
|
jsonBody: {};
|
|
112621
112650
|
commonParams: {
|
|
112651
|
+
/** Customer key for which you want to list access grants. */
|
|
112652
|
+
customer_key?: string | undefined;
|
|
112622
112653
|
/** ID of user identity by which you want to filter the list of Access Grants. */
|
|
112623
112654
|
user_identity_id?: string | undefined;
|
|
112624
112655
|
/** ID of the access system by which you want to filter the list of Access Grants. */
|
|
@@ -137619,6 +137650,8 @@ type Routes = {
|
|
|
137619
137650
|
queryParams: {};
|
|
137620
137651
|
jsonBody: {};
|
|
137621
137652
|
commonParams: {
|
|
137653
|
+
/** Customer key for which you want to list events. */
|
|
137654
|
+
customer_key?: string | undefined;
|
|
137622
137655
|
/** Offset for the events that you want to list. */
|
|
137623
137656
|
unstable_offset?: number | undefined;
|
|
137624
137657
|
/** Timestamp to indicate the beginning generation time for the events that you want to list. You must include `since` or `between`. */
|
|
@@ -137649,8 +137682,6 @@ type Routes = {
|
|
|
137649
137682
|
limit?: number;
|
|
137650
137683
|
/** IDs of the events that you want to list. */
|
|
137651
137684
|
event_ids?: string[] | undefined;
|
|
137652
|
-
/** IDs of the customers for which you want to list events. */
|
|
137653
|
-
customer_ids?: string[] | undefined;
|
|
137654
137685
|
};
|
|
137655
137686
|
formData: {};
|
|
137656
137687
|
jsonResponse: {
|
|
@@ -156333,7 +156364,7 @@ type Routes = {
|
|
|
156333
156364
|
automation_run_id: string;
|
|
156334
156365
|
workspace_id: string;
|
|
156335
156366
|
automation_id: string;
|
|
156336
|
-
partner_resource_id: string;
|
|
156367
|
+
partner_resource_id: string | null;
|
|
156337
156368
|
automation_result?: {
|
|
156338
156369
|
success: boolean;
|
|
156339
156370
|
rule: 'reservation_created' | 'reservation_time_updated' | 'reservation_deleted';
|
|
@@ -160560,6 +160591,8 @@ type Routes = {
|
|
|
160560
160591
|
queryParams: {};
|
|
160561
160592
|
jsonBody: {};
|
|
160562
160593
|
commonParams: {
|
|
160594
|
+
/** Customer key for which you want to list spaces. */
|
|
160595
|
+
customer_key?: string | undefined;
|
|
160563
160596
|
/** String for which to search. Filters returned spaces to include all records that satisfy a partial match using `name`. */
|
|
160564
160597
|
search?: string | undefined;
|
|
160565
160598
|
/** Filter spaces to only include those that contain devices or access control systems belonging to the specified connected account. */
|
|
@@ -179567,7 +179600,10 @@ type Routes = {
|
|
|
179567
179600
|
method: 'POST' | 'GET';
|
|
179568
179601
|
queryParams: {};
|
|
179569
179602
|
jsonBody: {};
|
|
179570
|
-
commonParams: {
|
|
179603
|
+
commonParams: {
|
|
179604
|
+
/** Customer key for which you want to list customization profiles. */
|
|
179605
|
+
customer_key?: string | undefined;
|
|
179606
|
+
};
|
|
179571
179607
|
formData: {};
|
|
179572
179608
|
jsonResponse: {
|
|
179573
179609
|
customization_profiles: {
|
package/dist/index.cjs
CHANGED
|
@@ -31207,6 +31207,14 @@ var openapi_default = {
|
|
|
31207
31207
|
description: "Gets an Access Grant.",
|
|
31208
31208
|
operationId: "accessGrantsListGet",
|
|
31209
31209
|
parameters: [
|
|
31210
|
+
{
|
|
31211
|
+
in: "query",
|
|
31212
|
+
name: "customer_key",
|
|
31213
|
+
schema: {
|
|
31214
|
+
description: "Customer key for which you want to list access grants.",
|
|
31215
|
+
type: "string"
|
|
31216
|
+
}
|
|
31217
|
+
},
|
|
31210
31218
|
{
|
|
31211
31219
|
in: "query",
|
|
31212
31220
|
name: "user_identity_id",
|
|
@@ -31321,6 +31329,10 @@ var openapi_default = {
|
|
|
31321
31329
|
format: "uuid",
|
|
31322
31330
|
type: "string"
|
|
31323
31331
|
},
|
|
31332
|
+
customer_key: {
|
|
31333
|
+
description: "Customer key for which you want to list access grants.",
|
|
31334
|
+
type: "string"
|
|
31335
|
+
},
|
|
31324
31336
|
location_id: {
|
|
31325
31337
|
deprecated: true,
|
|
31326
31338
|
format: "uuid",
|
|
@@ -44638,6 +44650,14 @@ var openapi_default = {
|
|
|
44638
44650
|
description: "Returns a list of all events. This endpoint returns the same events that would be sent to a [webhook](https://docs.seam.co/latest/developer-tools/webhooks), but it enables you to filter or see events that already took place.",
|
|
44639
44651
|
operationId: "eventsListGet",
|
|
44640
44652
|
parameters: [
|
|
44653
|
+
{
|
|
44654
|
+
in: "query",
|
|
44655
|
+
name: "customer_key",
|
|
44656
|
+
schema: {
|
|
44657
|
+
description: "Customer key for which you want to list events.",
|
|
44658
|
+
type: "string"
|
|
44659
|
+
}
|
|
44660
|
+
},
|
|
44641
44661
|
{
|
|
44642
44662
|
in: "query",
|
|
44643
44663
|
name: "unstable_offset",
|
|
@@ -44964,15 +44984,6 @@ var openapi_default = {
|
|
|
44964
44984
|
items: { format: "uuid", type: "string" },
|
|
44965
44985
|
type: "array"
|
|
44966
44986
|
}
|
|
44967
|
-
},
|
|
44968
|
-
{
|
|
44969
|
-
in: "query",
|
|
44970
|
-
name: "customer_ids",
|
|
44971
|
-
schema: {
|
|
44972
|
-
description: "IDs of the customers for which you want to list events.",
|
|
44973
|
-
items: { format: "uuid", type: "string" },
|
|
44974
|
-
type: "array"
|
|
44975
|
-
}
|
|
44976
44987
|
}
|
|
44977
44988
|
],
|
|
44978
44989
|
responses: {
|
|
@@ -45062,10 +45073,9 @@ var openapi_default = {
|
|
|
45062
45073
|
format: "uuid",
|
|
45063
45074
|
type: "string"
|
|
45064
45075
|
},
|
|
45065
|
-
|
|
45066
|
-
description: "
|
|
45067
|
-
|
|
45068
|
-
type: "array"
|
|
45076
|
+
customer_key: {
|
|
45077
|
+
description: "Customer key for which you want to list events.",
|
|
45078
|
+
type: "string"
|
|
45069
45079
|
},
|
|
45070
45080
|
device_id: {
|
|
45071
45081
|
description: "ID of the device for which you want to list events.",
|
|
@@ -49380,6 +49390,7 @@ var openapi_default = {
|
|
|
49380
49390
|
created_at: { type: "string" },
|
|
49381
49391
|
partner_resource_id: {
|
|
49382
49392
|
format: "uuid",
|
|
49393
|
+
nullable: true,
|
|
49383
49394
|
type: "string"
|
|
49384
49395
|
},
|
|
49385
49396
|
workspace_id: { format: "uuid", type: "string" }
|
|
@@ -49528,6 +49539,7 @@ var openapi_default = {
|
|
|
49528
49539
|
created_at: { type: "string" },
|
|
49529
49540
|
partner_resource_id: {
|
|
49530
49541
|
format: "uuid",
|
|
49542
|
+
nullable: true,
|
|
49531
49543
|
type: "string"
|
|
49532
49544
|
},
|
|
49533
49545
|
workspace_id: { format: "uuid", type: "string" }
|
|
@@ -52145,6 +52157,14 @@ var openapi_default = {
|
|
|
52145
52157
|
description: "Returns a list of all spaces.",
|
|
52146
52158
|
operationId: "spacesListGet",
|
|
52147
52159
|
parameters: [
|
|
52160
|
+
{
|
|
52161
|
+
in: "query",
|
|
52162
|
+
name: "customer_key",
|
|
52163
|
+
schema: {
|
|
52164
|
+
description: "Customer key for which you want to list spaces.",
|
|
52165
|
+
type: "string"
|
|
52166
|
+
}
|
|
52167
|
+
},
|
|
52148
52168
|
{
|
|
52149
52169
|
in: "query",
|
|
52150
52170
|
name: "search",
|
|
@@ -52226,6 +52246,10 @@ var openapi_default = {
|
|
|
52226
52246
|
"x-draft": "Needs review.",
|
|
52227
52247
|
"x-undocumented": "Only used internally."
|
|
52228
52248
|
},
|
|
52249
|
+
customer_key: {
|
|
52250
|
+
description: "Customer key for which you want to list spaces.",
|
|
52251
|
+
type: "string"
|
|
52252
|
+
},
|
|
52229
52253
|
search: {
|
|
52230
52254
|
description: "String for which to search. Filters returned spaces to include all records that satisfy a partial match using `name`.",
|
|
52231
52255
|
minLength: 1,
|
|
@@ -58578,6 +58602,16 @@ var openapi_default = {
|
|
|
58578
58602
|
get: {
|
|
58579
58603
|
description: "Retrieves the customization profile for the workspace.",
|
|
58580
58604
|
operationId: "workspacesCustomizationProfilesListGet",
|
|
58605
|
+
parameters: [
|
|
58606
|
+
{
|
|
58607
|
+
in: "query",
|
|
58608
|
+
name: "customer_key",
|
|
58609
|
+
schema: {
|
|
58610
|
+
description: "Customer key for which you want to list customization profiles.",
|
|
58611
|
+
type: "string"
|
|
58612
|
+
}
|
|
58613
|
+
}
|
|
58614
|
+
],
|
|
58581
58615
|
responses: {
|
|
58582
58616
|
200: {
|
|
58583
58617
|
content: {
|
|
@@ -58620,6 +58654,21 @@ var openapi_default = {
|
|
|
58620
58654
|
post: {
|
|
58621
58655
|
description: "Retrieves the customization profile for the workspace.",
|
|
58622
58656
|
operationId: "workspacesCustomizationProfilesListPost",
|
|
58657
|
+
requestBody: {
|
|
58658
|
+
content: {
|
|
58659
|
+
"application/json": {
|
|
58660
|
+
schema: {
|
|
58661
|
+
properties: {
|
|
58662
|
+
customer_key: {
|
|
58663
|
+
description: "Customer key for which you want to list customization profiles.",
|
|
58664
|
+
type: "string"
|
|
58665
|
+
}
|
|
58666
|
+
},
|
|
58667
|
+
type: "object"
|
|
58668
|
+
}
|
|
58669
|
+
}
|
|
58670
|
+
}
|
|
58671
|
+
},
|
|
58623
58672
|
responses: {
|
|
58624
58673
|
200: {
|
|
58625
58674
|
content: {
|