cv-contracts 0.0.14 → 0.0.15

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/dist/index.d.ts CHANGED
@@ -1,2 +1,3 @@
1
1
  export * from './interfaces';
2
2
  export * from './enums';
3
+ export * from './schemas';
package/dist/index.js CHANGED
@@ -16,4 +16,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./interfaces"), exports);
18
18
  __exportStar(require("./enums"), exports);
19
+ __exportStar(require("./schemas"), exports);
19
20
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,0CAAwB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,0CAAwB;AACxB,4CAA0B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cv-contracts",
3
- "version": "0.0.14",
3
+ "version": "0.0.15",
4
4
  "description": "Carbon Voice Contracts",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1,17 +0,0 @@
1
- export declare const BasicUserSchema: {
2
- readonly type: "object";
3
- readonly properties: {
4
- readonly user_guid: {
5
- readonly type: "string";
6
- };
7
- readonly first_name: {
8
- readonly type: "string";
9
- };
10
- readonly last_name: {
11
- readonly type: "string";
12
- };
13
- };
14
- readonly additionalProperties: false;
15
- readonly required: readonly ["first_name", "last_name", "user_guid"];
16
- readonly $schema: "http://json-schema.org/draft-07/schema#";
17
- };
@@ -1,21 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.BasicUserSchema = void 0;
4
- exports.BasicUserSchema = {
5
- type: 'object',
6
- properties: {
7
- user_guid: {
8
- type: 'string',
9
- },
10
- first_name: {
11
- type: 'string',
12
- },
13
- last_name: {
14
- type: 'string',
15
- },
16
- },
17
- additionalProperties: false,
18
- required: ['first_name', 'last_name', 'user_guid'],
19
- $schema: 'http://json-schema.org/draft-07/schema#',
20
- };
21
- //# sourceMappingURL=BasicUserSchema.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"BasicUserSchema.js","sourceRoot":"","sources":["../src/BasicUserSchema.ts"],"names":[],"mappings":";;;AAAa,QAAA,eAAe,GAAG;IAC7B,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACV,SAAS,EAAE;YACT,IAAI,EAAE,QAAQ;SACf;QACD,UAAU,EAAE;YACV,IAAI,EAAE,QAAQ;SACf;QACD,SAAS,EAAE;YACT,IAAI,EAAE,QAAQ;SACf;KACF;IACD,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,YAAY,EAAE,WAAW,EAAE,WAAW,CAAC;IAClD,OAAO,EAAE,yCAAyC;CAC1C,CAAC"}
@@ -1,5 +0,0 @@
1
- export declare const ChannelTypeSchema: {
2
- readonly type: "string";
3
- readonly enum: readonly ["directMessage", "customerConversation", "namedConversation", "asyncMeeting"];
4
- readonly $schema: "http://json-schema.org/draft-07/schema#";
5
- };
@@ -1,14 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ChannelTypeSchema = void 0;
4
- exports.ChannelTypeSchema = {
5
- type: 'string',
6
- enum: [
7
- 'directMessage',
8
- 'customerConversation',
9
- 'namedConversation',
10
- 'asyncMeeting',
11
- ],
12
- $schema: 'http://json-schema.org/draft-07/schema#',
13
- };
14
- //# sourceMappingURL=ChannelTypeSchema.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ChannelTypeSchema.js","sourceRoot":"","sources":["../src/ChannelTypeSchema.ts"],"names":[],"mappings":";;;AAAa,QAAA,iBAAiB,GAAG;IAC/B,IAAI,EAAE,QAAQ;IACd,IAAI,EAAE;QACJ,eAAe;QACf,sBAAsB;QACtB,mBAAmB;QACnB,cAAc;KACf;IACD,OAAO,EAAE,yCAAyC;CAC1C,CAAC"}