@novu/api 0.0.1-alpha.192 → 0.0.1-alpha.193
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 +3 -3
- package/lib/config.js +3 -3
- package/models/components/activitynotificationexecutiondetailresponsedto.d.ts +4 -83
- package/models/components/activitynotificationexecutiondetailresponsedto.d.ts.map +1 -1
- package/models/components/activitynotificationexecutiondetailresponsedto.js +7 -56
- package/models/components/activitynotificationexecutiondetailresponsedto.js.map +1 -1
- package/models/components/activitynotificationjobresponsedto.d.ts +3 -3
- package/models/components/activitynotificationjobresponsedto.d.ts.map +1 -1
- package/models/components/activitynotificationjobresponsedto.js +3 -3
- package/models/components/activitynotificationjobresponsedto.js.map +1 -1
- package/models/components/activitynotificationresponsedto.d.ts +112 -0
- package/models/components/activitynotificationresponsedto.d.ts.map +1 -1
- package/models/components/activitynotificationresponsedto.js +94 -1
- package/models/components/activitynotificationresponsedto.js.map +1 -1
- package/models/components/activitynotificationstepresponsedto.d.ts +139 -3
- package/models/components/activitynotificationstepresponsedto.d.ts.map +1 -1
- package/models/components/activitynotificationstepresponsedto.js +117 -4
- package/models/components/activitynotificationstepresponsedto.js.map +1 -1
- package/models/components/activitynotificationtemplateresponsedto.d.ts +3 -3
- package/models/components/activitynotificationtemplateresponsedto.d.ts.map +1 -1
- package/models/components/activitynotificationtemplateresponsedto.js +3 -3
- package/models/components/activitynotificationtemplateresponsedto.js.map +1 -1
- package/models/components/{builderfieldtype.d.ts → builderfieldtypeenum.d.ts} +8 -8
- package/models/components/builderfieldtypeenum.d.ts.map +1 -0
- package/models/components/{builderfieldtype.js → builderfieldtypeenum.js} +12 -12
- package/models/components/builderfieldtypeenum.js.map +1 -0
- package/models/components/{digestwitheventsdto.d.ts → digestmetadatadto.d.ts} +47 -14
- package/models/components/digestmetadatadto.d.ts.map +1 -0
- package/models/components/{digestwitheventsdto.js → digestmetadatadto.js} +32 -17
- package/models/components/digestmetadatadto.js.map +1 -0
- package/models/components/digesttimedconfigdto.d.ts +106 -0
- package/models/components/digesttimedconfigdto.d.ts.map +1 -0
- package/models/components/digesttimedconfigdto.js +99 -0
- package/models/components/digesttimedconfigdto.js.map +1 -0
- package/models/components/digesttypeenum.d.ts +37 -0
- package/models/components/digesttypeenum.d.ts.map +1 -0
- package/models/components/digesttypeenum.js +54 -0
- package/models/components/digesttypeenum.js.map +1 -0
- package/models/components/digestunitenum.d.ts +46 -0
- package/models/components/digestunitenum.d.ts.map +1 -0
- package/models/components/digestunitenum.js +57 -0
- package/models/components/digestunitenum.js.map +1 -0
- package/models/components/executiondetailssourceenum.d.ts +40 -0
- package/models/components/executiondetailssourceenum.d.ts.map +1 -0
- package/models/components/executiondetailssourceenum.js +55 -0
- package/models/components/executiondetailssourceenum.js.map +1 -0
- package/models/components/executiondetailsstatusenum.d.ts +46 -0
- package/models/components/executiondetailsstatusenum.d.ts.map +1 -0
- package/models/components/executiondetailsstatusenum.js +57 -0
- package/models/components/executiondetailsstatusenum.js.map +1 -0
- package/models/components/index.d.ts +14 -5
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +14 -5
- package/models/components/index.js.map +1 -1
- package/models/components/monthlytypeenum.d.ts +34 -0
- package/models/components/monthlytypeenum.d.ts.map +1 -0
- package/models/components/monthlytypeenum.js +53 -0
- package/models/components/monthlytypeenum.js.map +1 -0
- package/models/components/notificationstepdata.d.ts +113 -0
- package/models/components/notificationstepdata.d.ts.map +1 -0
- package/models/components/notificationstepdata.js +142 -0
- package/models/components/notificationstepdata.js.map +1 -0
- package/models/components/notificationstepdto.d.ts +116 -0
- package/models/components/notificationstepdto.d.ts.map +1 -0
- package/models/components/notificationstepdto.js +145 -0
- package/models/components/notificationstepdto.js.map +1 -0
- package/models/components/notificationtrigger.d.ts +8 -26
- package/models/components/notificationtrigger.d.ts.map +1 -1
- package/models/components/notificationtrigger.js +13 -16
- package/models/components/notificationtrigger.js.map +1 -1
- package/models/components/notificationtriggerdto.d.ts +77 -0
- package/models/components/notificationtriggerdto.d.ts.map +1 -0
- package/models/components/notificationtriggerdto.js +89 -0
- package/models/components/notificationtriggerdto.js.map +1 -0
- package/models/components/ordinalenum.d.ts +46 -0
- package/models/components/ordinalenum.d.ts.map +1 -0
- package/models/components/{stepfilter.js → ordinalenum.js} +23 -20
- package/models/components/ordinalenum.js.map +1 -0
- package/models/components/ordinalvalueenum.d.ts +58 -0
- package/models/components/ordinalvalueenum.d.ts.map +1 -0
- package/models/components/ordinalvalueenum.js +61 -0
- package/models/components/ordinalvalueenum.js.map +1 -0
- package/models/components/replycallback.d.ts +37 -0
- package/models/components/replycallback.d.ts.map +1 -0
- package/models/components/replycallback.js +61 -0
- package/models/components/replycallback.js.map +1 -0
- package/models/components/stepfilterdto.d.ts +2 -2
- package/models/components/stepfilterdto.d.ts.map +1 -1
- package/models/components/stepfilterdto.js +3 -3
- package/models/components/stepfilterdto.js.map +1 -1
- package/models/components/timedconfig.d.ts +8 -8
- package/models/components/timedconfig.d.ts.map +1 -1
- package/models/components/timedconfig.js +13 -14
- package/models/components/timedconfig.js.map +1 -1
- package/models/components/workflowresponse.d.ts +3 -3
- package/models/components/workflowresponse.d.ts.map +1 -1
- package/models/components/workflowresponse.js +3 -3
- package/models/components/workflowresponse.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/config.ts +3 -3
- package/src/models/components/activitynotificationexecutiondetailresponsedto.ts +16 -81
- package/src/models/components/activitynotificationjobresponsedto.ts +9 -9
- package/src/models/components/activitynotificationresponsedto.ts +228 -0
- package/src/models/components/activitynotificationstepresponsedto.ts +294 -9
- package/src/models/components/activitynotificationtemplateresponsedto.ts +9 -9
- package/src/models/components/builderfieldtypeenum.ts +39 -0
- package/src/models/components/digestmetadatadto.ts +185 -0
- package/src/models/components/digesttimedconfigdto.ts +157 -0
- package/src/models/components/digesttypeenum.ts +40 -0
- package/src/models/components/digestunitenum.ts +43 -0
- package/src/models/components/executiondetailssourceenum.ts +43 -0
- package/src/models/components/executiondetailsstatusenum.ts +45 -0
- package/src/models/components/index.ts +14 -5
- package/src/models/components/monthlytypeenum.ts +39 -0
- package/src/models/components/notificationstepdata.ts +287 -0
- package/src/models/components/notificationstepdto.ts +297 -0
- package/src/models/components/notificationtrigger.ts +18 -33
- package/src/models/components/notificationtriggerdto.ts +130 -0
- package/src/models/components/ordinalenum.ts +41 -0
- package/src/models/components/ordinalvalueenum.ts +47 -0
- package/src/models/components/replycallback.ts +72 -0
- package/src/models/components/stepfilterdto.ts +7 -7
- package/src/models/components/timedconfig.ts +16 -14
- package/src/models/components/workflowresponse.ts +9 -9
- package/models/components/builderfieldtype.d.ts.map +0 -1
- package/models/components/builderfieldtype.js.map +0 -1
- package/models/components/digestwitheventsdto.d.ts.map +0 -1
- package/models/components/digestwitheventsdto.js.map +0 -1
- package/models/components/notificationstep.d.ts +0 -121
- package/models/components/notificationstep.d.ts.map +0 -1
- package/models/components/notificationstep.js +0 -190
- package/models/components/notificationstep.js.map +0 -1
- package/models/components/notificationstepvariant.d.ts +0 -118
- package/models/components/notificationstepvariant.d.ts.map +0 -1
- package/models/components/notificationstepvariant.js +0 -189
- package/models/components/notificationstepvariant.js.map +0 -1
- package/models/components/stepfilter.d.ts +0 -25
- package/models/components/stepfilter.d.ts.map +0 -1
- package/models/components/stepfilter.js.map +0 -1
- package/src/models/components/builderfieldtype.ts +0 -39
- package/src/models/components/digestwitheventsdto.ts +0 -127
- package/src/models/components/notificationstep.ts +0 -341
- package/src/models/components/notificationstepvariant.ts +0 -358
- package/src/models/components/stepfilter.ts +0 -54
|
@@ -1,190 +0,0 @@
|
|
|
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.notificationStepFromJSON = exports.notificationStepToJSON = exports.NotificationStep$ = exports.NotificationStep$outboundSchema = exports.NotificationStep$inboundSchema = exports.replyCallbackFromJSON = exports.replyCallbackToJSON = exports.ReplyCallback$ = exports.ReplyCallback$outboundSchema = exports.ReplyCallback$inboundSchema = exports.metadataFromJSON = exports.metadataToJSON = exports.Metadata$ = exports.Metadata$outboundSchema = exports.Metadata$inboundSchema = exports.parentIdFromJSON = exports.parentIdToJSON = exports.ParentId$ = exports.ParentId$outboundSchema = exports.ParentId$inboundSchema = void 0;
|
|
30
|
-
const z = __importStar(require("zod"));
|
|
31
|
-
const primitives_js_1 = require("../../lib/primitives.js");
|
|
32
|
-
const schemas_js_1 = require("../../lib/schemas.js");
|
|
33
|
-
const delayregularmetadata_js_1 = require("./delayregularmetadata.js");
|
|
34
|
-
const delayscheduledmetadata_js_1 = require("./delayscheduledmetadata.js");
|
|
35
|
-
const digestregularmetadata_js_1 = require("./digestregularmetadata.js");
|
|
36
|
-
const digesttimedmetadata_js_1 = require("./digesttimedmetadata.js");
|
|
37
|
-
const messagetemplate_js_1 = require("./messagetemplate.js");
|
|
38
|
-
const notificationstepvariant_js_1 = require("./notificationstepvariant.js");
|
|
39
|
-
const stepfilterdto_js_1 = require("./stepfilterdto.js");
|
|
40
|
-
/** @internal */
|
|
41
|
-
exports.ParentId$inboundSchema = z.object({});
|
|
42
|
-
/** @internal */
|
|
43
|
-
exports.ParentId$outboundSchema = z.object({});
|
|
44
|
-
/**
|
|
45
|
-
* @internal
|
|
46
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
47
|
-
*/
|
|
48
|
-
var ParentId$;
|
|
49
|
-
(function (ParentId$) {
|
|
50
|
-
/** @deprecated use `ParentId$inboundSchema` instead. */
|
|
51
|
-
ParentId$.inboundSchema = exports.ParentId$inboundSchema;
|
|
52
|
-
/** @deprecated use `ParentId$outboundSchema` instead. */
|
|
53
|
-
ParentId$.outboundSchema = exports.ParentId$outboundSchema;
|
|
54
|
-
})(ParentId$ || (exports.ParentId$ = ParentId$ = {}));
|
|
55
|
-
function parentIdToJSON(parentId) {
|
|
56
|
-
return JSON.stringify(exports.ParentId$outboundSchema.parse(parentId));
|
|
57
|
-
}
|
|
58
|
-
exports.parentIdToJSON = parentIdToJSON;
|
|
59
|
-
function parentIdFromJSON(jsonString) {
|
|
60
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ParentId$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ParentId' from JSON`);
|
|
61
|
-
}
|
|
62
|
-
exports.parentIdFromJSON = parentIdFromJSON;
|
|
63
|
-
/** @internal */
|
|
64
|
-
exports.Metadata$inboundSchema = z.union([
|
|
65
|
-
delayscheduledmetadata_js_1.DelayScheduledMetadata$inboundSchema,
|
|
66
|
-
delayregularmetadata_js_1.DelayRegularMetadata$inboundSchema,
|
|
67
|
-
digesttimedmetadata_js_1.DigestTimedMetadata$inboundSchema,
|
|
68
|
-
digestregularmetadata_js_1.DigestRegularMetadata$inboundSchema,
|
|
69
|
-
]);
|
|
70
|
-
/** @internal */
|
|
71
|
-
exports.Metadata$outboundSchema = z.union([
|
|
72
|
-
delayscheduledmetadata_js_1.DelayScheduledMetadata$outboundSchema,
|
|
73
|
-
delayregularmetadata_js_1.DelayRegularMetadata$outboundSchema,
|
|
74
|
-
digesttimedmetadata_js_1.DigestTimedMetadata$outboundSchema,
|
|
75
|
-
digestregularmetadata_js_1.DigestRegularMetadata$outboundSchema,
|
|
76
|
-
]);
|
|
77
|
-
/**
|
|
78
|
-
* @internal
|
|
79
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
80
|
-
*/
|
|
81
|
-
var Metadata$;
|
|
82
|
-
(function (Metadata$) {
|
|
83
|
-
/** @deprecated use `Metadata$inboundSchema` instead. */
|
|
84
|
-
Metadata$.inboundSchema = exports.Metadata$inboundSchema;
|
|
85
|
-
/** @deprecated use `Metadata$outboundSchema` instead. */
|
|
86
|
-
Metadata$.outboundSchema = exports.Metadata$outboundSchema;
|
|
87
|
-
})(Metadata$ || (exports.Metadata$ = Metadata$ = {}));
|
|
88
|
-
function metadataToJSON(metadata) {
|
|
89
|
-
return JSON.stringify(exports.Metadata$outboundSchema.parse(metadata));
|
|
90
|
-
}
|
|
91
|
-
exports.metadataToJSON = metadataToJSON;
|
|
92
|
-
function metadataFromJSON(jsonString) {
|
|
93
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Metadata$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Metadata' from JSON`);
|
|
94
|
-
}
|
|
95
|
-
exports.metadataFromJSON = metadataFromJSON;
|
|
96
|
-
/** @internal */
|
|
97
|
-
exports.ReplyCallback$inboundSchema = z.object({});
|
|
98
|
-
/** @internal */
|
|
99
|
-
exports.ReplyCallback$outboundSchema = z.object({});
|
|
100
|
-
/**
|
|
101
|
-
* @internal
|
|
102
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
103
|
-
*/
|
|
104
|
-
var ReplyCallback$;
|
|
105
|
-
(function (ReplyCallback$) {
|
|
106
|
-
/** @deprecated use `ReplyCallback$inboundSchema` instead. */
|
|
107
|
-
ReplyCallback$.inboundSchema = exports.ReplyCallback$inboundSchema;
|
|
108
|
-
/** @deprecated use `ReplyCallback$outboundSchema` instead. */
|
|
109
|
-
ReplyCallback$.outboundSchema = exports.ReplyCallback$outboundSchema;
|
|
110
|
-
})(ReplyCallback$ || (exports.ReplyCallback$ = ReplyCallback$ = {}));
|
|
111
|
-
function replyCallbackToJSON(replyCallback) {
|
|
112
|
-
return JSON.stringify(exports.ReplyCallback$outboundSchema.parse(replyCallback));
|
|
113
|
-
}
|
|
114
|
-
exports.replyCallbackToJSON = replyCallbackToJSON;
|
|
115
|
-
function replyCallbackFromJSON(jsonString) {
|
|
116
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ReplyCallback$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ReplyCallback' from JSON`);
|
|
117
|
-
}
|
|
118
|
-
exports.replyCallbackFromJSON = replyCallbackFromJSON;
|
|
119
|
-
/** @internal */
|
|
120
|
-
exports.NotificationStep$inboundSchema = z.object({
|
|
121
|
-
_id: z.string().optional(),
|
|
122
|
-
uuid: z.string().optional(),
|
|
123
|
-
name: z.string().optional(),
|
|
124
|
-
_templateId: z.string().optional(),
|
|
125
|
-
active: z.boolean().optional(),
|
|
126
|
-
shouldStopOnFail: z.boolean().optional(),
|
|
127
|
-
template: messagetemplate_js_1.MessageTemplate$inboundSchema.optional(),
|
|
128
|
-
filters: z.array(stepfilterdto_js_1.StepFilterDto$inboundSchema).optional(),
|
|
129
|
-
_parentId: z.lazy(() => exports.ParentId$inboundSchema).optional(),
|
|
130
|
-
metadata: z.union([
|
|
131
|
-
delayscheduledmetadata_js_1.DelayScheduledMetadata$inboundSchema,
|
|
132
|
-
delayregularmetadata_js_1.DelayRegularMetadata$inboundSchema,
|
|
133
|
-
digesttimedmetadata_js_1.DigestTimedMetadata$inboundSchema,
|
|
134
|
-
digestregularmetadata_js_1.DigestRegularMetadata$inboundSchema,
|
|
135
|
-
]).optional(),
|
|
136
|
-
replyCallback: z.lazy(() => exports.ReplyCallback$inboundSchema).optional(),
|
|
137
|
-
variants: notificationstepvariant_js_1.NotificationStepVariant$inboundSchema.optional(),
|
|
138
|
-
}).transform((v) => {
|
|
139
|
-
return (0, primitives_js_1.remap)(v, {
|
|
140
|
-
"_id": "id",
|
|
141
|
-
"_templateId": "templateId",
|
|
142
|
-
"_parentId": "parentId",
|
|
143
|
-
});
|
|
144
|
-
});
|
|
145
|
-
/** @internal */
|
|
146
|
-
exports.NotificationStep$outboundSchema = z.object({
|
|
147
|
-
id: z.string().optional(),
|
|
148
|
-
uuid: z.string().optional(),
|
|
149
|
-
name: z.string().optional(),
|
|
150
|
-
templateId: z.string().optional(),
|
|
151
|
-
active: z.boolean().optional(),
|
|
152
|
-
shouldStopOnFail: z.boolean().optional(),
|
|
153
|
-
template: messagetemplate_js_1.MessageTemplate$outboundSchema.optional(),
|
|
154
|
-
filters: z.array(stepfilterdto_js_1.StepFilterDto$outboundSchema).optional(),
|
|
155
|
-
parentId: z.lazy(() => exports.ParentId$outboundSchema).optional(),
|
|
156
|
-
metadata: z.union([
|
|
157
|
-
delayscheduledmetadata_js_1.DelayScheduledMetadata$outboundSchema,
|
|
158
|
-
delayregularmetadata_js_1.DelayRegularMetadata$outboundSchema,
|
|
159
|
-
digesttimedmetadata_js_1.DigestTimedMetadata$outboundSchema,
|
|
160
|
-
digestregularmetadata_js_1.DigestRegularMetadata$outboundSchema,
|
|
161
|
-
]).optional(),
|
|
162
|
-
replyCallback: z.lazy(() => exports.ReplyCallback$outboundSchema).optional(),
|
|
163
|
-
variants: notificationstepvariant_js_1.NotificationStepVariant$outboundSchema.optional(),
|
|
164
|
-
}).transform((v) => {
|
|
165
|
-
return (0, primitives_js_1.remap)(v, {
|
|
166
|
-
id: "_id",
|
|
167
|
-
templateId: "_templateId",
|
|
168
|
-
parentId: "_parentId",
|
|
169
|
-
});
|
|
170
|
-
});
|
|
171
|
-
/**
|
|
172
|
-
* @internal
|
|
173
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
174
|
-
*/
|
|
175
|
-
var NotificationStep$;
|
|
176
|
-
(function (NotificationStep$) {
|
|
177
|
-
/** @deprecated use `NotificationStep$inboundSchema` instead. */
|
|
178
|
-
NotificationStep$.inboundSchema = exports.NotificationStep$inboundSchema;
|
|
179
|
-
/** @deprecated use `NotificationStep$outboundSchema` instead. */
|
|
180
|
-
NotificationStep$.outboundSchema = exports.NotificationStep$outboundSchema;
|
|
181
|
-
})(NotificationStep$ || (exports.NotificationStep$ = NotificationStep$ = {}));
|
|
182
|
-
function notificationStepToJSON(notificationStep) {
|
|
183
|
-
return JSON.stringify(exports.NotificationStep$outboundSchema.parse(notificationStep));
|
|
184
|
-
}
|
|
185
|
-
exports.notificationStepToJSON = notificationStepToJSON;
|
|
186
|
-
function notificationStepFromJSON(jsonString) {
|
|
187
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.NotificationStep$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'NotificationStep' from JSON`);
|
|
188
|
-
}
|
|
189
|
-
exports.notificationStepFromJSON = notificationStepFromJSON;
|
|
190
|
-
//# sourceMappingURL=notificationstep.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"notificationstep.js","sourceRoot":"","sources":["../../src/models/components/notificationstep.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAGjD,uEAKmC;AACnC,2EAKqC;AACrC,yEAKoC;AACpC,qEAKkC;AAClC,6DA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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"}
|
|
@@ -1,118 +0,0 @@
|
|
|
1
|
-
import * as z from "zod";
|
|
2
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
-
import { DelayRegularMetadata, DelayRegularMetadata$Outbound } from "./delayregularmetadata.js";
|
|
5
|
-
import { DelayScheduledMetadata, DelayScheduledMetadata$Outbound } from "./delayscheduledmetadata.js";
|
|
6
|
-
import { DigestRegularMetadata, DigestRegularMetadata$Outbound } from "./digestregularmetadata.js";
|
|
7
|
-
import { DigestTimedMetadata, DigestTimedMetadata$Outbound } from "./digesttimedmetadata.js";
|
|
8
|
-
import { MessageTemplate, MessageTemplate$Outbound } from "./messagetemplate.js";
|
|
9
|
-
import { StepFilterDto, StepFilterDto$Outbound } from "./stepfilterdto.js";
|
|
10
|
-
export type NotificationStepVariantParentId = {};
|
|
11
|
-
export type NotificationStepVariantMetadata = DelayScheduledMetadata | DelayRegularMetadata | DigestTimedMetadata | DigestRegularMetadata;
|
|
12
|
-
export type NotificationStepVariantReplyCallback = {};
|
|
13
|
-
export type NotificationStepVariant = {
|
|
14
|
-
id?: string | undefined;
|
|
15
|
-
uuid?: string | undefined;
|
|
16
|
-
name?: string | undefined;
|
|
17
|
-
templateId?: string | undefined;
|
|
18
|
-
active?: boolean | undefined;
|
|
19
|
-
shouldStopOnFail?: boolean | undefined;
|
|
20
|
-
template?: MessageTemplate | undefined;
|
|
21
|
-
filters?: Array<StepFilterDto> | undefined;
|
|
22
|
-
parentId?: NotificationStepVariantParentId | undefined;
|
|
23
|
-
metadata?: DelayScheduledMetadata | DelayRegularMetadata | DigestTimedMetadata | DigestRegularMetadata | undefined;
|
|
24
|
-
replyCallback?: NotificationStepVariantReplyCallback | undefined;
|
|
25
|
-
};
|
|
26
|
-
/** @internal */
|
|
27
|
-
export declare const NotificationStepVariantParentId$inboundSchema: z.ZodType<NotificationStepVariantParentId, z.ZodTypeDef, unknown>;
|
|
28
|
-
/** @internal */
|
|
29
|
-
export type NotificationStepVariantParentId$Outbound = {};
|
|
30
|
-
/** @internal */
|
|
31
|
-
export declare const NotificationStepVariantParentId$outboundSchema: z.ZodType<NotificationStepVariantParentId$Outbound, z.ZodTypeDef, NotificationStepVariantParentId>;
|
|
32
|
-
/**
|
|
33
|
-
* @internal
|
|
34
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
35
|
-
*/
|
|
36
|
-
export declare namespace NotificationStepVariantParentId$ {
|
|
37
|
-
/** @deprecated use `NotificationStepVariantParentId$inboundSchema` instead. */
|
|
38
|
-
const inboundSchema: z.ZodType<NotificationStepVariantParentId, z.ZodTypeDef, unknown>;
|
|
39
|
-
/** @deprecated use `NotificationStepVariantParentId$outboundSchema` instead. */
|
|
40
|
-
const outboundSchema: z.ZodType<NotificationStepVariantParentId$Outbound, z.ZodTypeDef, NotificationStepVariantParentId>;
|
|
41
|
-
/** @deprecated use `NotificationStepVariantParentId$Outbound` instead. */
|
|
42
|
-
type Outbound = NotificationStepVariantParentId$Outbound;
|
|
43
|
-
}
|
|
44
|
-
export declare function notificationStepVariantParentIdToJSON(notificationStepVariantParentId: NotificationStepVariantParentId): string;
|
|
45
|
-
export declare function notificationStepVariantParentIdFromJSON(jsonString: string): SafeParseResult<NotificationStepVariantParentId, SDKValidationError>;
|
|
46
|
-
/** @internal */
|
|
47
|
-
export declare const NotificationStepVariantMetadata$inboundSchema: z.ZodType<NotificationStepVariantMetadata, z.ZodTypeDef, unknown>;
|
|
48
|
-
/** @internal */
|
|
49
|
-
export type NotificationStepVariantMetadata$Outbound = DelayScheduledMetadata$Outbound | DelayRegularMetadata$Outbound | DigestTimedMetadata$Outbound | DigestRegularMetadata$Outbound;
|
|
50
|
-
/** @internal */
|
|
51
|
-
export declare const NotificationStepVariantMetadata$outboundSchema: z.ZodType<NotificationStepVariantMetadata$Outbound, z.ZodTypeDef, NotificationStepVariantMetadata>;
|
|
52
|
-
/**
|
|
53
|
-
* @internal
|
|
54
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
55
|
-
*/
|
|
56
|
-
export declare namespace NotificationStepVariantMetadata$ {
|
|
57
|
-
/** @deprecated use `NotificationStepVariantMetadata$inboundSchema` instead. */
|
|
58
|
-
const inboundSchema: z.ZodType<NotificationStepVariantMetadata, z.ZodTypeDef, unknown>;
|
|
59
|
-
/** @deprecated use `NotificationStepVariantMetadata$outboundSchema` instead. */
|
|
60
|
-
const outboundSchema: z.ZodType<NotificationStepVariantMetadata$Outbound, z.ZodTypeDef, NotificationStepVariantMetadata>;
|
|
61
|
-
/** @deprecated use `NotificationStepVariantMetadata$Outbound` instead. */
|
|
62
|
-
type Outbound = NotificationStepVariantMetadata$Outbound;
|
|
63
|
-
}
|
|
64
|
-
export declare function notificationStepVariantMetadataToJSON(notificationStepVariantMetadata: NotificationStepVariantMetadata): string;
|
|
65
|
-
export declare function notificationStepVariantMetadataFromJSON(jsonString: string): SafeParseResult<NotificationStepVariantMetadata, SDKValidationError>;
|
|
66
|
-
/** @internal */
|
|
67
|
-
export declare const NotificationStepVariantReplyCallback$inboundSchema: z.ZodType<NotificationStepVariantReplyCallback, z.ZodTypeDef, unknown>;
|
|
68
|
-
/** @internal */
|
|
69
|
-
export type NotificationStepVariantReplyCallback$Outbound = {};
|
|
70
|
-
/** @internal */
|
|
71
|
-
export declare const NotificationStepVariantReplyCallback$outboundSchema: z.ZodType<NotificationStepVariantReplyCallback$Outbound, z.ZodTypeDef, NotificationStepVariantReplyCallback>;
|
|
72
|
-
/**
|
|
73
|
-
* @internal
|
|
74
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
75
|
-
*/
|
|
76
|
-
export declare namespace NotificationStepVariantReplyCallback$ {
|
|
77
|
-
/** @deprecated use `NotificationStepVariantReplyCallback$inboundSchema` instead. */
|
|
78
|
-
const inboundSchema: z.ZodType<NotificationStepVariantReplyCallback, z.ZodTypeDef, unknown>;
|
|
79
|
-
/** @deprecated use `NotificationStepVariantReplyCallback$outboundSchema` instead. */
|
|
80
|
-
const outboundSchema: z.ZodType<NotificationStepVariantReplyCallback$Outbound, z.ZodTypeDef, NotificationStepVariantReplyCallback>;
|
|
81
|
-
/** @deprecated use `NotificationStepVariantReplyCallback$Outbound` instead. */
|
|
82
|
-
type Outbound = NotificationStepVariantReplyCallback$Outbound;
|
|
83
|
-
}
|
|
84
|
-
export declare function notificationStepVariantReplyCallbackToJSON(notificationStepVariantReplyCallback: NotificationStepVariantReplyCallback): string;
|
|
85
|
-
export declare function notificationStepVariantReplyCallbackFromJSON(jsonString: string): SafeParseResult<NotificationStepVariantReplyCallback, SDKValidationError>;
|
|
86
|
-
/** @internal */
|
|
87
|
-
export declare const NotificationStepVariant$inboundSchema: z.ZodType<NotificationStepVariant, z.ZodTypeDef, unknown>;
|
|
88
|
-
/** @internal */
|
|
89
|
-
export type NotificationStepVariant$Outbound = {
|
|
90
|
-
_id?: string | undefined;
|
|
91
|
-
uuid?: string | undefined;
|
|
92
|
-
name?: string | undefined;
|
|
93
|
-
_templateId?: string | undefined;
|
|
94
|
-
active?: boolean | undefined;
|
|
95
|
-
shouldStopOnFail?: boolean | undefined;
|
|
96
|
-
template?: MessageTemplate$Outbound | undefined;
|
|
97
|
-
filters?: Array<StepFilterDto$Outbound> | undefined;
|
|
98
|
-
_parentId?: NotificationStepVariantParentId$Outbound | undefined;
|
|
99
|
-
metadata?: DelayScheduledMetadata$Outbound | DelayRegularMetadata$Outbound | DigestTimedMetadata$Outbound | DigestRegularMetadata$Outbound | undefined;
|
|
100
|
-
replyCallback?: NotificationStepVariantReplyCallback$Outbound | undefined;
|
|
101
|
-
};
|
|
102
|
-
/** @internal */
|
|
103
|
-
export declare const NotificationStepVariant$outboundSchema: z.ZodType<NotificationStepVariant$Outbound, z.ZodTypeDef, NotificationStepVariant>;
|
|
104
|
-
/**
|
|
105
|
-
* @internal
|
|
106
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
107
|
-
*/
|
|
108
|
-
export declare namespace NotificationStepVariant$ {
|
|
109
|
-
/** @deprecated use `NotificationStepVariant$inboundSchema` instead. */
|
|
110
|
-
const inboundSchema: z.ZodType<NotificationStepVariant, z.ZodTypeDef, unknown>;
|
|
111
|
-
/** @deprecated use `NotificationStepVariant$outboundSchema` instead. */
|
|
112
|
-
const outboundSchema: z.ZodType<NotificationStepVariant$Outbound, z.ZodTypeDef, NotificationStepVariant>;
|
|
113
|
-
/** @deprecated use `NotificationStepVariant$Outbound` instead. */
|
|
114
|
-
type Outbound = NotificationStepVariant$Outbound;
|
|
115
|
-
}
|
|
116
|
-
export declare function notificationStepVariantToJSON(notificationStepVariant: NotificationStepVariant): string;
|
|
117
|
-
export declare function notificationStepVariantFromJSON(jsonString: string): SafeParseResult<NotificationStepVariant, SDKValidationError>;
|
|
118
|
-
//# sourceMappingURL=notificationstepvariant.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"notificationstepvariant.d.ts","sourceRoot":"","sources":["../../src/models/components/notificationstepvariant.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,oBAAoB,EAEpB,6BAA6B,EAE9B,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EAAE,OAAO,GAAG,SAAS,CAAC;IAC7B,gBAAgB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACvC,QAAQ,CAAC,EAAE,wBAAwB,GAAG,SAAS,CAAC;IAChD,OAAO,CAAC,EAAE,KAAK,CAAC,sBAAsB,CAAC,GAAG,SAAS,CAAC;IACpD,SAAS,CAAC,EAAE,wCAAwC,GAAG,SAAS,CAAC;IACjE,QAAQ,CAAC,EACL,+BAA+B,GAC/B,6BAA6B,GAC7B,4BAA4B,GAC5B,8BAA8B,GAC9B,SAAS,CAAC;IACd,aAAa,CAAC,EAAE,6CAA6C,GAAG,SAAS,CAAC;CAC3E,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,sCAAsC,EAAE,CAAC,CAAC,OAAO,CAC5D,gCAAgC,EAChC,CAAC,CAAC,UAAU,EACZ,uBAAuB,CA2BvB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,wBAAwB,CAAC;IACxC,uEAAuE;IAChE,MAAM,aAAa,2DAAwC,CAAC;IACnE,wEAAwE;IACjE,MAAM,cAAc,oFAAyC,CAAC;IACrE,kEAAkE;IAClE,KAAY,QAAQ,GAAG,gCAAgC,CAAC;CACzD;AAED,wBAAgB,6BAA6B,CAC3C,uBAAuB,EAAE,uBAAuB,GAC/C,MAAM,CAIR;AAED,wBAAgB,+BAA+B,CAC7C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,uBAAuB,EAAE,kBAAkB,CAAC,CAM9D"}
|
|
@@ -1,189 +0,0 @@
|
|
|
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.notificationStepVariantFromJSON = exports.notificationStepVariantToJSON = exports.NotificationStepVariant$ = exports.NotificationStepVariant$outboundSchema = exports.NotificationStepVariant$inboundSchema = exports.notificationStepVariantReplyCallbackFromJSON = exports.notificationStepVariantReplyCallbackToJSON = exports.NotificationStepVariantReplyCallback$ = exports.NotificationStepVariantReplyCallback$outboundSchema = exports.NotificationStepVariantReplyCallback$inboundSchema = exports.notificationStepVariantMetadataFromJSON = exports.notificationStepVariantMetadataToJSON = exports.NotificationStepVariantMetadata$ = exports.NotificationStepVariantMetadata$outboundSchema = exports.NotificationStepVariantMetadata$inboundSchema = exports.notificationStepVariantParentIdFromJSON = exports.notificationStepVariantParentIdToJSON = exports.NotificationStepVariantParentId$ = exports.NotificationStepVariantParentId$outboundSchema = exports.NotificationStepVariantParentId$inboundSchema = void 0;
|
|
30
|
-
const z = __importStar(require("zod"));
|
|
31
|
-
const primitives_js_1 = require("../../lib/primitives.js");
|
|
32
|
-
const schemas_js_1 = require("../../lib/schemas.js");
|
|
33
|
-
const delayregularmetadata_js_1 = require("./delayregularmetadata.js");
|
|
34
|
-
const delayscheduledmetadata_js_1 = require("./delayscheduledmetadata.js");
|
|
35
|
-
const digestregularmetadata_js_1 = require("./digestregularmetadata.js");
|
|
36
|
-
const digesttimedmetadata_js_1 = require("./digesttimedmetadata.js");
|
|
37
|
-
const messagetemplate_js_1 = require("./messagetemplate.js");
|
|
38
|
-
const stepfilterdto_js_1 = require("./stepfilterdto.js");
|
|
39
|
-
/** @internal */
|
|
40
|
-
exports.NotificationStepVariantParentId$inboundSchema = z.object({});
|
|
41
|
-
/** @internal */
|
|
42
|
-
exports.NotificationStepVariantParentId$outboundSchema = z.object({});
|
|
43
|
-
/**
|
|
44
|
-
* @internal
|
|
45
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
46
|
-
*/
|
|
47
|
-
var NotificationStepVariantParentId$;
|
|
48
|
-
(function (NotificationStepVariantParentId$) {
|
|
49
|
-
/** @deprecated use `NotificationStepVariantParentId$inboundSchema` instead. */
|
|
50
|
-
NotificationStepVariantParentId$.inboundSchema = exports.NotificationStepVariantParentId$inboundSchema;
|
|
51
|
-
/** @deprecated use `NotificationStepVariantParentId$outboundSchema` instead. */
|
|
52
|
-
NotificationStepVariantParentId$.outboundSchema = exports.NotificationStepVariantParentId$outboundSchema;
|
|
53
|
-
})(NotificationStepVariantParentId$ || (exports.NotificationStepVariantParentId$ = NotificationStepVariantParentId$ = {}));
|
|
54
|
-
function notificationStepVariantParentIdToJSON(notificationStepVariantParentId) {
|
|
55
|
-
return JSON.stringify(exports.NotificationStepVariantParentId$outboundSchema.parse(notificationStepVariantParentId));
|
|
56
|
-
}
|
|
57
|
-
exports.notificationStepVariantParentIdToJSON = notificationStepVariantParentIdToJSON;
|
|
58
|
-
function notificationStepVariantParentIdFromJSON(jsonString) {
|
|
59
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.NotificationStepVariantParentId$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'NotificationStepVariantParentId' from JSON`);
|
|
60
|
-
}
|
|
61
|
-
exports.notificationStepVariantParentIdFromJSON = notificationStepVariantParentIdFromJSON;
|
|
62
|
-
/** @internal */
|
|
63
|
-
exports.NotificationStepVariantMetadata$inboundSchema = z.union([
|
|
64
|
-
delayscheduledmetadata_js_1.DelayScheduledMetadata$inboundSchema,
|
|
65
|
-
delayregularmetadata_js_1.DelayRegularMetadata$inboundSchema,
|
|
66
|
-
digesttimedmetadata_js_1.DigestTimedMetadata$inboundSchema,
|
|
67
|
-
digestregularmetadata_js_1.DigestRegularMetadata$inboundSchema,
|
|
68
|
-
]);
|
|
69
|
-
/** @internal */
|
|
70
|
-
exports.NotificationStepVariantMetadata$outboundSchema = z.union([
|
|
71
|
-
delayscheduledmetadata_js_1.DelayScheduledMetadata$outboundSchema,
|
|
72
|
-
delayregularmetadata_js_1.DelayRegularMetadata$outboundSchema,
|
|
73
|
-
digesttimedmetadata_js_1.DigestTimedMetadata$outboundSchema,
|
|
74
|
-
digestregularmetadata_js_1.DigestRegularMetadata$outboundSchema,
|
|
75
|
-
]);
|
|
76
|
-
/**
|
|
77
|
-
* @internal
|
|
78
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
79
|
-
*/
|
|
80
|
-
var NotificationStepVariantMetadata$;
|
|
81
|
-
(function (NotificationStepVariantMetadata$) {
|
|
82
|
-
/** @deprecated use `NotificationStepVariantMetadata$inboundSchema` instead. */
|
|
83
|
-
NotificationStepVariantMetadata$.inboundSchema = exports.NotificationStepVariantMetadata$inboundSchema;
|
|
84
|
-
/** @deprecated use `NotificationStepVariantMetadata$outboundSchema` instead. */
|
|
85
|
-
NotificationStepVariantMetadata$.outboundSchema = exports.NotificationStepVariantMetadata$outboundSchema;
|
|
86
|
-
})(NotificationStepVariantMetadata$ || (exports.NotificationStepVariantMetadata$ = NotificationStepVariantMetadata$ = {}));
|
|
87
|
-
function notificationStepVariantMetadataToJSON(notificationStepVariantMetadata) {
|
|
88
|
-
return JSON.stringify(exports.NotificationStepVariantMetadata$outboundSchema.parse(notificationStepVariantMetadata));
|
|
89
|
-
}
|
|
90
|
-
exports.notificationStepVariantMetadataToJSON = notificationStepVariantMetadataToJSON;
|
|
91
|
-
function notificationStepVariantMetadataFromJSON(jsonString) {
|
|
92
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.NotificationStepVariantMetadata$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'NotificationStepVariantMetadata' from JSON`);
|
|
93
|
-
}
|
|
94
|
-
exports.notificationStepVariantMetadataFromJSON = notificationStepVariantMetadataFromJSON;
|
|
95
|
-
/** @internal */
|
|
96
|
-
exports.NotificationStepVariantReplyCallback$inboundSchema = z.object({});
|
|
97
|
-
/** @internal */
|
|
98
|
-
exports.NotificationStepVariantReplyCallback$outboundSchema = z.object({});
|
|
99
|
-
/**
|
|
100
|
-
* @internal
|
|
101
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
102
|
-
*/
|
|
103
|
-
var NotificationStepVariantReplyCallback$;
|
|
104
|
-
(function (NotificationStepVariantReplyCallback$) {
|
|
105
|
-
/** @deprecated use `NotificationStepVariantReplyCallback$inboundSchema` instead. */
|
|
106
|
-
NotificationStepVariantReplyCallback$.inboundSchema = exports.NotificationStepVariantReplyCallback$inboundSchema;
|
|
107
|
-
/** @deprecated use `NotificationStepVariantReplyCallback$outboundSchema` instead. */
|
|
108
|
-
NotificationStepVariantReplyCallback$.outboundSchema = exports.NotificationStepVariantReplyCallback$outboundSchema;
|
|
109
|
-
})(NotificationStepVariantReplyCallback$ || (exports.NotificationStepVariantReplyCallback$ = NotificationStepVariantReplyCallback$ = {}));
|
|
110
|
-
function notificationStepVariantReplyCallbackToJSON(notificationStepVariantReplyCallback) {
|
|
111
|
-
return JSON.stringify(exports.NotificationStepVariantReplyCallback$outboundSchema.parse(notificationStepVariantReplyCallback));
|
|
112
|
-
}
|
|
113
|
-
exports.notificationStepVariantReplyCallbackToJSON = notificationStepVariantReplyCallbackToJSON;
|
|
114
|
-
function notificationStepVariantReplyCallbackFromJSON(jsonString) {
|
|
115
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.NotificationStepVariantReplyCallback$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'NotificationStepVariantReplyCallback' from JSON`);
|
|
116
|
-
}
|
|
117
|
-
exports.notificationStepVariantReplyCallbackFromJSON = notificationStepVariantReplyCallbackFromJSON;
|
|
118
|
-
/** @internal */
|
|
119
|
-
exports.NotificationStepVariant$inboundSchema = z.object({
|
|
120
|
-
_id: z.string().optional(),
|
|
121
|
-
uuid: z.string().optional(),
|
|
122
|
-
name: z.string().optional(),
|
|
123
|
-
_templateId: z.string().optional(),
|
|
124
|
-
active: z.boolean().optional(),
|
|
125
|
-
shouldStopOnFail: z.boolean().optional(),
|
|
126
|
-
template: messagetemplate_js_1.MessageTemplate$inboundSchema.optional(),
|
|
127
|
-
filters: z.array(stepfilterdto_js_1.StepFilterDto$inboundSchema).optional(),
|
|
128
|
-
_parentId: z.lazy(() => exports.NotificationStepVariantParentId$inboundSchema)
|
|
129
|
-
.optional(),
|
|
130
|
-
metadata: z.union([
|
|
131
|
-
delayscheduledmetadata_js_1.DelayScheduledMetadata$inboundSchema,
|
|
132
|
-
delayregularmetadata_js_1.DelayRegularMetadata$inboundSchema,
|
|
133
|
-
digesttimedmetadata_js_1.DigestTimedMetadata$inboundSchema,
|
|
134
|
-
digestregularmetadata_js_1.DigestRegularMetadata$inboundSchema,
|
|
135
|
-
]).optional(),
|
|
136
|
-
replyCallback: z.lazy(() => exports.NotificationStepVariantReplyCallback$inboundSchema).optional(),
|
|
137
|
-
}).transform((v) => {
|
|
138
|
-
return (0, primitives_js_1.remap)(v, {
|
|
139
|
-
"_id": "id",
|
|
140
|
-
"_templateId": "templateId",
|
|
141
|
-
"_parentId": "parentId",
|
|
142
|
-
});
|
|
143
|
-
});
|
|
144
|
-
/** @internal */
|
|
145
|
-
exports.NotificationStepVariant$outboundSchema = z.object({
|
|
146
|
-
id: z.string().optional(),
|
|
147
|
-
uuid: z.string().optional(),
|
|
148
|
-
name: z.string().optional(),
|
|
149
|
-
templateId: z.string().optional(),
|
|
150
|
-
active: z.boolean().optional(),
|
|
151
|
-
shouldStopOnFail: z.boolean().optional(),
|
|
152
|
-
template: messagetemplate_js_1.MessageTemplate$outboundSchema.optional(),
|
|
153
|
-
filters: z.array(stepfilterdto_js_1.StepFilterDto$outboundSchema).optional(),
|
|
154
|
-
parentId: z.lazy(() => exports.NotificationStepVariantParentId$outboundSchema)
|
|
155
|
-
.optional(),
|
|
156
|
-
metadata: z.union([
|
|
157
|
-
delayscheduledmetadata_js_1.DelayScheduledMetadata$outboundSchema,
|
|
158
|
-
delayregularmetadata_js_1.DelayRegularMetadata$outboundSchema,
|
|
159
|
-
digesttimedmetadata_js_1.DigestTimedMetadata$outboundSchema,
|
|
160
|
-
digestregularmetadata_js_1.DigestRegularMetadata$outboundSchema,
|
|
161
|
-
]).optional(),
|
|
162
|
-
replyCallback: z.lazy(() => exports.NotificationStepVariantReplyCallback$outboundSchema).optional(),
|
|
163
|
-
}).transform((v) => {
|
|
164
|
-
return (0, primitives_js_1.remap)(v, {
|
|
165
|
-
id: "_id",
|
|
166
|
-
templateId: "_templateId",
|
|
167
|
-
parentId: "_parentId",
|
|
168
|
-
});
|
|
169
|
-
});
|
|
170
|
-
/**
|
|
171
|
-
* @internal
|
|
172
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
173
|
-
*/
|
|
174
|
-
var NotificationStepVariant$;
|
|
175
|
-
(function (NotificationStepVariant$) {
|
|
176
|
-
/** @deprecated use `NotificationStepVariant$inboundSchema` instead. */
|
|
177
|
-
NotificationStepVariant$.inboundSchema = exports.NotificationStepVariant$inboundSchema;
|
|
178
|
-
/** @deprecated use `NotificationStepVariant$outboundSchema` instead. */
|
|
179
|
-
NotificationStepVariant$.outboundSchema = exports.NotificationStepVariant$outboundSchema;
|
|
180
|
-
})(NotificationStepVariant$ || (exports.NotificationStepVariant$ = NotificationStepVariant$ = {}));
|
|
181
|
-
function notificationStepVariantToJSON(notificationStepVariant) {
|
|
182
|
-
return JSON.stringify(exports.NotificationStepVariant$outboundSchema.parse(notificationStepVariant));
|
|
183
|
-
}
|
|
184
|
-
exports.notificationStepVariantToJSON = notificationStepVariantToJSON;
|
|
185
|
-
function notificationStepVariantFromJSON(jsonString) {
|
|
186
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.NotificationStepVariant$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'NotificationStepVariant' from JSON`);
|
|
187
|
-
}
|
|
188
|
-
exports.notificationStepVariantFromJSON = notificationStepVariantFromJSON;
|
|
189
|
-
//# sourceMappingURL=notificationstepvariant.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"notificationstepvariant.js","sourceRoot":"","sources":["../../src/models/components/notificationstepvariant.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAGjD,uEAKmC;AACnC,2EAKqC;AACrC,yEAKoC;AACpC,qEAKkC;AAClC,6DAK8B;AAC9B,yDAK4B;AA+B5B,gBAAgB;AACH,QAAA,6CAA6C,GAItD,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;AAKjB,gBAAgB;AACH,QAAA,8CAA8C,GAIvD,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;AAEjB;;;GAGG;AACH,IAAiB,gCAAgC,CAOhD;AAPD,WAAiB,gCAAgC;IAC/C,+EAA+E;IAClE,8CAAa,GAAG,qDAA6C,CAAC;IAC3E,gFAAgF;IACnE,+CAAc,GAAG,sDAA8C,CAAC;AAG/E,CAAC,EAPgB,gC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I,CAAC,GAAG,EAAE,CAAC,sDAA8C,CAAC;SACnE,QAAQ,EAAE;IACb,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC;QAChB,iEAAqC;QACrC,6DAAmC;QACnC,2DAAkC;QAClC,+DAAoC;KACrC,CAAC,CAAC,QAAQ,EAAE;IACb,aAAa,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CACzB,2DAAmD,CACpD,CAAC,QAAQ,EAAE;CACb,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,EAAE,EAAE,KAAK;QACT,UAAU,EAAE,aAAa;QACzB,QAAQ,EAAE,WAAW;KACtB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,wBAAwB,CAOxC;AAPD,WAAiB,wBAAwB;IACvC,uEAAuE;IAC1D,sCAAa,GAAG,6CAAqC,CAAC;IACnE,wEAAwE;IAC3D,uCAAc,GAAG,8CAAsC,CAAC;AAGvE,CAAC,EAPgB,wBAAwB,wCAAxB,wBAAwB,QAOxC;AAED,SAAgB,6BAA6B,CAC3C,uBAAgD;IAEhD,OAAO,IAAI,CAAC,SAAS,CACnB,8CAAsC,CAAC,KAAK,CAAC,uBAAuB,CAAC,CACtE,CAAC;AACJ,CAAC;AAND,sEAMC;AAED,SAAgB,+BAA+B,CAC7C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,6CAAqC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACjE,qDAAqD,CACtD,CAAC;AACJ,CAAC;AARD,0EAQC"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import * as z from "zod";
|
|
2
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
-
export type StepFilter = {};
|
|
5
|
-
/** @internal */
|
|
6
|
-
export declare const StepFilter$inboundSchema: z.ZodType<StepFilter, z.ZodTypeDef, unknown>;
|
|
7
|
-
/** @internal */
|
|
8
|
-
export type StepFilter$Outbound = {};
|
|
9
|
-
/** @internal */
|
|
10
|
-
export declare const StepFilter$outboundSchema: z.ZodType<StepFilter$Outbound, z.ZodTypeDef, StepFilter>;
|
|
11
|
-
/**
|
|
12
|
-
* @internal
|
|
13
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
14
|
-
*/
|
|
15
|
-
export declare namespace StepFilter$ {
|
|
16
|
-
/** @deprecated use `StepFilter$inboundSchema` instead. */
|
|
17
|
-
const inboundSchema: z.ZodType<StepFilter, z.ZodTypeDef, unknown>;
|
|
18
|
-
/** @deprecated use `StepFilter$outboundSchema` instead. */
|
|
19
|
-
const outboundSchema: z.ZodType<StepFilter$Outbound, z.ZodTypeDef, StepFilter>;
|
|
20
|
-
/** @deprecated use `StepFilter$Outbound` instead. */
|
|
21
|
-
type Outbound = StepFilter$Outbound;
|
|
22
|
-
}
|
|
23
|
-
export declare function stepFilterToJSON(stepFilter: StepFilter): string;
|
|
24
|
-
export declare function stepFilterFromJSON(jsonString: string): SafeParseResult<StepFilter, SDKValidationError>;
|
|
25
|
-
//# sourceMappingURL=stepfilter.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"stepfilter.d.ts","sourceRoot":"","sources":["../../src/models/components/stepfilter.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;AAErE,MAAM,MAAM,UAAU,GAAG,EAAE,CAAC;AAE5B,gBAAgB;AAChB,eAAO,MAAM,wBAAwB,EAAE,CAAC,CAAC,OAAO,C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,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 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import * as z from "zod";
|
|
6
|
-
import { ClosedEnum } from "../../types/enums.js";
|
|
7
|
-
|
|
8
|
-
export const BuilderFieldType = {
|
|
9
|
-
Boolean: "BOOLEAN",
|
|
10
|
-
Text: "TEXT",
|
|
11
|
-
Date: "DATE",
|
|
12
|
-
Number: "NUMBER",
|
|
13
|
-
Statement: "STATEMENT",
|
|
14
|
-
List: "LIST",
|
|
15
|
-
MultiList: "MULTI_LIST",
|
|
16
|
-
Group: "GROUP",
|
|
17
|
-
} as const;
|
|
18
|
-
export type BuilderFieldType = ClosedEnum<typeof BuilderFieldType>;
|
|
19
|
-
|
|
20
|
-
/** @internal */
|
|
21
|
-
export const BuilderFieldType$inboundSchema: z.ZodNativeEnum<
|
|
22
|
-
typeof BuilderFieldType
|
|
23
|
-
> = z.nativeEnum(BuilderFieldType);
|
|
24
|
-
|
|
25
|
-
/** @internal */
|
|
26
|
-
export const BuilderFieldType$outboundSchema: z.ZodNativeEnum<
|
|
27
|
-
typeof BuilderFieldType
|
|
28
|
-
> = BuilderFieldType$inboundSchema;
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* @internal
|
|
32
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
33
|
-
*/
|
|
34
|
-
export namespace BuilderFieldType$ {
|
|
35
|
-
/** @deprecated use `BuilderFieldType$inboundSchema` instead. */
|
|
36
|
-
export const inboundSchema = BuilderFieldType$inboundSchema;
|
|
37
|
-
/** @deprecated use `BuilderFieldType$outboundSchema` instead. */
|
|
38
|
-
export const outboundSchema = BuilderFieldType$outboundSchema;
|
|
39
|
-
}
|