@seamapi/types 1.184.0 → 1.186.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 +32 -14
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +62 -34
- package/lib/seam/connect/models/acs/acs-credential.d.ts +6 -0
- package/lib/seam/connect/models/acs/acs-credential.js +5 -0
- package/lib/seam/connect/models/acs/acs-credential.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-system.d.ts +86 -22
- package/lib/seam/connect/models/acs/acs-system.js +24 -8
- package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +24 -18
- package/lib/seam/connect/openapi.js +32 -14
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +38 -16
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-credential.ts +5 -0
- package/src/lib/seam/connect/models/acs/acs-system.ts +34 -12
- package/src/lib/seam/connect/openapi.ts +32 -14
- package/src/lib/seam/connect/route-types.ts +66 -32
package/dist/connect.d.cts
CHANGED
|
@@ -2718,9 +2718,16 @@ declare const _default: {
|
|
|
2718
2718
|
external_type_display_name: {
|
|
2719
2719
|
type: string;
|
|
2720
2720
|
};
|
|
2721
|
+
is_latest_desired_state_synced_with_provider: {
|
|
2722
|
+
type: string;
|
|
2723
|
+
};
|
|
2721
2724
|
is_multi_phone_sync_credential: {
|
|
2722
2725
|
type: string;
|
|
2723
2726
|
};
|
|
2727
|
+
latest_desired_state_synced_with_provider_at: {
|
|
2728
|
+
format: string;
|
|
2729
|
+
type: string;
|
|
2730
|
+
};
|
|
2724
2731
|
parent_acs_credential_id: {
|
|
2725
2732
|
format: string;
|
|
2726
2733
|
type: string;
|
|
@@ -2956,16 +2963,23 @@ declare const _default: {
|
|
|
2956
2963
|
};
|
|
2957
2964
|
errors: {
|
|
2958
2965
|
items: {
|
|
2959
|
-
|
|
2960
|
-
|
|
2961
|
-
|
|
2962
|
-
|
|
2963
|
-
|
|
2964
|
-
|
|
2966
|
+
oneOf: {
|
|
2967
|
+
properties: {
|
|
2968
|
+
created_at: {
|
|
2969
|
+
format: string;
|
|
2970
|
+
type: string;
|
|
2971
|
+
};
|
|
2972
|
+
error_code: {
|
|
2973
|
+
enum: string[];
|
|
2974
|
+
type: string;
|
|
2975
|
+
};
|
|
2976
|
+
message: {
|
|
2977
|
+
type: string;
|
|
2978
|
+
};
|
|
2965
2979
|
};
|
|
2966
|
-
|
|
2967
|
-
|
|
2968
|
-
|
|
2980
|
+
required: string[];
|
|
2981
|
+
type: string;
|
|
2982
|
+
}[];
|
|
2969
2983
|
};
|
|
2970
2984
|
type: string;
|
|
2971
2985
|
};
|
|
@@ -2996,15 +3010,7 @@ declare const _default: {
|
|
|
2996
3010
|
};
|
|
2997
3011
|
warnings: {
|
|
2998
3012
|
items: {
|
|
2999
|
-
properties: {
|
|
3000
|
-
message: {
|
|
3001
|
-
type: string;
|
|
3002
|
-
};
|
|
3003
|
-
warning_code: {
|
|
3004
|
-
type: string;
|
|
3005
|
-
};
|
|
3006
|
-
};
|
|
3007
|
-
required: string[];
|
|
3013
|
+
properties: {};
|
|
3008
3014
|
type: string;
|
|
3009
3015
|
};
|
|
3010
3016
|
type: string;
|
|
@@ -21652,6 +21658,8 @@ interface Routes {
|
|
|
21652
21658
|
message: string;
|
|
21653
21659
|
}>;
|
|
21654
21660
|
is_multi_phone_sync_credential?: boolean | undefined;
|
|
21661
|
+
is_latest_desired_state_synced_with_provider?: boolean | undefined;
|
|
21662
|
+
latest_desired_state_synced_with_provider_at?: string | undefined;
|
|
21655
21663
|
visionline_metadata?: {
|
|
21656
21664
|
card_function_type: 'guest' | 'staff';
|
|
21657
21665
|
joiner_acs_credential_ids?: string[] | undefined;
|
|
@@ -21715,6 +21723,8 @@ interface Routes {
|
|
|
21715
21723
|
message: string;
|
|
21716
21724
|
}>;
|
|
21717
21725
|
is_multi_phone_sync_credential?: boolean | undefined;
|
|
21726
|
+
is_latest_desired_state_synced_with_provider?: boolean | undefined;
|
|
21727
|
+
latest_desired_state_synced_with_provider_at?: string | undefined;
|
|
21718
21728
|
visionline_metadata?: {
|
|
21719
21729
|
card_function_type: 'guest' | 'staff';
|
|
21720
21730
|
joiner_acs_credential_ids?: string[] | undefined;
|
|
@@ -21769,6 +21779,8 @@ interface Routes {
|
|
|
21769
21779
|
message: string;
|
|
21770
21780
|
}>;
|
|
21771
21781
|
is_multi_phone_sync_credential?: boolean | undefined;
|
|
21782
|
+
is_latest_desired_state_synced_with_provider?: boolean | undefined;
|
|
21783
|
+
latest_desired_state_synced_with_provider_at?: string | undefined;
|
|
21772
21784
|
visionline_metadata?: {
|
|
21773
21785
|
card_function_type: 'guest' | 'staff';
|
|
21774
21786
|
joiner_acs_credential_ids?: string[] | undefined;
|
|
@@ -21821,6 +21833,8 @@ interface Routes {
|
|
|
21821
21833
|
message: string;
|
|
21822
21834
|
}>;
|
|
21823
21835
|
is_multi_phone_sync_credential?: boolean | undefined;
|
|
21836
|
+
is_latest_desired_state_synced_with_provider?: boolean | undefined;
|
|
21837
|
+
latest_desired_state_synced_with_provider_at?: string | undefined;
|
|
21824
21838
|
visionline_metadata?: {
|
|
21825
21839
|
card_function_type: 'guest' | 'staff';
|
|
21826
21840
|
joiner_acs_credential_ids?: string[] | undefined;
|
|
@@ -21901,6 +21915,8 @@ interface Routes {
|
|
|
21901
21915
|
message: string;
|
|
21902
21916
|
}>;
|
|
21903
21917
|
is_multi_phone_sync_credential?: boolean | undefined;
|
|
21918
|
+
is_latest_desired_state_synced_with_provider?: boolean | undefined;
|
|
21919
|
+
latest_desired_state_synced_with_provider_at?: string | undefined;
|
|
21904
21920
|
visionline_metadata?: {
|
|
21905
21921
|
card_function_type: 'guest' | 'staff';
|
|
21906
21922
|
joiner_acs_credential_ids?: string[] | undefined;
|
|
@@ -21946,6 +21962,8 @@ interface Routes {
|
|
|
21946
21962
|
message: string;
|
|
21947
21963
|
}>;
|
|
21948
21964
|
is_multi_phone_sync_credential?: boolean | undefined;
|
|
21965
|
+
is_latest_desired_state_synced_with_provider?: boolean | undefined;
|
|
21966
|
+
latest_desired_state_synced_with_provider_at?: string | undefined;
|
|
21949
21967
|
visionline_metadata?: {
|
|
21950
21968
|
card_function_type: 'guest' | 'staff';
|
|
21951
21969
|
joiner_acs_credential_ids?: string[] | undefined;
|
|
@@ -22075,6 +22093,8 @@ interface Routes {
|
|
|
22075
22093
|
message: string;
|
|
22076
22094
|
}>;
|
|
22077
22095
|
is_multi_phone_sync_credential?: boolean | undefined;
|
|
22096
|
+
is_latest_desired_state_synced_with_provider?: boolean | undefined;
|
|
22097
|
+
latest_desired_state_synced_with_provider_at?: string | undefined;
|
|
22078
22098
|
visionline_metadata?: {
|
|
22079
22099
|
card_function_type: 'guest' | 'staff';
|
|
22080
22100
|
joiner_acs_credential_ids?: string[] | undefined;
|
|
@@ -22117,13 +22137,15 @@ interface Routes {
|
|
|
22117
22137
|
image_url: string;
|
|
22118
22138
|
image_alt_text: string;
|
|
22119
22139
|
errors: Array<{
|
|
22120
|
-
|
|
22140
|
+
created_at: string;
|
|
22121
22141
|
message: string;
|
|
22122
|
-
|
|
22123
|
-
|
|
22124
|
-
|
|
22142
|
+
error_code: 'seam_bridge_disconnected';
|
|
22143
|
+
} | {
|
|
22144
|
+
created_at: string;
|
|
22125
22145
|
message: string;
|
|
22146
|
+
error_code: 'visionline_instance_unreachable';
|
|
22126
22147
|
}>;
|
|
22148
|
+
warnings: Array<{}>;
|
|
22127
22149
|
can_automate_enrollment?: boolean | undefined;
|
|
22128
22150
|
can_create_acs_access_groups?: boolean | undefined;
|
|
22129
22151
|
can_remove_acs_users_from_acs_access_groups?: boolean | undefined;
|
|
@@ -22164,13 +22186,15 @@ interface Routes {
|
|
|
22164
22186
|
image_url: string;
|
|
22165
22187
|
image_alt_text: string;
|
|
22166
22188
|
errors: Array<{
|
|
22167
|
-
|
|
22189
|
+
created_at: string;
|
|
22168
22190
|
message: string;
|
|
22169
|
-
|
|
22170
|
-
|
|
22171
|
-
|
|
22191
|
+
error_code: 'seam_bridge_disconnected';
|
|
22192
|
+
} | {
|
|
22193
|
+
created_at: string;
|
|
22172
22194
|
message: string;
|
|
22195
|
+
error_code: 'visionline_instance_unreachable';
|
|
22173
22196
|
}>;
|
|
22197
|
+
warnings: Array<{}>;
|
|
22174
22198
|
can_automate_enrollment?: boolean | undefined;
|
|
22175
22199
|
can_create_acs_access_groups?: boolean | undefined;
|
|
22176
22200
|
can_remove_acs_users_from_acs_access_groups?: boolean | undefined;
|
|
@@ -22211,13 +22235,15 @@ interface Routes {
|
|
|
22211
22235
|
image_url: string;
|
|
22212
22236
|
image_alt_text: string;
|
|
22213
22237
|
errors: Array<{
|
|
22214
|
-
|
|
22238
|
+
created_at: string;
|
|
22215
22239
|
message: string;
|
|
22216
|
-
|
|
22217
|
-
|
|
22218
|
-
|
|
22240
|
+
error_code: 'seam_bridge_disconnected';
|
|
22241
|
+
} | {
|
|
22242
|
+
created_at: string;
|
|
22219
22243
|
message: string;
|
|
22244
|
+
error_code: 'visionline_instance_unreachable';
|
|
22220
22245
|
}>;
|
|
22246
|
+
warnings: Array<{}>;
|
|
22221
22247
|
can_automate_enrollment?: boolean | undefined;
|
|
22222
22248
|
can_create_acs_access_groups?: boolean | undefined;
|
|
22223
22249
|
can_remove_acs_users_from_acs_access_groups?: boolean | undefined;
|
|
@@ -36433,13 +36459,15 @@ interface Routes {
|
|
|
36433
36459
|
image_url: string;
|
|
36434
36460
|
image_alt_text: string;
|
|
36435
36461
|
errors: Array<{
|
|
36436
|
-
|
|
36462
|
+
created_at: string;
|
|
36437
36463
|
message: string;
|
|
36438
|
-
|
|
36439
|
-
|
|
36440
|
-
|
|
36464
|
+
error_code: 'seam_bridge_disconnected';
|
|
36465
|
+
} | {
|
|
36466
|
+
created_at: string;
|
|
36441
36467
|
message: string;
|
|
36468
|
+
error_code: 'visionline_instance_unreachable';
|
|
36442
36469
|
}>;
|
|
36470
|
+
warnings: Array<{}>;
|
|
36443
36471
|
can_automate_enrollment?: boolean | undefined;
|
|
36444
36472
|
can_create_acs_access_groups?: boolean | undefined;
|
|
36445
36473
|
can_remove_acs_users_from_acs_access_groups?: boolean | undefined;
|
|
@@ -55,6 +55,8 @@ export declare const acs_credential: z.ZodObject<{
|
|
|
55
55
|
warning_code: string;
|
|
56
56
|
}>, "many">;
|
|
57
57
|
is_multi_phone_sync_credential: z.ZodOptional<z.ZodBoolean>;
|
|
58
|
+
is_latest_desired_state_synced_with_provider: z.ZodOptional<z.ZodBoolean>;
|
|
59
|
+
latest_desired_state_synced_with_provider_at: z.ZodOptional<z.ZodString>;
|
|
58
60
|
visionline_metadata: z.ZodOptional<z.ZodObject<{
|
|
59
61
|
card_function_type: z.ZodEnum<["guest", "staff"]>;
|
|
60
62
|
joiner_acs_credential_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -95,6 +97,8 @@ export declare const acs_credential: z.ZodObject<{
|
|
|
95
97
|
starts_at?: string | undefined;
|
|
96
98
|
ends_at?: string | undefined;
|
|
97
99
|
is_multi_phone_sync_credential?: boolean | undefined;
|
|
100
|
+
is_latest_desired_state_synced_with_provider?: boolean | undefined;
|
|
101
|
+
latest_desired_state_synced_with_provider_at?: string | undefined;
|
|
98
102
|
visionline_metadata?: {
|
|
99
103
|
card_function_type: "guest" | "staff";
|
|
100
104
|
joiner_acs_credential_ids?: string[] | undefined;
|
|
@@ -125,6 +129,8 @@ export declare const acs_credential: z.ZodObject<{
|
|
|
125
129
|
starts_at?: string | undefined;
|
|
126
130
|
ends_at?: string | undefined;
|
|
127
131
|
is_multi_phone_sync_credential?: boolean | undefined;
|
|
132
|
+
is_latest_desired_state_synced_with_provider?: boolean | undefined;
|
|
133
|
+
latest_desired_state_synced_with_provider_at?: string | undefined;
|
|
128
134
|
visionline_metadata?: {
|
|
129
135
|
card_function_type: "guest" | "staff";
|
|
130
136
|
joiner_acs_credential_ids?: string[] | undefined;
|
|
@@ -41,6 +41,11 @@ export const acs_credential = z.object({
|
|
|
41
41
|
message: z.string(),
|
|
42
42
|
})),
|
|
43
43
|
is_multi_phone_sync_credential: z.boolean().optional(),
|
|
44
|
+
is_latest_desired_state_synced_with_provider: z.boolean().optional(),
|
|
45
|
+
latest_desired_state_synced_with_provider_at: z
|
|
46
|
+
.string()
|
|
47
|
+
.datetime()
|
|
48
|
+
.optional(),
|
|
44
49
|
visionline_metadata: acs_credential_visionline_metadata.optional(),
|
|
45
50
|
});
|
|
46
51
|
//# sourceMappingURL=acs-credential.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acs-credential.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/acs/acs-credential.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,wEAAwE;AACxE,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAAC,CAAC,IAAI,CAAC;IACjD,UAAU;IACV,kBAAkB;IAClB,gBAAgB;IAChB,iBAAiB;CAClB,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,iCAAiC,GAAG,CAAC,CAAC,IAAI,CAAC;IACtD,MAAM;IACN,MAAM;IACN,YAAY;CACb,CAAC,CAAA;AAMF,MAAM,CAAC,MAAM,kCAAkC,GAAG,CAAC,CAAC,MAAM,CAAC;IACzD,kBAAkB,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;IAC9C,yBAAyB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,CAAC,QAAQ,EAAE;IAChE,sBAAsB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC7D,uBAAuB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,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BAA8B,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACtD,4CAA4C,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACpE,4CAA4C,EAAE,CAAC;SAC5C,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,EAAE;IACb,mBAAmB,EAAE,kCAAkC,CAAC,QAAQ,EAAE;CACnE,CAAC,CAAA"}
|
|
@@ -18,29 +18,88 @@ export declare const acs_system_capability_flags: z.ZodObject<{
|
|
|
18
18
|
export declare const acs_system_external_type_values: readonly ["pti_site", "alta_org", "salto_site", "brivo_account", "hid_credential_manager_organization", "visionline_system", "assa_abloy_credential_service", "latch_building"];
|
|
19
19
|
export declare const acs_system_external_type: z.ZodOptional<z.ZodEnum<["pti_site", "alta_org", "salto_site", "brivo_account", "hid_credential_manager_organization", "visionline_system", "assa_abloy_credential_service", "latch_building"]>>;
|
|
20
20
|
export type AcsSystemExternalType = z.infer<typeof acs_system_external_type>;
|
|
21
|
+
declare const acs_system_error_map: z.ZodObject<{
|
|
22
|
+
seam_bridge_disconnected: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
23
|
+
message: z.ZodString;
|
|
24
|
+
created_at: z.ZodString;
|
|
25
|
+
error_code: z.ZodLiteral<"seam_bridge_disconnected">;
|
|
26
|
+
}, "strip", z.ZodTypeAny, {
|
|
27
|
+
message: string;
|
|
28
|
+
created_at: string;
|
|
29
|
+
error_code: "seam_bridge_disconnected";
|
|
30
|
+
}, {
|
|
31
|
+
message: string;
|
|
32
|
+
created_at: string;
|
|
33
|
+
error_code: "seam_bridge_disconnected";
|
|
34
|
+
}>>>;
|
|
35
|
+
visionline_instance_unreachable: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
36
|
+
message: z.ZodString;
|
|
37
|
+
created_at: z.ZodString;
|
|
38
|
+
error_code: z.ZodLiteral<"visionline_instance_unreachable">;
|
|
39
|
+
}, "strip", z.ZodTypeAny, {
|
|
40
|
+
message: string;
|
|
41
|
+
created_at: string;
|
|
42
|
+
error_code: "visionline_instance_unreachable";
|
|
43
|
+
}, {
|
|
44
|
+
message: string;
|
|
45
|
+
created_at: string;
|
|
46
|
+
error_code: "visionline_instance_unreachable";
|
|
47
|
+
}>>>;
|
|
48
|
+
}, "strip", z.ZodTypeAny, {
|
|
49
|
+
seam_bridge_disconnected?: {
|
|
50
|
+
message: string;
|
|
51
|
+
created_at: string;
|
|
52
|
+
error_code: "seam_bridge_disconnected";
|
|
53
|
+
} | null | undefined;
|
|
54
|
+
visionline_instance_unreachable?: {
|
|
55
|
+
message: string;
|
|
56
|
+
created_at: string;
|
|
57
|
+
error_code: "visionline_instance_unreachable";
|
|
58
|
+
} | null | undefined;
|
|
59
|
+
}, {
|
|
60
|
+
seam_bridge_disconnected?: {
|
|
61
|
+
message: string;
|
|
62
|
+
created_at: string;
|
|
63
|
+
error_code: "seam_bridge_disconnected";
|
|
64
|
+
} | null | undefined;
|
|
65
|
+
visionline_instance_unreachable?: {
|
|
66
|
+
message: string;
|
|
67
|
+
created_at: string;
|
|
68
|
+
error_code: "visionline_instance_unreachable";
|
|
69
|
+
} | null | undefined;
|
|
70
|
+
}>;
|
|
71
|
+
export type AcsSystemErrorMap = z.infer<typeof acs_system_error_map>;
|
|
72
|
+
declare const acs_system_warning_map: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
73
|
+
export type AcsSystemWarningMap = z.infer<typeof acs_system_warning_map>;
|
|
21
74
|
export declare const acs_system: z.ZodObject<{
|
|
22
75
|
name: z.ZodString;
|
|
23
76
|
created_at: z.ZodString;
|
|
24
|
-
errors: z.ZodArray<z.ZodObject<{
|
|
25
|
-
error_code: z.ZodString;
|
|
77
|
+
errors: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
26
78
|
message: z.ZodString;
|
|
79
|
+
created_at: z.ZodString;
|
|
80
|
+
error_code: z.ZodLiteral<"seam_bridge_disconnected">;
|
|
27
81
|
}, "strip", z.ZodTypeAny, {
|
|
28
82
|
message: string;
|
|
29
|
-
|
|
83
|
+
created_at: string;
|
|
84
|
+
error_code: "seam_bridge_disconnected";
|
|
30
85
|
}, {
|
|
31
86
|
message: string;
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
warning_code: z.ZodString;
|
|
87
|
+
created_at: string;
|
|
88
|
+
error_code: "seam_bridge_disconnected";
|
|
89
|
+
}>, z.ZodObject<{
|
|
36
90
|
message: z.ZodString;
|
|
91
|
+
created_at: z.ZodString;
|
|
92
|
+
error_code: z.ZodLiteral<"visionline_instance_unreachable">;
|
|
37
93
|
}, "strip", z.ZodTypeAny, {
|
|
38
94
|
message: string;
|
|
39
|
-
|
|
95
|
+
created_at: string;
|
|
96
|
+
error_code: "visionline_instance_unreachable";
|
|
40
97
|
}, {
|
|
41
98
|
message: string;
|
|
42
|
-
|
|
43
|
-
|
|
99
|
+
created_at: string;
|
|
100
|
+
error_code: "visionline_instance_unreachable";
|
|
101
|
+
}>]>, "many">;
|
|
102
|
+
warnings: z.ZodArray<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, "many">;
|
|
44
103
|
acs_system_id: z.ZodString;
|
|
45
104
|
workspace_id: z.ZodString;
|
|
46
105
|
external_type: z.ZodOptional<z.ZodEnum<["pti_site", "alta_org", "salto_site", "brivo_account", "hid_credential_manager_organization", "visionline_system", "assa_abloy_credential_service", "latch_building"]>>;
|
|
@@ -57,14 +116,16 @@ export declare const acs_system: z.ZodObject<{
|
|
|
57
116
|
}, "strip", z.ZodTypeAny, {
|
|
58
117
|
name: string;
|
|
59
118
|
created_at: string;
|
|
60
|
-
errors: {
|
|
119
|
+
errors: ({
|
|
61
120
|
message: string;
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
121
|
+
created_at: string;
|
|
122
|
+
error_code: "seam_bridge_disconnected";
|
|
123
|
+
} | {
|
|
65
124
|
message: string;
|
|
66
|
-
|
|
67
|
-
|
|
125
|
+
created_at: string;
|
|
126
|
+
error_code: "visionline_instance_unreachable";
|
|
127
|
+
})[];
|
|
128
|
+
warnings: {}[];
|
|
68
129
|
acs_system_id: string;
|
|
69
130
|
workspace_id: string;
|
|
70
131
|
connected_account_ids: string[];
|
|
@@ -81,14 +142,16 @@ export declare const acs_system: z.ZodObject<{
|
|
|
81
142
|
}, {
|
|
82
143
|
name: string;
|
|
83
144
|
created_at: string;
|
|
84
|
-
errors: {
|
|
145
|
+
errors: ({
|
|
85
146
|
message: string;
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
147
|
+
created_at: string;
|
|
148
|
+
error_code: "seam_bridge_disconnected";
|
|
149
|
+
} | {
|
|
89
150
|
message: string;
|
|
90
|
-
|
|
91
|
-
|
|
151
|
+
created_at: string;
|
|
152
|
+
error_code: "visionline_instance_unreachable";
|
|
153
|
+
})[];
|
|
154
|
+
warnings: {}[];
|
|
92
155
|
acs_system_id: string;
|
|
93
156
|
workspace_id: string;
|
|
94
157
|
connected_account_ids: string[];
|
|
@@ -104,3 +167,4 @@ export declare const acs_system: z.ZodObject<{
|
|
|
104
167
|
can_add_acs_users_to_acs_access_groups?: boolean | undefined;
|
|
105
168
|
}>;
|
|
106
169
|
export type AcsSystem = z.output<typeof acs_system>;
|
|
170
|
+
export {};
|
|
@@ -19,6 +19,28 @@ export const acs_system_external_type_values = [
|
|
|
19
19
|
export const acs_system_external_type = z
|
|
20
20
|
.enum(acs_system_external_type_values)
|
|
21
21
|
.optional();
|
|
22
|
+
const common_acs_system_error = z.object({
|
|
23
|
+
created_at: z.string().datetime(),
|
|
24
|
+
message: z.string(),
|
|
25
|
+
});
|
|
26
|
+
const seam_bridge_disconnected = common_acs_system_error.extend({
|
|
27
|
+
error_code: z.literal('seam_bridge_disconnected'),
|
|
28
|
+
});
|
|
29
|
+
const visionline_instance_unreachable = common_acs_system_error.extend({
|
|
30
|
+
error_code: z.literal('visionline_instance_unreachable'),
|
|
31
|
+
});
|
|
32
|
+
const acs_system_error = z.union([
|
|
33
|
+
seam_bridge_disconnected,
|
|
34
|
+
visionline_instance_unreachable,
|
|
35
|
+
]);
|
|
36
|
+
const acs_system_error_map = z.object({
|
|
37
|
+
seam_bridge_disconnected: seam_bridge_disconnected.optional().nullable(),
|
|
38
|
+
visionline_instance_unreachable: visionline_instance_unreachable
|
|
39
|
+
.optional()
|
|
40
|
+
.nullable(),
|
|
41
|
+
});
|
|
42
|
+
const acs_system_warning = z.object({});
|
|
43
|
+
const acs_system_warning_map = z.object({});
|
|
22
44
|
export const acs_system = z
|
|
23
45
|
.object({
|
|
24
46
|
acs_system_id: z.string().uuid(),
|
|
@@ -40,14 +62,8 @@ export const acs_system = z
|
|
|
40
62
|
connected_account_ids: z.array(z.string()),
|
|
41
63
|
image_url: z.string(),
|
|
42
64
|
image_alt_text: z.string(),
|
|
43
|
-
errors: z.array(
|
|
44
|
-
|
|
45
|
-
message: z.string(),
|
|
46
|
-
})),
|
|
47
|
-
warnings: z.array(z.object({
|
|
48
|
-
warning_code: z.string(),
|
|
49
|
-
message: z.string(),
|
|
50
|
-
})),
|
|
65
|
+
errors: z.array(acs_system_error),
|
|
66
|
+
warnings: z.array(acs_system_warning),
|
|
51
67
|
})
|
|
52
68
|
.merge(acs_system_capability_flags);
|
|
53
69
|
//# sourceMappingURL=acs-system.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acs-system.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/acs/acs-system.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,CAAC,MAAM,CAAC;IAClD,uBAAuB,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAC/C,4BAA4B,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACpD,2CAA2C,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,E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AE,CAAC,QAAQ,EAAE;IACjC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC/B,qBAAqB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAC1C,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE;IAC1B,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC;IACjC,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,kBAAkB,CAAC;CACtC,CAAC;KACD,KAAK,CAAC,2BAA2B,CAAC,CAAA"}
|
|
@@ -209,9 +209,16 @@ declare const _default: {
|
|
|
209
209
|
external_type_display_name: {
|
|
210
210
|
type: string;
|
|
211
211
|
};
|
|
212
|
+
is_latest_desired_state_synced_with_provider: {
|
|
213
|
+
type: string;
|
|
214
|
+
};
|
|
212
215
|
is_multi_phone_sync_credential: {
|
|
213
216
|
type: string;
|
|
214
217
|
};
|
|
218
|
+
latest_desired_state_synced_with_provider_at: {
|
|
219
|
+
format: string;
|
|
220
|
+
type: string;
|
|
221
|
+
};
|
|
215
222
|
parent_acs_credential_id: {
|
|
216
223
|
format: string;
|
|
217
224
|
type: string;
|
|
@@ -447,16 +454,23 @@ declare const _default: {
|
|
|
447
454
|
};
|
|
448
455
|
errors: {
|
|
449
456
|
items: {
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
457
|
+
oneOf: {
|
|
458
|
+
properties: {
|
|
459
|
+
created_at: {
|
|
460
|
+
format: string;
|
|
461
|
+
type: string;
|
|
462
|
+
};
|
|
463
|
+
error_code: {
|
|
464
|
+
enum: string[];
|
|
465
|
+
type: string;
|
|
466
|
+
};
|
|
467
|
+
message: {
|
|
468
|
+
type: string;
|
|
469
|
+
};
|
|
456
470
|
};
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
471
|
+
required: string[];
|
|
472
|
+
type: string;
|
|
473
|
+
}[];
|
|
460
474
|
};
|
|
461
475
|
type: string;
|
|
462
476
|
};
|
|
@@ -487,15 +501,7 @@ declare const _default: {
|
|
|
487
501
|
};
|
|
488
502
|
warnings: {
|
|
489
503
|
items: {
|
|
490
|
-
properties: {
|
|
491
|
-
message: {
|
|
492
|
-
type: string;
|
|
493
|
-
};
|
|
494
|
-
warning_code: {
|
|
495
|
-
type: string;
|
|
496
|
-
};
|
|
497
|
-
};
|
|
498
|
-
required: string[];
|
|
504
|
+
properties: {};
|
|
499
505
|
type: string;
|
|
500
506
|
};
|
|
501
507
|
type: string;
|
|
@@ -202,7 +202,12 @@ export default {
|
|
|
202
202
|
type: 'string',
|
|
203
203
|
},
|
|
204
204
|
external_type_display_name: { type: 'string' },
|
|
205
|
+
is_latest_desired_state_synced_with_provider: { type: 'boolean' },
|
|
205
206
|
is_multi_phone_sync_credential: { type: 'boolean' },
|
|
207
|
+
latest_desired_state_synced_with_provider_at: {
|
|
208
|
+
format: 'date-time',
|
|
209
|
+
type: 'string',
|
|
210
|
+
},
|
|
206
211
|
parent_acs_credential_id: { format: 'uuid', type: 'string' },
|
|
207
212
|
starts_at: { type: 'string' },
|
|
208
213
|
visionline_metadata: {
|
|
@@ -381,12 +386,32 @@ export default {
|
|
|
381
386
|
created_at: { format: 'date-time', type: 'string' },
|
|
382
387
|
errors: {
|
|
383
388
|
items: {
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
389
|
+
oneOf: [
|
|
390
|
+
{
|
|
391
|
+
properties: {
|
|
392
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
393
|
+
error_code: {
|
|
394
|
+
enum: ['seam_bridge_disconnected'],
|
|
395
|
+
type: 'string',
|
|
396
|
+
},
|
|
397
|
+
message: { type: 'string' },
|
|
398
|
+
},
|
|
399
|
+
required: ['created_at', 'message', 'error_code'],
|
|
400
|
+
type: 'object',
|
|
401
|
+
},
|
|
402
|
+
{
|
|
403
|
+
properties: {
|
|
404
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
405
|
+
error_code: {
|
|
406
|
+
enum: ['visionline_instance_unreachable'],
|
|
407
|
+
type: 'string',
|
|
408
|
+
},
|
|
409
|
+
message: { type: 'string' },
|
|
410
|
+
},
|
|
411
|
+
required: ['created_at', 'message', 'error_code'],
|
|
412
|
+
type: 'object',
|
|
413
|
+
},
|
|
414
|
+
],
|
|
390
415
|
},
|
|
391
416
|
type: 'array',
|
|
392
417
|
},
|
|
@@ -426,14 +451,7 @@ export default {
|
|
|
426
451
|
type: 'string',
|
|
427
452
|
},
|
|
428
453
|
warnings: {
|
|
429
|
-
items: {
|
|
430
|
-
properties: {
|
|
431
|
-
message: { type: 'string' },
|
|
432
|
-
warning_code: { type: 'string' },
|
|
433
|
-
},
|
|
434
|
-
required: ['warning_code', 'message'],
|
|
435
|
-
type: 'object',
|
|
436
|
-
},
|
|
454
|
+
items: { properties: {}, type: 'object' },
|
|
437
455
|
type: 'array',
|
|
438
456
|
},
|
|
439
457
|
workspace_id: { format: 'uuid', type: 'string' },
|