@seamapi/types 1.406.8 → 1.407.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 +231 -25
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +362 -33
- package/lib/seam/connect/internal/schemas.d.ts +1 -1
- package/lib/seam/connect/internal/schemas.js +1 -1
- package/lib/seam/connect/internal/schemas.js.map +1 -1
- package/lib/seam/connect/models/events/access-methods.d.ts +47 -0
- package/lib/seam/connect/models/events/access-methods.js +9 -0
- package/lib/seam/connect/models/events/access-methods.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +24 -1
- package/lib/seam/connect/models/partner/magic-link.d.ts +5 -3
- package/lib/seam/connect/models/partner/magic-link.js +6 -5
- package/lib/seam/connect/models/partner/magic-link.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +247 -29
- package/lib/seam/connect/openapi.js +220 -23
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +92 -4
- package/package.json +2 -2
- package/src/lib/seam/connect/internal/schemas.ts +1 -0
- package/src/lib/seam/connect/models/events/access-methods.ts +10 -0
- package/src/lib/seam/connect/models/partner/magic-link.ts +9 -5
- package/src/lib/seam/connect/openapi.ts +223 -23
- package/src/lib/seam/connect/route-types.ts +109 -8
|
@@ -694,6 +694,29 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
694
694
|
event_id: string;
|
|
695
695
|
occurred_at: string;
|
|
696
696
|
event_type: "access_method.card_encoding_required";
|
|
697
|
+
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
698
|
+
event_id: z.ZodString;
|
|
699
|
+
workspace_id: z.ZodString;
|
|
700
|
+
created_at: z.ZodString;
|
|
701
|
+
occurred_at: z.ZodString;
|
|
702
|
+
}, {
|
|
703
|
+
access_method_id: z.ZodString;
|
|
704
|
+
}>, {
|
|
705
|
+
event_type: z.ZodLiteral<"access_method.deleted">;
|
|
706
|
+
}>, "strip", z.ZodTypeAny, {
|
|
707
|
+
workspace_id: string;
|
|
708
|
+
created_at: string;
|
|
709
|
+
access_method_id: string;
|
|
710
|
+
event_id: string;
|
|
711
|
+
occurred_at: string;
|
|
712
|
+
event_type: "access_method.deleted";
|
|
713
|
+
}, {
|
|
714
|
+
workspace_id: string;
|
|
715
|
+
created_at: string;
|
|
716
|
+
access_method_id: string;
|
|
717
|
+
event_id: string;
|
|
718
|
+
occurred_at: string;
|
|
719
|
+
event_type: "access_method.deleted";
|
|
697
720
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
698
721
|
event_id: z.ZodString;
|
|
699
722
|
workspace_id: z.ZodString;
|
|
@@ -2515,5 +2538,5 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2515
2538
|
event_type: "phone.deactivated";
|
|
2516
2539
|
}>]>;
|
|
2517
2540
|
export type SeamEvent = z.infer<typeof seam_event>;
|
|
2518
|
-
export declare const seam_event_type: z.ZodEnum<["access_code.created" | "access_code.changed" | "access_code.scheduled_on_device" | "access_code.set_on_device" | "access_code.removed_from_device" | "access_code.delay_in_setting_on_device" | "access_code.failed_to_set_on_device" | "access_code.deleted" | "access_code.delay_in_removing_from_device" | "access_code.failed_to_remove_from_device" | "access_code.modified_external_to_seam" | "access_code.deleted_external_to_seam" | "access_code.backup_access_code_pulled" | "access_code.unmanaged.converted_to_managed" | "access_code.unmanaged.failed_to_convert_to_managed" | "access_code.unmanaged.created" | "access_code.unmanaged.removed" | "acs_access_group.deleted" | "acs_credential.deleted" | "acs_credential.issued" | "acs_credential.reissued" | "acs_credential.invalidated" | "acs_encoder.added" | "acs_encoder.removed" | "acs_entrance.added" | "acs_entrance.removed" | "acs_system.connected" | "acs_system.disconnected" | "acs_system.added" | "acs_user.deleted" | "acs_user.created" | "action_attempt.lock_door.succeeded" | "action_attempt.lock_door.failed" | "action_attempt.unlock_door.succeeded" | "action_attempt.unlock_door.failed" | "client_session.deleted" | "connected_account.connected" | "connected_account.created" | "connected_account.successful_login" | "connected_account.disconnected" | "connected_account.completed_first_sync" | "connected_account.deleted" | "connected_account.completed_first_sync_after_reconnection" | "device.connected" | "device.added" | "device.converted_to_unmanaged" | "device.unmanaged.converted_to_managed" | "device.unmanaged.connected" | "device.disconnected" | "device.unmanaged.disconnected" | "device.tampered" | "device.low_battery" | "device.battery_status_changed" | "device.removed" | "device.deleted" | "device.third_party_integration_detected" | "device.third_party_integration_no_longer_detected" | "device.salto.privacy_mode_activated" | "device.salto.privacy_mode_deactivated" | "device.connection_became_flaky" | "device.connection_stabilized" | "device.error.subscription_required" | "device.error.subscription_required.resolved" | "device.accessory_keypad_connected" | "device.accessory_keypad_disconnected" | "noise_sensor.noise_threshold_triggered" | "lock.locked" | "lock.unlocked" | "lock.access_denied" | "thermostat.climate_preset_activated" | "thermostat.manually_adjusted" | "thermostat.temperature_threshold_exceeded" | "thermostat.temperature_threshold_no_longer_exceeded" | "thermostat.temperature_reached_set_point" | "thermostat.temperature_changed" | "device.name_changed" | "enrollment_automation.deleted" | "phone.deactivated" | "access_grant.created" | "access_grant.deleted" | "access_grant.access_granted_to_all_doors" | "access_grant.access_granted_to_door" | "access_grant.access_to_door_lost" | "access_method.issued" | "access_method.card_encoding_required" | "access_method.revoked" | "connect_webview.login_succeeded" | "connect_webview.login_failed", ...("access_code.created" | "access_code.changed" | "access_code.scheduled_on_device" | "access_code.set_on_device" | "access_code.removed_from_device" | "access_code.delay_in_setting_on_device" | "access_code.failed_to_set_on_device" | "access_code.deleted" | "access_code.delay_in_removing_from_device" | "access_code.failed_to_remove_from_device" | "access_code.modified_external_to_seam" | "access_code.deleted_external_to_seam" | "access_code.backup_access_code_pulled" | "access_code.unmanaged.converted_to_managed" | "access_code.unmanaged.failed_to_convert_to_managed" | "access_code.unmanaged.created" | "access_code.unmanaged.removed" | "acs_access_group.deleted" | "acs_credential.deleted" | "acs_credential.issued" | "acs_credential.reissued" | "acs_credential.invalidated" | "acs_encoder.added" | "acs_encoder.removed" | "acs_entrance.added" | "acs_entrance.removed" | "acs_system.connected" | "acs_system.disconnected" | "acs_system.added" | "acs_user.deleted" | "acs_user.created" | "action_attempt.lock_door.succeeded" | "action_attempt.lock_door.failed" | "action_attempt.unlock_door.succeeded" | "action_attempt.unlock_door.failed" | "client_session.deleted" | "connected_account.connected" | "connected_account.created" | "connected_account.successful_login" | "connected_account.disconnected" | "connected_account.completed_first_sync" | "connected_account.deleted" | "connected_account.completed_first_sync_after_reconnection" | "device.connected" | "device.added" | "device.converted_to_unmanaged" | "device.unmanaged.converted_to_managed" | "device.unmanaged.connected" | "device.disconnected" | "device.unmanaged.disconnected" | "device.tampered" | "device.low_battery" | "device.battery_status_changed" | "device.removed" | "device.deleted" | "device.third_party_integration_detected" | "device.third_party_integration_no_longer_detected" | "device.salto.privacy_mode_activated" | "device.salto.privacy_mode_deactivated" | "device.connection_became_flaky" | "device.connection_stabilized" | "device.error.subscription_required" | "device.error.subscription_required.resolved" | "device.accessory_keypad_connected" | "device.accessory_keypad_disconnected" | "noise_sensor.noise_threshold_triggered" | "lock.locked" | "lock.unlocked" | "lock.access_denied" | "thermostat.climate_preset_activated" | "thermostat.manually_adjusted" | "thermostat.temperature_threshold_exceeded" | "thermostat.temperature_threshold_no_longer_exceeded" | "thermostat.temperature_reached_set_point" | "thermostat.temperature_changed" | "device.name_changed" | "enrollment_automation.deleted" | "phone.deactivated" | "access_grant.created" | "access_grant.deleted" | "access_grant.access_granted_to_all_doors" | "access_grant.access_granted_to_door" | "access_grant.access_to_door_lost" | "access_method.issued" | "access_method.card_encoding_required" | "access_method.revoked" | "connect_webview.login_succeeded" | "connect_webview.login_failed")[]]>;
|
|
2541
|
+
export declare const seam_event_type: z.ZodEnum<["access_code.created" | "access_code.changed" | "access_code.scheduled_on_device" | "access_code.set_on_device" | "access_code.removed_from_device" | "access_code.delay_in_setting_on_device" | "access_code.failed_to_set_on_device" | "access_code.deleted" | "access_code.delay_in_removing_from_device" | "access_code.failed_to_remove_from_device" | "access_code.modified_external_to_seam" | "access_code.deleted_external_to_seam" | "access_code.backup_access_code_pulled" | "access_code.unmanaged.converted_to_managed" | "access_code.unmanaged.failed_to_convert_to_managed" | "access_code.unmanaged.created" | "access_code.unmanaged.removed" | "acs_access_group.deleted" | "acs_credential.deleted" | "acs_credential.issued" | "acs_credential.reissued" | "acs_credential.invalidated" | "acs_encoder.added" | "acs_encoder.removed" | "acs_entrance.added" | "acs_entrance.removed" | "acs_system.connected" | "acs_system.disconnected" | "acs_system.added" | "acs_user.deleted" | "acs_user.created" | "action_attempt.lock_door.succeeded" | "action_attempt.lock_door.failed" | "action_attempt.unlock_door.succeeded" | "action_attempt.unlock_door.failed" | "client_session.deleted" | "connected_account.connected" | "connected_account.created" | "connected_account.successful_login" | "connected_account.disconnected" | "connected_account.completed_first_sync" | "connected_account.deleted" | "connected_account.completed_first_sync_after_reconnection" | "device.connected" | "device.added" | "device.converted_to_unmanaged" | "device.unmanaged.converted_to_managed" | "device.unmanaged.connected" | "device.disconnected" | "device.unmanaged.disconnected" | "device.tampered" | "device.low_battery" | "device.battery_status_changed" | "device.removed" | "device.deleted" | "device.third_party_integration_detected" | "device.third_party_integration_no_longer_detected" | "device.salto.privacy_mode_activated" | "device.salto.privacy_mode_deactivated" | "device.connection_became_flaky" | "device.connection_stabilized" | "device.error.subscription_required" | "device.error.subscription_required.resolved" | "device.accessory_keypad_connected" | "device.accessory_keypad_disconnected" | "noise_sensor.noise_threshold_triggered" | "lock.locked" | "lock.unlocked" | "lock.access_denied" | "thermostat.climate_preset_activated" | "thermostat.manually_adjusted" | "thermostat.temperature_threshold_exceeded" | "thermostat.temperature_threshold_no_longer_exceeded" | "thermostat.temperature_reached_set_point" | "thermostat.temperature_changed" | "device.name_changed" | "enrollment_automation.deleted" | "phone.deactivated" | "access_grant.created" | "access_grant.deleted" | "access_grant.access_granted_to_all_doors" | "access_grant.access_granted_to_door" | "access_grant.access_to_door_lost" | "access_method.issued" | "access_method.card_encoding_required" | "access_method.revoked" | "access_method.deleted" | "connect_webview.login_succeeded" | "connect_webview.login_failed", ...("access_code.created" | "access_code.changed" | "access_code.scheduled_on_device" | "access_code.set_on_device" | "access_code.removed_from_device" | "access_code.delay_in_setting_on_device" | "access_code.failed_to_set_on_device" | "access_code.deleted" | "access_code.delay_in_removing_from_device" | "access_code.failed_to_remove_from_device" | "access_code.modified_external_to_seam" | "access_code.deleted_external_to_seam" | "access_code.backup_access_code_pulled" | "access_code.unmanaged.converted_to_managed" | "access_code.unmanaged.failed_to_convert_to_managed" | "access_code.unmanaged.created" | "access_code.unmanaged.removed" | "acs_access_group.deleted" | "acs_credential.deleted" | "acs_credential.issued" | "acs_credential.reissued" | "acs_credential.invalidated" | "acs_encoder.added" | "acs_encoder.removed" | "acs_entrance.added" | "acs_entrance.removed" | "acs_system.connected" | "acs_system.disconnected" | "acs_system.added" | "acs_user.deleted" | "acs_user.created" | "action_attempt.lock_door.succeeded" | "action_attempt.lock_door.failed" | "action_attempt.unlock_door.succeeded" | "action_attempt.unlock_door.failed" | "client_session.deleted" | "connected_account.connected" | "connected_account.created" | "connected_account.successful_login" | "connected_account.disconnected" | "connected_account.completed_first_sync" | "connected_account.deleted" | "connected_account.completed_first_sync_after_reconnection" | "device.connected" | "device.added" | "device.converted_to_unmanaged" | "device.unmanaged.converted_to_managed" | "device.unmanaged.connected" | "device.disconnected" | "device.unmanaged.disconnected" | "device.tampered" | "device.low_battery" | "device.battery_status_changed" | "device.removed" | "device.deleted" | "device.third_party_integration_detected" | "device.third_party_integration_no_longer_detected" | "device.salto.privacy_mode_activated" | "device.salto.privacy_mode_deactivated" | "device.connection_became_flaky" | "device.connection_stabilized" | "device.error.subscription_required" | "device.error.subscription_required.resolved" | "device.accessory_keypad_connected" | "device.accessory_keypad_disconnected" | "noise_sensor.noise_threshold_triggered" | "lock.locked" | "lock.unlocked" | "lock.access_denied" | "thermostat.climate_preset_activated" | "thermostat.manually_adjusted" | "thermostat.temperature_threshold_exceeded" | "thermostat.temperature_threshold_no_longer_exceeded" | "thermostat.temperature_reached_set_point" | "thermostat.temperature_changed" | "device.name_changed" | "enrollment_automation.deleted" | "phone.deactivated" | "access_grant.created" | "access_grant.deleted" | "access_grant.access_granted_to_all_doors" | "access_grant.access_granted_to_door" | "access_grant.access_to_door_lost" | "access_method.issued" | "access_method.card_encoding_required" | "access_method.revoked" | "access_method.deleted" | "connect_webview.login_succeeded" | "connect_webview.login_failed")[]]>;
|
|
2519
2542
|
export type SeamEventType = SeamEvent['event_type'];
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
export declare const building_block_type: z.ZodEnum<["connect_accounts", "manage_devices", "organize_spaces"]>;
|
|
3
|
+
export type BuildingBlockType = z.infer<typeof building_block_type>;
|
|
2
4
|
export declare const magic_link: z.ZodObject<{
|
|
3
5
|
url: z.ZodString;
|
|
4
|
-
building_block_type: z.ZodEnum<["
|
|
6
|
+
building_block_type: z.ZodEnum<["connect_accounts", "manage_devices", "organize_spaces"]>;
|
|
5
7
|
customer_key: z.ZodString;
|
|
6
8
|
expires_at: z.ZodString;
|
|
7
9
|
workspace_id: z.ZodString;
|
|
@@ -11,14 +13,14 @@ export declare const magic_link: z.ZodObject<{
|
|
|
11
13
|
workspace_id: string;
|
|
12
14
|
created_at: string;
|
|
13
15
|
expires_at: string;
|
|
14
|
-
building_block_type: "
|
|
16
|
+
building_block_type: "connect_accounts" | "manage_devices" | "organize_spaces";
|
|
15
17
|
customer_key: string;
|
|
16
18
|
}, {
|
|
17
19
|
url: string;
|
|
18
20
|
workspace_id: string;
|
|
19
21
|
created_at: string;
|
|
20
22
|
expires_at: string;
|
|
21
|
-
building_block_type: "
|
|
23
|
+
building_block_type: "connect_accounts" | "manage_devices" | "organize_spaces";
|
|
22
24
|
customer_key: string;
|
|
23
25
|
}>;
|
|
24
26
|
export type MagicLink = z.infer<typeof magic_link>;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
export const building_block_type = z.enum([
|
|
3
|
+
'connect_accounts',
|
|
4
|
+
'manage_devices',
|
|
5
|
+
'organize_spaces',
|
|
6
|
+
]);
|
|
2
7
|
export const magic_link = z.object({
|
|
3
8
|
url: z.string().url(),
|
|
4
|
-
building_block_type
|
|
5
|
-
'connect_account',
|
|
6
|
-
'manage_devices',
|
|
7
|
-
'organize_spaces',
|
|
8
|
-
]),
|
|
9
|
+
building_block_type,
|
|
9
10
|
customer_key: z.string(),
|
|
10
11
|
expires_at: z.string().datetime(),
|
|
11
12
|
workspace_id: z.string().uuid(),
|
|
@@ -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,
|
|
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"}
|
|
@@ -30413,7 +30413,7 @@ declare const _default: {
|
|
|
30413
30413
|
'x-undocumented': string;
|
|
30414
30414
|
};
|
|
30415
30415
|
};
|
|
30416
|
-
'/unstable_partner/building_blocks/
|
|
30416
|
+
'/unstable_partner/building_blocks/connect_accounts': {
|
|
30417
30417
|
post: {
|
|
30418
30418
|
description: string;
|
|
30419
30419
|
operationId: string;
|
|
@@ -30421,9 +30421,75 @@ declare const _default: {
|
|
|
30421
30421
|
content: {
|
|
30422
30422
|
'application/json': {
|
|
30423
30423
|
schema: {
|
|
30424
|
-
|
|
30425
|
-
|
|
30424
|
+
properties: {
|
|
30425
|
+
customer_key: {
|
|
30426
|
+
type: string;
|
|
30427
|
+
};
|
|
30428
|
+
};
|
|
30429
|
+
required: string[];
|
|
30430
|
+
type: string;
|
|
30431
|
+
};
|
|
30432
|
+
};
|
|
30433
|
+
};
|
|
30434
|
+
};
|
|
30435
|
+
responses: {
|
|
30436
|
+
200: {
|
|
30437
|
+
content: {
|
|
30438
|
+
'application/json': {
|
|
30439
|
+
schema: {
|
|
30440
|
+
properties: {
|
|
30441
|
+
magic_link: {
|
|
30442
|
+
$ref: string;
|
|
30443
|
+
};
|
|
30444
|
+
ok: {
|
|
30445
|
+
type: string;
|
|
30446
|
+
};
|
|
30447
|
+
};
|
|
30448
|
+
required: string[];
|
|
30449
|
+
type: string;
|
|
30426
30450
|
};
|
|
30451
|
+
};
|
|
30452
|
+
};
|
|
30453
|
+
description: string;
|
|
30454
|
+
};
|
|
30455
|
+
400: {
|
|
30456
|
+
description: string;
|
|
30457
|
+
};
|
|
30458
|
+
401: {
|
|
30459
|
+
description: string;
|
|
30460
|
+
};
|
|
30461
|
+
};
|
|
30462
|
+
security: ({
|
|
30463
|
+
pat_with_workspace: never[];
|
|
30464
|
+
console_session_with_workspace?: never;
|
|
30465
|
+
api_key?: never;
|
|
30466
|
+
} | {
|
|
30467
|
+
console_session_with_workspace: never[];
|
|
30468
|
+
pat_with_workspace?: never;
|
|
30469
|
+
api_key?: never;
|
|
30470
|
+
} | {
|
|
30471
|
+
api_key: never[];
|
|
30472
|
+
pat_with_workspace?: never;
|
|
30473
|
+
console_session_with_workspace?: never;
|
|
30474
|
+
})[];
|
|
30475
|
+
summary: string;
|
|
30476
|
+
tags: never[];
|
|
30477
|
+
'x-fern-sdk-group-name': string[];
|
|
30478
|
+
'x-fern-sdk-method-name': string;
|
|
30479
|
+
'x-fern-sdk-return-value': string;
|
|
30480
|
+
'x-response-key': string;
|
|
30481
|
+
'x-title': string;
|
|
30482
|
+
'x-undocumented': string;
|
|
30483
|
+
};
|
|
30484
|
+
};
|
|
30485
|
+
'/unstable_partner/building_blocks/generate_magic_link': {
|
|
30486
|
+
post: {
|
|
30487
|
+
description: string;
|
|
30488
|
+
operationId: string;
|
|
30489
|
+
requestBody: {
|
|
30490
|
+
content: {
|
|
30491
|
+
'application/json': {
|
|
30492
|
+
schema: {
|
|
30427
30493
|
oneOf: ({
|
|
30428
30494
|
properties: {
|
|
30429
30495
|
building_block_type: {
|
|
@@ -30433,7 +30499,7 @@ declare const _default: {
|
|
|
30433
30499
|
customer_key: {
|
|
30434
30500
|
type: string;
|
|
30435
30501
|
};
|
|
30436
|
-
|
|
30502
|
+
collection_key?: never;
|
|
30437
30503
|
};
|
|
30438
30504
|
required: string[];
|
|
30439
30505
|
type: string;
|
|
@@ -30443,39 +30509,181 @@ declare const _default: {
|
|
|
30443
30509
|
enum: string[];
|
|
30444
30510
|
type: string;
|
|
30445
30511
|
};
|
|
30512
|
+
collection_key: {
|
|
30513
|
+
type: string;
|
|
30514
|
+
};
|
|
30446
30515
|
customer_key: {
|
|
30447
30516
|
type: string;
|
|
30448
30517
|
};
|
|
30449
|
-
|
|
30450
|
-
|
|
30451
|
-
|
|
30452
|
-
|
|
30453
|
-
|
|
30454
|
-
|
|
30455
|
-
|
|
30456
|
-
|
|
30457
|
-
|
|
30458
|
-
|
|
30459
|
-
|
|
30460
|
-
|
|
30461
|
-
|
|
30462
|
-
|
|
30463
|
-
|
|
30464
|
-
|
|
30518
|
+
};
|
|
30519
|
+
required: string[];
|
|
30520
|
+
type: string;
|
|
30521
|
+
})[];
|
|
30522
|
+
};
|
|
30523
|
+
};
|
|
30524
|
+
};
|
|
30525
|
+
};
|
|
30526
|
+
responses: {
|
|
30527
|
+
200: {
|
|
30528
|
+
content: {
|
|
30529
|
+
'application/json': {
|
|
30530
|
+
schema: {
|
|
30531
|
+
properties: {
|
|
30532
|
+
magic_link: {
|
|
30533
|
+
$ref: string;
|
|
30534
|
+
};
|
|
30535
|
+
ok: {
|
|
30536
|
+
type: string;
|
|
30537
|
+
};
|
|
30538
|
+
};
|
|
30539
|
+
required: string[];
|
|
30540
|
+
type: string;
|
|
30541
|
+
};
|
|
30542
|
+
};
|
|
30543
|
+
};
|
|
30544
|
+
description: string;
|
|
30545
|
+
};
|
|
30546
|
+
400: {
|
|
30547
|
+
description: string;
|
|
30548
|
+
};
|
|
30549
|
+
401: {
|
|
30550
|
+
description: string;
|
|
30551
|
+
};
|
|
30552
|
+
};
|
|
30553
|
+
security: ({
|
|
30554
|
+
pat_with_workspace: never[];
|
|
30555
|
+
console_session_with_workspace?: never;
|
|
30556
|
+
api_key?: never;
|
|
30557
|
+
} | {
|
|
30558
|
+
console_session_with_workspace: never[];
|
|
30559
|
+
pat_with_workspace?: never;
|
|
30560
|
+
api_key?: never;
|
|
30561
|
+
} | {
|
|
30562
|
+
api_key: never[];
|
|
30563
|
+
pat_with_workspace?: never;
|
|
30564
|
+
console_session_with_workspace?: never;
|
|
30565
|
+
})[];
|
|
30566
|
+
summary: string;
|
|
30567
|
+
tags: never[];
|
|
30568
|
+
'x-fern-sdk-group-name': string[];
|
|
30569
|
+
'x-fern-sdk-method-name': string;
|
|
30570
|
+
'x-fern-sdk-return-value': string;
|
|
30571
|
+
'x-response-key': string;
|
|
30572
|
+
'x-title': string;
|
|
30573
|
+
'x-undocumented': string;
|
|
30574
|
+
};
|
|
30575
|
+
};
|
|
30576
|
+
'/unstable_partner/building_blocks/manage_devices': {
|
|
30577
|
+
post: {
|
|
30578
|
+
description: string;
|
|
30579
|
+
operationId: string;
|
|
30580
|
+
requestBody: {
|
|
30581
|
+
content: {
|
|
30582
|
+
'application/json': {
|
|
30583
|
+
schema: {
|
|
30584
|
+
properties: {
|
|
30585
|
+
customer_key: {
|
|
30586
|
+
type: string;
|
|
30587
|
+
};
|
|
30588
|
+
};
|
|
30589
|
+
required: string[];
|
|
30590
|
+
type: string;
|
|
30591
|
+
};
|
|
30592
|
+
};
|
|
30593
|
+
};
|
|
30594
|
+
};
|
|
30595
|
+
responses: {
|
|
30596
|
+
200: {
|
|
30597
|
+
content: {
|
|
30598
|
+
'application/json': {
|
|
30599
|
+
schema: {
|
|
30600
|
+
properties: {
|
|
30601
|
+
magic_link: {
|
|
30602
|
+
$ref: string;
|
|
30603
|
+
};
|
|
30604
|
+
ok: {
|
|
30605
|
+
type: string;
|
|
30606
|
+
};
|
|
30607
|
+
};
|
|
30608
|
+
required: string[];
|
|
30609
|
+
type: string;
|
|
30610
|
+
};
|
|
30611
|
+
};
|
|
30612
|
+
};
|
|
30613
|
+
description: string;
|
|
30614
|
+
};
|
|
30615
|
+
400: {
|
|
30616
|
+
description: string;
|
|
30617
|
+
};
|
|
30618
|
+
401: {
|
|
30619
|
+
description: string;
|
|
30620
|
+
};
|
|
30621
|
+
};
|
|
30622
|
+
security: ({
|
|
30623
|
+
pat_with_workspace: never[];
|
|
30624
|
+
console_session_with_workspace?: never;
|
|
30625
|
+
api_key?: never;
|
|
30626
|
+
} | {
|
|
30627
|
+
console_session_with_workspace: never[];
|
|
30628
|
+
pat_with_workspace?: never;
|
|
30629
|
+
api_key?: never;
|
|
30630
|
+
} | {
|
|
30631
|
+
api_key: never[];
|
|
30632
|
+
pat_with_workspace?: never;
|
|
30633
|
+
console_session_with_workspace?: never;
|
|
30634
|
+
})[];
|
|
30635
|
+
summary: string;
|
|
30636
|
+
tags: never[];
|
|
30637
|
+
'x-fern-sdk-group-name': string[];
|
|
30638
|
+
'x-fern-sdk-method-name': string;
|
|
30639
|
+
'x-fern-sdk-return-value': string;
|
|
30640
|
+
'x-response-key': string;
|
|
30641
|
+
'x-title': string;
|
|
30642
|
+
'x-undocumented': string;
|
|
30643
|
+
};
|
|
30644
|
+
};
|
|
30645
|
+
'/unstable_partner/building_blocks/organize_spaces': {
|
|
30646
|
+
post: {
|
|
30647
|
+
description: string;
|
|
30648
|
+
operationId: string;
|
|
30649
|
+
requestBody: {
|
|
30650
|
+
content: {
|
|
30651
|
+
'application/json': {
|
|
30652
|
+
schema: {
|
|
30653
|
+
properties: {
|
|
30654
|
+
customer_key: {
|
|
30655
|
+
type: string;
|
|
30656
|
+
};
|
|
30657
|
+
partner_resources: {
|
|
30658
|
+
items: {
|
|
30659
|
+
properties: {
|
|
30660
|
+
custom_metadata: {
|
|
30661
|
+
additionalProperties: {
|
|
30465
30662
|
type: string;
|
|
30466
30663
|
};
|
|
30664
|
+
type: string;
|
|
30665
|
+
};
|
|
30666
|
+
description: {
|
|
30667
|
+
type: string;
|
|
30668
|
+
};
|
|
30669
|
+
name: {
|
|
30670
|
+
type: string;
|
|
30671
|
+
};
|
|
30672
|
+
partner_resource_key: {
|
|
30673
|
+
type: string;
|
|
30467
30674
|
};
|
|
30468
|
-
required: string[];
|
|
30469
|
-
type: string;
|
|
30470
|
-
'x-route-path': string;
|
|
30471
|
-
'x-undocumented': string;
|
|
30472
30675
|
};
|
|
30676
|
+
required: string[];
|
|
30473
30677
|
type: string;
|
|
30678
|
+
'x-route-path': string;
|
|
30679
|
+
'x-undocumented': string;
|
|
30474
30680
|
};
|
|
30681
|
+
minItems: number;
|
|
30682
|
+
type: string;
|
|
30475
30683
|
};
|
|
30476
|
-
|
|
30477
|
-
|
|
30478
|
-
|
|
30684
|
+
};
|
|
30685
|
+
required: string[];
|
|
30686
|
+
type: string;
|
|
30479
30687
|
};
|
|
30480
30688
|
};
|
|
30481
30689
|
};
|
|
@@ -30507,9 +30715,19 @@ declare const _default: {
|
|
|
30507
30715
|
description: string;
|
|
30508
30716
|
};
|
|
30509
30717
|
};
|
|
30510
|
-
security: {
|
|
30718
|
+
security: ({
|
|
30719
|
+
pat_with_workspace: never[];
|
|
30720
|
+
console_session_with_workspace?: never;
|
|
30721
|
+
api_key?: never;
|
|
30722
|
+
} | {
|
|
30723
|
+
console_session_with_workspace: never[];
|
|
30724
|
+
pat_with_workspace?: never;
|
|
30725
|
+
api_key?: never;
|
|
30726
|
+
} | {
|
|
30511
30727
|
api_key: never[];
|
|
30512
|
-
|
|
30728
|
+
pat_with_workspace?: never;
|
|
30729
|
+
console_session_with_workspace?: never;
|
|
30730
|
+
})[];
|
|
30513
30731
|
summary: string;
|
|
30514
30732
|
tags: never[];
|
|
30515
30733
|
'x-fern-sdk-group-name': string[];
|