shopify-webhook-schemas 0.1.7 → 0.1.9

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shopify-webhook-schemas",
3
- "version": "0.1.7",
3
+ "version": "0.1.9",
4
4
  "description": "",
5
5
  "main": "dist/src/index.js",
6
6
  "type": "commonjs",
@@ -30,11 +30,9 @@
30
30
  "license": "MIT",
31
31
  "devDependencies": {
32
32
  "@arethetypeswrong/cli": "^0.15.3",
33
- "@cloudflare/json-schema-walker": "^0.1.1",
34
33
  "@gadgetinc/eslint-config": "^0.6.1",
35
34
  "@gadgetinc/prettier-config": "^0.4.0",
36
35
  "@jsonhero/json-infer-types": "^1.2.11",
37
- "@jsonhero/schema-infer": "^0.1.5",
38
36
  "@opentelemetry/api": "^1.8.0",
39
37
  "@types/fs-extra": "^11.0.4",
40
38
  "@types/lodash": "^4.17.0",
@@ -48,16 +46,18 @@
48
46
  "globby": "^14.0.1",
49
47
  "got": "^11.8.6",
50
48
  "inflected": "^2.1.0",
51
- "lodash": "^4.17.21",
52
49
  "prettier": "^2.8.8",
53
50
  "publint": "^0.2.7",
54
- "safe-stable-stringify": "^2.5.0",
55
51
  "traverse": "^0.6.9",
56
52
  "tsx": "^4.7.3",
57
53
  "typescript": "^5.4.5"
58
54
  },
59
55
  "dependencies": {
60
- "fast-glob": "^3.3.2"
56
+ "fast-glob": "^3.3.2",
57
+ "@cloudflare/json-schema-walker": "^0.1.1",
58
+ "@jsonhero/schema-infer": "^0.1.5",
59
+ "lodash": "^4.17.21",
60
+ "safe-stable-stringify": "^2.5.0"
61
61
  },
62
62
  "packageManager": "pnpm@9.11.0+sha512.0a203ffaed5a3f63242cd064c8fb5892366c103e328079318f78062f24ea8c9d50bc6a47aa3567cabefd824d170e78fa2745ed1f16b132e16436146b7688f19b"
63
63
  }
@@ -1,45 +0,0 @@
1
- {
2
- "access_scopes": [
3
- "returns",
4
- "marketplace_returns",
5
- "buyer_membership_orders"
6
- ],
7
- "available_on": [
8
- "graphql",
9
- "toml"
10
- ],
11
- "deprecated": false,
12
- "description": "Occurs whenever a return is processed.",
13
- "name": "returns/process",
14
- "related_resource": "Return",
15
- "response": {
16
- "id": 123134564567890,
17
- "admin_graphql_api_id": "gid://shopify/Return/123134564567890",
18
- "order_id": 4783296544821,
19
- "admin_graphql_api_order_id": "gid://shopify/Order/4783296544821",
20
- "status": "open",
21
- "return_line_items": [
22
- {
23
- "id": 987654321,
24
- "admin_graphql_api_id": "gid://shopify/ReturnLineItem/987654321",
25
- "quantity": 1,
26
- "processed_quantity": 0
27
- },
28
- {
29
- "id": 987654322,
30
- "admin_graphql_api_id": "gid://shopify/ReturnLineItem/987654322",
31
- "quantity": 1,
32
- "processed_quantity": 0
33
- }
34
- ],
35
- "exchange_line_items": [
36
- {
37
- "id": 987654321283476,
38
- "admin_graphql_api_id": "gid://shopify/ExchangeLineItem/987654321283476",
39
- "quantity": 1,
40
- "processed_quantity": 0
41
- }
42
- ]
43
- },
44
- "shop_feature": false
45
- }
@@ -1,86 +0,0 @@
1
- {
2
- "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "properties": {
4
- "admin_graphql_api_id": {
5
- "format": "uri",
6
- "type": "string"
7
- },
8
- "admin_graphql_api_order_id": {
9
- "format": "uri",
10
- "type": "string"
11
- },
12
- "exchange_line_items": {
13
- "items": {
14
- "properties": {
15
- "admin_graphql_api_id": {
16
- "format": "uri",
17
- "type": "string"
18
- },
19
- "id": {
20
- "type": "integer"
21
- },
22
- "processed_quantity": {
23
- "type": "integer"
24
- },
25
- "quantity": {
26
- "type": "integer"
27
- }
28
- },
29
- "required": [
30
- "admin_graphql_api_id",
31
- "id",
32
- "processed_quantity",
33
- "quantity"
34
- ],
35
- "type": "object"
36
- },
37
- "type": "array"
38
- },
39
- "id": {
40
- "type": "integer"
41
- },
42
- "order_id": {
43
- "type": "integer"
44
- },
45
- "return_line_items": {
46
- "items": {
47
- "properties": {
48
- "admin_graphql_api_id": {
49
- "format": "uri",
50
- "type": "string"
51
- },
52
- "id": {
53
- "type": "integer"
54
- },
55
- "processed_quantity": {
56
- "type": "integer"
57
- },
58
- "quantity": {
59
- "type": "integer"
60
- }
61
- },
62
- "required": [
63
- "admin_graphql_api_id",
64
- "id",
65
- "processed_quantity",
66
- "quantity"
67
- ],
68
- "type": "object"
69
- },
70
- "type": "array"
71
- },
72
- "status": {
73
- "type": "string"
74
- }
75
- },
76
- "required": [
77
- "admin_graphql_api_id",
78
- "admin_graphql_api_order_id",
79
- "exchange_line_items",
80
- "id",
81
- "order_id",
82
- "return_line_items",
83
- "status"
84
- ],
85
- "type": "object"
86
- }