@seamapi/types 1.532.0 → 1.533.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 +8 -1
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +18 -0
- package/dist/index.cjs +8 -1
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +10 -0
- package/lib/seam/connect/models/events/access-methods.d.ts +6 -0
- package/lib/seam/connect/models/events/access-methods.js +4 -0
- package/lib/seam/connect/models/events/access-methods.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +3 -0
- package/lib/seam/connect/openapi.js +4 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +10 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/events/access-methods.ts +6 -0
- package/src/lib/seam/connect/openapi.ts +5 -0
- package/src/lib/seam/connect/route-types.ts +10 -0
package/dist/connect.d.cts
CHANGED
|
@@ -25283,6 +25283,7 @@ declare const batch: z.ZodObject<{
|
|
|
25283
25283
|
access_grant_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
25284
25284
|
} & {
|
|
25285
25285
|
event_type: z.ZodLiteral<"access_method.reissued">;
|
|
25286
|
+
code: z.ZodOptional<z.ZodString>;
|
|
25286
25287
|
}, "strip", z.ZodTypeAny, {
|
|
25287
25288
|
workspace_id: string;
|
|
25288
25289
|
created_at: string;
|
|
@@ -25291,6 +25292,7 @@ declare const batch: z.ZodObject<{
|
|
|
25291
25292
|
occurred_at: string;
|
|
25292
25293
|
event_type: "access_method.reissued";
|
|
25293
25294
|
access_grant_ids: string[];
|
|
25295
|
+
code?: string | undefined;
|
|
25294
25296
|
access_grant_keys?: string[] | undefined;
|
|
25295
25297
|
}, {
|
|
25296
25298
|
workspace_id: string;
|
|
@@ -25300,6 +25302,7 @@ declare const batch: z.ZodObject<{
|
|
|
25300
25302
|
occurred_at: string;
|
|
25301
25303
|
event_type: "access_method.reissued";
|
|
25302
25304
|
access_grant_ids: string[];
|
|
25305
|
+
code?: string | undefined;
|
|
25303
25306
|
access_grant_keys?: string[] | undefined;
|
|
25304
25307
|
}>, z.ZodObject<{
|
|
25305
25308
|
event_id: z.ZodString;
|
|
@@ -33171,6 +33174,7 @@ declare const batch: z.ZodObject<{
|
|
|
33171
33174
|
occurred_at: string;
|
|
33172
33175
|
event_type: "access_method.reissued";
|
|
33173
33176
|
access_grant_ids: string[];
|
|
33177
|
+
code?: string | undefined;
|
|
33174
33178
|
access_grant_keys?: string[] | undefined;
|
|
33175
33179
|
} | {
|
|
33176
33180
|
workspace_id: string;
|
|
@@ -37027,6 +37031,7 @@ declare const batch: z.ZodObject<{
|
|
|
37027
37031
|
occurred_at: string;
|
|
37028
37032
|
event_type: "access_method.reissued";
|
|
37029
37033
|
access_grant_ids: string[];
|
|
37034
|
+
code?: string | undefined;
|
|
37030
37035
|
access_grant_keys?: string[] | undefined;
|
|
37031
37036
|
} | {
|
|
37032
37037
|
workspace_id: string;
|
|
@@ -48021,6 +48026,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
48021
48026
|
access_grant_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
48022
48027
|
} & {
|
|
48023
48028
|
event_type: z.ZodLiteral<"access_method.reissued">;
|
|
48029
|
+
code: z.ZodOptional<z.ZodString>;
|
|
48024
48030
|
}, "strip", z.ZodTypeAny, {
|
|
48025
48031
|
workspace_id: string;
|
|
48026
48032
|
created_at: string;
|
|
@@ -48029,6 +48035,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
48029
48035
|
occurred_at: string;
|
|
48030
48036
|
event_type: "access_method.reissued";
|
|
48031
48037
|
access_grant_ids: string[];
|
|
48038
|
+
code?: string | undefined;
|
|
48032
48039
|
access_grant_keys?: string[] | undefined;
|
|
48033
48040
|
}, {
|
|
48034
48041
|
workspace_id: string;
|
|
@@ -48038,6 +48045,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
48038
48045
|
occurred_at: string;
|
|
48039
48046
|
event_type: "access_method.reissued";
|
|
48040
48047
|
access_grant_ids: string[];
|
|
48048
|
+
code?: string | undefined;
|
|
48041
48049
|
access_grant_keys?: string[] | undefined;
|
|
48042
48050
|
}>, z.ZodObject<{
|
|
48043
48051
|
event_id: z.ZodString;
|
|
@@ -119223,6 +119231,8 @@ type Routes = {
|
|
|
119223
119231
|
/** Keys of the access grants associated with this access method (if present). */
|
|
119224
119232
|
access_grant_keys?: string[] | undefined;
|
|
119225
119233
|
event_type: 'access_method.reissued';
|
|
119234
|
+
/** The actual PIN code for code access methods (only present when mode is 'code'). */
|
|
119235
|
+
code?: string | undefined;
|
|
119226
119236
|
} | {
|
|
119227
119237
|
/** ID of the event. */
|
|
119228
119238
|
event_id: string;
|
|
@@ -137048,6 +137058,8 @@ type Routes = {
|
|
|
137048
137058
|
/** Keys of the access grants associated with this access method (if present). */
|
|
137049
137059
|
access_grant_keys?: string[] | undefined;
|
|
137050
137060
|
event_type: 'access_method.reissued';
|
|
137061
|
+
/** The actual PIN code for code access methods (only present when mode is 'code'). */
|
|
137062
|
+
code?: string | undefined;
|
|
137051
137063
|
} | {
|
|
137052
137064
|
/** ID of the event. */
|
|
137053
137065
|
event_id: string;
|
|
@@ -138944,6 +138956,8 @@ type Routes = {
|
|
|
138944
138956
|
/** Keys of the access grants associated with this access method (if present). */
|
|
138945
138957
|
access_grant_keys?: string[] | undefined;
|
|
138946
138958
|
event_type: 'access_method.reissued';
|
|
138959
|
+
/** The actual PIN code for code access methods (only present when mode is 'code'). */
|
|
138960
|
+
code?: string | undefined;
|
|
138947
138961
|
} | {
|
|
138948
138962
|
/** ID of the event. */
|
|
138949
138963
|
event_id: string;
|
|
@@ -157772,6 +157786,8 @@ type Routes = {
|
|
|
157772
157786
|
/** Keys of the access grants associated with this access method (if present). */
|
|
157773
157787
|
access_grant_keys?: string[] | undefined;
|
|
157774
157788
|
event_type: 'access_method.reissued';
|
|
157789
|
+
/** The actual PIN code for code access methods (only present when mode is 'code'). */
|
|
157790
|
+
code?: string | undefined;
|
|
157775
157791
|
} | {
|
|
157776
157792
|
/** ID of the event. */
|
|
157777
157793
|
event_id: string;
|
|
@@ -185045,6 +185061,8 @@ type Routes = {
|
|
|
185045
185061
|
/** Keys of the access grants associated with this access method (if present). */
|
|
185046
185062
|
access_grant_keys?: string[] | undefined;
|
|
185047
185063
|
event_type: 'access_method.reissued';
|
|
185064
|
+
/** The actual PIN code for code access methods (only present when mode is 'code'). */
|
|
185065
|
+
code?: string | undefined;
|
|
185048
185066
|
} | {
|
|
185049
185067
|
/** ID of the event. */
|
|
185050
185068
|
event_id: string;
|
package/dist/index.cjs
CHANGED
|
@@ -4331,7 +4331,10 @@ var access_method_deleted_event = access_method_event.extend({
|
|
|
4331
4331
|
An access method was deleted.
|
|
4332
4332
|
`);
|
|
4333
4333
|
var access_method_reissued_event = access_method_event.extend({
|
|
4334
|
-
event_type: zod.z.literal("access_method.reissued")
|
|
4334
|
+
event_type: zod.z.literal("access_method.reissued"),
|
|
4335
|
+
code: zod.z.string().optional().describe(
|
|
4336
|
+
"The actual PIN code for code access methods (only present when mode is 'code')."
|
|
4337
|
+
)
|
|
4335
4338
|
}).describe(`
|
|
4336
4339
|
---
|
|
4337
4340
|
route_path: /access_methods
|
|
@@ -18807,6 +18810,10 @@ var openapi_default = {
|
|
|
18807
18810
|
format: "uuid",
|
|
18808
18811
|
type: "string"
|
|
18809
18812
|
},
|
|
18813
|
+
code: {
|
|
18814
|
+
description: "The actual PIN code for code access methods (only present when mode is 'code').",
|
|
18815
|
+
type: "string"
|
|
18816
|
+
},
|
|
18810
18817
|
created_at: {
|
|
18811
18818
|
description: "Date and time at which the event was created.",
|
|
18812
18819
|
format: "date-time",
|