@aglyn/aglyn 1.0.0-beta.230 → 1.0.0-beta.231

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 (112) hide show
  1. package/package.json +11 -11
  2. package/src/lib/app-utils/crm.d.ts +14 -1
  3. package/src/lib/app-utils/crm.js +19 -2
  4. package/src/lib/app-utils/crm.js.map +1 -1
  5. package/src/lib/app-utils/docs-help.generated.d.ts +80 -2
  6. package/src/lib/app-utils/docs-help.generated.js +209 -1
  7. package/src/lib/app-utils/docs-help.generated.js.map +1 -1
  8. package/src/lib/app-utils/docs-index.generated.js +517 -20
  9. package/src/lib/app-utils/docs-index.generated.js.map +1 -1
  10. package/src/lib/app-utils/host-status.d.ts +85 -0
  11. package/src/lib/app-utils/host-status.js +115 -0
  12. package/src/lib/app-utils/host-status.js.map +1 -0
  13. package/src/lib/app-utils/lockdown.js +1 -1
  14. package/src/lib/app-utils/lockdown.js.map +1 -1
  15. package/src/lib/app-utils/media-filter.d.ts +136 -0
  16. package/src/lib/app-utils/media-filter.js +400 -0
  17. package/src/lib/app-utils/media-filter.js.map +1 -0
  18. package/src/lib/app-utils/mobile-push.d.ts +98 -0
  19. package/src/lib/app-utils/mobile-push.js +97 -0
  20. package/src/lib/app-utils/mobile-push.js.map +1 -0
  21. package/src/lib/app-utils/notification-push.d.ts +38 -0
  22. package/src/lib/app-utils/notification-push.js +54 -0
  23. package/src/lib/app-utils/notification-push.js.map +1 -0
  24. package/src/lib/app-utils/notifications.d.ts +7 -0
  25. package/src/lib/app-utils/notifications.js.map +1 -1
  26. package/src/lib/app-utils/organizations.js +5 -2
  27. package/src/lib/app-utils/organizations.js.map +1 -1
  28. package/src/lib/app-utils/plugin-host-events.generated.d.ts +1 -1
  29. package/src/lib/app-utils/plugin-host-events.generated.js +149 -0
  30. package/src/lib/app-utils/plugin-host-events.generated.js.map +1 -1
  31. package/src/lib/app-utils/plugin-release-flags.generated.d.ts +1 -1
  32. package/src/lib/app-utils/plugin-release-flags.generated.js +7 -0
  33. package/src/lib/app-utils/plugin-release-flags.generated.js.map +1 -1
  34. package/src/lib/app-utils/realm-host-surface.generated.js +3 -0
  35. package/src/lib/app-utils/realm-host-surface.generated.js.map +1 -1
  36. package/src/lib/app-utils/release-flags.js +6 -2
  37. package/src/lib/app-utils/release-flags.js.map +1 -1
  38. package/src/lib/app-utils/scope-tokens.d.ts +16 -1
  39. package/src/lib/app-utils/scope-tokens.js +15 -1
  40. package/src/lib/app-utils/scope-tokens.js.map +1 -1
  41. package/src/lib/app-utils/site-list-query.d.ts +47 -0
  42. package/src/lib/app-utils/site-list-query.js +142 -0
  43. package/src/lib/app-utils/site-list-query.js.map +1 -0
  44. package/src/lib/app-utils/site-wide-outbox.d.ts +95 -0
  45. package/src/lib/app-utils/site-wide-outbox.js +117 -0
  46. package/src/lib/app-utils/site-wide-outbox.js.map +1 -0
  47. package/src/lib/app-utils/transfer-launcher-context.d.ts +6 -0
  48. package/src/lib/app-utils/transfer-launcher-context.js.map +1 -1
  49. package/src/lib/app-utils/upload-inspection.js +7 -0
  50. package/src/lib/app-utils/upload-inspection.js.map +1 -1
  51. package/src/lib/app-utils/webhook-delivery.js +4 -1
  52. package/src/lib/app-utils/webhook-delivery.js.map +1 -1
  53. package/src/lib/foundation/definitions/org-billing.types.d.ts +8 -0
  54. package/src/lib/foundation/definitions/org-billing.types.js.map +1 -1
  55. package/src/lib/foundation/definitions/organization.types.d.ts +18 -7
  56. package/src/lib/foundation/definitions/organization.types.js.map +1 -1
  57. package/src/lib/foundation/definitions/write-deny-coverage.util.d.ts +4 -1
  58. package/src/lib/foundation/definitions/write-deny-coverage.util.js +12 -2
  59. package/src/lib/foundation/definitions/write-deny-coverage.util.js.map +1 -1
  60. package/src/lib/plugin-manager/enabled-plugins.js +4 -2
  61. package/src/lib/plugin-manager/enabled-plugins.js.map +1 -1
  62. package/src/lib/plugin-manager/feature-plugins.d.ts +88 -0
  63. package/src/lib/plugin-manager/feature-plugins.js +44 -0
  64. package/src/lib/plugin-manager/feature-plugins.js.map +1 -1
  65. package/src/lib/plugin-manager/first-party-plugins.generated.js +222 -2
  66. package/src/lib/plugin-manager/first-party-plugins.generated.js.map +1 -1
  67. package/src/lib/plugin-manager/plugin-checkout-extras.d.ts +168 -0
  68. package/src/lib/plugin-manager/plugin-checkout-extras.js +172 -0
  69. package/src/lib/plugin-manager/plugin-checkout-extras.js.map +1 -0
  70. package/src/lib/plugin-manager/plugin-contributions.d.ts +7 -0
  71. package/src/lib/plugin-manager/plugin-contributions.js +1 -1
  72. package/src/lib/plugin-manager/plugin-contributions.js.map +1 -1
  73. package/src/lib/plugin-manager/plugin-domain-events.d.ts +138 -0
  74. package/src/lib/plugin-manager/plugin-domain-events.js +148 -0
  75. package/src/lib/plugin-manager/plugin-domain-events.js.map +1 -0
  76. package/src/lib/plugin-manager/plugin-events.d.ts +30 -0
  77. package/src/lib/plugin-manager/plugin-events.js +4 -0
  78. package/src/lib/plugin-manager/plugin-events.js.map +1 -1
  79. package/src/lib/plugin-manager/plugin-fulfillment-providers.d.ts +101 -0
  80. package/src/lib/plugin-manager/plugin-fulfillment-providers.js +83 -0
  81. package/src/lib/plugin-manager/plugin-fulfillment-providers.js.map +1 -0
  82. package/src/lib/plugin-manager/plugin-permissions.js +21 -5
  83. package/src/lib/plugin-manager/plugin-permissions.js.map +1 -1
  84. package/src/lib/plugin-manager/plugin-person-records.d.ts +90 -0
  85. package/src/lib/plugin-manager/plugin-person-records.js +26 -0
  86. package/src/lib/plugin-manager/plugin-person-records.js.map +1 -1
  87. package/src/lib/plugin-manager/plugin-product-catalog.d.ts +204 -0
  88. package/src/lib/plugin-manager/plugin-product-catalog.js +43 -0
  89. package/src/lib/plugin-manager/plugin-product-catalog.js.map +1 -0
  90. package/src/lib/plugin-manager/plugin-shipment-records.d.ts +210 -0
  91. package/src/lib/plugin-manager/plugin-shipment-records.js +63 -0
  92. package/src/lib/plugin-manager/plugin-shipment-records.js.map +1 -0
  93. package/src/lib/plugin-manager/plugin-shipping-rates.d.ts +151 -0
  94. package/src/lib/plugin-manager/plugin-shipping-rates.js +62 -0
  95. package/src/lib/plugin-manager/plugin-shipping-rates.js.map +1 -0
  96. package/src/lib/plugin-manager/plugin-sms-messaging.d.ts +103 -0
  97. package/src/lib/plugin-manager/plugin-sms-messaging.js +39 -0
  98. package/src/lib/plugin-manager/plugin-sms-messaging.js.map +1 -0
  99. package/src/lib/plugin-manager/plugin-stock-levels.d.ts +81 -0
  100. package/src/lib/plugin-manager/plugin-stock-levels.js +32 -0
  101. package/src/lib/plugin-manager/plugin-stock-levels.js.map +1 -0
  102. package/src/lib/plugin-manager/plugin-tax-profile.d.ts +154 -0
  103. package/src/lib/plugin-manager/plugin-tax-profile.js +56 -0
  104. package/src/lib/plugin-manager/plugin-tax-profile.js.map +1 -1
  105. package/src/lib/plugin-manager/plugin-theme-font-catalog.d.ts +59 -0
  106. package/src/lib/plugin-manager/plugin-theme-font-catalog.js +40 -0
  107. package/src/lib/plugin-manager/plugin-theme-font-catalog.js.map +1 -0
  108. package/src/lib/plugin-manager/plugin-tracking-pages.d.ts +55 -0
  109. package/src/lib/plugin-manager/plugin-tracking-pages.js +76 -0
  110. package/src/lib/plugin-manager/plugin-tracking-pages.js.map +1 -0
  111. package/src/lib/plugin-manager/realm-host-aglyn.generated.js +3 -0
  112. package/src/lib/plugin-manager/realm-host-aglyn.generated.js.map +1 -1
@@ -144,6 +144,78 @@
144
144
  "label": "Automation",
145
145
  "description": "Workflows, actions, webhooks, and run logs.",
146
146
  "releaseFlag": "release_workflows"
147
+ },
148
+ {
149
+ "id": "accounting",
150
+ "label": "Accounting",
151
+ "description": "Sales, refunds, fees and payouts posted to QuickBooks Online or Xero.",
152
+ "releaseFlag": "release_accounting"
153
+ },
154
+ {
155
+ "id": "shipping",
156
+ "label": "Shipping",
157
+ "alwaysOnForWorkspace": true,
158
+ "description": "Carrier rates at checkout, shipping labels and tracking for physical orders, where the platform has connected a carrier provider.",
159
+ "siteOff": {
160
+ "stops": "Switching Shipping off for this site stops live carrier rates at its checkout, which falls back to the site’s own shipping rates, and removes label buying from its orders.",
161
+ "keeps": "Labels already bought, their tracking and their charges are kept, and Shipping keeps working on the workspace’s other sites."
162
+ }
163
+ },
164
+ {
165
+ "id": "tax-engines",
166
+ "label": "Tax services",
167
+ "alwaysOnForWorkspace": true,
168
+ "description": "Sales tax from your own Avalara AvaTax or TaxJar account at checkout and the register.",
169
+ "siteOff": {
170
+ "stops": "Switching Tax services off for this site stops checkout and the register asking its connected tax service, which then use the site’s own tax rates, and stops recording its paid orders there.",
171
+ "keeps": "The connection, product tax codes and exempt customers are kept, and orders already recorded stay recorded."
172
+ }
173
+ },
174
+ {
175
+ "id": "sales-channels",
176
+ "label": "Sales channels",
177
+ "alwaysOnForWorkspace": true,
178
+ "description": "Product feeds for Google, YouTube, Facebook, Instagram, TikTok, Pinterest, Snapchat and Microsoft Shopping.",
179
+ "siteOff": {
180
+ "stops": "Switching Sales channels off for this site stops every product feed it publishes, including the Google Merchant Center address set up before sales channels existed, so channels stop receiving updates.",
181
+ "keeps": "Each feed's address, its switch and the store's defaults are kept, so switching it back on resumes the same feeds."
182
+ }
183
+ },
184
+ {
185
+ "id": "marketing-platforms",
186
+ "label": "Email platforms",
187
+ "alwaysOnForWorkspace": true,
188
+ "description": "Two-way contact and unsubscribe sync with your own Mailchimp, Klaviyo or Omnisend account, and order events for their flows.",
189
+ "siteOff": {
190
+ "stops": "Switching Email platforms off for this site stops its contacts, unsubscribes and order events syncing with the email platforms it connected.",
191
+ "keeps": "The connections and everything already synced are kept, and an unsubscribe already read back stays on the site’s list."
192
+ }
193
+ },
194
+ {
195
+ "id": "fonts",
196
+ "label": "Fonts",
197
+ "alwaysOn": true,
198
+ "description": "Upload your own fonts and pick from the Google Fonts catalog for your site's theme."
199
+ },
200
+ {
201
+ "id": "post-purchase",
202
+ "label": "Tracking and protection",
203
+ "alwaysOnForWorkspace": true,
204
+ "description": "Order tracking and package protection.",
205
+ "siteOff": {
206
+ "stops": "Stops protection and tracking for new orders.",
207
+ "keeps": "Bought protection stays in force."
208
+ }
209
+ },
210
+ {
211
+ "id": "fulfillment-networks",
212
+ "label": "Fulfillment networks",
213
+ "alwaysOnForWorkspace": true,
214
+ "description": "Paid orders shipped by your own ShipBob or Amazon Multi-Channel Fulfillment account, with tracking back on the order and stock counts in step.",
215
+ "siteOff": {
216
+ "stops": "Switching Fulfillment networks off for this site stops its paid orders going to ShipBob or Amazon, and stops their shipments and stock counts coming back.",
217
+ "keeps": "The connections and every order already sent are kept, and what a network already shipped stays on the order."
218
+ }
147
219
  }
148
220
  ];
149
221
  export const PUBLISHED_SITE_IMPACT = {
@@ -165,7 +237,15 @@ export const PUBLISHED_SITE_IMPACT = {
165
237
  "logic": "console-only",
166
238
  "marketing": "elements",
167
239
  "redirects": "routes",
168
- "workflows": "routes"
240
+ "workflows": "routes",
241
+ "accounting": "console-only",
242
+ "shipping": "console-only",
243
+ "tax-engines": "console-only",
244
+ "sales-channels": "routes",
245
+ "marketing-platforms": "console-only",
246
+ "fonts": "console-only",
247
+ "post-purchase": "console-only",
248
+ "fulfillment-networks": "console-only"
169
249
  };
170
250
  /**
171
251
  * The admin edit bar's quick links, in the order they are drawn — each
@@ -310,6 +390,7 @@ export const PUBLISHED_SITE_IMPACT = {
310
390
  "options",
311
391
  "variants",
312
392
  "seo",
393
+ "channel",
313
394
  "supplierId",
314
395
  "oversellPolicy",
315
396
  "taxExempt",
@@ -321,6 +402,7 @@ export const PUBLISHED_SITE_IMPACT = {
321
402
  "relatedProductIds",
322
403
  "giftCard",
323
404
  "lowStockThreshold",
405
+ "shipping",
324
406
  "createdAtMs",
325
407
  "updatedAtMs",
326
408
  "nameLower",
@@ -363,7 +445,8 @@ export const PUBLISHED_SITE_IMPACT = {
363
445
  "fields": [
364
446
  "name",
365
447
  "isDefault",
366
- "address"
448
+ "address",
449
+ "postalAddress"
367
450
  ]
368
451
  }
369
452
  },
@@ -497,6 +580,60 @@ export const PUBLISHED_SITE_IMPACT = {
497
580
  "mediaScan": "none",
498
581
  "mediaScanReason": "Cached Stripe tax rate ids, written by the tax sync. Vendor ids."
499
582
  },
583
+ {
584
+ "pluginId": "commerce",
585
+ "name": "returns",
586
+ "mediaScan": "none",
587
+ "mediaScanReason": "Returns (AGL-3611): line indexes, quantities, reasons and a return label link, written only by the returns routes. A return names no image of its own; the order's lines carry the copies, and the order is not scanned for the same reason."
588
+ },
589
+ {
590
+ "pluginId": "commerce",
591
+ "name": "orderWebhooks",
592
+ "mediaScan": "none",
593
+ "mediaScanReason": "The merchant's outbound order webhook endpoints (AGL-3611): a URL and the event names it takes. Scanning reads every endpoint for a URL that is never a media file."
594
+ },
595
+ {
596
+ "pluginId": "commerce",
597
+ "name": "orderWebhookSecrets",
598
+ "mediaScan": "none",
599
+ "mediaScanReason": "Sealed HMAC signing secrets for the order webhooks (AGL-3611). Reading them for media would put a secret on a scan path to match nothing."
600
+ },
601
+ {
602
+ "pluginId": "commerce",
603
+ "name": "orderWebhookDeliveries",
604
+ "mediaScan": "none",
605
+ "mediaScanReason": "The webhook delivery log (AGL-3611): one row per event per endpoint, expiring after 30 days. A body copies the order, whose image URLs record what was sold rather than use the file, so a match would be wrong, and a busy store holds thousands."
606
+ },
607
+ {
608
+ "pluginId": "commerce",
609
+ "name": "posStaffPins",
610
+ "mediaScan": "none",
611
+ "mediaScanReason": "Register staff PINs (AGL-3609): a salted hash and a lockout counter per member, written only by the staff PIN route. No content field at all."
612
+ },
613
+ {
614
+ "pluginId": "commerce",
615
+ "name": "terminal",
616
+ "mediaScan": "none",
617
+ "mediaScanReason": "The site's Stripe Terminal Location (AGL-3607): a vendor id and the address it was registered with, written only by the reader routes. No content field."
618
+ },
619
+ {
620
+ "pluginId": "commerce",
621
+ "name": "terminalReaders",
622
+ "mediaScan": "none",
623
+ "mediaScanReason": "The site's card readers (AGL-3607): a Stripe reader id, a label and a status, written only by `/api/commerce/pos-readers`. No content field."
624
+ },
625
+ {
626
+ "pluginId": "commerce",
627
+ "name": "printers",
628
+ "mediaScan": "none",
629
+ "mediaScanReason": "Cloud receipt printers (AGL-3619): a device id, a secret version, a paper width and a status. A receipt logo is the one stored IN the printer and named by a key code, never a file URL, so nothing here can use an asset."
630
+ },
631
+ {
632
+ "pluginId": "commerce",
633
+ "name": "printJobs",
634
+ "mediaScan": "none",
635
+ "mediaScanReason": "The printers' queue (AGL-3619): rendered receipt, ticket and label bytes waiting for a printer's poll, written by the print routes and gone once printed. Printer commands, not content, and a busy register queues hundreds a day."
636
+ },
500
637
  {
501
638
  "pluginId": "marketplace",
502
639
  "name": "installs"
@@ -842,6 +979,12 @@ export const PUBLISHED_SITE_IMPACT = {
842
979
  }
843
980
  }
844
981
  },
982
+ {
983
+ "pluginId": "sales-channels",
984
+ "name": "salesChannels",
985
+ "mediaScan": "none",
986
+ "mediaScanReason": "A site's shopping-channel state (AGL-3637): one feed document per channel holding the token that locks its URL, the store's defaults for blank product fields, and a sealed OAuth token per API connection. No client reads or writes it, and nothing in it names a library asset."
987
+ },
845
988
  {
846
989
  "pluginId": "funnels",
847
990
  "name": "funnels",
@@ -1094,6 +1237,25 @@ export const PUBLISHED_SITE_IMPACT = {
1094
1237
  },
1095
1238
  "description": "Every gift card's code, balance and status. An import issues each card, confirmed by the total."
1096
1239
  },
1240
+ {
1241
+ "pluginId": "commerce",
1242
+ "key": "commerce.tracking",
1243
+ "label": "Tracking numbers",
1244
+ "singularLabel": "Tracking number",
1245
+ "scope": "host",
1246
+ "kinds": [
1247
+ "records"
1248
+ ],
1249
+ "formats": [
1250
+ "csv",
1251
+ "json",
1252
+ "ndjson"
1253
+ ],
1254
+ "limits": {
1255
+ "maxRows": 5000
1256
+ },
1257
+ "description": "Tracking numbers from a label tool, each recorded as a shipment on the order it names."
1258
+ },
1097
1259
  {
1098
1260
  "pluginId": "crm",
1099
1261
  "key": "crm.contacts",
@@ -1964,6 +2126,14 @@ export const PUBLISHED_SITE_IMPACT = {
1964
2126
  {
1965
2127
  "pluginId": "ai",
1966
2128
  "id": "assist"
2129
+ },
2130
+ {
2131
+ "pluginId": "sms",
2132
+ "id": "sms-texts"
2133
+ },
2134
+ {
2135
+ "pluginId": "shipping",
2136
+ "id": "shipping-labels"
1967
2137
  }
1968
2138
  ];
1969
2139
  /**
@@ -1979,6 +2149,56 @@ export const PUBLISHED_SITE_IMPACT = {
1979
2149
  "pluginId": "outreach",
1980
2150
  "name": "outreachLinks",
1981
2151
  "orgField": "orgId"
2152
+ },
2153
+ {
2154
+ "pluginId": "shipping",
2155
+ "name": "shippingTrackers",
2156
+ "orgField": "orgId"
2157
+ },
2158
+ {
2159
+ "pluginId": "shipping",
2160
+ "name": "shippingQuoteCache",
2161
+ "orgField": "orgId"
2162
+ },
2163
+ {
2164
+ "pluginId": "tax-engines",
2165
+ "name": "taxEngineConnections",
2166
+ "orgField": "orgId"
2167
+ },
2168
+ {
2169
+ "pluginId": "tax-engines",
2170
+ "name": "taxEngineProductCodes",
2171
+ "orgField": "orgId"
2172
+ },
2173
+ {
2174
+ "pluginId": "tax-engines",
2175
+ "name": "taxEngineExemptions",
2176
+ "orgField": "orgId"
2177
+ },
2178
+ {
2179
+ "pluginId": "tax-engines",
2180
+ "name": "taxEngineTransactions",
2181
+ "orgField": "orgId"
2182
+ },
2183
+ {
2184
+ "pluginId": "marketing-platforms",
2185
+ "name": "marketingPlatformConnections",
2186
+ "orgField": "orgId"
2187
+ },
2188
+ {
2189
+ "pluginId": "marketing-platforms",
2190
+ "name": "marketingPlatformEvents",
2191
+ "orgField": "orgId"
2192
+ },
2193
+ {
2194
+ "pluginId": "fulfillment-networks",
2195
+ "name": "fulfillmentNetworkConnections",
2196
+ "orgField": "orgId"
2197
+ },
2198
+ {
2199
+ "pluginId": "fulfillment-networks",
2200
+ "name": "fulfillmentNetworkOrders",
2201
+ "orgField": "orgId"
1982
2202
  }
1983
2203
  ];
1984
2204
  /**