@novu/api 0.0.1-alpha.70 → 0.0.1-alpha.76
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/README.md +2 -2
- package/docs/sdks/novunotifications/README.md +5 -5
- package/funcs/{subscribersNotificationsRetrieve.d.ts → subscribersNotificationsFeed.d.ts} +2 -2
- package/funcs/subscribersNotificationsFeed.d.ts.map +1 -0
- package/funcs/{subscribersNotificationsRetrieve.js → subscribersNotificationsFeed.js} +4 -4
- package/funcs/subscribersNotificationsFeed.js.map +1 -0
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/models/components/actor.d.ts +62 -0
- package/models/components/actor.d.ts.map +1 -0
- package/models/components/actor.js +86 -0
- package/models/components/actor.js.map +1 -0
- package/models/components/actortypeenum.d.ts +40 -0
- package/models/components/actortypeenum.d.ts.map +1 -0
- package/models/components/actortypeenum.js +55 -0
- package/models/components/actortypeenum.js.map +1 -0
- package/models/components/feedresponsedto.d.ts +20 -4
- package/models/components/feedresponsedto.d.ts.map +1 -1
- package/models/components/feedresponsedto.js +5 -4
- package/models/components/feedresponsedto.js.map +1 -1
- package/models/components/index.d.ts +3 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +3 -0
- package/models/components/index.js.map +1 -1
- package/models/components/markmessageactionasseendto.d.ts +15 -15
- package/models/components/markmessageactionasseendto.d.ts.map +1 -1
- package/models/components/markmessageactionasseendto.js +20 -18
- package/models/components/markmessageactionasseendto.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/notificationdto.d.ts +248 -0
- package/models/components/notificationdto.d.ts.map +1 -0
- package/models/components/notificationdto.js +187 -0
- package/models/components/notificationdto.js.map +1 -0
- package/models/components/triggereventrequestdto.d.ts +13 -13
- package/models/components/triggereventrequestdto.d.ts.map +1 -1
- package/models/components/triggereventrequestdto.js +16 -17
- package/models/components/triggereventrequestdto.js.map +1 -1
- package/package.json +1 -1
- package/sdk/novunotifications.d.ts +1 -1
- package/sdk/novunotifications.d.ts.map +1 -1
- package/sdk/novunotifications.js +3 -3
- package/sdk/novunotifications.js.map +1 -1
- package/src/funcs/{subscribersNotificationsRetrieve.ts → subscribersNotificationsFeed.ts} +1 -1
- package/src/lib/config.ts +2 -2
- package/src/models/components/actor.ts +123 -0
- package/src/models/components/actortypeenum.ts +41 -0
- package/src/models/components/feedresponsedto.ts +29 -8
- package/src/models/components/index.ts +3 -0
- package/src/models/components/markmessageactionasseendto.ts +36 -24
- package/src/models/components/messageactionresult.ts +24 -31
- package/src/models/components/notificationdto.ts +367 -0
- package/src/models/components/triggereventrequestdto.ts +31 -20
- package/src/sdk/novunotifications.ts +3 -3
- package/funcs/subscribersNotificationsRetrieve.d.ts.map +0 -1
- package/funcs/subscribersNotificationsRetrieve.js.map +0 -1
package/README.md
CHANGED
|
@@ -295,7 +295,7 @@ run();
|
|
|
295
295
|
|
|
296
296
|
#### [subscribers.notifications](docs/sdks/novunotifications/README.md)
|
|
297
297
|
|
|
298
|
-
* [
|
|
298
|
+
* [feed](docs/sdks/novunotifications/README.md#feed) - Get in-app notification feed for a particular subscriber
|
|
299
299
|
* [unseenCount](docs/sdks/novunotifications/README.md#unseencount) - Get the unseen in-app notifications count for subscribers feed
|
|
300
300
|
|
|
301
301
|
#### [subscribers.preferences](docs/sdks/preferences/README.md)
|
|
@@ -380,7 +380,7 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
|
|
|
380
380
|
- [`subscribersMessagesMarkAll`](docs/sdks/novumessages/README.md#markall) - Marks all the subscriber messages as read, unread, seen or unseen. Optionally you can pass feed id (or array) to mark messages of a particular feed.
|
|
381
381
|
- [`subscribersMessagesMarkAllAs`](docs/sdks/novumessages/README.md#markallas) - Mark a subscriber messages as seen, read, unseen or unread
|
|
382
382
|
- [`subscribersMessagesUpdateAsSeen`](docs/sdks/novumessages/README.md#updateasseen) - Mark message action as seen
|
|
383
|
-
- [`
|
|
383
|
+
- [`subscribersNotificationsFeed`](docs/sdks/novunotifications/README.md#feed) - Get in-app notification feed for a particular subscriber
|
|
384
384
|
- [`subscribersNotificationsUnseenCount`](docs/sdks/novunotifications/README.md#unseencount) - Get the unseen in-app notifications count for subscribers feed
|
|
385
385
|
- [`subscribersPreferencesList`](docs/sdks/preferences/README.md#list) - Get subscriber preferences
|
|
386
386
|
- [`subscribersPreferencesRetrieveByLevel`](docs/sdks/preferences/README.md#retrievebylevel) - Get subscriber preferences by level
|
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
|
|
6
6
|
### Available Operations
|
|
7
7
|
|
|
8
|
-
* [
|
|
8
|
+
* [feed](#feed) - Get in-app notification feed for a particular subscriber
|
|
9
9
|
* [unseenCount](#unseencount) - Get the unseen in-app notifications count for subscribers feed
|
|
10
10
|
|
|
11
|
-
##
|
|
11
|
+
## feed
|
|
12
12
|
|
|
13
13
|
Get in-app notification feed for a particular subscriber
|
|
14
14
|
|
|
@@ -22,7 +22,7 @@ const novu = new Novu({
|
|
|
22
22
|
});
|
|
23
23
|
|
|
24
24
|
async function run() {
|
|
25
|
-
const result = await novu.subscribers.notifications.
|
|
25
|
+
const result = await novu.subscribers.notifications.feed({
|
|
26
26
|
subscriberId: "<id>",
|
|
27
27
|
payload: "btoa(JSON.stringify({ foo: 123 })) results in base64 encoded string like eyJmb28iOjEyM30=",
|
|
28
28
|
});
|
|
@@ -40,7 +40,7 @@ The standalone function version of this method:
|
|
|
40
40
|
|
|
41
41
|
```typescript
|
|
42
42
|
import { NovuCore } from "@novu/api/core.js";
|
|
43
|
-
import {
|
|
43
|
+
import { subscribersNotificationsFeed } from "@novu/api/funcs/subscribersNotificationsFeed.js";
|
|
44
44
|
|
|
45
45
|
// Use `NovuCore` for best tree-shaking performance.
|
|
46
46
|
// You can create one instance of it to use across an application.
|
|
@@ -49,7 +49,7 @@ const novu = new NovuCore({
|
|
|
49
49
|
});
|
|
50
50
|
|
|
51
51
|
async function run() {
|
|
52
|
-
const res = await
|
|
52
|
+
const res = await subscribersNotificationsFeed(novu, {
|
|
53
53
|
subscriberId: "<id>",
|
|
54
54
|
payload: "btoa(JSON.stringify({ foo: 123 })) results in base64 encoded string like eyJmb28iOjEyM30=",
|
|
55
55
|
});
|
|
@@ -8,5 +8,5 @@ import { Result } from "../types/fp.js";
|
|
|
8
8
|
/**
|
|
9
9
|
* Get in-app notification feed for a particular subscriber
|
|
10
10
|
*/
|
|
11
|
-
export declare function
|
|
12
|
-
//# sourceMappingURL=
|
|
11
|
+
export declare function subscribersNotificationsFeed(client: NovuCore, request: operations.SubscribersControllerGetNotificationsFeedRequest, options?: RequestOptions): Promise<Result<operations.SubscribersControllerGetNotificationsFeedResponse, SDKError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
|
|
12
|
+
//# sourceMappingURL=subscribersNotificationsFeed.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subscribersNotificationsFeed.d.ts","sourceRoot":"","sources":["../src/funcs/subscribersNotificationsFeed.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAItC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AACxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;GAEG;AACH,wBAAsB,4BAA4B,CAChD,MAAM,EAAE,QAAQ,EAChB,OAAO,EAAE,UAAU,CAAC,gDAAgD,EACpE,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CACR,MAAM,CACJ,UAAU,CAAC,iDAAiD,EAC1D,QAAQ,GACR,kBAAkB,GAClB,qBAAqB,GACrB,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,eAAe,CAClB,CACF,CAqHA"}
|
|
@@ -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.
|
|
29
|
+
exports.subscribersNotificationsFeed = void 0;
|
|
30
30
|
const encodings_js_1 = require("../lib/encodings.js");
|
|
31
31
|
const M = __importStar(require("../lib/matchers.js"));
|
|
32
32
|
const schemas_js_1 = require("../lib/schemas.js");
|
|
@@ -36,7 +36,7 @@ const operations = __importStar(require("../models/operations/index.js"));
|
|
|
36
36
|
/**
|
|
37
37
|
* Get in-app notification feed for a particular subscriber
|
|
38
38
|
*/
|
|
39
|
-
async function
|
|
39
|
+
async function subscribersNotificationsFeed(client, request, options) {
|
|
40
40
|
const parsed = (0, schemas_js_1.safeParse)(request, (value) => operations.SubscribersControllerGetNotificationsFeedRequest$outboundSchema
|
|
41
41
|
.parse(value), "Input validation failed");
|
|
42
42
|
if (!parsed.ok) {
|
|
@@ -117,5 +117,5 @@ async function subscribersNotificationsRetrieve(client, request, options) {
|
|
|
117
117
|
}
|
|
118
118
|
return result;
|
|
119
119
|
}
|
|
120
|
-
exports.
|
|
121
|
-
//# sourceMappingURL=
|
|
120
|
+
exports.subscribersNotificationsFeed = subscribersNotificationsFeed;
|
|
121
|
+
//# sourceMappingURL=subscribersNotificationsFeed.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subscribersNotificationsFeed.js","sourceRoot":"","sources":["../src/funcs/subscribersNotificationsFeed.ts"],"names":[],"mappings":";AAAA;;GAEG;;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AG,GAAG,UAAU,CAAC,KAAK,CAAC;IAE7B,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,GAAG,CAAC,GAAG,EAAE;QACrC,OAAO;QACP,UAAU,EAAE,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,CAAC;QAC/C,WAAW,EAAE,OAAO,CAAC,WAAW;QAChC,UAAU,EAAE,OAAO,CAAC,UAAU;KAC/B,CAAC,CAAC;IACH,IAAI,CAAC,QAAQ,CAAC,EAAE,EAAE,CAAC;QACjB,OAAO,QAAQ,CAAC;IAClB,CAAC;IACD,MAAM,QAAQ,GAAG,QAAQ,CAAC,KAAK,CAAC;IAEhC,MAAM,cAAc,GAAG;QACrB,QAAQ,EAAE,EAAE,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,EAAE;KAC/C,CAAC;IAEF,MAAM,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC,CAAC,KAAK,CAU5B,CAAC,CAAC,IAAI,CACJ,GAAG,EACH,UAAU;SACP,+DAA+D,EAClE,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,QAAQ,EAAE,CAC9B,EACD,CAAC,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC,EACvB,CAAC,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC,CACvB,CAAC,QAAQ,EAAE,EAAE,WAAW,EAAE,cAAc,EAAE,CAAC,CAAC;IAC7C,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,MAAM,CAAC;IAChB,CAAC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC;AApID,oEAoIC"}
|
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.76";
|
|
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.76 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.76",
|
|
34
34
|
genVersion: "2.474.6",
|
|
35
|
-
userAgent: "speakeasy-sdk/typescript 0.0.1-alpha.
|
|
35
|
+
userAgent: "speakeasy-sdk/typescript 0.0.1-alpha.76 2.474.6 1.0 @novu/api",
|
|
36
36
|
};
|
|
37
37
|
//# sourceMappingURL=config.js.map
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
import { ActorTypeEnum } from "./actortypeenum.js";
|
|
5
|
+
/**
|
|
6
|
+
* The data associated with the actor, can be null if not applicable.
|
|
7
|
+
*/
|
|
8
|
+
export type ActorData = {};
|
|
9
|
+
export type Actor = {
|
|
10
|
+
/**
|
|
11
|
+
* The data associated with the actor, can be null if not applicable.
|
|
12
|
+
*/
|
|
13
|
+
data: ActorData | null;
|
|
14
|
+
/**
|
|
15
|
+
* The type of the actor, indicating the role in the notification process.
|
|
16
|
+
*/
|
|
17
|
+
type: ActorTypeEnum;
|
|
18
|
+
};
|
|
19
|
+
/** @internal */
|
|
20
|
+
export declare const ActorData$inboundSchema: z.ZodType<ActorData, z.ZodTypeDef, unknown>;
|
|
21
|
+
/** @internal */
|
|
22
|
+
export type ActorData$Outbound = {};
|
|
23
|
+
/** @internal */
|
|
24
|
+
export declare const ActorData$outboundSchema: z.ZodType<ActorData$Outbound, z.ZodTypeDef, ActorData>;
|
|
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 ActorData$ {
|
|
30
|
+
/** @deprecated use `ActorData$inboundSchema` instead. */
|
|
31
|
+
const inboundSchema: z.ZodType<ActorData, z.ZodTypeDef, unknown>;
|
|
32
|
+
/** @deprecated use `ActorData$outboundSchema` instead. */
|
|
33
|
+
const outboundSchema: z.ZodType<ActorData$Outbound, z.ZodTypeDef, ActorData>;
|
|
34
|
+
/** @deprecated use `ActorData$Outbound` instead. */
|
|
35
|
+
type Outbound = ActorData$Outbound;
|
|
36
|
+
}
|
|
37
|
+
export declare function actorDataToJSON(actorData: ActorData): string;
|
|
38
|
+
export declare function actorDataFromJSON(jsonString: string): SafeParseResult<ActorData, SDKValidationError>;
|
|
39
|
+
/** @internal */
|
|
40
|
+
export declare const Actor$inboundSchema: z.ZodType<Actor, z.ZodTypeDef, unknown>;
|
|
41
|
+
/** @internal */
|
|
42
|
+
export type Actor$Outbound = {
|
|
43
|
+
data: ActorData$Outbound | null;
|
|
44
|
+
type: string;
|
|
45
|
+
};
|
|
46
|
+
/** @internal */
|
|
47
|
+
export declare const Actor$outboundSchema: z.ZodType<Actor$Outbound, z.ZodTypeDef, Actor>;
|
|
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 declare namespace Actor$ {
|
|
53
|
+
/** @deprecated use `Actor$inboundSchema` instead. */
|
|
54
|
+
const inboundSchema: z.ZodType<Actor, z.ZodTypeDef, unknown>;
|
|
55
|
+
/** @deprecated use `Actor$outboundSchema` instead. */
|
|
56
|
+
const outboundSchema: z.ZodType<Actor$Outbound, z.ZodTypeDef, Actor>;
|
|
57
|
+
/** @deprecated use `Actor$Outbound` instead. */
|
|
58
|
+
type Outbound = Actor$Outbound;
|
|
59
|
+
}
|
|
60
|
+
export declare function actorToJSON(actor: Actor): string;
|
|
61
|
+
export declare function actorFromJSON(jsonString: string): SafeParseResult<Actor, SDKValidationError>;
|
|
62
|
+
//# sourceMappingURL=actor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"actor.d.ts","sourceRoot":"","sources":["../../src/models/components/actor.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;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG,EAAE,CAAC;AAE3B,MAAM,MAAM,KAAK,GAAG;IAClB;;OAEG;IACH,IAAI,EAAE,SAAS,GAAG,IAAI,CAAC;IACvB;;OAEG;IACH,IAAI,EAAE,aAAa,CAAC;CACrB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,uBAAuB,EAAE,CAAC,CAAC,OAAO,CAC7C,SAAS,EACT,CAAC,CAAC,UAAU,EACZ,OAAO,CACO,CAAC;AAEjB,gBAAgB;AAChB,MAAM,MAAM,kBAAkB,GAAG,EAAE,CAAC;AAEpC,gBAAgB;AAChB,eAAO,MAAM,wBAAwB,EAAE,CAAC,CAAC,OAAO,CAC9C,kBAAkB,EAClB,CAAC,CAAC,UAAU,EACZ,SAAS,CACK,CAAC;AAEjB;;;GAGG;AACH,yBAAiB,UAAU,CAAC;IAC1B,yDAAyD;IAClD,MAAM,aAAa,6CAA0B,CAAC;IACrD,0DAA0D;IACnD,MAAM,cAAc,wDAA2B,CAAC;IACvD,oDAAoD;IACpD,KAAY,QAAQ,GAAG,kBAAkB,CAAC;CAC3C;AAED,wBAAgB,eAAe,CAAC,SAAS,EAAE,SAAS,GAAG,MAAM,CAE5D;AAED,wBAAgB,iBAAiB,CAC/B,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,SAAS,EAAE,kBAAkB,CAAC,CAMhD;AAED,gBAAgB;AAChB,eAAO,MAAM,mBAAmB,EAAE,CAAC,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC,CAAC,UAAU,EAAE,OAAO,CAIpE,CAAC;AAEL,gBAAgB;AAChB,MAAM,MAAM,cAAc,GAAG;IAC3B,IAAI,EAAE,kBAAkB,GAAG,IAAI,CAAC;IAChC,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,oBAAoB,EAAE,CAAC,CAAC,OAAO,CAC1C,cAAc,EACd,CAAC,CAAC,UAAU,EACZ,KAAK,CAIL,CAAC;AAEH;;;GAGG;AACH,yBAAiB,MAAM,CAAC;IACtB,qDAAqD;IAC9C,MAAM,aAAa,yCAAsB,CAAC;IACjD,sDAAsD;IAC/C,MAAM,cAAc,gDAAuB,CAAC;IACnD,gDAAgD;IAChD,KAAY,QAAQ,GAAG,cAAc,CAAC;CACvC;AAED,wBAAgB,WAAW,CAAC,KAAK,EAAE,KAAK,GAAG,MAAM,CAEhD;AAED,wBAAgB,aAAa,CAC3B,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,KAAK,EAAE,kBAAkB,CAAC,CAM5C"}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.actorFromJSON = exports.actorToJSON = exports.Actor$ = exports.Actor$outboundSchema = exports.Actor$inboundSchema = exports.actorDataFromJSON = exports.actorDataToJSON = exports.ActorData$ = exports.ActorData$outboundSchema = exports.ActorData$inboundSchema = void 0;
|
|
30
|
+
const z = __importStar(require("zod"));
|
|
31
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
32
|
+
const actortypeenum_js_1 = require("./actortypeenum.js");
|
|
33
|
+
/** @internal */
|
|
34
|
+
exports.ActorData$inboundSchema = z.object({});
|
|
35
|
+
/** @internal */
|
|
36
|
+
exports.ActorData$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 ActorData$;
|
|
42
|
+
(function (ActorData$) {
|
|
43
|
+
/** @deprecated use `ActorData$inboundSchema` instead. */
|
|
44
|
+
ActorData$.inboundSchema = exports.ActorData$inboundSchema;
|
|
45
|
+
/** @deprecated use `ActorData$outboundSchema` instead. */
|
|
46
|
+
ActorData$.outboundSchema = exports.ActorData$outboundSchema;
|
|
47
|
+
})(ActorData$ || (exports.ActorData$ = ActorData$ = {}));
|
|
48
|
+
function actorDataToJSON(actorData) {
|
|
49
|
+
return JSON.stringify(exports.ActorData$outboundSchema.parse(actorData));
|
|
50
|
+
}
|
|
51
|
+
exports.actorDataToJSON = actorDataToJSON;
|
|
52
|
+
function actorDataFromJSON(jsonString) {
|
|
53
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ActorData$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ActorData' from JSON`);
|
|
54
|
+
}
|
|
55
|
+
exports.actorDataFromJSON = actorDataFromJSON;
|
|
56
|
+
/** @internal */
|
|
57
|
+
exports.Actor$inboundSchema = z
|
|
58
|
+
.object({
|
|
59
|
+
data: z.nullable(z.lazy(() => exports.ActorData$inboundSchema)),
|
|
60
|
+
type: actortypeenum_js_1.ActorTypeEnum$inboundSchema,
|
|
61
|
+
});
|
|
62
|
+
/** @internal */
|
|
63
|
+
exports.Actor$outboundSchema = z.object({
|
|
64
|
+
data: z.nullable(z.lazy(() => exports.ActorData$outboundSchema)),
|
|
65
|
+
type: actortypeenum_js_1.ActorTypeEnum$outboundSchema,
|
|
66
|
+
});
|
|
67
|
+
/**
|
|
68
|
+
* @internal
|
|
69
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
70
|
+
*/
|
|
71
|
+
var Actor$;
|
|
72
|
+
(function (Actor$) {
|
|
73
|
+
/** @deprecated use `Actor$inboundSchema` instead. */
|
|
74
|
+
Actor$.inboundSchema = exports.Actor$inboundSchema;
|
|
75
|
+
/** @deprecated use `Actor$outboundSchema` instead. */
|
|
76
|
+
Actor$.outboundSchema = exports.Actor$outboundSchema;
|
|
77
|
+
})(Actor$ || (exports.Actor$ = Actor$ = {}));
|
|
78
|
+
function actorToJSON(actor) {
|
|
79
|
+
return JSON.stringify(exports.Actor$outboundSchema.parse(actor));
|
|
80
|
+
}
|
|
81
|
+
exports.actorToJSON = actorToJSON;
|
|
82
|
+
function actorFromJSON(jsonString) {
|
|
83
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Actor$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Actor' from JSON`);
|
|
84
|
+
}
|
|
85
|
+
exports.actorFromJSON = actorFromJSON;
|
|
86
|
+
//# sourceMappingURL=actor.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"actor.js","sourceRoot":"","sources":["../../src/models/components/actor.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,qDAAiD;AAGjD,yDAI4B;AAkB5B,gBAAgB;AACH,QAAA,uBAAuB,GAIhC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;AAKjB,gBAAgB;AACH,QAAA,wBAAwB,GAIjC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;AAEjB;;;GAGG;AACH,IAAiB,UAAU,CAO1B;AAPD,WAAiB,UAAU;IACzB,yDAAyD;IAC5C,wBAAa,GAAG,+BAAuB,CAAC;IACrD,0DAA0D;IAC7C,yBAAc,GAAG,gCAAwB,CAAC;AAGzD,CAAC,EAPgB,UAAU,0BAAV,UAAU,QAO1B;AAED,SAAgB,eAAe,CAAC,SAAoB;IAClD,OAAO,IAAI,CAAC,SAAS,CAAC,gCAAwB,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC;AACnE,CAAC;AAFD,0CAEC;AAED,SAAgB,iBAAiB,CAC/B,U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+
import * as z from "zod";
|
|
2
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
3
|
+
/**
|
|
4
|
+
* The type of the actor, indicating the role in the notification process.
|
|
5
|
+
*/
|
|
6
|
+
export declare const ActorTypeEnum: {
|
|
7
|
+
readonly None: "none";
|
|
8
|
+
readonly User: "user";
|
|
9
|
+
readonly SystemIcon: "system_icon";
|
|
10
|
+
readonly SystemCustom: "system_custom";
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* The type of the actor, indicating the role in the notification process.
|
|
14
|
+
*/
|
|
15
|
+
export type ActorTypeEnum = ClosedEnum<typeof ActorTypeEnum>;
|
|
16
|
+
/** @internal */
|
|
17
|
+
export declare const ActorTypeEnum$inboundSchema: z.ZodNativeEnum<typeof ActorTypeEnum>;
|
|
18
|
+
/** @internal */
|
|
19
|
+
export declare const ActorTypeEnum$outboundSchema: z.ZodNativeEnum<typeof ActorTypeEnum>;
|
|
20
|
+
/**
|
|
21
|
+
* @internal
|
|
22
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
23
|
+
*/
|
|
24
|
+
export declare namespace ActorTypeEnum$ {
|
|
25
|
+
/** @deprecated use `ActorTypeEnum$inboundSchema` instead. */
|
|
26
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
27
|
+
readonly None: "none";
|
|
28
|
+
readonly User: "user";
|
|
29
|
+
readonly SystemIcon: "system_icon";
|
|
30
|
+
readonly SystemCustom: "system_custom";
|
|
31
|
+
}>;
|
|
32
|
+
/** @deprecated use `ActorTypeEnum$outboundSchema` instead. */
|
|
33
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
34
|
+
readonly None: "none";
|
|
35
|
+
readonly User: "user";
|
|
36
|
+
readonly SystemIcon: "system_icon";
|
|
37
|
+
readonly SystemCustom: "system_custom";
|
|
38
|
+
}>;
|
|
39
|
+
}
|
|
40
|
+
//# sourceMappingURL=actortypeenum.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"actortypeenum.d.ts","sourceRoot":"","sources":["../../src/models/components/actortypeenum.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,aAAa;;;;;CAKhB,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,UAAU,CAAC,OAAO,aAAa,CAAC,CAAC;AAE7D,gBAAgB;AAChB,eAAO,MAAM,2BAA2B,EAAE,CAAC,CAAC,aAAa,CACvD,OAAO,aAAa,CACS,CAAC;AAEhC,gBAAgB;AAChB,eAAO,MAAM,4BAA4B,EAAE,CAAC,CAAC,aAAa,CACxD,OAAO,aAAa,CACS,CAAC;AAEhC;;;GAGG;AACH,yBAAiB,cAAc,CAAC;IAC9B,6DAA6D;IACtD,MAAM,aAAa;;;;;MAA8B,CAAC;IACzD,8DAA8D;IACvD,MAAM,cAAc;;;;;MAA+B,CAAC;CAC5D"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.ActorTypeEnum$ = exports.ActorTypeEnum$outboundSchema = exports.ActorTypeEnum$inboundSchema = exports.ActorTypeEnum = void 0;
|
|
30
|
+
const z = __importStar(require("zod"));
|
|
31
|
+
/**
|
|
32
|
+
* The type of the actor, indicating the role in the notification process.
|
|
33
|
+
*/
|
|
34
|
+
exports.ActorTypeEnum = {
|
|
35
|
+
None: "none",
|
|
36
|
+
User: "user",
|
|
37
|
+
SystemIcon: "system_icon",
|
|
38
|
+
SystemCustom: "system_custom",
|
|
39
|
+
};
|
|
40
|
+
/** @internal */
|
|
41
|
+
exports.ActorTypeEnum$inboundSchema = z.nativeEnum(exports.ActorTypeEnum);
|
|
42
|
+
/** @internal */
|
|
43
|
+
exports.ActorTypeEnum$outboundSchema = exports.ActorTypeEnum$inboundSchema;
|
|
44
|
+
/**
|
|
45
|
+
* @internal
|
|
46
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
47
|
+
*/
|
|
48
|
+
var ActorTypeEnum$;
|
|
49
|
+
(function (ActorTypeEnum$) {
|
|
50
|
+
/** @deprecated use `ActorTypeEnum$inboundSchema` instead. */
|
|
51
|
+
ActorTypeEnum$.inboundSchema = exports.ActorTypeEnum$inboundSchema;
|
|
52
|
+
/** @deprecated use `ActorTypeEnum$outboundSchema` instead. */
|
|
53
|
+
ActorTypeEnum$.outboundSchema = exports.ActorTypeEnum$outboundSchema;
|
|
54
|
+
})(ActorTypeEnum$ || (exports.ActorTypeEnum$ = ActorTypeEnum$ = {}));
|
|
55
|
+
//# sourceMappingURL=actortypeenum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"actortypeenum.js","sourceRoot":"","sources":["../../src/models/components/actortypeenum.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AAGzB;;GAEG;AACU,QAAA,aAAa,GAAG;IAC3B,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;IACZ,UAAU,EAAE,aAAa;IACzB,YAAY,EAAE,eAAe;CACrB,CAAC;AAMX,gBAAgB;AACH,QAAA,2BAA2B,GAEpC,CAAC,CAAC,UAAU,CAAC,qBAAa,CAAC,CAAC;AAEhC,gBAAgB;AACH,QAAA,4BAA4B,GAErC,mCAA2B,CAAC;AAEhC;;;GAGG;AACH,IAAiB,cAAc,CAK9B;AALD,WAAiB,cAAc;IAC7B,6DAA6D;IAChD,4BAAa,GAAG,mCAA2B,CAAC;IACzD,8DAA8D;IACjD,6BAAc,GAAG,oCAA4B,CAAC;AAC7D,CAAC,EALgB,cAAc,8BAAd,cAAc,QAK9B"}
|
|
@@ -1,20 +1,36 @@
|
|
|
1
1
|
import * as z from "zod";
|
|
2
2
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
3
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
import { NotificationDto, NotificationDto$Outbound } from "./notificationdto.js";
|
|
4
5
|
export type FeedResponseDto = {
|
|
5
|
-
|
|
6
|
+
/**
|
|
7
|
+
* Total number of notifications available.
|
|
8
|
+
*/
|
|
9
|
+
totalCount?: number | null | undefined;
|
|
10
|
+
/**
|
|
11
|
+
* Indicates if there are more notifications to load.
|
|
12
|
+
*/
|
|
6
13
|
hasMore: boolean;
|
|
7
|
-
|
|
14
|
+
/**
|
|
15
|
+
* Array of notifications returned in the response.
|
|
16
|
+
*/
|
|
17
|
+
data: Array<NotificationDto>;
|
|
18
|
+
/**
|
|
19
|
+
* The number of notifications returned in this response.
|
|
20
|
+
*/
|
|
8
21
|
pageSize: number;
|
|
22
|
+
/**
|
|
23
|
+
* The current page number of the notifications.
|
|
24
|
+
*/
|
|
9
25
|
page: number;
|
|
10
26
|
};
|
|
11
27
|
/** @internal */
|
|
12
28
|
export declare const FeedResponseDto$inboundSchema: z.ZodType<FeedResponseDto, z.ZodTypeDef, unknown>;
|
|
13
29
|
/** @internal */
|
|
14
30
|
export type FeedResponseDto$Outbound = {
|
|
15
|
-
totalCount?: number | undefined;
|
|
31
|
+
totalCount?: number | null | undefined;
|
|
16
32
|
hasMore: boolean;
|
|
17
|
-
data: Array<
|
|
33
|
+
data: Array<NotificationDto$Outbound>;
|
|
18
34
|
pageSize: number;
|
|
19
35
|
page: number;
|
|
20
36
|
};
|
|
@@ -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;
|
|
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;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feedResponseDtoToJSON = exports.FeedResponseDto$ = exports.FeedResponseDto$outboundSchema = exports.FeedResponseDto$inboundSchema = void 0;
|
|
30
30
|
const z = __importStar(require("zod"));
|
|
31
31
|
const schemas_js_1 = require("../../lib/schemas.js");
|
|
32
|
+
const notificationdto_js_1 = require("./notificationdto.js");
|
|
32
33
|
/** @internal */
|
|
33
34
|
exports.FeedResponseDto$inboundSchema = z.object({
|
|
34
|
-
totalCount: z.number().optional(),
|
|
35
|
+
totalCount: z.nullable(z.number()).optional(),
|
|
35
36
|
hasMore: z.boolean(),
|
|
36
|
-
data: z.array(
|
|
37
|
+
data: z.array(notificationdto_js_1.NotificationDto$inboundSchema),
|
|
37
38
|
pageSize: z.number(),
|
|
38
39
|
page: z.number(),
|
|
39
40
|
});
|
|
40
41
|
/** @internal */
|
|
41
42
|
exports.FeedResponseDto$outboundSchema = z.object({
|
|
42
|
-
totalCount: z.number().optional(),
|
|
43
|
+
totalCount: z.nullable(z.number()).optional(),
|
|
43
44
|
hasMore: z.boolean(),
|
|
44
|
-
data: z.array(
|
|
45
|
+
data: z.array(notificationdto_js_1.NotificationDto$outboundSchema),
|
|
45
46
|
pageSize: z.number(),
|
|
46
47
|
page: z.number(),
|
|
47
48
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"feedresponsedto.js","sourceRoot":"","sources":["../../src/models/components/feedresponsedto.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,qDAAiD;
|
|
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,QAAQ,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@@ export * from "./activitynotificationresponsedto.js";
|
|
|
4
4
|
export * from "./activitynotificationsubscriberresponsedto.js";
|
|
5
5
|
export * from "./activitynotificationtemplateresponsedto.js";
|
|
6
6
|
export * from "./activitystatsresponsedto.js";
|
|
7
|
+
export * from "./actor.js";
|
|
8
|
+
export * from "./actortypeenum.js";
|
|
7
9
|
export * from "./addsubscribersrequestdto.js";
|
|
8
10
|
export * from "./apikey.js";
|
|
9
11
|
export * from "./assignsubscribertotopicdto.js";
|
|
@@ -50,6 +52,7 @@ export * from "./messageentity.js";
|
|
|
50
52
|
export * from "./messagemarkasrequestdto.js";
|
|
51
53
|
export * from "./messageresponsedto.js";
|
|
52
54
|
export * from "./messagetemplate.js";
|
|
55
|
+
export * from "./notificationdto.js";
|
|
53
56
|
export * from "./notificationgroup.js";
|
|
54
57
|
export * from "./notificationgroupresponsedto.js";
|
|
55
58
|
export * from "./notificationstep.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/models/components/index.ts"],"names":[],"mappings":"AAIA,cAAc,4BAA4B,CAAC;AAC3C,cAAc,kCAAkC,CAAC;AACjD,cAAc,sCAAsC,CAAC;AACrD,cAAc,gDAAgD,CAAC;AAC/D,cAAc,8CAA8C,CAAC;AAC7D,cAAc,+BAA+B,CAAC;AAC9C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,aAAa,CAAC;AAC5B,cAAc,iCAAiC,CAAC;AAChD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,kCAAkC,CAAC;AACjD,cAAc,wCAAwC,CAAC;AACvD,cAAc,iCAAiC,CAAC;AAChD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC;A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C;AAChC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,sBAAsB,CAAC;AACrC,cAAc,yBAAyB,CAAC;AACxC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,kCAAkC,CAAC;AACjD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,0BAA0B,CAAC;AACzC,cAAc,kCAAkC,CAAC;AACjD,cAAc,wCAAwC,CAAC;AACvD,cAAc,kDAAkD,CAAC;AACjE,cAAc,2CAA2C,CAAC;AAC1D,cAAc,2CAA2C,CAAC;AAC1D,cAAc,4CAA4C,CAAC;AAC3D,cAAc,iCAAiC,CAAC;AAChD,cAAc,uBAAuB,CAAC;AACtC,cAAc,qCAAqC,CAAC"}
|
|
@@ -23,6 +23,8 @@ __exportStar(require("./activitynotificationresponsedto.js"), exports);
|
|
|
23
23
|
__exportStar(require("./activitynotificationsubscriberresponsedto.js"), exports);
|
|
24
24
|
__exportStar(require("./activitynotificationtemplateresponsedto.js"), exports);
|
|
25
25
|
__exportStar(require("./activitystatsresponsedto.js"), exports);
|
|
26
|
+
__exportStar(require("./actor.js"), exports);
|
|
27
|
+
__exportStar(require("./actortypeenum.js"), exports);
|
|
26
28
|
__exportStar(require("./addsubscribersrequestdto.js"), exports);
|
|
27
29
|
__exportStar(require("./apikey.js"), exports);
|
|
28
30
|
__exportStar(require("./assignsubscribertotopicdto.js"), exports);
|
|
@@ -69,6 +71,7 @@ __exportStar(require("./messageentity.js"), exports);
|
|
|
69
71
|
__exportStar(require("./messagemarkasrequestdto.js"), exports);
|
|
70
72
|
__exportStar(require("./messageresponsedto.js"), exports);
|
|
71
73
|
__exportStar(require("./messagetemplate.js"), exports);
|
|
74
|
+
__exportStar(require("./notificationdto.js"), exports);
|
|
72
75
|
__exportStar(require("./notificationgroup.js"), exports);
|
|
73
76
|
__exportStar(require("./notificationgroupresponsedto.js"), exports);
|
|
74
77
|
__exportStar(require("./notificationstep.js"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/components/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;AAEH,6DAA2C;AAC3C,mEAAiD;AACjD,uEAAqD;AACrD,iFAA+D;AAC/D,+EAA6D;AAC7D,gEAA8C;AAC9C,gEAA8C;AAC9C,8CAA4B;AAC5B,kEAAgD;AAChD,+DAA6C;AAC7C,2DAAyC;AACzC,0DAAwC;AACxC,6DAA2C;AAC3C,yDAAuC;AACvC,uDAAqC;AACrC,uDAAqC;AACrC,mEAAiD;AACjD,yEAAuD;AACvD,kEAAgD;AAChD,6DAA2C;AAC3C,8DAA4C;AAC5C,sDAAoC;AACpC,sDAAoC;AACpC,4DAA0C;AAC1C,8DAA4C;AAC5C,gEAA8C;AAC9C,0EAAwD;AACxD,mEAAiD;AACjD,6DAA2C;AAC3C,2DAAyC;AACzC,kDAAgC;AAChC,wDAAsC;AACtC,8DAA4C;AAC5C,mEAAiD;AACjD,4DAA0C;AAC1C,uDAAqC;AACrC,uDAAqC;AACrC,+DAA6C;AAC7C,2EAAyD;AACzD,2DAAyC;AACzC,8DAA4C;AAC5C,kEAAgD;AAChD,kEAAgD;AAChD,qDAAmC;AACnC,2DAAyC;AACzC,qDAAmC;AACnC,kDAAgC;AAChC,sDAAoC;AACpC,qDAAmC;AACnC,+DAA6C;AAC7C,0DAAwC;AACxC,uDAAqC;AACrC,yDAAuC;AACvC,oEAAkD;AAClD,wDAAsC;AACtC,+DAA6C;AAC7C,2DAAyC;AACzC,mEAAiD;AACjD,kDAAgC;AAChC,0DAAwC;AACxC,mEAAiD;AACjD,6DAA2C;AAC3C,8DAA4C;AAC5C,gDAA8B;AAC9B,kDAAgC;AAChC,4DAA0C;AAC1C,4DAA0C;AAC1C,6DAA2C;AAC3C,wDAAsC;AACtC,wDAAsC;AACtC,mDAAiC;AACjC,gDAA8B;AAC9B,uDAAqC;AACrC,0DAAwC;AACxC,8DAA4C;AAC5C,+DAA6C;AAC7C,mEAAiD;AACjD,iEAA+C;AAC/C,2DAAyC;AACzC,mEAAiD;AACjD,yEAAuD;AACvD,mFAAiE;AACjE,4EAA0D;AAC1D,4EAA0D;AAC1D,6EAA2D;AAC3D,kEAAgD;AAChD,wDAAsC;AACtC,sEAAoD"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/components/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;AAEH,6DAA2C;AAC3C,mEAAiD;AACjD,uEAAqD;AACrD,iFAA+D;AAC/D,+EAA6D;AAC7D,gEAA8C;AAC9C,6CAA2B;AAC3B,qDAAmC;AACnC,gEAA8C;AAC9C,8CAA4B;AAC5B,kEAAgD;AAChD,+DAA6C;AAC7C,2DAAyC;AACzC,0DAAwC;AACxC,6DAA2C;AAC3C,yDAAuC;AACvC,uDAAqC;AACrC,uDAAqC;AACrC,mEAAiD;AACjD,yEAAuD;AACvD,kEAAgD;AAChD,6DAA2C;AAC3C,8DAA4C;AAC5C,sDAAoC;AACpC,sDAAoC;AACpC,4DAA0C;AAC1C,8DAA4C;AAC5C,gEAA8C;AAC9C,0EAAwD;AACxD,mEAAiD;AACjD,6DAA2C;AAC3C,2DAAyC;AACzC,kDAAgC;AAChC,wDAAsC;AACtC,8DAA4C;AAC5C,mEAAiD;AACjD,4DAA0C;AAC1C,uDAAqC;AACrC,uDAAqC;AACrC,+DAA6C;AAC7C,2EAAyD;AACzD,2DAAyC;AACzC,8DAA4C;AAC5C,kEAAgD;AAChD,kEAAgD;AAChD,qDAAmC;AACnC,2DAAyC;AACzC,qDAAmC;AACnC,kDAAgC;AAChC,sDAAoC;AACpC,qDAAmC;AACnC,+DAA6C;AAC7C,0DAAwC;AACxC,uDAAqC;AACrC,uDAAqC;AACrC,yDAAuC;AACvC,oEAAkD;AAClD,wDAAsC;AACtC,+DAA6C;AAC7C,2DAAyC;AACzC,mEAAiD;AACjD,kDAAgC;AAChC,0DAAwC;AACxC,mEAAiD;AACjD,6DAA2C;AAC3C,8DAA4C;AAC5C,gDAA8B;AAC9B,kDAAgC;AAChC,4DAA0C;AAC1C,4DAA0C;AAC1C,6DAA2C;AAC3C,wDAAsC;AACtC,wDAAsC;AACtC,mDAAiC;AACjC,gDAA8B;AAC9B,uDAAqC;AACrC,0DAAwC;AACxC,8DAA4C;AAC5C,+DAA6C;AAC7C,mEAAiD;AACjD,iEAA+C;AAC/C,2DAAyC;AACzC,mEAAiD;AACjD,yEAAuD;AACvD,mFAAiE;AACjE,4EAA0D;AAC1D,4EAA0D;AAC1D,6EAA2D;AAC3D,kEAAgD;AAChD,wDAAsC;AACtC,sEAAoD"}
|
|
@@ -16,7 +16,7 @@ export type MarkMessageActionAsSeenDtoStatus = ClosedEnum<typeof MarkMessageActi
|
|
|
16
16
|
/**
|
|
17
17
|
* Message action payload
|
|
18
18
|
*/
|
|
19
|
-
export type
|
|
19
|
+
export type MarkMessageActionAsSeenDtoPayload = {};
|
|
20
20
|
export type MarkMessageActionAsSeenDto = {
|
|
21
21
|
/**
|
|
22
22
|
* Message action status
|
|
@@ -25,7 +25,7 @@ export type MarkMessageActionAsSeenDto = {
|
|
|
25
25
|
/**
|
|
26
26
|
* Message action payload
|
|
27
27
|
*/
|
|
28
|
-
payload?:
|
|
28
|
+
payload?: MarkMessageActionAsSeenDtoPayload | undefined;
|
|
29
29
|
};
|
|
30
30
|
/** @internal */
|
|
31
31
|
export declare const MarkMessageActionAsSeenDtoStatus$inboundSchema: z.ZodNativeEnum<typeof MarkMessageActionAsSeenDtoStatus>;
|
|
@@ -48,31 +48,31 @@ export declare namespace MarkMessageActionAsSeenDtoStatus$ {
|
|
|
48
48
|
}>;
|
|
49
49
|
}
|
|
50
50
|
/** @internal */
|
|
51
|
-
export declare const
|
|
51
|
+
export declare const MarkMessageActionAsSeenDtoPayload$inboundSchema: z.ZodType<MarkMessageActionAsSeenDtoPayload, z.ZodTypeDef, unknown>;
|
|
52
52
|
/** @internal */
|
|
53
|
-
export type
|
|
53
|
+
export type MarkMessageActionAsSeenDtoPayload$Outbound = {};
|
|
54
54
|
/** @internal */
|
|
55
|
-
export declare const
|
|
55
|
+
export declare const MarkMessageActionAsSeenDtoPayload$outboundSchema: z.ZodType<MarkMessageActionAsSeenDtoPayload$Outbound, z.ZodTypeDef, MarkMessageActionAsSeenDtoPayload>;
|
|
56
56
|
/**
|
|
57
57
|
* @internal
|
|
58
58
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
59
59
|
*/
|
|
60
|
-
export declare namespace
|
|
61
|
-
/** @deprecated use `
|
|
62
|
-
const inboundSchema: z.ZodType<
|
|
63
|
-
/** @deprecated use `
|
|
64
|
-
const outboundSchema: z.ZodType<
|
|
65
|
-
/** @deprecated use `
|
|
66
|
-
type Outbound =
|
|
60
|
+
export declare namespace MarkMessageActionAsSeenDtoPayload$ {
|
|
61
|
+
/** @deprecated use `MarkMessageActionAsSeenDtoPayload$inboundSchema` instead. */
|
|
62
|
+
const inboundSchema: z.ZodType<MarkMessageActionAsSeenDtoPayload, z.ZodTypeDef, unknown>;
|
|
63
|
+
/** @deprecated use `MarkMessageActionAsSeenDtoPayload$outboundSchema` instead. */
|
|
64
|
+
const outboundSchema: z.ZodType<MarkMessageActionAsSeenDtoPayload$Outbound, z.ZodTypeDef, MarkMessageActionAsSeenDtoPayload>;
|
|
65
|
+
/** @deprecated use `MarkMessageActionAsSeenDtoPayload$Outbound` instead. */
|
|
66
|
+
type Outbound = MarkMessageActionAsSeenDtoPayload$Outbound;
|
|
67
67
|
}
|
|
68
|
-
export declare function
|
|
69
|
-
export declare function
|
|
68
|
+
export declare function markMessageActionAsSeenDtoPayloadToJSON(markMessageActionAsSeenDtoPayload: MarkMessageActionAsSeenDtoPayload): string;
|
|
69
|
+
export declare function markMessageActionAsSeenDtoPayloadFromJSON(jsonString: string): SafeParseResult<MarkMessageActionAsSeenDtoPayload, SDKValidationError>;
|
|
70
70
|
/** @internal */
|
|
71
71
|
export declare const MarkMessageActionAsSeenDto$inboundSchema: z.ZodType<MarkMessageActionAsSeenDto, z.ZodTypeDef, unknown>;
|
|
72
72
|
/** @internal */
|
|
73
73
|
export type MarkMessageActionAsSeenDto$Outbound = {
|
|
74
74
|
status: string;
|
|
75
|
-
payload?:
|
|
75
|
+
payload?: MarkMessageActionAsSeenDtoPayload$Outbound | undefined;
|
|
76
76
|
};
|
|
77
77
|
/** @internal */
|
|
78
78
|
export declare const MarkMessageActionAsSeenDto$outboundSchema: z.ZodType<MarkMessageActionAsSeenDto$Outbound, z.ZodTypeDef, MarkMessageActionAsSeenDto>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"markmessageactionasseendto.d.ts","sourceRoot":"","sources":["../../src/models/components/markmessageactionasseendto.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,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;AAErE;;GAEG;AACH,eAAO,MAAM,gCAAgC;;;CAGnC,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,gCAAgC,GAAG,UAAU,CACvD,OAAO,gCAAgC,CACxC,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"markmessageactionasseendto.d.ts","sourceRoot":"","sources":["../../src/models/components/markmessageactionasseendto.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB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