@dropins/storefront-order 1.0.0 → 1.0.1-beta2

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.
Files changed (154) hide show
  1. package/api/cancelOrder/graphql/cancelOrderMutation.d.ts +15 -0
  2. package/api/confirmCancelOrder/confirmCancelOrder.d.ts +3 -15
  3. package/api/confirmGuestReturn/confirmGuestReturn.d.ts +3 -1
  4. package/api/confirmGuestReturn/graphql/confirmGuestReturn.graphql.d.ts +15 -0
  5. package/api/confirmGuestReturn/index.d.ts +15 -0
  6. package/api/fetch-graphql/fetch-graphql.d.ts +15 -0
  7. package/api/fetch-graphql/index.d.ts +15 -0
  8. package/api/fragments.d.ts +15 -0
  9. package/api/getAttributesForm/graphql/getAttributesForm.graphql.d.ts +15 -0
  10. package/api/getAttributesForm/index.d.ts +15 -0
  11. package/api/getAttributesList/graphql/getAttributesList.graphql.d.ts +15 -0
  12. package/api/getAttributesList/index.d.ts +15 -0
  13. package/api/getCustomer/graphql/getCustomer.graphql.d.ts +15 -0
  14. package/api/getCustomer/index.d.ts +15 -0
  15. package/api/getCustomerOrdersReturn/graphql/getCustomerOrdersReturn.graphql.d.ts +15 -0
  16. package/api/getCustomerOrdersReturn/index.d.ts +15 -0
  17. package/api/getGuestOrder/graphql/getGuestOrder.graphql.d.ts +15 -0
  18. package/api/getGuestOrder/graphql/index.d.ts +15 -0
  19. package/api/getGuestOrder/index.d.ts +15 -0
  20. package/api/getOrderDetailsById/graphql/orderByNumber.graphql.d.ts +15 -0
  21. package/api/getOrderDetailsById/index.d.ts +15 -0
  22. package/api/getStoreConfig/graphql/StoreConfigQuery.d.ts +15 -0
  23. package/api/getStoreConfig/index.d.ts +15 -0
  24. package/api/graphql/CustomerAddressFragment.graphql.d.ts +15 -0
  25. package/api/graphql/GurestOrderFragment.graphql.d.ts +15 -0
  26. package/api/graphql/OrderItemsFragment.graphql.d.ts +15 -0
  27. package/api/graphql/OrderSummaryFragment.graphql.d.ts +15 -0
  28. package/api/graphql/RequestReturnOrderFragment.graphql.d.ts +15 -0
  29. package/api/graphql/ReturnsFragment.graphql.d.ts +15 -0
  30. package/api/guestOrderByToken/graphql/guestOrderByToken.graphql.d.ts +15 -0
  31. package/api/guestOrderByToken/index.d.ts +15 -0
  32. package/api/helpers/initializeOrderDetails.d.ts +2 -2
  33. package/api/index.d.ts +15 -0
  34. package/api/initialize/index.d.ts +15 -0
  35. package/api/initialize/initialize.d.ts +4 -2
  36. package/api/placeOrder/graphql/placeOrderMutation.d.ts +15 -0
  37. package/api/placeOrder/index.d.ts +15 -0
  38. package/api/reorderItems/graphql/reorderItems.graphql.d.ts +15 -0
  39. package/api/reorderItems/index.d.ts +15 -0
  40. package/api/requestGuestOrderCancel/graphql/requestGuestOrderCancelMutation.d.ts +15 -0
  41. package/api/requestGuestOrderCancel/index.d.ts +15 -0
  42. package/api/requestGuestOrderCancel/requestGuestOrderCancel.d.ts +15 -0
  43. package/api/requestGuestReturn/graphql/requestGuestReturn.graphql.d.ts +15 -0
  44. package/api/requestGuestReturn/index.d.ts +15 -0
  45. package/api/requestReturn/graphql/requestReturn.graphql.d.ts +15 -0
  46. package/api/requestReturn/index.d.ts +15 -0
  47. package/api.js +1 -1
  48. package/chunks/CartSummaryItem.js +1 -1
  49. package/chunks/OrderCancelForm.js +1 -1
  50. package/chunks/OrderLoaders.js +1 -1
  51. package/chunks/ReturnsListContent.js +2 -2
  52. package/chunks/ShippingStatusCard.js +1 -1
  53. package/chunks/capitalizeFirst.js +1 -1
  54. package/chunks/confirmCancelOrder.js +1 -1
  55. package/chunks/fetch-graphql.js +1 -1
  56. package/chunks/formatDateToLocale.js +1 -1
  57. package/chunks/getAttributesForm.js +1 -1
  58. package/chunks/getCustomerOrdersReturn.js +1 -1
  59. package/chunks/getFormValues.js +1 -1
  60. package/chunks/getGuestOrder.js +1 -1
  61. package/chunks/getQueryParam.js +1 -1
  62. package/chunks/getStoreConfig.js +1 -1
  63. package/chunks/initialize.js +12 -12
  64. package/chunks/network-error.js +2 -2
  65. package/chunks/redirectTo.js +1 -1
  66. package/chunks/requestGuestOrderCancel.js +1 -1
  67. package/chunks/requestGuestReturn.js +2 -2
  68. package/chunks/returnOrdersHelper.js +1 -1
  69. package/chunks/setTaxStatus.js +1 -1
  70. package/chunks/transform-attributes-form.js +2 -2
  71. package/chunks/useGetStoreConfig.js +1 -1
  72. package/chunks/useIsMobile.js +1 -1
  73. package/components/CustomerDetailsContent/index.d.ts +15 -0
  74. package/components/EmptyList/index.d.ts +15 -0
  75. package/components/Form/FormInputs/index.d.ts +15 -0
  76. package/components/Form/index.d.ts +15 -0
  77. package/components/OrderActions/index.d.ts +15 -0
  78. package/components/OrderCancel/index.d.ts +15 -0
  79. package/components/OrderCostSummaryContent/index.d.ts +15 -0
  80. package/components/OrderHeader/index.d.ts +15 -0
  81. package/components/OrderLoaders/index.d.ts +15 -0
  82. package/components/OrderProductListContent/index.d.ts +15 -0
  83. package/components/OrderSearchForm/index.d.ts +15 -0
  84. package/components/OrderStatusContent/index.d.ts +15 -0
  85. package/components/Reorder/index.d.ts +15 -0
  86. package/components/ReturnOrderMessage/index.d.ts +15 -0
  87. package/components/ReturnOrderProductList/index.d.ts +15 -0
  88. package/components/ReturnReasonForm/index.d.ts +15 -0
  89. package/components/ReturnsListContent/index.d.ts +15 -0
  90. package/components/ShippingStatusCard/index.d.ts +15 -0
  91. package/components/index.d.ts +15 -0
  92. package/configs/defaultAttributePreset.config.d.ts +15 -0
  93. package/configs/mock.config.d.ts +16 -0
  94. package/containers/CreateReturn/index.d.ts +15 -0
  95. package/containers/CreateReturn.js +1 -1
  96. package/containers/CustomerDetails/index.d.ts +15 -0
  97. package/containers/CustomerDetails.js +2 -2
  98. package/containers/OrderCancelForm/index.d.ts +15 -0
  99. package/containers/OrderCancelForm.js +1 -1
  100. package/containers/OrderCostSummary/index.d.ts +15 -0
  101. package/containers/OrderCostSummary.js +1 -1
  102. package/containers/OrderHeader/index.d.ts +15 -0
  103. package/containers/OrderHeader.js +2 -2
  104. package/containers/OrderProductList/index.d.ts +15 -0
  105. package/containers/OrderProductList.js +2 -2
  106. package/containers/OrderReturns/index.d.ts +15 -0
  107. package/containers/OrderReturns.js +1 -1
  108. package/containers/OrderSearch/index.d.ts +15 -0
  109. package/containers/OrderSearch.js +2 -2
  110. package/containers/OrderStatus/index.d.ts +15 -0
  111. package/containers/OrderStatus.js +2 -2
  112. package/containers/ReturnsList/index.d.ts +15 -0
  113. package/containers/ReturnsList.js +1 -1
  114. package/containers/ShippingStatus/index.d.ts +15 -0
  115. package/containers/ShippingStatus.js +1 -1
  116. package/containers/index.d.ts +15 -0
  117. package/data/models/acdl.d.ts +15 -0
  118. package/data/models/customer.d.ts +15 -0
  119. package/data/models/index.d.ts +15 -0
  120. package/data/models/order-details.d.ts +24 -2
  121. package/data/models/request-return.d.ts +15 -0
  122. package/data/models/store-config.d.ts +15 -0
  123. package/data/transforms/index.d.ts +15 -0
  124. package/data/transforms/transform-order-details.d.ts +2 -2
  125. package/fragments.js +1 -1
  126. package/hooks/containers/useOrderSearch.d.ts +1 -0
  127. package/hooks/index.d.ts +15 -0
  128. package/hooks/useIsMobile.d.ts +15 -0
  129. package/lib/capitalizeFirst.d.ts +15 -0
  130. package/lib/categorizeProducts.d.ts +18 -4
  131. package/lib/checkIsFunction.d.ts +15 -0
  132. package/lib/convertCase.d.ts +15 -0
  133. package/lib/fetch-error.d.ts +15 -0
  134. package/lib/formatDateToLocale.d.ts +15 -0
  135. package/lib/getFormValues.d.ts +15 -0
  136. package/lib/getQueryParam.d.ts +15 -0
  137. package/lib/network-error.d.ts +15 -0
  138. package/lib/redirectTo.d.ts +15 -0
  139. package/lib/removeQueryParams.d.ts +15 -0
  140. package/lib/returnOrdersHelper.d.ts +15 -0
  141. package/package.json +1 -1
  142. package/render/index.d.ts +15 -0
  143. package/render.js +1 -1
  144. package/types/api/getAttributesForm.types.d.ts +15 -0
  145. package/types/api/getAttributesList.types.d.ts +15 -0
  146. package/types/api/getCustomer.types.d.ts +15 -0
  147. package/types/api/getOrderDetails.types.d.ts +22 -1
  148. package/types/api/reorderItems.types.d.ts +15 -0
  149. package/types/api/requestReturn.types.d.ts +15 -0
  150. package/types/createReturn.types.d.ts +2 -2
  151. package/types/emptyList.types.d.ts +15 -0
  152. package/types/form.types.d.ts +15 -0
  153. package/types/index.d.ts +15 -0
  154. package/types/orderEmailActionHandler.types.d.ts +15 -0
@@ -1,2 +1,17 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ *
4
+ * Copyright 2024 Adobe
5
+ * All Rights Reserved.
6
+ *
7
+ * NOTICE: All information contained herein is, and remains
8
+ * the property of Adobe and its suppliers, if any. The intellectual
9
+ * and technical concepts contained herein are proprietary to Adobe
10
+ * and its suppliers and are protected by all applicable intellectual
11
+ * property laws, including trade secret and copyright laws.
12
+ * Dissemination of this information or reproduction of this material
13
+ * is strictly forbidden unless prior written permission is obtained
14
+ * from Adobe.
15
+ *******************************************************************/
1
16
  export declare const CANCEL_ORDER_MUTATION: string;
2
17
  //# sourceMappingURL=cancelOrderMutation.d.ts.map
@@ -1,16 +1,4 @@
1
- /********************************************************************
2
- *
3
- * Copyright 2024 Adobe
4
- * All Rights Reserved.
5
- *
6
- * NOTICE: All information contained herein is, and remains
7
- * the property of Adobe and its suppliers, if any. The intellectual
8
- * and technical concepts contained herein are proprietary to Adobe
9
- * and its suppliers and are protected by all applicable intellectual
10
- * property laws, including trade secret and copyright laws.
11
- * Dissemination of this information or reproduction of this material
12
- * is strictly forbidden unless prior written permission is obtained
13
- * from Adobe.
14
- *******************************************************************/
15
- export declare const confirmCancelOrder: (orderId: string, confirmationKey: string) => Promise<any>;
1
+ import { OrderDataModel } from '../../data/models';
2
+
3
+ export declare const confirmCancelOrder: (orderId: string, confirmationKey: string) => Promise<OrderDataModel | null>;
16
4
  //# sourceMappingURL=confirmCancelOrder.d.ts.map
@@ -1,2 +1,4 @@
1
- export declare const confirmGuestReturn: (orderId: string, confirmationKey: string) => Promise<void>;
1
+ import { OrderDataModel } from '../../data/models';
2
+
3
+ export declare const confirmGuestReturn: (orderId: string, confirmationKey: string) => Promise<OrderDataModel | null>;
2
4
  //# sourceMappingURL=confirmGuestReturn.d.ts.map
@@ -1,2 +1,17 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ *
4
+ * Copyright 2024 Adobe
5
+ * All Rights Reserved.
6
+ *
7
+ * NOTICE: All information contained herein is, and remains
8
+ * the property of Adobe and its suppliers, if any. The intellectual
9
+ * and technical concepts contained herein are proprietary to Adobe
10
+ * and its suppliers and are protected by all applicable intellectual
11
+ * property laws, including trade secret and copyright laws.
12
+ * Dissemination of this information or reproduction of this material
13
+ * is strictly forbidden unless prior written permission is obtained
14
+ * from Adobe.
15
+ *******************************************************************/
1
16
  export declare const CONFIRM_RETURN_GUEST_ORDER: string;
2
17
  //# sourceMappingURL=confirmGuestReturn.graphql.d.ts.map
@@ -1,2 +1,17 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ *
4
+ * Copyright 2024 Adobe
5
+ * All Rights Reserved.
6
+ *
7
+ * NOTICE: All information contained herein is, and remains
8
+ * the property of Adobe and its suppliers, if any. The intellectual
9
+ * and technical concepts contained herein are proprietary to Adobe
10
+ * and its suppliers and are protected by all applicable intellectual
11
+ * property laws, including trade secret and copyright laws.
12
+ * Dissemination of this information or reproduction of this material
13
+ * is strictly forbidden unless prior written permission is obtained
14
+ * from Adobe.
15
+ *******************************************************************/
1
16
  export * from './confirmGuestReturn';
2
17
  //# sourceMappingURL=index.d.ts.map
@@ -1,3 +1,18 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ *
4
+ * Copyright 2024 Adobe
5
+ * All Rights Reserved.
6
+ *
7
+ * NOTICE: All information contained herein is, and remains
8
+ * the property of Adobe and its suppliers, if any. The intellectual
9
+ * and technical concepts contained herein are proprietary to Adobe
10
+ * and its suppliers and are protected by all applicable intellectual
11
+ * property laws, including trade secret and copyright laws.
12
+ * Dissemination of this information or reproduction of this material
13
+ * is strictly forbidden unless prior written permission is obtained
14
+ * from Adobe.
15
+ *******************************************************************/
1
16
  export declare const setEndpoint: (endpoint: string) => void, setFetchGraphQlHeader: (key: string, value: string | null) => void, removeFetchGraphQlHeader: (key: string) => void, setFetchGraphQlHeaders: (header: import('@adobe/fetch-graphql').Header) => void, fetchGraphQl: <T = any>(query: string, options?: import('@adobe/fetch-graphql').FetchOptions | undefined) => Promise<{
2
17
  errors?: import('@adobe/fetch-graphql').FetchQueryError | undefined;
3
18
  data: T;
@@ -1,2 +1,17 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ *
4
+ * Copyright 2024 Adobe
5
+ * All Rights Reserved.
6
+ *
7
+ * NOTICE: All information contained herein is, and remains
8
+ * the property of Adobe and its suppliers, if any. The intellectual
9
+ * and technical concepts contained herein are proprietary to Adobe
10
+ * and its suppliers and are protected by all applicable intellectual
11
+ * property laws, including trade secret and copyright laws.
12
+ * Dissemination of this information or reproduction of this material
13
+ * is strictly forbidden unless prior written permission is obtained
14
+ * from Adobe.
15
+ *******************************************************************/
1
16
  export * from './fetch-graphql';
2
17
  //# sourceMappingURL=index.d.ts.map
@@ -1,3 +1,18 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ *
4
+ * Copyright 2024 Adobe
5
+ * All Rights Reserved.
6
+ *
7
+ * NOTICE: All information contained herein is, and remains
8
+ * the property of Adobe and its suppliers, if any. The intellectual
9
+ * and technical concepts contained herein are proprietary to Adobe
10
+ * and its suppliers and are protected by all applicable intellectual
11
+ * property laws, including trade secret and copyright laws.
12
+ * Dissemination of this information or reproduction of this material
13
+ * is strictly forbidden unless prior written permission is obtained
14
+ * from Adobe.
15
+ *******************************************************************/
1
16
  export { REQUEST_RETURN_ORDER_FRAGMENT } from './graphql/RequestReturnOrderFragment.graphql';
2
17
  export { ADDRESS_FRAGMENT } from './graphql/CustomerAddressFragment.graphql';
3
18
  export { PRODUCT_DETAILS_FRAGMENT, PRICE_DETAILS_FRAGMENT, GIFT_CARD_DETAILS_FRAGMENT, ORDER_ITEM_DETAILS_FRAGMENT, BUNDLE_ORDER_ITEM_DETAILS_FRAGMENT, } from './graphql/OrderItemsFragment.graphql';
@@ -1,3 +1,18 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ *
4
+ * Copyright 2024 Adobe
5
+ * All Rights Reserved.
6
+ *
7
+ * NOTICE: All information contained herein is, and remains
8
+ * the property of Adobe and its suppliers, if any. The intellectual
9
+ * and technical concepts contained herein are proprietary to Adobe
10
+ * and its suppliers and are protected by all applicable intellectual
11
+ * property laws, including trade secret and copyright laws.
12
+ * Dissemination of this information or reproduction of this material
13
+ * is strictly forbidden unless prior written permission is obtained
14
+ * from Adobe.
15
+ *******************************************************************/
1
16
  export declare const GET_ATTRIBUTES_FORM = "\n query GET_ATTRIBUTES_FORM($formCode: String!) {\n attributesForm(formCode: $formCode) {\n items {\n code\n default_value\n entity_type\n frontend_class\n frontend_input\n is_required\n is_unique\n label\n options {\n is_default\n label\n value\n }\n ... on CustomerAttributeMetadata {\n multiline_count\n sort_order\n validate_rules {\n name\n value\n }\n }\n }\n errors {\n type\n message\n }\n }\n }\n";
2
17
  export declare const GET_ATTRIBUTES_FORM_SHORT = "\n query GET_ATTRIBUTES_FORM_SHORT {\n attributesForm(formCode: \"customer_register_address\") {\n items {\n frontend_input\n label\n code\n ... on CustomerAttributeMetadata {\n multiline_count\n sort_order\n }\n }\n }\n }\n";
3
18
  //# sourceMappingURL=getAttributesForm.graphql.d.ts.map
@@ -1,2 +1,17 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ *
4
+ * Copyright 2024 Adobe
5
+ * All Rights Reserved.
6
+ *
7
+ * NOTICE: All information contained herein is, and remains
8
+ * the property of Adobe and its suppliers, if any. The intellectual
9
+ * and technical concepts contained herein are proprietary to Adobe
10
+ * and its suppliers and are protected by all applicable intellectual
11
+ * property laws, including trade secret and copyright laws.
12
+ * Dissemination of this information or reproduction of this material
13
+ * is strictly forbidden unless prior written permission is obtained
14
+ * from Adobe.
15
+ *******************************************************************/
1
16
  export * from './getAttributesForm';
2
17
  //# sourceMappingURL=index.d.ts.map
@@ -1,2 +1,17 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ *
4
+ * Copyright 2024 Adobe
5
+ * All Rights Reserved.
6
+ *
7
+ * NOTICE: All information contained herein is, and remains
8
+ * the property of Adobe and its suppliers, if any. The intellectual
9
+ * and technical concepts contained herein are proprietary to Adobe
10
+ * and its suppliers and are protected by all applicable intellectual
11
+ * property laws, including trade secret and copyright laws.
12
+ * Dissemination of this information or reproduction of this material
13
+ * is strictly forbidden unless prior written permission is obtained
14
+ * from Adobe.
15
+ *******************************************************************/
1
16
  export declare const GET_ATTRIBUTES_LIST = "\n query GET_ATTRIBUTES_LIST($entityType: AttributeEntityTypeEnum!) {\n attributesList(entityType: $entityType) {\n items {\n ... on CustomerAttributeMetadata {\n multiline_count\n sort_order\n validate_rules {\n name\n value\n }\n }\n ... on ReturnItemAttributeMetadata {\n sort_order\n }\n code\n label\n default_value\n frontend_input\n is_unique\n is_required\n options {\n is_default\n label\n value\n }\n }\n errors {\n type\n message\n }\n }\n }\n";
2
17
  //# sourceMappingURL=getAttributesList.graphql.d.ts.map
@@ -1,2 +1,17 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ *
4
+ * Copyright 2024 Adobe
5
+ * All Rights Reserved.
6
+ *
7
+ * NOTICE: All information contained herein is, and remains
8
+ * the property of Adobe and its suppliers, if any. The intellectual
9
+ * and technical concepts contained herein are proprietary to Adobe
10
+ * and its suppliers and are protected by all applicable intellectual
11
+ * property laws, including trade secret and copyright laws.
12
+ * Dissemination of this information or reproduction of this material
13
+ * is strictly forbidden unless prior written permission is obtained
14
+ * from Adobe.
15
+ *******************************************************************/
1
16
  export * from './getAttributesList';
2
17
  //# sourceMappingURL=index.d.ts.map
@@ -1,2 +1,17 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ *
4
+ * Copyright 2024 Adobe
5
+ * All Rights Reserved.
6
+ *
7
+ * NOTICE: All information contained herein is, and remains
8
+ * the property of Adobe and its suppliers, if any. The intellectual
9
+ * and technical concepts contained herein are proprietary to Adobe
10
+ * and its suppliers and are protected by all applicable intellectual
11
+ * property laws, including trade secret and copyright laws.
12
+ * Dissemination of this information or reproduction of this material
13
+ * is strictly forbidden unless prior written permission is obtained
14
+ * from Adobe.
15
+ *******************************************************************/
1
16
  export declare const GET_CUSTOMER = "\n query GET_CUSTOMER {\n customer {\n firstname\n lastname\n email\n }\n }\n";
2
17
  //# sourceMappingURL=getCustomer.graphql.d.ts.map
@@ -1,2 +1,17 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ *
4
+ * Copyright 2024 Adobe
5
+ * All Rights Reserved.
6
+ *
7
+ * NOTICE: All information contained herein is, and remains
8
+ * the property of Adobe and its suppliers, if any. The intellectual
9
+ * and technical concepts contained herein are proprietary to Adobe
10
+ * and its suppliers and are protected by all applicable intellectual
11
+ * property laws, including trade secret and copyright laws.
12
+ * Dissemination of this information or reproduction of this material
13
+ * is strictly forbidden unless prior written permission is obtained
14
+ * from Adobe.
15
+ *******************************************************************/
1
16
  export * from './getCustomer';
2
17
  //# sourceMappingURL=index.d.ts.map
@@ -1,2 +1,17 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ *
4
+ * Copyright 2024 Adobe
5
+ * All Rights Reserved.
6
+ *
7
+ * NOTICE: All information contained herein is, and remains
8
+ * the property of Adobe and its suppliers, if any. The intellectual
9
+ * and technical concepts contained herein are proprietary to Adobe
10
+ * and its suppliers and are protected by all applicable intellectual
11
+ * property laws, including trade secret and copyright laws.
12
+ * Dissemination of this information or reproduction of this material
13
+ * is strictly forbidden unless prior written permission is obtained
14
+ * from Adobe.
15
+ *******************************************************************/
1
16
  export declare const GET_CUSTOMER_ORDERS_RETURN: string;
2
17
  //# sourceMappingURL=getCustomerOrdersReturn.graphql.d.ts.map
@@ -1,2 +1,17 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ *
4
+ * Copyright 2024 Adobe
5
+ * All Rights Reserved.
6
+ *
7
+ * NOTICE: All information contained herein is, and remains
8
+ * the property of Adobe and its suppliers, if any. The intellectual
9
+ * and technical concepts contained herein are proprietary to Adobe
10
+ * and its suppliers and are protected by all applicable intellectual
11
+ * property laws, including trade secret and copyright laws.
12
+ * Dissemination of this information or reproduction of this material
13
+ * is strictly forbidden unless prior written permission is obtained
14
+ * from Adobe.
15
+ *******************************************************************/
1
16
  export * from './getCustomerOrdersReturn';
2
17
  //# sourceMappingURL=index.d.ts.map
@@ -1,2 +1,17 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ *
4
+ * Copyright 2024 Adobe
5
+ * All Rights Reserved.
6
+ *
7
+ * NOTICE: All information contained herein is, and remains
8
+ * the property of Adobe and its suppliers, if any. The intellectual
9
+ * and technical concepts contained herein are proprietary to Adobe
10
+ * and its suppliers and are protected by all applicable intellectual
11
+ * property laws, including trade secret and copyright laws.
12
+ * Dissemination of this information or reproduction of this material
13
+ * is strictly forbidden unless prior written permission is obtained
14
+ * from Adobe.
15
+ *******************************************************************/
1
16
  export declare const GET_GUEST_ORDER: string;
2
17
  //# sourceMappingURL=getGuestOrder.graphql.d.ts.map
@@ -1,2 +1,17 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ *
4
+ * Copyright 2024 Adobe
5
+ * All Rights Reserved.
6
+ *
7
+ * NOTICE: All information contained herein is, and remains
8
+ * the property of Adobe and its suppliers, if any. The intellectual
9
+ * and technical concepts contained herein are proprietary to Adobe
10
+ * and its suppliers and are protected by all applicable intellectual
11
+ * property laws, including trade secret and copyright laws.
12
+ * Dissemination of this information or reproduction of this material
13
+ * is strictly forbidden unless prior written permission is obtained
14
+ * from Adobe.
15
+ *******************************************************************/
1
16
  export * from './getGuestOrder.graphql';
2
17
  //# sourceMappingURL=index.d.ts.map
@@ -1,2 +1,17 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ *
4
+ * Copyright 2024 Adobe
5
+ * All Rights Reserved.
6
+ *
7
+ * NOTICE: All information contained herein is, and remains
8
+ * the property of Adobe and its suppliers, if any. The intellectual
9
+ * and technical concepts contained herein are proprietary to Adobe
10
+ * and its suppliers and are protected by all applicable intellectual
11
+ * property laws, including trade secret and copyright laws.
12
+ * Dissemination of this information or reproduction of this material
13
+ * is strictly forbidden unless prior written permission is obtained
14
+ * from Adobe.
15
+ *******************************************************************/
1
16
  export * from './getGuestOrder';
2
17
  //# sourceMappingURL=index.d.ts.map
@@ -1,2 +1,17 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ *
4
+ * Copyright 2024 Adobe
5
+ * All Rights Reserved.
6
+ *
7
+ * NOTICE: All information contained herein is, and remains
8
+ * the property of Adobe and its suppliers, if any. The intellectual
9
+ * and technical concepts contained herein are proprietary to Adobe
10
+ * and its suppliers and are protected by all applicable intellectual
11
+ * property laws, including trade secret and copyright laws.
12
+ * Dissemination of this information or reproduction of this material
13
+ * is strictly forbidden unless prior written permission is obtained
14
+ * from Adobe.
15
+ *******************************************************************/
1
16
  export declare const ORDER_BY_NUMBER: string;
2
17
  //# sourceMappingURL=orderByNumber.graphql.d.ts.map
@@ -1,2 +1,17 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ *
4
+ * Copyright 2024 Adobe
5
+ * All Rights Reserved.
6
+ *
7
+ * NOTICE: All information contained herein is, and remains
8
+ * the property of Adobe and its suppliers, if any. The intellectual
9
+ * and technical concepts contained herein are proprietary to Adobe
10
+ * and its suppliers and are protected by all applicable intellectual
11
+ * property laws, including trade secret and copyright laws.
12
+ * Dissemination of this information or reproduction of this material
13
+ * is strictly forbidden unless prior written permission is obtained
14
+ * from Adobe.
15
+ *******************************************************************/
1
16
  export * from './getOrderDetailsById';
2
17
  //# sourceMappingURL=index.d.ts.map
@@ -1,2 +1,17 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ *
4
+ * Copyright 2024 Adobe
5
+ * All Rights Reserved.
6
+ *
7
+ * NOTICE: All information contained herein is, and remains
8
+ * the property of Adobe and its suppliers, if any. The intellectual
9
+ * and technical concepts contained herein are proprietary to Adobe
10
+ * and its suppliers and are protected by all applicable intellectual
11
+ * property laws, including trade secret and copyright laws.
12
+ * Dissemination of this information or reproduction of this material
13
+ * is strictly forbidden unless prior written permission is obtained
14
+ * from Adobe.
15
+ *******************************************************************/
1
16
  export declare const STORE_CONFIG_QUERY = "\n query STORE_CONFIG_QUERY {\n storeConfig {\n order_cancellation_enabled\n order_cancellation_reasons {\n description\n }\n base_media_url\n orders_invoices_credit_memos_display_price\n orders_invoices_credit_memos_display_shipping_amount\n orders_invoices_credit_memos_display_subtotal\n orders_invoices_credit_memos_display_grandtotal\n orders_invoices_credit_memos_display_full_summary\n orders_invoices_credit_memos_display_zero_tax\n }\n }\n";
2
17
  //# sourceMappingURL=StoreConfigQuery.d.ts.map
@@ -1,2 +1,17 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ *
4
+ * Copyright 2024 Adobe
5
+ * All Rights Reserved.
6
+ *
7
+ * NOTICE: All information contained herein is, and remains
8
+ * the property of Adobe and its suppliers, if any. The intellectual
9
+ * and technical concepts contained herein are proprietary to Adobe
10
+ * and its suppliers and are protected by all applicable intellectual
11
+ * property laws, including trade secret and copyright laws.
12
+ * Dissemination of this information or reproduction of this material
13
+ * is strictly forbidden unless prior written permission is obtained
14
+ * from Adobe.
15
+ *******************************************************************/
1
16
  export * from './getStoreConfig';
2
17
  //# sourceMappingURL=index.d.ts.map
@@ -1,2 +1,17 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ *
4
+ * Copyright 2024 Adobe
5
+ * All Rights Reserved.
6
+ *
7
+ * NOTICE: All information contained herein is, and remains
8
+ * the property of Adobe and its suppliers, if any. The intellectual
9
+ * and technical concepts contained herein are proprietary to Adobe
10
+ * and its suppliers and are protected by all applicable intellectual
11
+ * property laws, including trade secret and copyright laws.
12
+ * Dissemination of this information or reproduction of this material
13
+ * is strictly forbidden unless prior written permission is obtained
14
+ * from Adobe.
15
+ *******************************************************************/
1
16
  export declare const ADDRESS_FRAGMENT = "\n fragment ADDRESS_FRAGMENT on OrderAddress {\n city\n company\n country_code\n fax\n firstname\n lastname\n middlename\n postcode\n prefix\n region\n region_id\n street\n suffix\n telephone\n vat_id\n }\n";
2
17
  //# sourceMappingURL=CustomerAddressFragment.graphql.d.ts.map
@@ -1,2 +1,17 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ *
4
+ * Copyright 2024 Adobe
5
+ * All Rights Reserved.
6
+ *
7
+ * NOTICE: All information contained herein is, and remains
8
+ * the property of Adobe and its suppliers, if any. The intellectual
9
+ * and technical concepts contained herein are proprietary to Adobe
10
+ * and its suppliers and are protected by all applicable intellectual
11
+ * property laws, including trade secret and copyright laws.
12
+ * Dissemination of this information or reproduction of this material
13
+ * is strictly forbidden unless prior written permission is obtained
14
+ * from Adobe.
15
+ *******************************************************************/
1
16
  export declare const GUEST_ORDER_FRAGMENT: string;
2
17
  //# sourceMappingURL=GurestOrderFragment.graphql.d.ts.map
@@ -1,3 +1,18 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ *
4
+ * Copyright 2024 Adobe
5
+ * All Rights Reserved.
6
+ *
7
+ * NOTICE: All information contained herein is, and remains
8
+ * the property of Adobe and its suppliers, if any. The intellectual
9
+ * and technical concepts contained herein are proprietary to Adobe
10
+ * and its suppliers and are protected by all applicable intellectual
11
+ * property laws, including trade secret and copyright laws.
12
+ * Dissemination of this information or reproduction of this material
13
+ * is strictly forbidden unless prior written permission is obtained
14
+ * from Adobe.
15
+ *******************************************************************/
1
16
  export declare const PRODUCT_DETAILS_FRAGMENT = "\n fragment PRODUCT_DETAILS_FRAGMENT on ProductInterface {\n __typename\n canonical_url\n url_key\n uid\n name\n sku\n only_x_left_in_stock\n stock_status\n thumbnail {\n label\n url\n }\n price_range {\n maximum_price {\n regular_price {\n currency\n value\n }\n }\n }\n }\n";
2
17
  export declare const PRICE_DETAILS_FRAGMENT = "\n fragment PRICE_DETAILS_FRAGMENT on OrderItemInterface {\n prices {\n price_including_tax {\n value\n currency\n }\n original_price {\n value\n currency\n }\n original_price_including_tax {\n value\n currency\n }\n price {\n value\n currency\n }\n }\n }\n";
3
18
  export declare const GIFT_CARD_DETAILS_FRAGMENT = "\n fragment GIFT_CARD_DETAILS_FRAGMENT on GiftCardOrderItem {\n ...PRICE_DETAILS_FRAGMENT\n gift_message {\n message\n }\n gift_card {\n recipient_name\n recipient_email\n sender_name\n sender_email\n message\n }\n }\n";
@@ -1,2 +1,17 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ *
4
+ * Copyright 2024 Adobe
5
+ * All Rights Reserved.
6
+ *
7
+ * NOTICE: All information contained herein is, and remains
8
+ * the property of Adobe and its suppliers, if any. The intellectual
9
+ * and technical concepts contained herein are proprietary to Adobe
10
+ * and its suppliers and are protected by all applicable intellectual
11
+ * property laws, including trade secret and copyright laws.
12
+ * Dissemination of this information or reproduction of this material
13
+ * is strictly forbidden unless prior written permission is obtained
14
+ * from Adobe.
15
+ *******************************************************************/
1
16
  export declare const ORDER_SUMMARY_FRAGMENT = "\n fragment ORDER_SUMMARY_FRAGMENT on OrderTotal {\n grand_total {\n value\n currency\n }\n total_giftcard {\n currency\n value\n }\n subtotal_excl_tax {\n currency\n value\n }\n subtotal_incl_tax {\n currency\n value\n }\n taxes {\n amount {\n currency\n value\n }\n rate\n title\n }\n total_tax {\n currency\n value\n }\n total_shipping {\n currency\n value\n }\n discounts {\n amount {\n currency\n value\n }\n label\n }\n }\n";
2
17
  //# sourceMappingURL=OrderSummaryFragment.graphql.d.ts.map
@@ -1,2 +1,17 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ *
4
+ * Copyright 2024 Adobe
5
+ * All Rights Reserved.
6
+ *
7
+ * NOTICE: All information contained herein is, and remains
8
+ * the property of Adobe and its suppliers, if any. The intellectual
9
+ * and technical concepts contained herein are proprietary to Adobe
10
+ * and its suppliers and are protected by all applicable intellectual
11
+ * property laws, including trade secret and copyright laws.
12
+ * Dissemination of this information or reproduction of this material
13
+ * is strictly forbidden unless prior written permission is obtained
14
+ * from Adobe.
15
+ *******************************************************************/
1
16
  export declare const REQUEST_RETURN_ORDER_FRAGMENT = "\n fragment REQUEST_RETURN_ORDER_FRAGMENT on Return {\n __typename\n uid\n status\n number\n created_at\n }\n";
2
17
  //# sourceMappingURL=RequestReturnOrderFragment.graphql.d.ts.map
@@ -1,2 +1,17 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ *
4
+ * Copyright 2024 Adobe
5
+ * All Rights Reserved.
6
+ *
7
+ * NOTICE: All information contained herein is, and remains
8
+ * the property of Adobe and its suppliers, if any. The intellectual
9
+ * and technical concepts contained herein are proprietary to Adobe
10
+ * and its suppliers and are protected by all applicable intellectual
11
+ * property laws, including trade secret and copyright laws.
12
+ * Dissemination of this information or reproduction of this material
13
+ * is strictly forbidden unless prior written permission is obtained
14
+ * from Adobe.
15
+ *******************************************************************/
1
16
  export declare const RETURNS_FRAGMENT = "\n fragment RETURNS_FRAGMENT on Returns {\n __typename\n items {\n number\n status\n created_at\n shipping {\n tracking {\n status {\n text\n type\n }\n carrier {\n uid\n label\n }\n tracking_number\n }\n }\n order {\n number\n token\n }\n items {\n uid\n quantity\n status\n request_quantity\n order_item {\n ...ORDER_ITEM_DETAILS_FRAGMENT\n ... on GiftCardOrderItem {\n ...GIFT_CARD_DETAILS_FRAGMENT\n product {\n ...PRODUCT_DETAILS_FRAGMENT\n }\n }\n }\n }\n }\n }\n";
2
17
  //# sourceMappingURL=ReturnsFragment.graphql.d.ts.map
@@ -1,2 +1,17 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ *
4
+ * Copyright 2024 Adobe
5
+ * All Rights Reserved.
6
+ *
7
+ * NOTICE: All information contained herein is, and remains
8
+ * the property of Adobe and its suppliers, if any. The intellectual
9
+ * and technical concepts contained herein are proprietary to Adobe
10
+ * and its suppliers and are protected by all applicable intellectual
11
+ * property laws, including trade secret and copyright laws.
12
+ * Dissemination of this information or reproduction of this material
13
+ * is strictly forbidden unless prior written permission is obtained
14
+ * from Adobe.
15
+ *******************************************************************/
1
16
  export declare const ORDER_BY_TOKEN: string;
2
17
  //# sourceMappingURL=guestOrderByToken.graphql.d.ts.map
@@ -1,2 +1,17 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ *
4
+ * Copyright 2024 Adobe
5
+ * All Rights Reserved.
6
+ *
7
+ * NOTICE: All information contained herein is, and remains
8
+ * the property of Adobe and its suppliers, if any. The intellectual
9
+ * and technical concepts contained herein are proprietary to Adobe
10
+ * and its suppliers and are protected by all applicable intellectual
11
+ * property laws, including trade secret and copyright laws.
12
+ * Dissemination of this information or reproduction of this material
13
+ * is strictly forbidden unless prior written permission is obtained
14
+ * from Adobe.
15
+ *******************************************************************/
1
16
  export * from './guestOrderByToken';
2
17
  //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,4 @@
1
- import { OrderDataModel } from '../../data/models';
1
+ import { ConfigProps } from '../initialize';
2
2
 
3
- export declare const initializeOrderDetails: (config: Record<string, string | OrderDataModel | null> | undefined) => Promise<void>;
3
+ export declare const initializeOrderDetails: (config: ConfigProps) => Promise<void>;
4
4
  //# sourceMappingURL=initializeOrderDetails.d.ts.map
package/api/index.d.ts CHANGED
@@ -1,3 +1,18 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ *
4
+ * Copyright 2024 Adobe
5
+ * All Rights Reserved.
6
+ *
7
+ * NOTICE: All information contained herein is, and remains
8
+ * the property of Adobe and its suppliers, if any. The intellectual
9
+ * and technical concepts contained herein are proprietary to Adobe
10
+ * and its suppliers and are protected by all applicable intellectual
11
+ * property laws, including trade secret and copyright laws.
12
+ * Dissemination of this information or reproduction of this material
13
+ * is strictly forbidden unless prior written permission is obtained
14
+ * from Adobe.
15
+ *******************************************************************/
1
16
  export * from './cancelOrder';
2
17
  export * from './fetch-graphql';
3
18
  export * from './getAttributesForm';
@@ -1,2 +1,17 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ *
4
+ * Copyright 2024 Adobe
5
+ * All Rights Reserved.
6
+ *
7
+ * NOTICE: All information contained herein is, and remains
8
+ * the property of Adobe and its suppliers, if any. The intellectual
9
+ * and technical concepts contained herein are proprietary to Adobe
10
+ * and its suppliers and are protected by all applicable intellectual
11
+ * property laws, including trade secret and copyright laws.
12
+ * Dissemination of this information or reproduction of this material
13
+ * is strictly forbidden unless prior written permission is obtained
14
+ * from Adobe.
15
+ *******************************************************************/
1
16
  export * from './initialize';
2
17
  //# sourceMappingURL=index.d.ts.map