@dropins/storefront-quote-management 0.0.1-alpha3 → 0.0.1-alpha30

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