@seamapi/types 1.500.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.
Files changed (32) hide show
  1. package/dist/connect.cjs +44 -18
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +99 -13
  4. package/dist/index.cjs +44 -18
  5. package/dist/index.cjs.map +1 -1
  6. package/dist/index.d.cts +1 -1
  7. package/lib/seam/connect/model-types.d.ts +1 -1
  8. package/lib/seam/connect/models/batch.d.ts +98 -12
  9. package/lib/seam/connect/models/batch.js +3 -0
  10. package/lib/seam/connect/models/batch.js.map +1 -1
  11. package/lib/seam/connect/models/{customization_profiles/customization_profile.js → customization-profiles/customization-profile.js} +1 -1
  12. package/lib/seam/connect/models/{customization_profiles/customization_profile.js.map → customization-profiles/customization-profile.js.map} +1 -1
  13. package/lib/seam/connect/models/customization-profiles/index.d.ts +1 -0
  14. package/lib/seam/connect/models/customization-profiles/index.js +2 -0
  15. package/lib/seam/connect/models/customization-profiles/index.js.map +1 -0
  16. package/lib/seam/connect/models/index.d.ts +1 -1
  17. package/lib/seam/connect/models/index.js +1 -1
  18. package/lib/seam/connect/models/index.js.map +1 -1
  19. package/lib/seam/connect/models/instant-keys/instant-key.d.ts +4 -4
  20. package/lib/seam/connect/openapi.d.ts +24 -0
  21. package/lib/seam/connect/openapi.js +24 -0
  22. package/lib/seam/connect/openapi.js.map +1 -1
  23. package/lib/seam/connect/route-types.d.ts +18 -0
  24. package/package.json +1 -1
  25. package/src/lib/seam/connect/model-types.ts +1 -0
  26. package/src/lib/seam/connect/models/batch.ts +3 -0
  27. package/src/lib/seam/connect/models/customization-profiles/index.ts +1 -0
  28. package/src/lib/seam/connect/models/index.ts +1 -1
  29. package/src/lib/seam/connect/openapi.ts +24 -0
  30. package/src/lib/seam/connect/route-types.ts +22 -0
  31. package/lib/seam/connect/models/{customization_profiles/customization_profile.d.ts → customization-profiles/customization-profile.d.ts} +2 -2
  32. /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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.500.0",
3
+ "version": "1.501.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -20,6 +20,7 @@ export type {
20
20
  ConnectedAccountError,
21
21
  ConnectedAccountWarning,
22
22
  ConnectWebview,
23
+ CustomizationProfile,
23
24
  CustomMetadata,
24
25
  Device,
25
26
  DeviceError,
@@ -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 './customization_profiles/customization_profile.js'
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'
@@ -29291,6 +29291,12 @@ export default {
29291
29291
  },
29292
29292
  type: 'array',
29293
29293
  },
29294
+ customization_profiles: {
29295
+ items: {
29296
+ $ref: '#/components/schemas/customization_profile',
29297
+ },
29298
+ type: 'array',
29299
+ },
29294
29300
  devices: {
29295
29301
  items: { $ref: '#/components/schemas/device' },
29296
29302
  type: 'array',
@@ -29506,6 +29512,12 @@ export default {
29506
29512
  },
29507
29513
  type: 'array',
29508
29514
  },
29515
+ customization_profiles: {
29516
+ items: {
29517
+ $ref: '#/components/schemas/customization_profile',
29518
+ },
29519
+ type: 'array',
29520
+ },
29509
29521
  devices: {
29510
29522
  items: { $ref: '#/components/schemas/device' },
29511
29523
  type: 'array',
@@ -56806,6 +56818,12 @@ export default {
56806
56818
  },
56807
56819
  type: 'array',
56808
56820
  },
56821
+ customization_profiles: {
56822
+ items: {
56823
+ $ref: '#/components/schemas/customization_profile',
56824
+ },
56825
+ type: 'array',
56826
+ },
56809
56827
  devices: {
56810
56828
  items: { $ref: '#/components/schemas/device' },
56811
56829
  type: 'array',
@@ -56999,6 +57017,12 @@ export default {
56999
57017
  },
57000
57018
  type: 'array',
57001
57019
  },
57020
+ customization_profiles: {
57021
+ items: {
57022
+ $ref: '#/components/schemas/customization_profile',
57023
+ },
57024
+ type: 'array',
57025
+ },
57002
57026
  devices: {
57003
57027
  items: { $ref: '#/components/schemas/device' },
57004
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>;