@seamapi/types 1.406.6 → 1.406.7
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 +51 -153
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +64 -181
- 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/partner/index.d.ts +1 -0
- package/lib/seam/connect/models/partner/index.js +1 -0
- package/lib/seam/connect/models/partner/index.js.map +1 -1
- package/lib/seam/connect/models/partner/magic-link.d.ts +27 -0
- package/lib/seam/connect/models/partner/magic-link.js +16 -0
- package/lib/seam/connect/models/partner/magic-link.js.map +1 -0
- package/lib/seam/connect/models/partner/resources.d.ts +2 -2
- package/lib/seam/connect/models/partner/resources.js +6 -1
- package/lib/seam/connect/models/partner/resources.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +50 -139
- package/lib/seam/connect/openapi.js +48 -150
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +14 -42
- package/package.json +1 -1
- package/src/lib/seam/connect/internal/schemas.ts +2 -0
- package/src/lib/seam/connect/models/partner/index.ts +1 -0
- package/src/lib/seam/connect/models/partner/magic-link.ts +18 -0
- package/src/lib/seam/connect/models/partner/resources.ts +6 -1
- package/src/lib/seam/connect/openapi.ts +48 -160
- package/src/lib/seam/connect/route-types.ts +14 -45
package/dist/connect.d.cts
CHANGED
|
@@ -30003,6 +30003,41 @@ declare const _default: {
|
|
|
30003
30003
|
'x-route-path': string;
|
|
30004
30004
|
'x-undocumented': string;
|
|
30005
30005
|
};
|
|
30006
|
+
magic_link: {
|
|
30007
|
+
properties: {
|
|
30008
|
+
building_block_type: {
|
|
30009
|
+
enum: string[];
|
|
30010
|
+
type: string;
|
|
30011
|
+
};
|
|
30012
|
+
created_at: {
|
|
30013
|
+
format: string;
|
|
30014
|
+
type: string;
|
|
30015
|
+
};
|
|
30016
|
+
customer_id: {
|
|
30017
|
+
format: string;
|
|
30018
|
+
type: string;
|
|
30019
|
+
};
|
|
30020
|
+
customer_key: {
|
|
30021
|
+
type: string;
|
|
30022
|
+
};
|
|
30023
|
+
expires_at: {
|
|
30024
|
+
format: string;
|
|
30025
|
+
type: string;
|
|
30026
|
+
};
|
|
30027
|
+
url: {
|
|
30028
|
+
format: string;
|
|
30029
|
+
type: string;
|
|
30030
|
+
};
|
|
30031
|
+
workspace_id: {
|
|
30032
|
+
format: string;
|
|
30033
|
+
type: string;
|
|
30034
|
+
};
|
|
30035
|
+
};
|
|
30036
|
+
required: string[];
|
|
30037
|
+
type: string;
|
|
30038
|
+
'x-route-path': string;
|
|
30039
|
+
'x-undocumented': string;
|
|
30040
|
+
};
|
|
30006
30041
|
network: {
|
|
30007
30042
|
properties: {
|
|
30008
30043
|
created_at: {
|
|
@@ -46234,6 +46269,8 @@ declare const _default: {
|
|
|
46234
46269
|
};
|
|
46235
46270
|
required: string[];
|
|
46236
46271
|
type: string;
|
|
46272
|
+
'x-route-path': string;
|
|
46273
|
+
'x-undocumented': string;
|
|
46237
46274
|
};
|
|
46238
46275
|
type: string;
|
|
46239
46276
|
};
|
|
@@ -51466,7 +51503,7 @@ declare const _default: {
|
|
|
51466
51503
|
'x-undocumented': string;
|
|
51467
51504
|
};
|
|
51468
51505
|
};
|
|
51469
|
-
'/unstable_partner/building_blocks/
|
|
51506
|
+
'/unstable_partner/building_blocks/generate_magic_link': {
|
|
51470
51507
|
post: {
|
|
51471
51508
|
description: string;
|
|
51472
51509
|
operationId: string;
|
|
@@ -51475,13 +51512,11 @@ declare const _default: {
|
|
|
51475
51512
|
'application/json': {
|
|
51476
51513
|
schema: {
|
|
51477
51514
|
properties: {
|
|
51478
|
-
|
|
51479
|
-
|
|
51480
|
-
};
|
|
51481
|
-
bridge_client_name: {
|
|
51515
|
+
building_block_type: {
|
|
51516
|
+
enum: string[];
|
|
51482
51517
|
type: string;
|
|
51483
51518
|
};
|
|
51484
|
-
|
|
51519
|
+
customer_key: {
|
|
51485
51520
|
type: string;
|
|
51486
51521
|
};
|
|
51487
51522
|
};
|
|
@@ -51497,138 +51532,8 @@ declare const _default: {
|
|
|
51497
51532
|
'application/json': {
|
|
51498
51533
|
schema: {
|
|
51499
51534
|
properties: {
|
|
51500
|
-
|
|
51501
|
-
|
|
51502
|
-
bridge_client_machine_identifier_key: {
|
|
51503
|
-
type: string;
|
|
51504
|
-
};
|
|
51505
|
-
bridge_client_name: {
|
|
51506
|
-
type: string;
|
|
51507
|
-
};
|
|
51508
|
-
bridge_client_session_id: {
|
|
51509
|
-
format: string;
|
|
51510
|
-
type: string;
|
|
51511
|
-
};
|
|
51512
|
-
bridge_client_session_token: {
|
|
51513
|
-
type: string;
|
|
51514
|
-
};
|
|
51515
|
-
bridge_client_time_zone: {
|
|
51516
|
-
type: string;
|
|
51517
|
-
};
|
|
51518
|
-
created_at: {
|
|
51519
|
-
format: string;
|
|
51520
|
-
type: string;
|
|
51521
|
-
};
|
|
51522
|
-
errors: {
|
|
51523
|
-
items: {
|
|
51524
|
-
description: string;
|
|
51525
|
-
discriminator: {
|
|
51526
|
-
propertyName: string;
|
|
51527
|
-
};
|
|
51528
|
-
oneOf: ({
|
|
51529
|
-
description: string;
|
|
51530
|
-
properties: {
|
|
51531
|
-
can_tailscale_proxy_reach_bridge: {
|
|
51532
|
-
description: string;
|
|
51533
|
-
nullable: boolean;
|
|
51534
|
-
type: string;
|
|
51535
|
-
};
|
|
51536
|
-
can_tailscale_proxy_reach_tailscale_network: {
|
|
51537
|
-
description: string;
|
|
51538
|
-
nullable: boolean;
|
|
51539
|
-
type: string;
|
|
51540
|
-
};
|
|
51541
|
-
created_at: {
|
|
51542
|
-
format: string;
|
|
51543
|
-
type: string;
|
|
51544
|
-
};
|
|
51545
|
-
error_code: {
|
|
51546
|
-
description: string;
|
|
51547
|
-
enum: string[];
|
|
51548
|
-
type: string;
|
|
51549
|
-
};
|
|
51550
|
-
is_bridge_socks_server_healthy: {
|
|
51551
|
-
description: string;
|
|
51552
|
-
nullable: boolean;
|
|
51553
|
-
type: string;
|
|
51554
|
-
};
|
|
51555
|
-
is_tailscale_proxy_reachable: {
|
|
51556
|
-
description: string;
|
|
51557
|
-
nullable: boolean;
|
|
51558
|
-
type: string;
|
|
51559
|
-
};
|
|
51560
|
-
is_tailscale_proxy_socks_server_healthy: {
|
|
51561
|
-
description: string;
|
|
51562
|
-
nullable: boolean;
|
|
51563
|
-
type: string;
|
|
51564
|
-
};
|
|
51565
|
-
message: {
|
|
51566
|
-
type: string;
|
|
51567
|
-
};
|
|
51568
|
-
};
|
|
51569
|
-
required: string[];
|
|
51570
|
-
type: string;
|
|
51571
|
-
} | {
|
|
51572
|
-
description: string;
|
|
51573
|
-
properties: {
|
|
51574
|
-
created_at: {
|
|
51575
|
-
format: string;
|
|
51576
|
-
type: string;
|
|
51577
|
-
};
|
|
51578
|
-
error_code: {
|
|
51579
|
-
description: string;
|
|
51580
|
-
enum: string[];
|
|
51581
|
-
type: string;
|
|
51582
|
-
};
|
|
51583
|
-
message: {
|
|
51584
|
-
type: string;
|
|
51585
|
-
};
|
|
51586
|
-
can_tailscale_proxy_reach_bridge?: never;
|
|
51587
|
-
can_tailscale_proxy_reach_tailscale_network?: never;
|
|
51588
|
-
is_bridge_socks_server_healthy?: never;
|
|
51589
|
-
is_tailscale_proxy_reachable?: never;
|
|
51590
|
-
is_tailscale_proxy_socks_server_healthy?: never;
|
|
51591
|
-
};
|
|
51592
|
-
required: string[];
|
|
51593
|
-
type: string;
|
|
51594
|
-
})[];
|
|
51595
|
-
};
|
|
51596
|
-
type: string;
|
|
51597
|
-
};
|
|
51598
|
-
pairing_code: {
|
|
51599
|
-
maxLength: number;
|
|
51600
|
-
minLength: number;
|
|
51601
|
-
type: string;
|
|
51602
|
-
};
|
|
51603
|
-
pairing_code_expires_at: {
|
|
51604
|
-
format: string;
|
|
51605
|
-
type: string;
|
|
51606
|
-
};
|
|
51607
|
-
tailscale_auth_key: {
|
|
51608
|
-
nullable: boolean;
|
|
51609
|
-
type: string;
|
|
51610
|
-
};
|
|
51611
|
-
tailscale_hostname: {
|
|
51612
|
-
type: string;
|
|
51613
|
-
};
|
|
51614
|
-
telemetry_token: {
|
|
51615
|
-
nullable: boolean;
|
|
51616
|
-
type: string;
|
|
51617
|
-
};
|
|
51618
|
-
telemetry_token_expires_at: {
|
|
51619
|
-
format: string;
|
|
51620
|
-
nullable: boolean;
|
|
51621
|
-
type: string;
|
|
51622
|
-
};
|
|
51623
|
-
telemetry_url: {
|
|
51624
|
-
nullable: boolean;
|
|
51625
|
-
type: string;
|
|
51626
|
-
};
|
|
51627
|
-
};
|
|
51628
|
-
required: string[];
|
|
51629
|
-
type: string;
|
|
51630
|
-
'x-route-path': string;
|
|
51631
|
-
'x-undocumented': string;
|
|
51535
|
+
magic_link: {
|
|
51536
|
+
$ref: string;
|
|
51632
51537
|
};
|
|
51633
51538
|
ok: {
|
|
51634
51539
|
type: string;
|
|
@@ -51649,7 +51554,7 @@ declare const _default: {
|
|
|
51649
51554
|
};
|
|
51650
51555
|
};
|
|
51651
51556
|
security: {
|
|
51652
|
-
|
|
51557
|
+
api_key: never[];
|
|
51653
51558
|
}[];
|
|
51654
51559
|
summary: string;
|
|
51655
51560
|
tags: never[];
|
|
@@ -51716,9 +51621,13 @@ declare const _default: {
|
|
|
51716
51621
|
};
|
|
51717
51622
|
};
|
|
51718
51623
|
type: string;
|
|
51624
|
+
'x-route-path': string;
|
|
51625
|
+
'x-undocumented': string;
|
|
51719
51626
|
};
|
|
51720
51627
|
type: string;
|
|
51721
51628
|
properties?: never;
|
|
51629
|
+
'x-route-path'?: never;
|
|
51630
|
+
'x-undocumented'?: never;
|
|
51722
51631
|
} | {
|
|
51723
51632
|
properties: {
|
|
51724
51633
|
custom_metadata: {
|
|
@@ -51765,6 +51674,8 @@ declare const _default: {
|
|
|
51765
51674
|
};
|
|
51766
51675
|
};
|
|
51767
51676
|
type: string;
|
|
51677
|
+
'x-route-path': string;
|
|
51678
|
+
'x-undocumented': string;
|
|
51768
51679
|
items?: never;
|
|
51769
51680
|
})[];
|
|
51770
51681
|
};
|
|
@@ -110642,54 +110553,26 @@ interface Routes {
|
|
|
110642
110553
|
};
|
|
110643
110554
|
};
|
|
110644
110555
|
};
|
|
110645
|
-
'/unstable_partner/building_blocks/
|
|
110646
|
-
route: '/unstable_partner/building_blocks/
|
|
110647
|
-
method: 'POST';
|
|
110556
|
+
'/unstable_partner/building_blocks/generate_magic_link': {
|
|
110557
|
+
route: '/unstable_partner/building_blocks/generate_magic_link';
|
|
110558
|
+
method: 'POST' | 'GET';
|
|
110648
110559
|
queryParams: {};
|
|
110649
|
-
jsonBody: {
|
|
110650
|
-
|
|
110651
|
-
|
|
110652
|
-
|
|
110560
|
+
jsonBody: {};
|
|
110561
|
+
commonParams: {
|
|
110562
|
+
building_block_type: 'connect_account' | 'manage_devices';
|
|
110563
|
+
customer_key: string;
|
|
110653
110564
|
};
|
|
110654
|
-
commonParams: {};
|
|
110655
110565
|
formData: {};
|
|
110656
110566
|
jsonResponse: {
|
|
110657
110567
|
/** */
|
|
110658
|
-
|
|
110568
|
+
magic_link: {
|
|
110569
|
+
url: string;
|
|
110570
|
+
building_block_type: 'connect_account' | 'manage_devices';
|
|
110571
|
+
customer_id: string;
|
|
110572
|
+
customer_key: string;
|
|
110573
|
+
expires_at: string;
|
|
110574
|
+
workspace_id: string;
|
|
110659
110575
|
created_at: string;
|
|
110660
|
-
bridge_client_session_id: string;
|
|
110661
|
-
bridge_client_session_token: string;
|
|
110662
|
-
pairing_code: string;
|
|
110663
|
-
pairing_code_expires_at: string;
|
|
110664
|
-
tailscale_hostname: string;
|
|
110665
|
-
tailscale_auth_key: string | null;
|
|
110666
|
-
bridge_client_name: string;
|
|
110667
|
-
bridge_client_time_zone: string;
|
|
110668
|
-
bridge_client_machine_identifier_key: string;
|
|
110669
|
-
errors: Array<{
|
|
110670
|
-
message: string;
|
|
110671
|
-
created_at: string;
|
|
110672
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
110673
|
-
error_code: 'bridge_lan_unreachable';
|
|
110674
|
-
/** Seam cannot reach the tailscale proxy */
|
|
110675
|
-
is_tailscale_proxy_reachable: boolean | null;
|
|
110676
|
-
/** Tailscale proxy's SOCKS server is unhealthy */
|
|
110677
|
-
is_tailscale_proxy_socks_server_healthy: boolean | null;
|
|
110678
|
-
/** Tailscale proxy cannot reach the Tailscale network */
|
|
110679
|
-
can_tailscale_proxy_reach_tailscale_network: boolean | null;
|
|
110680
|
-
/** Tailscale proxy cannot reach the bridge */
|
|
110681
|
-
can_tailscale_proxy_reach_bridge: boolean | null;
|
|
110682
|
-
/** Bridge's SOCKS server is unhealthy */
|
|
110683
|
-
is_bridge_socks_server_healthy: boolean | null;
|
|
110684
|
-
} | {
|
|
110685
|
-
message: string;
|
|
110686
|
-
created_at: string;
|
|
110687
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
110688
|
-
error_code: 'no_communication_from_bridge';
|
|
110689
|
-
}>;
|
|
110690
|
-
telemetry_token: string | null;
|
|
110691
|
-
telemetry_token_expires_at: string | null;
|
|
110692
|
-
telemetry_url: string | null;
|
|
110693
110576
|
};
|
|
110694
110577
|
};
|
|
110695
110578
|
};
|
|
@@ -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, 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, access_code as managed_access_code, device as managed_device, noise_sensor_device_type, noise_threshold, pagination, phone, phone_number, phone_registration, phone_session, thermostat_capability_properties, thermostat_device_type, thermostat_schedule, 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, 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, thermostat_capability_properties, thermostat_device_type, thermostat_schedule, 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, 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, access_code as managed_access_code, device as managed_device, noise_sensor_device_type, noise_threshold, pagination, phone, phone_number, phone_registration, phone_session, thermostat_capability_properties, thermostat_device_type, thermostat_schedule, 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, 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, thermostat_capability_properties, thermostat_device_type, thermostat_schedule, 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,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,WAAW,IAAI,mBAAmB,EAClC,MAAM,IAAI,cAAc,EACxB,wBAAwB,EACxB,eAAe,EACf,UAAU,EACV,KAAK,EACL,YAAY,EACZ,kBAAkB,EAClB,aAAa,EACb,gCAAgC,EAChC,sBAAsB,EACtB,mBAAmB,EACnB,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,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,gCAAgC,EAChC,sBAAsB,EACtB,mBAAmB,EACnB,qBAAqB,EACrB,gBAAgB,EAChB,aAAa,EACb,OAAO,GACR,MAAM,oBAAoB,CAAA;AAC3B,cAAc,eAAe,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/partner/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/partner/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA;AAC/B,cAAc,gBAAgB,CAAA"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const magic_link: z.ZodObject<{
|
|
3
|
+
url: z.ZodString;
|
|
4
|
+
building_block_type: z.ZodEnum<["connect_account", "manage_devices"]>;
|
|
5
|
+
customer_id: z.ZodString;
|
|
6
|
+
customer_key: z.ZodString;
|
|
7
|
+
expires_at: z.ZodString;
|
|
8
|
+
workspace_id: z.ZodString;
|
|
9
|
+
created_at: z.ZodString;
|
|
10
|
+
}, "strip", z.ZodTypeAny, {
|
|
11
|
+
url: string;
|
|
12
|
+
workspace_id: string;
|
|
13
|
+
created_at: string;
|
|
14
|
+
expires_at: string;
|
|
15
|
+
customer_id: string;
|
|
16
|
+
building_block_type: "connect_account" | "manage_devices";
|
|
17
|
+
customer_key: string;
|
|
18
|
+
}, {
|
|
19
|
+
url: string;
|
|
20
|
+
workspace_id: string;
|
|
21
|
+
created_at: string;
|
|
22
|
+
expires_at: string;
|
|
23
|
+
customer_id: string;
|
|
24
|
+
building_block_type: "connect_account" | "manage_devices";
|
|
25
|
+
customer_key: string;
|
|
26
|
+
}>;
|
|
27
|
+
export type MagicLink = z.infer<typeof magic_link>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export const magic_link = z.object({
|
|
3
|
+
url: z.string().url(),
|
|
4
|
+
building_block_type: z.enum(['connect_account', 'manage_devices']),
|
|
5
|
+
customer_id: z.string().uuid(),
|
|
6
|
+
customer_key: z.string(),
|
|
7
|
+
expires_at: z.string().datetime(),
|
|
8
|
+
workspace_id: z.string().uuid(),
|
|
9
|
+
created_at: z.string().datetime(),
|
|
10
|
+
}).describe(`
|
|
11
|
+
---
|
|
12
|
+
undocumented: Unreleased.
|
|
13
|
+
route_path: /unstable_partner/building_blocks
|
|
14
|
+
---
|
|
15
|
+
`);
|
|
16
|
+
//# sourceMappingURL=magic-link.js.map
|
|
@@ -0,0 +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,UAAU,GAAG,CAAC,CAAC,MAAM,CAAC;IACjC,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IACrB,mBAAmB,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,iBAAiB,EAAE,gBAAgB,CAAC,CAAC;IAClE,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC9B,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"}
|
|
@@ -13,9 +13,9 @@ export declare const partner_resource: z.ZodObject<{
|
|
|
13
13
|
description: z.ZodOptional<z.ZodString>;
|
|
14
14
|
custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
15
15
|
}, "strip", z.ZodTypeAny, {
|
|
16
|
+
customer_key: string;
|
|
16
17
|
partner_resource_type: string;
|
|
17
18
|
partner_resource_key: string;
|
|
18
|
-
customer_key: string;
|
|
19
19
|
name?: string | undefined;
|
|
20
20
|
description?: string | undefined;
|
|
21
21
|
starts_at?: string | undefined;
|
|
@@ -26,9 +26,9 @@ export declare const partner_resource: z.ZodObject<{
|
|
|
26
26
|
user_identity_key?: string | undefined;
|
|
27
27
|
location_keys?: string[] | undefined;
|
|
28
28
|
}, {
|
|
29
|
+
customer_key: string;
|
|
29
30
|
partner_resource_type: string;
|
|
30
31
|
partner_resource_key: string;
|
|
31
|
-
customer_key: string;
|
|
32
32
|
name?: string | undefined;
|
|
33
33
|
description?: string | undefined;
|
|
34
34
|
starts_at?: string | undefined;
|
|
@@ -15,5 +15,10 @@ export const partner_resource = z.object({
|
|
|
15
15
|
name: z.string().optional(),
|
|
16
16
|
description: z.string().optional(),
|
|
17
17
|
custom_metadata: z.record(z.string(), z.string()).optional(),
|
|
18
|
-
})
|
|
18
|
+
}).describe(`
|
|
19
|
+
---
|
|
20
|
+
undocumented: Unreleased.
|
|
21
|
+
route_path: /unstable_partner/resources
|
|
22
|
+
---
|
|
23
|
+
`);
|
|
19
24
|
//# 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,CAAC,MAAM,EAAE;IACj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