diff --git a/CHANGELOG.md b/CHANGELOG.md index 8c67bfe6e..2dbea8894 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,36 @@ +## 15.19.0 + +_released `2024-11-25`_ + +For optimal performance, an optional argument has been added to [z.dehydrate](https://docs.zapier.com/platform/build-cli/overview#dehydration) to allow devs to control the cache duration on hydrators. The default cache duration for hydrators is unchanged (5 minutes). + +Also, with the new optional `meta` field object added to the [FieldSchema](https://github.com/zapier/zapier-platform/blob/main/packages/schema/docs/build/schema.md#fieldschema) object, devs now have a supported mechanism for storing field-specific context which may be obtained when constructing dynamic needs, and then making that context available during actual action execution in the perform method. + +Lastly, the [zapier scaffold](https://github.com/zapier/zapier-platform/blob/main/packages/cli/docs/cli.md#scaffold) now supports TypeScript (TS) applications. It automatically detects TS and JS projects if the `--entry` flag isn't provided, so that it can generate and edit the right files in the right places, given TS projects tend to keep their files in ./src. + +### cli + +- :nail_care: Add support for TS on the `zapier scaffold` command ([#884](https://github.com/zapier/zapier-platform/pull/884)) + +### core + +- :tada: Add support for providing the cache expiration for hydrators ([#918](https://github.com/zapier/zapier-platform/pull/918)) +- :scroll: Add `timezone` and `withSearch` fields to the `bundle.meta` object ([#922](https://github.com/zapier/zapier-platform/pull/922)) +- :scroll: Update the `BeforeRequestMiddleware` typings to require `url` in the request object ([#924](https://github.com/zapier/zapier-platform/pull/924)) + +### schema + +- :tada: Add `meta` field support for the `FieldSchema` ([#883](https://github.com/zapier/zapier-platform/pull/883)) + +### schema-to-ts + +None! + +### misc + +- :hammer: Bump elliptic from 6.5.7 to 6.6.0 ([#911](https://github.com/zapier/zapier-platform/pull/911)) +- :hammer: Bump cross-spawn from 7.0.3 to 7.0.6 in /schema-to-ts ([#919](https://github.com/zapier/zapier-platform/pull/919)) + ## 15.18.1 _released `2024-11-01`_ diff --git a/example-apps/babel/package.json b/example-apps/babel/package.json index ca8ce2569..419c8d4ba 100644 --- a/example-apps/babel/package.json +++ b/example-apps/babel/package.json @@ -21,7 +21,7 @@ }, "dependencies": { "babel-polyfill": "6.26.0", - "zapier-platform-core": "15.18.1" + "zapier-platform-core": "15.19.0" }, "devDependencies": { "babel-cli": "6.26.0", diff --git a/example-apps/basic-auth/package.json b/example-apps/basic-auth/package.json index 807ce2189..0e0957514 100644 --- a/example-apps/basic-auth/package.json +++ b/example-apps/basic-auth/package.json @@ -7,7 +7,7 @@ "test": "jest --testTimeout 10000" }, "dependencies": { - "zapier-platform-core": "15.18.1" + "zapier-platform-core": "15.19.0" }, "devDependencies": { "jest": "^25.5.3" diff --git a/example-apps/callback/package.json b/example-apps/callback/package.json index 0bf474a41..c81050f17 100644 --- a/example-apps/callback/package.json +++ b/example-apps/callback/package.json @@ -7,7 +7,7 @@ "test": "jest --testTimeout 10000" }, "dependencies": { - "zapier-platform-core": "15.18.1" + "zapier-platform-core": "15.19.0" }, "devDependencies": { "jest": "^25.5.3" diff --git a/example-apps/create/package.json b/example-apps/create/package.json index b0d8b7893..f2733f6d6 100644 --- a/example-apps/create/package.json +++ b/example-apps/create/package.json @@ -15,7 +15,7 @@ "npm": ">=5.6.0" }, "dependencies": { - "zapier-platform-core": "15.18.1" + "zapier-platform-core": "15.19.0" }, "devDependencies": { "mocha": "^5.2.0", diff --git a/example-apps/custom-auth/package.json b/example-apps/custom-auth/package.json index 3aab68357..11a695a42 100644 --- a/example-apps/custom-auth/package.json +++ b/example-apps/custom-auth/package.json @@ -7,7 +7,7 @@ "test": "jest --testTimeout 10000" }, "dependencies": { - "zapier-platform-core": "15.18.1" + "zapier-platform-core": "15.19.0" }, "devDependencies": { "jest": "^25.5.3" diff --git a/example-apps/digest-auth/package.json b/example-apps/digest-auth/package.json index a7e08ea6d..4d567a9b1 100644 --- a/example-apps/digest-auth/package.json +++ b/example-apps/digest-auth/package.json @@ -7,7 +7,7 @@ "test": "jest --testTimeout 10000" }, "dependencies": { - "zapier-platform-core": "15.18.1" + "zapier-platform-core": "15.19.0" }, "devDependencies": { "jest": "^25.5.3" diff --git a/example-apps/dynamic-dropdown/package.json b/example-apps/dynamic-dropdown/package.json index cd623e9eb..bd8038ac6 100644 --- a/example-apps/dynamic-dropdown/package.json +++ b/example-apps/dynamic-dropdown/package.json @@ -7,7 +7,7 @@ "test": "jest --testTimeout 10000" }, "dependencies": { - "zapier-platform-core": "15.18.1" + "zapier-platform-core": "15.19.0" }, "devDependencies": { "jest": "^25.5.3" diff --git a/example-apps/files/package.json b/example-apps/files/package.json index e0db7dfa2..7c9572f7d 100644 --- a/example-apps/files/package.json +++ b/example-apps/files/package.json @@ -7,7 +7,7 @@ "test": "jest --testTimeout 10000" }, "dependencies": { - "zapier-platform-core": "15.18.1", + "zapier-platform-core": "15.19.0", "form-data": "4.0.0" }, "devDependencies": { diff --git a/example-apps/github/package.json b/example-apps/github/package.json index fc50f6a1c..d8f2d9baf 100644 --- a/example-apps/github/package.json +++ b/example-apps/github/package.json @@ -15,7 +15,7 @@ "npm": ">=5.6.0" }, "dependencies": { - "zapier-platform-core": "15.18.1" + "zapier-platform-core": "15.19.0" }, "devDependencies": { "jest": "^26.6.3", diff --git a/example-apps/middleware/package.json b/example-apps/middleware/package.json index 31df91def..aa4eb84e1 100644 --- a/example-apps/middleware/package.json +++ b/example-apps/middleware/package.json @@ -16,7 +16,7 @@ }, "dependencies": { "lodash": "4.17.19", - "zapier-platform-core": "15.18.1" + "zapier-platform-core": "15.19.0" }, "devDependencies": { "mocha": "^5.2.0", diff --git a/example-apps/minimal/package.json b/example-apps/minimal/package.json index 735e2be13..d05bf4e6f 100644 --- a/example-apps/minimal/package.json +++ b/example-apps/minimal/package.json @@ -7,7 +7,7 @@ "test": "jest --testTimeout 10000" }, "dependencies": { - "zapier-platform-core": "15.18.1" + "zapier-platform-core": "15.19.0" }, "devDependencies": { "jest": "^25.5.3" diff --git a/example-apps/oauth1-trello/package.json b/example-apps/oauth1-trello/package.json index 94b4feea0..a02df2f7a 100644 --- a/example-apps/oauth1-trello/package.json +++ b/example-apps/oauth1-trello/package.json @@ -7,7 +7,7 @@ "test": "jest --testTimeout 10000" }, "dependencies": { - "zapier-platform-core": "15.18.1" + "zapier-platform-core": "15.19.0" }, "devDependencies": { "jest": "^25.5.3" diff --git a/example-apps/oauth1-tumblr/package.json b/example-apps/oauth1-tumblr/package.json index 6fb77cd35..4017ff5ae 100644 --- a/example-apps/oauth1-tumblr/package.json +++ b/example-apps/oauth1-tumblr/package.json @@ -15,7 +15,7 @@ "npm": ">=5.6.0" }, "dependencies": { - "zapier-platform-core": "15.18.1" + "zapier-platform-core": "15.19.0" }, "devDependencies": { "mocha": "^5.2.0", diff --git a/example-apps/oauth1-twitter/package.json b/example-apps/oauth1-twitter/package.json index 719505e63..5f3aa7bf4 100644 --- a/example-apps/oauth1-twitter/package.json +++ b/example-apps/oauth1-twitter/package.json @@ -15,7 +15,7 @@ "npm": ">=5.6.0" }, "dependencies": { - "zapier-platform-core": "15.18.1" + "zapier-platform-core": "15.19.0" }, "devDependencies": { "mocha": "^5.2.0", diff --git a/example-apps/oauth2/package.json b/example-apps/oauth2/package.json index 7cceea365..374a047ff 100644 --- a/example-apps/oauth2/package.json +++ b/example-apps/oauth2/package.json @@ -7,7 +7,7 @@ "test": "jest --testTimeout 10000" }, "dependencies": { - "zapier-platform-core": "15.18.1" + "zapier-platform-core": "15.19.0" }, "devDependencies": { "jest": "^25.5.3" diff --git a/example-apps/onedrive/package.json b/example-apps/onedrive/package.json index 83f2e97db..bdd5c61c8 100644 --- a/example-apps/onedrive/package.json +++ b/example-apps/onedrive/package.json @@ -22,7 +22,7 @@ "content-disposition": "0.5.2", "lodash": "4.17.11", "node-fetch": "1.7.1", - "zapier-platform-core": "15.18.1" + "zapier-platform-core": "15.19.0" }, "devDependencies": { "eslint": "3.19.0", diff --git a/example-apps/resource/package.json b/example-apps/resource/package.json index 57c8cea24..c986f87cd 100644 --- a/example-apps/resource/package.json +++ b/example-apps/resource/package.json @@ -15,7 +15,7 @@ "npm": ">=5.6.0" }, "dependencies": { - "zapier-platform-core": "15.18.1" + "zapier-platform-core": "15.19.0" }, "devDependencies": { "mocha": "^5.2.0", diff --git a/example-apps/rest-hooks/package.json b/example-apps/rest-hooks/package.json index 844bd58ea..1c9caab93 100644 --- a/example-apps/rest-hooks/package.json +++ b/example-apps/rest-hooks/package.json @@ -15,7 +15,7 @@ "npm": ">=5.6.0" }, "dependencies": { - "zapier-platform-core": "15.18.1" + "zapier-platform-core": "15.19.0" }, "devDependencies": { "mocha": "^5.2.0", diff --git a/example-apps/search-or-create/package.json b/example-apps/search-or-create/package.json index 20ad04189..55f3c4fce 100644 --- a/example-apps/search-or-create/package.json +++ b/example-apps/search-or-create/package.json @@ -7,7 +7,7 @@ "test": "jest --testTimeout 10000" }, "dependencies": { - "zapier-platform-core": "15.18.1" + "zapier-platform-core": "15.19.0" }, "devDependencies": { "jest": "^25.5.3" diff --git a/example-apps/search/package.json b/example-apps/search/package.json index 3d59f6c0c..09c9a643e 100644 --- a/example-apps/search/package.json +++ b/example-apps/search/package.json @@ -15,7 +15,7 @@ "npm": ">=5.6.0" }, "dependencies": { - "zapier-platform-core": "15.18.1" + "zapier-platform-core": "15.19.0" }, "devDependencies": { "mocha": "^5.2.0", diff --git a/example-apps/session-auth/package.json b/example-apps/session-auth/package.json index 6c856cbbb..d2ef0006e 100644 --- a/example-apps/session-auth/package.json +++ b/example-apps/session-auth/package.json @@ -7,7 +7,7 @@ "test": "jest --testTimeout 10000" }, "dependencies": { - "zapier-platform-core": "15.18.1" + "zapier-platform-core": "15.19.0" }, "devDependencies": { "jest": "^25.5.3" diff --git a/example-apps/trigger/package.json b/example-apps/trigger/package.json index 432d8ea2d..a5aa12557 100644 --- a/example-apps/trigger/package.json +++ b/example-apps/trigger/package.json @@ -15,7 +15,7 @@ "npm": ">=5.6.0" }, "dependencies": { - "zapier-platform-core": "15.18.1" + "zapier-platform-core": "15.19.0" }, "devDependencies": { "mocha": "^5.2.0", diff --git a/example-apps/typescript/package.json b/example-apps/typescript/package.json index 4784c31ed..918779514 100644 --- a/example-apps/typescript/package.json +++ b/example-apps/typescript/package.json @@ -10,7 +10,7 @@ "_zapier-build": "npm run build" }, "dependencies": { - "zapier-platform-core": "15.18.1" + "zapier-platform-core": "15.19.0" }, "devDependencies": { "rimraf": "^5.0.10", diff --git a/packages/cli/package.json b/packages/cli/package.json index 9232b1887..1baa769ac 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "zapier-platform-cli", - "version": "15.18.1", + "version": "15.19.0", "description": "The CLI for managing integrations in Zapier Developer Platform.", "repository": "zapier/zapier-platform", "homepage": "https://platform.zapier.com/", diff --git a/packages/core/package.json b/packages/core/package.json index f69ae30d2..27ed6dbd9 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "zapier-platform-core", - "version": "15.18.1", + "version": "15.19.0", "description": "The core SDK for CLI apps in the Zapier Developer Platform.", "repository": "zapier/zapier-platform", "homepage": "https://platform.zapier.com/", @@ -53,7 +53,7 @@ "node-fetch": "2.6.7", "oauth-sign": "0.9.0", "semver": "7.5.2", - "zapier-platform-schema": "15.18.1" + "zapier-platform-schema": "15.19.0" }, "devDependencies": { "@types/node-fetch": "^2.6.11", diff --git a/packages/core/types/zapier.generated.d.ts b/packages/core/types/zapier.generated.d.ts index ebdf1fd3c..2bac43967 100644 --- a/packages/core/types/zapier.generated.d.ts +++ b/packages/core/types/zapier.generated.d.ts @@ -4,7 +4,7 @@ * files, and/or the schema-to-ts tool and run its CLI to regenerate * these typings. * - * zapier-platform-schema version: 15.18.1 + * zapier-platform-schema version: 15.19.0 * schema-to-ts compiler version: 0.1.0 */ diff --git a/packages/schema/docs/build/schema.md b/packages/schema/docs/build/schema.md index 297115092..444b1b3b2 100644 --- a/packages/schema/docs/build/schema.md +++ b/packages/schema/docs/build/schema.md @@ -1,7 +1,7 @@ # `zapier-platform-schema` Generated Documentation -This is automatically generated by the `npm run docs` command in `zapier-platform-schema` version `15.18.1`. +This is automatically generated by the `npm run docs` command in `zapier-platform-schema` version `15.19.0`. ----- @@ -77,7 +77,7 @@ Codifies high-level options for your integration. #### Details * **Type** - `object` -* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.18.1/packages/schema/lib/schemas/AppFlagsSchema.js) +* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.19.0/packages/schema/lib/schemas/AppFlagsSchema.js) #### Properties @@ -107,7 +107,7 @@ Represents a full app. #### Details * **Type** - `object` -* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.18.1/packages/schema/lib/schemas/AppSchema.js) +* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.19.0/packages/schema/lib/schemas/AppSchema.js) #### Properties @@ -152,7 +152,7 @@ Config for Basic Authentication. No extra properties are required to setup Basic #### Details * **Type** - `object` -* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.18.1/packages/schema/lib/schemas/AuthenticationBasicConfigSchema.js) +* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.19.0/packages/schema/lib/schemas/AuthenticationBasicConfigSchema.js) #### Examples @@ -172,7 +172,7 @@ Config for custom authentication (like API keys). No extra properties are requir #### Details * **Type** - `object` -* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.18.1/packages/schema/lib/schemas/AuthenticationCustomConfigSchema.js) +* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.19.0/packages/schema/lib/schemas/AuthenticationCustomConfigSchema.js) #### Properties @@ -209,7 +209,7 @@ Config for Digest Authentication. No extra properties are required to setup Dige #### Details * **Type** - `object` -* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.18.1/packages/schema/lib/schemas/AuthenticationDigestConfigSchema.js) +* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.19.0/packages/schema/lib/schemas/AuthenticationDigestConfigSchema.js) #### Examples @@ -229,7 +229,7 @@ Config for OAuth1 authentication. #### Details * **Type** - `object` -* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.18.1/packages/schema/lib/schemas/AuthenticationOAuth1ConfigSchema.js) +* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.19.0/packages/schema/lib/schemas/AuthenticationOAuth1ConfigSchema.js) #### Properties @@ -268,7 +268,7 @@ Config for OAuth2 authentication. #### Details * **Type** - `object` -* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.18.1/packages/schema/lib/schemas/AuthenticationOAuth2ConfigSchema.js) +* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.19.0/packages/schema/lib/schemas/AuthenticationOAuth2ConfigSchema.js) #### Properties @@ -315,7 +315,7 @@ Represents authentication schemes. #### Details * **Type** - `object` -* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.18.1/packages/schema/lib/schemas/AuthenticationSchema.js) +* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.19.0/packages/schema/lib/schemas/AuthenticationSchema.js) #### Properties @@ -356,7 +356,7 @@ Config for session authentication. #### Details * **Type** - `object` -* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.18.1/packages/schema/lib/schemas/AuthenticationSessionConfigSchema.js) +* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.19.0/packages/schema/lib/schemas/AuthenticationSessionConfigSchema.js) #### Properties @@ -381,7 +381,7 @@ Represents the fundamental mechanics of a search/create. #### Details * **Type** - `object` -* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.18.1/packages/schema/lib/schemas/BasicActionOperationSchema.js) +* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.19.0/packages/schema/lib/schemas/BasicActionOperationSchema.js) #### Properties @@ -414,7 +414,7 @@ Represents the fundamental mechanics of a create. #### Details * **Type** - `object` -* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.18.1/packages/schema/lib/schemas/BasicCreateActionOperationSchema.js) +* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.19.0/packages/schema/lib/schemas/BasicCreateActionOperationSchema.js) #### Properties @@ -450,7 +450,7 @@ Represents user information for a trigger, search, or create. #### Details * **Type** - `object` -* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.18.1/packages/schema/lib/schemas/BasicDisplaySchema.js) +* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.19.0/packages/schema/lib/schemas/BasicDisplaySchema.js) #### Properties @@ -488,7 +488,7 @@ Represents the inbound mechanics of hooks with optional subscribe/unsubscribe. D #### Details * **Type** - `object` -* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.18.1/packages/schema/lib/schemas/BasicHookOperationSchema.js) +* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.19.0/packages/schema/lib/schemas/BasicHookOperationSchema.js) #### Properties @@ -540,7 +540,7 @@ Represents the fundamental mechanics of triggers, searches, or creates. #### Details * **Type** - `object` -* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.18.1/packages/schema/lib/schemas/BasicOperationSchema.js) +* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.19.0/packages/schema/lib/schemas/BasicOperationSchema.js) #### Properties @@ -571,7 +571,7 @@ Represents the fundamental mechanics of a trigger. #### Details * **Type** - `object` -* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.18.1/packages/schema/lib/schemas/BasicPollingOperationSchema.js) +* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.19.0/packages/schema/lib/schemas/BasicPollingOperationSchema.js) #### Properties @@ -603,7 +603,7 @@ Currently an **internal-only** feature. Zapier uses this configuration for creat #### Details * **Type** - `object` -* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.18.1/packages/schema/lib/schemas/BufferConfigSchema.js) +* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.19.0/packages/schema/lib/schemas/BufferConfigSchema.js) #### Properties @@ -631,7 +631,7 @@ How will Zapier fetch resources from your application? #### Details * **Type** - `object` -* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.18.1/packages/schema/lib/schemas/BulkReadSchema.js) +* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.19.0/packages/schema/lib/schemas/BulkReadSchema.js) #### Properties @@ -675,7 +675,7 @@ Enumerates the bulk reads your app exposes. #### Details * **Type** - `object` -* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.18.1/packages/schema/lib/schemas/BulkReadsSchema.js) +* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.19.0/packages/schema/lib/schemas/BulkReadsSchema.js) #### Properties @@ -725,7 +725,7 @@ How will Zapier create a new object? #### Details * **Type** - `object` -* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.18.1/packages/schema/lib/schemas/CreateSchema.js) +* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.19.0/packages/schema/lib/schemas/CreateSchema.js) #### Properties @@ -794,7 +794,7 @@ Enumerates the creates your app has available for users. #### Details * **Type** - `object` -* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.18.1/packages/schema/lib/schemas/CreatesSchema.js) +* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.19.0/packages/schema/lib/schemas/CreatesSchema.js) #### Properties @@ -859,7 +859,7 @@ Like [/FieldsSchema](#fieldsschema) but you can provide functions to create dyna #### Details * **Type** - [/FieldOrFunctionSchema](#fieldorfunctionschema) -* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.18.1/packages/schema/lib/schemas/DynamicFieldsSchema.js) +* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.19.0/packages/schema/lib/schemas/DynamicFieldsSchema.js) #### Examples @@ -884,7 +884,7 @@ An object describing a labeled choice in a static dropdown. Useful if the value #### Details * **Type** - `object` -* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.18.1/packages/schema/lib/schemas/FieldChoiceWithLabelSchema.js) +* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.19.0/packages/schema/lib/schemas/FieldChoiceWithLabelSchema.js) #### Properties @@ -917,7 +917,7 @@ Yes | Yes | Array of [FieldChoiceWithLabel](#fieldchoicewithlabelschema) #### Details * **Type** - oneOf(`object`, `array`[oneOf(`string`, [/FieldChoiceWithLabelSchema](#fieldchoicewithlabelschema))]) -* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.18.1/packages/schema/lib/schemas/FieldChoicesSchema.js) +* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.19.0/packages/schema/lib/schemas/FieldChoicesSchema.js) #### Examples @@ -939,7 +939,7 @@ Allows for additional metadata to be stored on the field. #### Details * **Type** - `object` -* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.18.1/packages/schema/lib/schemas/FieldMetaSchema.js) +* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.19.0/packages/schema/lib/schemas/FieldMetaSchema.js) #### Properties @@ -966,7 +966,7 @@ Represents an array of fields or functions. #### Details * **Type** - `array`[oneOf([/FieldSchema](#fieldschema), [/FunctionSchema](#functionschema))] -* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.18.1/packages/schema/lib/schemas/FieldOrFunctionSchema.js) +* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.19.0/packages/schema/lib/schemas/FieldOrFunctionSchema.js) #### Examples @@ -1001,7 +1001,7 @@ Defines a field an app either needs as input, or gives as output. In addition to #### Details * **Type** - `object` -* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.18.1/packages/schema/lib/schemas/FieldSchema.js) +* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.19.0/packages/schema/lib/schemas/FieldSchema.js) #### Properties @@ -1063,7 +1063,7 @@ An array or collection of fields. #### Details * **Type** - `array`[[/FieldSchema](#fieldschema)] -* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.18.1/packages/schema/lib/schemas/FieldsSchema.js) +* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.19.0/packages/schema/lib/schemas/FieldsSchema.js) #### Examples @@ -1083,7 +1083,7 @@ An object whose values can only be primitives #### Details * **Type** - `object` -* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.18.1/packages/schema/lib/schemas/FlatObjectSchema.js) +* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.19.0/packages/schema/lib/schemas/FlatObjectSchema.js) #### Properties @@ -1115,7 +1115,7 @@ A path to a file that might have content like `module.exports = (z, bundle) => [ #### Details * **Type** - `object` -* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.18.1/packages/schema/lib/schemas/FunctionRequireSchema.js) +* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.19.0/packages/schema/lib/schemas/FunctionRequireSchema.js) #### Properties @@ -1141,7 +1141,7 @@ Internal pointer to a function from the original source or the source code itsel #### Details * **Type** - oneOf(`string`, [/FunctionRequireSchema](#functionrequireschema), [/FunctionSourceSchema](#functionsourceschema)) -* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.18.1/packages/schema/lib/schemas/FunctionSchema.js) +* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.19.0/packages/schema/lib/schemas/FunctionSchema.js) #### Examples @@ -1166,7 +1166,7 @@ Source code like `{source: "return 1 + 2"}` which the system will wrap in a func #### Details * **Type** - `object` -* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.18.1/packages/schema/lib/schemas/FunctionSourceSchema.js) +* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.19.0/packages/schema/lib/schemas/FunctionSourceSchema.js) #### Properties @@ -1193,7 +1193,7 @@ A bank of named functions that you can use in `z.hydrate('someName')` to lazily #### Details * **Type** - `object` -* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.18.1/packages/schema/lib/schemas/HydratorsSchema.js) +* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.19.0/packages/schema/lib/schemas/HydratorsSchema.js) #### Properties @@ -1219,7 +1219,7 @@ A unique identifier for this item. * **Type** - `string` * **Pattern** - `^[a-zA-Z]+[a-zA-Z0-9_]*$` -* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.18.1/packages/schema/lib/schemas/KeySchema.js) +* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.19.0/packages/schema/lib/schemas/KeySchema.js) #### Examples @@ -1245,7 +1245,7 @@ A unique identifier for this item. #### Details * **Type** - `object` -* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.18.1/packages/schema/lib/schemas/LockObjectSchema.js) +* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.19.0/packages/schema/lib/schemas/LockObjectSchema.js) #### Properties @@ -1274,7 +1274,7 @@ List of before or after middlewares. Can be an array of functions or a single fu #### Details * **Type** - oneOf(`array`[[/FunctionSchema](#functionschema)], [/FunctionSchema](#functionschema)) -* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.18.1/packages/schema/lib/schemas/MiddlewaresSchema.js) +* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.19.0/packages/schema/lib/schemas/MiddlewaresSchema.js) #### Examples @@ -1295,7 +1295,7 @@ A representation of a HTTP redirect - you can use the `{{syntax}}` to inject aut #### Details * **Type** - `object` -* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.18.1/packages/schema/lib/schemas/RedirectRequestSchema.js) +* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.19.0/packages/schema/lib/schemas/RedirectRequestSchema.js) #### Properties @@ -1323,7 +1323,7 @@ Reference a resource by key and the data it returns. In the format of: `{resourc * **Type** - `string` * **Pattern** - `^[a-zA-Z0-9_]+\.[a-zA-Z0-9_\s\[\]]+(\.[a-zA-Z0-9_\s\[\]]+(,[a-zA-Z0-9_\s\[\]]+)*)?$` -* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.18.1/packages/schema/lib/schemas/RefResourceSchema.js) +* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.19.0/packages/schema/lib/schemas/RefResourceSchema.js) #### Examples @@ -1350,7 +1350,7 @@ A representation of a HTTP request - you can use the `{{syntax}}` to inject auth #### Details * **Type** - `object` -* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.18.1/packages/schema/lib/schemas/RequestSchema.js) +* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.19.0/packages/schema/lib/schemas/RequestSchema.js) #### Properties @@ -1384,7 +1384,7 @@ How will we find create a specific object given inputs? Will be turned into a cr #### Details * **Type** - `object` -* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.18.1/packages/schema/lib/schemas/ResourceMethodCreateSchema.js) +* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.19.0/packages/schema/lib/schemas/ResourceMethodCreateSchema.js) #### Properties @@ -1431,7 +1431,7 @@ How will we get a single object given a unique identifier/id? #### Details * **Type** - `object` -* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.18.1/packages/schema/lib/schemas/ResourceMethodGetSchema.js) +* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.19.0/packages/schema/lib/schemas/ResourceMethodGetSchema.js) #### Properties @@ -1474,7 +1474,7 @@ How will we get notified of new objects? Will be turned into a trigger automatic #### Details * **Type** - `object` -* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.18.1/packages/schema/lib/schemas/ResourceMethodHookSchema.js) +* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.19.0/packages/schema/lib/schemas/ResourceMethodHookSchema.js) #### Properties @@ -1521,7 +1521,7 @@ How will we get a list of new objects? Will be turned into a trigger automatical #### Details * **Type** - `object` -* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.18.1/packages/schema/lib/schemas/ResourceMethodListSchema.js) +* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.19.0/packages/schema/lib/schemas/ResourceMethodListSchema.js) #### Properties @@ -1577,7 +1577,7 @@ How will we find a specific object given filters or search terms? Will be turned #### Details * **Type** - `object` -* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.18.1/packages/schema/lib/schemas/ResourceMethodSearchSchema.js) +* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.19.0/packages/schema/lib/schemas/ResourceMethodSearchSchema.js) #### Properties @@ -1626,7 +1626,7 @@ Represents a resource, which will in turn power triggers, searches, or creates. #### Details * **Type** - `object` -* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.18.1/packages/schema/lib/schemas/ResourceSchema.js) +* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.19.0/packages/schema/lib/schemas/ResourceSchema.js) #### Properties @@ -1712,7 +1712,7 @@ All the resources that underlie common CRUD methods powering automatically handl #### Details * **Type** - `object` -* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.18.1/packages/schema/lib/schemas/ResourcesSchema.js) +* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.19.0/packages/schema/lib/schemas/ResourcesSchema.js) #### Properties @@ -1779,7 +1779,7 @@ An array of objects suitable for returning in perform calls. #### Details * **Type** - `array`[`object`] -* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.18.1/packages/schema/lib/schemas/ResultsSchema.js) +* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.19.0/packages/schema/lib/schemas/ResultsSchema.js) #### Examples @@ -1800,7 +1800,7 @@ Alias for /SearchOrCreatesSchema #### Details * **Type** - `object` -* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.18.1/packages/schema/lib/schemas/SearchAndCreatesSchema.js) +* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.19.0/packages/schema/lib/schemas/SearchAndCreatesSchema.js) #### Properties @@ -1867,7 +1867,7 @@ Pair an existing search and a create to enable "Find or Create" functionality in #### Details * **Type** - `object` -* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.18.1/packages/schema/lib/schemas/SearchOrCreateSchema.js) +* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.19.0/packages/schema/lib/schemas/SearchOrCreateSchema.js) #### Properties @@ -1964,7 +1964,7 @@ Enumerates the search-or-creates your app has available for users. #### Details * **Type** - `object` -* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.18.1/packages/schema/lib/schemas/SearchOrCreatesSchema.js) +* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.19.0/packages/schema/lib/schemas/SearchOrCreatesSchema.js) #### Properties @@ -2031,7 +2031,7 @@ How will Zapier search for existing objects? #### Details * **Type** - `object` -* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.18.1/packages/schema/lib/schemas/SearchSchema.js) +* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.19.0/packages/schema/lib/schemas/SearchSchema.js) #### Properties @@ -2087,7 +2087,7 @@ Enumerates the searches your app has available for users. #### Details * **Type** - `object` -* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.18.1/packages/schema/lib/schemas/SearchesSchema.js) +* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.19.0/packages/schema/lib/schemas/SearchesSchema.js) #### Properties @@ -2139,7 +2139,7 @@ Zapier uses this configuration to apply throttling when the limit for the window #### Details * **Type** - `object` -* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.18.1/packages/schema/lib/schemas/ThrottleObjectSchema.js) +* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.19.0/packages/schema/lib/schemas/ThrottleObjectSchema.js) #### Properties @@ -2195,7 +2195,7 @@ EXPERIMENTAL: Overrides the original throttle configuration based on a Zapier ac #### Details * **Type** - `object` -* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.18.1/packages/schema/lib/schemas/ThrottleOverrideObjectSchema.js) +* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.19.0/packages/schema/lib/schemas/ThrottleOverrideObjectSchema.js) #### Properties @@ -2228,7 +2228,7 @@ How will Zapier get notified of new objects? #### Details * **Type** - `object` -* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.18.1/packages/schema/lib/schemas/TriggerSchema.js) +* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.19.0/packages/schema/lib/schemas/TriggerSchema.js) #### Properties @@ -2283,7 +2283,7 @@ Enumerates the triggers your app has available for users. #### Details * **Type** - `object` -* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.18.1/packages/schema/lib/schemas/TriggersSchema.js) +* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.19.0/packages/schema/lib/schemas/TriggersSchema.js) #### Properties @@ -2328,7 +2328,7 @@ Represents a simplified semver string, from `0.0.0` to `999.999.999`. * **Type** - `string` * **Pattern** - `^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$` -* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.18.1/packages/schema/lib/schemas/VersionSchema.js) +* [**Source Code**](https://github.com/zapier/zapier-platform/blob/zapier-platform-schema@15.19.0/packages/schema/lib/schemas/VersionSchema.js) #### Examples diff --git a/packages/schema/exported-schema.json b/packages/schema/exported-schema.json index 298e708c1..345369511 100644 --- a/packages/schema/exported-schema.json +++ b/packages/schema/exported-schema.json @@ -1,5 +1,5 @@ { - "version": "15.18.1", + "version": "15.19.0", "schemas": { "AppSchema": { "id": "/AppSchema", diff --git a/packages/schema/package.json b/packages/schema/package.json index a7499e785..7ceee485b 100644 --- a/packages/schema/package.json +++ b/packages/schema/package.json @@ -1,6 +1,6 @@ { "name": "zapier-platform-schema", - "version": "15.18.1", + "version": "15.19.0", "description": "Schema definition for CLI apps in the Zapier Developer Platform.", "repository": "zapier/zapier-platform", "homepage": "https://platform.zapier.com/",