@seamapi/types 1.499.0 → 1.501.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 +71 -133
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +140 -183
- package/dist/index.cjs +71 -133
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/lib/seam/connect/model-types.d.ts +1 -1
- package/lib/seam/connect/models/batch.d.ts +98 -12
- package/lib/seam/connect/models/batch.js +3 -0
- package/lib/seam/connect/models/batch.js.map +1 -1
- package/lib/seam/connect/models/{customization_profiles/customization_profile.js → customization-profiles/customization-profile.js} +1 -1
- package/lib/seam/connect/models/{customization_profiles/customization_profile.js.map → customization-profiles/customization-profile.js.map} +1 -1
- package/lib/seam/connect/models/customization-profiles/index.d.ts +1 -0
- package/lib/seam/connect/models/customization-profiles/index.js +2 -0
- package/lib/seam/connect/models/customization-profiles/index.js.map +1 -0
- package/lib/seam/connect/models/index.d.ts +1 -1
- package/lib/seam/connect/models/index.js +1 -1
- package/lib/seam/connect/models/index.js.map +1 -1
- package/lib/seam/connect/models/instant-keys/instant-key.d.ts +4 -4
- package/lib/seam/connect/openapi.d.ts +65 -170
- package/lib/seam/connect/openapi.js +51 -115
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +18 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/model-types.ts +1 -0
- package/src/lib/seam/connect/models/batch.ts +3 -0
- package/src/lib/seam/connect/models/customization-profiles/index.ts +1 -0
- package/src/lib/seam/connect/models/index.ts +1 -1
- package/src/lib/seam/connect/openapi.ts +51 -115
- package/src/lib/seam/connect/route-types.ts +22 -0
- package/lib/seam/connect/models/{customization_profiles/customization_profile.d.ts → customization-profiles/customization-profile.d.ts} +2 -2
- /package/src/lib/seam/connect/models/{customization_profiles/customization_profile.ts → customization-profiles/customization-profile.ts} +0 -0
|
@@ -20161,6 +20161,15 @@ export type Routes = {
|
|
|
20161
20161
|
/** Noise level in decibels for the noise threshold. */
|
|
20162
20162
|
noise_threshold_decibels: number;
|
|
20163
20163
|
}[] | undefined;
|
|
20164
|
+
customization_profiles?: {
|
|
20165
|
+
workspace_id: string;
|
|
20166
|
+
name: string | null;
|
|
20167
|
+
customization_profile_id: string;
|
|
20168
|
+
created_at: string;
|
|
20169
|
+
logo_url?: string | undefined;
|
|
20170
|
+
primary_color?: string | undefined;
|
|
20171
|
+
secondary_color?: string | undefined;
|
|
20172
|
+
}[] | undefined;
|
|
20164
20173
|
};
|
|
20165
20174
|
};
|
|
20166
20175
|
};
|
|
@@ -86127,6 +86136,15 @@ export type Routes = {
|
|
|
86127
86136
|
/** Noise level in decibels for the noise threshold. */
|
|
86128
86137
|
noise_threshold_decibels: number;
|
|
86129
86138
|
}[] | undefined;
|
|
86139
|
+
customization_profiles?: {
|
|
86140
|
+
workspace_id: string;
|
|
86141
|
+
name: string | null;
|
|
86142
|
+
customization_profile_id: string;
|
|
86143
|
+
created_at: string;
|
|
86144
|
+
logo_url?: string | undefined;
|
|
86145
|
+
primary_color?: string | undefined;
|
|
86146
|
+
secondary_color?: string | undefined;
|
|
86147
|
+
}[] | undefined;
|
|
86130
86148
|
};
|
|
86131
86149
|
};
|
|
86132
86150
|
};
|
package/package.json
CHANGED
|
@@ -18,6 +18,7 @@ import { action_attempt } from './action-attempts/action-attempt.js'
|
|
|
18
18
|
import { client_session } from './client-sessions/client-session.js'
|
|
19
19
|
import { connect_webview } from './connect-webviews/connect-webview.js'
|
|
20
20
|
import { connected_account } from './connected-accounts/index.js'
|
|
21
|
+
import { customization_profile } from './customization-profiles/index.js'
|
|
21
22
|
import { device } from './devices/index.js'
|
|
22
23
|
import { unmanaged_device } from './devices/unmanaged-device.js'
|
|
23
24
|
import { seam_event } from './events/seam-event.js'
|
|
@@ -90,6 +91,7 @@ export const workspaces_batch = z
|
|
|
90
91
|
thermostat_daily_programs: thermostat_daily_program.array().optional(),
|
|
91
92
|
thermostat_schedules: thermostat_schedule.array().optional(),
|
|
92
93
|
noise_thresholds: noise_threshold.array().optional(),
|
|
94
|
+
customization_profiles: customization_profile.array().optional(),
|
|
93
95
|
})
|
|
94
96
|
.describe('A batch of workspace resources.')
|
|
95
97
|
|
|
@@ -127,6 +129,7 @@ export const batch = z
|
|
|
127
129
|
thermostat_daily_programs: thermostat_daily_program.array().optional(),
|
|
128
130
|
thermostat_schedules: thermostat_schedule.array().optional(),
|
|
129
131
|
noise_thresholds: noise_threshold.array().optional(),
|
|
132
|
+
customization_profiles: customization_profile.array().optional(),
|
|
130
133
|
})
|
|
131
134
|
.describe('A batch of workspace resources.')
|
|
132
135
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './customization-profile.js'
|
|
@@ -13,7 +13,7 @@ export * from './customer/access-grant-resources.js'
|
|
|
13
13
|
export * from './customer/index.js'
|
|
14
14
|
export * from './customer/location-resources.js'
|
|
15
15
|
export * from './customer/user-identity-resources.js'
|
|
16
|
-
export * from './
|
|
16
|
+
export * from './customization-profiles/index.js'
|
|
17
17
|
export * from './devices/index.js'
|
|
18
18
|
export * from './events/index.js'
|
|
19
19
|
export * from './instant-keys/index.js'
|
|
@@ -9200,6 +9200,28 @@ export default {
|
|
|
9200
9200
|
type: 'object',
|
|
9201
9201
|
'x-route-path': '/connected_accounts',
|
|
9202
9202
|
},
|
|
9203
|
+
customization_profile: {
|
|
9204
|
+
description: 'A customization profile.',
|
|
9205
|
+
properties: {
|
|
9206
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
9207
|
+
customization_profile_id: { format: 'uuid', type: 'string' },
|
|
9208
|
+
logo_url: { format: 'uri', type: 'string' },
|
|
9209
|
+
name: { nullable: true, type: 'string' },
|
|
9210
|
+
primary_color: { type: 'string' },
|
|
9211
|
+
secondary_color: { type: 'string' },
|
|
9212
|
+
workspace_id: { format: 'uuid', type: 'string' },
|
|
9213
|
+
},
|
|
9214
|
+
required: [
|
|
9215
|
+
'workspace_id',
|
|
9216
|
+
'name',
|
|
9217
|
+
'customization_profile_id',
|
|
9218
|
+
'created_at',
|
|
9219
|
+
],
|
|
9220
|
+
type: 'object',
|
|
9221
|
+
'x-route-path': '/workspaces/customization_profiles',
|
|
9222
|
+
'x-title': 'Customization Profile',
|
|
9223
|
+
'x-undocumented': 'Unreleased.',
|
|
9224
|
+
},
|
|
9203
9225
|
device: {
|
|
9204
9226
|
description:
|
|
9205
9227
|
'Represents a [device](https://docs.seam.co/latest/core-concepts/devices) that has been connected to Seam.',
|
|
@@ -29269,6 +29291,12 @@ export default {
|
|
|
29269
29291
|
},
|
|
29270
29292
|
type: 'array',
|
|
29271
29293
|
},
|
|
29294
|
+
customization_profiles: {
|
|
29295
|
+
items: {
|
|
29296
|
+
$ref: '#/components/schemas/customization_profile',
|
|
29297
|
+
},
|
|
29298
|
+
type: 'array',
|
|
29299
|
+
},
|
|
29272
29300
|
devices: {
|
|
29273
29301
|
items: { $ref: '#/components/schemas/device' },
|
|
29274
29302
|
type: 'array',
|
|
@@ -29484,6 +29512,12 @@ export default {
|
|
|
29484
29512
|
},
|
|
29485
29513
|
type: 'array',
|
|
29486
29514
|
},
|
|
29515
|
+
customization_profiles: {
|
|
29516
|
+
items: {
|
|
29517
|
+
$ref: '#/components/schemas/customization_profile',
|
|
29518
|
+
},
|
|
29519
|
+
type: 'array',
|
|
29520
|
+
},
|
|
29487
29521
|
devices: {
|
|
29488
29522
|
items: { $ref: '#/components/schemas/device' },
|
|
29489
29523
|
type: 'array',
|
|
@@ -56343,29 +56377,7 @@ export default {
|
|
|
56343
56377
|
schema: {
|
|
56344
56378
|
properties: {
|
|
56345
56379
|
customization_profile: {
|
|
56346
|
-
|
|
56347
|
-
properties: {
|
|
56348
|
-
created_at: { format: 'date-time', type: 'string' },
|
|
56349
|
-
customization_profile_id: {
|
|
56350
|
-
format: 'uuid',
|
|
56351
|
-
type: 'string',
|
|
56352
|
-
},
|
|
56353
|
-
logo_url: { format: 'uri', type: 'string' },
|
|
56354
|
-
name: { nullable: true, type: 'string' },
|
|
56355
|
-
primary_color: { type: 'string' },
|
|
56356
|
-
secondary_color: { type: 'string' },
|
|
56357
|
-
workspace_id: { format: 'uuid', type: 'string' },
|
|
56358
|
-
},
|
|
56359
|
-
required: [
|
|
56360
|
-
'workspace_id',
|
|
56361
|
-
'name',
|
|
56362
|
-
'customization_profile_id',
|
|
56363
|
-
'created_at',
|
|
56364
|
-
],
|
|
56365
|
-
type: 'object',
|
|
56366
|
-
'x-route-path': '/workspaces/customization_profiles',
|
|
56367
|
-
'x-title': 'Customization Profile',
|
|
56368
|
-
'x-undocumented': 'Unreleased.',
|
|
56380
|
+
$ref: '#/components/schemas/customization_profile',
|
|
56369
56381
|
},
|
|
56370
56382
|
ok: { type: 'boolean' },
|
|
56371
56383
|
},
|
|
@@ -56414,29 +56426,7 @@ export default {
|
|
|
56414
56426
|
schema: {
|
|
56415
56427
|
properties: {
|
|
56416
56428
|
customization_profile: {
|
|
56417
|
-
|
|
56418
|
-
properties: {
|
|
56419
|
-
created_at: { format: 'date-time', type: 'string' },
|
|
56420
|
-
customization_profile_id: {
|
|
56421
|
-
format: 'uuid',
|
|
56422
|
-
type: 'string',
|
|
56423
|
-
},
|
|
56424
|
-
logo_url: { format: 'uri', type: 'string' },
|
|
56425
|
-
name: { nullable: true, type: 'string' },
|
|
56426
|
-
primary_color: { type: 'string' },
|
|
56427
|
-
secondary_color: { type: 'string' },
|
|
56428
|
-
workspace_id: { format: 'uuid', type: 'string' },
|
|
56429
|
-
},
|
|
56430
|
-
required: [
|
|
56431
|
-
'workspace_id',
|
|
56432
|
-
'name',
|
|
56433
|
-
'customization_profile_id',
|
|
56434
|
-
'created_at',
|
|
56435
|
-
],
|
|
56436
|
-
type: 'object',
|
|
56437
|
-
'x-route-path': '/workspaces/customization_profiles',
|
|
56438
|
-
'x-title': 'Customization Profile',
|
|
56439
|
-
'x-undocumented': 'Unreleased.',
|
|
56429
|
+
$ref: '#/components/schemas/customization_profile',
|
|
56440
56430
|
},
|
|
56441
56431
|
ok: { type: 'boolean' },
|
|
56442
56432
|
},
|
|
@@ -56488,29 +56478,7 @@ export default {
|
|
|
56488
56478
|
schema: {
|
|
56489
56479
|
properties: {
|
|
56490
56480
|
customization_profile: {
|
|
56491
|
-
|
|
56492
|
-
properties: {
|
|
56493
|
-
created_at: { format: 'date-time', type: 'string' },
|
|
56494
|
-
customization_profile_id: {
|
|
56495
|
-
format: 'uuid',
|
|
56496
|
-
type: 'string',
|
|
56497
|
-
},
|
|
56498
|
-
logo_url: { format: 'uri', type: 'string' },
|
|
56499
|
-
name: { nullable: true, type: 'string' },
|
|
56500
|
-
primary_color: { type: 'string' },
|
|
56501
|
-
secondary_color: { type: 'string' },
|
|
56502
|
-
workspace_id: { format: 'uuid', type: 'string' },
|
|
56503
|
-
},
|
|
56504
|
-
required: [
|
|
56505
|
-
'workspace_id',
|
|
56506
|
-
'name',
|
|
56507
|
-
'customization_profile_id',
|
|
56508
|
-
'created_at',
|
|
56509
|
-
],
|
|
56510
|
-
type: 'object',
|
|
56511
|
-
'x-route-path': '/workspaces/customization_profiles',
|
|
56512
|
-
'x-title': 'Customization Profile',
|
|
56513
|
-
'x-undocumented': 'Unreleased.',
|
|
56481
|
+
$ref: '#/components/schemas/customization_profile',
|
|
56514
56482
|
},
|
|
56515
56483
|
ok: { type: 'boolean' },
|
|
56516
56484
|
},
|
|
@@ -56552,29 +56520,7 @@ export default {
|
|
|
56552
56520
|
properties: {
|
|
56553
56521
|
customization_profiles: {
|
|
56554
56522
|
items: {
|
|
56555
|
-
|
|
56556
|
-
properties: {
|
|
56557
|
-
created_at: { format: 'date-time', type: 'string' },
|
|
56558
|
-
customization_profile_id: {
|
|
56559
|
-
format: 'uuid',
|
|
56560
|
-
type: 'string',
|
|
56561
|
-
},
|
|
56562
|
-
logo_url: { format: 'uri', type: 'string' },
|
|
56563
|
-
name: { nullable: true, type: 'string' },
|
|
56564
|
-
primary_color: { type: 'string' },
|
|
56565
|
-
secondary_color: { type: 'string' },
|
|
56566
|
-
workspace_id: { format: 'uuid', type: 'string' },
|
|
56567
|
-
},
|
|
56568
|
-
required: [
|
|
56569
|
-
'workspace_id',
|
|
56570
|
-
'name',
|
|
56571
|
-
'customization_profile_id',
|
|
56572
|
-
'created_at',
|
|
56573
|
-
],
|
|
56574
|
-
type: 'object',
|
|
56575
|
-
'x-route-path': '/workspaces/customization_profiles',
|
|
56576
|
-
'x-title': 'Customization Profile',
|
|
56577
|
-
'x-undocumented': 'Unreleased.',
|
|
56523
|
+
$ref: '#/components/schemas/customization_profile',
|
|
56578
56524
|
},
|
|
56579
56525
|
type: 'array',
|
|
56580
56526
|
},
|
|
@@ -56616,29 +56562,7 @@ export default {
|
|
|
56616
56562
|
properties: {
|
|
56617
56563
|
customization_profiles: {
|
|
56618
56564
|
items: {
|
|
56619
|
-
|
|
56620
|
-
properties: {
|
|
56621
|
-
created_at: { format: 'date-time', type: 'string' },
|
|
56622
|
-
customization_profile_id: {
|
|
56623
|
-
format: 'uuid',
|
|
56624
|
-
type: 'string',
|
|
56625
|
-
},
|
|
56626
|
-
logo_url: { format: 'uri', type: 'string' },
|
|
56627
|
-
name: { nullable: true, type: 'string' },
|
|
56628
|
-
primary_color: { type: 'string' },
|
|
56629
|
-
secondary_color: { type: 'string' },
|
|
56630
|
-
workspace_id: { format: 'uuid', type: 'string' },
|
|
56631
|
-
},
|
|
56632
|
-
required: [
|
|
56633
|
-
'workspace_id',
|
|
56634
|
-
'name',
|
|
56635
|
-
'customization_profile_id',
|
|
56636
|
-
'created_at',
|
|
56637
|
-
],
|
|
56638
|
-
type: 'object',
|
|
56639
|
-
'x-route-path': '/workspaces/customization_profiles',
|
|
56640
|
-
'x-title': 'Customization Profile',
|
|
56641
|
-
'x-undocumented': 'Unreleased.',
|
|
56565
|
+
$ref: '#/components/schemas/customization_profile',
|
|
56642
56566
|
},
|
|
56643
56567
|
type: 'array',
|
|
56644
56568
|
},
|
|
@@ -56894,6 +56818,12 @@ export default {
|
|
|
56894
56818
|
},
|
|
56895
56819
|
type: 'array',
|
|
56896
56820
|
},
|
|
56821
|
+
customization_profiles: {
|
|
56822
|
+
items: {
|
|
56823
|
+
$ref: '#/components/schemas/customization_profile',
|
|
56824
|
+
},
|
|
56825
|
+
type: 'array',
|
|
56826
|
+
},
|
|
56897
56827
|
devices: {
|
|
56898
56828
|
items: { $ref: '#/components/schemas/device' },
|
|
56899
56829
|
type: 'array',
|
|
@@ -57087,6 +57017,12 @@ export default {
|
|
|
57087
57017
|
},
|
|
57088
57018
|
type: 'array',
|
|
57089
57019
|
},
|
|
57020
|
+
customization_profiles: {
|
|
57021
|
+
items: {
|
|
57022
|
+
$ref: '#/components/schemas/customization_profile',
|
|
57023
|
+
},
|
|
57024
|
+
type: 'array',
|
|
57025
|
+
},
|
|
57090
57026
|
devices: {
|
|
57091
57027
|
items: { $ref: '#/components/schemas/device' },
|
|
57092
57028
|
type: 'array',
|
|
@@ -23382,6 +23382,17 @@ export type Routes = {
|
|
|
23382
23382
|
noise_threshold_decibels: number
|
|
23383
23383
|
}[]
|
|
23384
23384
|
| undefined
|
|
23385
|
+
customization_profiles?:
|
|
23386
|
+
| {
|
|
23387
|
+
workspace_id: string
|
|
23388
|
+
name: string | null
|
|
23389
|
+
customization_profile_id: string
|
|
23390
|
+
created_at: string
|
|
23391
|
+
logo_url?: string | undefined
|
|
23392
|
+
primary_color?: string | undefined
|
|
23393
|
+
secondary_color?: string | undefined
|
|
23394
|
+
}[]
|
|
23395
|
+
| undefined
|
|
23385
23396
|
}
|
|
23386
23397
|
}
|
|
23387
23398
|
}
|
|
@@ -102203,6 +102214,17 @@ export type Routes = {
|
|
|
102203
102214
|
noise_threshold_decibels: number
|
|
102204
102215
|
}[]
|
|
102205
102216
|
| undefined
|
|
102217
|
+
customization_profiles?:
|
|
102218
|
+
| {
|
|
102219
|
+
workspace_id: string
|
|
102220
|
+
name: string | null
|
|
102221
|
+
customization_profile_id: string
|
|
102222
|
+
created_at: string
|
|
102223
|
+
logo_url?: string | undefined
|
|
102224
|
+
primary_color?: string | undefined
|
|
102225
|
+
secondary_color?: string | undefined
|
|
102226
|
+
}[]
|
|
102227
|
+
| undefined
|
|
102206
102228
|
}
|
|
102207
102229
|
}
|
|
102208
102230
|
}
|
|
@@ -12,16 +12,16 @@ export declare const customization_profile: z.ZodObject<{
|
|
|
12
12
|
workspace_id: string;
|
|
13
13
|
created_at: string;
|
|
14
14
|
customization_profile_id: string;
|
|
15
|
+
logo_url?: string | undefined;
|
|
15
16
|
primary_color?: string | undefined;
|
|
16
17
|
secondary_color?: string | undefined;
|
|
17
|
-
logo_url?: string | undefined;
|
|
18
18
|
}, {
|
|
19
19
|
name: string | null;
|
|
20
20
|
workspace_id: string;
|
|
21
21
|
created_at: string;
|
|
22
22
|
customization_profile_id: string;
|
|
23
|
+
logo_url?: string | undefined;
|
|
23
24
|
primary_color?: string | undefined;
|
|
24
25
|
secondary_color?: string | undefined;
|
|
25
|
-
logo_url?: string | undefined;
|
|
26
26
|
}>;
|
|
27
27
|
export type CustomizationProfile = z.infer<typeof customization_profile>;
|