@seamapi/types 1.406.8 → 1.406.9
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 +178 -24
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +313 -31
- 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/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 +177 -23
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +66 -2
- package/package.json +1 -1
- package/src/lib/seam/connect/internal/schemas.ts +1 -0
- package/src/lib/seam/connect/models/partner/magic-link.ts +9 -5
- package/src/lib/seam/connect/openapi.ts +180 -23
- package/src/lib/seam/connect/route-types.ts +81 -8
package/dist/connect.d.cts
CHANGED
|
@@ -51763,7 +51763,7 @@ declare const _default: {
|
|
|
51763
51763
|
'x-undocumented': string;
|
|
51764
51764
|
};
|
|
51765
51765
|
};
|
|
51766
|
-
'/unstable_partner/building_blocks/
|
|
51766
|
+
'/unstable_partner/building_blocks/connect_accounts': {
|
|
51767
51767
|
post: {
|
|
51768
51768
|
description: string;
|
|
51769
51769
|
operationId: string;
|
|
@@ -51771,9 +51771,75 @@ declare const _default: {
|
|
|
51771
51771
|
content: {
|
|
51772
51772
|
'application/json': {
|
|
51773
51773
|
schema: {
|
|
51774
|
-
|
|
51775
|
-
|
|
51774
|
+
properties: {
|
|
51775
|
+
customer_key: {
|
|
51776
|
+
type: string;
|
|
51777
|
+
};
|
|
51778
|
+
};
|
|
51779
|
+
required: string[];
|
|
51780
|
+
type: string;
|
|
51781
|
+
};
|
|
51782
|
+
};
|
|
51783
|
+
};
|
|
51784
|
+
};
|
|
51785
|
+
responses: {
|
|
51786
|
+
200: {
|
|
51787
|
+
content: {
|
|
51788
|
+
'application/json': {
|
|
51789
|
+
schema: {
|
|
51790
|
+
properties: {
|
|
51791
|
+
magic_link: {
|
|
51792
|
+
$ref: string;
|
|
51793
|
+
};
|
|
51794
|
+
ok: {
|
|
51795
|
+
type: string;
|
|
51796
|
+
};
|
|
51797
|
+
};
|
|
51798
|
+
required: string[];
|
|
51799
|
+
type: string;
|
|
51776
51800
|
};
|
|
51801
|
+
};
|
|
51802
|
+
};
|
|
51803
|
+
description: string;
|
|
51804
|
+
};
|
|
51805
|
+
400: {
|
|
51806
|
+
description: string;
|
|
51807
|
+
};
|
|
51808
|
+
401: {
|
|
51809
|
+
description: string;
|
|
51810
|
+
};
|
|
51811
|
+
};
|
|
51812
|
+
security: ({
|
|
51813
|
+
pat_with_workspace: never[];
|
|
51814
|
+
console_session_with_workspace?: never;
|
|
51815
|
+
api_key?: never;
|
|
51816
|
+
} | {
|
|
51817
|
+
console_session_with_workspace: never[];
|
|
51818
|
+
pat_with_workspace?: never;
|
|
51819
|
+
api_key?: never;
|
|
51820
|
+
} | {
|
|
51821
|
+
api_key: never[];
|
|
51822
|
+
pat_with_workspace?: never;
|
|
51823
|
+
console_session_with_workspace?: never;
|
|
51824
|
+
})[];
|
|
51825
|
+
summary: string;
|
|
51826
|
+
tags: never[];
|
|
51827
|
+
'x-fern-sdk-group-name': string[];
|
|
51828
|
+
'x-fern-sdk-method-name': string;
|
|
51829
|
+
'x-fern-sdk-return-value': string;
|
|
51830
|
+
'x-response-key': string;
|
|
51831
|
+
'x-title': string;
|
|
51832
|
+
'x-undocumented': string;
|
|
51833
|
+
};
|
|
51834
|
+
};
|
|
51835
|
+
'/unstable_partner/building_blocks/generate_magic_link': {
|
|
51836
|
+
post: {
|
|
51837
|
+
description: string;
|
|
51838
|
+
operationId: string;
|
|
51839
|
+
requestBody: {
|
|
51840
|
+
content: {
|
|
51841
|
+
'application/json': {
|
|
51842
|
+
schema: {
|
|
51777
51843
|
oneOf: ({
|
|
51778
51844
|
properties: {
|
|
51779
51845
|
building_block_type: {
|
|
@@ -51783,7 +51849,7 @@ declare const _default: {
|
|
|
51783
51849
|
customer_key: {
|
|
51784
51850
|
type: string;
|
|
51785
51851
|
};
|
|
51786
|
-
|
|
51852
|
+
collection_key?: never;
|
|
51787
51853
|
};
|
|
51788
51854
|
required: string[];
|
|
51789
51855
|
type: string;
|
|
@@ -51793,39 +51859,181 @@ declare const _default: {
|
|
|
51793
51859
|
enum: string[];
|
|
51794
51860
|
type: string;
|
|
51795
51861
|
};
|
|
51862
|
+
collection_key: {
|
|
51863
|
+
type: string;
|
|
51864
|
+
};
|
|
51796
51865
|
customer_key: {
|
|
51797
51866
|
type: string;
|
|
51798
51867
|
};
|
|
51799
|
-
|
|
51800
|
-
|
|
51801
|
-
|
|
51802
|
-
|
|
51803
|
-
|
|
51804
|
-
|
|
51805
|
-
|
|
51806
|
-
|
|
51807
|
-
|
|
51808
|
-
|
|
51809
|
-
|
|
51810
|
-
|
|
51811
|
-
|
|
51812
|
-
|
|
51813
|
-
|
|
51814
|
-
|
|
51868
|
+
};
|
|
51869
|
+
required: string[];
|
|
51870
|
+
type: string;
|
|
51871
|
+
})[];
|
|
51872
|
+
};
|
|
51873
|
+
};
|
|
51874
|
+
};
|
|
51875
|
+
};
|
|
51876
|
+
responses: {
|
|
51877
|
+
200: {
|
|
51878
|
+
content: {
|
|
51879
|
+
'application/json': {
|
|
51880
|
+
schema: {
|
|
51881
|
+
properties: {
|
|
51882
|
+
magic_link: {
|
|
51883
|
+
$ref: string;
|
|
51884
|
+
};
|
|
51885
|
+
ok: {
|
|
51886
|
+
type: string;
|
|
51887
|
+
};
|
|
51888
|
+
};
|
|
51889
|
+
required: string[];
|
|
51890
|
+
type: string;
|
|
51891
|
+
};
|
|
51892
|
+
};
|
|
51893
|
+
};
|
|
51894
|
+
description: string;
|
|
51895
|
+
};
|
|
51896
|
+
400: {
|
|
51897
|
+
description: string;
|
|
51898
|
+
};
|
|
51899
|
+
401: {
|
|
51900
|
+
description: string;
|
|
51901
|
+
};
|
|
51902
|
+
};
|
|
51903
|
+
security: ({
|
|
51904
|
+
pat_with_workspace: never[];
|
|
51905
|
+
console_session_with_workspace?: never;
|
|
51906
|
+
api_key?: never;
|
|
51907
|
+
} | {
|
|
51908
|
+
console_session_with_workspace: never[];
|
|
51909
|
+
pat_with_workspace?: never;
|
|
51910
|
+
api_key?: never;
|
|
51911
|
+
} | {
|
|
51912
|
+
api_key: never[];
|
|
51913
|
+
pat_with_workspace?: never;
|
|
51914
|
+
console_session_with_workspace?: never;
|
|
51915
|
+
})[];
|
|
51916
|
+
summary: string;
|
|
51917
|
+
tags: never[];
|
|
51918
|
+
'x-fern-sdk-group-name': string[];
|
|
51919
|
+
'x-fern-sdk-method-name': string;
|
|
51920
|
+
'x-fern-sdk-return-value': string;
|
|
51921
|
+
'x-response-key': string;
|
|
51922
|
+
'x-title': string;
|
|
51923
|
+
'x-undocumented': string;
|
|
51924
|
+
};
|
|
51925
|
+
};
|
|
51926
|
+
'/unstable_partner/building_blocks/manage_devices': {
|
|
51927
|
+
post: {
|
|
51928
|
+
description: string;
|
|
51929
|
+
operationId: string;
|
|
51930
|
+
requestBody: {
|
|
51931
|
+
content: {
|
|
51932
|
+
'application/json': {
|
|
51933
|
+
schema: {
|
|
51934
|
+
properties: {
|
|
51935
|
+
customer_key: {
|
|
51936
|
+
type: string;
|
|
51937
|
+
};
|
|
51938
|
+
};
|
|
51939
|
+
required: string[];
|
|
51940
|
+
type: string;
|
|
51941
|
+
};
|
|
51942
|
+
};
|
|
51943
|
+
};
|
|
51944
|
+
};
|
|
51945
|
+
responses: {
|
|
51946
|
+
200: {
|
|
51947
|
+
content: {
|
|
51948
|
+
'application/json': {
|
|
51949
|
+
schema: {
|
|
51950
|
+
properties: {
|
|
51951
|
+
magic_link: {
|
|
51952
|
+
$ref: string;
|
|
51953
|
+
};
|
|
51954
|
+
ok: {
|
|
51955
|
+
type: string;
|
|
51956
|
+
};
|
|
51957
|
+
};
|
|
51958
|
+
required: string[];
|
|
51959
|
+
type: string;
|
|
51960
|
+
};
|
|
51961
|
+
};
|
|
51962
|
+
};
|
|
51963
|
+
description: string;
|
|
51964
|
+
};
|
|
51965
|
+
400: {
|
|
51966
|
+
description: string;
|
|
51967
|
+
};
|
|
51968
|
+
401: {
|
|
51969
|
+
description: string;
|
|
51970
|
+
};
|
|
51971
|
+
};
|
|
51972
|
+
security: ({
|
|
51973
|
+
pat_with_workspace: never[];
|
|
51974
|
+
console_session_with_workspace?: never;
|
|
51975
|
+
api_key?: never;
|
|
51976
|
+
} | {
|
|
51977
|
+
console_session_with_workspace: never[];
|
|
51978
|
+
pat_with_workspace?: never;
|
|
51979
|
+
api_key?: never;
|
|
51980
|
+
} | {
|
|
51981
|
+
api_key: never[];
|
|
51982
|
+
pat_with_workspace?: never;
|
|
51983
|
+
console_session_with_workspace?: never;
|
|
51984
|
+
})[];
|
|
51985
|
+
summary: string;
|
|
51986
|
+
tags: never[];
|
|
51987
|
+
'x-fern-sdk-group-name': string[];
|
|
51988
|
+
'x-fern-sdk-method-name': string;
|
|
51989
|
+
'x-fern-sdk-return-value': string;
|
|
51990
|
+
'x-response-key': string;
|
|
51991
|
+
'x-title': string;
|
|
51992
|
+
'x-undocumented': string;
|
|
51993
|
+
};
|
|
51994
|
+
};
|
|
51995
|
+
'/unstable_partner/building_blocks/organize_spaces': {
|
|
51996
|
+
post: {
|
|
51997
|
+
description: string;
|
|
51998
|
+
operationId: string;
|
|
51999
|
+
requestBody: {
|
|
52000
|
+
content: {
|
|
52001
|
+
'application/json': {
|
|
52002
|
+
schema: {
|
|
52003
|
+
properties: {
|
|
52004
|
+
customer_key: {
|
|
52005
|
+
type: string;
|
|
52006
|
+
};
|
|
52007
|
+
partner_resources: {
|
|
52008
|
+
items: {
|
|
52009
|
+
properties: {
|
|
52010
|
+
custom_metadata: {
|
|
52011
|
+
additionalProperties: {
|
|
51815
52012
|
type: string;
|
|
51816
52013
|
};
|
|
52014
|
+
type: string;
|
|
52015
|
+
};
|
|
52016
|
+
description: {
|
|
52017
|
+
type: string;
|
|
52018
|
+
};
|
|
52019
|
+
name: {
|
|
52020
|
+
type: string;
|
|
52021
|
+
};
|
|
52022
|
+
partner_resource_key: {
|
|
52023
|
+
type: string;
|
|
51817
52024
|
};
|
|
51818
|
-
required: string[];
|
|
51819
|
-
type: string;
|
|
51820
|
-
'x-route-path': string;
|
|
51821
|
-
'x-undocumented': string;
|
|
51822
52025
|
};
|
|
52026
|
+
required: string[];
|
|
51823
52027
|
type: string;
|
|
52028
|
+
'x-route-path': string;
|
|
52029
|
+
'x-undocumented': string;
|
|
51824
52030
|
};
|
|
52031
|
+
minItems: number;
|
|
52032
|
+
type: string;
|
|
51825
52033
|
};
|
|
51826
|
-
|
|
51827
|
-
|
|
51828
|
-
|
|
52034
|
+
};
|
|
52035
|
+
required: string[];
|
|
52036
|
+
type: string;
|
|
51829
52037
|
};
|
|
51830
52038
|
};
|
|
51831
52039
|
};
|
|
@@ -51857,9 +52065,19 @@ declare const _default: {
|
|
|
51857
52065
|
description: string;
|
|
51858
52066
|
};
|
|
51859
52067
|
};
|
|
51860
|
-
security: {
|
|
52068
|
+
security: ({
|
|
52069
|
+
pat_with_workspace: never[];
|
|
52070
|
+
console_session_with_workspace?: never;
|
|
52071
|
+
api_key?: never;
|
|
52072
|
+
} | {
|
|
52073
|
+
console_session_with_workspace: never[];
|
|
52074
|
+
pat_with_workspace?: never;
|
|
52075
|
+
api_key?: never;
|
|
52076
|
+
} | {
|
|
51861
52077
|
api_key: never[];
|
|
51862
|
-
|
|
52078
|
+
pat_with_workspace?: never;
|
|
52079
|
+
console_session_with_workspace?: never;
|
|
52080
|
+
})[];
|
|
51863
52081
|
summary: string;
|
|
51864
52082
|
tags: never[];
|
|
51865
52083
|
'x-fern-sdk-group-name': string[];
|
|
@@ -110939,19 +111157,83 @@ interface Routes {
|
|
|
110939
111157
|
};
|
|
110940
111158
|
};
|
|
110941
111159
|
};
|
|
111160
|
+
'/unstable_partner/building_blocks/connect_accounts': {
|
|
111161
|
+
route: '/unstable_partner/building_blocks/connect_accounts';
|
|
111162
|
+
method: 'POST';
|
|
111163
|
+
queryParams: {};
|
|
111164
|
+
jsonBody: {};
|
|
111165
|
+
commonParams: {
|
|
111166
|
+
customer_key: string;
|
|
111167
|
+
};
|
|
111168
|
+
formData: {};
|
|
111169
|
+
jsonResponse: {
|
|
111170
|
+
/** */
|
|
111171
|
+
magic_link: {
|
|
111172
|
+
url: string;
|
|
111173
|
+
building_block_type: 'connect_accounts' | 'manage_devices' | 'organize_spaces';
|
|
111174
|
+
customer_key: string;
|
|
111175
|
+
expires_at: string;
|
|
111176
|
+
workspace_id: string;
|
|
111177
|
+
created_at: string;
|
|
111178
|
+
};
|
|
111179
|
+
};
|
|
111180
|
+
};
|
|
110942
111181
|
'/unstable_partner/building_blocks/generate_magic_link': {
|
|
110943
111182
|
route: '/unstable_partner/building_blocks/generate_magic_link';
|
|
110944
111183
|
method: 'POST' | 'GET';
|
|
110945
111184
|
queryParams: {};
|
|
110946
111185
|
jsonBody: {};
|
|
110947
111186
|
commonParams: {
|
|
110948
|
-
building_block_type: '
|
|
111187
|
+
building_block_type: 'connect_accounts';
|
|
110949
111188
|
customer_key: string;
|
|
110950
111189
|
} | {
|
|
110951
111190
|
building_block_type: 'manage_devices';
|
|
110952
111191
|
customer_key: string;
|
|
110953
111192
|
} | {
|
|
110954
111193
|
building_block_type: 'organize_spaces';
|
|
111194
|
+
customer_key: string;
|
|
111195
|
+
collection_key: string;
|
|
111196
|
+
};
|
|
111197
|
+
formData: {};
|
|
111198
|
+
jsonResponse: {
|
|
111199
|
+
/** */
|
|
111200
|
+
magic_link: {
|
|
111201
|
+
url: string;
|
|
111202
|
+
building_block_type: 'connect_accounts' | 'manage_devices' | 'organize_spaces';
|
|
111203
|
+
customer_key: string;
|
|
111204
|
+
expires_at: string;
|
|
111205
|
+
workspace_id: string;
|
|
111206
|
+
created_at: string;
|
|
111207
|
+
};
|
|
111208
|
+
};
|
|
111209
|
+
};
|
|
111210
|
+
'/unstable_partner/building_blocks/manage_devices': {
|
|
111211
|
+
route: '/unstable_partner/building_blocks/manage_devices';
|
|
111212
|
+
method: 'POST';
|
|
111213
|
+
queryParams: {};
|
|
111214
|
+
jsonBody: {};
|
|
111215
|
+
commonParams: {
|
|
111216
|
+
customer_key: string;
|
|
111217
|
+
};
|
|
111218
|
+
formData: {};
|
|
111219
|
+
jsonResponse: {
|
|
111220
|
+
/** */
|
|
111221
|
+
magic_link: {
|
|
111222
|
+
url: string;
|
|
111223
|
+
building_block_type: 'connect_accounts' | 'manage_devices' | 'organize_spaces';
|
|
111224
|
+
customer_key: string;
|
|
111225
|
+
expires_at: string;
|
|
111226
|
+
workspace_id: string;
|
|
111227
|
+
created_at: string;
|
|
111228
|
+
};
|
|
111229
|
+
};
|
|
111230
|
+
};
|
|
111231
|
+
'/unstable_partner/building_blocks/organize_spaces': {
|
|
111232
|
+
route: '/unstable_partner/building_blocks/organize_spaces';
|
|
111233
|
+
method: 'POST';
|
|
111234
|
+
queryParams: {};
|
|
111235
|
+
jsonBody: {};
|
|
111236
|
+
commonParams: {
|
|
110955
111237
|
customer_key: string;
|
|
110956
111238
|
partner_resources: Array<{
|
|
110957
111239
|
partner_resource_key: string;
|
|
@@ -110965,7 +111247,7 @@ interface Routes {
|
|
|
110965
111247
|
/** */
|
|
110966
111248
|
magic_link: {
|
|
110967
111249
|
url: string;
|
|
110968
|
-
building_block_type: '
|
|
111250
|
+
building_block_type: 'connect_accounts' | 'manage_devices' | 'organize_spaces';
|
|
110969
111251
|
customer_key: string;
|
|
110970
111252
|
expires_at: string;
|
|
110971
111253
|
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, 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, 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, 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, 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, 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, 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,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,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,gCAAgC,EAChC,sBAAsB,EACtB,mBAAmB,EACnB,sBAAsB,EACtB,qBAAqB,EACrB,gBAAgB,EAChB,aAAa,EACb,OAAO,GACR,MAAM,oBAAoB,CAAA;AAC3B,cAAc,eAAe,CAAA"}
|
|
@@ -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"}
|