toga-ai 1.0.1127 → 1.0.1128

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.
@@ -7,7 +7,7 @@ _Auto-generated by `knowledge.js index`. Do not hand-edit._
7
7
  - **library** (Library) _(framework core)_ — 41 doc(s) → [1.0/apps/library/INDEX.md](1.0/apps/library/INDEX.md)
8
8
  - **worker** (Worker) — 43 doc(s) → [1.0/apps/worker/INDEX.md](1.0/apps/worker/INDEX.md)
9
9
  - **dbchanges** (Database Changes) _(framework core)_ — 1 doc(s) → [1.0/apps/dbchanges/INDEX.md](1.0/apps/dbchanges/INDEX.md)
10
- - **worker1.5** (Worker 1.5) — 4 doc(s) → [1.0/apps/worker1.5/INDEX.md](1.0/apps/worker1.5/INDEX.md)
10
+ - **worker1.5** (Worker 1.5) — 5 doc(s) → [1.0/apps/worker1.5/INDEX.md](1.0/apps/worker1.5/INDEX.md)
11
11
  - **togadesk** (TOGa Desk) — 18 doc(s) → [1.0/apps/togadesk/INDEX.md](1.0/apps/togadesk/INDEX.md)
12
12
  - **togaview** (TOGa View) — 9 doc(s) → [1.0/apps/togaview/INDEX.md](1.0/apps/togaview/INDEX.md)
13
13
  - **webhook** (Webhook) — 1 doc(s) → [1.0/apps/webhook/INDEX.md](1.0/apps/webhook/INDEX.md)
@@ -4,5 +4,6 @@
4
4
  |-----|-----------|---------|
5
5
  | [ODP Monthly Talos Call Transcript Report (worker2 cron)](features/odp-call-transcript-monthly-report.md) | 2.0 | Monthly xlsx of ODP Talos voice-agent calls, built from S3 session reports and emailed; open before any ODP call reporting work. |
6
6
  | [Office Depot Phone Tech Support](features/odp-tech-support.md) | standalone | Office Depot's phone agent guides store associates through Tier-1 support and records Desk tickets; open for its client-specific prompt, tools, tuning and deplo |
7
+ | [Office Depot — OptimumDesk SKU Sync (RetailServices supplier 14, POST /api/skus)](features/optimumdesk-sku-sync.md) | 1.0 | Office Depot store SKUs (400122/400123/400124) pushed to OptimumDesk by the worker1.5 RetailServices sync; open for the /api/skus payload rules, the 400122 work |
7
8
  | [TOGaRefresh 2026 — linkBuilderRefresh URL Routing (ODP)](features/togarefresh2026-linkbuilder-routing.md) | 1.0 | In TOGaRefresh 2026, service-builder buttons must route via `App_Model_ServiceRequest::linkBuilderRefresh()` (`serviceselection`), not legacy `linkBuilder()` (` |
8
9
  | [Office Depot](profile.md) | standalone | Office Depot uses TOGa Voice for inbound store-associate tech support and Desk ticketing; open for client scope and links to its voice configuration. |
@@ -0,0 +1,40 @@
1
+ ---
2
+ title: Office Depot — OptimumDesk SKU Sync (RetailServices supplier 14, POST /api/skus)
3
+ framework: "1.0"
4
+ repo: worker1.5
5
+ project: Worker 1.5
6
+ client: office-depot
7
+ type: client-feature
8
+ status: active
9
+ updated: 2026-10-23
10
+ owners: [snaredla]
11
+ files:
12
+ - worker1.5/crons/sync/retailservices/sync_retail_services_client_service.php
13
+ - toga/app/togarefresh2026/refurbishments/action.php
14
+ related:
15
+ - clients/office-depot/profile.md
16
+ - clients/office-depot/features/togarefresh2026-linkbuilder-routing.md
17
+ - 1.0/apps/togaview/features/retail-commerce-lifecycle.md
18
+ - 1.0/apps/worker1.5/architecture.md
19
+ ---
20
+
21
+ Office Depot store SKUs (400122/400123/400124) pushed to OptimumDesk by the worker1.5 RetailServices sync; open for the /api/skus payload rules, the 400122 workorder/businessUnit requirement, or stuck TOSYNC rows.
22
+
23
+ ## Summary
24
+
25
+ `sync_retail_services_client_service.php` sends Office Depot service rows to OptimumDesk (`scuses.optimumdesk.com`, `POST /api/skus`). Only one `RetailServices.ClientSuppliers` row uses `api='SKUS'` (id 14, businessUnit 11110), so this branch affects only Office Depot SKUs 400122/400123/400124.
26
+
27
+ ## How it works
28
+
29
+ - Payload always sends `customer.customerId`. All store refurbs use the store customer "Store Officedepot" = OptimumDesk customerId 1626767.
30
+ - SKU 400122 ("Certified Open Box PC", created by togarefresh2026 `refurbishments/action.php`) opens a PC wipe ticket at OptimumDesk. It **requires** `workorder` and `businessUnit` in the payload. The sync adds both only when 400122 is in the order (TRUE-80576).
31
+ - `workorder` = the TOGa- number; for a non-TOGa ref, ref + 1000000000.
32
+ - `ClientAccounts.clientRefAccountId` `TOGa-<n>` = TOGA_ODP `ServiceRequests.serviceRequestNumber` `<n>`.
33
+ - Success reply carries `data.workorder_id`. Outbound calls are logged in `Logs.API` (legacy cluster).
34
+ - Login is the integration user stored on the `RetailServices.ClientSuppliers` row (never copy it into docs).
35
+
36
+ ## Gotchas
37
+
38
+ - Without `workorder`/`businessUnit`, 400122 fails with HTTP 401 "Sku details not found or has been removed" — misleading; it is not auth and not the customer. Broken by commit bb70017cd (TRUE-76320, 2026-01-28, old worker repo) which trimmed the payload to customerId. 400124 works without them, so do not trim per-SKU fields again without testing 400122.
39
+ - Failed rows stay `syncStatus = TOSYNC` and retry every cron run — 15 stuck orders produced 24,666 occurrences of one Tools error issue. A growing error count usually means a few stuck rows, not many failures.
40
+ - To check the customer, `GET /customer/{id}` with the same login works.
@@ -11,11 +11,12 @@ apps:
11
11
  - dbchanges2
12
12
  - forward
13
13
  - store
14
+ - worker1.5
14
15
  project: TOGa Voice
15
16
  client: office-depot
16
17
  type: profile
17
18
  status: active
18
- updated: 2026-10-22
19
+ updated: 2026-10-23
19
20
  owners: [akhokhani, mhammontree, jcardinal, snaredla, rgirish]
20
21
  files: []
21
22
  related:
@@ -42,6 +43,7 @@ Office Depot is the production support client of the standalone Python/LiveKit T
42
43
  - [Ticket API](../../standalone/apps/voice-to-voice/features/ticket-api-integration.md) owns signing and client/department routing.
43
44
  - [Post-call Lambda](../../standalone/apps/voice-to-voice/features/post-call-lambda.md) owns recordings/transcript attachments and its dated outage evidence.
44
45
  - [TOGa Desk](../../1.0/apps/togadesk/architecture.md) is the ticket system of record.
46
+ - [OptimumDesk SKU sync](features/optimumdesk-sku-sync.md) — worker1.5 RetailServices push of store SKUs 400122/400123/400124.
45
47
 
46
48
  ## Gotchas
47
49
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "toga-ai",
3
- "version": "1.0.1127",
3
+ "version": "1.0.1128",
4
4
  "description": "TOGA Technology Team Claude Knowledge System — shared AI coding harness with skills, knowledge base CLI, and project installer for Claude Code.",
5
5
  "keywords": [
6
6
  "claude",