@ehrenkind/shopify-lib 0.6.0 → 0.6.1
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/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -5
- package/dist/index.d.ts +6 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -8205,7 +8205,7 @@ type FulfillmentOrderInternationalDuties = {
|
|
|
8205
8205
|
*
|
|
8206
8206
|
* The line item provides additional fulfillment data including whether the item requires shipping. Financial summaries show pricing details with discounts applied, while warning messages alert merchants to any issues that might affect fulfillment.
|
|
8207
8207
|
*/
|
|
8208
|
-
type FulfillmentOrderLineItem = Node & {
|
|
8208
|
+
type FulfillmentOrderLineItem$1 = Node & {
|
|
8209
8209
|
__typename?: 'FulfillmentOrderLineItem';
|
|
8210
8210
|
/** The financial summary for the Fulfillment Order's Line Items. */
|
|
8211
8211
|
financialSummaries: Array<FulfillmentOrderLineItemFinancialSummary>;
|
|
@@ -8249,7 +8249,7 @@ type FulfillmentOrderLineItemConnection = {
|
|
|
8249
8249
|
/** The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. */
|
|
8250
8250
|
edges: Array<FulfillmentOrderLineItemEdge>;
|
|
8251
8251
|
/** A list of nodes that are contained in FulfillmentOrderLineItemEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. */
|
|
8252
|
-
nodes: Array<FulfillmentOrderLineItem>;
|
|
8252
|
+
nodes: Array<FulfillmentOrderLineItem$1>;
|
|
8253
8253
|
/** An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. */
|
|
8254
8254
|
pageInfo: PageInfo;
|
|
8255
8255
|
};
|
|
@@ -8259,7 +8259,7 @@ type FulfillmentOrderLineItemEdge = {
|
|
|
8259
8259
|
/** The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). */
|
|
8260
8260
|
cursor: Scalars['String']['output'];
|
|
8261
8261
|
/** The item at the end of FulfillmentOrderLineItemEdge. */
|
|
8262
|
-
node: FulfillmentOrderLineItem;
|
|
8262
|
+
node: FulfillmentOrderLineItem$1;
|
|
8263
8263
|
};
|
|
8264
8264
|
/** The financial details of a fulfillment order line item. */
|
|
8265
8265
|
type FulfillmentOrderLineItemFinancialSummary = {
|
|
@@ -19825,7 +19825,7 @@ type FulfillmentOrdersByOrderIdQuery = {
|
|
|
19825
19825
|
node: (Pick<FulfillmentOrder$1, 'id' | 'status'> & {
|
|
19826
19826
|
lineItems: {
|
|
19827
19827
|
edges: Array<{
|
|
19828
|
-
node: (Pick<FulfillmentOrderLineItem, 'id' | 'remainingQuantity' | 'totalQuantity'> & {
|
|
19828
|
+
node: (Pick<FulfillmentOrderLineItem$1, 'id' | 'remainingQuantity' | 'totalQuantity'> & {
|
|
19829
19829
|
lineItem: Pick<LineItem, 'id'>;
|
|
19830
19830
|
});
|
|
19831
19831
|
}>;
|
|
@@ -20761,6 +20761,7 @@ declare function getFulfillmentById(id: string | number | bigint): Promise<Fulfi
|
|
|
20761
20761
|
|
|
20762
20762
|
type FulfillmentOrderEdge = NonNullable<FulfillmentOrdersByOrderIdQuery['order']>['fulfillmentOrders']['edges'][number];
|
|
20763
20763
|
type FulfillmentOrder = FulfillmentOrderEdge['node'];
|
|
20764
|
+
type FulfillmentOrderLineItem = FulfillmentOrder['lineItems']['edges'][number]['node'];
|
|
20764
20765
|
/**
|
|
20765
20766
|
* Retrieves all fulfillment orders for a given Shopify order.
|
|
20766
20767
|
* Returns an empty array if no order is found or if the order has no fulfillment orders.
|
|
@@ -20850,4 +20851,4 @@ type Metaobject = NonNullable<MetaobjectByHandleQuery['metaobjectByHandle']>;
|
|
|
20850
20851
|
*/
|
|
20851
20852
|
declare function getMetaobjectByHandle(handle: MetaobjectHandleInput): Promise<Metaobject | undefined>;
|
|
20852
20853
|
|
|
20853
|
-
export { type BulkUpdateProductVariantsResult, type CalculateRefundLineItem, type CalculateRefundOptions, type CreateFulfillmentResult, type CreateMetaobjectDefinitionInput, type CreateMetaobjectDefinitionResult, type CreateRefundLineItem, type CreateRefundOptions, type CreateRefundResult, type CreateRefundTransaction, type Customer, type CustomerSegmentMember, type CustomerSegmentMembersResult, type Fulfillment, type FulfillmentLineItem$1 as FulfillmentLineItem, type FulfillmentOrder, type FulfillmentTrackingIds, type FullOrder, type FullOrderByName, type LeanOrder, type LeanOrderByName, type LeanProductVariant, type LeanProductVariantsOptions, type Metaobject, type MetaobjectFieldDefinition$1 as MetaobjectFieldDefinition, type MetaobjectHandleInput, type OrderCancellationInfo, type OrderPaymentDetails, type OrderPreview, type ProductVariant, type ProductVariantBySku, type ProductVariantsBySkusOptions, type RefundMoney, type SegmentAttributeStatistics, ShopifyUserError, type ShopifyUserErrorDetail, type SuggestedRefund, type UpdateFulfillmentTrackingResult, type UpsertMetaobjectInput, type UpsertMetaobjectResult, type VariantUpdateInput, bulkUpdateProductVariants, calculateRefund, cancelOrderById, createFile, createFulfillment, createMetaobjectDefinition, createRefund, deleteCustomerById, deleteFilesByIds, getAllProductVariants, getCustomerSegmentMembers, getCustomersByEmail, getFulfillmentById, getFulfillmentOrdersByOrderId, getFulfillmentTrackingIds, getLeanProductVariants, getMetaobjectByHandle, getOrderById, getOrderByName, getOrderCancellationInfoByName, getOrderPaymentDetailsById, getOrdersByCustomerId, getProductVariantsBySkus, parseGid, updateFulfillmentTracking, upsertMetaobject };
|
|
20854
|
+
export { type BulkUpdateProductVariantsResult, type CalculateRefundLineItem, type CalculateRefundOptions, type CreateFulfillmentResult, type CreateMetaobjectDefinitionInput, type CreateMetaobjectDefinitionResult, type CreateRefundLineItem, type CreateRefundOptions, type CreateRefundResult, type CreateRefundTransaction, type Customer, type CustomerSegmentMember, type CustomerSegmentMembersResult, type Fulfillment, type FulfillmentLineItem$1 as FulfillmentLineItem, type FulfillmentOrder, type FulfillmentOrderLineItem, type FulfillmentTrackingIds, type FullOrder, type FullOrderByName, type LeanOrder, type LeanOrderByName, type LeanProductVariant, type LeanProductVariantsOptions, type Metaobject, type MetaobjectFieldDefinition$1 as MetaobjectFieldDefinition, type MetaobjectHandleInput, type OrderCancellationInfo, type OrderPaymentDetails, type OrderPreview, type ProductVariant, type ProductVariantBySku, type ProductVariantsBySkusOptions, type RefundMoney, type SegmentAttributeStatistics, ShopifyUserError, type ShopifyUserErrorDetail, type SuggestedRefund, type UpdateFulfillmentTrackingResult, type UpsertMetaobjectInput, type UpsertMetaobjectResult, type VariantUpdateInput, bulkUpdateProductVariants, calculateRefund, cancelOrderById, createFile, createFulfillment, createMetaobjectDefinition, createRefund, deleteCustomerById, deleteFilesByIds, getAllProductVariants, getCustomerSegmentMembers, getCustomersByEmail, getFulfillmentById, getFulfillmentOrdersByOrderId, getFulfillmentTrackingIds, getLeanProductVariants, getMetaobjectByHandle, getOrderById, getOrderByName, getOrderCancellationInfoByName, getOrderPaymentDetailsById, getOrdersByCustomerId, getProductVariantsBySkus, parseGid, updateFulfillmentTracking, upsertMetaobject };
|
package/dist/index.d.ts
CHANGED
|
@@ -8205,7 +8205,7 @@ type FulfillmentOrderInternationalDuties = {
|
|
|
8205
8205
|
*
|
|
8206
8206
|
* The line item provides additional fulfillment data including whether the item requires shipping. Financial summaries show pricing details with discounts applied, while warning messages alert merchants to any issues that might affect fulfillment.
|
|
8207
8207
|
*/
|
|
8208
|
-
type FulfillmentOrderLineItem = Node & {
|
|
8208
|
+
type FulfillmentOrderLineItem$1 = Node & {
|
|
8209
8209
|
__typename?: 'FulfillmentOrderLineItem';
|
|
8210
8210
|
/** The financial summary for the Fulfillment Order's Line Items. */
|
|
8211
8211
|
financialSummaries: Array<FulfillmentOrderLineItemFinancialSummary>;
|
|
@@ -8249,7 +8249,7 @@ type FulfillmentOrderLineItemConnection = {
|
|
|
8249
8249
|
/** The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. */
|
|
8250
8250
|
edges: Array<FulfillmentOrderLineItemEdge>;
|
|
8251
8251
|
/** A list of nodes that are contained in FulfillmentOrderLineItemEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. */
|
|
8252
|
-
nodes: Array<FulfillmentOrderLineItem>;
|
|
8252
|
+
nodes: Array<FulfillmentOrderLineItem$1>;
|
|
8253
8253
|
/** An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. */
|
|
8254
8254
|
pageInfo: PageInfo;
|
|
8255
8255
|
};
|
|
@@ -8259,7 +8259,7 @@ type FulfillmentOrderLineItemEdge = {
|
|
|
8259
8259
|
/** The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). */
|
|
8260
8260
|
cursor: Scalars['String']['output'];
|
|
8261
8261
|
/** The item at the end of FulfillmentOrderLineItemEdge. */
|
|
8262
|
-
node: FulfillmentOrderLineItem;
|
|
8262
|
+
node: FulfillmentOrderLineItem$1;
|
|
8263
8263
|
};
|
|
8264
8264
|
/** The financial details of a fulfillment order line item. */
|
|
8265
8265
|
type FulfillmentOrderLineItemFinancialSummary = {
|
|
@@ -19825,7 +19825,7 @@ type FulfillmentOrdersByOrderIdQuery = {
|
|
|
19825
19825
|
node: (Pick<FulfillmentOrder$1, 'id' | 'status'> & {
|
|
19826
19826
|
lineItems: {
|
|
19827
19827
|
edges: Array<{
|
|
19828
|
-
node: (Pick<FulfillmentOrderLineItem, 'id' | 'remainingQuantity' | 'totalQuantity'> & {
|
|
19828
|
+
node: (Pick<FulfillmentOrderLineItem$1, 'id' | 'remainingQuantity' | 'totalQuantity'> & {
|
|
19829
19829
|
lineItem: Pick<LineItem, 'id'>;
|
|
19830
19830
|
});
|
|
19831
19831
|
}>;
|
|
@@ -20761,6 +20761,7 @@ declare function getFulfillmentById(id: string | number | bigint): Promise<Fulfi
|
|
|
20761
20761
|
|
|
20762
20762
|
type FulfillmentOrderEdge = NonNullable<FulfillmentOrdersByOrderIdQuery['order']>['fulfillmentOrders']['edges'][number];
|
|
20763
20763
|
type FulfillmentOrder = FulfillmentOrderEdge['node'];
|
|
20764
|
+
type FulfillmentOrderLineItem = FulfillmentOrder['lineItems']['edges'][number]['node'];
|
|
20764
20765
|
/**
|
|
20765
20766
|
* Retrieves all fulfillment orders for a given Shopify order.
|
|
20766
20767
|
* Returns an empty array if no order is found or if the order has no fulfillment orders.
|
|
@@ -20850,4 +20851,4 @@ type Metaobject = NonNullable<MetaobjectByHandleQuery['metaobjectByHandle']>;
|
|
|
20850
20851
|
*/
|
|
20851
20852
|
declare function getMetaobjectByHandle(handle: MetaobjectHandleInput): Promise<Metaobject | undefined>;
|
|
20852
20853
|
|
|
20853
|
-
export { type BulkUpdateProductVariantsResult, type CalculateRefundLineItem, type CalculateRefundOptions, type CreateFulfillmentResult, type CreateMetaobjectDefinitionInput, type CreateMetaobjectDefinitionResult, type CreateRefundLineItem, type CreateRefundOptions, type CreateRefundResult, type CreateRefundTransaction, type Customer, type CustomerSegmentMember, type CustomerSegmentMembersResult, type Fulfillment, type FulfillmentLineItem$1 as FulfillmentLineItem, type FulfillmentOrder, type FulfillmentTrackingIds, type FullOrder, type FullOrderByName, type LeanOrder, type LeanOrderByName, type LeanProductVariant, type LeanProductVariantsOptions, type Metaobject, type MetaobjectFieldDefinition$1 as MetaobjectFieldDefinition, type MetaobjectHandleInput, type OrderCancellationInfo, type OrderPaymentDetails, type OrderPreview, type ProductVariant, type ProductVariantBySku, type ProductVariantsBySkusOptions, type RefundMoney, type SegmentAttributeStatistics, ShopifyUserError, type ShopifyUserErrorDetail, type SuggestedRefund, type UpdateFulfillmentTrackingResult, type UpsertMetaobjectInput, type UpsertMetaobjectResult, type VariantUpdateInput, bulkUpdateProductVariants, calculateRefund, cancelOrderById, createFile, createFulfillment, createMetaobjectDefinition, createRefund, deleteCustomerById, deleteFilesByIds, getAllProductVariants, getCustomerSegmentMembers, getCustomersByEmail, getFulfillmentById, getFulfillmentOrdersByOrderId, getFulfillmentTrackingIds, getLeanProductVariants, getMetaobjectByHandle, getOrderById, getOrderByName, getOrderCancellationInfoByName, getOrderPaymentDetailsById, getOrdersByCustomerId, getProductVariantsBySkus, parseGid, updateFulfillmentTracking, upsertMetaobject };
|
|
20854
|
+
export { type BulkUpdateProductVariantsResult, type CalculateRefundLineItem, type CalculateRefundOptions, type CreateFulfillmentResult, type CreateMetaobjectDefinitionInput, type CreateMetaobjectDefinitionResult, type CreateRefundLineItem, type CreateRefundOptions, type CreateRefundResult, type CreateRefundTransaction, type Customer, type CustomerSegmentMember, type CustomerSegmentMembersResult, type Fulfillment, type FulfillmentLineItem$1 as FulfillmentLineItem, type FulfillmentOrder, type FulfillmentOrderLineItem, type FulfillmentTrackingIds, type FullOrder, type FullOrderByName, type LeanOrder, type LeanOrderByName, type LeanProductVariant, type LeanProductVariantsOptions, type Metaobject, type MetaobjectFieldDefinition$1 as MetaobjectFieldDefinition, type MetaobjectHandleInput, type OrderCancellationInfo, type OrderPaymentDetails, type OrderPreview, type ProductVariant, type ProductVariantBySku, type ProductVariantsBySkusOptions, type RefundMoney, type SegmentAttributeStatistics, ShopifyUserError, type ShopifyUserErrorDetail, type SuggestedRefund, type UpdateFulfillmentTrackingResult, type UpsertMetaobjectInput, type UpsertMetaobjectResult, type VariantUpdateInput, bulkUpdateProductVariants, calculateRefund, cancelOrderById, createFile, createFulfillment, createMetaobjectDefinition, createRefund, deleteCustomerById, deleteFilesByIds, getAllProductVariants, getCustomerSegmentMembers, getCustomersByEmail, getFulfillmentById, getFulfillmentOrdersByOrderId, getFulfillmentTrackingIds, getLeanProductVariants, getMetaobjectByHandle, getOrderById, getOrderByName, getOrderCancellationInfoByName, getOrderPaymentDetailsById, getOrdersByCustomerId, getProductVariantsBySkus, parseGid, updateFulfillmentTracking, upsertMetaobject };
|