@sprucelabs/spruce-core-schemas 41.3.4 → 41.3.6

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.
@@ -144,6 +144,7 @@ export declare namespace SpruceSchemas.Spruce.v2020_07_22 {
144
144
  'errors'?: string[] | undefined | null;
145
145
  'classification': ("auth" | "transactional" | "promotional" | "incoming");
146
146
  'status'?: ("pending" | "processing" | "sent" | "failed" | "ignored") | undefined | null;
147
+ 'subject'?: string | undefined | null;
147
148
  'body': string;
148
149
  'context'?: (Record<string, any>) | undefined | null;
149
150
  'topicId'?: string | undefined | null;
@@ -234,6 +235,11 @@ export declare namespace SpruceSchemas.Spruce.v2020_07_22 {
234
235
  };
235
236
  };
236
237
  /** . */
238
+ 'subject': {
239
+ type: 'text';
240
+ options: undefined;
241
+ };
242
+ /** . */
237
243
  'body': {
238
244
  type: 'text';
239
245
  isRequired: true;
@@ -1164,6 +1170,7 @@ export declare namespace SpruceSchemas.Spruce.v2020_07_22 {
1164
1170
  'errors'?: string[] | undefined | null;
1165
1171
  'classification': ("auth" | "transactional" | "promotional" | "incoming");
1166
1172
  'status'?: ("pending" | "processing" | "sent" | "failed" | "ignored") | undefined | null;
1173
+ 'subject'?: string | undefined | null;
1167
1174
  'body': string;
1168
1175
  'context'?: (Record<string, any>) | undefined | null;
1169
1176
  'topicId'?: string | undefined | null;
@@ -1275,6 +1282,11 @@ export declare namespace SpruceSchemas.Spruce.v2020_07_22 {
1275
1282
  };
1276
1283
  };
1277
1284
  /** . */
1285
+ 'subject': {
1286
+ type: 'text';
1287
+ options: undefined;
1288
+ };
1289
+ /** . */
1278
1290
  'body': {
1279
1291
  type: 'text';
1280
1292
  isRequired: true;
@@ -78,6 +78,11 @@ const messageSchema = {
78
78
  options: { choices: [{ "value": "pending", "label": "Pending" }, { "value": "processing", "label": "Processing" }, { "value": "sent", "label": "Sent" }, { "value": "failed", "label": "Failed" }, { "value": "ignored", "label": "Ignored" }], }
79
79
  },
80
80
  /** . */
81
+ 'subject': {
82
+ type: 'text',
83
+ options: undefined
84
+ },
85
+ /** . */
81
86
  'body': {
82
87
  type: 'text',
83
88
  isRequired: true,
@@ -58,6 +58,11 @@ const sendMessageSchema = {
58
58
  options: { choices: [{ "value": "pending", "label": "Pending" }, { "value": "processing", "label": "Processing" }, { "value": "sent", "label": "Sent" }, { "value": "failed", "label": "Failed" }, { "value": "ignored", "label": "Ignored" }], }
59
59
  },
60
60
  /** . */
61
+ 'subject': {
62
+ type: 'text',
63
+ options: undefined
64
+ },
65
+ /** . */
61
66
  'body': {
62
67
  type: 'text',
63
68
  isRequired: true,
@@ -144,6 +144,7 @@ export declare namespace SpruceSchemas.Spruce.v2020_07_22 {
144
144
  'errors'?: string[] | undefined | null;
145
145
  'classification': ("auth" | "transactional" | "promotional" | "incoming");
146
146
  'status'?: ("pending" | "processing" | "sent" | "failed" | "ignored") | undefined | null;
147
+ 'subject'?: string | undefined | null;
147
148
  'body': string;
148
149
  'context'?: (Record<string, any>) | undefined | null;
149
150
  'topicId'?: string | undefined | null;
@@ -234,6 +235,11 @@ export declare namespace SpruceSchemas.Spruce.v2020_07_22 {
234
235
  };
235
236
  };
236
237
  /** . */
238
+ 'subject': {
239
+ type: 'text';
240
+ options: undefined;
241
+ };
242
+ /** . */
237
243
  'body': {
238
244
  type: 'text';
239
245
  isRequired: true;
@@ -1164,6 +1170,7 @@ export declare namespace SpruceSchemas.Spruce.v2020_07_22 {
1164
1170
  'errors'?: string[] | undefined | null;
1165
1171
  'classification': ("auth" | "transactional" | "promotional" | "incoming");
1166
1172
  'status'?: ("pending" | "processing" | "sent" | "failed" | "ignored") | undefined | null;
1173
+ 'subject'?: string | undefined | null;
1167
1174
  'body': string;
1168
1175
  'context'?: (Record<string, any>) | undefined | null;
1169
1176
  'topicId'?: string | undefined | null;
@@ -1275,6 +1282,11 @@ export declare namespace SpruceSchemas.Spruce.v2020_07_22 {
1275
1282
  };
1276
1283
  };
1277
1284
  /** . */
1285
+ 'subject': {
1286
+ type: 'text';
1287
+ options: undefined;
1288
+ };
1289
+ /** . */
1278
1290
  'body': {
1279
1291
  type: 'text';
1280
1292
  isRequired: true;
@@ -73,6 +73,11 @@ const messageSchema = {
73
73
  options: { choices: [{ "value": "pending", "label": "Pending" }, { "value": "processing", "label": "Processing" }, { "value": "sent", "label": "Sent" }, { "value": "failed", "label": "Failed" }, { "value": "ignored", "label": "Ignored" }], }
74
74
  },
75
75
  /** . */
76
+ 'subject': {
77
+ type: 'text',
78
+ options: undefined
79
+ },
80
+ /** . */
76
81
  'body': {
77
82
  type: 'text',
78
83
  isRequired: true,
@@ -53,6 +53,11 @@ const sendMessageSchema = {
53
53
  options: { choices: [{ "value": "pending", "label": "Pending" }, { "value": "processing", "label": "Processing" }, { "value": "sent", "label": "Sent" }, { "value": "failed", "label": "Failed" }, { "value": "ignored", "label": "Ignored" }], }
54
54
  },
55
55
  /** . */
56
+ 'subject': {
57
+ type: 'text',
58
+ options: undefined
59
+ },
60
+ /** . */
56
61
  'body': {
57
62
  type: 'text',
58
63
  isRequired: true,
@@ -17,6 +17,7 @@ export { default as linkSchema } from './.spruce/schemas/spruce/v2020_07_22/link
17
17
  export { default as feedItemSchema } from './.spruce/schemas/spruce/v2020_07_22/feedItem.schema';
18
18
  export { default as choiceSchema } from './.spruce/schemas/spruce/v2020_07_22/choice.schema';
19
19
  export { default as agentSchema } from './.spruce/schemas/spruce/v2020_07_22/agent.schema';
20
+ export { default as agentSourceSchema } from './.spruce/schemas/spruce/v2020_07_22/agentSource.schema';
20
21
  export { timezoneChoices } from './timezoneChoices';
21
22
  export * from './constants';
22
23
  export * from './core.types';
@@ -17,6 +17,7 @@ export { default as linkSchema } from './.spruce/schemas/spruce/v2020_07_22/link
17
17
  export { default as feedItemSchema } from './.spruce/schemas/spruce/v2020_07_22/feedItem.schema.js';
18
18
  export { default as choiceSchema } from './.spruce/schemas/spruce/v2020_07_22/choice.schema.js';
19
19
  export { default as agentSchema } from './.spruce/schemas/spruce/v2020_07_22/agent.schema.js';
20
+ export { default as agentSourceSchema } from './.spruce/schemas/spruce/v2020_07_22/agentSource.schema.js';
20
21
  export { timezoneChoices } from './timezoneChoices.js';
21
22
  export * from './constants.js';
22
23
  export * from './core.types.js';
@@ -178,6 +178,9 @@ declare const _default: {
178
178
  })[];
179
179
  };
180
180
  };
181
+ subject: {
182
+ type: "text";
183
+ };
181
184
  body: {
182
185
  type: "text";
183
186
  isRequired: true;
@@ -127,6 +127,9 @@ export default buildSchema({
127
127
  ],
128
128
  },
129
129
  },
130
+ subject: {
131
+ type: 'text',
132
+ },
130
133
  body: {
131
134
  type: 'text',
132
135
  isRequired: true,
@@ -91,6 +91,9 @@ declare const _default: {
91
91
  })[];
92
92
  };
93
93
  };
94
+ subject: {
95
+ type: "text";
96
+ };
94
97
  body: {
95
98
  type: "text";
96
99
  isRequired: true;
package/build/index.d.ts CHANGED
@@ -17,6 +17,7 @@ export { default as linkSchema } from './.spruce/schemas/spruce/v2020_07_22/link
17
17
  export { default as feedItemSchema } from './.spruce/schemas/spruce/v2020_07_22/feedItem.schema';
18
18
  export { default as choiceSchema } from './.spruce/schemas/spruce/v2020_07_22/choice.schema';
19
19
  export { default as agentSchema } from './.spruce/schemas/spruce/v2020_07_22/agent.schema';
20
+ export { default as agentSourceSchema } from './.spruce/schemas/spruce/v2020_07_22/agentSource.schema';
20
21
  export { timezoneChoices } from './timezoneChoices';
21
22
  export * from './constants';
22
23
  export * from './core.types';
package/build/index.js CHANGED
@@ -17,7 +17,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
17
17
  return (mod && mod.__esModule) ? mod : { "default": mod };
18
18
  };
19
19
  Object.defineProperty(exports, "__esModule", { value: true });
20
- exports.timezoneChoices = exports.agentSchema = exports.choiceSchema = exports.feedItemSchema = exports.linkSchema = exports.feedItemTargetSchema = exports.feedSchema = exports.sendMessageSchema = exports.messageTargetSchema = exports.messageSourceSchema = exports.messageSchema = exports.roleSchema = exports.personLocationSchema = exports.personOrganizationSchema = exports.organizationSchema = exports.locationSchema = exports.skillCreatorSchema = exports.skillSchema = exports.personSchema = void 0;
20
+ exports.timezoneChoices = exports.agentSourceSchema = exports.agentSchema = exports.choiceSchema = exports.feedItemSchema = exports.linkSchema = exports.feedItemTargetSchema = exports.feedSchema = exports.sendMessageSchema = exports.messageTargetSchema = exports.messageSourceSchema = exports.messageSchema = exports.roleSchema = exports.personLocationSchema = exports.personOrganizationSchema = exports.organizationSchema = exports.locationSchema = exports.skillCreatorSchema = exports.skillSchema = exports.personSchema = void 0;
21
21
  __exportStar(require("./.spruce/schemas/core.schemas.types"), exports);
22
22
  var person_schema_1 = require("./.spruce/schemas/spruce/v2020_07_22/person.schema");
23
23
  Object.defineProperty(exports, "personSchema", { enumerable: true, get: function () { return __importDefault(person_schema_1).default; } });
@@ -55,6 +55,8 @@ var choice_schema_1 = require("./.spruce/schemas/spruce/v2020_07_22/choice.schem
55
55
  Object.defineProperty(exports, "choiceSchema", { enumerable: true, get: function () { return __importDefault(choice_schema_1).default; } });
56
56
  var agent_schema_1 = require("./.spruce/schemas/spruce/v2020_07_22/agent.schema");
57
57
  Object.defineProperty(exports, "agentSchema", { enumerable: true, get: function () { return __importDefault(agent_schema_1).default; } });
58
+ var agentSource_schema_1 = require("./.spruce/schemas/spruce/v2020_07_22/agentSource.schema");
59
+ Object.defineProperty(exports, "agentSourceSchema", { enumerable: true, get: function () { return __importDefault(agentSource_schema_1).default; } });
58
60
  var timezoneChoices_1 = require("./timezoneChoices");
59
61
  Object.defineProperty(exports, "timezoneChoices", { enumerable: true, get: function () { return timezoneChoices_1.timezoneChoices; } });
60
62
  __exportStar(require("./constants"), exports);
@@ -178,6 +178,9 @@ declare const _default: {
178
178
  })[];
179
179
  };
180
180
  };
181
+ subject: {
182
+ type: "text";
183
+ };
181
184
  body: {
182
185
  type: "text";
183
186
  isRequired: true;
@@ -140,6 +140,9 @@ exports.default = (0, schema_1.buildSchema)({
140
140
  ],
141
141
  },
142
142
  },
143
+ subject: {
144
+ type: 'text',
145
+ },
143
146
  body: {
144
147
  type: 'text',
145
148
  isRequired: true,
@@ -91,6 +91,9 @@ declare const _default: {
91
91
  })[];
92
92
  };
93
93
  };
94
+ subject: {
95
+ type: "text";
96
+ };
94
97
  body: {
95
98
  type: "text";
96
99
  isRequired: true;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "41.3.4",
6
+ "version": "41.3.6",
7
7
  "files": [
8
8
  "build/**/*",
9
9
  "tsconfig.json"