@trii/types 2.10.386 → 2.10.388
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/Accounts/accounts.d.ts +88 -88
- package/dist/Accounts/accounts.js +21 -21
- package/dist/Accounts/device.d.ts +31 -31
- package/dist/Accounts/device.js +16 -16
- package/dist/Accounts/index.d.ts +2 -2
- package/dist/Accounts/index.js +2 -2
- package/dist/ApiResponses/index.d.ts +8 -8
- package/dist/ApiResponses/index.js +1 -1
- package/dist/AuditLogs/auditLog.d.ts +7 -7
- package/dist/AuditLogs/auditLog.js +1 -1
- package/dist/AuditLogs/auditLogType.d.ts +5 -5
- package/dist/AuditLogs/auditLogType.js +6 -6
- package/dist/AuditLogs/index.d.ts +2 -2
- package/dist/AuditLogs/index.js +2 -2
- package/dist/Calendar/Event.d.ts +63 -63
- package/dist/Calendar/Event.js +13 -13
- package/dist/Calendar/index.d.ts +1 -1
- package/dist/Calendar/index.js +1 -1
- package/dist/Calls/Call.d.ts +55 -55
- package/dist/Calls/Call.js +22 -22
- package/dist/Calls/index.d.ts +1 -1
- package/dist/Calls/index.js +1 -1
- package/dist/Common/API/AuthApiKey.d.ts +5 -5
- package/dist/Common/API/AuthApiKey.js +1 -1
- package/dist/Common/API/AuthBasic.d.ts +4 -4
- package/dist/Common/API/AuthBasic.js +1 -1
- package/dist/Common/API/AuthBearer.d.ts +5 -5
- package/dist/Common/API/AuthBearer.js +1 -1
- package/dist/Common/API/AuthType.d.ts +6 -6
- package/dist/Common/API/AuthType.js +7 -7
- package/dist/Common/API/Method.d.ts +4 -4
- package/dist/Common/API/Method.js +5 -5
- package/dist/Common/API/index.d.ts +5 -5
- package/dist/Common/API/index.js +5 -5
- package/dist/Common/Channels/Channel.d.ts +47 -47
- package/dist/Common/Channels/Channel.js +1 -1
- package/dist/Common/Channels/ChannelType.d.ts +24 -24
- package/dist/Common/Channels/ChannelType.js +25 -25
- package/dist/Common/Channels/Email.d.ts +59 -59
- package/dist/Common/Channels/Email.js +30 -30
- package/dist/Common/Channels/Facebook.d.ts +23 -23
- package/dist/Common/Channels/Facebook.js +2 -2
- package/dist/Common/Channels/Form.d.ts +52 -52
- package/dist/Common/Channels/Form.js +25 -25
- package/dist/Common/Channels/GoogleBusiness.d.ts +20 -20
- package/dist/Common/Channels/GoogleBusiness.js +4 -4
- package/dist/Common/Channels/Instagram.d.ts +22 -22
- package/dist/Common/Channels/Instagram.js +2 -2
- package/dist/Common/Channels/MercadoLibre.d.ts +27 -27
- package/dist/Common/Channels/MercadoLibre.js +4 -4
- package/dist/Common/Channels/Pbx.d.ts +2 -2
- package/dist/Common/Channels/Pbx.js +2 -2
- package/dist/Common/Channels/Permission.d.ts +6 -6
- package/dist/Common/Channels/Permission.js +2 -2
- package/dist/Common/Channels/RCS.d.ts +33 -33
- package/dist/Common/Channels/RCS.js +4 -4
- package/dist/Common/Channels/Sip.d.ts +2 -2
- package/dist/Common/Channels/Sip.js +2 -2
- package/dist/Common/Channels/Sms.d.ts +42 -42
- package/dist/Common/Channels/Sms.js +12 -12
- package/dist/Common/Channels/WebChat.d.ts +60 -60
- package/dist/Common/Channels/WebChat.js +14 -14
- package/dist/Common/Channels/WhatsApp.d.ts +41 -41
- package/dist/Common/Channels/WhatsApp.js +10 -10
- package/dist/Common/Channels/index.d.ts +15 -15
- package/dist/Common/Channels/index.js +15 -15
- package/dist/Common/EventsQueue/EmailTemplate.d.ts +10 -10
- package/dist/Common/EventsQueue/EmailTemplate.js +1 -1
- package/dist/Common/EventsQueue/EventQueue.d.ts +12 -12
- package/dist/Common/EventsQueue/EventQueue.js +1 -1
- package/dist/Common/EventsQueue/UserUpdate.d.ts +8 -8
- package/dist/Common/EventsQueue/UserUpdate.js +1 -1
- package/dist/Common/EventsQueue/index.d.ts +3 -3
- package/dist/Common/EventsQueue/index.js +3 -3
- package/dist/Common/Logs/Log.d.ts +18 -18
- package/dist/Common/Logs/Log.js +10 -10
- package/dist/Common/Logs/index.d.ts +1 -1
- package/dist/Common/Logs/index.js +1 -1
- package/dist/Common/Messages/MediaFile.d.ts +5 -5
- package/dist/Common/Messages/MediaFile.js +1 -1
- package/dist/Common/Messages/Message.d.ts +359 -359
- package/dist/Common/Messages/Message.js +53 -53
- package/dist/Common/Messages/Template.d.ts +62 -62
- package/dist/Common/Messages/Template.js +20 -20
- package/dist/Common/Messages/index.d.ts +3 -3
- package/dist/Common/Messages/index.js +3 -3
- package/dist/Common/Notifications/Notification.d.ts +19 -19
- package/dist/Common/Notifications/Notification.js +7 -7
- package/dist/Common/Notifications/UserNotificationsConfig.d.ts +30 -30
- package/dist/Common/Notifications/UserNotificationsConfig.js +8 -8
- package/dist/Common/Notifications/index.d.ts +2 -2
- package/dist/Common/Notifications/index.js +2 -2
- package/dist/Common/Schedules/Schedules.d.ts +32 -32
- package/dist/Common/Schedules/Schedules.js +1 -1
- package/dist/Common/Schedules/index.d.ts +1 -1
- package/dist/Common/Schedules/index.js +1 -1
- package/dist/Common/index.d.ts +6 -6
- package/dist/Common/index.js +12 -12
- package/dist/Contacts/File.d.ts +17 -17
- package/dist/Contacts/File.js +1 -1
- package/dist/Contacts/Label.d.ts +9 -9
- package/dist/Contacts/Label.js +1 -1
- package/dist/Contacts/Note.d.ts +15 -15
- package/dist/Contacts/Note.js +1 -1
- package/dist/Contacts/contacts.d.ts +240 -240
- package/dist/Contacts/contacts.js +39 -39
- package/dist/Contacts/index.d.ts +5 -5
- package/dist/Contacts/index.js +5 -5
- package/dist/Contacts/segments.d.ts +51 -51
- package/dist/Contacts/segments.js +49 -49
- package/dist/Conversations/Conversation.d.ts +92 -92
- package/dist/Conversations/Conversation.js +44 -44
- package/dist/Conversations/DashBoard/dashboard.d.ts +84 -84
- package/dist/Conversations/DashBoard/dashboard.js +45 -45
- package/dist/Conversations/DashBoard/dashboardChannels.d.ts +5 -5
- package/dist/Conversations/DashBoard/dashboardChannels.js +2 -2
- package/dist/Conversations/DashBoard/dashboardForms.d.ts +44 -44
- package/dist/Conversations/DashBoard/dashboardForms.js +14 -14
- package/dist/Conversations/DashBoard/dashboardMessages.d.ts +13 -13
- package/dist/Conversations/DashBoard/dashboardMessages.js +4 -4
- package/dist/Conversations/Ending.d.ts +11 -11
- package/dist/Conversations/Ending.js +1 -1
- package/dist/Conversations/Flows/Flow.d.ts +104 -104
- package/dist/Conversations/Flows/Flow.js +36 -36
- package/dist/Conversations/Flows/Nodes/NodeApi.d.ts +20 -20
- package/dist/Conversations/Flows/Nodes/NodeApi.js +2 -2
- package/dist/Conversations/Flows/Nodes/NodeConditional.d.ts +21 -21
- package/dist/Conversations/Flows/Nodes/NodeConditional.js +16 -16
- package/dist/Conversations/Flows/Nodes/NodeContactSearch.d.ts +8 -8
- package/dist/Conversations/Flows/Nodes/NodeContactSearch.js +2 -2
- package/dist/Conversations/Flows/Nodes/NodeContactUpdate.d.ts +12 -12
- package/dist/Conversations/Flows/Nodes/NodeContactUpdate.js +7 -7
- package/dist/Conversations/Flows/Nodes/NodeConversationAssignTo.d.ts +6 -6
- package/dist/Conversations/Flows/Nodes/NodeConversationAssignTo.js +2 -2
- package/dist/Conversations/Flows/Nodes/NodeConversationFinalize.d.ts +4 -4
- package/dist/Conversations/Flows/Nodes/NodeConversationFinalize.js +2 -2
- package/dist/Conversations/Flows/Nodes/NodeConversationUpdate.d.ts +15 -15
- package/dist/Conversations/Flows/Nodes/NodeConversationUpdate.js +11 -11
- package/dist/Conversations/Flows/Nodes/NodeFillForm.d.ts +12 -12
- package/dist/Conversations/Flows/Nodes/NodeFillForm.js +4 -4
- package/dist/Conversations/Flows/Nodes/NodeFillTicket.d.ts +22 -22
- package/dist/Conversations/Flows/Nodes/NodeFillTicket.js +9 -9
- package/dist/Conversations/Flows/Nodes/NodeMsgText.d.ts +47 -47
- package/dist/Conversations/Flows/Nodes/NodeMsgText.js +27 -27
- package/dist/Conversations/Flows/Nodes/NodeMsgWaitResponse.d.ts +45 -45
- package/dist/Conversations/Flows/Nodes/NodeMsgWaitResponse.js +31 -31
- package/dist/Conversations/Flows/Nodes/NodeRedirect.d.ts +7 -7
- package/dist/Conversations/Flows/Nodes/NodeRedirect.js +2 -2
- package/dist/Conversations/Flows/Nodes/NodeSendEmail.d.ts +9 -9
- package/dist/Conversations/Flows/Nodes/NodeSendEmail.js +2 -2
- package/dist/Conversations/Flows/Nodes/NodeSqlQuery.d.ts +14 -14
- package/dist/Conversations/Flows/Nodes/NodeSqlQuery.js +8 -8
- package/dist/Conversations/Flows/Nodes/NodeStart.d.ts +32 -32
- package/dist/Conversations/Flows/Nodes/NodeStart.js +184 -184
- package/dist/Conversations/Flows/Nodes/NodeTimeScheduleControl.d.ts +6 -6
- package/dist/Conversations/Flows/Nodes/NodeTimeScheduleControl.js +2 -2
- package/dist/Conversations/Flows/Nodes/NodeTimeTimer.d.ts +9 -9
- package/dist/Conversations/Flows/Nodes/NodeTimeTimer.js +2 -2
- package/dist/Conversations/Flows/Nodes/NodeTimeWaitUntil.d.ts +6 -6
- package/dist/Conversations/Flows/Nodes/NodeTimeWaitUntil.js +2 -2
- package/dist/Conversations/Flows/Nodes/index.d.ts +18 -18
- package/dist/Conversations/Flows/Nodes/index.js +18 -18
- package/dist/Conversations/Flows/index.d.ts +2 -2
- package/dist/Conversations/Flows/index.js +3 -3
- package/dist/Conversations/Groups/Group.d.ts +23 -23
- package/dist/Conversations/Groups/Group.js +6 -6
- package/dist/Conversations/Label.d.ts +10 -10
- package/dist/Conversations/Label.js +1 -1
- package/dist/Conversations/QuickResponse.d.ts +34 -34
- package/dist/Conversations/QuickResponse.js +1 -1
- package/dist/Conversations/SocialWalls.d.ts +55 -55
- package/dist/Conversations/SocialWalls.js +1 -1
- package/dist/Conversations/WebHook.d.ts +22 -22
- package/dist/Conversations/WebHook.js +1 -1
- package/dist/Conversations/index.d.ts +12 -12
- package/dist/Conversations/index.js +14 -14
- package/dist/Marketing/Campaign.d.ts +50 -50
- package/dist/Marketing/Campaign.js +25 -25
- package/dist/Marketing/Dashboard.d.ts +48 -48
- package/dist/Marketing/Dashboard.js +1 -1
- package/dist/Marketing/index.d.ts +2 -2
- package/dist/Marketing/index.js +2 -2
- package/dist/PublicAPI/apiKey.d.ts +12 -12
- package/dist/PublicAPI/apiKey.js +1 -1
- package/dist/Security/Security.d.ts +5 -5
- package/dist/Security/Security.js +1 -1
- package/dist/Security/index.d.ts +1 -1
- package/dist/Security/index.js +1 -1
- package/dist/Spaces/Dashboard.d.ts +4 -4
- package/dist/Spaces/Dashboard.js +1 -1
- package/dist/Spaces/index.d.ts +2 -2
- package/dist/Spaces/index.js +2 -2
- package/dist/Spaces/spaces.d.ts +92 -92
- package/dist/Spaces/spaces.js +77 -77
- package/dist/Tickets/AccessLevel.d.ts +5 -5
- package/dist/Tickets/AccessLevel.js +6 -6
- package/dist/Tickets/index.d.ts +1 -1
- package/dist/Tickets/index.js +1 -1
- package/dist/Users/UserActivitySummary.d.ts +5 -5
- package/dist/Users/UserActivitySummary.js +1 -1
- package/dist/Users/UserProfile.d.ts +105 -105
- package/dist/Users/UserProfile.js +78 -78
- package/dist/Users/UserTrii.d.ts +94 -94
- package/dist/Users/UserTrii.js +15 -15
- package/dist/Users/UserType.d.ts +10 -10
- package/dist/Users/UserType.js +11 -11
- package/dist/Users/index.d.ts +4 -4
- package/dist/Users/index.js +4 -4
- package/dist/index.d.ts +14 -14
- package/dist/index.js +28 -28
- package/package.json +5 -2
- package/dist/Campaigns/Campaign.d.ts +0 -40
- package/dist/Campaigns/Campaign.js +0 -18
- package/dist/Campaigns/index.d.ts +0 -1
- package/dist/Campaigns/index.js +0 -1
|
@@ -1,88 +1,88 @@
|
|
|
1
|
-
export declare enum Account_Status {
|
|
2
|
-
Normal = 1,
|
|
3
|
-
PendingToDeleted = 2,
|
|
4
|
-
Deleted = 3
|
|
5
|
-
}
|
|
6
|
-
export interface IAccount {
|
|
7
|
-
id: string;
|
|
8
|
-
uid: string;
|
|
9
|
-
name: string;
|
|
10
|
-
email: string;
|
|
11
|
-
status: Account_Status;
|
|
12
|
-
}
|
|
13
|
-
export interface ISubscription {
|
|
14
|
-
id: string;
|
|
15
|
-
uid: string;
|
|
16
|
-
name: string;
|
|
17
|
-
credits: number;
|
|
18
|
-
plan: ISubscriptionPlan;
|
|
19
|
-
lastInvoice: string;
|
|
20
|
-
isTrial: boolean;
|
|
21
|
-
trialEndsAt: Date;
|
|
22
|
-
invoicingData: ISubscriptionInvoicingData;
|
|
23
|
-
createdAt: Date;
|
|
24
|
-
updatedAt?: Date;
|
|
25
|
-
deletedAt?: Date;
|
|
26
|
-
}
|
|
27
|
-
export interface shoppingCart {
|
|
28
|
-
items: [];
|
|
29
|
-
}
|
|
30
|
-
export interface ISubscriptionPlan {
|
|
31
|
-
usersLimit: number;
|
|
32
|
-
usersType: "BASIC" | "PRO";
|
|
33
|
-
annualBilling: false;
|
|
34
|
-
nextRenovation: Date;
|
|
35
|
-
products: ISubscriptionProduct[];
|
|
36
|
-
emailsPack: ISubscriptionProduct;
|
|
37
|
-
smsShortNumberEnabled: boolean;
|
|
38
|
-
apiQrChannelsCount: number;
|
|
39
|
-
}
|
|
40
|
-
export interface ISubscriptionProduct {
|
|
41
|
-
name: string;
|
|
42
|
-
quantity: number;
|
|
43
|
-
price: number;
|
|
44
|
-
expiresAt: Date;
|
|
45
|
-
}
|
|
46
|
-
export interface ISubscriptionInvoicingData {
|
|
47
|
-
country: string;
|
|
48
|
-
businessName: string;
|
|
49
|
-
street: string;
|
|
50
|
-
streetNumber: string;
|
|
51
|
-
city: string;
|
|
52
|
-
zip: string;
|
|
53
|
-
businessID: string;
|
|
54
|
-
taxID: string;
|
|
55
|
-
vatID: string;
|
|
56
|
-
cuit: string;
|
|
57
|
-
}
|
|
58
|
-
export interface IInvoiceBalance {
|
|
59
|
-
balanceAmount: number;
|
|
60
|
-
}
|
|
61
|
-
export interface IInvoice {
|
|
62
|
-
id: string;
|
|
63
|
-
uid: string;
|
|
64
|
-
subscriptionId: string;
|
|
65
|
-
subscriptionName: string;
|
|
66
|
-
invoiceNumber: string;
|
|
67
|
-
status: InvoiceStatus;
|
|
68
|
-
items: [];
|
|
69
|
-
amount: number;
|
|
70
|
-
dueDate?: Date;
|
|
71
|
-
paymentDate?: Date;
|
|
72
|
-
paymentMethod?: string;
|
|
73
|
-
createdAt: Date;
|
|
74
|
-
}
|
|
75
|
-
export declare enum InvoiceStatus {
|
|
76
|
-
/**The invoice isn’t ready. All invoices start in draft status. */
|
|
77
|
-
DRAFT = 0,
|
|
78
|
-
/**Invoice has been sent to the customer*/
|
|
79
|
-
SENT = 1,
|
|
80
|
-
/**Invoice has been paid by the customer */
|
|
81
|
-
PAID = 2,
|
|
82
|
-
/**Invoice has past the payment date and the customer hasn’t paid yet */
|
|
83
|
-
OVERDUE = 3,
|
|
84
|
-
/**You will void an invoice if it has been raised incorrectly. Customers cannot pay for a voided invoice. This invoice is canceled.*/
|
|
85
|
-
VOID = 4,
|
|
86
|
-
/**The customer is unlikely to pay the invoice. Normally, you treat it as bad debt in your accounting process. */
|
|
87
|
-
UNCOLLECTIBLE = 5
|
|
88
|
-
}
|
|
1
|
+
export declare enum Account_Status {
|
|
2
|
+
Normal = 1,
|
|
3
|
+
PendingToDeleted = 2,
|
|
4
|
+
Deleted = 3
|
|
5
|
+
}
|
|
6
|
+
export interface IAccount {
|
|
7
|
+
id: string;
|
|
8
|
+
uid: string;
|
|
9
|
+
name: string;
|
|
10
|
+
email: string;
|
|
11
|
+
status: Account_Status;
|
|
12
|
+
}
|
|
13
|
+
export interface ISubscription {
|
|
14
|
+
id: string;
|
|
15
|
+
uid: string;
|
|
16
|
+
name: string;
|
|
17
|
+
credits: number;
|
|
18
|
+
plan: ISubscriptionPlan;
|
|
19
|
+
lastInvoice: string;
|
|
20
|
+
isTrial: boolean;
|
|
21
|
+
trialEndsAt: Date;
|
|
22
|
+
invoicingData: ISubscriptionInvoicingData;
|
|
23
|
+
createdAt: Date;
|
|
24
|
+
updatedAt?: Date;
|
|
25
|
+
deletedAt?: Date;
|
|
26
|
+
}
|
|
27
|
+
export interface shoppingCart {
|
|
28
|
+
items: [];
|
|
29
|
+
}
|
|
30
|
+
export interface ISubscriptionPlan {
|
|
31
|
+
usersLimit: number;
|
|
32
|
+
usersType: "BASIC" | "PRO";
|
|
33
|
+
annualBilling: false;
|
|
34
|
+
nextRenovation: Date;
|
|
35
|
+
products: ISubscriptionProduct[];
|
|
36
|
+
emailsPack: ISubscriptionProduct;
|
|
37
|
+
smsShortNumberEnabled: boolean;
|
|
38
|
+
apiQrChannelsCount: number;
|
|
39
|
+
}
|
|
40
|
+
export interface ISubscriptionProduct {
|
|
41
|
+
name: string;
|
|
42
|
+
quantity: number;
|
|
43
|
+
price: number;
|
|
44
|
+
expiresAt: Date;
|
|
45
|
+
}
|
|
46
|
+
export interface ISubscriptionInvoicingData {
|
|
47
|
+
country: string;
|
|
48
|
+
businessName: string;
|
|
49
|
+
street: string;
|
|
50
|
+
streetNumber: string;
|
|
51
|
+
city: string;
|
|
52
|
+
zip: string;
|
|
53
|
+
businessID: string;
|
|
54
|
+
taxID: string;
|
|
55
|
+
vatID: string;
|
|
56
|
+
cuit: string;
|
|
57
|
+
}
|
|
58
|
+
export interface IInvoiceBalance {
|
|
59
|
+
balanceAmount: number;
|
|
60
|
+
}
|
|
61
|
+
export interface IInvoice {
|
|
62
|
+
id: string;
|
|
63
|
+
uid: string;
|
|
64
|
+
subscriptionId: string;
|
|
65
|
+
subscriptionName: string;
|
|
66
|
+
invoiceNumber: string;
|
|
67
|
+
status: InvoiceStatus;
|
|
68
|
+
items: [];
|
|
69
|
+
amount: number;
|
|
70
|
+
dueDate?: Date;
|
|
71
|
+
paymentDate?: Date;
|
|
72
|
+
paymentMethod?: string;
|
|
73
|
+
createdAt: Date;
|
|
74
|
+
}
|
|
75
|
+
export declare enum InvoiceStatus {
|
|
76
|
+
/**The invoice isn’t ready. All invoices start in draft status. */
|
|
77
|
+
DRAFT = 0,
|
|
78
|
+
/**Invoice has been sent to the customer*/
|
|
79
|
+
SENT = 1,
|
|
80
|
+
/**Invoice has been paid by the customer */
|
|
81
|
+
PAID = 2,
|
|
82
|
+
/**Invoice has past the payment date and the customer hasn’t paid yet */
|
|
83
|
+
OVERDUE = 3,
|
|
84
|
+
/**You will void an invoice if it has been raised incorrectly. Customers cannot pay for a voided invoice. This invoice is canceled.*/
|
|
85
|
+
VOID = 4,
|
|
86
|
+
/**The customer is unlikely to pay the invoice. Normally, you treat it as bad debt in your accounting process. */
|
|
87
|
+
UNCOLLECTIBLE = 5
|
|
88
|
+
}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
export var Account_Status;
|
|
2
|
-
(function (Account_Status) {
|
|
3
|
-
Account_Status[Account_Status["Normal"] = 1] = "Normal";
|
|
4
|
-
Account_Status[Account_Status["PendingToDeleted"] = 2] = "PendingToDeleted";
|
|
5
|
-
Account_Status[Account_Status["Deleted"] = 3] = "Deleted";
|
|
6
|
-
})(Account_Status || (Account_Status = {}));
|
|
7
|
-
export var InvoiceStatus;
|
|
8
|
-
(function (InvoiceStatus) {
|
|
9
|
-
/**The invoice isn’t ready. All invoices start in draft status. */
|
|
10
|
-
InvoiceStatus[InvoiceStatus["DRAFT"] = 0] = "DRAFT";
|
|
11
|
-
/**Invoice has been sent to the customer*/
|
|
12
|
-
InvoiceStatus[InvoiceStatus["SENT"] = 1] = "SENT";
|
|
13
|
-
/**Invoice has been paid by the customer */
|
|
14
|
-
InvoiceStatus[InvoiceStatus["PAID"] = 2] = "PAID";
|
|
15
|
-
/**Invoice has past the payment date and the customer hasn’t paid yet */
|
|
16
|
-
InvoiceStatus[InvoiceStatus["OVERDUE"] = 3] = "OVERDUE";
|
|
17
|
-
/**You will void an invoice if it has been raised incorrectly. Customers cannot pay for a voided invoice. This invoice is canceled.*/
|
|
18
|
-
InvoiceStatus[InvoiceStatus["VOID"] = 4] = "VOID";
|
|
19
|
-
/**The customer is unlikely to pay the invoice. Normally, you treat it as bad debt in your accounting process. */
|
|
20
|
-
InvoiceStatus[InvoiceStatus["UNCOLLECTIBLE"] = 5] = "UNCOLLECTIBLE";
|
|
21
|
-
})(InvoiceStatus || (InvoiceStatus = {}));
|
|
1
|
+
export var Account_Status;
|
|
2
|
+
(function (Account_Status) {
|
|
3
|
+
Account_Status[Account_Status["Normal"] = 1] = "Normal";
|
|
4
|
+
Account_Status[Account_Status["PendingToDeleted"] = 2] = "PendingToDeleted";
|
|
5
|
+
Account_Status[Account_Status["Deleted"] = 3] = "Deleted";
|
|
6
|
+
})(Account_Status || (Account_Status = {}));
|
|
7
|
+
export var InvoiceStatus;
|
|
8
|
+
(function (InvoiceStatus) {
|
|
9
|
+
/**The invoice isn’t ready. All invoices start in draft status. */
|
|
10
|
+
InvoiceStatus[InvoiceStatus["DRAFT"] = 0] = "DRAFT";
|
|
11
|
+
/**Invoice has been sent to the customer*/
|
|
12
|
+
InvoiceStatus[InvoiceStatus["SENT"] = 1] = "SENT";
|
|
13
|
+
/**Invoice has been paid by the customer */
|
|
14
|
+
InvoiceStatus[InvoiceStatus["PAID"] = 2] = "PAID";
|
|
15
|
+
/**Invoice has past the payment date and the customer hasn’t paid yet */
|
|
16
|
+
InvoiceStatus[InvoiceStatus["OVERDUE"] = 3] = "OVERDUE";
|
|
17
|
+
/**You will void an invoice if it has been raised incorrectly. Customers cannot pay for a voided invoice. This invoice is canceled.*/
|
|
18
|
+
InvoiceStatus[InvoiceStatus["VOID"] = 4] = "VOID";
|
|
19
|
+
/**The customer is unlikely to pay the invoice. Normally, you treat it as bad debt in your accounting process. */
|
|
20
|
+
InvoiceStatus[InvoiceStatus["UNCOLLECTIBLE"] = 5] = "UNCOLLECTIBLE";
|
|
21
|
+
})(InvoiceStatus || (InvoiceStatus = {}));
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
export interface IDevice {
|
|
2
|
-
id: string;
|
|
3
|
-
uid: string;
|
|
4
|
-
token: string;
|
|
5
|
-
type: DeviceType;
|
|
6
|
-
info: string;
|
|
7
|
-
lastAccess?: AccessInfo;
|
|
8
|
-
expiredToken: boolean | false;
|
|
9
|
-
createdAt?: string | null;
|
|
10
|
-
updatedAt?: string | null;
|
|
11
|
-
}
|
|
12
|
-
export declare enum DeviceType {
|
|
13
|
-
MOBILE_ANDROID = 11,
|
|
14
|
-
MOBILE_IOS = 12,
|
|
15
|
-
MOBILE_WINDOWS = 13,
|
|
16
|
-
MOBILE_OTHER = 10,
|
|
17
|
-
PC_LINUX = 21,
|
|
18
|
-
PC_WINDOWS = 22,
|
|
19
|
-
PC_MAC = 23,
|
|
20
|
-
PC_OTHER = 20,
|
|
21
|
-
EMAIL = 0,
|
|
22
|
-
WEB_FIREBASE = 1,
|
|
23
|
-
MOBILE_FIREBASE = 3,
|
|
24
|
-
MOBILE_SIGNALONE = 3,
|
|
25
|
-
WEBSOCKET = 4
|
|
26
|
-
}
|
|
27
|
-
export interface AccessInfo {
|
|
28
|
-
ip: string;
|
|
29
|
-
datetime: Date;
|
|
30
|
-
location?: string;
|
|
31
|
-
}
|
|
1
|
+
export interface IDevice {
|
|
2
|
+
id: string;
|
|
3
|
+
uid: string;
|
|
4
|
+
token: string;
|
|
5
|
+
type: DeviceType;
|
|
6
|
+
info: string;
|
|
7
|
+
lastAccess?: AccessInfo;
|
|
8
|
+
expiredToken: boolean | false;
|
|
9
|
+
createdAt?: string | null;
|
|
10
|
+
updatedAt?: string | null;
|
|
11
|
+
}
|
|
12
|
+
export declare enum DeviceType {
|
|
13
|
+
MOBILE_ANDROID = 11,
|
|
14
|
+
MOBILE_IOS = 12,
|
|
15
|
+
MOBILE_WINDOWS = 13,
|
|
16
|
+
MOBILE_OTHER = 10,
|
|
17
|
+
PC_LINUX = 21,
|
|
18
|
+
PC_WINDOWS = 22,
|
|
19
|
+
PC_MAC = 23,
|
|
20
|
+
PC_OTHER = 20,
|
|
21
|
+
EMAIL = 0,
|
|
22
|
+
WEB_FIREBASE = 1,
|
|
23
|
+
MOBILE_FIREBASE = 3,
|
|
24
|
+
MOBILE_SIGNALONE = 3,
|
|
25
|
+
WEBSOCKET = 4
|
|
26
|
+
}
|
|
27
|
+
export interface AccessInfo {
|
|
28
|
+
ip: string;
|
|
29
|
+
datetime: Date;
|
|
30
|
+
location?: string;
|
|
31
|
+
}
|
package/dist/Accounts/device.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
export var DeviceType;
|
|
2
|
-
(function (DeviceType) {
|
|
3
|
-
DeviceType[DeviceType["MOBILE_ANDROID"] = 11] = "MOBILE_ANDROID";
|
|
4
|
-
DeviceType[DeviceType["MOBILE_IOS"] = 12] = "MOBILE_IOS";
|
|
5
|
-
DeviceType[DeviceType["MOBILE_WINDOWS"] = 13] = "MOBILE_WINDOWS";
|
|
6
|
-
DeviceType[DeviceType["MOBILE_OTHER"] = 10] = "MOBILE_OTHER";
|
|
7
|
-
DeviceType[DeviceType["PC_LINUX"] = 21] = "PC_LINUX";
|
|
8
|
-
DeviceType[DeviceType["PC_WINDOWS"] = 22] = "PC_WINDOWS";
|
|
9
|
-
DeviceType[DeviceType["PC_MAC"] = 23] = "PC_MAC";
|
|
10
|
-
DeviceType[DeviceType["PC_OTHER"] = 20] = "PC_OTHER";
|
|
11
|
-
DeviceType[DeviceType["EMAIL"] = 0] = "EMAIL";
|
|
12
|
-
DeviceType[DeviceType["WEB_FIREBASE"] = 1] = "WEB_FIREBASE";
|
|
13
|
-
DeviceType[DeviceType["MOBILE_FIREBASE"] = 3] = "MOBILE_FIREBASE";
|
|
14
|
-
DeviceType[DeviceType["MOBILE_SIGNALONE"] = 3] = "MOBILE_SIGNALONE";
|
|
15
|
-
DeviceType[DeviceType["WEBSOCKET"] = 4] = "WEBSOCKET";
|
|
16
|
-
})(DeviceType || (DeviceType = {}));
|
|
1
|
+
export var DeviceType;
|
|
2
|
+
(function (DeviceType) {
|
|
3
|
+
DeviceType[DeviceType["MOBILE_ANDROID"] = 11] = "MOBILE_ANDROID";
|
|
4
|
+
DeviceType[DeviceType["MOBILE_IOS"] = 12] = "MOBILE_IOS";
|
|
5
|
+
DeviceType[DeviceType["MOBILE_WINDOWS"] = 13] = "MOBILE_WINDOWS";
|
|
6
|
+
DeviceType[DeviceType["MOBILE_OTHER"] = 10] = "MOBILE_OTHER";
|
|
7
|
+
DeviceType[DeviceType["PC_LINUX"] = 21] = "PC_LINUX";
|
|
8
|
+
DeviceType[DeviceType["PC_WINDOWS"] = 22] = "PC_WINDOWS";
|
|
9
|
+
DeviceType[DeviceType["PC_MAC"] = 23] = "PC_MAC";
|
|
10
|
+
DeviceType[DeviceType["PC_OTHER"] = 20] = "PC_OTHER";
|
|
11
|
+
DeviceType[DeviceType["EMAIL"] = 0] = "EMAIL";
|
|
12
|
+
DeviceType[DeviceType["WEB_FIREBASE"] = 1] = "WEB_FIREBASE";
|
|
13
|
+
DeviceType[DeviceType["MOBILE_FIREBASE"] = 3] = "MOBILE_FIREBASE";
|
|
14
|
+
DeviceType[DeviceType["MOBILE_SIGNALONE"] = 3] = "MOBILE_SIGNALONE";
|
|
15
|
+
DeviceType[DeviceType["WEBSOCKET"] = 4] = "WEBSOCKET";
|
|
16
|
+
})(DeviceType || (DeviceType = {}));
|
package/dist/Accounts/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './accounts';
|
|
2
|
-
export * from './device';
|
|
1
|
+
export * from './accounts';
|
|
2
|
+
export * from './device';
|
package/dist/Accounts/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './accounts';
|
|
2
|
-
export * from './device';
|
|
1
|
+
export * from './accounts';
|
|
2
|
+
export * from './device';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export interface resultContactAddressCheck {
|
|
2
|
-
success: boolean;
|
|
3
|
-
warnings: string[];
|
|
4
|
-
}
|
|
5
|
-
export interface IResultError {
|
|
6
|
-
code: string;
|
|
7
|
-
details: string;
|
|
8
|
-
}
|
|
1
|
+
export interface resultContactAddressCheck {
|
|
2
|
+
success: boolean;
|
|
3
|
+
warnings: string[];
|
|
4
|
+
}
|
|
5
|
+
export interface IResultError {
|
|
6
|
+
code: string;
|
|
7
|
+
details: string;
|
|
8
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { AuditLogType } from "./auditLogType";
|
|
2
|
-
export interface AuditLog {
|
|
3
|
-
id: string;
|
|
4
|
-
type: AuditLogType;
|
|
5
|
-
datetime: Date;
|
|
6
|
-
details: string;
|
|
7
|
-
}
|
|
1
|
+
import { AuditLogType } from "./auditLogType";
|
|
2
|
+
export interface AuditLog {
|
|
3
|
+
id: string;
|
|
4
|
+
type: AuditLogType;
|
|
5
|
+
datetime: Date;
|
|
6
|
+
details: string;
|
|
7
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare enum AuditLogType {
|
|
2
|
-
INFO = "INFO",
|
|
3
|
-
WARNING = "WARNING",
|
|
4
|
-
ERROR = "ERROR"
|
|
5
|
-
}
|
|
1
|
+
export declare enum AuditLogType {
|
|
2
|
+
INFO = "INFO",
|
|
3
|
+
WARNING = "WARNING",
|
|
4
|
+
ERROR = "ERROR"
|
|
5
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export var AuditLogType;
|
|
2
|
-
(function (AuditLogType) {
|
|
3
|
-
AuditLogType["INFO"] = "INFO";
|
|
4
|
-
AuditLogType["WARNING"] = "WARNING";
|
|
5
|
-
AuditLogType["ERROR"] = "ERROR";
|
|
6
|
-
})(AuditLogType || (AuditLogType = {}));
|
|
1
|
+
export var AuditLogType;
|
|
2
|
+
(function (AuditLogType) {
|
|
3
|
+
AuditLogType["INFO"] = "INFO";
|
|
4
|
+
AuditLogType["WARNING"] = "WARNING";
|
|
5
|
+
AuditLogType["ERROR"] = "ERROR";
|
|
6
|
+
})(AuditLogType || (AuditLogType = {}));
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './auditLog';
|
|
2
|
-
export * from './auditLogType';
|
|
1
|
+
export * from './auditLog';
|
|
2
|
+
export * from './auditLogType';
|
package/dist/AuditLogs/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './auditLog';
|
|
2
|
-
export * from './auditLogType';
|
|
1
|
+
export * from './auditLog';
|
|
2
|
+
export * from './auditLogType';
|
package/dist/Calendar/Event.d.ts
CHANGED
|
@@ -1,63 +1,63 @@
|
|
|
1
|
-
import { IContactInfo } from "../Contacts/contacts";
|
|
2
|
-
import { UserInfo } from "../Users/UserTrii";
|
|
3
|
-
export interface IEventType {
|
|
4
|
-
id: string;
|
|
5
|
-
name: string;
|
|
6
|
-
color: string;
|
|
7
|
-
icon: string;
|
|
8
|
-
}
|
|
9
|
-
export interface IEvent {
|
|
10
|
-
id: string;
|
|
11
|
-
spaceId: string;
|
|
12
|
-
isPrivate: boolean;
|
|
13
|
-
relatedContact: IContactInfo;
|
|
14
|
-
relatedTicket: any;
|
|
15
|
-
relatedDebt: any;
|
|
16
|
-
date: Date;
|
|
17
|
-
startAt: Date;
|
|
18
|
-
endAt: Date;
|
|
19
|
-
/**Event duration expressed in minutes */
|
|
20
|
-
duration: number;
|
|
21
|
-
allDay: boolean;
|
|
22
|
-
title: string;
|
|
23
|
-
details: string;
|
|
24
|
-
location: string;
|
|
25
|
-
color?: string;
|
|
26
|
-
eventType?: IEventType;
|
|
27
|
-
calendarId?: string;
|
|
28
|
-
repeatId?: string;
|
|
29
|
-
notifications: IEventNotification[];
|
|
30
|
-
sharedWith: UserInfo[];
|
|
31
|
-
createdAt: Date;
|
|
32
|
-
createdBy: UserInfo;
|
|
33
|
-
finalized: boolean;
|
|
34
|
-
finalizedAt?: Date;
|
|
35
|
-
finalizedBy?: UserInfo;
|
|
36
|
-
deletedAt?: Date;
|
|
37
|
-
deletedBy?: UserInfo;
|
|
38
|
-
}
|
|
39
|
-
export interface IRelatedInfo {
|
|
40
|
-
type: relatedType;
|
|
41
|
-
id: string;
|
|
42
|
-
contact: IContactInfo;
|
|
43
|
-
ticket: any;
|
|
44
|
-
debt: any;
|
|
45
|
-
}
|
|
46
|
-
export declare enum relatedType {
|
|
47
|
-
CONTACT = 1,
|
|
48
|
-
DEBT = 2,
|
|
49
|
-
TICKET = 3
|
|
50
|
-
}
|
|
51
|
-
export interface IEventNotification {
|
|
52
|
-
id: string;
|
|
53
|
-
notificacionDateTime: Date;
|
|
54
|
-
timeValue: number;
|
|
55
|
-
timePeriod: EventNotificationPeriod;
|
|
56
|
-
sendToContact: boolean;
|
|
57
|
-
}
|
|
58
|
-
export declare enum EventNotificationPeriod {
|
|
59
|
-
MINUTE = 1,
|
|
60
|
-
HOUR = 2,
|
|
61
|
-
DAY = 3,
|
|
62
|
-
WEEK = 4
|
|
63
|
-
}
|
|
1
|
+
import { IContactInfo } from "../Contacts/contacts";
|
|
2
|
+
import { UserInfo } from "../Users/UserTrii";
|
|
3
|
+
export interface IEventType {
|
|
4
|
+
id: string;
|
|
5
|
+
name: string;
|
|
6
|
+
color: string;
|
|
7
|
+
icon: string;
|
|
8
|
+
}
|
|
9
|
+
export interface IEvent {
|
|
10
|
+
id: string;
|
|
11
|
+
spaceId: string;
|
|
12
|
+
isPrivate: boolean;
|
|
13
|
+
relatedContact: IContactInfo;
|
|
14
|
+
relatedTicket: any;
|
|
15
|
+
relatedDebt: any;
|
|
16
|
+
date: Date;
|
|
17
|
+
startAt: Date;
|
|
18
|
+
endAt: Date;
|
|
19
|
+
/**Event duration expressed in minutes */
|
|
20
|
+
duration: number;
|
|
21
|
+
allDay: boolean;
|
|
22
|
+
title: string;
|
|
23
|
+
details: string;
|
|
24
|
+
location: string;
|
|
25
|
+
color?: string;
|
|
26
|
+
eventType?: IEventType;
|
|
27
|
+
calendarId?: string;
|
|
28
|
+
repeatId?: string;
|
|
29
|
+
notifications: IEventNotification[];
|
|
30
|
+
sharedWith: UserInfo[];
|
|
31
|
+
createdAt: Date;
|
|
32
|
+
createdBy: UserInfo;
|
|
33
|
+
finalized: boolean;
|
|
34
|
+
finalizedAt?: Date;
|
|
35
|
+
finalizedBy?: UserInfo;
|
|
36
|
+
deletedAt?: Date;
|
|
37
|
+
deletedBy?: UserInfo;
|
|
38
|
+
}
|
|
39
|
+
export interface IRelatedInfo {
|
|
40
|
+
type: relatedType;
|
|
41
|
+
id: string;
|
|
42
|
+
contact: IContactInfo;
|
|
43
|
+
ticket: any;
|
|
44
|
+
debt: any;
|
|
45
|
+
}
|
|
46
|
+
export declare enum relatedType {
|
|
47
|
+
CONTACT = 1,
|
|
48
|
+
DEBT = 2,
|
|
49
|
+
TICKET = 3
|
|
50
|
+
}
|
|
51
|
+
export interface IEventNotification {
|
|
52
|
+
id: string;
|
|
53
|
+
notificacionDateTime: Date;
|
|
54
|
+
timeValue: number;
|
|
55
|
+
timePeriod: EventNotificationPeriod;
|
|
56
|
+
sendToContact: boolean;
|
|
57
|
+
}
|
|
58
|
+
export declare enum EventNotificationPeriod {
|
|
59
|
+
MINUTE = 1,
|
|
60
|
+
HOUR = 2,
|
|
61
|
+
DAY = 3,
|
|
62
|
+
WEEK = 4
|
|
63
|
+
}
|
package/dist/Calendar/Event.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export var relatedType;
|
|
2
|
-
(function (relatedType) {
|
|
3
|
-
relatedType[relatedType["CONTACT"] = 1] = "CONTACT";
|
|
4
|
-
relatedType[relatedType["DEBT"] = 2] = "DEBT";
|
|
5
|
-
relatedType[relatedType["TICKET"] = 3] = "TICKET";
|
|
6
|
-
})(relatedType || (relatedType = {}));
|
|
7
|
-
export var EventNotificationPeriod;
|
|
8
|
-
(function (EventNotificationPeriod) {
|
|
9
|
-
EventNotificationPeriod[EventNotificationPeriod["MINUTE"] = 1] = "MINUTE";
|
|
10
|
-
EventNotificationPeriod[EventNotificationPeriod["HOUR"] = 2] = "HOUR";
|
|
11
|
-
EventNotificationPeriod[EventNotificationPeriod["DAY"] = 3] = "DAY";
|
|
12
|
-
EventNotificationPeriod[EventNotificationPeriod["WEEK"] = 4] = "WEEK";
|
|
13
|
-
})(EventNotificationPeriod || (EventNotificationPeriod = {}));
|
|
1
|
+
export var relatedType;
|
|
2
|
+
(function (relatedType) {
|
|
3
|
+
relatedType[relatedType["CONTACT"] = 1] = "CONTACT";
|
|
4
|
+
relatedType[relatedType["DEBT"] = 2] = "DEBT";
|
|
5
|
+
relatedType[relatedType["TICKET"] = 3] = "TICKET";
|
|
6
|
+
})(relatedType || (relatedType = {}));
|
|
7
|
+
export var EventNotificationPeriod;
|
|
8
|
+
(function (EventNotificationPeriod) {
|
|
9
|
+
EventNotificationPeriod[EventNotificationPeriod["MINUTE"] = 1] = "MINUTE";
|
|
10
|
+
EventNotificationPeriod[EventNotificationPeriod["HOUR"] = 2] = "HOUR";
|
|
11
|
+
EventNotificationPeriod[EventNotificationPeriod["DAY"] = 3] = "DAY";
|
|
12
|
+
EventNotificationPeriod[EventNotificationPeriod["WEEK"] = 4] = "WEEK";
|
|
13
|
+
})(EventNotificationPeriod || (EventNotificationPeriod = {}));
|
package/dist/Calendar/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './Event';
|
|
1
|
+
export * from './Event';
|
package/dist/Calendar/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './Event';
|
|
1
|
+
export * from './Event';
|