-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #45 from restorecommerce/feature/products-invoices…
…-and-fulfillment Feature/products invoices and fulfillment
- Loading branch information
Showing
141 changed files
with
5,079 additions
and
403 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
packages/core/graphql/src/lib/documents/catalog/product-delete.graphql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
mutation CatalogProductDelete( | ||
$input: IIoRestorecommerceResourcebaseDeleteRequest! | ||
) { | ||
catalog { | ||
product { | ||
Delete(input: $input) { | ||
details { | ||
operationStatus { | ||
code | ||
message | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
packages/core/graphql/src/lib/documents/catalog/product-mutate.graphql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
mutation CatalogProductMutate($input: IIoRestorecommerceProductProductList!) { | ||
catalog { | ||
product { | ||
Mutate(input: $input) { | ||
details { | ||
operationStatus { | ||
code | ||
message | ||
} | ||
items { | ||
payload { | ||
...ProductFragment | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
packages/core/graphql/src/lib/documents/catalog/product-read.graphql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
query CatalogProductRead($input: IIoRestorecommerceResourcebaseReadRequest!) { | ||
catalog { | ||
product { | ||
Read(input: $input) { | ||
details { | ||
operationStatus { | ||
code | ||
message | ||
} | ||
items { | ||
payload { | ||
...ProductFragment | ||
} | ||
} | ||
totalCount | ||
} | ||
} | ||
} | ||
} | ||
} |
9 changes: 9 additions & 0 deletions
9
packages/core/graphql/src/lib/documents/fragments/fulfillment.graphql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
fragment FulfillmentFragment on IoRestorecommerceFulfillmentFulfillment { | ||
id | ||
customerId | ||
shopId | ||
userId | ||
meta { | ||
...MetaFragment | ||
} | ||
} |
9 changes: 9 additions & 0 deletions
9
packages/core/graphql/src/lib/documents/fragments/invoice.graphql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
fragment InvoiceFragment on IoRestorecommerceInvoiceInvoice { | ||
id | ||
customerId | ||
shopId | ||
userId | ||
meta { | ||
...MetaFragment | ||
} | ||
} |
27 changes: 27 additions & 0 deletions
27
packages/core/graphql/src/lib/documents/fragments/product.graphql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
fragment ProductFragment on IoRestorecommerceProductProduct { | ||
id | ||
active | ||
product { | ||
name | ||
description | ||
physical { | ||
variants { | ||
id | ||
name | ||
images { | ||
id | ||
index | ||
filename | ||
caption | ||
contentType | ||
height | ||
width | ||
url | ||
} | ||
} | ||
} | ||
} | ||
meta { | ||
...MetaFragment | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
packages/core/graphql/src/lib/documents/fulfillment/fulfillment-delete.graphql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
mutation FulfillmentFulfillmentDelete( | ||
$input: IIoRestorecommerceResourcebaseDeleteRequest! | ||
) { | ||
fulfillment { | ||
fulfillment { | ||
Delete(input: $input) { | ||
details { | ||
operationStatus { | ||
code | ||
message | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
packages/core/graphql/src/lib/documents/fulfillment/fulfillment-mutate.graphql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
mutation FulfillmentFulfillmentMutate( | ||
$input: IIoRestorecommerceFulfillmentFulfillmentList! | ||
) { | ||
fulfillment { | ||
fulfillment { | ||
Mutate(input: $input) { | ||
details { | ||
operationStatus { | ||
code | ||
message | ||
} | ||
items { | ||
payload { | ||
...FulfillmentFragment | ||
} | ||
} | ||
totalCount | ||
} | ||
} | ||
} | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
packages/core/graphql/src/lib/documents/fulfillment/fulfillment-read.graphql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
query FulfillmentFulfillmentRead( | ||
$input: IIoRestorecommerceResourcebaseReadRequest! | ||
) { | ||
fulfillment { | ||
fulfillment { | ||
Read(input: $input) { | ||
details { | ||
operationStatus { | ||
code | ||
message | ||
} | ||
items { | ||
payload { | ||
...FulfillmentFragment | ||
} | ||
} | ||
totalCount | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
packages/core/graphql/src/lib/documents/invoicing/invoice-delete.graphql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
mutation InvoicingInvoiceDelete( | ||
$input: IIoRestorecommerceResourcebaseDeleteRequest! | ||
) { | ||
invoicing { | ||
invoice { | ||
Delete(input: $input) { | ||
details { | ||
operationStatus { | ||
code | ||
message | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
packages/core/graphql/src/lib/documents/invoicing/invoice-mutate.graphql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
mutation InvoicingInvoiceMutate($input: IIoRestorecommerceInvoiceInvoiceList!) { | ||
invoicing { | ||
invoice { | ||
Mutate(input: $input) { | ||
details { | ||
operationStatus { | ||
code | ||
message | ||
} | ||
items { | ||
payload { | ||
...InvoiceFragment | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
packages/core/graphql/src/lib/documents/invoicing/invoice-read.graphql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
query InvoicingInvoiceRead($input: IIoRestorecommerceResourcebaseReadRequest!) { | ||
invoicing { | ||
invoice { | ||
Read(input: $input) { | ||
details { | ||
operationStatus { | ||
code | ||
message | ||
} | ||
items { | ||
payload { | ||
...InvoiceFragment | ||
} | ||
} | ||
totalCount | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.