@epilot/sdk 2.20.26 → 2.20.27

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 (135) hide show
  1. package/definitions/document-runtime.json +1 -1
  2. package/definitions/document.json +218 -4
  3. package/definitions/erp-integration-runtime.json +1 -0
  4. package/definitions/erp-integration.json +7936 -0
  5. package/dist/apis/access-token.cjs +6 -6
  6. package/dist/apis/access-token.js +1 -1
  7. package/dist/apis/address-suggestions.cjs +6 -6
  8. package/dist/apis/address-suggestions.js +1 -1
  9. package/dist/apis/address.cjs +6 -6
  10. package/dist/apis/address.js +1 -1
  11. package/dist/apis/ai-agents.cjs +6 -6
  12. package/dist/apis/ai-agents.js +1 -1
  13. package/dist/apis/app.cjs +6 -6
  14. package/dist/apis/app.js +1 -1
  15. package/dist/apis/audit-logs.cjs +6 -6
  16. package/dist/apis/audit-logs.js +1 -1
  17. package/dist/apis/automation.cjs +6 -6
  18. package/dist/apis/automation.js +1 -1
  19. package/dist/apis/billing.cjs +6 -6
  20. package/dist/apis/billing.js +1 -1
  21. package/dist/apis/blueprint-manifest.cjs +6 -6
  22. package/dist/apis/blueprint-manifest.js +1 -1
  23. package/dist/apis/calendar.cjs +6 -6
  24. package/dist/apis/calendar.js +1 -1
  25. package/dist/apis/chat.cjs +6 -6
  26. package/dist/apis/chat.js +1 -1
  27. package/dist/apis/configuration-hub.cjs +6 -6
  28. package/dist/apis/configuration-hub.d.cts +2 -2
  29. package/dist/apis/configuration-hub.d.ts +2 -2
  30. package/dist/apis/configuration-hub.js +1 -1
  31. package/dist/apis/consent.cjs +6 -6
  32. package/dist/apis/consent.js +1 -1
  33. package/dist/apis/customer-portal.cjs +6 -6
  34. package/dist/apis/customer-portal.js +1 -1
  35. package/dist/apis/dashboard.cjs +6 -6
  36. package/dist/apis/dashboard.js +1 -1
  37. package/dist/apis/data-governance.cjs +6 -6
  38. package/dist/apis/data-governance.js +1 -1
  39. package/dist/apis/deduplication.cjs +6 -6
  40. package/dist/apis/deduplication.js +1 -1
  41. package/dist/apis/design.cjs +6 -6
  42. package/dist/apis/design.js +1 -1
  43. package/dist/apis/document.cjs +8 -8
  44. package/dist/apis/document.d.cts +2 -2
  45. package/dist/apis/document.d.ts +2 -2
  46. package/dist/apis/document.js +2 -2
  47. package/dist/apis/email-settings.cjs +6 -6
  48. package/dist/apis/email-settings.js +1 -1
  49. package/dist/apis/email-template.cjs +6 -6
  50. package/dist/apis/email-template.js +1 -1
  51. package/dist/apis/entity-mapping.cjs +6 -6
  52. package/dist/apis/entity-mapping.js +1 -1
  53. package/dist/apis/entity.cjs +6 -6
  54. package/dist/apis/entity.js +1 -1
  55. package/dist/apis/environments.cjs +6 -6
  56. package/dist/apis/environments.js +1 -1
  57. package/dist/apis/event-catalog.cjs +6 -6
  58. package/dist/apis/event-catalog.js +1 -1
  59. package/dist/apis/file.cjs +6 -6
  60. package/dist/apis/file.js +1 -1
  61. package/dist/apis/iban.cjs +6 -6
  62. package/dist/apis/iban.js +1 -1
  63. package/dist/apis/integration-toolkit.cjs +6 -6
  64. package/dist/apis/integration-toolkit.js +1 -1
  65. package/dist/apis/journey.cjs +6 -6
  66. package/dist/apis/journey.js +1 -1
  67. package/dist/apis/kanban.cjs +6 -6
  68. package/dist/apis/kanban.js +1 -1
  69. package/dist/apis/message.cjs +6 -6
  70. package/dist/apis/message.js +1 -1
  71. package/dist/apis/metering.cjs +6 -6
  72. package/dist/apis/metering.js +1 -1
  73. package/dist/apis/notes.cjs +6 -6
  74. package/dist/apis/notes.js +1 -1
  75. package/dist/apis/notification.cjs +6 -6
  76. package/dist/apis/notification.js +1 -1
  77. package/dist/apis/organization.cjs +6 -6
  78. package/dist/apis/organization.js +1 -1
  79. package/dist/apis/partner-directory.cjs +6 -6
  80. package/dist/apis/partner-directory.js +1 -1
  81. package/dist/apis/permissions.cjs +6 -6
  82. package/dist/apis/permissions.js +1 -1
  83. package/dist/apis/pricing-tier.cjs +6 -6
  84. package/dist/apis/pricing-tier.js +1 -1
  85. package/dist/apis/pricing.cjs +6 -6
  86. package/dist/apis/pricing.js +1 -1
  87. package/dist/apis/purpose.cjs +6 -6
  88. package/dist/apis/purpose.js +1 -1
  89. package/dist/apis/query.cjs +6 -6
  90. package/dist/apis/query.js +1 -1
  91. package/dist/apis/sandbox.cjs +6 -6
  92. package/dist/apis/sandbox.js +1 -1
  93. package/dist/apis/sharing.cjs +6 -6
  94. package/dist/apis/sharing.js +1 -1
  95. package/dist/apis/snapshot.cjs +6 -6
  96. package/dist/apis/snapshot.js +1 -1
  97. package/dist/apis/submission.cjs +6 -6
  98. package/dist/apis/submission.js +1 -1
  99. package/dist/apis/target.cjs +6 -6
  100. package/dist/apis/target.js +1 -1
  101. package/dist/apis/targeting.cjs +6 -6
  102. package/dist/apis/targeting.js +1 -1
  103. package/dist/apis/template-variables.cjs +6 -6
  104. package/dist/apis/template-variables.js +1 -1
  105. package/dist/apis/user.cjs +6 -6
  106. package/dist/apis/user.js +1 -1
  107. package/dist/apis/validation-rules.cjs +6 -6
  108. package/dist/apis/validation-rules.js +1 -1
  109. package/dist/apis/webhooks.cjs +6 -6
  110. package/dist/apis/webhooks.js +1 -1
  111. package/dist/apis/workflow-definition.cjs +6 -6
  112. package/dist/apis/workflow-definition.js +1 -1
  113. package/dist/apis/workflow.cjs +6 -6
  114. package/dist/apis/workflow.js +1 -1
  115. package/dist/{chunk-M56QQHVA.cjs → chunk-E2EHXQRP.cjs} +1 -1
  116. package/dist/{chunk-75EI2Q64.js → chunk-LR7LGGRU.js} +1 -1
  117. package/dist/{chunk-6CWZ6WAC.cjs → chunk-UM53DB6T.cjs} +2 -2
  118. package/dist/{chunk-ELW5R5D6.js → chunk-W5PMKQO7.js} +2 -2
  119. package/dist/{configuration-hub.d-Dv41yC3b.d.cts → configuration-hub.d-DhPrjJkE.d.cts} +142 -142
  120. package/dist/{configuration-hub.d-Dv41yC3b.d.ts → configuration-hub.d-DhPrjJkE.d.ts} +142 -142
  121. package/dist/document-UGT6DAXC.cjs +7 -0
  122. package/dist/document-UR5WWZEA.js +7 -0
  123. package/dist/{document-runtime-GFEBGNMS.js → document-runtime-LFOBMSE4.js} +1 -1
  124. package/dist/{document-runtime-RG3F4R6O.cjs → document-runtime-QM4H7DLT.cjs} +2 -2
  125. package/dist/{document.d-DN37pjdx.d.cts → document.d-B0zC-R8x.d.cts} +235 -7
  126. package/dist/{document.d-DN37pjdx.d.ts → document.d-B0zC-R8x.d.ts} +235 -7
  127. package/dist/index.cjs +10 -10
  128. package/dist/index.d.cts +2 -2
  129. package/dist/index.d.ts +2 -2
  130. package/dist/index.js +2 -2
  131. package/dist/js-yaml-DLCVPJ7G.js +0 -0
  132. package/docs/document.md +145 -6
  133. package/package.json +12 -11
  134. package/dist/document-CY2A2OE7.js +0 -7
  135. package/dist/document-RYQ7MF6U.cjs +0 -7
@@ -1244,307 +1244,307 @@ declare namespace Paths {
1244
1244
  interface OperationMethods {
1245
1245
  /**
1246
1246
  * listConfigTypes - listConfigTypes
1247
- *
1247
+ *
1248
1248
  * Returns the static list of available configuration types with display metadata.
1249
1249
  * This is a cheap call — no fan-out to downstream APIs. Returns all known types
1250
1250
  * with labels and icons. The frontend should then call `listConfigs` separately
1251
1251
  * for each type it wants to load.
1252
- *
1252
+ *
1253
1253
  */
1254
1254
  'listConfigTypes'(
1255
1255
  parameters?: Parameters<UnknownParamsObject> | null,
1256
1256
  data?: any,
1257
- config?: AxiosRequestConfig
1257
+ config?: AxiosRequestConfig
1258
1258
  ): OperationResponse<Paths.ListConfigTypes.Responses.$200>
1259
1259
  /**
1260
1260
  * listConfigs - listConfigs
1261
- *
1261
+ *
1262
1262
  * List configs of a given type with pagination. Returns summary metadata only
1263
1263
  * (not full payloads). The frontend calls this per type folder when expanding.
1264
- *
1264
+ *
1265
1265
  * Supports offset-based pagination via `from` and `size` parameters.
1266
- *
1266
+ *
1267
1267
  */
1268
1268
  'listConfigs'(
1269
1269
  parameters?: Parameters<Paths.ListConfigs.QueryParameters & Paths.ListConfigs.PathParameters> | null,
1270
1270
  data?: any,
1271
- config?: AxiosRequestConfig
1271
+ config?: AxiosRequestConfig
1272
1272
  ): OperationResponse<Paths.ListConfigs.Responses.$200>
1273
1273
  /**
1274
1274
  * getConfigDependencies - getConfigDependencies
1275
- *
1275
+ *
1276
1276
  * Get configs that are referenced by the given config.
1277
1277
  * Used to render children when expanding a config node in the tree.
1278
- *
1278
+ *
1279
1279
  * Resolves dependencies by fetching the config payload server-side and scanning
1280
1280
  * for references (UUIDs, source IDs, slug-based references).
1281
- *
1281
+ *
1282
1282
  */
1283
1283
  'getConfigDependencies'(
1284
1284
  parameters?: Parameters<Paths.GetConfigDependencies.QueryParameters & Paths.GetConfigDependencies.PathParameters> | null,
1285
1285
  data?: any,
1286
- config?: AxiosRequestConfig
1286
+ config?: AxiosRequestConfig
1287
1287
  ): OperationResponse<Paths.GetConfigDependencies.Responses.$200>
1288
1288
  /**
1289
1289
  * getConfigUsedBy - getConfigUsedBy
1290
- *
1290
+ *
1291
1291
  * Get configs that reference the given config (reverse dependencies).
1292
1292
  * Scans the indexed config items for references to this config's ID or aliases.
1293
- *
1293
+ *
1294
1294
  */
1295
1295
  'getConfigUsedBy'(
1296
1296
  parameters?: Parameters<Paths.GetConfigUsedBy.PathParameters> | null,
1297
1297
  data?: any,
1298
- config?: AxiosRequestConfig
1298
+ config?: AxiosRequestConfig
1299
1299
  ): OperationResponse<Paths.GetConfigUsedBy.Responses.$200>
1300
1300
  /**
1301
1301
  * getIndex - getIndex
1302
- *
1302
+ *
1303
1303
  * Return the current index build state for the caller's organization.
1304
1304
  * Clients poll this to decide whether to show a "building" indicator
1305
1305
  * and when to refetch data.
1306
- *
1306
+ *
1307
1307
  */
1308
1308
  'getIndex'(
1309
1309
  parameters?: Parameters<UnknownParamsObject> | null,
1310
1310
  data?: any,
1311
- config?: AxiosRequestConfig
1311
+ config?: AxiosRequestConfig
1312
1312
  ): OperationResponse<Paths.GetIndex.Responses.$200>
1313
1313
  /**
1314
1314
  * compareConfigs - compareConfigs
1315
- *
1315
+ *
1316
1316
  * Compare the caller org's configs of a single type against another
1317
1317
  * (source) org, side by side. Rows are paired via the lineage registry in
1318
1318
  * both sync directions (caller imported from source, or source imported
1319
1319
  * from caller); configs without a counterpart come back as `only_current`
1320
1320
  * or `only_source`.
1321
- *
1321
+ *
1322
1322
  * `source_auth_token` must be a valid token for `source_org_id` — the
1323
1323
  * frontend mints one via the pipeline pairing, mirroring `createSyncJob`'s
1324
1324
  * `target_auth_token`. The token is verified against `source_org_id`
1325
1325
  * before any source-org data is read.
1326
- *
1326
+ *
1327
1327
  * POST because the request carries a token; the operation reads only.
1328
- *
1328
+ *
1329
1329
  */
1330
1330
  'compareConfigs'(
1331
1331
  parameters?: Parameters<UnknownParamsObject> | null,
1332
1332
  data?: Paths.CompareConfigs.RequestBody,
1333
- config?: AxiosRequestConfig
1333
+ config?: AxiosRequestConfig
1334
1334
  ): OperationResponse<Paths.CompareConfigs.Responses.$200>
1335
1335
  /**
1336
1336
  * suggestMatches - suggestMatches
1337
- *
1337
+ *
1338
1338
  * Run the sync-grade heuristic match (`lookupByHeuristic` — name / slug /
1339
1339
  * unique key) for a batch of source-org configs that have no lineage
1340
1340
  * entry, and return candidate counterparts in the caller's org.
1341
- *
1341
+ *
1342
1342
  * Suggestions are ephemeral — nothing is persisted. The client offers
1343
1343
  * each candidate to the user, and a confirmed pair is written via
1344
1344
  * `confirmLineage`. Batches are capped at 25 ids; the client pages
1345
1345
  * through unmatched rows across successive calls.
1346
- *
1346
+ *
1347
1347
  */
1348
1348
  'suggestMatches'(
1349
1349
  parameters?: Parameters<UnknownParamsObject> | null,
1350
1350
  data?: Paths.SuggestMatches.RequestBody,
1351
- config?: AxiosRequestConfig
1351
+ config?: AxiosRequestConfig
1352
1352
  ): OperationResponse<Paths.SuggestMatches.Responses.$200>
1353
1353
  /**
1354
1354
  * confirmLineage - confirmLineage
1355
- *
1355
+ *
1356
1356
  * Persist a lineage entry pairing a source-org config with a config in
1357
1357
  * the caller's org — used to confirm a heuristic suggestion from the
1358
1358
  * Compare view. Writes to the caller org's lineage partition (caller as
1359
1359
  * sync target), so subsequent syncs PATCH the confirmed target instead of
1360
1360
  * creating a duplicate. Conflicts (an existing entry pointing at a
1361
1361
  * different target) return 409 so the client can refresh.
1362
- *
1362
+ *
1363
1363
  */
1364
1364
  'confirmLineage'(
1365
1365
  parameters?: Parameters<UnknownParamsObject> | null,
1366
1366
  data?: Paths.ConfirmLineage.RequestBody,
1367
- config?: AxiosRequestConfig
1367
+ config?: AxiosRequestConfig
1368
1368
  ): OperationResponse<Paths.ConfirmLineage.Responses.$201>
1369
1369
  /**
1370
1370
  * breakLineage - breakLineage
1371
- *
1371
+ *
1372
1372
  * Delete a lineage entry from the caller org's partition (caller as sync
1373
1373
  * target), identified by `type` + `source_id`. Used to break a wrong or
1374
1374
  * stale match from the Compare view. Note: a future sync can re-match the
1375
1375
  * same pair heuristically — the entry is deleted, not blocklisted. To
1376
1376
  * break a match recorded in the OTHER direction, call this operation
1377
1377
  * authenticated as the other org (pipeline token).
1378
- *
1378
+ *
1379
1379
  */
1380
1380
  'breakLineage'(
1381
1381
  parameters?: Parameters<Paths.BreakLineage.QueryParameters> | null,
1382
1382
  data?: any,
1383
- config?: AxiosRequestConfig
1383
+ config?: AxiosRequestConfig
1384
1384
  ): OperationResponse<Paths.BreakLineage.Responses.$200>
1385
1385
  /**
1386
1386
  * listSyncJobs - listSyncJobs
1387
- *
1387
+ *
1388
1388
  * List sync jobs scoped to the caller's organization, paginated with an opaque
1389
1389
  * cursor. Defaults to most-recent first.
1390
- *
1390
+ *
1391
1391
  */
1392
1392
  'listSyncJobs'(
1393
1393
  parameters?: Parameters<Paths.ListSyncJobs.QueryParameters> | null,
1394
1394
  data?: any,
1395
- config?: AxiosRequestConfig
1395
+ config?: AxiosRequestConfig
1396
1396
  ): OperationResponse<Paths.ListSyncJobs.Responses.$200>
1397
1397
  /**
1398
1398
  * createSyncJob - createSyncJob
1399
- *
1399
+ *
1400
1400
  * Create a new cross-org sync job. The job is enqueued for asynchronous execution
1401
1401
  * by the worker Lambda; the response returns the persisted job header with status
1402
1402
  * `pending`.
1403
- *
1403
+ *
1404
1404
  * See `docs/sync/INTERFACES.md` for the locked request/response contract.
1405
- *
1405
+ *
1406
1406
  */
1407
1407
  'createSyncJob'(
1408
1408
  parameters?: Parameters<UnknownParamsObject> | null,
1409
1409
  data?: Paths.CreateSyncJob.RequestBody,
1410
- config?: AxiosRequestConfig
1410
+ config?: AxiosRequestConfig
1411
1411
  ): OperationResponse<Paths.CreateSyncJob.Responses.$201>
1412
1412
  /**
1413
1413
  * getSyncJob - getSyncJob
1414
- *
1414
+ *
1415
1415
  * Fetch a single sync job by ID. Returns the job header, counts summary,
1416
1416
  * current phase pointer, and the latest activity events. Frontend polls this
1417
1417
  * endpoint with a ramping interval.
1418
- *
1418
+ *
1419
1419
  */
1420
1420
  'getSyncJob'(
1421
1421
  parameters?: Parameters<Paths.GetSyncJob.PathParameters> | null,
1422
1422
  data?: any,
1423
- config?: AxiosRequestConfig
1423
+ config?: AxiosRequestConfig
1424
1424
  ): OperationResponse<Paths.GetSyncJob.Responses.$200>
1425
1425
  /**
1426
1426
  * retrySyncJob - retrySyncJob
1427
- *
1427
+ *
1428
1428
  * Retry the unresolved resources from a prior sync job: `failed` rows, plus
1429
1429
  * rows the original run left at `pending`/`in_progress` because it stopped
1430
1430
  * early. Creates a new job whose scope is that `(type, source_id)` set and
1431
1431
  * enqueues it for execution. Optionally accepts inline payload overrides.
1432
- *
1432
+ *
1433
1433
  */
1434
1434
  'retrySyncJob'(
1435
1435
  parameters?: Parameters<Paths.RetrySyncJob.PathParameters> | null,
1436
1436
  data?: Paths.RetrySyncJob.RequestBody,
1437
- config?: AxiosRequestConfig
1437
+ config?: AxiosRequestConfig
1438
1438
  ): OperationResponse<Paths.RetrySyncJob.Responses.$201>
1439
1439
  /**
1440
1440
  * cancelSyncJob - cancelSyncJob
1441
- *
1441
+ *
1442
1442
  * Cancel a running sync job. Marks the job `cancelled` with a `finished_at`
1443
1443
  * so it stops being reported as in-flight, and the worker stops at its next
1444
1444
  * batch boundary — phases re-read the job status and abort rather than
1445
1445
  * overwrite a cancellation with their own outcome.
1446
- *
1446
+ *
1447
1447
  * Resources already written to the target are NOT rolled back; cancelling
1448
1448
  * stops further work. Jobs already in a terminal state are rejected with
1449
1449
  * 409.
1450
- *
1450
+ *
1451
1451
  */
1452
1452
  'cancelSyncJob'(
1453
1453
  parameters?: Parameters<Paths.CancelSyncJob.PathParameters> | null,
1454
1454
  data?: any,
1455
- config?: AxiosRequestConfig
1455
+ config?: AxiosRequestConfig
1456
1456
  ): OperationResponse<Paths.CancelSyncJob.Responses.$200>
1457
1457
  /**
1458
1458
  * listSyncJobResources - listSyncJobResources
1459
- *
1459
+ *
1460
1460
  * List the per-resource rows for a sync job. Supports filtering by status
1461
1461
  * (e.g. `failed`) and cursor pagination. Used by the failures table and the
1462
1462
  * dry-run plan view in the frontend.
1463
- *
1463
+ *
1464
1464
  */
1465
1465
  'listSyncJobResources'(
1466
1466
  parameters?: Parameters<Paths.ListSyncJobResources.QueryParameters & Paths.ListSyncJobResources.PathParameters> | null,
1467
1467
  data?: any,
1468
- config?: AxiosRequestConfig
1468
+ config?: AxiosRequestConfig
1469
1469
  ): OperationResponse<Paths.ListSyncJobResources.Responses.$200>
1470
1470
  /**
1471
1471
  * listDeleteJobs - listDeleteJobs
1472
- *
1472
+ *
1473
1473
  * List bulk-delete jobs scoped to the caller's organization, paginated
1474
1474
  * with an opaque cursor. Most-recent first.
1475
- *
1475
+ *
1476
1476
  */
1477
1477
  'listDeleteJobs'(
1478
1478
  parameters?: Parameters<Paths.ListDeleteJobs.QueryParameters> | null,
1479
1479
  data?: any,
1480
- config?: AxiosRequestConfig
1480
+ config?: AxiosRequestConfig
1481
1481
  ): OperationResponse<Paths.ListDeleteJobs.Responses.$200>
1482
1482
  /**
1483
1483
  * createDeleteJob - createDeleteJob
1484
- *
1484
+ *
1485
1485
  * Create a bulk-delete job for the caller's organization. The selected
1486
1486
  * resources are deleted asynchronously by a worker Lambda; the response
1487
1487
  * returns the persisted job header with status `pending`.
1488
- *
1488
+ *
1489
1489
  * Raw delete — no dependency checks are performed. On completion the
1490
1490
  * worker auto-triggers an index rebuild so the config list reflects the
1491
1491
  * deletions.
1492
- *
1492
+ *
1493
1493
  */
1494
1494
  'createDeleteJob'(
1495
1495
  parameters?: Parameters<UnknownParamsObject> | null,
1496
1496
  data?: Paths.CreateDeleteJob.RequestBody,
1497
- config?: AxiosRequestConfig
1497
+ config?: AxiosRequestConfig
1498
1498
  ): OperationResponse<Paths.CreateDeleteJob.Responses.$201>
1499
1499
  /**
1500
1500
  * getDeleteJob - getDeleteJob
1501
- *
1501
+ *
1502
1502
  * Fetch a single bulk-delete job by ID. Returns the job header and counts
1503
1503
  * summary. Frontend polls this endpoint while the job runs.
1504
- *
1504
+ *
1505
1505
  */
1506
1506
  'getDeleteJob'(
1507
1507
  parameters?: Parameters<Paths.GetDeleteJob.PathParameters> | null,
1508
1508
  data?: any,
1509
- config?: AxiosRequestConfig
1509
+ config?: AxiosRequestConfig
1510
1510
  ): OperationResponse<Paths.GetDeleteJob.Responses.$200>
1511
1511
  /**
1512
1512
  * listDeleteJobResources - listDeleteJobResources
1513
- *
1513
+ *
1514
1514
  * List the per-resource rows for a delete job, cursor-paginated. Used by
1515
1515
  * the failures view in the frontend.
1516
- *
1516
+ *
1517
1517
  */
1518
1518
  'listDeleteJobResources'(
1519
1519
  parameters?: Parameters<Paths.ListDeleteJobResources.QueryParameters & Paths.ListDeleteJobResources.PathParameters> | null,
1520
1520
  data?: any,
1521
- config?: AxiosRequestConfig
1521
+ config?: AxiosRequestConfig
1522
1522
  ): OperationResponse<Paths.ListDeleteJobResources.Responses.$200>
1523
1523
  /**
1524
1524
  * rebuildIndex - rebuildIndex
1525
- *
1525
+ *
1526
1526
  * Rebuild the configuration index for the caller's organization.
1527
1527
  * Fire-and-forget: invokes the async worker and returns immediately.
1528
1528
  * A new rebuild will cancel any in-flight build (see `build_token`).
1529
- *
1529
+ *
1530
1530
  */
1531
1531
  'rebuildIndex'(
1532
1532
  parameters?: Parameters<UnknownParamsObject> | null,
1533
1533
  data?: any,
1534
- config?: AxiosRequestConfig
1534
+ config?: AxiosRequestConfig
1535
1535
  ): OperationResponse<Paths.RebuildIndex.Responses.$200>
1536
1536
  /**
1537
1537
  * getConfigInventory - getConfigInventory
1538
- *
1538
+ *
1539
1539
  * Returns a fresh inventory of an org's configuration resources — `{ type, id }` identities only,
1540
1540
  * no full payloads. Calls every adapter's `list()` live (bypasses the 7-day DynamoDB index).
1541
1541
  * Intended for snapshot-api to consume when taking a full-org snapshot.
1542
- *
1542
+ *
1543
1543
  */
1544
1544
  'getConfigInventory'(
1545
1545
  parameters?: Parameters<Paths.GetConfigInventory.QueryParameters> | null,
1546
1546
  data?: any,
1547
- config?: AxiosRequestConfig
1547
+ config?: AxiosRequestConfig
1548
1548
  ): OperationResponse<Paths.GetConfigInventory.Responses.$200>
1549
1549
  }
1550
1550
 
@@ -1552,341 +1552,341 @@ interface PathsDictionary {
1552
1552
  ['/v1/configs/types']: {
1553
1553
  /**
1554
1554
  * listConfigTypes - listConfigTypes
1555
- *
1555
+ *
1556
1556
  * Returns the static list of available configuration types with display metadata.
1557
1557
  * This is a cheap call — no fan-out to downstream APIs. Returns all known types
1558
1558
  * with labels and icons. The frontend should then call `listConfigs` separately
1559
1559
  * for each type it wants to load.
1560
- *
1560
+ *
1561
1561
  */
1562
1562
  'get'(
1563
1563
  parameters?: Parameters<UnknownParamsObject> | null,
1564
1564
  data?: any,
1565
- config?: AxiosRequestConfig
1565
+ config?: AxiosRequestConfig
1566
1566
  ): OperationResponse<Paths.ListConfigTypes.Responses.$200>
1567
1567
  }
1568
1568
  ['/v1/configs/{type}']: {
1569
1569
  /**
1570
1570
  * listConfigs - listConfigs
1571
- *
1571
+ *
1572
1572
  * List configs of a given type with pagination. Returns summary metadata only
1573
1573
  * (not full payloads). The frontend calls this per type folder when expanding.
1574
- *
1574
+ *
1575
1575
  * Supports offset-based pagination via `from` and `size` parameters.
1576
- *
1576
+ *
1577
1577
  */
1578
1578
  'get'(
1579
1579
  parameters?: Parameters<Paths.ListConfigs.QueryParameters & Paths.ListConfigs.PathParameters> | null,
1580
1580
  data?: any,
1581
- config?: AxiosRequestConfig
1581
+ config?: AxiosRequestConfig
1582
1582
  ): OperationResponse<Paths.ListConfigs.Responses.$200>
1583
1583
  }
1584
1584
  ['/v1/configs/{type}/{id}/dependencies']: {
1585
1585
  /**
1586
1586
  * getConfigDependencies - getConfigDependencies
1587
- *
1587
+ *
1588
1588
  * Get configs that are referenced by the given config.
1589
1589
  * Used to render children when expanding a config node in the tree.
1590
- *
1590
+ *
1591
1591
  * Resolves dependencies by fetching the config payload server-side and scanning
1592
1592
  * for references (UUIDs, source IDs, slug-based references).
1593
- *
1593
+ *
1594
1594
  */
1595
1595
  'get'(
1596
1596
  parameters?: Parameters<Paths.GetConfigDependencies.QueryParameters & Paths.GetConfigDependencies.PathParameters> | null,
1597
1597
  data?: any,
1598
- config?: AxiosRequestConfig
1598
+ config?: AxiosRequestConfig
1599
1599
  ): OperationResponse<Paths.GetConfigDependencies.Responses.$200>
1600
1600
  }
1601
1601
  ['/v1/configs/{type}/{id}/used_by']: {
1602
1602
  /**
1603
1603
  * getConfigUsedBy - getConfigUsedBy
1604
- *
1604
+ *
1605
1605
  * Get configs that reference the given config (reverse dependencies).
1606
1606
  * Scans the indexed config items for references to this config's ID or aliases.
1607
- *
1607
+ *
1608
1608
  */
1609
1609
  'get'(
1610
1610
  parameters?: Parameters<Paths.GetConfigUsedBy.PathParameters> | null,
1611
1611
  data?: any,
1612
- config?: AxiosRequestConfig
1612
+ config?: AxiosRequestConfig
1613
1613
  ): OperationResponse<Paths.GetConfigUsedBy.Responses.$200>
1614
1614
  }
1615
1615
  ['/v1/configs/index']: {
1616
1616
  /**
1617
1617
  * getIndex - getIndex
1618
- *
1618
+ *
1619
1619
  * Return the current index build state for the caller's organization.
1620
1620
  * Clients poll this to decide whether to show a "building" indicator
1621
1621
  * and when to refetch data.
1622
- *
1622
+ *
1623
1623
  */
1624
1624
  'get'(
1625
1625
  parameters?: Parameters<UnknownParamsObject> | null,
1626
1626
  data?: any,
1627
- config?: AxiosRequestConfig
1627
+ config?: AxiosRequestConfig
1628
1628
  ): OperationResponse<Paths.GetIndex.Responses.$200>
1629
1629
  }
1630
1630
  ['/v1/configs/compare']: {
1631
1631
  /**
1632
1632
  * compareConfigs - compareConfigs
1633
- *
1633
+ *
1634
1634
  * Compare the caller org's configs of a single type against another
1635
1635
  * (source) org, side by side. Rows are paired via the lineage registry in
1636
1636
  * both sync directions (caller imported from source, or source imported
1637
1637
  * from caller); configs without a counterpart come back as `only_current`
1638
1638
  * or `only_source`.
1639
- *
1639
+ *
1640
1640
  * `source_auth_token` must be a valid token for `source_org_id` — the
1641
1641
  * frontend mints one via the pipeline pairing, mirroring `createSyncJob`'s
1642
1642
  * `target_auth_token`. The token is verified against `source_org_id`
1643
1643
  * before any source-org data is read.
1644
- *
1644
+ *
1645
1645
  * POST because the request carries a token; the operation reads only.
1646
- *
1646
+ *
1647
1647
  */
1648
1648
  'post'(
1649
1649
  parameters?: Parameters<UnknownParamsObject> | null,
1650
1650
  data?: Paths.CompareConfigs.RequestBody,
1651
- config?: AxiosRequestConfig
1651
+ config?: AxiosRequestConfig
1652
1652
  ): OperationResponse<Paths.CompareConfigs.Responses.$200>
1653
1653
  }
1654
1654
  ['/v1/configs/compare/suggestions']: {
1655
1655
  /**
1656
1656
  * suggestMatches - suggestMatches
1657
- *
1657
+ *
1658
1658
  * Run the sync-grade heuristic match (`lookupByHeuristic` — name / slug /
1659
1659
  * unique key) for a batch of source-org configs that have no lineage
1660
1660
  * entry, and return candidate counterparts in the caller's org.
1661
- *
1661
+ *
1662
1662
  * Suggestions are ephemeral — nothing is persisted. The client offers
1663
1663
  * each candidate to the user, and a confirmed pair is written via
1664
1664
  * `confirmLineage`. Batches are capped at 25 ids; the client pages
1665
1665
  * through unmatched rows across successive calls.
1666
- *
1666
+ *
1667
1667
  */
1668
1668
  'post'(
1669
1669
  parameters?: Parameters<UnknownParamsObject> | null,
1670
1670
  data?: Paths.SuggestMatches.RequestBody,
1671
- config?: AxiosRequestConfig
1671
+ config?: AxiosRequestConfig
1672
1672
  ): OperationResponse<Paths.SuggestMatches.Responses.$200>
1673
1673
  }
1674
1674
  ['/v1/configs/lineage']: {
1675
1675
  /**
1676
1676
  * confirmLineage - confirmLineage
1677
- *
1677
+ *
1678
1678
  * Persist a lineage entry pairing a source-org config with a config in
1679
1679
  * the caller's org — used to confirm a heuristic suggestion from the
1680
1680
  * Compare view. Writes to the caller org's lineage partition (caller as
1681
1681
  * sync target), so subsequent syncs PATCH the confirmed target instead of
1682
1682
  * creating a duplicate. Conflicts (an existing entry pointing at a
1683
1683
  * different target) return 409 so the client can refresh.
1684
- *
1684
+ *
1685
1685
  */
1686
1686
  'post'(
1687
1687
  parameters?: Parameters<UnknownParamsObject> | null,
1688
1688
  data?: Paths.ConfirmLineage.RequestBody,
1689
- config?: AxiosRequestConfig
1689
+ config?: AxiosRequestConfig
1690
1690
  ): OperationResponse<Paths.ConfirmLineage.Responses.$201>
1691
1691
  /**
1692
1692
  * breakLineage - breakLineage
1693
- *
1693
+ *
1694
1694
  * Delete a lineage entry from the caller org's partition (caller as sync
1695
1695
  * target), identified by `type` + `source_id`. Used to break a wrong or
1696
1696
  * stale match from the Compare view. Note: a future sync can re-match the
1697
1697
  * same pair heuristically — the entry is deleted, not blocklisted. To
1698
1698
  * break a match recorded in the OTHER direction, call this operation
1699
1699
  * authenticated as the other org (pipeline token).
1700
- *
1700
+ *
1701
1701
  */
1702
1702
  'delete'(
1703
1703
  parameters?: Parameters<Paths.BreakLineage.QueryParameters> | null,
1704
1704
  data?: any,
1705
- config?: AxiosRequestConfig
1705
+ config?: AxiosRequestConfig
1706
1706
  ): OperationResponse<Paths.BreakLineage.Responses.$200>
1707
1707
  }
1708
1708
  ['/v1/configs/sync-jobs']: {
1709
1709
  /**
1710
1710
  * createSyncJob - createSyncJob
1711
- *
1711
+ *
1712
1712
  * Create a new cross-org sync job. The job is enqueued for asynchronous execution
1713
1713
  * by the worker Lambda; the response returns the persisted job header with status
1714
1714
  * `pending`.
1715
- *
1715
+ *
1716
1716
  * See `docs/sync/INTERFACES.md` for the locked request/response contract.
1717
- *
1717
+ *
1718
1718
  */
1719
1719
  'post'(
1720
1720
  parameters?: Parameters<UnknownParamsObject> | null,
1721
1721
  data?: Paths.CreateSyncJob.RequestBody,
1722
- config?: AxiosRequestConfig
1722
+ config?: AxiosRequestConfig
1723
1723
  ): OperationResponse<Paths.CreateSyncJob.Responses.$201>
1724
1724
  /**
1725
1725
  * listSyncJobs - listSyncJobs
1726
- *
1726
+ *
1727
1727
  * List sync jobs scoped to the caller's organization, paginated with an opaque
1728
1728
  * cursor. Defaults to most-recent first.
1729
- *
1729
+ *
1730
1730
  */
1731
1731
  'get'(
1732
1732
  parameters?: Parameters<Paths.ListSyncJobs.QueryParameters> | null,
1733
1733
  data?: any,
1734
- config?: AxiosRequestConfig
1734
+ config?: AxiosRequestConfig
1735
1735
  ): OperationResponse<Paths.ListSyncJobs.Responses.$200>
1736
1736
  }
1737
1737
  ['/v1/configs/sync-jobs/{id}']: {
1738
1738
  /**
1739
1739
  * getSyncJob - getSyncJob
1740
- *
1740
+ *
1741
1741
  * Fetch a single sync job by ID. Returns the job header, counts summary,
1742
1742
  * current phase pointer, and the latest activity events. Frontend polls this
1743
1743
  * endpoint with a ramping interval.
1744
- *
1744
+ *
1745
1745
  */
1746
1746
  'get'(
1747
1747
  parameters?: Parameters<Paths.GetSyncJob.PathParameters> | null,
1748
1748
  data?: any,
1749
- config?: AxiosRequestConfig
1749
+ config?: AxiosRequestConfig
1750
1750
  ): OperationResponse<Paths.GetSyncJob.Responses.$200>
1751
1751
  }
1752
1752
  ['/v1/configs/sync-jobs/{id}/retry']: {
1753
1753
  /**
1754
1754
  * retrySyncJob - retrySyncJob
1755
- *
1755
+ *
1756
1756
  * Retry the unresolved resources from a prior sync job: `failed` rows, plus
1757
1757
  * rows the original run left at `pending`/`in_progress` because it stopped
1758
1758
  * early. Creates a new job whose scope is that `(type, source_id)` set and
1759
1759
  * enqueues it for execution. Optionally accepts inline payload overrides.
1760
- *
1760
+ *
1761
1761
  */
1762
1762
  'post'(
1763
1763
  parameters?: Parameters<Paths.RetrySyncJob.PathParameters> | null,
1764
1764
  data?: Paths.RetrySyncJob.RequestBody,
1765
- config?: AxiosRequestConfig
1765
+ config?: AxiosRequestConfig
1766
1766
  ): OperationResponse<Paths.RetrySyncJob.Responses.$201>
1767
1767
  }
1768
1768
  ['/v1/configs/sync-jobs/{id}/cancel']: {
1769
1769
  /**
1770
1770
  * cancelSyncJob - cancelSyncJob
1771
- *
1771
+ *
1772
1772
  * Cancel a running sync job. Marks the job `cancelled` with a `finished_at`
1773
1773
  * so it stops being reported as in-flight, and the worker stops at its next
1774
1774
  * batch boundary — phases re-read the job status and abort rather than
1775
1775
  * overwrite a cancellation with their own outcome.
1776
- *
1776
+ *
1777
1777
  * Resources already written to the target are NOT rolled back; cancelling
1778
1778
  * stops further work. Jobs already in a terminal state are rejected with
1779
1779
  * 409.
1780
- *
1780
+ *
1781
1781
  */
1782
1782
  'post'(
1783
1783
  parameters?: Parameters<Paths.CancelSyncJob.PathParameters> | null,
1784
1784
  data?: any,
1785
- config?: AxiosRequestConfig
1785
+ config?: AxiosRequestConfig
1786
1786
  ): OperationResponse<Paths.CancelSyncJob.Responses.$200>
1787
1787
  }
1788
1788
  ['/v1/configs/sync-jobs/{id}/resources']: {
1789
1789
  /**
1790
1790
  * listSyncJobResources - listSyncJobResources
1791
- *
1791
+ *
1792
1792
  * List the per-resource rows for a sync job. Supports filtering by status
1793
1793
  * (e.g. `failed`) and cursor pagination. Used by the failures table and the
1794
1794
  * dry-run plan view in the frontend.
1795
- *
1795
+ *
1796
1796
  */
1797
1797
  'get'(
1798
1798
  parameters?: Parameters<Paths.ListSyncJobResources.QueryParameters & Paths.ListSyncJobResources.PathParameters> | null,
1799
1799
  data?: any,
1800
- config?: AxiosRequestConfig
1800
+ config?: AxiosRequestConfig
1801
1801
  ): OperationResponse<Paths.ListSyncJobResources.Responses.$200>
1802
1802
  }
1803
1803
  ['/v1/configs/delete-jobs']: {
1804
1804
  /**
1805
1805
  * createDeleteJob - createDeleteJob
1806
- *
1806
+ *
1807
1807
  * Create a bulk-delete job for the caller's organization. The selected
1808
1808
  * resources are deleted asynchronously by a worker Lambda; the response
1809
1809
  * returns the persisted job header with status `pending`.
1810
- *
1810
+ *
1811
1811
  * Raw delete — no dependency checks are performed. On completion the
1812
1812
  * worker auto-triggers an index rebuild so the config list reflects the
1813
1813
  * deletions.
1814
- *
1814
+ *
1815
1815
  */
1816
1816
  'post'(
1817
1817
  parameters?: Parameters<UnknownParamsObject> | null,
1818
1818
  data?: Paths.CreateDeleteJob.RequestBody,
1819
- config?: AxiosRequestConfig
1819
+ config?: AxiosRequestConfig
1820
1820
  ): OperationResponse<Paths.CreateDeleteJob.Responses.$201>
1821
1821
  /**
1822
1822
  * listDeleteJobs - listDeleteJobs
1823
- *
1823
+ *
1824
1824
  * List bulk-delete jobs scoped to the caller's organization, paginated
1825
1825
  * with an opaque cursor. Most-recent first.
1826
- *
1826
+ *
1827
1827
  */
1828
1828
  'get'(
1829
1829
  parameters?: Parameters<Paths.ListDeleteJobs.QueryParameters> | null,
1830
1830
  data?: any,
1831
- config?: AxiosRequestConfig
1831
+ config?: AxiosRequestConfig
1832
1832
  ): OperationResponse<Paths.ListDeleteJobs.Responses.$200>
1833
1833
  }
1834
1834
  ['/v1/configs/delete-jobs/{id}']: {
1835
1835
  /**
1836
1836
  * getDeleteJob - getDeleteJob
1837
- *
1837
+ *
1838
1838
  * Fetch a single bulk-delete job by ID. Returns the job header and counts
1839
1839
  * summary. Frontend polls this endpoint while the job runs.
1840
- *
1840
+ *
1841
1841
  */
1842
1842
  'get'(
1843
1843
  parameters?: Parameters<Paths.GetDeleteJob.PathParameters> | null,
1844
1844
  data?: any,
1845
- config?: AxiosRequestConfig
1845
+ config?: AxiosRequestConfig
1846
1846
  ): OperationResponse<Paths.GetDeleteJob.Responses.$200>
1847
1847
  }
1848
1848
  ['/v1/configs/delete-jobs/{id}/resources']: {
1849
1849
  /**
1850
1850
  * listDeleteJobResources - listDeleteJobResources
1851
- *
1851
+ *
1852
1852
  * List the per-resource rows for a delete job, cursor-paginated. Used by
1853
1853
  * the failures view in the frontend.
1854
- *
1854
+ *
1855
1855
  */
1856
1856
  'get'(
1857
1857
  parameters?: Parameters<Paths.ListDeleteJobResources.QueryParameters & Paths.ListDeleteJobResources.PathParameters> | null,
1858
1858
  data?: any,
1859
- config?: AxiosRequestConfig
1859
+ config?: AxiosRequestConfig
1860
1860
  ): OperationResponse<Paths.ListDeleteJobResources.Responses.$200>
1861
1861
  }
1862
1862
  ['/v1/configs/index:rebuild']: {
1863
1863
  /**
1864
1864
  * rebuildIndex - rebuildIndex
1865
- *
1865
+ *
1866
1866
  * Rebuild the configuration index for the caller's organization.
1867
1867
  * Fire-and-forget: invokes the async worker and returns immediately.
1868
1868
  * A new rebuild will cancel any in-flight build (see `build_token`).
1869
- *
1869
+ *
1870
1870
  */
1871
1871
  'post'(
1872
1872
  parameters?: Parameters<UnknownParamsObject> | null,
1873
1873
  data?: any,
1874
- config?: AxiosRequestConfig
1874
+ config?: AxiosRequestConfig
1875
1875
  ): OperationResponse<Paths.RebuildIndex.Responses.$200>
1876
1876
  }
1877
1877
  ['/v1/configs/inventory']: {
1878
1878
  /**
1879
1879
  * getConfigInventory - getConfigInventory
1880
- *
1880
+ *
1881
1881
  * Returns a fresh inventory of an org's configuration resources — `{ type, id }` identities only,
1882
1882
  * no full payloads. Calls every adapter's `list()` live (bypasses the 7-day DynamoDB index).
1883
1883
  * Intended for snapshot-api to consume when taking a full-org snapshot.
1884
- *
1884
+ *
1885
1885
  */
1886
1886
  'get'(
1887
1887
  parameters?: Parameters<Paths.GetConfigInventory.QueryParameters> | null,
1888
1888
  data?: any,
1889
- config?: AxiosRequestConfig
1889
+ config?: AxiosRequestConfig
1890
1890
  ): OperationResponse<Paths.GetConfigInventory.Responses.$200>
1891
1891
  }
1892
1892
  }