@seamapi/types 1.686.0 → 1.688.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 +17 -3
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +38 -6
- package/dist/index.cjs +17 -3
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +5 -0
- package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +3 -0
- package/lib/seam/connect/models/connected-accounts/connected-account.js +7 -2
- package/lib/seam/connect/models/connected-accounts/connected-account.js.map +1 -1
- package/lib/seam/connect/models/devices/device-provider.d.ts +1 -1
- package/lib/seam/connect/models/devices/device-provider.js +1 -0
- package/lib/seam/connect/models/devices/device-provider.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +6 -0
- package/lib/seam/connect/openapi.js +7 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +24 -6
- package/package.json +1 -1
- package/src/lib/seam/connect/models/connected-accounts/connected-account.ts +7 -2
- package/src/lib/seam/connect/models/devices/device-provider.ts +1 -0
- package/src/lib/seam/connect/openapi.ts +7 -0
- package/src/lib/seam/connect/route-types.ts +24 -6
package/dist/connect.d.cts
CHANGED
|
@@ -14946,6 +14946,7 @@ declare const batch: z.ZodObject<{
|
|
|
14946
14946
|
}>>;
|
|
14947
14947
|
account_type: z.ZodOptional<z.ZodString>;
|
|
14948
14948
|
account_type_display_name: z.ZodString;
|
|
14949
|
+
display_name: z.ZodString;
|
|
14949
14950
|
errors: z.ZodArray<z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<{
|
|
14950
14951
|
created_at: z.ZodString;
|
|
14951
14952
|
message: z.ZodString;
|
|
@@ -15158,6 +15159,7 @@ declare const batch: z.ZodObject<{
|
|
|
15158
15159
|
customer_key: z.ZodOptional<z.ZodString>;
|
|
15159
15160
|
accepted_capabilities: z.ZodArray<z.ZodEnum<["lock", "thermostat", "noise_sensor", "access_control"]>, "many">;
|
|
15160
15161
|
}, "strip", z.ZodTypeAny, {
|
|
15162
|
+
display_name: string;
|
|
15161
15163
|
errors: ({
|
|
15162
15164
|
message: string;
|
|
15163
15165
|
created_at: string;
|
|
@@ -15226,6 +15228,7 @@ declare const batch: z.ZodObject<{
|
|
|
15226
15228
|
account_type?: string | undefined;
|
|
15227
15229
|
customer_key?: string | undefined;
|
|
15228
15230
|
}, {
|
|
15231
|
+
display_name: string;
|
|
15229
15232
|
errors: ({
|
|
15230
15233
|
message: string;
|
|
15231
15234
|
created_at: string;
|
|
@@ -32755,6 +32758,7 @@ declare const batch: z.ZodObject<{
|
|
|
32755
32758
|
nickname?: string | undefined;
|
|
32756
32759
|
}[] | undefined;
|
|
32757
32760
|
connected_accounts?: {
|
|
32761
|
+
display_name: string;
|
|
32758
32762
|
errors: ({
|
|
32759
32763
|
message: string;
|
|
32760
32764
|
created_at: string;
|
|
@@ -36813,6 +36817,7 @@ declare const batch: z.ZodObject<{
|
|
|
36813
36817
|
nickname?: string | undefined;
|
|
36814
36818
|
}[] | undefined;
|
|
36815
36819
|
connected_accounts?: {
|
|
36820
|
+
display_name: string;
|
|
36816
36821
|
errors: ({
|
|
36817
36822
|
message: string;
|
|
36818
36823
|
created_at: string;
|
|
@@ -40606,6 +40611,7 @@ declare const connected_account: z.ZodObject<{
|
|
|
40606
40611
|
}>>;
|
|
40607
40612
|
account_type: z.ZodOptional<z.ZodString>;
|
|
40608
40613
|
account_type_display_name: z.ZodString;
|
|
40614
|
+
display_name: z.ZodString;
|
|
40609
40615
|
errors: z.ZodArray<z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<{
|
|
40610
40616
|
created_at: z.ZodString;
|
|
40611
40617
|
message: z.ZodString;
|
|
@@ -40818,6 +40824,7 @@ declare const connected_account: z.ZodObject<{
|
|
|
40818
40824
|
customer_key: z.ZodOptional<z.ZodString>;
|
|
40819
40825
|
accepted_capabilities: z.ZodArray<z.ZodEnum<["lock", "thermostat", "noise_sensor", "access_control"]>, "many">;
|
|
40820
40826
|
}, "strip", z.ZodTypeAny, {
|
|
40827
|
+
display_name: string;
|
|
40821
40828
|
errors: ({
|
|
40822
40829
|
message: string;
|
|
40823
40830
|
created_at: string;
|
|
@@ -40886,6 +40893,7 @@ declare const connected_account: z.ZodObject<{
|
|
|
40886
40893
|
account_type?: string | undefined;
|
|
40887
40894
|
customer_key?: string | undefined;
|
|
40888
40895
|
}, {
|
|
40896
|
+
display_name: string;
|
|
40889
40897
|
errors: ({
|
|
40890
40898
|
message: string;
|
|
40891
40899
|
created_at: string;
|
|
@@ -57428,6 +57436,10 @@ declare const _default: {
|
|
|
57428
57436
|
description: string;
|
|
57429
57437
|
type: string;
|
|
57430
57438
|
};
|
|
57439
|
+
display_name: {
|
|
57440
|
+
description: string;
|
|
57441
|
+
type: string;
|
|
57442
|
+
};
|
|
57431
57443
|
errors: {
|
|
57432
57444
|
description: string;
|
|
57433
57445
|
items: {
|
|
@@ -57532,6 +57544,7 @@ declare const _default: {
|
|
|
57532
57544
|
type: string;
|
|
57533
57545
|
};
|
|
57534
57546
|
user_identifier: {
|
|
57547
|
+
deprecated: boolean;
|
|
57535
57548
|
description: string;
|
|
57536
57549
|
properties: {
|
|
57537
57550
|
api_url: {
|
|
@@ -57556,6 +57569,7 @@ declare const _default: {
|
|
|
57556
57569
|
};
|
|
57557
57570
|
};
|
|
57558
57571
|
type: string;
|
|
57572
|
+
'x-deprecated': string;
|
|
57559
57573
|
};
|
|
57560
57574
|
warnings: {
|
|
57561
57575
|
description: string;
|
|
@@ -125917,7 +125931,8 @@ type Routes = {
|
|
|
125917
125931
|
connected_account_id: string;
|
|
125918
125932
|
/** Date and time at which the connected account was created. */
|
|
125919
125933
|
created_at?: string | undefined;
|
|
125920
|
-
/** User identifier associated with the connected account.
|
|
125934
|
+
/** User identifier associated with the connected account.
|
|
125935
|
+
* @deprecated Use `display_name` instead.*/
|
|
125921
125936
|
user_identifier?: {
|
|
125922
125937
|
/** Username of the user identifier associated with the connected account. */
|
|
125923
125938
|
username?: string | undefined;
|
|
@@ -125934,6 +125949,8 @@ type Routes = {
|
|
|
125934
125949
|
account_type?: string | undefined;
|
|
125935
125950
|
/** Display name for the connected account type. */
|
|
125936
125951
|
account_type_display_name: string;
|
|
125952
|
+
/** Display name for the connected account. */
|
|
125953
|
+
display_name: string;
|
|
125937
125954
|
/** Errors associated with the connected account. */
|
|
125938
125955
|
errors: ({
|
|
125939
125956
|
/** Date and time at which Seam created the error. */
|
|
@@ -140415,7 +140432,8 @@ type Routes = {
|
|
|
140415
140432
|
connected_account_id: string;
|
|
140416
140433
|
/** Date and time at which the connected account was created. */
|
|
140417
140434
|
created_at?: string | undefined;
|
|
140418
|
-
/** User identifier associated with the connected account.
|
|
140435
|
+
/** User identifier associated with the connected account.
|
|
140436
|
+
* @deprecated Use `display_name` instead.*/
|
|
140419
140437
|
user_identifier?: {
|
|
140420
140438
|
/** Username of the user identifier associated with the connected account. */
|
|
140421
140439
|
username?: string | undefined;
|
|
@@ -140432,6 +140450,8 @@ type Routes = {
|
|
|
140432
140450
|
account_type?: string | undefined;
|
|
140433
140451
|
/** Display name for the connected account type. */
|
|
140434
140452
|
account_type_display_name: string;
|
|
140453
|
+
/** Display name for the connected account. */
|
|
140454
|
+
display_name: string;
|
|
140435
140455
|
/** Errors associated with the connected account. */
|
|
140436
140456
|
errors: ({
|
|
140437
140457
|
/** Date and time at which Seam created the error. */
|
|
@@ -140567,7 +140587,8 @@ type Routes = {
|
|
|
140567
140587
|
connected_account_id: string;
|
|
140568
140588
|
/** Date and time at which the connected account was created. */
|
|
140569
140589
|
created_at?: string | undefined;
|
|
140570
|
-
/** User identifier associated with the connected account.
|
|
140590
|
+
/** User identifier associated with the connected account.
|
|
140591
|
+
* @deprecated Use `display_name` instead.*/
|
|
140571
140592
|
user_identifier?: {
|
|
140572
140593
|
/** Username of the user identifier associated with the connected account. */
|
|
140573
140594
|
username?: string | undefined;
|
|
@@ -140584,6 +140605,8 @@ type Routes = {
|
|
|
140584
140605
|
account_type?: string | undefined;
|
|
140585
140606
|
/** Display name for the connected account type. */
|
|
140586
140607
|
account_type_display_name: string;
|
|
140608
|
+
/** Display name for the connected account. */
|
|
140609
|
+
display_name: string;
|
|
140587
140610
|
/** Errors associated with the connected account. */
|
|
140588
140611
|
errors: ({
|
|
140589
140612
|
/** Date and time at which Seam created the error. */
|
|
@@ -140753,7 +140776,8 @@ type Routes = {
|
|
|
140753
140776
|
connected_account_id: string;
|
|
140754
140777
|
/** Date and time at which the connected account was created. */
|
|
140755
140778
|
created_at?: string | undefined;
|
|
140756
|
-
/** User identifier associated with the connected account.
|
|
140779
|
+
/** User identifier associated with the connected account.
|
|
140780
|
+
* @deprecated Use `display_name` instead.*/
|
|
140757
140781
|
user_identifier?: {
|
|
140758
140782
|
/** Username of the user identifier associated with the connected account. */
|
|
140759
140783
|
username?: string | undefined;
|
|
@@ -140770,6 +140794,8 @@ type Routes = {
|
|
|
140770
140794
|
account_type?: string | undefined;
|
|
140771
140795
|
/** Display name for the connected account type. */
|
|
140772
140796
|
account_type_display_name: string;
|
|
140797
|
+
/** Display name for the connected account. */
|
|
140798
|
+
display_name: string;
|
|
140773
140799
|
/** Errors associated with the connected account. */
|
|
140774
140800
|
errors: ({
|
|
140775
140801
|
/** Date and time at which Seam created the error. */
|
|
@@ -171551,7 +171577,8 @@ type Routes = {
|
|
|
171551
171577
|
connected_account_id: string;
|
|
171552
171578
|
/** Date and time at which the connected account was created. */
|
|
171553
171579
|
created_at?: string | undefined;
|
|
171554
|
-
/** User identifier associated with the connected account.
|
|
171580
|
+
/** User identifier associated with the connected account.
|
|
171581
|
+
* @deprecated Use `display_name` instead.*/
|
|
171555
171582
|
user_identifier?: {
|
|
171556
171583
|
/** Username of the user identifier associated with the connected account. */
|
|
171557
171584
|
username?: string | undefined;
|
|
@@ -171568,6 +171595,8 @@ type Routes = {
|
|
|
171568
171595
|
account_type?: string | undefined;
|
|
171569
171596
|
/** Display name for the connected account type. */
|
|
171570
171597
|
account_type_display_name: string;
|
|
171598
|
+
/** Display name for the connected account. */
|
|
171599
|
+
display_name: string;
|
|
171571
171600
|
/** Errors associated with the connected account. */
|
|
171572
171601
|
errors: ({
|
|
171573
171602
|
/** Date and time at which Seam created the error. */
|
|
@@ -195460,7 +195489,8 @@ type Routes = {
|
|
|
195460
195489
|
connected_account_id: string;
|
|
195461
195490
|
/** Date and time at which the connected account was created. */
|
|
195462
195491
|
created_at?: string | undefined;
|
|
195463
|
-
/** User identifier associated with the connected account.
|
|
195492
|
+
/** User identifier associated with the connected account.
|
|
195493
|
+
* @deprecated Use `display_name` instead.*/
|
|
195464
195494
|
user_identifier?: {
|
|
195465
195495
|
/** Username of the user identifier associated with the connected account. */
|
|
195466
195496
|
username?: string | undefined;
|
|
@@ -195477,6 +195507,8 @@ type Routes = {
|
|
|
195477
195507
|
account_type?: string | undefined;
|
|
195478
195508
|
/** Display name for the connected account type. */
|
|
195479
195509
|
account_type_display_name: string;
|
|
195510
|
+
/** Display name for the connected account. */
|
|
195511
|
+
display_name: string;
|
|
195480
195512
|
/** Errors associated with the connected account. */
|
|
195481
195513
|
errors: ({
|
|
195482
195514
|
/** Date and time at which Seam created the error. */
|
package/dist/index.cjs
CHANGED
|
@@ -705,9 +705,15 @@ var connected_account = zod.z.object({
|
|
|
705
705
|
exclusive: zod.z.boolean().optional().describe(
|
|
706
706
|
"Indicates whether the user identifier associated with the connected account is exclusive."
|
|
707
707
|
)
|
|
708
|
-
}).optional().describe(
|
|
708
|
+
}).optional().describe(`
|
|
709
|
+
---
|
|
710
|
+
deprecated: Use \`display_name\` instead.
|
|
711
|
+
---
|
|
712
|
+
User identifier associated with the connected account.
|
|
713
|
+
`),
|
|
709
714
|
account_type: zod.z.string().optional().describe("Type of connected account."),
|
|
710
715
|
account_type_display_name: zod.z.string().describe("Display name for the connected account type."),
|
|
716
|
+
display_name: zod.z.string().describe("Display name for the connected account."),
|
|
711
717
|
errors: zod.z.array(connected_account_error).describe("Errors associated with the connected account."),
|
|
712
718
|
warnings: zod.z.array(connected_account_warning).describe("Warnings associated with the connected account."),
|
|
713
719
|
custom_metadata,
|
|
@@ -1858,7 +1864,8 @@ var PROVIDER_CATEGORY_MAP = {
|
|
|
1858
1864
|
"sensi",
|
|
1859
1865
|
"assa_abloy_vostio",
|
|
1860
1866
|
"avigilon_alta",
|
|
1861
|
-
"keynest"
|
|
1867
|
+
"keynest",
|
|
1868
|
+
"hotek"
|
|
1862
1869
|
],
|
|
1863
1870
|
consumer_smartlocks: [
|
|
1864
1871
|
"akiles",
|
|
@@ -14063,6 +14070,10 @@ var openapi_default = {
|
|
|
14063
14070
|
description: "Your unique key for the customer associated with this connected account.",
|
|
14064
14071
|
type: "string"
|
|
14065
14072
|
},
|
|
14073
|
+
display_name: {
|
|
14074
|
+
description: "Display name for the connected account.",
|
|
14075
|
+
type: "string"
|
|
14076
|
+
},
|
|
14066
14077
|
errors: {
|
|
14067
14078
|
description: "Errors associated with the connected account.",
|
|
14068
14079
|
items: {
|
|
@@ -14206,6 +14217,7 @@ var openapi_default = {
|
|
|
14206
14217
|
type: "array"
|
|
14207
14218
|
},
|
|
14208
14219
|
user_identifier: {
|
|
14220
|
+
deprecated: true,
|
|
14209
14221
|
description: "User identifier associated with the connected account.",
|
|
14210
14222
|
properties: {
|
|
14211
14223
|
api_url: {
|
|
@@ -14229,7 +14241,8 @@ var openapi_default = {
|
|
|
14229
14241
|
type: "string"
|
|
14230
14242
|
}
|
|
14231
14243
|
},
|
|
14232
|
-
type: "object"
|
|
14244
|
+
type: "object",
|
|
14245
|
+
"x-deprecated": "Use `display_name` instead."
|
|
14233
14246
|
},
|
|
14234
14247
|
warnings: {
|
|
14235
14248
|
description: "Warnings associated with the connected account.",
|
|
@@ -14375,6 +14388,7 @@ var openapi_default = {
|
|
|
14375
14388
|
required: [
|
|
14376
14389
|
"connected_account_id",
|
|
14377
14390
|
"account_type_display_name",
|
|
14391
|
+
"display_name",
|
|
14378
14392
|
"errors",
|
|
14379
14393
|
"warnings",
|
|
14380
14394
|
"custom_metadata",
|