@novu/api 0.0.1-alpha.78 → 0.0.1-alpha.79
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/models/components/actorfeeditemdto.d.ts +2 -26
- package/models/components/actorfeeditemdto.d.ts.map +1 -1
- package/models/components/actorfeeditemdto.js +3 -26
- package/models/components/actorfeeditemdto.js.map +1 -1
- package/models/components/notificationfeeditemdto.d.ts +6 -78
- package/models/components/notificationfeeditemdto.d.ts.map +1 -1
- package/models/components/notificationfeeditemdto.js +7 -77
- package/models/components/notificationfeeditemdto.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/config.ts +2 -2
- package/src/models/components/actorfeeditemdto.ts +4 -57
- package/src/models/components/notificationfeeditemdto.ts +12 -174
package/lib/config.d.ts
CHANGED
|
@@ -27,8 +27,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
|
27
27
|
export declare const SDK_METADATA: {
|
|
28
28
|
readonly language: "typescript";
|
|
29
29
|
readonly openapiDocVersion: "1.0";
|
|
30
|
-
readonly sdkVersion: "0.0.1-alpha.
|
|
30
|
+
readonly sdkVersion: "0.0.1-alpha.79";
|
|
31
31
|
readonly genVersion: "2.474.15";
|
|
32
|
-
readonly userAgent: "speakeasy-sdk/typescript 0.0.1-alpha.
|
|
32
|
+
readonly userAgent: "speakeasy-sdk/typescript 0.0.1-alpha.79 2.474.15 1.0 @novu/api";
|
|
33
33
|
};
|
|
34
34
|
//# sourceMappingURL=config.d.ts.map
|
package/lib/config.js
CHANGED
|
@@ -30,8 +30,8 @@ exports.serverURLFromOptions = serverURLFromOptions;
|
|
|
30
30
|
exports.SDK_METADATA = {
|
|
31
31
|
language: "typescript",
|
|
32
32
|
openapiDocVersion: "1.0",
|
|
33
|
-
sdkVersion: "0.0.1-alpha.
|
|
33
|
+
sdkVersion: "0.0.1-alpha.79",
|
|
34
34
|
genVersion: "2.474.15",
|
|
35
|
-
userAgent: "speakeasy-sdk/typescript 0.0.1-alpha.
|
|
35
|
+
userAgent: "speakeasy-sdk/typescript 0.0.1-alpha.79 2.474.15 1.0 @novu/api",
|
|
36
36
|
};
|
|
37
37
|
//# sourceMappingURL=config.js.map
|
|
@@ -2,45 +2,21 @@ import * as z from "zod";
|
|
|
2
2
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
3
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
4
|
import { ActorTypeEnum } from "./actortypeenum.js";
|
|
5
|
-
/**
|
|
6
|
-
* The data associated with the actor, can be null if not applicable.
|
|
7
|
-
*/
|
|
8
|
-
export type ActorFeedItemDtoData = {};
|
|
9
5
|
export type ActorFeedItemDto = {
|
|
10
6
|
/**
|
|
11
7
|
* The data associated with the actor, can be null if not applicable.
|
|
12
8
|
*/
|
|
13
|
-
data:
|
|
9
|
+
data: string | null;
|
|
14
10
|
/**
|
|
15
11
|
* The type of the actor, indicating the role in the notification process.
|
|
16
12
|
*/
|
|
17
13
|
type: ActorTypeEnum;
|
|
18
14
|
};
|
|
19
15
|
/** @internal */
|
|
20
|
-
export declare const ActorFeedItemDtoData$inboundSchema: z.ZodType<ActorFeedItemDtoData, z.ZodTypeDef, unknown>;
|
|
21
|
-
/** @internal */
|
|
22
|
-
export type ActorFeedItemDtoData$Outbound = {};
|
|
23
|
-
/** @internal */
|
|
24
|
-
export declare const ActorFeedItemDtoData$outboundSchema: z.ZodType<ActorFeedItemDtoData$Outbound, z.ZodTypeDef, ActorFeedItemDtoData>;
|
|
25
|
-
/**
|
|
26
|
-
* @internal
|
|
27
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
28
|
-
*/
|
|
29
|
-
export declare namespace ActorFeedItemDtoData$ {
|
|
30
|
-
/** @deprecated use `ActorFeedItemDtoData$inboundSchema` instead. */
|
|
31
|
-
const inboundSchema: z.ZodType<ActorFeedItemDtoData, z.ZodTypeDef, unknown>;
|
|
32
|
-
/** @deprecated use `ActorFeedItemDtoData$outboundSchema` instead. */
|
|
33
|
-
const outboundSchema: z.ZodType<ActorFeedItemDtoData$Outbound, z.ZodTypeDef, ActorFeedItemDtoData>;
|
|
34
|
-
/** @deprecated use `ActorFeedItemDtoData$Outbound` instead. */
|
|
35
|
-
type Outbound = ActorFeedItemDtoData$Outbound;
|
|
36
|
-
}
|
|
37
|
-
export declare function actorFeedItemDtoDataToJSON(actorFeedItemDtoData: ActorFeedItemDtoData): string;
|
|
38
|
-
export declare function actorFeedItemDtoDataFromJSON(jsonString: string): SafeParseResult<ActorFeedItemDtoData, SDKValidationError>;
|
|
39
|
-
/** @internal */
|
|
40
16
|
export declare const ActorFeedItemDto$inboundSchema: z.ZodType<ActorFeedItemDto, z.ZodTypeDef, unknown>;
|
|
41
17
|
/** @internal */
|
|
42
18
|
export type ActorFeedItemDto$Outbound = {
|
|
43
|
-
data:
|
|
19
|
+
data: string | null;
|
|
44
20
|
type: string;
|
|
45
21
|
};
|
|
46
22
|
/** @internal */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actorfeeditemdto.d.ts","sourceRoot":"","sources":["../../src/models/components/actorfeeditemdto.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,aAAa,EAGd,MAAM,oBAAoB,CAAC;AAE5B
|
|
1
|
+
{"version":3,"file":"actorfeeditemdto.d.ts","sourceRoot":"","sources":["../../src/models/components/actorfeeditemdto.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,aAAa,EAGd,MAAM,oBAAoB,CAAC;AAE5B,MAAM,MAAM,gBAAgB,GAAG;IAC7B;;OAEG;IACH,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB;;OAEG;IACH,IAAI,EAAE,aAAa,CAAC;CACrB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,8BAA8B,EAAE,CAAC,CAAC,OAAO,CACpD,gBAAgB,EAChB,CAAC,CAAC,UAAU,EACZ,OAAO,CAIP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,yBAAyB,GAAG;IACtC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,+BAA+B,EAAE,CAAC,CAAC,OAAO,CACrD,yBAAyB,EACzB,CAAC,CAAC,UAAU,EACZ,gBAAgB,CAIhB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,iBAAiB,CAAC;IACjC,gEAAgE;IACzD,MAAM,aAAa,oDAAiC,CAAC;IAC5D,iEAAiE;IAC1D,MAAM,cAAc,sEAAkC,CAAC;IAC9D,2DAA2D;IAC3D,KAAY,QAAQ,GAAG,yBAAyB,CAAC;CAClD;AAED,wBAAgB,sBAAsB,CACpC,gBAAgB,EAAE,gBAAgB,GACjC,MAAM,CAIR;AAED,wBAAgB,wBAAwB,CACtC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,gBAAgB,EAAE,kBAAkB,CAAC,CAMvD"}
|
|
@@ -26,41 +26,18 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.actorFeedItemDtoFromJSON = exports.actorFeedItemDtoToJSON = exports.ActorFeedItemDto$ = exports.ActorFeedItemDto$outboundSchema = exports.ActorFeedItemDto$inboundSchema =
|
|
29
|
+
exports.actorFeedItemDtoFromJSON = exports.actorFeedItemDtoToJSON = exports.ActorFeedItemDto$ = exports.ActorFeedItemDto$outboundSchema = exports.ActorFeedItemDto$inboundSchema = void 0;
|
|
30
30
|
const z = __importStar(require("zod"));
|
|
31
31
|
const schemas_js_1 = require("../../lib/schemas.js");
|
|
32
32
|
const actortypeenum_js_1 = require("./actortypeenum.js");
|
|
33
33
|
/** @internal */
|
|
34
|
-
exports.ActorFeedItemDtoData$inboundSchema = z.object({});
|
|
35
|
-
/** @internal */
|
|
36
|
-
exports.ActorFeedItemDtoData$outboundSchema = z.object({});
|
|
37
|
-
/**
|
|
38
|
-
* @internal
|
|
39
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
40
|
-
*/
|
|
41
|
-
var ActorFeedItemDtoData$;
|
|
42
|
-
(function (ActorFeedItemDtoData$) {
|
|
43
|
-
/** @deprecated use `ActorFeedItemDtoData$inboundSchema` instead. */
|
|
44
|
-
ActorFeedItemDtoData$.inboundSchema = exports.ActorFeedItemDtoData$inboundSchema;
|
|
45
|
-
/** @deprecated use `ActorFeedItemDtoData$outboundSchema` instead. */
|
|
46
|
-
ActorFeedItemDtoData$.outboundSchema = exports.ActorFeedItemDtoData$outboundSchema;
|
|
47
|
-
})(ActorFeedItemDtoData$ || (exports.ActorFeedItemDtoData$ = ActorFeedItemDtoData$ = {}));
|
|
48
|
-
function actorFeedItemDtoDataToJSON(actorFeedItemDtoData) {
|
|
49
|
-
return JSON.stringify(exports.ActorFeedItemDtoData$outboundSchema.parse(actorFeedItemDtoData));
|
|
50
|
-
}
|
|
51
|
-
exports.actorFeedItemDtoDataToJSON = actorFeedItemDtoDataToJSON;
|
|
52
|
-
function actorFeedItemDtoDataFromJSON(jsonString) {
|
|
53
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ActorFeedItemDtoData$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ActorFeedItemDtoData' from JSON`);
|
|
54
|
-
}
|
|
55
|
-
exports.actorFeedItemDtoDataFromJSON = actorFeedItemDtoDataFromJSON;
|
|
56
|
-
/** @internal */
|
|
57
34
|
exports.ActorFeedItemDto$inboundSchema = z.object({
|
|
58
|
-
data: z.nullable(z.
|
|
35
|
+
data: z.nullable(z.string()),
|
|
59
36
|
type: actortypeenum_js_1.ActorTypeEnum$inboundSchema,
|
|
60
37
|
});
|
|
61
38
|
/** @internal */
|
|
62
39
|
exports.ActorFeedItemDto$outboundSchema = z.object({
|
|
63
|
-
data: z.nullable(z.
|
|
40
|
+
data: z.nullable(z.string()),
|
|
64
41
|
type: actortypeenum_js_1.ActorTypeEnum$outboundSchema,
|
|
65
42
|
});
|
|
66
43
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actorfeeditemdto.js","sourceRoot":"","sources":["../../src/models/components/actorfeeditemdto.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,qDAAiD;AAGjD,yDAI4B;
|
|
1
|
+
{"version":3,"file":"actorfeeditemdto.js","sourceRoot":"","sources":["../../src/models/components/actorfeeditemdto.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,qDAAiD;AAGjD,yDAI4B;AAa5B,gBAAgB;AACH,QAAA,8BAA8B,GAIvC,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAC5B,IAAI,EAAE,8CAA2B;CAClC,CAAC,CAAC;AAQH,gBAAgB;AACH,QAAA,+BAA+B,GAIxC,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAC5B,IAAI,EAAE,+CAA4B;CACnC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,iBAAiB,CAOjC;AAPD,WAAiB,iBAAiB;IAChC,gEAAgE;IACnD,+BAAa,GAAG,sCAA8B,CAAC;IAC5D,iEAAiE;IACpD,gCAAc,GAAG,uCAA+B,CAAC;AAGhE,CAAC,EAPgB,iBAAiB,iCAAjB,iBAAiB,QAOjC;AAED,SAAgB,sBAAsB,CACpC,gBAAkC;IAElC,OAAO,IAAI,CAAC,SAAS,CACnB,uCAA+B,CAAC,KAAK,CAAC,gBAAgB,CAAC,CACxD,CAAC;AACJ,CAAC;AAND,wDAMC;AAED,SAAgB,wBAAwB,CACtC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,sCAA8B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC1D,8CAA8C,CAC/C,CAAC;AACJ,CAAC;AARD,4DAQC"}
|
|
@@ -6,18 +6,6 @@ import { ActorFeedItemDto, ActorFeedItemDto$Outbound } from "./actorfeeditemdto.
|
|
|
6
6
|
import { ChannelTypeEnum } from "./channeltypeenum.js";
|
|
7
7
|
import { MessageCTA, MessageCTA$Outbound } from "./messagecta.js";
|
|
8
8
|
import { SubscriberFeedResponseDto, SubscriberFeedResponseDto$Outbound } from "./subscriberfeedresponsedto.js";
|
|
9
|
-
/**
|
|
10
|
-
* Identifier for the template used, if applicable.
|
|
11
|
-
*/
|
|
12
|
-
export type TemplateIdentifier = {};
|
|
13
|
-
/**
|
|
14
|
-
* Identifier for the provider that sends the notification.
|
|
15
|
-
*/
|
|
16
|
-
export type NotificationFeedItemDtoProviderId = {};
|
|
17
|
-
/**
|
|
18
|
-
* The subject line for email notifications, if applicable.
|
|
19
|
-
*/
|
|
20
|
-
export type Subject = {};
|
|
21
9
|
/**
|
|
22
10
|
* Current status of the notification.
|
|
23
11
|
*/
|
|
@@ -90,11 +78,11 @@ export type NotificationFeedItemDto = {
|
|
|
90
78
|
/**
|
|
91
79
|
* Identifier for the template used, if applicable.
|
|
92
80
|
*/
|
|
93
|
-
templateIdentifier?:
|
|
81
|
+
templateIdentifier?: string | null | undefined;
|
|
94
82
|
/**
|
|
95
83
|
* Identifier for the provider that sends the notification.
|
|
96
84
|
*/
|
|
97
|
-
providerId?:
|
|
85
|
+
providerId?: string | null | undefined;
|
|
98
86
|
/**
|
|
99
87
|
* The main content of the notification.
|
|
100
88
|
*/
|
|
@@ -102,7 +90,7 @@ export type NotificationFeedItemDto = {
|
|
|
102
90
|
/**
|
|
103
91
|
* The subject line for email notifications, if applicable.
|
|
104
92
|
*/
|
|
105
|
-
subject?:
|
|
93
|
+
subject?: string | null | undefined;
|
|
106
94
|
/**
|
|
107
95
|
* The channel through which the notification is sent.
|
|
108
96
|
*/
|
|
@@ -145,66 +133,6 @@ export type NotificationFeedItemDto = {
|
|
|
145
133
|
} | undefined;
|
|
146
134
|
};
|
|
147
135
|
/** @internal */
|
|
148
|
-
export declare const TemplateIdentifier$inboundSchema: z.ZodType<TemplateIdentifier, z.ZodTypeDef, unknown>;
|
|
149
|
-
/** @internal */
|
|
150
|
-
export type TemplateIdentifier$Outbound = {};
|
|
151
|
-
/** @internal */
|
|
152
|
-
export declare const TemplateIdentifier$outboundSchema: z.ZodType<TemplateIdentifier$Outbound, z.ZodTypeDef, TemplateIdentifier>;
|
|
153
|
-
/**
|
|
154
|
-
* @internal
|
|
155
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
156
|
-
*/
|
|
157
|
-
export declare namespace TemplateIdentifier$ {
|
|
158
|
-
/** @deprecated use `TemplateIdentifier$inboundSchema` instead. */
|
|
159
|
-
const inboundSchema: z.ZodType<TemplateIdentifier, z.ZodTypeDef, unknown>;
|
|
160
|
-
/** @deprecated use `TemplateIdentifier$outboundSchema` instead. */
|
|
161
|
-
const outboundSchema: z.ZodType<TemplateIdentifier$Outbound, z.ZodTypeDef, TemplateIdentifier>;
|
|
162
|
-
/** @deprecated use `TemplateIdentifier$Outbound` instead. */
|
|
163
|
-
type Outbound = TemplateIdentifier$Outbound;
|
|
164
|
-
}
|
|
165
|
-
export declare function templateIdentifierToJSON(templateIdentifier: TemplateIdentifier): string;
|
|
166
|
-
export declare function templateIdentifierFromJSON(jsonString: string): SafeParseResult<TemplateIdentifier, SDKValidationError>;
|
|
167
|
-
/** @internal */
|
|
168
|
-
export declare const NotificationFeedItemDtoProviderId$inboundSchema: z.ZodType<NotificationFeedItemDtoProviderId, z.ZodTypeDef, unknown>;
|
|
169
|
-
/** @internal */
|
|
170
|
-
export type NotificationFeedItemDtoProviderId$Outbound = {};
|
|
171
|
-
/** @internal */
|
|
172
|
-
export declare const NotificationFeedItemDtoProviderId$outboundSchema: z.ZodType<NotificationFeedItemDtoProviderId$Outbound, z.ZodTypeDef, NotificationFeedItemDtoProviderId>;
|
|
173
|
-
/**
|
|
174
|
-
* @internal
|
|
175
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
176
|
-
*/
|
|
177
|
-
export declare namespace NotificationFeedItemDtoProviderId$ {
|
|
178
|
-
/** @deprecated use `NotificationFeedItemDtoProviderId$inboundSchema` instead. */
|
|
179
|
-
const inboundSchema: z.ZodType<NotificationFeedItemDtoProviderId, z.ZodTypeDef, unknown>;
|
|
180
|
-
/** @deprecated use `NotificationFeedItemDtoProviderId$outboundSchema` instead. */
|
|
181
|
-
const outboundSchema: z.ZodType<NotificationFeedItemDtoProviderId$Outbound, z.ZodTypeDef, NotificationFeedItemDtoProviderId>;
|
|
182
|
-
/** @deprecated use `NotificationFeedItemDtoProviderId$Outbound` instead. */
|
|
183
|
-
type Outbound = NotificationFeedItemDtoProviderId$Outbound;
|
|
184
|
-
}
|
|
185
|
-
export declare function notificationFeedItemDtoProviderIdToJSON(notificationFeedItemDtoProviderId: NotificationFeedItemDtoProviderId): string;
|
|
186
|
-
export declare function notificationFeedItemDtoProviderIdFromJSON(jsonString: string): SafeParseResult<NotificationFeedItemDtoProviderId, SDKValidationError>;
|
|
187
|
-
/** @internal */
|
|
188
|
-
export declare const Subject$inboundSchema: z.ZodType<Subject, z.ZodTypeDef, unknown>;
|
|
189
|
-
/** @internal */
|
|
190
|
-
export type Subject$Outbound = {};
|
|
191
|
-
/** @internal */
|
|
192
|
-
export declare const Subject$outboundSchema: z.ZodType<Subject$Outbound, z.ZodTypeDef, Subject>;
|
|
193
|
-
/**
|
|
194
|
-
* @internal
|
|
195
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
196
|
-
*/
|
|
197
|
-
export declare namespace Subject$ {
|
|
198
|
-
/** @deprecated use `Subject$inboundSchema` instead. */
|
|
199
|
-
const inboundSchema: z.ZodType<Subject, z.ZodTypeDef, unknown>;
|
|
200
|
-
/** @deprecated use `Subject$outboundSchema` instead. */
|
|
201
|
-
const outboundSchema: z.ZodType<Subject$Outbound, z.ZodTypeDef, Subject>;
|
|
202
|
-
/** @deprecated use `Subject$Outbound` instead. */
|
|
203
|
-
type Outbound = Subject$Outbound;
|
|
204
|
-
}
|
|
205
|
-
export declare function subjectToJSON(subject: Subject): string;
|
|
206
|
-
export declare function subjectFromJSON(jsonString: string): SafeParseResult<Subject, SDKValidationError>;
|
|
207
|
-
/** @internal */
|
|
208
136
|
export declare const NotificationFeedItemDtoStatus$inboundSchema: z.ZodNativeEnum<typeof NotificationFeedItemDtoStatus>;
|
|
209
137
|
/** @internal */
|
|
210
138
|
export declare const NotificationFeedItemDtoStatus$outboundSchema: z.ZodNativeEnum<typeof NotificationFeedItemDtoStatus>;
|
|
@@ -244,10 +172,10 @@ export type NotificationFeedItemDto$Outbound = {
|
|
|
244
172
|
actor?: ActorFeedItemDto$Outbound | undefined;
|
|
245
173
|
subscriber?: SubscriberFeedResponseDto$Outbound | undefined;
|
|
246
174
|
transactionId: string;
|
|
247
|
-
templateIdentifier?:
|
|
248
|
-
providerId?:
|
|
175
|
+
templateIdentifier?: string | null | undefined;
|
|
176
|
+
providerId?: string | null | undefined;
|
|
249
177
|
content: string;
|
|
250
|
-
subject?:
|
|
178
|
+
subject?: string | null | undefined;
|
|
251
179
|
channel: string;
|
|
252
180
|
read: boolean;
|
|
253
181
|
seen: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notificationfeeditemdto.d.ts","sourceRoot":"","sources":["../../src/models/components/notificationfeeditemdto.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,gBAAgB,EAEhB,yBAAyB,EAE1B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,eAAe,EAGhB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,UAAU,EAEV,mBAAmB,EAEpB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,yBAAyB,EAEzB,kCAAkC,EAEnC,MAAM,gCAAgC,CAAC;AAExC;;GAEG;AACH,
|
|
1
|
+
{"version":3,"file":"notificationfeeditemdto.d.ts","sourceRoot":"","sources":["../../src/models/components/notificationfeeditemdto.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,gBAAgB,EAEhB,yBAAyB,EAE1B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,eAAe,EAGhB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,UAAU,EAEV,mBAAmB,EAEpB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,yBAAyB,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EAAwE;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"}
|
|
@@ -26,7 +26,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.notificationFeedItemDtoFromJSON = exports.notificationFeedItemDtoToJSON = exports.NotificationFeedItemDto$ = exports.NotificationFeedItemDto$outboundSchema = exports.NotificationFeedItemDto$inboundSchema = exports.NotificationFeedItemDtoStatus$ = exports.NotificationFeedItemDtoStatus$outboundSchema = exports.NotificationFeedItemDtoStatus$inboundSchema = exports.
|
|
29
|
+
exports.notificationFeedItemDtoFromJSON = exports.notificationFeedItemDtoToJSON = exports.NotificationFeedItemDto$ = exports.NotificationFeedItemDto$outboundSchema = exports.NotificationFeedItemDto$inboundSchema = exports.NotificationFeedItemDtoStatus$ = exports.NotificationFeedItemDtoStatus$outboundSchema = exports.NotificationFeedItemDtoStatus$inboundSchema = exports.NotificationFeedItemDtoStatus = void 0;
|
|
30
30
|
const z = __importStar(require("zod"));
|
|
31
31
|
const primitives_js_1 = require("../../lib/primitives.js");
|
|
32
32
|
const schemas_js_1 = require("../../lib/schemas.js");
|
|
@@ -43,75 +43,6 @@ exports.NotificationFeedItemDtoStatus = {
|
|
|
43
43
|
Warning: "warning",
|
|
44
44
|
};
|
|
45
45
|
/** @internal */
|
|
46
|
-
exports.TemplateIdentifier$inboundSchema = z.object({});
|
|
47
|
-
/** @internal */
|
|
48
|
-
exports.TemplateIdentifier$outboundSchema = z.object({});
|
|
49
|
-
/**
|
|
50
|
-
* @internal
|
|
51
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
52
|
-
*/
|
|
53
|
-
var TemplateIdentifier$;
|
|
54
|
-
(function (TemplateIdentifier$) {
|
|
55
|
-
/** @deprecated use `TemplateIdentifier$inboundSchema` instead. */
|
|
56
|
-
TemplateIdentifier$.inboundSchema = exports.TemplateIdentifier$inboundSchema;
|
|
57
|
-
/** @deprecated use `TemplateIdentifier$outboundSchema` instead. */
|
|
58
|
-
TemplateIdentifier$.outboundSchema = exports.TemplateIdentifier$outboundSchema;
|
|
59
|
-
})(TemplateIdentifier$ || (exports.TemplateIdentifier$ = TemplateIdentifier$ = {}));
|
|
60
|
-
function templateIdentifierToJSON(templateIdentifier) {
|
|
61
|
-
return JSON.stringify(exports.TemplateIdentifier$outboundSchema.parse(templateIdentifier));
|
|
62
|
-
}
|
|
63
|
-
exports.templateIdentifierToJSON = templateIdentifierToJSON;
|
|
64
|
-
function templateIdentifierFromJSON(jsonString) {
|
|
65
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.TemplateIdentifier$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TemplateIdentifier' from JSON`);
|
|
66
|
-
}
|
|
67
|
-
exports.templateIdentifierFromJSON = templateIdentifierFromJSON;
|
|
68
|
-
/** @internal */
|
|
69
|
-
exports.NotificationFeedItemDtoProviderId$inboundSchema = z.object({});
|
|
70
|
-
/** @internal */
|
|
71
|
-
exports.NotificationFeedItemDtoProviderId$outboundSchema = z.object({});
|
|
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
|
-
var NotificationFeedItemDtoProviderId$;
|
|
77
|
-
(function (NotificationFeedItemDtoProviderId$) {
|
|
78
|
-
/** @deprecated use `NotificationFeedItemDtoProviderId$inboundSchema` instead. */
|
|
79
|
-
NotificationFeedItemDtoProviderId$.inboundSchema = exports.NotificationFeedItemDtoProviderId$inboundSchema;
|
|
80
|
-
/** @deprecated use `NotificationFeedItemDtoProviderId$outboundSchema` instead. */
|
|
81
|
-
NotificationFeedItemDtoProviderId$.outboundSchema = exports.NotificationFeedItemDtoProviderId$outboundSchema;
|
|
82
|
-
})(NotificationFeedItemDtoProviderId$ || (exports.NotificationFeedItemDtoProviderId$ = NotificationFeedItemDtoProviderId$ = {}));
|
|
83
|
-
function notificationFeedItemDtoProviderIdToJSON(notificationFeedItemDtoProviderId) {
|
|
84
|
-
return JSON.stringify(exports.NotificationFeedItemDtoProviderId$outboundSchema.parse(notificationFeedItemDtoProviderId));
|
|
85
|
-
}
|
|
86
|
-
exports.notificationFeedItemDtoProviderIdToJSON = notificationFeedItemDtoProviderIdToJSON;
|
|
87
|
-
function notificationFeedItemDtoProviderIdFromJSON(jsonString) {
|
|
88
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.NotificationFeedItemDtoProviderId$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'NotificationFeedItemDtoProviderId' from JSON`);
|
|
89
|
-
}
|
|
90
|
-
exports.notificationFeedItemDtoProviderIdFromJSON = notificationFeedItemDtoProviderIdFromJSON;
|
|
91
|
-
/** @internal */
|
|
92
|
-
exports.Subject$inboundSchema = z.object({});
|
|
93
|
-
/** @internal */
|
|
94
|
-
exports.Subject$outboundSchema = z.object({});
|
|
95
|
-
/**
|
|
96
|
-
* @internal
|
|
97
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
98
|
-
*/
|
|
99
|
-
var Subject$;
|
|
100
|
-
(function (Subject$) {
|
|
101
|
-
/** @deprecated use `Subject$inboundSchema` instead. */
|
|
102
|
-
Subject$.inboundSchema = exports.Subject$inboundSchema;
|
|
103
|
-
/** @deprecated use `Subject$outboundSchema` instead. */
|
|
104
|
-
Subject$.outboundSchema = exports.Subject$outboundSchema;
|
|
105
|
-
})(Subject$ || (exports.Subject$ = Subject$ = {}));
|
|
106
|
-
function subjectToJSON(subject) {
|
|
107
|
-
return JSON.stringify(exports.Subject$outboundSchema.parse(subject));
|
|
108
|
-
}
|
|
109
|
-
exports.subjectToJSON = subjectToJSON;
|
|
110
|
-
function subjectFromJSON(jsonString) {
|
|
111
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Subject$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Subject' from JSON`);
|
|
112
|
-
}
|
|
113
|
-
exports.subjectFromJSON = subjectFromJSON;
|
|
114
|
-
/** @internal */
|
|
115
46
|
exports.NotificationFeedItemDtoStatus$inboundSchema = z.nativeEnum(exports.NotificationFeedItemDtoStatus);
|
|
116
47
|
/** @internal */
|
|
117
48
|
exports.NotificationFeedItemDtoStatus$outboundSchema = exports.NotificationFeedItemDtoStatus$inboundSchema;
|
|
@@ -142,11 +73,10 @@ exports.NotificationFeedItemDto$inboundSchema = z.object({
|
|
|
142
73
|
actor: actorfeeditemdto_js_1.ActorFeedItemDto$inboundSchema.optional(),
|
|
143
74
|
subscriber: subscriberfeedresponsedto_js_1.SubscriberFeedResponseDto$inboundSchema.optional(),
|
|
144
75
|
transactionId: z.string(),
|
|
145
|
-
templateIdentifier: z.nullable(z.
|
|
146
|
-
|
|
147
|
-
providerId: z.nullable(z.lazy(() => exports.NotificationFeedItemDtoProviderId$inboundSchema)).optional(),
|
|
76
|
+
templateIdentifier: z.nullable(z.string()).optional(),
|
|
77
|
+
providerId: z.nullable(z.string()).optional(),
|
|
148
78
|
content: z.string(),
|
|
149
|
-
subject: z.nullable(z.
|
|
79
|
+
subject: z.nullable(z.string()).optional(),
|
|
150
80
|
channel: channeltypeenum_js_1.ChannelTypeEnum$inboundSchema,
|
|
151
81
|
read: z.boolean(),
|
|
152
82
|
seen: z.boolean(),
|
|
@@ -185,10 +115,10 @@ exports.NotificationFeedItemDto$outboundSchema = z.object({
|
|
|
185
115
|
actor: actorfeeditemdto_js_1.ActorFeedItemDto$outboundSchema.optional(),
|
|
186
116
|
subscriber: subscriberfeedresponsedto_js_1.SubscriberFeedResponseDto$outboundSchema.optional(),
|
|
187
117
|
transactionId: z.string(),
|
|
188
|
-
templateIdentifier: z.nullable(z.
|
|
189
|
-
providerId: z.nullable(z.
|
|
118
|
+
templateIdentifier: z.nullable(z.string()).optional(),
|
|
119
|
+
providerId: z.nullable(z.string()).optional(),
|
|
190
120
|
content: z.string(),
|
|
191
|
-
subject: z.nullable(z.
|
|
121
|
+
subject: z.nullable(z.string()).optional(),
|
|
192
122
|
channel: channeltypeenum_js_1.ChannelTypeEnum$outboundSchema,
|
|
193
123
|
read: z.boolean(),
|
|
194
124
|
seen: z.boolean(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notificationfeeditemdto.js","sourceRoot":"","sources":["../../src/models/components/notificationfeeditemdto.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAIjD,+DAK+B;AAC/B,6DAI8B;AAC9B,mDAKyB;AACzB,iFAKwC;
|
|
1
|
+
{"version":3,"file":"notificationfeeditemdto.js","sourceRoot":"","sources":["../../src/models/components/notificationfeeditemdto.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAIjD,+DAK+B;AAC/B,6DAI8B;AAC9B,mDAKyB;AACzB,iFAKwC;AAExC;;GAEG;AACU,QAAA,6BAA6B,GAAG;IAC3C,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,SAAS;CACV,CAAC;AAuHX,gBAAgB;AACH,QAAA,2CAA2C,GAEpD,CAAC,CAAC,UAAU,CAAC,qCAA6B,CAAC,CAAC;AAEhD,gBAAgB;AACH,QAAA,4CAA4C,GAErD,mDAA2C,CAAC;AAEhD;;;GAGG;AACH,IAAiB,8BAA8B,CAK9C;AALD,WAAiB,8BA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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"}
|
package/package.json
CHANGED
package/src/lib/config.ts
CHANGED
|
@@ -55,7 +55,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
55
55
|
export const SDK_METADATA = {
|
|
56
56
|
language: "typescript",
|
|
57
57
|
openapiDocVersion: "1.0",
|
|
58
|
-
sdkVersion: "0.0.1-alpha.
|
|
58
|
+
sdkVersion: "0.0.1-alpha.79",
|
|
59
59
|
genVersion: "2.474.15",
|
|
60
|
-
userAgent: "speakeasy-sdk/typescript 0.0.1-alpha.
|
|
60
|
+
userAgent: "speakeasy-sdk/typescript 0.0.1-alpha.79 2.474.15 1.0 @novu/api",
|
|
61
61
|
} as const;
|
|
@@ -12,83 +12,30 @@ import {
|
|
|
12
12
|
ActorTypeEnum$outboundSchema,
|
|
13
13
|
} from "./actortypeenum.js";
|
|
14
14
|
|
|
15
|
-
/**
|
|
16
|
-
* The data associated with the actor, can be null if not applicable.
|
|
17
|
-
*/
|
|
18
|
-
export type ActorFeedItemDtoData = {};
|
|
19
|
-
|
|
20
15
|
export type ActorFeedItemDto = {
|
|
21
16
|
/**
|
|
22
17
|
* The data associated with the actor, can be null if not applicable.
|
|
23
18
|
*/
|
|
24
|
-
data:
|
|
19
|
+
data: string | null;
|
|
25
20
|
/**
|
|
26
21
|
* The type of the actor, indicating the role in the notification process.
|
|
27
22
|
*/
|
|
28
23
|
type: ActorTypeEnum;
|
|
29
24
|
};
|
|
30
25
|
|
|
31
|
-
/** @internal */
|
|
32
|
-
export const ActorFeedItemDtoData$inboundSchema: z.ZodType<
|
|
33
|
-
ActorFeedItemDtoData,
|
|
34
|
-
z.ZodTypeDef,
|
|
35
|
-
unknown
|
|
36
|
-
> = z.object({});
|
|
37
|
-
|
|
38
|
-
/** @internal */
|
|
39
|
-
export type ActorFeedItemDtoData$Outbound = {};
|
|
40
|
-
|
|
41
|
-
/** @internal */
|
|
42
|
-
export const ActorFeedItemDtoData$outboundSchema: z.ZodType<
|
|
43
|
-
ActorFeedItemDtoData$Outbound,
|
|
44
|
-
z.ZodTypeDef,
|
|
45
|
-
ActorFeedItemDtoData
|
|
46
|
-
> = z.object({});
|
|
47
|
-
|
|
48
|
-
/**
|
|
49
|
-
* @internal
|
|
50
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
51
|
-
*/
|
|
52
|
-
export namespace ActorFeedItemDtoData$ {
|
|
53
|
-
/** @deprecated use `ActorFeedItemDtoData$inboundSchema` instead. */
|
|
54
|
-
export const inboundSchema = ActorFeedItemDtoData$inboundSchema;
|
|
55
|
-
/** @deprecated use `ActorFeedItemDtoData$outboundSchema` instead. */
|
|
56
|
-
export const outboundSchema = ActorFeedItemDtoData$outboundSchema;
|
|
57
|
-
/** @deprecated use `ActorFeedItemDtoData$Outbound` instead. */
|
|
58
|
-
export type Outbound = ActorFeedItemDtoData$Outbound;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
export function actorFeedItemDtoDataToJSON(
|
|
62
|
-
actorFeedItemDtoData: ActorFeedItemDtoData,
|
|
63
|
-
): string {
|
|
64
|
-
return JSON.stringify(
|
|
65
|
-
ActorFeedItemDtoData$outboundSchema.parse(actorFeedItemDtoData),
|
|
66
|
-
);
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
export function actorFeedItemDtoDataFromJSON(
|
|
70
|
-
jsonString: string,
|
|
71
|
-
): SafeParseResult<ActorFeedItemDtoData, SDKValidationError> {
|
|
72
|
-
return safeParse(
|
|
73
|
-
jsonString,
|
|
74
|
-
(x) => ActorFeedItemDtoData$inboundSchema.parse(JSON.parse(x)),
|
|
75
|
-
`Failed to parse 'ActorFeedItemDtoData' from JSON`,
|
|
76
|
-
);
|
|
77
|
-
}
|
|
78
|
-
|
|
79
26
|
/** @internal */
|
|
80
27
|
export const ActorFeedItemDto$inboundSchema: z.ZodType<
|
|
81
28
|
ActorFeedItemDto,
|
|
82
29
|
z.ZodTypeDef,
|
|
83
30
|
unknown
|
|
84
31
|
> = z.object({
|
|
85
|
-
data: z.nullable(z.
|
|
32
|
+
data: z.nullable(z.string()),
|
|
86
33
|
type: ActorTypeEnum$inboundSchema,
|
|
87
34
|
});
|
|
88
35
|
|
|
89
36
|
/** @internal */
|
|
90
37
|
export type ActorFeedItemDto$Outbound = {
|
|
91
|
-
data:
|
|
38
|
+
data: string | null;
|
|
92
39
|
type: string;
|
|
93
40
|
};
|
|
94
41
|
|
|
@@ -98,7 +45,7 @@ export const ActorFeedItemDto$outboundSchema: z.ZodType<
|
|
|
98
45
|
z.ZodTypeDef,
|
|
99
46
|
ActorFeedItemDto
|
|
100
47
|
> = z.object({
|
|
101
|
-
data: z.nullable(z.
|
|
48
|
+
data: z.nullable(z.string()),
|
|
102
49
|
type: ActorTypeEnum$outboundSchema,
|
|
103
50
|
});
|
|
104
51
|
|
|
@@ -32,21 +32,6 @@ import {
|
|
|
32
32
|
SubscriberFeedResponseDto$outboundSchema,
|
|
33
33
|
} from "./subscriberfeedresponsedto.js";
|
|
34
34
|
|
|
35
|
-
/**
|
|
36
|
-
* Identifier for the template used, if applicable.
|
|
37
|
-
*/
|
|
38
|
-
export type TemplateIdentifier = {};
|
|
39
|
-
|
|
40
|
-
/**
|
|
41
|
-
* Identifier for the provider that sends the notification.
|
|
42
|
-
*/
|
|
43
|
-
export type NotificationFeedItemDtoProviderId = {};
|
|
44
|
-
|
|
45
|
-
/**
|
|
46
|
-
* The subject line for email notifications, if applicable.
|
|
47
|
-
*/
|
|
48
|
-
export type Subject = {};
|
|
49
|
-
|
|
50
35
|
/**
|
|
51
36
|
* Current status of the notification.
|
|
52
37
|
*/
|
|
@@ -122,11 +107,11 @@ export type NotificationFeedItemDto = {
|
|
|
122
107
|
/**
|
|
123
108
|
* Identifier for the template used, if applicable.
|
|
124
109
|
*/
|
|
125
|
-
templateIdentifier?:
|
|
110
|
+
templateIdentifier?: string | null | undefined;
|
|
126
111
|
/**
|
|
127
112
|
* Identifier for the provider that sends the notification.
|
|
128
113
|
*/
|
|
129
|
-
providerId?:
|
|
114
|
+
providerId?: string | null | undefined;
|
|
130
115
|
/**
|
|
131
116
|
* The main content of the notification.
|
|
132
117
|
*/
|
|
@@ -134,7 +119,7 @@ export type NotificationFeedItemDto = {
|
|
|
134
119
|
/**
|
|
135
120
|
* The subject line for email notifications, if applicable.
|
|
136
121
|
*/
|
|
137
|
-
subject?:
|
|
122
|
+
subject?: string | null | undefined;
|
|
138
123
|
/**
|
|
139
124
|
* The channel through which the notification is sent.
|
|
140
125
|
*/
|
|
@@ -173,146 +158,6 @@ export type NotificationFeedItemDto = {
|
|
|
173
158
|
overrides?: { [k: string]: any } | undefined;
|
|
174
159
|
};
|
|
175
160
|
|
|
176
|
-
/** @internal */
|
|
177
|
-
export const TemplateIdentifier$inboundSchema: z.ZodType<
|
|
178
|
-
TemplateIdentifier,
|
|
179
|
-
z.ZodTypeDef,
|
|
180
|
-
unknown
|
|
181
|
-
> = z.object({});
|
|
182
|
-
|
|
183
|
-
/** @internal */
|
|
184
|
-
export type TemplateIdentifier$Outbound = {};
|
|
185
|
-
|
|
186
|
-
/** @internal */
|
|
187
|
-
export const TemplateIdentifier$outboundSchema: z.ZodType<
|
|
188
|
-
TemplateIdentifier$Outbound,
|
|
189
|
-
z.ZodTypeDef,
|
|
190
|
-
TemplateIdentifier
|
|
191
|
-
> = z.object({});
|
|
192
|
-
|
|
193
|
-
/**
|
|
194
|
-
* @internal
|
|
195
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
196
|
-
*/
|
|
197
|
-
export namespace TemplateIdentifier$ {
|
|
198
|
-
/** @deprecated use `TemplateIdentifier$inboundSchema` instead. */
|
|
199
|
-
export const inboundSchema = TemplateIdentifier$inboundSchema;
|
|
200
|
-
/** @deprecated use `TemplateIdentifier$outboundSchema` instead. */
|
|
201
|
-
export const outboundSchema = TemplateIdentifier$outboundSchema;
|
|
202
|
-
/** @deprecated use `TemplateIdentifier$Outbound` instead. */
|
|
203
|
-
export type Outbound = TemplateIdentifier$Outbound;
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
export function templateIdentifierToJSON(
|
|
207
|
-
templateIdentifier: TemplateIdentifier,
|
|
208
|
-
): string {
|
|
209
|
-
return JSON.stringify(
|
|
210
|
-
TemplateIdentifier$outboundSchema.parse(templateIdentifier),
|
|
211
|
-
);
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
export function templateIdentifierFromJSON(
|
|
215
|
-
jsonString: string,
|
|
216
|
-
): SafeParseResult<TemplateIdentifier, SDKValidationError> {
|
|
217
|
-
return safeParse(
|
|
218
|
-
jsonString,
|
|
219
|
-
(x) => TemplateIdentifier$inboundSchema.parse(JSON.parse(x)),
|
|
220
|
-
`Failed to parse 'TemplateIdentifier' from JSON`,
|
|
221
|
-
);
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
/** @internal */
|
|
225
|
-
export const NotificationFeedItemDtoProviderId$inboundSchema: z.ZodType<
|
|
226
|
-
NotificationFeedItemDtoProviderId,
|
|
227
|
-
z.ZodTypeDef,
|
|
228
|
-
unknown
|
|
229
|
-
> = z.object({});
|
|
230
|
-
|
|
231
|
-
/** @internal */
|
|
232
|
-
export type NotificationFeedItemDtoProviderId$Outbound = {};
|
|
233
|
-
|
|
234
|
-
/** @internal */
|
|
235
|
-
export const NotificationFeedItemDtoProviderId$outboundSchema: z.ZodType<
|
|
236
|
-
NotificationFeedItemDtoProviderId$Outbound,
|
|
237
|
-
z.ZodTypeDef,
|
|
238
|
-
NotificationFeedItemDtoProviderId
|
|
239
|
-
> = z.object({});
|
|
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 NotificationFeedItemDtoProviderId$ {
|
|
246
|
-
/** @deprecated use `NotificationFeedItemDtoProviderId$inboundSchema` instead. */
|
|
247
|
-
export const inboundSchema = NotificationFeedItemDtoProviderId$inboundSchema;
|
|
248
|
-
/** @deprecated use `NotificationFeedItemDtoProviderId$outboundSchema` instead. */
|
|
249
|
-
export const outboundSchema =
|
|
250
|
-
NotificationFeedItemDtoProviderId$outboundSchema;
|
|
251
|
-
/** @deprecated use `NotificationFeedItemDtoProviderId$Outbound` instead. */
|
|
252
|
-
export type Outbound = NotificationFeedItemDtoProviderId$Outbound;
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
export function notificationFeedItemDtoProviderIdToJSON(
|
|
256
|
-
notificationFeedItemDtoProviderId: NotificationFeedItemDtoProviderId,
|
|
257
|
-
): string {
|
|
258
|
-
return JSON.stringify(
|
|
259
|
-
NotificationFeedItemDtoProviderId$outboundSchema.parse(
|
|
260
|
-
notificationFeedItemDtoProviderId,
|
|
261
|
-
),
|
|
262
|
-
);
|
|
263
|
-
}
|
|
264
|
-
|
|
265
|
-
export function notificationFeedItemDtoProviderIdFromJSON(
|
|
266
|
-
jsonString: string,
|
|
267
|
-
): SafeParseResult<NotificationFeedItemDtoProviderId, SDKValidationError> {
|
|
268
|
-
return safeParse(
|
|
269
|
-
jsonString,
|
|
270
|
-
(x) => NotificationFeedItemDtoProviderId$inboundSchema.parse(JSON.parse(x)),
|
|
271
|
-
`Failed to parse 'NotificationFeedItemDtoProviderId' from JSON`,
|
|
272
|
-
);
|
|
273
|
-
}
|
|
274
|
-
|
|
275
|
-
/** @internal */
|
|
276
|
-
export const Subject$inboundSchema: z.ZodType<Subject, z.ZodTypeDef, unknown> =
|
|
277
|
-
z.object({});
|
|
278
|
-
|
|
279
|
-
/** @internal */
|
|
280
|
-
export type Subject$Outbound = {};
|
|
281
|
-
|
|
282
|
-
/** @internal */
|
|
283
|
-
export const Subject$outboundSchema: z.ZodType<
|
|
284
|
-
Subject$Outbound,
|
|
285
|
-
z.ZodTypeDef,
|
|
286
|
-
Subject
|
|
287
|
-
> = z.object({});
|
|
288
|
-
|
|
289
|
-
/**
|
|
290
|
-
* @internal
|
|
291
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
292
|
-
*/
|
|
293
|
-
export namespace Subject$ {
|
|
294
|
-
/** @deprecated use `Subject$inboundSchema` instead. */
|
|
295
|
-
export const inboundSchema = Subject$inboundSchema;
|
|
296
|
-
/** @deprecated use `Subject$outboundSchema` instead. */
|
|
297
|
-
export const outboundSchema = Subject$outboundSchema;
|
|
298
|
-
/** @deprecated use `Subject$Outbound` instead. */
|
|
299
|
-
export type Outbound = Subject$Outbound;
|
|
300
|
-
}
|
|
301
|
-
|
|
302
|
-
export function subjectToJSON(subject: Subject): string {
|
|
303
|
-
return JSON.stringify(Subject$outboundSchema.parse(subject));
|
|
304
|
-
}
|
|
305
|
-
|
|
306
|
-
export function subjectFromJSON(
|
|
307
|
-
jsonString: string,
|
|
308
|
-
): SafeParseResult<Subject, SDKValidationError> {
|
|
309
|
-
return safeParse(
|
|
310
|
-
jsonString,
|
|
311
|
-
(x) => Subject$inboundSchema.parse(JSON.parse(x)),
|
|
312
|
-
`Failed to parse 'Subject' from JSON`,
|
|
313
|
-
);
|
|
314
|
-
}
|
|
315
|
-
|
|
316
161
|
/** @internal */
|
|
317
162
|
export const NotificationFeedItemDtoStatus$inboundSchema: z.ZodNativeEnum<
|
|
318
163
|
typeof NotificationFeedItemDtoStatus
|
|
@@ -358,13 +203,10 @@ export const NotificationFeedItemDto$inboundSchema: z.ZodType<
|
|
|
358
203
|
actor: ActorFeedItemDto$inboundSchema.optional(),
|
|
359
204
|
subscriber: SubscriberFeedResponseDto$inboundSchema.optional(),
|
|
360
205
|
transactionId: z.string(),
|
|
361
|
-
templateIdentifier: z.nullable(z.
|
|
362
|
-
|
|
363
|
-
providerId: z.nullable(
|
|
364
|
-
z.lazy(() => NotificationFeedItemDtoProviderId$inboundSchema),
|
|
365
|
-
).optional(),
|
|
206
|
+
templateIdentifier: z.nullable(z.string()).optional(),
|
|
207
|
+
providerId: z.nullable(z.string()).optional(),
|
|
366
208
|
content: z.string(),
|
|
367
|
-
subject: z.nullable(z.
|
|
209
|
+
subject: z.nullable(z.string()).optional(),
|
|
368
210
|
channel: ChannelTypeEnum$inboundSchema,
|
|
369
211
|
read: z.boolean(),
|
|
370
212
|
seen: z.boolean(),
|
|
@@ -404,10 +246,10 @@ export type NotificationFeedItemDto$Outbound = {
|
|
|
404
246
|
actor?: ActorFeedItemDto$Outbound | undefined;
|
|
405
247
|
subscriber?: SubscriberFeedResponseDto$Outbound | undefined;
|
|
406
248
|
transactionId: string;
|
|
407
|
-
templateIdentifier?:
|
|
408
|
-
providerId?:
|
|
249
|
+
templateIdentifier?: string | null | undefined;
|
|
250
|
+
providerId?: string | null | undefined;
|
|
409
251
|
content: string;
|
|
410
|
-
subject?:
|
|
252
|
+
subject?: string | null | undefined;
|
|
411
253
|
channel: string;
|
|
412
254
|
read: boolean;
|
|
413
255
|
seen: boolean;
|
|
@@ -439,14 +281,10 @@ export const NotificationFeedItemDto$outboundSchema: z.ZodType<
|
|
|
439
281
|
actor: ActorFeedItemDto$outboundSchema.optional(),
|
|
440
282
|
subscriber: SubscriberFeedResponseDto$outboundSchema.optional(),
|
|
441
283
|
transactionId: z.string(),
|
|
442
|
-
templateIdentifier: z.nullable(
|
|
443
|
-
|
|
444
|
-
).optional(),
|
|
445
|
-
providerId: z.nullable(
|
|
446
|
-
z.lazy(() => NotificationFeedItemDtoProviderId$outboundSchema),
|
|
447
|
-
).optional(),
|
|
284
|
+
templateIdentifier: z.nullable(z.string()).optional(),
|
|
285
|
+
providerId: z.nullable(z.string()).optional(),
|
|
448
286
|
content: z.string(),
|
|
449
|
-
subject: z.nullable(z.
|
|
287
|
+
subject: z.nullable(z.string()).optional(),
|
|
450
288
|
channel: ChannelTypeEnum$outboundSchema,
|
|
451
289
|
read: z.boolean(),
|
|
452
290
|
seen: z.boolean(),
|