@the-inkwell/shared 0.2.19 → 0.2.20

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,13 @@
1
+ import { z } from 'zod/v4';
2
+ export declare const FlodeskSubscriberPayloadSchema: z.ZodObject<{
3
+ email: z.ZodString;
4
+ id: z.ZodOptional<z.ZodString>;
5
+ first_name: z.ZodOptional<z.ZodString>;
6
+ last_name: z.ZodOptional<z.ZodString>;
7
+ custom_fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
8
+ segment_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
9
+ double_optin: z.ZodOptional<z.ZodBoolean>;
10
+ optin_ip: z.ZodOptional<z.ZodString>;
11
+ optin_timestamp: z.ZodOptional<z.ZodString>;
12
+ }, z.core.$strip>;
13
+ export type FlodeskSubscriberPayload = z.infer<typeof FlodeskSubscriberPayloadSchema>;
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FlodeskSubscriberPayloadSchema = void 0;
4
+ const v4_1 = require("zod/v4");
5
+ exports.FlodeskSubscriberPayloadSchema = v4_1.z.object({
6
+ email: v4_1.z.string(),
7
+ id: v4_1.z.string().optional(),
8
+ first_name: v4_1.z.string().optional(),
9
+ last_name: v4_1.z.string().optional(),
10
+ custom_fields: v4_1.z.record(v4_1.z.string(), v4_1.z.string()).optional(),
11
+ segment_ids: v4_1.z.array(v4_1.z.string()).optional(),
12
+ double_optin: v4_1.z.boolean().optional(),
13
+ optin_ip: v4_1.z.string().optional(),
14
+ optin_timestamp: v4_1.z.string().optional()
15
+ });
16
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/schema/admin/flodesk/index.ts"],"names":[],"mappings":";;;AAAA,+BAA0B;AAEb,QAAA,8BAA8B,GAAG,MAAC,CAAC,MAAM,CAAC;IACrD,KAAK,EAAE,MAAC,CAAC,MAAM,EAAE;IACjB,EAAE,EAAE,MAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACzB,UAAU,EAAE,MAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,SAAS,EAAE,MAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,aAAa,EAAE,MAAC,CAAC,MAAM,CAAC,MAAC,CAAC,MAAM,EAAE,EAAE,MAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC1D,WAAW,EAAE,MAAC,CAAC,KAAK,CAAC,MAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC3C,YAAY,EAAE,MAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACpC,QAAQ,EAAE,MAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC/B,eAAe,EAAE,MAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACvC,CAAC,CAAA","sourcesContent":["import { z } from 'zod/v4'\n\nexport const FlodeskSubscriberPayloadSchema = z.object({\n email: z.string(),\n id: z.string().optional(),\n first_name: z.string().optional(),\n last_name: z.string().optional(),\n custom_fields: z.record(z.string(), z.string()).optional(),\n segment_ids: z.array(z.string()).optional(),\n double_optin: z.boolean().optional(),\n optin_ip: z.string().optional(),\n optin_timestamp: z.string().optional()\n})\n\nexport type FlodeskSubscriberPayload = z.infer<\n typeof FlodeskSubscriberPayloadSchema\n>\n"]}
@@ -28,3 +28,4 @@ export * from './skills';
28
28
  export * from './tags';
29
29
  export * from './websiteLandingPages';
30
30
  export * from './websiteStaticPages';
31
+ export * from './flodesk';
@@ -44,4 +44,5 @@ __exportStar(require("./skills"), exports);
44
44
  __exportStar(require("./tags"), exports);
45
45
  __exportStar(require("./websiteLandingPages"), exports);
46
46
  __exportStar(require("./websiteStaticPages"), exports);
47
+ __exportStar(require("./flodesk"), exports);
47
48
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/schema/admin/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAAyB;AACzB,8CAA2B;AAC3B,gDAA6B;AAC7B,4CAAyB;AACzB,8CAA2B;AAC3B,+CAA4B;AAC5B,gDAA6B;AAC7B,0CAAuB;AACvB,iDAA8B;AAC9B,8CAA2B;AAC3B,8CAA2B;AAC3B,6CAA0B;AAC1B,0CAAuB;AACvB,6CAA0B;AAC1B,4CAAyB;AACzB,yDAAsC;AACtC,oDAAiC;AACjC,kDAA+B;AAC/B,8CAA2B;AAC3B,sDAAmC;AACnC,oDAAiC;AACjC,8CAA2B;AAC3B,wDAAqC;AACrC,4CAAyB;AACzB,6CAA0B;AAC1B,6CAA0B;AAC1B,2CAAwB;AACxB,yCAAsB;AACtB,wDAAqC;AACrC,uDAAoC","sourcesContent":["export * from './actions'\nexport * from './campaigns'\nexport * from './candidacies'\nexport * from './clients'\nexport * from './dashboard'\nexport * from './educations'\nexport * from './experiences'\nexport * from './files'\nexport * from './jobFunctions'\nexport * from './listViews'\nexport * from './locations'\nexport * from './messages'\nexport * from './notes'\nexport * from './partners'\nexport * from './persons'\nexport * from './personsToBestPersons'\nexport * from './personsToSkills'\nexport * from './personsToTags'\nexport * from './positions'\nexport * from './positionsToSkills'\nexport * from './positionsToTags'\nexport * from './referrals'\nexport * from './referralsToMessages'\nexport * from './senders'\nexport * from './sendgrid'\nexport * from './settings'\nexport * from './skills'\nexport * from './tags'\nexport * from './websiteLandingPages'\nexport * from './websiteStaticPages'\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/schema/admin/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAAyB;AACzB,8CAA2B;AAC3B,gDAA6B;AAC7B,4CAAyB;AACzB,8CAA2B;AAC3B,+CAA4B;AAC5B,gDAA6B;AAC7B,0CAAuB;AACvB,iDAA8B;AAC9B,8CAA2B;AAC3B,8CAA2B;AAC3B,6CAA0B;AAC1B,0CAAuB;AACvB,6CAA0B;AAC1B,4CAAyB;AACzB,yDAAsC;AACtC,oDAAiC;AACjC,kDAA+B;AAC/B,8CAA2B;AAC3B,sDAAmC;AACnC,oDAAiC;AACjC,8CAA2B;AAC3B,wDAAqC;AACrC,4CAAyB;AACzB,6CAA0B;AAC1B,6CAA0B;AAC1B,2CAAwB;AACxB,yCAAsB;AACtB,wDAAqC;AACrC,uDAAoC;AACpC,4CAAyB","sourcesContent":["export * from './actions'\nexport * from './campaigns'\nexport * from './candidacies'\nexport * from './clients'\nexport * from './dashboard'\nexport * from './educations'\nexport * from './experiences'\nexport * from './files'\nexport * from './jobFunctions'\nexport * from './listViews'\nexport * from './locations'\nexport * from './messages'\nexport * from './notes'\nexport * from './partners'\nexport * from './persons'\nexport * from './personsToBestPersons'\nexport * from './personsToSkills'\nexport * from './personsToTags'\nexport * from './positions'\nexport * from './positionsToSkills'\nexport * from './positionsToTags'\nexport * from './referrals'\nexport * from './referralsToMessages'\nexport * from './senders'\nexport * from './sendgrid'\nexport * from './settings'\nexport * from './skills'\nexport * from './tags'\nexport * from './websiteLandingPages'\nexport * from './websiteStaticPages'\nexport * from './flodesk'\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@the-inkwell/shared",
3
- "version": "0.2.19",
3
+ "version": "0.2.20",
4
4
  "description": "Shared code for Inkwell",
5
5
  "license": "ISC",
6
6
  "author": "Inkwell (Rob Yedlin & Saimon Alam)",