shopify-webhook-schemas 0.2.6 → 0.2.7
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/src/infer-schema.js +25 -0
- package/package.json +1 -1
- package/schemas/2024-10/refunds/create.json +20 -3
- package/schemas/2025-01/refunds/create.json +20 -3
- package/schemas/2025-04/refunds/create.json +20 -3
- package/schemas/2025-07/refunds/create.json +20 -3
- package/schemas/2025-10/refunds/create.json +1383 -0
package/dist/src/infer-schema.js
CHANGED
|
@@ -772,4 +772,29 @@ exports.overrides = [
|
|
|
772
772
|
...shippingAddress.properties,
|
|
773
773
|
},
|
|
774
774
|
},
|
|
775
|
+
{
|
|
776
|
+
topics: ["refunds/create"],
|
|
777
|
+
schema: {
|
|
778
|
+
return: {
|
|
779
|
+
anyOf: [
|
|
780
|
+
{
|
|
781
|
+
type: "null",
|
|
782
|
+
},
|
|
783
|
+
{
|
|
784
|
+
properties: {
|
|
785
|
+
admin_graphql_api_id: {
|
|
786
|
+
format: "uri",
|
|
787
|
+
type: "string",
|
|
788
|
+
},
|
|
789
|
+
id: {
|
|
790
|
+
type: "integer",
|
|
791
|
+
},
|
|
792
|
+
},
|
|
793
|
+
required: ["admin_graphql_api_id", "id"],
|
|
794
|
+
type: "object",
|
|
795
|
+
},
|
|
796
|
+
],
|
|
797
|
+
},
|
|
798
|
+
},
|
|
799
|
+
},
|
|
775
800
|
];
|
package/package.json
CHANGED
|
@@ -528,9 +528,26 @@
|
|
|
528
528
|
"type": "boolean"
|
|
529
529
|
},
|
|
530
530
|
"return": {
|
|
531
|
-
"
|
|
532
|
-
|
|
533
|
-
|
|
531
|
+
"anyOf": [
|
|
532
|
+
{
|
|
533
|
+
"type": "null"
|
|
534
|
+
},
|
|
535
|
+
{
|
|
536
|
+
"properties": {
|
|
537
|
+
"admin_graphql_api_id": {
|
|
538
|
+
"format": "uri",
|
|
539
|
+
"type": "string"
|
|
540
|
+
},
|
|
541
|
+
"id": {
|
|
542
|
+
"type": "integer"
|
|
543
|
+
}
|
|
544
|
+
},
|
|
545
|
+
"required": [
|
|
546
|
+
"admin_graphql_api_id",
|
|
547
|
+
"id"
|
|
548
|
+
],
|
|
549
|
+
"type": "object"
|
|
550
|
+
}
|
|
534
551
|
]
|
|
535
552
|
},
|
|
536
553
|
"total_duties_set": {
|
|
@@ -528,9 +528,26 @@
|
|
|
528
528
|
"type": "boolean"
|
|
529
529
|
},
|
|
530
530
|
"return": {
|
|
531
|
-
"
|
|
532
|
-
|
|
533
|
-
|
|
531
|
+
"anyOf": [
|
|
532
|
+
{
|
|
533
|
+
"type": "null"
|
|
534
|
+
},
|
|
535
|
+
{
|
|
536
|
+
"properties": {
|
|
537
|
+
"admin_graphql_api_id": {
|
|
538
|
+
"format": "uri",
|
|
539
|
+
"type": "string"
|
|
540
|
+
},
|
|
541
|
+
"id": {
|
|
542
|
+
"type": "integer"
|
|
543
|
+
}
|
|
544
|
+
},
|
|
545
|
+
"required": [
|
|
546
|
+
"admin_graphql_api_id",
|
|
547
|
+
"id"
|
|
548
|
+
],
|
|
549
|
+
"type": "object"
|
|
550
|
+
}
|
|
534
551
|
]
|
|
535
552
|
},
|
|
536
553
|
"total_duties_set": {
|
|
@@ -528,9 +528,26 @@
|
|
|
528
528
|
"type": "boolean"
|
|
529
529
|
},
|
|
530
530
|
"return": {
|
|
531
|
-
"
|
|
532
|
-
|
|
533
|
-
|
|
531
|
+
"anyOf": [
|
|
532
|
+
{
|
|
533
|
+
"type": "null"
|
|
534
|
+
},
|
|
535
|
+
{
|
|
536
|
+
"properties": {
|
|
537
|
+
"admin_graphql_api_id": {
|
|
538
|
+
"format": "uri",
|
|
539
|
+
"type": "string"
|
|
540
|
+
},
|
|
541
|
+
"id": {
|
|
542
|
+
"type": "integer"
|
|
543
|
+
}
|
|
544
|
+
},
|
|
545
|
+
"required": [
|
|
546
|
+
"admin_graphql_api_id",
|
|
547
|
+
"id"
|
|
548
|
+
],
|
|
549
|
+
"type": "object"
|
|
550
|
+
}
|
|
534
551
|
]
|
|
535
552
|
},
|
|
536
553
|
"total_duties_set": {
|
|
@@ -528,9 +528,26 @@
|
|
|
528
528
|
"type": "boolean"
|
|
529
529
|
},
|
|
530
530
|
"return": {
|
|
531
|
-
"
|
|
532
|
-
|
|
533
|
-
|
|
531
|
+
"anyOf": [
|
|
532
|
+
{
|
|
533
|
+
"type": "null"
|
|
534
|
+
},
|
|
535
|
+
{
|
|
536
|
+
"properties": {
|
|
537
|
+
"admin_graphql_api_id": {
|
|
538
|
+
"format": "uri",
|
|
539
|
+
"type": "string"
|
|
540
|
+
},
|
|
541
|
+
"id": {
|
|
542
|
+
"type": "integer"
|
|
543
|
+
}
|
|
544
|
+
},
|
|
545
|
+
"required": [
|
|
546
|
+
"admin_graphql_api_id",
|
|
547
|
+
"id"
|
|
548
|
+
],
|
|
549
|
+
"type": "object"
|
|
550
|
+
}
|
|
534
551
|
]
|
|
535
552
|
},
|
|
536
553
|
"total_duties_set": {
|