@seamapi/types 1.249.0 → 1.252.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 +254 -51
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +1219 -12
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +93 -0
- package/lib/seam/connect/models/action-attempts/action-attempt.js +2 -0
- package/lib/seam/connect/models/action-attempts/action-attempt.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/read-card.d.ts +96 -0
- package/lib/seam/connect/models/action-attempts/read-card.js +36 -0
- package/lib/seam/connect/models/action-attempts/read-card.js.map +1 -0
- package/lib/seam/connect/models/events/acs/common.d.ts +3 -3
- package/lib/seam/connect/models/events/acs/common.js +2 -1
- package/lib/seam/connect/models/events/acs/common.js.map +1 -1
- package/lib/seam/connect/models/events/acs/credentials.d.ts +6 -6
- package/lib/seam/connect/models/events/acs/index.d.ts +35 -9
- package/lib/seam/connect/models/events/acs/systems.d.ts +60 -6
- package/lib/seam/connect/models/events/acs/systems.js +9 -1
- package/lib/seam/connect/models/events/acs/systems.js.map +1 -1
- package/lib/seam/connect/models/events/acs/users.d.ts +6 -6
- package/lib/seam/connect/models/events/devices.d.ts +86 -0
- package/lib/seam/connect/models/events/devices.js +21 -0
- package/lib/seam/connect/models/events/devices.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +35 -9
- package/lib/seam/connect/openapi.d.ts +138 -1
- package/lib/seam/connect/openapi.js +156 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +1104 -153
- package/package.json +1 -1
- package/src/lib/seam/connect/models/action-attempts/action-attempt.ts +2 -0
- package/src/lib/seam/connect/models/action-attempts/read-card.ts +46 -0
- package/src/lib/seam/connect/models/events/acs/common.ts +2 -1
- package/src/lib/seam/connect/models/events/acs/systems.ts +12 -1
- package/src/lib/seam/connect/models/events/devices.ts +33 -0
- package/src/lib/seam/connect/openapi.ts +158 -0
- package/src/lib/seam/connect/route-types.ts +1115 -55
|
@@ -5,14 +5,13 @@ export declare const acs_user_deleted_event: z.ZodObject<z.objectUtil.extendShap
|
|
|
5
5
|
created_at: z.ZodString;
|
|
6
6
|
occurred_at: z.ZodString;
|
|
7
7
|
}, {
|
|
8
|
-
connected_account_id: z.ZodString
|
|
8
|
+
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
9
9
|
acs_system_id: z.ZodString;
|
|
10
10
|
}>, {
|
|
11
11
|
acs_user_id: z.ZodString;
|
|
12
12
|
}>, {
|
|
13
13
|
event_type: z.ZodLiteral<"acs_user.deleted">;
|
|
14
14
|
}>, "strip", z.ZodTypeAny, {
|
|
15
|
-
connected_account_id: string;
|
|
16
15
|
created_at: string;
|
|
17
16
|
workspace_id: string;
|
|
18
17
|
acs_system_id: string;
|
|
@@ -20,8 +19,8 @@ export declare const acs_user_deleted_event: z.ZodObject<z.objectUtil.extendShap
|
|
|
20
19
|
event_id: string;
|
|
21
20
|
occurred_at: string;
|
|
22
21
|
event_type: "acs_user.deleted";
|
|
22
|
+
connected_account_id?: string | undefined;
|
|
23
23
|
}, {
|
|
24
|
-
connected_account_id: string;
|
|
25
24
|
created_at: string;
|
|
26
25
|
workspace_id: string;
|
|
27
26
|
acs_system_id: string;
|
|
@@ -29,6 +28,7 @@ export declare const acs_user_deleted_event: z.ZodObject<z.objectUtil.extendShap
|
|
|
29
28
|
event_id: string;
|
|
30
29
|
occurred_at: string;
|
|
31
30
|
event_type: "acs_user.deleted";
|
|
31
|
+
connected_account_id?: string | undefined;
|
|
32
32
|
}>;
|
|
33
33
|
export type AcsUserDeletedEvent = z.infer<typeof acs_user_deleted_event>;
|
|
34
34
|
export declare const acs_user_events: readonly [z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
@@ -37,14 +37,13 @@ export declare const acs_user_events: readonly [z.ZodObject<z.objectUtil.extendS
|
|
|
37
37
|
created_at: z.ZodString;
|
|
38
38
|
occurred_at: z.ZodString;
|
|
39
39
|
}, {
|
|
40
|
-
connected_account_id: z.ZodString
|
|
40
|
+
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
41
41
|
acs_system_id: z.ZodString;
|
|
42
42
|
}>, {
|
|
43
43
|
acs_user_id: z.ZodString;
|
|
44
44
|
}>, {
|
|
45
45
|
event_type: z.ZodLiteral<"acs_user.deleted">;
|
|
46
46
|
}>, "strip", z.ZodTypeAny, {
|
|
47
|
-
connected_account_id: string;
|
|
48
47
|
created_at: string;
|
|
49
48
|
workspace_id: string;
|
|
50
49
|
acs_system_id: string;
|
|
@@ -52,8 +51,8 @@ export declare const acs_user_events: readonly [z.ZodObject<z.objectUtil.extendS
|
|
|
52
51
|
event_id: string;
|
|
53
52
|
occurred_at: string;
|
|
54
53
|
event_type: "acs_user.deleted";
|
|
54
|
+
connected_account_id?: string | undefined;
|
|
55
55
|
}, {
|
|
56
|
-
connected_account_id: string;
|
|
57
56
|
created_at: string;
|
|
58
57
|
workspace_id: string;
|
|
59
58
|
acs_system_id: string;
|
|
@@ -61,4 +60,5 @@ export declare const acs_user_events: readonly [z.ZodObject<z.objectUtil.extendS
|
|
|
61
60
|
event_id: string;
|
|
62
61
|
occurred_at: string;
|
|
63
62
|
event_type: "acs_user.deleted";
|
|
63
|
+
connected_account_id?: string | undefined;
|
|
64
64
|
}>];
|
|
@@ -755,6 +755,92 @@ export declare const lock_access_denied_event: z.ZodObject<z.objectUtil.extendSh
|
|
|
755
755
|
access_code_id?: string | undefined;
|
|
756
756
|
}>;
|
|
757
757
|
export type LockAccessDeniedEvent = z.infer<typeof lock_access_denied_event>;
|
|
758
|
+
export declare const thermostat_climate_preset_activated_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
759
|
+
event_id: z.ZodString;
|
|
760
|
+
workspace_id: z.ZodString;
|
|
761
|
+
created_at: z.ZodString;
|
|
762
|
+
occurred_at: z.ZodString;
|
|
763
|
+
}, {
|
|
764
|
+
device_id: z.ZodString;
|
|
765
|
+
connected_account_id: z.ZodString;
|
|
766
|
+
}>, {
|
|
767
|
+
event_type: z.ZodLiteral<"thermostat.climate_preset_activated">;
|
|
768
|
+
thermostat_schedule_id: z.ZodNullable<z.ZodString>;
|
|
769
|
+
climate_preset_key: z.ZodString;
|
|
770
|
+
is_fallback_climate_preset: z.ZodBoolean;
|
|
771
|
+
}>, "strip", z.ZodTypeAny, {
|
|
772
|
+
connected_account_id: string;
|
|
773
|
+
created_at: string;
|
|
774
|
+
climate_preset_key: string;
|
|
775
|
+
thermostat_schedule_id: string | null;
|
|
776
|
+
device_id: string;
|
|
777
|
+
workspace_id: string;
|
|
778
|
+
event_id: string;
|
|
779
|
+
occurred_at: string;
|
|
780
|
+
event_type: "thermostat.climate_preset_activated";
|
|
781
|
+
is_fallback_climate_preset: boolean;
|
|
782
|
+
}, {
|
|
783
|
+
connected_account_id: string;
|
|
784
|
+
created_at: string;
|
|
785
|
+
climate_preset_key: string;
|
|
786
|
+
thermostat_schedule_id: string | null;
|
|
787
|
+
device_id: string;
|
|
788
|
+
workspace_id: string;
|
|
789
|
+
event_id: string;
|
|
790
|
+
occurred_at: string;
|
|
791
|
+
event_type: "thermostat.climate_preset_activated";
|
|
792
|
+
is_fallback_climate_preset: boolean;
|
|
793
|
+
}>;
|
|
794
|
+
export type ThermostatClimatePresetActivatedEvent = z.infer<typeof thermostat_climate_preset_activated_event>;
|
|
795
|
+
export declare const thermostat_manually_adjusted_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
796
|
+
event_id: z.ZodString;
|
|
797
|
+
workspace_id: z.ZodString;
|
|
798
|
+
created_at: z.ZodString;
|
|
799
|
+
occurred_at: z.ZodString;
|
|
800
|
+
}, {
|
|
801
|
+
device_id: z.ZodString;
|
|
802
|
+
connected_account_id: z.ZodString;
|
|
803
|
+
}>, Pick<{
|
|
804
|
+
climate_preset_key: z.ZodOptional<z.ZodString>;
|
|
805
|
+
can_edit: z.ZodOptional<z.ZodBoolean>;
|
|
806
|
+
can_delete: z.ZodOptional<z.ZodBoolean>;
|
|
807
|
+
name: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
|
|
808
|
+
display_name: z.ZodOptional<z.ZodString>;
|
|
809
|
+
fan_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["auto", "on", "circulate"]>>>;
|
|
810
|
+
hvac_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>>>;
|
|
811
|
+
cooling_set_point_celsius: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
812
|
+
heating_set_point_celsius: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
813
|
+
cooling_set_point_fahrenheit: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
814
|
+
heating_set_point_fahrenheit: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
815
|
+
manual_override_allowed: z.ZodOptional<z.ZodBoolean>;
|
|
816
|
+
}, "fan_mode_setting" | "hvac_mode_setting" | "cooling_set_point_celsius" | "heating_set_point_celsius" | "cooling_set_point_fahrenheit" | "heating_set_point_fahrenheit">>, "strip", z.ZodTypeAny, {
|
|
817
|
+
connected_account_id: string;
|
|
818
|
+
created_at: string;
|
|
819
|
+
device_id: string;
|
|
820
|
+
workspace_id: string;
|
|
821
|
+
event_id: string;
|
|
822
|
+
occurred_at: string;
|
|
823
|
+
fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
|
|
824
|
+
hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
|
|
825
|
+
cooling_set_point_celsius?: number | undefined;
|
|
826
|
+
heating_set_point_celsius?: number | undefined;
|
|
827
|
+
cooling_set_point_fahrenheit?: number | undefined;
|
|
828
|
+
heating_set_point_fahrenheit?: number | undefined;
|
|
829
|
+
}, {
|
|
830
|
+
connected_account_id: string;
|
|
831
|
+
created_at: string;
|
|
832
|
+
device_id: string;
|
|
833
|
+
workspace_id: string;
|
|
834
|
+
event_id: string;
|
|
835
|
+
occurred_at: string;
|
|
836
|
+
fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
|
|
837
|
+
hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
|
|
838
|
+
cooling_set_point_celsius?: number | undefined;
|
|
839
|
+
heating_set_point_celsius?: number | undefined;
|
|
840
|
+
cooling_set_point_fahrenheit?: number | undefined;
|
|
841
|
+
heating_set_point_fahrenheit?: number | undefined;
|
|
842
|
+
}>;
|
|
843
|
+
export type ThermostatManuallyAdjustedEvent = z.infer<typeof thermostat_manually_adjusted_event>;
|
|
758
844
|
export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
759
845
|
event_id: z.ZodString;
|
|
760
846
|
workspace_id: z.ZodString;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
import { climate_setting } from '../thermostats/climate-preset.js';
|
|
2
3
|
import { common_event } from './common.js';
|
|
3
4
|
const device_event = common_event.extend({
|
|
4
5
|
device_id: z.string().uuid().describe(`
|
|
@@ -203,6 +204,24 @@ export const lock_access_denied_event = device_event
|
|
|
203
204
|
access_code_id: z.string().uuid().optional(),
|
|
204
205
|
})
|
|
205
206
|
.describe('The lock denied access to a user after one or more consecutive invalid attempts to unlock the device.');
|
|
207
|
+
export const thermostat_climate_preset_activated_event = device_event
|
|
208
|
+
.extend({
|
|
209
|
+
event_type: z.literal('thermostat.climate_preset_activated'),
|
|
210
|
+
thermostat_schedule_id: z.string().uuid().nullable(),
|
|
211
|
+
climate_preset_key: z.string(),
|
|
212
|
+
is_fallback_climate_preset: z.boolean(),
|
|
213
|
+
})
|
|
214
|
+
.describe('A thermostat climate preset was activated.');
|
|
215
|
+
export const thermostat_manually_adjusted_event = device_event
|
|
216
|
+
.merge(climate_setting.pick({
|
|
217
|
+
fan_mode_setting: true,
|
|
218
|
+
hvac_mode_setting: true,
|
|
219
|
+
cooling_set_point_celsius: true,
|
|
220
|
+
heating_set_point_celsius: true,
|
|
221
|
+
cooling_set_point_fahrenheit: true,
|
|
222
|
+
heating_set_point_fahrenheit: true,
|
|
223
|
+
}))
|
|
224
|
+
.describe('A thermostat was manually adjusted.');
|
|
206
225
|
export const device_events = [
|
|
207
226
|
device_connected_event,
|
|
208
227
|
device_converted_to_unmanaged_event,
|
|
@@ -229,5 +248,7 @@ export const device_events = [
|
|
|
229
248
|
lock_locked_event,
|
|
230
249
|
lock_unlocked_event,
|
|
231
250
|
lock_access_denied_event,
|
|
251
|
+
// thermostat_climate_preset_activated_event,
|
|
252
|
+
// thermostat_manually_adjusted_event,
|
|
232
253
|
];
|
|
233
254
|
//# sourceMappingURL=devices.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"devices.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/events/devices.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAE1C,MAAM,YAAY,GAAG,YAAY,CAAC,MAAM,CAAC;IACvC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC;;;;;GAKrC,CAAC;IACF,oBAAoB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC;;;;;GAKhD,CAAC;CACH,CAAC,CAAA;AAEF,MAAM,aAAa,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC;;;;;CAKvD,CAAC,CAAA;AAEF,MAAM,qBAAqB,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,UAAU,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC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CAA0C;IAC1C,4CAA4C;IAC5C,iBAAiB;IACjB,mBAAmB;IACnB,wBAAwB;IACxB,6CAA6C;IAC7C,sCAAsC;CAC9B,CAAA"}
|
|
@@ -510,40 +510,65 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
510
510
|
created_at: z.ZodString;
|
|
511
511
|
occurred_at: z.ZodString;
|
|
512
512
|
}, {
|
|
513
|
-
connected_account_id: z.ZodString
|
|
513
|
+
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
514
514
|
acs_system_id: z.ZodString;
|
|
515
515
|
}>, {}>, {
|
|
516
516
|
event_type: z.ZodLiteral<"acs_system.connected">;
|
|
517
517
|
}>, "strip", z.ZodTypeAny, {
|
|
518
|
-
connected_account_id: string;
|
|
519
518
|
created_at: string;
|
|
520
519
|
workspace_id: string;
|
|
521
520
|
acs_system_id: string;
|
|
522
521
|
event_id: string;
|
|
523
522
|
occurred_at: string;
|
|
524
523
|
event_type: "acs_system.connected";
|
|
524
|
+
connected_account_id?: string | undefined;
|
|
525
525
|
}, {
|
|
526
|
-
connected_account_id: string;
|
|
527
526
|
created_at: string;
|
|
528
527
|
workspace_id: string;
|
|
529
528
|
acs_system_id: string;
|
|
530
529
|
event_id: string;
|
|
531
530
|
occurred_at: string;
|
|
532
531
|
event_type: "acs_system.connected";
|
|
532
|
+
connected_account_id?: string | undefined;
|
|
533
533
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
534
534
|
event_id: z.ZodString;
|
|
535
535
|
workspace_id: z.ZodString;
|
|
536
536
|
created_at: z.ZodString;
|
|
537
537
|
occurred_at: z.ZodString;
|
|
538
538
|
}, {
|
|
539
|
-
connected_account_id: z.ZodString
|
|
539
|
+
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
540
|
+
acs_system_id: z.ZodString;
|
|
541
|
+
}>, {}>, {
|
|
542
|
+
event_type: z.ZodLiteral<"acs_system.added">;
|
|
543
|
+
}>, "strip", z.ZodTypeAny, {
|
|
544
|
+
created_at: string;
|
|
545
|
+
workspace_id: string;
|
|
546
|
+
acs_system_id: string;
|
|
547
|
+
event_id: string;
|
|
548
|
+
occurred_at: string;
|
|
549
|
+
event_type: "acs_system.added";
|
|
550
|
+
connected_account_id?: string | undefined;
|
|
551
|
+
}, {
|
|
552
|
+
created_at: string;
|
|
553
|
+
workspace_id: string;
|
|
554
|
+
acs_system_id: string;
|
|
555
|
+
event_id: string;
|
|
556
|
+
occurred_at: string;
|
|
557
|
+
event_type: "acs_system.added";
|
|
558
|
+
connected_account_id?: string | undefined;
|
|
559
|
+
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
560
|
+
event_id: z.ZodString;
|
|
561
|
+
workspace_id: z.ZodString;
|
|
562
|
+
created_at: z.ZodString;
|
|
563
|
+
occurred_at: z.ZodString;
|
|
564
|
+
}, {
|
|
565
|
+
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
540
566
|
acs_system_id: z.ZodString;
|
|
541
567
|
}>, {
|
|
542
568
|
acs_credential_id: z.ZodString;
|
|
543
569
|
}>, {
|
|
544
570
|
event_type: z.ZodLiteral<"acs_credential.deleted">;
|
|
545
571
|
}>, "strip", z.ZodTypeAny, {
|
|
546
|
-
connected_account_id: string;
|
|
547
572
|
created_at: string;
|
|
548
573
|
workspace_id: string;
|
|
549
574
|
acs_system_id: string;
|
|
@@ -551,8 +576,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
551
576
|
event_id: string;
|
|
552
577
|
occurred_at: string;
|
|
553
578
|
event_type: "acs_credential.deleted";
|
|
579
|
+
connected_account_id?: string | undefined;
|
|
554
580
|
}, {
|
|
555
|
-
connected_account_id: string;
|
|
556
581
|
created_at: string;
|
|
557
582
|
workspace_id: string;
|
|
558
583
|
acs_system_id: string;
|
|
@@ -560,20 +585,20 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
560
585
|
event_id: string;
|
|
561
586
|
occurred_at: string;
|
|
562
587
|
event_type: "acs_credential.deleted";
|
|
588
|
+
connected_account_id?: string | undefined;
|
|
563
589
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
564
590
|
event_id: z.ZodString;
|
|
565
591
|
workspace_id: z.ZodString;
|
|
566
592
|
created_at: z.ZodString;
|
|
567
593
|
occurred_at: z.ZodString;
|
|
568
594
|
}, {
|
|
569
|
-
connected_account_id: z.ZodString
|
|
595
|
+
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
570
596
|
acs_system_id: z.ZodString;
|
|
571
597
|
}>, {
|
|
572
598
|
acs_user_id: z.ZodString;
|
|
573
599
|
}>, {
|
|
574
600
|
event_type: z.ZodLiteral<"acs_user.deleted">;
|
|
575
601
|
}>, "strip", z.ZodTypeAny, {
|
|
576
|
-
connected_account_id: string;
|
|
577
602
|
created_at: string;
|
|
578
603
|
workspace_id: string;
|
|
579
604
|
acs_system_id: string;
|
|
@@ -581,8 +606,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
581
606
|
event_id: string;
|
|
582
607
|
occurred_at: string;
|
|
583
608
|
event_type: "acs_user.deleted";
|
|
609
|
+
connected_account_id?: string | undefined;
|
|
584
610
|
}, {
|
|
585
|
-
connected_account_id: string;
|
|
586
611
|
created_at: string;
|
|
587
612
|
workspace_id: string;
|
|
588
613
|
acs_system_id: string;
|
|
@@ -590,6 +615,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
590
615
|
event_id: string;
|
|
591
616
|
occurred_at: string;
|
|
592
617
|
event_type: "acs_user.deleted";
|
|
618
|
+
connected_account_id?: string | undefined;
|
|
593
619
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
594
620
|
event_id: z.ZodString;
|
|
595
621
|
workspace_id: z.ZodString;
|
|
@@ -877,6 +877,7 @@ declare const _default: {
|
|
|
877
877
|
nullable: boolean;
|
|
878
878
|
properties?: never;
|
|
879
879
|
type?: never;
|
|
880
|
+
required?: never;
|
|
880
881
|
};
|
|
881
882
|
status: {
|
|
882
883
|
enum: string[];
|
|
@@ -905,9 +906,13 @@ declare const _default: {
|
|
|
905
906
|
type?: never;
|
|
906
907
|
};
|
|
907
908
|
result: {
|
|
908
|
-
properties: {
|
|
909
|
+
properties: {
|
|
910
|
+
acs_credential_id?: never;
|
|
911
|
+
card_number?: never;
|
|
912
|
+
};
|
|
909
913
|
type: string;
|
|
910
914
|
nullable?: never;
|
|
915
|
+
required?: never;
|
|
911
916
|
};
|
|
912
917
|
status: {
|
|
913
918
|
enum: string[];
|
|
@@ -946,6 +951,51 @@ declare const _default: {
|
|
|
946
951
|
nullable: boolean;
|
|
947
952
|
properties?: never;
|
|
948
953
|
type?: never;
|
|
954
|
+
required?: never;
|
|
955
|
+
};
|
|
956
|
+
status: {
|
|
957
|
+
enum: string[];
|
|
958
|
+
type: string;
|
|
959
|
+
};
|
|
960
|
+
};
|
|
961
|
+
required: string[];
|
|
962
|
+
type: string;
|
|
963
|
+
} | {
|
|
964
|
+
description: string;
|
|
965
|
+
properties: {
|
|
966
|
+
action_attempt_id: {
|
|
967
|
+
description: string;
|
|
968
|
+
format: string;
|
|
969
|
+
type: string;
|
|
970
|
+
'x-title': string;
|
|
971
|
+
};
|
|
972
|
+
action_type: {
|
|
973
|
+
enum: string[];
|
|
974
|
+
type: string;
|
|
975
|
+
};
|
|
976
|
+
error: {
|
|
977
|
+
nullable: boolean;
|
|
978
|
+
properties?: never;
|
|
979
|
+
required?: never;
|
|
980
|
+
type?: never;
|
|
981
|
+
};
|
|
982
|
+
result: {
|
|
983
|
+
properties: {
|
|
984
|
+
acs_credential_id: {
|
|
985
|
+
description: string;
|
|
986
|
+
format: string;
|
|
987
|
+
nullable: boolean;
|
|
988
|
+
type: string;
|
|
989
|
+
};
|
|
990
|
+
card_number: {
|
|
991
|
+
description: string;
|
|
992
|
+
nullable: boolean;
|
|
993
|
+
type: string;
|
|
994
|
+
};
|
|
995
|
+
};
|
|
996
|
+
required: string[];
|
|
997
|
+
type: string;
|
|
998
|
+
nullable?: never;
|
|
949
999
|
};
|
|
950
1000
|
status: {
|
|
951
1001
|
enum: string[];
|
|
@@ -976,6 +1026,7 @@ declare const _default: {
|
|
|
976
1026
|
nullable: boolean;
|
|
977
1027
|
properties?: never;
|
|
978
1028
|
type?: never;
|
|
1029
|
+
required?: never;
|
|
979
1030
|
};
|
|
980
1031
|
status: {
|
|
981
1032
|
enum: string[];
|
|
@@ -1007,6 +1058,7 @@ declare const _default: {
|
|
|
1007
1058
|
nullable?: never;
|
|
1008
1059
|
properties?: never;
|
|
1009
1060
|
type?: never;
|
|
1061
|
+
required?: never;
|
|
1010
1062
|
};
|
|
1011
1063
|
status: {
|
|
1012
1064
|
enum: string[];
|
|
@@ -1045,6 +1097,7 @@ declare const _default: {
|
|
|
1045
1097
|
nullable: boolean;
|
|
1046
1098
|
properties?: never;
|
|
1047
1099
|
type?: never;
|
|
1100
|
+
required?: never;
|
|
1048
1101
|
};
|
|
1049
1102
|
status: {
|
|
1050
1103
|
enum: string[];
|
|
@@ -7050,6 +7103,90 @@ declare const _default: {
|
|
|
7050
7103
|
'x-fern-sdk-return-value': string;
|
|
7051
7104
|
};
|
|
7052
7105
|
};
|
|
7106
|
+
'/acs/credentials/read_card': {
|
|
7107
|
+
post: {
|
|
7108
|
+
operationId: string;
|
|
7109
|
+
requestBody: {
|
|
7110
|
+
content: {
|
|
7111
|
+
'application/json': {
|
|
7112
|
+
schema: {
|
|
7113
|
+
oneOf: ({
|
|
7114
|
+
properties: {
|
|
7115
|
+
acs_system_id: {
|
|
7116
|
+
format: string;
|
|
7117
|
+
type: string;
|
|
7118
|
+
};
|
|
7119
|
+
device_name: {
|
|
7120
|
+
type: string;
|
|
7121
|
+
};
|
|
7122
|
+
device_id?: never;
|
|
7123
|
+
};
|
|
7124
|
+
required: string[];
|
|
7125
|
+
type: string;
|
|
7126
|
+
} | {
|
|
7127
|
+
properties: {
|
|
7128
|
+
device_id: {
|
|
7129
|
+
format: string;
|
|
7130
|
+
type: string;
|
|
7131
|
+
};
|
|
7132
|
+
acs_system_id?: never;
|
|
7133
|
+
device_name?: never;
|
|
7134
|
+
};
|
|
7135
|
+
required: string[];
|
|
7136
|
+
type: string;
|
|
7137
|
+
})[];
|
|
7138
|
+
};
|
|
7139
|
+
};
|
|
7140
|
+
};
|
|
7141
|
+
};
|
|
7142
|
+
responses: {
|
|
7143
|
+
200: {
|
|
7144
|
+
content: {
|
|
7145
|
+
'application/json': {
|
|
7146
|
+
schema: {
|
|
7147
|
+
properties: {
|
|
7148
|
+
action_attempt: {
|
|
7149
|
+
$ref: string;
|
|
7150
|
+
};
|
|
7151
|
+
ok: {
|
|
7152
|
+
type: string;
|
|
7153
|
+
};
|
|
7154
|
+
};
|
|
7155
|
+
required: string[];
|
|
7156
|
+
type: string;
|
|
7157
|
+
};
|
|
7158
|
+
};
|
|
7159
|
+
};
|
|
7160
|
+
description: string;
|
|
7161
|
+
};
|
|
7162
|
+
400: {
|
|
7163
|
+
description: string;
|
|
7164
|
+
};
|
|
7165
|
+
401: {
|
|
7166
|
+
description: string;
|
|
7167
|
+
};
|
|
7168
|
+
};
|
|
7169
|
+
security: ({
|
|
7170
|
+
pat_with_workspace: never[];
|
|
7171
|
+
console_session?: never;
|
|
7172
|
+
api_key?: never;
|
|
7173
|
+
} | {
|
|
7174
|
+
console_session: never[];
|
|
7175
|
+
pat_with_workspace?: never;
|
|
7176
|
+
api_key?: never;
|
|
7177
|
+
} | {
|
|
7178
|
+
api_key: never[];
|
|
7179
|
+
pat_with_workspace?: never;
|
|
7180
|
+
console_session?: never;
|
|
7181
|
+
})[];
|
|
7182
|
+
summary: string;
|
|
7183
|
+
tags: string[];
|
|
7184
|
+
'x-fern-sdk-group-name': string[];
|
|
7185
|
+
'x-fern-sdk-method-name': string;
|
|
7186
|
+
'x-fern-sdk-return-value': string;
|
|
7187
|
+
'x-undocumented': string;
|
|
7188
|
+
};
|
|
7189
|
+
};
|
|
7053
7190
|
'/acs/credentials/unassign': {
|
|
7054
7191
|
patch: {
|
|
7055
7192
|
operationId: string;
|