cv-contracts 0.0.15 → 0.0.17
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/enums/AttachmentType.d.ts +5 -0
- package/dist/enums/AttachmentType.js +10 -0
- package/dist/enums/AttachmentType.js.map +1 -0
- package/dist/enums/index.d.ts +1 -0
- package/dist/enums/index.js +1 -0
- package/dist/enums/index.js.map +1 -1
- package/dist/interfaces/Attachment.d.ts +14 -0
- package/dist/interfaces/Attachment.js +3 -0
- package/dist/interfaces/Attachment.js.map +1 -0
- package/dist/interfaces/Message.d.ts +2 -0
- package/dist/interfaces/index.d.ts +1 -0
- package/dist/interfaces/index.js +1 -0
- package/dist/interfaces/index.js.map +1 -1
- package/dist/schemas/AsyncMeetingStatsSchema.d.ts +41 -41
- package/dist/schemas/AsyncMeetingStatsSchema.js.map +1 -1
- package/dist/schemas/AttachmentSchema.d.ts +71 -0
- package/dist/schemas/AttachmentSchema.js +80 -0
- package/dist/schemas/AttachmentSchema.js.map +1 -0
- package/dist/schemas/BasicUserSchema.d.ts +11 -11
- package/dist/schemas/BasicUserSchema.js.map +1 -1
- package/dist/schemas/ChannelSchema.d.ts +101 -99
- package/dist/schemas/ChannelSchema.js.map +1 -1
- package/dist/schemas/ChannelUserJoinedSchema.d.ts +120 -118
- package/dist/schemas/ChannelUserJoinedSchema.js.map +1 -1
- package/dist/schemas/ChannelUserLeftSchema.d.ts +120 -118
- package/dist/schemas/ChannelUserLeftSchema.js.map +1 -1
- package/dist/schemas/ChannelUserRemovedSchema.d.ts +122 -120
- package/dist/schemas/ChannelUserRemovedSchema.js.map +1 -1
- package/dist/schemas/ChannelUsersAddedSchema.d.ts +124 -122
- package/dist/schemas/ChannelUsersAddedSchema.js.map +1 -1
- package/dist/schemas/LabelSchema.d.ts +30 -30
- package/dist/schemas/LabelSchema.js.map +1 -1
- package/dist/schemas/MessageSchema.d.ts +113 -51
- package/dist/schemas/MessageSchema.js +66 -0
- package/dist/schemas/MessageSchema.js.map +1 -1
- package/dist/schemas/SubscribedUserSettingsSchema.d.ts +11 -11
- package/dist/schemas/SubscribedUserSettingsSchema.js.map +1 -1
- package/dist/schemas/SubscriptionFilterSchema.d.ts +11 -11
- package/dist/schemas/SubscriptionFilterSchema.js.map +1 -1
- package/dist/schemas/WebhookPayloadSchema.d.ts +56 -56
- package/dist/schemas/WebhookPayloadSchema.js.map +1 -1
- package/dist/schemas/WorkspaceFindableChannelCreatedSchema.d.ts +134 -132
- package/dist/schemas/WorkspaceFindableChannelCreatedSchema.js.map +1 -1
- package/dist/schemas/WorkspaceSchema.d.ts +25 -25
- package/dist/schemas/WorkspaceSchema.js.map +1 -1
- package/dist/schemas/WorkspaceUserAddedSchema.d.ts +46 -46
- package/dist/schemas/WorkspaceUserAddedSchema.js.map +1 -1
- package/dist/schemas/WorkspaceUserJoinedSchema.d.ts +46 -46
- package/dist/schemas/WorkspaceUserJoinedSchema.js.map +1 -1
- package/dist/schemas/WorkspaceUserLeftSchema.d.ts +46 -46
- package/dist/schemas/WorkspaceUserLeftSchema.js.map +1 -1
- package/dist/schemas/WorkspaceUserRemovedSchema.d.ts +48 -48
- package/dist/schemas/WorkspaceUserRemovedSchema.js.map +1 -1
- package/dist/schemas/index.d.ts +1 -0
- package/dist/schemas/index.js +1 -0
- package/dist/schemas/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AttachmentType = void 0;
|
|
4
|
+
var AttachmentType;
|
|
5
|
+
(function (AttachmentType) {
|
|
6
|
+
AttachmentType["Link"] = "link";
|
|
7
|
+
AttachmentType["File"] = "file";
|
|
8
|
+
AttachmentType["Location"] = "location";
|
|
9
|
+
})(AttachmentType = exports.AttachmentType || (exports.AttachmentType = {}));
|
|
10
|
+
//# sourceMappingURL=AttachmentType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AttachmentType.js","sourceRoot":"","sources":["../../src/enums/AttachmentType.ts"],"names":[],"mappings":";;;AAAA,IAAY,cAIX;AAJD,WAAY,cAAc;IACxB,+BAAa,CAAA;IACb,+BAAa,CAAA;IACb,uCAAqB,CAAA;AACvB,CAAC,EAJW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAIzB"}
|
package/dist/enums/index.d.ts
CHANGED
package/dist/enums/index.js
CHANGED
|
@@ -23,4 +23,5 @@ __exportStar(require("./SubscriptionEvents"), exports);
|
|
|
23
23
|
__exportStar(require("./SubscriptionOperator"), exports);
|
|
24
24
|
__exportStar(require("./LabelBehavior"), exports);
|
|
25
25
|
__exportStar(require("./LabelType"), exports);
|
|
26
|
+
__exportStar(require("./AttachmentType"), exports);
|
|
26
27
|
//# sourceMappingURL=index.js.map
|
package/dist/enums/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/enums/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,sDAAoC;AACpC,kDAAgC;AAChC,gDAA8B;AAC9B,iDAA+B;AAC/B,uDAAqC;AACrC,yDAAuC;AACvC,kDAAgC;AAChC,8CAA4B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/enums/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,sDAAoC;AACpC,kDAAgC;AAChC,gDAA8B;AAC9B,iDAA+B;AAC/B,uDAAqC;AACrC,yDAAuC;AACvC,kDAAgC;AAChC,8CAA4B;AAC5B,mDAAiC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { AttachmentType } from '../enums';
|
|
2
|
+
export interface Attachment {
|
|
3
|
+
_id: string;
|
|
4
|
+
creator_id: string;
|
|
5
|
+
created_at: Date;
|
|
6
|
+
type: AttachmentType;
|
|
7
|
+
link: string;
|
|
8
|
+
active_begin?: Date | null;
|
|
9
|
+
active_end?: Date | null;
|
|
10
|
+
filename?: string | null;
|
|
11
|
+
mime_type?: string | null;
|
|
12
|
+
length_in_bytes?: number | null;
|
|
13
|
+
location: unknown | null;
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Attachment.js","sourceRoot":"","sources":["../../src/interfaces/Attachment.ts"],"names":[],"mappings":""}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Attachment } from './Attachment';
|
|
1
2
|
import { MessageStatus } from '../enums';
|
|
2
3
|
import { MessageType } from '../enums/MessageType';
|
|
3
4
|
export interface Message {
|
|
@@ -19,5 +20,6 @@ export interface Message {
|
|
|
19
20
|
parent_message_guid?: string | null;
|
|
20
21
|
language?: string | null;
|
|
21
22
|
status: MessageStatus;
|
|
23
|
+
attachments?: Attachment[];
|
|
22
24
|
type: MessageType;
|
|
23
25
|
}
|
package/dist/interfaces/index.js
CHANGED
|
@@ -32,4 +32,5 @@ __exportStar(require("./WorkspaceUserLeft"), exports);
|
|
|
32
32
|
__exportStar(require("./WorkspaceUserRemoved"), exports);
|
|
33
33
|
__exportStar(require("./SubscriptionFilter"), exports);
|
|
34
34
|
__exportStar(require("./Label"), exports);
|
|
35
|
+
__exportStar(require("./Attachment"), exports);
|
|
35
36
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/interfaces/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,8CAA4B;AAC5B,4CAA0B;AAC1B,sDAAoC;AACpC,oDAAkC;AAClC,uDAAqC;AACrC,sDAAoC;AACpC,4CAA0B;AAC1B,2DAAyC;AACzC,mDAAiC;AACjC,8CAA4B;AAC5B,oEAAkD;AAClD,uDAAqC;AACrC,wDAAsC;AACtC,sDAAoC;AACpC,yDAAuC;AACvC,uDAAqC;AACrC,0CAAwB"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/interfaces/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,8CAA4B;AAC5B,4CAA0B;AAC1B,sDAAoC;AACpC,oDAAkC;AAClC,uDAAqC;AACrC,sDAAoC;AACpC,4CAA0B;AAC1B,2DAAyC;AACzC,mDAAiC;AACjC,8CAA4B;AAC5B,oEAAkD;AAClD,uDAAqC;AACrC,wDAAsC;AACtC,sDAAoC;AACpC,yDAAuC;AACvC,uDAAqC;AACrC,0CAAwB;AACxB,+CAA6B"}
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
export declare const AsyncMeetingStatsSchema: {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
2
|
+
type: string;
|
|
3
|
+
properties: {
|
|
4
|
+
channel_stats: {
|
|
5
|
+
type: string;
|
|
6
|
+
properties: {
|
|
7
|
+
total_duration_milliseconds: {
|
|
8
|
+
type: string;
|
|
9
9
|
};
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
total_heard_milliseconds: {
|
|
11
|
+
type: string;
|
|
12
12
|
};
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
total_engaged_percentage: {
|
|
14
|
+
type: string;
|
|
15
15
|
};
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
total_messages_posted: {
|
|
17
|
+
type: string;
|
|
18
18
|
};
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
total_users: {
|
|
20
|
+
type: string;
|
|
21
21
|
};
|
|
22
22
|
};
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
additionalProperties: boolean;
|
|
24
|
+
required: string[];
|
|
25
25
|
};
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
26
|
+
user_stats: {
|
|
27
|
+
type: string;
|
|
28
|
+
items: {
|
|
29
|
+
type: string;
|
|
30
|
+
properties: {
|
|
31
|
+
user_id: {
|
|
32
|
+
type: string;
|
|
33
33
|
};
|
|
34
|
-
|
|
35
|
-
|
|
34
|
+
total_messages_posted: {
|
|
35
|
+
type: string;
|
|
36
36
|
};
|
|
37
|
-
|
|
38
|
-
|
|
37
|
+
total_sent_milliseconds: {
|
|
38
|
+
type: string;
|
|
39
39
|
};
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
total_heard_milliseconds: {
|
|
41
|
+
type: string;
|
|
42
42
|
};
|
|
43
|
-
|
|
44
|
-
|
|
43
|
+
total_engaged_percentage: {
|
|
44
|
+
type: string;
|
|
45
45
|
};
|
|
46
|
-
|
|
47
|
-
|
|
46
|
+
total_heard_messages: {
|
|
47
|
+
type: string;
|
|
48
48
|
};
|
|
49
|
-
|
|
50
|
-
|
|
49
|
+
total_unheard_messages: {
|
|
50
|
+
type: string;
|
|
51
51
|
};
|
|
52
52
|
};
|
|
53
|
-
|
|
54
|
-
|
|
53
|
+
additionalProperties: boolean;
|
|
54
|
+
required: string[];
|
|
55
55
|
};
|
|
56
56
|
};
|
|
57
57
|
};
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
58
|
+
additionalProperties: boolean;
|
|
59
|
+
required: string[];
|
|
60
|
+
$schema: string;
|
|
61
61
|
};
|
|
62
62
|
export declare enum AsyncMeetingStatsKeys {
|
|
63
63
|
channel_stats = "channel_stats",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AsyncMeetingStatsSchema.js","sourceRoot":"","sources":["../../src/schemas/AsyncMeetingStatsSchema.ts"],"names":[],"mappings":";;;AAAa,QAAA,uBAAuB,GAAG;IACrC,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACV,aAAa,EAAE;YACb,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE;gBACV,2BAA2B,EAAE;oBAC3B,IAAI,EAAE,QAAQ;iBACf;gBACD,wBAAwB,EAAE;oBACxB,IAAI,EAAE,QAAQ;iBACf;gBACD,wBAAwB,EAAE;oBACxB,IAAI,EAAE,QAAQ;iBACf;gBACD,qBAAqB,EAAE;oBACrB,IAAI,EAAE,QAAQ;iBACf;gBACD,WAAW,EAAE;oBACX,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,oBAAoB,EAAE,KAAK;YAC3B,QAAQ,EAAE;gBACR,6BAA6B;gBAC7B,0BAA0B;gBAC1B,0BAA0B;gBAC1B,uBAAuB;gBACvB,aAAa;aACd;SACF;QACD,UAAU,EAAE;YACV,IAAI,EAAE,OAAO;YACb,KAAK,EAAE;gBACL,IAAI,EAAE,QAAQ;gBACd,UAAU,EAAE;oBACV,OAAO,EAAE;wBACP,IAAI,EAAE,QAAQ;qBACf;oBACD,qBAAqB,EAAE;wBACrB,IAAI,EAAE,QAAQ;qBACf;oBACD,uBAAuB,EAAE;wBACvB,IAAI,EAAE,QAAQ;qBACf;oBACD,wBAAwB,EAAE;wBACxB,IAAI,EAAE,QAAQ;qBACf;oBACD,wBAAwB,EAAE;wBACxB,IAAI,EAAE,QAAQ;qBACf;oBACD,oBAAoB,EAAE;wBACpB,IAAI,EAAE,QAAQ;qBACf;oBACD,sBAAsB,EAAE;wBACtB,IAAI,EAAE,QAAQ;qBACf;iBACF;gBACD,oBAAoB,EAAE,KAAK;gBAC3B,QAAQ,EAAE;oBACR,0BAA0B;oBAC1B,sBAAsB;oBACtB,0BAA0B;oBAC1B,uBAAuB;oBACvB,yBAAyB;oBACzB,wBAAwB;oBACxB,SAAS;iBACV;aACF;SACF;KACF;IACD,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,eAAe,EAAE,YAAY,CAAC;IACzC,OAAO,EAAE,yCAAyC;
|
|
1
|
+
{"version":3,"file":"AsyncMeetingStatsSchema.js","sourceRoot":"","sources":["../../src/schemas/AsyncMeetingStatsSchema.ts"],"names":[],"mappings":";;;AAAa,QAAA,uBAAuB,GAAG;IACrC,IAAI,EAAE,Q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;CACnD,CAAC;AAEF,IAAY,qBAGX;AAHD,WAAY,qBAAqB;IAC/B,wDAA+B,CAAA;IAC/B,kDAAyB,CAAA;AAC3B,CAAC,EAHW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAGhC"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
export declare const AttachmentSchema: {
|
|
2
|
+
type: string;
|
|
3
|
+
properties: {
|
|
4
|
+
_id: {
|
|
5
|
+
type: string;
|
|
6
|
+
};
|
|
7
|
+
creator_id: {
|
|
8
|
+
type: string;
|
|
9
|
+
};
|
|
10
|
+
created_at: {
|
|
11
|
+
type: string;
|
|
12
|
+
format: string;
|
|
13
|
+
};
|
|
14
|
+
type: {
|
|
15
|
+
$ref: string;
|
|
16
|
+
};
|
|
17
|
+
link: {
|
|
18
|
+
type: string;
|
|
19
|
+
};
|
|
20
|
+
active_begin: {
|
|
21
|
+
anyOf: ({
|
|
22
|
+
type: string;
|
|
23
|
+
format: string;
|
|
24
|
+
} | {
|
|
25
|
+
type: string;
|
|
26
|
+
format?: undefined;
|
|
27
|
+
})[];
|
|
28
|
+
};
|
|
29
|
+
active_end: {
|
|
30
|
+
anyOf: ({
|
|
31
|
+
type: string;
|
|
32
|
+
format: string;
|
|
33
|
+
} | {
|
|
34
|
+
type: string;
|
|
35
|
+
format?: undefined;
|
|
36
|
+
})[];
|
|
37
|
+
};
|
|
38
|
+
filename: {
|
|
39
|
+
type: string[];
|
|
40
|
+
};
|
|
41
|
+
mime_type: {
|
|
42
|
+
type: string[];
|
|
43
|
+
};
|
|
44
|
+
length_in_bytes: {
|
|
45
|
+
type: string[];
|
|
46
|
+
};
|
|
47
|
+
location: {};
|
|
48
|
+
};
|
|
49
|
+
additionalProperties: boolean;
|
|
50
|
+
required: string[];
|
|
51
|
+
definitions: {
|
|
52
|
+
AttachmentType: {
|
|
53
|
+
type: string;
|
|
54
|
+
enum: string[];
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
$schema: string;
|
|
58
|
+
};
|
|
59
|
+
export declare enum AttachmentKeys {
|
|
60
|
+
_id = "_id",
|
|
61
|
+
creator_id = "creator_id",
|
|
62
|
+
created_at = "created_at",
|
|
63
|
+
type = "type",
|
|
64
|
+
link = "link",
|
|
65
|
+
active_begin = "active_begin",
|
|
66
|
+
active_end = "active_end",
|
|
67
|
+
filename = "filename",
|
|
68
|
+
mime_type = "mime_type",
|
|
69
|
+
length_in_bytes = "length_in_bytes",
|
|
70
|
+
location = "location"
|
|
71
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AttachmentKeys = exports.AttachmentSchema = void 0;
|
|
4
|
+
exports.AttachmentSchema = {
|
|
5
|
+
type: 'object',
|
|
6
|
+
properties: {
|
|
7
|
+
_id: {
|
|
8
|
+
type: 'string',
|
|
9
|
+
},
|
|
10
|
+
creator_id: {
|
|
11
|
+
type: 'string',
|
|
12
|
+
},
|
|
13
|
+
created_at: {
|
|
14
|
+
type: 'string',
|
|
15
|
+
format: 'date-time',
|
|
16
|
+
},
|
|
17
|
+
type: {
|
|
18
|
+
$ref: '#/definitions/AttachmentType',
|
|
19
|
+
},
|
|
20
|
+
link: {
|
|
21
|
+
type: 'string',
|
|
22
|
+
},
|
|
23
|
+
active_begin: {
|
|
24
|
+
anyOf: [
|
|
25
|
+
{
|
|
26
|
+
type: 'string',
|
|
27
|
+
format: 'date-time',
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
type: 'null',
|
|
31
|
+
},
|
|
32
|
+
],
|
|
33
|
+
},
|
|
34
|
+
active_end: {
|
|
35
|
+
anyOf: [
|
|
36
|
+
{
|
|
37
|
+
type: 'string',
|
|
38
|
+
format: 'date-time',
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
type: 'null',
|
|
42
|
+
},
|
|
43
|
+
],
|
|
44
|
+
},
|
|
45
|
+
filename: {
|
|
46
|
+
type: ['null', 'string'],
|
|
47
|
+
},
|
|
48
|
+
mime_type: {
|
|
49
|
+
type: ['null', 'string'],
|
|
50
|
+
},
|
|
51
|
+
length_in_bytes: {
|
|
52
|
+
type: ['null', 'number'],
|
|
53
|
+
},
|
|
54
|
+
location: {},
|
|
55
|
+
},
|
|
56
|
+
additionalProperties: false,
|
|
57
|
+
required: ['_id', 'created_at', 'creator_id', 'link', 'location', 'type'],
|
|
58
|
+
definitions: {
|
|
59
|
+
AttachmentType: {
|
|
60
|
+
type: 'string',
|
|
61
|
+
enum: ['link', 'file', 'location'],
|
|
62
|
+
},
|
|
63
|
+
},
|
|
64
|
+
$schema: 'http://json-schema.org/draft-07/schema#',
|
|
65
|
+
};
|
|
66
|
+
var AttachmentKeys;
|
|
67
|
+
(function (AttachmentKeys) {
|
|
68
|
+
AttachmentKeys["_id"] = "_id";
|
|
69
|
+
AttachmentKeys["creator_id"] = "creator_id";
|
|
70
|
+
AttachmentKeys["created_at"] = "created_at";
|
|
71
|
+
AttachmentKeys["type"] = "type";
|
|
72
|
+
AttachmentKeys["link"] = "link";
|
|
73
|
+
AttachmentKeys["active_begin"] = "active_begin";
|
|
74
|
+
AttachmentKeys["active_end"] = "active_end";
|
|
75
|
+
AttachmentKeys["filename"] = "filename";
|
|
76
|
+
AttachmentKeys["mime_type"] = "mime_type";
|
|
77
|
+
AttachmentKeys["length_in_bytes"] = "length_in_bytes";
|
|
78
|
+
AttachmentKeys["location"] = "location";
|
|
79
|
+
})(AttachmentKeys = exports.AttachmentKeys || (exports.AttachmentKeys = {}));
|
|
80
|
+
//# sourceMappingURL=AttachmentSchema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AttachmentSchema.js","sourceRoot":"","sources":["../../src/schemas/AttachmentSchema.ts"],"names":[],"mappings":";;;AAAa,QAAA,gBAAgB,GAAG;IAC9B,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACV,GAAG,EAAE;YACH,IAAI,EAA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CAAA;IACrB,yCAAuB,CAAA;IACvB,qDAAmC,CAAA;IACnC,uCAAqB,CAAA;AACvB,CAAC,EAZW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAYzB"}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
export declare const BasicUserSchema: {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
type: string;
|
|
3
|
+
properties: {
|
|
4
|
+
user_guid: {
|
|
5
|
+
type: string;
|
|
6
6
|
};
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
first_name: {
|
|
8
|
+
type: string;
|
|
9
9
|
};
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
last_name: {
|
|
11
|
+
type: string;
|
|
12
12
|
};
|
|
13
13
|
};
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
additionalProperties: boolean;
|
|
15
|
+
required: string[];
|
|
16
|
+
$schema: string;
|
|
17
17
|
};
|
|
18
18
|
export declare enum BasicUserKeys {
|
|
19
19
|
user_guid = "user_guid",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BasicUserSchema.js","sourceRoot":"","sources":["../../src/schemas/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;
|
|
1
|
+
{"version":3,"file":"BasicUserSchema.js","sourceRoot":"","sources":["../../src/schemas/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;CACnD,CAAC;AAEF,IAAY,aAIX;AAJD,WAAY,aAAa;IACvB,wCAAuB,CAAA;IACvB,0CAAyB,CAAA;IACzB,wCAAuB,CAAA;AACzB,CAAC,EAJW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAIxB"}
|