@forgecart/sdk 1.202609190800.0 → 1.202609201317.0
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.
|
@@ -1700,7 +1700,7 @@ export type CreateProductVariantInput = {
|
|
|
1700
1700
|
sku?: InputMaybe<Scalars['String']['input']>;
|
|
1701
1701
|
stockLevels?: InputMaybe<Array<StockLevelInput>>;
|
|
1702
1702
|
taxCategoryId?: InputMaybe<Scalars['ID']['input']>;
|
|
1703
|
-
trackInventory?: InputMaybe<
|
|
1703
|
+
trackInventory?: InputMaybe<TrackInventoryMode>;
|
|
1704
1704
|
translations: Array<CreateProductVariantTranslationInput>;
|
|
1705
1705
|
weight?: InputMaybe<WeightInput>;
|
|
1706
1706
|
};
|
|
@@ -7198,6 +7198,14 @@ export type TrackEventResult = {
|
|
|
7198
7198
|
accepted: Scalars['Boolean']['output'];
|
|
7199
7199
|
eventId: Scalars['ID']['output'];
|
|
7200
7200
|
};
|
|
7201
|
+
/**
|
|
7202
|
+
* A variant's own position in the inventory-tracking chain. INHERIT follows the
|
|
7203
|
+
* product's `trackInventory` setting and then the channel's; TRUE and FALSE are
|
|
7204
|
+
* the variant's own override — TRUE keeps stock for this variant even under a
|
|
7205
|
+
* product that tracks nothing, FALSE never tracks it even under one that does.
|
|
7206
|
+
* Omitting the field leaves the variant on INHERIT.
|
|
7207
|
+
*/
|
|
7208
|
+
export type TrackInventoryMode = 'FALSE' | 'INHERIT' | 'TRUE';
|
|
7201
7209
|
export type TransactionTokenResult = {
|
|
7202
7210
|
token: Scalars['String']['output'];
|
|
7203
7211
|
};
|
|
@@ -7558,7 +7566,7 @@ export type UpdateProductVariantInput = {
|
|
|
7558
7566
|
sku?: InputMaybe<Scalars['String']['input']>;
|
|
7559
7567
|
stockLevels?: InputMaybe<Array<StockLevelInput>>;
|
|
7560
7568
|
taxCategoryId?: InputMaybe<Scalars['ID']['input']>;
|
|
7561
|
-
trackInventory?: InputMaybe<
|
|
7569
|
+
trackInventory?: InputMaybe<TrackInventoryMode>;
|
|
7562
7570
|
translations?: InputMaybe<Array<UpdateProductVariantTranslationInput>>;
|
|
7563
7571
|
weight?: InputMaybe<WeightInput>;
|
|
7564
7572
|
};
|
|
@@ -1507,7 +1507,7 @@ export type CreateProductVariantInput = {
|
|
|
1507
1507
|
sku?: InputMaybe<Scalars['String']['input']>;
|
|
1508
1508
|
stockLevels?: InputMaybe<Array<StockLevelInput>>;
|
|
1509
1509
|
taxCategoryId?: InputMaybe<Scalars['ID']['input']>;
|
|
1510
|
-
trackInventory?: InputMaybe<
|
|
1510
|
+
trackInventory?: InputMaybe<TrackInventoryMode>;
|
|
1511
1511
|
translations: Array<CreateProductVariantTranslationInput>;
|
|
1512
1512
|
weight?: InputMaybe<WeightInput>;
|
|
1513
1513
|
};
|
|
@@ -4777,6 +4777,14 @@ export type TrackEventResult = {
|
|
|
4777
4777
|
accepted: Scalars['Boolean']['output'];
|
|
4778
4778
|
eventId: Scalars['ID']['output'];
|
|
4779
4779
|
};
|
|
4780
|
+
/**
|
|
4781
|
+
* A variant's own position in the inventory-tracking chain. INHERIT follows the
|
|
4782
|
+
* product's `trackInventory` setting and then the channel's; TRUE and FALSE are
|
|
4783
|
+
* the variant's own override — TRUE keeps stock for this variant even under a
|
|
4784
|
+
* product that tracks nothing, FALSE never tracks it even under one that does.
|
|
4785
|
+
* Omitting the field leaves the variant on INHERIT.
|
|
4786
|
+
*/
|
|
4787
|
+
export type TrackInventoryMode = 'FALSE' | 'INHERIT' | 'TRUE';
|
|
4780
4788
|
export type TransactionTokenResult = {
|
|
4781
4789
|
token: Scalars['String']['output'];
|
|
4782
4790
|
};
|
|
@@ -5125,7 +5133,7 @@ export type UpdateProductVariantInput = {
|
|
|
5125
5133
|
sku?: InputMaybe<Scalars['String']['input']>;
|
|
5126
5134
|
stockLevels?: InputMaybe<Array<StockLevelInput>>;
|
|
5127
5135
|
taxCategoryId?: InputMaybe<Scalars['ID']['input']>;
|
|
5128
|
-
trackInventory?: InputMaybe<
|
|
5136
|
+
trackInventory?: InputMaybe<TrackInventoryMode>;
|
|
5129
5137
|
translations?: InputMaybe<Array<UpdateProductVariantTranslationInput>>;
|
|
5130
5138
|
weight?: InputMaybe<WeightInput>;
|
|
5131
5139
|
};
|
package/package.json
CHANGED
|
@@ -2028,7 +2028,7 @@ export type CreateProductVariantInput = {
|
|
|
2028
2028
|
sku?: InputMaybe<Scalars['String']['input']>;
|
|
2029
2029
|
stockLevels?: InputMaybe<Array<StockLevelInput>>;
|
|
2030
2030
|
taxCategoryId?: InputMaybe<Scalars['ID']['input']>;
|
|
2031
|
-
trackInventory?: InputMaybe<
|
|
2031
|
+
trackInventory?: InputMaybe<TrackInventoryMode>;
|
|
2032
2032
|
translations: Array<CreateProductVariantTranslationInput>;
|
|
2033
2033
|
weight?: InputMaybe<WeightInput>;
|
|
2034
2034
|
};
|
|
@@ -9200,6 +9200,18 @@ export type TrackEventResult = {
|
|
|
9200
9200
|
eventId: Scalars['ID']['output'];
|
|
9201
9201
|
};
|
|
9202
9202
|
|
|
9203
|
+
/**
|
|
9204
|
+
* A variant's own position in the inventory-tracking chain. INHERIT follows the
|
|
9205
|
+
* product's `trackInventory` setting and then the channel's; TRUE and FALSE are
|
|
9206
|
+
* the variant's own override — TRUE keeps stock for this variant even under a
|
|
9207
|
+
* product that tracks nothing, FALSE never tracks it even under one that does.
|
|
9208
|
+
* Omitting the field leaves the variant on INHERIT.
|
|
9209
|
+
*/
|
|
9210
|
+
export type TrackInventoryMode =
|
|
9211
|
+
| 'FALSE'
|
|
9212
|
+
| 'INHERIT'
|
|
9213
|
+
| 'TRUE';
|
|
9214
|
+
|
|
9203
9215
|
export type TransactionTokenResult = {
|
|
9204
9216
|
token: Scalars['String']['output'];
|
|
9205
9217
|
};
|
|
@@ -9610,7 +9622,7 @@ export type UpdateProductVariantInput = {
|
|
|
9610
9622
|
sku?: InputMaybe<Scalars['String']['input']>;
|
|
9611
9623
|
stockLevels?: InputMaybe<Array<StockLevelInput>>;
|
|
9612
9624
|
taxCategoryId?: InputMaybe<Scalars['ID']['input']>;
|
|
9613
|
-
trackInventory?: InputMaybe<
|
|
9625
|
+
trackInventory?: InputMaybe<TrackInventoryMode>;
|
|
9614
9626
|
translations?: InputMaybe<Array<UpdateProductVariantTranslationInput>>;
|
|
9615
9627
|
weight?: InputMaybe<WeightInput>;
|
|
9616
9628
|
};
|
|
@@ -1778,7 +1778,7 @@ export type CreateProductVariantInput = {
|
|
|
1778
1778
|
sku?: InputMaybe<Scalars['String']['input']>;
|
|
1779
1779
|
stockLevels?: InputMaybe<Array<StockLevelInput>>;
|
|
1780
1780
|
taxCategoryId?: InputMaybe<Scalars['ID']['input']>;
|
|
1781
|
-
trackInventory?: InputMaybe<
|
|
1781
|
+
trackInventory?: InputMaybe<TrackInventoryMode>;
|
|
1782
1782
|
translations: Array<CreateProductVariantTranslationInput>;
|
|
1783
1783
|
weight?: InputMaybe<WeightInput>;
|
|
1784
1784
|
};
|
|
@@ -5740,6 +5740,18 @@ export type TrackEventResult = {
|
|
|
5740
5740
|
eventId: Scalars['ID']['output'];
|
|
5741
5741
|
};
|
|
5742
5742
|
|
|
5743
|
+
/**
|
|
5744
|
+
* A variant's own position in the inventory-tracking chain. INHERIT follows the
|
|
5745
|
+
* product's `trackInventory` setting and then the channel's; TRUE and FALSE are
|
|
5746
|
+
* the variant's own override — TRUE keeps stock for this variant even under a
|
|
5747
|
+
* product that tracks nothing, FALSE never tracks it even under one that does.
|
|
5748
|
+
* Omitting the field leaves the variant on INHERIT.
|
|
5749
|
+
*/
|
|
5750
|
+
export type TrackInventoryMode =
|
|
5751
|
+
| 'FALSE'
|
|
5752
|
+
| 'INHERIT'
|
|
5753
|
+
| 'TRUE';
|
|
5754
|
+
|
|
5743
5755
|
export type TransactionTokenResult = {
|
|
5744
5756
|
token: Scalars['String']['output'];
|
|
5745
5757
|
};
|
|
@@ -6137,7 +6149,7 @@ export type UpdateProductVariantInput = {
|
|
|
6137
6149
|
sku?: InputMaybe<Scalars['String']['input']>;
|
|
6138
6150
|
stockLevels?: InputMaybe<Array<StockLevelInput>>;
|
|
6139
6151
|
taxCategoryId?: InputMaybe<Scalars['ID']['input']>;
|
|
6140
|
-
trackInventory?: InputMaybe<
|
|
6152
|
+
trackInventory?: InputMaybe<TrackInventoryMode>;
|
|
6141
6153
|
translations?: InputMaybe<Array<UpdateProductVariantTranslationInput>>;
|
|
6142
6154
|
weight?: InputMaybe<WeightInput>;
|
|
6143
6155
|
};
|