@celigo/api-specs 0.2.345 → 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/sync.yml CHANGED
@@ -4426,10 +4426,31 @@ components:
4426
4426
  tablePrefix:
4427
4427
  type: string
4428
4428
  description: |-
4429
- Prefix prepended to the name of every table the sync creates in the
4430
- destination schema. Omit to use unprefixed table names.
4429
+ Label put in front of the name of every table the sync creates in the
4430
+ destination schema; absent when table names are unprefixed. A NetSuite Analytics
4431
+ Warehouse destination carries it unless it was saved with `database` instead,
4432
+ joins it to the table name with an underscore and stores the name in upper case:
4433
+ schema `OAX_USER`, prefix `sf` and table name `account` give the table
4434
+ `OAX_USER.SF_ACCOUNT`.
4435
+ x-celigo-ai-guidance:
4436
+ - |-
4437
+ Never tell a user that a NetSuite Analytics Warehouse destination can simply
4438
+ leave the prefix out. A destination sent with `schema` alone, or with an empty
4439
+ `tablePrefix`, and no `database` fails with 422 `invalid_destination_sync_config`
4440
+ ("At least one of database or tablePrefix is required for NSAW"); one saved with
4441
+ `database` and no prefix is valid.
4442
+ - |-
4443
+ On NetSuite Analytics Warehouse the underscore between the prefix and the table
4444
+ name is added for you, so a prefix that itself ends in an underscore is saved as
4445
+ sent and gives a doubled one (`sf_` and `account` give `SF__ACCOUNT`). Suggest the
4446
+ prefix without the trailing underscore, and say what the table will be called.
4447
+ - |-
4448
+ On NetSuite Analytics Warehouse a `schema` and `tablePrefix` pair, in any letter
4449
+ case, backs only one sync on a destination connection: a second sync with the
4450
+ same pair fails with 422 `duplicate_destination_host`, and the same `schema` with
4451
+ another prefix saves.
4431
4452
  examples:
4432
- - sf_
4453
+ - sf
4433
4454
  driftPolicy:
4434
4455
  $ref: '#/components/schemas/SyncDriftPolicy'
4435
4456
  _runNextFlowIds:
@@ -4711,7 +4732,9 @@ components:
4711
4732
  two fields the Create Sync wizard collects; `database` is accepted in `tablePrefix`'s
4712
4733
  place, and a sync enables with either. A `tablePrefix` with a hyphen fails with 422
4713
4734
  `nsaw_invalid_prefix` ("Prefix must start with a letter or underscore, followed by
4714
- alphanumeric characters, underscores, or dollar signs").
4735
+ alphanumeric characters, underscores, or dollar signs"). With `database` in the
4736
+ prefix's place a second sync with the same `schema` and `database` on that
4737
+ connection fails with 422 `duplicate_destination_host`.
4715
4738
  - |-
4716
4739
  Except for NetSuite Analytics Warehouse (last sentence), saving a complete
4717
4740
  destination connects to the warehouse to create the schema (dataset) when it is
@@ -4779,12 +4802,22 @@ components:
4779
4802
  tablePrefix:
4780
4803
  type: string
4781
4804
  description: |-
4782
- Prefix prepended to the name of every table the sync creates in the
4783
- destination schema. Omit to use unprefixed table names. A NetSuite Analytics
4784
- Warehouse destination takes it in place of `database`.
4805
+ Label put in front of the name of every table the sync creates in the
4806
+ destination schema; omit it for unprefixed table names. A NetSuite Analytics
4807
+ Warehouse destination needs either it or `database`, joins it to the table name
4808
+ with an underscore and stores the name in upper case: schema `OAX_USER`, prefix
4809
+ `sf` and table name `account` give the table `OAX_USER.SF_ACCOUNT`.
4810
+ x-celigo-ai-guidance:
4811
+ - |-
4812
+ Write the prefix as the user gave it. A NetSuite Analytics Warehouse destination
4813
+ sent with `schema` alone, or with an empty `tablePrefix`, and no `database` fails
4814
+ with 422 `invalid_destination_sync_config` ("At least one of database or
4815
+ tablePrefix is required for NSAW"), and a second sync with the same `schema` and
4816
+ `tablePrefix` on that connection, in any letter case, fails with 422
4817
+ `duplicate_destination_host`.
4785
4818
  x-celigo-ui-override: For a NetSuite Analytics Warehouse destination the Create Sync wizard collects the schema and this prefix, requires both, and has no database field.
4786
4819
  examples:
4787
- - sf_
4820
+ - sf
4788
4821
  driftPolicy:
4789
4822
  $ref: '#/components/schemas/SyncDriftPolicy'
4790
4823
  _runNextFlowIds:
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.345",
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": "ce8dec82",
4
+ "iasCommit": "d1aed1d9",
5
5
  "generatedAt": "2026-11-24"
6
6
  },
7
7
  "roots": {