@spiffcommerce/core 0.6.1 → 0.6.3

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/main.js CHANGED
@@ -2,6 +2,7 @@ var e=require("papyrus/build/main/CommandContext"),t=require("papyrus/build/main
2
2
  mutation CreateTransaction($integrationProductId: String!, $bulk: Boolean) {
3
3
  transactionCreate(integrationProductId: $integrationProductId, bulk: $bulk) {
4
4
  id
5
+ designName,
5
6
  bulk
6
7
  product {
7
8
  id
@@ -18,6 +19,7 @@ var e=require("papyrus/build/main/CommandContext"),t=require("papyrus/build/main
18
19
  mutation ClaimTransaction($id: String!) {
19
20
  transactionClaim(id: $id) {
20
21
  id
22
+ designName,
21
23
  bulk
22
24
  variationsCount
23
25
  transactionOwnerId
@@ -37,6 +39,7 @@ var e=require("papyrus/build/main/CommandContext"),t=require("papyrus/build/main
37
39
  query ReadTransaction($id: String!) {
38
40
  transactions(ids: [$id]) {
39
41
  id
42
+ designName,
40
43
  bulk
41
44
  variationsCount
42
45
  workflowId
@@ -76,6 +79,7 @@ var e=require("papyrus/build/main/CommandContext"),t=require("papyrus/build/main
76
79
  query ReadTransactionForDesignCreation($id: String!) {
77
80
  transactions(ids: [$id]) {
78
81
  id
82
+ designName,
79
83
  bulk
80
84
  product {
81
85
  basePrice
package/dist/module.js CHANGED
@@ -2,6 +2,7 @@ import{CommandContext as e,getSvgString as t}from"papyrus/build/main/CommandCont
2
2
  mutation CreateTransaction($integrationProductId: String!, $bulk: Boolean) {
3
3
  transactionCreate(integrationProductId: $integrationProductId, bulk: $bulk) {
4
4
  id
5
+ designName,
5
6
  bulk
6
7
  product {
7
8
  id
@@ -18,6 +19,7 @@ import{CommandContext as e,getSvgString as t}from"papyrus/build/main/CommandCont
18
19
  mutation ClaimTransaction($id: String!) {
19
20
  transactionClaim(id: $id) {
20
21
  id
22
+ designName,
21
23
  bulk
22
24
  variationsCount
23
25
  transactionOwnerId
@@ -37,6 +39,7 @@ import{CommandContext as e,getSvgString as t}from"papyrus/build/main/CommandCont
37
39
  query ReadTransaction($id: String!) {
38
40
  transactions(ids: [$id]) {
39
41
  id
42
+ designName,
40
43
  bulk
41
44
  variationsCount
42
45
  workflowId
@@ -76,6 +79,7 @@ import{CommandContext as e,getSvgString as t}from"papyrus/build/main/CommandCont
76
79
  query ReadTransactionForDesignCreation($id: String!) {
77
80
  transactions(ids: [$id]) {
78
81
  id
82
+ designName,
79
83
  bulk
80
84
  product {
81
85
  basePrice
package/dist/types.d.ts CHANGED
@@ -511,6 +511,10 @@ export interface DesignCreationMessage {
511
511
  */
512
512
  export interface Transaction {
513
513
  id: string;
514
+ /**
515
+ * User-supplied name for the associated design.
516
+ */
517
+ designName?: string;
514
518
  bulk?: boolean;
515
519
  /**
516
520
  * The workflow associated with this transaction.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spiffcommerce/core",
3
- "version": "0.6.1",
3
+ "version": "0.6.3",
4
4
  "description": "Core client API for interacting with the Spiff Commerce backend.",
5
5
  "source": "src/index.ts",
6
6
  "main": "dist/main.js",