@outlit/cli 3.1.0 → 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.
Files changed (2) hide show
  1. package/dist/cli.js +138 -22
  2. 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.0",
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.0",
150
+ "@outlit/tools": "^2.1.2",
151
151
  citty: "^0.2.1"
152
152
  },
153
153
  devDependencies: {
@@ -2263,6 +2263,47 @@ var init_dist4 = __esm(() => {
2263
2263
  type: "null"
2264
2264
  }
2265
2265
  ]
2266
+ },
2267
+ relationshipRole: {
2268
+ anyOf: [
2269
+ {
2270
+ type: "string"
2271
+ },
2272
+ {
2273
+ type: "null"
2274
+ }
2275
+ ]
2276
+ },
2277
+ jobTitle: {
2278
+ anyOf: [
2279
+ {
2280
+ type: "string"
2281
+ },
2282
+ {
2283
+ type: "null"
2284
+ }
2285
+ ]
2286
+ },
2287
+ department: {
2288
+ anyOf: [
2289
+ {
2290
+ type: "string"
2291
+ },
2292
+ {
2293
+ type: "null"
2294
+ }
2295
+ ]
2296
+ },
2297
+ employmentStartDate: {
2298
+ anyOf: [
2299
+ {
2300
+ type: "string",
2301
+ pattern: "^\\d{4}-\\d{2}-\\d{2}$"
2302
+ },
2303
+ {
2304
+ type: "null"
2305
+ }
2306
+ ]
2266
2307
  }
2267
2308
  },
2268
2309
  required: [
@@ -2274,7 +2315,11 @@ var init_dist4 = __esm(() => {
2274
2315
  "customerDomain",
2275
2316
  "journeyStage",
2276
2317
  "lastActivityAt",
2277
- "daysSinceActivity"
2318
+ "daysSinceActivity",
2319
+ "relationshipRole",
2320
+ "jobTitle",
2321
+ "department",
2322
+ "employmentStartDate"
2278
2323
  ],
2279
2324
  additionalProperties: false
2280
2325
  }
@@ -2707,6 +2752,47 @@ var init_dist4 = __esm(() => {
2707
2752
  type: "null"
2708
2753
  }
2709
2754
  ]
2755
+ },
2756
+ relationshipRole: {
2757
+ anyOf: [
2758
+ {
2759
+ type: "string"
2760
+ },
2761
+ {
2762
+ type: "null"
2763
+ }
2764
+ ]
2765
+ },
2766
+ jobTitle: {
2767
+ anyOf: [
2768
+ {
2769
+ type: "string"
2770
+ },
2771
+ {
2772
+ type: "null"
2773
+ }
2774
+ ]
2775
+ },
2776
+ department: {
2777
+ anyOf: [
2778
+ {
2779
+ type: "string"
2780
+ },
2781
+ {
2782
+ type: "null"
2783
+ }
2784
+ ]
2785
+ },
2786
+ employmentStartDate: {
2787
+ anyOf: [
2788
+ {
2789
+ type: "string",
2790
+ pattern: "^\\d{4}-\\d{2}-\\d{2}$"
2791
+ },
2792
+ {
2793
+ type: "null"
2794
+ }
2795
+ ]
2710
2796
  }
2711
2797
  },
2712
2798
  required: [
@@ -2714,7 +2800,11 @@ var init_dist4 = __esm(() => {
2714
2800
  "email",
2715
2801
  "name",
2716
2802
  "journeyStage",
2717
- "lastActivityAt"
2803
+ "lastActivityAt",
2804
+ "relationshipRole",
2805
+ "jobTitle",
2806
+ "department",
2807
+ "employmentStartDate"
2718
2808
  ],
2719
2809
  additionalProperties: false
2720
2810
  }
@@ -3956,6 +4046,7 @@ var init_dist4 = __esm(() => {
3956
4046
  "SUPPORT_TICKET",
3957
4047
  "OPPORTUNITY",
3958
4048
  "SLACK",
4049
+ "PERSON_PROFILE",
3959
4050
  "CRM",
3960
4051
  "CRM_OPPORTUNITY"
3961
4052
  ]
@@ -3983,17 +4074,21 @@ var init_dist4 = __esm(() => {
3983
4074
  "REQUIREMENTS",
3984
4075
  "PRODUCT_USAGE",
3985
4076
  "CONTACT_INFO",
3986
- "CONTACT_PREFERENCE"
4077
+ "CONTACT_PREFERENCE",
4078
+ "CONTACT_DEPARTURE",
4079
+ "CONTACT_POSITION_CHANGE",
4080
+ "CONTACT_DISENGAGEMENT"
3987
4081
  ]
3988
4082
  }
3989
4083
  },
3990
4084
  factCategories: {
3991
- description: "Optional public fact category filters. Supported values: MEMORY, CUSTOM.",
4085
+ description: "Optional public fact category filters. Supported values: MEMORY, RELATIONSHIP, CUSTOM.",
3992
4086
  type: "array",
3993
4087
  items: {
3994
4088
  type: "string",
3995
4089
  enum: [
3996
4090
  "MEMORY",
4091
+ "RELATIONSHIP",
3997
4092
  "CUSTOM"
3998
4093
  ]
3999
4094
  }
@@ -4173,7 +4268,8 @@ var init_dist4 = __esm(() => {
4173
4268
  "CALENDAR_EVENT",
4174
4269
  "SUPPORT_TICKET",
4175
4270
  "OPPORTUNITY",
4176
- "SLACK"
4271
+ "SLACK",
4272
+ "PERSON_PROFILE"
4177
4273
  ]
4178
4274
  },
4179
4275
  sourceId: {
@@ -4233,7 +4329,8 @@ var init_dist4 = __esm(() => {
4233
4329
  "CALENDAR_EVENT",
4234
4330
  "SUPPORT_TICKET",
4235
4331
  "OPPORTUNITY",
4236
- "SLACK"
4332
+ "SLACK",
4333
+ "PERSON_PROFILE"
4237
4334
  ]
4238
4335
  },
4239
4336
  {
@@ -4443,7 +4540,8 @@ var init_dist4 = __esm(() => {
4443
4540
  "CALENDAR_EVENT",
4444
4541
  "SUPPORT_TICKET",
4445
4542
  "OPPORTUNITY",
4446
- "SLACK"
4543
+ "SLACK",
4544
+ "PERSON_PROFILE"
4447
4545
  ]
4448
4546
  },
4449
4547
  {
@@ -4704,7 +4802,8 @@ var init_dist4 = __esm(() => {
4704
4802
  "CALENDAR_EVENT",
4705
4803
  "SUPPORT_TICKET",
4706
4804
  "OPPORTUNITY",
4707
- "SLACK"
4805
+ "SLACK",
4806
+ "PERSON_PROFILE"
4708
4807
  ]
4709
4808
  },
4710
4809
  sourceId: {
@@ -4764,7 +4863,8 @@ var init_dist4 = __esm(() => {
4764
4863
  "CALENDAR_EVENT",
4765
4864
  "SUPPORT_TICKET",
4766
4865
  "OPPORTUNITY",
4767
- "SLACK"
4866
+ "SLACK",
4867
+ "PERSON_PROFILE"
4768
4868
  ]
4769
4869
  },
4770
4870
  {
@@ -4974,7 +5074,8 @@ var init_dist4 = __esm(() => {
4974
5074
  "CALENDAR_EVENT",
4975
5075
  "SUPPORT_TICKET",
4976
5076
  "OPPORTUNITY",
4977
- "SLACK"
5077
+ "SLACK",
5078
+ "PERSON_PROFILE"
4978
5079
  ]
4979
5080
  },
4980
5081
  {
@@ -5084,6 +5185,7 @@ var init_dist4 = __esm(() => {
5084
5185
  "SUPPORT_TICKET",
5085
5186
  "OPPORTUNITY",
5086
5187
  "SLACK",
5188
+ "PERSON_PROFILE",
5087
5189
  "CRM",
5088
5190
  "CRM_OPPORTUNITY"
5089
5191
  ]
@@ -5123,7 +5225,8 @@ var init_dist4 = __esm(() => {
5123
5225
  "CALENDAR_EVENT",
5124
5226
  "SUPPORT_TICKET",
5125
5227
  "OPPORTUNITY",
5126
- "SLACK"
5228
+ "SLACK",
5229
+ "PERSON_PROFILE"
5127
5230
  ]
5128
5231
  },
5129
5232
  sourceId: {
@@ -5333,6 +5436,7 @@ var init_dist4 = __esm(() => {
5333
5436
  "SUPPORT_TICKET",
5334
5437
  "OPPORTUNITY",
5335
5438
  "SLACK",
5439
+ "PERSON_PROFILE",
5336
5440
  "CRM",
5337
5441
  "CRM_OPPORTUNITY"
5338
5442
  ]
@@ -5404,7 +5508,8 @@ var init_dist4 = __esm(() => {
5404
5508
  "CALENDAR_EVENT",
5405
5509
  "SUPPORT_TICKET",
5406
5510
  "OPPORTUNITY",
5407
- "SLACK"
5511
+ "SLACK",
5512
+ "PERSON_PROFILE"
5408
5513
  ]
5409
5514
  },
5410
5515
  sourceId: {
@@ -5684,6 +5789,7 @@ var init_dist4 = __esm(() => {
5684
5789
  "SUPPORT_TICKET",
5685
5790
  "OPPORTUNITY",
5686
5791
  "SLACK",
5792
+ "PERSON_PROFILE",
5687
5793
  "CRM",
5688
5794
  "CRM_OPPORTUNITY"
5689
5795
  ]
@@ -5887,7 +5993,8 @@ var init_dist4 = __esm(() => {
5887
5993
  "CALENDAR_EVENT",
5888
5994
  "SUPPORT_TICKET",
5889
5995
  "OPPORTUNITY",
5890
- "SLACK"
5996
+ "SLACK",
5997
+ "PERSON_PROFILE"
5891
5998
  ]
5892
5999
  },
5893
6000
  sourceId: {
@@ -5947,7 +6054,8 @@ var init_dist4 = __esm(() => {
5947
6054
  "CALENDAR_EVENT",
5948
6055
  "SUPPORT_TICKET",
5949
6056
  "OPPORTUNITY",
5950
- "SLACK"
6057
+ "SLACK",
6058
+ "PERSON_PROFILE"
5951
6059
  ]
5952
6060
  },
5953
6061
  {
@@ -6157,7 +6265,8 @@ var init_dist4 = __esm(() => {
6157
6265
  "CALENDAR_EVENT",
6158
6266
  "SUPPORT_TICKET",
6159
6267
  "OPPORTUNITY",
6160
- "SLACK"
6268
+ "SLACK",
6269
+ "PERSON_PROFILE"
6161
6270
  ]
6162
6271
  },
6163
6272
  {
@@ -6274,7 +6383,8 @@ var init_dist4 = __esm(() => {
6274
6383
  "CALENDAR_EVENT",
6275
6384
  "SUPPORT_TICKET",
6276
6385
  "OPPORTUNITY",
6277
- "SLACK"
6386
+ "SLACK",
6387
+ "PERSON_PROFILE"
6278
6388
  ]
6279
6389
  },
6280
6390
  sourceId: {
@@ -13153,7 +13263,10 @@ Returns column definitions and example queries for each view.`,
13153
13263
  "REQUIREMENTS",
13154
13264
  "PRODUCT_USAGE",
13155
13265
  "CONTACT_INFO",
13156
- "CONTACT_PREFERENCE"
13266
+ "CONTACT_PREFERENCE",
13267
+ "CONTACT_DEPARTURE",
13268
+ "CONTACT_POSITION_CHANGE",
13269
+ "CONTACT_DISENGAGEMENT"
13157
13270
  ];
13158
13271
  unsupportedCustomerFactTypes = [
13159
13272
  "TRACKING_GAP",
@@ -13169,6 +13282,7 @@ Returns column definitions and example queries for each view.`,
13169
13282
  ];
13170
13283
  customerFactCategories = [
13171
13284
  "MEMORY",
13285
+ "RELATIONSHIP",
13172
13286
  "CUSTOM"
13173
13287
  ];
13174
13288
  customerIncludeSections = [
@@ -13184,7 +13298,8 @@ Returns column definitions and example queries for each view.`,
13184
13298
  "CALENDAR_EVENT",
13185
13299
  "SUPPORT_TICKET",
13186
13300
  "OPPORTUNITY",
13187
- "SLACK"
13301
+ "SLACK",
13302
+ "PERSON_PROFILE"
13188
13303
  ];
13189
13304
  customerSourceTypeAliasMap = {
13190
13305
  CRM: "OPPORTUNITY",
@@ -13201,6 +13316,7 @@ Returns column definitions and example queries for each view.`,
13201
13316
  "SUPPORT_TICKET",
13202
13317
  "OPPORTUNITY",
13203
13318
  "SLACK",
13319
+ "PERSON_PROFILE",
13204
13320
  "CRM",
13205
13321
  "CRM_OPPORTUNITY"
13206
13322
  ];
@@ -17020,7 +17136,7 @@ var init_list5 = __esm(() => {
17020
17136
  },
17021
17137
  "fact-types": {
17022
17138
  type: "string",
17023
- description: "Comma-separated customer-memory fact type filter, such as CHURN_RISK, EXPANSION, or SENTIMENT"
17139
+ description: "Comma-separated public fact type filter, such as CHURN_RISK, CONTACT_DEPARTURE, or CONTACT_POSITION_CHANGE"
17024
17140
  },
17025
17141
  "fact-categories": {
17026
17142
  type: "string",
@@ -17062,7 +17178,7 @@ var init_list5 = __esm(() => {
17062
17178
  const unknownFactTypes = invalidFactTypes.filter((value) => !unsupportedCustomerFactTypes.includes(value));
17063
17179
  const messageParts = [];
17064
17180
  if (anomalyFactTypes.length > 0) {
17065
- messageParts.push(`Anomaly detector fact types are not supported as public filters: ${anomalyFactTypes.join(", ")}. Use customer-memory fact types such as CHURN_RISK, EXPANSION, SENTIMENT, or PRODUCT_USAGE.`);
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.`);
17066
17182
  }
17067
17183
  if (unknownFactTypes.length > 0) {
17068
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.0",
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.0",
46
+ "@outlit/tools": "^2.1.2",
47
47
  "citty": "^0.2.1"
48
48
  },
49
49
  "devDependencies": {