@wix/auto_sdk_duplexer_publisher 1.0.10 → 1.0.11

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.
@@ -0,0 +1,19 @@
1
+ import * as z from 'zod';
2
+
3
+ declare const PublishRequest: z.ZodObject<{
4
+ message: z.ZodObject<{
5
+ _id: z.ZodOptional<z.ZodString>;
6
+ eventName: z.ZodString;
7
+ payload: z.ZodRecord<z.ZodString, z.ZodAny>;
8
+ publisherInfo: z.ZodOptional<z.ZodObject<{
9
+ uid: z.ZodOptional<z.ZodString>;
10
+ }, z.core.$strip>>;
11
+ }, z.core.$strip>;
12
+ options: z.ZodObject<{
13
+ channels: z.ZodArray<z.ZodString>;
14
+ resourceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
15
+ }, z.core.$strip>;
16
+ }, z.core.$strip>;
17
+ declare const PublishResponse: z.ZodObject<{}, z.core.$strip>;
18
+
19
+ export { PublishRequest, PublishResponse };
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __export = (target, all) => {
9
+ for (var name in all)
10
+ __defProp(target, name, { get: all[name], enumerable: true });
11
+ };
12
+ var __copyProps = (to, from, except, desc) => {
13
+ if (from && typeof from === "object" || typeof from === "function") {
14
+ for (let key of __getOwnPropNames(from))
15
+ if (!__hasOwnProp.call(to, key) && key !== except)
16
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
+ }
18
+ return to;
19
+ };
20
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
25
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
+ mod
27
+ ));
28
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
+
30
+ // schemas.ts
31
+ var schemas_exports = {};
32
+ __export(schemas_exports, {
33
+ PublishRequest: () => PublishRequest,
34
+ PublishResponse: () => PublishResponse
35
+ });
36
+ module.exports = __toCommonJS(schemas_exports);
37
+
38
+ // src/realtime-v4-message-publisher.schemas.ts
39
+ var z = __toESM(require("zod"));
40
+ var PublishRequest = z.object({
41
+ message: z.object({
42
+ _id: z.string().describe("Unique message identifier").regex(
43
+ /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
44
+ "Must be a valid GUID"
45
+ ).optional(),
46
+ eventName: z.string().describe('Event name, e.g "product_added"').max(1e3),
47
+ payload: z.record(z.string(), z.any()).describe(
48
+ 'Event payload, e.g { "product_id": "123", "product_name": "Product 1" }'
49
+ ),
50
+ publisherInfo: z.object({
51
+ uid: z.string().describe(
52
+ "Arbitrary string identifier for the publisher, can be used by subscribers to identify the publisher."
53
+ ).max(1e3).optional()
54
+ }).describe("Info regarding the publisher of the message").optional()
55
+ }),
56
+ options: z.object({
57
+ channels: z.array(z.string()).max(10),
58
+ resourceId: z.string().describe(
59
+ 'Optional sub resource identifier, e.g "important_notification", only subscribers to this specific resource will receive the message.'
60
+ ).max(1e3).optional().nullable()
61
+ })
62
+ });
63
+ var PublishResponse = z.object({});
64
+ // Annotate the CommonJS export names for ESM import in node:
65
+ 0 && (module.exports = {
66
+ PublishRequest,
67
+ PublishResponse
68
+ });
69
+ //# sourceMappingURL=schemas.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../schemas.ts","../../src/realtime-v4-message-publisher.schemas.ts"],"sourcesContent":["export * from './src/realtime-v4-message-publisher.schemas.js';\n","import * as z from 'zod';\n\nexport const PublishRequest = z.object({\n message: z.object({\n _id: z\n .string()\n .describe('Unique message identifier')\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n eventName: z.string().describe('Event name, e.g \"product_added\"').max(1000),\n payload: z\n .record(z.string(), z.any())\n .describe(\n 'Event payload, e.g { \"product_id\": \"123\", \"product_name\": \"Product 1\" }'\n ),\n publisherInfo: z\n .object({\n uid: z\n .string()\n .describe(\n 'Arbitrary string identifier for the publisher, can be used by subscribers to identify the publisher.'\n )\n .max(1000)\n .optional(),\n })\n .describe('Info regarding the publisher of the message')\n .optional(),\n }),\n options: z.object({\n channels: z.array(z.string()).max(10),\n resourceId: z\n .string()\n .describe(\n 'Optional sub resource identifier, e.g \"important_notification\", only subscribers to this specific resource will receive the message.'\n )\n .max(1000)\n .optional()\n .nullable(),\n }),\n});\nexport const PublishResponse = z.object({});\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA,QAAmB;AAEZ,IAAM,iBAAmB,SAAO;AAAA,EACrC,SAAW,SAAO;AAAA,IAChB,KACG,SAAO,EACP,SAAS,2BAA2B,EACpC;AAAA,MACC;AAAA,MACA;AAAA,IACF,EACC,SAAS;AAAA,IACZ,WAAa,SAAO,EAAE,SAAS,iCAAiC,EAAE,IAAI,GAAI;AAAA,IAC1E,SACG,SAAS,SAAO,GAAK,MAAI,CAAC,EAC1B;AAAA,MACC;AAAA,IACF;AAAA,IACF,eACG,SAAO;AAAA,MACN,KACG,SAAO,EACP;AAAA,QACC;AAAA,MACF,EACC,IAAI,GAAI,EACR,SAAS;AAAA,IACd,CAAC,EACA,SAAS,6CAA6C,EACtD,SAAS;AAAA,EACd,CAAC;AAAA,EACD,SAAW,SAAO;AAAA,IAChB,UAAY,QAAQ,SAAO,CAAC,EAAE,IAAI,EAAE;AAAA,IACpC,YACG,SAAO,EACP;AAAA,MACC;AAAA,IACF,EACC,IAAI,GAAI,EACR,SAAS,EACT,SAAS;AAAA,EACd,CAAC;AACH,CAAC;AACM,IAAM,kBAAoB,SAAO,CAAC,CAAC;","names":[]}
@@ -0,0 +1,19 @@
1
+ import * as z from 'zod';
2
+
3
+ declare const PublishRequest: z.ZodObject<{
4
+ message: z.ZodObject<{
5
+ _id: z.ZodOptional<z.ZodString>;
6
+ eventName: z.ZodString;
7
+ payload: z.ZodRecord<z.ZodString, z.ZodAny>;
8
+ publisherInfo: z.ZodOptional<z.ZodObject<{
9
+ uid: z.ZodOptional<z.ZodString>;
10
+ }, z.core.$strip>>;
11
+ }, z.core.$strip>;
12
+ options: z.ZodObject<{
13
+ channels: z.ZodArray<z.ZodString>;
14
+ resourceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
15
+ }, z.core.$strip>;
16
+ }, z.core.$strip>;
17
+ declare const PublishResponse: z.ZodObject<{}, z.core.$strip>;
18
+
19
+ export { PublishRequest, PublishResponse };
@@ -0,0 +1,31 @@
1
+ // src/realtime-v4-message-publisher.schemas.ts
2
+ import * as z from "zod";
3
+ var PublishRequest = z.object({
4
+ message: z.object({
5
+ _id: z.string().describe("Unique message identifier").regex(
6
+ /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
7
+ "Must be a valid GUID"
8
+ ).optional(),
9
+ eventName: z.string().describe('Event name, e.g "product_added"').max(1e3),
10
+ payload: z.record(z.string(), z.any()).describe(
11
+ 'Event payload, e.g { "product_id": "123", "product_name": "Product 1" }'
12
+ ),
13
+ publisherInfo: z.object({
14
+ uid: z.string().describe(
15
+ "Arbitrary string identifier for the publisher, can be used by subscribers to identify the publisher."
16
+ ).max(1e3).optional()
17
+ }).describe("Info regarding the publisher of the message").optional()
18
+ }),
19
+ options: z.object({
20
+ channels: z.array(z.string()).max(10),
21
+ resourceId: z.string().describe(
22
+ 'Optional sub resource identifier, e.g "important_notification", only subscribers to this specific resource will receive the message.'
23
+ ).max(1e3).optional().nullable()
24
+ })
25
+ });
26
+ var PublishResponse = z.object({});
27
+ export {
28
+ PublishRequest,
29
+ PublishResponse
30
+ };
31
+ //# sourceMappingURL=schemas.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/realtime-v4-message-publisher.schemas.ts"],"sourcesContent":["import * as z from 'zod';\n\nexport const PublishRequest = z.object({\n message: z.object({\n _id: z\n .string()\n .describe('Unique message identifier')\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n eventName: z.string().describe('Event name, e.g \"product_added\"').max(1000),\n payload: z\n .record(z.string(), z.any())\n .describe(\n 'Event payload, e.g { \"product_id\": \"123\", \"product_name\": \"Product 1\" }'\n ),\n publisherInfo: z\n .object({\n uid: z\n .string()\n .describe(\n 'Arbitrary string identifier for the publisher, can be used by subscribers to identify the publisher.'\n )\n .max(1000)\n .optional(),\n })\n .describe('Info regarding the publisher of the message')\n .optional(),\n }),\n options: z.object({\n channels: z.array(z.string()).max(10),\n resourceId: z\n .string()\n .describe(\n 'Optional sub resource identifier, e.g \"important_notification\", only subscribers to this specific resource will receive the message.'\n )\n .max(1000)\n .optional()\n .nullable(),\n }),\n});\nexport const PublishResponse = z.object({});\n"],"mappings":";AAAA,YAAY,OAAO;AAEZ,IAAM,iBAAmB,SAAO;AAAA,EACrC,SAAW,SAAO;AAAA,IAChB,KACG,SAAO,EACP,SAAS,2BAA2B,EACpC;AAAA,MACC;AAAA,MACA;AAAA,IACF,EACC,SAAS;AAAA,IACZ,WAAa,SAAO,EAAE,SAAS,iCAAiC,EAAE,IAAI,GAAI;AAAA,IAC1E,SACG,SAAS,SAAO,GAAK,MAAI,CAAC,EAC1B;AAAA,MACC;AAAA,IACF;AAAA,IACF,eACG,SAAO;AAAA,MACN,KACG,SAAO,EACP;AAAA,QACC;AAAA,MACF,EACC,IAAI,GAAI,EACR,SAAS;AAAA,IACd,CAAC,EACA,SAAS,6CAA6C,EACtD,SAAS;AAAA,EACd,CAAC;AAAA,EACD,SAAW,SAAO;AAAA,IAChB,UAAY,QAAQ,SAAO,CAAC,EAAE,IAAI,EAAE;AAAA,IACpC,YACG,SAAO,EACP;AAAA,MACC;AAAA,IACF,EACC,IAAI,GAAI,EACR,SAAS,EACT,SAAS;AAAA,EACd,CAAC;AACH,CAAC;AACM,IAAM,kBAAoB,SAAO,CAAC,CAAC;","names":[]}
@@ -0,0 +1,19 @@
1
+ import * as z from 'zod';
2
+
3
+ declare const PublishRequest: z.ZodObject<{
4
+ message: z.ZodObject<{
5
+ _id: z.ZodOptional<z.ZodString>;
6
+ eventName: z.ZodString;
7
+ payload: z.ZodRecord<z.ZodString, z.ZodAny>;
8
+ publisherInfo: z.ZodOptional<z.ZodObject<{
9
+ uid: z.ZodOptional<z.ZodString>;
10
+ }, z.core.$strip>>;
11
+ }, z.core.$strip>;
12
+ options: z.ZodObject<{
13
+ channels: z.ZodArray<z.ZodString>;
14
+ resourceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
15
+ }, z.core.$strip>;
16
+ }, z.core.$strip>;
17
+ declare const PublishResponse: z.ZodObject<{}, z.core.$strip>;
18
+
19
+ export { PublishRequest, PublishResponse };
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __export = (target, all) => {
9
+ for (var name in all)
10
+ __defProp(target, name, { get: all[name], enumerable: true });
11
+ };
12
+ var __copyProps = (to, from, except, desc) => {
13
+ if (from && typeof from === "object" || typeof from === "function") {
14
+ for (let key of __getOwnPropNames(from))
15
+ if (!__hasOwnProp.call(to, key) && key !== except)
16
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
+ }
18
+ return to;
19
+ };
20
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
25
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
+ mod
27
+ ));
28
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
+
30
+ // schemas.ts
31
+ var schemas_exports = {};
32
+ __export(schemas_exports, {
33
+ PublishRequest: () => PublishRequest,
34
+ PublishResponse: () => PublishResponse
35
+ });
36
+ module.exports = __toCommonJS(schemas_exports);
37
+
38
+ // src/realtime-v4-message-publisher.schemas.ts
39
+ var z = __toESM(require("zod"));
40
+ var PublishRequest = z.object({
41
+ message: z.object({
42
+ _id: z.string().describe("Unique message identifier").regex(
43
+ /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
44
+ "Must be a valid GUID"
45
+ ).optional(),
46
+ eventName: z.string().describe('Event name, e.g "product_added"').max(1e3),
47
+ payload: z.record(z.string(), z.any()).describe(
48
+ 'Event payload, e.g { "product_id": "123", "product_name": "Product 1" }'
49
+ ),
50
+ publisherInfo: z.object({
51
+ uid: z.string().describe(
52
+ "Arbitrary string identifier for the publisher, can be used by subscribers to identify the publisher."
53
+ ).max(1e3).optional()
54
+ }).describe("Info regarding the publisher of the message").optional()
55
+ }),
56
+ options: z.object({
57
+ channels: z.array(z.string()).max(10),
58
+ resourceId: z.string().describe(
59
+ 'Optional sub resource identifier, e.g "important_notification", only subscribers to this specific resource will receive the message.'
60
+ ).max(1e3).optional().nullable()
61
+ })
62
+ });
63
+ var PublishResponse = z.object({});
64
+ // Annotate the CommonJS export names for ESM import in node:
65
+ 0 && (module.exports = {
66
+ PublishRequest,
67
+ PublishResponse
68
+ });
69
+ //# sourceMappingURL=schemas.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../schemas.ts","../../../src/realtime-v4-message-publisher.schemas.ts"],"sourcesContent":["export * from './src/realtime-v4-message-publisher.schemas.js';\n","import * as z from 'zod';\n\nexport const PublishRequest = z.object({\n message: z.object({\n _id: z\n .string()\n .describe('Unique message identifier')\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n eventName: z.string().describe('Event name, e.g \"product_added\"').max(1000),\n payload: z\n .record(z.string(), z.any())\n .describe(\n 'Event payload, e.g { \"product_id\": \"123\", \"product_name\": \"Product 1\" }'\n ),\n publisherInfo: z\n .object({\n uid: z\n .string()\n .describe(\n 'Arbitrary string identifier for the publisher, can be used by subscribers to identify the publisher.'\n )\n .max(1000)\n .optional(),\n })\n .describe('Info regarding the publisher of the message')\n .optional(),\n }),\n options: z.object({\n channels: z.array(z.string()).max(10),\n resourceId: z\n .string()\n .describe(\n 'Optional sub resource identifier, e.g \"important_notification\", only subscribers to this specific resource will receive the message.'\n )\n .max(1000)\n .optional()\n .nullable(),\n }),\n});\nexport const PublishResponse = z.object({});\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA,QAAmB;AAEZ,IAAM,iBAAmB,SAAO;AAAA,EACrC,SAAW,SAAO;AAAA,IAChB,KACG,SAAO,EACP,SAAS,2BAA2B,EACpC;AAAA,MACC;AAAA,MACA;AAAA,IACF,EACC,SAAS;AAAA,IACZ,WAAa,SAAO,EAAE,SAAS,iCAAiC,EAAE,IAAI,GAAI;AAAA,IAC1E,SACG,SAAS,SAAO,GAAK,MAAI,CAAC,EAC1B;AAAA,MACC;AAAA,IACF;AAAA,IACF,eACG,SAAO;AAAA,MACN,KACG,SAAO,EACP;AAAA,QACC;AAAA,MACF,EACC,IAAI,GAAI,EACR,SAAS;AAAA,IACd,CAAC,EACA,SAAS,6CAA6C,EACtD,SAAS;AAAA,EACd,CAAC;AAAA,EACD,SAAW,SAAO;AAAA,IAChB,UAAY,QAAQ,SAAO,CAAC,EAAE,IAAI,EAAE;AAAA,IACpC,YACG,SAAO,EACP;AAAA,MACC;AAAA,IACF,EACC,IAAI,GAAI,EACR,SAAS,EACT,SAAS;AAAA,EACd,CAAC;AACH,CAAC;AACM,IAAM,kBAAoB,SAAO,CAAC,CAAC;","names":[]}
@@ -0,0 +1,19 @@
1
+ import * as z from 'zod';
2
+
3
+ declare const PublishRequest: z.ZodObject<{
4
+ message: z.ZodObject<{
5
+ _id: z.ZodOptional<z.ZodString>;
6
+ eventName: z.ZodString;
7
+ payload: z.ZodRecord<z.ZodString, z.ZodAny>;
8
+ publisherInfo: z.ZodOptional<z.ZodObject<{
9
+ uid: z.ZodOptional<z.ZodString>;
10
+ }, z.core.$strip>>;
11
+ }, z.core.$strip>;
12
+ options: z.ZodObject<{
13
+ channels: z.ZodArray<z.ZodString>;
14
+ resourceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
15
+ }, z.core.$strip>;
16
+ }, z.core.$strip>;
17
+ declare const PublishResponse: z.ZodObject<{}, z.core.$strip>;
18
+
19
+ export { PublishRequest, PublishResponse };
@@ -0,0 +1,31 @@
1
+ // src/realtime-v4-message-publisher.schemas.ts
2
+ import * as z from "zod";
3
+ var PublishRequest = z.object({
4
+ message: z.object({
5
+ _id: z.string().describe("Unique message identifier").regex(
6
+ /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
7
+ "Must be a valid GUID"
8
+ ).optional(),
9
+ eventName: z.string().describe('Event name, e.g "product_added"').max(1e3),
10
+ payload: z.record(z.string(), z.any()).describe(
11
+ 'Event payload, e.g { "product_id": "123", "product_name": "Product 1" }'
12
+ ),
13
+ publisherInfo: z.object({
14
+ uid: z.string().describe(
15
+ "Arbitrary string identifier for the publisher, can be used by subscribers to identify the publisher."
16
+ ).max(1e3).optional()
17
+ }).describe("Info regarding the publisher of the message").optional()
18
+ }),
19
+ options: z.object({
20
+ channels: z.array(z.string()).max(10),
21
+ resourceId: z.string().describe(
22
+ 'Optional sub resource identifier, e.g "important_notification", only subscribers to this specific resource will receive the message.'
23
+ ).max(1e3).optional().nullable()
24
+ })
25
+ });
26
+ var PublishResponse = z.object({});
27
+ export {
28
+ PublishRequest,
29
+ PublishResponse
30
+ };
31
+ //# sourceMappingURL=schemas.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/realtime-v4-message-publisher.schemas.ts"],"sourcesContent":["import * as z from 'zod';\n\nexport const PublishRequest = z.object({\n message: z.object({\n _id: z\n .string()\n .describe('Unique message identifier')\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n eventName: z.string().describe('Event name, e.g \"product_added\"').max(1000),\n payload: z\n .record(z.string(), z.any())\n .describe(\n 'Event payload, e.g { \"product_id\": \"123\", \"product_name\": \"Product 1\" }'\n ),\n publisherInfo: z\n .object({\n uid: z\n .string()\n .describe(\n 'Arbitrary string identifier for the publisher, can be used by subscribers to identify the publisher.'\n )\n .max(1000)\n .optional(),\n })\n .describe('Info regarding the publisher of the message')\n .optional(),\n }),\n options: z.object({\n channels: z.array(z.string()).max(10),\n resourceId: z\n .string()\n .describe(\n 'Optional sub resource identifier, e.g \"important_notification\", only subscribers to this specific resource will receive the message.'\n )\n .max(1000)\n .optional()\n .nullable(),\n }),\n});\nexport const PublishResponse = z.object({});\n"],"mappings":";AAAA,YAAY,OAAO;AAEZ,IAAM,iBAAmB,SAAO;AAAA,EACrC,SAAW,SAAO;AAAA,IAChB,KACG,SAAO,EACP,SAAS,2BAA2B,EACpC;AAAA,MACC;AAAA,MACA;AAAA,IACF,EACC,SAAS;AAAA,IACZ,WAAa,SAAO,EAAE,SAAS,iCAAiC,EAAE,IAAI,GAAI;AAAA,IAC1E,SACG,SAAS,SAAO,GAAK,MAAI,CAAC,EAC1B;AAAA,MACC;AAAA,IACF;AAAA,IACF,eACG,SAAO;AAAA,MACN,KACG,SAAO,EACP;AAAA,QACC;AAAA,MACF,EACC,IAAI,GAAI,EACR,SAAS;AAAA,IACd,CAAC,EACA,SAAS,6CAA6C,EACtD,SAAS;AAAA,EACd,CAAC;AAAA,EACD,SAAW,SAAO;AAAA,IAChB,UAAY,QAAQ,SAAO,CAAC,EAAE,IAAI,EAAE;AAAA,IACpC,YACG,SAAO,EACP;AAAA,MACC;AAAA,IACF,EACC,IAAI,GAAI,EACR,SAAS,EACT,SAAS;AAAA,EACd,CAAC;AACH,CAAC;AACM,IAAM,kBAAoB,SAAO,CAAC,CAAC;","names":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/auto_sdk_duplexer_publisher",
3
- "version": "1.0.10",
3
+ "version": "1.0.11",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",
@@ -21,16 +21,23 @@
21
21
  "import": "./build/es/meta.mjs",
22
22
  "require": "./build/cjs/meta.js",
23
23
  "types": "./build/es/meta.d.mts"
24
+ },
25
+ "./schemas": {
26
+ "import": "./build/es/schemas.mjs",
27
+ "require": "./build/cjs/schemas.js",
28
+ "types": "./build/es/schemas.d.mts"
24
29
  }
25
30
  },
26
31
  "files": [
27
32
  "build",
28
33
  "meta",
29
- "service-plugins"
34
+ "service-plugins",
35
+ "schemas"
30
36
  ],
31
37
  "dependencies": {
32
- "@wix/sdk-runtime": "^1.0.8",
33
- "@wix/sdk-types": "^1.17.4"
38
+ "@wix/sdk-runtime": "^1.0.12",
39
+ "@wix/sdk-types": "^1.17.7",
40
+ "zod": "^4.3.6"
34
41
  },
35
42
  "devDependencies": {
36
43
  "tsup": "^8.4.0",
@@ -50,5 +57,5 @@
50
57
  "fqdn": "wix.realtime.v4.message"
51
58
  }
52
59
  },
53
- "falconPackageHash": "32b25ef7d7b2f6fc4b05305cda2ae21a04fff685da8915b4aa38408c"
60
+ "falconPackageHash": "ffe0cc1ff99213cb7ca0a1a7844a3ac7527458b441cbf8ea2d5374ad"
54
61
  }
@@ -0,0 +1,3 @@
1
+ {
2
+ "main": "../build/cjs/schemas.js"
3
+ }