@ever-works/mailchimp-transactional-plugin 1.0.9 → 1.0.10

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/index.cjs CHANGED
@@ -1349,9 +1349,9 @@ var FLEET_TOOL_CATALOGUE = Object.freeze([
1349
1349
  waitable: true,
1350
1350
  alwaysHeld: true
1351
1351
  }),
1352
- // ── cloud (FL-17) ── P1 shipped: providers, create, power, destroy, usage. A create, a power
1353
- // change and a destroy are held for the owner's approval by the Agent tools
1354
- // (`agent-fleet-cloud-tools.ts`); the idle policy arrives with P2.
1352
+ // ── cloud (FL-17) ── P1 shipped providers, create, power, destroy, usage; P2 the idle policy
1353
+ // (`PUT` answers the same as `PATCH`). A create, a power change and a destroy are held for the
1354
+ // owner's approval by the Agent tools (`agent-fleet-cloud-tools.ts`).
1355
1355
  read("fleet_cloud_list", "view", "FL-17", "FLEET_CLOUD_ENABLED", "live", {
1356
1356
  phase: "P3",
1357
1357
  route: GET("/api/fleet/cloud"),
@@ -1390,13 +1390,15 @@ var FLEET_TOOL_CATALOGUE = Object.freeze([
1390
1390
  waitable: true,
1391
1391
  alwaysHeld: true
1392
1392
  }),
1393
- act("fleet_cloud_idle_policy", "machines", "FL-17", "FLEET_CLOUD_ENABLED", "planned", plain("machine.admin"), {
1393
+ act("fleet_cloud_idle_policy", "machines", "FL-17", "FLEET_CLOUD_ENABLED", "live", plain("machine.admin"), {
1394
1394
  phase: "P3",
1395
1395
  route: PATCH("/api/fleet/cloud/{id}/idle-policy"),
1396
1396
  cli: "fleet cloud idle-policy"
1397
1397
  }),
1398
- // ── runners (FL-18) ──
1399
- read("fleet_runners_list", "view", "FL-18", "FLEET_ACTIONS_RUNNERS_ENABLED", "planned", {
1398
+ // ── runners (FL-18) ── P1 shipped: list, install, start / stop / restart, remove. An install, a
1399
+ // stop, a restart and a remove asked by an Agent are held for the owner's approval
1400
+ // (`agent-fleet-runners-tools.ts`). The Actions jobs read and Cancel workflow run arrive with P2.
1401
+ read("fleet_runners_list", "view", "FL-18", "FLEET_ACTIONS_RUNNERS_ENABLED", "live", {
1400
1402
  phase: "P3",
1401
1403
  route: GET("/api/fleet/nodes/{id}/runners"),
1402
1404
  cli: "fleet runners list"
@@ -1411,23 +1413,29 @@ var FLEET_TOOL_CATALOGUE = Object.freeze([
1411
1413
  "machines",
1412
1414
  "FL-18",
1413
1415
  "FLEET_ACTIONS_RUNNERS_ENABLED",
1414
- "planned",
1416
+ "live",
1415
1417
  confirm("machine.admin"),
1416
- { phase: "P3", route: POST("/api/fleet/nodes/{id}/runners"), cli: "fleet runners install", waitable: true }
1418
+ {
1419
+ phase: "P3",
1420
+ route: POST("/api/fleet/nodes/{id}/runners"),
1421
+ cli: "fleet runners install",
1422
+ waitable: true,
1423
+ alwaysHeld: true
1424
+ }
1417
1425
  ),
1418
1426
  act(
1419
1427
  "fleet_runners_action",
1420
1428
  "machines",
1421
1429
  "FL-18",
1422
1430
  "FLEET_ACTIONS_RUNNERS_ENABLED",
1423
- "planned",
1431
+ "live",
1424
1432
  confirm("machine.admin"),
1425
1433
  {
1426
1434
  phase: "P3",
1427
1435
  route: POST("/api/fleet/nodes/{id}/runners/{runnerId}/{action}"),
1428
1436
  cli: "fleet runners action",
1429
1437
  waitable: true,
1430
- confirmationNote: "plain to start; confirm to stop and restart"
1438
+ confirmationNote: "plain to start; confirm to stop and restart (an Agent's stop or restart is held for the owner)"
1431
1439
  }
1432
1440
  ),
1433
1441
  act(
@@ -1435,9 +1443,15 @@ var FLEET_TOOL_CATALOGUE = Object.freeze([
1435
1443
  "machines",
1436
1444
  "FL-18",
1437
1445
  "FLEET_ACTIONS_RUNNERS_ENABLED",
1438
- "planned",
1446
+ "live",
1439
1447
  typed("write.destructive"),
1440
- { phase: "P3", route: DELETE("/api/fleet/nodes/{id}/runners/{runnerId}"), cli: "fleet runners remove" }
1448
+ {
1449
+ phase: "P3",
1450
+ route: POST("/api/fleet/nodes/{id}/runners/{runnerId}/remove"),
1451
+ cli: "fleet runners remove",
1452
+ waitable: true,
1453
+ alwaysHeld: true
1454
+ }
1441
1455
  ),
1442
1456
  act(
1443
1457
  "fleet_runners_cancel_run",
@@ -1446,10 +1460,12 @@ var FLEET_TOOL_CATALOGUE = Object.freeze([
1446
1460
  "FLEET_ACTIONS_RUNNERS_ENABLED",
1447
1461
  "planned",
1448
1462
  confirm("machine.admin"),
1449
- { phase: "P3", route: POST("/api/fleet/runners/jobs/{jobId}/cancel"), cli: "fleet runners cancel-run" }
1463
+ { phase: "P3", route: POST("/api/fleet/runners/jobs/cancel"), cli: "fleet runners cancel-run" }
1450
1464
  ),
1451
- // ── usage (FL-20) ──
1452
- read("fleet_usage_get", "view", "FL-20", "FLEET_USAGE_SCAN_ENABLED", "planned", {
1465
+ // ── usage (FL-20) ── P1 shipped: the Usage object (totals, by model, by computer, busiest
1466
+ // checkouts, sessions) every surface renders, read-only, with the payer sentence in `note`.
1467
+ read("fleet_usage_get", "view", "FL-20", "FLEET_USAGE_SCAN_ENABLED", "live", {
1468
+ phase: "P3",
1453
1469
  route: GET("/api/fleet/usage"),
1454
1470
  cli: "fleet usage"
1455
1471
  }),
package/dist/index.js CHANGED
@@ -1343,9 +1343,9 @@ var FLEET_TOOL_CATALOGUE = Object.freeze([
1343
1343
  waitable: true,
1344
1344
  alwaysHeld: true
1345
1345
  }),
1346
- // ── cloud (FL-17) ── P1 shipped: providers, create, power, destroy, usage. A create, a power
1347
- // change and a destroy are held for the owner's approval by the Agent tools
1348
- // (`agent-fleet-cloud-tools.ts`); the idle policy arrives with P2.
1346
+ // ── cloud (FL-17) ── P1 shipped providers, create, power, destroy, usage; P2 the idle policy
1347
+ // (`PUT` answers the same as `PATCH`). A create, a power change and a destroy are held for the
1348
+ // owner's approval by the Agent tools (`agent-fleet-cloud-tools.ts`).
1349
1349
  read("fleet_cloud_list", "view", "FL-17", "FLEET_CLOUD_ENABLED", "live", {
1350
1350
  phase: "P3",
1351
1351
  route: GET("/api/fleet/cloud"),
@@ -1384,13 +1384,15 @@ var FLEET_TOOL_CATALOGUE = Object.freeze([
1384
1384
  waitable: true,
1385
1385
  alwaysHeld: true
1386
1386
  }),
1387
- act("fleet_cloud_idle_policy", "machines", "FL-17", "FLEET_CLOUD_ENABLED", "planned", plain("machine.admin"), {
1387
+ act("fleet_cloud_idle_policy", "machines", "FL-17", "FLEET_CLOUD_ENABLED", "live", plain("machine.admin"), {
1388
1388
  phase: "P3",
1389
1389
  route: PATCH("/api/fleet/cloud/{id}/idle-policy"),
1390
1390
  cli: "fleet cloud idle-policy"
1391
1391
  }),
1392
- // ── runners (FL-18) ──
1393
- read("fleet_runners_list", "view", "FL-18", "FLEET_ACTIONS_RUNNERS_ENABLED", "planned", {
1392
+ // ── runners (FL-18) ── P1 shipped: list, install, start / stop / restart, remove. An install, a
1393
+ // stop, a restart and a remove asked by an Agent are held for the owner's approval
1394
+ // (`agent-fleet-runners-tools.ts`). The Actions jobs read and Cancel workflow run arrive with P2.
1395
+ read("fleet_runners_list", "view", "FL-18", "FLEET_ACTIONS_RUNNERS_ENABLED", "live", {
1394
1396
  phase: "P3",
1395
1397
  route: GET("/api/fleet/nodes/{id}/runners"),
1396
1398
  cli: "fleet runners list"
@@ -1405,23 +1407,29 @@ var FLEET_TOOL_CATALOGUE = Object.freeze([
1405
1407
  "machines",
1406
1408
  "FL-18",
1407
1409
  "FLEET_ACTIONS_RUNNERS_ENABLED",
1408
- "planned",
1410
+ "live",
1409
1411
  confirm("machine.admin"),
1410
- { phase: "P3", route: POST("/api/fleet/nodes/{id}/runners"), cli: "fleet runners install", waitable: true }
1412
+ {
1413
+ phase: "P3",
1414
+ route: POST("/api/fleet/nodes/{id}/runners"),
1415
+ cli: "fleet runners install",
1416
+ waitable: true,
1417
+ alwaysHeld: true
1418
+ }
1411
1419
  ),
1412
1420
  act(
1413
1421
  "fleet_runners_action",
1414
1422
  "machines",
1415
1423
  "FL-18",
1416
1424
  "FLEET_ACTIONS_RUNNERS_ENABLED",
1417
- "planned",
1425
+ "live",
1418
1426
  confirm("machine.admin"),
1419
1427
  {
1420
1428
  phase: "P3",
1421
1429
  route: POST("/api/fleet/nodes/{id}/runners/{runnerId}/{action}"),
1422
1430
  cli: "fleet runners action",
1423
1431
  waitable: true,
1424
- confirmationNote: "plain to start; confirm to stop and restart"
1432
+ confirmationNote: "plain to start; confirm to stop and restart (an Agent's stop or restart is held for the owner)"
1425
1433
  }
1426
1434
  ),
1427
1435
  act(
@@ -1429,9 +1437,15 @@ var FLEET_TOOL_CATALOGUE = Object.freeze([
1429
1437
  "machines",
1430
1438
  "FL-18",
1431
1439
  "FLEET_ACTIONS_RUNNERS_ENABLED",
1432
- "planned",
1440
+ "live",
1433
1441
  typed("write.destructive"),
1434
- { phase: "P3", route: DELETE("/api/fleet/nodes/{id}/runners/{runnerId}"), cli: "fleet runners remove" }
1442
+ {
1443
+ phase: "P3",
1444
+ route: POST("/api/fleet/nodes/{id}/runners/{runnerId}/remove"),
1445
+ cli: "fleet runners remove",
1446
+ waitable: true,
1447
+ alwaysHeld: true
1448
+ }
1435
1449
  ),
1436
1450
  act(
1437
1451
  "fleet_runners_cancel_run",
@@ -1440,10 +1454,12 @@ var FLEET_TOOL_CATALOGUE = Object.freeze([
1440
1454
  "FLEET_ACTIONS_RUNNERS_ENABLED",
1441
1455
  "planned",
1442
1456
  confirm("machine.admin"),
1443
- { phase: "P3", route: POST("/api/fleet/runners/jobs/{jobId}/cancel"), cli: "fleet runners cancel-run" }
1457
+ { phase: "P3", route: POST("/api/fleet/runners/jobs/cancel"), cli: "fleet runners cancel-run" }
1444
1458
  ),
1445
- // ── usage (FL-20) ──
1446
- read("fleet_usage_get", "view", "FL-20", "FLEET_USAGE_SCAN_ENABLED", "planned", {
1459
+ // ── usage (FL-20) ── P1 shipped: the Usage object (totals, by model, by computer, busiest
1460
+ // checkouts, sessions) every surface renders, read-only, with the payer sentence in `note`.
1461
+ read("fleet_usage_get", "view", "FL-20", "FLEET_USAGE_SCAN_ENABLED", "live", {
1462
+ phase: "P3",
1447
1463
  route: GET("/api/fleet/usage"),
1448
1464
  cli: "fleet usage"
1449
1465
  }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ever-works/mailchimp-transactional-plugin",
3
- "version": "1.0.9",
3
+ "version": "1.0.10",
4
4
  "description": "Mailchimp Transactional (Mandrill) email provider plugin (outbound) for Ever Works platform",
5
5
  "author": {
6
6
  "name": "Ever Co. LTD",
@@ -32,7 +32,7 @@
32
32
  "test:watch": "vitest"
33
33
  },
34
34
  "dependencies": {
35
- "@ever-works/plugin": "^1.2.10",
35
+ "@ever-works/plugin": "^1.2.11",
36
36
  "@mailchimp/mailchimp_transactional": "^1.0.59"
37
37
  },
38
38
  "devDependencies": {
@@ -82,8 +82,8 @@
82
82
  "url": "https://github.com/ever-works/ever-works/issues"
83
83
  },
84
84
  "everworksRelease": {
85
- "contentHash": "sha256:b1a868e186656abf74c4bb6011ed9cf96a8168b0dfc2c9512be36873dd610ac7",
86
- "commit": "f5cb0350637a564ce68449b6607a6f8f83ccce9c",
87
- "source": "https://github.com/ever-works/ever-works/tree/f5cb0350637a564ce68449b6607a6f8f83ccce9c/packages/plugins/mailchimp-transactional"
85
+ "contentHash": "sha256:39d712fb99fcb6a8ba64bf3e80c2044e4749b23da0c9ef02c5d2a8023fa7a641",
86
+ "commit": "67e286ed0d4c3dcc0d66d2f628215ab966cc26e1",
87
+ "source": "https://github.com/ever-works/ever-works/tree/67e286ed0d4c3dcc0d66d2f628215ab966cc26e1/packages/plugins/mailchimp-transactional"
88
88
  }
89
89
  }