@dropins/storefront-quote-management 0.0.1-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 (295) hide show
  1. package/api/acceptQuoteTemplate/acceptQuoteTemplate.d.ts +13 -0
  2. package/api/{getCustomerData/getCustomerData.d.ts → acceptQuoteTemplate/graphql/acceptQuoteTemplate.d.ts} +2 -2
  3. package/{data/transforms/__fixtures__/customerData.d.ts → api/acceptQuoteTemplate/index.d.ts} +2 -2
  4. package/api/addQuoteTemplateLineItemNote/addQuoteTemplateLineItemNote.d.ts +15 -0
  5. package/api/addQuoteTemplateLineItemNote/graphql/setQuoteTemplateLineItemNote.d.ts +10 -0
  6. package/api/addQuoteTemplateLineItemNote/index.d.ts +10 -0
  7. package/api/addQuoteTemplateShippingAddress/addQuoteTemplateShippingAddress.d.ts +37 -0
  8. package/api/addQuoteTemplateShippingAddress/graphql/setNegotiableQuoteTemplateShippingAddress.d.ts +10 -0
  9. package/api/addQuoteTemplateShippingAddress/index.d.ts +10 -0
  10. package/api/cancelQuoteTemplate/cancelQuoteTemplate.d.ts +14 -0
  11. package/api/cancelQuoteTemplate/graphql/cancelQuoteTemplate.d.ts +10 -0
  12. package/api/cancelQuoteTemplate/index.d.ts +10 -0
  13. package/api/closeNegotiableQuote/closeNegotiableQuote.d.ts +31 -0
  14. package/api/closeNegotiableQuote/graphql/CloseNegotiableQuoteMutation.d.ts +2 -0
  15. package/api/closeNegotiableQuote/index.d.ts +10 -0
  16. package/api/createQuoteTemplate/createQuoteTemplate.d.ts +4 -0
  17. package/api/createQuoteTemplate/graphql/createQuoteTemplate.d.ts +10 -0
  18. package/api/createQuoteTemplate/index.d.ts +10 -0
  19. package/api/deleteQuote/deleteQuote.d.ts +28 -0
  20. package/api/deleteQuote/graphql/DeleteQuoteMutation.d.ts +10 -0
  21. package/api/{getCustomerData → deleteQuote}/index.d.ts +1 -1
  22. package/{data/models/customer-model.d.ts → api/deleteQuoteTemplate/deleteQuoteTemplate.d.ts} +6 -8
  23. package/api/deleteQuoteTemplate/graphql/deleteQuoteTemplate.d.ts +10 -0
  24. package/api/deleteQuoteTemplate/index.d.ts +10 -0
  25. package/api/duplicateNegotiableQuote/duplicateNegotiableQuote.d.ts +8 -0
  26. package/api/duplicateNegotiableQuote/graphql/duplicateNegotiableQuoteMutation.d.ts +10 -0
  27. package/api/duplicateNegotiableQuote/index.d.ts +10 -0
  28. package/api/generateQuoteFromTemplate/generateQuoteFromTemplate.d.ts +15 -0
  29. package/api/generateQuoteFromTemplate/graphql/generateNegotiableQuoteFromTemplate.d.ts +10 -0
  30. package/api/generateQuoteFromTemplate/index.d.ts +10 -0
  31. package/api/getQuoteData/getQuoteData.d.ts +10 -0
  32. package/api/getQuoteData/graphql/QuoteDataQuery.d.ts +2 -0
  33. package/api/getQuoteData/index.d.ts +10 -0
  34. package/api/getQuoteTemplateData/getQuoteTemplateData.d.ts +4 -0
  35. package/api/getQuoteTemplateData/graphql/getQuoteTemplateData.d.ts +10 -0
  36. package/api/getQuoteTemplateData/index.d.ts +10 -0
  37. package/api/getQuoteTemplates/getQuoteTemplates.d.ts +34 -0
  38. package/api/getQuoteTemplates/graphql/getQuoteTemplates.d.ts +10 -0
  39. package/api/getQuoteTemplates/index.d.ts +10 -0
  40. package/api/getStoreConfig/getStoreConfig.d.ts +4 -0
  41. package/api/getStoreConfig/graphql/StoreConfigQuery.d.ts +10 -0
  42. package/api/getStoreConfig/index.d.ts +10 -0
  43. package/api/graphql/NegotiableQuoteAddressFragment.d.ts +10 -0
  44. package/api/graphql/NegotiableQuoteFragment.d.ts +5 -13
  45. package/api/graphql/NegotiableQuoteListFragment.d.ts +10 -0
  46. package/api/graphql/NegotiableQuoteTemplateFragment.d.ts +10 -0
  47. package/api/graphql/ShippingMethodFragment.d.ts +10 -0
  48. package/api/index.d.ts +33 -1
  49. package/api/initialize/initialize.d.ts +2 -0
  50. package/api/openQuoteTemplate/graphql/openQuoteTemplate.d.ts +10 -0
  51. package/api/openQuoteTemplate/index.d.ts +10 -0
  52. package/api/openQuoteTemplate/openQuoteTemplate.d.ts +13 -0
  53. package/api/removeNegotiableQuoteItems/graphql/RemoveNegotiableQuoteItemsMutation.d.ts +10 -0
  54. package/api/removeNegotiableQuoteItems/index.d.ts +10 -0
  55. package/api/removeNegotiableQuoteItems/removeNegotiableQuoteItems.d.ts +8 -0
  56. package/api/removeQuoteTemplateItems/graphql/removeNegotiableQuoteTemplateItems.d.ts +10 -0
  57. package/api/removeQuoteTemplateItems/index.d.ts +10 -0
  58. package/api/removeQuoteTemplateItems/removeQuoteTemplateItems.d.ts +14 -0
  59. package/api/renameNegotiableQuote/graphql/RenameNegotiableQuoteMutation.d.ts +10 -0
  60. package/api/renameNegotiableQuote/index.d.ts +10 -0
  61. package/api/renameNegotiableQuote/renameNegotiableQuote.d.ts +9 -0
  62. package/api/requestNegotiableQuote/graphql/RequestNegotiableQuoteMutation.d.ts +4 -12
  63. package/api/requestNegotiableQuote/requestNegotiableQuote.d.ts +3 -0
  64. package/api/sendForReview/graphql/SendNegotiableQuoteForReviewMutation.d.ts +10 -0
  65. package/api/sendForReview/index.d.ts +10 -0
  66. package/api/sendForReview/sendForReview.d.ts +11 -0
  67. package/api/sendQuoteTemplateForReview/graphql/sendQuoteTemplateForReview.d.ts +10 -0
  68. package/api/sendQuoteTemplateForReview/index.d.ts +10 -0
  69. package/api/sendQuoteTemplateForReview/sendQuoteTemplateForReview.d.ts +15 -0
  70. package/api/setLineItemNote/graphql/SetLineItemNoteMutation.d.ts +10 -0
  71. package/api/setLineItemNote/index.d.ts +10 -0
  72. package/api/setLineItemNote/setLineItemNote.d.ts +10 -0
  73. package/api/setShippingAddress/graphql/SetNegotiableQuoteShippingAddressMutation.d.ts +10 -0
  74. package/api/setShippingAddress/index.d.ts +2 -0
  75. package/api/setShippingAddress/setShippingAddress.d.ts +110 -0
  76. package/api/updateQuantities/graphql/UpdateNegotiableQuoteQuantitiesMutation.d.ts +10 -0
  77. package/api/updateQuantities/index.d.ts +10 -0
  78. package/api/updateQuantities/updateQuantities.d.ts +36 -0
  79. package/api/updateQuoteTemplateItemQuantities/graphql/updateNegotiableQuoteTemplateQuantities.d.ts +10 -0
  80. package/api/updateQuoteTemplateItemQuantities/index.d.ts +10 -0
  81. package/api/updateQuoteTemplateItemQuantities/updateQuoteTemplateItemQuantities.d.ts +20 -0
  82. package/api/uploadFile/graphql/FinishUploadMutation.d.ts +10 -0
  83. package/api/uploadFile/graphql/InitiateUploadMutation.d.ts +10 -0
  84. package/api/uploadFile/index.d.ts +10 -0
  85. package/api/uploadFile/uploadFile.d.ts +12 -0
  86. package/api.js +95 -22
  87. package/api.js.map +1 -1
  88. package/chunks/AttachedFilesList.js +4 -0
  89. package/chunks/AttachedFilesList.js.map +1 -0
  90. package/chunks/CheckWithCircle.js +4 -0
  91. package/chunks/CheckWithCircle.js.map +1 -0
  92. package/chunks/ChevronDown.js +4 -0
  93. package/chunks/ChevronDown.js.map +1 -0
  94. package/chunks/ConfirmationModal.js +4 -0
  95. package/chunks/ConfirmationModal.js.map +1 -0
  96. package/chunks/ItemsQuoted.js +4 -0
  97. package/chunks/ItemsQuoted.js.map +1 -0
  98. package/chunks/ItemsQuotedTemplate.js +4 -0
  99. package/chunks/ItemsQuotedTemplate.js.map +1 -0
  100. package/chunks/LineItemNoteModal2.js +4 -0
  101. package/chunks/LineItemNoteModal2.js.map +1 -0
  102. package/chunks/NegotiableQuoteFragment.js +342 -7
  103. package/chunks/NegotiableQuoteFragment.js.map +1 -1
  104. package/chunks/NegotiableQuoteTemplateFragment.js +190 -0
  105. package/chunks/NegotiableQuoteTemplateFragment.js.map +1 -0
  106. package/chunks/OrderSummaryLine.js +4 -0
  107. package/chunks/OrderSummaryLine.js.map +1 -0
  108. package/chunks/QuoteCommentsList.js +4 -0
  109. package/chunks/QuoteCommentsList.js.map +1 -0
  110. package/chunks/QuoteCommentsList3.js +4 -0
  111. package/chunks/QuoteCommentsList3.js.map +1 -0
  112. package/chunks/QuoteHistoryLog.js +4 -0
  113. package/chunks/QuoteHistoryLog.js.map +1 -0
  114. package/chunks/QuoteHistoryLog3.js +4 -0
  115. package/chunks/QuoteHistoryLog3.js.map +1 -0
  116. package/chunks/QuoteTemplateCommentsList.js +4 -0
  117. package/chunks/QuoteTemplateCommentsList.js.map +1 -0
  118. package/chunks/QuoteTemplateHistoryLog.js +4 -0
  119. package/chunks/QuoteTemplateHistoryLog.js.map +1 -0
  120. package/chunks/ShippingAddressDisplay.js +4 -0
  121. package/chunks/ShippingAddressDisplay.js.map +1 -0
  122. package/chunks/TabbedContent.js +4 -0
  123. package/chunks/TabbedContent.js.map +1 -0
  124. package/chunks/WarningFilled.js +4 -0
  125. package/chunks/WarningFilled.js.map +1 -0
  126. package/chunks/addQuoteTemplateLineItemNote.js +13 -0
  127. package/chunks/addQuoteTemplateLineItemNote.js.map +1 -0
  128. package/chunks/dateUtils.js +4 -0
  129. package/chunks/dateUtils.js.map +1 -0
  130. package/chunks/duplicateNegotiableQuote.js +121 -0
  131. package/chunks/duplicateNegotiableQuote.js.map +1 -0
  132. package/chunks/generateQuoteFromTemplate.js +12 -0
  133. package/chunks/generateQuoteFromTemplate.js.map +1 -0
  134. package/chunks/getQuoteTemplates.js +50 -0
  135. package/chunks/getQuoteTemplates.js.map +1 -0
  136. package/chunks/negotiableQuotes.js +35 -5
  137. package/chunks/negotiableQuotes.js.map +1 -1
  138. package/chunks/openQuoteTemplate.js +31 -0
  139. package/chunks/openQuoteTemplate.js.map +1 -0
  140. package/chunks/requestNegotiableQuote.js +3 -3
  141. package/chunks/requestNegotiableQuote.js.map +1 -1
  142. package/chunks/setLineItemNote.js +47 -0
  143. package/chunks/setLineItemNote.js.map +1 -0
  144. package/chunks/state.js +4 -0
  145. package/chunks/state.js.map +1 -0
  146. package/chunks/transform-quote-template.js +4 -0
  147. package/chunks/transform-quote-template.js.map +1 -0
  148. package/chunks/transform-quote.js +4 -0
  149. package/chunks/transform-quote.js.map +1 -0
  150. package/chunks/uploadFile.js +20 -0
  151. package/chunks/uploadFile.js.map +1 -0
  152. package/components/ActionsBar/ActionsBar.d.ts +15 -0
  153. package/components/ActionsBar/index.d.ts +11 -0
  154. package/components/AttachedFilesList/AttachedFilesList.d.ts +16 -0
  155. package/components/AttachedFilesList/index.d.ts +11 -0
  156. package/components/ConfirmationModal/ConfirmationModal.d.ts +17 -0
  157. package/components/ConfirmationModal/index.d.ts +11 -0
  158. package/components/ItemsQuoted/ItemsQuoted.d.ts +11 -0
  159. package/components/ItemsQuoted/index.d.ts +11 -0
  160. package/components/LineItemNoteModal/LineItemNoteModal.d.ts +17 -0
  161. package/components/LineItemNoteModal/index.d.ts +11 -0
  162. package/components/ManageNegotiableQuote/ManageNegotiableQuote.d.ts +22 -0
  163. package/components/ManageNegotiableQuote/__fixtures__/ManageNegotiableQuoteProps.d.ts +4 -0
  164. package/components/ManageNegotiableQuote/index.d.ts +11 -0
  165. package/components/ManageNegotiableQuoteTemplate/ManageNegotiableQuoteTemplate.d.ts +20 -0
  166. package/components/ManageNegotiableQuoteTemplate/__fixtures__/ManageNegotiableQuoteTemplateProps.d.ts +4 -0
  167. package/components/ManageNegotiableQuoteTemplate/index.d.ts +11 -0
  168. package/components/OrderSummary/OrderSummary.d.ts +48 -0
  169. package/components/OrderSummary/index.d.ts +11 -0
  170. package/components/OrderSummaryLine/OrderSummaryLine.d.ts +13 -0
  171. package/components/OrderSummaryLine/index.d.ts +11 -0
  172. package/components/ProductListTable/ProductListTable.d.ts +61 -0
  173. package/components/ProductListTable/index.d.ts +11 -0
  174. package/components/QuoteCommentsList/QuoteCommentsList.d.ts +17 -0
  175. package/components/QuoteCommentsList/index.d.ts +11 -0
  176. package/components/QuoteHistoryLog/QuoteHistoryLog.d.ts +77 -0
  177. package/components/QuoteHistoryLog/index.d.ts +11 -0
  178. package/components/QuotePricesSummary/QuotePricesSummary.d.ts +16 -0
  179. package/components/QuotePricesSummary/index.d.ts +11 -0
  180. package/components/QuoteSummaryList/QuoteSummaryList.d.ts +13 -0
  181. package/components/QuoteSummaryList/index.d.ts +11 -0
  182. package/components/QuoteTemplatesListTable/QuoteTemplatesListTable.d.ts +29 -0
  183. package/components/QuoteTemplatesListTable/index.d.ts +10 -0
  184. package/components/RenameQuoteModal/RenameQuoteModal.d.ts +18 -0
  185. package/components/RenameQuoteModal/index.d.ts +11 -0
  186. package/components/RequestNegotiableQuoteForm/RequestNegotiableQuoteForm.d.ts +1 -0
  187. package/components/ShippingAddressDisplay/ShippingAddressDisplay.d.ts +12 -0
  188. package/components/ShippingAddressDisplay/index.d.ts +11 -0
  189. package/components/TabbedContent/TabbedContent.d.ts +10 -0
  190. package/components/TabbedContent/index.d.ts +11 -0
  191. package/components/index.d.ts +28 -1
  192. package/containers/ItemsQuoted/ItemsQuoted.d.ts +30 -0
  193. package/containers/ItemsQuoted/index.d.ts +11 -0
  194. package/containers/ItemsQuoted.d.ts +3 -0
  195. package/containers/ItemsQuoted.js +4 -0
  196. package/containers/ItemsQuoted.js.map +1 -0
  197. package/containers/ItemsQuotedTemplate/ItemsQuotedTemplate.d.ts +21 -0
  198. package/containers/ItemsQuotedTemplate/index.d.ts +11 -0
  199. package/containers/ItemsQuotedTemplate.d.ts +3 -0
  200. package/containers/ItemsQuotedTemplate.js +4 -0
  201. package/containers/ItemsQuotedTemplate.js.map +1 -0
  202. package/containers/ManageNegotiableQuote/ManageNegotiableQuote.d.ts +87 -0
  203. package/containers/ManageNegotiableQuote/index.d.ts +11 -0
  204. package/containers/ManageNegotiableQuote.d.ts +3 -0
  205. package/containers/ManageNegotiableQuote.js +4 -0
  206. package/containers/ManageNegotiableQuote.js.map +1 -0
  207. package/containers/ManageNegotiableQuoteTemplate/ManageNegotiableQuoteTemplate.d.ts +67 -0
  208. package/containers/ManageNegotiableQuoteTemplate/index.d.ts +11 -0
  209. package/containers/ManageNegotiableQuoteTemplate.d.ts +3 -0
  210. package/containers/ManageNegotiableQuoteTemplate.js +4 -0
  211. package/containers/ManageNegotiableQuoteTemplate.js.map +1 -0
  212. package/containers/OrderSummary/OrderSummary.d.ts +11 -0
  213. package/containers/OrderSummary/index.d.ts +11 -0
  214. package/containers/OrderSummary.d.ts +3 -0
  215. package/containers/OrderSummary.js +4 -0
  216. package/containers/OrderSummary.js.map +1 -0
  217. package/containers/OrderSummaryLine/OrderSummaryLine.d.ts +14 -0
  218. package/containers/OrderSummaryLine/index.d.ts +11 -0
  219. package/containers/OrderSummaryLine.d.ts +3 -0
  220. package/containers/OrderSummaryLine.js +4 -0
  221. package/containers/OrderSummaryLine.js.map +1 -0
  222. package/containers/QuoteCommentsList/QuoteCommentsList.d.ts +9 -0
  223. package/containers/QuoteCommentsList/index.d.ts +11 -0
  224. package/containers/QuoteCommentsList.d.ts +3 -0
  225. package/containers/QuoteCommentsList.js +4 -0
  226. package/containers/QuoteCommentsList.js.map +1 -0
  227. package/containers/QuoteHistoryLog/QuoteHistoryLog.d.ts +9 -0
  228. package/containers/QuoteHistoryLog/index.d.ts +11 -0
  229. package/containers/QuoteHistoryLog.d.ts +3 -0
  230. package/containers/QuoteHistoryLog.js +4 -0
  231. package/containers/QuoteHistoryLog.js.map +1 -0
  232. package/containers/QuoteSummaryList/QuoteSummaryList.d.ts +51 -0
  233. package/containers/QuoteSummaryList/index.d.ts +11 -0
  234. package/containers/QuoteSummaryList.d.ts +3 -0
  235. package/containers/QuoteSummaryList.js +4 -0
  236. package/containers/QuoteSummaryList.js.map +1 -0
  237. package/containers/QuoteTemplateCommentsList/QuoteTemplateCommentsList.d.ts +9 -0
  238. package/containers/QuoteTemplateCommentsList/index.d.ts +11 -0
  239. package/containers/QuoteTemplateCommentsList.d.ts +3 -0
  240. package/containers/QuoteTemplateCommentsList.js +4 -0
  241. package/containers/QuoteTemplateCommentsList.js.map +1 -0
  242. package/containers/QuoteTemplateHistoryLog/QuoteTemplateHistoryLog.d.ts +9 -0
  243. package/containers/QuoteTemplateHistoryLog/index.d.ts +11 -0
  244. package/containers/QuoteTemplateHistoryLog.d.ts +3 -0
  245. package/containers/QuoteTemplateHistoryLog.js +4 -0
  246. package/containers/QuoteTemplateHistoryLog.js.map +1 -0
  247. package/containers/QuoteTemplatesListTable/QuoteTemplatesListTable.d.ts +74 -0
  248. package/containers/QuoteTemplatesListTable/index.d.ts +11 -0
  249. package/containers/QuoteTemplatesListTable.d.ts +3 -0
  250. package/containers/QuoteTemplatesListTable.js +4 -0
  251. package/containers/QuoteTemplatesListTable.js.map +1 -0
  252. package/containers/QuotesListTable/QuotesListTable.d.ts +9 -9
  253. package/containers/QuotesListTable.js +1 -1
  254. package/containers/QuotesListTable.js.map +1 -1
  255. package/containers/RequestNegotiableQuoteForm/RequestNegotiableQuoteForm.d.ts +10 -0
  256. package/containers/RequestNegotiableQuoteForm.js +1 -1
  257. package/containers/RequestNegotiableQuoteForm.js.map +1 -1
  258. package/containers/ShippingAddressDisplay/ShippingAddressDisplay.d.ts +10 -0
  259. package/containers/ShippingAddressDisplay/index.d.ts +11 -0
  260. package/containers/ShippingAddressDisplay.d.ts +1 -0
  261. package/containers/ShippingAddressDisplay.js +4 -0
  262. package/containers/ShippingAddressDisplay.js.map +1 -0
  263. package/containers/index.d.ts +21 -0
  264. package/data/models/__fixtures__/negotiableQuoteModel.d.ts +8 -0
  265. package/data/models/__fixtures__/negotiableQuoteTemplateModel.d.ts +4 -0
  266. package/data/models/__fixtures__/negotiableQuoteTemplatesListModel.d.ts +5 -0
  267. package/data/models/__fixtures__/storeConfigModel.d.ts +5 -0
  268. package/data/models/index.d.ts +10 -1
  269. package/data/models/negotiable-quote-model.d.ts +228 -31
  270. package/data/models/negotiable-quote-template-model.d.ts +147 -0
  271. package/data/models/store-config-model.d.ts +27 -0
  272. package/data/transforms/__fixtures__/negotiableQuoteData.d.ts +590 -2
  273. package/data/transforms/__fixtures__/negotiableQuoteTemplateData.d.ts +1610 -0
  274. package/data/transforms/__fixtures__/storeConfigData.d.ts +31 -0
  275. package/data/transforms/index.d.ts +6 -13
  276. package/data/transforms/transform-quote-template.d.ts +5 -0
  277. package/data/transforms/transform-quote.d.ts +8 -0
  278. package/data/transforms/transform-store-config.d.ts +4 -0
  279. package/hooks/useQuoteSummaryData.d.ts +10 -0
  280. package/i18n/en_US.json.d.ts +346 -0
  281. package/lib/configurationTransformers.d.ts +27 -0
  282. package/lib/itemFormatters.d.ts +47 -0
  283. package/lib/priceCalculators.d.ts +41 -0
  284. package/lib/state.d.ts +6 -0
  285. package/package.json +1 -1
  286. package/render.js +6 -3
  287. package/render.js.map +1 -1
  288. package/types/state.types.d.ts +13 -0
  289. package/utils/dateUtils.d.ts +26 -0
  290. package/utils/fileUtils.d.ts +46 -0
  291. package/utils/mapAuthPermissions.d.ts +39 -0
  292. package/api/getCustomerData/graphql/CustomerQuery.d.ts +0 -2
  293. package/api/graphql/CustomerFragment.d.ts +0 -2
  294. package/data/models/__fixtures__/customerModel.d.ts +0 -4
  295. package/data/transforms/transform-customer.d.ts +0 -15
@@ -0,0 +1,1610 @@
1
+ /********************************************************************
2
+ * Copyright 2025 Adobe
3
+ * All Rights Reserved.
4
+ *
5
+ * NOTICE: Adobe permits you to use, modify, and distribute this
6
+ * file in accordance with the terms of the Adobe license agreement
7
+ * accompanying it.
8
+ *******************************************************************/
9
+ export declare const mockQuoteTemplateData: {
10
+ template_id: string;
11
+ uid: string;
12
+ name: string;
13
+ created_at: string;
14
+ updated_at: string;
15
+ expiration_date: string;
16
+ status: string;
17
+ sales_rep_name: string;
18
+ buyer: {
19
+ firstname: string;
20
+ lastname: string;
21
+ };
22
+ comments: ({
23
+ uid: string;
24
+ created_at: string;
25
+ author: {
26
+ firstname: string;
27
+ lastname: string;
28
+ };
29
+ text: string;
30
+ attachments: {
31
+ name: string;
32
+ url: string;
33
+ }[];
34
+ } | {
35
+ uid: string;
36
+ created_at: string;
37
+ author: {
38
+ firstname: string;
39
+ lastname: string;
40
+ };
41
+ text: string;
42
+ attachments?: undefined;
43
+ })[];
44
+ items: ({
45
+ uid: string;
46
+ product: {
47
+ name: string;
48
+ sku: string;
49
+ uid: string;
50
+ stock_status: string;
51
+ };
52
+ prices: {
53
+ price: {
54
+ currency: string;
55
+ value: number;
56
+ };
57
+ original_item_price: {
58
+ currency: string;
59
+ value: number;
60
+ };
61
+ row_total: {
62
+ currency: string;
63
+ value: number;
64
+ };
65
+ catalog_discount: {
66
+ amount_off: number;
67
+ percent_off: number;
68
+ };
69
+ discounts: {
70
+ label: string;
71
+ value: string;
72
+ amount: {
73
+ currency: string;
74
+ value: number;
75
+ };
76
+ }[];
77
+ };
78
+ quantity: number;
79
+ note_from_buyer: {
80
+ created_at: string;
81
+ creator_id: string;
82
+ creator_type: string;
83
+ negotiable_quote_template_item_uid: string;
84
+ note: string;
85
+ note_uid: string;
86
+ }[];
87
+ note_from_seller: {
88
+ created_at: string;
89
+ creator_id: string;
90
+ creator_type: string;
91
+ negotiable_quote_template_item_uid: string;
92
+ note: string;
93
+ note_uid: string;
94
+ }[];
95
+ configurable_options?: undefined;
96
+ bundle_options?: undefined;
97
+ } | {
98
+ uid: string;
99
+ product: {
100
+ name: string;
101
+ sku: string;
102
+ uid: string;
103
+ stock_status: string;
104
+ };
105
+ prices: {
106
+ price: {
107
+ currency: string;
108
+ value: number;
109
+ };
110
+ original_item_price: {
111
+ currency: string;
112
+ value: number;
113
+ };
114
+ row_total: {
115
+ currency: string;
116
+ value: number;
117
+ };
118
+ catalog_discount: {
119
+ amount_off: number;
120
+ percent_off: number;
121
+ };
122
+ discounts: {
123
+ label: string;
124
+ value: string;
125
+ amount: {
126
+ currency: string;
127
+ value: number;
128
+ };
129
+ }[];
130
+ };
131
+ quantity: number;
132
+ configurable_options: {
133
+ option_label: string;
134
+ value_label: string;
135
+ }[];
136
+ note_from_buyer: {
137
+ created_at: string;
138
+ creator_id: string;
139
+ creator_type: string;
140
+ negotiable_quote_template_item_uid: string;
141
+ note: string;
142
+ note_uid: string;
143
+ }[];
144
+ note_from_seller: never[];
145
+ bundle_options?: undefined;
146
+ } | {
147
+ uid: string;
148
+ product: {
149
+ name: string;
150
+ sku: string;
151
+ uid: string;
152
+ stock_status: string;
153
+ };
154
+ prices: {
155
+ price: {
156
+ currency: string;
157
+ value: number;
158
+ };
159
+ original_item_price: {
160
+ currency: string;
161
+ value: number;
162
+ };
163
+ row_total: {
164
+ currency: string;
165
+ value: number;
166
+ };
167
+ catalog_discount: {
168
+ amount_off: number;
169
+ percent_off: number;
170
+ };
171
+ discounts: {
172
+ label: string;
173
+ value: string;
174
+ amount: {
175
+ currency: string;
176
+ value: number;
177
+ };
178
+ }[];
179
+ };
180
+ quantity: number;
181
+ bundle_options: {
182
+ label: string;
183
+ values: {
184
+ label: string;
185
+ quantity: number;
186
+ original_price: {
187
+ currency: string;
188
+ value: number;
189
+ };
190
+ priceV2: {
191
+ currency: string;
192
+ value: number;
193
+ };
194
+ }[];
195
+ }[];
196
+ note_from_buyer: {
197
+ created_at: string;
198
+ creator_id: string;
199
+ creator_type: string;
200
+ negotiable_quote_template_item_uid: string;
201
+ note: string;
202
+ note_uid: string;
203
+ }[];
204
+ note_from_seller: {
205
+ created_at: string;
206
+ creator_id: string;
207
+ creator_type: string;
208
+ negotiable_quote_template_item_uid: string;
209
+ note: string;
210
+ note_uid: string;
211
+ }[];
212
+ configurable_options?: undefined;
213
+ })[];
214
+ history: ({
215
+ uid: string;
216
+ created_at: string;
217
+ author: {
218
+ firstname: string;
219
+ lastname: string;
220
+ };
221
+ change_type: string;
222
+ changes: {
223
+ comment_added: {
224
+ comment: string;
225
+ };
226
+ statuses: {
227
+ changes: {
228
+ new_status: string;
229
+ old_status: null;
230
+ }[];
231
+ };
232
+ expiration: {
233
+ new_expiration: string;
234
+ old_expiration: null;
235
+ };
236
+ custom_changes?: undefined;
237
+ total?: undefined;
238
+ };
239
+ } | {
240
+ uid: string;
241
+ created_at: string;
242
+ author: {
243
+ firstname: string;
244
+ lastname: string;
245
+ };
246
+ change_type: string;
247
+ changes: {
248
+ custom_changes: {
249
+ new_value: string;
250
+ old_value: string;
251
+ title: string;
252
+ };
253
+ statuses: {
254
+ changes: {
255
+ new_status: string;
256
+ old_status: string;
257
+ }[];
258
+ };
259
+ total: {
260
+ new_price: {
261
+ currency: string;
262
+ value: number;
263
+ };
264
+ old_price: {
265
+ currency: string;
266
+ value: number;
267
+ };
268
+ };
269
+ comment_added?: undefined;
270
+ expiration?: undefined;
271
+ };
272
+ })[];
273
+ prices: {
274
+ subtotal_excluding_tax: {
275
+ currency: string;
276
+ value: number;
277
+ };
278
+ subtotal_including_tax: {
279
+ currency: string;
280
+ value: number;
281
+ };
282
+ subtotal_with_discount_excluding_tax: {
283
+ currency: string;
284
+ value: number;
285
+ };
286
+ applied_taxes: {
287
+ label: string;
288
+ amount: {
289
+ currency: string;
290
+ value: number;
291
+ };
292
+ }[];
293
+ grand_total: {
294
+ currency: string;
295
+ value: number;
296
+ };
297
+ };
298
+ shipping_addresses: {
299
+ uid: string;
300
+ firstname: string;
301
+ lastname: string;
302
+ company: string;
303
+ street: string[];
304
+ city: string;
305
+ region: {
306
+ code: string;
307
+ label: string;
308
+ region_id: number;
309
+ };
310
+ postcode: string;
311
+ country: {
312
+ code: string;
313
+ label: string;
314
+ };
315
+ telephone: string;
316
+ }[];
317
+ };
318
+ export declare const mockMinimalQuoteTemplateData: {
319
+ template_id: string;
320
+ uid: string;
321
+ name: string;
322
+ created_at: string;
323
+ updated_at: string;
324
+ status: string;
325
+ buyer: {
326
+ firstname: string;
327
+ lastname: string;
328
+ };
329
+ items: never[];
330
+ };
331
+ export declare const mockSubmittedQuoteTemplateData: {
332
+ template_id: string;
333
+ uid: string;
334
+ name: string;
335
+ status: string;
336
+ created_at: string;
337
+ updated_at: string;
338
+ expiration_date: string;
339
+ sales_rep_name: string;
340
+ buyer: {
341
+ firstname: string;
342
+ lastname: string;
343
+ };
344
+ comments: ({
345
+ uid: string;
346
+ created_at: string;
347
+ author: {
348
+ firstname: string;
349
+ lastname: string;
350
+ };
351
+ text: string;
352
+ attachments: {
353
+ name: string;
354
+ url: string;
355
+ }[];
356
+ } | {
357
+ uid: string;
358
+ created_at: string;
359
+ author: {
360
+ firstname: string;
361
+ lastname: string;
362
+ };
363
+ text: string;
364
+ attachments?: undefined;
365
+ })[];
366
+ items: ({
367
+ uid: string;
368
+ product: {
369
+ name: string;
370
+ sku: string;
371
+ uid: string;
372
+ stock_status: string;
373
+ };
374
+ prices: {
375
+ price: {
376
+ currency: string;
377
+ value: number;
378
+ };
379
+ original_item_price: {
380
+ currency: string;
381
+ value: number;
382
+ };
383
+ row_total: {
384
+ currency: string;
385
+ value: number;
386
+ };
387
+ catalog_discount: {
388
+ amount_off: number;
389
+ percent_off: number;
390
+ };
391
+ discounts: {
392
+ label: string;
393
+ value: string;
394
+ amount: {
395
+ currency: string;
396
+ value: number;
397
+ };
398
+ }[];
399
+ };
400
+ quantity: number;
401
+ note_from_buyer: {
402
+ created_at: string;
403
+ creator_id: string;
404
+ creator_type: string;
405
+ negotiable_quote_template_item_uid: string;
406
+ note: string;
407
+ note_uid: string;
408
+ }[];
409
+ note_from_seller: {
410
+ created_at: string;
411
+ creator_id: string;
412
+ creator_type: string;
413
+ negotiable_quote_template_item_uid: string;
414
+ note: string;
415
+ note_uid: string;
416
+ }[];
417
+ configurable_options?: undefined;
418
+ bundle_options?: undefined;
419
+ } | {
420
+ uid: string;
421
+ product: {
422
+ name: string;
423
+ sku: string;
424
+ uid: string;
425
+ stock_status: string;
426
+ };
427
+ prices: {
428
+ price: {
429
+ currency: string;
430
+ value: number;
431
+ };
432
+ original_item_price: {
433
+ currency: string;
434
+ value: number;
435
+ };
436
+ row_total: {
437
+ currency: string;
438
+ value: number;
439
+ };
440
+ catalog_discount: {
441
+ amount_off: number;
442
+ percent_off: number;
443
+ };
444
+ discounts: {
445
+ label: string;
446
+ value: string;
447
+ amount: {
448
+ currency: string;
449
+ value: number;
450
+ };
451
+ }[];
452
+ };
453
+ quantity: number;
454
+ configurable_options: {
455
+ option_label: string;
456
+ value_label: string;
457
+ }[];
458
+ note_from_buyer: {
459
+ created_at: string;
460
+ creator_id: string;
461
+ creator_type: string;
462
+ negotiable_quote_template_item_uid: string;
463
+ note: string;
464
+ note_uid: string;
465
+ }[];
466
+ note_from_seller: never[];
467
+ bundle_options?: undefined;
468
+ } | {
469
+ uid: string;
470
+ product: {
471
+ name: string;
472
+ sku: string;
473
+ uid: string;
474
+ stock_status: string;
475
+ };
476
+ prices: {
477
+ price: {
478
+ currency: string;
479
+ value: number;
480
+ };
481
+ original_item_price: {
482
+ currency: string;
483
+ value: number;
484
+ };
485
+ row_total: {
486
+ currency: string;
487
+ value: number;
488
+ };
489
+ catalog_discount: {
490
+ amount_off: number;
491
+ percent_off: number;
492
+ };
493
+ discounts: {
494
+ label: string;
495
+ value: string;
496
+ amount: {
497
+ currency: string;
498
+ value: number;
499
+ };
500
+ }[];
501
+ };
502
+ quantity: number;
503
+ bundle_options: {
504
+ label: string;
505
+ values: {
506
+ label: string;
507
+ quantity: number;
508
+ original_price: {
509
+ currency: string;
510
+ value: number;
511
+ };
512
+ priceV2: {
513
+ currency: string;
514
+ value: number;
515
+ };
516
+ }[];
517
+ }[];
518
+ note_from_buyer: {
519
+ created_at: string;
520
+ creator_id: string;
521
+ creator_type: string;
522
+ negotiable_quote_template_item_uid: string;
523
+ note: string;
524
+ note_uid: string;
525
+ }[];
526
+ note_from_seller: {
527
+ created_at: string;
528
+ creator_id: string;
529
+ creator_type: string;
530
+ negotiable_quote_template_item_uid: string;
531
+ note: string;
532
+ note_uid: string;
533
+ }[];
534
+ configurable_options?: undefined;
535
+ })[];
536
+ history: ({
537
+ uid: string;
538
+ created_at: string;
539
+ author: {
540
+ firstname: string;
541
+ lastname: string;
542
+ };
543
+ change_type: string;
544
+ changes: {
545
+ comment_added: {
546
+ comment: string;
547
+ };
548
+ statuses: {
549
+ changes: {
550
+ new_status: string;
551
+ old_status: null;
552
+ }[];
553
+ };
554
+ expiration: {
555
+ new_expiration: string;
556
+ old_expiration: null;
557
+ };
558
+ custom_changes?: undefined;
559
+ total?: undefined;
560
+ };
561
+ } | {
562
+ uid: string;
563
+ created_at: string;
564
+ author: {
565
+ firstname: string;
566
+ lastname: string;
567
+ };
568
+ change_type: string;
569
+ changes: {
570
+ custom_changes: {
571
+ new_value: string;
572
+ old_value: string;
573
+ title: string;
574
+ };
575
+ statuses: {
576
+ changes: {
577
+ new_status: string;
578
+ old_status: string;
579
+ }[];
580
+ };
581
+ total: {
582
+ new_price: {
583
+ currency: string;
584
+ value: number;
585
+ };
586
+ old_price: {
587
+ currency: string;
588
+ value: number;
589
+ };
590
+ };
591
+ comment_added?: undefined;
592
+ expiration?: undefined;
593
+ };
594
+ })[];
595
+ prices: {
596
+ subtotal_excluding_tax: {
597
+ currency: string;
598
+ value: number;
599
+ };
600
+ subtotal_including_tax: {
601
+ currency: string;
602
+ value: number;
603
+ };
604
+ subtotal_with_discount_excluding_tax: {
605
+ currency: string;
606
+ value: number;
607
+ };
608
+ applied_taxes: {
609
+ label: string;
610
+ amount: {
611
+ currency: string;
612
+ value: number;
613
+ };
614
+ }[];
615
+ grand_total: {
616
+ currency: string;
617
+ value: number;
618
+ };
619
+ };
620
+ shipping_addresses: {
621
+ uid: string;
622
+ firstname: string;
623
+ lastname: string;
624
+ company: string;
625
+ street: string[];
626
+ city: string;
627
+ region: {
628
+ code: string;
629
+ label: string;
630
+ region_id: number;
631
+ };
632
+ postcode: string;
633
+ country: {
634
+ code: string;
635
+ label: string;
636
+ };
637
+ telephone: string;
638
+ }[];
639
+ };
640
+ export declare const mockInReviewQuoteTemplateData: {
641
+ template_id: string;
642
+ uid: string;
643
+ name: string;
644
+ status: string;
645
+ created_at: string;
646
+ updated_at: string;
647
+ expiration_date: string;
648
+ sales_rep_name: string;
649
+ buyer: {
650
+ firstname: string;
651
+ lastname: string;
652
+ };
653
+ comments: ({
654
+ uid: string;
655
+ created_at: string;
656
+ author: {
657
+ firstname: string;
658
+ lastname: string;
659
+ };
660
+ text: string;
661
+ attachments: {
662
+ name: string;
663
+ url: string;
664
+ }[];
665
+ } | {
666
+ uid: string;
667
+ created_at: string;
668
+ author: {
669
+ firstname: string;
670
+ lastname: string;
671
+ };
672
+ text: string;
673
+ attachments?: undefined;
674
+ })[];
675
+ items: ({
676
+ uid: string;
677
+ product: {
678
+ name: string;
679
+ sku: string;
680
+ uid: string;
681
+ stock_status: string;
682
+ };
683
+ prices: {
684
+ price: {
685
+ currency: string;
686
+ value: number;
687
+ };
688
+ original_item_price: {
689
+ currency: string;
690
+ value: number;
691
+ };
692
+ row_total: {
693
+ currency: string;
694
+ value: number;
695
+ };
696
+ catalog_discount: {
697
+ amount_off: number;
698
+ percent_off: number;
699
+ };
700
+ discounts: {
701
+ label: string;
702
+ value: string;
703
+ amount: {
704
+ currency: string;
705
+ value: number;
706
+ };
707
+ }[];
708
+ };
709
+ quantity: number;
710
+ note_from_buyer: {
711
+ created_at: string;
712
+ creator_id: string;
713
+ creator_type: string;
714
+ negotiable_quote_template_item_uid: string;
715
+ note: string;
716
+ note_uid: string;
717
+ }[];
718
+ note_from_seller: {
719
+ created_at: string;
720
+ creator_id: string;
721
+ creator_type: string;
722
+ negotiable_quote_template_item_uid: string;
723
+ note: string;
724
+ note_uid: string;
725
+ }[];
726
+ configurable_options?: undefined;
727
+ bundle_options?: undefined;
728
+ } | {
729
+ uid: string;
730
+ product: {
731
+ name: string;
732
+ sku: string;
733
+ uid: string;
734
+ stock_status: string;
735
+ };
736
+ prices: {
737
+ price: {
738
+ currency: string;
739
+ value: number;
740
+ };
741
+ original_item_price: {
742
+ currency: string;
743
+ value: number;
744
+ };
745
+ row_total: {
746
+ currency: string;
747
+ value: number;
748
+ };
749
+ catalog_discount: {
750
+ amount_off: number;
751
+ percent_off: number;
752
+ };
753
+ discounts: {
754
+ label: string;
755
+ value: string;
756
+ amount: {
757
+ currency: string;
758
+ value: number;
759
+ };
760
+ }[];
761
+ };
762
+ quantity: number;
763
+ configurable_options: {
764
+ option_label: string;
765
+ value_label: string;
766
+ }[];
767
+ note_from_buyer: {
768
+ created_at: string;
769
+ creator_id: string;
770
+ creator_type: string;
771
+ negotiable_quote_template_item_uid: string;
772
+ note: string;
773
+ note_uid: string;
774
+ }[];
775
+ note_from_seller: never[];
776
+ bundle_options?: undefined;
777
+ } | {
778
+ uid: string;
779
+ product: {
780
+ name: string;
781
+ sku: string;
782
+ uid: string;
783
+ stock_status: string;
784
+ };
785
+ prices: {
786
+ price: {
787
+ currency: string;
788
+ value: number;
789
+ };
790
+ original_item_price: {
791
+ currency: string;
792
+ value: number;
793
+ };
794
+ row_total: {
795
+ currency: string;
796
+ value: number;
797
+ };
798
+ catalog_discount: {
799
+ amount_off: number;
800
+ percent_off: number;
801
+ };
802
+ discounts: {
803
+ label: string;
804
+ value: string;
805
+ amount: {
806
+ currency: string;
807
+ value: number;
808
+ };
809
+ }[];
810
+ };
811
+ quantity: number;
812
+ bundle_options: {
813
+ label: string;
814
+ values: {
815
+ label: string;
816
+ quantity: number;
817
+ original_price: {
818
+ currency: string;
819
+ value: number;
820
+ };
821
+ priceV2: {
822
+ currency: string;
823
+ value: number;
824
+ };
825
+ }[];
826
+ }[];
827
+ note_from_buyer: {
828
+ created_at: string;
829
+ creator_id: string;
830
+ creator_type: string;
831
+ negotiable_quote_template_item_uid: string;
832
+ note: string;
833
+ note_uid: string;
834
+ }[];
835
+ note_from_seller: {
836
+ created_at: string;
837
+ creator_id: string;
838
+ creator_type: string;
839
+ negotiable_quote_template_item_uid: string;
840
+ note: string;
841
+ note_uid: string;
842
+ }[];
843
+ configurable_options?: undefined;
844
+ })[];
845
+ history: ({
846
+ uid: string;
847
+ created_at: string;
848
+ author: {
849
+ firstname: string;
850
+ lastname: string;
851
+ };
852
+ change_type: string;
853
+ changes: {
854
+ comment_added: {
855
+ comment: string;
856
+ };
857
+ statuses: {
858
+ changes: {
859
+ new_status: string;
860
+ old_status: null;
861
+ }[];
862
+ };
863
+ expiration: {
864
+ new_expiration: string;
865
+ old_expiration: null;
866
+ };
867
+ custom_changes?: undefined;
868
+ total?: undefined;
869
+ };
870
+ } | {
871
+ uid: string;
872
+ created_at: string;
873
+ author: {
874
+ firstname: string;
875
+ lastname: string;
876
+ };
877
+ change_type: string;
878
+ changes: {
879
+ custom_changes: {
880
+ new_value: string;
881
+ old_value: string;
882
+ title: string;
883
+ };
884
+ statuses: {
885
+ changes: {
886
+ new_status: string;
887
+ old_status: string;
888
+ }[];
889
+ };
890
+ total: {
891
+ new_price: {
892
+ currency: string;
893
+ value: number;
894
+ };
895
+ old_price: {
896
+ currency: string;
897
+ value: number;
898
+ };
899
+ };
900
+ comment_added?: undefined;
901
+ expiration?: undefined;
902
+ };
903
+ })[];
904
+ prices: {
905
+ subtotal_excluding_tax: {
906
+ currency: string;
907
+ value: number;
908
+ };
909
+ subtotal_including_tax: {
910
+ currency: string;
911
+ value: number;
912
+ };
913
+ subtotal_with_discount_excluding_tax: {
914
+ currency: string;
915
+ value: number;
916
+ };
917
+ applied_taxes: {
918
+ label: string;
919
+ amount: {
920
+ currency: string;
921
+ value: number;
922
+ };
923
+ }[];
924
+ grand_total: {
925
+ currency: string;
926
+ value: number;
927
+ };
928
+ };
929
+ shipping_addresses: {
930
+ uid: string;
931
+ firstname: string;
932
+ lastname: string;
933
+ company: string;
934
+ street: string[];
935
+ city: string;
936
+ region: {
937
+ code: string;
938
+ label: string;
939
+ region_id: number;
940
+ };
941
+ postcode: string;
942
+ country: {
943
+ code: string;
944
+ label: string;
945
+ };
946
+ telephone: string;
947
+ }[];
948
+ };
949
+ export declare const mockClosedQuoteTemplateData: {
950
+ template_id: string;
951
+ uid: string;
952
+ name: string;
953
+ status: string;
954
+ created_at: string;
955
+ updated_at: string;
956
+ expiration_date: string;
957
+ sales_rep_name: string;
958
+ buyer: {
959
+ firstname: string;
960
+ lastname: string;
961
+ };
962
+ comments: ({
963
+ uid: string;
964
+ created_at: string;
965
+ author: {
966
+ firstname: string;
967
+ lastname: string;
968
+ };
969
+ text: string;
970
+ attachments: {
971
+ name: string;
972
+ url: string;
973
+ }[];
974
+ } | {
975
+ uid: string;
976
+ created_at: string;
977
+ author: {
978
+ firstname: string;
979
+ lastname: string;
980
+ };
981
+ text: string;
982
+ attachments?: undefined;
983
+ })[];
984
+ items: ({
985
+ uid: string;
986
+ product: {
987
+ name: string;
988
+ sku: string;
989
+ uid: string;
990
+ stock_status: string;
991
+ };
992
+ prices: {
993
+ price: {
994
+ currency: string;
995
+ value: number;
996
+ };
997
+ original_item_price: {
998
+ currency: string;
999
+ value: number;
1000
+ };
1001
+ row_total: {
1002
+ currency: string;
1003
+ value: number;
1004
+ };
1005
+ catalog_discount: {
1006
+ amount_off: number;
1007
+ percent_off: number;
1008
+ };
1009
+ discounts: {
1010
+ label: string;
1011
+ value: string;
1012
+ amount: {
1013
+ currency: string;
1014
+ value: number;
1015
+ };
1016
+ }[];
1017
+ };
1018
+ quantity: number;
1019
+ note_from_buyer: {
1020
+ created_at: string;
1021
+ creator_id: string;
1022
+ creator_type: string;
1023
+ negotiable_quote_template_item_uid: string;
1024
+ note: string;
1025
+ note_uid: string;
1026
+ }[];
1027
+ note_from_seller: {
1028
+ created_at: string;
1029
+ creator_id: string;
1030
+ creator_type: string;
1031
+ negotiable_quote_template_item_uid: string;
1032
+ note: string;
1033
+ note_uid: string;
1034
+ }[];
1035
+ configurable_options?: undefined;
1036
+ bundle_options?: undefined;
1037
+ } | {
1038
+ uid: string;
1039
+ product: {
1040
+ name: string;
1041
+ sku: string;
1042
+ uid: string;
1043
+ stock_status: string;
1044
+ };
1045
+ prices: {
1046
+ price: {
1047
+ currency: string;
1048
+ value: number;
1049
+ };
1050
+ original_item_price: {
1051
+ currency: string;
1052
+ value: number;
1053
+ };
1054
+ row_total: {
1055
+ currency: string;
1056
+ value: number;
1057
+ };
1058
+ catalog_discount: {
1059
+ amount_off: number;
1060
+ percent_off: number;
1061
+ };
1062
+ discounts: {
1063
+ label: string;
1064
+ value: string;
1065
+ amount: {
1066
+ currency: string;
1067
+ value: number;
1068
+ };
1069
+ }[];
1070
+ };
1071
+ quantity: number;
1072
+ configurable_options: {
1073
+ option_label: string;
1074
+ value_label: string;
1075
+ }[];
1076
+ note_from_buyer: {
1077
+ created_at: string;
1078
+ creator_id: string;
1079
+ creator_type: string;
1080
+ negotiable_quote_template_item_uid: string;
1081
+ note: string;
1082
+ note_uid: string;
1083
+ }[];
1084
+ note_from_seller: never[];
1085
+ bundle_options?: undefined;
1086
+ } | {
1087
+ uid: string;
1088
+ product: {
1089
+ name: string;
1090
+ sku: string;
1091
+ uid: string;
1092
+ stock_status: string;
1093
+ };
1094
+ prices: {
1095
+ price: {
1096
+ currency: string;
1097
+ value: number;
1098
+ };
1099
+ original_item_price: {
1100
+ currency: string;
1101
+ value: number;
1102
+ };
1103
+ row_total: {
1104
+ currency: string;
1105
+ value: number;
1106
+ };
1107
+ catalog_discount: {
1108
+ amount_off: number;
1109
+ percent_off: number;
1110
+ };
1111
+ discounts: {
1112
+ label: string;
1113
+ value: string;
1114
+ amount: {
1115
+ currency: string;
1116
+ value: number;
1117
+ };
1118
+ }[];
1119
+ };
1120
+ quantity: number;
1121
+ bundle_options: {
1122
+ label: string;
1123
+ values: {
1124
+ label: string;
1125
+ quantity: number;
1126
+ original_price: {
1127
+ currency: string;
1128
+ value: number;
1129
+ };
1130
+ priceV2: {
1131
+ currency: string;
1132
+ value: number;
1133
+ };
1134
+ }[];
1135
+ }[];
1136
+ note_from_buyer: {
1137
+ created_at: string;
1138
+ creator_id: string;
1139
+ creator_type: string;
1140
+ negotiable_quote_template_item_uid: string;
1141
+ note: string;
1142
+ note_uid: string;
1143
+ }[];
1144
+ note_from_seller: {
1145
+ created_at: string;
1146
+ creator_id: string;
1147
+ creator_type: string;
1148
+ negotiable_quote_template_item_uid: string;
1149
+ note: string;
1150
+ note_uid: string;
1151
+ }[];
1152
+ configurable_options?: undefined;
1153
+ })[];
1154
+ history: ({
1155
+ uid: string;
1156
+ created_at: string;
1157
+ author: {
1158
+ firstname: string;
1159
+ lastname: string;
1160
+ };
1161
+ change_type: string;
1162
+ changes: {
1163
+ comment_added: {
1164
+ comment: string;
1165
+ };
1166
+ statuses: {
1167
+ changes: {
1168
+ new_status: string;
1169
+ old_status: null;
1170
+ }[];
1171
+ };
1172
+ expiration: {
1173
+ new_expiration: string;
1174
+ old_expiration: null;
1175
+ };
1176
+ custom_changes?: undefined;
1177
+ total?: undefined;
1178
+ };
1179
+ } | {
1180
+ uid: string;
1181
+ created_at: string;
1182
+ author: {
1183
+ firstname: string;
1184
+ lastname: string;
1185
+ };
1186
+ change_type: string;
1187
+ changes: {
1188
+ custom_changes: {
1189
+ new_value: string;
1190
+ old_value: string;
1191
+ title: string;
1192
+ };
1193
+ statuses: {
1194
+ changes: {
1195
+ new_status: string;
1196
+ old_status: string;
1197
+ }[];
1198
+ };
1199
+ total: {
1200
+ new_price: {
1201
+ currency: string;
1202
+ value: number;
1203
+ };
1204
+ old_price: {
1205
+ currency: string;
1206
+ value: number;
1207
+ };
1208
+ };
1209
+ comment_added?: undefined;
1210
+ expiration?: undefined;
1211
+ };
1212
+ })[];
1213
+ prices: {
1214
+ subtotal_excluding_tax: {
1215
+ currency: string;
1216
+ value: number;
1217
+ };
1218
+ subtotal_including_tax: {
1219
+ currency: string;
1220
+ value: number;
1221
+ };
1222
+ subtotal_with_discount_excluding_tax: {
1223
+ currency: string;
1224
+ value: number;
1225
+ };
1226
+ applied_taxes: {
1227
+ label: string;
1228
+ amount: {
1229
+ currency: string;
1230
+ value: number;
1231
+ };
1232
+ }[];
1233
+ grand_total: {
1234
+ currency: string;
1235
+ value: number;
1236
+ };
1237
+ };
1238
+ shipping_addresses: {
1239
+ uid: string;
1240
+ firstname: string;
1241
+ lastname: string;
1242
+ company: string;
1243
+ street: string[];
1244
+ city: string;
1245
+ region: {
1246
+ code: string;
1247
+ label: string;
1248
+ region_id: number;
1249
+ };
1250
+ postcode: string;
1251
+ country: {
1252
+ code: string;
1253
+ label: string;
1254
+ };
1255
+ telephone: string;
1256
+ }[];
1257
+ };
1258
+ export declare const mockInactiveQuoteTemplateData: {
1259
+ template_id: string;
1260
+ uid: string;
1261
+ name: string;
1262
+ status: string;
1263
+ created_at: string;
1264
+ updated_at: string;
1265
+ expiration_date: string;
1266
+ sales_rep_name: string;
1267
+ buyer: {
1268
+ firstname: string;
1269
+ lastname: string;
1270
+ };
1271
+ comments: ({
1272
+ uid: string;
1273
+ created_at: string;
1274
+ author: {
1275
+ firstname: string;
1276
+ lastname: string;
1277
+ };
1278
+ text: string;
1279
+ attachments: {
1280
+ name: string;
1281
+ url: string;
1282
+ }[];
1283
+ } | {
1284
+ uid: string;
1285
+ created_at: string;
1286
+ author: {
1287
+ firstname: string;
1288
+ lastname: string;
1289
+ };
1290
+ text: string;
1291
+ attachments?: undefined;
1292
+ })[];
1293
+ items: ({
1294
+ uid: string;
1295
+ product: {
1296
+ name: string;
1297
+ sku: string;
1298
+ uid: string;
1299
+ stock_status: string;
1300
+ };
1301
+ prices: {
1302
+ price: {
1303
+ currency: string;
1304
+ value: number;
1305
+ };
1306
+ original_item_price: {
1307
+ currency: string;
1308
+ value: number;
1309
+ };
1310
+ row_total: {
1311
+ currency: string;
1312
+ value: number;
1313
+ };
1314
+ catalog_discount: {
1315
+ amount_off: number;
1316
+ percent_off: number;
1317
+ };
1318
+ discounts: {
1319
+ label: string;
1320
+ value: string;
1321
+ amount: {
1322
+ currency: string;
1323
+ value: number;
1324
+ };
1325
+ }[];
1326
+ };
1327
+ quantity: number;
1328
+ note_from_buyer: {
1329
+ created_at: string;
1330
+ creator_id: string;
1331
+ creator_type: string;
1332
+ negotiable_quote_template_item_uid: string;
1333
+ note: string;
1334
+ note_uid: string;
1335
+ }[];
1336
+ note_from_seller: {
1337
+ created_at: string;
1338
+ creator_id: string;
1339
+ creator_type: string;
1340
+ negotiable_quote_template_item_uid: string;
1341
+ note: string;
1342
+ note_uid: string;
1343
+ }[];
1344
+ configurable_options?: undefined;
1345
+ bundle_options?: undefined;
1346
+ } | {
1347
+ uid: string;
1348
+ product: {
1349
+ name: string;
1350
+ sku: string;
1351
+ uid: string;
1352
+ stock_status: string;
1353
+ };
1354
+ prices: {
1355
+ price: {
1356
+ currency: string;
1357
+ value: number;
1358
+ };
1359
+ original_item_price: {
1360
+ currency: string;
1361
+ value: number;
1362
+ };
1363
+ row_total: {
1364
+ currency: string;
1365
+ value: number;
1366
+ };
1367
+ catalog_discount: {
1368
+ amount_off: number;
1369
+ percent_off: number;
1370
+ };
1371
+ discounts: {
1372
+ label: string;
1373
+ value: string;
1374
+ amount: {
1375
+ currency: string;
1376
+ value: number;
1377
+ };
1378
+ }[];
1379
+ };
1380
+ quantity: number;
1381
+ configurable_options: {
1382
+ option_label: string;
1383
+ value_label: string;
1384
+ }[];
1385
+ note_from_buyer: {
1386
+ created_at: string;
1387
+ creator_id: string;
1388
+ creator_type: string;
1389
+ negotiable_quote_template_item_uid: string;
1390
+ note: string;
1391
+ note_uid: string;
1392
+ }[];
1393
+ note_from_seller: never[];
1394
+ bundle_options?: undefined;
1395
+ } | {
1396
+ uid: string;
1397
+ product: {
1398
+ name: string;
1399
+ sku: string;
1400
+ uid: string;
1401
+ stock_status: string;
1402
+ };
1403
+ prices: {
1404
+ price: {
1405
+ currency: string;
1406
+ value: number;
1407
+ };
1408
+ original_item_price: {
1409
+ currency: string;
1410
+ value: number;
1411
+ };
1412
+ row_total: {
1413
+ currency: string;
1414
+ value: number;
1415
+ };
1416
+ catalog_discount: {
1417
+ amount_off: number;
1418
+ percent_off: number;
1419
+ };
1420
+ discounts: {
1421
+ label: string;
1422
+ value: string;
1423
+ amount: {
1424
+ currency: string;
1425
+ value: number;
1426
+ };
1427
+ }[];
1428
+ };
1429
+ quantity: number;
1430
+ bundle_options: {
1431
+ label: string;
1432
+ values: {
1433
+ label: string;
1434
+ quantity: number;
1435
+ original_price: {
1436
+ currency: string;
1437
+ value: number;
1438
+ };
1439
+ priceV2: {
1440
+ currency: string;
1441
+ value: number;
1442
+ };
1443
+ }[];
1444
+ }[];
1445
+ note_from_buyer: {
1446
+ created_at: string;
1447
+ creator_id: string;
1448
+ creator_type: string;
1449
+ negotiable_quote_template_item_uid: string;
1450
+ note: string;
1451
+ note_uid: string;
1452
+ }[];
1453
+ note_from_seller: {
1454
+ created_at: string;
1455
+ creator_id: string;
1456
+ creator_type: string;
1457
+ negotiable_quote_template_item_uid: string;
1458
+ note: string;
1459
+ note_uid: string;
1460
+ }[];
1461
+ configurable_options?: undefined;
1462
+ })[];
1463
+ history: ({
1464
+ uid: string;
1465
+ created_at: string;
1466
+ author: {
1467
+ firstname: string;
1468
+ lastname: string;
1469
+ };
1470
+ change_type: string;
1471
+ changes: {
1472
+ comment_added: {
1473
+ comment: string;
1474
+ };
1475
+ statuses: {
1476
+ changes: {
1477
+ new_status: string;
1478
+ old_status: null;
1479
+ }[];
1480
+ };
1481
+ expiration: {
1482
+ new_expiration: string;
1483
+ old_expiration: null;
1484
+ };
1485
+ custom_changes?: undefined;
1486
+ total?: undefined;
1487
+ };
1488
+ } | {
1489
+ uid: string;
1490
+ created_at: string;
1491
+ author: {
1492
+ firstname: string;
1493
+ lastname: string;
1494
+ };
1495
+ change_type: string;
1496
+ changes: {
1497
+ custom_changes: {
1498
+ new_value: string;
1499
+ old_value: string;
1500
+ title: string;
1501
+ };
1502
+ statuses: {
1503
+ changes: {
1504
+ new_status: string;
1505
+ old_status: string;
1506
+ }[];
1507
+ };
1508
+ total: {
1509
+ new_price: {
1510
+ currency: string;
1511
+ value: number;
1512
+ };
1513
+ old_price: {
1514
+ currency: string;
1515
+ value: number;
1516
+ };
1517
+ };
1518
+ comment_added?: undefined;
1519
+ expiration?: undefined;
1520
+ };
1521
+ })[];
1522
+ prices: {
1523
+ subtotal_excluding_tax: {
1524
+ currency: string;
1525
+ value: number;
1526
+ };
1527
+ subtotal_including_tax: {
1528
+ currency: string;
1529
+ value: number;
1530
+ };
1531
+ subtotal_with_discount_excluding_tax: {
1532
+ currency: string;
1533
+ value: number;
1534
+ };
1535
+ applied_taxes: {
1536
+ label: string;
1537
+ amount: {
1538
+ currency: string;
1539
+ value: number;
1540
+ };
1541
+ }[];
1542
+ grand_total: {
1543
+ currency: string;
1544
+ value: number;
1545
+ };
1546
+ };
1547
+ shipping_addresses: {
1548
+ uid: string;
1549
+ firstname: string;
1550
+ lastname: string;
1551
+ company: string;
1552
+ street: string[];
1553
+ city: string;
1554
+ region: {
1555
+ code: string;
1556
+ label: string;
1557
+ region_id: number;
1558
+ };
1559
+ postcode: string;
1560
+ country: {
1561
+ code: string;
1562
+ label: string;
1563
+ };
1564
+ telephone: string;
1565
+ }[];
1566
+ };
1567
+ export declare const mockQuoteTemplateListData: {
1568
+ items: {
1569
+ template_id: string;
1570
+ name: string;
1571
+ created_at: string;
1572
+ updated_at: string;
1573
+ status: string;
1574
+ state: string;
1575
+ min_negotiated_grand_total: number;
1576
+ last_shared_at: string;
1577
+ last_ordered_at: string;
1578
+ expiration_date: string;
1579
+ orders_placed: number;
1580
+ prices: {
1581
+ grand_total: {
1582
+ value: number;
1583
+ currency: string;
1584
+ };
1585
+ };
1586
+ }[];
1587
+ page_info: {
1588
+ current_page: number;
1589
+ page_size: number;
1590
+ total_pages: number;
1591
+ };
1592
+ total_count: number;
1593
+ sort_fields: {
1594
+ default: string;
1595
+ options: {
1596
+ label: string;
1597
+ value: string;
1598
+ }[];
1599
+ };
1600
+ };
1601
+ export declare const mockEmptyQuoteTemplateListData: {
1602
+ items: never[];
1603
+ page_info: {
1604
+ current_page: number;
1605
+ page_size: number;
1606
+ total_pages: number;
1607
+ };
1608
+ total_count: number;
1609
+ };
1610
+ //# sourceMappingURL=negotiableQuoteTemplateData.d.ts.map