@novu/api 0.0.1-alpha.76 → 0.0.1-alpha.77
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/feedresponsedto.d.ts +2 -2
- package/models/components/feedresponsedto.d.ts.map +1 -1
- package/models/components/feedresponsedto.js +2 -2
- package/models/components/feedresponsedto.js.map +1 -1
- package/models/operations/subscriberscontrollergetnotificationsfeed.d.ts +2 -42
- package/models/operations/subscriberscontrollergetnotificationsfeed.d.ts.map +1 -1
- package/models/operations/subscriberscontrollergetnotificationsfeed.js +3 -36
- package/models/operations/subscriberscontrollergetnotificationsfeed.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/config.ts +2 -2
- package/src/models/components/feedresponsedto.ts +4 -4
- package/src/models/operations/subscriberscontrollergetnotificationsfeed.ts +4 -101
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.77";
|
|
31
31
|
readonly genVersion: "2.474.6";
|
|
32
|
-
readonly userAgent: "speakeasy-sdk/typescript 0.0.1-alpha.
|
|
32
|
+
readonly userAgent: "speakeasy-sdk/typescript 0.0.1-alpha.77 2.474.6 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.77",
|
|
34
34
|
genVersion: "2.474.6",
|
|
35
|
-
userAgent: "speakeasy-sdk/typescript 0.0.1-alpha.
|
|
35
|
+
userAgent: "speakeasy-sdk/typescript 0.0.1-alpha.77 2.474.6 1.0 @novu/api",
|
|
36
36
|
};
|
|
37
37
|
//# sourceMappingURL=config.js.map
|
|
@@ -6,7 +6,7 @@ export type FeedResponseDto = {
|
|
|
6
6
|
/**
|
|
7
7
|
* Total number of notifications available.
|
|
8
8
|
*/
|
|
9
|
-
totalCount?: number |
|
|
9
|
+
totalCount?: number | undefined;
|
|
10
10
|
/**
|
|
11
11
|
* Indicates if there are more notifications to load.
|
|
12
12
|
*/
|
|
@@ -28,7 +28,7 @@ export type FeedResponseDto = {
|
|
|
28
28
|
export declare const FeedResponseDto$inboundSchema: z.ZodType<FeedResponseDto, z.ZodTypeDef, unknown>;
|
|
29
29
|
/** @internal */
|
|
30
30
|
export type FeedResponseDto$Outbound = {
|
|
31
|
-
totalCount?: number |
|
|
31
|
+
totalCount?: number | undefined;
|
|
32
32
|
hasMore: boolean;
|
|
33
33
|
data: Array<NotificationDto$Outbound>;
|
|
34
34
|
pageSize: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"feedresponsedto.d.ts","sourceRoot":"","sources":["../../src/models/components/feedresponsedto.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,eAAe,EAEf,wBAAwB,EAEzB,MAAM,sBAAsB,CAAC;AAE9B,MAAM,MAAM,eAAe,GAAG;IAC5B;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,
|
|
1
|
+
{"version":3,"file":"feedresponsedto.d.ts","sourceRoot":"","sources":["../../src/models/components/feedresponsedto.ts"],"names":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BAAgB,qBAAqB,CACnC,eAAe,EAAE,eAAe,GAC/B,MAAM,CAER;AAED,wBAAgB,uBAAuB,CACrC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,eAAe,EAAE,kBAAkB,CAAC,CAMtD"}
|
|
@@ -32,7 +32,7 @@ const schemas_js_1 = require("../../lib/schemas.js");
|
|
|
32
32
|
const notificationdto_js_1 = require("./notificationdto.js");
|
|
33
33
|
/** @internal */
|
|
34
34
|
exports.FeedResponseDto$inboundSchema = z.object({
|
|
35
|
-
totalCount: z.
|
|
35
|
+
totalCount: z.number().optional(),
|
|
36
36
|
hasMore: z.boolean(),
|
|
37
37
|
data: z.array(notificationdto_js_1.NotificationDto$inboundSchema),
|
|
38
38
|
pageSize: z.number(),
|
|
@@ -40,7 +40,7 @@ exports.FeedResponseDto$inboundSchema = z.object({
|
|
|
40
40
|
});
|
|
41
41
|
/** @internal */
|
|
42
42
|
exports.FeedResponseDto$outboundSchema = z.object({
|
|
43
|
-
totalCount: z.
|
|
43
|
+
totalCount: z.number().optional(),
|
|
44
44
|
hasMore: z.boolean(),
|
|
45
45
|
data: z.array(notificationdto_js_1.NotificationDto$outboundSchema),
|
|
46
46
|
pageSize: z.number(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"feedresponsedto.js","sourceRoot":"","sources":["../../src/models/components/feedresponsedto.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,qDAAiD;AAGjD,6DAK8B;AAyB9B,gBAAgB;AACH,QAAA,6BAA6B,GAItC,CAAC,CAAC,MAAM,CAAC;IACX,UAAU,EAAE,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"feedresponsedto.js","sourceRoot":"","sources":["../../src/models/components/feedresponsedto.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,qDAAiD;AAGjD,6DAK8B;AAyB9B,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DAQC"}
|
|
@@ -13,26 +13,11 @@ export type SubscribersControllerGetNotificationsFeedRequest = {
|
|
|
13
13
|
*/
|
|
14
14
|
payload?: string | undefined;
|
|
15
15
|
};
|
|
16
|
-
export type SubscribersControllerGetNotificationsFeedResponseBody = {
|
|
17
|
-
/**
|
|
18
|
-
* The current page of the paginated response
|
|
19
|
-
*/
|
|
20
|
-
page: number;
|
|
21
|
-
/**
|
|
22
|
-
* Does the list have more items to fetch
|
|
23
|
-
*/
|
|
24
|
-
hasMore: boolean;
|
|
25
|
-
/**
|
|
26
|
-
* Number of items on each page
|
|
27
|
-
*/
|
|
28
|
-
pageSize: number;
|
|
29
|
-
data: Array<components.FeedResponseDto>;
|
|
30
|
-
};
|
|
31
16
|
export type SubscribersControllerGetNotificationsFeedResponse = {
|
|
32
17
|
headers: {
|
|
33
18
|
[k: string]: Array<string>;
|
|
34
19
|
};
|
|
35
|
-
result:
|
|
20
|
+
result: components.FeedResponseDto;
|
|
36
21
|
};
|
|
37
22
|
/** @internal */
|
|
38
23
|
export declare const SubscribersControllerGetNotificationsFeedRequest$inboundSchema: z.ZodType<SubscribersControllerGetNotificationsFeedRequest, z.ZodTypeDef, unknown>;
|
|
@@ -62,38 +47,13 @@ export declare namespace SubscribersControllerGetNotificationsFeedRequest$ {
|
|
|
62
47
|
export declare function subscribersControllerGetNotificationsFeedRequestToJSON(subscribersControllerGetNotificationsFeedRequest: SubscribersControllerGetNotificationsFeedRequest): string;
|
|
63
48
|
export declare function subscribersControllerGetNotificationsFeedRequestFromJSON(jsonString: string): SafeParseResult<SubscribersControllerGetNotificationsFeedRequest, SDKValidationError>;
|
|
64
49
|
/** @internal */
|
|
65
|
-
export declare const SubscribersControllerGetNotificationsFeedResponseBody$inboundSchema: z.ZodType<SubscribersControllerGetNotificationsFeedResponseBody, z.ZodTypeDef, unknown>;
|
|
66
|
-
/** @internal */
|
|
67
|
-
export type SubscribersControllerGetNotificationsFeedResponseBody$Outbound = {
|
|
68
|
-
page: number;
|
|
69
|
-
hasMore: boolean;
|
|
70
|
-
pageSize: number;
|
|
71
|
-
data: Array<components.FeedResponseDto$Outbound>;
|
|
72
|
-
};
|
|
73
|
-
/** @internal */
|
|
74
|
-
export declare const SubscribersControllerGetNotificationsFeedResponseBody$outboundSchema: z.ZodType<SubscribersControllerGetNotificationsFeedResponseBody$Outbound, z.ZodTypeDef, SubscribersControllerGetNotificationsFeedResponseBody>;
|
|
75
|
-
/**
|
|
76
|
-
* @internal
|
|
77
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
78
|
-
*/
|
|
79
|
-
export declare namespace SubscribersControllerGetNotificationsFeedResponseBody$ {
|
|
80
|
-
/** @deprecated use `SubscribersControllerGetNotificationsFeedResponseBody$inboundSchema` instead. */
|
|
81
|
-
const inboundSchema: z.ZodType<SubscribersControllerGetNotificationsFeedResponseBody, z.ZodTypeDef, unknown>;
|
|
82
|
-
/** @deprecated use `SubscribersControllerGetNotificationsFeedResponseBody$outboundSchema` instead. */
|
|
83
|
-
const outboundSchema: z.ZodType<SubscribersControllerGetNotificationsFeedResponseBody$Outbound, z.ZodTypeDef, SubscribersControllerGetNotificationsFeedResponseBody>;
|
|
84
|
-
/** @deprecated use `SubscribersControllerGetNotificationsFeedResponseBody$Outbound` instead. */
|
|
85
|
-
type Outbound = SubscribersControllerGetNotificationsFeedResponseBody$Outbound;
|
|
86
|
-
}
|
|
87
|
-
export declare function subscribersControllerGetNotificationsFeedResponseBodyToJSON(subscribersControllerGetNotificationsFeedResponseBody: SubscribersControllerGetNotificationsFeedResponseBody): string;
|
|
88
|
-
export declare function subscribersControllerGetNotificationsFeedResponseBodyFromJSON(jsonString: string): SafeParseResult<SubscribersControllerGetNotificationsFeedResponseBody, SDKValidationError>;
|
|
89
|
-
/** @internal */
|
|
90
50
|
export declare const SubscribersControllerGetNotificationsFeedResponse$inboundSchema: z.ZodType<SubscribersControllerGetNotificationsFeedResponse, z.ZodTypeDef, unknown>;
|
|
91
51
|
/** @internal */
|
|
92
52
|
export type SubscribersControllerGetNotificationsFeedResponse$Outbound = {
|
|
93
53
|
Headers: {
|
|
94
54
|
[k: string]: Array<string>;
|
|
95
55
|
};
|
|
96
|
-
Result:
|
|
56
|
+
Result: components.FeedResponseDto$Outbound;
|
|
97
57
|
};
|
|
98
58
|
/** @internal */
|
|
99
59
|
export declare const SubscribersControllerGetNotificationsFeedResponse$outboundSchema: z.ZodType<SubscribersControllerGetNotificationsFeedResponse$Outbound, z.ZodTypeDef, SubscribersControllerGetNotificationsFeedResponse>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscriberscontrollergetnotificationsfeed.d.ts","sourceRoot":"","sources":["../../src/models/operations/subscriberscontrollergetnotificationsfeed.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,gDAAgD,GAAG;IAC7D,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,IAAI,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC3B,IAAI,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC3B;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC9B,CAAC;AAEF,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"subscriberscontrollergetnotificationsfeed.d.ts","sourceRoot":"","sources":["../../src/models/operations/subscriberscontrollergetnotificationsfeed.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM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function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.subscribersControllerGetNotificationsFeedResponseFromJSON = exports.subscribersControllerGetNotificationsFeedResponseToJSON = exports.SubscribersControllerGetNotificationsFeedResponse$ = exports.SubscribersControllerGetNotificationsFeedResponse$outboundSchema = exports.SubscribersControllerGetNotificationsFeedResponse$inboundSchema = exports.
|
|
29
|
+
exports.subscribersControllerGetNotificationsFeedResponseFromJSON = exports.subscribersControllerGetNotificationsFeedResponseToJSON = exports.SubscribersControllerGetNotificationsFeedResponse$ = exports.SubscribersControllerGetNotificationsFeedResponse$outboundSchema = exports.SubscribersControllerGetNotificationsFeedResponse$inboundSchema = exports.subscribersControllerGetNotificationsFeedRequestFromJSON = exports.subscribersControllerGetNotificationsFeedRequestToJSON = exports.SubscribersControllerGetNotificationsFeedRequest$ = exports.SubscribersControllerGetNotificationsFeedRequest$outboundSchema = exports.SubscribersControllerGetNotificationsFeedRequest$inboundSchema = 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");
|
|
@@ -69,42 +69,9 @@ function subscribersControllerGetNotificationsFeedRequestFromJSON(jsonString) {
|
|
|
69
69
|
}
|
|
70
70
|
exports.subscribersControllerGetNotificationsFeedRequestFromJSON = subscribersControllerGetNotificationsFeedRequestFromJSON;
|
|
71
71
|
/** @internal */
|
|
72
|
-
exports.SubscribersControllerGetNotificationsFeedResponseBody$inboundSchema = z.object({
|
|
73
|
-
page: z.number(),
|
|
74
|
-
hasMore: z.boolean(),
|
|
75
|
-
pageSize: z.number(),
|
|
76
|
-
data: z.array(components.FeedResponseDto$inboundSchema),
|
|
77
|
-
});
|
|
78
|
-
/** @internal */
|
|
79
|
-
exports.SubscribersControllerGetNotificationsFeedResponseBody$outboundSchema = z.object({
|
|
80
|
-
page: z.number(),
|
|
81
|
-
hasMore: z.boolean(),
|
|
82
|
-
pageSize: z.number(),
|
|
83
|
-
data: z.array(components.FeedResponseDto$outboundSchema),
|
|
84
|
-
});
|
|
85
|
-
/**
|
|
86
|
-
* @internal
|
|
87
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
88
|
-
*/
|
|
89
|
-
var SubscribersControllerGetNotificationsFeedResponseBody$;
|
|
90
|
-
(function (SubscribersControllerGetNotificationsFeedResponseBody$) {
|
|
91
|
-
/** @deprecated use `SubscribersControllerGetNotificationsFeedResponseBody$inboundSchema` instead. */
|
|
92
|
-
SubscribersControllerGetNotificationsFeedResponseBody$.inboundSchema = exports.SubscribersControllerGetNotificationsFeedResponseBody$inboundSchema;
|
|
93
|
-
/** @deprecated use `SubscribersControllerGetNotificationsFeedResponseBody$outboundSchema` instead. */
|
|
94
|
-
SubscribersControllerGetNotificationsFeedResponseBody$.outboundSchema = exports.SubscribersControllerGetNotificationsFeedResponseBody$outboundSchema;
|
|
95
|
-
})(SubscribersControllerGetNotificationsFeedResponseBody$ || (exports.SubscribersControllerGetNotificationsFeedResponseBody$ = SubscribersControllerGetNotificationsFeedResponseBody$ = {}));
|
|
96
|
-
function subscribersControllerGetNotificationsFeedResponseBodyToJSON(subscribersControllerGetNotificationsFeedResponseBody) {
|
|
97
|
-
return JSON.stringify(exports.SubscribersControllerGetNotificationsFeedResponseBody$outboundSchema.parse(subscribersControllerGetNotificationsFeedResponseBody));
|
|
98
|
-
}
|
|
99
|
-
exports.subscribersControllerGetNotificationsFeedResponseBodyToJSON = subscribersControllerGetNotificationsFeedResponseBodyToJSON;
|
|
100
|
-
function subscribersControllerGetNotificationsFeedResponseBodyFromJSON(jsonString) {
|
|
101
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.SubscribersControllerGetNotificationsFeedResponseBody$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SubscribersControllerGetNotificationsFeedResponseBody' from JSON`);
|
|
102
|
-
}
|
|
103
|
-
exports.subscribersControllerGetNotificationsFeedResponseBodyFromJSON = subscribersControllerGetNotificationsFeedResponseBodyFromJSON;
|
|
104
|
-
/** @internal */
|
|
105
72
|
exports.SubscribersControllerGetNotificationsFeedResponse$inboundSchema = z.object({
|
|
106
73
|
Headers: z.record(z.array(z.string())),
|
|
107
|
-
Result:
|
|
74
|
+
Result: components.FeedResponseDto$inboundSchema,
|
|
108
75
|
}).transform((v) => {
|
|
109
76
|
return (0, primitives_js_1.remap)(v, {
|
|
110
77
|
"Headers": "headers",
|
|
@@ -114,7 +81,7 @@ exports.SubscribersControllerGetNotificationsFeedResponse$inboundSchema = z.obje
|
|
|
114
81
|
/** @internal */
|
|
115
82
|
exports.SubscribersControllerGetNotificationsFeedResponse$outboundSchema = z.object({
|
|
116
83
|
headers: z.record(z.array(z.string())),
|
|
117
|
-
result:
|
|
84
|
+
result: components.FeedResponseDto$outboundSchema,
|
|
118
85
|
}).transform((v) => {
|
|
119
86
|
return (0, primitives_js_1.remap)(v, {
|
|
120
87
|
headers: "Headers",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscriberscontrollergetnotificationsfeed.js","sourceRoot":"","sources":["../../src/models/operations/subscriberscontrollergetnotificationsfeed.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAEjD,mEAAqD;
|
|
1
|
+
{"version":3,"file":"subscriberscontrollergetnotificationsfeed.js","sourceRoot":"","sources":["../../src/models/operations/subscriberscontrollergetnotificationsfeed.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAEjD,mEAAqD;AAoBrD,gBAAgB;AACH,QAAA,8DAA8D,GAKrE,CAAC,CAAC,MAAM,CAAC;IACX,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE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,iDAAiD,CAClD,CACF,CAAC;AACJ,CAAC;AATD,0HASC;AAED,SAAgB,yDAAyD,CACvE,UAAkB;IAKlB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,uEAA+D,CAAC,KAAK,CACnE,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CACd,EACH,+EAA+E,CAChF,CAAC;AACJ,CAAC;AAdD,8HAcC"}
|
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.77",
|
|
59
59
|
genVersion: "2.474.6",
|
|
60
|
-
userAgent: "speakeasy-sdk/typescript 0.0.1-alpha.
|
|
60
|
+
userAgent: "speakeasy-sdk/typescript 0.0.1-alpha.77 2.474.6 1.0 @novu/api",
|
|
61
61
|
} as const;
|
|
@@ -17,7 +17,7 @@ export type FeedResponseDto = {
|
|
|
17
17
|
/**
|
|
18
18
|
* Total number of notifications available.
|
|
19
19
|
*/
|
|
20
|
-
totalCount?: number |
|
|
20
|
+
totalCount?: number | undefined;
|
|
21
21
|
/**
|
|
22
22
|
* Indicates if there are more notifications to load.
|
|
23
23
|
*/
|
|
@@ -42,7 +42,7 @@ export const FeedResponseDto$inboundSchema: z.ZodType<
|
|
|
42
42
|
z.ZodTypeDef,
|
|
43
43
|
unknown
|
|
44
44
|
> = z.object({
|
|
45
|
-
totalCount: z.
|
|
45
|
+
totalCount: z.number().optional(),
|
|
46
46
|
hasMore: z.boolean(),
|
|
47
47
|
data: z.array(NotificationDto$inboundSchema),
|
|
48
48
|
pageSize: z.number(),
|
|
@@ -51,7 +51,7 @@ export const FeedResponseDto$inboundSchema: z.ZodType<
|
|
|
51
51
|
|
|
52
52
|
/** @internal */
|
|
53
53
|
export type FeedResponseDto$Outbound = {
|
|
54
|
-
totalCount?: number |
|
|
54
|
+
totalCount?: number | undefined;
|
|
55
55
|
hasMore: boolean;
|
|
56
56
|
data: Array<NotificationDto$Outbound>;
|
|
57
57
|
pageSize: number;
|
|
@@ -64,7 +64,7 @@ export const FeedResponseDto$outboundSchema: z.ZodType<
|
|
|
64
64
|
z.ZodTypeDef,
|
|
65
65
|
FeedResponseDto
|
|
66
66
|
> = z.object({
|
|
67
|
-
totalCount: z.
|
|
67
|
+
totalCount: z.number().optional(),
|
|
68
68
|
hasMore: z.boolean(),
|
|
69
69
|
data: z.array(NotificationDto$outboundSchema),
|
|
70
70
|
pageSize: z.number(),
|
|
@@ -21,25 +21,9 @@ export type SubscribersControllerGetNotificationsFeedRequest = {
|
|
|
21
21
|
payload?: string | undefined;
|
|
22
22
|
};
|
|
23
23
|
|
|
24
|
-
export type SubscribersControllerGetNotificationsFeedResponseBody = {
|
|
25
|
-
/**
|
|
26
|
-
* The current page of the paginated response
|
|
27
|
-
*/
|
|
28
|
-
page: number;
|
|
29
|
-
/**
|
|
30
|
-
* Does the list have more items to fetch
|
|
31
|
-
*/
|
|
32
|
-
hasMore: boolean;
|
|
33
|
-
/**
|
|
34
|
-
* Number of items on each page
|
|
35
|
-
*/
|
|
36
|
-
pageSize: number;
|
|
37
|
-
data: Array<components.FeedResponseDto>;
|
|
38
|
-
};
|
|
39
|
-
|
|
40
24
|
export type SubscribersControllerGetNotificationsFeedResponse = {
|
|
41
25
|
headers: { [k: string]: Array<string> };
|
|
42
|
-
result:
|
|
26
|
+
result: components.FeedResponseDto;
|
|
43
27
|
};
|
|
44
28
|
|
|
45
29
|
/** @internal */
|
|
@@ -125,83 +109,6 @@ export function subscribersControllerGetNotificationsFeedRequestFromJSON(
|
|
|
125
109
|
);
|
|
126
110
|
}
|
|
127
111
|
|
|
128
|
-
/** @internal */
|
|
129
|
-
export const SubscribersControllerGetNotificationsFeedResponseBody$inboundSchema:
|
|
130
|
-
z.ZodType<
|
|
131
|
-
SubscribersControllerGetNotificationsFeedResponseBody,
|
|
132
|
-
z.ZodTypeDef,
|
|
133
|
-
unknown
|
|
134
|
-
> = z.object({
|
|
135
|
-
page: z.number(),
|
|
136
|
-
hasMore: z.boolean(),
|
|
137
|
-
pageSize: z.number(),
|
|
138
|
-
data: z.array(components.FeedResponseDto$inboundSchema),
|
|
139
|
-
});
|
|
140
|
-
|
|
141
|
-
/** @internal */
|
|
142
|
-
export type SubscribersControllerGetNotificationsFeedResponseBody$Outbound = {
|
|
143
|
-
page: number;
|
|
144
|
-
hasMore: boolean;
|
|
145
|
-
pageSize: number;
|
|
146
|
-
data: Array<components.FeedResponseDto$Outbound>;
|
|
147
|
-
};
|
|
148
|
-
|
|
149
|
-
/** @internal */
|
|
150
|
-
export const SubscribersControllerGetNotificationsFeedResponseBody$outboundSchema:
|
|
151
|
-
z.ZodType<
|
|
152
|
-
SubscribersControllerGetNotificationsFeedResponseBody$Outbound,
|
|
153
|
-
z.ZodTypeDef,
|
|
154
|
-
SubscribersControllerGetNotificationsFeedResponseBody
|
|
155
|
-
> = z.object({
|
|
156
|
-
page: z.number(),
|
|
157
|
-
hasMore: z.boolean(),
|
|
158
|
-
pageSize: z.number(),
|
|
159
|
-
data: z.array(components.FeedResponseDto$outboundSchema),
|
|
160
|
-
});
|
|
161
|
-
|
|
162
|
-
/**
|
|
163
|
-
* @internal
|
|
164
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
165
|
-
*/
|
|
166
|
-
export namespace SubscribersControllerGetNotificationsFeedResponseBody$ {
|
|
167
|
-
/** @deprecated use `SubscribersControllerGetNotificationsFeedResponseBody$inboundSchema` instead. */
|
|
168
|
-
export const inboundSchema =
|
|
169
|
-
SubscribersControllerGetNotificationsFeedResponseBody$inboundSchema;
|
|
170
|
-
/** @deprecated use `SubscribersControllerGetNotificationsFeedResponseBody$outboundSchema` instead. */
|
|
171
|
-
export const outboundSchema =
|
|
172
|
-
SubscribersControllerGetNotificationsFeedResponseBody$outboundSchema;
|
|
173
|
-
/** @deprecated use `SubscribersControllerGetNotificationsFeedResponseBody$Outbound` instead. */
|
|
174
|
-
export type Outbound =
|
|
175
|
-
SubscribersControllerGetNotificationsFeedResponseBody$Outbound;
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
export function subscribersControllerGetNotificationsFeedResponseBodyToJSON(
|
|
179
|
-
subscribersControllerGetNotificationsFeedResponseBody:
|
|
180
|
-
SubscribersControllerGetNotificationsFeedResponseBody,
|
|
181
|
-
): string {
|
|
182
|
-
return JSON.stringify(
|
|
183
|
-
SubscribersControllerGetNotificationsFeedResponseBody$outboundSchema.parse(
|
|
184
|
-
subscribersControllerGetNotificationsFeedResponseBody,
|
|
185
|
-
),
|
|
186
|
-
);
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
export function subscribersControllerGetNotificationsFeedResponseBodyFromJSON(
|
|
190
|
-
jsonString: string,
|
|
191
|
-
): SafeParseResult<
|
|
192
|
-
SubscribersControllerGetNotificationsFeedResponseBody,
|
|
193
|
-
SDKValidationError
|
|
194
|
-
> {
|
|
195
|
-
return safeParse(
|
|
196
|
-
jsonString,
|
|
197
|
-
(x) =>
|
|
198
|
-
SubscribersControllerGetNotificationsFeedResponseBody$inboundSchema.parse(
|
|
199
|
-
JSON.parse(x),
|
|
200
|
-
),
|
|
201
|
-
`Failed to parse 'SubscribersControllerGetNotificationsFeedResponseBody' from JSON`,
|
|
202
|
-
);
|
|
203
|
-
}
|
|
204
|
-
|
|
205
112
|
/** @internal */
|
|
206
113
|
export const SubscribersControllerGetNotificationsFeedResponse$inboundSchema:
|
|
207
114
|
z.ZodType<
|
|
@@ -210,9 +117,7 @@ export const SubscribersControllerGetNotificationsFeedResponse$inboundSchema:
|
|
|
210
117
|
unknown
|
|
211
118
|
> = z.object({
|
|
212
119
|
Headers: z.record(z.array(z.string())),
|
|
213
|
-
Result:
|
|
214
|
-
SubscribersControllerGetNotificationsFeedResponseBody$inboundSchema
|
|
215
|
-
),
|
|
120
|
+
Result: components.FeedResponseDto$inboundSchema,
|
|
216
121
|
}).transform((v) => {
|
|
217
122
|
return remap$(v, {
|
|
218
123
|
"Headers": "headers",
|
|
@@ -223,7 +128,7 @@ export const SubscribersControllerGetNotificationsFeedResponse$inboundSchema:
|
|
|
223
128
|
/** @internal */
|
|
224
129
|
export type SubscribersControllerGetNotificationsFeedResponse$Outbound = {
|
|
225
130
|
Headers: { [k: string]: Array<string> };
|
|
226
|
-
Result:
|
|
131
|
+
Result: components.FeedResponseDto$Outbound;
|
|
227
132
|
};
|
|
228
133
|
|
|
229
134
|
/** @internal */
|
|
@@ -234,9 +139,7 @@ export const SubscribersControllerGetNotificationsFeedResponse$outboundSchema:
|
|
|
234
139
|
SubscribersControllerGetNotificationsFeedResponse
|
|
235
140
|
> = z.object({
|
|
236
141
|
headers: z.record(z.array(z.string())),
|
|
237
|
-
result:
|
|
238
|
-
SubscribersControllerGetNotificationsFeedResponseBody$outboundSchema
|
|
239
|
-
),
|
|
142
|
+
result: components.FeedResponseDto$outboundSchema,
|
|
240
143
|
}).transform((v) => {
|
|
241
144
|
return remap$(v, {
|
|
242
145
|
headers: "Headers",
|