@seamapi/types 1.517.0 → 1.518.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 +60 -13
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +60 -26
- package/dist/index.cjs +60 -13
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/openapi.d.ts +50 -23
- package/lib/seam/connect/openapi.js +60 -13
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +10 -3
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +65 -14
- package/src/lib/seam/connect/route-types.ts +10 -3
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: {
|
|
@@ -91362,8 +91362,8 @@ declare const _default: {
|
|
|
91362
91362
|
name: string;
|
|
91363
91363
|
schema: {
|
|
91364
91364
|
description: string;
|
|
91365
|
-
minLength: number;
|
|
91366
91365
|
type: string;
|
|
91366
|
+
minLength?: never;
|
|
91367
91367
|
format?: never;
|
|
91368
91368
|
'x-draft'?: never;
|
|
91369
91369
|
'x-undocumented'?: never;
|
|
@@ -91373,22 +91373,22 @@ declare const _default: {
|
|
|
91373
91373
|
name: string;
|
|
91374
91374
|
schema: {
|
|
91375
91375
|
description: string;
|
|
91376
|
-
|
|
91376
|
+
minLength: number;
|
|
91377
91377
|
type: string;
|
|
91378
|
-
|
|
91379
|
-
'x-
|
|
91380
|
-
|
|
91378
|
+
format?: never;
|
|
91379
|
+
'x-draft'?: never;
|
|
91380
|
+
'x-undocumented'?: never;
|
|
91381
91381
|
};
|
|
91382
91382
|
} | {
|
|
91383
91383
|
in: string;
|
|
91384
91384
|
name: string;
|
|
91385
91385
|
schema: {
|
|
91386
91386
|
description: string;
|
|
91387
|
+
format: string;
|
|
91387
91388
|
type: string;
|
|
91389
|
+
'x-draft': string;
|
|
91390
|
+
'x-undocumented': string;
|
|
91388
91391
|
minLength?: never;
|
|
91389
|
-
format?: never;
|
|
91390
|
-
'x-draft'?: never;
|
|
91391
|
-
'x-undocumented'?: never;
|
|
91392
91392
|
};
|
|
91393
91393
|
})[];
|
|
91394
91394
|
responses: {
|
|
@@ -91466,6 +91466,10 @@ declare const _default: {
|
|
|
91466
91466
|
'x-draft': string;
|
|
91467
91467
|
'x-undocumented': string;
|
|
91468
91468
|
};
|
|
91469
|
+
customer_key: {
|
|
91470
|
+
description: string;
|
|
91471
|
+
type: string;
|
|
91472
|
+
};
|
|
91469
91473
|
search: {
|
|
91470
91474
|
description: string;
|
|
91471
91475
|
minLength: number;
|
|
@@ -99472,6 +99476,14 @@ declare const _default: {
|
|
|
99472
99476
|
get: {
|
|
99473
99477
|
description: string;
|
|
99474
99478
|
operationId: string;
|
|
99479
|
+
parameters: {
|
|
99480
|
+
in: string;
|
|
99481
|
+
name: string;
|
|
99482
|
+
schema: {
|
|
99483
|
+
description: string;
|
|
99484
|
+
type: string;
|
|
99485
|
+
};
|
|
99486
|
+
}[];
|
|
99475
99487
|
responses: {
|
|
99476
99488
|
200: {
|
|
99477
99489
|
content: {
|
|
@@ -99535,6 +99547,21 @@ declare const _default: {
|
|
|
99535
99547
|
post: {
|
|
99536
99548
|
description: string;
|
|
99537
99549
|
operationId: string;
|
|
99550
|
+
requestBody: {
|
|
99551
|
+
content: {
|
|
99552
|
+
'application/json': {
|
|
99553
|
+
schema: {
|
|
99554
|
+
properties: {
|
|
99555
|
+
customer_key: {
|
|
99556
|
+
description: string;
|
|
99557
|
+
type: string;
|
|
99558
|
+
};
|
|
99559
|
+
};
|
|
99560
|
+
type: string;
|
|
99561
|
+
};
|
|
99562
|
+
};
|
|
99563
|
+
};
|
|
99564
|
+
};
|
|
99538
99565
|
responses: {
|
|
99539
99566
|
200: {
|
|
99540
99567
|
content: {
|
|
@@ -112619,6 +112646,8 @@ type Routes = {
|
|
|
112619
112646
|
queryParams: {};
|
|
112620
112647
|
jsonBody: {};
|
|
112621
112648
|
commonParams: {
|
|
112649
|
+
/** Customer key for which you want to list access grants. */
|
|
112650
|
+
customer_key?: string | undefined;
|
|
112622
112651
|
/** ID of user identity by which you want to filter the list of Access Grants. */
|
|
112623
112652
|
user_identity_id?: string | undefined;
|
|
112624
112653
|
/** ID of the access system by which you want to filter the list of Access Grants. */
|
|
@@ -137619,6 +137648,8 @@ type Routes = {
|
|
|
137619
137648
|
queryParams: {};
|
|
137620
137649
|
jsonBody: {};
|
|
137621
137650
|
commonParams: {
|
|
137651
|
+
/** Customer key for which you want to list events. */
|
|
137652
|
+
customer_key?: string | undefined;
|
|
137622
137653
|
/** Offset for the events that you want to list. */
|
|
137623
137654
|
unstable_offset?: number | undefined;
|
|
137624
137655
|
/** Timestamp to indicate the beginning generation time for the events that you want to list. You must include `since` or `between`. */
|
|
@@ -137649,8 +137680,6 @@ type Routes = {
|
|
|
137649
137680
|
limit?: number;
|
|
137650
137681
|
/** IDs of the events that you want to list. */
|
|
137651
137682
|
event_ids?: string[] | undefined;
|
|
137652
|
-
/** IDs of the customers for which you want to list events. */
|
|
137653
|
-
customer_ids?: string[] | undefined;
|
|
137654
137683
|
};
|
|
137655
137684
|
formData: {};
|
|
137656
137685
|
jsonResponse: {
|
|
@@ -160560,6 +160589,8 @@ type Routes = {
|
|
|
160560
160589
|
queryParams: {};
|
|
160561
160590
|
jsonBody: {};
|
|
160562
160591
|
commonParams: {
|
|
160592
|
+
/** Customer key for which you want to list spaces. */
|
|
160593
|
+
customer_key?: string | undefined;
|
|
160563
160594
|
/** String for which to search. Filters returned spaces to include all records that satisfy a partial match using `name`. */
|
|
160564
160595
|
search?: string | undefined;
|
|
160565
160596
|
/** Filter spaces to only include those that contain devices or access control systems belonging to the specified connected account. */
|
|
@@ -179567,7 +179598,10 @@ type Routes = {
|
|
|
179567
179598
|
method: 'POST' | 'GET';
|
|
179568
179599
|
queryParams: {};
|
|
179569
179600
|
jsonBody: {};
|
|
179570
|
-
commonParams: {
|
|
179601
|
+
commonParams: {
|
|
179602
|
+
/** Customer key for which you want to list customization profiles. */
|
|
179603
|
+
customer_key?: string | undefined;
|
|
179604
|
+
};
|
|
179571
179605
|
formData: {};
|
|
179572
179606
|
jsonResponse: {
|
|
179573
179607
|
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.",
|
|
@@ -52145,6 +52155,14 @@ var openapi_default = {
|
|
|
52145
52155
|
description: "Returns a list of all spaces.",
|
|
52146
52156
|
operationId: "spacesListGet",
|
|
52147
52157
|
parameters: [
|
|
52158
|
+
{
|
|
52159
|
+
in: "query",
|
|
52160
|
+
name: "customer_key",
|
|
52161
|
+
schema: {
|
|
52162
|
+
description: "Customer key for which you want to list spaces.",
|
|
52163
|
+
type: "string"
|
|
52164
|
+
}
|
|
52165
|
+
},
|
|
52148
52166
|
{
|
|
52149
52167
|
in: "query",
|
|
52150
52168
|
name: "search",
|
|
@@ -52226,6 +52244,10 @@ var openapi_default = {
|
|
|
52226
52244
|
"x-draft": "Needs review.",
|
|
52227
52245
|
"x-undocumented": "Only used internally."
|
|
52228
52246
|
},
|
|
52247
|
+
customer_key: {
|
|
52248
|
+
description: "Customer key for which you want to list spaces.",
|
|
52249
|
+
type: "string"
|
|
52250
|
+
},
|
|
52229
52251
|
search: {
|
|
52230
52252
|
description: "String for which to search. Filters returned spaces to include all records that satisfy a partial match using `name`.",
|
|
52231
52253
|
minLength: 1,
|
|
@@ -58578,6 +58600,16 @@ var openapi_default = {
|
|
|
58578
58600
|
get: {
|
|
58579
58601
|
description: "Retrieves the customization profile for the workspace.",
|
|
58580
58602
|
operationId: "workspacesCustomizationProfilesListGet",
|
|
58603
|
+
parameters: [
|
|
58604
|
+
{
|
|
58605
|
+
in: "query",
|
|
58606
|
+
name: "customer_key",
|
|
58607
|
+
schema: {
|
|
58608
|
+
description: "Customer key for which you want to list customization profiles.",
|
|
58609
|
+
type: "string"
|
|
58610
|
+
}
|
|
58611
|
+
}
|
|
58612
|
+
],
|
|
58581
58613
|
responses: {
|
|
58582
58614
|
200: {
|
|
58583
58615
|
content: {
|
|
@@ -58620,6 +58652,21 @@ var openapi_default = {
|
|
|
58620
58652
|
post: {
|
|
58621
58653
|
description: "Retrieves the customization profile for the workspace.",
|
|
58622
58654
|
operationId: "workspacesCustomizationProfilesListPost",
|
|
58655
|
+
requestBody: {
|
|
58656
|
+
content: {
|
|
58657
|
+
"application/json": {
|
|
58658
|
+
schema: {
|
|
58659
|
+
properties: {
|
|
58660
|
+
customer_key: {
|
|
58661
|
+
description: "Customer key for which you want to list customization profiles.",
|
|
58662
|
+
type: "string"
|
|
58663
|
+
}
|
|
58664
|
+
},
|
|
58665
|
+
type: "object"
|
|
58666
|
+
}
|
|
58667
|
+
}
|
|
58668
|
+
}
|
|
58669
|
+
},
|
|
58623
58670
|
responses: {
|
|
58624
58671
|
200: {
|
|
58625
58672
|
content: {
|