@seamapi/types 1.640.0 → 1.642.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 +81 -10
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +229 -19
- package/dist/index.cjs +81 -10
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +106 -26
- package/lib/seam/connect/models/customer/access-grant-resources.js +2 -0
- package/lib/seam/connect/models/customer/access-grant-resources.js.map +1 -1
- package/lib/seam/connect/models/customer/customer-portal.d.ts +14 -0
- package/lib/seam/connect/models/customer/customer-portal.js +5 -0
- package/lib/seam/connect/models/customer/customer-portal.js.map +1 -1
- package/lib/seam/connect/models/customization-profiles/customization-profile.d.ts +46 -2
- package/lib/seam/connect/models/customization-profiles/customization-profile.js +8 -0
- package/lib/seam/connect/models/customization-profiles/customization-profile.js.map +1 -1
- package/lib/seam/connect/models/instant-keys/instant-key.d.ts +4 -4
- package/lib/seam/connect/openapi.d.ts +97 -1
- package/lib/seam/connect/openapi.js +65 -1
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +48 -2
- package/package.json +1 -1
- package/src/lib/seam/connect/internal/schemas.ts +1 -0
- package/src/lib/seam/connect/models/customer/access-grant-resources.ts +2 -0
- package/src/lib/seam/connect/models/customer/customer-portal.ts +5 -0
- package/src/lib/seam/connect/models/customization-profiles/customization-profile.ts +10 -0
- package/src/lib/seam/connect/openapi.ts +68 -1
- package/src/lib/seam/connect/route-types.ts +65 -2
package/dist/index.cjs
CHANGED
|
@@ -4196,6 +4196,20 @@ var connect_webview = zod.z.object({
|
|
|
4196
4196
|
|
|
4197
4197
|
To list all providers within a category, use \`/devices/list_device_providers\` with the desired \`provider_category\` filter. To list all provider keys, use \`/devices/list_device_providers\` with no filters.
|
|
4198
4198
|
`);
|
|
4199
|
+
var hex_color_code = zod.z.string().refine((value) => {
|
|
4200
|
+
if (value != null) {
|
|
4201
|
+
return /^#[\da-fa-z]{3,6}$/i.test(value);
|
|
4202
|
+
}
|
|
4203
|
+
return true;
|
|
4204
|
+
}, "Must be a hex color");
|
|
4205
|
+
|
|
4206
|
+
// src/lib/seam/connect/models/customization-profiles/customization-profile.ts
|
|
4207
|
+
var customer_portal_theme = zod.z.object({
|
|
4208
|
+
primary_color: hex_color_code.optional(),
|
|
4209
|
+
primary_foreground_color: hex_color_code.optional(),
|
|
4210
|
+
secondary_color: hex_color_code.optional(),
|
|
4211
|
+
secondary_foreground_color: hex_color_code.optional()
|
|
4212
|
+
});
|
|
4199
4213
|
var customization_profile = zod.z.object({
|
|
4200
4214
|
workspace_id: zod.z.string().uuid(),
|
|
4201
4215
|
name: zod.z.string().nullable(),
|
|
@@ -4203,7 +4217,8 @@ var customization_profile = zod.z.object({
|
|
|
4203
4217
|
created_at: zod.z.string().datetime(),
|
|
4204
4218
|
logo_url: zod.z.string().url().optional(),
|
|
4205
4219
|
primary_color: zod.z.string().optional(),
|
|
4206
|
-
secondary_color: zod.z.string().optional()
|
|
4220
|
+
secondary_color: zod.z.string().optional(),
|
|
4221
|
+
customer_portal_theme: customer_portal_theme.optional()
|
|
4207
4222
|
}).describe(`
|
|
4208
4223
|
---
|
|
4209
4224
|
title: Customization Profile
|
|
@@ -5520,14 +5535,6 @@ user_identity.omit({
|
|
|
5520
5535
|
---
|
|
5521
5536
|
Represents an unmanaged user identity. Unmanaged user identities do not have keys.
|
|
5522
5537
|
`);
|
|
5523
|
-
var hex_color_code = zod.z.string().refine((value) => {
|
|
5524
|
-
if (value != null) {
|
|
5525
|
-
return /^#[\da-fa-z]{3,6}$/i.test(value);
|
|
5526
|
-
}
|
|
5527
|
-
return true;
|
|
5528
|
-
}, "Must be a hex color");
|
|
5529
|
-
|
|
5530
|
-
// src/lib/seam/connect/models/workspaces/workspace.ts
|
|
5531
5538
|
var workspace = zod.z.object({
|
|
5532
5539
|
workspace_id: zod.z.string().uuid().describe(
|
|
5533
5540
|
"ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces)."
|
|
@@ -14194,6 +14201,15 @@ var openapi_default = {
|
|
|
14194
14201
|
description: "A customization profile.",
|
|
14195
14202
|
properties: {
|
|
14196
14203
|
created_at: { format: "date-time", type: "string" },
|
|
14204
|
+
customer_portal_theme: {
|
|
14205
|
+
properties: {
|
|
14206
|
+
primary_color: { type: "string" },
|
|
14207
|
+
primary_foreground_color: { type: "string" },
|
|
14208
|
+
secondary_color: { type: "string" },
|
|
14209
|
+
secondary_foreground_color: { type: "string" }
|
|
14210
|
+
},
|
|
14211
|
+
type: "object"
|
|
14212
|
+
},
|
|
14197
14213
|
customization_profile_id: { format: "uuid", type: "string" },
|
|
14198
14214
|
logo_url: { format: "uri", type: "string" },
|
|
14199
14215
|
name: { nullable: true, type: "string" },
|
|
@@ -43490,6 +43506,11 @@ var openapi_default = {
|
|
|
43490
43506
|
description: "Indicates whether the customer can customize the Instant Key profile for their properties.",
|
|
43491
43507
|
type: "boolean"
|
|
43492
43508
|
},
|
|
43509
|
+
customization_profile_id: {
|
|
43510
|
+
description: "The ID of the customization profile to use for the portal.",
|
|
43511
|
+
format: "uuid",
|
|
43512
|
+
type: "string"
|
|
43513
|
+
},
|
|
43493
43514
|
exclude: {
|
|
43494
43515
|
default: false,
|
|
43495
43516
|
description: "Whether to exclude this feature from the portal.",
|
|
@@ -43711,6 +43732,7 @@ var openapi_default = {
|
|
|
43711
43732
|
},
|
|
43712
43733
|
ends_at: {
|
|
43713
43734
|
description: "Ending date and time for the access grant.",
|
|
43735
|
+
format: "date-time",
|
|
43714
43736
|
type: "string"
|
|
43715
43737
|
},
|
|
43716
43738
|
facility_keys: {
|
|
@@ -43756,6 +43778,7 @@ var openapi_default = {
|
|
|
43756
43778
|
},
|
|
43757
43779
|
starts_at: {
|
|
43758
43780
|
description: "Starting date and time for the access grant.",
|
|
43781
|
+
format: "date-time",
|
|
43759
43782
|
type: "string"
|
|
43760
43783
|
},
|
|
43761
43784
|
tenant_key: {
|
|
@@ -43802,6 +43825,7 @@ var openapi_default = {
|
|
|
43802
43825
|
},
|
|
43803
43826
|
ends_at: {
|
|
43804
43827
|
description: "Ending date and time for the access grant.",
|
|
43828
|
+
format: "date-time",
|
|
43805
43829
|
type: "string"
|
|
43806
43830
|
},
|
|
43807
43831
|
facility_keys: {
|
|
@@ -43847,6 +43871,7 @@ var openapi_default = {
|
|
|
43847
43871
|
},
|
|
43848
43872
|
starts_at: {
|
|
43849
43873
|
description: "Starting date and time for the access grant.",
|
|
43874
|
+
format: "date-time",
|
|
43850
43875
|
type: "string"
|
|
43851
43876
|
},
|
|
43852
43877
|
tenant_key: {
|
|
@@ -44039,6 +44064,7 @@ var openapi_default = {
|
|
|
44039
44064
|
},
|
|
44040
44065
|
ends_at: {
|
|
44041
44066
|
description: "Ending date and time for the access grant.",
|
|
44067
|
+
format: "date-time",
|
|
44042
44068
|
type: "string"
|
|
44043
44069
|
},
|
|
44044
44070
|
facility_keys: {
|
|
@@ -44089,6 +44115,7 @@ var openapi_default = {
|
|
|
44089
44115
|
},
|
|
44090
44116
|
starts_at: {
|
|
44091
44117
|
description: "Starting date and time for the access grant.",
|
|
44118
|
+
format: "date-time",
|
|
44092
44119
|
type: "string"
|
|
44093
44120
|
},
|
|
44094
44121
|
tenant_key: {
|
|
@@ -44804,6 +44831,7 @@ var openapi_default = {
|
|
|
44804
44831
|
},
|
|
44805
44832
|
ends_at: {
|
|
44806
44833
|
description: "Ending date and time for the access grant.",
|
|
44834
|
+
format: "date-time",
|
|
44807
44835
|
type: "string"
|
|
44808
44836
|
},
|
|
44809
44837
|
facility_keys: {
|
|
@@ -44849,6 +44877,7 @@ var openapi_default = {
|
|
|
44849
44877
|
},
|
|
44850
44878
|
starts_at: {
|
|
44851
44879
|
description: "Starting date and time for the access grant.",
|
|
44880
|
+
format: "date-time",
|
|
44852
44881
|
type: "string"
|
|
44853
44882
|
},
|
|
44854
44883
|
tenant_key: {
|
|
@@ -44895,6 +44924,7 @@ var openapi_default = {
|
|
|
44895
44924
|
},
|
|
44896
44925
|
ends_at: {
|
|
44897
44926
|
description: "Ending date and time for the access grant.",
|
|
44927
|
+
format: "date-time",
|
|
44898
44928
|
type: "string"
|
|
44899
44929
|
},
|
|
44900
44930
|
facility_keys: {
|
|
@@ -44940,6 +44970,7 @@ var openapi_default = {
|
|
|
44940
44970
|
},
|
|
44941
44971
|
starts_at: {
|
|
44942
44972
|
description: "Starting date and time for the access grant.",
|
|
44973
|
+
format: "date-time",
|
|
44943
44974
|
type: "string"
|
|
44944
44975
|
},
|
|
44945
44976
|
tenant_key: {
|
|
@@ -45132,6 +45163,7 @@ var openapi_default = {
|
|
|
45132
45163
|
},
|
|
45133
45164
|
ends_at: {
|
|
45134
45165
|
description: "Ending date and time for the access grant.",
|
|
45166
|
+
format: "date-time",
|
|
45135
45167
|
type: "string"
|
|
45136
45168
|
},
|
|
45137
45169
|
facility_keys: {
|
|
@@ -45182,6 +45214,7 @@ var openapi_default = {
|
|
|
45182
45214
|
},
|
|
45183
45215
|
starts_at: {
|
|
45184
45216
|
description: "Starting date and time for the access grant.",
|
|
45217
|
+
format: "date-time",
|
|
45185
45218
|
type: "string"
|
|
45186
45219
|
},
|
|
45187
45220
|
tenant_key: {
|
|
@@ -55561,6 +55594,11 @@ var openapi_default = {
|
|
|
55561
55594
|
description: "Indicates whether the customer can customize the Instant Key profile for their properties.",
|
|
55562
55595
|
type: "boolean"
|
|
55563
55596
|
},
|
|
55597
|
+
customization_profile_id: {
|
|
55598
|
+
description: "The ID of the customization profile to use for the portal.",
|
|
55599
|
+
format: "uuid",
|
|
55600
|
+
type: "string"
|
|
55601
|
+
},
|
|
55564
55602
|
exclude: {
|
|
55565
55603
|
default: false,
|
|
55566
55604
|
description: "Whether to exclude this feature from the portal.",
|
|
@@ -55847,6 +55885,11 @@ var openapi_default = {
|
|
|
55847
55885
|
description: "Indicates whether the customer can customize the Instant Key profile for their properties.",
|
|
55848
55886
|
type: "boolean"
|
|
55849
55887
|
},
|
|
55888
|
+
customization_profile_id: {
|
|
55889
|
+
description: "The ID of the customization profile to use for the portal.",
|
|
55890
|
+
format: "uuid",
|
|
55891
|
+
type: "string"
|
|
55892
|
+
},
|
|
55850
55893
|
exclude: {
|
|
55851
55894
|
default: false,
|
|
55852
55895
|
description: "Whether to exclude this feature from the portal.",
|
|
@@ -66197,11 +66240,19 @@ var openapi_default = {
|
|
|
66197
66240
|
"application/json": {
|
|
66198
66241
|
schema: {
|
|
66199
66242
|
properties: {
|
|
66243
|
+
customer_portal_theme: {
|
|
66244
|
+
properties: {
|
|
66245
|
+
primary_color: { type: "string" },
|
|
66246
|
+
primary_foreground_color: { type: "string" },
|
|
66247
|
+
secondary_color: { type: "string" },
|
|
66248
|
+
secondary_foreground_color: { type: "string" }
|
|
66249
|
+
},
|
|
66250
|
+
type: "object"
|
|
66251
|
+
},
|
|
66200
66252
|
name: { default: null, nullable: true, type: "string" },
|
|
66201
66253
|
primary_color: { type: "string" },
|
|
66202
66254
|
secondary_color: { type: "string" }
|
|
66203
66255
|
},
|
|
66204
|
-
required: ["primary_color", "secondary_color"],
|
|
66205
66256
|
type: "object"
|
|
66206
66257
|
}
|
|
66207
66258
|
}
|
|
@@ -66465,6 +66516,16 @@ var openapi_default = {
|
|
|
66465
66516
|
"application/json": {
|
|
66466
66517
|
schema: {
|
|
66467
66518
|
properties: {
|
|
66519
|
+
customer_portal_theme: {
|
|
66520
|
+
nullable: true,
|
|
66521
|
+
properties: {
|
|
66522
|
+
primary_color: { type: "string" },
|
|
66523
|
+
primary_foreground_color: { type: "string" },
|
|
66524
|
+
secondary_color: { type: "string" },
|
|
66525
|
+
secondary_foreground_color: { type: "string" }
|
|
66526
|
+
},
|
|
66527
|
+
type: "object"
|
|
66528
|
+
},
|
|
66468
66529
|
customization_profile_id: { format: "uuid", type: "string" },
|
|
66469
66530
|
name: { nullable: true, type: "string" },
|
|
66470
66531
|
primary_color: { type: "string" },
|
|
@@ -66514,6 +66575,16 @@ var openapi_default = {
|
|
|
66514
66575
|
"application/json": {
|
|
66515
66576
|
schema: {
|
|
66516
66577
|
properties: {
|
|
66578
|
+
customer_portal_theme: {
|
|
66579
|
+
nullable: true,
|
|
66580
|
+
properties: {
|
|
66581
|
+
primary_color: { type: "string" },
|
|
66582
|
+
primary_foreground_color: { type: "string" },
|
|
66583
|
+
secondary_color: { type: "string" },
|
|
66584
|
+
secondary_foreground_color: { type: "string" }
|
|
66585
|
+
},
|
|
66586
|
+
type: "object"
|
|
66587
|
+
},
|
|
66517
66588
|
customization_profile_id: { format: "uuid", type: "string" },
|
|
66518
66589
|
name: { nullable: true, type: "string" },
|
|
66519
66590
|
primary_color: { type: "string" },
|