@dropins/storefront-order 0.1.0-alpha8 → 1.0.0-beta1

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 (209) hide show
  1. package/api/cancelOrder/cancelOrder.d.ts +2 -0
  2. package/api/cancelOrder/graphql/cancelOrderMutation.d.ts +2 -0
  3. package/api/cancelOrder/index.d.ts +2 -0
  4. package/api/confirmCancelOrder/confirmCancelOrder.d.ts +16 -0
  5. package/api/confirmCancelOrder/graphql/ConfirmCancelOrder.d.ts +16 -0
  6. package/api/confirmCancelOrder/index.d.ts +16 -0
  7. package/api/confirmGuestReturn/confirmGuestReturn.d.ts +2 -0
  8. package/api/confirmGuestReturn/graphql/confirmGuestReturn.graphql.d.ts +2 -0
  9. package/api/confirmGuestReturn/index.d.ts +2 -0
  10. package/api/fragment.d.ts +7 -0
  11. package/api/getAttributesForm/graphql/getAttributesForm.graphql.d.ts +1 -1
  12. package/api/getAttributesList/getAttributesList.d.ts +5 -0
  13. package/api/getAttributesList/graphql/getAttributesList.graphql.d.ts +2 -0
  14. package/api/getAttributesList/index.d.ts +2 -0
  15. package/api/getCustomer/graphql/getCustomer.graphql.d.ts +1 -1
  16. package/api/getCustomerOrdersReturn/getCustomerOrdersReturn.d.ts +4 -0
  17. package/api/getCustomerOrdersReturn/graphql/getCustomerOrdersReturn.graphql.d.ts +2 -0
  18. package/api/getCustomerOrdersReturn/index.d.ts +2 -0
  19. package/api/getGuestOrder/getGuestOrder.d.ts +1 -1
  20. package/api/getGuestOrder/graphql/getGuestOrder.graphql.d.ts +0 -1
  21. package/api/getGuestOrder/graphql/index.d.ts +2 -0
  22. package/api/getOrderDetailsById/getOrderDetailsById.d.ts +2 -1
  23. package/api/getStoreConfig/getStoreConfig.d.ts +4 -0
  24. package/api/getStoreConfig/graphql/StoreConfigQuery.d.ts +2 -0
  25. package/api/getStoreConfig/index.d.ts +2 -0
  26. package/api/graphql/CustomerAddressFragment.graphql.d.ts +2 -0
  27. package/api/graphql/GurestOrderFragment.graphql.d.ts +2 -0
  28. package/api/graphql/OrderItemsFragment.graphql.d.ts +6 -0
  29. package/api/graphql/OrderSummaryFragment.graphql.d.ts +2 -0
  30. package/api/graphql/RequestReturnOrderFragment.graphql.d.ts +2 -0
  31. package/api/graphql/ReturnsFragment.graphql.d.ts +2 -0
  32. package/api/guestOrderByToken/guestOrderByToken.d.ts +1 -1
  33. package/api/index.d.ts +15 -4
  34. package/api/initialize/initialize.d.ts +7 -1
  35. package/api/placeOrder/graphql/placeOrderMutation.d.ts +2 -0
  36. package/api/placeOrder/index.d.ts +2 -0
  37. package/api/placeOrder/placeOrder.d.ts +4 -0
  38. package/api/reorderItems/graphql/reorderItems.graphql.d.ts +2 -0
  39. package/api/reorderItems/index.d.ts +2 -0
  40. package/api/reorderItems/reorderItems.d.ts +4 -0
  41. package/api/requestGuestOrderCancel/graphql/requestGuestOrderCancelMutation.d.ts +2 -0
  42. package/api/requestGuestOrderCancel/index.d.ts +2 -0
  43. package/api/requestGuestOrderCancel/requestGuestOrderCancel.d.ts +2 -0
  44. package/api/requestGuestReturn/graphql/requestGuestReturn.graphql.d.ts +2 -0
  45. package/api/requestGuestReturn/index.d.ts +2 -0
  46. package/api/requestGuestReturn/requestGuestReturn.d.ts +9 -0
  47. package/api/requestReturn/graphql/requestReturn.graphql.d.ts +2 -0
  48. package/api/requestReturn/index.d.ts +2 -0
  49. package/api/requestReturn/requestReturn.d.ts +5 -0
  50. package/api.js +56 -129
  51. package/chunks/CartSummaryItem.js +3 -0
  52. package/chunks/GurestOrderFragment.graphql.js +99 -0
  53. package/chunks/OrderCancelForm.js +3 -0
  54. package/chunks/OrderLoaders.js +3 -1
  55. package/chunks/RequestReturnOrderFragment.graphql.js +11 -0
  56. package/chunks/ReturnsListContent.js +3 -0
  57. package/chunks/{CustomerDetailsContent.js → ShippingStatusCard.js} +3 -1
  58. package/chunks/capitalizeFirst.js +3 -0
  59. package/chunks/confirmCancelOrder.js +56 -0
  60. package/chunks/fetch-graphql.js +3 -1
  61. package/chunks/formatDateToLocale.js +3 -0
  62. package/chunks/getAttributesForm.js +6 -4
  63. package/chunks/getCustomerOrdersReturn.js +21 -0
  64. package/chunks/getFormValues.js +3 -0
  65. package/chunks/getGuestOrder.js +18 -0
  66. package/chunks/getQueryParam.js +3 -0
  67. package/chunks/getStoreConfig.js +19 -0
  68. package/chunks/initialize.js +411 -0
  69. package/chunks/network-error.js +3 -0
  70. package/chunks/redirectTo.js +3 -0
  71. package/chunks/requestGuestOrderCancel.js +102 -0
  72. package/chunks/requestGuestReturn.js +54 -0
  73. package/chunks/returnOrdersHelper.js +3 -0
  74. package/chunks/setTaxStatus.js +3 -0
  75. package/chunks/transform-attributes-form.js +3 -0
  76. package/chunks/useGetStoreConfig.js +3 -0
  77. package/chunks/useIsMobile.js +3 -0
  78. package/components/EmptyList/EmptyList.d.ts +5 -0
  79. package/components/EmptyList/index.d.ts +3 -0
  80. package/components/OrderCancel/OrderCancel.d.ts +5 -0
  81. package/components/OrderCancel/index.d.ts +3 -0
  82. package/components/OrderCostSummaryContent/Blocks.d.ts +39 -0
  83. package/components/OrderCostSummaryContent/OrderCostSummaryContent.d.ts +5 -0
  84. package/components/OrderCostSummaryContent/index.d.ts +3 -0
  85. package/components/OrderHeader/OrderHeader.d.ts +9 -0
  86. package/components/OrderHeader/index.d.ts +2 -0
  87. package/components/OrderLoaders/OrderLoaders.d.ts +3 -0
  88. package/components/OrderProductListContent/CartSummaryItem.d.ts +5 -0
  89. package/components/OrderProductListContent/OrderProductListContent.d.ts +5 -0
  90. package/components/OrderProductListContent/index.d.ts +4 -0
  91. package/components/Reorder/Reorder.d.ts +5 -0
  92. package/components/Reorder/index.d.ts +3 -0
  93. package/components/ReturnOrderMessage/ReturnOrderMessage.d.ts +5 -0
  94. package/components/ReturnOrderMessage/index.d.ts +3 -0
  95. package/components/ReturnOrderProductList/ReturnOrderProductList.d.ts +5 -0
  96. package/components/ReturnOrderProductList/index.d.ts +3 -0
  97. package/components/ReturnReasonForm/ReturnReasonForm.d.ts +5 -0
  98. package/components/ReturnReasonForm/index.d.ts +3 -0
  99. package/components/ReturnsListContent/ReturnsListContent.d.ts +5 -0
  100. package/components/ReturnsListContent/index.d.ts +3 -0
  101. package/components/ShippingStatusCard/ShippingStatusCard.d.ts +1 -1
  102. package/components/ShippingStatusCard/ShippingStatusReturnCard.d.ts +5 -0
  103. package/components/ShippingStatusCard/index.d.ts +1 -0
  104. package/components/index.d.ts +14 -4
  105. package/configs/mock.config.d.ts +2823 -19
  106. package/containers/CreateReturn/CreateReturn.d.ts +5 -0
  107. package/containers/CreateReturn/index.d.ts +3 -0
  108. package/containers/CreateReturn.d.ts +3 -0
  109. package/containers/CreateReturn.js +3 -0
  110. package/containers/CustomerDetails.js +3 -1
  111. package/containers/OrderCancelForm/OrderCancelForm.d.ts +5 -0
  112. package/containers/OrderCancelForm/index.d.ts +3 -0
  113. package/containers/OrderCancelForm.d.ts +3 -0
  114. package/containers/OrderCancelForm.js +3 -0
  115. package/containers/OrderCostSummary/OrderCostSummary.d.ts +5 -0
  116. package/containers/OrderCostSummary/index.d.ts +3 -0
  117. package/containers/OrderCostSummary.d.ts +3 -0
  118. package/containers/OrderCostSummary.js +3 -0
  119. package/containers/OrderHeader/OrderHeader.d.ts +5 -0
  120. package/containers/OrderHeader/index.d.ts +3 -0
  121. package/containers/OrderHeader.d.ts +3 -0
  122. package/containers/OrderHeader.js +3 -0
  123. package/containers/OrderProductList/OrderProductList.d.ts +5 -0
  124. package/containers/OrderProductList/index.d.ts +3 -0
  125. package/containers/OrderProductList.d.ts +3 -0
  126. package/containers/OrderProductList.js +3 -0
  127. package/containers/OrderReturns/OrderReturns.d.ts +5 -0
  128. package/containers/OrderReturns/index.d.ts +3 -0
  129. package/containers/OrderReturns.d.ts +3 -0
  130. package/containers/OrderReturns.js +3 -0
  131. package/containers/OrderSearch.js +3 -1
  132. package/containers/OrderStatus.js +3 -1
  133. package/containers/ReturnsList/ReturnsList.d.ts +5 -0
  134. package/containers/ReturnsList/index.d.ts +3 -0
  135. package/containers/ReturnsList.d.ts +3 -0
  136. package/containers/ReturnsList.js +3 -0
  137. package/containers/ShippingStatus.js +3 -1
  138. package/containers/index.d.ts +8 -1
  139. package/data/models/acdl.d.ts +99 -0
  140. package/data/models/attributes-form.d.ts +2 -21
  141. package/data/models/customer-orders-return.d.ts +38 -0
  142. package/data/models/index.d.ts +5 -1
  143. package/data/models/order-details.d.ts +64 -9
  144. package/data/models/request-return.d.ts +7 -0
  145. package/data/models/store-config.d.ts +15 -0
  146. package/data/transforms/index.d.ts +8 -2
  147. package/data/transforms/transform-acdl.d.ts +5 -0
  148. package/data/transforms/transform-attributes-form.d.ts +3 -2
  149. package/data/transforms/transform-customer-address-input.d.ts +22 -0
  150. package/data/transforms/transform-customer-orders-returns.d.ts +5 -0
  151. package/data/transforms/transform-guest-order.d.ts +2 -2
  152. package/data/transforms/transform-order-details.d.ts +13 -3
  153. package/data/transforms/transform-place-order.d.ts +5 -0
  154. package/data/transforms/transform-request-return.d.ts +5 -0
  155. package/data/transforms/transform-store-config.d.ts +4 -0
  156. package/hooks/api/useGetStoreConfig.d.ts +4 -0
  157. package/hooks/containers/useCreateReturn.d.ts +65 -0
  158. package/hooks/containers/useCustomerDetails.d.ts +2 -2
  159. package/hooks/containers/useOrderActions.d.ts +12 -0
  160. package/hooks/containers/useOrderCostSummary.d.ts +9 -0
  161. package/hooks/containers/useOrderHeader.d.ts +8 -0
  162. package/hooks/containers/useOrderProductList.d.ts +8 -0
  163. package/hooks/containers/useOrderReturns.d.ts +8 -0
  164. package/hooks/containers/useReturnsList.d.ts +15 -0
  165. package/hooks/containers/useShippingStatus.d.ts +2 -0
  166. package/hooks/index.d.ts +10 -1
  167. package/hooks/useInLineAlert.d.ts +7 -0
  168. package/hooks/useIsMobile.d.ts +2 -0
  169. package/i18n/en_US.json.d.ts +268 -13
  170. package/lib/acdl.d.ts +18 -0
  171. package/lib/capitalizeFirst.d.ts +2 -0
  172. package/lib/categorizeProducts.d.ts +66 -0
  173. package/lib/formatDateToLocale.d.ts +31 -0
  174. package/lib/getQueryParam.d.ts +1 -1
  175. package/lib/redirectTo.d.ts +1 -1
  176. package/lib/removeQueryParams.d.ts +2 -0
  177. package/lib/returnOrdersHelper.d.ts +36 -0
  178. package/lib/setTaxStatus.d.ts +4 -0
  179. package/package.json +1 -1
  180. package/render.js +5 -2
  181. package/types/api/confirmGuestReturn.types.d.ts +18 -0
  182. package/types/api/getAttributesList.types.d.ts +28 -0
  183. package/types/api/getCustomerOrdersReturn.types.d.ts +21 -0
  184. package/types/api/getOrderDetails.types.d.ts +69 -11
  185. package/types/api/placeOrder.types.d.ts +19 -0
  186. package/types/api/reorderItems.types.d.ts +27 -0
  187. package/types/api/requestReturn.types.d.ts +47 -0
  188. package/types/createReturn.types.d.ts +71 -0
  189. package/types/customerDetails.types.d.ts +10 -3
  190. package/types/emptyList.types.d.ts +7 -0
  191. package/types/form.types.d.ts +1 -1
  192. package/types/index.d.ts +21 -5
  193. package/types/notification.types.d.ts +14 -0
  194. package/types/orderCancel.types.d.ts +16 -0
  195. package/types/orderCostSummary.types.d.ts +29 -0
  196. package/types/orderEmailActionHandler.types.d.ts +4 -0
  197. package/types/orderHeader.types.d.ts +19 -0
  198. package/types/orderProductList.types.d.ts +36 -0
  199. package/types/orderStatus.types.d.ts +12 -4
  200. package/types/reorder.types.d.ts +9 -0
  201. package/types/returnsList.types.d.ts +82 -0
  202. package/types/shippingStatus.types.d.ts +33 -2
  203. package/api/getOrderDetailsById/graphql/customerAddressFragment.graphql.d.ts +0 -2
  204. package/api/getOrderDetailsById/graphql/index.d.ts +0 -5
  205. package/api/getOrderDetailsById/graphql/orderItemsFragment.graphql.d.ts +0 -2
  206. package/api/getOrderDetailsById/graphql/orderSummaryFragment.graphql.d.ts +0 -2
  207. package/chunks/getCustomer.js +0 -185
  208. package/lib/convertToInputDateFormat.d.ts +0 -3
  209. package/lib/formatAddressFields.d.ts +0 -6
@@ -175,6 +175,11 @@ export declare const transformMockOrderInput: {
175
175
  test: null;
176
176
  prop: undefined;
177
177
  }[];
178
+ returns: {
179
+ status: string;
180
+ number: string;
181
+ items: never[];
182
+ }[];
178
183
  shipments: {
179
184
  id: string;
180
185
  tracking: {
@@ -400,6 +405,7 @@ export declare const transformMockOrderOutput: {
400
405
  availableActions: string[];
401
406
  status: string;
402
407
  number: string;
408
+ email: string;
403
409
  id: string;
404
410
  orderDate: string;
405
411
  carrier: string;
@@ -539,6 +545,54 @@ export declare const transformMockOrderOutput: {
539
545
  recipientName: string;
540
546
  };
541
547
  id: undefined;
548
+ selectedOptions?: undefined;
549
+ } | {
550
+ type: string;
551
+ id: string;
552
+ giftCard: undefined;
553
+ discounted: boolean;
554
+ total: {
555
+ value: number;
556
+ currency: string;
557
+ };
558
+ totalInclTax: {
559
+ value: number;
560
+ currency: string;
561
+ };
562
+ price: {
563
+ value: number;
564
+ currency: string;
565
+ };
566
+ priceInclTax: {
567
+ value: number;
568
+ currency: string;
569
+ };
570
+ totalQuantity: number;
571
+ regularPrice: {
572
+ value: number;
573
+ currency: string;
574
+ };
575
+ product: {
576
+ canonicalUrl: string;
577
+ id: string;
578
+ name: string;
579
+ sku: string;
580
+ image: string;
581
+ productType: string;
582
+ thumbnail: {
583
+ label: string;
584
+ url: string;
585
+ };
586
+ };
587
+ thumbnail: {
588
+ label: string;
589
+ url: string;
590
+ };
591
+ configurableOptions: {
592
+ Size?: undefined;
593
+ Color?: undefined;
594
+ };
595
+ selectedOptions?: undefined;
542
596
  } | {
543
597
  type: string;
544
598
  id: string;
@@ -565,6 +619,10 @@ export declare const transformMockOrderOutput: {
565
619
  value: number;
566
620
  currency: string;
567
621
  };
622
+ selectedOptions: {
623
+ label: string;
624
+ value: string;
625
+ }[];
568
626
  product: {
569
627
  canonicalUrl: string;
570
628
  id: string;
@@ -631,6 +689,7 @@ export declare const transformMockOrderOutput: {
631
689
  Size: string;
632
690
  Color: string;
633
691
  };
692
+ selectedOptions?: undefined;
634
693
  })[];
635
694
  totalQuantity: number;
636
695
  shipping: {
@@ -878,25 +937,7 @@ export declare const storyBookOrderData: {
878
937
  code: string;
879
938
  };
880
939
  };
881
- export declare const storyBookShortOrderData: {
882
- email: string;
883
- status: string;
884
- number: string;
885
- id: string;
886
- orderDate: string;
887
- carrier: string;
888
- shippingMethod: string;
889
- payments: {
890
- code: string;
891
- name: string;
892
- }[];
893
- totalQuantity: number;
894
- shipping: {
895
- amount: number;
896
- currency: string;
897
- code: string;
898
- };
899
- };
940
+ export declare const storyBookShortOrderData: any;
900
941
  export declare const storyBookNormalizeAddress: {
901
942
  billingAddress: ({
902
943
  name: string;
@@ -921,4 +962,2767 @@ export declare const storyBookNormalizeAddress: {
921
962
  label: null;
922
963
  }[])[];
923
964
  };
965
+ export declare const orderCostSummaryMockup: {
966
+ number: string;
967
+ email: string;
968
+ token: string;
969
+ status: string;
970
+ isVirtual: boolean;
971
+ totalQuantity: number;
972
+ shippingMethod: string;
973
+ carrier: string;
974
+ discounts: {
975
+ amount: {
976
+ value: number;
977
+ currency: string;
978
+ };
979
+ label: string;
980
+ }[];
981
+ coupons: {
982
+ code: string;
983
+ }[];
984
+ payments: {
985
+ code: string;
986
+ name: string;
987
+ }[];
988
+ shipping: {
989
+ code: string;
990
+ amount: number;
991
+ currency: string;
992
+ };
993
+ shipments: {
994
+ id: string;
995
+ number: string;
996
+ tracking: {
997
+ carrier: string;
998
+ number: string;
999
+ title: string;
1000
+ }[];
1001
+ comments: {
1002
+ message: string;
1003
+ timestamp: string;
1004
+ }[];
1005
+ items: {
1006
+ id: string;
1007
+ productSku: string;
1008
+ productName: string;
1009
+ orderItem: {
1010
+ id: string;
1011
+ type: string;
1012
+ discounted: boolean;
1013
+ productName: string;
1014
+ totalQuantity: number;
1015
+ price: {
1016
+ value: number;
1017
+ currency: string;
1018
+ };
1019
+ totalInclTax: {};
1020
+ priceInclTax: {};
1021
+ regularPrice: {
1022
+ value: number;
1023
+ currency: string;
1024
+ };
1025
+ total: {
1026
+ value: number;
1027
+ currency: string;
1028
+ };
1029
+ configurableOptions: {};
1030
+ product: {
1031
+ id: string;
1032
+ name: string;
1033
+ productType: string;
1034
+ sku: string;
1035
+ thumbnail: {
1036
+ url: string;
1037
+ label: string;
1038
+ };
1039
+ };
1040
+ thumbnail: {
1041
+ url: string;
1042
+ label: string;
1043
+ };
1044
+ quantityCanceled: number;
1045
+ quantityInvoiced: number;
1046
+ quantityOrdered: number;
1047
+ quantityRefunded: number;
1048
+ quantityReturned: number;
1049
+ quantityShipped: number;
1050
+ };
1051
+ }[];
1052
+ }[];
1053
+ items: {
1054
+ id: string;
1055
+ type: string;
1056
+ discounted: boolean;
1057
+ productName: string;
1058
+ totalQuantity: number;
1059
+ price: {
1060
+ value: number;
1061
+ currency: string;
1062
+ };
1063
+ totalInclTax: {};
1064
+ priceInclTax: {};
1065
+ regularPrice: {
1066
+ value: number;
1067
+ currency: string;
1068
+ };
1069
+ total: {
1070
+ value: number;
1071
+ currency: string;
1072
+ };
1073
+ configurableOptions: {};
1074
+ product: {
1075
+ id: string;
1076
+ name: string;
1077
+ productType: string;
1078
+ sku: string;
1079
+ thumbnail: {
1080
+ url: string;
1081
+ label: string;
1082
+ };
1083
+ };
1084
+ thumbnail: {
1085
+ url: string;
1086
+ label: string;
1087
+ };
1088
+ quantityCanceled: number;
1089
+ quantityInvoiced: number;
1090
+ quantityOrdered: number;
1091
+ quantityRefunded: number;
1092
+ quantityReturned: number;
1093
+ quantityShipped: number;
1094
+ }[];
1095
+ totalGiftcard: {
1096
+ value: number;
1097
+ currency: string;
1098
+ };
1099
+ grandTotal: {
1100
+ value: number;
1101
+ currency: string;
1102
+ };
1103
+ totalShipping: {
1104
+ value: number;
1105
+ currency: string;
1106
+ };
1107
+ subtotal: {
1108
+ value: number;
1109
+ currency: string;
1110
+ };
1111
+ totalTax: {
1112
+ value: number;
1113
+ currency: string;
1114
+ };
1115
+ shippingAddress: {
1116
+ street: string[];
1117
+ city: string;
1118
+ country: string;
1119
+ company: string;
1120
+ firstName: string;
1121
+ middleName: string;
1122
+ lastName: string;
1123
+ postCode: string;
1124
+ region: string;
1125
+ regionId: string;
1126
+ telephone: string;
1127
+ customAttributes: never[];
1128
+ };
1129
+ billingAddress: {
1130
+ street: string[];
1131
+ city: string;
1132
+ company: string;
1133
+ country: string;
1134
+ firstName: string;
1135
+ middleName: string;
1136
+ lastName: string;
1137
+ postCode: string;
1138
+ region: string;
1139
+ regionId: string;
1140
+ telephone: string;
1141
+ customAttributes: never[];
1142
+ };
1143
+ availableActions: never[];
1144
+ };
1145
+ export declare const orderMockOrderProductItemsList: {
1146
+ items: ({
1147
+ type: string;
1148
+ productName: string;
1149
+ quantityCanceled: number;
1150
+ quantityInvoiced: number;
1151
+ quantityOrdered: number;
1152
+ quantityRefunded: number;
1153
+ quantityReturned: number;
1154
+ quantityShipped: number;
1155
+ id: string;
1156
+ discounted: boolean;
1157
+ total: {
1158
+ value: number;
1159
+ currency: string;
1160
+ };
1161
+ totalInclTax: {
1162
+ value: number;
1163
+ currency: string;
1164
+ };
1165
+ price: {
1166
+ value: number;
1167
+ currency: string;
1168
+ };
1169
+ priceInclTax: {
1170
+ value: number;
1171
+ currency: string;
1172
+ };
1173
+ totalQuantity: number;
1174
+ regularPrice: {
1175
+ value: number;
1176
+ currency: string;
1177
+ };
1178
+ product: {
1179
+ __typename: string;
1180
+ canonicalUrl: string;
1181
+ uid: string;
1182
+ name: string;
1183
+ sku: string;
1184
+ onlyXLeftInStock: null;
1185
+ stockStatus: string;
1186
+ thumbnail: {
1187
+ label: string;
1188
+ url: string;
1189
+ };
1190
+ priceRange: {
1191
+ maximumPrice: {
1192
+ regularPrice: {
1193
+ currency: string;
1194
+ value: number;
1195
+ };
1196
+ };
1197
+ };
1198
+ id: string;
1199
+ image: string;
1200
+ productType: string;
1201
+ };
1202
+ thumbnail: {
1203
+ label: string;
1204
+ url: string;
1205
+ };
1206
+ configurableOptions: {
1207
+ Color?: undefined;
1208
+ Size?: undefined;
1209
+ };
1210
+ bundleOptions: null;
1211
+ itemPrices: {
1212
+ priceIncludingTax: {
1213
+ value: number;
1214
+ currency: string;
1215
+ };
1216
+ originalPrice: {
1217
+ value: number;
1218
+ currency: string;
1219
+ };
1220
+ originalPriceIncludingTax: {
1221
+ value: number;
1222
+ currency: string;
1223
+ };
1224
+ price: {
1225
+ value: number;
1226
+ currency: string;
1227
+ };
1228
+ discounts?: undefined;
1229
+ };
1230
+ downloadableLinks: {
1231
+ count: number;
1232
+ result: string;
1233
+ };
1234
+ giftCard?: undefined;
1235
+ } | {
1236
+ type: string;
1237
+ productName: string;
1238
+ quantityCanceled: number;
1239
+ quantityInvoiced: number;
1240
+ quantityOrdered: number;
1241
+ quantityRefunded: number;
1242
+ quantityReturned: number;
1243
+ quantityShipped: number;
1244
+ id: string;
1245
+ discounted: boolean;
1246
+ total: {
1247
+ value: number;
1248
+ currency: string;
1249
+ };
1250
+ totalInclTax: {
1251
+ value: number;
1252
+ currency: string;
1253
+ };
1254
+ price: {
1255
+ value: number;
1256
+ currency: string;
1257
+ };
1258
+ priceInclTax: {
1259
+ value: number;
1260
+ currency: string;
1261
+ };
1262
+ totalQuantity: number;
1263
+ regularPrice: {
1264
+ value: number;
1265
+ currency: string;
1266
+ };
1267
+ product: {
1268
+ __typename: string;
1269
+ canonicalUrl: string;
1270
+ uid: string;
1271
+ name: string;
1272
+ sku: string;
1273
+ onlyXLeftInStock: null;
1274
+ stockStatus: string;
1275
+ thumbnail: {
1276
+ label: string;
1277
+ url: string;
1278
+ };
1279
+ priceRange: {
1280
+ maximumPrice: {
1281
+ regularPrice: {
1282
+ currency: string;
1283
+ value: number;
1284
+ };
1285
+ };
1286
+ };
1287
+ id: string;
1288
+ image: string;
1289
+ productType: string;
1290
+ };
1291
+ thumbnail: {
1292
+ label: string;
1293
+ url: string;
1294
+ };
1295
+ configurableOptions: {
1296
+ Color: string;
1297
+ Size: string;
1298
+ };
1299
+ bundleOptions: null;
1300
+ itemPrices: {
1301
+ priceIncludingTax: {
1302
+ value: number;
1303
+ currency: string;
1304
+ };
1305
+ originalPrice: {
1306
+ value: number;
1307
+ currency: string;
1308
+ };
1309
+ originalPriceIncludingTax: {
1310
+ value: number;
1311
+ currency: string;
1312
+ };
1313
+ price: {
1314
+ value: number;
1315
+ currency: string;
1316
+ };
1317
+ discounts: {
1318
+ label: string;
1319
+ amount: {
1320
+ value: number;
1321
+ };
1322
+ }[];
1323
+ };
1324
+ downloadableLinks?: undefined;
1325
+ giftCard?: undefined;
1326
+ } | {
1327
+ type: string;
1328
+ productName: string;
1329
+ quantityCanceled: number;
1330
+ quantityInvoiced: number;
1331
+ quantityOrdered: number;
1332
+ quantityRefunded: number;
1333
+ quantityReturned: number;
1334
+ quantityShipped: number;
1335
+ id: string;
1336
+ discounted: boolean;
1337
+ total: {
1338
+ value: number;
1339
+ currency: string;
1340
+ };
1341
+ totalInclTax: {
1342
+ value: number;
1343
+ currency: string;
1344
+ };
1345
+ price: {
1346
+ value: number;
1347
+ currency: string;
1348
+ };
1349
+ priceInclTax: {
1350
+ value: number;
1351
+ currency: string;
1352
+ };
1353
+ totalQuantity: number;
1354
+ regularPrice: {
1355
+ value: number;
1356
+ currency: string;
1357
+ };
1358
+ product: {
1359
+ __typename: string;
1360
+ canonicalUrl: string;
1361
+ uid: string;
1362
+ name: string;
1363
+ sku: string;
1364
+ onlyXLeftInStock: null;
1365
+ stockStatus: string;
1366
+ thumbnail: {
1367
+ label: string;
1368
+ url: string;
1369
+ };
1370
+ priceRange: {
1371
+ maximumPrice: {
1372
+ regularPrice: {
1373
+ currency: string;
1374
+ value: number;
1375
+ };
1376
+ };
1377
+ };
1378
+ id: string;
1379
+ image: string;
1380
+ productType: string;
1381
+ };
1382
+ thumbnail: {
1383
+ label: string;
1384
+ url: string;
1385
+ };
1386
+ configurableOptions: {
1387
+ Color?: undefined;
1388
+ Size?: undefined;
1389
+ };
1390
+ bundleOptions: null;
1391
+ itemPrices: {
1392
+ priceIncludingTax: {
1393
+ value: number;
1394
+ currency: string;
1395
+ };
1396
+ originalPrice: {
1397
+ value: number;
1398
+ currency: string;
1399
+ };
1400
+ originalPriceIncludingTax: {
1401
+ value: number;
1402
+ currency: string;
1403
+ };
1404
+ price: {
1405
+ value: number;
1406
+ currency: string;
1407
+ };
1408
+ discounts: {
1409
+ label: string;
1410
+ amount: {
1411
+ value: number;
1412
+ };
1413
+ }[];
1414
+ };
1415
+ downloadableLinks?: undefined;
1416
+ giftCard?: undefined;
1417
+ } | {
1418
+ type: string;
1419
+ productName: string;
1420
+ quantityCanceled: number;
1421
+ quantityInvoiced: number;
1422
+ quantityOrdered: number;
1423
+ quantityRefunded: number;
1424
+ quantityReturned: number;
1425
+ quantityShipped: number;
1426
+ id: string;
1427
+ discounted: boolean;
1428
+ total: {
1429
+ value: number;
1430
+ currency: string;
1431
+ };
1432
+ totalInclTax: {
1433
+ value: number;
1434
+ currency: string;
1435
+ };
1436
+ price: {
1437
+ value: number;
1438
+ currency: string;
1439
+ };
1440
+ priceInclTax: {
1441
+ value: number;
1442
+ currency: string;
1443
+ };
1444
+ totalQuantity: number;
1445
+ regularPrice: {
1446
+ value: number;
1447
+ currency: string;
1448
+ };
1449
+ product: {
1450
+ __typename: string;
1451
+ canonicalUrl: string;
1452
+ uid: string;
1453
+ name: string;
1454
+ sku: string;
1455
+ onlyXLeftInStock: null;
1456
+ stockStatus: string;
1457
+ thumbnail: {
1458
+ label: string;
1459
+ url: string;
1460
+ };
1461
+ priceRange: {
1462
+ maximumPrice: {
1463
+ regularPrice: {
1464
+ currency: string;
1465
+ value: number;
1466
+ };
1467
+ };
1468
+ };
1469
+ id: string;
1470
+ image: string;
1471
+ productType: string;
1472
+ };
1473
+ thumbnail: {
1474
+ label: string;
1475
+ url: string;
1476
+ };
1477
+ configurableOptions: {
1478
+ Color?: undefined;
1479
+ Size?: undefined;
1480
+ };
1481
+ bundleOptions: {
1482
+ 'Sprite Foam Yoga Brick': string;
1483
+ 'Sprite Foam Roller': string;
1484
+ 'Sprite Stasis Ball': string;
1485
+ 'Sprite Yoga Strap': string;
1486
+ };
1487
+ itemPrices: {
1488
+ priceIncludingTax: {
1489
+ value: number;
1490
+ currency: string;
1491
+ };
1492
+ originalPrice: {
1493
+ value: number;
1494
+ currency: string;
1495
+ };
1496
+ originalPriceIncludingTax: {
1497
+ value: number;
1498
+ currency: string;
1499
+ };
1500
+ price: {
1501
+ value: number;
1502
+ currency: string;
1503
+ };
1504
+ discounts: {
1505
+ label: string;
1506
+ amount: {
1507
+ value: number;
1508
+ };
1509
+ }[];
1510
+ };
1511
+ downloadableLinks?: undefined;
1512
+ giftCard?: undefined;
1513
+ } | {
1514
+ type: string;
1515
+ productName: string;
1516
+ quantityCanceled: number;
1517
+ quantityInvoiced: number;
1518
+ quantityOrdered: number;
1519
+ quantityRefunded: number;
1520
+ quantityReturned: number;
1521
+ quantityShipped: number;
1522
+ id: string;
1523
+ discounted: boolean;
1524
+ total: {
1525
+ value: number;
1526
+ currency: string;
1527
+ };
1528
+ totalInclTax: {
1529
+ value: number;
1530
+ currency: string;
1531
+ };
1532
+ price: {
1533
+ value: number;
1534
+ currency: string;
1535
+ };
1536
+ priceInclTax: {
1537
+ value: number;
1538
+ currency: string;
1539
+ };
1540
+ totalQuantity: number;
1541
+ regularPrice: {
1542
+ value: number;
1543
+ currency: string;
1544
+ };
1545
+ product: {
1546
+ __typename: string;
1547
+ canonicalUrl: string;
1548
+ uid: string;
1549
+ name: string;
1550
+ sku: string;
1551
+ onlyXLeftInStock: null;
1552
+ stockStatus: string;
1553
+ thumbnail: {
1554
+ label: string;
1555
+ url: string;
1556
+ };
1557
+ priceRange: {
1558
+ maximumPrice: {
1559
+ regularPrice: {
1560
+ currency: string;
1561
+ value: number;
1562
+ };
1563
+ };
1564
+ };
1565
+ id: string;
1566
+ image: string;
1567
+ productType: string;
1568
+ };
1569
+ thumbnail: {
1570
+ label: string;
1571
+ url: string;
1572
+ };
1573
+ giftCard: {
1574
+ senderName: string;
1575
+ senderEmail: string;
1576
+ recipientEmail: string;
1577
+ recipientName: string;
1578
+ message: string;
1579
+ };
1580
+ configurableOptions: {
1581
+ Color?: undefined;
1582
+ Size?: undefined;
1583
+ };
1584
+ bundleOptions: null;
1585
+ itemPrices: {
1586
+ priceIncludingTax: {
1587
+ value: number;
1588
+ currency: string;
1589
+ };
1590
+ originalPrice: {
1591
+ value: number;
1592
+ currency: string;
1593
+ };
1594
+ originalPriceIncludingTax: {
1595
+ value: number;
1596
+ currency: string;
1597
+ };
1598
+ price: {
1599
+ value: number;
1600
+ currency: string;
1601
+ };
1602
+ discounts: {
1603
+ label: string;
1604
+ amount: {
1605
+ value: number;
1606
+ };
1607
+ }[];
1608
+ };
1609
+ downloadableLinks?: undefined;
1610
+ })[];
1611
+ totalQuantity: number;
1612
+ };
1613
+ export declare const returnOrderListMockResponse: {
1614
+ customer: {
1615
+ returns: {
1616
+ page_info: {
1617
+ page_size: number;
1618
+ total_pages: number;
1619
+ current_page: number;
1620
+ };
1621
+ items: {
1622
+ number: string;
1623
+ shipping: {
1624
+ tracking: {
1625
+ status: null;
1626
+ carrier: {
1627
+ uid: string;
1628
+ label: string;
1629
+ };
1630
+ tracking_number: string;
1631
+ }[];
1632
+ };
1633
+ order: {
1634
+ number: string;
1635
+ token: string;
1636
+ };
1637
+ items: {
1638
+ uid: string;
1639
+ quantity: number;
1640
+ status: string;
1641
+ request_quantity: number;
1642
+ order_item: {
1643
+ __typename: string;
1644
+ status: string;
1645
+ product_name: string;
1646
+ id: string;
1647
+ quantity_ordered: number;
1648
+ quantity_shipped: number;
1649
+ quantity_canceled: number;
1650
+ quantity_invoiced: number;
1651
+ quantity_refunded: number;
1652
+ quantity_returned: number;
1653
+ product_sale_price: {
1654
+ value: number;
1655
+ currency: string;
1656
+ };
1657
+ selected_options: never[];
1658
+ product: {
1659
+ __typename: string;
1660
+ canonical_url: null;
1661
+ uid: string;
1662
+ name: string;
1663
+ sku: string;
1664
+ thumbnail: {
1665
+ label: string;
1666
+ url: string;
1667
+ };
1668
+ price_range: {
1669
+ maximum_price: {
1670
+ regular_price: {
1671
+ currency: string;
1672
+ value: number;
1673
+ };
1674
+ };
1675
+ };
1676
+ };
1677
+ };
1678
+ }[];
1679
+ }[];
1680
+ };
1681
+ };
1682
+ };
1683
+ export declare const returnOrderListMock: {
1684
+ token: string;
1685
+ orderNumber: string;
1686
+ items: {
1687
+ uid: string;
1688
+ quantity: number;
1689
+ status: string;
1690
+ requestQuantity: number;
1691
+ orderItem: {
1692
+ type: string;
1693
+ productName: string;
1694
+ quantityCanceled: number;
1695
+ quantityInvoiced: number;
1696
+ quantityOrdered: number;
1697
+ quantityRefunded: number;
1698
+ quantityReturned: number;
1699
+ quantityShipped: number;
1700
+ id: string;
1701
+ discounted: boolean;
1702
+ total: {
1703
+ value: number;
1704
+ currency: string;
1705
+ };
1706
+ totalInclTax: {
1707
+ value: number;
1708
+ currency: string;
1709
+ };
1710
+ price: {
1711
+ value: number;
1712
+ currency: string;
1713
+ };
1714
+ priceInclTax: {
1715
+ value: number;
1716
+ currency: string;
1717
+ };
1718
+ totalQuantity: number;
1719
+ regularPrice: {
1720
+ value: number;
1721
+ currency: string;
1722
+ };
1723
+ product: {
1724
+ canonicalUrl: string;
1725
+ id: string;
1726
+ name: string;
1727
+ sku: string;
1728
+ image: string;
1729
+ productType: string;
1730
+ thumbnail: {
1731
+ label: string;
1732
+ url: string;
1733
+ };
1734
+ };
1735
+ thumbnail: {
1736
+ label: string;
1737
+ url: string;
1738
+ };
1739
+ configurableOptions: {};
1740
+ };
1741
+ }[];
1742
+ tracking: {
1743
+ status: null;
1744
+ carrier: {
1745
+ uid: string;
1746
+ label: string;
1747
+ };
1748
+ trackingNumber: string;
1749
+ }[];
1750
+ }[];
1751
+ export declare const translationsOrderCostSummaryMock: {
1752
+ headerText: string;
1753
+ subtotal: string;
1754
+ shipping: string;
1755
+ freeShipping: string;
1756
+ tax: string;
1757
+ incl: string;
1758
+ excl: string;
1759
+ discount: string;
1760
+ discountSubtitle: string;
1761
+ total: string;
1762
+ };
1763
+ export declare const createReturnOrderMock: {
1764
+ grandTotal: {
1765
+ value: number;
1766
+ currency: string;
1767
+ };
1768
+ totalGiftcard: {
1769
+ currency: string;
1770
+ value: number;
1771
+ };
1772
+ subtotal: {
1773
+ currency: string;
1774
+ value: number;
1775
+ };
1776
+ taxes: {
1777
+ amount: {
1778
+ currency: string;
1779
+ value: number;
1780
+ };
1781
+ rate: number;
1782
+ title: string;
1783
+ }[];
1784
+ totalTax: {
1785
+ currency: string;
1786
+ value: number;
1787
+ };
1788
+ totalShipping: {
1789
+ currency: string;
1790
+ value: number;
1791
+ };
1792
+ discounts: {
1793
+ amount: {
1794
+ currency: string;
1795
+ value: number;
1796
+ };
1797
+ label: string;
1798
+ }[];
1799
+ email: string;
1800
+ availableActions: string[];
1801
+ status: string;
1802
+ number: string;
1803
+ id: string;
1804
+ orderDate: string;
1805
+ orderStatusChangeDate: string;
1806
+ carrier: string;
1807
+ shippingMethod: string;
1808
+ isVirtual: boolean;
1809
+ returns: {
1810
+ createdReturnAt: string;
1811
+ returnStatus: string;
1812
+ token: string;
1813
+ orderNumber: string;
1814
+ returnNumber: string;
1815
+ items: ({
1816
+ uid: string;
1817
+ quantity: number;
1818
+ status: string;
1819
+ requestQuantity: number;
1820
+ type: string;
1821
+ eligibleForReturn: boolean;
1822
+ productSku: string;
1823
+ productName: string;
1824
+ productUrlKey: string;
1825
+ quantityCanceled: number;
1826
+ quantityInvoiced: number;
1827
+ quantityOrdered: number;
1828
+ quantityRefunded: number;
1829
+ quantityReturned: number;
1830
+ quantityShipped: number;
1831
+ id: string;
1832
+ discounted: boolean;
1833
+ total: {
1834
+ value: number;
1835
+ currency: string;
1836
+ };
1837
+ totalInclTax: {
1838
+ value: number;
1839
+ currency: string;
1840
+ };
1841
+ price: {
1842
+ value: number;
1843
+ currency: string;
1844
+ };
1845
+ priceInclTax: {
1846
+ value: number;
1847
+ currency: string;
1848
+ };
1849
+ totalQuantity: number;
1850
+ regularPrice: {
1851
+ value: number;
1852
+ currency: string;
1853
+ };
1854
+ product: {
1855
+ __typename: string;
1856
+ canonicalUrl: string;
1857
+ urlKey: string;
1858
+ uid: string;
1859
+ name: string;
1860
+ sku: string;
1861
+ onlyXLeftInStock: null;
1862
+ stockStatus: string;
1863
+ thumbnail: {
1864
+ label: string;
1865
+ url: string;
1866
+ };
1867
+ priceRange: {
1868
+ maximumPrice: {
1869
+ regularPrice: {
1870
+ currency: string;
1871
+ value: number;
1872
+ };
1873
+ };
1874
+ };
1875
+ id: string;
1876
+ image: string;
1877
+ productType: string;
1878
+ };
1879
+ thumbnail: {
1880
+ label: string;
1881
+ url: string;
1882
+ };
1883
+ configurableOptions: {
1884
+ Size?: undefined;
1885
+ Color?: undefined;
1886
+ };
1887
+ bundleOptions: null;
1888
+ itemPrices: {
1889
+ priceIncludingTax: {
1890
+ value: number;
1891
+ currency: string;
1892
+ };
1893
+ originalPrice: {
1894
+ value: number;
1895
+ currency: string;
1896
+ };
1897
+ originalPriceIncludingTax: {
1898
+ value: number;
1899
+ currency: string;
1900
+ };
1901
+ price: {
1902
+ value: number;
1903
+ currency: string;
1904
+ };
1905
+ };
1906
+ downloadableLinks: null;
1907
+ } | {
1908
+ uid: string;
1909
+ quantity: number;
1910
+ status: string;
1911
+ requestQuantity: number;
1912
+ type: string;
1913
+ eligibleForReturn: boolean;
1914
+ productSku: string;
1915
+ productName: string;
1916
+ productUrlKey: string;
1917
+ quantityCanceled: number;
1918
+ quantityInvoiced: number;
1919
+ quantityOrdered: number;
1920
+ quantityRefunded: number;
1921
+ quantityReturned: number;
1922
+ quantityShipped: number;
1923
+ id: string;
1924
+ discounted: boolean;
1925
+ total: {
1926
+ value: number;
1927
+ currency: string;
1928
+ };
1929
+ totalInclTax: {
1930
+ value: number;
1931
+ currency: string;
1932
+ };
1933
+ price: {
1934
+ value: number;
1935
+ currency: string;
1936
+ };
1937
+ priceInclTax: {
1938
+ value: number;
1939
+ currency: string;
1940
+ };
1941
+ totalQuantity: number;
1942
+ regularPrice: {
1943
+ value: number;
1944
+ currency: string;
1945
+ };
1946
+ product: {
1947
+ __typename: string;
1948
+ canonicalUrl: string;
1949
+ urlKey: string;
1950
+ uid: string;
1951
+ name: string;
1952
+ sku: string;
1953
+ onlyXLeftInStock: null;
1954
+ stockStatus: string;
1955
+ thumbnail: {
1956
+ label: string;
1957
+ url: string;
1958
+ };
1959
+ priceRange: {
1960
+ maximumPrice: {
1961
+ regularPrice: {
1962
+ currency: string;
1963
+ value: number;
1964
+ };
1965
+ };
1966
+ };
1967
+ id: string;
1968
+ image: string;
1969
+ productType: string;
1970
+ };
1971
+ thumbnail: {
1972
+ label: string;
1973
+ url: string;
1974
+ };
1975
+ configurableOptions: {
1976
+ Size: string;
1977
+ Color: string;
1978
+ };
1979
+ bundleOptions: null;
1980
+ itemPrices: {
1981
+ priceIncludingTax: {
1982
+ value: number;
1983
+ currency: string;
1984
+ };
1985
+ originalPrice: {
1986
+ value: number;
1987
+ currency: string;
1988
+ };
1989
+ originalPriceIncludingTax: {
1990
+ value: number;
1991
+ currency: string;
1992
+ };
1993
+ price: {
1994
+ value: number;
1995
+ currency: string;
1996
+ };
1997
+ };
1998
+ downloadableLinks: null;
1999
+ })[];
2000
+ tracking: never[];
2001
+ }[];
2002
+ itemsEligibleForReturn: ({
2003
+ type: string;
2004
+ eligibleForReturn: boolean;
2005
+ productSku: string;
2006
+ productName: string;
2007
+ productUrlKey: string;
2008
+ quantityCanceled: number;
2009
+ quantityInvoiced: number;
2010
+ quantityOrdered: number;
2011
+ quantityRefunded: number;
2012
+ quantityReturned: number;
2013
+ quantityShipped: number;
2014
+ id: string;
2015
+ discounted: boolean;
2016
+ total: {
2017
+ value: number;
2018
+ currency: string;
2019
+ };
2020
+ totalInclTax: {
2021
+ value: number;
2022
+ currency: string;
2023
+ };
2024
+ price: {
2025
+ value: number;
2026
+ currency: string;
2027
+ };
2028
+ priceInclTax: {
2029
+ value: number;
2030
+ currency: string;
2031
+ };
2032
+ totalQuantity: number;
2033
+ regularPrice: {
2034
+ value: number;
2035
+ currency: string;
2036
+ };
2037
+ product: {
2038
+ __typename: string;
2039
+ canonicalUrl: string;
2040
+ urlKey: string;
2041
+ uid: string;
2042
+ name: string;
2043
+ sku: string;
2044
+ onlyXLeftInStock: null;
2045
+ stockStatus: string;
2046
+ thumbnail: {
2047
+ label: string;
2048
+ url: string;
2049
+ };
2050
+ priceRange: {
2051
+ maximumPrice: {
2052
+ regularPrice: {
2053
+ currency: string;
2054
+ value: number;
2055
+ };
2056
+ };
2057
+ };
2058
+ id: string;
2059
+ image: string;
2060
+ productType: string;
2061
+ };
2062
+ thumbnail: {
2063
+ label: string;
2064
+ url: string;
2065
+ };
2066
+ configurableOptions: {
2067
+ Color?: undefined;
2068
+ Size?: undefined;
2069
+ };
2070
+ bundleOptions: null;
2071
+ itemPrices: {
2072
+ priceIncludingTax: {
2073
+ value: number;
2074
+ currency: string;
2075
+ };
2076
+ originalPrice: {
2077
+ value: number;
2078
+ currency: string;
2079
+ };
2080
+ originalPriceIncludingTax: {
2081
+ value: number;
2082
+ currency: string;
2083
+ };
2084
+ price: {
2085
+ value: number;
2086
+ currency: string;
2087
+ };
2088
+ };
2089
+ downloadableLinks: null;
2090
+ } | {
2091
+ type: string;
2092
+ eligibleForReturn: boolean;
2093
+ productSku: string;
2094
+ productName: string;
2095
+ productUrlKey: string;
2096
+ quantityCanceled: number;
2097
+ quantityInvoiced: number;
2098
+ quantityOrdered: number;
2099
+ quantityRefunded: number;
2100
+ quantityReturned: number;
2101
+ quantityShipped: number;
2102
+ id: string;
2103
+ discounted: boolean;
2104
+ total: {
2105
+ value: number;
2106
+ currency: string;
2107
+ };
2108
+ totalInclTax: {
2109
+ value: number;
2110
+ currency: string;
2111
+ };
2112
+ price: {
2113
+ value: number;
2114
+ currency: string;
2115
+ };
2116
+ priceInclTax: {
2117
+ value: number;
2118
+ currency: string;
2119
+ };
2120
+ totalQuantity: number;
2121
+ regularPrice: {
2122
+ value: number;
2123
+ currency: string;
2124
+ };
2125
+ product: {
2126
+ __typename: string;
2127
+ canonicalUrl: string;
2128
+ urlKey: string;
2129
+ uid: string;
2130
+ name: string;
2131
+ sku: string;
2132
+ onlyXLeftInStock: null;
2133
+ stockStatus: string;
2134
+ thumbnail: {
2135
+ label: string;
2136
+ url: string;
2137
+ };
2138
+ priceRange: {
2139
+ maximumPrice: {
2140
+ regularPrice: {
2141
+ currency: string;
2142
+ value: number;
2143
+ };
2144
+ };
2145
+ };
2146
+ id: string;
2147
+ image: string;
2148
+ productType: string;
2149
+ };
2150
+ thumbnail: {
2151
+ label: string;
2152
+ url: string;
2153
+ };
2154
+ configurableOptions: {
2155
+ Color: string;
2156
+ Size: string;
2157
+ };
2158
+ bundleOptions: null;
2159
+ itemPrices: {
2160
+ priceIncludingTax: {
2161
+ value: number;
2162
+ currency: string;
2163
+ };
2164
+ originalPrice: {
2165
+ value: number;
2166
+ currency: string;
2167
+ };
2168
+ originalPriceIncludingTax: {
2169
+ value: number;
2170
+ currency: string;
2171
+ };
2172
+ price: {
2173
+ value: number;
2174
+ currency: string;
2175
+ };
2176
+ };
2177
+ downloadableLinks: null;
2178
+ } | {
2179
+ type: string;
2180
+ eligibleForReturn: boolean;
2181
+ productSku: string;
2182
+ productName: string;
2183
+ productUrlKey: string;
2184
+ quantityCanceled: number;
2185
+ quantityInvoiced: number;
2186
+ quantityOrdered: number;
2187
+ quantityRefunded: number;
2188
+ quantityReturned: number;
2189
+ quantityShipped: number;
2190
+ id: string;
2191
+ discounted: boolean;
2192
+ total: {
2193
+ value: number;
2194
+ currency: string;
2195
+ };
2196
+ totalInclTax: {
2197
+ value: number;
2198
+ currency: string;
2199
+ };
2200
+ price: {
2201
+ value: number;
2202
+ currency: string;
2203
+ };
2204
+ priceInclTax: {
2205
+ value: number;
2206
+ currency: string;
2207
+ };
2208
+ totalQuantity: number;
2209
+ regularPrice: {
2210
+ value: number;
2211
+ currency: string;
2212
+ };
2213
+ product: {
2214
+ __typename: string;
2215
+ canonicalUrl: string;
2216
+ urlKey: string;
2217
+ uid: string;
2218
+ name: string;
2219
+ sku: string;
2220
+ onlyXLeftInStock: null;
2221
+ stockStatus: string;
2222
+ thumbnail: {
2223
+ label: string;
2224
+ url: string;
2225
+ };
2226
+ priceRange: {
2227
+ maximumPrice: {
2228
+ regularPrice: {
2229
+ currency: string;
2230
+ value: number;
2231
+ };
2232
+ };
2233
+ };
2234
+ id: string;
2235
+ image: string;
2236
+ productType: string;
2237
+ };
2238
+ thumbnail: {
2239
+ label: string;
2240
+ url: string;
2241
+ };
2242
+ configurableOptions: {
2243
+ Color?: undefined;
2244
+ Size?: undefined;
2245
+ };
2246
+ bundleOptions: {
2247
+ 'Sprite Stasis Ball': string;
2248
+ 'Sprite Foam Yoga Brick': string;
2249
+ 'Sprite Yoga Strap': string;
2250
+ 'Sprite Foam Roller': string;
2251
+ };
2252
+ itemPrices: {
2253
+ priceIncludingTax: {
2254
+ value: number;
2255
+ currency: string;
2256
+ };
2257
+ originalPrice: {
2258
+ value: number;
2259
+ currency: string;
2260
+ };
2261
+ originalPriceIncludingTax: {
2262
+ value: number;
2263
+ currency: string;
2264
+ };
2265
+ price: {
2266
+ value: number;
2267
+ currency: string;
2268
+ };
2269
+ };
2270
+ downloadableLinks: null;
2271
+ })[];
2272
+ coupons: never[];
2273
+ shipments: {
2274
+ id: string;
2275
+ number: string;
2276
+ tracking: never[];
2277
+ comments: never[];
2278
+ items: {
2279
+ id: string;
2280
+ productSku: string;
2281
+ productName: string;
2282
+ orderItem: {
2283
+ __typename: string;
2284
+ status: string;
2285
+ productSku: string;
2286
+ eligibleForReturn: boolean;
2287
+ productName: string;
2288
+ productUrlKey: string;
2289
+ id: string;
2290
+ quantityOrdered: number;
2291
+ quantityShipped: number;
2292
+ quantityCanceled: number;
2293
+ quantityInvoiced: number;
2294
+ quantityRefunded: number;
2295
+ productSalePrice: {
2296
+ value: number;
2297
+ currency: string;
2298
+ };
2299
+ selectedOptions: {
2300
+ label: string;
2301
+ value: string;
2302
+ }[];
2303
+ product: {
2304
+ __typename: string;
2305
+ canonicalUrl: null;
2306
+ urlKey: string;
2307
+ uid: string;
2308
+ name: string;
2309
+ sku: string;
2310
+ onlyXLeftInStock: null;
2311
+ stockStatus: string;
2312
+ thumbnail: {
2313
+ label: string;
2314
+ url: string;
2315
+ };
2316
+ priceRange: {
2317
+ maximumPrice: {
2318
+ regularPrice: {
2319
+ currency: string;
2320
+ value: number;
2321
+ };
2322
+ };
2323
+ };
2324
+ };
2325
+ prices: {
2326
+ priceIncludingTax: {
2327
+ value: number;
2328
+ currency: string;
2329
+ };
2330
+ originalPrice: {
2331
+ value: number;
2332
+ currency: string;
2333
+ };
2334
+ originalPriceIncludingTax: {
2335
+ value: number;
2336
+ currency: string;
2337
+ };
2338
+ price: {
2339
+ value: number;
2340
+ currency: string;
2341
+ };
2342
+ };
2343
+ };
2344
+ }[];
2345
+ }[];
2346
+ payments: {
2347
+ code: string;
2348
+ name: string;
2349
+ }[];
2350
+ shippingAddress: {
2351
+ city: string;
2352
+ company: null;
2353
+ countryCode: string;
2354
+ fax: null;
2355
+ firstName: string;
2356
+ lastName: string;
2357
+ middleName: null;
2358
+ postCode: string;
2359
+ prefix: null;
2360
+ region: string;
2361
+ regionId: string;
2362
+ street: string[];
2363
+ suffix: null;
2364
+ telephone: string;
2365
+ vatId: string;
2366
+ };
2367
+ billingAddress: {
2368
+ city: string;
2369
+ company: null;
2370
+ countryCode: string;
2371
+ fax: null;
2372
+ firstName: string;
2373
+ lastName: string;
2374
+ middleName: null;
2375
+ postCode: string;
2376
+ prefix: null;
2377
+ region: string;
2378
+ regionId: string;
2379
+ street: string[];
2380
+ suffix: null;
2381
+ telephone: string;
2382
+ vatId: string;
2383
+ };
2384
+ items: ({
2385
+ type: string;
2386
+ eligibleForReturn: boolean;
2387
+ productSku: string;
2388
+ productName: string;
2389
+ productUrlKey: string;
2390
+ quantityCanceled: number;
2391
+ quantityInvoiced: number;
2392
+ quantityOrdered: number;
2393
+ quantityRefunded: number;
2394
+ quantityReturned: number;
2395
+ quantityShipped: number;
2396
+ id: string;
2397
+ discounted: boolean;
2398
+ total: {
2399
+ value: number;
2400
+ currency: string;
2401
+ };
2402
+ totalInclTax: {
2403
+ value: number;
2404
+ currency: string;
2405
+ };
2406
+ price: {
2407
+ value: number;
2408
+ currency: string;
2409
+ };
2410
+ priceInclTax: {
2411
+ value: number;
2412
+ currency: string;
2413
+ };
2414
+ totalQuantity: number;
2415
+ regularPrice: {
2416
+ value: number;
2417
+ currency: string;
2418
+ };
2419
+ product: {
2420
+ __typename: string;
2421
+ canonicalUrl: string;
2422
+ urlKey: string;
2423
+ uid: string;
2424
+ name: string;
2425
+ sku: string;
2426
+ onlyXLeftInStock: null;
2427
+ stockStatus: string;
2428
+ thumbnail: {
2429
+ label: string;
2430
+ url: string;
2431
+ };
2432
+ priceRange: {
2433
+ maximumPrice: {
2434
+ regularPrice: {
2435
+ currency: string;
2436
+ value: number;
2437
+ };
2438
+ };
2439
+ };
2440
+ id: string;
2441
+ image: string;
2442
+ productType: string;
2443
+ };
2444
+ thumbnail: {
2445
+ label: string;
2446
+ url: string;
2447
+ };
2448
+ configurableOptions: {
2449
+ Color?: undefined;
2450
+ Size?: undefined;
2451
+ };
2452
+ bundleOptions: null;
2453
+ itemPrices: {
2454
+ priceIncludingTax: {
2455
+ value: number;
2456
+ currency: string;
2457
+ };
2458
+ originalPrice: {
2459
+ value: number;
2460
+ currency: string;
2461
+ };
2462
+ originalPriceIncludingTax: {
2463
+ value: number;
2464
+ currency: string;
2465
+ };
2466
+ price: {
2467
+ value: number;
2468
+ currency: string;
2469
+ };
2470
+ };
2471
+ downloadableLinks: null;
2472
+ } | {
2473
+ type: string;
2474
+ eligibleForReturn: boolean;
2475
+ productSku: string;
2476
+ productName: string;
2477
+ productUrlKey: string;
2478
+ quantityCanceled: number;
2479
+ quantityInvoiced: number;
2480
+ quantityOrdered: number;
2481
+ quantityRefunded: number;
2482
+ quantityReturned: number;
2483
+ quantityShipped: number;
2484
+ id: string;
2485
+ discounted: boolean;
2486
+ total: {
2487
+ value: number;
2488
+ currency: string;
2489
+ };
2490
+ totalInclTax: {
2491
+ value: number;
2492
+ currency: string;
2493
+ };
2494
+ price: {
2495
+ value: number;
2496
+ currency: string;
2497
+ };
2498
+ priceInclTax: {
2499
+ value: number;
2500
+ currency: string;
2501
+ };
2502
+ totalQuantity: number;
2503
+ regularPrice: {
2504
+ value: number;
2505
+ currency: string;
2506
+ };
2507
+ product: {
2508
+ __typename: string;
2509
+ canonicalUrl: string;
2510
+ urlKey: string;
2511
+ uid: string;
2512
+ name: string;
2513
+ sku: string;
2514
+ onlyXLeftInStock: null;
2515
+ stockStatus: string;
2516
+ thumbnail: {
2517
+ label: string;
2518
+ url: string;
2519
+ };
2520
+ priceRange: {
2521
+ maximumPrice: {
2522
+ regularPrice: {
2523
+ currency: string;
2524
+ value: number;
2525
+ };
2526
+ };
2527
+ };
2528
+ id: string;
2529
+ image: string;
2530
+ productType: string;
2531
+ };
2532
+ thumbnail: {
2533
+ label: string;
2534
+ url: string;
2535
+ };
2536
+ configurableOptions: {
2537
+ Color: string;
2538
+ Size: string;
2539
+ };
2540
+ bundleOptions: null;
2541
+ itemPrices: {
2542
+ priceIncludingTax: {
2543
+ value: number;
2544
+ currency: string;
2545
+ };
2546
+ originalPrice: {
2547
+ value: number;
2548
+ currency: string;
2549
+ };
2550
+ originalPriceIncludingTax: {
2551
+ value: number;
2552
+ currency: string;
2553
+ };
2554
+ price: {
2555
+ value: number;
2556
+ currency: string;
2557
+ };
2558
+ };
2559
+ downloadableLinks: null;
2560
+ } | {
2561
+ type: string;
2562
+ eligibleForReturn: boolean;
2563
+ productSku: string;
2564
+ productName: string;
2565
+ productUrlKey: string;
2566
+ quantityCanceled: number;
2567
+ quantityInvoiced: number;
2568
+ quantityOrdered: number;
2569
+ quantityRefunded: number;
2570
+ quantityReturned: number;
2571
+ quantityShipped: number;
2572
+ id: string;
2573
+ discounted: boolean;
2574
+ total: {
2575
+ value: number;
2576
+ currency: string;
2577
+ };
2578
+ totalInclTax: {
2579
+ value: number;
2580
+ currency: string;
2581
+ };
2582
+ price: {
2583
+ value: number;
2584
+ currency: string;
2585
+ };
2586
+ priceInclTax: {
2587
+ value: number;
2588
+ currency: string;
2589
+ };
2590
+ totalQuantity: number;
2591
+ regularPrice: {
2592
+ value: number;
2593
+ currency: string;
2594
+ };
2595
+ product: {
2596
+ __typename: string;
2597
+ canonicalUrl: string;
2598
+ urlKey: string;
2599
+ uid: string;
2600
+ name: string;
2601
+ sku: string;
2602
+ onlyXLeftInStock: null;
2603
+ stockStatus: string;
2604
+ thumbnail: {
2605
+ label: string;
2606
+ url: string;
2607
+ };
2608
+ priceRange: {
2609
+ maximumPrice: {
2610
+ regularPrice: {
2611
+ currency: string;
2612
+ value: number;
2613
+ };
2614
+ };
2615
+ };
2616
+ id: string;
2617
+ image: string;
2618
+ productType: string;
2619
+ };
2620
+ thumbnail: {
2621
+ label: string;
2622
+ url: string;
2623
+ };
2624
+ configurableOptions: {
2625
+ Color?: undefined;
2626
+ Size?: undefined;
2627
+ };
2628
+ bundleOptions: {
2629
+ 'Sprite Stasis Ball': string;
2630
+ 'Sprite Foam Yoga Brick': string;
2631
+ 'Sprite Yoga Strap': string;
2632
+ 'Sprite Foam Roller': string;
2633
+ };
2634
+ itemPrices: {
2635
+ priceIncludingTax: {
2636
+ value: number;
2637
+ currency: string;
2638
+ };
2639
+ originalPrice: {
2640
+ value: number;
2641
+ currency: string;
2642
+ };
2643
+ originalPriceIncludingTax: {
2644
+ value: number;
2645
+ currency: string;
2646
+ };
2647
+ price: {
2648
+ value: number;
2649
+ currency: string;
2650
+ };
2651
+ };
2652
+ downloadableLinks: null;
2653
+ })[];
2654
+ itemsEligibleForReturn2: ({
2655
+ type: string;
2656
+ eligibleForReturn: boolean;
2657
+ productSku: string;
2658
+ productName: string;
2659
+ productUrlKey: string;
2660
+ quantityCanceled: number;
2661
+ quantityInvoiced: number;
2662
+ quantityOrdered: number;
2663
+ quantityRefunded: number;
2664
+ quantityReturned: number;
2665
+ quantityShipped: number;
2666
+ id: string;
2667
+ discounted: boolean;
2668
+ total: {
2669
+ value: number;
2670
+ currency: string;
2671
+ };
2672
+ totalInclTax: {
2673
+ value: number;
2674
+ currency: string;
2675
+ };
2676
+ price: {
2677
+ value: number;
2678
+ currency: string;
2679
+ };
2680
+ priceInclTax: {
2681
+ value: number;
2682
+ currency: string;
2683
+ };
2684
+ totalQuantity: number;
2685
+ regularPrice: {
2686
+ value: number;
2687
+ currency: string;
2688
+ };
2689
+ product: {
2690
+ __typename: string;
2691
+ canonicalUrl: string;
2692
+ urlKey: string;
2693
+ uid: string;
2694
+ name: string;
2695
+ sku: string;
2696
+ onlyXLeftInStock: null;
2697
+ stockStatus: string;
2698
+ thumbnail: {
2699
+ label: string;
2700
+ url: string;
2701
+ };
2702
+ priceRange: {
2703
+ maximumPrice: {
2704
+ regularPrice: {
2705
+ currency: string;
2706
+ value: number;
2707
+ };
2708
+ };
2709
+ };
2710
+ id: string;
2711
+ image: string;
2712
+ productType: string;
2713
+ };
2714
+ thumbnail: {
2715
+ label: string;
2716
+ url: string;
2717
+ };
2718
+ configurableOptions: {
2719
+ Color?: undefined;
2720
+ Size?: undefined;
2721
+ };
2722
+ bundleOptions: null;
2723
+ itemPrices: {
2724
+ priceIncludingTax: {
2725
+ value: number;
2726
+ currency: string;
2727
+ };
2728
+ originalPrice: {
2729
+ value: number;
2730
+ currency: string;
2731
+ };
2732
+ originalPriceIncludingTax: {
2733
+ value: number;
2734
+ currency: string;
2735
+ };
2736
+ price: {
2737
+ value: number;
2738
+ currency: string;
2739
+ };
2740
+ };
2741
+ downloadableLinks: null;
2742
+ } | {
2743
+ type: string;
2744
+ eligibleForReturn: boolean;
2745
+ productSku: string;
2746
+ productName: string;
2747
+ productUrlKey: string;
2748
+ quantityCanceled: number;
2749
+ quantityInvoiced: number;
2750
+ quantityOrdered: number;
2751
+ quantityRefunded: number;
2752
+ quantityReturned: number;
2753
+ quantityShipped: number;
2754
+ id: string;
2755
+ discounted: boolean;
2756
+ total: {
2757
+ value: number;
2758
+ currency: string;
2759
+ };
2760
+ totalInclTax: {
2761
+ value: number;
2762
+ currency: string;
2763
+ };
2764
+ price: {
2765
+ value: number;
2766
+ currency: string;
2767
+ };
2768
+ priceInclTax: {
2769
+ value: number;
2770
+ currency: string;
2771
+ };
2772
+ totalQuantity: number;
2773
+ regularPrice: {
2774
+ value: number;
2775
+ currency: string;
2776
+ };
2777
+ product: {
2778
+ __typename: string;
2779
+ canonicalUrl: string;
2780
+ urlKey: string;
2781
+ uid: string;
2782
+ name: string;
2783
+ sku: string;
2784
+ onlyXLeftInStock: null;
2785
+ stockStatus: string;
2786
+ thumbnail: {
2787
+ label: string;
2788
+ url: string;
2789
+ };
2790
+ priceRange: {
2791
+ maximumPrice: {
2792
+ regularPrice: {
2793
+ currency: string;
2794
+ value: number;
2795
+ };
2796
+ };
2797
+ };
2798
+ id: string;
2799
+ image: string;
2800
+ productType: string;
2801
+ };
2802
+ thumbnail: {
2803
+ label: string;
2804
+ url: string;
2805
+ };
2806
+ configurableOptions: {
2807
+ Color: string;
2808
+ Size: string;
2809
+ };
2810
+ bundleOptions: null;
2811
+ itemPrices: {
2812
+ priceIncludingTax: {
2813
+ value: number;
2814
+ currency: string;
2815
+ };
2816
+ originalPrice: {
2817
+ value: number;
2818
+ currency: string;
2819
+ };
2820
+ originalPriceIncludingTax: {
2821
+ value: number;
2822
+ currency: string;
2823
+ };
2824
+ price: {
2825
+ value: number;
2826
+ currency: string;
2827
+ };
2828
+ };
2829
+ downloadableLinks: null;
2830
+ } | {
2831
+ type: string;
2832
+ eligibleForReturn: boolean;
2833
+ productSku: string;
2834
+ productName: string;
2835
+ productUrlKey: string;
2836
+ quantityCanceled: number;
2837
+ quantityInvoiced: number;
2838
+ quantityOrdered: number;
2839
+ quantityRefunded: number;
2840
+ quantityReturned: number;
2841
+ quantityShipped: number;
2842
+ id: string;
2843
+ discounted: boolean;
2844
+ total: {
2845
+ value: number;
2846
+ currency: string;
2847
+ };
2848
+ totalInclTax: {
2849
+ value: number;
2850
+ currency: string;
2851
+ };
2852
+ price: {
2853
+ value: number;
2854
+ currency: string;
2855
+ };
2856
+ priceInclTax: {
2857
+ value: number;
2858
+ currency: string;
2859
+ };
2860
+ totalQuantity: number;
2861
+ regularPrice: {
2862
+ value: number;
2863
+ currency: string;
2864
+ };
2865
+ product: {
2866
+ __typename: string;
2867
+ canonicalUrl: string;
2868
+ urlKey: string;
2869
+ uid: string;
2870
+ name: string;
2871
+ sku: string;
2872
+ onlyXLeftInStock: null;
2873
+ stockStatus: string;
2874
+ thumbnail: {
2875
+ label: string;
2876
+ url: string;
2877
+ };
2878
+ priceRange: {
2879
+ maximumPrice: {
2880
+ regularPrice: {
2881
+ currency: string;
2882
+ value: number;
2883
+ };
2884
+ };
2885
+ };
2886
+ id: string;
2887
+ image: string;
2888
+ productType: string;
2889
+ };
2890
+ thumbnail: {
2891
+ label: string;
2892
+ url: string;
2893
+ };
2894
+ configurableOptions: {
2895
+ Color?: undefined;
2896
+ Size?: undefined;
2897
+ };
2898
+ bundleOptions: {
2899
+ 'Sprite Stasis Ball': string;
2900
+ 'Sprite Foam Yoga Brick': string;
2901
+ 'Sprite Yoga Strap': string;
2902
+ 'Sprite Foam Roller': string;
2903
+ };
2904
+ itemPrices: {
2905
+ priceIncludingTax: {
2906
+ value: number;
2907
+ currency: string;
2908
+ };
2909
+ originalPrice: {
2910
+ value: number;
2911
+ currency: string;
2912
+ };
2913
+ originalPriceIncludingTax: {
2914
+ value: number;
2915
+ currency: string;
2916
+ };
2917
+ price: {
2918
+ value: number;
2919
+ currency: string;
2920
+ };
2921
+ };
2922
+ downloadableLinks: null;
2923
+ })[];
2924
+ totalQuantity: number;
2925
+ shipping: {
2926
+ amount: number;
2927
+ currency: string;
2928
+ code: string;
2929
+ };
2930
+ returnNumber: string;
2931
+ };
2932
+ export declare const shippingStatusCardDataMock: {
2933
+ email: string;
2934
+ availableActions: string[];
2935
+ status: string;
2936
+ number: string;
2937
+ id: string;
2938
+ returns: never[];
2939
+ itemsEligibleForReturn: never[];
2940
+ coupons: never[];
2941
+ shipments: {
2942
+ id: string;
2943
+ tracking: {
2944
+ number: number;
2945
+ carrier: string;
2946
+ title: string;
2947
+ }[];
2948
+ comments: never[];
2949
+ items: {
2950
+ id: string;
2951
+ productSku: string;
2952
+ productName: string;
2953
+ orderItem: {
2954
+ __typename: string;
2955
+ status: string;
2956
+ productSku: string;
2957
+ eligibleForReturn: boolean;
2958
+ productName: string;
2959
+ productUrlKey: string;
2960
+ id: string;
2961
+ quantityOrdered: number;
2962
+ quantityShipped: null;
2963
+ quantityCanceled: number;
2964
+ quantityInvoiced: number;
2965
+ quantityRefunded: number;
2966
+ quantityReturnRequested: number;
2967
+ productSalePrice: {
2968
+ value: number;
2969
+ currency: string;
2970
+ };
2971
+ selectedOptions: never[];
2972
+ product: {
2973
+ __typename: string;
2974
+ canonicalUrl: null;
2975
+ urlKey: string;
2976
+ uid: string;
2977
+ name: string;
2978
+ sku: string;
2979
+ onlyXLeftInStock: null;
2980
+ stockStatus: string;
2981
+ thumbnail: {
2982
+ label: string;
2983
+ url: null;
2984
+ };
2985
+ priceRange: {
2986
+ maximumPrice: {
2987
+ regularPrice: {
2988
+ currency: string;
2989
+ value: number;
2990
+ };
2991
+ };
2992
+ };
2993
+ };
2994
+ prices: {
2995
+ priceIncludingTax: {
2996
+ value: number;
2997
+ currency: string;
2998
+ };
2999
+ originalPrice: {
3000
+ value: number;
3001
+ currency: string;
3002
+ };
3003
+ originalPriceIncludingTax: {
3004
+ value: number;
3005
+ currency: string;
3006
+ };
3007
+ price: {
3008
+ value: number;
3009
+ currency: string;
3010
+ };
3011
+ };
3012
+ };
3013
+ }[];
3014
+ }[];
3015
+ items: {
3016
+ type: string;
3017
+ eligibleForReturn: boolean;
3018
+ productSku: string;
3019
+ productName: string;
3020
+ productUrlKey: string;
3021
+ quantityCanceled: number;
3022
+ quantityInvoiced: number;
3023
+ quantityOrdered: number;
3024
+ quantityRefunded: number;
3025
+ quantityReturned: number;
3026
+ quantityShipped: null;
3027
+ quantityReturnRequested: number;
3028
+ id: string;
3029
+ product: {
3030
+ __typename: string;
3031
+ canonicalUrl: string;
3032
+ urlKey: string;
3033
+ uid: string;
3034
+ name: string;
3035
+ sku: string;
3036
+ onlyXLeftInStock: null;
3037
+ stockStatus: string;
3038
+ thumbnail: {
3039
+ label: string;
3040
+ url: null;
3041
+ };
3042
+ priceRange: {
3043
+ maximumPrice: {
3044
+ regularPrice: {
3045
+ currency: string;
3046
+ value: number;
3047
+ };
3048
+ };
3049
+ };
3050
+ id: string;
3051
+ image: string;
3052
+ productType: string;
3053
+ };
3054
+ thumbnail: {
3055
+ label: string;
3056
+ url: null;
3057
+ };
3058
+ configurableOptions: {};
3059
+ bundleOptions: null;
3060
+ downloadableLinks: null;
3061
+ }[];
3062
+ returnNumber: string;
3063
+ };
3064
+ export declare const customerReturnDetailsFullMock: {
3065
+ order: {
3066
+ grandTotal: {
3067
+ value: number;
3068
+ currency: string;
3069
+ };
3070
+ totalGiftcard: {
3071
+ currency: string;
3072
+ value: number;
3073
+ };
3074
+ subtotal: {
3075
+ currency: string;
3076
+ value: number;
3077
+ };
3078
+ taxes: {
3079
+ amount: {
3080
+ currency: string;
3081
+ value: number;
3082
+ };
3083
+ rate: number;
3084
+ title: string;
3085
+ }[];
3086
+ totalTax: {
3087
+ currency: string;
3088
+ value: number;
3089
+ };
3090
+ totalShipping: {
3091
+ currency: string;
3092
+ value: number;
3093
+ };
3094
+ discounts: {
3095
+ amount: {
3096
+ currency: string;
3097
+ value: number;
3098
+ };
3099
+ label: string;
3100
+ }[];
3101
+ email: string;
3102
+ availableActions: string[];
3103
+ status: string;
3104
+ number: string;
3105
+ id: string;
3106
+ orderDate: string;
3107
+ orderStatusChangeDate: string;
3108
+ carrier: string;
3109
+ shippingMethod: string;
3110
+ isVirtual: boolean;
3111
+ returns: {
3112
+ createdReturnAt: string;
3113
+ returnStatus: string;
3114
+ token: string;
3115
+ orderNumber: string;
3116
+ returnNumber: string;
3117
+ items: ({
3118
+ uid: string;
3119
+ quantity: number;
3120
+ status: string;
3121
+ requestQuantity: number;
3122
+ type: string;
3123
+ eligibleForReturn: boolean;
3124
+ productSku: string;
3125
+ productName: string;
3126
+ productUrlKey: string;
3127
+ quantityCanceled: number;
3128
+ quantityInvoiced: number;
3129
+ quantityOrdered: number;
3130
+ quantityRefunded: number;
3131
+ quantityReturned: number;
3132
+ quantityShipped: number;
3133
+ quantityReturnRequested: number;
3134
+ id: string;
3135
+ discounted: boolean;
3136
+ total: {
3137
+ value: number;
3138
+ currency: string;
3139
+ };
3140
+ totalInclTax: {
3141
+ value: number;
3142
+ currency: string;
3143
+ };
3144
+ price: {
3145
+ value: number;
3146
+ currency: string;
3147
+ };
3148
+ priceInclTax: {
3149
+ value: number;
3150
+ currency: string;
3151
+ };
3152
+ totalQuantity: number;
3153
+ regularPrice: {
3154
+ value: number;
3155
+ currency: string;
3156
+ };
3157
+ product: {
3158
+ __typename: string;
3159
+ canonicalUrl: string;
3160
+ urlKey: string;
3161
+ uid: string;
3162
+ name: string;
3163
+ sku: string;
3164
+ onlyXLeftInStock: null;
3165
+ stockStatus: string;
3166
+ thumbnail: {
3167
+ label: string;
3168
+ url: string;
3169
+ };
3170
+ priceRange: {
3171
+ maximumPrice: {
3172
+ regularPrice: {
3173
+ currency: string;
3174
+ value: number;
3175
+ };
3176
+ };
3177
+ };
3178
+ id: string;
3179
+ image: string;
3180
+ productType: string;
3181
+ };
3182
+ thumbnail: {
3183
+ label: string;
3184
+ url: string;
3185
+ };
3186
+ configurableOptions: {
3187
+ Size?: undefined;
3188
+ Color?: undefined;
3189
+ };
3190
+ bundleOptions: null;
3191
+ itemPrices: {
3192
+ priceIncludingTax: {
3193
+ value: number;
3194
+ currency: string;
3195
+ };
3196
+ originalPrice: {
3197
+ value: number;
3198
+ currency: string;
3199
+ };
3200
+ originalPriceIncludingTax: {
3201
+ value: number;
3202
+ currency: string;
3203
+ };
3204
+ price: {
3205
+ value: number;
3206
+ currency: string;
3207
+ };
3208
+ };
3209
+ downloadableLinks: null;
3210
+ } | {
3211
+ uid: string;
3212
+ quantity: number;
3213
+ status: string;
3214
+ requestQuantity: number;
3215
+ type: string;
3216
+ eligibleForReturn: boolean;
3217
+ productSku: string;
3218
+ productName: string;
3219
+ productUrlKey: string;
3220
+ quantityCanceled: number;
3221
+ quantityInvoiced: number;
3222
+ quantityOrdered: number;
3223
+ quantityRefunded: number;
3224
+ quantityReturned: number;
3225
+ quantityShipped: number;
3226
+ quantityReturnRequested: number;
3227
+ id: string;
3228
+ discounted: boolean;
3229
+ total: {
3230
+ value: number;
3231
+ currency: string;
3232
+ };
3233
+ totalInclTax: {
3234
+ value: number;
3235
+ currency: string;
3236
+ };
3237
+ price: {
3238
+ value: number;
3239
+ currency: string;
3240
+ };
3241
+ priceInclTax: {
3242
+ value: number;
3243
+ currency: string;
3244
+ };
3245
+ totalQuantity: number;
3246
+ regularPrice: {
3247
+ value: number;
3248
+ currency: string;
3249
+ };
3250
+ product: {
3251
+ __typename: string;
3252
+ canonicalUrl: string;
3253
+ urlKey: string;
3254
+ uid: string;
3255
+ name: string;
3256
+ sku: string;
3257
+ onlyXLeftInStock: null;
3258
+ stockStatus: string;
3259
+ thumbnail: {
3260
+ label: string;
3261
+ url: string;
3262
+ };
3263
+ priceRange: {
3264
+ maximumPrice: {
3265
+ regularPrice: {
3266
+ currency: string;
3267
+ value: number;
3268
+ };
3269
+ };
3270
+ };
3271
+ id: string;
3272
+ image: string;
3273
+ productType: string;
3274
+ };
3275
+ thumbnail: {
3276
+ label: string;
3277
+ url: string;
3278
+ };
3279
+ configurableOptions: {
3280
+ Size: string;
3281
+ Color: string;
3282
+ };
3283
+ bundleOptions: null;
3284
+ itemPrices: {
3285
+ priceIncludingTax: {
3286
+ value: number;
3287
+ currency: string;
3288
+ };
3289
+ originalPrice: {
3290
+ value: number;
3291
+ currency: string;
3292
+ };
3293
+ originalPriceIncludingTax: {
3294
+ value: number;
3295
+ currency: string;
3296
+ };
3297
+ price: {
3298
+ value: number;
3299
+ currency: string;
3300
+ };
3301
+ };
3302
+ downloadableLinks: null;
3303
+ })[];
3304
+ tracking: {
3305
+ status: null;
3306
+ carrier: {
3307
+ uid: string;
3308
+ label: string;
3309
+ };
3310
+ trackingNumber: string;
3311
+ }[];
3312
+ }[];
3313
+ itemsEligibleForReturn: {
3314
+ __typename: string;
3315
+ status: string;
3316
+ productSku: string;
3317
+ eligibleForReturn: boolean;
3318
+ productName: string;
3319
+ productUrlKey: string;
3320
+ id: string;
3321
+ quantityOrdered: number;
3322
+ quantityShipped: number;
3323
+ quantityCanceled: number;
3324
+ quantityInvoiced: number;
3325
+ quantityRefunded: number;
3326
+ quantityReturnRequested: number;
3327
+ productSalePrice: {
3328
+ value: number;
3329
+ currency: string;
3330
+ };
3331
+ selectedOptions: {
3332
+ label: string;
3333
+ value: string;
3334
+ }[];
3335
+ product: {
3336
+ __typename: string;
3337
+ canonicalUrl: null;
3338
+ urlKey: string;
3339
+ uid: string;
3340
+ name: string;
3341
+ sku: string;
3342
+ onlyXLeftInStock: null;
3343
+ stockStatus: string;
3344
+ thumbnail: {
3345
+ label: string;
3346
+ url: string;
3347
+ };
3348
+ priceRange: {
3349
+ maximumPrice: {
3350
+ regularPrice: {
3351
+ currency: string;
3352
+ value: number;
3353
+ };
3354
+ };
3355
+ };
3356
+ };
3357
+ prices: {
3358
+ priceIncludingTax: {
3359
+ value: number;
3360
+ currency: string;
3361
+ };
3362
+ originalPrice: {
3363
+ value: number;
3364
+ currency: string;
3365
+ };
3366
+ originalPriceIncludingTax: {
3367
+ value: number;
3368
+ currency: string;
3369
+ };
3370
+ price: {
3371
+ value: number;
3372
+ currency: string;
3373
+ };
3374
+ };
3375
+ }[];
3376
+ coupons: never[];
3377
+ shipments: {
3378
+ id: string;
3379
+ number: string;
3380
+ tracking: {
3381
+ title: string;
3382
+ number: string;
3383
+ carrier: string;
3384
+ }[];
3385
+ comments: never[];
3386
+ items: {
3387
+ id: string;
3388
+ productSku: string;
3389
+ productName: string;
3390
+ orderItem: {
3391
+ __typename: string;
3392
+ status: string;
3393
+ productSku: string;
3394
+ eligibleForReturn: boolean;
3395
+ productName: string;
3396
+ productUrlKey: string;
3397
+ id: string;
3398
+ quantityOrdered: number;
3399
+ quantityShipped: number;
3400
+ quantityCanceled: number;
3401
+ quantityInvoiced: number;
3402
+ quantityRefunded: number;
3403
+ quantityReturnRequested: number;
3404
+ productSalePrice: {
3405
+ value: number;
3406
+ currency: string;
3407
+ };
3408
+ selectedOptions: {
3409
+ label: string;
3410
+ value: string;
3411
+ }[];
3412
+ product: {
3413
+ __typename: string;
3414
+ canonicalUrl: null;
3415
+ urlKey: string;
3416
+ uid: string;
3417
+ name: string;
3418
+ sku: string;
3419
+ onlyXLeftInStock: null;
3420
+ stockStatus: string;
3421
+ thumbnail: {
3422
+ label: string;
3423
+ url: string;
3424
+ };
3425
+ priceRange: {
3426
+ maximumPrice: {
3427
+ regularPrice: {
3428
+ currency: string;
3429
+ value: number;
3430
+ };
3431
+ };
3432
+ };
3433
+ };
3434
+ prices: {
3435
+ priceIncludingTax: {
3436
+ value: number;
3437
+ currency: string;
3438
+ };
3439
+ originalPrice: {
3440
+ value: number;
3441
+ currency: string;
3442
+ };
3443
+ originalPriceIncludingTax: {
3444
+ value: number;
3445
+ currency: string;
3446
+ };
3447
+ price: {
3448
+ value: number;
3449
+ currency: string;
3450
+ };
3451
+ };
3452
+ };
3453
+ }[];
3454
+ }[];
3455
+ payments: {
3456
+ code: string;
3457
+ name: string;
3458
+ }[];
3459
+ shippingAddress: {
3460
+ city: string;
3461
+ company: null;
3462
+ countryCode: string;
3463
+ fax: null;
3464
+ firstName: string;
3465
+ lastName: string;
3466
+ middleName: null;
3467
+ postCode: string;
3468
+ prefix: null;
3469
+ region: string;
3470
+ regionId: string;
3471
+ street: string[];
3472
+ suffix: null;
3473
+ telephone: string;
3474
+ vatId: string;
3475
+ };
3476
+ billingAddress: {
3477
+ city: string;
3478
+ company: null;
3479
+ countryCode: string;
3480
+ fax: null;
3481
+ firstName: string;
3482
+ lastName: string;
3483
+ middleName: null;
3484
+ postCode: string;
3485
+ prefix: null;
3486
+ region: string;
3487
+ regionId: string;
3488
+ street: string[];
3489
+ suffix: null;
3490
+ telephone: string;
3491
+ vatId: string;
3492
+ };
3493
+ items: ({
3494
+ type: string;
3495
+ eligibleForReturn: boolean;
3496
+ productSku: string;
3497
+ productName: string;
3498
+ productUrlKey: string;
3499
+ quantityCanceled: number;
3500
+ quantityInvoiced: number;
3501
+ quantityOrdered: number;
3502
+ quantityRefunded: number;
3503
+ quantityReturned: number;
3504
+ quantityShipped: number;
3505
+ quantityReturnRequested: number;
3506
+ id: string;
3507
+ discounted: boolean;
3508
+ total: {
3509
+ value: number;
3510
+ currency: string;
3511
+ };
3512
+ totalInclTax: {
3513
+ value: number;
3514
+ currency: string;
3515
+ };
3516
+ price: {
3517
+ value: number;
3518
+ currency: string;
3519
+ };
3520
+ priceInclTax: {
3521
+ value: number;
3522
+ currency: string;
3523
+ };
3524
+ totalQuantity: number;
3525
+ regularPrice: {
3526
+ value: number;
3527
+ currency: string;
3528
+ };
3529
+ product: {
3530
+ __typename: string;
3531
+ canonicalUrl: string;
3532
+ urlKey: string;
3533
+ uid: string;
3534
+ name: string;
3535
+ sku: string;
3536
+ onlyXLeftInStock: null;
3537
+ stockStatus: string;
3538
+ thumbnail: {
3539
+ label: string;
3540
+ url: string;
3541
+ };
3542
+ priceRange: {
3543
+ maximumPrice: {
3544
+ regularPrice: {
3545
+ currency: string;
3546
+ value: number;
3547
+ };
3548
+ };
3549
+ };
3550
+ id: string;
3551
+ image: string;
3552
+ productType: string;
3553
+ };
3554
+ thumbnail: {
3555
+ label: string;
3556
+ url: string;
3557
+ };
3558
+ configurableOptions: {
3559
+ Size?: undefined;
3560
+ Color?: undefined;
3561
+ };
3562
+ bundleOptions: null;
3563
+ itemPrices: {
3564
+ priceIncludingTax: {
3565
+ value: number;
3566
+ currency: string;
3567
+ };
3568
+ originalPrice: {
3569
+ value: number;
3570
+ currency: string;
3571
+ };
3572
+ originalPriceIncludingTax: {
3573
+ value: number;
3574
+ currency: string;
3575
+ };
3576
+ price: {
3577
+ value: number;
3578
+ currency: string;
3579
+ };
3580
+ };
3581
+ downloadableLinks: null;
3582
+ } | {
3583
+ type: string;
3584
+ eligibleForReturn: boolean;
3585
+ productSku: string;
3586
+ productName: string;
3587
+ productUrlKey: string;
3588
+ quantityCanceled: number;
3589
+ quantityInvoiced: number;
3590
+ quantityOrdered: number;
3591
+ quantityRefunded: number;
3592
+ quantityReturned: number;
3593
+ quantityShipped: number;
3594
+ quantityReturnRequested: number;
3595
+ id: string;
3596
+ discounted: boolean;
3597
+ total: {
3598
+ value: number;
3599
+ currency: string;
3600
+ };
3601
+ totalInclTax: {
3602
+ value: number;
3603
+ currency: string;
3604
+ };
3605
+ price: {
3606
+ value: number;
3607
+ currency: string;
3608
+ };
3609
+ priceInclTax: {
3610
+ value: number;
3611
+ currency: string;
3612
+ };
3613
+ totalQuantity: number;
3614
+ regularPrice: {
3615
+ value: number;
3616
+ currency: string;
3617
+ };
3618
+ product: {
3619
+ __typename: string;
3620
+ canonicalUrl: string;
3621
+ urlKey: string;
3622
+ uid: string;
3623
+ name: string;
3624
+ sku: string;
3625
+ onlyXLeftInStock: null;
3626
+ stockStatus: string;
3627
+ thumbnail: {
3628
+ label: string;
3629
+ url: string;
3630
+ };
3631
+ priceRange: {
3632
+ maximumPrice: {
3633
+ regularPrice: {
3634
+ currency: string;
3635
+ value: number;
3636
+ };
3637
+ };
3638
+ };
3639
+ id: string;
3640
+ image: string;
3641
+ productType: string;
3642
+ };
3643
+ thumbnail: {
3644
+ label: string;
3645
+ url: string;
3646
+ };
3647
+ configurableOptions: {
3648
+ Size: string;
3649
+ Color: string;
3650
+ };
3651
+ bundleOptions: null;
3652
+ itemPrices: {
3653
+ priceIncludingTax: {
3654
+ value: number;
3655
+ currency: string;
3656
+ };
3657
+ originalPrice: {
3658
+ value: number;
3659
+ currency: string;
3660
+ };
3661
+ originalPriceIncludingTax: {
3662
+ value: number;
3663
+ currency: string;
3664
+ };
3665
+ price: {
3666
+ value: number;
3667
+ currency: string;
3668
+ };
3669
+ };
3670
+ downloadableLinks: null;
3671
+ })[];
3672
+ totalQuantity: number;
3673
+ shipping: {
3674
+ amount: number;
3675
+ currency: string;
3676
+ code: string;
3677
+ };
3678
+ returnNumber: string;
3679
+ };
3680
+ normalizeAddress: {
3681
+ billingAddress: ({
3682
+ name: string;
3683
+ orderNumber: number;
3684
+ value: string;
3685
+ label: null;
3686
+ } | {
3687
+ name: string;
3688
+ orderNumber: number;
3689
+ value: string[];
3690
+ label: null;
3691
+ } | {
3692
+ name: string;
3693
+ orderNumber: number;
3694
+ value: string;
3695
+ label: string;
3696
+ })[];
3697
+ shippingAddress: ({
3698
+ name: string;
3699
+ orderNumber: number;
3700
+ value: string;
3701
+ label: null;
3702
+ } | {
3703
+ name: string;
3704
+ orderNumber: number;
3705
+ value: string;
3706
+ label: string;
3707
+ } | {
3708
+ name: string;
3709
+ orderNumber: number;
3710
+ value: string[];
3711
+ label: string;
3712
+ })[];
3713
+ };
3714
+ };
3715
+ export declare const storeConfigMock: {
3716
+ baseMediaUrl: string;
3717
+ orderCancellationEnabled: boolean;
3718
+ orderCancellationReasons: {
3719
+ description: string;
3720
+ }[];
3721
+ shoppingCartDisplayPrice: number;
3722
+ shoppingOrdersDisplaySubtotal: number;
3723
+ shoppingOrdersDisplayShipping: number;
3724
+ shoppingOrdersDisplayGrandTotal: boolean;
3725
+ shoppingOrdersDisplayFullSummary: boolean;
3726
+ shoppingOrdersDisplayZeroTax: boolean;
3727
+ };
924
3728
  //# sourceMappingURL=mock.config.d.ts.map