@celigo/api-specs 0.2.250 → 0.2.251
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/export.yml +22 -8
- package/dist/tool.yml +22 -8
- package/package.json +1 -1
- package/schemas.json +1 -1
package/dist/export.yml
CHANGED
|
@@ -1484,7 +1484,7 @@ components:
|
|
|
1484
1484
|
required:
|
|
1485
1485
|
- verify
|
|
1486
1486
|
x-celigo-ui-override: 'verify is required by the webhook listener form for every provider (exports/webhook.js: verify required:true; on a connector-backed listener the form pre-fills it from the connector definition before saving). The API enforces it only when provider is custom or absent — 422 missing_required_field on webhook.verify, "verify is required for export type webhook, provider = custom". For the named providers probed (slack, shopify, github) it stores a listener posted with key and no verify (201 each; the GET carries provider, key and formType simple) and requires a credential instead: without key (and no token) each answers 422 missing_required_field on webhook.key — "key is required for slack verification" / "key is required for shopify verification" / "key is required for github verification"; a slack listener posted with token and no key saved. Other named providers are unprobed. The requirement is kept so an authored document matches a form-saved one.'
|
|
1487
|
-
description: Configuration for webhook listeners that receive data through incoming HTTP requests. Required when the export's `type` is `webhook`; omit for other export types. Senders POST to the export's listener URL, `https://api.integrator.io/v1/exports/{_id}/data` (or the same path on the account's regional API host); the platform
|
|
1487
|
+
description: 'Configuration for webhook listeners that receive data through incoming HTTP requests. Required when the export''s `type` is `webhook`; omit for other export types. Senders POST to the export''s listener URL, `https://api.integrator.io/v1/exports/{_id}/data` (or the same path on the account''s regional API host); the platform checks each request, passes the payload to subsequent flow steps, and returns a configurable HTTP response to the caller. How a request is checked depends on `provider`: a `custom` listener applies the saved `verify` method exactly; a named provider (`slack`, `shopify`, …) is verified the way that provider signs its webhooks; an `integrator-extension` listener is checked for a Celigo API token only and ignores the saved `verify` fields — see those fields for the detail. A request is answered 204 by default when accepted, 401 when the check fails, 403 `unable_to_run_flows` while every flow the export feeds is disabled, and 403 `access_denied` when the export''s `_networkPolicyId` policy does not admit the sender''s address (checked before verification, with a valid or an invalid token alike, where enforcement is enabled for the account); a refused request is not queued, so the sender must resend it once the cause is cleared. A 401 carries the reason in the `WWW-Authenticate` response header (body `Unauthorized`); the reason reflects the listener''s method, so these are representative rather than exhaustive. For a `custom` listener: `invalid token` (the token at the configured location is present and does not match), `Header ''<name>'' not found or empty` / `Query parameter ''<name>'' not found or empty` / `Invalid token path` (the token is absent from the configured header, query parameter or body path), `Header value does not have <scheme> scheme` (the configured `tokenHeaderScheme` prefix is missing), `invalid username and/or password` (`basic`), `Invalid header: <name>` / `<name> empty!` (`hmac` signature mismatch / header absent), and `invalid url token` / `missing required token in url` (`secret_url`). A named provider returns the reason for its own method (probed: `slack` token verification `!token`; `shopify` HMAC `Invalid X-Shopify-Hmac-SHA256`). An `integrator-extension` listener returns `invalid_request` for any request without a Celigo API token.'
|
|
1488
1488
|
x-celigo-ai-guidance:
|
|
1489
1489
|
- Configuration object for real-time event listeners that receive data via incoming HTTP requests.
|
|
1490
1490
|
- |-
|
|
@@ -1497,7 +1497,13 @@ components:
|
|
|
1497
1497
|
- |-
|
|
1498
1498
|
## WEBHOOK SECURITY MODELS
|
|
1499
1499
|
|
|
1500
|
-
|
|
1500
|
+
The `provider` decides how a delivery is checked. A `custom` listener applies the
|
|
1501
|
+
`verify` method below; a named provider (`slack`, `shopify`, …) is verified the way
|
|
1502
|
+
that provider signs its webhooks (its form fields mirror that method); and an
|
|
1503
|
+
`integrator-extension` listener ("Celigo integrator.io" tile) is checked for a Celigo
|
|
1504
|
+
API token instead — the `verify` fields below are stored but not evaluated, and a
|
|
1505
|
+
request without `Authorization: Bearer <integrator.io API token>` is answered 401
|
|
1506
|
+
`invalid_request`. The methods below apply to `custom` listeners:
|
|
1501
1507
|
|
|
1502
1508
|
1. **HMAC Verification** (Most secure, recommended for production)
|
|
1503
1509
|
- Required fields: verify="hmac", key, algorithm, encoding, header
|
|
@@ -1558,7 +1564,7 @@ components:
|
|
|
1558
1564
|
properties:
|
|
1559
1565
|
provider:
|
|
1560
1566
|
type: string
|
|
1561
|
-
description: 'Source application sending the webhook. A named provider labels the listener and opens it in the Simple form view, where the form pre-fills that platform''s verification settings and payload parsing before saving; the API itself stores the document as sent and fills nothing in. Use `custom` (the default when omitted) for unlisted providers or when you need full manual control over the security configuration. A named provider requires a credential: `key` for the providers probed (shopify, github, slack — and slack also saves with `token` alone); the HMAC settings a provider''s form pre-fills are the form''s, not an API requirement (see the guidance below).'
|
|
1567
|
+
description: 'Source application sending the webhook, and the control that decides how the platform checks each delivery. A named provider labels the listener and opens it in the Simple form view, where the form pre-fills that platform''s verification settings and payload parsing before saving; the API itself stores the document as sent and fills nothing in. Use `custom` (the default when omitted) for unlisted providers or when you need full manual control over the security configuration. A named provider requires a credential: `key` for the providers probed (shopify, github, slack — and slack also saves with `token` alone); the HMAC settings a provider''s form pre-fills are the form''s, not an API requirement (see the guidance below). `integrator-extension` is a distinct case: the platform checks that listener for a Celigo API token and does NOT evaluate the saved `verify` fields — see its enum description.'
|
|
1562
1568
|
x-celigo-ai-guidance:
|
|
1563
1569
|
- |-
|
|
1564
1570
|
Specifies the source application sending webhook data,
|
|
@@ -1677,7 +1683,7 @@ components:
|
|
|
1677
1683
|
parseur: Parseur email parsing event webhooks.
|
|
1678
1684
|
mailparser-io: Mailparser.io email parsing event webhooks.
|
|
1679
1685
|
hubspot: HubSpot CRM event webhooks.
|
|
1680
|
-
integrator-extension: Celigo integrator extension
|
|
1686
|
+
integrator-extension: 'Celigo integrator.io internal listener — the "Celigo integrator.io" application tile, whose intended sender is another integrator.io flow. The platform checks this listener for a Celigo API token and does NOT evaluate the saved `verify` / `token` / `tokenHeaderName` fields, whatever the form stored. Probed on a live listener: a request carrying an integrator.io API token in an `Authorization` Bearer header is accepted (204), and every request without one — including a matching saved token in its configured header — is answered 401 with a `WWW-Authenticate` value of `invalid_request`. (The tile''s intended producer is another flow calling the listener through a Celigo APIs / Celigo integrator.io connection whose scope includes it; that flow-to-flow path was not separately probed here.) For any other sender — a third-party application, a customer service, Postman or curl with a shared secret — use `custom`, where the saved `verify` method is what is checked; switch an existing `integrator-extension` listener to `custom` with a full update (the field is not accepted on PATCH).'
|
|
1681
1687
|
custom: Generic webhook with fully manual security and payload configuration.
|
|
1682
1688
|
sapariba: SAP Ariba procurement event webhooks.
|
|
1683
1689
|
happyreturns: Happy Returns return management event webhooks.
|
|
@@ -1710,16 +1716,24 @@ components:
|
|
|
1710
1716
|
verify:
|
|
1711
1717
|
type: string
|
|
1712
1718
|
x-celigo-ui-override: Required by the webhook export form (verify is required:true). Encoded to mirror the form so builders produce connectable configurations.
|
|
1713
|
-
description: 'Verification method applied to every incoming request
|
|
1719
|
+
description: 'Verification method; required for all webhook exports. It is applied to every incoming request only on a `custom` listener. A named provider (`slack`, `shopify`, …) is checked the way that provider signs its webhooks, so this field mirrors that method rather than setting it, and an `integrator-extension` listener is checked for a Celigo API token regardless of this field (see `provider`). Each method needs companion fields: `hmac` requires `key`, `algorithm`, `encoding`, and `header` (on connector-backed webhooks the form does not require them — it fills them from the connector definition before saving; the API itself copies nothing); `token` requires `token`, with `tokenLocation` defaulting to `body` and selecting which location-specific field applies; `basic` requires `username` and `password`; `secret_url` requires `token`. Prefer `hmac` when the source system supports it — it is the most secure option; `secret_url` relies only on URL obscurity and suits non-sensitive data or testing.'
|
|
1714
1720
|
x-celigo-ai-guidance:
|
|
1715
1721
|
- |-
|
|
1716
1722
|
## FIELD BEHAVIOR
|
|
1717
1723
|
|
|
1718
|
-
This field is the primary control for webhook security
|
|
1724
|
+
This field is the primary control for webhook security on a `custom` listener.
|
|
1725
|
+
On a named provider (`slack`, `shopify`, …) the delivery is checked the way that
|
|
1726
|
+
provider signs its webhooks and these fields mirror that method rather than set it
|
|
1727
|
+
(a `slack` token listener rejects a correct header token; a `shopify` HMAC rejects
|
|
1728
|
+
a correct hex signature). On an `integrator-extension` listener the platform checks
|
|
1729
|
+
for a Celigo API token and this field and its companions are ignored (see
|
|
1730
|
+
`provider`):
|
|
1719
1731
|
|
|
1720
1732
|
- REQUIRED for all webhook exports
|
|
1721
1733
|
- Determines which additional security fields must be configured
|
|
1722
|
-
-
|
|
1734
|
+
- On a `custom` listener, controls how incoming requests are validated before
|
|
1735
|
+
processing; on a named provider the provider's own method is applied; on an
|
|
1736
|
+
`integrator-extension` listener it is not applied at all
|
|
1723
1737
|
- |-
|
|
1724
1738
|
## VERIFICATION METHODS
|
|
1725
1739
|
|
|
@@ -1780,7 +1794,7 @@ components:
|
|
|
1780
1794
|
token: Verifies requests by matching a shared secret token found at a specified location in the request.
|
|
1781
1795
|
hmac: Verifies requests using a cryptographic HMAC signature sent in a request header.
|
|
1782
1796
|
basic: Verifies requests using standard HTTP Basic Authentication (username and password).
|
|
1783
|
-
secret_url: Relies on a unique, hard-to-guess token embedded in the webhook URL for security.
|
|
1797
|
+
secret_url: Relies on a unique, hard-to-guess token embedded in the webhook URL for security. The token is a path segment of the listener URL — `/v1/exports/{_id}/{token}/data` — not a query parameter; a request to the plain `/data` route, or with the token in `?token=`, is answered 401 `missing required token in url`, and a wrong token 401 `invalid url token`.
|
|
1784
1798
|
examples:
|
|
1785
1799
|
- token
|
|
1786
1800
|
- hmac
|
package/dist/tool.yml
CHANGED
|
@@ -28109,7 +28109,7 @@ components:
|
|
|
28109
28109
|
required:
|
|
28110
28110
|
- verify
|
|
28111
28111
|
x-celigo-ui-override: 'verify is required by the webhook listener form for every provider (exports/webhook.js: verify required:true; on a connector-backed listener the form pre-fills it from the connector definition before saving). The API enforces it only when provider is custom or absent — 422 missing_required_field on webhook.verify, "verify is required for export type webhook, provider = custom". For the named providers probed (slack, shopify, github) it stores a listener posted with key and no verify (201 each; the GET carries provider, key and formType simple) and requires a credential instead: without key (and no token) each answers 422 missing_required_field on webhook.key — "key is required for slack verification" / "key is required for shopify verification" / "key is required for github verification"; a slack listener posted with token and no key saved. Other named providers are unprobed. The requirement is kept so an authored document matches a form-saved one.'
|
|
28112
|
-
description: Configuration for webhook listeners that receive data through incoming HTTP requests. Required when the export's `type` is `webhook`; omit for other export types. Senders POST to the export's listener URL, `https://api.integrator.io/v1/exports/{_id}/data` (or the same path on the account's regional API host); the platform
|
|
28112
|
+
description: 'Configuration for webhook listeners that receive data through incoming HTTP requests. Required when the export''s `type` is `webhook`; omit for other export types. Senders POST to the export''s listener URL, `https://api.integrator.io/v1/exports/{_id}/data` (or the same path on the account''s regional API host); the platform checks each request, passes the payload to subsequent flow steps, and returns a configurable HTTP response to the caller. How a request is checked depends on `provider`: a `custom` listener applies the saved `verify` method exactly; a named provider (`slack`, `shopify`, …) is verified the way that provider signs its webhooks; an `integrator-extension` listener is checked for a Celigo API token only and ignores the saved `verify` fields — see those fields for the detail. A request is answered 204 by default when accepted, 401 when the check fails, 403 `unable_to_run_flows` while every flow the export feeds is disabled, and 403 `access_denied` when the export''s `_networkPolicyId` policy does not admit the sender''s address (checked before verification, with a valid or an invalid token alike, where enforcement is enabled for the account); a refused request is not queued, so the sender must resend it once the cause is cleared. A 401 carries the reason in the `WWW-Authenticate` response header (body `Unauthorized`); the reason reflects the listener''s method, so these are representative rather than exhaustive. For a `custom` listener: `invalid token` (the token at the configured location is present and does not match), `Header ''<name>'' not found or empty` / `Query parameter ''<name>'' not found or empty` / `Invalid token path` (the token is absent from the configured header, query parameter or body path), `Header value does not have <scheme> scheme` (the configured `tokenHeaderScheme` prefix is missing), `invalid username and/or password` (`basic`), `Invalid header: <name>` / `<name> empty!` (`hmac` signature mismatch / header absent), and `invalid url token` / `missing required token in url` (`secret_url`). A named provider returns the reason for its own method (probed: `slack` token verification `!token`; `shopify` HMAC `Invalid X-Shopify-Hmac-SHA256`). An `integrator-extension` listener returns `invalid_request` for any request without a Celigo API token.'
|
|
28113
28113
|
x-celigo-ai-guidance:
|
|
28114
28114
|
- Configuration object for real-time event listeners that receive data via incoming HTTP requests.
|
|
28115
28115
|
- |-
|
|
@@ -28122,7 +28122,13 @@ components:
|
|
|
28122
28122
|
- |-
|
|
28123
28123
|
## WEBHOOK SECURITY MODELS
|
|
28124
28124
|
|
|
28125
|
-
|
|
28125
|
+
The `provider` decides how a delivery is checked. A `custom` listener applies the
|
|
28126
|
+
`verify` method below; a named provider (`slack`, `shopify`, …) is verified the way
|
|
28127
|
+
that provider signs its webhooks (its form fields mirror that method); and an
|
|
28128
|
+
`integrator-extension` listener ("Celigo integrator.io" tile) is checked for a Celigo
|
|
28129
|
+
API token instead — the `verify` fields below are stored but not evaluated, and a
|
|
28130
|
+
request without `Authorization: Bearer <integrator.io API token>` is answered 401
|
|
28131
|
+
`invalid_request`. The methods below apply to `custom` listeners:
|
|
28126
28132
|
|
|
28127
28133
|
1. **HMAC Verification** (Most secure, recommended for production)
|
|
28128
28134
|
- Required fields: verify="hmac", key, algorithm, encoding, header
|
|
@@ -28183,7 +28189,7 @@ components:
|
|
|
28183
28189
|
properties:
|
|
28184
28190
|
provider:
|
|
28185
28191
|
type: string
|
|
28186
|
-
description: 'Source application sending the webhook. A named provider labels the listener and opens it in the Simple form view, where the form pre-fills that platform''s verification settings and payload parsing before saving; the API itself stores the document as sent and fills nothing in. Use `custom` (the default when omitted) for unlisted providers or when you need full manual control over the security configuration. A named provider requires a credential: `key` for the providers probed (shopify, github, slack — and slack also saves with `token` alone); the HMAC settings a provider''s form pre-fills are the form''s, not an API requirement (see the guidance below).'
|
|
28192
|
+
description: 'Source application sending the webhook, and the control that decides how the platform checks each delivery. A named provider labels the listener and opens it in the Simple form view, where the form pre-fills that platform''s verification settings and payload parsing before saving; the API itself stores the document as sent and fills nothing in. Use `custom` (the default when omitted) for unlisted providers or when you need full manual control over the security configuration. A named provider requires a credential: `key` for the providers probed (shopify, github, slack — and slack also saves with `token` alone); the HMAC settings a provider''s form pre-fills are the form''s, not an API requirement (see the guidance below). `integrator-extension` is a distinct case: the platform checks that listener for a Celigo API token and does NOT evaluate the saved `verify` fields — see its enum description.'
|
|
28187
28193
|
x-celigo-ai-guidance:
|
|
28188
28194
|
- |-
|
|
28189
28195
|
Specifies the source application sending webhook data,
|
|
@@ -28302,7 +28308,7 @@ components:
|
|
|
28302
28308
|
parseur: Parseur email parsing event webhooks.
|
|
28303
28309
|
mailparser-io: Mailparser.io email parsing event webhooks.
|
|
28304
28310
|
hubspot: HubSpot CRM event webhooks.
|
|
28305
|
-
integrator-extension: Celigo integrator extension
|
|
28311
|
+
integrator-extension: 'Celigo integrator.io internal listener — the "Celigo integrator.io" application tile, whose intended sender is another integrator.io flow. The platform checks this listener for a Celigo API token and does NOT evaluate the saved `verify` / `token` / `tokenHeaderName` fields, whatever the form stored. Probed on a live listener: a request carrying an integrator.io API token in an `Authorization` Bearer header is accepted (204), and every request without one — including a matching saved token in its configured header — is answered 401 with a `WWW-Authenticate` value of `invalid_request`. (The tile''s intended producer is another flow calling the listener through a Celigo APIs / Celigo integrator.io connection whose scope includes it; that flow-to-flow path was not separately probed here.) For any other sender — a third-party application, a customer service, Postman or curl with a shared secret — use `custom`, where the saved `verify` method is what is checked; switch an existing `integrator-extension` listener to `custom` with a full update (the field is not accepted on PATCH).'
|
|
28306
28312
|
custom: Generic webhook with fully manual security and payload configuration.
|
|
28307
28313
|
sapariba: SAP Ariba procurement event webhooks.
|
|
28308
28314
|
happyreturns: Happy Returns return management event webhooks.
|
|
@@ -28335,16 +28341,24 @@ components:
|
|
|
28335
28341
|
verify:
|
|
28336
28342
|
type: string
|
|
28337
28343
|
x-celigo-ui-override: Required by the webhook export form (verify is required:true). Encoded to mirror the form so builders produce connectable configurations.
|
|
28338
|
-
description: 'Verification method applied to every incoming request
|
|
28344
|
+
description: 'Verification method; required for all webhook exports. It is applied to every incoming request only on a `custom` listener. A named provider (`slack`, `shopify`, …) is checked the way that provider signs its webhooks, so this field mirrors that method rather than setting it, and an `integrator-extension` listener is checked for a Celigo API token regardless of this field (see `provider`). Each method needs companion fields: `hmac` requires `key`, `algorithm`, `encoding`, and `header` (on connector-backed webhooks the form does not require them — it fills them from the connector definition before saving; the API itself copies nothing); `token` requires `token`, with `tokenLocation` defaulting to `body` and selecting which location-specific field applies; `basic` requires `username` and `password`; `secret_url` requires `token`. Prefer `hmac` when the source system supports it — it is the most secure option; `secret_url` relies only on URL obscurity and suits non-sensitive data or testing.'
|
|
28339
28345
|
x-celigo-ai-guidance:
|
|
28340
28346
|
- |-
|
|
28341
28347
|
## FIELD BEHAVIOR
|
|
28342
28348
|
|
|
28343
|
-
This field is the primary control for webhook security
|
|
28349
|
+
This field is the primary control for webhook security on a `custom` listener.
|
|
28350
|
+
On a named provider (`slack`, `shopify`, …) the delivery is checked the way that
|
|
28351
|
+
provider signs its webhooks and these fields mirror that method rather than set it
|
|
28352
|
+
(a `slack` token listener rejects a correct header token; a `shopify` HMAC rejects
|
|
28353
|
+
a correct hex signature). On an `integrator-extension` listener the platform checks
|
|
28354
|
+
for a Celigo API token and this field and its companions are ignored (see
|
|
28355
|
+
`provider`):
|
|
28344
28356
|
|
|
28345
28357
|
- REQUIRED for all webhook exports
|
|
28346
28358
|
- Determines which additional security fields must be configured
|
|
28347
|
-
-
|
|
28359
|
+
- On a `custom` listener, controls how incoming requests are validated before
|
|
28360
|
+
processing; on a named provider the provider's own method is applied; on an
|
|
28361
|
+
`integrator-extension` listener it is not applied at all
|
|
28348
28362
|
- |-
|
|
28349
28363
|
## VERIFICATION METHODS
|
|
28350
28364
|
|
|
@@ -28405,7 +28419,7 @@ components:
|
|
|
28405
28419
|
token: Verifies requests by matching a shared secret token found at a specified location in the request.
|
|
28406
28420
|
hmac: Verifies requests using a cryptographic HMAC signature sent in a request header.
|
|
28407
28421
|
basic: Verifies requests using standard HTTP Basic Authentication (username and password).
|
|
28408
|
-
secret_url: Relies on a unique, hard-to-guess token embedded in the webhook URL for security.
|
|
28422
|
+
secret_url: Relies on a unique, hard-to-guess token embedded in the webhook URL for security. The token is a path segment of the listener URL — `/v1/exports/{_id}/{token}/data` — not a query parameter; a request to the plain `/data` route, or with the token in `?token=`, is answered 401 `missing required token in url`, and a wrong token 401 `invalid url token`.
|
|
28409
28423
|
examples:
|
|
28410
28424
|
- token
|
|
28411
28425
|
- hmac
|
package/package.json
CHANGED