@seamapi/types 1.410.2 → 1.411.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.
@@ -21200,11 +21200,11 @@ declare const pagination: z.ZodObject<{
21200
21200
  }>;
21201
21201
  type Pagination = z.infer<typeof pagination>;
21202
21202
 
21203
- declare const building_block_type: z.ZodEnum<["connect_accounts", "manage_devices", "organize_spaces"]>;
21203
+ declare const building_block_type: z.ZodEnum<["connect_accounts", "manage_devices", "organize_spaces", "console"]>;
21204
21204
  type BuildingBlockType = z.infer<typeof building_block_type>;
21205
21205
  declare const magic_link: z.ZodObject<{
21206
21206
  url: z.ZodString;
21207
- building_block_type: z.ZodEnum<["connect_accounts", "manage_devices", "organize_spaces"]>;
21207
+ building_block_type: z.ZodEnum<["connect_accounts", "manage_devices", "organize_spaces", "console"]>;
21208
21208
  customer_key: z.ZodString;
21209
21209
  expires_at: z.ZodString;
21210
21210
  workspace_id: z.ZodString;
@@ -21214,14 +21214,14 @@ declare const magic_link: z.ZodObject<{
21214
21214
  created_at: string;
21215
21215
  url: string;
21216
21216
  expires_at: string;
21217
- building_block_type: "connect_accounts" | "manage_devices" | "organize_spaces";
21217
+ building_block_type: "connect_accounts" | "manage_devices" | "organize_spaces" | "console";
21218
21218
  customer_key: string;
21219
21219
  }, {
21220
21220
  workspace_id: string;
21221
21221
  created_at: string;
21222
21222
  url: string;
21223
21223
  expires_at: string;
21224
- building_block_type: "connect_accounts" | "manage_devices" | "organize_spaces";
21224
+ building_block_type: "connect_accounts" | "manage_devices" | "organize_spaces" | "console";
21225
21225
  customer_key: string;
21226
21226
  }>;
21227
21227
  type MagicLink = z.infer<typeof magic_link>;
@@ -54242,63 +54242,46 @@ declare const _default: {
54242
54242
  content: {
54243
54243
  'application/json': {
54244
54244
  schema: {
54245
- oneOf: ({
54246
- properties: {
54247
- building_block_type: {
54248
- description: string;
54249
- enum: string[];
54250
- type: string;
54251
- };
54252
- customer_key: {
54253
- description: string;
54254
- type: string;
54255
- };
54256
- partner_resources?: never;
54245
+ properties: {
54246
+ building_block_type: {
54247
+ description: string;
54248
+ enum: string[];
54249
+ type: string;
54257
54250
  };
54258
- required: string[];
54259
- type: string;
54260
- } | {
54261
- properties: {
54262
- building_block_type: {
54263
- description: string;
54264
- enum: string[];
54265
- type: string;
54266
- };
54267
- customer_key: {
54268
- description: string;
54269
- type: string;
54270
- };
54271
- partner_resources: {
54272
- description: string;
54273
- items: {
54274
- properties: {
54275
- custom_metadata: {
54276
- additionalProperties: {
54277
- type: string;
54278
- };
54279
- type: string;
54280
- };
54281
- description: {
54282
- type: string;
54283
- };
54284
- name: {
54285
- type: string;
54286
- };
54287
- partner_resource_key: {
54251
+ customer_key: {
54252
+ description: string;
54253
+ type: string;
54254
+ };
54255
+ spaces: {
54256
+ description: string;
54257
+ items: {
54258
+ properties: {
54259
+ custom_metadata: {
54260
+ additionalProperties: {
54288
54261
  type: string;
54289
54262
  };
54263
+ type: string;
54264
+ };
54265
+ description: {
54266
+ type: string;
54267
+ };
54268
+ name: {
54269
+ type: string;
54270
+ };
54271
+ space_key: {
54272
+ type: string;
54290
54273
  };
54291
- required: string[];
54292
- type: string;
54293
- 'x-route-path': string;
54294
- 'x-undocumented': string;
54295
54274
  };
54275
+ required: string[];
54296
54276
  type: string;
54277
+ 'x-route-path': string;
54278
+ 'x-undocumented': string;
54297
54279
  };
54280
+ type: string;
54298
54281
  };
54299
- required: string[];
54300
- type: string;
54301
- })[];
54282
+ };
54283
+ required: string[];
54284
+ type: string;
54302
54285
  };
54303
54286
  };
54304
54287
  };
@@ -54436,7 +54419,7 @@ declare const _default: {
54436
54419
  description: string;
54437
54420
  type: string;
54438
54421
  };
54439
- partner_resources: {
54422
+ spaces: {
54440
54423
  description: string;
54441
54424
  items: {
54442
54425
  properties: {
@@ -54452,7 +54435,7 @@ declare const _default: {
54452
54435
  name: {
54453
54436
  type: string;
54454
54437
  };
54455
- partner_resource_key: {
54438
+ space_key: {
54456
54439
  type: string;
54457
54440
  };
54458
54441
  };
@@ -114234,7 +114217,7 @@ interface Routes {
114234
114217
  /** */
114235
114218
  magic_link: {
114236
114219
  url: string;
114237
- building_block_type: 'connect_accounts' | 'manage_devices' | 'organize_spaces';
114220
+ building_block_type: 'connect_accounts' | 'manage_devices' | 'organize_spaces' | 'console';
114238
114221
  customer_key: string;
114239
114222
  expires_at: string;
114240
114223
  workspace_id: string;
@@ -114248,23 +114231,13 @@ interface Routes {
114248
114231
  queryParams: {};
114249
114232
  jsonBody: {};
114250
114233
  commonParams: {
114251
- /** `connect_accounts` building block type. */
114252
- building_block_type: 'connect_accounts';
114253
- /** Customer key for which you want to create a new building block magic link. */
114254
- customer_key: string;
114255
- } | {
114256
- /** `manage_devices` building block type. */
114257
- building_block_type: 'manage_devices';
114234
+ /** Type of building block to create a magic link for. */
114235
+ building_block_type: 'connect_accounts' | 'organize_spaces' | 'console' | 'manage_devices';
114258
114236
  /** Customer key for which you want to create a new building block magic link. */
114259
114237
  customer_key: string;
114260
- } | {
114261
- /** `organize_spaces` building block type. */
114262
- building_block_type: 'organize_spaces';
114263
- /** Customer key for which you want to create a new building block magic link. */
114264
- customer_key: string;
114265
- /** Optional list of partner resources that you want to include in the new building block magic link. */
114266
- partner_resources?: Array<{
114267
- partner_resource_key: string;
114238
+ /** Optional list of spaces that you want to include in the new building block magic link. */
114239
+ spaces?: Array<{
114240
+ space_key: string;
114268
114241
  name: string;
114269
114242
  description?: string | undefined;
114270
114243
  custom_metadata?: Record<string, string> | undefined;
@@ -114275,7 +114248,7 @@ interface Routes {
114275
114248
  /** */
114276
114249
  magic_link: {
114277
114250
  url: string;
114278
- building_block_type: 'connect_accounts' | 'manage_devices' | 'organize_spaces';
114251
+ building_block_type: 'connect_accounts' | 'manage_devices' | 'organize_spaces' | 'console';
114279
114252
  customer_key: string;
114280
114253
  expires_at: string;
114281
114254
  workspace_id: string;
@@ -114297,7 +114270,7 @@ interface Routes {
114297
114270
  /** */
114298
114271
  magic_link: {
114299
114272
  url: string;
114300
- building_block_type: 'connect_accounts' | 'manage_devices' | 'organize_spaces';
114273
+ building_block_type: 'connect_accounts' | 'manage_devices' | 'organize_spaces' | 'console';
114301
114274
  customer_key: string;
114302
114275
  expires_at: string;
114303
114276
  workspace_id: string;
@@ -114313,9 +114286,9 @@ interface Routes {
114313
114286
  commonParams: {
114314
114287
  /** Customer key for which you want to organize spaces. */
114315
114288
  customer_key: string;
114316
- /** Optional list of partner resources that you want to include in the new building block magic link. */
114317
- partner_resources?: Array<{
114318
- partner_resource_key: string;
114289
+ /** Optional list of spaces that you want to include in the new building block magic link. */
114290
+ spaces?: Array<{
114291
+ space_key: string;
114319
114292
  name: string;
114320
114293
  description?: string | undefined;
114321
114294
  custom_metadata?: Record<string, string> | undefined;
@@ -114326,7 +114299,7 @@ interface Routes {
114326
114299
  /** */
114327
114300
  magic_link: {
114328
114301
  url: string;
114329
- building_block_type: 'connect_accounts' | 'manage_devices' | 'organize_spaces';
114302
+ building_block_type: 'connect_accounts' | 'manage_devices' | 'organize_spaces' | 'console';
114330
114303
  customer_key: string;
114331
114304
  expires_at: string;
114332
114305
  workspace_id: string;
@@ -1,2 +1,2 @@
1
- export { access_code_code_constraint, access_grant, access_method, acs_access_group, acs_access_group_external_type, acs_credential, acs_credential_access_method_type, acs_credential_external_type, acs_credential_pool, acs_credential_pool_external_type, acs_credential_provisioning_automation, acs_entrance, acs_system, acs_system_capability_flags, acs_system_external_type, acs_user, acs_user_external_type, any_device_type, battery_status, bridge, bridge_client_session, bridge_connected_system, building_block_type, capabilities, climate_preset, climate_setting, common_device_properties, common_event, connect_webview_device_selection_mode, connected_account, custom_metadata_input, device_capability_flags, device_metadata, device_provider, dormakaba_oracode_time_slot, enrollment_automation, seam_event as event, seam_event_type as event_type, fan_mode_setting, geolocation, instant_key, location, lock_device_type, magic_link, access_code as managed_access_code, device as managed_device, noise_sensor_device_type, noise_threshold, pagination, partner_resource, phone, phone_number, phone_registration, phone_session, space, thermostat_capability_properties, thermostat_device_type, thermostat_schedule, typed_partner_resource, unmanaged_access_code, unmanaged_device, user_identity, webhook, } from '../models/index.js';
1
+ export { access_code_code_constraint, access_grant, access_method, acs_access_group, acs_access_group_external_type, acs_credential, acs_credential_access_method_type, acs_credential_external_type, acs_credential_pool, acs_credential_pool_external_type, acs_credential_provisioning_automation, acs_entrance, acs_system, acs_system_capability_flags, acs_system_external_type, acs_user, acs_user_external_type, any_device_type, battery_status, bridge, bridge_client_session, bridge_connected_system, building_block_type, capabilities, climate_preset, climate_setting, common_device_properties, common_event, connect_webview_device_selection_mode, connected_account, custom_metadata_input, device_capability_flags, device_metadata, device_provider, dormakaba_oracode_time_slot, enrollment_automation, seam_event as event, seam_event_type as event_type, fan_mode_setting, geolocation, instant_key, location, lock_device_type, magic_link, access_code as managed_access_code, device as managed_device, noise_sensor_device_type, noise_threshold, pagination, partner_resource, phone, phone_number, phone_registration, phone_session, space, space_resource, thermostat_capability_properties, thermostat_device_type, thermostat_schedule, typed_partner_resource, unmanaged_access_code, unmanaged_device, user_identity, webhook, } from '../models/index.js';
2
2
  export * from '../schemas.js';
@@ -1,3 +1,3 @@
1
- export { access_code_code_constraint, access_grant, access_method, acs_access_group, acs_access_group_external_type, acs_credential, acs_credential_access_method_type, acs_credential_external_type, acs_credential_pool, acs_credential_pool_external_type, acs_credential_provisioning_automation, acs_entrance, acs_system, acs_system_capability_flags, acs_system_external_type, acs_user, acs_user_external_type, any_device_type, battery_status, bridge, bridge_client_session, bridge_connected_system, building_block_type, capabilities, climate_preset, climate_setting, common_device_properties, common_event, connect_webview_device_selection_mode, connected_account, custom_metadata_input, device_capability_flags, device_metadata, device_provider, dormakaba_oracode_time_slot, enrollment_automation, seam_event as event, seam_event_type as event_type, fan_mode_setting, geolocation, instant_key, location, lock_device_type, magic_link, access_code as managed_access_code, device as managed_device, noise_sensor_device_type, noise_threshold, pagination, partner_resource, phone, phone_number, phone_registration, phone_session, space, thermostat_capability_properties, thermostat_device_type, thermostat_schedule, typed_partner_resource, unmanaged_access_code, unmanaged_device, user_identity, webhook, } from '../models/index.js';
1
+ export { access_code_code_constraint, access_grant, access_method, acs_access_group, acs_access_group_external_type, acs_credential, acs_credential_access_method_type, acs_credential_external_type, acs_credential_pool, acs_credential_pool_external_type, acs_credential_provisioning_automation, acs_entrance, acs_system, acs_system_capability_flags, acs_system_external_type, acs_user, acs_user_external_type, any_device_type, battery_status, bridge, bridge_client_session, bridge_connected_system, building_block_type, capabilities, climate_preset, climate_setting, common_device_properties, common_event, connect_webview_device_selection_mode, connected_account, custom_metadata_input, device_capability_flags, device_metadata, device_provider, dormakaba_oracode_time_slot, enrollment_automation, seam_event as event, seam_event_type as event_type, fan_mode_setting, geolocation, instant_key, location, lock_device_type, magic_link, access_code as managed_access_code, device as managed_device, noise_sensor_device_type, noise_threshold, pagination, partner_resource, phone, phone_number, phone_registration, phone_session, space, space_resource, thermostat_capability_properties, thermostat_device_type, thermostat_schedule, typed_partner_resource, unmanaged_access_code, unmanaged_device, user_identity, webhook, } from '../models/index.js';
2
2
  export * from '../schemas.js';
3
3
  //# sourceMappingURL=schemas.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../../../src/lib/seam/connect/internal/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,YAAY,EACZ,aAAa,EACb,gBAAgB,EAChB,8BAA8B,EAC9B,cAAc,EACd,iCAAiC,EACjC,4BAA4B,EAC5B,mBAAmB,EACnB,iCAAiC,EACjC,sCAAsC,EACtC,YAAY,EACZ,UAAU,EACV,2BAA2B,EAC3B,wBAAwB,EACxB,QAAQ,EACR,sBAAsB,EACtB,eAAe,EACf,cAAc,EACd,MAAM,EACN,qBAAqB,EACrB,uBAAuB,EACvB,mBAAmB,EACnB,YAAY,EACZ,cAAc,EACd,eAAe,EACf,wBAAwB,EACxB,YAAY,EACZ,qCAAqC,EACrC,iBAAiB,EACjB,qBAAqB,EACrB,uBAAuB,EACvB,eAAe,EACf,eAAe,EACf,2BAA2B,EAC3B,qBAAqB,EACrB,UAAU,IAAI,KAAK,EACnB,eAAe,IAAI,UAAU,EAC7B,gBAAgB,EAChB,WAAW,EACX,WAAW,EACX,QAAQ,EACR,gBAAgB,EAChB,UAAU,EACV,WAAW,IAAI,mBAAmB,EAClC,MAAM,IAAI,cAAc,EACxB,wBAAwB,EACxB,eAAe,EACf,UAAU,EACV,gBAAgB,EAChB,KAAK,EACL,YAAY,EACZ,kBAAkB,EAClB,aAAa,EACb,KAAK,EACL,gCAAgC,EAChC,sBAAsB,EACtB,mBAAmB,EACnB,sBAAsB,EACtB,qBAAqB,EACrB,gBAAgB,EAChB,aAAa,EACb,OAAO,GACR,MAAM,oBAAoB,CAAA;AAC3B,cAAc,eAAe,CAAA"}
1
+ {"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../../../src/lib/seam/connect/internal/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,YAAY,EACZ,aAAa,EACb,gBAAgB,EAChB,8BAA8B,EAC9B,cAAc,EACd,iCAAiC,EACjC,4BAA4B,EAC5B,mBAAmB,EACnB,iCAAiC,EACjC,sCAAsC,EACtC,YAAY,EACZ,UAAU,EACV,2BAA2B,EAC3B,wBAAwB,EACxB,QAAQ,EACR,sBAAsB,EACtB,eAAe,EACf,cAAc,EACd,MAAM,EACN,qBAAqB,EACrB,uBAAuB,EACvB,mBAAmB,EACnB,YAAY,EACZ,cAAc,EACd,eAAe,EACf,wBAAwB,EACxB,YAAY,EACZ,qCAAqC,EACrC,iBAAiB,EACjB,qBAAqB,EACrB,uBAAuB,EACvB,eAAe,EACf,eAAe,EACf,2BAA2B,EAC3B,qBAAqB,EACrB,UAAU,IAAI,KAAK,EACnB,eAAe,IAAI,UAAU,EAC7B,gBAAgB,EAChB,WAAW,EACX,WAAW,EACX,QAAQ,EACR,gBAAgB,EAChB,UAAU,EACV,WAAW,IAAI,mBAAmB,EAClC,MAAM,IAAI,cAAc,EACxB,wBAAwB,EACxB,eAAe,EACf,UAAU,EACV,gBAAgB,EAChB,KAAK,EACL,YAAY,EACZ,kBAAkB,EAClB,aAAa,EACb,KAAK,EACL,cAAc,EACd,gCAAgC,EAChC,sBAAsB,EACtB,mBAAmB,EACnB,sBAAsB,EACtB,qBAAqB,EACrB,gBAAgB,EAChB,aAAa,EACb,OAAO,GACR,MAAM,oBAAoB,CAAA;AAC3B,cAAc,eAAe,CAAA"}
@@ -1,9 +1,9 @@
1
1
  import { z } from 'zod';
2
- export declare const building_block_type: z.ZodEnum<["connect_accounts", "manage_devices", "organize_spaces"]>;
2
+ export declare const building_block_type: z.ZodEnum<["connect_accounts", "manage_devices", "organize_spaces", "console"]>;
3
3
  export type BuildingBlockType = z.infer<typeof building_block_type>;
4
4
  export declare const magic_link: z.ZodObject<{
5
5
  url: z.ZodString;
6
- building_block_type: z.ZodEnum<["connect_accounts", "manage_devices", "organize_spaces"]>;
6
+ building_block_type: z.ZodEnum<["connect_accounts", "manage_devices", "organize_spaces", "console"]>;
7
7
  customer_key: z.ZodString;
8
8
  expires_at: z.ZodString;
9
9
  workspace_id: z.ZodString;
@@ -13,14 +13,14 @@ export declare const magic_link: z.ZodObject<{
13
13
  workspace_id: string;
14
14
  created_at: string;
15
15
  expires_at: string;
16
- building_block_type: "connect_accounts" | "manage_devices" | "organize_spaces";
16
+ building_block_type: "connect_accounts" | "manage_devices" | "organize_spaces" | "console";
17
17
  customer_key: string;
18
18
  }, {
19
19
  url: string;
20
20
  workspace_id: string;
21
21
  created_at: string;
22
22
  expires_at: string;
23
- building_block_type: "connect_accounts" | "manage_devices" | "organize_spaces";
23
+ building_block_type: "connect_accounts" | "manage_devices" | "organize_spaces" | "console";
24
24
  customer_key: string;
25
25
  }>;
26
26
  export type MagicLink = z.infer<typeof magic_link>;
@@ -3,6 +3,7 @@ export const building_block_type = z.enum([
3
3
  'connect_accounts',
4
4
  'manage_devices',
5
5
  'organize_spaces',
6
+ 'console',
6
7
  ]);
7
8
  export const magic_link = z.object({
8
9
  url: z.string().url(),
@@ -1 +1 @@
1
- {"version":3,"file":"magic-link.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/partner/magic-link.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,CAAC,IAAI,CAAC;IACxC,kBAAkB;IAClB,gBAAgB;IAChB,iBAAiB;CAClB,CAAC,CAAA;AAIF,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,CAAC,MAAM,CAAC;IACjC,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IACrB,mBAAmB;IACnB,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC/B,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAClC,CAAC,CAAC,QAAQ,CAAC;;;;;GAKT,CAAC,CAAA"}
1
+ {"version":3,"file":"magic-link.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/partner/magic-link.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,CAAC,IAAI,CAAC;IACxC,kBAAkB;IAClB,gBAAgB;IAChB,iBAAiB;IACjB,SAAS;CACV,CAAC,CAAA;AAIF,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,CAAC,MAAM,CAAC;IACjC,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IACrB,mBAAmB;IACnB,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC/B,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAClC,CAAC,CAAC,QAAQ,CAAC;;;;;GAKT,CAAC,CAAA"}
@@ -57,3 +57,20 @@ export declare const typed_partner_resource: z.ZodObject<{
57
57
  custom_metadata?: Record<string, string> | undefined;
58
58
  }>;
59
59
  export type TypedPartnerResource = z.infer<typeof typed_partner_resource>;
60
+ export declare const space_resource: z.ZodObject<{
61
+ space_key: z.ZodString;
62
+ name: z.ZodString;
63
+ description: z.ZodOptional<z.ZodString>;
64
+ custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
65
+ }, "strip", z.ZodTypeAny, {
66
+ name: string;
67
+ space_key: string;
68
+ description?: string | undefined;
69
+ custom_metadata?: Record<string, string> | undefined;
70
+ }, {
71
+ name: string;
72
+ space_key: string;
73
+ description?: string | undefined;
74
+ custom_metadata?: Record<string, string> | undefined;
75
+ }>;
76
+ export type SpaceResource = z.infer<typeof space_resource>;
@@ -32,4 +32,15 @@ export const typed_partner_resource = z.object({
32
32
  route_path: /unstable_partner/resources
33
33
  ---
34
34
  `);
35
+ export const space_resource = z.object({
36
+ space_key: z.string(),
37
+ name: z.string(),
38
+ description: z.string().optional(),
39
+ custom_metadata: z.record(z.string(), z.string()).optional(),
40
+ }).describe(`
41
+ ---
42
+ undocumented: Unreleased.
43
+ route_path: /unstable_partner/resources
44
+ ---
45
+ `);
35
46
  //# sourceMappingURL=resources.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"resources.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/partner/resources.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,CAAC,MAAM,CAAC;IACvC,qBAAqB,EAAE,CAAC,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AAE;IAChB,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAClC,eAAe,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;CAC7D,CAAC,CAAC,QAAQ,CAAC;;;;;GAKT,CAAC,CAAA;AAIJ,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,MAAM,CAAC;IACrC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IAErB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAClC,eAAe,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;CAC7D,CAAC,CAAC,QAAQ,CAAC;;;;;GAKT,CAAC,CAAA"}
@@ -32728,63 +32728,46 @@ declare const _default: {
32728
32728
  content: {
32729
32729
  'application/json': {
32730
32730
  schema: {
32731
- oneOf: ({
32732
- properties: {
32733
- building_block_type: {
32734
- description: string;
32735
- enum: string[];
32736
- type: string;
32737
- };
32738
- customer_key: {
32739
- description: string;
32740
- type: string;
32741
- };
32742
- partner_resources?: never;
32731
+ properties: {
32732
+ building_block_type: {
32733
+ description: string;
32734
+ enum: string[];
32735
+ type: string;
32743
32736
  };
32744
- required: string[];
32745
- type: string;
32746
- } | {
32747
- properties: {
32748
- building_block_type: {
32749
- description: string;
32750
- enum: string[];
32751
- type: string;
32752
- };
32753
- customer_key: {
32754
- description: string;
32755
- type: string;
32756
- };
32757
- partner_resources: {
32758
- description: string;
32759
- items: {
32760
- properties: {
32761
- custom_metadata: {
32762
- additionalProperties: {
32763
- type: string;
32764
- };
32765
- type: string;
32766
- };
32767
- description: {
32768
- type: string;
32769
- };
32770
- name: {
32771
- type: string;
32772
- };
32773
- partner_resource_key: {
32737
+ customer_key: {
32738
+ description: string;
32739
+ type: string;
32740
+ };
32741
+ spaces: {
32742
+ description: string;
32743
+ items: {
32744
+ properties: {
32745
+ custom_metadata: {
32746
+ additionalProperties: {
32774
32747
  type: string;
32775
32748
  };
32749
+ type: string;
32750
+ };
32751
+ description: {
32752
+ type: string;
32753
+ };
32754
+ name: {
32755
+ type: string;
32756
+ };
32757
+ space_key: {
32758
+ type: string;
32776
32759
  };
32777
- required: string[];
32778
- type: string;
32779
- 'x-route-path': string;
32780
- 'x-undocumented': string;
32781
32760
  };
32761
+ required: string[];
32782
32762
  type: string;
32763
+ 'x-route-path': string;
32764
+ 'x-undocumented': string;
32783
32765
  };
32766
+ type: string;
32784
32767
  };
32785
- required: string[];
32786
- type: string;
32787
- })[];
32768
+ };
32769
+ required: string[];
32770
+ type: string;
32788
32771
  };
32789
32772
  };
32790
32773
  };
@@ -32922,7 +32905,7 @@ declare const _default: {
32922
32905
  description: string;
32923
32906
  type: string;
32924
32907
  };
32925
- partner_resources: {
32908
+ spaces: {
32926
32909
  description: string;
32927
32910
  items: {
32928
32911
  properties: {
@@ -32938,7 +32921,7 @@ declare const _default: {
32938
32921
  name: {
32939
32922
  type: string;
32940
32923
  };
32941
- partner_resource_key: {
32924
+ space_key: {
32942
32925
  type: string;
32943
32926
  };
32944
32927
  };
@@ -14585,7 +14585,12 @@ export default {
14585
14585
  magic_link: {
14586
14586
  properties: {
14587
14587
  building_block_type: {
14588
- enum: ['connect_accounts', 'manage_devices', 'organize_spaces'],
14588
+ enum: [
14589
+ 'connect_accounts',
14590
+ 'manage_devices',
14591
+ 'organize_spaces',
14592
+ 'console',
14593
+ ],
14589
14594
  type: 'string',
14590
14595
  },
14591
14596
  created_at: { format: 'date-time', type: 'string' },
@@ -36931,72 +36936,43 @@ export default {
36931
36936
  content: {
36932
36937
  'application/json': {
36933
36938
  schema: {
36934
- oneOf: [
36935
- {
36936
- properties: {
36937
- building_block_type: {
36938
- description: '`connect_accounts` building block type.',
36939
- enum: ['connect_accounts'],
36940
- type: 'string',
36941
- },
36942
- customer_key: {
36943
- description: 'Customer key for which you want to create a new building block magic link.',
36944
- type: 'string',
36945
- },
36946
- },
36947
- required: ['building_block_type', 'customer_key'],
36948
- type: 'object',
36939
+ properties: {
36940
+ building_block_type: {
36941
+ description: 'Type of building block to create a magic link for.',
36942
+ enum: [
36943
+ 'connect_accounts',
36944
+ 'organize_spaces',
36945
+ 'console',
36946
+ 'manage_devices',
36947
+ ],
36948
+ type: 'string',
36949
36949
  },
36950
- {
36951
- properties: {
36952
- building_block_type: {
36953
- description: '`manage_devices` building block type.',
36954
- enum: ['manage_devices'],
36955
- type: 'string',
36956
- },
36957
- customer_key: {
36958
- description: 'Customer key for which you want to create a new building block magic link.',
36959
- type: 'string',
36960
- },
36961
- },
36962
- required: ['building_block_type', 'customer_key'],
36963
- type: 'object',
36950
+ customer_key: {
36951
+ description: 'Customer key for which you want to create a new building block magic link.',
36952
+ type: 'string',
36964
36953
  },
36965
- {
36966
- properties: {
36967
- building_block_type: {
36968
- description: '`organize_spaces` building block type.',
36969
- enum: ['organize_spaces'],
36970
- type: 'string',
36971
- },
36972
- customer_key: {
36973
- description: 'Customer key for which you want to create a new building block magic link.',
36974
- type: 'string',
36975
- },
36976
- partner_resources: {
36977
- description: 'Optional list of partner resources that you want to include in the new building block magic link.',
36978
- items: {
36979
- properties: {
36980
- custom_metadata: {
36981
- additionalProperties: { type: 'string' },
36982
- type: 'object',
36983
- },
36984
- description: { type: 'string' },
36985
- name: { type: 'string' },
36986
- partner_resource_key: { type: 'string' },
36987
- },
36988
- required: ['partner_resource_key', 'name'],
36954
+ spaces: {
36955
+ description: 'Optional list of spaces that you want to include in the new building block magic link.',
36956
+ items: {
36957
+ properties: {
36958
+ custom_metadata: {
36959
+ additionalProperties: { type: 'string' },
36989
36960
  type: 'object',
36990
- 'x-route-path': '/unstable_partner/resources',
36991
- 'x-undocumented': 'Unreleased.',
36992
36961
  },
36993
- type: 'array',
36962
+ description: { type: 'string' },
36963
+ name: { type: 'string' },
36964
+ space_key: { type: 'string' },
36994
36965
  },
36966
+ required: ['space_key', 'name'],
36967
+ type: 'object',
36968
+ 'x-route-path': '/unstable_partner/resources',
36969
+ 'x-undocumented': 'Unreleased.',
36995
36970
  },
36996
- required: ['building_block_type', 'customer_key'],
36997
- type: 'object',
36971
+ type: 'array',
36998
36972
  },
36999
- ],
36973
+ },
36974
+ required: ['building_block_type', 'customer_key'],
36975
+ type: 'object',
37000
36976
  },
37001
36977
  },
37002
36978
  },
@@ -37102,8 +37078,8 @@ export default {
37102
37078
  description: 'Customer key for which you want to organize spaces.',
37103
37079
  type: 'string',
37104
37080
  },
37105
- partner_resources: {
37106
- description: 'Optional list of partner resources that you want to include in the new building block magic link.',
37081
+ spaces: {
37082
+ description: 'Optional list of spaces that you want to include in the new building block magic link.',
37107
37083
  items: {
37108
37084
  properties: {
37109
37085
  custom_metadata: {
@@ -37112,9 +37088,9 @@ export default {
37112
37088
  },
37113
37089
  description: { type: 'string' },
37114
37090
  name: { type: 'string' },
37115
- partner_resource_key: { type: 'string' },
37091
+ space_key: { type: 'string' },
37116
37092
  },
37117
- required: ['partner_resource_key', 'name'],
37093
+ required: ['space_key', 'name'],
37118
37094
  type: 'object',
37119
37095
  'x-route-path': '/unstable_partner/resources',
37120
37096
  'x-undocumented': 'Unreleased.',