@ehrenkind/shopify-lib 0.8.1 → 0.8.2

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.d.cts CHANGED
@@ -20862,6 +20862,11 @@ type OrderByIdFullQuery = {
20862
20862
  order?: Maybe<(Pick<Order, 'id' | 'name' | 'createdAt' | 'updatedAt' | 'processedAt' | 'closedAt' | 'cancelledAt' | 'cancelReason' | 'displayFinancialStatus' | 'displayFulfillmentStatus' | 'discountCodes'> & {
20863
20863
  totalPriceSet: {
20864
20864
  shopMoney: Pick<MoneyV2, 'amount' | 'currencyCode'>;
20865
+ presentmentMoney: Pick<MoneyV2, 'amount' | 'currencyCode'>;
20866
+ };
20867
+ currentTotalPriceSet: {
20868
+ shopMoney: Pick<MoneyV2, 'amount' | 'currencyCode'>;
20869
+ presentmentMoney: Pick<MoneyV2, 'amount' | 'currencyCode'>;
20865
20870
  };
20866
20871
  customer?: Maybe<Pick<Customer$1, 'id' | 'firstName' | 'lastName' | 'email' | 'phone'>>;
20867
20872
  shippingAddress?: Maybe<Pick<MailingAddress, 'firstName' | 'lastName' | 'address1' | 'address2' | 'city' | 'province' | 'country' | 'zip'>>;
@@ -20876,6 +20881,7 @@ type OrderByIdFullQuery = {
20876
20881
  discountAllocations: Array<{
20877
20882
  allocatedAmountSet: {
20878
20883
  shopMoney: Pick<MoneyV2, 'amount' | 'currencyCode'>;
20884
+ presentmentMoney: Pick<MoneyV2, 'amount' | 'currencyCode'>;
20879
20885
  };
20880
20886
  }>;
20881
20887
  image?: Maybe<Pick<Image, 'url' | 'width' | 'height' | 'altText'>>;
@@ -21202,7 +21208,7 @@ interface GeneratedQueryTypes {
21202
21208
  return: OrderByIdQuery;
21203
21209
  variables: OrderByIdQueryVariables;
21204
21210
  };
21205
- "#graphql\n query orderByIdFull($id: ID!) {\n order(id: $id) {\n id\n name\n createdAt\n updatedAt\n processedAt\n closedAt\n cancelledAt\n cancelReason\n totalPriceSet {\n shopMoney {\n amount\n currencyCode\n }\n }\n customer {\n id\n firstName\n lastName\n email\n phone\n }\n displayFinancialStatus\n displayFulfillmentStatus\n shippingAddress {\n firstName\n lastName\n address1\n address2\n city\n province\n country\n zip\n }\n billingAddress {\n firstName\n lastName\n address1\n address2\n city\n province\n country\n zip\n }\n lineItems(first: 100) {\n edges {\n node {\n id\n sku\n title\n variantTitle\n quantity\n customAttributes {\n key\n value\n }\n originalUnitPriceSet {\n shopMoney {\n amount\n currencyCode\n }\n }\n discountAllocations {\n allocatedAmountSet {\n shopMoney {\n amount\n currencyCode\n }\n }\n }\n vendor\n image {\n url\n width\n height\n altText\n }\n lineItemGroup {\n id\n title\n quantity\n variantSku\n }\n }\n }\n }\n discountApplications(first: 20) {\n nodes {\n allocationMethod\n targetType\n value {\n __typename\n ... on PricingPercentageValue {\n percentage\n }\n ... on MoneyV2 {\n amount\n currencyCode\n }\n }\n ... on DiscountCodeApplication {\n code\n }\n }\n }\n fulfillments {\n id\n name\n totalQuantity\n status\n createdAt\n estimatedDeliveryAt\n deliveredAt\n trackingInfo {\n company\n number\n url\n }\n fulfillmentLineItems(first: 100) {\n edges {\n node {\n id\n quantity\n lineItem {\n id\n sku\n }\n }\n }\n }\n }\n shippingLine {\n originalPriceSet {\n shopMoney {\n amount\n currencyCode\n }\n }\n }\n taxLines {\n priceSet {\n shopMoney {\n amount\n currencyCode\n }\n }\n }\n totalDiscountsSet {\n shopMoney {\n amount\n currencyCode\n }\n }\n discountCodes\n refunds {\n totalRefundedSet {\n shopMoney {\n amount\n currencyCode\n }\n }\n transactions(first: 50) {\n nodes {\n kind\n amountSet {\n shopMoney {\n amount\n currencyCode\n }\n }\n }\n }\n }\n }\n }\n": {
21211
+ "#graphql\n query orderByIdFull($id: ID!) {\n order(id: $id) {\n id\n name\n createdAt\n updatedAt\n processedAt\n closedAt\n cancelledAt\n cancelReason\n totalPriceSet {\n shopMoney {\n amount\n currencyCode\n }\n presentmentMoney {\n amount\n currencyCode\n }\n }\n currentTotalPriceSet {\n shopMoney {\n amount\n currencyCode\n }\n presentmentMoney {\n amount\n currencyCode\n }\n }\n customer {\n id\n firstName\n lastName\n email\n phone\n }\n displayFinancialStatus\n displayFulfillmentStatus\n shippingAddress {\n firstName\n lastName\n address1\n address2\n city\n province\n country\n zip\n }\n billingAddress {\n firstName\n lastName\n address1\n address2\n city\n province\n country\n zip\n }\n lineItems(first: 100) {\n edges {\n node {\n id\n sku\n title\n variantTitle\n quantity\n customAttributes {\n key\n value\n }\n originalUnitPriceSet {\n shopMoney {\n amount\n currencyCode\n }\n }\n discountAllocations {\n allocatedAmountSet {\n shopMoney {\n amount\n currencyCode\n }\n presentmentMoney {\n amount\n currencyCode\n }\n }\n }\n vendor\n image {\n url\n width\n height\n altText\n }\n lineItemGroup {\n id\n title\n quantity\n variantSku\n }\n }\n }\n }\n discountApplications(first: 20) {\n nodes {\n allocationMethod\n targetType\n value {\n __typename\n ... on PricingPercentageValue {\n percentage\n }\n ... on MoneyV2 {\n amount\n currencyCode\n }\n }\n ... on DiscountCodeApplication {\n code\n }\n }\n }\n fulfillments {\n id\n name\n totalQuantity\n status\n createdAt\n estimatedDeliveryAt\n deliveredAt\n trackingInfo {\n company\n number\n url\n }\n fulfillmentLineItems(first: 100) {\n edges {\n node {\n id\n quantity\n lineItem {\n id\n sku\n }\n }\n }\n }\n }\n shippingLine {\n originalPriceSet {\n shopMoney {\n amount\n currencyCode\n }\n }\n }\n taxLines {\n priceSet {\n shopMoney {\n amount\n currencyCode\n }\n }\n }\n totalDiscountsSet {\n shopMoney {\n amount\n currencyCode\n }\n }\n discountCodes\n refunds {\n totalRefundedSet {\n shopMoney {\n amount\n currencyCode\n }\n }\n transactions(first: 50) {\n nodes {\n kind\n amountSet {\n shopMoney {\n amount\n currencyCode\n }\n }\n }\n }\n }\n }\n }\n": {
21206
21212
  return: OrderByIdFullQuery;
21207
21213
  variables: OrderByIdFullQueryVariables;
21208
21214
  };
package/dist/index.d.ts CHANGED
@@ -20862,6 +20862,11 @@ type OrderByIdFullQuery = {
20862
20862
  order?: Maybe<(Pick<Order, 'id' | 'name' | 'createdAt' | 'updatedAt' | 'processedAt' | 'closedAt' | 'cancelledAt' | 'cancelReason' | 'displayFinancialStatus' | 'displayFulfillmentStatus' | 'discountCodes'> & {
20863
20863
  totalPriceSet: {
20864
20864
  shopMoney: Pick<MoneyV2, 'amount' | 'currencyCode'>;
20865
+ presentmentMoney: Pick<MoneyV2, 'amount' | 'currencyCode'>;
20866
+ };
20867
+ currentTotalPriceSet: {
20868
+ shopMoney: Pick<MoneyV2, 'amount' | 'currencyCode'>;
20869
+ presentmentMoney: Pick<MoneyV2, 'amount' | 'currencyCode'>;
20865
20870
  };
20866
20871
  customer?: Maybe<Pick<Customer$1, 'id' | 'firstName' | 'lastName' | 'email' | 'phone'>>;
20867
20872
  shippingAddress?: Maybe<Pick<MailingAddress, 'firstName' | 'lastName' | 'address1' | 'address2' | 'city' | 'province' | 'country' | 'zip'>>;
@@ -20876,6 +20881,7 @@ type OrderByIdFullQuery = {
20876
20881
  discountAllocations: Array<{
20877
20882
  allocatedAmountSet: {
20878
20883
  shopMoney: Pick<MoneyV2, 'amount' | 'currencyCode'>;
20884
+ presentmentMoney: Pick<MoneyV2, 'amount' | 'currencyCode'>;
20879
20885
  };
20880
20886
  }>;
20881
20887
  image?: Maybe<Pick<Image, 'url' | 'width' | 'height' | 'altText'>>;
@@ -21202,7 +21208,7 @@ interface GeneratedQueryTypes {
21202
21208
  return: OrderByIdQuery;
21203
21209
  variables: OrderByIdQueryVariables;
21204
21210
  };
21205
- "#graphql\n query orderByIdFull($id: ID!) {\n order(id: $id) {\n id\n name\n createdAt\n updatedAt\n processedAt\n closedAt\n cancelledAt\n cancelReason\n totalPriceSet {\n shopMoney {\n amount\n currencyCode\n }\n }\n customer {\n id\n firstName\n lastName\n email\n phone\n }\n displayFinancialStatus\n displayFulfillmentStatus\n shippingAddress {\n firstName\n lastName\n address1\n address2\n city\n province\n country\n zip\n }\n billingAddress {\n firstName\n lastName\n address1\n address2\n city\n province\n country\n zip\n }\n lineItems(first: 100) {\n edges {\n node {\n id\n sku\n title\n variantTitle\n quantity\n customAttributes {\n key\n value\n }\n originalUnitPriceSet {\n shopMoney {\n amount\n currencyCode\n }\n }\n discountAllocations {\n allocatedAmountSet {\n shopMoney {\n amount\n currencyCode\n }\n }\n }\n vendor\n image {\n url\n width\n height\n altText\n }\n lineItemGroup {\n id\n title\n quantity\n variantSku\n }\n }\n }\n }\n discountApplications(first: 20) {\n nodes {\n allocationMethod\n targetType\n value {\n __typename\n ... on PricingPercentageValue {\n percentage\n }\n ... on MoneyV2 {\n amount\n currencyCode\n }\n }\n ... on DiscountCodeApplication {\n code\n }\n }\n }\n fulfillments {\n id\n name\n totalQuantity\n status\n createdAt\n estimatedDeliveryAt\n deliveredAt\n trackingInfo {\n company\n number\n url\n }\n fulfillmentLineItems(first: 100) {\n edges {\n node {\n id\n quantity\n lineItem {\n id\n sku\n }\n }\n }\n }\n }\n shippingLine {\n originalPriceSet {\n shopMoney {\n amount\n currencyCode\n }\n }\n }\n taxLines {\n priceSet {\n shopMoney {\n amount\n currencyCode\n }\n }\n }\n totalDiscountsSet {\n shopMoney {\n amount\n currencyCode\n }\n }\n discountCodes\n refunds {\n totalRefundedSet {\n shopMoney {\n amount\n currencyCode\n }\n }\n transactions(first: 50) {\n nodes {\n kind\n amountSet {\n shopMoney {\n amount\n currencyCode\n }\n }\n }\n }\n }\n }\n }\n": {
21211
+ "#graphql\n query orderByIdFull($id: ID!) {\n order(id: $id) {\n id\n name\n createdAt\n updatedAt\n processedAt\n closedAt\n cancelledAt\n cancelReason\n totalPriceSet {\n shopMoney {\n amount\n currencyCode\n }\n presentmentMoney {\n amount\n currencyCode\n }\n }\n currentTotalPriceSet {\n shopMoney {\n amount\n currencyCode\n }\n presentmentMoney {\n amount\n currencyCode\n }\n }\n customer {\n id\n firstName\n lastName\n email\n phone\n }\n displayFinancialStatus\n displayFulfillmentStatus\n shippingAddress {\n firstName\n lastName\n address1\n address2\n city\n province\n country\n zip\n }\n billingAddress {\n firstName\n lastName\n address1\n address2\n city\n province\n country\n zip\n }\n lineItems(first: 100) {\n edges {\n node {\n id\n sku\n title\n variantTitle\n quantity\n customAttributes {\n key\n value\n }\n originalUnitPriceSet {\n shopMoney {\n amount\n currencyCode\n }\n }\n discountAllocations {\n allocatedAmountSet {\n shopMoney {\n amount\n currencyCode\n }\n presentmentMoney {\n amount\n currencyCode\n }\n }\n }\n vendor\n image {\n url\n width\n height\n altText\n }\n lineItemGroup {\n id\n title\n quantity\n variantSku\n }\n }\n }\n }\n discountApplications(first: 20) {\n nodes {\n allocationMethod\n targetType\n value {\n __typename\n ... on PricingPercentageValue {\n percentage\n }\n ... on MoneyV2 {\n amount\n currencyCode\n }\n }\n ... on DiscountCodeApplication {\n code\n }\n }\n }\n fulfillments {\n id\n name\n totalQuantity\n status\n createdAt\n estimatedDeliveryAt\n deliveredAt\n trackingInfo {\n company\n number\n url\n }\n fulfillmentLineItems(first: 100) {\n edges {\n node {\n id\n quantity\n lineItem {\n id\n sku\n }\n }\n }\n }\n }\n shippingLine {\n originalPriceSet {\n shopMoney {\n amount\n currencyCode\n }\n }\n }\n taxLines {\n priceSet {\n shopMoney {\n amount\n currencyCode\n }\n }\n }\n totalDiscountsSet {\n shopMoney {\n amount\n currencyCode\n }\n }\n discountCodes\n refunds {\n totalRefundedSet {\n shopMoney {\n amount\n currencyCode\n }\n }\n transactions(first: 50) {\n nodes {\n kind\n amountSet {\n shopMoney {\n amount\n currencyCode\n }\n }\n }\n }\n }\n }\n }\n": {
21206
21212
  return: OrderByIdFullQuery;
21207
21213
  variables: OrderByIdFullQueryVariables;
21208
21214
  };
package/dist/index.mjs CHANGED
@@ -1769,6 +1769,20 @@ var queryOrderByIdFull = gql`#graphql
1769
1769
  amount
1770
1770
  currencyCode
1771
1771
  }
1772
+ presentmentMoney {
1773
+ amount
1774
+ currencyCode
1775
+ }
1776
+ }
1777
+ currentTotalPriceSet {
1778
+ shopMoney {
1779
+ amount
1780
+ currencyCode
1781
+ }
1782
+ presentmentMoney {
1783
+ amount
1784
+ currencyCode
1785
+ }
1772
1786
  }
1773
1787
  customer {
1774
1788
  id
@@ -1823,6 +1837,10 @@ var queryOrderByIdFull = gql`#graphql
1823
1837
  amount
1824
1838
  currencyCode
1825
1839
  }
1840
+ presentmentMoney {
1841
+ amount
1842
+ currencyCode
1843
+ }
1826
1844
  }
1827
1845
  }
1828
1846
  vendor