zapier-platform-schema 9.5.0 → 9.7.1

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.
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "9.5.0",
2
+ "version": "9.7.1",
3
3
  "schemas": {
4
4
  "AppSchema": {
5
5
  "id": "/AppSchema",
@@ -104,7 +104,7 @@
104
104
  "id": "/RefResourceSchema",
105
105
  "description": "Reference a resource by key and the data it returns. In the format of: `{resource_key}.{foreign_key}(.{human_label_key})`.",
106
106
  "type": "string",
107
- "pattern": "^[a-zA-Z0-9_]+\\.[a-zA-Z0-9_]+(\\.[a-zA-Z0-9_]+(,[a-zA-Z0-9_]+)*)?$"
107
+ "pattern": "^[a-zA-Z0-9_]+\\.[a-zA-Z0-9_\\s\\[\\]]+(\\.[a-zA-Z0-9_\\s\\[\\]]+(,[a-zA-Z0-9_\\s\\[\\]]+)*)?$"
108
108
  },
109
109
  "FieldChoicesSchema": {
110
110
  "id": "/FieldChoicesSchema",
@@ -11,7 +11,9 @@ module.exports = makeSchema({
11
11
  'contact.id',
12
12
  'contact.id.name',
13
13
  'contact.id.firstName,lastName',
14
- 'contact.id.first_name,last_name,email'
14
+ 'contact.id.first_name,last_name,email',
15
+ 'contact.Contact Id.Full Name',
16
+ 'contact.data[]id.data[]First Name,data[]Last Name',
15
17
  ],
16
18
  antiExamples: [
17
19
  'contact',
@@ -20,7 +22,8 @@ module.exports = makeSchema({
20
22
  'cont,act.id,name',
21
23
  'contact',
22
24
  'contact.id.,,',
23
- 'contact.id.a,,'
25
+ 'contact.id.a,,',
24
26
  ],
25
- pattern: '^[a-zA-Z0-9_]+\\.[a-zA-Z0-9_]+(\\.[a-zA-Z0-9_]+(,[a-zA-Z0-9_]+)*)?$'
27
+ pattern:
28
+ '^[a-zA-Z0-9_]+\\.[a-zA-Z0-9_\\s\\[\\]]+(\\.[a-zA-Z0-9_\\s\\[\\]]+(,[a-zA-Z0-9_\\s\\[\\]]+)*)?$',
26
29
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zapier-platform-schema",
3
- "version": "9.5.0",
3
+ "version": "9.7.1",
4
4
  "description": "Schema definition for CLI apps in the Zapier Developer Platform.",
5
5
  "repository": "zapier/zapier-platform-schema",
6
6
  "homepage": "https://zapier.com/",
@@ -34,6 +34,6 @@
34
34
  "fs-extra": "8.1.0",
35
35
  "istanbul": "0.4.5",
36
36
  "markdown-toc": "1.2.0",
37
- "node-fetch": "2.6.0"
37
+ "node-fetch": "2.6.7"
38
38
  }
39
39
  }