@iterable/cli 0.3.4 → 0.4.0

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/COMMANDS.md CHANGED
@@ -1,4 +1,4 @@
1
- # Available Commands (110)
1
+ # Available Commands (111)
2
2
 
3
3
  All commands follow the pattern: `iterable <category> <command> [options]`
4
4
 
@@ -197,7 +197,7 @@ iterable campaigns trigger --campaignId <campaignId> --listIds <listIds...>
197
197
  | `--suppressionListIds` | number[] | no | Lists to suppress |
198
198
 
199
199
 
200
- ## catalogs (12)
200
+ ## catalogs (13)
201
201
 
202
202
  ### bulk-delete-items
203
203
 
@@ -317,6 +317,19 @@ iterable catalogs partial-update-item --catalogName <catalogName> --itemId <item
317
317
  | `--itemId` | string | **yes** | ID of the catalog item |
318
318
  | `--update` | json | **yes** | Fields to update |
319
319
 
320
+ ### partial-update-items
321
+
322
+ Bulk partial update catalog items (merge fields per item ID)
323
+
324
+ ```
325
+ iterable catalogs partial-update-items <catalogName> --documents <json>
326
+ ```
327
+
328
+ | Option | Type | Required | Description |
329
+ |--------|------|----------|-------------|
330
+ | `catalogName` | string | **yes** | Name of the catalog |
331
+ | `--documents` | json | **yes** | Map of catalog item ID to field values |
332
+
320
333
  ### replace-item
321
334
 
322
335
  Replace (PUT) a catalog item - replaces the entire item with new value
@@ -331,31 +344,31 @@ iterable catalogs replace-item --catalogName <catalogName> --itemId <itemId> --v
331
344
  | `--itemId` | string | **yes** | ID of the catalog item |
332
345
  | `--value` | json | **yes** | New value for the item |
333
346
 
334
- ### update-field-mappings
347
+ ### replace-items
335
348
 
336
- Update catalog field mappings (data types)
349
+ Bulk replace catalog items (each item becomes only provided fields)
337
350
 
338
351
  ```
339
- iterable catalogs update-field-mappings <catalogName> --mappingsUpdates <mappingsUpdates...>
352
+ iterable catalogs replace-items <catalogName> --documents <json>
340
353
  ```
341
354
 
342
355
  | Option | Type | Required | Description |
343
356
  |--------|------|----------|-------------|
344
357
  | `catalogName` | string | **yes** | Name of the catalog |
345
- | `--mappingsUpdates` | string[] | **yes** | Field mappings to update |
358
+ | `--documents` | json | **yes** | Map of catalog item ID to field values |
346
359
 
347
- ### update-items
360
+ ### update-field-mappings
348
361
 
349
- Update catalog items
362
+ Update catalog field mappings (data types)
350
363
 
351
364
  ```
352
- iterable catalogs update-items <catalogName> --items <items...>
365
+ iterable catalogs update-field-mappings <catalogName> --mappingsUpdates <mappingsUpdates...>
353
366
  ```
354
367
 
355
368
  | Option | Type | Required | Description |
356
369
  |--------|------|----------|-------------|
357
370
  | `catalogName` | string | **yes** | Name of the catalog |
358
- | `--items` | json[] | **yes** | Catalog items to update |
371
+ | `--mappingsUpdates` | string[] | **yes** | Field mappings to update |
359
372
 
360
373
 
361
374
  ## events (4)
@@ -1268,17 +1281,28 @@ iterable templates update-email <templateId>
1268
1281
  | Option | Type | Required | Description |
1269
1282
  |--------|------|----------|-------------|
1270
1283
  | `templateId` | number | **yes** | Template ID to update |
1284
+ | `--bccEmails` | string[] | no | BCC emails |
1285
+ | `--cacheDataFeed` | boolean | no | Cache data feed lookups for 1 hour |
1271
1286
  | `--campaignDataFields` | json | no | Campaign-level data fields available as {{field}} merge parameters during message rendering. These fields are overridden by user and event data fields of the same name. |
1272
1287
  | `--campaignId` | number | no | Associated campaign ID |
1288
+ | `--ccEmails` | string[] | no | CC emails |
1273
1289
  | `--creatorUserId` | string | no | Creator user ID |
1274
- | `--fromEmail` | string | no | From email |
1290
+ | `--dataFeedId` | number | no | [Deprecated - use dataFeedIds instead] ID for data feed used in template rendering |
1291
+ | `--dataFeedIds` | number[] | no | Ids for data feeds used in template rendering |
1292
+ | `--fromEmail` | string | no | From email (must be an authorized sender) |
1275
1293
  | `--fromName` | string | no | From name |
1276
- | `--html` | string | no | HTML content |
1294
+ | `--googleAnalyticsCampaignName` | string | no | Google analytics utm_campaign value |
1295
+ | `--html` | string | no | HTML contents |
1296
+ | `--isDefaultLocale` | boolean | no | Sets the locale associated with the request content as the template's default |
1297
+ | `--linkParams` | json[] | no | Parameters to append to each URL in html contents |
1277
1298
  | `--locale` | string | no | Template locale |
1299
+ | `--mergeDataFeedContext` | boolean | no | Merge data feed contents into user context, so fields can be referenced by {{field}} instead of [[field]] |
1278
1300
  | `--messageTypeId` | number | no | Message type ID |
1279
1301
  | `--name` | string | no | Template name |
1280
- | `--plainText` | string | no | Plain text content |
1281
- | `--subject` | string | no | Email subject |
1302
+ | `--plainText` | string | no | Plain text contents |
1303
+ | `--preheaderText` | string | no | Preheader text |
1304
+ | `--replyToEmail` | string | no | Reply to email |
1305
+ | `--subject` | string | no | Subject |
1282
1306
 
1283
1307
  ### update-inapp
1284
1308
 
@@ -1294,10 +1318,17 @@ iterable templates update-inapp <templateId>
1294
1318
  | `--campaignDataFields` | json | no | Campaign-level data fields available as {{field}} merge parameters during message rendering. These fields are overridden by user and event data fields of the same name. |
1295
1319
  | `--campaignId` | number | no | Associated campaign ID |
1296
1320
  | `--creatorUserId` | string | no | Creator user ID |
1297
- | `--html` | string | no | HTML content of the in-app notification |
1321
+ | `--expirationDateTime` | string | no | The in-app message's absolute expiration time. Format is YYYY-MM-DD HH:MM:SS (UTC timestamp, time zones not allowed) |
1322
+ | `--expirationDuration` | string | no | The in-app message's expiration time, relative to its send time. Should be an expression such as now+90d |
1323
+ | `--html` | string | no | Html of the in-app notification |
1324
+ | `--inAppDisplaySettings` | json | no | Display settings |
1325
+ | `--inboxMetadata` | json | no | Title, subtitle, and thumbnail |
1326
+ | `--isDefaultLocale` | boolean | no | Sets the locale associated with the request content as the template's default |
1298
1327
  | `--locale` | string | no | Template locale |
1299
1328
  | `--messageTypeId` | number | no | Message type ID |
1300
1329
  | `--name` | string | no | Template name |
1330
+ | `--payload` | json | no | Payload |
1331
+ | `--webInAppDisplaySettings` | json | no | Web In-app Display settings |
1301
1332
 
1302
1333
  ### update-push
1303
1334
 
@@ -1310,17 +1341,28 @@ iterable templates update-push <templateId>
1310
1341
  | Option | Type | Required | Description |
1311
1342
  |--------|------|----------|-------------|
1312
1343
  | `templateId` | number | **yes** | Template ID to update |
1313
- | `--badge` | number | no | Badge count |
1344
+ | `--badge` | string | no | Badge to set for push notification |
1345
+ | `--buttons` | json[] | no | Array of buttons that appear to respond to the push. Max of 3 |
1346
+ | `--cacheDataFeed` | boolean | no | Cache data feed lookups for 1 hour |
1314
1347
  | `--campaignDataFields` | json | no | Campaign-level data fields available as {{field}} merge parameters during message rendering. These fields are overridden by user and event data fields of the same name. |
1315
1348
  | `--campaignId` | number | no | Associated campaign ID |
1316
1349
  | `--creatorUserId` | string | no | Creator user ID |
1350
+ | `--dataFeedIds` | number[] | no | Ids for data feeds used in template rendering |
1351
+ | `--deeplink` | json | no | Deep Link. A mapping that accepts two optional properties: 'ios' & 'android' and their respective deep link values |
1352
+ | `--interruptionLevel` | `passive` \| `active` \| `time-sensitive` \| `critical` | no | An interruption level helps iOS determine when to alert a user about the arrival of a push notification |
1353
+ | `--isDefaultLocale` | boolean | no | Sets the locale associated with the request content as the template's default |
1354
+ | `--isSilentPush` | boolean | no | Whether or not this is a silent push notification template |
1317
1355
  | `--locale` | string | no | Template locale |
1318
- | `--message` | string | no | Push notification message |
1356
+ | `--mergeDataFeedContext` | boolean | no | Merge data feed contents into user context, so fields can be referenced by {{field}} instead of [[field]] |
1357
+ | `--message` | string | no | Push message |
1319
1358
  | `--messageTypeId` | number | no | Message type ID |
1320
1359
  | `--name` | string | no | Template name |
1321
- | `--payload` | json | no | Custom payload |
1322
- | `--sound` | string | no | Sound file |
1323
- | `--title` | string | no | Push notification title |
1360
+ | `--payload` | json | no | Payload to send with push notification |
1361
+ | `--relevanceScore` | number | no | Relevance score for iOS notifications on iOS 15+. Number is clamped between 0 and 1.0 |
1362
+ | `--richMedia` | json | no | Rich Media URL. A mapping that accepts two optional properties: 'ios' & 'android' and their respective rich media url values |
1363
+ | `--sound` | string | no | Sound |
1364
+ | `--title` | string | no | Push message title |
1365
+ | `--wake` | boolean | no | Set the content-available flag on iOS notifications, which will wake the app in the background |
1324
1366
 
1325
1367
  ### update-sms
1326
1368
 
@@ -1336,10 +1378,15 @@ iterable templates update-sms <templateId>
1336
1378
  | `--campaignDataFields` | json | no | Campaign-level data fields available as {{field}} merge parameters during message rendering. These fields are overridden by user and event data fields of the same name. |
1337
1379
  | `--campaignId` | number | no | Associated campaign ID |
1338
1380
  | `--creatorUserId` | string | no | Creator user ID |
1381
+ | `--googleAnalyticsCampaignName` | string | no | Google analytics utm_campaign value |
1382
+ | `--imageUrl` | string | no | Image URL |
1383
+ | `--isDefaultLocale` | boolean | no | Sets the locale associated with the request content as the template's default |
1384
+ | `--linkParams` | json[] | no | Parameters to append to each URL in contents |
1339
1385
  | `--locale` | string | no | Template locale |
1340
- | `--message` | string | no | SMS message content |
1386
+ | `--message` | string | no | SMS message |
1341
1387
  | `--messageTypeId` | number | no | Message type ID |
1342
1388
  | `--name` | string | no | Template name |
1389
+ | `--trackingDomain` | string | no | Tracking Domain |
1343
1390
 
1344
1391
  ### upsert-email
1345
1392
 
@@ -1352,17 +1399,28 @@ iterable templates upsert-email <clientTemplateId>
1352
1399
  | Option | Type | Required | Description |
1353
1400
  |--------|------|----------|-------------|
1354
1401
  | `clientTemplateId` | string | **yes** | Client template ID |
1402
+ | `--bccEmails` | string[] | no | BCC emails |
1403
+ | `--cacheDataFeed` | boolean | no | Cache data feed lookups for 1 hour |
1355
1404
  | `--campaignDataFields` | json | no | Campaign-level data fields available as {{field}} merge parameters during message rendering. These fields are overridden by user and event data fields of the same name. |
1356
1405
  | `--campaignId` | number | no | Associated campaign ID |
1406
+ | `--ccEmails` | string[] | no | CC emails |
1357
1407
  | `--creatorUserId` | string | no | Creator user ID |
1358
- | `--fromEmail` | string | no | From email |
1408
+ | `--dataFeedId` | number | no | [Deprecated - use dataFeedIds instead] ID for data feed used in template rendering |
1409
+ | `--dataFeedIds` | number[] | no | Ids for data feeds used in template rendering |
1410
+ | `--fromEmail` | string | no | From email (must be an authorized sender) |
1359
1411
  | `--fromName` | string | no | From name |
1360
- | `--html` | string | no | HTML content |
1412
+ | `--googleAnalyticsCampaignName` | string | no | Google analytics utm_campaign value |
1413
+ | `--html` | string | no | HTML contents |
1414
+ | `--isDefaultLocale` | boolean | no | Sets the locale associated with the request content as the template's default |
1415
+ | `--linkParams` | json[] | no | Parameters to append to each URL in html contents |
1361
1416
  | `--locale` | string | no | Template locale |
1417
+ | `--mergeDataFeedContext` | boolean | no | Merge data feed contents into user context, so fields can be referenced by {{field}} instead of [[field]] |
1362
1418
  | `--messageTypeId` | number | no | Message type ID |
1363
1419
  | `--name` | string | no | Template name |
1364
- | `--plainText` | string | no | Plain text content |
1365
- | `--subject` | string | no | Email subject |
1420
+ | `--plainText` | string | no | Plain text contents |
1421
+ | `--preheaderText` | string | no | Preheader text |
1422
+ | `--replyToEmail` | string | no | Reply to email |
1423
+ | `--subject` | string | no | Subject |
1366
1424
 
1367
1425
  ### upsert-inapp
1368
1426
 
@@ -1378,10 +1436,17 @@ iterable templates upsert-inapp <clientTemplateId>
1378
1436
  | `--campaignDataFields` | json | no | Campaign-level data fields available as {{field}} merge parameters during message rendering. These fields are overridden by user and event data fields of the same name. |
1379
1437
  | `--campaignId` | number | no | Associated campaign ID |
1380
1438
  | `--creatorUserId` | string | no | Creator user ID |
1381
- | `--html` | string | no | HTML content of the in-app notification |
1439
+ | `--expirationDateTime` | string | no | The in-app message's absolute expiration time. Format is YYYY-MM-DD HH:MM:SS (UTC timestamp, time zones not allowed) |
1440
+ | `--expirationDuration` | string | no | The in-app message's expiration time, relative to its send time. Should be an expression such as now+90d |
1441
+ | `--html` | string | no | Html of the in-app notification |
1442
+ | `--inAppDisplaySettings` | json | no | Display settings |
1443
+ | `--inboxMetadata` | json | no | Title, subtitle, and thumbnail |
1444
+ | `--isDefaultLocale` | boolean | no | Sets the locale associated with the request content as the template's default |
1382
1445
  | `--locale` | string | no | Template locale |
1383
1446
  | `--messageTypeId` | number | no | Message type ID |
1384
1447
  | `--name` | string | no | Template name |
1448
+ | `--payload` | json | no | Payload |
1449
+ | `--webInAppDisplaySettings` | json | no | Web In-app Display settings |
1385
1450
 
1386
1451
  ### upsert-push
1387
1452
 
@@ -1394,17 +1459,28 @@ iterable templates upsert-push <clientTemplateId>
1394
1459
  | Option | Type | Required | Description |
1395
1460
  |--------|------|----------|-------------|
1396
1461
  | `clientTemplateId` | string | **yes** | Client template ID |
1397
- | `--badge` | number | no | Badge count |
1462
+ | `--badge` | string | no | Badge to set for push notification |
1463
+ | `--buttons` | json[] | no | Array of buttons that appear to respond to the push. Max of 3 |
1464
+ | `--cacheDataFeed` | boolean | no | Cache data feed lookups for 1 hour |
1398
1465
  | `--campaignDataFields` | json | no | Campaign-level data fields available as {{field}} merge parameters during message rendering. These fields are overridden by user and event data fields of the same name. |
1399
1466
  | `--campaignId` | number | no | Associated campaign ID |
1400
1467
  | `--creatorUserId` | string | no | Creator user ID |
1468
+ | `--dataFeedIds` | number[] | no | Ids for data feeds used in template rendering |
1469
+ | `--deeplink` | json | no | Deep Link. A mapping that accepts two optional properties: 'ios' & 'android' and their respective deep link values |
1470
+ | `--interruptionLevel` | `passive` \| `active` \| `time-sensitive` \| `critical` | no | An interruption level helps iOS determine when to alert a user about the arrival of a push notification |
1471
+ | `--isDefaultLocale` | boolean | no | Sets the locale associated with the request content as the template's default |
1472
+ | `--isSilentPush` | boolean | no | Whether or not this is a silent push notification template |
1401
1473
  | `--locale` | string | no | Template locale |
1402
- | `--message` | string | no | Push notification message |
1474
+ | `--mergeDataFeedContext` | boolean | no | Merge data feed contents into user context, so fields can be referenced by {{field}} instead of [[field]] |
1475
+ | `--message` | string | no | Push message |
1403
1476
  | `--messageTypeId` | number | no | Message type ID |
1404
1477
  | `--name` | string | no | Template name |
1405
- | `--payload` | json | no | Custom payload |
1406
- | `--sound` | string | no | Sound file |
1407
- | `--title` | string | no | Push notification title |
1478
+ | `--payload` | json | no | Payload to send with push notification |
1479
+ | `--relevanceScore` | number | no | Relevance score for iOS notifications on iOS 15+. Number is clamped between 0 and 1.0 |
1480
+ | `--richMedia` | json | no | Rich Media URL. A mapping that accepts two optional properties: 'ios' & 'android' and their respective rich media url values |
1481
+ | `--sound` | string | no | Sound |
1482
+ | `--title` | string | no | Push message title |
1483
+ | `--wake` | boolean | no | Set the content-available flag on iOS notifications, which will wake the app in the background |
1408
1484
 
1409
1485
  ### upsert-sms
1410
1486
 
@@ -1420,10 +1496,15 @@ iterable templates upsert-sms <clientTemplateId>
1420
1496
  | `--campaignDataFields` | json | no | Campaign-level data fields available as {{field}} merge parameters during message rendering. These fields are overridden by user and event data fields of the same name. |
1421
1497
  | `--campaignId` | number | no | Associated campaign ID |
1422
1498
  | `--creatorUserId` | string | no | Creator user ID |
1499
+ | `--googleAnalyticsCampaignName` | string | no | Google analytics utm_campaign value |
1500
+ | `--imageUrl` | string | no | Image URL |
1501
+ | `--isDefaultLocale` | boolean | no | Sets the locale associated with the request content as the template's default |
1502
+ | `--linkParams` | json[] | no | Parameters to append to each URL in contents |
1423
1503
  | `--locale` | string | no | Template locale |
1424
- | `--message` | string | no | SMS message content |
1504
+ | `--message` | string | no | SMS message |
1425
1505
  | `--messageTypeId` | number | no | Message type ID |
1426
1506
  | `--name` | string | no | Template name |
1507
+ | `--trackingDomain` | string | no | Tracking Domain |
1427
1508
 
1428
1509
 
1429
1510
  ## users (13)
@@ -1 +1 @@
1
- {"version":3,"file":"catalogs.d.ts","sourceRoot":"","sources":["../../src/commands/catalogs.ts"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAGpD,eAAO,MAAM,eAAe,EAAE,iBAAiB,EA2F9C,CAAC"}
1
+ {"version":3,"file":"catalogs.d.ts","sourceRoot":"","sources":["../../src/commands/catalogs.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAGpD,eAAO,MAAM,eAAe,EAAE,iBAAiB,EAmG9C,CAAC"}
@@ -1,4 +1,4 @@
1
- import { BulkDeleteCatalogItemsParamsSchema, CreateCatalogParamsSchema, DeleteCatalogItemParamsSchema, DeleteCatalogParamsSchema, GetCatalogFieldMappingsParamsSchema, GetCatalogItemParamsSchema, GetCatalogItemsParamsSchema, GetCatalogsParamsSchema, PartialUpdateCatalogItemParamsSchema, ReplaceCatalogItemParamsSchema, UpdateCatalogFieldMappingsParamsSchema, UpdateCatalogItemParamsSchema, } from "@iterable/api";
1
+ import { BulkDeleteCatalogItemsParamsSchema, CreateCatalogParamsSchema, DeleteCatalogItemParamsSchema, DeleteCatalogParamsSchema, GetCatalogFieldMappingsParamsSchema, GetCatalogItemParamsSchema, GetCatalogItemsParamsSchema, GetCatalogsParamsSchema, PartialUpdateCatalogItemParamsSchema, PartialUpdateCatalogItemsParamsSchema, ReplaceCatalogItemParamsSchema, ReplaceCatalogItemsParamsSchema, UpdateCatalogFieldMappingsParamsSchema, } from "@iterable/api";
2
2
  import { defineCommand } from "./types.js";
3
3
  export const catalogCommands = [
4
4
  defineCommand({
@@ -53,10 +53,17 @@ export const catalogCommands = [
53
53
  }),
54
54
  defineCommand({
55
55
  category: "catalogs",
56
- name: "update-items",
57
- description: "Update catalog items",
58
- clientMethod: "updateCatalogItems",
59
- schema: UpdateCatalogItemParamsSchema,
56
+ name: "partial-update-items",
57
+ description: "Bulk partial update catalog items (merge fields per item ID)",
58
+ clientMethod: "partialUpdateCatalogItems",
59
+ schema: PartialUpdateCatalogItemsParamsSchema,
60
+ }),
61
+ defineCommand({
62
+ category: "catalogs",
63
+ name: "replace-items",
64
+ description: "Bulk replace catalog items (each item becomes only provided fields)",
65
+ clientMethod: "replaceCatalogItems",
66
+ schema: ReplaceCatalogItemsParamsSchema,
60
67
  }),
61
68
  defineCommand({
62
69
  category: "catalogs",
@@ -1 +1 @@
1
- {"version":3,"file":"catalogs.js","sourceRoot":"","sources":["../../src/commands/catalogs.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kCAAkC,EAClC,yBAAyB,EACzB,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AW,EAAE,4CAA4C;QACzD,YAAY,EAAE,4BAA4B;QAC1C,MAAM,EAAE,sCAAsC;KAC/C,CAAC;IACF,aAAa,CAAC;QACZ,QAAQ,EAAE,UAAU;QACpB,IAAI,EAAE,sBAAsB;QAC5B,WAAW,EAAE,8DAA8D;QAC3E,YAAY,EAAE,2BAA2B;QACzC,MAAM,EAAE,qCAAqC;KAC9C,CAAC;IACF,aAAa,CAAC;QACZ,QAAQ,EAAE,UAAU;QACpB,IAAI,EAAE,eAAe;QACrB,WAAW,EACT,qEAAqE;QACvE,YAAY,EAAE,qBAAqB;QACnC,MAAM,EAAE,+BAA+B;KACxC,CAAC;IACF,aAAa,CAAC;QACZ,QAAQ,EAAE,UAAU;QACpB,IAAI,EAAE,aAAa;QACnB,WAAW,EAAE,sCAAsC;QACnD,YAAY,EAAE,mBAAmB;QACjC,MAAM,EAAE,6BAA6B;QACrC,WAAW,EAAE,IAAI;KAClB,CAAC;IACF,aAAa,CAAC;QACZ,QAAQ,EAAE,UAAU;QACpB,IAAI,EAAE,mBAAmB;QACzB,WAAW,EAAE,wCAAwC;QACrD,YAAY,EAAE,wBAAwB;QACtC,MAAM,EAAE,kCAAkC;QAC1C,WAAW,EAAE,IAAI;KAClB,CAAC;IACF,aAAa,CAAC;QACZ,QAAQ,EAAE,UAAU;QACpB,IAAI,EAAE,qBAAqB;QAC3B,WAAW,EACT,uEAAuE;QACzE,YAAY,EAAE,0BAA0B;QACxC,MAAM,EAAE,oCAAoC;KAC7C,CAAC;IACF,aAAa,CAAC;QACZ,QAAQ,EAAE,UAAU;QACpB,IAAI,EAAE,cAAc;QACpB,WAAW,EACT,wEAAwE;QAC1E,YAAY,EAAE,oBAAoB;QAClC,MAAM,EAAE,8BAA8B;KACvC,CAAC;CACH,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iterable/cli",
3
- "version": "0.3.4",
3
+ "version": "0.4.0",
4
4
  "description": "Command-line interface for the Iterable API",
5
5
  "keywords": [
6
6
  "iterable",
@@ -37,7 +37,8 @@
37
37
  "minimumReleaseAge": 4320,
38
38
  "minimumReleaseAgeExclude": [
39
39
  "@iterable/*"
40
- ]
40
+ ],
41
+ "overrides": {}
41
42
  },
42
43
  "scripts": {
43
44
  "build": "pnpm format && pnpm lint:fix && tsc --project tsconfig.build.json && pnpm update-commands && chmod +x dist/index.js",
@@ -59,7 +60,7 @@
59
60
  "update-commands": "node scripts/update-commands.js"
60
61
  },
61
62
  "dependencies": {
62
- "@iterable/api": "0.10.3",
63
+ "@iterable/api": "0.12.0",
63
64
  "@primno/dpapi": "2.0.1",
64
65
  "boxen": "8.0.1",
65
66
  "chalk": "5.6.2",