@novu/api 3.14.1 → 3.14.2
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/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/models/components/activitynotificationjobresponsedto.d.ts +1 -0
- package/models/components/activitynotificationjobresponsedto.d.ts.map +1 -1
- package/models/components/activitynotificationjobresponsedto.js +1 -0
- package/models/components/activitynotificationjobresponsedto.js.map +1 -1
- package/models/components/channelsettingsdto.d.ts +2 -2
- package/models/components/channelsettingsdto.d.ts.map +1 -1
- package/models/components/channelsettingsdto.js +2 -2
- package/models/components/channelsettingsdto.js.map +1 -1
- package/models/components/createworkflowdto.d.ts +5 -4
- package/models/components/createworkflowdto.d.ts.map +1 -1
- package/models/components/createworkflowdto.js +3 -0
- package/models/components/createworkflowdto.js.map +1 -1
- package/models/components/emailcontroldto.d.ts +0 -20
- package/models/components/emailcontroldto.d.ts.map +1 -1
- package/models/components/emailcontroldto.js +1 -14
- package/models/components/emailcontroldto.js.map +1 -1
- package/models/components/emailstepresponsedto.d.ts +0 -17
- package/models/components/emailstepresponsedto.d.ts.map +1 -1
- package/models/components/emailstepresponsedto.js +1 -11
- package/models/components/emailstepresponsedto.js.map +1 -1
- package/models/components/httpmethodenum.d.ts +21 -0
- package/models/components/httpmethodenum.d.ts.map +1 -0
- package/models/components/httpmethodenum.js +55 -0
- package/models/components/httpmethodenum.js.map +1 -0
- package/models/components/httprequestcontroldto.d.ts +56 -0
- package/models/components/httprequestcontroldto.d.ts.map +1 -0
- package/models/components/httprequestcontroldto.js +72 -0
- package/models/components/httprequestcontroldto.js.map +1 -0
- package/models/components/httprequestcontrolsmetadataresponsedto.d.ts +25 -0
- package/models/components/httprequestcontrolsmetadataresponsedto.d.ts.map +1 -0
- package/models/components/httprequestcontrolsmetadataresponsedto.js +54 -0
- package/models/components/httprequestcontrolsmetadataresponsedto.js.map +1 -0
- package/models/components/httprequestkeyvaluepairdto.d.ts +25 -0
- package/models/components/httprequestkeyvaluepairdto.d.ts.map +1 -0
- package/models/components/httprequestkeyvaluepairdto.js +60 -0
- package/models/components/httprequestkeyvaluepairdto.js.map +1 -0
- package/models/components/httprequeststepresponsedto.d.ts +109 -0
- package/models/components/httprequeststepresponsedto.d.ts.map +1 -0
- package/models/components/httprequeststepresponsedto.js +86 -0
- package/models/components/httprequeststepresponsedto.js.map +1 -0
- package/models/components/httprequeststepupsertdto.d.ts +53 -0
- package/models/components/httprequeststepupsertdto.d.ts.map +1 -0
- package/models/components/httprequeststepupsertdto.js +68 -0
- package/models/components/httprequeststepupsertdto.js.map +1 -0
- package/models/components/inappstepupsertdto.d.ts +4 -4
- package/models/components/inappstepupsertdto.d.ts.map +1 -1
- package/models/components/inappstepupsertdto.js +5 -5
- package/models/components/inappstepupsertdto.js.map +1 -1
- package/models/components/index.d.ts +6 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +6 -0
- package/models/components/index.js.map +1 -1
- package/models/components/integrationresponsedto.d.ts +4 -4
- package/models/components/integrationresponsedto.d.ts.map +1 -1
- package/models/components/integrationresponsedto.js +2 -2
- package/models/components/integrationresponsedto.js.map +1 -1
- package/models/components/layoutcontrolvaluesdto.d.ts +9 -2
- package/models/components/layoutcontrolvaluesdto.d.ts.map +1 -1
- package/models/components/layoutcontrolvaluesdto.js +10 -2
- package/models/components/layoutcontrolvaluesdto.js.map +1 -1
- package/models/components/runtimeissuedto.d.ts +1 -16
- package/models/components/runtimeissuedto.d.ts.map +1 -1
- package/models/components/runtimeissuedto.js +2 -16
- package/models/components/runtimeissuedto.js.map +1 -1
- package/models/components/subscriberresponsedto.d.ts +4 -4
- package/models/components/subscriberresponsedto.d.ts.map +1 -1
- package/models/components/subscriberresponsedto.js +4 -4
- package/models/components/subscriberresponsedto.js.map +1 -1
- package/models/components/subscriberresponsedtooptional.d.ts +8 -8
- package/models/components/subscriberresponsedtooptional.d.ts.map +1 -1
- package/models/components/subscriberresponsedtooptional.js +8 -8
- package/models/components/subscriberresponsedtooptional.js.map +1 -1
- package/models/components/uicomponentenum.d.ts +8 -1
- package/models/components/uicomponentenum.d.ts.map +1 -1
- package/models/components/uicomponentenum.js +8 -1
- package/models/components/uicomponentenum.js.map +1 -1
- package/models/components/uischemagroupenum.d.ts +1 -0
- package/models/components/uischemagroupenum.d.ts.map +1 -1
- package/models/components/uischemagroupenum.js +1 -0
- package/models/components/uischemagroupenum.js.map +1 -1
- package/models/components/updatelayoutdto.d.ts +3 -19
- package/models/components/updatelayoutdto.d.ts.map +1 -1
- package/models/components/updatelayoutdto.js +3 -12
- package/models/components/updatelayoutdto.js.map +1 -1
- package/models/components/updatesubscriberchannelrequestdto.d.ts +2 -2
- package/models/components/updatesubscriberchannelrequestdto.d.ts.map +1 -1
- package/models/components/updatesubscriberchannelrequestdto.js +1 -1
- package/models/components/updatesubscriberchannelrequestdto.js.map +1 -1
- package/models/components/updateworkflowdto.d.ts +5 -4
- package/models/components/updateworkflowdto.d.ts.map +1 -1
- package/models/components/updateworkflowdto.js +3 -0
- package/models/components/updateworkflowdto.js.map +1 -1
- package/models/components/workflowresponsedto.d.ts +3 -2
- package/models/components/workflowresponsedto.d.ts.map +1 -1
- package/models/components/workflowresponsedto.js +3 -0
- package/models/components/workflowresponsedto.js.map +1 -1
- package/models/errors/subscriberresponsedto.d.ts +8 -8
- package/models/errors/subscriberresponsedto.d.ts.map +1 -1
- package/models/errors/subscriberresponsedto.js +8 -12
- package/models/errors/subscriberresponsedto.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/config.ts +3 -3
- package/src/models/components/activitynotificationjobresponsedto.ts +1 -0
- package/src/models/components/channelsettingsdto.ts +4 -4
- package/src/models/components/createworkflowdto.ts +13 -2
- package/src/models/components/emailcontroldto.ts +0 -26
- package/src/models/components/emailstepresponsedto.ts +0 -26
- package/src/models/components/httpmethodenum.ts +30 -0
- package/src/models/components/httprequestcontroldto.ts +107 -0
- package/src/models/components/httprequestcontrolsmetadataresponsedto.ts +50 -0
- package/src/models/components/httprequestkeyvaluepairdto.ts +61 -0
- package/src/models/components/httprequeststepresponsedto.ts +191 -0
- package/src/models/components/httprequeststepupsertdto.ts +103 -0
- package/src/models/components/inappstepupsertdto.ts +9 -17
- package/src/models/components/index.ts +6 -0
- package/src/models/components/integrationresponsedto.ts +5 -5
- package/src/models/components/layoutcontrolvaluesdto.ts +24 -2
- package/src/models/components/runtimeissuedto.ts +2 -24
- package/src/models/components/subscriberresponsedto.ts +8 -8
- package/src/models/components/subscriberresponsedtooptional.ts +16 -16
- package/src/models/components/uicomponentenum.ts +8 -1
- package/src/models/components/uischemagroupenum.ts +1 -0
- package/src/models/components/updatelayoutdto.ts +7 -36
- package/src/models/components/updatesubscriberchannelrequestdto.ts +3 -3
- package/src/models/components/updateworkflowdto.ts +13 -2
- package/src/models/components/workflowresponsedto.ts +9 -1
- package/src/models/errors/subscriberresponsedto.ts +16 -16
package/jsr.json
CHANGED
package/lib/config.d.ts
CHANGED
|
@@ -31,8 +31,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
|
31
31
|
export declare const SDK_METADATA: {
|
|
32
32
|
readonly language: "typescript";
|
|
33
33
|
readonly openapiDocVersion: "3.14.0";
|
|
34
|
-
readonly sdkVersion: "3.14.
|
|
35
|
-
readonly genVersion: "2.
|
|
36
|
-
readonly userAgent: "speakeasy-sdk/typescript 3.14.
|
|
34
|
+
readonly sdkVersion: "3.14.2";
|
|
35
|
+
readonly genVersion: "2.865.2";
|
|
36
|
+
readonly userAgent: "speakeasy-sdk/typescript 3.14.2 2.865.2 3.14.0 @novu/api";
|
|
37
37
|
};
|
|
38
38
|
//# sourceMappingURL=config.d.ts.map
|
package/lib/config.js
CHANGED
|
@@ -29,8 +29,8 @@ function serverURLFromOptions(options) {
|
|
|
29
29
|
exports.SDK_METADATA = {
|
|
30
30
|
language: "typescript",
|
|
31
31
|
openapiDocVersion: "3.14.0",
|
|
32
|
-
sdkVersion: "3.14.
|
|
33
|
-
genVersion: "2.
|
|
34
|
-
userAgent: "speakeasy-sdk/typescript 3.14.
|
|
32
|
+
sdkVersion: "3.14.2",
|
|
33
|
+
genVersion: "2.865.2",
|
|
34
|
+
userAgent: "speakeasy-sdk/typescript 3.14.2 2.865.2 3.14.0 @novu/api",
|
|
35
35
|
};
|
|
36
36
|
//# sourceMappingURL=config.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"activitynotificationjobresponsedto.d.ts","sourceRoot":"","sources":["../../src/models/components/activitynotificationjobresponsedto.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,8CAA8C,EAE/C,MAAM,qDAAqD,CAAC;AAC7D,OAAO,EACL,mCAAmC,EAEpC,MAAM,0CAA0C,CAAC;AAClD,OAAO,EACL,iBAAiB,EAElB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,eAAe,EAEhB,MAAM,sBAAsB,CAAC;AAE9B;;GAEG;AACH,eAAO,MAAM,sCAAsC
|
|
1
|
+
{"version":3,"file":"activitynotificationjobresponsedto.d.ts","sourceRoot":"","sources":["../../src/models/components/activitynotificationjobresponsedto.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,8CAA8C,EAE/C,MAAM,qDAAqD,CAAC;AAC7D,OAAO,EACL,mCAAmC,EAEpC,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9D,CAAC;AAEf,wBAAgB,eAAe,CAC7B,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,OAAO,EAAE,kBAAkB,CAAC,CAM9C;AAED,gBAAgB;AAChB,eAAO,MAAM,gDAAgD,EAAE,CAAC,CAAC,OAAO,CACtE,kCAAkC,EAClC,CAAC,CAAC,UAAU,EACZ,OAAO,CAmBP,CAAC;AAEH,wBAAgB,0CAA0C,CACxD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,kCAAkC,EAAE,kBAAkB,CAAC,CAOzE"}
|
|
@@ -60,6 +60,7 @@ exports.ActivityNotificationJobResponseDtoType = {
|
|
|
60
60
|
Delay: "delay",
|
|
61
61
|
Throttle: "throttle",
|
|
62
62
|
Custom: "custom",
|
|
63
|
+
HttpRequest: "http_request",
|
|
63
64
|
};
|
|
64
65
|
/** @internal */
|
|
65
66
|
exports.ActivityNotificationJobResponseDtoType$inboundSchema = z.nativeEnum(exports.ActivityNotificationJobResponseDtoType);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"activitynotificationjobresponsedto.js","sourceRoot":"","sources":["../../src/models/components/activitynotificationjobresponsedto.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"activitynotificationjobresponsedto.js","sourceRoot":"","sources":["../../src/models/components/activitynotificationjobresponsedto.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8GH,0CAQC;AA2BD,gGASC;AAxJD,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAAiD;AAIjD,2HAG6D;AAC7D,qGAGkD;AAClD,iEAGgC;AAChC,6DAG8B;AAE9B;;GAEG;AACU,QAAA,sCAAsC,GAAG;IACpD,KAAK,EAAE,QAAQ;IACf,KAAK,EAAE,OAAO;IACd,GAAG,EAAE,KAAK;IACV,IAAI,EAAE,MAAM;IACZ,IAAI,EA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,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,KAAK,EAAE,IAAI;KACZ,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,0CAA0C,CACxD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,wDAAgD,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACvE,gEAAgE,CACjE,CAAC;AACJ,CAAC"}
|
|
@@ -11,7 +11,7 @@ export type ChannelSettingsDto = {
|
|
|
11
11
|
/**
|
|
12
12
|
* The integration identifier
|
|
13
13
|
*/
|
|
14
|
-
integrationIdentifier
|
|
14
|
+
integrationIdentifier: string;
|
|
15
15
|
/**
|
|
16
16
|
* Credentials payload for the specified provider
|
|
17
17
|
*/
|
|
@@ -26,7 +26,7 @@ export declare const ChannelSettingsDto$inboundSchema: z.ZodType<ChannelSettings
|
|
|
26
26
|
/** @internal */
|
|
27
27
|
export type ChannelSettingsDto$Outbound = {
|
|
28
28
|
providerId: string;
|
|
29
|
-
integrationIdentifier
|
|
29
|
+
integrationIdentifier: string;
|
|
30
30
|
credentials: ChannelCredentials$Outbound;
|
|
31
31
|
_integrationId: string;
|
|
32
32
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"channelsettingsdto.d.ts","sourceRoot":"","sources":["../../src/models/components/channelsettingsdto.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,kBAAkB,EAElB,2BAA2B,EAE5B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,sBAAsB,EAGvB,MAAM,6BAA6B,CAAC;AAErC,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;OAEG;IACH,UAAU,EAAE,sBAAsB,CAAC;IACnC;;OAEG;IACH,qBAAqB,
|
|
1
|
+
{"version":3,"file":"channelsettingsdto.d.ts","sourceRoot":"","sources":["../../src/models/components/channelsettingsdto.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,kBAAkB,EAElB,2BAA2B,EAE5B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,sBAAsB,EAGvB,MAAM,6BAA6B,CAAC;AAErC,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;OAEG;IACH,UAAU,EAAE,sBAAsB,CAAC;IACnC;;OAEG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;OAEG;IACH,WAAW,EAAE,kBAAkB,CAAC;IAChC;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,OAAO,CACtD,kBAAkB,EAClB,CAAC,CAAC,UAAU,EACZ,OAAO,CAUP,CAAC;AACH,gBAAgB;AAChB,MAAM,MAAM,2BAA2B,GAAG;IACxC,UAAU,EAAE,MAAM,CAAC;IACnB,qBAAqB,EAAE,MAAM,CAAC;IAC9B,WAAW,EAAE,2BAA2B,CAAC;IACzC,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,iCAAiC,EAAE,CAAC,CAAC,OAAO,CACvD,2BAA2B,EAC3B,CAAC,CAAC,UAAU,EACZ,kBAAkB,CAUlB,CAAC;AAEH,wBAAgB,wBAAwB,CACtC,kBAAkB,EAAE,kBAAkB,GACrC,MAAM,CAIR;AACD,wBAAgB,0BAA0B,CACxC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,kBAAkB,EAAE,kBAAkB,CAAC,CAMzD"}
|
|
@@ -47,7 +47,7 @@ const chatorpushproviderenum_js_1 = require("./chatorpushproviderenum.js");
|
|
|
47
47
|
/** @internal */
|
|
48
48
|
exports.ChannelSettingsDto$inboundSchema = z.object({
|
|
49
49
|
providerId: chatorpushproviderenum_js_1.ChatOrPushProviderEnum$inboundSchema,
|
|
50
|
-
integrationIdentifier: z.string()
|
|
50
|
+
integrationIdentifier: z.string(),
|
|
51
51
|
credentials: channelcredentials_js_1.ChannelCredentials$inboundSchema,
|
|
52
52
|
_integrationId: z.string(),
|
|
53
53
|
}).transform((v) => {
|
|
@@ -58,7 +58,7 @@ exports.ChannelSettingsDto$inboundSchema = z.object({
|
|
|
58
58
|
/** @internal */
|
|
59
59
|
exports.ChannelSettingsDto$outboundSchema = z.object({
|
|
60
60
|
providerId: chatorpushproviderenum_js_1.ChatOrPushProviderEnum$outboundSchema,
|
|
61
|
-
integrationIdentifier: z.string()
|
|
61
|
+
integrationIdentifier: z.string(),
|
|
62
62
|
credentials: channelcredentials_js_1.ChannelCredentials$outboundSchema,
|
|
63
63
|
integrationId: z.string(),
|
|
64
64
|
}).transform((v) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"channelsettingsdto.js","sourceRoot":"","sources":["../../src/models/components/channelsettingsdto.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6EH,4DAMC;AACD,gEAQC;AA1FD,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAAiD;AAGjD,mEAKiC;AACjC,2EAIqC;AAqBrC,gBAAgB;AACH,QAAA,gCAAgC,GAIzC,CAAC,CAAC,MAAM,CAAC;IACX,UAAU,EAAE,gEAAoC;IAChD,qBAAqB,EAAE,CAAC,CAAC,MAAM,EAAE
|
|
1
|
+
{"version":3,"file":"channelsettingsdto.js","sourceRoot":"","sources":["../../src/models/components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AC,CAAC,EAC5D,gDAAgD,CACjD,CAAC;AACJ,CAAC"}
|
|
@@ -4,6 +4,7 @@ import { CustomStepUpsertDto, CustomStepUpsertDto$Outbound } from "./customstepu
|
|
|
4
4
|
import { DelayStepUpsertDto, DelayStepUpsertDto$Outbound } from "./delaystepupsertdto.js";
|
|
5
5
|
import { DigestStepUpsertDto, DigestStepUpsertDto$Outbound } from "./digeststepupsertdto.js";
|
|
6
6
|
import { EmailStepUpsertDto, EmailStepUpsertDto$Outbound } from "./emailstepupsertdto.js";
|
|
7
|
+
import { HttpRequestStepUpsertDto, HttpRequestStepUpsertDto$Outbound } from "./httprequeststepupsertdto.js";
|
|
7
8
|
import { InAppStepUpsertDto, InAppStepUpsertDto$Outbound } from "./inappstepupsertdto.js";
|
|
8
9
|
import { PreferencesRequestDto, PreferencesRequestDto$Outbound } from "./preferencesrequestdto.js";
|
|
9
10
|
import { PushStepUpsertDto, PushStepUpsertDto$Outbound } from "./pushstepupsertdto.js";
|
|
@@ -11,7 +12,7 @@ import { SeverityLevelEnum } from "./severitylevelenum.js";
|
|
|
11
12
|
import { SmsStepUpsertDto, SmsStepUpsertDto$Outbound } from "./smsstepupsertdto.js";
|
|
12
13
|
import { ThrottleStepUpsertDto, ThrottleStepUpsertDto$Outbound } from "./throttlestepupsertdto.js";
|
|
13
14
|
import { WorkflowCreationSourceEnum } from "./workflowcreationsourceenum.js";
|
|
14
|
-
export type Steps = InAppStepUpsertDto | EmailStepUpsertDto | SmsStepUpsertDto | PushStepUpsertDto | ChatStepUpsertDto | DelayStepUpsertDto | DigestStepUpsertDto | ThrottleStepUpsertDto | CustomStepUpsertDto;
|
|
15
|
+
export type Steps = InAppStepUpsertDto | EmailStepUpsertDto | SmsStepUpsertDto | PushStepUpsertDto | ChatStepUpsertDto | DelayStepUpsertDto | DigestStepUpsertDto | ThrottleStepUpsertDto | CustomStepUpsertDto | HttpRequestStepUpsertDto;
|
|
15
16
|
export type CreateWorkflowDto = {
|
|
16
17
|
/**
|
|
17
18
|
* Name of the workflow
|
|
@@ -50,7 +51,7 @@ export type CreateWorkflowDto = {
|
|
|
50
51
|
/**
|
|
51
52
|
* Steps of the workflow
|
|
52
53
|
*/
|
|
53
|
-
steps: Array<InAppStepUpsertDto | EmailStepUpsertDto | SmsStepUpsertDto | PushStepUpsertDto | ChatStepUpsertDto | DelayStepUpsertDto | DigestStepUpsertDto | ThrottleStepUpsertDto | CustomStepUpsertDto>;
|
|
54
|
+
steps: Array<InAppStepUpsertDto | EmailStepUpsertDto | SmsStepUpsertDto | PushStepUpsertDto | ChatStepUpsertDto | DelayStepUpsertDto | DigestStepUpsertDto | ThrottleStepUpsertDto | CustomStepUpsertDto | HttpRequestStepUpsertDto>;
|
|
54
55
|
/**
|
|
55
56
|
* Source of workflow creation
|
|
56
57
|
*/
|
|
@@ -65,7 +66,7 @@ export type CreateWorkflowDto = {
|
|
|
65
66
|
severity?: SeverityLevelEnum | undefined;
|
|
66
67
|
};
|
|
67
68
|
/** @internal */
|
|
68
|
-
export type Steps$Outbound = InAppStepUpsertDto$Outbound | EmailStepUpsertDto$Outbound | SmsStepUpsertDto$Outbound | PushStepUpsertDto$Outbound | ChatStepUpsertDto$Outbound | DelayStepUpsertDto$Outbound | DigestStepUpsertDto$Outbound | ThrottleStepUpsertDto$Outbound | CustomStepUpsertDto$Outbound;
|
|
69
|
+
export type Steps$Outbound = InAppStepUpsertDto$Outbound | EmailStepUpsertDto$Outbound | SmsStepUpsertDto$Outbound | PushStepUpsertDto$Outbound | ChatStepUpsertDto$Outbound | DelayStepUpsertDto$Outbound | DigestStepUpsertDto$Outbound | ThrottleStepUpsertDto$Outbound | CustomStepUpsertDto$Outbound | HttpRequestStepUpsertDto$Outbound;
|
|
69
70
|
/** @internal */
|
|
70
71
|
export declare const Steps$outboundSchema: z.ZodType<Steps$Outbound, z.ZodTypeDef, Steps>;
|
|
71
72
|
export declare function stepsToJSON(steps: Steps): string;
|
|
@@ -81,7 +82,7 @@ export type CreateWorkflowDto$Outbound = {
|
|
|
81
82
|
} | null | undefined;
|
|
82
83
|
isTranslationEnabled: boolean;
|
|
83
84
|
workflowId: string;
|
|
84
|
-
steps: Array<InAppStepUpsertDto$Outbound | EmailStepUpsertDto$Outbound | SmsStepUpsertDto$Outbound | PushStepUpsertDto$Outbound | ChatStepUpsertDto$Outbound | DelayStepUpsertDto$Outbound | DigestStepUpsertDto$Outbound | ThrottleStepUpsertDto$Outbound | CustomStepUpsertDto$Outbound>;
|
|
85
|
+
steps: Array<InAppStepUpsertDto$Outbound | EmailStepUpsertDto$Outbound | SmsStepUpsertDto$Outbound | PushStepUpsertDto$Outbound | ChatStepUpsertDto$Outbound | DelayStepUpsertDto$Outbound | DigestStepUpsertDto$Outbound | ThrottleStepUpsertDto$Outbound | CustomStepUpsertDto$Outbound | HttpRequestStepUpsertDto$Outbound>;
|
|
85
86
|
__source: string;
|
|
86
87
|
preferences?: PreferencesRequestDto$Outbound | undefined;
|
|
87
88
|
severity?: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createworkflowdto.d.ts","sourceRoot":"","sources":["../../src/models/components/createworkflowdto.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EACL,iBAAiB,EACjB,0BAA0B,EAE3B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,mBAAmB,EACnB,4BAA4B,EAE7B,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,kBAAkB,EAClB,2BAA2B,EAE5B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,mBAAmB,EACnB,4BAA4B,EAE7B,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,kBAAkB,EAClB,2BAA2B,EAE5B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,kBAAkB,EAClB,2BAA2B,EAE5B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,qBAAqB,EACrB,8BAA8B,EAE/B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,iBAAiB,EACjB,0BAA0B,EAE3B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,iBAAiB,EAElB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,gBAAgB,EAChB,yBAAyB,EAE1B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,qBAAqB,EACrB,8BAA8B,EAE/B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,0BAA0B,EAE3B,MAAM,iCAAiC,CAAC;AAEzC,MAAM,MAAM,KAAK,GACb,kBAAkB,GAClB,kBAAkB,GAClB,gBAAgB,GAChB,iBAAiB,GACjB,iBAAiB,GACjB,kBAAkB,GAClB,mBAAmB,GACnB,qBAAqB,GACrB,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"createworkflowdto.d.ts","sourceRoot":"","sources":["../../src/models/components/createworkflowdto.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EACL,iBAAiB,EACjB,0BAA0B,EAE3B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,mBAAmB,EACnB,4BAA4B,EAE7B,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,kBAAkB,EAClB,2BAA2B,EAE5B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,mBAAmB,EACnB,4BAA4B,EAE7B,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,kBAAkB,EAClB,2BAA2B,EAE5B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,wBAAwB,EACxB,iCAAiC,EAElC,MAAM,+BAA+B,CAAC;AACvC,OAAO,EACL,kBAAkB,EAClB,2BAA2B,EAE5B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,qBAAqB,EACrB,8BAA8B,EAE/B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,iBAAiB,EACjB,0BAA0B,EAE3B,MAAM,wBAAwB,CAAC;AAChC,OA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,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC/B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,OAAO,CACtD,0BAA0B,EAC1B,CAAC,CAAC,UAAU,EACZ,iBAAiB,CA+BjB,CAAC;AAEH,wBAAgB,uBAAuB,CACrC,iBAAiB,EAAE,iBAAiB,GACnC,MAAM,CAIR"}
|
|
@@ -46,6 +46,7 @@ const customstepupsertdto_js_1 = require("./customstepupsertdto.js");
|
|
|
46
46
|
const delaystepupsertdto_js_1 = require("./delaystepupsertdto.js");
|
|
47
47
|
const digeststepupsertdto_js_1 = require("./digeststepupsertdto.js");
|
|
48
48
|
const emailstepupsertdto_js_1 = require("./emailstepupsertdto.js");
|
|
49
|
+
const httprequeststepupsertdto_js_1 = require("./httprequeststepupsertdto.js");
|
|
49
50
|
const inappstepupsertdto_js_1 = require("./inappstepupsertdto.js");
|
|
50
51
|
const preferencesrequestdto_js_1 = require("./preferencesrequestdto.js");
|
|
51
52
|
const pushstepupsertdto_js_1 = require("./pushstepupsertdto.js");
|
|
@@ -64,6 +65,7 @@ exports.Steps$outboundSchema = z.union([
|
|
|
64
65
|
digeststepupsertdto_js_1.DigestStepUpsertDto$outboundSchema,
|
|
65
66
|
throttlestepupsertdto_js_1.ThrottleStepUpsertDto$outboundSchema,
|
|
66
67
|
customstepupsertdto_js_1.CustomStepUpsertDto$outboundSchema,
|
|
68
|
+
httprequeststepupsertdto_js_1.HttpRequestStepUpsertDto$outboundSchema,
|
|
67
69
|
]);
|
|
68
70
|
function stepsToJSON(steps) {
|
|
69
71
|
return JSON.stringify(exports.Steps$outboundSchema.parse(steps));
|
|
@@ -88,6 +90,7 @@ exports.CreateWorkflowDto$outboundSchema = z.object({
|
|
|
88
90
|
digeststepupsertdto_js_1.DigestStepUpsertDto$outboundSchema,
|
|
89
91
|
throttlestepupsertdto_js_1.ThrottleStepUpsertDto$outboundSchema,
|
|
90
92
|
customstepupsertdto_js_1.CustomStepUpsertDto$outboundSchema,
|
|
93
|
+
httprequeststepupsertdto_js_1.HttpRequestStepUpsertDto$outboundSchema,
|
|
91
94
|
])),
|
|
92
95
|
source: workflowcreationsourceenum_js_1.WorkflowCreationSourceEnum$outboundSchema.default("editor"),
|
|
93
96
|
preferences: preferencesrequestdto_js_1.PreferencesRequestDto$outboundSchema.optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createworkflowdto.js","sourceRoot":"","sources":["../../src/models/components/createworkflowdto.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"createworkflowdto.js","sourceRoot":"","sources":["../../src/models/components/createworkflowdto.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6KH,kCAEC;AAkED,0DAMC;AArPD,0CAA4B;AAC5B,2DAA0D;AAC1D,iEAIgC;AAChC,qEAIkC;AAClC,mEAIiC;AACjC,qEAIkC;AAClC,mEAIiC;AACjC,+EAIuC;AACvC,mEAIiC;AACjC,yEAIoC;AACpC,iEAIgC;AAChC,iEAGgC;AAChC,+DAI+B;AAC/B,yEAIoC;AACpC,mFAGyC;AAyFzC,gBAAgB;AACH,QAAA,oBAAoB,GAI7B,CAAC,CAAC,KAAK,CAAC;IACV,yDAAiC;IACjC,yDAAiC;IACjC,qDAA+B;IAC/B,uDAAgC;IAChC,uDAAgC;IAChC,yDAAiC;IACjC,2DAAkC;IAClC,+DAAoC;IACpC,2DAAkC;IAClC,qEAAuC;CACxC,CAAC,CAAC;AAEH,SAAgB,WAAW,CAAC,KAAY;IACtC,OAAO,IAAI,CAAC,SAAS,CAAC,4BAAoB,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC;AAC3D,CAAC;AA6BD,gBAAgB;AACH,QAAA,gCAAgC,GAIzC,CAAC,CAAC,MAAM,CAAC;IACX,IA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CAAC"}
|
|
@@ -13,17 +13,6 @@ export declare const EmailControlDtoEditorType: {
|
|
|
13
13
|
* Type of editor to use for the body.
|
|
14
14
|
*/
|
|
15
15
|
export type EmailControlDtoEditorType = ClosedEnum<typeof EmailControlDtoEditorType>;
|
|
16
|
-
/**
|
|
17
|
-
* Type of renderer to use (raw HTML or React Email step resolver)
|
|
18
|
-
*/
|
|
19
|
-
export declare const RendererType: {
|
|
20
|
-
readonly Html: "html";
|
|
21
|
-
readonly ReactEmail: "react-email";
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* Type of renderer to use (raw HTML or React Email step resolver)
|
|
25
|
-
*/
|
|
26
|
-
export type RendererType = ClosedEnum<typeof RendererType>;
|
|
27
16
|
export type EmailControlDto = {
|
|
28
17
|
/**
|
|
29
18
|
* JSONLogic filter conditions for conditionally skipping the step execution. Supports complex logical operations with AND, OR, and comparison operators. See https://jsonlogic.com/ for full typing reference.
|
|
@@ -43,10 +32,6 @@ export type EmailControlDto = {
|
|
|
43
32
|
* Type of editor to use for the body.
|
|
44
33
|
*/
|
|
45
34
|
editorType?: EmailControlDtoEditorType | undefined;
|
|
46
|
-
/**
|
|
47
|
-
* Type of renderer to use (raw HTML or React Email step resolver)
|
|
48
|
-
*/
|
|
49
|
-
rendererType?: RendererType | undefined;
|
|
50
35
|
/**
|
|
51
36
|
* Disable sanitization of the output.
|
|
52
37
|
*/
|
|
@@ -61,10 +46,6 @@ export declare const EmailControlDtoEditorType$inboundSchema: z.ZodNativeEnum<ty
|
|
|
61
46
|
/** @internal */
|
|
62
47
|
export declare const EmailControlDtoEditorType$outboundSchema: z.ZodNativeEnum<typeof EmailControlDtoEditorType>;
|
|
63
48
|
/** @internal */
|
|
64
|
-
export declare const RendererType$inboundSchema: z.ZodNativeEnum<typeof RendererType>;
|
|
65
|
-
/** @internal */
|
|
66
|
-
export declare const RendererType$outboundSchema: z.ZodNativeEnum<typeof RendererType>;
|
|
67
|
-
/** @internal */
|
|
68
49
|
export declare const EmailControlDto$inboundSchema: z.ZodType<EmailControlDto, z.ZodTypeDef, unknown>;
|
|
69
50
|
/** @internal */
|
|
70
51
|
export type EmailControlDto$Outbound = {
|
|
@@ -74,7 +55,6 @@ export type EmailControlDto$Outbound = {
|
|
|
74
55
|
subject: string;
|
|
75
56
|
body: string;
|
|
76
57
|
editorType: string;
|
|
77
|
-
rendererType: string;
|
|
78
58
|
disableOutputSanitization: boolean;
|
|
79
59
|
layoutId?: string | null | undefined;
|
|
80
60
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"emailcontroldto.d.ts","sourceRoot":"","sources":["../../src/models/components/emailcontroldto.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE;;GAEG;AACH,eAAO,MAAM,yBAAyB;;;CAG5B,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,yBAAyB,GAAG,UAAU,CAChD,OAAO,yBAAyB,CACjC,CAAC;AAEF
|
|
1
|
+
{"version":3,"file":"emailcontroldto.d.ts","sourceRoot":"","sources":["../../src/models/components/emailcontroldto.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE;;GAEG;AACH,eAAO,MAAM,yBAAyB;;;CAG5B,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,yBAAyB,GAAG,UAAU,CAChD,OAAO,yBAAyB,CACjC,CAAC;AAEF,MAA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,wBAAgB,qBAAqB,CACnC,eAAe,EAAE,eAAe,GAC/B,MAAM,CAER;AACD,wBAAgB,uBAAuB,CACrC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,eAAe,EAAE,kBAAkB,CAAC,CAMtD"}
|
|
@@ -36,7 +36,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.EmailControlDto$outboundSchema = exports.EmailControlDto$inboundSchema = exports.
|
|
39
|
+
exports.EmailControlDto$outboundSchema = exports.EmailControlDto$inboundSchema = exports.EmailControlDtoEditorType$outboundSchema = exports.EmailControlDtoEditorType$inboundSchema = exports.EmailControlDtoEditorType = void 0;
|
|
40
40
|
exports.emailControlDtoToJSON = emailControlDtoToJSON;
|
|
41
41
|
exports.emailControlDtoFromJSON = emailControlDtoFromJSON;
|
|
42
42
|
const z = __importStar(require("zod/v3"));
|
|
@@ -48,28 +48,16 @@ exports.EmailControlDtoEditorType = {
|
|
|
48
48
|
Block: "block",
|
|
49
49
|
Html: "html",
|
|
50
50
|
};
|
|
51
|
-
/**
|
|
52
|
-
* Type of renderer to use (raw HTML or React Email step resolver)
|
|
53
|
-
*/
|
|
54
|
-
exports.RendererType = {
|
|
55
|
-
Html: "html",
|
|
56
|
-
ReactEmail: "react-email",
|
|
57
|
-
};
|
|
58
51
|
/** @internal */
|
|
59
52
|
exports.EmailControlDtoEditorType$inboundSchema = z.nativeEnum(exports.EmailControlDtoEditorType);
|
|
60
53
|
/** @internal */
|
|
61
54
|
exports.EmailControlDtoEditorType$outboundSchema = exports.EmailControlDtoEditorType$inboundSchema;
|
|
62
55
|
/** @internal */
|
|
63
|
-
exports.RendererType$inboundSchema = z.nativeEnum(exports.RendererType);
|
|
64
|
-
/** @internal */
|
|
65
|
-
exports.RendererType$outboundSchema = exports.RendererType$inboundSchema;
|
|
66
|
-
/** @internal */
|
|
67
56
|
exports.EmailControlDto$inboundSchema = z.object({
|
|
68
57
|
skip: z.record(z.any()).optional(),
|
|
69
58
|
subject: z.string(),
|
|
70
59
|
body: z.string().default(""),
|
|
71
60
|
editorType: exports.EmailControlDtoEditorType$inboundSchema.default("block"),
|
|
72
|
-
rendererType: exports.RendererType$inboundSchema.default("html"),
|
|
73
61
|
disableOutputSanitization: z.boolean().default(false),
|
|
74
62
|
layoutId: z.nullable(z.string()).optional(),
|
|
75
63
|
});
|
|
@@ -79,7 +67,6 @@ exports.EmailControlDto$outboundSchema = z.object({
|
|
|
79
67
|
subject: z.string(),
|
|
80
68
|
body: z.string().default(""),
|
|
81
69
|
editorType: exports.EmailControlDtoEditorType$outboundSchema.default("block"),
|
|
82
|
-
rendererType: exports.RendererType$outboundSchema.default("html"),
|
|
83
70
|
disableOutputSanitization: z.boolean().default(false),
|
|
84
71
|
layoutId: z.nullable(z.string()).optional(),
|
|
85
72
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"emailcontroldto.js","sourceRoot":"","sources":["../../src/models/components/emailcontroldto.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"emailcontroldto.js","sourceRoot":"","sources":["../../src/models/components/emailcontroldto.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+FH,sDAIC;AACD,0DAQC;AA1GD,0CAA4B;AAC5B,qDAAiD;AAKjD;;GAEG;AACU,QAAA,yBAAyB,GAAG;IACvC,KAAK,EAAE,OAAO;IACd,IAAI,EAAE,MAAM;CACJ,CAAC;AAmCX,gBAAgB;AACH,QAAA,uCAAuC,GAEhD,CAAC,CAAC,UAAU,CAAC,iCAAyB,CAAC,CAAC;AAC5C,gBAAgB;AACH,QAAA,wCAAwC,GAEjD,+CAAuC,CAAC;AAE5C,gBAAgB;AACH,QAAA,6BAA6B,GAItC,CAAC,C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AAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACzD,6CAA6C,CAC9C,CAAC;AACJ,CAAC"}
|
|
@@ -16,17 +16,6 @@ export declare const EmailStepResponseDtoEditorType: {
|
|
|
16
16
|
* Type of editor to use for the body.
|
|
17
17
|
*/
|
|
18
18
|
export type EmailStepResponseDtoEditorType = ClosedEnum<typeof EmailStepResponseDtoEditorType>;
|
|
19
|
-
/**
|
|
20
|
-
* Type of renderer to use (raw HTML or React Email step resolver)
|
|
21
|
-
*/
|
|
22
|
-
export declare const EmailStepResponseDtoRendererType: {
|
|
23
|
-
readonly Html: "html";
|
|
24
|
-
readonly ReactEmail: "react-email";
|
|
25
|
-
};
|
|
26
|
-
/**
|
|
27
|
-
* Type of renderer to use (raw HTML or React Email step resolver)
|
|
28
|
-
*/
|
|
29
|
-
export type EmailStepResponseDtoRendererType = ClosedEnum<typeof EmailStepResponseDtoRendererType>;
|
|
30
19
|
/**
|
|
31
20
|
* Control values for the email step
|
|
32
21
|
*/
|
|
@@ -49,10 +38,6 @@ export type EmailStepResponseDtoControlValues = {
|
|
|
49
38
|
* Type of editor to use for the body.
|
|
50
39
|
*/
|
|
51
40
|
editorType: EmailStepResponseDtoEditorType;
|
|
52
|
-
/**
|
|
53
|
-
* Type of renderer to use (raw HTML or React Email step resolver)
|
|
54
|
-
*/
|
|
55
|
-
rendererType: EmailStepResponseDtoRendererType;
|
|
56
41
|
/**
|
|
57
42
|
* Disable sanitization of the output.
|
|
58
43
|
*/
|
|
@@ -124,8 +109,6 @@ export type EmailStepResponseDto = {
|
|
|
124
109
|
/** @internal */
|
|
125
110
|
export declare const EmailStepResponseDtoEditorType$inboundSchema: z.ZodNativeEnum<typeof EmailStepResponseDtoEditorType>;
|
|
126
111
|
/** @internal */
|
|
127
|
-
export declare const EmailStepResponseDtoRendererType$inboundSchema: z.ZodNativeEnum<typeof EmailStepResponseDtoRendererType>;
|
|
128
|
-
/** @internal */
|
|
129
112
|
export declare const EmailStepResponseDtoControlValues$inboundSchema: z.ZodType<EmailStepResponseDtoControlValues, z.ZodTypeDef, unknown>;
|
|
130
113
|
export declare function emailStepResponseDtoControlValuesFromJSON(jsonString: string): SafeParseResult<EmailStepResponseDtoControlValues, SDKValidationError>;
|
|
131
114
|
/** @internal */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"emailstepresponsedto.d.ts","sourceRoot":"","sources":["../../src/models/components/emailstepresponsedto.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAM5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,gCAAgC,EAEjC,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EACL,kBAAkB,EAEnB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,aAAa,EAA+B,MAAM,oBAAoB,CAAC;AAEhF;;GAEG;AACH,eAAO,MAAM,8BAA8B;;;CAGjC,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,8BAA8B,GAAG,UAAU,CACrD,OAAO,8BAA8B,CACtC,CAAC;AAEF;;GAEG;AACH,
|
|
1
|
+
{"version":3,"file":"emailstepresponsedto.d.ts","sourceRoot":"","sources":["../../src/models/components/emailstepresponsedto.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAM5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,gCAAgC,EAEjC,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EACL,kBAAkB,EAEn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AAE,MAAM,CAAC;IACnB;;OAEG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,MAAM,CAAC,EAAE,aAAa,GAAG,SAAS,CAAC;IACnC;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACvC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,4CAA4C,EAAE,CAAC,CAAC,aAAa,CACxE,OAAO,8BAA8B,CACS,CAAC;AAEjD,gBAAgB;AAChB,eAAO,MAAM,+CAA+C,EAAE,CAAC,CAAC,OAAO,CACrE,iCAAiC,EACjC,CAAC,CAAC,UAAU,EACZ,OAAO,CAYR,CAAC;AAEF,wBAAgB,yCAAyC,CACvD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,iCAAiC,EAAE,kBAAkB,CAAC,CAMxE;AAED,gBAAgB;AAChB,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,OAAO,CACxD,oBAAoB,EACpB,CAAC,CAAC,UAAU,EACZ,OAAO,CAoBP,CAAC;AAEH,wBAAgB,4BAA4B,CAC1C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,oBAAoB,EAAE,kBAAkB,CAAC,CAM3D"}
|
|
@@ -36,7 +36,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.EmailStepResponseDto$inboundSchema = exports.EmailStepResponseDtoControlValues$inboundSchema = exports.
|
|
39
|
+
exports.EmailStepResponseDto$inboundSchema = exports.EmailStepResponseDtoControlValues$inboundSchema = exports.EmailStepResponseDtoEditorType$inboundSchema = exports.EmailStepResponseDtoEditorType = void 0;
|
|
40
40
|
exports.emailStepResponseDtoControlValuesFromJSON = emailStepResponseDtoControlValuesFromJSON;
|
|
41
41
|
exports.emailStepResponseDtoFromJSON = emailStepResponseDtoFromJSON;
|
|
42
42
|
const z = __importStar(require("zod/v3"));
|
|
@@ -52,24 +52,14 @@ exports.EmailStepResponseDtoEditorType = {
|
|
|
52
52
|
Block: "block",
|
|
53
53
|
Html: "html",
|
|
54
54
|
};
|
|
55
|
-
/**
|
|
56
|
-
* Type of renderer to use (raw HTML or React Email step resolver)
|
|
57
|
-
*/
|
|
58
|
-
exports.EmailStepResponseDtoRendererType = {
|
|
59
|
-
Html: "html",
|
|
60
|
-
ReactEmail: "react-email",
|
|
61
|
-
};
|
|
62
55
|
/** @internal */
|
|
63
56
|
exports.EmailStepResponseDtoEditorType$inboundSchema = z.nativeEnum(exports.EmailStepResponseDtoEditorType);
|
|
64
57
|
/** @internal */
|
|
65
|
-
exports.EmailStepResponseDtoRendererType$inboundSchema = z.nativeEnum(exports.EmailStepResponseDtoRendererType);
|
|
66
|
-
/** @internal */
|
|
67
58
|
exports.EmailStepResponseDtoControlValues$inboundSchema = (0, schemas_js_1.collectExtraKeys)(z.object({
|
|
68
59
|
skip: z.record(z.any()).optional(),
|
|
69
60
|
subject: z.string(),
|
|
70
61
|
body: z.string().default(""),
|
|
71
62
|
editorType: exports.EmailStepResponseDtoEditorType$inboundSchema.default("block"),
|
|
72
|
-
rendererType: exports.EmailStepResponseDtoRendererType$inboundSchema.default("html"),
|
|
73
63
|
disableOutputSanitization: z.boolean().default(false),
|
|
74
64
|
layoutId: z.nullable(z.string()).optional(),
|
|
75
65
|
}).catchall(z.any()), "additionalProperties", true);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"emailstepresponsedto.js","sourceRoot":"","sources":["../../src/models/components/emailstepresponsedto.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"emailstepresponsedto.js","sourceRoot":"","sources":["../../src/models/components/emailstepresponsedto.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgJH,8FAQC;AA4BD,oEAQ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IAAI,CAAC,GAAG,EAAE,CAAC,uDAA+C,CAAC;SACzE,QAAQ,EAAE;IACb,SAAS,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC;IAC5B,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE;IACf,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC;IACxB,MAAM,EAAE,wDAAgC;IACxC,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;IACtB,kBAAkB,EAAE,CAAC,CAAC,MAAM,EAAE;IAC9B,MAAM,EAAE,8CAA2B,CAAC,QAAQ,EAAE;IAC9C,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACxC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,KAAK,EAAE,IAAI;KACZ,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,4BAA4B,CAC1C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,0CAAkC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC9D,kDAAkD,CACnD,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
3
|
+
/**
|
|
4
|
+
* HTTP method
|
|
5
|
+
*/
|
|
6
|
+
export declare const HttpMethodEnum: {
|
|
7
|
+
readonly Get: "GET";
|
|
8
|
+
readonly Post: "POST";
|
|
9
|
+
readonly Put: "PUT";
|
|
10
|
+
readonly Delete: "DELETE";
|
|
11
|
+
readonly Patch: "PATCH";
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* HTTP method
|
|
15
|
+
*/
|
|
16
|
+
export type HttpMethodEnum = ClosedEnum<typeof HttpMethodEnum>;
|
|
17
|
+
/** @internal */
|
|
18
|
+
export declare const HttpMethodEnum$inboundSchema: z.ZodNativeEnum<typeof HttpMethodEnum>;
|
|
19
|
+
/** @internal */
|
|
20
|
+
export declare const HttpMethodEnum$outboundSchema: z.ZodNativeEnum<typeof HttpMethodEnum>;
|
|
21
|
+
//# sourceMappingURL=httpmethodenum.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"httpmethodenum.d.ts","sourceRoot":"","sources":["../../src/models/components/httpmethodenum.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,cAAc;;;;;;CAMjB,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAE/D,gBAAgB;AAChB,eAAO,MAAM,4BAA4B,EAAE,CAAC,CAAC,aAAa,CACxD,OAAO,cAAc,CACS,CAAC;AACjC,gBAAgB;AAChB,eAAO,MAAM,6BAA6B,EAAE,CAAC,CAAC,aAAa,CACzD,OAAO,cAAc,CACS,CAAC"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.HttpMethodEnum$outboundSchema = exports.HttpMethodEnum$inboundSchema = exports.HttpMethodEnum = void 0;
|
|
40
|
+
const z = __importStar(require("zod/v3"));
|
|
41
|
+
/**
|
|
42
|
+
* HTTP method
|
|
43
|
+
*/
|
|
44
|
+
exports.HttpMethodEnum = {
|
|
45
|
+
Get: "GET",
|
|
46
|
+
Post: "POST",
|
|
47
|
+
Put: "PUT",
|
|
48
|
+
Delete: "DELETE",
|
|
49
|
+
Patch: "PATCH",
|
|
50
|
+
};
|
|
51
|
+
/** @internal */
|
|
52
|
+
exports.HttpMethodEnum$inboundSchema = z.nativeEnum(exports.HttpMethodEnum);
|
|
53
|
+
/** @internal */
|
|
54
|
+
exports.HttpMethodEnum$outboundSchema = exports.HttpMethodEnum$inboundSchema;
|
|
55
|
+
//# sourceMappingURL=httpmethodenum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"httpmethodenum.js","sourceRoot":"","sources":["../../src/models/components/httpmethodenum.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,0CAA4B;AAG5B;;GAEG;AACU,QAAA,cAAc,GAAG;IAC5B,GAAG,EAAE,KAAK;IACV,IAAI,EAAE,MAAM;IACZ,GAAG,EAAE,KAAK;IACV,MAAM,EAAE,QAAQ;IAChB,KAAK,EAAE,OAAO;CACN,CAAC;AAMX,gBAAgB;AACH,QAAA,4BAA4B,GAErC,CAAC,CAAC,UAAU,CAAC,sBAAc,CAAC,CAAC;AACjC,gBAAgB;AACH,QAAA,6BAA6B,GAEtC,oCAA4B,CAAC"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
import { HttpMethodEnum } from "./httpmethodenum.js";
|
|
5
|
+
import { HttpRequestKeyValuePairDto, HttpRequestKeyValuePairDto$Outbound } from "./httprequestkeyvaluepairdto.js";
|
|
6
|
+
export type HttpRequestControlDto = {
|
|
7
|
+
/**
|
|
8
|
+
* HTTP method
|
|
9
|
+
*/
|
|
10
|
+
method: HttpMethodEnum;
|
|
11
|
+
/**
|
|
12
|
+
* Target URL for the HTTP request
|
|
13
|
+
*/
|
|
14
|
+
url: string;
|
|
15
|
+
/**
|
|
16
|
+
* Request headers as key-value pairs
|
|
17
|
+
*/
|
|
18
|
+
headers?: Array<HttpRequestKeyValuePairDto> | undefined;
|
|
19
|
+
/**
|
|
20
|
+
* Request body as key-value pairs
|
|
21
|
+
*/
|
|
22
|
+
body?: Array<HttpRequestKeyValuePairDto> | undefined;
|
|
23
|
+
/**
|
|
24
|
+
* JSON schema to validate response body against
|
|
25
|
+
*/
|
|
26
|
+
responseBodySchema?: {
|
|
27
|
+
[k: string]: any;
|
|
28
|
+
} | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* Whether to enforce response body schema validation
|
|
31
|
+
*/
|
|
32
|
+
enforceSchemaValidation?: boolean | undefined;
|
|
33
|
+
/**
|
|
34
|
+
* Whether to continue workflow execution on failure
|
|
35
|
+
*/
|
|
36
|
+
continueOnFailure?: boolean | undefined;
|
|
37
|
+
};
|
|
38
|
+
/** @internal */
|
|
39
|
+
export declare const HttpRequestControlDto$inboundSchema: z.ZodType<HttpRequestControlDto, z.ZodTypeDef, unknown>;
|
|
40
|
+
/** @internal */
|
|
41
|
+
export type HttpRequestControlDto$Outbound = {
|
|
42
|
+
method: string;
|
|
43
|
+
url: string;
|
|
44
|
+
headers?: Array<HttpRequestKeyValuePairDto$Outbound> | undefined;
|
|
45
|
+
body?: Array<HttpRequestKeyValuePairDto$Outbound> | undefined;
|
|
46
|
+
responseBodySchema?: {
|
|
47
|
+
[k: string]: any;
|
|
48
|
+
} | undefined;
|
|
49
|
+
enforceSchemaValidation?: boolean | undefined;
|
|
50
|
+
continueOnFailure?: boolean | undefined;
|
|
51
|
+
};
|
|
52
|
+
/** @internal */
|
|
53
|
+
export declare const HttpRequestControlDto$outboundSchema: z.ZodType<HttpRequestControlDto$Outbound, z.ZodTypeDef, HttpRequestControlDto>;
|
|
54
|
+
export declare function httpRequestControlDtoToJSON(httpRequestControlDto: HttpRequestControlDto): string;
|
|
55
|
+
export declare function httpRequestControlDtoFromJSON(jsonString: string): SafeParseResult<HttpRequestControlDto, SDKValidationError>;
|
|
56
|
+
//# sourceMappingURL=httprequestcontroldto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"httprequestcontroldto.d.ts","sourceRoot":"","sources":["../../src/models/components/httprequestcontroldto.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,cAAc,EAGf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,0BAA0B,EAE1B,mCAAmC,EAEpC,MAAM,iCAAiC,CAAC;AAEzC,MAAM,MAAM,qBAAqB,GAAG;IAClC;;OAEG;IACH,MAAM,EAAE,cAAc,CAAC;IACvB;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,0BAA0B,CAAC,GAAG,SAAS,CAAC;IACxD;;OAEG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,0BAA0B,CAAC,GAAG,SAAS,CAAC;IACrD;;OAEG;IACH,kBAAkB,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GAAG,SAAS,CAAC;IACtD;;OAEG;IACH,uBAAuB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC9C;;OAEG;IACH,iBAAiB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CACzC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,OAAO,CACzD,qBAAqB,EACrB,CAAC,CAAC,UAAU,EACZ,OAAO,CASP,CAAC;AACH,gBAAgB;AAChB,MAAM,MAAM,8BAA8B,GAAG;IAC3C,MAAM,EAAE,MAAM,CAAC;IACf,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,CAAC,EAAE,KAAK,CAAC,mCAAmC,CAAC,GAAG,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