@seamapi/types 1.357.1 → 1.359.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 +500 -36
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +2325 -833
- 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/model-types.d.ts +1 -1
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +100 -0
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +100 -0
- package/lib/seam/connect/models/acs/acs-access-group.d.ts +14 -14
- package/lib/seam/connect/models/acs/acs-credential.d.ts +74 -74
- package/lib/seam/connect/models/acs/acs-encoder.d.ts +8 -8
- package/lib/seam/connect/models/acs/acs-system.d.ts +72 -72
- package/lib/seam/connect/models/acs/acs-user.d.ts +104 -104
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +168 -168
- package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +72 -72
- package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +96 -96
- package/lib/seam/connect/models/connect-webviews/connect-webview.d.ts +2 -2
- package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +634 -21
- package/lib/seam/connect/models/connected-accounts/connected-account.js +56 -0
- package/lib/seam/connect/models/connected-accounts/connected-account.js.map +1 -1
- package/lib/seam/connect/models/devices/device-metadata.d.ts +24 -24
- package/lib/seam/connect/models/devices/device.d.ts +146 -46
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +127 -27
- package/lib/seam/connect/models/events/access-codes.d.ts +68 -68
- package/lib/seam/connect/models/events/connect-webviews.d.ts +4 -4
- package/lib/seam/connect/models/events/connected-accounts.d.ts +28 -28
- package/lib/seam/connect/models/events/devices.d.ts +128 -128
- package/lib/seam/connect/models/events/seam-event.d.ts +114 -114
- package/lib/seam/connect/models/index.d.ts +1 -0
- package/lib/seam/connect/models/index.js +1 -0
- package/lib/seam/connect/models/index.js.map +1 -1
- package/lib/seam/connect/models/pagination.d.ts +14 -0
- package/lib/seam/connect/models/pagination.js +18 -0
- package/lib/seam/connect/models/pagination.js.map +1 -0
- package/lib/seam/connect/openapi.d.ts +389 -24
- package/lib/seam/connect/openapi.js +438 -28
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +567 -0
- package/lib/seam/connect/schemas.d.ts +1 -1
- package/lib/seam/connect/schemas.js +1 -1
- package/lib/seam/connect/schemas.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/internal/schemas.ts +1 -0
- package/src/lib/seam/connect/model-types.ts +0 -2
- package/src/lib/seam/connect/models/connected-accounts/connected-account.ts +77 -2
- package/src/lib/seam/connect/models/index.ts +1 -0
- package/src/lib/seam/connect/models/pagination.ts +22 -0
- package/src/lib/seam/connect/openapi.ts +470 -31
- package/src/lib/seam/connect/route-types.ts +597 -0
- package/src/lib/seam/connect/schemas.ts +1 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { access_code_code_constraint, 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, 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, lock_device_type, access_code as managed_access_code, device as managed_device, noise_sensor_device_type, noise_threshold, phone, phone_number, 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, 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, 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, lock_device_type, access_code as managed_access_code, device as managed_device, noise_sensor_device_type, noise_threshold, pagination, phone, phone_number, 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, 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, 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, lock_device_type, access_code as managed_access_code, device as managed_device, noise_sensor_device_type, noise_threshold, phone, phone_number, 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, 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, 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, lock_device_type, access_code as managed_access_code, device as managed_device, noise_sensor_device_type, noise_threshold, pagination, phone, phone_number, 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,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,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,gBAAgB,EAChB,WAAW,IAAI,mBAAmB,EAClC,MAAM,IAAI,cAAc,EACxB,wBAAwB,EACxB,eAAe,EACf,KAAK,EACL,YAAY,EACZ,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,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,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,gBAAgB,EAChB,WAAW,IAAI,mBAAmB,EAClC,MAAM,IAAI,cAAc,EACxB,wBAAwB,EACxB,eAAe,EACf,UAAU,EACV,KAAK,EACL,YAAY,EACZ,gCAAgC,EAChC,sBAAsB,EACtB,mBAAmB,EACnB,qBAAqB,EACrB,gBAAgB,EAChB,aAAa,EACb,OAAO,GACR,MAAM,oBAAoB,CAAA;AAC3B,cAAc,eAAe,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type { AccessCode, AccessCodeError, AccessCodeWarning, AcsAccessGroup, AcsCredential, AcsEncoder, AcsEntrance, AcsSystem, AcsUser, ActionAttempt, Bridge, ClientSession, ConnectedAccount,
|
|
1
|
+
export type { AccessCode, AccessCodeError, AccessCodeWarning, AcsAccessGroup, AcsCredential, AcsEncoder, AcsEntrance, AcsSystem, AcsUser, ActionAttempt, Bridge, ClientSession, ConnectedAccount, ConnectWebview, CustomMetadata, Device, DeviceError, DeviceProvider, DeviceWarning, NoiseThreshold, SeamEvent, SeamEventType, ThermostatSchedule, UnmanagedAccessCode, UnmanagedDevice, UserIdentity, Webhook, Workspace, } from './models/index.js';
|
|
@@ -784,31 +784,101 @@ export declare const access_code: z.ZodObject<{
|
|
|
784
784
|
error_code: "subscription_required";
|
|
785
785
|
is_device_error: true;
|
|
786
786
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
787
|
+
created_at: z.ZodString;
|
|
787
788
|
message: z.ZodString;
|
|
788
789
|
is_connected_account_error: z.ZodLiteral<true>;
|
|
789
790
|
}, {
|
|
790
791
|
error_code: z.ZodLiteral<"account_disconnected">;
|
|
791
792
|
}>, "strip", z.ZodTypeAny, {
|
|
792
793
|
message: string;
|
|
794
|
+
created_at: string;
|
|
793
795
|
is_connected_account_error: true;
|
|
794
796
|
error_code: "account_disconnected";
|
|
795
797
|
}, {
|
|
796
798
|
message: string;
|
|
799
|
+
created_at: string;
|
|
797
800
|
is_connected_account_error: true;
|
|
798
801
|
error_code: "account_disconnected";
|
|
799
802
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
803
|
+
created_at: z.ZodString;
|
|
800
804
|
message: z.ZodString;
|
|
801
805
|
is_connected_account_error: z.ZodLiteral<true>;
|
|
802
806
|
}, {
|
|
803
807
|
error_code: z.ZodLiteral<"invalid_credentials">;
|
|
804
808
|
}>, "strip", z.ZodTypeAny, {
|
|
805
809
|
message: string;
|
|
810
|
+
created_at: string;
|
|
806
811
|
is_connected_account_error: true;
|
|
807
812
|
error_code: "invalid_credentials";
|
|
808
813
|
}, {
|
|
809
814
|
message: string;
|
|
815
|
+
created_at: string;
|
|
810
816
|
is_connected_account_error: true;
|
|
811
817
|
error_code: "invalid_credentials";
|
|
818
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
819
|
+
created_at: z.ZodString;
|
|
820
|
+
message: z.ZodString;
|
|
821
|
+
is_connected_account_error: z.ZodLiteral<true>;
|
|
822
|
+
}, {
|
|
823
|
+
error_code: z.ZodLiteral<"salto_ks_subscription_limit_exceeded">;
|
|
824
|
+
salto_ks_metadata: z.ZodObject<{
|
|
825
|
+
sites: z.ZodArray<z.ZodObject<{
|
|
826
|
+
site_id: z.ZodString;
|
|
827
|
+
site_name: z.ZodString;
|
|
828
|
+
subscribed_site_user_count: z.ZodNumber;
|
|
829
|
+
site_user_subscription_limit: z.ZodNumber;
|
|
830
|
+
}, "strip", z.ZodTypeAny, {
|
|
831
|
+
site_id: string;
|
|
832
|
+
site_name: string;
|
|
833
|
+
subscribed_site_user_count: number;
|
|
834
|
+
site_user_subscription_limit: number;
|
|
835
|
+
}, {
|
|
836
|
+
site_id: string;
|
|
837
|
+
site_name: string;
|
|
838
|
+
subscribed_site_user_count: number;
|
|
839
|
+
site_user_subscription_limit: number;
|
|
840
|
+
}>, "many">;
|
|
841
|
+
}, "strip", z.ZodTypeAny, {
|
|
842
|
+
sites: {
|
|
843
|
+
site_id: string;
|
|
844
|
+
site_name: string;
|
|
845
|
+
subscribed_site_user_count: number;
|
|
846
|
+
site_user_subscription_limit: number;
|
|
847
|
+
}[];
|
|
848
|
+
}, {
|
|
849
|
+
sites: {
|
|
850
|
+
site_id: string;
|
|
851
|
+
site_name: string;
|
|
852
|
+
subscribed_site_user_count: number;
|
|
853
|
+
site_user_subscription_limit: number;
|
|
854
|
+
}[];
|
|
855
|
+
}>;
|
|
856
|
+
}>, "strip", z.ZodTypeAny, {
|
|
857
|
+
message: string;
|
|
858
|
+
created_at: string;
|
|
859
|
+
is_connected_account_error: true;
|
|
860
|
+
error_code: "salto_ks_subscription_limit_exceeded";
|
|
861
|
+
salto_ks_metadata: {
|
|
862
|
+
sites: {
|
|
863
|
+
site_id: string;
|
|
864
|
+
site_name: string;
|
|
865
|
+
subscribed_site_user_count: number;
|
|
866
|
+
site_user_subscription_limit: number;
|
|
867
|
+
}[];
|
|
868
|
+
};
|
|
869
|
+
}, {
|
|
870
|
+
message: string;
|
|
871
|
+
created_at: string;
|
|
872
|
+
is_connected_account_error: true;
|
|
873
|
+
error_code: "salto_ks_subscription_limit_exceeded";
|
|
874
|
+
salto_ks_metadata: {
|
|
875
|
+
sites: {
|
|
876
|
+
site_id: string;
|
|
877
|
+
site_name: string;
|
|
878
|
+
subscribed_site_user_count: number;
|
|
879
|
+
site_user_subscription_limit: number;
|
|
880
|
+
}[];
|
|
881
|
+
};
|
|
812
882
|
}>]>, "many">;
|
|
813
883
|
warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<z.objectUtil.extendShape<{
|
|
814
884
|
message: z.ZodString;
|
|
@@ -949,12 +1019,27 @@ export declare const access_code: z.ZodObject<{
|
|
|
949
1019
|
created_at: string;
|
|
950
1020
|
errors: ({
|
|
951
1021
|
message: string;
|
|
1022
|
+
created_at: string;
|
|
952
1023
|
is_connected_account_error: true;
|
|
953
1024
|
error_code: "account_disconnected";
|
|
954
1025
|
} | {
|
|
955
1026
|
message: string;
|
|
1027
|
+
created_at: string;
|
|
956
1028
|
is_connected_account_error: true;
|
|
957
1029
|
error_code: "invalid_credentials";
|
|
1030
|
+
} | {
|
|
1031
|
+
message: string;
|
|
1032
|
+
created_at: string;
|
|
1033
|
+
is_connected_account_error: true;
|
|
1034
|
+
error_code: "salto_ks_subscription_limit_exceeded";
|
|
1035
|
+
salto_ks_metadata: {
|
|
1036
|
+
sites: {
|
|
1037
|
+
site_id: string;
|
|
1038
|
+
site_name: string;
|
|
1039
|
+
subscribed_site_user_count: number;
|
|
1040
|
+
site_user_subscription_limit: number;
|
|
1041
|
+
}[];
|
|
1042
|
+
};
|
|
958
1043
|
} | {
|
|
959
1044
|
message: string;
|
|
960
1045
|
error_code: "device_offline";
|
|
@@ -1139,12 +1224,27 @@ export declare const access_code: z.ZodObject<{
|
|
|
1139
1224
|
created_at: string;
|
|
1140
1225
|
errors: ({
|
|
1141
1226
|
message: string;
|
|
1227
|
+
created_at: string;
|
|
1142
1228
|
is_connected_account_error: true;
|
|
1143
1229
|
error_code: "account_disconnected";
|
|
1144
1230
|
} | {
|
|
1145
1231
|
message: string;
|
|
1232
|
+
created_at: string;
|
|
1146
1233
|
is_connected_account_error: true;
|
|
1147
1234
|
error_code: "invalid_credentials";
|
|
1235
|
+
} | {
|
|
1236
|
+
message: string;
|
|
1237
|
+
created_at: string;
|
|
1238
|
+
is_connected_account_error: true;
|
|
1239
|
+
error_code: "salto_ks_subscription_limit_exceeded";
|
|
1240
|
+
salto_ks_metadata: {
|
|
1241
|
+
sites: {
|
|
1242
|
+
site_id: string;
|
|
1243
|
+
site_name: string;
|
|
1244
|
+
subscribed_site_user_count: number;
|
|
1245
|
+
site_user_subscription_limit: number;
|
|
1246
|
+
}[];
|
|
1247
|
+
};
|
|
1148
1248
|
} | {
|
|
1149
1249
|
message: string;
|
|
1150
1250
|
error_code: "device_offline";
|
|
@@ -413,31 +413,101 @@ export declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape
|
|
|
413
413
|
error_code: "subscription_required";
|
|
414
414
|
is_device_error: true;
|
|
415
415
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
416
|
+
created_at: z.ZodString;
|
|
416
417
|
message: z.ZodString;
|
|
417
418
|
is_connected_account_error: z.ZodLiteral<true>;
|
|
418
419
|
}, {
|
|
419
420
|
error_code: z.ZodLiteral<"account_disconnected">;
|
|
420
421
|
}>, "strip", z.ZodTypeAny, {
|
|
421
422
|
message: string;
|
|
423
|
+
created_at: string;
|
|
422
424
|
is_connected_account_error: true;
|
|
423
425
|
error_code: "account_disconnected";
|
|
424
426
|
}, {
|
|
425
427
|
message: string;
|
|
428
|
+
created_at: string;
|
|
426
429
|
is_connected_account_error: true;
|
|
427
430
|
error_code: "account_disconnected";
|
|
428
431
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
432
|
+
created_at: z.ZodString;
|
|
429
433
|
message: z.ZodString;
|
|
430
434
|
is_connected_account_error: z.ZodLiteral<true>;
|
|
431
435
|
}, {
|
|
432
436
|
error_code: z.ZodLiteral<"invalid_credentials">;
|
|
433
437
|
}>, "strip", z.ZodTypeAny, {
|
|
434
438
|
message: string;
|
|
439
|
+
created_at: string;
|
|
435
440
|
is_connected_account_error: true;
|
|
436
441
|
error_code: "invalid_credentials";
|
|
437
442
|
}, {
|
|
438
443
|
message: string;
|
|
444
|
+
created_at: string;
|
|
439
445
|
is_connected_account_error: true;
|
|
440
446
|
error_code: "invalid_credentials";
|
|
447
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
448
|
+
created_at: z.ZodString;
|
|
449
|
+
message: z.ZodString;
|
|
450
|
+
is_connected_account_error: z.ZodLiteral<true>;
|
|
451
|
+
}, {
|
|
452
|
+
error_code: z.ZodLiteral<"salto_ks_subscription_limit_exceeded">;
|
|
453
|
+
salto_ks_metadata: z.ZodObject<{
|
|
454
|
+
sites: z.ZodArray<z.ZodObject<{
|
|
455
|
+
site_id: z.ZodString;
|
|
456
|
+
site_name: z.ZodString;
|
|
457
|
+
subscribed_site_user_count: z.ZodNumber;
|
|
458
|
+
site_user_subscription_limit: z.ZodNumber;
|
|
459
|
+
}, "strip", z.ZodTypeAny, {
|
|
460
|
+
site_id: string;
|
|
461
|
+
site_name: string;
|
|
462
|
+
subscribed_site_user_count: number;
|
|
463
|
+
site_user_subscription_limit: number;
|
|
464
|
+
}, {
|
|
465
|
+
site_id: string;
|
|
466
|
+
site_name: string;
|
|
467
|
+
subscribed_site_user_count: number;
|
|
468
|
+
site_user_subscription_limit: number;
|
|
469
|
+
}>, "many">;
|
|
470
|
+
}, "strip", z.ZodTypeAny, {
|
|
471
|
+
sites: {
|
|
472
|
+
site_id: string;
|
|
473
|
+
site_name: string;
|
|
474
|
+
subscribed_site_user_count: number;
|
|
475
|
+
site_user_subscription_limit: number;
|
|
476
|
+
}[];
|
|
477
|
+
}, {
|
|
478
|
+
sites: {
|
|
479
|
+
site_id: string;
|
|
480
|
+
site_name: string;
|
|
481
|
+
subscribed_site_user_count: number;
|
|
482
|
+
site_user_subscription_limit: number;
|
|
483
|
+
}[];
|
|
484
|
+
}>;
|
|
485
|
+
}>, "strip", z.ZodTypeAny, {
|
|
486
|
+
message: string;
|
|
487
|
+
created_at: string;
|
|
488
|
+
is_connected_account_error: true;
|
|
489
|
+
error_code: "salto_ks_subscription_limit_exceeded";
|
|
490
|
+
salto_ks_metadata: {
|
|
491
|
+
sites: {
|
|
492
|
+
site_id: string;
|
|
493
|
+
site_name: string;
|
|
494
|
+
subscribed_site_user_count: number;
|
|
495
|
+
site_user_subscription_limit: number;
|
|
496
|
+
}[];
|
|
497
|
+
};
|
|
498
|
+
}, {
|
|
499
|
+
message: string;
|
|
500
|
+
created_at: string;
|
|
501
|
+
is_connected_account_error: true;
|
|
502
|
+
error_code: "salto_ks_subscription_limit_exceeded";
|
|
503
|
+
salto_ks_metadata: {
|
|
504
|
+
sites: {
|
|
505
|
+
site_id: string;
|
|
506
|
+
site_name: string;
|
|
507
|
+
subscribed_site_user_count: number;
|
|
508
|
+
site_user_subscription_limit: number;
|
|
509
|
+
}[];
|
|
510
|
+
};
|
|
441
511
|
}>]>, "many">;
|
|
442
512
|
warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<z.objectUtil.extendShape<{
|
|
443
513
|
message: z.ZodString;
|
|
@@ -581,12 +651,27 @@ export declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape
|
|
|
581
651
|
created_at: string;
|
|
582
652
|
errors: ({
|
|
583
653
|
message: string;
|
|
654
|
+
created_at: string;
|
|
584
655
|
is_connected_account_error: true;
|
|
585
656
|
error_code: "account_disconnected";
|
|
586
657
|
} | {
|
|
587
658
|
message: string;
|
|
659
|
+
created_at: string;
|
|
588
660
|
is_connected_account_error: true;
|
|
589
661
|
error_code: "invalid_credentials";
|
|
662
|
+
} | {
|
|
663
|
+
message: string;
|
|
664
|
+
created_at: string;
|
|
665
|
+
is_connected_account_error: true;
|
|
666
|
+
error_code: "salto_ks_subscription_limit_exceeded";
|
|
667
|
+
salto_ks_metadata: {
|
|
668
|
+
sites: {
|
|
669
|
+
site_id: string;
|
|
670
|
+
site_name: string;
|
|
671
|
+
subscribed_site_user_count: number;
|
|
672
|
+
site_user_subscription_limit: number;
|
|
673
|
+
}[];
|
|
674
|
+
};
|
|
590
675
|
} | {
|
|
591
676
|
message: string;
|
|
592
677
|
error_code: "device_offline";
|
|
@@ -762,12 +847,27 @@ export declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape
|
|
|
762
847
|
created_at: string;
|
|
763
848
|
errors: ({
|
|
764
849
|
message: string;
|
|
850
|
+
created_at: string;
|
|
765
851
|
is_connected_account_error: true;
|
|
766
852
|
error_code: "account_disconnected";
|
|
767
853
|
} | {
|
|
768
854
|
message: string;
|
|
855
|
+
created_at: string;
|
|
769
856
|
is_connected_account_error: true;
|
|
770
857
|
error_code: "invalid_credentials";
|
|
858
|
+
} | {
|
|
859
|
+
message: string;
|
|
860
|
+
created_at: string;
|
|
861
|
+
is_connected_account_error: true;
|
|
862
|
+
error_code: "salto_ks_subscription_limit_exceeded";
|
|
863
|
+
salto_ks_metadata: {
|
|
864
|
+
sites: {
|
|
865
|
+
site_id: string;
|
|
866
|
+
site_name: string;
|
|
867
|
+
subscribed_site_user_count: number;
|
|
868
|
+
site_user_subscription_limit: number;
|
|
869
|
+
}[];
|
|
870
|
+
};
|
|
771
871
|
} | {
|
|
772
872
|
message: string;
|
|
773
873
|
error_code: "device_offline";
|
|
@@ -8,12 +8,12 @@ export declare const unknown_issue_with_acs_access_group: z.ZodObject<z.objectUt
|
|
|
8
8
|
warning_code: z.ZodLiteral<"unknown_issue_with_acs_access_group">;
|
|
9
9
|
}>, "strip", z.ZodTypeAny, {
|
|
10
10
|
message: string;
|
|
11
|
-
warning_code: "unknown_issue_with_acs_access_group";
|
|
12
11
|
created_at: string;
|
|
12
|
+
warning_code: "unknown_issue_with_acs_access_group";
|
|
13
13
|
}, {
|
|
14
14
|
message: string;
|
|
15
|
-
warning_code: "unknown_issue_with_acs_access_group";
|
|
16
15
|
created_at: string;
|
|
16
|
+
warning_code: "unknown_issue_with_acs_access_group";
|
|
17
17
|
}>;
|
|
18
18
|
declare const acs_access_group_warning_map: z.ZodObject<{
|
|
19
19
|
unknown_issue_with_acs_access_group: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
|
|
@@ -23,24 +23,24 @@ declare const acs_access_group_warning_map: z.ZodObject<{
|
|
|
23
23
|
warning_code: z.ZodLiteral<"unknown_issue_with_acs_access_group">;
|
|
24
24
|
}>, "strip", z.ZodTypeAny, {
|
|
25
25
|
message: string;
|
|
26
|
-
warning_code: "unknown_issue_with_acs_access_group";
|
|
27
26
|
created_at: string;
|
|
27
|
+
warning_code: "unknown_issue_with_acs_access_group";
|
|
28
28
|
}, {
|
|
29
29
|
message: string;
|
|
30
|
-
warning_code: "unknown_issue_with_acs_access_group";
|
|
31
30
|
created_at: string;
|
|
31
|
+
warning_code: "unknown_issue_with_acs_access_group";
|
|
32
32
|
}>>>;
|
|
33
33
|
}, "strip", z.ZodTypeAny, {
|
|
34
34
|
unknown_issue_with_acs_access_group?: {
|
|
35
35
|
message: string;
|
|
36
|
-
warning_code: "unknown_issue_with_acs_access_group";
|
|
37
36
|
created_at: string;
|
|
37
|
+
warning_code: "unknown_issue_with_acs_access_group";
|
|
38
38
|
} | null | undefined;
|
|
39
39
|
}, {
|
|
40
40
|
unknown_issue_with_acs_access_group?: {
|
|
41
41
|
message: string;
|
|
42
|
-
warning_code: "unknown_issue_with_acs_access_group";
|
|
43
42
|
created_at: string;
|
|
43
|
+
warning_code: "unknown_issue_with_acs_access_group";
|
|
44
44
|
} | null | undefined;
|
|
45
45
|
}>;
|
|
46
46
|
export type AcsAccessGroupWarningMap = z.infer<typeof acs_access_group_warning_map>;
|
|
@@ -62,12 +62,12 @@ export declare const acs_access_group: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
62
62
|
warning_code: z.ZodLiteral<"unknown_issue_with_acs_access_group">;
|
|
63
63
|
}>, "strip", z.ZodTypeAny, {
|
|
64
64
|
message: string;
|
|
65
|
-
warning_code: "unknown_issue_with_acs_access_group";
|
|
66
65
|
created_at: string;
|
|
66
|
+
warning_code: "unknown_issue_with_acs_access_group";
|
|
67
67
|
}, {
|
|
68
68
|
message: string;
|
|
69
|
-
warning_code: "unknown_issue_with_acs_access_group";
|
|
70
69
|
created_at: string;
|
|
70
|
+
warning_code: "unknown_issue_with_acs_access_group";
|
|
71
71
|
}>, "many">;
|
|
72
72
|
}, {
|
|
73
73
|
is_managed: z.ZodLiteral<true>;
|
|
@@ -76,8 +76,8 @@ export declare const acs_access_group: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
76
76
|
created_at: string;
|
|
77
77
|
warnings: {
|
|
78
78
|
message: string;
|
|
79
|
-
warning_code: "unknown_issue_with_acs_access_group";
|
|
80
79
|
created_at: string;
|
|
80
|
+
warning_code: "unknown_issue_with_acs_access_group";
|
|
81
81
|
}[];
|
|
82
82
|
display_name: string;
|
|
83
83
|
workspace_id: string;
|
|
@@ -93,8 +93,8 @@ export declare const acs_access_group: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
93
93
|
created_at: string;
|
|
94
94
|
warnings: {
|
|
95
95
|
message: string;
|
|
96
|
-
warning_code: "unknown_issue_with_acs_access_group";
|
|
97
96
|
created_at: string;
|
|
97
|
+
warning_code: "unknown_issue_with_acs_access_group";
|
|
98
98
|
}[];
|
|
99
99
|
display_name: string;
|
|
100
100
|
workspace_id: string;
|
|
@@ -124,12 +124,12 @@ export declare const unmanaged_acs_access_group: z.ZodObject<z.objectUtil.extend
|
|
|
124
124
|
warning_code: z.ZodLiteral<"unknown_issue_with_acs_access_group">;
|
|
125
125
|
}>, "strip", z.ZodTypeAny, {
|
|
126
126
|
message: string;
|
|
127
|
-
warning_code: "unknown_issue_with_acs_access_group";
|
|
128
127
|
created_at: string;
|
|
128
|
+
warning_code: "unknown_issue_with_acs_access_group";
|
|
129
129
|
}, {
|
|
130
130
|
message: string;
|
|
131
|
-
warning_code: "unknown_issue_with_acs_access_group";
|
|
132
131
|
created_at: string;
|
|
132
|
+
warning_code: "unknown_issue_with_acs_access_group";
|
|
133
133
|
}>, "many">;
|
|
134
134
|
}, {
|
|
135
135
|
is_managed: z.ZodLiteral<false>;
|
|
@@ -138,8 +138,8 @@ export declare const unmanaged_acs_access_group: z.ZodObject<z.objectUtil.extend
|
|
|
138
138
|
created_at: string;
|
|
139
139
|
warnings: {
|
|
140
140
|
message: string;
|
|
141
|
-
warning_code: "unknown_issue_with_acs_access_group";
|
|
142
141
|
created_at: string;
|
|
142
|
+
warning_code: "unknown_issue_with_acs_access_group";
|
|
143
143
|
}[];
|
|
144
144
|
display_name: string;
|
|
145
145
|
workspace_id: string;
|
|
@@ -155,8 +155,8 @@ export declare const unmanaged_acs_access_group: z.ZodObject<z.objectUtil.extend
|
|
|
155
155
|
created_at: string;
|
|
156
156
|
warnings: {
|
|
157
157
|
message: string;
|
|
158
|
-
warning_code: "unknown_issue_with_acs_access_group";
|
|
159
158
|
created_at: string;
|
|
159
|
+
warning_code: "unknown_issue_with_acs_access_group";
|
|
160
160
|
}[];
|
|
161
161
|
display_name: string;
|
|
162
162
|
workspace_id: string;
|