@seamapi/types 1.554.0 → 1.556.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 +128 -108
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +376 -403
- package/dist/index.cjs +128 -108
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-grants/access-grant.d.ts +54 -0
- package/lib/seam/connect/models/access-grants/access-grant.js +24 -0
- package/lib/seam/connect/models/access-grants/access-grant.js.map +1 -1
- package/lib/seam/connect/models/access-grants/access-method.d.ts +54 -0
- package/lib/seam/connect/models/access-grants/access-method.js +24 -0
- package/lib/seam/connect/models/access-grants/access-method.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-credential.d.ts +10 -10
- package/lib/seam/connect/models/batch.d.ts +140 -110
- package/lib/seam/connect/models/events/access-methods.d.ts +4 -71
- package/lib/seam/connect/models/events/access-methods.js +2 -22
- package/lib/seam/connect/models/events/access-methods.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +3 -36
- package/lib/seam/connect/openapi.d.ts +62 -110
- package/lib/seam/connect/openapi.js +65 -69
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +85 -94
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-grants/access-grant.ts +40 -0
- package/src/lib/seam/connect/models/access-grants/access-method.ts +40 -0
- package/src/lib/seam/connect/models/events/access-methods.ts +2 -29
- package/src/lib/seam/connect/openapi.ts +77 -74
- package/src/lib/seam/connect/route-types.ts +81 -99
|
@@ -34819,11 +34819,30 @@ export declare const workspaces_batch: z.ZodObject<{
|
|
|
34819
34819
|
client_session_token: z.ZodOptional<z.ZodString>;
|
|
34820
34820
|
is_encoding_required: z.ZodOptional<z.ZodBoolean>;
|
|
34821
34821
|
code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34822
|
+
warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
|
|
34823
|
+
created_at: z.ZodString;
|
|
34824
|
+
message: z.ZodString;
|
|
34825
|
+
} & {
|
|
34826
|
+
warning_code: z.ZodLiteral<"being_deleted">;
|
|
34827
|
+
}, "strip", z.ZodTypeAny, {
|
|
34828
|
+
message: string;
|
|
34829
|
+
created_at: string;
|
|
34830
|
+
warning_code: "being_deleted";
|
|
34831
|
+
}, {
|
|
34832
|
+
message: string;
|
|
34833
|
+
created_at: string;
|
|
34834
|
+
warning_code: "being_deleted";
|
|
34835
|
+
}>]>, "many">;
|
|
34822
34836
|
customization_profile_id: z.ZodOptional<z.ZodString>;
|
|
34823
34837
|
}, "strip", z.ZodTypeAny, {
|
|
34824
34838
|
display_name: string;
|
|
34825
34839
|
workspace_id: string;
|
|
34826
34840
|
created_at: string;
|
|
34841
|
+
warnings: {
|
|
34842
|
+
message: string;
|
|
34843
|
+
created_at: string;
|
|
34844
|
+
warning_code: "being_deleted";
|
|
34845
|
+
}[];
|
|
34827
34846
|
mode: "code" | "card" | "mobile_key";
|
|
34828
34847
|
access_method_id: string;
|
|
34829
34848
|
issued_at: string | null;
|
|
@@ -34837,6 +34856,11 @@ export declare const workspaces_batch: z.ZodObject<{
|
|
|
34837
34856
|
display_name: string;
|
|
34838
34857
|
workspace_id: string;
|
|
34839
34858
|
created_at: string;
|
|
34859
|
+
warnings: {
|
|
34860
|
+
message: string;
|
|
34861
|
+
created_at: string;
|
|
34862
|
+
warning_code: "being_deleted";
|
|
34863
|
+
}[];
|
|
34840
34864
|
mode: "code" | "card" | "mobile_key";
|
|
34841
34865
|
access_method_id: string;
|
|
34842
34866
|
issued_at: string | null;
|
|
@@ -34881,6 +34905,20 @@ export declare const workspaces_batch: z.ZodObject<{
|
|
|
34881
34905
|
created_at: z.ZodString;
|
|
34882
34906
|
starts_at: z.ZodString;
|
|
34883
34907
|
ends_at: z.ZodNullable<z.ZodString>;
|
|
34908
|
+
warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
|
|
34909
|
+
created_at: z.ZodString;
|
|
34910
|
+
message: z.ZodString;
|
|
34911
|
+
} & {
|
|
34912
|
+
warning_code: z.ZodLiteral<"being_deleted">;
|
|
34913
|
+
}, "strip", z.ZodTypeAny, {
|
|
34914
|
+
message: string;
|
|
34915
|
+
created_at: string;
|
|
34916
|
+
warning_code: "being_deleted";
|
|
34917
|
+
}, {
|
|
34918
|
+
message: string;
|
|
34919
|
+
created_at: string;
|
|
34920
|
+
warning_code: "being_deleted";
|
|
34921
|
+
}>]>, "many">;
|
|
34884
34922
|
customization_profile_id: z.ZodOptional<z.ZodString>;
|
|
34885
34923
|
}, "strip", z.ZodTypeAny, {
|
|
34886
34924
|
name: string | null;
|
|
@@ -34889,6 +34927,11 @@ export declare const workspaces_batch: z.ZodObject<{
|
|
|
34889
34927
|
created_at: string;
|
|
34890
34928
|
starts_at: string;
|
|
34891
34929
|
ends_at: string | null;
|
|
34930
|
+
warnings: {
|
|
34931
|
+
message: string;
|
|
34932
|
+
created_at: string;
|
|
34933
|
+
warning_code: "being_deleted";
|
|
34934
|
+
}[];
|
|
34892
34935
|
access_grant_id: string;
|
|
34893
34936
|
user_identity_id: string;
|
|
34894
34937
|
location_ids: string[];
|
|
@@ -34912,6 +34955,11 @@ export declare const workspaces_batch: z.ZodObject<{
|
|
|
34912
34955
|
created_at: string;
|
|
34913
34956
|
starts_at: string;
|
|
34914
34957
|
ends_at: string | null;
|
|
34958
|
+
warnings: {
|
|
34959
|
+
message: string;
|
|
34960
|
+
created_at: string;
|
|
34961
|
+
warning_code: "being_deleted";
|
|
34962
|
+
}[];
|
|
34915
34963
|
access_grant_id: string;
|
|
34916
34964
|
user_identity_id: string;
|
|
34917
34965
|
location_ids: string[];
|
|
@@ -35816,14 +35864,13 @@ export declare const workspaces_batch: z.ZodObject<{
|
|
|
35816
35864
|
workspace_id: z.ZodString;
|
|
35817
35865
|
created_at: z.ZodString;
|
|
35818
35866
|
occurred_at: z.ZodString;
|
|
35819
|
-
} & {
|
|
35820
35867
|
access_method_id: z.ZodString;
|
|
35821
35868
|
access_grant_ids: z.ZodArray<z.ZodString, "many">;
|
|
35822
35869
|
access_grant_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
35823
|
-
} & {
|
|
35824
|
-
event_type: z.ZodLiteral<"access_method.reissued">;
|
|
35825
35870
|
code: z.ZodOptional<z.ZodString>;
|
|
35826
35871
|
is_backup_code: z.ZodOptional<z.ZodBoolean>;
|
|
35872
|
+
} & {
|
|
35873
|
+
event_type: z.ZodLiteral<"access_method.reissued">;
|
|
35827
35874
|
}, "strip", z.ZodTypeAny, {
|
|
35828
35875
|
workspace_id: string;
|
|
35829
35876
|
created_at: string;
|
|
@@ -35851,38 +35898,6 @@ export declare const workspaces_batch: z.ZodObject<{
|
|
|
35851
35898
|
workspace_id: z.ZodString;
|
|
35852
35899
|
created_at: z.ZodString;
|
|
35853
35900
|
occurred_at: z.ZodString;
|
|
35854
|
-
} & {
|
|
35855
|
-
access_method_id: z.ZodString;
|
|
35856
|
-
access_grant_ids: z.ZodArray<z.ZodString, "many">;
|
|
35857
|
-
access_grant_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
35858
|
-
} & {
|
|
35859
|
-
event_type: z.ZodLiteral<"access_method.code_changed">;
|
|
35860
|
-
code: z.ZodString;
|
|
35861
|
-
}, "strip", z.ZodTypeAny, {
|
|
35862
|
-
code: string;
|
|
35863
|
-
workspace_id: string;
|
|
35864
|
-
created_at: string;
|
|
35865
|
-
access_method_id: string;
|
|
35866
|
-
event_id: string;
|
|
35867
|
-
occurred_at: string;
|
|
35868
|
-
event_type: "access_method.code_changed";
|
|
35869
|
-
access_grant_ids: string[];
|
|
35870
|
-
access_grant_keys?: string[] | undefined;
|
|
35871
|
-
}, {
|
|
35872
|
-
code: string;
|
|
35873
|
-
workspace_id: string;
|
|
35874
|
-
created_at: string;
|
|
35875
|
-
access_method_id: string;
|
|
35876
|
-
event_id: string;
|
|
35877
|
-
occurred_at: string;
|
|
35878
|
-
event_type: "access_method.code_changed";
|
|
35879
|
-
access_grant_ids: string[];
|
|
35880
|
-
access_grant_keys?: string[] | undefined;
|
|
35881
|
-
}>, z.ZodObject<{
|
|
35882
|
-
event_id: z.ZodString;
|
|
35883
|
-
workspace_id: z.ZodString;
|
|
35884
|
-
created_at: z.ZodString;
|
|
35885
|
-
occurred_at: z.ZodString;
|
|
35886
35901
|
} & {
|
|
35887
35902
|
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
35888
35903
|
acs_system_id: z.ZodString;
|
|
@@ -42068,6 +42083,11 @@ export declare const workspaces_batch: z.ZodObject<{
|
|
|
42068
42083
|
created_at: string;
|
|
42069
42084
|
starts_at: string;
|
|
42070
42085
|
ends_at: string | null;
|
|
42086
|
+
warnings: {
|
|
42087
|
+
message: string;
|
|
42088
|
+
created_at: string;
|
|
42089
|
+
warning_code: "being_deleted";
|
|
42090
|
+
}[];
|
|
42071
42091
|
access_grant_id: string;
|
|
42072
42092
|
user_identity_id: string;
|
|
42073
42093
|
location_ids: string[];
|
|
@@ -42135,6 +42155,11 @@ export declare const workspaces_batch: z.ZodObject<{
|
|
|
42135
42155
|
display_name: string;
|
|
42136
42156
|
workspace_id: string;
|
|
42137
42157
|
created_at: string;
|
|
42158
|
+
warnings: {
|
|
42159
|
+
message: string;
|
|
42160
|
+
created_at: string;
|
|
42161
|
+
warning_code: "being_deleted";
|
|
42162
|
+
}[];
|
|
42138
42163
|
mode: "code" | "card" | "mobile_key";
|
|
42139
42164
|
access_method_id: string;
|
|
42140
42165
|
issued_at: string | null;
|
|
@@ -43861,16 +43886,6 @@ export declare const workspaces_batch: z.ZodObject<{
|
|
|
43861
43886
|
code?: string | undefined;
|
|
43862
43887
|
access_grant_keys?: string[] | undefined;
|
|
43863
43888
|
is_backup_code?: boolean | undefined;
|
|
43864
|
-
} | {
|
|
43865
|
-
code: string;
|
|
43866
|
-
workspace_id: string;
|
|
43867
|
-
created_at: string;
|
|
43868
|
-
access_method_id: string;
|
|
43869
|
-
event_id: string;
|
|
43870
|
-
occurred_at: string;
|
|
43871
|
-
event_type: "access_method.code_changed";
|
|
43872
|
-
access_grant_ids: string[];
|
|
43873
|
-
access_grant_keys?: string[] | undefined;
|
|
43874
43889
|
} | {
|
|
43875
43890
|
workspace_id: string;
|
|
43876
43891
|
created_at: string;
|
|
@@ -46042,6 +46057,11 @@ export declare const workspaces_batch: z.ZodObject<{
|
|
|
46042
46057
|
created_at: string;
|
|
46043
46058
|
starts_at: string;
|
|
46044
46059
|
ends_at: string | null;
|
|
46060
|
+
warnings: {
|
|
46061
|
+
message: string;
|
|
46062
|
+
created_at: string;
|
|
46063
|
+
warning_code: "being_deleted";
|
|
46064
|
+
}[];
|
|
46045
46065
|
access_grant_id: string;
|
|
46046
46066
|
user_identity_id: string;
|
|
46047
46067
|
location_ids: string[];
|
|
@@ -46109,6 +46129,11 @@ export declare const workspaces_batch: z.ZodObject<{
|
|
|
46109
46129
|
display_name: string;
|
|
46110
46130
|
workspace_id: string;
|
|
46111
46131
|
created_at: string;
|
|
46132
|
+
warnings: {
|
|
46133
|
+
message: string;
|
|
46134
|
+
created_at: string;
|
|
46135
|
+
warning_code: "being_deleted";
|
|
46136
|
+
}[];
|
|
46112
46137
|
mode: "code" | "card" | "mobile_key";
|
|
46113
46138
|
access_method_id: string;
|
|
46114
46139
|
issued_at: string | null;
|
|
@@ -47835,16 +47860,6 @@ export declare const workspaces_batch: z.ZodObject<{
|
|
|
47835
47860
|
code?: string | undefined;
|
|
47836
47861
|
access_grant_keys?: string[] | undefined;
|
|
47837
47862
|
is_backup_code?: boolean | undefined;
|
|
47838
|
-
} | {
|
|
47839
|
-
code: string;
|
|
47840
|
-
workspace_id: string;
|
|
47841
|
-
created_at: string;
|
|
47842
|
-
access_method_id: string;
|
|
47843
|
-
event_id: string;
|
|
47844
|
-
occurred_at: string;
|
|
47845
|
-
event_type: "access_method.code_changed";
|
|
47846
|
-
access_grant_ids: string[];
|
|
47847
|
-
access_grant_keys?: string[] | undefined;
|
|
47848
47863
|
} | {
|
|
47849
47864
|
workspace_id: string;
|
|
47850
47865
|
created_at: string;
|
|
@@ -63490,11 +63505,30 @@ export declare const batch: z.ZodObject<{
|
|
|
63490
63505
|
client_session_token: z.ZodOptional<z.ZodString>;
|
|
63491
63506
|
is_encoding_required: z.ZodOptional<z.ZodBoolean>;
|
|
63492
63507
|
code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
63508
|
+
warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
|
|
63509
|
+
created_at: z.ZodString;
|
|
63510
|
+
message: z.ZodString;
|
|
63511
|
+
} & {
|
|
63512
|
+
warning_code: z.ZodLiteral<"being_deleted">;
|
|
63513
|
+
}, "strip", z.ZodTypeAny, {
|
|
63514
|
+
message: string;
|
|
63515
|
+
created_at: string;
|
|
63516
|
+
warning_code: "being_deleted";
|
|
63517
|
+
}, {
|
|
63518
|
+
message: string;
|
|
63519
|
+
created_at: string;
|
|
63520
|
+
warning_code: "being_deleted";
|
|
63521
|
+
}>]>, "many">;
|
|
63493
63522
|
customization_profile_id: z.ZodOptional<z.ZodString>;
|
|
63494
63523
|
}, "strip", z.ZodTypeAny, {
|
|
63495
63524
|
display_name: string;
|
|
63496
63525
|
workspace_id: string;
|
|
63497
63526
|
created_at: string;
|
|
63527
|
+
warnings: {
|
|
63528
|
+
message: string;
|
|
63529
|
+
created_at: string;
|
|
63530
|
+
warning_code: "being_deleted";
|
|
63531
|
+
}[];
|
|
63498
63532
|
mode: "code" | "card" | "mobile_key";
|
|
63499
63533
|
access_method_id: string;
|
|
63500
63534
|
issued_at: string | null;
|
|
@@ -63508,6 +63542,11 @@ export declare const batch: z.ZodObject<{
|
|
|
63508
63542
|
display_name: string;
|
|
63509
63543
|
workspace_id: string;
|
|
63510
63544
|
created_at: string;
|
|
63545
|
+
warnings: {
|
|
63546
|
+
message: string;
|
|
63547
|
+
created_at: string;
|
|
63548
|
+
warning_code: "being_deleted";
|
|
63549
|
+
}[];
|
|
63511
63550
|
mode: "code" | "card" | "mobile_key";
|
|
63512
63551
|
access_method_id: string;
|
|
63513
63552
|
issued_at: string | null;
|
|
@@ -63552,6 +63591,20 @@ export declare const batch: z.ZodObject<{
|
|
|
63552
63591
|
created_at: z.ZodString;
|
|
63553
63592
|
starts_at: z.ZodString;
|
|
63554
63593
|
ends_at: z.ZodNullable<z.ZodString>;
|
|
63594
|
+
warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
|
|
63595
|
+
created_at: z.ZodString;
|
|
63596
|
+
message: z.ZodString;
|
|
63597
|
+
} & {
|
|
63598
|
+
warning_code: z.ZodLiteral<"being_deleted">;
|
|
63599
|
+
}, "strip", z.ZodTypeAny, {
|
|
63600
|
+
message: string;
|
|
63601
|
+
created_at: string;
|
|
63602
|
+
warning_code: "being_deleted";
|
|
63603
|
+
}, {
|
|
63604
|
+
message: string;
|
|
63605
|
+
created_at: string;
|
|
63606
|
+
warning_code: "being_deleted";
|
|
63607
|
+
}>]>, "many">;
|
|
63555
63608
|
customization_profile_id: z.ZodOptional<z.ZodString>;
|
|
63556
63609
|
}, "strip", z.ZodTypeAny, {
|
|
63557
63610
|
name: string | null;
|
|
@@ -63560,6 +63613,11 @@ export declare const batch: z.ZodObject<{
|
|
|
63560
63613
|
created_at: string;
|
|
63561
63614
|
starts_at: string;
|
|
63562
63615
|
ends_at: string | null;
|
|
63616
|
+
warnings: {
|
|
63617
|
+
message: string;
|
|
63618
|
+
created_at: string;
|
|
63619
|
+
warning_code: "being_deleted";
|
|
63620
|
+
}[];
|
|
63563
63621
|
access_grant_id: string;
|
|
63564
63622
|
user_identity_id: string;
|
|
63565
63623
|
location_ids: string[];
|
|
@@ -63583,6 +63641,11 @@ export declare const batch: z.ZodObject<{
|
|
|
63583
63641
|
created_at: string;
|
|
63584
63642
|
starts_at: string;
|
|
63585
63643
|
ends_at: string | null;
|
|
63644
|
+
warnings: {
|
|
63645
|
+
message: string;
|
|
63646
|
+
created_at: string;
|
|
63647
|
+
warning_code: "being_deleted";
|
|
63648
|
+
}[];
|
|
63586
63649
|
access_grant_id: string;
|
|
63587
63650
|
user_identity_id: string;
|
|
63588
63651
|
location_ids: string[];
|
|
@@ -64487,14 +64550,13 @@ export declare const batch: z.ZodObject<{
|
|
|
64487
64550
|
workspace_id: z.ZodString;
|
|
64488
64551
|
created_at: z.ZodString;
|
|
64489
64552
|
occurred_at: z.ZodString;
|
|
64490
|
-
} & {
|
|
64491
64553
|
access_method_id: z.ZodString;
|
|
64492
64554
|
access_grant_ids: z.ZodArray<z.ZodString, "many">;
|
|
64493
64555
|
access_grant_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
64494
|
-
} & {
|
|
64495
|
-
event_type: z.ZodLiteral<"access_method.reissued">;
|
|
64496
64556
|
code: z.ZodOptional<z.ZodString>;
|
|
64497
64557
|
is_backup_code: z.ZodOptional<z.ZodBoolean>;
|
|
64558
|
+
} & {
|
|
64559
|
+
event_type: z.ZodLiteral<"access_method.reissued">;
|
|
64498
64560
|
}, "strip", z.ZodTypeAny, {
|
|
64499
64561
|
workspace_id: string;
|
|
64500
64562
|
created_at: string;
|
|
@@ -64522,38 +64584,6 @@ export declare const batch: z.ZodObject<{
|
|
|
64522
64584
|
workspace_id: z.ZodString;
|
|
64523
64585
|
created_at: z.ZodString;
|
|
64524
64586
|
occurred_at: z.ZodString;
|
|
64525
|
-
} & {
|
|
64526
|
-
access_method_id: z.ZodString;
|
|
64527
|
-
access_grant_ids: z.ZodArray<z.ZodString, "many">;
|
|
64528
|
-
access_grant_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
64529
|
-
} & {
|
|
64530
|
-
event_type: z.ZodLiteral<"access_method.code_changed">;
|
|
64531
|
-
code: z.ZodString;
|
|
64532
|
-
}, "strip", z.ZodTypeAny, {
|
|
64533
|
-
code: string;
|
|
64534
|
-
workspace_id: string;
|
|
64535
|
-
created_at: string;
|
|
64536
|
-
access_method_id: string;
|
|
64537
|
-
event_id: string;
|
|
64538
|
-
occurred_at: string;
|
|
64539
|
-
event_type: "access_method.code_changed";
|
|
64540
|
-
access_grant_ids: string[];
|
|
64541
|
-
access_grant_keys?: string[] | undefined;
|
|
64542
|
-
}, {
|
|
64543
|
-
code: string;
|
|
64544
|
-
workspace_id: string;
|
|
64545
|
-
created_at: string;
|
|
64546
|
-
access_method_id: string;
|
|
64547
|
-
event_id: string;
|
|
64548
|
-
occurred_at: string;
|
|
64549
|
-
event_type: "access_method.code_changed";
|
|
64550
|
-
access_grant_ids: string[];
|
|
64551
|
-
access_grant_keys?: string[] | undefined;
|
|
64552
|
-
}>, z.ZodObject<{
|
|
64553
|
-
event_id: z.ZodString;
|
|
64554
|
-
workspace_id: z.ZodString;
|
|
64555
|
-
created_at: z.ZodString;
|
|
64556
|
-
occurred_at: z.ZodString;
|
|
64557
64587
|
} & {
|
|
64558
64588
|
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
64559
64589
|
acs_system_id: z.ZodString;
|
|
@@ -70668,6 +70698,11 @@ export declare const batch: z.ZodObject<{
|
|
|
70668
70698
|
created_at: string;
|
|
70669
70699
|
starts_at: string;
|
|
70670
70700
|
ends_at: string | null;
|
|
70701
|
+
warnings: {
|
|
70702
|
+
message: string;
|
|
70703
|
+
created_at: string;
|
|
70704
|
+
warning_code: "being_deleted";
|
|
70705
|
+
}[];
|
|
70671
70706
|
access_grant_id: string;
|
|
70672
70707
|
user_identity_id: string;
|
|
70673
70708
|
location_ids: string[];
|
|
@@ -70735,6 +70770,11 @@ export declare const batch: z.ZodObject<{
|
|
|
70735
70770
|
display_name: string;
|
|
70736
70771
|
workspace_id: string;
|
|
70737
70772
|
created_at: string;
|
|
70773
|
+
warnings: {
|
|
70774
|
+
message: string;
|
|
70775
|
+
created_at: string;
|
|
70776
|
+
warning_code: "being_deleted";
|
|
70777
|
+
}[];
|
|
70738
70778
|
mode: "code" | "card" | "mobile_key";
|
|
70739
70779
|
access_method_id: string;
|
|
70740
70780
|
issued_at: string | null;
|
|
@@ -72461,16 +72501,6 @@ export declare const batch: z.ZodObject<{
|
|
|
72461
72501
|
code?: string | undefined;
|
|
72462
72502
|
access_grant_keys?: string[] | undefined;
|
|
72463
72503
|
is_backup_code?: boolean | undefined;
|
|
72464
|
-
} | {
|
|
72465
|
-
code: string;
|
|
72466
|
-
workspace_id: string;
|
|
72467
|
-
created_at: string;
|
|
72468
|
-
access_method_id: string;
|
|
72469
|
-
event_id: string;
|
|
72470
|
-
occurred_at: string;
|
|
72471
|
-
event_type: "access_method.code_changed";
|
|
72472
|
-
access_grant_ids: string[];
|
|
72473
|
-
access_grant_keys?: string[] | undefined;
|
|
72474
72504
|
} | {
|
|
72475
72505
|
workspace_id: string;
|
|
72476
72506
|
created_at: string;
|
|
@@ -74571,6 +74601,11 @@ export declare const batch: z.ZodObject<{
|
|
|
74571
74601
|
created_at: string;
|
|
74572
74602
|
starts_at: string;
|
|
74573
74603
|
ends_at: string | null;
|
|
74604
|
+
warnings: {
|
|
74605
|
+
message: string;
|
|
74606
|
+
created_at: string;
|
|
74607
|
+
warning_code: "being_deleted";
|
|
74608
|
+
}[];
|
|
74574
74609
|
access_grant_id: string;
|
|
74575
74610
|
user_identity_id: string;
|
|
74576
74611
|
location_ids: string[];
|
|
@@ -74638,6 +74673,11 @@ export declare const batch: z.ZodObject<{
|
|
|
74638
74673
|
display_name: string;
|
|
74639
74674
|
workspace_id: string;
|
|
74640
74675
|
created_at: string;
|
|
74676
|
+
warnings: {
|
|
74677
|
+
message: string;
|
|
74678
|
+
created_at: string;
|
|
74679
|
+
warning_code: "being_deleted";
|
|
74680
|
+
}[];
|
|
74641
74681
|
mode: "code" | "card" | "mobile_key";
|
|
74642
74682
|
access_method_id: string;
|
|
74643
74683
|
issued_at: string | null;
|
|
@@ -76364,16 +76404,6 @@ export declare const batch: z.ZodObject<{
|
|
|
76364
76404
|
code?: string | undefined;
|
|
76365
76405
|
access_grant_keys?: string[] | undefined;
|
|
76366
76406
|
is_backup_code?: boolean | undefined;
|
|
76367
|
-
} | {
|
|
76368
|
-
code: string;
|
|
76369
|
-
workspace_id: string;
|
|
76370
|
-
created_at: string;
|
|
76371
|
-
access_method_id: string;
|
|
76372
|
-
event_id: string;
|
|
76373
|
-
occurred_at: string;
|
|
76374
|
-
event_type: "access_method.code_changed";
|
|
76375
|
-
access_grant_ids: string[];
|
|
76376
|
-
access_grant_keys?: string[] | undefined;
|
|
76377
76407
|
} | {
|
|
76378
76408
|
workspace_id: string;
|
|
76379
76409
|
created_at: string;
|
|
@@ -132,14 +132,13 @@ export declare const access_method_reissued_event: z.ZodObject<{
|
|
|
132
132
|
workspace_id: z.ZodString;
|
|
133
133
|
created_at: z.ZodString;
|
|
134
134
|
occurred_at: z.ZodString;
|
|
135
|
-
} & {
|
|
136
135
|
access_method_id: z.ZodString;
|
|
137
136
|
access_grant_ids: z.ZodArray<z.ZodString, "many">;
|
|
138
137
|
access_grant_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
139
|
-
} & {
|
|
140
|
-
event_type: z.ZodLiteral<"access_method.reissued">;
|
|
141
138
|
code: z.ZodOptional<z.ZodString>;
|
|
142
139
|
is_backup_code: z.ZodOptional<z.ZodBoolean>;
|
|
140
|
+
} & {
|
|
141
|
+
event_type: z.ZodLiteral<"access_method.reissued">;
|
|
143
142
|
}, "strip", z.ZodTypeAny, {
|
|
144
143
|
workspace_id: string;
|
|
145
144
|
created_at: string;
|
|
@@ -163,39 +162,6 @@ export declare const access_method_reissued_event: z.ZodObject<{
|
|
|
163
162
|
access_grant_keys?: string[] | undefined;
|
|
164
163
|
is_backup_code?: boolean | undefined;
|
|
165
164
|
}>;
|
|
166
|
-
export declare const access_method_code_changed_event: z.ZodObject<{
|
|
167
|
-
event_id: z.ZodString;
|
|
168
|
-
workspace_id: z.ZodString;
|
|
169
|
-
created_at: z.ZodString;
|
|
170
|
-
occurred_at: z.ZodString;
|
|
171
|
-
} & {
|
|
172
|
-
access_method_id: z.ZodString;
|
|
173
|
-
access_grant_ids: z.ZodArray<z.ZodString, "many">;
|
|
174
|
-
access_grant_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
175
|
-
} & {
|
|
176
|
-
event_type: z.ZodLiteral<"access_method.code_changed">;
|
|
177
|
-
code: z.ZodString;
|
|
178
|
-
}, "strip", z.ZodTypeAny, {
|
|
179
|
-
code: string;
|
|
180
|
-
workspace_id: string;
|
|
181
|
-
created_at: string;
|
|
182
|
-
access_method_id: string;
|
|
183
|
-
event_id: string;
|
|
184
|
-
occurred_at: string;
|
|
185
|
-
event_type: "access_method.code_changed";
|
|
186
|
-
access_grant_ids: string[];
|
|
187
|
-
access_grant_keys?: string[] | undefined;
|
|
188
|
-
}, {
|
|
189
|
-
code: string;
|
|
190
|
-
workspace_id: string;
|
|
191
|
-
created_at: string;
|
|
192
|
-
access_method_id: string;
|
|
193
|
-
event_id: string;
|
|
194
|
-
occurred_at: string;
|
|
195
|
-
event_type: "access_method.code_changed";
|
|
196
|
-
access_grant_ids: string[];
|
|
197
|
-
access_grant_keys?: string[] | undefined;
|
|
198
|
-
}>;
|
|
199
165
|
export type AccessMethodRevokedEvent = z.infer<typeof access_method_revoked_event>;
|
|
200
166
|
export declare const access_method_events: readonly [z.ZodObject<{
|
|
201
167
|
event_id: z.ZodString;
|
|
@@ -324,14 +290,13 @@ export declare const access_method_events: readonly [z.ZodObject<{
|
|
|
324
290
|
workspace_id: z.ZodString;
|
|
325
291
|
created_at: z.ZodString;
|
|
326
292
|
occurred_at: z.ZodString;
|
|
327
|
-
} & {
|
|
328
293
|
access_method_id: z.ZodString;
|
|
329
294
|
access_grant_ids: z.ZodArray<z.ZodString, "many">;
|
|
330
295
|
access_grant_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
331
|
-
} & {
|
|
332
|
-
event_type: z.ZodLiteral<"access_method.reissued">;
|
|
333
296
|
code: z.ZodOptional<z.ZodString>;
|
|
334
297
|
is_backup_code: z.ZodOptional<z.ZodBoolean>;
|
|
298
|
+
} & {
|
|
299
|
+
event_type: z.ZodLiteral<"access_method.reissued">;
|
|
335
300
|
}, "strip", z.ZodTypeAny, {
|
|
336
301
|
workspace_id: string;
|
|
337
302
|
created_at: string;
|
|
@@ -354,36 +319,4 @@ export declare const access_method_events: readonly [z.ZodObject<{
|
|
|
354
319
|
code?: string | undefined;
|
|
355
320
|
access_grant_keys?: string[] | undefined;
|
|
356
321
|
is_backup_code?: boolean | undefined;
|
|
357
|
-
}>, z.ZodObject<{
|
|
358
|
-
event_id: z.ZodString;
|
|
359
|
-
workspace_id: z.ZodString;
|
|
360
|
-
created_at: z.ZodString;
|
|
361
|
-
occurred_at: z.ZodString;
|
|
362
|
-
} & {
|
|
363
|
-
access_method_id: z.ZodString;
|
|
364
|
-
access_grant_ids: z.ZodArray<z.ZodString, "many">;
|
|
365
|
-
access_grant_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
366
|
-
} & {
|
|
367
|
-
event_type: z.ZodLiteral<"access_method.code_changed">;
|
|
368
|
-
code: z.ZodString;
|
|
369
|
-
}, "strip", z.ZodTypeAny, {
|
|
370
|
-
code: string;
|
|
371
|
-
workspace_id: string;
|
|
372
|
-
created_at: string;
|
|
373
|
-
access_method_id: string;
|
|
374
|
-
event_id: string;
|
|
375
|
-
occurred_at: string;
|
|
376
|
-
event_type: "access_method.code_changed";
|
|
377
|
-
access_grant_ids: string[];
|
|
378
|
-
access_grant_keys?: string[] | undefined;
|
|
379
|
-
}, {
|
|
380
|
-
code: string;
|
|
381
|
-
workspace_id: string;
|
|
382
|
-
created_at: string;
|
|
383
|
-
access_method_id: string;
|
|
384
|
-
event_id: string;
|
|
385
|
-
occurred_at: string;
|
|
386
|
-
event_type: "access_method.code_changed";
|
|
387
|
-
access_grant_ids: string[];
|
|
388
|
-
access_grant_keys?: string[] | undefined;
|
|
389
322
|
}>];
|
|
@@ -53,32 +53,13 @@ export const access_method_deleted_event = access_method_event.extend({
|
|
|
53
53
|
---
|
|
54
54
|
An access method was deleted.
|
|
55
55
|
`);
|
|
56
|
-
export const access_method_reissued_event =
|
|
56
|
+
export const access_method_reissued_event = access_method_issued_event.extend({
|
|
57
57
|
event_type: z.literal('access_method.reissued'),
|
|
58
|
-
code: z
|
|
59
|
-
.string()
|
|
60
|
-
.optional()
|
|
61
|
-
.describe("The actual PIN code for code access methods (only present when mode is 'code')."),
|
|
62
|
-
is_backup_code: z
|
|
63
|
-
.boolean()
|
|
64
|
-
.optional()
|
|
65
|
-
.describe("Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used)."),
|
|
66
|
-
}).describe(`
|
|
67
|
-
---
|
|
68
|
-
route_path: /access_methods
|
|
69
|
-
---
|
|
70
|
-
An access method was reissued due to an Access Grant update.
|
|
71
|
-
`);
|
|
72
|
-
export const access_method_code_changed_event = access_method_event.extend({
|
|
73
|
-
event_type: z.literal('access_method.code_changed'),
|
|
74
|
-
code: z
|
|
75
|
-
.string()
|
|
76
|
-
.describe("The new PIN code for code access methods (only present when mode is 'code')."),
|
|
77
58
|
}).describe(`
|
|
78
59
|
---
|
|
79
60
|
route_path: /access_methods
|
|
80
61
|
---
|
|
81
|
-
An access method
|
|
62
|
+
An access method was reissued.
|
|
82
63
|
`);
|
|
83
64
|
export const access_method_events = [
|
|
84
65
|
access_method_issued_event,
|
|
@@ -86,6 +67,5 @@ export const access_method_events = [
|
|
|
86
67
|
access_method_card_encoding_required_event,
|
|
87
68
|
access_method_deleted_event,
|
|
88
69
|
access_method_reissued_event,
|
|
89
|
-
access_method_code_changed_event,
|
|
90
70
|
];
|
|
91
71
|
//# sourceMappingURL=access-methods.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"access-methods.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/events/access-methods.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,K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