terse-types 0.0.77 → 0.1.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/Events.d.ts +112 -0
- package/dist/Events.js +32 -0
- package/dist/Integrations.d.ts +6 -0
- package/dist/Integrations.js +9 -0
- package/dist/Tools.js +4 -2
- package/dist/TriggerDefinition.d.ts +34 -0
- package/dist/TriggerDefinition.js +6 -0
- package/dist/TriggerPresenters.d.ts +38 -8
- package/dist/TriggerPresenters.js +233 -294
- package/dist/TriggerProjections.d.ts +18 -0
- package/dist/TriggerProjections.js +167 -0
- package/dist/Triggers.d.ts +2111 -30
- package/dist/Triggers.js +633 -25
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/types.d.ts +66 -66
- package/package.json +1 -1
- package/dist/AttioRecordFlatten.d.ts +0 -19
- package/dist/AttioRecordFlatten.js +0 -71
- package/dist/OrganizationMetadata.d.ts +0 -6
- package/dist/OrganizationMetadata.js +0 -10
- package/dist/json-schema/terse-types.schema.json +0 -15994
package/dist/index.d.ts
CHANGED
|
@@ -21,6 +21,7 @@ export * from "./Tools.js";
|
|
|
21
21
|
export * from "./Billing.js";
|
|
22
22
|
export * from "./ModelRegistry.js";
|
|
23
23
|
export * from "./ToolDisplayUtils.js";
|
|
24
|
+
export * from "./TriggerDefinition.js";
|
|
24
25
|
export * from "./Triggers.js";
|
|
25
26
|
export * from "./ToolsTypes.js";
|
|
26
27
|
export * from "./types.js";
|
package/dist/index.js
CHANGED
|
@@ -22,6 +22,7 @@ export * from "./Billing.js";
|
|
|
22
22
|
export * from "./ModelRegistry.js";
|
|
23
23
|
// export * from "./TicketSystem"
|
|
24
24
|
export * from "./ToolDisplayUtils.js";
|
|
25
|
+
export * from "./TriggerDefinition.js";
|
|
25
26
|
export * from "./Triggers.js";
|
|
26
27
|
export * from "./ToolsTypes.js";
|
|
27
28
|
export * from "./types.js";
|
package/dist/types.d.ts
CHANGED
|
@@ -4289,7 +4289,7 @@ export declare const sdkAgentRunNormalizedRequestSchema: z.ZodObject<{
|
|
|
4289
4289
|
}, z.core.$strip>>;
|
|
4290
4290
|
}, z.core.$strip>>;
|
|
4291
4291
|
pullRequest: z.ZodOptional<z.ZodUndefined>;
|
|
4292
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
4292
|
+
}, z.core.$strip>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4293
4293
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.GITHUB>;
|
|
4294
4294
|
username: z.ZodString;
|
|
4295
4295
|
installationId: z.ZodNumber;
|
|
@@ -4505,7 +4505,7 @@ export declare const sdkAgentRunNormalizedRequestSchema: z.ZodObject<{
|
|
|
4505
4505
|
}, z.core.$strip>>;
|
|
4506
4506
|
}, z.core.$strip>>;
|
|
4507
4507
|
eventType: z.ZodLiteral<"pull_request.merged">;
|
|
4508
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
4508
|
+
}, z.core.$strip>], "eventType">, z.ZodObject<{
|
|
4509
4509
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.GITHUB>;
|
|
4510
4510
|
username: z.ZodString;
|
|
4511
4511
|
installationId: z.ZodNumber;
|
|
@@ -4711,7 +4711,7 @@ export declare const sdkAgentRunNormalizedRequestSchema: z.ZodObject<{
|
|
|
4711
4711
|
body: z.ZodOptional<z.ZodString>;
|
|
4712
4712
|
issueId: z.ZodOptional<z.ZodString>;
|
|
4713
4713
|
}, z.core.$loose>;
|
|
4714
|
-
}, z.core.$strip>], "eventType">, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4714
|
+
}, z.core.$strip>], "eventType">, z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4715
4715
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
|
|
4716
4716
|
eventId: z.ZodString;
|
|
4717
4717
|
createdAt: z.ZodString;
|
|
@@ -4750,7 +4750,7 @@ export declare const sdkAgentRunNormalizedRequestSchema: z.ZodObject<{
|
|
|
4750
4750
|
emailVerified: z.ZodBoolean;
|
|
4751
4751
|
profilePictureUrl: z.ZodOptional<z.ZodString>;
|
|
4752
4752
|
}, z.core.$strip>;
|
|
4753
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
4753
|
+
}, z.core.$strip>], "eventType">, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4754
4754
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
|
|
4755
4755
|
eventId: z.ZodString;
|
|
4756
4756
|
createdAt: z.ZodString;
|
|
@@ -4792,7 +4792,7 @@ export declare const sdkAgentRunNormalizedRequestSchema: z.ZodObject<{
|
|
|
4792
4792
|
}, z.core.$strip>;
|
|
4793
4793
|
status: z.ZodString;
|
|
4794
4794
|
}, z.core.$strip>;
|
|
4795
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
4795
|
+
}, z.core.$strip>], "eventType">, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4796
4796
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
|
|
4797
4797
|
eventId: z.ZodString;
|
|
4798
4798
|
createdAt: z.ZodString;
|
|
@@ -4876,7 +4876,7 @@ export declare const sdkAgentRunNormalizedRequestSchema: z.ZodObject<{
|
|
|
4876
4876
|
emailVerified: z.ZodBoolean;
|
|
4877
4877
|
profilePictureUrl: z.ZodOptional<z.ZodString>;
|
|
4878
4878
|
}, z.core.$strip>>;
|
|
4879
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
4879
|
+
}, z.core.$strip>], "eventType">, z.ZodObject<{
|
|
4880
4880
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
|
|
4881
4881
|
eventId: z.ZodString;
|
|
4882
4882
|
createdAt: z.ZodString;
|
|
@@ -6389,7 +6389,7 @@ export declare const sdkAgentRunResponseBodySchema: z.ZodObject<{
|
|
|
6389
6389
|
}, z.core.$strip>>;
|
|
6390
6390
|
}, z.core.$strip>>;
|
|
6391
6391
|
pullRequest: z.ZodOptional<z.ZodUndefined>;
|
|
6392
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
6392
|
+
}, z.core.$strip>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6393
6393
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.GITHUB>;
|
|
6394
6394
|
username: z.ZodString;
|
|
6395
6395
|
installationId: z.ZodNumber;
|
|
@@ -6605,7 +6605,7 @@ export declare const sdkAgentRunResponseBodySchema: z.ZodObject<{
|
|
|
6605
6605
|
}, z.core.$strip>>;
|
|
6606
6606
|
}, z.core.$strip>>;
|
|
6607
6607
|
eventType: z.ZodLiteral<"pull_request.merged">;
|
|
6608
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
6608
|
+
}, z.core.$strip>], "eventType">, z.ZodObject<{
|
|
6609
6609
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.GITHUB>;
|
|
6610
6610
|
username: z.ZodString;
|
|
6611
6611
|
installationId: z.ZodNumber;
|
|
@@ -6811,7 +6811,7 @@ export declare const sdkAgentRunResponseBodySchema: z.ZodObject<{
|
|
|
6811
6811
|
body: z.ZodOptional<z.ZodString>;
|
|
6812
6812
|
issueId: z.ZodOptional<z.ZodString>;
|
|
6813
6813
|
}, z.core.$loose>;
|
|
6814
|
-
}, z.core.$strip>], "eventType">, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6814
|
+
}, z.core.$strip>], "eventType">, z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6815
6815
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
|
|
6816
6816
|
eventId: z.ZodString;
|
|
6817
6817
|
createdAt: z.ZodString;
|
|
@@ -6850,7 +6850,7 @@ export declare const sdkAgentRunResponseBodySchema: z.ZodObject<{
|
|
|
6850
6850
|
emailVerified: z.ZodBoolean;
|
|
6851
6851
|
profilePictureUrl: z.ZodOptional<z.ZodString>;
|
|
6852
6852
|
}, z.core.$strip>;
|
|
6853
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
6853
|
+
}, z.core.$strip>], "eventType">, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6854
6854
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
|
|
6855
6855
|
eventId: z.ZodString;
|
|
6856
6856
|
createdAt: z.ZodString;
|
|
@@ -6892,7 +6892,7 @@ export declare const sdkAgentRunResponseBodySchema: z.ZodObject<{
|
|
|
6892
6892
|
}, z.core.$strip>;
|
|
6893
6893
|
status: z.ZodString;
|
|
6894
6894
|
}, z.core.$strip>;
|
|
6895
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
6895
|
+
}, z.core.$strip>], "eventType">, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6896
6896
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
|
|
6897
6897
|
eventId: z.ZodString;
|
|
6898
6898
|
createdAt: z.ZodString;
|
|
@@ -6976,7 +6976,7 @@ export declare const sdkAgentRunResponseBodySchema: z.ZodObject<{
|
|
|
6976
6976
|
emailVerified: z.ZodBoolean;
|
|
6977
6977
|
profilePictureUrl: z.ZodOptional<z.ZodString>;
|
|
6978
6978
|
}, z.core.$strip>>;
|
|
6979
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
6979
|
+
}, z.core.$strip>], "eventType">, z.ZodObject<{
|
|
6980
6980
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
|
|
6981
6981
|
eventId: z.ZodString;
|
|
6982
6982
|
createdAt: z.ZodString;
|
|
@@ -9382,7 +9382,7 @@ export declare const sdkTestRunStartRequestSchema: z.ZodObject<{
|
|
|
9382
9382
|
}, z.core.$strip>>;
|
|
9383
9383
|
}, z.core.$strip>>;
|
|
9384
9384
|
pullRequest: z.ZodOptional<z.ZodUndefined>;
|
|
9385
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
9385
|
+
}, z.core.$strip>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9386
9386
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.GITHUB>;
|
|
9387
9387
|
username: z.ZodString;
|
|
9388
9388
|
installationId: z.ZodNumber;
|
|
@@ -9598,7 +9598,7 @@ export declare const sdkTestRunStartRequestSchema: z.ZodObject<{
|
|
|
9598
9598
|
}, z.core.$strip>>;
|
|
9599
9599
|
}, z.core.$strip>>;
|
|
9600
9600
|
eventType: z.ZodLiteral<"pull_request.merged">;
|
|
9601
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
9601
|
+
}, z.core.$strip>], "eventType">, z.ZodObject<{
|
|
9602
9602
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.GITHUB>;
|
|
9603
9603
|
username: z.ZodString;
|
|
9604
9604
|
installationId: z.ZodNumber;
|
|
@@ -9804,7 +9804,7 @@ export declare const sdkTestRunStartRequestSchema: z.ZodObject<{
|
|
|
9804
9804
|
body: z.ZodOptional<z.ZodString>;
|
|
9805
9805
|
issueId: z.ZodOptional<z.ZodString>;
|
|
9806
9806
|
}, z.core.$loose>;
|
|
9807
|
-
}, z.core.$strip>], "eventType">, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9807
|
+
}, z.core.$strip>], "eventType">, z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9808
9808
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
|
|
9809
9809
|
eventId: z.ZodString;
|
|
9810
9810
|
createdAt: z.ZodString;
|
|
@@ -9843,7 +9843,7 @@ export declare const sdkTestRunStartRequestSchema: z.ZodObject<{
|
|
|
9843
9843
|
emailVerified: z.ZodBoolean;
|
|
9844
9844
|
profilePictureUrl: z.ZodOptional<z.ZodString>;
|
|
9845
9845
|
}, z.core.$strip>;
|
|
9846
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
9846
|
+
}, z.core.$strip>], "eventType">, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9847
9847
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
|
|
9848
9848
|
eventId: z.ZodString;
|
|
9849
9849
|
createdAt: z.ZodString;
|
|
@@ -9885,7 +9885,7 @@ export declare const sdkTestRunStartRequestSchema: z.ZodObject<{
|
|
|
9885
9885
|
}, z.core.$strip>;
|
|
9886
9886
|
status: z.ZodString;
|
|
9887
9887
|
}, z.core.$strip>;
|
|
9888
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
9888
|
+
}, z.core.$strip>], "eventType">, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9889
9889
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
|
|
9890
9890
|
eventId: z.ZodString;
|
|
9891
9891
|
createdAt: z.ZodString;
|
|
@@ -9969,7 +9969,7 @@ export declare const sdkTestRunStartRequestSchema: z.ZodObject<{
|
|
|
9969
9969
|
emailVerified: z.ZodBoolean;
|
|
9970
9970
|
profilePictureUrl: z.ZodOptional<z.ZodString>;
|
|
9971
9971
|
}, z.core.$strip>>;
|
|
9972
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
9972
|
+
}, z.core.$strip>], "eventType">, z.ZodObject<{
|
|
9973
9973
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
|
|
9974
9974
|
eventId: z.ZodString;
|
|
9975
9975
|
createdAt: z.ZodString;
|
|
@@ -11480,7 +11480,7 @@ export declare const sdkRunTriggerEventResponseSchema: z.ZodObject<{
|
|
|
11480
11480
|
}, z.core.$strip>>;
|
|
11481
11481
|
}, z.core.$strip>>;
|
|
11482
11482
|
pullRequest: z.ZodOptional<z.ZodUndefined>;
|
|
11483
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
11483
|
+
}, z.core.$strip>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
11484
11484
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.GITHUB>;
|
|
11485
11485
|
username: z.ZodString;
|
|
11486
11486
|
installationId: z.ZodNumber;
|
|
@@ -11696,7 +11696,7 @@ export declare const sdkRunTriggerEventResponseSchema: z.ZodObject<{
|
|
|
11696
11696
|
}, z.core.$strip>>;
|
|
11697
11697
|
}, z.core.$strip>>;
|
|
11698
11698
|
eventType: z.ZodLiteral<"pull_request.merged">;
|
|
11699
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
11699
|
+
}, z.core.$strip>], "eventType">, z.ZodObject<{
|
|
11700
11700
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.GITHUB>;
|
|
11701
11701
|
username: z.ZodString;
|
|
11702
11702
|
installationId: z.ZodNumber;
|
|
@@ -11902,7 +11902,7 @@ export declare const sdkRunTriggerEventResponseSchema: z.ZodObject<{
|
|
|
11902
11902
|
body: z.ZodOptional<z.ZodString>;
|
|
11903
11903
|
issueId: z.ZodOptional<z.ZodString>;
|
|
11904
11904
|
}, z.core.$loose>;
|
|
11905
|
-
}, z.core.$strip>], "eventType">, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
11905
|
+
}, z.core.$strip>], "eventType">, z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
11906
11906
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
|
|
11907
11907
|
eventId: z.ZodString;
|
|
11908
11908
|
createdAt: z.ZodString;
|
|
@@ -11941,7 +11941,7 @@ export declare const sdkRunTriggerEventResponseSchema: z.ZodObject<{
|
|
|
11941
11941
|
emailVerified: z.ZodBoolean;
|
|
11942
11942
|
profilePictureUrl: z.ZodOptional<z.ZodString>;
|
|
11943
11943
|
}, z.core.$strip>;
|
|
11944
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
11944
|
+
}, z.core.$strip>], "eventType">, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
11945
11945
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
|
|
11946
11946
|
eventId: z.ZodString;
|
|
11947
11947
|
createdAt: z.ZodString;
|
|
@@ -11983,7 +11983,7 @@ export declare const sdkRunTriggerEventResponseSchema: z.ZodObject<{
|
|
|
11983
11983
|
}, z.core.$strip>;
|
|
11984
11984
|
status: z.ZodString;
|
|
11985
11985
|
}, z.core.$strip>;
|
|
11986
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
11986
|
+
}, z.core.$strip>], "eventType">, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
11987
11987
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
|
|
11988
11988
|
eventId: z.ZodString;
|
|
11989
11989
|
createdAt: z.ZodString;
|
|
@@ -12067,7 +12067,7 @@ export declare const sdkRunTriggerEventResponseSchema: z.ZodObject<{
|
|
|
12067
12067
|
emailVerified: z.ZodBoolean;
|
|
12068
12068
|
profilePictureUrl: z.ZodOptional<z.ZodString>;
|
|
12069
12069
|
}, z.core.$strip>>;
|
|
12070
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
12070
|
+
}, z.core.$strip>], "eventType">, z.ZodObject<{
|
|
12071
12071
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
|
|
12072
12072
|
eventId: z.ZodString;
|
|
12073
12073
|
createdAt: z.ZodString;
|
|
@@ -13869,7 +13869,7 @@ export declare const sdkSampleEventRefSchema: z.ZodObject<{
|
|
|
13869
13869
|
}, z.core.$strip>>;
|
|
13870
13870
|
}, z.core.$strip>>;
|
|
13871
13871
|
pullRequest: z.ZodOptional<z.ZodUndefined>;
|
|
13872
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
13872
|
+
}, z.core.$strip>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
13873
13873
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.GITHUB>;
|
|
13874
13874
|
username: z.ZodString;
|
|
13875
13875
|
installationId: z.ZodNumber;
|
|
@@ -14085,7 +14085,7 @@ export declare const sdkSampleEventRefSchema: z.ZodObject<{
|
|
|
14085
14085
|
}, z.core.$strip>>;
|
|
14086
14086
|
}, z.core.$strip>>;
|
|
14087
14087
|
eventType: z.ZodLiteral<"pull_request.merged">;
|
|
14088
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
14088
|
+
}, z.core.$strip>], "eventType">, z.ZodObject<{
|
|
14089
14089
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.GITHUB>;
|
|
14090
14090
|
username: z.ZodString;
|
|
14091
14091
|
installationId: z.ZodNumber;
|
|
@@ -14291,7 +14291,7 @@ export declare const sdkSampleEventRefSchema: z.ZodObject<{
|
|
|
14291
14291
|
body: z.ZodOptional<z.ZodString>;
|
|
14292
14292
|
issueId: z.ZodOptional<z.ZodString>;
|
|
14293
14293
|
}, z.core.$loose>;
|
|
14294
|
-
}, z.core.$strip>], "eventType">, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
14294
|
+
}, z.core.$strip>], "eventType">, z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
14295
14295
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
|
|
14296
14296
|
eventId: z.ZodString;
|
|
14297
14297
|
createdAt: z.ZodString;
|
|
@@ -14330,7 +14330,7 @@ export declare const sdkSampleEventRefSchema: z.ZodObject<{
|
|
|
14330
14330
|
emailVerified: z.ZodBoolean;
|
|
14331
14331
|
profilePictureUrl: z.ZodOptional<z.ZodString>;
|
|
14332
14332
|
}, z.core.$strip>;
|
|
14333
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
14333
|
+
}, z.core.$strip>], "eventType">, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
14334
14334
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
|
|
14335
14335
|
eventId: z.ZodString;
|
|
14336
14336
|
createdAt: z.ZodString;
|
|
@@ -14372,7 +14372,7 @@ export declare const sdkSampleEventRefSchema: z.ZodObject<{
|
|
|
14372
14372
|
}, z.core.$strip>;
|
|
14373
14373
|
status: z.ZodString;
|
|
14374
14374
|
}, z.core.$strip>;
|
|
14375
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
14375
|
+
}, z.core.$strip>], "eventType">, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
14376
14376
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
|
|
14377
14377
|
eventId: z.ZodString;
|
|
14378
14378
|
createdAt: z.ZodString;
|
|
@@ -14456,7 +14456,7 @@ export declare const sdkSampleEventRefSchema: z.ZodObject<{
|
|
|
14456
14456
|
emailVerified: z.ZodBoolean;
|
|
14457
14457
|
profilePictureUrl: z.ZodOptional<z.ZodString>;
|
|
14458
14458
|
}, z.core.$strip>>;
|
|
14459
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
14459
|
+
}, z.core.$strip>], "eventType">, z.ZodObject<{
|
|
14460
14460
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
|
|
14461
14461
|
eventId: z.ZodString;
|
|
14462
14462
|
createdAt: z.ZodString;
|
|
@@ -15964,7 +15964,7 @@ export declare const sdkSampleEventsResponseSchema: z.ZodObject<{
|
|
|
15964
15964
|
}, z.core.$strip>>;
|
|
15965
15965
|
}, z.core.$strip>>;
|
|
15966
15966
|
pullRequest: z.ZodOptional<z.ZodUndefined>;
|
|
15967
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
15967
|
+
}, z.core.$strip>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
15968
15968
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.GITHUB>;
|
|
15969
15969
|
username: z.ZodString;
|
|
15970
15970
|
installationId: z.ZodNumber;
|
|
@@ -16180,7 +16180,7 @@ export declare const sdkSampleEventsResponseSchema: z.ZodObject<{
|
|
|
16180
16180
|
}, z.core.$strip>>;
|
|
16181
16181
|
}, z.core.$strip>>;
|
|
16182
16182
|
eventType: z.ZodLiteral<"pull_request.merged">;
|
|
16183
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
16183
|
+
}, z.core.$strip>], "eventType">, z.ZodObject<{
|
|
16184
16184
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.GITHUB>;
|
|
16185
16185
|
username: z.ZodString;
|
|
16186
16186
|
installationId: z.ZodNumber;
|
|
@@ -16386,7 +16386,7 @@ export declare const sdkSampleEventsResponseSchema: z.ZodObject<{
|
|
|
16386
16386
|
body: z.ZodOptional<z.ZodString>;
|
|
16387
16387
|
issueId: z.ZodOptional<z.ZodString>;
|
|
16388
16388
|
}, z.core.$loose>;
|
|
16389
|
-
}, z.core.$strip>], "eventType">, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
16389
|
+
}, z.core.$strip>], "eventType">, z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
16390
16390
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
|
|
16391
16391
|
eventId: z.ZodString;
|
|
16392
16392
|
createdAt: z.ZodString;
|
|
@@ -16425,7 +16425,7 @@ export declare const sdkSampleEventsResponseSchema: z.ZodObject<{
|
|
|
16425
16425
|
emailVerified: z.ZodBoolean;
|
|
16426
16426
|
profilePictureUrl: z.ZodOptional<z.ZodString>;
|
|
16427
16427
|
}, z.core.$strip>;
|
|
16428
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
16428
|
+
}, z.core.$strip>], "eventType">, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
16429
16429
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
|
|
16430
16430
|
eventId: z.ZodString;
|
|
16431
16431
|
createdAt: z.ZodString;
|
|
@@ -16467,7 +16467,7 @@ export declare const sdkSampleEventsResponseSchema: z.ZodObject<{
|
|
|
16467
16467
|
}, z.core.$strip>;
|
|
16468
16468
|
status: z.ZodString;
|
|
16469
16469
|
}, z.core.$strip>;
|
|
16470
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
16470
|
+
}, z.core.$strip>], "eventType">, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
16471
16471
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
|
|
16472
16472
|
eventId: z.ZodString;
|
|
16473
16473
|
createdAt: z.ZodString;
|
|
@@ -16551,7 +16551,7 @@ export declare const sdkSampleEventsResponseSchema: z.ZodObject<{
|
|
|
16551
16551
|
emailVerified: z.ZodBoolean;
|
|
16552
16552
|
profilePictureUrl: z.ZodOptional<z.ZodString>;
|
|
16553
16553
|
}, z.core.$strip>>;
|
|
16554
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
16554
|
+
}, z.core.$strip>], "eventType">, z.ZodObject<{
|
|
16555
16555
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
|
|
16556
16556
|
eventId: z.ZodString;
|
|
16557
16557
|
createdAt: z.ZodString;
|
|
@@ -18063,7 +18063,7 @@ export declare const sdkHydrateSampleEventResponseSchema: z.ZodObject<{
|
|
|
18063
18063
|
}, z.core.$strip>>;
|
|
18064
18064
|
}, z.core.$strip>>;
|
|
18065
18065
|
pullRequest: z.ZodOptional<z.ZodUndefined>;
|
|
18066
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
18066
|
+
}, z.core.$strip>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
18067
18067
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.GITHUB>;
|
|
18068
18068
|
username: z.ZodString;
|
|
18069
18069
|
installationId: z.ZodNumber;
|
|
@@ -18279,7 +18279,7 @@ export declare const sdkHydrateSampleEventResponseSchema: z.ZodObject<{
|
|
|
18279
18279
|
}, z.core.$strip>>;
|
|
18280
18280
|
}, z.core.$strip>>;
|
|
18281
18281
|
eventType: z.ZodLiteral<"pull_request.merged">;
|
|
18282
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
18282
|
+
}, z.core.$strip>], "eventType">, z.ZodObject<{
|
|
18283
18283
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.GITHUB>;
|
|
18284
18284
|
username: z.ZodString;
|
|
18285
18285
|
installationId: z.ZodNumber;
|
|
@@ -18485,7 +18485,7 @@ export declare const sdkHydrateSampleEventResponseSchema: z.ZodObject<{
|
|
|
18485
18485
|
body: z.ZodOptional<z.ZodString>;
|
|
18486
18486
|
issueId: z.ZodOptional<z.ZodString>;
|
|
18487
18487
|
}, z.core.$loose>;
|
|
18488
|
-
}, z.core.$strip>], "eventType">, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
18488
|
+
}, z.core.$strip>], "eventType">, z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
18489
18489
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
|
|
18490
18490
|
eventId: z.ZodString;
|
|
18491
18491
|
createdAt: z.ZodString;
|
|
@@ -18524,7 +18524,7 @@ export declare const sdkHydrateSampleEventResponseSchema: z.ZodObject<{
|
|
|
18524
18524
|
emailVerified: z.ZodBoolean;
|
|
18525
18525
|
profilePictureUrl: z.ZodOptional<z.ZodString>;
|
|
18526
18526
|
}, z.core.$strip>;
|
|
18527
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
18527
|
+
}, z.core.$strip>], "eventType">, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
18528
18528
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
|
|
18529
18529
|
eventId: z.ZodString;
|
|
18530
18530
|
createdAt: z.ZodString;
|
|
@@ -18566,7 +18566,7 @@ export declare const sdkHydrateSampleEventResponseSchema: z.ZodObject<{
|
|
|
18566
18566
|
}, z.core.$strip>;
|
|
18567
18567
|
status: z.ZodString;
|
|
18568
18568
|
}, z.core.$strip>;
|
|
18569
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
18569
|
+
}, z.core.$strip>], "eventType">, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
18570
18570
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
|
|
18571
18571
|
eventId: z.ZodString;
|
|
18572
18572
|
createdAt: z.ZodString;
|
|
@@ -18650,7 +18650,7 @@ export declare const sdkHydrateSampleEventResponseSchema: z.ZodObject<{
|
|
|
18650
18650
|
emailVerified: z.ZodBoolean;
|
|
18651
18651
|
profilePictureUrl: z.ZodOptional<z.ZodString>;
|
|
18652
18652
|
}, z.core.$strip>>;
|
|
18653
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
18653
|
+
}, z.core.$strip>], "eventType">, z.ZodObject<{
|
|
18654
18654
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
|
|
18655
18655
|
eventId: z.ZodString;
|
|
18656
18656
|
createdAt: z.ZodString;
|
|
@@ -20066,7 +20066,7 @@ export declare const triggerWithEventRequestSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
20066
20066
|
}, z.core.$strip>>;
|
|
20067
20067
|
}, z.core.$strip>>;
|
|
20068
20068
|
pullRequest: z.ZodOptional<z.ZodUndefined>;
|
|
20069
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
20069
|
+
}, z.core.$strip>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
20070
20070
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.GITHUB>;
|
|
20071
20071
|
username: z.ZodString;
|
|
20072
20072
|
installationId: z.ZodNumber;
|
|
@@ -20282,7 +20282,7 @@ export declare const triggerWithEventRequestSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
20282
20282
|
}, z.core.$strip>>;
|
|
20283
20283
|
}, z.core.$strip>>;
|
|
20284
20284
|
eventType: z.ZodLiteral<"pull_request.merged">;
|
|
20285
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
20285
|
+
}, z.core.$strip>], "eventType">, z.ZodObject<{
|
|
20286
20286
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.GITHUB>;
|
|
20287
20287
|
username: z.ZodString;
|
|
20288
20288
|
installationId: z.ZodNumber;
|
|
@@ -20488,7 +20488,7 @@ export declare const triggerWithEventRequestSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
20488
20488
|
body: z.ZodOptional<z.ZodString>;
|
|
20489
20489
|
issueId: z.ZodOptional<z.ZodString>;
|
|
20490
20490
|
}, z.core.$loose>;
|
|
20491
|
-
}, z.core.$strip>], "eventType">, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
20491
|
+
}, z.core.$strip>], "eventType">, z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
20492
20492
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
|
|
20493
20493
|
eventId: z.ZodString;
|
|
20494
20494
|
createdAt: z.ZodString;
|
|
@@ -20527,7 +20527,7 @@ export declare const triggerWithEventRequestSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
20527
20527
|
emailVerified: z.ZodBoolean;
|
|
20528
20528
|
profilePictureUrl: z.ZodOptional<z.ZodString>;
|
|
20529
20529
|
}, z.core.$strip>;
|
|
20530
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
20530
|
+
}, z.core.$strip>], "eventType">, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
20531
20531
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
|
|
20532
20532
|
eventId: z.ZodString;
|
|
20533
20533
|
createdAt: z.ZodString;
|
|
@@ -20569,7 +20569,7 @@ export declare const triggerWithEventRequestSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
20569
20569
|
}, z.core.$strip>;
|
|
20570
20570
|
status: z.ZodString;
|
|
20571
20571
|
}, z.core.$strip>;
|
|
20572
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
20572
|
+
}, z.core.$strip>], "eventType">, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
20573
20573
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
|
|
20574
20574
|
eventId: z.ZodString;
|
|
20575
20575
|
createdAt: z.ZodString;
|
|
@@ -20653,7 +20653,7 @@ export declare const triggerWithEventRequestSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
20653
20653
|
emailVerified: z.ZodBoolean;
|
|
20654
20654
|
profilePictureUrl: z.ZodOptional<z.ZodString>;
|
|
20655
20655
|
}, z.core.$strip>>;
|
|
20656
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
20656
|
+
}, z.core.$strip>], "eventType">, z.ZodObject<{
|
|
20657
20657
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
|
|
20658
20658
|
eventId: z.ZodString;
|
|
20659
20659
|
createdAt: z.ZodString;
|
|
@@ -22168,7 +22168,7 @@ export declare const webhookJobTriggerRequestSchema: z.ZodObject<{
|
|
|
22168
22168
|
}, z.core.$strip>>;
|
|
22169
22169
|
}, z.core.$strip>>;
|
|
22170
22170
|
pullRequest: z.ZodOptional<z.ZodUndefined>;
|
|
22171
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
22171
|
+
}, z.core.$strip>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
22172
22172
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.GITHUB>;
|
|
22173
22173
|
username: z.ZodString;
|
|
22174
22174
|
installationId: z.ZodNumber;
|
|
@@ -22384,7 +22384,7 @@ export declare const webhookJobTriggerRequestSchema: z.ZodObject<{
|
|
|
22384
22384
|
}, z.core.$strip>>;
|
|
22385
22385
|
}, z.core.$strip>>;
|
|
22386
22386
|
eventType: z.ZodLiteral<"pull_request.merged">;
|
|
22387
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
22387
|
+
}, z.core.$strip>], "eventType">, z.ZodObject<{
|
|
22388
22388
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.GITHUB>;
|
|
22389
22389
|
username: z.ZodString;
|
|
22390
22390
|
installationId: z.ZodNumber;
|
|
@@ -22590,7 +22590,7 @@ export declare const webhookJobTriggerRequestSchema: z.ZodObject<{
|
|
|
22590
22590
|
body: z.ZodOptional<z.ZodString>;
|
|
22591
22591
|
issueId: z.ZodOptional<z.ZodString>;
|
|
22592
22592
|
}, z.core.$loose>;
|
|
22593
|
-
}, z.core.$strip>], "eventType">, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
22593
|
+
}, z.core.$strip>], "eventType">, z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
22594
22594
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
|
|
22595
22595
|
eventId: z.ZodString;
|
|
22596
22596
|
createdAt: z.ZodString;
|
|
@@ -22629,7 +22629,7 @@ export declare const webhookJobTriggerRequestSchema: z.ZodObject<{
|
|
|
22629
22629
|
emailVerified: z.ZodBoolean;
|
|
22630
22630
|
profilePictureUrl: z.ZodOptional<z.ZodString>;
|
|
22631
22631
|
}, z.core.$strip>;
|
|
22632
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
22632
|
+
}, z.core.$strip>], "eventType">, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
22633
22633
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
|
|
22634
22634
|
eventId: z.ZodString;
|
|
22635
22635
|
createdAt: z.ZodString;
|
|
@@ -22671,7 +22671,7 @@ export declare const webhookJobTriggerRequestSchema: z.ZodObject<{
|
|
|
22671
22671
|
}, z.core.$strip>;
|
|
22672
22672
|
status: z.ZodString;
|
|
22673
22673
|
}, z.core.$strip>;
|
|
22674
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
22674
|
+
}, z.core.$strip>], "eventType">, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
22675
22675
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
|
|
22676
22676
|
eventId: z.ZodString;
|
|
22677
22677
|
createdAt: z.ZodString;
|
|
@@ -22755,7 +22755,7 @@ export declare const webhookJobTriggerRequestSchema: z.ZodObject<{
|
|
|
22755
22755
|
emailVerified: z.ZodBoolean;
|
|
22756
22756
|
profilePictureUrl: z.ZodOptional<z.ZodString>;
|
|
22757
22757
|
}, z.core.$strip>>;
|
|
22758
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
22758
|
+
}, z.core.$strip>], "eventType">, z.ZodObject<{
|
|
22759
22759
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
|
|
22760
22760
|
eventId: z.ZodString;
|
|
22761
22761
|
createdAt: z.ZodString;
|
|
@@ -24340,7 +24340,7 @@ export declare const sdkListenForwardedEventSchema: z.ZodObject<{
|
|
|
24340
24340
|
}, z.core.$strip>>;
|
|
24341
24341
|
}, z.core.$strip>>;
|
|
24342
24342
|
pullRequest: z.ZodOptional<z.ZodUndefined>;
|
|
24343
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24343
|
+
}, z.core.$strip>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
24344
24344
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.GITHUB>;
|
|
24345
24345
|
username: z.ZodString;
|
|
24346
24346
|
installationId: z.ZodNumber;
|
|
@@ -24556,7 +24556,7 @@ export declare const sdkListenForwardedEventSchema: z.ZodObject<{
|
|
|
24556
24556
|
}, z.core.$strip>>;
|
|
24557
24557
|
}, z.core.$strip>>;
|
|
24558
24558
|
eventType: z.ZodLiteral<"pull_request.merged">;
|
|
24559
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24559
|
+
}, z.core.$strip>], "eventType">, z.ZodObject<{
|
|
24560
24560
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.GITHUB>;
|
|
24561
24561
|
username: z.ZodString;
|
|
24562
24562
|
installationId: z.ZodNumber;
|
|
@@ -24762,7 +24762,7 @@ export declare const sdkListenForwardedEventSchema: z.ZodObject<{
|
|
|
24762
24762
|
body: z.ZodOptional<z.ZodString>;
|
|
24763
24763
|
issueId: z.ZodOptional<z.ZodString>;
|
|
24764
24764
|
}, z.core.$loose>;
|
|
24765
|
-
}, z.core.$strip>], "eventType">, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
24765
|
+
}, z.core.$strip>], "eventType">, z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
24766
24766
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
|
|
24767
24767
|
eventId: z.ZodString;
|
|
24768
24768
|
createdAt: z.ZodString;
|
|
@@ -24801,7 +24801,7 @@ export declare const sdkListenForwardedEventSchema: z.ZodObject<{
|
|
|
24801
24801
|
emailVerified: z.ZodBoolean;
|
|
24802
24802
|
profilePictureUrl: z.ZodOptional<z.ZodString>;
|
|
24803
24803
|
}, z.core.$strip>;
|
|
24804
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24804
|
+
}, z.core.$strip>], "eventType">, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
24805
24805
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
|
|
24806
24806
|
eventId: z.ZodString;
|
|
24807
24807
|
createdAt: z.ZodString;
|
|
@@ -24843,7 +24843,7 @@ export declare const sdkListenForwardedEventSchema: z.ZodObject<{
|
|
|
24843
24843
|
}, z.core.$strip>;
|
|
24844
24844
|
status: z.ZodString;
|
|
24845
24845
|
}, z.core.$strip>;
|
|
24846
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24846
|
+
}, z.core.$strip>], "eventType">, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
24847
24847
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
|
|
24848
24848
|
eventId: z.ZodString;
|
|
24849
24849
|
createdAt: z.ZodString;
|
|
@@ -24927,7 +24927,7 @@ export declare const sdkListenForwardedEventSchema: z.ZodObject<{
|
|
|
24927
24927
|
emailVerified: z.ZodBoolean;
|
|
24928
24928
|
profilePictureUrl: z.ZodOptional<z.ZodString>;
|
|
24929
24929
|
}, z.core.$strip>>;
|
|
24930
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24930
|
+
}, z.core.$strip>], "eventType">, z.ZodObject<{
|
|
24931
24931
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
|
|
24932
24932
|
eventId: z.ZodString;
|
|
24933
24933
|
createdAt: z.ZodString;
|
|
@@ -26430,7 +26430,7 @@ export declare const sdkListenStreamEventSchema: z.ZodDiscriminatedUnion<[z.ZodO
|
|
|
26430
26430
|
}, z.core.$strip>>;
|
|
26431
26431
|
}, z.core.$strip>>;
|
|
26432
26432
|
pullRequest: z.ZodOptional<z.ZodUndefined>;
|
|
26433
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
26433
|
+
}, z.core.$strip>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
26434
26434
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.GITHUB>;
|
|
26435
26435
|
username: z.ZodString;
|
|
26436
26436
|
installationId: z.ZodNumber;
|
|
@@ -26646,7 +26646,7 @@ export declare const sdkListenStreamEventSchema: z.ZodDiscriminatedUnion<[z.ZodO
|
|
|
26646
26646
|
}, z.core.$strip>>;
|
|
26647
26647
|
}, z.core.$strip>>;
|
|
26648
26648
|
eventType: z.ZodLiteral<"pull_request.merged">;
|
|
26649
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
26649
|
+
}, z.core.$strip>], "eventType">, z.ZodObject<{
|
|
26650
26650
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.GITHUB>;
|
|
26651
26651
|
username: z.ZodString;
|
|
26652
26652
|
installationId: z.ZodNumber;
|
|
@@ -26852,7 +26852,7 @@ export declare const sdkListenStreamEventSchema: z.ZodDiscriminatedUnion<[z.ZodO
|
|
|
26852
26852
|
body: z.ZodOptional<z.ZodString>;
|
|
26853
26853
|
issueId: z.ZodOptional<z.ZodString>;
|
|
26854
26854
|
}, z.core.$loose>;
|
|
26855
|
-
}, z.core.$strip>], "eventType">, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
26855
|
+
}, z.core.$strip>], "eventType">, z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
26856
26856
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
|
|
26857
26857
|
eventId: z.ZodString;
|
|
26858
26858
|
createdAt: z.ZodString;
|
|
@@ -26891,7 +26891,7 @@ export declare const sdkListenStreamEventSchema: z.ZodDiscriminatedUnion<[z.ZodO
|
|
|
26891
26891
|
emailVerified: z.ZodBoolean;
|
|
26892
26892
|
profilePictureUrl: z.ZodOptional<z.ZodString>;
|
|
26893
26893
|
}, z.core.$strip>;
|
|
26894
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
26894
|
+
}, z.core.$strip>], "eventType">, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
26895
26895
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
|
|
26896
26896
|
eventId: z.ZodString;
|
|
26897
26897
|
createdAt: z.ZodString;
|
|
@@ -26933,7 +26933,7 @@ export declare const sdkListenStreamEventSchema: z.ZodDiscriminatedUnion<[z.ZodO
|
|
|
26933
26933
|
}, z.core.$strip>;
|
|
26934
26934
|
status: z.ZodString;
|
|
26935
26935
|
}, z.core.$strip>;
|
|
26936
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
26936
|
+
}, z.core.$strip>], "eventType">, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
26937
26937
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
|
|
26938
26938
|
eventId: z.ZodString;
|
|
26939
26939
|
createdAt: z.ZodString;
|
|
@@ -27017,7 +27017,7 @@ export declare const sdkListenStreamEventSchema: z.ZodDiscriminatedUnion<[z.ZodO
|
|
|
27017
27017
|
emailVerified: z.ZodBoolean;
|
|
27018
27018
|
profilePictureUrl: z.ZodOptional<z.ZodString>;
|
|
27019
27019
|
}, z.core.$strip>>;
|
|
27020
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
27020
|
+
}, z.core.$strip>], "eventType">, z.ZodObject<{
|
|
27021
27021
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
|
|
27022
27022
|
eventId: z.ZodString;
|
|
27023
27023
|
createdAt: z.ZodString;
|
package/package.json
CHANGED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Collapses a single Attio value entry (or nested structure) toward primitives /
|
|
3
|
-
* simple objects, matching the shape produced for generated Attio tool outputs.
|
|
4
|
-
*/
|
|
5
|
-
export declare function flattenAttioLeafValue(value: unknown): unknown;
|
|
6
|
-
/**
|
|
7
|
-
* Flattens one attribute’s raw value (often an array of interaction rows from the REST API).
|
|
8
|
-
* @param preferArray When true, keep all entries as an array; when false, use the first entry only.
|
|
9
|
-
*/
|
|
10
|
-
export declare function flattenAttioAttributeValue(rawValue: unknown, preferArray: boolean): unknown;
|
|
11
|
-
/**
|
|
12
|
-
* Flattens `record.values` from Attio’s GET record / webhook enrichment payload.
|
|
13
|
-
*/
|
|
14
|
-
export declare function flattenAttioRecordValues(values: Record<string, unknown>, isMultiValueAttribute: (attributeSlug: string) => boolean): Record<string, unknown>;
|
|
15
|
-
/**
|
|
16
|
-
* Slug-only heuristic when object attribute metadata is unavailable (e.g. Attio webhook triggers).
|
|
17
|
-
* Prefer {@link flattenAttioRecordValues} with object-aware multi-value info from codegen when possible.
|
|
18
|
-
*/
|
|
19
|
-
export declare function isProbablyAttioMultiValueAttributeSlug(attributeSlug: string): boolean;
|