@outlit/cli 3.1.1 → 3.1.2
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/cli.js +46 -20
- package/package.json +2 -2
package/dist/cli.js
CHANGED
|
@@ -104,7 +104,7 @@ var package_default;
|
|
|
104
104
|
var init_package = __esm(() => {
|
|
105
105
|
package_default = {
|
|
106
106
|
name: "@outlit/cli",
|
|
107
|
-
version: "3.1.
|
|
107
|
+
version: "3.1.2",
|
|
108
108
|
description: "CLI for querying Outlit customer context and installing agent skills",
|
|
109
109
|
license: "Apache-2.0",
|
|
110
110
|
repository: {
|
|
@@ -147,7 +147,7 @@ var init_package = __esm(() => {
|
|
|
147
147
|
},
|
|
148
148
|
dependencies: {
|
|
149
149
|
"@clack/prompts": "^1.0.1",
|
|
150
|
-
"@outlit/tools": "^2.1.
|
|
150
|
+
"@outlit/tools": "^2.1.2",
|
|
151
151
|
citty: "^0.2.1"
|
|
152
152
|
},
|
|
153
153
|
devDependencies: {
|
|
@@ -4046,6 +4046,7 @@ var init_dist4 = __esm(() => {
|
|
|
4046
4046
|
"SUPPORT_TICKET",
|
|
4047
4047
|
"OPPORTUNITY",
|
|
4048
4048
|
"SLACK",
|
|
4049
|
+
"PERSON_PROFILE",
|
|
4049
4050
|
"CRM",
|
|
4050
4051
|
"CRM_OPPORTUNITY"
|
|
4051
4052
|
]
|
|
@@ -4073,17 +4074,21 @@ var init_dist4 = __esm(() => {
|
|
|
4073
4074
|
"REQUIREMENTS",
|
|
4074
4075
|
"PRODUCT_USAGE",
|
|
4075
4076
|
"CONTACT_INFO",
|
|
4076
|
-
"CONTACT_PREFERENCE"
|
|
4077
|
+
"CONTACT_PREFERENCE",
|
|
4078
|
+
"CONTACT_DEPARTURE",
|
|
4079
|
+
"CONTACT_POSITION_CHANGE",
|
|
4080
|
+
"CONTACT_DISENGAGEMENT"
|
|
4077
4081
|
]
|
|
4078
4082
|
}
|
|
4079
4083
|
},
|
|
4080
4084
|
factCategories: {
|
|
4081
|
-
description: "Optional public fact category filters. Supported values: MEMORY, CUSTOM.",
|
|
4085
|
+
description: "Optional public fact category filters. Supported values: MEMORY, RELATIONSHIP, CUSTOM.",
|
|
4082
4086
|
type: "array",
|
|
4083
4087
|
items: {
|
|
4084
4088
|
type: "string",
|
|
4085
4089
|
enum: [
|
|
4086
4090
|
"MEMORY",
|
|
4091
|
+
"RELATIONSHIP",
|
|
4087
4092
|
"CUSTOM"
|
|
4088
4093
|
]
|
|
4089
4094
|
}
|
|
@@ -4263,7 +4268,8 @@ var init_dist4 = __esm(() => {
|
|
|
4263
4268
|
"CALENDAR_EVENT",
|
|
4264
4269
|
"SUPPORT_TICKET",
|
|
4265
4270
|
"OPPORTUNITY",
|
|
4266
|
-
"SLACK"
|
|
4271
|
+
"SLACK",
|
|
4272
|
+
"PERSON_PROFILE"
|
|
4267
4273
|
]
|
|
4268
4274
|
},
|
|
4269
4275
|
sourceId: {
|
|
@@ -4323,7 +4329,8 @@ var init_dist4 = __esm(() => {
|
|
|
4323
4329
|
"CALENDAR_EVENT",
|
|
4324
4330
|
"SUPPORT_TICKET",
|
|
4325
4331
|
"OPPORTUNITY",
|
|
4326
|
-
"SLACK"
|
|
4332
|
+
"SLACK",
|
|
4333
|
+
"PERSON_PROFILE"
|
|
4327
4334
|
]
|
|
4328
4335
|
},
|
|
4329
4336
|
{
|
|
@@ -4533,7 +4540,8 @@ var init_dist4 = __esm(() => {
|
|
|
4533
4540
|
"CALENDAR_EVENT",
|
|
4534
4541
|
"SUPPORT_TICKET",
|
|
4535
4542
|
"OPPORTUNITY",
|
|
4536
|
-
"SLACK"
|
|
4543
|
+
"SLACK",
|
|
4544
|
+
"PERSON_PROFILE"
|
|
4537
4545
|
]
|
|
4538
4546
|
},
|
|
4539
4547
|
{
|
|
@@ -4794,7 +4802,8 @@ var init_dist4 = __esm(() => {
|
|
|
4794
4802
|
"CALENDAR_EVENT",
|
|
4795
4803
|
"SUPPORT_TICKET",
|
|
4796
4804
|
"OPPORTUNITY",
|
|
4797
|
-
"SLACK"
|
|
4805
|
+
"SLACK",
|
|
4806
|
+
"PERSON_PROFILE"
|
|
4798
4807
|
]
|
|
4799
4808
|
},
|
|
4800
4809
|
sourceId: {
|
|
@@ -4854,7 +4863,8 @@ var init_dist4 = __esm(() => {
|
|
|
4854
4863
|
"CALENDAR_EVENT",
|
|
4855
4864
|
"SUPPORT_TICKET",
|
|
4856
4865
|
"OPPORTUNITY",
|
|
4857
|
-
"SLACK"
|
|
4866
|
+
"SLACK",
|
|
4867
|
+
"PERSON_PROFILE"
|
|
4858
4868
|
]
|
|
4859
4869
|
},
|
|
4860
4870
|
{
|
|
@@ -5064,7 +5074,8 @@ var init_dist4 = __esm(() => {
|
|
|
5064
5074
|
"CALENDAR_EVENT",
|
|
5065
5075
|
"SUPPORT_TICKET",
|
|
5066
5076
|
"OPPORTUNITY",
|
|
5067
|
-
"SLACK"
|
|
5077
|
+
"SLACK",
|
|
5078
|
+
"PERSON_PROFILE"
|
|
5068
5079
|
]
|
|
5069
5080
|
},
|
|
5070
5081
|
{
|
|
@@ -5174,6 +5185,7 @@ var init_dist4 = __esm(() => {
|
|
|
5174
5185
|
"SUPPORT_TICKET",
|
|
5175
5186
|
"OPPORTUNITY",
|
|
5176
5187
|
"SLACK",
|
|
5188
|
+
"PERSON_PROFILE",
|
|
5177
5189
|
"CRM",
|
|
5178
5190
|
"CRM_OPPORTUNITY"
|
|
5179
5191
|
]
|
|
@@ -5213,7 +5225,8 @@ var init_dist4 = __esm(() => {
|
|
|
5213
5225
|
"CALENDAR_EVENT",
|
|
5214
5226
|
"SUPPORT_TICKET",
|
|
5215
5227
|
"OPPORTUNITY",
|
|
5216
|
-
"SLACK"
|
|
5228
|
+
"SLACK",
|
|
5229
|
+
"PERSON_PROFILE"
|
|
5217
5230
|
]
|
|
5218
5231
|
},
|
|
5219
5232
|
sourceId: {
|
|
@@ -5423,6 +5436,7 @@ var init_dist4 = __esm(() => {
|
|
|
5423
5436
|
"SUPPORT_TICKET",
|
|
5424
5437
|
"OPPORTUNITY",
|
|
5425
5438
|
"SLACK",
|
|
5439
|
+
"PERSON_PROFILE",
|
|
5426
5440
|
"CRM",
|
|
5427
5441
|
"CRM_OPPORTUNITY"
|
|
5428
5442
|
]
|
|
@@ -5494,7 +5508,8 @@ var init_dist4 = __esm(() => {
|
|
|
5494
5508
|
"CALENDAR_EVENT",
|
|
5495
5509
|
"SUPPORT_TICKET",
|
|
5496
5510
|
"OPPORTUNITY",
|
|
5497
|
-
"SLACK"
|
|
5511
|
+
"SLACK",
|
|
5512
|
+
"PERSON_PROFILE"
|
|
5498
5513
|
]
|
|
5499
5514
|
},
|
|
5500
5515
|
sourceId: {
|
|
@@ -5774,6 +5789,7 @@ var init_dist4 = __esm(() => {
|
|
|
5774
5789
|
"SUPPORT_TICKET",
|
|
5775
5790
|
"OPPORTUNITY",
|
|
5776
5791
|
"SLACK",
|
|
5792
|
+
"PERSON_PROFILE",
|
|
5777
5793
|
"CRM",
|
|
5778
5794
|
"CRM_OPPORTUNITY"
|
|
5779
5795
|
]
|
|
@@ -5977,7 +5993,8 @@ var init_dist4 = __esm(() => {
|
|
|
5977
5993
|
"CALENDAR_EVENT",
|
|
5978
5994
|
"SUPPORT_TICKET",
|
|
5979
5995
|
"OPPORTUNITY",
|
|
5980
|
-
"SLACK"
|
|
5996
|
+
"SLACK",
|
|
5997
|
+
"PERSON_PROFILE"
|
|
5981
5998
|
]
|
|
5982
5999
|
},
|
|
5983
6000
|
sourceId: {
|
|
@@ -6037,7 +6054,8 @@ var init_dist4 = __esm(() => {
|
|
|
6037
6054
|
"CALENDAR_EVENT",
|
|
6038
6055
|
"SUPPORT_TICKET",
|
|
6039
6056
|
"OPPORTUNITY",
|
|
6040
|
-
"SLACK"
|
|
6057
|
+
"SLACK",
|
|
6058
|
+
"PERSON_PROFILE"
|
|
6041
6059
|
]
|
|
6042
6060
|
},
|
|
6043
6061
|
{
|
|
@@ -6247,7 +6265,8 @@ var init_dist4 = __esm(() => {
|
|
|
6247
6265
|
"CALENDAR_EVENT",
|
|
6248
6266
|
"SUPPORT_TICKET",
|
|
6249
6267
|
"OPPORTUNITY",
|
|
6250
|
-
"SLACK"
|
|
6268
|
+
"SLACK",
|
|
6269
|
+
"PERSON_PROFILE"
|
|
6251
6270
|
]
|
|
6252
6271
|
},
|
|
6253
6272
|
{
|
|
@@ -6364,7 +6383,8 @@ var init_dist4 = __esm(() => {
|
|
|
6364
6383
|
"CALENDAR_EVENT",
|
|
6365
6384
|
"SUPPORT_TICKET",
|
|
6366
6385
|
"OPPORTUNITY",
|
|
6367
|
-
"SLACK"
|
|
6386
|
+
"SLACK",
|
|
6387
|
+
"PERSON_PROFILE"
|
|
6368
6388
|
]
|
|
6369
6389
|
},
|
|
6370
6390
|
sourceId: {
|
|
@@ -13243,7 +13263,10 @@ Returns column definitions and example queries for each view.`,
|
|
|
13243
13263
|
"REQUIREMENTS",
|
|
13244
13264
|
"PRODUCT_USAGE",
|
|
13245
13265
|
"CONTACT_INFO",
|
|
13246
|
-
"CONTACT_PREFERENCE"
|
|
13266
|
+
"CONTACT_PREFERENCE",
|
|
13267
|
+
"CONTACT_DEPARTURE",
|
|
13268
|
+
"CONTACT_POSITION_CHANGE",
|
|
13269
|
+
"CONTACT_DISENGAGEMENT"
|
|
13247
13270
|
];
|
|
13248
13271
|
unsupportedCustomerFactTypes = [
|
|
13249
13272
|
"TRACKING_GAP",
|
|
@@ -13259,6 +13282,7 @@ Returns column definitions and example queries for each view.`,
|
|
|
13259
13282
|
];
|
|
13260
13283
|
customerFactCategories = [
|
|
13261
13284
|
"MEMORY",
|
|
13285
|
+
"RELATIONSHIP",
|
|
13262
13286
|
"CUSTOM"
|
|
13263
13287
|
];
|
|
13264
13288
|
customerIncludeSections = [
|
|
@@ -13274,7 +13298,8 @@ Returns column definitions and example queries for each view.`,
|
|
|
13274
13298
|
"CALENDAR_EVENT",
|
|
13275
13299
|
"SUPPORT_TICKET",
|
|
13276
13300
|
"OPPORTUNITY",
|
|
13277
|
-
"SLACK"
|
|
13301
|
+
"SLACK",
|
|
13302
|
+
"PERSON_PROFILE"
|
|
13278
13303
|
];
|
|
13279
13304
|
customerSourceTypeAliasMap = {
|
|
13280
13305
|
CRM: "OPPORTUNITY",
|
|
@@ -13291,6 +13316,7 @@ Returns column definitions and example queries for each view.`,
|
|
|
13291
13316
|
"SUPPORT_TICKET",
|
|
13292
13317
|
"OPPORTUNITY",
|
|
13293
13318
|
"SLACK",
|
|
13319
|
+
"PERSON_PROFILE",
|
|
13294
13320
|
"CRM",
|
|
13295
13321
|
"CRM_OPPORTUNITY"
|
|
13296
13322
|
];
|
|
@@ -17110,7 +17136,7 @@ var init_list5 = __esm(() => {
|
|
|
17110
17136
|
},
|
|
17111
17137
|
"fact-types": {
|
|
17112
17138
|
type: "string",
|
|
17113
|
-
description: "Comma-separated
|
|
17139
|
+
description: "Comma-separated public fact type filter, such as CHURN_RISK, CONTACT_DEPARTURE, or CONTACT_POSITION_CHANGE"
|
|
17114
17140
|
},
|
|
17115
17141
|
"fact-categories": {
|
|
17116
17142
|
type: "string",
|
|
@@ -17152,7 +17178,7 @@ var init_list5 = __esm(() => {
|
|
|
17152
17178
|
const unknownFactTypes = invalidFactTypes.filter((value) => !unsupportedCustomerFactTypes.includes(value));
|
|
17153
17179
|
const messageParts = [];
|
|
17154
17180
|
if (anomalyFactTypes.length > 0) {
|
|
17155
|
-
messageParts.push(`Anomaly detector fact types are not supported as public filters: ${anomalyFactTypes.join(", ")}. Use
|
|
17181
|
+
messageParts.push(`Anomaly detector fact types are not supported as public filters: ${anomalyFactTypes.join(", ")}. Use public fact types such as CHURN_RISK, PRODUCT_USAGE, CONTACT_DEPARTURE, or CONTACT_POSITION_CHANGE.`);
|
|
17156
17182
|
}
|
|
17157
17183
|
if (unknownFactTypes.length > 0) {
|
|
17158
17184
|
messageParts.push(`Unknown fact types: ${unknownFactTypes.join(", ")}. Allowed: ${customerFactTypes.join(", ")}`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@outlit/cli",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.2",
|
|
4
4
|
"description": "CLI for querying Outlit customer context and installing agent skills",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@clack/prompts": "^1.0.1",
|
|
46
|
-
"@outlit/tools": "^2.1.
|
|
46
|
+
"@outlit/tools": "^2.1.2",
|
|
47
47
|
"citty": "^0.2.1"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|