@celigo/api-specs 0.2.346 → 0.2.347

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/topic.yml CHANGED
@@ -1155,7 +1155,11 @@ paths:
1155
1155
  Returns the resources that reference the topic: `exports` and `imports` bound to it through
1156
1156
  `topic._topicId`, `flows` that contain those steps, and `integrations` that list it in
1157
1157
  `_registeredTopicIds`. Exports and imports listed here block `DELETE /v1/topics/{_id}` until they
1158
- are removed or repointed. An unknown topic id returns an empty map rather than 404.
1158
+ are removed or repointed. A flow entry says how the flow uses the step: its `paths` is
1159
+ `pageGenerators[*]._exportId` for a listener that is one of the flow's sources and
1160
+ `pageProcessors[*]._importId` for a publish step, and its `dependencyIds` names that export or
1161
+ import. An integration entry lists the flows of the answer that belong to it in
1162
+ `dependencyIds.flow`.
1159
1163
  parameters:
1160
1164
  - name: _id
1161
1165
  in: path
@@ -1198,11 +1202,86 @@ paths:
1198
1202
  dependencyIds:
1199
1203
  topic:
1200
1204
  - 6aab2870265e1cf39fcbee4d
1205
+ listening_and_publishing_flows:
1206
+ summary: Topic with a flow that listens to it and a flow that publishes to it
1207
+ value:
1208
+ exports:
1209
+ - id: 6ab1f5b671fc8127d374d4ed
1210
+ name: Orders created listener
1211
+ type: stream
1212
+ paths:
1213
+ - topic._topicId
1214
+ accessLevel: manage
1215
+ dependencyIds:
1216
+ topic:
1217
+ - 6aab2870265e1cf39fcbee4d
1218
+ imports:
1219
+ - id: 6ab1f6c271fc8127d374d51a
1220
+ name: Publish order created
1221
+ paths:
1222
+ - topic._topicId
1223
+ accessLevel: manage
1224
+ dependencyIds:
1225
+ topic:
1226
+ - 6aab2870265e1cf39fcbee4d
1227
+ flows:
1228
+ - id: 6ab1f5b771fc8127d374d4f6
1229
+ name: Orders created to fulfillment
1230
+ paths:
1231
+ - pageGenerators[*]._exportId
1232
+ accessLevel: manage
1233
+ dependencyIds:
1234
+ export:
1235
+ - 6ab1f5b671fc8127d374d4ed
1236
+ - id: 6ab1f6c371fc8127d374d523
1237
+ name: Storefront orders to topic
1238
+ paths:
1239
+ - pageProcessors[*]._importId
1240
+ accessLevel: manage
1241
+ dependencyIds:
1242
+ import:
1243
+ - 6ab1f6c271fc8127d374d51a
1244
+ integrations:
1245
+ - id: 6ab1f4a138d7733b45998d99
1246
+ name: Order fulfillment
1247
+ paths:
1248
+ - _registeredTopicIds[*]
1249
+ accessLevel: manage
1250
+ dependencyIds:
1251
+ topic:
1252
+ - 6aab2870265e1cf39fcbee4d
1253
+ flow:
1254
+ - 6ab1f5b771fc8127d374d4f6
1255
+ - 6ab1f6c371fc8127d374d523
1201
1256
  empty:
1202
1257
  summary: Nothing references the topic
1203
1258
  value: {}
1259
+ '400':
1260
+ description: '`_id` is not a 24-character hexadecimal ObjectId. Error code: `invalid_ref`.'
1261
+ content:
1262
+ application/json:
1263
+ schema:
1264
+ $ref: '#/components/schemas/Error'
1265
+ examples:
1266
+ malformed_id:
1267
+ value:
1268
+ errors:
1269
+ - code: invalid_ref
1270
+ message: Please provide a valid _id.
1204
1271
  '401':
1205
1272
  $ref: '#/components/responses/401-unauthorized'
1273
+ '404':
1274
+ description: 'No topic has this id. Error code: `invalid_ref`.'
1275
+ content:
1276
+ application/json:
1277
+ schema:
1278
+ $ref: '#/components/schemas/Error'
1279
+ examples:
1280
+ not_found:
1281
+ value:
1282
+ errors:
1283
+ - code: invalid_ref
1284
+ message: Topic not found.
1206
1285
  components:
1207
1286
  securitySchemes:
1208
1287
  bearerAuth:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@celigo/api-specs",
3
- "version": "0.2.346",
3
+ "version": "0.2.347",
4
4
  "private": false,
5
5
  "description": "Public OpenAPI bundles (dist/) and the celigo-cli lint schema pack (schemas.json).",
6
6
  "keywords": [
package/schemas.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "provenance": {
3
3
  "repo": "celigo/integrator-api-specs",
4
- "iasCommit": "8e5d0fe9",
4
+ "iasCommit": "d1aed1d9",
5
5
  "generatedAt": "2026-11-24"
6
6
  },
7
7
  "roots": {