@seamapi/types 1.640.0 → 1.641.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 +69 -10
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +217 -19
- package/dist/index.cjs +69 -10
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +106 -26
- 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 +85 -1
- package/lib/seam/connect/openapi.js +53 -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/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 +56 -1
- package/src/lib/seam/connect/route-types.ts +65 -2
package/dist/connect.d.cts
CHANGED
|
@@ -28079,13 +28079,13 @@ declare const batch: z.ZodObject<{
|
|
|
28079
28079
|
secondary_color: z.ZodOptional<z.ZodString>;
|
|
28080
28080
|
logo_url: z.ZodOptional<z.ZodString>;
|
|
28081
28081
|
}, "strip", z.ZodTypeAny, {
|
|
28082
|
-
logo_url?: string | undefined;
|
|
28083
28082
|
primary_color?: string | undefined;
|
|
28084
28083
|
secondary_color?: string | undefined;
|
|
28085
|
-
}, {
|
|
28086
28084
|
logo_url?: string | undefined;
|
|
28085
|
+
}, {
|
|
28087
28086
|
primary_color?: string | undefined;
|
|
28088
28087
|
secondary_color?: string | undefined;
|
|
28088
|
+
logo_url?: string | undefined;
|
|
28089
28089
|
}>>;
|
|
28090
28090
|
}, "strip", z.ZodTypeAny, {
|
|
28091
28091
|
workspace_id: string;
|
|
@@ -28097,9 +28097,9 @@ declare const batch: z.ZodObject<{
|
|
|
28097
28097
|
instant_key_id: string;
|
|
28098
28098
|
customization_profile_id?: string | undefined;
|
|
28099
28099
|
customization?: {
|
|
28100
|
-
logo_url?: string | undefined;
|
|
28101
28100
|
primary_color?: string | undefined;
|
|
28102
28101
|
secondary_color?: string | undefined;
|
|
28102
|
+
logo_url?: string | undefined;
|
|
28103
28103
|
} | undefined;
|
|
28104
28104
|
}, {
|
|
28105
28105
|
workspace_id: string;
|
|
@@ -28111,9 +28111,9 @@ declare const batch: z.ZodObject<{
|
|
|
28111
28111
|
instant_key_id: string;
|
|
28112
28112
|
customization_profile_id?: string | undefined;
|
|
28113
28113
|
customization?: {
|
|
28114
|
-
logo_url?: string | undefined;
|
|
28115
28114
|
primary_color?: string | undefined;
|
|
28116
28115
|
secondary_color?: string | undefined;
|
|
28116
|
+
logo_url?: string | undefined;
|
|
28117
28117
|
} | undefined;
|
|
28118
28118
|
}>, "many">>;
|
|
28119
28119
|
access_codes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -31270,22 +31270,50 @@ declare const batch: z.ZodObject<{
|
|
|
31270
31270
|
logo_url: z.ZodOptional<z.ZodString>;
|
|
31271
31271
|
primary_color: z.ZodOptional<z.ZodString>;
|
|
31272
31272
|
secondary_color: z.ZodOptional<z.ZodString>;
|
|
31273
|
+
customer_portal_theme: z.ZodOptional<z.ZodObject<{
|
|
31274
|
+
primary_color: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
31275
|
+
primary_foreground_color: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
31276
|
+
secondary_color: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
31277
|
+
secondary_foreground_color: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
31278
|
+
}, "strip", z.ZodTypeAny, {
|
|
31279
|
+
primary_color?: string | undefined;
|
|
31280
|
+
primary_foreground_color?: string | undefined;
|
|
31281
|
+
secondary_color?: string | undefined;
|
|
31282
|
+
secondary_foreground_color?: string | undefined;
|
|
31283
|
+
}, {
|
|
31284
|
+
primary_color?: string | undefined;
|
|
31285
|
+
primary_foreground_color?: string | undefined;
|
|
31286
|
+
secondary_color?: string | undefined;
|
|
31287
|
+
secondary_foreground_color?: string | undefined;
|
|
31288
|
+
}>>;
|
|
31273
31289
|
}, "strip", z.ZodTypeAny, {
|
|
31274
31290
|
name: string | null;
|
|
31275
31291
|
workspace_id: string;
|
|
31276
31292
|
created_at: string;
|
|
31277
31293
|
customization_profile_id: string;
|
|
31278
|
-
logo_url?: string | undefined;
|
|
31279
31294
|
primary_color?: string | undefined;
|
|
31280
31295
|
secondary_color?: string | undefined;
|
|
31296
|
+
logo_url?: string | undefined;
|
|
31297
|
+
customer_portal_theme?: {
|
|
31298
|
+
primary_color?: string | undefined;
|
|
31299
|
+
primary_foreground_color?: string | undefined;
|
|
31300
|
+
secondary_color?: string | undefined;
|
|
31301
|
+
secondary_foreground_color?: string | undefined;
|
|
31302
|
+
} | undefined;
|
|
31281
31303
|
}, {
|
|
31282
31304
|
name: string | null;
|
|
31283
31305
|
workspace_id: string;
|
|
31284
31306
|
created_at: string;
|
|
31285
31307
|
customization_profile_id: string;
|
|
31286
|
-
logo_url?: string | undefined;
|
|
31287
31308
|
primary_color?: string | undefined;
|
|
31288
31309
|
secondary_color?: string | undefined;
|
|
31310
|
+
logo_url?: string | undefined;
|
|
31311
|
+
customer_portal_theme?: {
|
|
31312
|
+
primary_color?: string | undefined;
|
|
31313
|
+
primary_foreground_color?: string | undefined;
|
|
31314
|
+
secondary_color?: string | undefined;
|
|
31315
|
+
secondary_foreground_color?: string | undefined;
|
|
31316
|
+
} | undefined;
|
|
31289
31317
|
}>, "many">>;
|
|
31290
31318
|
}, "strip", z.ZodTypeAny, {
|
|
31291
31319
|
batch_type: "spaces" | "access_grants" | "access_methods" | "workspaces";
|
|
@@ -32217,9 +32245,9 @@ declare const batch: z.ZodObject<{
|
|
|
32217
32245
|
instant_key_id: string;
|
|
32218
32246
|
customization_profile_id?: string | undefined;
|
|
32219
32247
|
customization?: {
|
|
32220
|
-
logo_url?: string | undefined;
|
|
32221
32248
|
primary_color?: string | undefined;
|
|
32222
32249
|
secondary_color?: string | undefined;
|
|
32250
|
+
logo_url?: string | undefined;
|
|
32223
32251
|
} | undefined;
|
|
32224
32252
|
}[] | undefined;
|
|
32225
32253
|
client_sessions?: {
|
|
@@ -35232,9 +35260,15 @@ declare const batch: z.ZodObject<{
|
|
|
35232
35260
|
workspace_id: string;
|
|
35233
35261
|
created_at: string;
|
|
35234
35262
|
customization_profile_id: string;
|
|
35235
|
-
logo_url?: string | undefined;
|
|
35236
35263
|
primary_color?: string | undefined;
|
|
35237
35264
|
secondary_color?: string | undefined;
|
|
35265
|
+
logo_url?: string | undefined;
|
|
35266
|
+
customer_portal_theme?: {
|
|
35267
|
+
primary_color?: string | undefined;
|
|
35268
|
+
primary_foreground_color?: string | undefined;
|
|
35269
|
+
secondary_color?: string | undefined;
|
|
35270
|
+
secondary_foreground_color?: string | undefined;
|
|
35271
|
+
} | undefined;
|
|
35238
35272
|
}[] | undefined;
|
|
35239
35273
|
}, {
|
|
35240
35274
|
batch_type: "spaces" | "access_grants" | "access_methods" | "workspaces";
|
|
@@ -36166,9 +36200,9 @@ declare const batch: z.ZodObject<{
|
|
|
36166
36200
|
instant_key_id: string;
|
|
36167
36201
|
customization_profile_id?: string | undefined;
|
|
36168
36202
|
customization?: {
|
|
36169
|
-
logo_url?: string | undefined;
|
|
36170
36203
|
primary_color?: string | undefined;
|
|
36171
36204
|
secondary_color?: string | undefined;
|
|
36205
|
+
logo_url?: string | undefined;
|
|
36172
36206
|
} | undefined;
|
|
36173
36207
|
}[] | undefined;
|
|
36174
36208
|
client_sessions?: {
|
|
@@ -39181,9 +39215,15 @@ declare const batch: z.ZodObject<{
|
|
|
39181
39215
|
workspace_id: string;
|
|
39182
39216
|
created_at: string;
|
|
39183
39217
|
customization_profile_id: string;
|
|
39184
|
-
logo_url?: string | undefined;
|
|
39185
39218
|
primary_color?: string | undefined;
|
|
39186
39219
|
secondary_color?: string | undefined;
|
|
39220
|
+
logo_url?: string | undefined;
|
|
39221
|
+
customer_portal_theme?: {
|
|
39222
|
+
primary_color?: string | undefined;
|
|
39223
|
+
primary_foreground_color?: string | undefined;
|
|
39224
|
+
secondary_color?: string | undefined;
|
|
39225
|
+
secondary_foreground_color?: string | undefined;
|
|
39226
|
+
} | undefined;
|
|
39187
39227
|
}[] | undefined;
|
|
39188
39228
|
}>;
|
|
39189
39229
|
type Batch = z.infer<typeof batch>;
|
|
@@ -40070,22 +40110,50 @@ declare const customization_profile: z.ZodObject<{
|
|
|
40070
40110
|
logo_url: z.ZodOptional<z.ZodString>;
|
|
40071
40111
|
primary_color: z.ZodOptional<z.ZodString>;
|
|
40072
40112
|
secondary_color: z.ZodOptional<z.ZodString>;
|
|
40113
|
+
customer_portal_theme: z.ZodOptional<z.ZodObject<{
|
|
40114
|
+
primary_color: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
40115
|
+
primary_foreground_color: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
40116
|
+
secondary_color: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
40117
|
+
secondary_foreground_color: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
40118
|
+
}, "strip", z.ZodTypeAny, {
|
|
40119
|
+
primary_color?: string | undefined;
|
|
40120
|
+
primary_foreground_color?: string | undefined;
|
|
40121
|
+
secondary_color?: string | undefined;
|
|
40122
|
+
secondary_foreground_color?: string | undefined;
|
|
40123
|
+
}, {
|
|
40124
|
+
primary_color?: string | undefined;
|
|
40125
|
+
primary_foreground_color?: string | undefined;
|
|
40126
|
+
secondary_color?: string | undefined;
|
|
40127
|
+
secondary_foreground_color?: string | undefined;
|
|
40128
|
+
}>>;
|
|
40073
40129
|
}, "strip", z.ZodTypeAny, {
|
|
40074
40130
|
name: string | null;
|
|
40075
40131
|
workspace_id: string;
|
|
40076
40132
|
created_at: string;
|
|
40077
40133
|
customization_profile_id: string;
|
|
40078
|
-
logo_url?: string | undefined;
|
|
40079
40134
|
primary_color?: string | undefined;
|
|
40080
40135
|
secondary_color?: string | undefined;
|
|
40136
|
+
logo_url?: string | undefined;
|
|
40137
|
+
customer_portal_theme?: {
|
|
40138
|
+
primary_color?: string | undefined;
|
|
40139
|
+
primary_foreground_color?: string | undefined;
|
|
40140
|
+
secondary_color?: string | undefined;
|
|
40141
|
+
secondary_foreground_color?: string | undefined;
|
|
40142
|
+
} | undefined;
|
|
40081
40143
|
}, {
|
|
40082
40144
|
name: string | null;
|
|
40083
40145
|
workspace_id: string;
|
|
40084
40146
|
created_at: string;
|
|
40085
40147
|
customization_profile_id: string;
|
|
40086
|
-
logo_url?: string | undefined;
|
|
40087
40148
|
primary_color?: string | undefined;
|
|
40088
40149
|
secondary_color?: string | undefined;
|
|
40150
|
+
logo_url?: string | undefined;
|
|
40151
|
+
customer_portal_theme?: {
|
|
40152
|
+
primary_color?: string | undefined;
|
|
40153
|
+
primary_foreground_color?: string | undefined;
|
|
40154
|
+
secondary_color?: string | undefined;
|
|
40155
|
+
secondary_foreground_color?: string | undefined;
|
|
40156
|
+
} | undefined;
|
|
40089
40157
|
}>;
|
|
40090
40158
|
type CustomizationProfile = z.infer<typeof customization_profile>;
|
|
40091
40159
|
|
|
@@ -51440,13 +51508,13 @@ declare const instant_key: z.ZodObject<{
|
|
|
51440
51508
|
secondary_color: z.ZodOptional<z.ZodString>;
|
|
51441
51509
|
logo_url: z.ZodOptional<z.ZodString>;
|
|
51442
51510
|
}, "strip", z.ZodTypeAny, {
|
|
51443
|
-
logo_url?: string | undefined;
|
|
51444
51511
|
primary_color?: string | undefined;
|
|
51445
51512
|
secondary_color?: string | undefined;
|
|
51446
|
-
}, {
|
|
51447
51513
|
logo_url?: string | undefined;
|
|
51514
|
+
}, {
|
|
51448
51515
|
primary_color?: string | undefined;
|
|
51449
51516
|
secondary_color?: string | undefined;
|
|
51517
|
+
logo_url?: string | undefined;
|
|
51450
51518
|
}>>;
|
|
51451
51519
|
}, "strip", z.ZodTypeAny, {
|
|
51452
51520
|
workspace_id: string;
|
|
@@ -51458,9 +51526,9 @@ declare const instant_key: z.ZodObject<{
|
|
|
51458
51526
|
instant_key_id: string;
|
|
51459
51527
|
customization_profile_id?: string | undefined;
|
|
51460
51528
|
customization?: {
|
|
51461
|
-
logo_url?: string | undefined;
|
|
51462
51529
|
primary_color?: string | undefined;
|
|
51463
51530
|
secondary_color?: string | undefined;
|
|
51531
|
+
logo_url?: string | undefined;
|
|
51464
51532
|
} | undefined;
|
|
51465
51533
|
}, {
|
|
51466
51534
|
workspace_id: string;
|
|
@@ -51472,9 +51540,9 @@ declare const instant_key: z.ZodObject<{
|
|
|
51472
51540
|
instant_key_id: string;
|
|
51473
51541
|
customization_profile_id?: string | undefined;
|
|
51474
51542
|
customization?: {
|
|
51475
|
-
logo_url?: string | undefined;
|
|
51476
51543
|
primary_color?: string | undefined;
|
|
51477
51544
|
secondary_color?: string | undefined;
|
|
51545
|
+
logo_url?: string | undefined;
|
|
51478
51546
|
} | undefined;
|
|
51479
51547
|
}>;
|
|
51480
51548
|
type InstantKey = z.infer<typeof instant_key>;
|
|
@@ -56423,6 +56491,23 @@ declare const _default: {
|
|
|
56423
56491
|
format: string;
|
|
56424
56492
|
type: string;
|
|
56425
56493
|
};
|
|
56494
|
+
customer_portal_theme: {
|
|
56495
|
+
properties: {
|
|
56496
|
+
primary_color: {
|
|
56497
|
+
type: string;
|
|
56498
|
+
};
|
|
56499
|
+
primary_foreground_color: {
|
|
56500
|
+
type: string;
|
|
56501
|
+
};
|
|
56502
|
+
secondary_color: {
|
|
56503
|
+
type: string;
|
|
56504
|
+
};
|
|
56505
|
+
secondary_foreground_color: {
|
|
56506
|
+
type: string;
|
|
56507
|
+
};
|
|
56508
|
+
};
|
|
56509
|
+
type: string;
|
|
56510
|
+
};
|
|
56426
56511
|
customization_profile_id: {
|
|
56427
56512
|
format: string;
|
|
56428
56513
|
type: string;
|
|
@@ -84323,6 +84408,11 @@ declare const _default: {
|
|
|
84323
84408
|
description: string;
|
|
84324
84409
|
type: string;
|
|
84325
84410
|
};
|
|
84411
|
+
customization_profile_id: {
|
|
84412
|
+
description: string;
|
|
84413
|
+
format: string;
|
|
84414
|
+
type: string;
|
|
84415
|
+
};
|
|
84326
84416
|
exclude: {
|
|
84327
84417
|
default: boolean;
|
|
84328
84418
|
description: string;
|
|
@@ -96626,6 +96716,11 @@ declare const _default: {
|
|
|
96626
96716
|
description: string;
|
|
96627
96717
|
type: string;
|
|
96628
96718
|
};
|
|
96719
|
+
customization_profile_id: {
|
|
96720
|
+
description: string;
|
|
96721
|
+
format: string;
|
|
96722
|
+
type: string;
|
|
96723
|
+
};
|
|
96629
96724
|
exclude: {
|
|
96630
96725
|
default: boolean;
|
|
96631
96726
|
description: string;
|
|
@@ -97022,6 +97117,11 @@ declare const _default: {
|
|
|
97022
97117
|
description: string;
|
|
97023
97118
|
type: string;
|
|
97024
97119
|
};
|
|
97120
|
+
customization_profile_id: {
|
|
97121
|
+
description: string;
|
|
97122
|
+
format: string;
|
|
97123
|
+
type: string;
|
|
97124
|
+
};
|
|
97025
97125
|
exclude: {
|
|
97026
97126
|
default: boolean;
|
|
97027
97127
|
description: string;
|
|
@@ -109697,6 +109797,23 @@ declare const _default: {
|
|
|
109697
109797
|
'application/json': {
|
|
109698
109798
|
schema: {
|
|
109699
109799
|
properties: {
|
|
109800
|
+
customer_portal_theme: {
|
|
109801
|
+
properties: {
|
|
109802
|
+
primary_color: {
|
|
109803
|
+
type: string;
|
|
109804
|
+
};
|
|
109805
|
+
primary_foreground_color: {
|
|
109806
|
+
type: string;
|
|
109807
|
+
};
|
|
109808
|
+
secondary_color: {
|
|
109809
|
+
type: string;
|
|
109810
|
+
};
|
|
109811
|
+
secondary_foreground_color: {
|
|
109812
|
+
type: string;
|
|
109813
|
+
};
|
|
109814
|
+
};
|
|
109815
|
+
type: string;
|
|
109816
|
+
};
|
|
109700
109817
|
name: {
|
|
109701
109818
|
default: null;
|
|
109702
109819
|
nullable: boolean;
|
|
@@ -109709,7 +109826,6 @@ declare const _default: {
|
|
|
109709
109826
|
type: string;
|
|
109710
109827
|
};
|
|
109711
109828
|
};
|
|
109712
|
-
required: string[];
|
|
109713
109829
|
type: string;
|
|
109714
109830
|
};
|
|
109715
109831
|
};
|
|
@@ -110080,6 +110196,24 @@ declare const _default: {
|
|
|
110080
110196
|
'application/json': {
|
|
110081
110197
|
schema: {
|
|
110082
110198
|
properties: {
|
|
110199
|
+
customer_portal_theme: {
|
|
110200
|
+
nullable: boolean;
|
|
110201
|
+
properties: {
|
|
110202
|
+
primary_color: {
|
|
110203
|
+
type: string;
|
|
110204
|
+
};
|
|
110205
|
+
primary_foreground_color: {
|
|
110206
|
+
type: string;
|
|
110207
|
+
};
|
|
110208
|
+
secondary_color: {
|
|
110209
|
+
type: string;
|
|
110210
|
+
};
|
|
110211
|
+
secondary_foreground_color: {
|
|
110212
|
+
type: string;
|
|
110213
|
+
};
|
|
110214
|
+
};
|
|
110215
|
+
type: string;
|
|
110216
|
+
};
|
|
110083
110217
|
customization_profile_id: {
|
|
110084
110218
|
format: string;
|
|
110085
110219
|
type: string;
|
|
@@ -110162,6 +110296,24 @@ declare const _default: {
|
|
|
110162
110296
|
'application/json': {
|
|
110163
110297
|
schema: {
|
|
110164
110298
|
properties: {
|
|
110299
|
+
customer_portal_theme: {
|
|
110300
|
+
nullable: boolean;
|
|
110301
|
+
properties: {
|
|
110302
|
+
primary_color: {
|
|
110303
|
+
type: string;
|
|
110304
|
+
};
|
|
110305
|
+
primary_foreground_color: {
|
|
110306
|
+
type: string;
|
|
110307
|
+
};
|
|
110308
|
+
secondary_color: {
|
|
110309
|
+
type: string;
|
|
110310
|
+
};
|
|
110311
|
+
secondary_foreground_color: {
|
|
110312
|
+
type: string;
|
|
110313
|
+
};
|
|
110314
|
+
};
|
|
110315
|
+
type: string;
|
|
110316
|
+
};
|
|
110165
110317
|
customization_profile_id: {
|
|
110166
110318
|
format: string;
|
|
110167
110319
|
type: string;
|
|
@@ -132042,6 +132194,12 @@ type Routes = {
|
|
|
132042
132194
|
logo_url?: string | undefined;
|
|
132043
132195
|
primary_color?: string | undefined;
|
|
132044
132196
|
secondary_color?: string | undefined;
|
|
132197
|
+
customer_portal_theme?: {
|
|
132198
|
+
primary_color?: string | undefined;
|
|
132199
|
+
primary_foreground_color?: string | undefined;
|
|
132200
|
+
secondary_color?: string | undefined;
|
|
132201
|
+
secondary_foreground_color?: string | undefined;
|
|
132202
|
+
} | undefined;
|
|
132045
132203
|
}[] | undefined;
|
|
132046
132204
|
};
|
|
132047
132205
|
};
|
|
@@ -143185,6 +143343,8 @@ type Routes = {
|
|
|
143185
143343
|
configure?: {
|
|
143186
143344
|
/** Whether to exclude this feature from the portal. */
|
|
143187
143345
|
exclude?: boolean;
|
|
143346
|
+
/** The ID of the customization profile to use for the portal. */
|
|
143347
|
+
customization_profile_id?: string | undefined;
|
|
143188
143348
|
/** Indicates whether the customer can customize the access automation rules for their properties. */
|
|
143189
143349
|
allow_access_automation_rule_customization?: boolean;
|
|
143190
143350
|
/** Indicates whether the customer can customize the Instant Key profile for their properties. */
|
|
@@ -170882,6 +171042,8 @@ type Routes = {
|
|
|
170882
171042
|
configure?: {
|
|
170883
171043
|
/** Whether to exclude this feature from the portal. */
|
|
170884
171044
|
exclude?: boolean;
|
|
171045
|
+
/** The ID of the customization profile to use for the portal. */
|
|
171046
|
+
customization_profile_id?: string | undefined;
|
|
170885
171047
|
/** Indicates whether the customer can customize the access automation rules for their properties. */
|
|
170886
171048
|
allow_access_automation_rule_customization?: boolean;
|
|
170887
171049
|
/** Indicates whether the customer can customize the Instant Key profile for their properties. */
|
|
@@ -193107,8 +193269,14 @@ type Routes = {
|
|
|
193107
193269
|
queryParams: {};
|
|
193108
193270
|
jsonBody: {
|
|
193109
193271
|
name?: string | null;
|
|
193110
|
-
primary_color
|
|
193111
|
-
secondary_color
|
|
193272
|
+
primary_color?: string | undefined;
|
|
193273
|
+
secondary_color?: string | undefined;
|
|
193274
|
+
customer_portal_theme?: {
|
|
193275
|
+
primary_color?: string | undefined;
|
|
193276
|
+
primary_foreground_color?: string | undefined;
|
|
193277
|
+
secondary_color?: string | undefined;
|
|
193278
|
+
secondary_foreground_color?: string | undefined;
|
|
193279
|
+
} | undefined;
|
|
193112
193280
|
};
|
|
193113
193281
|
commonParams: {};
|
|
193114
193282
|
formData: {};
|
|
@@ -193122,6 +193290,12 @@ type Routes = {
|
|
|
193122
193290
|
logo_url?: string | undefined;
|
|
193123
193291
|
primary_color?: string | undefined;
|
|
193124
193292
|
secondary_color?: string | undefined;
|
|
193293
|
+
customer_portal_theme?: {
|
|
193294
|
+
primary_color?: string | undefined;
|
|
193295
|
+
primary_foreground_color?: string | undefined;
|
|
193296
|
+
secondary_color?: string | undefined;
|
|
193297
|
+
secondary_foreground_color?: string | undefined;
|
|
193298
|
+
} | undefined;
|
|
193125
193299
|
};
|
|
193126
193300
|
};
|
|
193127
193301
|
};
|
|
@@ -193144,6 +193318,12 @@ type Routes = {
|
|
|
193144
193318
|
logo_url?: string | undefined;
|
|
193145
193319
|
primary_color?: string | undefined;
|
|
193146
193320
|
secondary_color?: string | undefined;
|
|
193321
|
+
customer_portal_theme?: {
|
|
193322
|
+
primary_color?: string | undefined;
|
|
193323
|
+
primary_foreground_color?: string | undefined;
|
|
193324
|
+
secondary_color?: string | undefined;
|
|
193325
|
+
secondary_foreground_color?: string | undefined;
|
|
193326
|
+
} | undefined;
|
|
193147
193327
|
};
|
|
193148
193328
|
};
|
|
193149
193329
|
};
|
|
@@ -193166,6 +193346,12 @@ type Routes = {
|
|
|
193166
193346
|
logo_url?: string | undefined;
|
|
193167
193347
|
primary_color?: string | undefined;
|
|
193168
193348
|
secondary_color?: string | undefined;
|
|
193349
|
+
customer_portal_theme?: {
|
|
193350
|
+
primary_color?: string | undefined;
|
|
193351
|
+
primary_foreground_color?: string | undefined;
|
|
193352
|
+
secondary_color?: string | undefined;
|
|
193353
|
+
secondary_foreground_color?: string | undefined;
|
|
193354
|
+
} | undefined;
|
|
193169
193355
|
}[];
|
|
193170
193356
|
};
|
|
193171
193357
|
};
|
|
@@ -193178,6 +193364,12 @@ type Routes = {
|
|
|
193178
193364
|
name?: (string | undefined) | null;
|
|
193179
193365
|
primary_color?: string | undefined;
|
|
193180
193366
|
secondary_color?: string | undefined;
|
|
193367
|
+
customer_portal_theme?: ({
|
|
193368
|
+
primary_color?: string | undefined;
|
|
193369
|
+
primary_foreground_color?: string | undefined;
|
|
193370
|
+
secondary_color?: string | undefined;
|
|
193371
|
+
secondary_foreground_color?: string | undefined;
|
|
193372
|
+
} | undefined) | null;
|
|
193181
193373
|
};
|
|
193182
193374
|
commonParams: {};
|
|
193183
193375
|
formData: {};
|
|
@@ -200365,6 +200557,12 @@ type Routes = {
|
|
|
200365
200557
|
logo_url?: string | undefined;
|
|
200366
200558
|
primary_color?: string | undefined;
|
|
200367
200559
|
secondary_color?: string | undefined;
|
|
200560
|
+
customer_portal_theme?: {
|
|
200561
|
+
primary_color?: string | undefined;
|
|
200562
|
+
primary_foreground_color?: string | undefined;
|
|
200563
|
+
secondary_color?: string | undefined;
|
|
200564
|
+
secondary_foreground_color?: string | undefined;
|
|
200565
|
+
} | undefined;
|
|
200368
200566
|
}[] | undefined;
|
|
200369
200567
|
};
|
|
200370
200568
|
};
|
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.",
|
|
@@ -55561,6 +55582,11 @@ var openapi_default = {
|
|
|
55561
55582
|
description: "Indicates whether the customer can customize the Instant Key profile for their properties.",
|
|
55562
55583
|
type: "boolean"
|
|
55563
55584
|
},
|
|
55585
|
+
customization_profile_id: {
|
|
55586
|
+
description: "The ID of the customization profile to use for the portal.",
|
|
55587
|
+
format: "uuid",
|
|
55588
|
+
type: "string"
|
|
55589
|
+
},
|
|
55564
55590
|
exclude: {
|
|
55565
55591
|
default: false,
|
|
55566
55592
|
description: "Whether to exclude this feature from the portal.",
|
|
@@ -55847,6 +55873,11 @@ var openapi_default = {
|
|
|
55847
55873
|
description: "Indicates whether the customer can customize the Instant Key profile for their properties.",
|
|
55848
55874
|
type: "boolean"
|
|
55849
55875
|
},
|
|
55876
|
+
customization_profile_id: {
|
|
55877
|
+
description: "The ID of the customization profile to use for the portal.",
|
|
55878
|
+
format: "uuid",
|
|
55879
|
+
type: "string"
|
|
55880
|
+
},
|
|
55850
55881
|
exclude: {
|
|
55851
55882
|
default: false,
|
|
55852
55883
|
description: "Whether to exclude this feature from the portal.",
|
|
@@ -66197,11 +66228,19 @@ var openapi_default = {
|
|
|
66197
66228
|
"application/json": {
|
|
66198
66229
|
schema: {
|
|
66199
66230
|
properties: {
|
|
66231
|
+
customer_portal_theme: {
|
|
66232
|
+
properties: {
|
|
66233
|
+
primary_color: { type: "string" },
|
|
66234
|
+
primary_foreground_color: { type: "string" },
|
|
66235
|
+
secondary_color: { type: "string" },
|
|
66236
|
+
secondary_foreground_color: { type: "string" }
|
|
66237
|
+
},
|
|
66238
|
+
type: "object"
|
|
66239
|
+
},
|
|
66200
66240
|
name: { default: null, nullable: true, type: "string" },
|
|
66201
66241
|
primary_color: { type: "string" },
|
|
66202
66242
|
secondary_color: { type: "string" }
|
|
66203
66243
|
},
|
|
66204
|
-
required: ["primary_color", "secondary_color"],
|
|
66205
66244
|
type: "object"
|
|
66206
66245
|
}
|
|
66207
66246
|
}
|
|
@@ -66465,6 +66504,16 @@ var openapi_default = {
|
|
|
66465
66504
|
"application/json": {
|
|
66466
66505
|
schema: {
|
|
66467
66506
|
properties: {
|
|
66507
|
+
customer_portal_theme: {
|
|
66508
|
+
nullable: true,
|
|
66509
|
+
properties: {
|
|
66510
|
+
primary_color: { type: "string" },
|
|
66511
|
+
primary_foreground_color: { type: "string" },
|
|
66512
|
+
secondary_color: { type: "string" },
|
|
66513
|
+
secondary_foreground_color: { type: "string" }
|
|
66514
|
+
},
|
|
66515
|
+
type: "object"
|
|
66516
|
+
},
|
|
66468
66517
|
customization_profile_id: { format: "uuid", type: "string" },
|
|
66469
66518
|
name: { nullable: true, type: "string" },
|
|
66470
66519
|
primary_color: { type: "string" },
|
|
@@ -66514,6 +66563,16 @@ var openapi_default = {
|
|
|
66514
66563
|
"application/json": {
|
|
66515
66564
|
schema: {
|
|
66516
66565
|
properties: {
|
|
66566
|
+
customer_portal_theme: {
|
|
66567
|
+
nullable: true,
|
|
66568
|
+
properties: {
|
|
66569
|
+
primary_color: { type: "string" },
|
|
66570
|
+
primary_foreground_color: { type: "string" },
|
|
66571
|
+
secondary_color: { type: "string" },
|
|
66572
|
+
secondary_foreground_color: { type: "string" }
|
|
66573
|
+
},
|
|
66574
|
+
type: "object"
|
|
66575
|
+
},
|
|
66517
66576
|
customization_profile_id: { format: "uuid", type: "string" },
|
|
66518
66577
|
name: { nullable: true, type: "string" },
|
|
66519
66578
|
primary_color: { type: "string" },
|