@zapier/zapier-sdk 0.114.4 → 0.115.0
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/CHANGELOG.md +14 -0
- package/README.md +1 -1
- package/dist/beta.cjs +282 -278
- package/dist/beta.d.mts +2 -2
- package/dist/beta.d.ts +2 -2
- package/dist/beta.mjs +2 -2
- package/dist/{chunk-BRFMIXJZ.cjs → chunk-24GCCCDH.cjs} +4 -4
- package/dist/{chunk-B4DVAMYI.cjs → chunk-LO3VMFOP.cjs} +123 -11
- package/dist/{chunk-A2GMUMK3.mjs → chunk-NVVSKZ3Y.mjs} +123 -12
- package/dist/{chunk-ICFP2AO2.mjs → chunk-Q7ECOKIG.mjs} +1 -1
- package/dist/experimental.cjs +387 -383
- package/dist/experimental.d.mts +269 -269
- package/dist/experimental.d.ts +269 -269
- package/dist/experimental.mjs +3 -3
- package/dist/{index-BCJAutN8.d.mts → index-BrhSgvFN.d.mts} +23 -2
- package/dist/{index-BCJAutN8.d.ts → index-BrhSgvFN.d.ts} +23 -2
- package/dist/index.cjs +280 -276
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @zapier/zapier-sdk
|
|
2
2
|
|
|
3
|
+
## 0.115.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- c13de58: `runAction` (and other approval-capable calls) now automatically retries with the one-time approval token attached after an approval is granted, instead of requiring a second approval round for the same request. Previously the retry could exhaust `maxApprovalRetries` and throw `max_retries_exceeded` even after the approval had already succeeded.
|
|
8
|
+
|
|
9
|
+
Added `"approval_token_invalid"` to the `ApprovalStatus` union, thrown as a `ZapierApprovalError` when a retried request's token was rejected (already used, expired, or no longer valid for the request). This is terminal — a new approval must be requested rather than the same request being retried again.
|
|
10
|
+
|
|
11
|
+
## 0.114.5
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- 1726c30: The API reference now describes the `inputs` option of typed app actions (`zapier.apps.<app>.<type>.<action>({ inputs })`), which was listed without a description.
|
|
16
|
+
|
|
3
17
|
## 0.114.4
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -956,7 +956,7 @@ Execute an action with the given inputs for the bound app, as an alternative to
|
|
|
956
956
|
| Name | Type | Required | Default | Possible Values | Description |
|
|
957
957
|
| -------------------- | ---------------- | -------- | ------- | --------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
958
958
|
| `options` | `object` | ✅ | — | — | |
|
|
959
|
-
| ↳ `inputs` | `object` | ❌ | — | — |
|
|
959
|
+
| ↳ `inputs` | `object` | ❌ | — | — | Input parameters for the action |
|
|
960
960
|
| ↳ `connection` | `string, number` | ❌ | — | — | Connection alias or connection ID (UUID or positive integer). Strings that match a key in the connections map are resolved against it; otherwise the value is used as a connection ID directly. |
|
|
961
961
|
| ↳ `timeoutSeconds` | `number` | ❌ | — | — | Maximum time to wait for action completion in seconds (default: 180) |
|
|
962
962
|
|