@seamapi/types 1.1029.0 → 1.1031.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.
@@ -24,7 +24,7 @@ export declare const workspace: z.ZodObject<{
24
24
  inviter_logo_url?: string | undefined;
25
25
  }>;
26
26
  is_suspended: z.ZodBoolean;
27
- connect_partner_name: z.ZodNullable<z.ZodNullable<z.ZodString>>;
27
+ connect_partner_name: z.ZodNullable<z.ZodString>;
28
28
  publishable_key: z.ZodOptional<z.ZodString>;
29
29
  is_publishable_key_auth_enabled: z.ZodBoolean;
30
30
  organization_id: z.ZodNullable<z.ZodString>;
@@ -5,9 +5,12 @@ export const workspace = z.object({
5
5
  name: z
6
6
  .string()
7
7
  .describe('Name of the [workspace](https://docs.seam.co/core-concepts/workspaces).'),
8
- company_name: z
9
- .string()
10
- .describe('Company name associated with the [workspace](https://docs.seam.co/core-concepts/workspaces).'),
8
+ company_name: z.string().describe(`
9
+ ---
10
+ deprecated: Use \`connect_partner_name\` instead.
11
+ ---
12
+ Company name associated with the [workspace](https://docs.seam.co/core-concepts/workspaces).
13
+ `),
11
14
  is_sandbox: z
12
15
  .boolean()
13
16
  .describe('Indicates whether the workspace is a [sandbox workspace](https://docs.seam.co/core-concepts/workspaces#sandbox-workspaces).'),
@@ -37,12 +40,7 @@ export const workspace = z.object({
37
40
  connect_partner_name: z
38
41
  .string()
39
42
  .nullable()
40
- .describe(`
41
- ---
42
- deprecated: Use \`company_name\` instead.
43
- ---
44
- `)
45
- .nullable(),
43
+ .describe('Seam Connect partner name associated with the [workspace](https://docs.seam.co/core-concepts/workspaces).'),
46
44
  publishable_key: z
47
45
  .string()
48
46
  .optional()
@@ -1 +1 @@
1
- {"version":3,"file":"workspace.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/workspaces/workspace.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,cAAc,E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AAE;SACT,QAAQ,CACP,iFAAiF,CAClF;IACH,eAAe,EAAE,CAAC;SACf,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,EAAE;SACV,QAAQ,CACP,uHAAuH,CACxH;CACJ,CAAC,CAAC,QAAQ,CAAC;;;;;CAKX,CAAC,CAAA"}
1
+ {"version":3,"file":"workspace.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/workspaces/workspace.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAE7C,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,CAAC,MAAM,CAAC;IAChC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,sBAAsB,CAAC;IAChE,IAAI,EAAE,CAAC;SACJ,MAAM,EAAE;SACR,QAAQ,CACP,yEAAyE,CAC1E;IACH,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC;;;;;OAK7B,CAAC;IACN,UAAU,EAAE,CAAC;SACV,OAAO,EAAE;SACT,QAAQ,CACP,6HAA6H,CAC9H;IACH,6BAA6B,EAAE,CAAC,CAAC,MAAM,CAAC;QACtC,oBAAoB,EAAE,cAAc;aACjC,QAAQ,EAAE;aACV,QAAQ,CACP,4TAA4T,CAC7T;QACH,yBAAyB,EAAE,cAAc;aACtC,QAAQ,EAAE;aACV,QAAQ,CACP,iUAAiU,CAClU;QACH,eAAe,EAAE,CAAC;aACf,MAAM,EAAE;aACR,QAAQ,EAAE;aACV,QAAQ,CACP,uTAAuT,CACxT;QACH,UAAU,EAAE,CAAC;aACV,IAAI,CAAC,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC;aAC1B,QAAQ,EAAE;aACV,QAAQ,CACP,kTAAkT,CACnT;QACH,gBAAgB,EAAE,CAAC;aAChB,MAAM,EAAE;aACR,QAAQ,EAAE;aACV,QAAQ,CACP,+TAA+T,CAChU;KACJ,CAAC;IACF,YAAY,EAAE,CAAC;SACZ,OAAO,EAAE;SACT,QAAQ,CACP,oMAAoM,CACrM;IACH,oBAAoB,EAAE,CAAC;SACpB,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,2GAA2G,CAC5G;IACH,eAAe,EAAE,CAAC;SACf,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,6JAA6J,CAC9J;IACH,+BAA+B,EAAE,CAAC;SAC/B,OAAO,EAAE;SACT,QAAQ,CACP,iFAAiF,CAClF;IACH,eAAe,EAAE,CAAC;SACf,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,EAAE;SACV,QAAQ,CACP,uHAAuH,CACxH;CACJ,CAAC,CAAC,QAAQ,CAAC;;;;;CAKX,CAAC,CAAA"}
@@ -34200,14 +34200,15 @@ const openapi = {
34200
34200
  description: 'Represents a Seam [workspace](https://docs.seam.co/core-concepts/workspaces). A workspace is a top-level entity that encompasses all other resources below it, such as devices, connected accounts, and Connect Webviews. Seam provides two types of workspaces. A [sandbox workspace](https://docs.seam.co/core-concepts/workspaces#sandbox-workspaces) is a special type of workspace designed for testing code. Sandbox workspaces offer test device accounts and virtual devices that you can connect and control. This ability to work with virtual devices is quite handy because it removes the need to own physical devices from multiple brands. To connect real devices and systems to Seam, use a [production workspace](https://docs.seam.co/core-concepts/workspaces#production-workspaces).',
34201
34201
  properties: {
34202
34202
  company_name: {
34203
+ deprecated: true,
34203
34204
  description: 'Company name associated with the [workspace](https://docs.seam.co/core-concepts/workspaces).',
34204
34205
  type: 'string',
34206
+ 'x-deprecated': 'Use `connect_partner_name` instead.',
34205
34207
  },
34206
34208
  connect_partner_name: {
34207
- deprecated: true,
34209
+ description: 'Seam Connect partner name associated with the [workspace](https://docs.seam.co/core-concepts/workspaces).',
34208
34210
  nullable: true,
34209
34211
  type: 'string',
34210
- 'x-deprecated': 'Use `company_name` instead.',
34211
34212
  },
34212
34213
  connect_webview_customization: {
34213
34214
  properties: {
@@ -47754,23 +47755,18 @@ const openapi = {
47754
47755
  delete: {
47755
47756
  description: 'Deletes a [Connect Webview](https://docs.seam.co/core-concepts/connect-webviews).\n\nYou do not need to delete a Connect Webview once a user completes it. Instead, you can simply ignore completed Connect Webviews.',
47756
47757
  operationId: 'connectWebviewsDeleteDelete',
47757
- requestBody: {
47758
- content: {
47759
- 'application/json': {
47760
- schema: {
47761
- properties: {
47762
- connect_webview_id: {
47763
- description: 'ID of the Connect Webview that you want to delete.',
47764
- format: 'uuid',
47765
- type: 'string',
47766
- },
47767
- },
47768
- required: ['connect_webview_id'],
47769
- type: 'object',
47770
- },
47758
+ parameters: [
47759
+ {
47760
+ in: 'query',
47761
+ name: 'connect_webview_id',
47762
+ required: true,
47763
+ schema: {
47764
+ description: 'ID of the Connect Webview that you want to delete.',
47765
+ format: 'uuid',
47766
+ type: 'string',
47771
47767
  },
47772
47768
  },
47773
- },
47769
+ ],
47774
47770
  responses: {
47775
47771
  '200': {
47776
47772
  content: {
@@ -48158,28 +48154,28 @@ const openapi = {
48158
48154
  delete: {
48159
48155
  description: 'Deletes a specified [connected account](https://docs.seam.co/core-concepts/connected-accounts).\n\nDeleting a connected account triggers a `connected_account.deleted` event and removes the connected account and all data associated with the connected account from Seam, including devices, events, access codes, and so on. For every deleted resource, Seam sends a corresponding deleted event, but the resource is not deleted from the provider.\n\nFor example, if you delete a connected account with a device that has an access code, Seam sends a `connected_account.deleted` event, a `device.deleted` event, and an `access_code.deleted` event, but Seam does not remove the access code from the device.',
48160
48156
  operationId: 'connectedAccountsDeleteDelete',
48161
- requestBody: {
48162
- content: {
48163
- 'application/json': {
48164
- schema: {
48165
- properties: {
48166
- connected_account_id: {
48167
- description: 'ID of the connected account that you want to delete.',
48168
- format: 'uuid',
48169
- type: 'string',
48170
- },
48171
- sync: {
48172
- default: false,
48173
- type: 'boolean',
48174
- 'x-undocumented': 'Only used internally.',
48175
- },
48176
- },
48177
- required: ['connected_account_id'],
48178
- type: 'object',
48179
- },
48157
+ parameters: [
48158
+ {
48159
+ in: 'query',
48160
+ name: 'connected_account_id',
48161
+ required: true,
48162
+ schema: {
48163
+ description: 'ID of the connected account that you want to delete.',
48164
+ format: 'uuid',
48165
+ type: 'string',
48180
48166
  },
48181
48167
  },
48182
- },
48168
+ {
48169
+ in: 'query',
48170
+ name: 'sync',
48171
+ required: false,
48172
+ schema: {
48173
+ default: false,
48174
+ type: 'boolean',
48175
+ 'x-undocumented': 'Only used internally.',
48176
+ },
48177
+ },
48178
+ ],
48183
48179
  responses: {
48184
48180
  '200': {
48185
48181
  content: {
@@ -57996,33 +57992,38 @@ const openapi = {
57996
57992
  delete: {
57997
57993
  description: 'Deletes a [noise threshold](https://docs.seam.co/capability-guides/noise-sensors/configure-noise-threshold-settings) from a [noise sensor](https://docs.seam.co/capability-guides/noise-sensors).',
57998
57994
  operationId: 'noiseSensorsNoiseThresholdsDeleteDelete',
57999
- requestBody: {
58000
- content: {
58001
- 'application/json': {
58002
- schema: {
58003
- properties: {
58004
- device_id: {
58005
- description: 'ID of the device that contains the noise threshold that you want to delete.',
58006
- format: 'uuid',
58007
- type: 'string',
58008
- },
58009
- noise_threshold_id: {
58010
- description: 'ID of the noise threshold that you want to delete.',
58011
- format: 'uuid',
58012
- type: 'string',
58013
- },
58014
- sync: {
58015
- default: false,
58016
- type: 'boolean',
58017
- 'x-undocumented': 'Only used internally.',
58018
- },
58019
- },
58020
- required: ['noise_threshold_id', 'device_id'],
58021
- type: 'object',
58022
- },
57995
+ parameters: [
57996
+ {
57997
+ in: 'query',
57998
+ name: 'noise_threshold_id',
57999
+ required: true,
58000
+ schema: {
58001
+ description: 'ID of the noise threshold that you want to delete.',
58002
+ format: 'uuid',
58003
+ type: 'string',
58023
58004
  },
58024
58005
  },
58025
- },
58006
+ {
58007
+ in: 'query',
58008
+ name: 'device_id',
58009
+ required: true,
58010
+ schema: {
58011
+ description: 'ID of the device that contains the noise threshold that you want to delete.',
58012
+ format: 'uuid',
58013
+ type: 'string',
58014
+ },
58015
+ },
58016
+ {
58017
+ in: 'query',
58018
+ name: 'sync',
58019
+ required: false,
58020
+ schema: {
58021
+ default: false,
58022
+ type: 'boolean',
58023
+ 'x-undocumented': 'Only used internally.',
58024
+ },
58025
+ },
58026
+ ],
58026
58027
  responses: {
58027
58028
  '200': {
58028
58029
  content: {
@@ -58669,22 +58670,17 @@ const openapi = {
58669
58670
  delete: {
58670
58671
  description: 'Deactivates a phone, which is useful, for example, if a user has lost their phone. For more information, see [App User Lost Phone Process](https://docs.seam.co/capability-guides/mobile-access/managing-phones-for-a-user-identity#app-user-lost-phone-process).',
58671
58672
  operationId: 'phonesDeactivateDelete',
58672
- requestBody: {
58673
- content: {
58674
- 'application/json': {
58675
- schema: {
58676
- properties: {
58677
- device_id: {
58678
- description: 'Device ID of the phone that you want to deactivate.',
58679
- type: 'string',
58680
- },
58681
- },
58682
- required: ['device_id'],
58683
- type: 'object',
58684
- },
58673
+ parameters: [
58674
+ {
58675
+ in: 'query',
58676
+ name: 'device_id',
58677
+ required: true,
58678
+ schema: {
58679
+ description: 'Device ID of the phone that you want to deactivate.',
58680
+ type: 'string',
58685
58681
  },
58686
58682
  },
58687
- },
58683
+ ],
58688
58684
  responses: {
58689
58685
  '200': {
58690
58686
  content: {
@@ -75049,23 +75045,18 @@ const openapi = {
75049
75045
  delete: {
75050
75046
  description: 'Deletes a space.',
75051
75047
  operationId: 'spacesDeleteDelete',
75052
- requestBody: {
75053
- content: {
75054
- 'application/json': {
75055
- schema: {
75056
- properties: {
75057
- space_id: {
75058
- description: 'ID of the space that you want to delete.',
75059
- format: 'uuid',
75060
- type: 'string',
75061
- },
75062
- },
75063
- required: ['space_id'],
75064
- type: 'object',
75065
- },
75048
+ parameters: [
75049
+ {
75050
+ in: 'query',
75051
+ name: 'space_id',
75052
+ required: true,
75053
+ schema: {
75054
+ description: 'ID of the space that you want to delete.',
75055
+ format: 'uuid',
75056
+ type: 'string',
75066
75057
  },
75067
75058
  },
75068
- },
75059
+ ],
75069
75060
  responses: {
75070
75061
  '200': {
75071
75062
  content: {
@@ -76896,28 +76887,28 @@ const openapi = {
76896
76887
  delete: {
76897
76888
  description: 'Deletes a specified [climate preset](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-climate-presets) for a specified [thermostat](https://docs.seam.co/capability-guides/thermostats).',
76898
76889
  operationId: 'thermostatsDeleteClimatePresetDelete',
76899
- requestBody: {
76900
- content: {
76901
- 'application/json': {
76902
- schema: {
76903
- properties: {
76904
- climate_preset_key: {
76905
- description: 'Climate preset key of the climate preset that you want to delete.',
76906
- minLength: 1,
76907
- type: 'string',
76908
- },
76909
- device_id: {
76910
- description: 'ID of the thermostat device for which you want to delete a climate preset.',
76911
- format: 'uuid',
76912
- type: 'string',
76913
- },
76914
- },
76915
- required: ['device_id', 'climate_preset_key'],
76916
- type: 'object',
76917
- },
76890
+ parameters: [
76891
+ {
76892
+ in: 'query',
76893
+ name: 'device_id',
76894
+ required: true,
76895
+ schema: {
76896
+ description: 'ID of the thermostat device for which you want to delete a climate preset.',
76897
+ format: 'uuid',
76898
+ type: 'string',
76918
76899
  },
76919
76900
  },
76920
- },
76901
+ {
76902
+ in: 'query',
76903
+ name: 'climate_preset_key',
76904
+ required: true,
76905
+ schema: {
76906
+ description: 'Climate preset key of the climate preset that you want to delete.',
76907
+ minLength: 1,
76908
+ type: 'string',
76909
+ },
76910
+ },
76911
+ ],
76921
76912
  responses: {
76922
76913
  '200': {
76923
76914
  content: {
@@ -82427,15 +82418,15 @@ const openapi = {
82427
82418
  schema: {
82428
82419
  properties: {
82429
82420
  company_name: {
82421
+ deprecated: true,
82430
82422
  description: 'Company name for the new workspace.',
82431
82423
  type: 'string',
82424
+ 'x-deprecated': 'Use `connect_partner_name` instead.',
82432
82425
  },
82433
82426
  connect_partner_name: {
82434
- deprecated: true,
82435
82427
  description: 'Connect partner name for the new workspace.',
82436
82428
  nullable: true,
82437
82429
  type: 'string',
82438
- 'x-deprecated': 'Use `company_name` instead.',
82439
82430
  },
82440
82431
  connect_webview_customization: {
82441
82432
  description: '[Connect Webview](https://docs.seam.co/core-concepts/connect-webviews) customizations for the new workspace. See also [Customize the Look and Feel of Your Connect Webviews](https://docs.seam.co/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-look-and-feel-of-your-connect-webviews).',