@novu/api 0.0.1-alpha.144 → 0.0.1-alpha.145
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/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/models/components/buttontypeenum.d.ts +34 -0
- package/models/components/buttontypeenum.d.ts.map +1 -0
- package/models/components/buttontypeenum.js +53 -0
- package/models/components/buttontypeenum.js.map +1 -0
- package/models/components/channelctatypeenum.d.ts +31 -0
- package/models/components/channelctatypeenum.d.ts.map +1 -0
- package/models/components/channelctatypeenum.js +52 -0
- package/models/components/channelctatypeenum.js.map +1 -0
- package/models/components/channeltypeenum.d.ts +2 -2
- package/models/components/channeltypeenum.js +1 -1
- package/models/components/emailblock.d.ts +14 -27
- package/models/components/emailblock.d.ts.map +1 -1
- package/models/components/emailblock.js +4 -22
- package/models/components/emailblock.js.map +1 -1
- package/models/components/emailblockstyles.d.ts +5 -30
- package/models/components/emailblockstyles.d.ts.map +1 -1
- package/models/components/emailblockstyles.js +4 -24
- package/models/components/emailblockstyles.js.map +1 -1
- package/models/components/emailblocktypeenum.d.ts +34 -0
- package/models/components/emailblocktypeenum.d.ts.map +1 -0
- package/models/components/emailblocktypeenum.js +53 -0
- package/models/components/emailblocktypeenum.js.map +1 -0
- 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/messageaction.d.ts +11 -27
- package/models/components/messageaction.d.ts.map +1 -1
- package/models/components/messageaction.js +4 -22
- package/models/components/messageaction.js.map +1 -1
- package/models/components/messageactionresult.d.ts +11 -27
- package/models/components/messageactionresult.d.ts.map +1 -1
- package/models/components/messageactionresult.js +4 -22
- package/models/components/messageactionresult.js.map +1 -1
- package/models/components/messageactionstatusenum.d.ts +34 -0
- package/models/components/messageactionstatusenum.d.ts.map +1 -0
- package/models/components/messageactionstatusenum.js +53 -0
- package/models/components/messageactionstatusenum.js.map +1 -0
- package/models/components/messagebutton.d.ts +11 -27
- package/models/components/messagebutton.d.ts.map +1 -1
- package/models/components/messagebutton.js +4 -22
- package/models/components/messagebutton.js.map +1 -1
- package/models/components/messagecta.d.ts +11 -24
- package/models/components/messagecta.d.ts.map +1 -1
- package/models/components/messagecta.js +4 -21
- package/models/components/messagecta.js.map +1 -1
- package/models/components/messagectadata.d.ts +3 -0
- package/models/components/messagectadata.d.ts.map +1 -1
- package/models/components/messagectadata.js.map +1 -1
- package/models/components/messageresponsedto.d.ts +107 -96
- package/models/components/messageresponsedto.d.ts.map +1 -1
- package/models/components/messageresponsedto.js +18 -81
- package/models/components/messageresponsedto.js.map +1 -1
- package/models/components/messagestatusenum.d.ts +37 -0
- package/models/components/messagestatusenum.d.ts.map +1 -0
- package/models/components/messagestatusenum.js +54 -0
- package/models/components/messagestatusenum.js.map +1 -0
- package/models/components/notificationfeeditemdto.d.ts +1 -1
- package/models/components/textalignenum.d.ts +37 -0
- package/models/components/textalignenum.d.ts.map +1 -0
- package/models/components/textalignenum.js +54 -0
- package/models/components/textalignenum.js.map +1 -0
- package/models/operations/messagescontrollergetmessages.d.ts +1 -1
- package/package.json +1 -1
- package/src/lib/config.ts +2 -2
- package/src/models/components/buttontypeenum.ts +39 -0
- package/src/models/components/channelctatypeenum.ts +38 -0
- package/src/models/components/channeltypeenum.ts +2 -2
- package/src/models/components/emailblock.ts +20 -31
- package/src/models/components/emailblockstyles.ts +11 -30
- package/src/models/components/emailblocktypeenum.ts +39 -0
- package/src/models/components/index.ts +6 -0
- package/src/models/components/messageaction.ts +17 -31
- package/src/models/components/messageactionresult.ts +17 -33
- package/src/models/components/messageactionstatusenum.ts +41 -0
- package/src/models/components/messagebutton.ts +17 -31
- package/src/models/components/messagecta.ts +17 -30
- package/src/models/components/messagectadata.ts +3 -0
- package/src/models/components/messageresponsedto.ts +130 -132
- package/src/models/components/messagestatusenum.ts +40 -0
- package/src/models/components/notificationfeeditemdto.ts +1 -1
- package/src/models/components/textalignenum.ts +40 -0
- package/src/models/operations/messagescontrollergetmessages.ts +1 -1
package/lib/config.d.ts
CHANGED
|
@@ -27,8 +27,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
|
27
27
|
export declare const SDK_METADATA: {
|
|
28
28
|
readonly language: "typescript";
|
|
29
29
|
readonly openapiDocVersion: "1.0";
|
|
30
|
-
readonly sdkVersion: "0.0.1-alpha.
|
|
30
|
+
readonly sdkVersion: "0.0.1-alpha.145";
|
|
31
31
|
readonly genVersion: "2.481.0";
|
|
32
|
-
readonly userAgent: "speakeasy-sdk/typescript 0.0.1-alpha.
|
|
32
|
+
readonly userAgent: "speakeasy-sdk/typescript 0.0.1-alpha.145 2.481.0 1.0 @novu/api";
|
|
33
33
|
};
|
|
34
34
|
//# sourceMappingURL=config.d.ts.map
|
package/lib/config.js
CHANGED
|
@@ -30,8 +30,8 @@ exports.serverURLFromOptions = serverURLFromOptions;
|
|
|
30
30
|
exports.SDK_METADATA = {
|
|
31
31
|
language: "typescript",
|
|
32
32
|
openapiDocVersion: "1.0",
|
|
33
|
-
sdkVersion: "0.0.1-alpha.
|
|
33
|
+
sdkVersion: "0.0.1-alpha.145",
|
|
34
34
|
genVersion: "2.481.0",
|
|
35
|
-
userAgent: "speakeasy-sdk/typescript 0.0.1-alpha.
|
|
35
|
+
userAgent: "speakeasy-sdk/typescript 0.0.1-alpha.145 2.481.0 1.0 @novu/api",
|
|
36
36
|
};
|
|
37
37
|
//# sourceMappingURL=config.js.map
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
3
|
+
/**
|
|
4
|
+
* Type of button for the action result
|
|
5
|
+
*/
|
|
6
|
+
export declare const ButtonTypeEnum: {
|
|
7
|
+
readonly Primary: "primary";
|
|
8
|
+
readonly Secondary: "secondary";
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Type of button for the action result
|
|
12
|
+
*/
|
|
13
|
+
export type ButtonTypeEnum = ClosedEnum<typeof ButtonTypeEnum>;
|
|
14
|
+
/** @internal */
|
|
15
|
+
export declare const ButtonTypeEnum$inboundSchema: z.ZodNativeEnum<typeof ButtonTypeEnum>;
|
|
16
|
+
/** @internal */
|
|
17
|
+
export declare const ButtonTypeEnum$outboundSchema: z.ZodNativeEnum<typeof ButtonTypeEnum>;
|
|
18
|
+
/**
|
|
19
|
+
* @internal
|
|
20
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
21
|
+
*/
|
|
22
|
+
export declare namespace ButtonTypeEnum$ {
|
|
23
|
+
/** @deprecated use `ButtonTypeEnum$inboundSchema` instead. */
|
|
24
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
25
|
+
readonly Primary: "primary";
|
|
26
|
+
readonly Secondary: "secondary";
|
|
27
|
+
}>;
|
|
28
|
+
/** @deprecated use `ButtonTypeEnum$outboundSchema` instead. */
|
|
29
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
30
|
+
readonly Primary: "primary";
|
|
31
|
+
readonly Secondary: "secondary";
|
|
32
|
+
}>;
|
|
33
|
+
}
|
|
34
|
+
//# sourceMappingURL=buttontypeenum.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"buttontypeenum.d.ts","sourceRoot":"","sources":["../../src/models/components/buttontypeenum.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,cAAc;;;CAGjB,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;AAEjC,gBAAgB;AAChB,eAAO,MAAM,6BAA6B,EAAE,CAAC,CAAC,aAAa,CACzD,OAAO,cAAc,CACS,CAAC;AAEjC;;;GAGG;AACH,yBAAiB,eAAe,CAAC;IAC/B,8DAA8D;IACvD,MAAM,aAAa;;;MAA+B,CAAC;IAC1D,+DAA+D;IACxD,MAAM,cAAc;;;MAAgC,CAAC;CAC7D"}
|
|
@@ -0,0 +1,53 @@
|
|
|
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 (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.ButtonTypeEnum$ = exports.ButtonTypeEnum$outboundSchema = exports.ButtonTypeEnum$inboundSchema = exports.ButtonTypeEnum = void 0;
|
|
30
|
+
const z = __importStar(require("zod"));
|
|
31
|
+
/**
|
|
32
|
+
* Type of button for the action result
|
|
33
|
+
*/
|
|
34
|
+
exports.ButtonTypeEnum = {
|
|
35
|
+
Primary: "primary",
|
|
36
|
+
Secondary: "secondary",
|
|
37
|
+
};
|
|
38
|
+
/** @internal */
|
|
39
|
+
exports.ButtonTypeEnum$inboundSchema = z.nativeEnum(exports.ButtonTypeEnum);
|
|
40
|
+
/** @internal */
|
|
41
|
+
exports.ButtonTypeEnum$outboundSchema = exports.ButtonTypeEnum$inboundSchema;
|
|
42
|
+
/**
|
|
43
|
+
* @internal
|
|
44
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
45
|
+
*/
|
|
46
|
+
var ButtonTypeEnum$;
|
|
47
|
+
(function (ButtonTypeEnum$) {
|
|
48
|
+
/** @deprecated use `ButtonTypeEnum$inboundSchema` instead. */
|
|
49
|
+
ButtonTypeEnum$.inboundSchema = exports.ButtonTypeEnum$inboundSchema;
|
|
50
|
+
/** @deprecated use `ButtonTypeEnum$outboundSchema` instead. */
|
|
51
|
+
ButtonTypeEnum$.outboundSchema = exports.ButtonTypeEnum$outboundSchema;
|
|
52
|
+
})(ButtonTypeEnum$ || (exports.ButtonTypeEnum$ = ButtonTypeEnum$ = {}));
|
|
53
|
+
//# sourceMappingURL=buttontypeenum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"buttontypeenum.js","sourceRoot":"","sources":["../../src/models/components/buttontypeenum.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AAGzB;;GAEG;AACU,QAAA,cAAc,GAAG;IAC5B,OAAO,EAAE,SAAS;IAClB,SAAS,EAAE,WAAW;CACd,CAAC;AAMX,gBAAgB;AACH,QAAA,4BAA4B,GAErC,CAAC,CAAC,UAAU,CAAC,sBAAc,CAAC,CAAC;AAEjC,gBAAgB;AACH,QAAA,6BAA6B,GAEtC,oCAA4B,CAAC;AAEjC;;;GAGG;AACH,IAAiB,eAAe,CAK/B;AALD,WAAiB,eAAe;IAC9B,8DAA8D;IACjD,6BAAa,GAAG,oCAA4B,CAAC;IAC1D,+DAA+D;IAClD,8BAAc,GAAG,qCAA6B,CAAC;AAC9D,CAAC,EALgB,eAAe,+BAAf,eAAe,QAK/B"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
3
|
+
/**
|
|
4
|
+
* Type of call to action
|
|
5
|
+
*/
|
|
6
|
+
export declare const ChannelCTATypeEnum: {
|
|
7
|
+
readonly Redirect: "redirect";
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* Type of call to action
|
|
11
|
+
*/
|
|
12
|
+
export type ChannelCTATypeEnum = ClosedEnum<typeof ChannelCTATypeEnum>;
|
|
13
|
+
/** @internal */
|
|
14
|
+
export declare const ChannelCTATypeEnum$inboundSchema: z.ZodNativeEnum<typeof ChannelCTATypeEnum>;
|
|
15
|
+
/** @internal */
|
|
16
|
+
export declare const ChannelCTATypeEnum$outboundSchema: z.ZodNativeEnum<typeof ChannelCTATypeEnum>;
|
|
17
|
+
/**
|
|
18
|
+
* @internal
|
|
19
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
20
|
+
*/
|
|
21
|
+
export declare namespace ChannelCTATypeEnum$ {
|
|
22
|
+
/** @deprecated use `ChannelCTATypeEnum$inboundSchema` instead. */
|
|
23
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
24
|
+
readonly Redirect: "redirect";
|
|
25
|
+
}>;
|
|
26
|
+
/** @deprecated use `ChannelCTATypeEnum$outboundSchema` instead. */
|
|
27
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
28
|
+
readonly Redirect: "redirect";
|
|
29
|
+
}>;
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=channelctatypeenum.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"channelctatypeenum.d.ts","sourceRoot":"","sources":["../../src/models/components/channelctatypeenum.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,kBAAkB;;CAErB,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,UAAU,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAEvE,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,aAAa,CAC5D,OAAO,kBAAkB,CACS,CAAC;AAErC,gBAAgB;AAChB,eAAO,MAAM,iCAAiC,EAAE,CAAC,CAAC,aAAa,CAC7D,OAAO,kBAAkB,CACS,CAAC;AAErC;;;GAGG;AACH,yBAAiB,mBAAmB,CAAC;IACnC,kEAAkE;IAC3D,MAAM,aAAa;;MAAmC,CAAC;IAC9D,mEAAmE;IAC5D,MAAM,cAAc;;MAAoC,CAAC;CACjE"}
|
|
@@ -0,0 +1,52 @@
|
|
|
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 (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.ChannelCTATypeEnum$ = exports.ChannelCTATypeEnum$outboundSchema = exports.ChannelCTATypeEnum$inboundSchema = exports.ChannelCTATypeEnum = void 0;
|
|
30
|
+
const z = __importStar(require("zod"));
|
|
31
|
+
/**
|
|
32
|
+
* Type of call to action
|
|
33
|
+
*/
|
|
34
|
+
exports.ChannelCTATypeEnum = {
|
|
35
|
+
Redirect: "redirect",
|
|
36
|
+
};
|
|
37
|
+
/** @internal */
|
|
38
|
+
exports.ChannelCTATypeEnum$inboundSchema = z.nativeEnum(exports.ChannelCTATypeEnum);
|
|
39
|
+
/** @internal */
|
|
40
|
+
exports.ChannelCTATypeEnum$outboundSchema = exports.ChannelCTATypeEnum$inboundSchema;
|
|
41
|
+
/**
|
|
42
|
+
* @internal
|
|
43
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
44
|
+
*/
|
|
45
|
+
var ChannelCTATypeEnum$;
|
|
46
|
+
(function (ChannelCTATypeEnum$) {
|
|
47
|
+
/** @deprecated use `ChannelCTATypeEnum$inboundSchema` instead. */
|
|
48
|
+
ChannelCTATypeEnum$.inboundSchema = exports.ChannelCTATypeEnum$inboundSchema;
|
|
49
|
+
/** @deprecated use `ChannelCTATypeEnum$outboundSchema` instead. */
|
|
50
|
+
ChannelCTATypeEnum$.outboundSchema = exports.ChannelCTATypeEnum$outboundSchema;
|
|
51
|
+
})(ChannelCTATypeEnum$ || (exports.ChannelCTATypeEnum$ = ChannelCTATypeEnum$ = {}));
|
|
52
|
+
//# sourceMappingURL=channelctatypeenum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"channelctatypeenum.js","sourceRoot":"","sources":["../../src/models/components/channelctatypeenum.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AAGzB;;GAEG;AACU,QAAA,kBAAkB,GAAG;IAChC,QAAQ,EAAE,UAAU;CACZ,CAAC;AAMX,gBAAgB;AACH,QAAA,gCAAgC,GAEzC,CAAC,CAAC,UAAU,CAAC,0BAAkB,CAAC,CAAC;AAErC,gBAAgB;AACH,QAAA,iCAAiC,GAE1C,wCAAgC,CAAC;AAErC;;;GAGG;AACH,IAAiB,mBAAmB,CAKnC;AALD,WAAiB,mBAAmB;IAClC,kEAAkE;IACrD,iCAAa,GAAG,wCAAgC,CAAC;IAC9D,mEAAmE;IACtD,kCAAc,GAAG,yCAAiC,CAAC;AAClE,CAAC,EALgB,mBAAmB,mCAAnB,mBAAmB,QAKnC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as z from "zod";
|
|
2
2
|
import { ClosedEnum } from "../../types/enums.js";
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Channel type through which the message is sent
|
|
5
5
|
*/
|
|
6
6
|
export declare const ChannelTypeEnum: {
|
|
7
7
|
readonly InApp: "in_app";
|
|
@@ -11,7 +11,7 @@ export declare const ChannelTypeEnum: {
|
|
|
11
11
|
readonly Push: "push";
|
|
12
12
|
};
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Channel type through which the message is sent
|
|
15
15
|
*/
|
|
16
16
|
export type ChannelTypeEnum = ClosedEnum<typeof ChannelTypeEnum>;
|
|
17
17
|
/** @internal */
|
|
@@ -29,7 +29,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.ChannelTypeEnum$ = exports.ChannelTypeEnum$outboundSchema = exports.ChannelTypeEnum$inboundSchema = exports.ChannelTypeEnum = void 0;
|
|
30
30
|
const z = __importStar(require("zod"));
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
32
|
+
* Channel type through which the message is sent
|
|
33
33
|
*/
|
|
34
34
|
exports.ChannelTypeEnum = {
|
|
35
35
|
InApp: "in_app",
|
|
@@ -1,40 +1,27 @@
|
|
|
1
1
|
import * as z from "zod";
|
|
2
|
-
import { ClosedEnum } from "../../types/enums.js";
|
|
3
2
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
4
3
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
5
4
|
import { EmailBlockStyles, EmailBlockStyles$Outbound } from "./emailblockstyles.js";
|
|
6
|
-
|
|
7
|
-
readonly Button: "button";
|
|
8
|
-
readonly Text: "text";
|
|
9
|
-
};
|
|
10
|
-
export type EmailBlockType = ClosedEnum<typeof EmailBlockType>;
|
|
5
|
+
import { EmailBlockTypeEnum } from "./emailblocktypeenum.js";
|
|
11
6
|
export type EmailBlock = {
|
|
12
|
-
|
|
7
|
+
/**
|
|
8
|
+
* Type of the email block
|
|
9
|
+
*/
|
|
10
|
+
type: EmailBlockTypeEnum;
|
|
11
|
+
/**
|
|
12
|
+
* Content of the email block
|
|
13
|
+
*/
|
|
13
14
|
content: string;
|
|
15
|
+
/**
|
|
16
|
+
* URL associated with the email block, if any
|
|
17
|
+
*/
|
|
14
18
|
url?: string | undefined;
|
|
19
|
+
/**
|
|
20
|
+
* Styles applied to the email block
|
|
21
|
+
*/
|
|
15
22
|
styles?: EmailBlockStyles | undefined;
|
|
16
23
|
};
|
|
17
24
|
/** @internal */
|
|
18
|
-
export declare const EmailBlockType$inboundSchema: z.ZodNativeEnum<typeof EmailBlockType>;
|
|
19
|
-
/** @internal */
|
|
20
|
-
export declare const EmailBlockType$outboundSchema: z.ZodNativeEnum<typeof EmailBlockType>;
|
|
21
|
-
/**
|
|
22
|
-
* @internal
|
|
23
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
24
|
-
*/
|
|
25
|
-
export declare namespace EmailBlockType$ {
|
|
26
|
-
/** @deprecated use `EmailBlockType$inboundSchema` instead. */
|
|
27
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
28
|
-
readonly Button: "button";
|
|
29
|
-
readonly Text: "text";
|
|
30
|
-
}>;
|
|
31
|
-
/** @deprecated use `EmailBlockType$outboundSchema` instead. */
|
|
32
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
33
|
-
readonly Button: "button";
|
|
34
|
-
readonly Text: "text";
|
|
35
|
-
}>;
|
|
36
|
-
}
|
|
37
|
-
/** @internal */
|
|
38
25
|
export declare const EmailBlock$inboundSchema: z.ZodType<EmailBlock, z.ZodTypeDef, unknown>;
|
|
39
26
|
/** @internal */
|
|
40
27
|
export type EmailBlock$Outbound = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"emailblock.d.ts","sourceRoot":"","sources":["../../src/models/components/emailblock.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"emailblock.d.ts","sourceRoot":"","sources":["../../src/models/components/emailblock.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,gBAAgB,EAEhB,yBAAyB,EAE1B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,kBAAkB,EAGnB,MAAM,yBAAyB,CAAC;AAEjC,MAAM,MAAM,UAAU,GAAG;IACvB;;OAEG;IACH,IAAI,EAAE,kBAAkB,CAAC;IACzB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACzB;;OAEG;IACH,MAAM,CAAC,EAAE,gBAAgB,GAAG,SAAS,CAAC;CACvC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wBAAwB,EAAE,CAAC,CAAC,OAAO,CAC9C,UAAU,EACV,CAAC,CAAC,UAAU,EACZ,OAAO,CAMP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,mBAAmB,GAAG;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACzB,MAAM,CAAC,EAAE,yBAAyB,GAAG,SAAS,CAAC;CAChD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,yBAAyB,EAAE,CAAC,CAAC,OAAO,CAC/C,mBAAmB,EACnB,CAAC,CAAC,UAAU,EACZ,UAAU,CAMV,CAAC;AAEH;;;GAGG;AACH,yBAAiB,WAAW,CAAC;IAC3B,0DAA0D;IACnD,MAAM,aAAa,8CAA2B,CAAC;IACtD,2DAA2D;IACpD,MAAM,cAAc,0DAA4B,CAAC;IACxD,qDAAqD;IACrD,KAAY,QAAQ,GAAG,mBAAmB,CAAC;CAC5C;AAED,wBAAgB,gBAAgB,CAAC,UAAU,EAAE,UAAU,GAAG,MAAM,CAE/D;AAED,wBAAgB,kBAAkB,CAChC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,UAAU,EAAE,kBAAkB,CAAC,CAMjD"}
|
|
@@ -26,39 +26,21 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.emailBlockFromJSON = exports.emailBlockToJSON = exports.EmailBlock$ = exports.EmailBlock$outboundSchema = exports.EmailBlock$inboundSchema =
|
|
29
|
+
exports.emailBlockFromJSON = exports.emailBlockToJSON = exports.EmailBlock$ = exports.EmailBlock$outboundSchema = exports.EmailBlock$inboundSchema = void 0;
|
|
30
30
|
const z = __importStar(require("zod"));
|
|
31
31
|
const schemas_js_1 = require("../../lib/schemas.js");
|
|
32
32
|
const emailblockstyles_js_1 = require("./emailblockstyles.js");
|
|
33
|
-
|
|
34
|
-
Button: "button",
|
|
35
|
-
Text: "text",
|
|
36
|
-
};
|
|
37
|
-
/** @internal */
|
|
38
|
-
exports.EmailBlockType$inboundSchema = z.nativeEnum(exports.EmailBlockType);
|
|
39
|
-
/** @internal */
|
|
40
|
-
exports.EmailBlockType$outboundSchema = exports.EmailBlockType$inboundSchema;
|
|
41
|
-
/**
|
|
42
|
-
* @internal
|
|
43
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
44
|
-
*/
|
|
45
|
-
var EmailBlockType$;
|
|
46
|
-
(function (EmailBlockType$) {
|
|
47
|
-
/** @deprecated use `EmailBlockType$inboundSchema` instead. */
|
|
48
|
-
EmailBlockType$.inboundSchema = exports.EmailBlockType$inboundSchema;
|
|
49
|
-
/** @deprecated use `EmailBlockType$outboundSchema` instead. */
|
|
50
|
-
EmailBlockType$.outboundSchema = exports.EmailBlockType$outboundSchema;
|
|
51
|
-
})(EmailBlockType$ || (exports.EmailBlockType$ = EmailBlockType$ = {}));
|
|
33
|
+
const emailblocktypeenum_js_1 = require("./emailblocktypeenum.js");
|
|
52
34
|
/** @internal */
|
|
53
35
|
exports.EmailBlock$inboundSchema = z.object({
|
|
54
|
-
type:
|
|
36
|
+
type: emailblocktypeenum_js_1.EmailBlockTypeEnum$inboundSchema,
|
|
55
37
|
content: z.string(),
|
|
56
38
|
url: z.string().optional(),
|
|
57
39
|
styles: emailblockstyles_js_1.EmailBlockStyles$inboundSchema.optional(),
|
|
58
40
|
});
|
|
59
41
|
/** @internal */
|
|
60
42
|
exports.EmailBlock$outboundSchema = z.object({
|
|
61
|
-
type:
|
|
43
|
+
type: emailblocktypeenum_js_1.EmailBlockTypeEnum$outboundSchema,
|
|
62
44
|
content: z.string(),
|
|
63
45
|
url: z.string().optional(),
|
|
64
46
|
styles: emailblockstyles_js_1.EmailBlockStyles$outboundSchema.optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"emailblock.js","sourceRoot":"","sources":["../../src/models/components/emailblock.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,qDAAiD;
|
|
1
|
+
{"version":3,"file":"emailblock.js","sourceRoot":"","sources":["../../src/models/components/emailblock.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,qDAAiD;AAGjD,+DAK+B;AAC/B,mEAIiC;AAqBjC,gBAAgB;AACH,QAAA,wBAAwB,GAIjC,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,wDAAgC;IACtC,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC1B,MAAM,EAAE,oDAA8B,CAAC,QAAQ,EAAE;CAClD,CAAC,CAAC;AAUH,gBAAgB;AACH,QAAA,yBAAyB,GAIlC,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,yDAAiC;IACvC,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC1B,MAAM,EAAE,qDAA+B,CAAC,QAAQ,EAAE;CACnD,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,WAAW,CAO3B;AAPD,WAAiB,WAAW;IAC1B,0DAA0D;IAC7C,yBAAa,GAAG,gCAAwB,CAAC;IACtD,2DAA2D;IAC9C,0BAAc,GAAG,iCAAyB,CAAC;AAG1D,CAAC,EAPgB,WAAW,2BAAX,WAAW,QAO3B;AAED,SAAgB,gBAAgB,CAAC,UAAsB;IACrD,OAAO,IAAI,CAAC,SAAS,CAAC,iCAAyB,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC;AACrE,CAAC;AAFD,4CAEC;AAED,SAAgB,kBAAkB,CAChC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,gCAAwB,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACpD,wCAAwC,CACzC,CAAC;AACJ,CAAC;AARD,gDAQC"}
|
|
@@ -1,39 +1,14 @@
|
|
|
1
1
|
import * as z from "zod";
|
|
2
|
-
import { ClosedEnum } from "../../types/enums.js";
|
|
3
2
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
4
3
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
5
|
-
|
|
6
|
-
readonly Center: "center";
|
|
7
|
-
readonly Left: "left";
|
|
8
|
-
readonly Right: "right";
|
|
9
|
-
};
|
|
10
|
-
export type TextAlign = ClosedEnum<typeof TextAlign>;
|
|
4
|
+
import { TextAlignEnum } from "./textalignenum.js";
|
|
11
5
|
export type EmailBlockStyles = {
|
|
12
|
-
|
|
6
|
+
/**
|
|
7
|
+
* Text alignment for the email block
|
|
8
|
+
*/
|
|
9
|
+
textAlign: TextAlignEnum;
|
|
13
10
|
};
|
|
14
11
|
/** @internal */
|
|
15
|
-
export declare const TextAlign$inboundSchema: z.ZodNativeEnum<typeof TextAlign>;
|
|
16
|
-
/** @internal */
|
|
17
|
-
export declare const TextAlign$outboundSchema: z.ZodNativeEnum<typeof TextAlign>;
|
|
18
|
-
/**
|
|
19
|
-
* @internal
|
|
20
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
21
|
-
*/
|
|
22
|
-
export declare namespace TextAlign$ {
|
|
23
|
-
/** @deprecated use `TextAlign$inboundSchema` instead. */
|
|
24
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
25
|
-
readonly Center: "center";
|
|
26
|
-
readonly Left: "left";
|
|
27
|
-
readonly Right: "right";
|
|
28
|
-
}>;
|
|
29
|
-
/** @deprecated use `TextAlign$outboundSchema` instead. */
|
|
30
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
31
|
-
readonly Center: "center";
|
|
32
|
-
readonly Left: "left";
|
|
33
|
-
readonly Right: "right";
|
|
34
|
-
}>;
|
|
35
|
-
}
|
|
36
|
-
/** @internal */
|
|
37
12
|
export declare const EmailBlockStyles$inboundSchema: z.ZodType<EmailBlockStyles, z.ZodTypeDef, unknown>;
|
|
38
13
|
/** @internal */
|
|
39
14
|
export type EmailBlockStyles$Outbound = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"emailblockstyles.d.ts","sourceRoot":"","sources":["../../src/models/components/emailblockstyles.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"emailblockstyles.d.ts","sourceRoot":"","sources":["../../src/models/components/emailblockstyles.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,aAAa,EAGd,MAAM,oBAAoB,CAAC;AAE5B,MAAM,MAAM,gBAAgB,GAAG;IAC7B;;OAEG;IACH,SAAS,EAAE,aAAa,CAAC;CAC1B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,8BAA8B,EAAE,CAAC,CAAC,OAAO,CACpD,gBAAgB,EAChB,CAAC,CAAC,UAAU,EACZ,OAAO,CAGP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,yBAAyB,GAAG;IACtC,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,+BAA+B,EAAE,CAAC,CAAC,OAAO,CACrD,yBAAyB,EACzB,CAAC,CAAC,UAAU,EACZ,gBAAgB,CAGhB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,iBAAiB,CAAC;IACjC,gEAAgE;IACzD,MAAM,aAAa,oDAAiC,CAAC;IAC5D,iEAAiE;IAC1D,MAAM,cAAc,sEAAkC,CAAC;IAC9D,2DAA2D;IAC3D,KAAY,QAAQ,GAAG,yBAAyB,CAAC;CAClD;AAED,wBAAgB,sBAAsB,CACpC,gBAAgB,EAAE,gBAAgB,GACjC,MAAM,CAIR;AAED,wBAAgB,wBAAwB,CACtC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,gBAAgB,EAAE,kBAAkB,CAAC,CAMvD"}
|
|
@@ -26,37 +26,17 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.emailBlockStylesFromJSON = exports.emailBlockStylesToJSON = exports.EmailBlockStyles$ = exports.EmailBlockStyles$outboundSchema = exports.EmailBlockStyles$inboundSchema =
|
|
29
|
+
exports.emailBlockStylesFromJSON = exports.emailBlockStylesToJSON = exports.EmailBlockStyles$ = exports.EmailBlockStyles$outboundSchema = exports.EmailBlockStyles$inboundSchema = void 0;
|
|
30
30
|
const z = __importStar(require("zod"));
|
|
31
31
|
const schemas_js_1 = require("../../lib/schemas.js");
|
|
32
|
-
|
|
33
|
-
Center: "center",
|
|
34
|
-
Left: "left",
|
|
35
|
-
Right: "right",
|
|
36
|
-
};
|
|
37
|
-
/** @internal */
|
|
38
|
-
exports.TextAlign$inboundSchema = z
|
|
39
|
-
.nativeEnum(exports.TextAlign);
|
|
40
|
-
/** @internal */
|
|
41
|
-
exports.TextAlign$outboundSchema = exports.TextAlign$inboundSchema;
|
|
42
|
-
/**
|
|
43
|
-
* @internal
|
|
44
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
45
|
-
*/
|
|
46
|
-
var TextAlign$;
|
|
47
|
-
(function (TextAlign$) {
|
|
48
|
-
/** @deprecated use `TextAlign$inboundSchema` instead. */
|
|
49
|
-
TextAlign$.inboundSchema = exports.TextAlign$inboundSchema;
|
|
50
|
-
/** @deprecated use `TextAlign$outboundSchema` instead. */
|
|
51
|
-
TextAlign$.outboundSchema = exports.TextAlign$outboundSchema;
|
|
52
|
-
})(TextAlign$ || (exports.TextAlign$ = TextAlign$ = {}));
|
|
32
|
+
const textalignenum_js_1 = require("./textalignenum.js");
|
|
53
33
|
/** @internal */
|
|
54
34
|
exports.EmailBlockStyles$inboundSchema = z.object({
|
|
55
|
-
textAlign:
|
|
35
|
+
textAlign: textalignenum_js_1.TextAlignEnum$inboundSchema,
|
|
56
36
|
});
|
|
57
37
|
/** @internal */
|
|
58
38
|
exports.EmailBlockStyles$outboundSchema = z.object({
|
|
59
|
-
textAlign:
|
|
39
|
+
textAlign: textalignenum_js_1.TextAlignEnum$outboundSchema,
|
|
60
40
|
});
|
|
61
41
|
/**
|
|
62
42
|
* @internal
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"emailblockstyles.js","sourceRoot":"","sources":["../../src/models/components/emailblockstyles.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,qDAAiD;
|
|
1
|
+
{"version":3,"file":"emailblockstyles.js","sourceRoot":"","sources":["../../src/models/components/emailblockstyles.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,qDAAiD;AAGjD,yDAI4B;AAS5B,gBAAgB;AACH,QAAA,8BAA8B,GAIvC,CAAC,CAAC,MAAM,CAAC;IACX,SAAS,EAAE,8CAA2B;CACvC,CAAC,CAAC;AAOH,gBAAgB;AACH,QAAA,+BAA+B,GAIxC,CAAC,CAAC,MAAM,CAAC;IACX,SAAS,EAAE,+CAA4B;CACxC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,iBAAiB,CAOjC;AAPD,WAAiB,iBAAiB;IAChC,gEAAgE;IACnD,+BAAa,GAAG,sCAA8B,CAAC;IAC5D,iEAAiE;IACpD,gCAAc,GAAG,uCAA+B,CAAC;AAGhE,CAAC,EAPgB,iBAAiB,iCAAjB,iBAAiB,QAOjC;AAED,SAAgB,sBAAsB,CACpC,gBAAkC;IAElC,OAAO,IAAI,CAAC,SAAS,CACnB,uCAA+B,CAAC,KAAK,CAAC,gBAAgB,CAAC,CACxD,CAAC;AACJ,CAAC;AAND,wDAMC;AAED,SAAgB,wBAAwB,CACtC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,sCAA8B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC1D,8CAA8C,CAC/C,CAAC;AACJ,CAAC;AARD,4DAQC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
3
|
+
/**
|
|
4
|
+
* Type of the email block
|
|
5
|
+
*/
|
|
6
|
+
export declare const EmailBlockTypeEnum: {
|
|
7
|
+
readonly Button: "button";
|
|
8
|
+
readonly Text: "text";
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Type of the email block
|
|
12
|
+
*/
|
|
13
|
+
export type EmailBlockTypeEnum = ClosedEnum<typeof EmailBlockTypeEnum>;
|
|
14
|
+
/** @internal */
|
|
15
|
+
export declare const EmailBlockTypeEnum$inboundSchema: z.ZodNativeEnum<typeof EmailBlockTypeEnum>;
|
|
16
|
+
/** @internal */
|
|
17
|
+
export declare const EmailBlockTypeEnum$outboundSchema: z.ZodNativeEnum<typeof EmailBlockTypeEnum>;
|
|
18
|
+
/**
|
|
19
|
+
* @internal
|
|
20
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
21
|
+
*/
|
|
22
|
+
export declare namespace EmailBlockTypeEnum$ {
|
|
23
|
+
/** @deprecated use `EmailBlockTypeEnum$inboundSchema` instead. */
|
|
24
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
25
|
+
readonly Button: "button";
|
|
26
|
+
readonly Text: "text";
|
|
27
|
+
}>;
|
|
28
|
+
/** @deprecated use `EmailBlockTypeEnum$outboundSchema` instead. */
|
|
29
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
30
|
+
readonly Button: "button";
|
|
31
|
+
readonly Text: "text";
|
|
32
|
+
}>;
|
|
33
|
+
}
|
|
34
|
+
//# sourceMappingURL=emailblocktypeenum.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"emailblocktypeenum.d.ts","sourceRoot":"","sources":["../../src/models/components/emailblocktypeenum.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,kBAAkB;;;CAGrB,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,UAAU,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAEvE,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,aAAa,CAC5D,OAAO,kBAAkB,CACS,CAAC;AAErC,gBAAgB;AAChB,eAAO,MAAM,iCAAiC,EAAE,CAAC,CAAC,aAAa,CAC7D,OAAO,kBAAkB,CACS,CAAC;AAErC;;;GAGG;AACH,yBAAiB,mBAAmB,CAAC;IACnC,kEAAkE;IAC3D,MAAM,aAAa;;;MAAmC,CAAC;IAC9D,mEAAmE;IAC5D,MAAM,cAAc;;;MAAoC,CAAC;CACjE"}
|
|
@@ -0,0 +1,53 @@
|
|
|
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 (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.EmailBlockTypeEnum$ = exports.EmailBlockTypeEnum$outboundSchema = exports.EmailBlockTypeEnum$inboundSchema = exports.EmailBlockTypeEnum = void 0;
|
|
30
|
+
const z = __importStar(require("zod"));
|
|
31
|
+
/**
|
|
32
|
+
* Type of the email block
|
|
33
|
+
*/
|
|
34
|
+
exports.EmailBlockTypeEnum = {
|
|
35
|
+
Button: "button",
|
|
36
|
+
Text: "text",
|
|
37
|
+
};
|
|
38
|
+
/** @internal */
|
|
39
|
+
exports.EmailBlockTypeEnum$inboundSchema = z.nativeEnum(exports.EmailBlockTypeEnum);
|
|
40
|
+
/** @internal */
|
|
41
|
+
exports.EmailBlockTypeEnum$outboundSchema = exports.EmailBlockTypeEnum$inboundSchema;
|
|
42
|
+
/**
|
|
43
|
+
* @internal
|
|
44
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
45
|
+
*/
|
|
46
|
+
var EmailBlockTypeEnum$;
|
|
47
|
+
(function (EmailBlockTypeEnum$) {
|
|
48
|
+
/** @deprecated use `EmailBlockTypeEnum$inboundSchema` instead. */
|
|
49
|
+
EmailBlockTypeEnum$.inboundSchema = exports.EmailBlockTypeEnum$inboundSchema;
|
|
50
|
+
/** @deprecated use `EmailBlockTypeEnum$outboundSchema` instead. */
|
|
51
|
+
EmailBlockTypeEnum$.outboundSchema = exports.EmailBlockTypeEnum$outboundSchema;
|
|
52
|
+
})(EmailBlockTypeEnum$ || (exports.EmailBlockTypeEnum$ = EmailBlockTypeEnum$ = {}));
|
|
53
|
+
//# sourceMappingURL=emailblocktypeenum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"emailblocktypeenum.js","sourceRoot":"","sources":["../../src/models/components/emailblocktypeenum.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AAGzB;;GAEG;AACU,QAAA,kBAAkB,GAAG;IAChC,MAAM,EAAE,QAAQ;IAChB,IAAI,EAAE,MAAM;CACJ,CAAC;AAMX,gBAAgB;AACH,QAAA,gCAAgC,GAEzC,CAAC,CAAC,UAAU,CAAC,0BAAkB,CAAC,CAAC;AAErC,gBAAgB;AACH,QAAA,iCAAiC,GAE1C,wCAAgC,CAAC;AAErC;;;GAGG;AACH,IAAiB,mBAAmB,CAKnC;AALD,WAAiB,mBAAmB;IAClC,kEAAkE;IACrD,iCAAa,GAAG,wCAAgC,CAAC;IAC9D,mEAAmE;IACtD,kCAAc,GAAG,yCAAiC,CAAC;AAClE,CAAC,EALgB,mBAAmB,mCAAnB,mBAAmB,QAKnC"}
|
|
@@ -14,8 +14,10 @@ export * from "./assignsubscribertotopicdto.js";
|
|
|
14
14
|
export * from "./bulkcreatesubscriberresponsedto.js";
|
|
15
15
|
export * from "./bulksubscribercreatedto.js";
|
|
16
16
|
export * from "./bulktriggereventdto.js";
|
|
17
|
+
export * from "./buttontypeenum.js";
|
|
17
18
|
export * from "./channelcredentials.js";
|
|
18
19
|
export * from "./channelcredentialsdto.js";
|
|
20
|
+
export * from "./channelctatypeenum.js";
|
|
19
21
|
export * from "./channelpreference.js";
|
|
20
22
|
export * from "./channelsettings.js";
|
|
21
23
|
export * from "./channeltypeenum.js";
|
|
@@ -34,6 +36,7 @@ export * from "./digestregularmetadata.js";
|
|
|
34
36
|
export * from "./digesttimedmetadata.js";
|
|
35
37
|
export * from "./emailblock.js";
|
|
36
38
|
export * from "./emailblockstyles.js";
|
|
39
|
+
export * from "./emailblocktypeenum.js";
|
|
37
40
|
export * from "./failedassignmentsdto.js";
|
|
38
41
|
export * from "./failedoperationdto.js";
|
|
39
42
|
export * from "./feedresponsedto.js";
|
|
@@ -45,11 +48,13 @@ export * from "./markallmessageasrequestdto.js";
|
|
|
45
48
|
export * from "./markmessageactionasseendto.js";
|
|
46
49
|
export * from "./messageaction.js";
|
|
47
50
|
export * from "./messageactionresult.js";
|
|
51
|
+
export * from "./messageactionstatusenum.js";
|
|
48
52
|
export * from "./messagebutton.js";
|
|
49
53
|
export * from "./messagecta.js";
|
|
50
54
|
export * from "./messagectadata.js";
|
|
51
55
|
export * from "./messagemarkasrequestdto.js";
|
|
52
56
|
export * from "./messageresponsedto.js";
|
|
57
|
+
export * from "./messagestatusenum.js";
|
|
53
58
|
export * from "./messagetemplate.js";
|
|
54
59
|
export * from "./messagetemplatedto.js";
|
|
55
60
|
export * from "./notificationfeeditemdto.js";
|
|
@@ -75,6 +80,7 @@ export * from "./subscriberpayloaddto.js";
|
|
|
75
80
|
export * from "./subscriberresponsedto.js";
|
|
76
81
|
export * from "./templateresponse.js";
|
|
77
82
|
export * from "./tenantpayloaddto.js";
|
|
83
|
+
export * from "./textalignenum.js";
|
|
78
84
|
export * from "./timedconfig.js";
|
|
79
85
|
export * from "./topicdto.js";
|
|
80
86
|
export * from "./topicpayloaddto.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/models/components/index.ts"],"names":[],"mappings":"AAIA,cAAc,4BAA4B,CAAC;AAC3C,cAAc,kCAAkC,CAAC;AACjD,cAAc,qDAAqD,CAAC;AACpE,cAAc,yCAAyC,CAAC;AACxD,cAAc,sCAAsC,CAAC;AACrD,cAAc,0CAA0C,CAAC;AACzD,cAAc,gDAAgD,CAAC;AAC/D,cAAc,8CAA8C,CAAC;AAC7D,cAAc,+BAA+B,CAAC;AAC9C,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,iCAAiC,CAAC;AAChD,cAAc,sCAAsC,CAAC;AACrD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,kCAAkC,CAAC;AACjD,cAAc,iCAAiC,CAAC;AAChD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AAC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