@celigo/api-specs 0.2.333 → 0.2.334

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/api.yml CHANGED
@@ -1996,7 +1996,13 @@ paths:
1996
1996
  properties:
1997
1997
  stages:
1998
1998
  type: array
1999
- description: Ordered stages that ran for this step.
1999
+ description: |-
2000
+ Ordered stages that ran for this step. A lookup on an HTTP export that called
2001
+ its application has `statusCode` and the application's response `headers`
2002
+ beside `body` and `url` in its `response` output; one that answered from the
2003
+ `mockOutput` saved on its export has only `body` and `url` there, and its
2004
+ stage list starts with `exportMapping` — no request was sent, though `request`
2005
+ and `response` are recorded.
2000
2006
  items:
2001
2007
  type: object
2002
2008
  properties:
@@ -2124,6 +2130,11 @@ paths:
2124
2130
  request/response envelope with `GET /v1/apis/{_id}/{_stepId}/requests/{key}`. A step id that
2125
2131
  is not an export or import (such as a router) returns a 400 `invalid_ref`, and a step that
2126
2132
  captured no request/response data returns a 404 `req_res_logs_not_found`.
2133
+
2134
+ An entry is recorded for a lookup on an HTTP export whether or not its request left the
2135
+ platform: one that answered from the `mockOutput` saved on its export has an entry too. To
2136
+ tell a call that was made from one that was not, read the step's `response` stage with
2137
+ `GET /v1/apis/{_id}/test/run/{runId}/{_stepId}`.
2127
2138
  parameters:
2128
2139
  - name: _id
2129
2140
  in: path
package/dist/flow.yml CHANGED
@@ -4064,6 +4064,12 @@ paths:
4064
4064
  The body's `_exportId` picks the page generator the run starts from, and
4065
4065
  the flow can be enabled or disabled.
4066
4066
 
4067
+ A test run does not call every application its steps name. An export with a
4068
+ saved `mockOutput` — the page generator or a lookup — answers from it and is
4069
+ not called; one with none is read from its application. Imports never send.
4070
+ For an HTTP export, `GET /v1/flows/{_id}/test/run/{runId}/{_stepId}` shows
4071
+ which it did.
4072
+
4067
4073
  Test runs are kept in a **separate history** from production runs — the
4068
4074
  `flowJob` and `childJobs` returned here are test artifacts, not records
4069
4075
  you'll find via `GET /v1/jobs`. The top-level `metadata` map is keyed by
@@ -4072,7 +4078,7 @@ paths:
4072
4078
  `GET /v1/flows/{_id}/test/run/{runId}/{_stepId}` to inspect per-stage
4073
4079
  input/output and errors, or with
4074
4080
  `GET /v1/flows/{_id}/test/run/{runId}/{_stepId}/logs/requestAndResponse`
4075
- for raw outbound HTTP captures.
4081
+ for the step's request log.
4076
4082
 
4077
4083
  **Endpoint template applies across three resource families.** The same
4078
4084
  test-run shape also exists for Tools (`/v1/tools/{_id}/test/run`) and
@@ -4081,6 +4087,13 @@ paths:
4081
4087
  A test run processes only the first page of records: later pages arrive empty, so downstream
4082
4088
  steps see only the first page's records.
4083
4089
 
4090
+ A run that reads an export from its application saves what it read on the export as its
4091
+ `mockOutput` (the export's `lastModified` changes), so every later test run answers that step
4092
+ from the saved records instead of calling the application; remove `mockOutput` from the
4093
+ export to read the application again. An import returns its saved `mockResponse`, or a
4094
+ placeholder response when none is saved (see `mockResponse` on imports), and a run saves that
4095
+ placeholder on an import that had none.
4096
+
4084
4097
  Test-run state is short-lived and ephemeral — capture the `runId` (the
4085
4098
  `flowJob._id`) and read back any step detail soon after the run returns.
4086
4099
  parameters:
@@ -4244,10 +4257,11 @@ paths:
4244
4257
 
4245
4258
  A stage's `input` and `output` are `null` when the stage has nothing on
4246
4259
  that side, and arrays for most stages: the `request` and `response`
4247
- stages' `output` lists the outbound HTTP request (`url`, `method`,
4248
- `headers`, and `body` when one was sent) and its reply (`statusCode`,
4249
- `headers`, `body`), and record stages such as `parse` hold envelopes
4250
- carrying `record` and `errors`. The response-mapping stages hold objects
4260
+ stages' `output` lists the HTTP request the step rendered (`url`,
4261
+ `method`, `headers`, and `body` when it has one) and the reply — for an
4262
+ HTTP step, recorded whether or not the request left the platform, see
4263
+ `stages` in the response — and record stages such as `parse` hold
4264
+ envelopes carrying `record` and `errors`. The response-mapping stages hold objects
4251
4265
  instead. `responseMap` takes `{contexts}`, one context per record (the
4252
4266
  step's parsed reply plus `statusCode`, `headers`, and `_json`), and
4253
4267
  returns `{data}`, the mapped records as `{record, traceKey}` entries.
@@ -4260,8 +4274,7 @@ paths:
4260
4274
  `errors`: one entry per record, with the `branches` positions the router
4261
4275
  sent it to and any routing `errors`. Use
4262
4276
  `GET /v1/flows/{_id}/test/run/{runId}/{_stepId}/logs/requestAndResponse`
4263
- when you need the raw outbound HTTP request/response captures instead of
4264
- the staged record view.
4277
+ for the step's request log instead of the staged record view.
4265
4278
 
4266
4279
  **Endpoint template applies across three resource families.** The same
4267
4280
  path shape also exists for Tools (`/v1/tools/{_id}/test/run/{runId}/{_stepId}`)
@@ -4307,7 +4320,15 @@ paths:
4307
4320
  properties:
4308
4321
  stages:
4309
4322
  type: array
4310
- description: Ordered stages the step executed.
4323
+ description: |-
4324
+ Ordered stages the step executed. An HTTP export that called its application
4325
+ has `statusCode` and the application's response `headers` beside `body` and
4326
+ `url` in its `response` output; one that answered from the `mockOutput` saved
4327
+ on it has only `body` and `url` there, and its stage list starts with
4328
+ `exportMapping` — no request was sent, though both stages are recorded. A
4329
+ NetSuite search or Salesforce SOQL export records `request` and `parse` only,
4330
+ the same in both cases. An import's request is never sent: its `response`
4331
+ output carries its `mockResponse` status, 200 for the placeholder.
4311
4332
  items:
4312
4333
  type: object
4313
4334
  description: One stage of the step.
@@ -4497,11 +4518,16 @@ paths:
4497
4518
  - Flows
4498
4519
  summary: Get request/response logs for a flow test-run step
4499
4520
  description: |-
4500
- Returns the outbound HTTP request/response log pairs captured during a
4501
- specific step of a flow test run. Only steps that issued outbound HTTP
4502
- calls (exports, imports, lookups) produce entries — routers, filters, and
4503
- other in-process stages are rejected with `req_res_logs_not_found` by
4504
- design.
4521
+ Returns the HTTP request/response log pairs captured during a
4522
+ specific step of a flow test run. Only export, import, and lookup steps
4523
+ produce entries — routers, filters, and other in-process stages are
4524
+ rejected with `req_res_logs_not_found` by design.
4525
+
4526
+ An entry is recorded for an HTTP step whether or not its request left the
4527
+ platform: an HTTP export that answered from the `mockOutput` saved on it
4528
+ has one, and so does an import, whose request is never sent in a test run.
4529
+ To tell a call that was made from one that was not, read the step's
4530
+ `response` stage with `GET /v1/flows/{_id}/test/run/{runId}/{_stepId}`.
4505
4531
 
4506
4532
  The `runId` comes from the `POST /v1/flows/{_id}/test/run` response (not
4507
4533
  from a normal flow run Job record — test runs and regular runs are
package/dist/tool.yml CHANGED
@@ -2720,7 +2720,13 @@ paths:
2720
2720
  properties:
2721
2721
  stages:
2722
2722
  type: array
2723
- description: Ordered list of stages that ran for the step.
2723
+ description: |-
2724
+ Ordered list of stages that ran for the step. A lookup on an HTTP export that
2725
+ called its application has `statusCode` and the application's response
2726
+ `headers` beside `body` and `url` in its `response` output; one that answered
2727
+ from the `mockOutput` saved on its export has only `body` and `url` there, and
2728
+ its stage list starts with `exportMapping` — no request was sent, though
2729
+ `request` and `response` are recorded.
2724
2730
  items:
2725
2731
  type: object
2726
2732
  description: One stage of the step.
@@ -2848,11 +2854,16 @@ paths:
2848
2854
  x-internal: false
2849
2855
  summary: Get request/response logs for a tool test-run step
2850
2856
  description: |-
2851
- Returns the outbound HTTP request/response log pairs captured during a
2852
- specific step of a tool test run. Only steps that issued outbound HTTP
2853
- calls (exports, imports, lookups) produce entries — routers, filters, and
2854
- other in-process stages return `404` with code `req_res_logs_not_found`
2855
- by design.
2857
+ Returns the HTTP request/response log pairs captured during a
2858
+ specific step of a tool test run. Only export, import, and lookup steps
2859
+ produce entries — routers, filters, and other in-process stages return
2860
+ `404` with code `req_res_logs_not_found` by design.
2861
+
2862
+ An entry is recorded for a lookup on an HTTP export whether or not its
2863
+ request left the platform: one that answered from the `mockOutput` saved on
2864
+ its export has an entry too. To tell a call that was made from one that was
2865
+ not, read the step's `response` stage with
2866
+ `GET /v1/tools/{_id}/test/run/{runId}/{_stepId}`.
2856
2867
 
2857
2868
  The `runId` is the `flowJob._id` returned by
2858
2869
  `POST /v1/tools/{_id}/test/run`; the `{_stepId}` is the export or import
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@celigo/api-specs",
3
- "version": "0.2.333",
3
+ "version": "0.2.334",
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": "40a3e70a",
4
+ "iasCommit": "61ea6250",
5
5
  "generatedAt": "2026-11-22"
6
6
  },
7
7
  "roots": {