@trii/types 2.10.619 → 2.10.621
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.
|
@@ -4,7 +4,7 @@ export declare enum WhatsAppConectionType {
|
|
|
4
4
|
CLOUDAPI = 7,
|
|
5
5
|
CLOUDAPI_COEXISTENCE = 8
|
|
6
6
|
}
|
|
7
|
-
export
|
|
7
|
+
export interface WhatsAppConfig {
|
|
8
8
|
useInCampaigns?: boolean;
|
|
9
9
|
token?: string;
|
|
10
10
|
reOpenTime?: number;
|
|
@@ -30,9 +30,36 @@ export declare class WhatsAppConfig {
|
|
|
30
30
|
apiqrToken?: string;
|
|
31
31
|
apiqrVersion?: string;
|
|
32
32
|
apiqrPhoneNumber?: string;
|
|
33
|
+
onboardingCompleted: boolean;
|
|
34
|
+
manualConfigurationCompleted: boolean;
|
|
33
35
|
cloudApiSystemUserAccessToken?: string;
|
|
34
36
|
cloudApiAppToken?: string;
|
|
35
|
-
cloudApiWhatsAppBusinessAccountId?: string;
|
|
36
37
|
cloudApiMetaDeveloperAppId?: string;
|
|
37
38
|
cloudApiWhatsAppPhoneNumberId?: string;
|
|
39
|
+
cloudApiWhatsAppBusinessAccountId?: string;
|
|
40
|
+
cloudApiWhatsAppBusinessAccountName?: string;
|
|
41
|
+
cloudApiPIN: string | '';
|
|
42
|
+
cloudApiBusinessId: string | '';
|
|
43
|
+
cloudApiBusinessName: string | '';
|
|
44
|
+
cloudApiBusinessIsVerified: boolean;
|
|
45
|
+
cloudApiIsOBA: boolean;
|
|
46
|
+
cloudApiInfo: CloudApiInfo;
|
|
47
|
+
}
|
|
48
|
+
export interface CloudApiInfo {
|
|
49
|
+
verifiedName: string;
|
|
50
|
+
nameStatus: string;
|
|
51
|
+
requestName: string;
|
|
52
|
+
phoneNumber?: string;
|
|
53
|
+
username?: string;
|
|
54
|
+
isActive: boolean;
|
|
55
|
+
isWebhookSet: boolean;
|
|
56
|
+
isOnBizApp: boolean;
|
|
57
|
+
about: string;
|
|
58
|
+
address: string;
|
|
59
|
+
description: string;
|
|
60
|
+
email: string;
|
|
61
|
+
profilePictureUrl: string;
|
|
62
|
+
websites: string[];
|
|
63
|
+
/**Category */
|
|
64
|
+
vertical: string;
|
|
38
65
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.WhatsAppConectionType = void 0;
|
|
4
4
|
var WhatsAppConectionType;
|
|
5
5
|
(function (WhatsAppConectionType) {
|
|
6
6
|
// NULL = 0,
|
|
@@ -10,6 +10,3 @@ var WhatsAppConectionType;
|
|
|
10
10
|
WhatsAppConectionType[WhatsAppConectionType["CLOUDAPI"] = 7] = "CLOUDAPI";
|
|
11
11
|
WhatsAppConectionType[WhatsAppConectionType["CLOUDAPI_COEXISTENCE"] = 8] = "CLOUDAPI_COEXISTENCE";
|
|
12
12
|
})(WhatsAppConectionType || (exports.WhatsAppConectionType = WhatsAppConectionType = {}));
|
|
13
|
-
class WhatsAppConfig {
|
|
14
|
-
}
|
|
15
|
-
exports.WhatsAppConfig = WhatsAppConfig;
|
|
@@ -6,8 +6,21 @@ export interface Relationship {
|
|
|
6
6
|
sourceDataTransformation: string;
|
|
7
7
|
searchContactFieldId: string;
|
|
8
8
|
searchContactFieldName: string;
|
|
9
|
+
searchCondition: SearchCondition;
|
|
9
10
|
createdAt?: Date | null;
|
|
10
11
|
createdBy?: string | null;
|
|
11
12
|
updatedAt?: Date | null;
|
|
12
13
|
updatedBy?: string | null;
|
|
13
14
|
}
|
|
15
|
+
export declare enum SearchCondition {
|
|
16
|
+
Equals = 0,
|
|
17
|
+
NotEquals = 1,
|
|
18
|
+
Contains = 2,
|
|
19
|
+
NotContains = 3,
|
|
20
|
+
StartsWith = 4,
|
|
21
|
+
EndsWith = 5,
|
|
22
|
+
GreaterThan = 6,
|
|
23
|
+
LessThan = 7,
|
|
24
|
+
GreaterThanOrEqual = 8,
|
|
25
|
+
LessThanOrEqual = 9
|
|
26
|
+
}
|
|
@@ -1,2 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SearchCondition = void 0;
|
|
4
|
+
var SearchCondition;
|
|
5
|
+
(function (SearchCondition) {
|
|
6
|
+
SearchCondition[SearchCondition["Equals"] = 0] = "Equals";
|
|
7
|
+
SearchCondition[SearchCondition["NotEquals"] = 1] = "NotEquals";
|
|
8
|
+
SearchCondition[SearchCondition["Contains"] = 2] = "Contains";
|
|
9
|
+
SearchCondition[SearchCondition["NotContains"] = 3] = "NotContains";
|
|
10
|
+
SearchCondition[SearchCondition["StartsWith"] = 4] = "StartsWith";
|
|
11
|
+
SearchCondition[SearchCondition["EndsWith"] = 5] = "EndsWith";
|
|
12
|
+
SearchCondition[SearchCondition["GreaterThan"] = 6] = "GreaterThan";
|
|
13
|
+
SearchCondition[SearchCondition["LessThan"] = 7] = "LessThan";
|
|
14
|
+
SearchCondition[SearchCondition["GreaterThanOrEqual"] = 8] = "GreaterThanOrEqual";
|
|
15
|
+
SearchCondition[SearchCondition["LessThanOrEqual"] = 9] = "LessThanOrEqual";
|
|
16
|
+
})(SearchCondition || (exports.SearchCondition = SearchCondition = {}));
|