@novu/api 0.6.2 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/FUNCTIONS.md +12 -3
- package/README.md +143 -30
- package/bin/mcp-server.js +644 -433
- package/bin/mcp-server.js.map +53 -48
- package/docs/sdks/novu/README.md +142 -24
- package/jsr.json +1 -1
- package/lib/config.d.ts +4 -4
- package/lib/config.js +4 -4
- package/lib/config.js.map +1 -1
- package/lib/matchers.d.ts +3 -1
- package/lib/matchers.d.ts.map +1 -1
- package/lib/matchers.js +13 -1
- package/lib/matchers.js.map +1 -1
- package/lib/sdks.d.ts +3 -1
- package/lib/sdks.d.ts.map +1 -1
- package/lib/sdks.js +13 -13
- package/lib/sdks.js.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/prompts.d.ts.map +1 -1
- package/mcp-server/prompts.js +5 -1
- package/mcp-server/prompts.js.map +1 -1
- package/mcp-server/resources.d.ts.map +1 -1
- package/mcp-server/resources.js +10 -2
- package/mcp-server/resources.js.map +1 -1
- package/mcp-server/server.d.ts.map +1 -1
- package/mcp-server/server.js +2 -3
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/tools.d.ts.map +1 -1
- package/mcp-server/tools.js +4 -3
- package/mcp-server/tools.js.map +1 -1
- package/models/components/activitynotificationjobresponsedto.d.ts +15 -15
- package/models/components/activitynotificationjobresponsedto.d.ts.map +1 -1
- package/models/components/activitynotificationjobresponsedto.js +19 -18
- package/models/components/activitynotificationjobresponsedto.js.map +1 -1
- package/models/components/activitynotificationstepresponsedto.d.ts +15 -15
- package/models/components/activitynotificationstepresponsedto.d.ts.map +1 -1
- package/models/components/activitynotificationstepresponsedto.js +18 -18
- package/models/components/activitynotificationstepresponsedto.js.map +1 -1
- package/models/components/channelsettingsdto.d.ts +2 -78
- package/models/components/channelsettingsdto.d.ts.map +1 -1
- package/models/components/channelsettingsdto.js +4 -41
- package/models/components/channelsettingsdto.js.map +1 -1
- package/models/components/chatorpushproviderenum.d.ts +79 -0
- package/models/components/chatorpushproviderenum.d.ts.map +1 -0
- package/models/components/chatorpushproviderenum.js +68 -0
- package/models/components/chatorpushproviderenum.js.map +1 -0
- package/models/components/constraintvalidation.d.ts +115 -0
- package/models/components/constraintvalidation.d.ts.map +1 -0
- package/models/components/constraintvalidation.js +157 -0
- package/models/components/constraintvalidation.js.map +1 -0
- package/models/components/digestmetadatadto.d.ts +8 -8
- package/models/components/digestmetadatadto.d.ts.map +1 -1
- package/models/components/digestmetadatadto.js +13 -13
- package/models/components/digestmetadatadto.js.map +1 -1
- package/models/components/digestregularmetadata.d.ts +16 -16
- package/models/components/digestregularmetadata.d.ts.map +1 -1
- package/models/components/digestregularmetadata.js +25 -25
- package/models/components/digestregularmetadata.js.map +1 -1
- package/models/components/digesttimedconfigdto.d.ts +8 -8
- package/models/components/digesttimedconfigdto.d.ts.map +1 -1
- package/models/components/digesttimedconfigdto.js +13 -14
- package/models/components/digesttimedconfigdto.js.map +1 -1
- package/models/components/getsubscriberpreferencesdto.d.ts +6 -6
- package/models/components/getsubscriberpreferencesdto.d.ts.map +1 -1
- package/models/components/getsubscriberpreferencesdto.js +6 -6
- package/models/components/getsubscriberpreferencesdto.js.map +1 -1
- package/models/components/index.d.ts +10 -5
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +10 -5
- package/models/components/index.js.map +1 -1
- package/models/components/integrationresponsedto.d.ts +8 -8
- package/models/components/integrationresponsedto.d.ts.map +1 -1
- package/models/components/integrationresponsedto.js +14 -13
- package/models/components/integrationresponsedto.js.map +1 -1
- package/models/components/messageactionresult.d.ts +15 -15
- package/models/components/messageactionresult.d.ts.map +1 -1
- package/models/components/messageactionresult.js +18 -18
- package/models/components/messageactionresult.js.map +1 -1
- package/models/components/messagecta.d.ts +2 -2
- package/models/components/messagecta.d.ts.map +1 -1
- package/models/components/messagecta.js +2 -2
- package/models/components/messagecta.js.map +1 -1
- package/models/components/messageresponsedto.d.ts +14 -4
- package/models/components/messageresponsedto.d.ts.map +1 -1
- package/models/components/messageresponsedto.js +8 -4
- package/models/components/messageresponsedto.js.map +1 -1
- package/models/components/messagesresponsedto.d.ts +53 -0
- package/models/components/messagesresponsedto.d.ts.map +1 -0
- package/models/components/messagesresponsedto.js +68 -0
- package/models/components/messagesresponsedto.js.map +1 -0
- package/models/components/notificationfeeditemdto.d.ts +0 -5
- package/models/components/notificationfeeditemdto.d.ts.map +1 -1
- package/models/components/notificationfeeditemdto.js +0 -2
- package/models/components/notificationfeeditemdto.js.map +1 -1
- package/models/components/notificationstepdto.d.ts +13 -13
- package/models/components/notificationstepdto.d.ts.map +1 -1
- package/models/components/notificationstepdto.js +16 -16
- package/models/components/notificationstepdto.js.map +1 -1
- package/models/components/notificationtriggerdto.d.ts +8 -8
- package/models/components/notificationtriggerdto.d.ts.map +1 -1
- package/models/components/notificationtriggerdto.js +13 -13
- package/models/components/notificationtriggerdto.js.map +1 -1
- package/models/components/patchsubscriberpreferencesdto.d.ts +1 -1
- package/models/components/preferenceoverridesourceenum.d.ts +37 -0
- package/models/components/preferenceoverridesourceenum.d.ts.map +1 -0
- package/models/components/preferenceoverridesourceenum.js +54 -0
- package/models/components/preferenceoverridesourceenum.js.map +1 -0
- package/models/components/providersidenum.d.ts +3 -0
- package/models/components/providersidenum.d.ts.map +1 -1
- package/models/components/providersidenum.js +1 -0
- package/models/components/providersidenum.js.map +1 -1
- package/models/components/stepfilterdto.d.ts +8 -8
- package/models/components/stepfilterdto.d.ts.map +1 -1
- package/models/components/stepfilterdto.js +13 -13
- package/models/components/stepfilterdto.js.map +1 -1
- package/models/components/stepsoverrides.d.ts +40 -0
- package/models/components/stepsoverrides.d.ts.map +1 -0
- package/models/components/{workflowinfodto.js → stepsoverrides.js} +19 -25
- package/models/components/stepsoverrides.js.map +1 -0
- package/models/components/steptypeenum.d.ts +2 -2
- package/models/components/steptypeenum.js +1 -1
- package/models/components/subscriberchanneldto.d.ts +8 -8
- package/models/components/subscriberchanneldto.d.ts.map +1 -1
- package/models/components/subscriberchanneldto.js +14 -13
- package/models/components/subscriberchanneldto.js.map +1 -1
- package/models/components/subscriberglobalpreferencedto.d.ts +38 -0
- package/models/components/subscriberglobalpreferencedto.d.ts.map +1 -0
- package/models/components/subscriberglobalpreferencedto.js +62 -0
- package/models/components/subscriberglobalpreferencedto.js.map +1 -0
- package/models/components/subscriberpreferencechannels.d.ts +52 -0
- package/models/components/subscriberpreferencechannels.d.ts.map +1 -0
- package/models/components/{preferencechannels.js → subscriberpreferencechannels.js} +17 -17
- package/models/components/subscriberpreferencechannels.js.map +1 -0
- package/models/components/subscriberpreferenceoverridedto.d.ts +39 -0
- package/models/components/subscriberpreferenceoverridedto.d.ts.map +1 -0
- package/models/components/subscriberpreferenceoverridedto.js +63 -0
- package/models/components/subscriberpreferenceoverridedto.js.map +1 -0
- package/models/components/subscriberpreferencesworkflowinfodto.d.ts +47 -0
- package/models/components/subscriberpreferencesworkflowinfodto.d.ts.map +1 -0
- package/models/components/subscriberpreferencesworkflowinfodto.js +65 -0
- package/models/components/subscriberpreferencesworkflowinfodto.js.map +1 -0
- package/models/components/subscriberresponsedto.d.ts +26 -26
- package/models/components/subscriberresponsedto.d.ts.map +1 -1
- package/models/components/subscriberresponsedto.js +12 -12
- package/models/components/subscriberresponsedto.js.map +1 -1
- package/models/components/subscriberworkflowpreferencedto.d.ts +50 -0
- package/models/components/subscriberworkflowpreferencedto.d.ts.map +1 -0
- package/models/components/subscriberworkflowpreferencedto.js +68 -0
- package/models/components/subscriberworkflowpreferencedto.js.map +1 -0
- package/models/components/timedconfig.d.ts +8 -8
- package/models/components/timedconfig.d.ts.map +1 -1
- package/models/components/timedconfig.js +14 -13
- package/models/components/timedconfig.js.map +1 -1
- package/models/components/triggereventrequestdto.d.ts +102 -10
- package/models/components/triggereventrequestdto.d.ts.map +1 -1
- package/models/components/triggereventrequestdto.js +43 -3
- package/models/components/triggereventrequestdto.js.map +1 -1
- package/models/components/triggereventtoallrequestdto.d.ts +84 -2
- package/models/components/triggereventtoallrequestdto.d.ts.map +1 -1
- package/models/components/triggereventtoallrequestdto.js +28 -2
- package/models/components/triggereventtoallrequestdto.js.map +1 -1
- package/models/components/updatesubscriberchannelrequestdto.d.ts +2 -78
- package/models/components/updatesubscriberchannelrequestdto.d.ts.map +1 -1
- package/models/components/updatesubscriberchannelrequestdto.js +4 -41
- package/models/components/updatesubscriberchannelrequestdto.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/models/errors/errordto.d.ts +83 -3
- package/models/errors/errordto.d.ts.map +1 -1
- package/models/errors/errordto.js +99 -3
- package/models/errors/errordto.js.map +1 -1
- package/models/errors/validationerrordto.d.ts +66 -51
- package/models/errors/validationerrordto.d.ts.map +1 -1
- package/models/errors/validationerrordto.js +83 -67
- package/models/errors/validationerrordto.js.map +1 -1
- package/models/operations/messagescontrollergetmessages.d.ts +2 -2
- package/models/operations/messagescontrollergetmessages.d.ts.map +1 -1
- package/models/operations/messagescontrollergetmessages.js +2 -2
- package/models/operations/messagescontrollergetmessages.js.map +1 -1
- package/package.json +3 -3
- package/sources/json-development.json +2037 -305
- package/src/lib/config.ts +4 -4
- package/src/lib/matchers.ts +20 -0
- package/src/lib/sdks.ts +19 -13
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/prompts.ts +8 -1
- package/src/mcp-server/resources.ts +16 -2
- package/src/mcp-server/server.ts +3 -3
- package/src/mcp-server/tools.ts +6 -3
- package/src/models/components/activitynotificationjobresponsedto.ts +48 -26
- package/src/models/components/activitynotificationstepresponsedto.ts +50 -29
- package/src/models/components/channelsettingsdto.ts +8 -50
- package/src/models/components/chatorpushproviderenum.ts +54 -0
- package/src/models/components/constraintvalidation.ts +270 -0
- package/src/models/components/digestmetadatadto.ts +16 -15
- package/src/models/components/digestregularmetadata.ts +30 -36
- package/src/models/components/digesttimedconfigdto.ts +18 -14
- package/src/models/components/getsubscriberpreferencesdto.ts +18 -18
- package/src/models/components/index.ts +10 -5
- package/src/models/components/integrationresponsedto.ts +14 -18
- package/src/models/components/messageactionresult.ts +24 -31
- package/src/models/components/messagecta.ts +4 -4
- package/src/models/components/messageresponsedto.ts +22 -8
- package/src/models/components/messagesresponsedto.ts +103 -0
- package/src/models/components/notificationfeeditemdto.ts +0 -7
- package/src/models/components/notificationstepdto.ts +20 -26
- package/src/models/components/notificationtriggerdto.ts +18 -15
- package/src/models/components/patchsubscriberpreferencesdto.ts +1 -1
- package/src/models/components/preferenceoverridesourceenum.ts +42 -0
- package/src/models/components/providersidenum.ts +1 -0
- package/src/models/components/stepfilterdto.ts +16 -15
- package/src/models/components/stepsoverrides.ts +65 -0
- package/src/models/components/steptypeenum.ts +2 -2
- package/src/models/components/subscriberchanneldto.ts +14 -18
- package/src/models/components/subscriberglobalpreferencedto.ts +84 -0
- package/src/models/components/subscriberpreferencechannels.ts +108 -0
- package/src/models/components/subscriberpreferenceoverridedto.ts +88 -0
- package/src/models/components/subscriberpreferencesworkflowinfodto.ts +95 -0
- package/src/models/components/subscriberresponsedto.ts +34 -34
- package/src/models/components/subscriberworkflowpreferencedto.ts +110 -0
- package/src/models/components/timedconfig.ts +14 -16
- package/src/models/components/triggereventrequestdto.ts +122 -4
- package/src/models/components/triggereventtoallrequestdto.ts +92 -5
- package/src/models/components/updatesubscriberchannelrequestdto.ts +8 -56
- package/src/models/components/workflowresponse.ts +9 -9
- package/src/models/errors/errordto.ts +202 -5
- package/src/models/errors/validationerrordto.ts +178 -110
- package/src/models/operations/messagescontrollergetmessages.ts +4 -4
- package/models/components/globalpreferencedto.d.ts +0 -38
- package/models/components/globalpreferencedto.d.ts.map +0 -1
- package/models/components/globalpreferencedto.js +0 -62
- package/models/components/globalpreferencedto.js.map +0 -1
- package/models/components/overrides.d.ts +0 -112
- package/models/components/overrides.d.ts.map +0 -1
- package/models/components/overrides.js +0 -111
- package/models/components/overrides.js.map +0 -1
- package/models/components/preferencechannels.d.ts +0 -37
- package/models/components/preferencechannels.d.ts.map +0 -1
- package/models/components/preferencechannels.js.map +0 -1
- package/models/components/workflowinfodto.d.ts +0 -47
- package/models/components/workflowinfodto.d.ts.map +0 -1
- package/models/components/workflowinfodto.js.map +0 -1
- package/models/components/workflowpreferencedto.d.ts +0 -50
- package/models/components/workflowpreferencedto.d.ts.map +0 -1
- package/models/components/workflowpreferencedto.js +0 -68
- package/models/components/workflowpreferencedto.js.map +0 -1
- package/src/models/components/globalpreferencedto.ts +0 -82
- package/src/models/components/overrides.ts +0 -139
- package/src/models/components/preferencechannels.ts +0 -91
- package/src/models/components/workflowinfodto.ts +0 -88
- package/src/models/components/workflowpreferencedto.ts +0 -108
|
@@ -0,0 +1,270 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
|
|
10
|
+
export type Five = string | number | boolean | { [k: string]: any };
|
|
11
|
+
|
|
12
|
+
export type Four = {};
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Value that failed validation
|
|
16
|
+
*/
|
|
17
|
+
export type Value =
|
|
18
|
+
| Four
|
|
19
|
+
| string
|
|
20
|
+
| number
|
|
21
|
+
| boolean
|
|
22
|
+
| Array<string | number | boolean | { [k: string]: any } | null>;
|
|
23
|
+
|
|
24
|
+
export type ConstraintValidation = {
|
|
25
|
+
/**
|
|
26
|
+
* List of validation error messages
|
|
27
|
+
*/
|
|
28
|
+
messages: Array<string>;
|
|
29
|
+
/**
|
|
30
|
+
* Value that failed validation
|
|
31
|
+
*/
|
|
32
|
+
value?:
|
|
33
|
+
| Four
|
|
34
|
+
| string
|
|
35
|
+
| number
|
|
36
|
+
| boolean
|
|
37
|
+
| Array<string | number | boolean | { [k: string]: any } | null>
|
|
38
|
+
| null
|
|
39
|
+
| undefined;
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
/** @internal */
|
|
43
|
+
export const Five$inboundSchema: z.ZodType<Five, z.ZodTypeDef, unknown> = z
|
|
44
|
+
.union([z.string(), z.number(), z.boolean(), z.record(z.any())]);
|
|
45
|
+
|
|
46
|
+
/** @internal */
|
|
47
|
+
export type Five$Outbound = string | number | boolean | { [k: string]: any };
|
|
48
|
+
|
|
49
|
+
/** @internal */
|
|
50
|
+
export const Five$outboundSchema: z.ZodType<Five$Outbound, z.ZodTypeDef, Five> =
|
|
51
|
+
z.union([z.string(), z.number(), z.boolean(), z.record(z.any())]);
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* @internal
|
|
55
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
56
|
+
*/
|
|
57
|
+
export namespace Five$ {
|
|
58
|
+
/** @deprecated use `Five$inboundSchema` instead. */
|
|
59
|
+
export const inboundSchema = Five$inboundSchema;
|
|
60
|
+
/** @deprecated use `Five$outboundSchema` instead. */
|
|
61
|
+
export const outboundSchema = Five$outboundSchema;
|
|
62
|
+
/** @deprecated use `Five$Outbound` instead. */
|
|
63
|
+
export type Outbound = Five$Outbound;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export function fiveToJSON(five: Five): string {
|
|
67
|
+
return JSON.stringify(Five$outboundSchema.parse(five));
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export function fiveFromJSON(
|
|
71
|
+
jsonString: string,
|
|
72
|
+
): SafeParseResult<Five, SDKValidationError> {
|
|
73
|
+
return safeParse(
|
|
74
|
+
jsonString,
|
|
75
|
+
(x) => Five$inboundSchema.parse(JSON.parse(x)),
|
|
76
|
+
`Failed to parse 'Five' from JSON`,
|
|
77
|
+
);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
/** @internal */
|
|
81
|
+
export const Four$inboundSchema: z.ZodType<Four, z.ZodTypeDef, unknown> = z
|
|
82
|
+
.object({});
|
|
83
|
+
|
|
84
|
+
/** @internal */
|
|
85
|
+
export type Four$Outbound = {};
|
|
86
|
+
|
|
87
|
+
/** @internal */
|
|
88
|
+
export const Four$outboundSchema: z.ZodType<Four$Outbound, z.ZodTypeDef, Four> =
|
|
89
|
+
z.object({});
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* @internal
|
|
93
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
94
|
+
*/
|
|
95
|
+
export namespace Four$ {
|
|
96
|
+
/** @deprecated use `Four$inboundSchema` instead. */
|
|
97
|
+
export const inboundSchema = Four$inboundSchema;
|
|
98
|
+
/** @deprecated use `Four$outboundSchema` instead. */
|
|
99
|
+
export const outboundSchema = Four$outboundSchema;
|
|
100
|
+
/** @deprecated use `Four$Outbound` instead. */
|
|
101
|
+
export type Outbound = Four$Outbound;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
export function fourToJSON(four: Four): string {
|
|
105
|
+
return JSON.stringify(Four$outboundSchema.parse(four));
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
export function fourFromJSON(
|
|
109
|
+
jsonString: string,
|
|
110
|
+
): SafeParseResult<Four, SDKValidationError> {
|
|
111
|
+
return safeParse(
|
|
112
|
+
jsonString,
|
|
113
|
+
(x) => Four$inboundSchema.parse(JSON.parse(x)),
|
|
114
|
+
`Failed to parse 'Four' from JSON`,
|
|
115
|
+
);
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
/** @internal */
|
|
119
|
+
export const Value$inboundSchema: z.ZodType<Value, z.ZodTypeDef, unknown> = z
|
|
120
|
+
.union([
|
|
121
|
+
z.lazy(() => Four$inboundSchema),
|
|
122
|
+
z.string(),
|
|
123
|
+
z.number(),
|
|
124
|
+
z.boolean(),
|
|
125
|
+
z.array(
|
|
126
|
+
z.nullable(
|
|
127
|
+
z.union([z.string(), z.number(), z.boolean(), z.record(z.any())]),
|
|
128
|
+
),
|
|
129
|
+
),
|
|
130
|
+
]);
|
|
131
|
+
|
|
132
|
+
/** @internal */
|
|
133
|
+
export type Value$Outbound =
|
|
134
|
+
| Four$Outbound
|
|
135
|
+
| string
|
|
136
|
+
| number
|
|
137
|
+
| boolean
|
|
138
|
+
| Array<string | number | boolean | { [k: string]: any } | null>;
|
|
139
|
+
|
|
140
|
+
/** @internal */
|
|
141
|
+
export const Value$outboundSchema: z.ZodType<
|
|
142
|
+
Value$Outbound,
|
|
143
|
+
z.ZodTypeDef,
|
|
144
|
+
Value
|
|
145
|
+
> = z.union([
|
|
146
|
+
z.lazy(() => Four$outboundSchema),
|
|
147
|
+
z.string(),
|
|
148
|
+
z.number(),
|
|
149
|
+
z.boolean(),
|
|
150
|
+
z.array(
|
|
151
|
+
z.nullable(
|
|
152
|
+
z.union([z.string(), z.number(), z.boolean(), z.record(z.any())]),
|
|
153
|
+
),
|
|
154
|
+
),
|
|
155
|
+
]);
|
|
156
|
+
|
|
157
|
+
/**
|
|
158
|
+
* @internal
|
|
159
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
160
|
+
*/
|
|
161
|
+
export namespace Value$ {
|
|
162
|
+
/** @deprecated use `Value$inboundSchema` instead. */
|
|
163
|
+
export const inboundSchema = Value$inboundSchema;
|
|
164
|
+
/** @deprecated use `Value$outboundSchema` instead. */
|
|
165
|
+
export const outboundSchema = Value$outboundSchema;
|
|
166
|
+
/** @deprecated use `Value$Outbound` instead. */
|
|
167
|
+
export type Outbound = Value$Outbound;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
export function valueToJSON(value: Value): string {
|
|
171
|
+
return JSON.stringify(Value$outboundSchema.parse(value));
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
export function valueFromJSON(
|
|
175
|
+
jsonString: string,
|
|
176
|
+
): SafeParseResult<Value, SDKValidationError> {
|
|
177
|
+
return safeParse(
|
|
178
|
+
jsonString,
|
|
179
|
+
(x) => Value$inboundSchema.parse(JSON.parse(x)),
|
|
180
|
+
`Failed to parse 'Value' from JSON`,
|
|
181
|
+
);
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
/** @internal */
|
|
185
|
+
export const ConstraintValidation$inboundSchema: z.ZodType<
|
|
186
|
+
ConstraintValidation,
|
|
187
|
+
z.ZodTypeDef,
|
|
188
|
+
unknown
|
|
189
|
+
> = z.object({
|
|
190
|
+
messages: z.array(z.string()),
|
|
191
|
+
value: z.nullable(
|
|
192
|
+
z.union([
|
|
193
|
+
z.lazy(() => Four$inboundSchema),
|
|
194
|
+
z.string(),
|
|
195
|
+
z.number(),
|
|
196
|
+
z.boolean(),
|
|
197
|
+
z.array(
|
|
198
|
+
z.nullable(
|
|
199
|
+
z.union([z.string(), z.number(), z.boolean(), z.record(z.any())]),
|
|
200
|
+
),
|
|
201
|
+
),
|
|
202
|
+
]),
|
|
203
|
+
).optional(),
|
|
204
|
+
});
|
|
205
|
+
|
|
206
|
+
/** @internal */
|
|
207
|
+
export type ConstraintValidation$Outbound = {
|
|
208
|
+
messages: Array<string>;
|
|
209
|
+
value?:
|
|
210
|
+
| Four$Outbound
|
|
211
|
+
| string
|
|
212
|
+
| number
|
|
213
|
+
| boolean
|
|
214
|
+
| Array<string | number | boolean | { [k: string]: any } | null>
|
|
215
|
+
| null
|
|
216
|
+
| undefined;
|
|
217
|
+
};
|
|
218
|
+
|
|
219
|
+
/** @internal */
|
|
220
|
+
export const ConstraintValidation$outboundSchema: z.ZodType<
|
|
221
|
+
ConstraintValidation$Outbound,
|
|
222
|
+
z.ZodTypeDef,
|
|
223
|
+
ConstraintValidation
|
|
224
|
+
> = z.object({
|
|
225
|
+
messages: z.array(z.string()),
|
|
226
|
+
value: z.nullable(
|
|
227
|
+
z.union([
|
|
228
|
+
z.lazy(() => Four$outboundSchema),
|
|
229
|
+
z.string(),
|
|
230
|
+
z.number(),
|
|
231
|
+
z.boolean(),
|
|
232
|
+
z.array(
|
|
233
|
+
z.nullable(
|
|
234
|
+
z.union([z.string(), z.number(), z.boolean(), z.record(z.any())]),
|
|
235
|
+
),
|
|
236
|
+
),
|
|
237
|
+
]),
|
|
238
|
+
).optional(),
|
|
239
|
+
});
|
|
240
|
+
|
|
241
|
+
/**
|
|
242
|
+
* @internal
|
|
243
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
244
|
+
*/
|
|
245
|
+
export namespace ConstraintValidation$ {
|
|
246
|
+
/** @deprecated use `ConstraintValidation$inboundSchema` instead. */
|
|
247
|
+
export const inboundSchema = ConstraintValidation$inboundSchema;
|
|
248
|
+
/** @deprecated use `ConstraintValidation$outboundSchema` instead. */
|
|
249
|
+
export const outboundSchema = ConstraintValidation$outboundSchema;
|
|
250
|
+
/** @deprecated use `ConstraintValidation$Outbound` instead. */
|
|
251
|
+
export type Outbound = ConstraintValidation$Outbound;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
export function constraintValidationToJSON(
|
|
255
|
+
constraintValidation: ConstraintValidation,
|
|
256
|
+
): string {
|
|
257
|
+
return JSON.stringify(
|
|
258
|
+
ConstraintValidation$outboundSchema.parse(constraintValidation),
|
|
259
|
+
);
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
export function constraintValidationFromJSON(
|
|
263
|
+
jsonString: string,
|
|
264
|
+
): SafeParseResult<ConstraintValidation, SDKValidationError> {
|
|
265
|
+
return safeParse(
|
|
266
|
+
jsonString,
|
|
267
|
+
(x) => ConstraintValidation$inboundSchema.parse(JSON.parse(x)),
|
|
268
|
+
`Failed to parse 'ConstraintValidation' from JSON`,
|
|
269
|
+
);
|
|
270
|
+
}
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
/**
|
|
28
28
|
* Unit of the digest
|
|
29
29
|
*/
|
|
30
|
-
export const
|
|
30
|
+
export const DigestMetadataDtoUnit = {
|
|
31
31
|
Seconds: "seconds",
|
|
32
32
|
Minutes: "minutes",
|
|
33
33
|
Hours: "hours",
|
|
@@ -38,7 +38,7 @@ export const Unit = {
|
|
|
38
38
|
/**
|
|
39
39
|
* Unit of the digest
|
|
40
40
|
*/
|
|
41
|
-
export type
|
|
41
|
+
export type DigestMetadataDtoUnit = ClosedEnum<typeof DigestMetadataDtoUnit>;
|
|
42
42
|
|
|
43
43
|
export type DigestMetadataDto = {
|
|
44
44
|
/**
|
|
@@ -52,7 +52,7 @@ export type DigestMetadataDto = {
|
|
|
52
52
|
/**
|
|
53
53
|
* Unit of the digest
|
|
54
54
|
*/
|
|
55
|
-
unit?:
|
|
55
|
+
unit?: DigestMetadataDtoUnit | undefined;
|
|
56
56
|
/**
|
|
57
57
|
* The Digest Type
|
|
58
58
|
*/
|
|
@@ -84,23 +84,24 @@ export type DigestMetadataDto = {
|
|
|
84
84
|
};
|
|
85
85
|
|
|
86
86
|
/** @internal */
|
|
87
|
-
export const
|
|
88
|
-
|
|
89
|
-
);
|
|
87
|
+
export const DigestMetadataDtoUnit$inboundSchema: z.ZodNativeEnum<
|
|
88
|
+
typeof DigestMetadataDtoUnit
|
|
89
|
+
> = z.nativeEnum(DigestMetadataDtoUnit);
|
|
90
90
|
|
|
91
91
|
/** @internal */
|
|
92
|
-
export const
|
|
93
|
-
|
|
92
|
+
export const DigestMetadataDtoUnit$outboundSchema: z.ZodNativeEnum<
|
|
93
|
+
typeof DigestMetadataDtoUnit
|
|
94
|
+
> = DigestMetadataDtoUnit$inboundSchema;
|
|
94
95
|
|
|
95
96
|
/**
|
|
96
97
|
* @internal
|
|
97
98
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
98
99
|
*/
|
|
99
|
-
export namespace
|
|
100
|
-
/** @deprecated use `
|
|
101
|
-
export const inboundSchema =
|
|
102
|
-
/** @deprecated use `
|
|
103
|
-
export const outboundSchema =
|
|
100
|
+
export namespace DigestMetadataDtoUnit$ {
|
|
101
|
+
/** @deprecated use `DigestMetadataDtoUnit$inboundSchema` instead. */
|
|
102
|
+
export const inboundSchema = DigestMetadataDtoUnit$inboundSchema;
|
|
103
|
+
/** @deprecated use `DigestMetadataDtoUnit$outboundSchema` instead. */
|
|
104
|
+
export const outboundSchema = DigestMetadataDtoUnit$outboundSchema;
|
|
104
105
|
}
|
|
105
106
|
|
|
106
107
|
/** @internal */
|
|
@@ -111,7 +112,7 @@ export const DigestMetadataDto$inboundSchema: z.ZodType<
|
|
|
111
112
|
> = z.object({
|
|
112
113
|
digestKey: z.string().optional(),
|
|
113
114
|
amount: z.number().optional(),
|
|
114
|
-
unit:
|
|
115
|
+
unit: DigestMetadataDtoUnit$inboundSchema.optional(),
|
|
115
116
|
type: DigestTypeEnum$inboundSchema,
|
|
116
117
|
events: z.array(z.record(z.any())).optional(),
|
|
117
118
|
backoff: z.boolean().optional(),
|
|
@@ -143,7 +144,7 @@ export const DigestMetadataDto$outboundSchema: z.ZodType<
|
|
|
143
144
|
> = z.object({
|
|
144
145
|
digestKey: z.string().optional(),
|
|
145
146
|
amount: z.number().optional(),
|
|
146
|
-
unit:
|
|
147
|
+
unit: DigestMetadataDtoUnit$outboundSchema.optional(),
|
|
147
148
|
type: DigestTypeEnum$outboundSchema,
|
|
148
149
|
events: z.array(z.record(z.any())).optional(),
|
|
149
150
|
backoff: z.boolean().optional(),
|
|
@@ -8,7 +8,7 @@ import { ClosedEnum } from "../../types/enums.js";
|
|
|
8
8
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
10
|
|
|
11
|
-
export const
|
|
11
|
+
export const Unit = {
|
|
12
12
|
Seconds: "seconds",
|
|
13
13
|
Minutes: "minutes",
|
|
14
14
|
Hours: "hours",
|
|
@@ -16,17 +16,13 @@ export const DigestRegularMetadataUnit = {
|
|
|
16
16
|
Weeks: "weeks",
|
|
17
17
|
Months: "months",
|
|
18
18
|
} as const;
|
|
19
|
-
export type
|
|
20
|
-
typeof DigestRegularMetadataUnit
|
|
21
|
-
>;
|
|
19
|
+
export type Unit = ClosedEnum<typeof Unit>;
|
|
22
20
|
|
|
23
|
-
export const
|
|
21
|
+
export const Type = {
|
|
24
22
|
Regular: "regular",
|
|
25
23
|
Backoff: "backoff",
|
|
26
24
|
} as const;
|
|
27
|
-
export type
|
|
28
|
-
typeof DigestRegularMetadataType
|
|
29
|
-
>;
|
|
25
|
+
export type Type = ClosedEnum<typeof Type>;
|
|
30
26
|
|
|
31
27
|
export const BackoffUnit = {
|
|
32
28
|
Seconds: "seconds",
|
|
@@ -40,9 +36,9 @@ export type BackoffUnit = ClosedEnum<typeof BackoffUnit>;
|
|
|
40
36
|
|
|
41
37
|
export type DigestRegularMetadata = {
|
|
42
38
|
amount?: number | undefined;
|
|
43
|
-
unit?:
|
|
39
|
+
unit?: Unit | undefined;
|
|
44
40
|
digestKey?: string | undefined;
|
|
45
|
-
type:
|
|
41
|
+
type: Type;
|
|
46
42
|
backoff?: boolean | undefined;
|
|
47
43
|
backoffAmount?: number | undefined;
|
|
48
44
|
backoffUnit?: BackoffUnit | undefined;
|
|
@@ -50,45 +46,43 @@ export type DigestRegularMetadata = {
|
|
|
50
46
|
};
|
|
51
47
|
|
|
52
48
|
/** @internal */
|
|
53
|
-
export const
|
|
54
|
-
|
|
55
|
-
|
|
49
|
+
export const Unit$inboundSchema: z.ZodNativeEnum<typeof Unit> = z.nativeEnum(
|
|
50
|
+
Unit,
|
|
51
|
+
);
|
|
56
52
|
|
|
57
53
|
/** @internal */
|
|
58
|
-
export const
|
|
59
|
-
|
|
60
|
-
> = DigestRegularMetadataUnit$inboundSchema;
|
|
54
|
+
export const Unit$outboundSchema: z.ZodNativeEnum<typeof Unit> =
|
|
55
|
+
Unit$inboundSchema;
|
|
61
56
|
|
|
62
57
|
/**
|
|
63
58
|
* @internal
|
|
64
59
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
65
60
|
*/
|
|
66
|
-
export namespace
|
|
67
|
-
/** @deprecated use `
|
|
68
|
-
export const inboundSchema =
|
|
69
|
-
/** @deprecated use `
|
|
70
|
-
export const outboundSchema =
|
|
61
|
+
export namespace Unit$ {
|
|
62
|
+
/** @deprecated use `Unit$inboundSchema` instead. */
|
|
63
|
+
export const inboundSchema = Unit$inboundSchema;
|
|
64
|
+
/** @deprecated use `Unit$outboundSchema` instead. */
|
|
65
|
+
export const outboundSchema = Unit$outboundSchema;
|
|
71
66
|
}
|
|
72
67
|
|
|
73
68
|
/** @internal */
|
|
74
|
-
export const
|
|
75
|
-
|
|
76
|
-
|
|
69
|
+
export const Type$inboundSchema: z.ZodNativeEnum<typeof Type> = z.nativeEnum(
|
|
70
|
+
Type,
|
|
71
|
+
);
|
|
77
72
|
|
|
78
73
|
/** @internal */
|
|
79
|
-
export const
|
|
80
|
-
|
|
81
|
-
> = DigestRegularMetadataType$inboundSchema;
|
|
74
|
+
export const Type$outboundSchema: z.ZodNativeEnum<typeof Type> =
|
|
75
|
+
Type$inboundSchema;
|
|
82
76
|
|
|
83
77
|
/**
|
|
84
78
|
* @internal
|
|
85
79
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
86
80
|
*/
|
|
87
|
-
export namespace
|
|
88
|
-
/** @deprecated use `
|
|
89
|
-
export const inboundSchema =
|
|
90
|
-
/** @deprecated use `
|
|
91
|
-
export const outboundSchema =
|
|
81
|
+
export namespace Type$ {
|
|
82
|
+
/** @deprecated use `Type$inboundSchema` instead. */
|
|
83
|
+
export const inboundSchema = Type$inboundSchema;
|
|
84
|
+
/** @deprecated use `Type$outboundSchema` instead. */
|
|
85
|
+
export const outboundSchema = Type$outboundSchema;
|
|
92
86
|
}
|
|
93
87
|
|
|
94
88
|
/** @internal */
|
|
@@ -117,9 +111,9 @@ export const DigestRegularMetadata$inboundSchema: z.ZodType<
|
|
|
117
111
|
unknown
|
|
118
112
|
> = z.object({
|
|
119
113
|
amount: z.number().optional(),
|
|
120
|
-
unit:
|
|
114
|
+
unit: Unit$inboundSchema.optional(),
|
|
121
115
|
digestKey: z.string().optional(),
|
|
122
|
-
type:
|
|
116
|
+
type: Type$inboundSchema,
|
|
123
117
|
backoff: z.boolean().optional(),
|
|
124
118
|
backoffAmount: z.number().optional(),
|
|
125
119
|
backoffUnit: BackoffUnit$inboundSchema.optional(),
|
|
@@ -145,9 +139,9 @@ export const DigestRegularMetadata$outboundSchema: z.ZodType<
|
|
|
145
139
|
DigestRegularMetadata
|
|
146
140
|
> = z.object({
|
|
147
141
|
amount: z.number().optional(),
|
|
148
|
-
unit:
|
|
142
|
+
unit: Unit$outboundSchema.optional(),
|
|
149
143
|
digestKey: z.string().optional(),
|
|
150
|
-
type:
|
|
144
|
+
type: Type$outboundSchema,
|
|
151
145
|
backoff: z.boolean().optional(),
|
|
152
146
|
backoffAmount: z.number().optional(),
|
|
153
147
|
backoffUnit: BackoffUnit$outboundSchema.optional(),
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
OrdinalValueEnum$outboundSchema,
|
|
24
24
|
} from "./ordinalvalueenum.js";
|
|
25
25
|
|
|
26
|
-
export const
|
|
26
|
+
export const DigestTimedConfigDtoWeekDays = {
|
|
27
27
|
Monday: "monday",
|
|
28
28
|
Tuesday: "tuesday",
|
|
29
29
|
Wednesday: "wednesday",
|
|
@@ -32,7 +32,9 @@ export const WeekDays = {
|
|
|
32
32
|
Saturday: "saturday",
|
|
33
33
|
Sunday: "sunday",
|
|
34
34
|
} as const;
|
|
35
|
-
export type
|
|
35
|
+
export type DigestTimedConfigDtoWeekDays = ClosedEnum<
|
|
36
|
+
typeof DigestTimedConfigDtoWeekDays
|
|
37
|
+
>;
|
|
36
38
|
|
|
37
39
|
export type DigestTimedConfigDto = {
|
|
38
40
|
/**
|
|
@@ -42,7 +44,7 @@ export type DigestTimedConfigDto = {
|
|
|
42
44
|
/**
|
|
43
45
|
* Days of the week for the digest
|
|
44
46
|
*/
|
|
45
|
-
weekDays?: Array<
|
|
47
|
+
weekDays?: Array<DigestTimedConfigDtoWeekDays> | undefined;
|
|
46
48
|
/**
|
|
47
49
|
* Specific days of the month for the digest
|
|
48
50
|
*/
|
|
@@ -66,22 +68,24 @@ export type DigestTimedConfigDto = {
|
|
|
66
68
|
};
|
|
67
69
|
|
|
68
70
|
/** @internal */
|
|
69
|
-
export const
|
|
70
|
-
|
|
71
|
+
export const DigestTimedConfigDtoWeekDays$inboundSchema: z.ZodNativeEnum<
|
|
72
|
+
typeof DigestTimedConfigDtoWeekDays
|
|
73
|
+
> = z.nativeEnum(DigestTimedConfigDtoWeekDays);
|
|
71
74
|
|
|
72
75
|
/** @internal */
|
|
73
|
-
export const
|
|
74
|
-
|
|
76
|
+
export const DigestTimedConfigDtoWeekDays$outboundSchema: z.ZodNativeEnum<
|
|
77
|
+
typeof DigestTimedConfigDtoWeekDays
|
|
78
|
+
> = DigestTimedConfigDtoWeekDays$inboundSchema;
|
|
75
79
|
|
|
76
80
|
/**
|
|
77
81
|
* @internal
|
|
78
82
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
79
83
|
*/
|
|
80
|
-
export namespace
|
|
81
|
-
/** @deprecated use `
|
|
82
|
-
export const inboundSchema =
|
|
83
|
-
/** @deprecated use `
|
|
84
|
-
export const outboundSchema =
|
|
84
|
+
export namespace DigestTimedConfigDtoWeekDays$ {
|
|
85
|
+
/** @deprecated use `DigestTimedConfigDtoWeekDays$inboundSchema` instead. */
|
|
86
|
+
export const inboundSchema = DigestTimedConfigDtoWeekDays$inboundSchema;
|
|
87
|
+
/** @deprecated use `DigestTimedConfigDtoWeekDays$outboundSchema` instead. */
|
|
88
|
+
export const outboundSchema = DigestTimedConfigDtoWeekDays$outboundSchema;
|
|
85
89
|
}
|
|
86
90
|
|
|
87
91
|
/** @internal */
|
|
@@ -91,7 +95,7 @@ export const DigestTimedConfigDto$inboundSchema: z.ZodType<
|
|
|
91
95
|
unknown
|
|
92
96
|
> = z.object({
|
|
93
97
|
atTime: z.string().optional(),
|
|
94
|
-
weekDays: z.array(
|
|
98
|
+
weekDays: z.array(DigestTimedConfigDtoWeekDays$inboundSchema).optional(),
|
|
95
99
|
monthDays: z.array(z.number()).optional(),
|
|
96
100
|
ordinal: OrdinalEnum$inboundSchema.optional(),
|
|
97
101
|
ordinalValue: OrdinalValueEnum$inboundSchema.optional(),
|
|
@@ -117,7 +121,7 @@ export const DigestTimedConfigDto$outboundSchema: z.ZodType<
|
|
|
117
121
|
DigestTimedConfigDto
|
|
118
122
|
> = z.object({
|
|
119
123
|
atTime: z.string().optional(),
|
|
120
|
-
weekDays: z.array(
|
|
124
|
+
weekDays: z.array(DigestTimedConfigDtoWeekDays$outboundSchema).optional(),
|
|
121
125
|
monthDays: z.array(z.number()).optional(),
|
|
122
126
|
ordinal: OrdinalEnum$outboundSchema.optional(),
|
|
123
127
|
ordinalValue: OrdinalValueEnum$outboundSchema.optional(),
|
|
@@ -7,27 +7,27 @@ import { safeParse } from "../../lib/schemas.js";
|
|
|
7
7
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
8
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
10
|
+
SubscriberGlobalPreferenceDto,
|
|
11
|
+
SubscriberGlobalPreferenceDto$inboundSchema,
|
|
12
|
+
SubscriberGlobalPreferenceDto$Outbound,
|
|
13
|
+
SubscriberGlobalPreferenceDto$outboundSchema,
|
|
14
|
+
} from "./subscriberglobalpreferencedto.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
16
|
+
SubscriberWorkflowPreferenceDto,
|
|
17
|
+
SubscriberWorkflowPreferenceDto$inboundSchema,
|
|
18
|
+
SubscriberWorkflowPreferenceDto$Outbound,
|
|
19
|
+
SubscriberWorkflowPreferenceDto$outboundSchema,
|
|
20
|
+
} from "./subscriberworkflowpreferencedto.js";
|
|
21
21
|
|
|
22
22
|
export type GetSubscriberPreferencesDto = {
|
|
23
23
|
/**
|
|
24
24
|
* Global preference settings
|
|
25
25
|
*/
|
|
26
|
-
global:
|
|
26
|
+
global: SubscriberGlobalPreferenceDto;
|
|
27
27
|
/**
|
|
28
28
|
* Workflow-specific preference settings
|
|
29
29
|
*/
|
|
30
|
-
workflows: Array<
|
|
30
|
+
workflows: Array<SubscriberWorkflowPreferenceDto>;
|
|
31
31
|
};
|
|
32
32
|
|
|
33
33
|
/** @internal */
|
|
@@ -36,14 +36,14 @@ export const GetSubscriberPreferencesDto$inboundSchema: z.ZodType<
|
|
|
36
36
|
z.ZodTypeDef,
|
|
37
37
|
unknown
|
|
38
38
|
> = z.object({
|
|
39
|
-
global:
|
|
40
|
-
workflows: z.array(
|
|
39
|
+
global: SubscriberGlobalPreferenceDto$inboundSchema,
|
|
40
|
+
workflows: z.array(SubscriberWorkflowPreferenceDto$inboundSchema),
|
|
41
41
|
});
|
|
42
42
|
|
|
43
43
|
/** @internal */
|
|
44
44
|
export type GetSubscriberPreferencesDto$Outbound = {
|
|
45
|
-
global:
|
|
46
|
-
workflows: Array<
|
|
45
|
+
global: SubscriberGlobalPreferenceDto$Outbound;
|
|
46
|
+
workflows: Array<SubscriberWorkflowPreferenceDto$Outbound>;
|
|
47
47
|
};
|
|
48
48
|
|
|
49
49
|
/** @internal */
|
|
@@ -52,8 +52,8 @@ export const GetSubscriberPreferencesDto$outboundSchema: z.ZodType<
|
|
|
52
52
|
z.ZodTypeDef,
|
|
53
53
|
GetSubscriberPreferencesDto
|
|
54
54
|
> = z.object({
|
|
55
|
-
global:
|
|
56
|
-
workflows: z.array(
|
|
55
|
+
global: SubscriberGlobalPreferenceDto$outboundSchema,
|
|
56
|
+
workflows: z.array(SubscriberWorkflowPreferenceDto$outboundSchema),
|
|
57
57
|
});
|
|
58
58
|
|
|
59
59
|
/**
|
|
@@ -25,6 +25,8 @@ export * from "./channelcredentialsdto.js";
|
|
|
25
25
|
export * from "./channelctatypeenum.js";
|
|
26
26
|
export * from "./channelsettingsdto.js";
|
|
27
27
|
export * from "./channeltypeenum.js";
|
|
28
|
+
export * from "./chatorpushproviderenum.js";
|
|
29
|
+
export * from "./constraintvalidation.js";
|
|
28
30
|
export * from "./createdsubscriberdto.js";
|
|
29
31
|
export * from "./createintegrationrequestdto.js";
|
|
30
32
|
export * from "./createsubscriberrequestdto.js";
|
|
@@ -52,7 +54,6 @@ export * from "./fieldfilterpartdto.js";
|
|
|
52
54
|
export * from "./filtertopicsresponsedto.js";
|
|
53
55
|
export * from "./getsubscriberpreferencesdto.js";
|
|
54
56
|
export * from "./gettopicresponsedto.js";
|
|
55
|
-
export * from "./globalpreferencedto.js";
|
|
56
57
|
export * from "./integrationresponsedto.js";
|
|
57
58
|
export * from "./listsubscribersresponsedto.js";
|
|
58
59
|
export * from "./markallmessageasrequestdto.js";
|
|
@@ -65,6 +66,7 @@ export * from "./messagecta.js";
|
|
|
65
66
|
export * from "./messagectadata.js";
|
|
66
67
|
export * from "./messagemarkasrequestdto.js";
|
|
67
68
|
export * from "./messageresponsedto.js";
|
|
69
|
+
export * from "./messagesresponsedto.js";
|
|
68
70
|
export * from "./messagestatusenum.js";
|
|
69
71
|
export * from "./messagetemplate.js";
|
|
70
72
|
export * from "./messagetemplatedto.js";
|
|
@@ -78,11 +80,10 @@ export * from "./notificationtriggerdto.js";
|
|
|
78
80
|
export * from "./notificationtriggervariable.js";
|
|
79
81
|
export * from "./ordinalenum.js";
|
|
80
82
|
export * from "./ordinalvalueenum.js";
|
|
81
|
-
export * from "./overrides.js";
|
|
82
83
|
export * from "./patchpreferencechannelsdto.js";
|
|
83
84
|
export * from "./patchsubscriberpreferencesdto.js";
|
|
84
85
|
export * from "./patchsubscriberrequestdto.js";
|
|
85
|
-
export * from "./
|
|
86
|
+
export * from "./preferenceoverridesourceenum.js";
|
|
86
87
|
export * from "./providersidenum.js";
|
|
87
88
|
export * from "./removesubscriberresponsedto.js";
|
|
88
89
|
export * from "./removesubscribersrequestdto.js";
|
|
@@ -91,11 +92,17 @@ export * from "./renametopicresponsedto.js";
|
|
|
91
92
|
export * from "./replycallback.js";
|
|
92
93
|
export * from "./security.js";
|
|
93
94
|
export * from "./stepfilterdto.js";
|
|
95
|
+
export * from "./stepsoverrides.js";
|
|
94
96
|
export * from "./steptypeenum.js";
|
|
95
97
|
export * from "./subscriberchanneldto.js";
|
|
96
98
|
export * from "./subscriberfeedresponsedto.js";
|
|
99
|
+
export * from "./subscriberglobalpreferencedto.js";
|
|
97
100
|
export * from "./subscriberpayloaddto.js";
|
|
101
|
+
export * from "./subscriberpreferencechannels.js";
|
|
102
|
+
export * from "./subscriberpreferenceoverridedto.js";
|
|
103
|
+
export * from "./subscriberpreferencesworkflowinfodto.js";
|
|
98
104
|
export * from "./subscriberresponsedto.js";
|
|
105
|
+
export * from "./subscriberworkflowpreferencedto.js";
|
|
99
106
|
export * from "./tenantpayloaddto.js";
|
|
100
107
|
export * from "./textalignenum.js";
|
|
101
108
|
export * from "./timedconfig.js";
|
|
@@ -112,7 +119,5 @@ export * from "./updateintegrationrequestdto.js";
|
|
|
112
119
|
export * from "./updatesubscriberchannelrequestdto.js";
|
|
113
120
|
export * from "./updatesubscriberonlineflagrequestdto.js";
|
|
114
121
|
export * from "./updatesubscriberrequestdto.js";
|
|
115
|
-
export * from "./workflowinfodto.js";
|
|
116
122
|
export * from "./workfloworiginenum.js";
|
|
117
|
-
export * from "./workflowpreferencedto.js";
|
|
118
123
|
export * from "./workflowresponse.js";
|