cv-contracts 2.0.10 → 2.0.12
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/Direction.d.ts +4 -0
- package/dist/enums/Direction.js +9 -0
- package/dist/enums/Direction.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/enums/webhook/SubscriptionEvents.d.ts +1 -2
- package/dist/enums/webhook/SubscriptionEvents.js +0 -2
- package/dist/enums/webhook/SubscriptionEvents.js.map +1 -1
- package/dist/interfaces/v5/BaseCursorListQuery.d.ts +8 -0
- package/dist/interfaces/v5/BaseCursorListQuery.js +3 -0
- package/dist/interfaces/v5/BaseCursorListQuery.js.map +1 -0
- package/dist/interfaces/v5/CursorListResponseV5.d.ts +6 -0
- package/dist/interfaces/v5/CursorListResponseV5.js +3 -0
- package/dist/interfaces/v5/CursorListResponseV5.js.map +1 -0
- package/dist/interfaces/v5/WorkspacePhoneV5.d.ts +6 -0
- package/dist/interfaces/v5/WorkspacePhoneV5.js +3 -0
- package/dist/interfaces/v5/WorkspacePhoneV5.js.map +1 -0
- package/dist/interfaces/v5/WorkspaceV5.d.ts +35 -0
- package/dist/interfaces/v5/WorkspaceV5.js +3 -0
- package/dist/interfaces/v5/WorkspaceV5.js.map +1 -0
- package/dist/interfaces/v5/index.d.ts +4 -0
- package/dist/interfaces/v5/index.js +4 -0
- package/dist/interfaces/v5/index.js.map +1 -1
- package/dist/schemas/v5/BaseCursorListQuerySchema.d.ts +30 -0
- package/dist/schemas/v5/BaseCursorListQuerySchema.js +35 -0
- package/dist/schemas/v5/BaseCursorListQuerySchema.js.map +1 -0
- package/dist/schemas/v5/CursorListResponseV5Schema.d.ts +35 -0
- package/dist/schemas/v5/CursorListResponseV5Schema.js +40 -0
- package/dist/schemas/v5/CursorListResponseV5Schema.js.map +1 -0
- package/dist/schemas/v5/WorkspacePhoneV5Schema.d.ts +26 -0
- package/dist/schemas/v5/WorkspacePhoneV5Schema.js +31 -0
- package/dist/schemas/v5/WorkspacePhoneV5Schema.js.map +1 -0
- package/dist/schemas/v5/WorkspaceV5Schema.d.ts +175 -0
- package/dist/schemas/v5/WorkspaceV5Schema.js +188 -0
- package/dist/schemas/v5/WorkspaceV5Schema.js.map +1 -0
- package/dist/schemas/v5/index.d.ts +4 -0
- package/dist/schemas/v5/index.js +4 -0
- package/dist/schemas/v5/index.js.map +1 -1
- package/dist/schemas/webhook/WebhookPayloadSchema.js +0 -1
- package/dist/schemas/webhook/WebhookPayloadSchema.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Direction = void 0;
|
|
4
|
+
var Direction;
|
|
5
|
+
(function (Direction) {
|
|
6
|
+
Direction["newer"] = "newer";
|
|
7
|
+
Direction["older"] = "older";
|
|
8
|
+
})(Direction = exports.Direction || (exports.Direction = {}));
|
|
9
|
+
//# sourceMappingURL=Direction.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Direction.js","sourceRoot":"","sources":["../../src/enums/Direction.ts"],"names":[],"mappings":";;;AAAA,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,4BAAe,CAAA;IACf,4BAAe,CAAA;AACjB,CAAC,EAHW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAGpB"}
|
package/dist/enums/index.d.ts
CHANGED
package/dist/enums/index.js
CHANGED
|
@@ -33,4 +33,5 @@ __exportStar(require("./Role"), exports);
|
|
|
33
33
|
__exportStar(require("./MessageShareLink"), exports);
|
|
34
34
|
__exportStar(require("./MessageKind"), exports);
|
|
35
35
|
__exportStar(require("./MessageCaughtUpStatus"), exports);
|
|
36
|
+
__exportStar(require("./Direction"), exports);
|
|
36
37
|
//# 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,qDAAmC;AACnC,2DAAyC;AACzC,kDAAgC;AAChC,gDAA8B;AAC9B,kDAAgC;AAChC,8CAA4B;AAC5B,mDAAiC;AACjC,iEAA+C;AAC/C,4CAA0B;AAC1B,+DAA6C;AAC7C,qDAAmC;AACnC,sDAAoC;AACpC,+CAA6B;AAC7B,qDAAmC;AACnC,4DAA0C;AAC1C,yCAAuB;AACvB,qDAAmC;AACnC,gDAA8B;AAC9B,0DAAwC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/enums/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAmC;AACnC,2DAAyC;AACzC,kDAAgC;AAChC,gDAA8B;AAC9B,kDAAgC;AAChC,8CAA4B;AAC5B,mDAAiC;AACjC,iEAA+C;AAC/C,4CAA0B;AAC1B,+DAA6C;AAC7C,qDAAmC;AACnC,sDAAoC;AACpC,+CAA6B;AAC7B,qDAAmC;AACnC,4DAA0C;AAC1C,yCAAuB;AACvB,qDAAmC;AACnC,gDAA8B;AAC9B,0DAAwC;AACxC,8CAA4B"}
|
|
@@ -37,6 +37,5 @@ export declare enum SubscriptionEvents {
|
|
|
37
37
|
ACTION_ITEM_CREATED = "action-item.created",
|
|
38
38
|
ACTION_ITEM_UPDATED = "action-item.updated",
|
|
39
39
|
ACTION_ITEM_DELETED = "action-item.deleted",
|
|
40
|
-
ACTION_ITEM_STATUS_CHANGED = "action-item.status.changed"
|
|
41
|
-
CHANNEL_REMINDER = "channel-reminder"
|
|
40
|
+
ACTION_ITEM_STATUS_CHANGED = "action-item.status.changed"
|
|
42
41
|
}
|
|
@@ -45,7 +45,5 @@ var SubscriptionEvents;
|
|
|
45
45
|
SubscriptionEvents["ACTION_ITEM_UPDATED"] = "action-item.updated";
|
|
46
46
|
SubscriptionEvents["ACTION_ITEM_DELETED"] = "action-item.deleted";
|
|
47
47
|
SubscriptionEvents["ACTION_ITEM_STATUS_CHANGED"] = "action-item.status.changed";
|
|
48
|
-
// Channel Reminders
|
|
49
|
-
SubscriptionEvents["CHANNEL_REMINDER"] = "channel-reminder";
|
|
50
48
|
})(SubscriptionEvents = exports.SubscriptionEvents || (exports.SubscriptionEvents = {}));
|
|
51
49
|
//# sourceMappingURL=SubscriptionEvents.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SubscriptionEvents.js","sourceRoot":"","sources":["../../../src/enums/webhook/SubscriptionEvents.ts"],"names":[],"mappings":";;;AAAA,IAAY,
|
|
1
|
+
{"version":3,"file":"SubscriptionEvents.js","sourceRoot":"","sources":["../../../src/enums/webhook/SubscriptionEvents.ts"],"names":[],"mappings":";;;AAAA,IAAY,kBAgDX;AAhDD,WAAY,kBAAkB;IAC5B,eAAe;IACf,mEAA6C,CAAA;IAC7C,yDAAmC,CAAA;IACnC,uDAAiC,CAAA;IACjC,yDAAmC,CAAA;IACnC,yDAAmC,CAAA;IACnC,+DAAyC,CAAA;IACzC,2DAAqC,CAAA;IACrC,yDAAmC,CAAA;IACnC,uFAAiE,CAAA;IACjE,iEAA2C,CAAA;IAC3C,6EAAuD,CAAA;IACvD,6EAAuD,CAAA;IAEvD,eAAe;IACf,yDAAmC,CAAA;IACnC,yDAAmC,CAAA;IACnC,iEAA2C,CAAA;IAC3C,iEAA2C,CAAA;IAC3C,6DAAuC,CAAA;IACvC,mEAA6C,CAAA;IAC7C,yEAAmD,CAAA;IACnD,+EAAyD,CAAA;IACzD,iEAA2C,CAAA;IAC3C,uEAAiD,CAAA;IACjD,yEAAmD,CAAA;IACnD,mFAA6D,CAAA;IAE7D,gBAAgB;IAChB,qEAA+C,CAAA;IAC/C,mEAA6C,CAAA;IAC7C,iEAA2C,CAAA;IAC3C,uEAAiD,CAAA;IACjD,+FAAyE,CAAA;IAEzE,+GAA+G;IAC/G,2EAAqD,CAAA;IACrD,6EAAuD,CAAA;IAEvD,YAAY;IACZ,mFAA6D,CAAA;IAE7D,eAAe;IACf,iEAA2C,CAAA;IAC3C,iEAA2C,CAAA;IAC3C,iEAA2C,CAAA;IAC3C,+EAAyD,CAAA;AAC3D,CAAC,EAhDW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAgD7B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BaseCursorListQuery.js","sourceRoot":"","sources":["../../../src/interfaces/v5/BaseCursorListQuery.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CursorListResponseV5.js","sourceRoot":"","sources":["../../../src/interfaces/v5/CursorListResponseV5.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WorkspacePhoneV5.js","sourceRoot":"","sources":["../../../src/interfaces/v5/WorkspacePhoneV5.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { WorkspacePhoneV5 } from './WorkspacePhoneV5';
|
|
2
|
+
import { Role } from '../../enums';
|
|
3
|
+
export type WorkspaceType = string;
|
|
4
|
+
export type PlanType = string;
|
|
5
|
+
export type InvitationMode = string;
|
|
6
|
+
export type DomainReferralMode = string;
|
|
7
|
+
export interface WorkspaceV5 {
|
|
8
|
+
id: string;
|
|
9
|
+
name: string;
|
|
10
|
+
description?: string | null;
|
|
11
|
+
image_url?: string | null;
|
|
12
|
+
type?: WorkspaceType | null;
|
|
13
|
+
created_at: string;
|
|
14
|
+
last_updated_at: string;
|
|
15
|
+
owner_id?: string | null;
|
|
16
|
+
creator_id?: string | null;
|
|
17
|
+
plan_type?: PlanType | null;
|
|
18
|
+
phones?: WorkspacePhoneV5[] | null;
|
|
19
|
+
background_color?: string | null;
|
|
20
|
+
watermark_image_url?: string | null;
|
|
21
|
+
conversation_default?: boolean | null;
|
|
22
|
+
invitation_mode?: InvitationMode | null;
|
|
23
|
+
sso_email_domain?: string | null;
|
|
24
|
+
scim_provider?: string | null;
|
|
25
|
+
scim_connection_name?: string | null;
|
|
26
|
+
is_retention_enabled?: boolean | null;
|
|
27
|
+
retention_days?: number | null;
|
|
28
|
+
who_can_change_conversation_retention?: Role[] | null;
|
|
29
|
+
who_can_mark_messages_as_preserved?: Role[] | null;
|
|
30
|
+
retention_days_async_meeting?: number | null;
|
|
31
|
+
domain_referral_mode?: DomainReferralMode | null;
|
|
32
|
+
domain_referral_message?: string | null;
|
|
33
|
+
domain_referral_title?: string | null;
|
|
34
|
+
domains?: string[] | null;
|
|
35
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WorkspaceV5.js","sourceRoot":"","sources":["../../../src/interfaces/v5/WorkspaceV5.ts"],"names":[],"mappings":""}
|
|
@@ -2,3 +2,7 @@ export * from './MessageV5';
|
|
|
2
2
|
export * from './AttachmentV5';
|
|
3
3
|
export * from './GetMessageResponseV5';
|
|
4
4
|
export * from './StatisticsV5';
|
|
5
|
+
export * from './WorkspaceV5';
|
|
6
|
+
export * from './WorkspacePhoneV5';
|
|
7
|
+
export * from './BaseCursorListQuery';
|
|
8
|
+
export * from './CursorListResponseV5';
|
|
@@ -18,4 +18,8 @@ __exportStar(require("./MessageV5"), exports);
|
|
|
18
18
|
__exportStar(require("./AttachmentV5"), exports);
|
|
19
19
|
__exportStar(require("./GetMessageResponseV5"), exports);
|
|
20
20
|
__exportStar(require("./StatisticsV5"), exports);
|
|
21
|
+
__exportStar(require("./WorkspaceV5"), exports);
|
|
22
|
+
__exportStar(require("./WorkspacePhoneV5"), exports);
|
|
23
|
+
__exportStar(require("./BaseCursorListQuery"), exports);
|
|
24
|
+
__exportStar(require("./CursorListResponseV5"), exports);
|
|
21
25
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/interfaces/v5/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA4B;AAC5B,iDAA+B;AAC/B,yDAAuC;AACvC,iDAA+B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/interfaces/v5/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA4B;AAC5B,iDAA+B;AAC/B,yDAAuC;AACvC,iDAA+B;AAC/B,gDAA8B;AAC9B,qDAAmC;AACnC,wDAAsC;AACtC,yDAAuC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export declare const BaseCursorListQuerySchema: {
|
|
2
|
+
type: string;
|
|
3
|
+
properties: {
|
|
4
|
+
direction: {
|
|
5
|
+
enum: string[];
|
|
6
|
+
type: string;
|
|
7
|
+
};
|
|
8
|
+
limit: {
|
|
9
|
+
type: string;
|
|
10
|
+
};
|
|
11
|
+
date: {
|
|
12
|
+
type: string;
|
|
13
|
+
};
|
|
14
|
+
starting_after: {
|
|
15
|
+
type: string;
|
|
16
|
+
};
|
|
17
|
+
ending_before: {
|
|
18
|
+
type: string;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
additionalProperties: boolean;
|
|
22
|
+
$schema: string;
|
|
23
|
+
};
|
|
24
|
+
export declare enum BaseCursorListQueryKeys {
|
|
25
|
+
direction = "direction",
|
|
26
|
+
limit = "limit",
|
|
27
|
+
date = "date",
|
|
28
|
+
starting_after = "starting_after",
|
|
29
|
+
ending_before = "ending_before"
|
|
30
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BaseCursorListQueryKeys = exports.BaseCursorListQuerySchema = void 0;
|
|
4
|
+
exports.BaseCursorListQuerySchema = {
|
|
5
|
+
type: 'object',
|
|
6
|
+
properties: {
|
|
7
|
+
direction: {
|
|
8
|
+
enum: ['newer', 'older'],
|
|
9
|
+
type: 'string',
|
|
10
|
+
},
|
|
11
|
+
limit: {
|
|
12
|
+
type: 'number',
|
|
13
|
+
},
|
|
14
|
+
date: {
|
|
15
|
+
type: 'string',
|
|
16
|
+
},
|
|
17
|
+
starting_after: {
|
|
18
|
+
type: 'string',
|
|
19
|
+
},
|
|
20
|
+
ending_before: {
|
|
21
|
+
type: 'string',
|
|
22
|
+
},
|
|
23
|
+
},
|
|
24
|
+
additionalProperties: false,
|
|
25
|
+
$schema: 'http://json-schema.org/draft-07/schema#',
|
|
26
|
+
};
|
|
27
|
+
var BaseCursorListQueryKeys;
|
|
28
|
+
(function (BaseCursorListQueryKeys) {
|
|
29
|
+
BaseCursorListQueryKeys["direction"] = "direction";
|
|
30
|
+
BaseCursorListQueryKeys["limit"] = "limit";
|
|
31
|
+
BaseCursorListQueryKeys["date"] = "date";
|
|
32
|
+
BaseCursorListQueryKeys["starting_after"] = "starting_after";
|
|
33
|
+
BaseCursorListQueryKeys["ending_before"] = "ending_before";
|
|
34
|
+
})(BaseCursorListQueryKeys = exports.BaseCursorListQueryKeys || (exports.BaseCursorListQueryKeys = {}));
|
|
35
|
+
//# sourceMappingURL=BaseCursorListQuerySchema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BaseCursorListQuerySchema.js","sourceRoot":"","sources":["../../../src/schemas/v5/BaseCursorListQuerySchema.ts"],"names":[],"mappings":";;;AAAa,QAAA,yBAAyB,GAAG;IACvC,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACV,SAAS,EAAE;YACT,IAAI,EAAE,CAAC,OAAO,EAAE,OAAO,CAAC;YACxB,IAAI,EAAE,QAAQ;SACf;QACD,KAAK,EAAE;YACL,IAAI,EAAE,QAAQ;SACf;QACD,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;QACD,cAAc,EAAE;YACd,IAAI,EAAE,QAAQ;SACf;QACD,aAAa,EAAE;YACb,IAAI,EAAE,QAAQ;SACf;KACF;IACD,oBAAoB,EAAE,KAAK;IAC3B,OAAO,EAAE,yCAAyC;CACnD,CAAC;AAEF,IAAY,uBAMX;AAND,WAAY,uBAAuB;IACjC,kDAAuB,CAAA;IACvB,0CAAe,CAAA;IACf,wCAAa,CAAA;IACb,4DAAiC,CAAA;IACjC,0DAA+B,CAAA;AACjC,CAAC,EANW,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAMlC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export declare const CursorListResponseV5Schema: {
|
|
2
|
+
type: string;
|
|
3
|
+
properties: {
|
|
4
|
+
results: {
|
|
5
|
+
type: string;
|
|
6
|
+
items: {
|
|
7
|
+
$ref: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
next_cursor: {
|
|
11
|
+
type: string[];
|
|
12
|
+
};
|
|
13
|
+
has_more: {
|
|
14
|
+
type: string;
|
|
15
|
+
};
|
|
16
|
+
total: {
|
|
17
|
+
type: string[];
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
additionalProperties: boolean;
|
|
21
|
+
required: string[];
|
|
22
|
+
definitions: {
|
|
23
|
+
T: {
|
|
24
|
+
type: string;
|
|
25
|
+
additionalProperties: boolean;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
$schema: string;
|
|
29
|
+
};
|
|
30
|
+
export declare enum CursorListResponseV5Keys {
|
|
31
|
+
results = "results",
|
|
32
|
+
next_cursor = "next_cursor",
|
|
33
|
+
has_more = "has_more",
|
|
34
|
+
total = "total"
|
|
35
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CursorListResponseV5Keys = exports.CursorListResponseV5Schema = void 0;
|
|
4
|
+
exports.CursorListResponseV5Schema = {
|
|
5
|
+
type: 'object',
|
|
6
|
+
properties: {
|
|
7
|
+
results: {
|
|
8
|
+
type: 'array',
|
|
9
|
+
items: {
|
|
10
|
+
$ref: '#/definitions/T',
|
|
11
|
+
},
|
|
12
|
+
},
|
|
13
|
+
next_cursor: {
|
|
14
|
+
type: ['null', 'string'],
|
|
15
|
+
},
|
|
16
|
+
has_more: {
|
|
17
|
+
type: 'boolean',
|
|
18
|
+
},
|
|
19
|
+
total: {
|
|
20
|
+
type: ['null', 'number'],
|
|
21
|
+
},
|
|
22
|
+
},
|
|
23
|
+
additionalProperties: false,
|
|
24
|
+
required: ['has_more', 'results'],
|
|
25
|
+
definitions: {
|
|
26
|
+
T: {
|
|
27
|
+
type: 'object',
|
|
28
|
+
additionalProperties: false,
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
$schema: 'http://json-schema.org/draft-07/schema#',
|
|
32
|
+
};
|
|
33
|
+
var CursorListResponseV5Keys;
|
|
34
|
+
(function (CursorListResponseV5Keys) {
|
|
35
|
+
CursorListResponseV5Keys["results"] = "results";
|
|
36
|
+
CursorListResponseV5Keys["next_cursor"] = "next_cursor";
|
|
37
|
+
CursorListResponseV5Keys["has_more"] = "has_more";
|
|
38
|
+
CursorListResponseV5Keys["total"] = "total";
|
|
39
|
+
})(CursorListResponseV5Keys = exports.CursorListResponseV5Keys || (exports.CursorListResponseV5Keys = {}));
|
|
40
|
+
//# sourceMappingURL=CursorListResponseV5Schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CursorListResponseV5Schema.js","sourceRoot":"","sources":["../../../src/schemas/v5/CursorListResponseV5Schema.ts"],"names":[],"mappings":";;;AAAa,QAAA,0BAA0B,GAAG;IACxC,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACV,OAAO,EAAE;YACP,IAAI,EAAE,OAAO;YACb,KAAK,EAAE;gBACL,IAAI,EAAE,iBAAiB;aACxB;SACF;QACD,WAAW,EAAE;YACX,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;SACzB;QACD,QAAQ,EAAE;YACR,IAAI,EAAE,SAAS;SAChB;QACD,KAAK,EAAE;YACL,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;SACzB;KACF;IACD,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,UAAU,EAAE,SAAS,CAAC;IACjC,WAAW,EAAE;QACX,CAAC,EAAE;YACD,IAAI,EAAE,QAAQ;YACd,oBAAoB,EAAE,KAAK;SAC5B;KACF;IACD,OAAO,EAAE,yCAAyC;CACnD,CAAC;AAEF,IAAY,wBAKX;AALD,WAAY,wBAAwB;IAClC,+CAAmB,CAAA;IACnB,uDAA2B,CAAA;IAC3B,iDAAqB,CAAA;IACrB,2CAAe,CAAA;AACjB,CAAC,EALW,wBAAwB,GAAxB,gCAAwB,KAAxB,gCAAwB,QAKnC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export declare const WorkspacePhoneV5Schema: {
|
|
2
|
+
type: string;
|
|
3
|
+
properties: {
|
|
4
|
+
id: {
|
|
5
|
+
type: string;
|
|
6
|
+
};
|
|
7
|
+
phone: {
|
|
8
|
+
type: string;
|
|
9
|
+
};
|
|
10
|
+
created_at: {
|
|
11
|
+
type: string;
|
|
12
|
+
};
|
|
13
|
+
updated_at: {
|
|
14
|
+
type: string[];
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
additionalProperties: boolean;
|
|
18
|
+
required: string[];
|
|
19
|
+
$schema: string;
|
|
20
|
+
};
|
|
21
|
+
export declare enum WorkspacePhoneV5Keys {
|
|
22
|
+
id = "id",
|
|
23
|
+
phone = "phone",
|
|
24
|
+
created_at = "created_at",
|
|
25
|
+
updated_at = "updated_at"
|
|
26
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.WorkspacePhoneV5Keys = exports.WorkspacePhoneV5Schema = void 0;
|
|
4
|
+
exports.WorkspacePhoneV5Schema = {
|
|
5
|
+
type: 'object',
|
|
6
|
+
properties: {
|
|
7
|
+
id: {
|
|
8
|
+
type: 'string',
|
|
9
|
+
},
|
|
10
|
+
phone: {
|
|
11
|
+
type: 'string',
|
|
12
|
+
},
|
|
13
|
+
created_at: {
|
|
14
|
+
type: 'string',
|
|
15
|
+
},
|
|
16
|
+
updated_at: {
|
|
17
|
+
type: ['null', 'string'],
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
additionalProperties: false,
|
|
21
|
+
required: ['created_at', 'id', 'phone'],
|
|
22
|
+
$schema: 'http://json-schema.org/draft-07/schema#',
|
|
23
|
+
};
|
|
24
|
+
var WorkspacePhoneV5Keys;
|
|
25
|
+
(function (WorkspacePhoneV5Keys) {
|
|
26
|
+
WorkspacePhoneV5Keys["id"] = "id";
|
|
27
|
+
WorkspacePhoneV5Keys["phone"] = "phone";
|
|
28
|
+
WorkspacePhoneV5Keys["created_at"] = "created_at";
|
|
29
|
+
WorkspacePhoneV5Keys["updated_at"] = "updated_at";
|
|
30
|
+
})(WorkspacePhoneV5Keys = exports.WorkspacePhoneV5Keys || (exports.WorkspacePhoneV5Keys = {}));
|
|
31
|
+
//# sourceMappingURL=WorkspacePhoneV5Schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WorkspacePhoneV5Schema.js","sourceRoot":"","sources":["../../../src/schemas/v5/WorkspacePhoneV5Schema.ts"],"names":[],"mappings":";;;AAAa,QAAA,sBAAsB,GAAG;IACpC,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACV,EAAE,EAAE;YACF,IAAI,EAAE,QAAQ;SACf;QACD,KAAK,EAAE;YACL,IAAI,EAAE,QAAQ;SACf;QACD,UAAU,EAAE;YACV,IAAI,EAAE,QAAQ;SACf;QACD,UAAU,EAAE;YACV,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;SACzB;KACF;IACD,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,YAAY,EAAE,IAAI,EAAE,OAAO,CAAC;IACvC,OAAO,EAAE,yCAAyC;CACnD,CAAC;AAEF,IAAY,oBAKX;AALD,WAAY,oBAAoB;IAC9B,iCAAS,CAAA;IACT,uCAAe,CAAA;IACf,iDAAyB,CAAA;IACzB,iDAAyB,CAAA;AAC3B,CAAC,EALW,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAK/B"}
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
export declare const WorkspaceV5Schema: {
|
|
2
|
+
type: string;
|
|
3
|
+
properties: {
|
|
4
|
+
id: {
|
|
5
|
+
type: string;
|
|
6
|
+
};
|
|
7
|
+
name: {
|
|
8
|
+
type: string;
|
|
9
|
+
};
|
|
10
|
+
description: {
|
|
11
|
+
type: string[];
|
|
12
|
+
};
|
|
13
|
+
image_url: {
|
|
14
|
+
type: string[];
|
|
15
|
+
};
|
|
16
|
+
type: {
|
|
17
|
+
type: string[];
|
|
18
|
+
};
|
|
19
|
+
created_at: {
|
|
20
|
+
type: string;
|
|
21
|
+
};
|
|
22
|
+
last_updated_at: {
|
|
23
|
+
type: string;
|
|
24
|
+
};
|
|
25
|
+
owner_id: {
|
|
26
|
+
type: string[];
|
|
27
|
+
};
|
|
28
|
+
creator_id: {
|
|
29
|
+
type: string[];
|
|
30
|
+
};
|
|
31
|
+
plan_type: {
|
|
32
|
+
type: string[];
|
|
33
|
+
};
|
|
34
|
+
phones: {
|
|
35
|
+
anyOf: ({
|
|
36
|
+
type: string;
|
|
37
|
+
items: {
|
|
38
|
+
$ref: string;
|
|
39
|
+
};
|
|
40
|
+
} | {
|
|
41
|
+
type: string;
|
|
42
|
+
items?: undefined;
|
|
43
|
+
})[];
|
|
44
|
+
};
|
|
45
|
+
background_color: {
|
|
46
|
+
type: string[];
|
|
47
|
+
};
|
|
48
|
+
watermark_image_url: {
|
|
49
|
+
type: string[];
|
|
50
|
+
};
|
|
51
|
+
conversation_default: {
|
|
52
|
+
type: string[];
|
|
53
|
+
};
|
|
54
|
+
invitation_mode: {
|
|
55
|
+
type: string[];
|
|
56
|
+
};
|
|
57
|
+
sso_email_domain: {
|
|
58
|
+
type: string[];
|
|
59
|
+
};
|
|
60
|
+
scim_provider: {
|
|
61
|
+
type: string[];
|
|
62
|
+
};
|
|
63
|
+
scim_connection_name: {
|
|
64
|
+
type: string[];
|
|
65
|
+
};
|
|
66
|
+
is_retention_enabled: {
|
|
67
|
+
type: string[];
|
|
68
|
+
};
|
|
69
|
+
retention_days: {
|
|
70
|
+
type: string[];
|
|
71
|
+
};
|
|
72
|
+
who_can_change_conversation_retention: {
|
|
73
|
+
anyOf: ({
|
|
74
|
+
type: string;
|
|
75
|
+
items: {
|
|
76
|
+
$ref: string;
|
|
77
|
+
};
|
|
78
|
+
} | {
|
|
79
|
+
type: string;
|
|
80
|
+
items?: undefined;
|
|
81
|
+
})[];
|
|
82
|
+
};
|
|
83
|
+
who_can_mark_messages_as_preserved: {
|
|
84
|
+
anyOf: ({
|
|
85
|
+
type: string;
|
|
86
|
+
items: {
|
|
87
|
+
$ref: string;
|
|
88
|
+
};
|
|
89
|
+
} | {
|
|
90
|
+
type: string;
|
|
91
|
+
items?: undefined;
|
|
92
|
+
})[];
|
|
93
|
+
};
|
|
94
|
+
retention_days_async_meeting: {
|
|
95
|
+
type: string[];
|
|
96
|
+
};
|
|
97
|
+
domain_referral_mode: {
|
|
98
|
+
type: string[];
|
|
99
|
+
};
|
|
100
|
+
domain_referral_message: {
|
|
101
|
+
type: string[];
|
|
102
|
+
};
|
|
103
|
+
domain_referral_title: {
|
|
104
|
+
type: string[];
|
|
105
|
+
};
|
|
106
|
+
domains: {
|
|
107
|
+
anyOf: ({
|
|
108
|
+
type: string;
|
|
109
|
+
items: {
|
|
110
|
+
type: string;
|
|
111
|
+
};
|
|
112
|
+
} | {
|
|
113
|
+
type: string;
|
|
114
|
+
items?: undefined;
|
|
115
|
+
})[];
|
|
116
|
+
};
|
|
117
|
+
};
|
|
118
|
+
additionalProperties: boolean;
|
|
119
|
+
required: string[];
|
|
120
|
+
definitions: {
|
|
121
|
+
WorkspacePhoneV5: {
|
|
122
|
+
type: string;
|
|
123
|
+
properties: {
|
|
124
|
+
id: {
|
|
125
|
+
type: string;
|
|
126
|
+
};
|
|
127
|
+
phone: {
|
|
128
|
+
type: string;
|
|
129
|
+
};
|
|
130
|
+
created_at: {
|
|
131
|
+
type: string;
|
|
132
|
+
};
|
|
133
|
+
updated_at: {
|
|
134
|
+
type: string[];
|
|
135
|
+
};
|
|
136
|
+
};
|
|
137
|
+
additionalProperties: boolean;
|
|
138
|
+
required: string[];
|
|
139
|
+
};
|
|
140
|
+
Role: {
|
|
141
|
+
type: string;
|
|
142
|
+
enum: string[];
|
|
143
|
+
};
|
|
144
|
+
};
|
|
145
|
+
$schema: string;
|
|
146
|
+
};
|
|
147
|
+
export declare enum WorkspaceV5Keys {
|
|
148
|
+
id = "id",
|
|
149
|
+
name = "name",
|
|
150
|
+
description = "description",
|
|
151
|
+
image_url = "image_url",
|
|
152
|
+
type = "type",
|
|
153
|
+
created_at = "created_at",
|
|
154
|
+
last_updated_at = "last_updated_at",
|
|
155
|
+
owner_id = "owner_id",
|
|
156
|
+
creator_id = "creator_id",
|
|
157
|
+
plan_type = "plan_type",
|
|
158
|
+
phones = "phones",
|
|
159
|
+
background_color = "background_color",
|
|
160
|
+
watermark_image_url = "watermark_image_url",
|
|
161
|
+
conversation_default = "conversation_default",
|
|
162
|
+
invitation_mode = "invitation_mode",
|
|
163
|
+
sso_email_domain = "sso_email_domain",
|
|
164
|
+
scim_provider = "scim_provider",
|
|
165
|
+
scim_connection_name = "scim_connection_name",
|
|
166
|
+
is_retention_enabled = "is_retention_enabled",
|
|
167
|
+
retention_days = "retention_days",
|
|
168
|
+
who_can_change_conversation_retention = "who_can_change_conversation_retention",
|
|
169
|
+
who_can_mark_messages_as_preserved = "who_can_mark_messages_as_preserved",
|
|
170
|
+
retention_days_async_meeting = "retention_days_async_meeting",
|
|
171
|
+
domain_referral_mode = "domain_referral_mode",
|
|
172
|
+
domain_referral_message = "domain_referral_message",
|
|
173
|
+
domain_referral_title = "domain_referral_title",
|
|
174
|
+
domains = "domains"
|
|
175
|
+
}
|
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.WorkspaceV5Keys = exports.WorkspaceV5Schema = void 0;
|
|
4
|
+
exports.WorkspaceV5Schema = {
|
|
5
|
+
type: 'object',
|
|
6
|
+
properties: {
|
|
7
|
+
id: {
|
|
8
|
+
type: 'string',
|
|
9
|
+
},
|
|
10
|
+
name: {
|
|
11
|
+
type: 'string',
|
|
12
|
+
},
|
|
13
|
+
description: {
|
|
14
|
+
type: ['null', 'string'],
|
|
15
|
+
},
|
|
16
|
+
image_url: {
|
|
17
|
+
type: ['null', 'string'],
|
|
18
|
+
},
|
|
19
|
+
type: {
|
|
20
|
+
type: ['null', 'string'],
|
|
21
|
+
},
|
|
22
|
+
created_at: {
|
|
23
|
+
type: 'string',
|
|
24
|
+
},
|
|
25
|
+
last_updated_at: {
|
|
26
|
+
type: 'string',
|
|
27
|
+
},
|
|
28
|
+
owner_id: {
|
|
29
|
+
type: ['null', 'string'],
|
|
30
|
+
},
|
|
31
|
+
creator_id: {
|
|
32
|
+
type: ['null', 'string'],
|
|
33
|
+
},
|
|
34
|
+
plan_type: {
|
|
35
|
+
type: ['null', 'string'],
|
|
36
|
+
},
|
|
37
|
+
phones: {
|
|
38
|
+
anyOf: [
|
|
39
|
+
{
|
|
40
|
+
type: 'array',
|
|
41
|
+
items: {
|
|
42
|
+
$ref: '#/definitions/WorkspacePhoneV5',
|
|
43
|
+
},
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
type: 'null',
|
|
47
|
+
},
|
|
48
|
+
],
|
|
49
|
+
},
|
|
50
|
+
background_color: {
|
|
51
|
+
type: ['null', 'string'],
|
|
52
|
+
},
|
|
53
|
+
watermark_image_url: {
|
|
54
|
+
type: ['null', 'string'],
|
|
55
|
+
},
|
|
56
|
+
conversation_default: {
|
|
57
|
+
type: ['null', 'boolean'],
|
|
58
|
+
},
|
|
59
|
+
invitation_mode: {
|
|
60
|
+
type: ['null', 'string'],
|
|
61
|
+
},
|
|
62
|
+
sso_email_domain: {
|
|
63
|
+
type: ['null', 'string'],
|
|
64
|
+
},
|
|
65
|
+
scim_provider: {
|
|
66
|
+
type: ['null', 'string'],
|
|
67
|
+
},
|
|
68
|
+
scim_connection_name: {
|
|
69
|
+
type: ['null', 'string'],
|
|
70
|
+
},
|
|
71
|
+
is_retention_enabled: {
|
|
72
|
+
type: ['null', 'boolean'],
|
|
73
|
+
},
|
|
74
|
+
retention_days: {
|
|
75
|
+
type: ['null', 'number'],
|
|
76
|
+
},
|
|
77
|
+
who_can_change_conversation_retention: {
|
|
78
|
+
anyOf: [
|
|
79
|
+
{
|
|
80
|
+
type: 'array',
|
|
81
|
+
items: {
|
|
82
|
+
$ref: '#/definitions/Role',
|
|
83
|
+
},
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
type: 'null',
|
|
87
|
+
},
|
|
88
|
+
],
|
|
89
|
+
},
|
|
90
|
+
who_can_mark_messages_as_preserved: {
|
|
91
|
+
anyOf: [
|
|
92
|
+
{
|
|
93
|
+
type: 'array',
|
|
94
|
+
items: {
|
|
95
|
+
$ref: '#/definitions/Role',
|
|
96
|
+
},
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
type: 'null',
|
|
100
|
+
},
|
|
101
|
+
],
|
|
102
|
+
},
|
|
103
|
+
retention_days_async_meeting: {
|
|
104
|
+
type: ['null', 'number'],
|
|
105
|
+
},
|
|
106
|
+
domain_referral_mode: {
|
|
107
|
+
type: ['null', 'string'],
|
|
108
|
+
},
|
|
109
|
+
domain_referral_message: {
|
|
110
|
+
type: ['null', 'string'],
|
|
111
|
+
},
|
|
112
|
+
domain_referral_title: {
|
|
113
|
+
type: ['null', 'string'],
|
|
114
|
+
},
|
|
115
|
+
domains: {
|
|
116
|
+
anyOf: [
|
|
117
|
+
{
|
|
118
|
+
type: 'array',
|
|
119
|
+
items: {
|
|
120
|
+
type: 'string',
|
|
121
|
+
},
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
type: 'null',
|
|
125
|
+
},
|
|
126
|
+
],
|
|
127
|
+
},
|
|
128
|
+
},
|
|
129
|
+
additionalProperties: false,
|
|
130
|
+
required: ['created_at', 'id', 'last_updated_at', 'name'],
|
|
131
|
+
definitions: {
|
|
132
|
+
WorkspacePhoneV5: {
|
|
133
|
+
type: 'object',
|
|
134
|
+
properties: {
|
|
135
|
+
id: {
|
|
136
|
+
type: 'string',
|
|
137
|
+
},
|
|
138
|
+
phone: {
|
|
139
|
+
type: 'string',
|
|
140
|
+
},
|
|
141
|
+
created_at: {
|
|
142
|
+
type: 'string',
|
|
143
|
+
},
|
|
144
|
+
updated_at: {
|
|
145
|
+
type: ['null', 'string'],
|
|
146
|
+
},
|
|
147
|
+
},
|
|
148
|
+
additionalProperties: false,
|
|
149
|
+
required: ['created_at', 'id', 'phone'],
|
|
150
|
+
},
|
|
151
|
+
Role: {
|
|
152
|
+
type: 'string',
|
|
153
|
+
enum: ['admin', 'owner', 'creator', 'member', 'guest'],
|
|
154
|
+
},
|
|
155
|
+
},
|
|
156
|
+
$schema: 'http://json-schema.org/draft-07/schema#',
|
|
157
|
+
};
|
|
158
|
+
var WorkspaceV5Keys;
|
|
159
|
+
(function (WorkspaceV5Keys) {
|
|
160
|
+
WorkspaceV5Keys["id"] = "id";
|
|
161
|
+
WorkspaceV5Keys["name"] = "name";
|
|
162
|
+
WorkspaceV5Keys["description"] = "description";
|
|
163
|
+
WorkspaceV5Keys["image_url"] = "image_url";
|
|
164
|
+
WorkspaceV5Keys["type"] = "type";
|
|
165
|
+
WorkspaceV5Keys["created_at"] = "created_at";
|
|
166
|
+
WorkspaceV5Keys["last_updated_at"] = "last_updated_at";
|
|
167
|
+
WorkspaceV5Keys["owner_id"] = "owner_id";
|
|
168
|
+
WorkspaceV5Keys["creator_id"] = "creator_id";
|
|
169
|
+
WorkspaceV5Keys["plan_type"] = "plan_type";
|
|
170
|
+
WorkspaceV5Keys["phones"] = "phones";
|
|
171
|
+
WorkspaceV5Keys["background_color"] = "background_color";
|
|
172
|
+
WorkspaceV5Keys["watermark_image_url"] = "watermark_image_url";
|
|
173
|
+
WorkspaceV5Keys["conversation_default"] = "conversation_default";
|
|
174
|
+
WorkspaceV5Keys["invitation_mode"] = "invitation_mode";
|
|
175
|
+
WorkspaceV5Keys["sso_email_domain"] = "sso_email_domain";
|
|
176
|
+
WorkspaceV5Keys["scim_provider"] = "scim_provider";
|
|
177
|
+
WorkspaceV5Keys["scim_connection_name"] = "scim_connection_name";
|
|
178
|
+
WorkspaceV5Keys["is_retention_enabled"] = "is_retention_enabled";
|
|
179
|
+
WorkspaceV5Keys["retention_days"] = "retention_days";
|
|
180
|
+
WorkspaceV5Keys["who_can_change_conversation_retention"] = "who_can_change_conversation_retention";
|
|
181
|
+
WorkspaceV5Keys["who_can_mark_messages_as_preserved"] = "who_can_mark_messages_as_preserved";
|
|
182
|
+
WorkspaceV5Keys["retention_days_async_meeting"] = "retention_days_async_meeting";
|
|
183
|
+
WorkspaceV5Keys["domain_referral_mode"] = "domain_referral_mode";
|
|
184
|
+
WorkspaceV5Keys["domain_referral_message"] = "domain_referral_message";
|
|
185
|
+
WorkspaceV5Keys["domain_referral_title"] = "domain_referral_title";
|
|
186
|
+
WorkspaceV5Keys["domains"] = "domains";
|
|
187
|
+
})(WorkspaceV5Keys = exports.WorkspaceV5Keys || (exports.WorkspaceV5Keys = {}));
|
|
188
|
+
//# sourceMappingURL=WorkspaceV5Schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WorkspaceV5Schema.js","sourceRoot":"","sources":["../../../src/schemas/v5/WorkspaceV5Schema.ts"],"names":[],"mappings":";;;AAAa,QAAA,iBAAiB,GAAG;IAC/B,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACV,EAAE,EAAE;YACF,I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ACD,KAAK,EAAE;oBACL,IAAI,EAAE,QAAQ;iBACf;gBACD,UAAU,EAAE;oBACV,IAAI,EAAE,QAAQ;iBACf;gBACD,UAAU,EAAE;oBACV,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;iBACzB;aACF;YACD,oBAAoB,EAAE,KAAK;YAC3B,QAAQ,EAAE,CAAC,YAAY,EAAE,IAAI,EAAE,OAAO,CAAC;SACxC;QACD,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,CAAC,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,OAAO,CAAC;SACvD;KACF;IACD,OAAO,EAAE,yCAAyC;CACnD,CAAC;AAEF,IAAY,eA4BX;AA5BD,WAAY,eAAe;IACzB,4BAAS,CAAA;IACT,gCAAa,CAAA;IACb,8CAA2B,CAAA;IAC3B,0CAAuB,CAAA;IACvB,gCAAa,CAAA;IACb,4CAAyB,CAAA;IACzB,sDAAmC,CAAA;IACnC,wCAAqB,CAAA;IACrB,4CAAyB,CAAA;IACzB,0CAAuB,CAAA;IACvB,oCAAiB,CAAA;IACjB,wDAAqC,CAAA;IACrC,8DAA2C,CAAA;IAC3C,gEAA6C,CAAA;IAC7C,sDAAmC,CAAA;IACnC,wDAAqC,CAAA;IACrC,kDAA+B,CAAA;IAC/B,gEAA6C,CAAA;IAC7C,gEAA6C,CAAA;IAC7C,oDAAiC,CAAA;IACjC,kGAA+E,CAAA;IAC/E,4FAAyE,CAAA;IACzE,gFAA6D,CAAA;IAC7D,gEAA6C,CAAA;IAC7C,sEAAmD,CAAA;IACnD,kEAA+C,CAAA;IAC/C,sCAAmB,CAAA;AACrB,CAAC,EA5BW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QA4B1B"}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
export * from './AttachmentV5Schema';
|
|
2
|
+
export * from './BaseCursorListQuerySchema';
|
|
3
|
+
export * from './CursorListResponseV5Schema';
|
|
2
4
|
export * from './GetMessageResponseV5Schema';
|
|
3
5
|
export * from './MessageAIResponseSchema';
|
|
4
6
|
export * from './MessageTimeCodeSchema';
|
|
@@ -12,3 +14,5 @@ export * from './MessageV5Schema';
|
|
|
12
14
|
export * from './NotifiedMessageStatisticSchema';
|
|
13
15
|
export * from './LabelStatisticSchema';
|
|
14
16
|
export * from './StatisticsSchema';
|
|
17
|
+
export * from './WorkspacePhoneV5Schema';
|
|
18
|
+
export * from './WorkspaceV5Schema';
|
package/dist/schemas/v5/index.js
CHANGED
|
@@ -15,6 +15,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./AttachmentV5Schema"), exports);
|
|
18
|
+
__exportStar(require("./BaseCursorListQuerySchema"), exports);
|
|
19
|
+
__exportStar(require("./CursorListResponseV5Schema"), exports);
|
|
18
20
|
__exportStar(require("./GetMessageResponseV5Schema"), exports);
|
|
19
21
|
__exportStar(require("./MessageAIResponseSchema"), exports);
|
|
20
22
|
__exportStar(require("./MessageTimeCodeSchema"), exports);
|
|
@@ -28,4 +30,6 @@ __exportStar(require("./MessageV5Schema"), exports);
|
|
|
28
30
|
__exportStar(require("./NotifiedMessageStatisticSchema"), exports);
|
|
29
31
|
__exportStar(require("./LabelStatisticSchema"), exports);
|
|
30
32
|
__exportStar(require("./StatisticsSchema"), exports);
|
|
33
|
+
__exportStar(require("./WorkspacePhoneV5Schema"), exports);
|
|
34
|
+
__exportStar(require("./WorkspaceV5Schema"), exports);
|
|
31
35
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/schemas/v5/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC;AACrC,+DAA6C;AAC7C,4DAA0C;AAC1C,0DAAwC;AACxC,kDAAgC;AAChC,uDAAqC;AACrC,yDAAuC;AACvC,0DAAwC;AACxC,6EAA2D;AAC3D,oDAAkC;AAClC,oDAAkC;AAClC,mEAAiD;AACjD,yDAAuC;AACvC,qDAAmC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/schemas/v5/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC;AACrC,8DAA4C;AAC5C,+DAA6C;AAC7C,+DAA6C;AAC7C,4DAA0C;AAC1C,0DAAwC;AACxC,kDAAgC;AAChC,uDAAqC;AACrC,yDAAuC;AACvC,0DAAwC;AACxC,6EAA2D;AAC3D,oDAAkC;AAClC,oDAAkC;AAClC,mEAAiD;AACjD,yDAAuC;AACvC,qDAAmC;AACnC,2DAAyC;AACzC,sDAAoC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WebhookPayloadSchema.js","sourceRoot":"","sources":["../../../src/schemas/webhook/WebhookPayloadSchema.ts"],"names":[],"mappings":";;;AAAa,QAAA,oBAAoB,GAAG;IAClC,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACV,SAAS,EAAE;YACT,IAAI,EAAE,kCAAkC;YACxC,WAAW,EAAE,8BAA8B;SAC5C;QACD,iBAAiB,EAAE;YACjB,WAAW,EAAE,mDAAmD;YAChE,IAAI,EAAE,OAAO;YACb,KAAK,EAAE;gBACL,IAAI,EAAE,QAAQ;aACf;SACF;QACD,sBAAsB,EAAE;YACtB,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,OAAO;YACb,KAAK,EAAE;gBACL,IAAI,EAAE,sCAAsC;aAC7C;SACF;QACD,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE;gBACV,SAAS,EAAE;oBACT,IAAI,EAAE,kCAAkC;oBACxC,WAAW,EAAE,8BAA8B;iBAC5C;gBACD,UAAU,EAAE;oBACV,WAAW,EAAE,wDAAwD;oBACrE,IAAI,EAAE,QAAQ;iBACf;gBACD,YAAY,EAAE;oBACZ,IAAI,EAAE,4BAA4B;oBAClC,WAAW,EAAE,0BAA0B;iBACxC;gBACD,QAAQ,EAAE;oBACR,IAAI,EAAE,wBAAwB;oBAC9B,WAAW,EAAE,oCAAoC;iBAClD;aACF;YACD,oBAAoB,EAAE,KAAK;YAC3B,QAAQ,EAAE,CAAC,WAAW,EAAE,UAAU,EAAE,YAAY,EAAE,cAAc,CAAC;SAClE;KACF;IACD,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,MAAM,EAAE,WAAW,EAAE,mBAAmB,CAAC;IACpD,WAAW,EAAE;QACX,kBAAkB,EAAE;YAClB,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE;gBACJ,sBAAsB;gBACtB,iBAAiB;gBACjB,gBAAgB;gBAChB,iBAAiB;gBACjB,iBAAiB;gBACjB,oBAAoB;gBACpB,kBAAkB;gBAClB,iBAAiB;gBACjB,gCAAgC;gBAChC,qBAAqB;gBACrB,2BAA2B;gBAC3B,2BAA2B;gBAC3B,iBAAiB;gBACjB,iBAAiB;gBACjB,qBAAqB;gBACrB,qBAAqB;gBACrB,mBAAmB;gBACnB,sBAAsB;gBACtB,yBAAyB;gBACzB,4BAA4B;gBAC5B,qBAAqB;gBACrB,wBAAwB;gBACxB,yBAAyB;gBACzB,8BAA8B;gBAC9B,uBAAuB;gBACvB,sBAAsB;gBACtB,qBAAqB;gBACrB,wBAAwB;gBACxB,oCAAoC;gBACpC,sBAAsB;gBACtB,uBAAuB;gBACvB,8BAA8B;gBAC9B,qBAAqB;gBACrB,qBAAqB;gBACrB,qBAAqB;gBACrB,4BAA4B;
|
|
1
|
+
{"version":3,"file":"WebhookPayloadSchema.js","sourceRoot":"","sources":["../../../src/schemas/webhook/WebhookPayloadSchema.ts"],"names":[],"mappings":";;;AAAa,QAAA,oBAAoB,GAAG;IAClC,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACV,SAAS,EAAE;YACT,IAAI,EAAE,kCAAkC;YACxC,WAA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