@dropins/storefront-quote-management 0.0.1-alpha9 → 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 (305) 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 +0 -3
  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 +15 -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 +95 -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/CheckWithCircle.js +4 -0
  96. package/chunks/CheckWithCircle.js.map +1 -0
  97. package/chunks/ChevronDown.js +4 -0
  98. package/chunks/ChevronDown.js.map +1 -0
  99. package/chunks/ConfirmationModal.js +4 -0
  100. package/chunks/ConfirmationModal.js.map +1 -0
  101. package/chunks/ItemsQuoted.js +4 -0
  102. package/chunks/ItemsQuoted.js.map +1 -0
  103. package/chunks/ItemsQuotedTemplate.js +4 -0
  104. package/chunks/ItemsQuotedTemplate.js.map +1 -0
  105. package/chunks/LineItemNoteModal2.js +4 -0
  106. package/chunks/LineItemNoteModal2.js.map +1 -0
  107. package/chunks/NegotiableQuoteFragment.js +391 -0
  108. package/chunks/NegotiableQuoteFragment.js.map +1 -0
  109. package/chunks/NegotiableQuoteTemplateFragment.js +190 -0
  110. package/chunks/NegotiableQuoteTemplateFragment.js.map +1 -0
  111. package/chunks/OrderSummaryLine.js +4 -0
  112. package/chunks/OrderSummaryLine.js.map +1 -0
  113. package/chunks/QuoteCommentsList.js +4 -0
  114. package/chunks/QuoteCommentsList.js.map +1 -0
  115. package/chunks/QuoteCommentsList3.js +4 -0
  116. package/chunks/QuoteCommentsList3.js.map +1 -0
  117. package/chunks/QuoteHistoryLog.js +4 -0
  118. package/chunks/QuoteHistoryLog.js.map +1 -0
  119. package/chunks/QuoteHistoryLog3.js +4 -0
  120. package/chunks/QuoteHistoryLog3.js.map +1 -0
  121. package/chunks/QuoteTemplateCommentsList.js +4 -0
  122. package/chunks/QuoteTemplateCommentsList.js.map +1 -0
  123. package/chunks/QuoteTemplateHistoryLog.js +4 -0
  124. package/chunks/QuoteTemplateHistoryLog.js.map +1 -0
  125. package/chunks/ShippingAddressDisplay.js +4 -0
  126. package/chunks/ShippingAddressDisplay.js.map +1 -0
  127. package/chunks/TabbedContent.js +4 -0
  128. package/chunks/TabbedContent.js.map +1 -0
  129. package/chunks/WarningFilled.js +4 -0
  130. package/chunks/WarningFilled.js.map +1 -0
  131. package/chunks/addQuoteTemplateLineItemNote.js +13 -0
  132. package/chunks/addQuoteTemplateLineItemNote.js.map +1 -0
  133. package/chunks/dateUtils.js +4 -0
  134. package/chunks/dateUtils.js.map +1 -0
  135. package/chunks/duplicateNegotiableQuote.js +121 -0
  136. package/chunks/duplicateNegotiableQuote.js.map +1 -0
  137. package/chunks/generateQuoteFromTemplate.js +12 -0
  138. package/chunks/generateQuoteFromTemplate.js.map +1 -0
  139. package/chunks/getQuoteTemplates.js +50 -0
  140. package/chunks/getQuoteTemplates.js.map +1 -0
  141. package/chunks/negotiableQuotes.js +77 -0
  142. package/chunks/negotiableQuotes.js.map +1 -0
  143. package/chunks/openQuoteTemplate.js +31 -0
  144. package/chunks/openQuoteTemplate.js.map +1 -0
  145. package/chunks/requestNegotiableQuote.js +6 -81
  146. package/chunks/requestNegotiableQuote.js.map +1 -1
  147. package/chunks/setLineItemNote.js +47 -0
  148. package/chunks/setLineItemNote.js.map +1 -0
  149. package/chunks/state.js +4 -0
  150. package/chunks/state.js.map +1 -0
  151. package/chunks/transform-quote-template.js +4 -0
  152. package/chunks/transform-quote-template.js.map +1 -0
  153. package/chunks/transform-quote.js +4 -0
  154. package/chunks/transform-quote.js.map +1 -0
  155. package/chunks/uploadFile.js +20 -0
  156. package/chunks/uploadFile.js.map +1 -0
  157. package/components/ActionsBar/ActionsBar.d.ts +15 -0
  158. package/components/ActionsBar/index.d.ts +11 -0
  159. package/components/AttachedFilesList/AttachedFilesList.d.ts +16 -0
  160. package/components/AttachedFilesList/index.d.ts +11 -0
  161. package/components/ConfirmationModal/ConfirmationModal.d.ts +17 -0
  162. package/components/ConfirmationModal/index.d.ts +11 -0
  163. package/components/ItemsQuoted/ItemsQuoted.d.ts +11 -0
  164. package/components/ItemsQuoted/index.d.ts +11 -0
  165. package/components/LineItemNoteModal/LineItemNoteModal.d.ts +17 -0
  166. package/components/LineItemNoteModal/index.d.ts +11 -0
  167. package/components/ManageNegotiableQuote/ManageNegotiableQuote.d.ts +22 -0
  168. package/components/ManageNegotiableQuote/__fixtures__/ManageNegotiableQuoteProps.d.ts +4 -0
  169. package/components/ManageNegotiableQuote/index.d.ts +11 -0
  170. package/components/ManageNegotiableQuoteTemplate/ManageNegotiableQuoteTemplate.d.ts +20 -0
  171. package/components/ManageNegotiableQuoteTemplate/__fixtures__/ManageNegotiableQuoteTemplateProps.d.ts +4 -0
  172. package/components/ManageNegotiableQuoteTemplate/index.d.ts +11 -0
  173. package/components/OrderSummary/OrderSummary.d.ts +48 -0
  174. package/components/OrderSummary/index.d.ts +11 -0
  175. package/components/OrderSummaryLine/OrderSummaryLine.d.ts +13 -0
  176. package/components/OrderSummaryLine/index.d.ts +11 -0
  177. package/components/ProductListTable/ProductListTable.d.ts +61 -0
  178. package/components/ProductListTable/index.d.ts +11 -0
  179. package/components/QuoteCommentsList/QuoteCommentsList.d.ts +17 -0
  180. package/components/QuoteCommentsList/index.d.ts +11 -0
  181. package/components/QuoteHistoryLog/QuoteHistoryLog.d.ts +77 -0
  182. package/components/QuoteHistoryLog/index.d.ts +11 -0
  183. package/components/QuotePricesSummary/QuotePricesSummary.d.ts +16 -0
  184. package/components/QuotePricesSummary/index.d.ts +11 -0
  185. package/components/QuoteSummaryList/QuoteSummaryList.d.ts +13 -0
  186. package/components/QuoteSummaryList/index.d.ts +11 -0
  187. package/components/QuoteTemplatesListTable/QuoteTemplatesListTable.d.ts +29 -0
  188. package/components/QuoteTemplatesListTable/index.d.ts +10 -0
  189. package/components/QuotesListTable/QuotesListTable.d.ts +29 -0
  190. package/components/QuotesListTable/index.d.ts +11 -0
  191. package/components/RenameQuoteModal/RenameQuoteModal.d.ts +18 -0
  192. package/components/RenameQuoteModal/index.d.ts +11 -0
  193. package/components/RequestNegotiableQuoteForm/RequestNegotiableQuoteForm.d.ts +1 -0
  194. package/components/ShippingAddressDisplay/ShippingAddressDisplay.d.ts +12 -0
  195. package/components/ShippingAddressDisplay/index.d.ts +11 -0
  196. package/components/TabbedContent/TabbedContent.d.ts +10 -0
  197. package/components/TabbedContent/index.d.ts +11 -0
  198. package/components/index.d.ts +28 -0
  199. package/containers/ItemsQuoted/ItemsQuoted.d.ts +30 -0
  200. package/containers/ItemsQuoted/index.d.ts +11 -0
  201. package/containers/ItemsQuoted.d.ts +3 -0
  202. package/containers/ItemsQuoted.js +4 -0
  203. package/containers/ItemsQuoted.js.map +1 -0
  204. package/containers/ItemsQuotedTemplate/ItemsQuotedTemplate.d.ts +21 -0
  205. package/containers/ItemsQuotedTemplate/index.d.ts +11 -0
  206. package/containers/ItemsQuotedTemplate.d.ts +3 -0
  207. package/containers/ItemsQuotedTemplate.js +4 -0
  208. package/containers/ItemsQuotedTemplate.js.map +1 -0
  209. package/containers/ManageNegotiableQuote/ManageNegotiableQuote.d.ts +87 -0
  210. package/containers/ManageNegotiableQuote/index.d.ts +11 -0
  211. package/containers/ManageNegotiableQuote.d.ts +3 -0
  212. package/containers/ManageNegotiableQuote.js +4 -0
  213. package/containers/ManageNegotiableQuote.js.map +1 -0
  214. package/containers/ManageNegotiableQuoteTemplate/ManageNegotiableQuoteTemplate.d.ts +67 -0
  215. package/containers/ManageNegotiableQuoteTemplate/index.d.ts +11 -0
  216. package/containers/ManageNegotiableQuoteTemplate.d.ts +3 -0
  217. package/containers/ManageNegotiableQuoteTemplate.js +4 -0
  218. package/containers/ManageNegotiableQuoteTemplate.js.map +1 -0
  219. package/containers/OrderSummary/OrderSummary.d.ts +11 -0
  220. package/containers/OrderSummary/index.d.ts +11 -0
  221. package/containers/OrderSummary.d.ts +3 -0
  222. package/containers/OrderSummary.js +4 -0
  223. package/containers/OrderSummary.js.map +1 -0
  224. package/containers/OrderSummaryLine/OrderSummaryLine.d.ts +14 -0
  225. package/containers/OrderSummaryLine/index.d.ts +11 -0
  226. package/containers/OrderSummaryLine.d.ts +3 -0
  227. package/containers/OrderSummaryLine.js +4 -0
  228. package/containers/OrderSummaryLine.js.map +1 -0
  229. package/containers/QuoteCommentsList/QuoteCommentsList.d.ts +9 -0
  230. package/containers/QuoteCommentsList/index.d.ts +11 -0
  231. package/containers/QuoteCommentsList.d.ts +3 -0
  232. package/containers/QuoteCommentsList.js +4 -0
  233. package/containers/QuoteCommentsList.js.map +1 -0
  234. package/containers/QuoteHistoryLog/QuoteHistoryLog.d.ts +9 -0
  235. package/containers/QuoteHistoryLog/index.d.ts +11 -0
  236. package/containers/QuoteHistoryLog.d.ts +3 -0
  237. package/containers/QuoteHistoryLog.js +4 -0
  238. package/containers/QuoteHistoryLog.js.map +1 -0
  239. package/containers/QuoteSummaryList/QuoteSummaryList.d.ts +51 -0
  240. package/containers/QuoteSummaryList/index.d.ts +11 -0
  241. package/containers/QuoteSummaryList.d.ts +3 -0
  242. package/containers/QuoteSummaryList.js +4 -0
  243. package/containers/QuoteSummaryList.js.map +1 -0
  244. package/containers/QuoteTemplateCommentsList/QuoteTemplateCommentsList.d.ts +9 -0
  245. package/containers/QuoteTemplateCommentsList/index.d.ts +11 -0
  246. package/containers/QuoteTemplateCommentsList.d.ts +3 -0
  247. package/containers/QuoteTemplateCommentsList.js +4 -0
  248. package/containers/QuoteTemplateCommentsList.js.map +1 -0
  249. package/containers/QuoteTemplateHistoryLog/QuoteTemplateHistoryLog.d.ts +9 -0
  250. package/containers/QuoteTemplateHistoryLog/index.d.ts +11 -0
  251. package/containers/QuoteTemplateHistoryLog.d.ts +3 -0
  252. package/containers/QuoteTemplateHistoryLog.js +4 -0
  253. package/containers/QuoteTemplateHistoryLog.js.map +1 -0
  254. package/containers/QuoteTemplatesListTable/QuoteTemplatesListTable.d.ts +74 -0
  255. package/containers/QuoteTemplatesListTable/index.d.ts +11 -0
  256. package/containers/QuoteTemplatesListTable.d.ts +3 -0
  257. package/containers/QuoteTemplatesListTable.js +4 -0
  258. package/containers/QuoteTemplatesListTable.js.map +1 -0
  259. package/containers/QuotesListTable/QuotesListTable.d.ts +72 -0
  260. package/containers/QuotesListTable/index.d.ts +11 -0
  261. package/containers/QuotesListTable.d.ts +3 -0
  262. package/containers/QuotesListTable.js +4 -0
  263. package/containers/QuotesListTable.js.map +1 -0
  264. package/containers/RequestNegotiableQuoteForm/RequestNegotiableQuoteForm.d.ts +10 -1
  265. package/containers/RequestNegotiableQuoteForm.js +1 -1
  266. package/containers/RequestNegotiableQuoteForm.js.map +1 -1
  267. package/containers/ShippingAddressDisplay/ShippingAddressDisplay.d.ts +10 -0
  268. package/containers/ShippingAddressDisplay/index.d.ts +11 -0
  269. package/containers/ShippingAddressDisplay.d.ts +1 -0
  270. package/containers/ShippingAddressDisplay.js +4 -0
  271. package/containers/ShippingAddressDisplay.js.map +1 -0
  272. package/containers/index.d.ts +22 -0
  273. package/data/models/__fixtures__/negotiableQuoteModel.d.ts +8 -0
  274. package/data/models/__fixtures__/negotiableQuoteTemplateModel.d.ts +4 -0
  275. package/data/models/__fixtures__/negotiableQuoteTemplatesListModel.d.ts +5 -0
  276. package/data/models/__fixtures__/negotiableQuotesListModel.d.ts +5 -0
  277. package/data/models/__fixtures__/storeConfigModel.d.ts +5 -0
  278. package/data/models/index.d.ts +11 -1
  279. package/data/models/negotiable-quote-model.d.ts +262 -27
  280. package/data/models/negotiable-quote-template-model.d.ts +147 -0
  281. package/data/models/store-config-model.d.ts +27 -0
  282. package/data/transforms/__fixtures__/negotiableQuoteData.d.ts +665 -2
  283. package/data/transforms/__fixtures__/negotiableQuoteTemplateData.d.ts +1610 -0
  284. package/data/transforms/__fixtures__/storeConfigData.d.ts +31 -0
  285. package/data/transforms/index.d.ts +6 -13
  286. package/data/transforms/transform-quote-template.d.ts +5 -0
  287. package/data/transforms/transform-quote.d.ts +13 -2
  288. package/data/transforms/transform-store-config.d.ts +4 -0
  289. package/hooks/useQuoteSummaryData.d.ts +10 -0
  290. package/i18n/en_US.json.d.ts +360 -1
  291. package/lib/configurationTransformers.d.ts +27 -0
  292. package/lib/itemFormatters.d.ts +47 -0
  293. package/lib/priceCalculators.d.ts +41 -0
  294. package/lib/state.d.ts +6 -0
  295. package/package.json +1 -1
  296. package/render.js +6 -2
  297. package/render.js.map +1 -1
  298. package/types/state.types.d.ts +13 -0
  299. package/utils/dateUtils.d.ts +26 -0
  300. package/utils/fileUtils.d.ts +46 -0
  301. package/utils/mapAuthPermissions.d.ts +39 -0
  302. package/api/getCustomerData/graphql/CustomerQuery.d.ts +0 -2
  303. package/api/graphql/CustomerFragment.d.ts +0 -2
  304. package/data/models/__fixtures__/customerModel.d.ts +0 -4
  305. package/data/transforms/transform-customer.d.ts +0 -15
@@ -0,0 +1,147 @@
1
+ import { Currency, ItemNote, PaginationInfo, ShippingAddress, ConfigurableOption, BundleOption } from './negotiable-quote-model';
2
+
3
+ export interface NegotiableQuoteTemplateModel {
4
+ id: string;
5
+ uid: string;
6
+ name: string;
7
+ createdAt: string;
8
+ updatedAt: string;
9
+ expirationDate?: string;
10
+ status: NegotiableQuoteTemplateStatus;
11
+ salesRepName: string;
12
+ buyer: {
13
+ firstname: string;
14
+ lastname: string;
15
+ };
16
+ comments?: QuoteTemplateComment[];
17
+ history?: QuoteTemplateHistoryEntry[];
18
+ prices: {
19
+ subtotalExcludingTax?: Currency;
20
+ subtotalIncludingTax?: Currency;
21
+ subtotalWithDiscountExcludingTax?: Currency;
22
+ grandTotal?: Currency;
23
+ appliedTaxes?: {
24
+ amount: Currency;
25
+ label: string;
26
+ }[];
27
+ };
28
+ items: QuoteTemplateCartItem[];
29
+ shippingAddresses?: ShippingAddress[];
30
+ referenceDocuments?: {
31
+ uid: string;
32
+ name: string;
33
+ url: string;
34
+ }[];
35
+ quantityThresholds?: {
36
+ min?: number;
37
+ max?: number;
38
+ };
39
+ canAccept: boolean;
40
+ canDelete: boolean;
41
+ canReopen: boolean;
42
+ canCancel: boolean;
43
+ canSendForReview: boolean;
44
+ canGenerateQuoteFromTemplate: boolean;
45
+ canEditTemplateItems: boolean;
46
+ }
47
+ export declare enum NegotiableQuoteTemplateStatus {
48
+ ACTIVE = "Active",
49
+ IN_REVIEW = "In Review",
50
+ INACTIVE = "Inactive",
51
+ SUBMITTED = "Submitted",
52
+ PENDING = "Pending",
53
+ CLOSED = "Closed",
54
+ OPEN = "Open",
55
+ UPDATED = "Updated",
56
+ EDITED = "Edited",
57
+ NEW = "New",
58
+ DRAFT = "Draft",
59
+ DECLINED = "Declined",
60
+ CANCELED = "Canceled",
61
+ EXPIRED = "Expired"
62
+ }
63
+ export interface QuoteTemplateCartItem {
64
+ uid?: string;
65
+ product: {
66
+ uid: string;
67
+ sku: string;
68
+ name: string;
69
+ };
70
+ quantity: number;
71
+ prices: {
72
+ originalItemPrice: Currency;
73
+ rowTotal: Currency;
74
+ };
75
+ catalogDiscount?: {
76
+ amountOff: number;
77
+ percentOff: number;
78
+ };
79
+ discounts?: {
80
+ label: string;
81
+ value: string;
82
+ amount: Currency;
83
+ }[];
84
+ noteFromBuyer?: ItemNote[];
85
+ noteFromSeller?: ItemNote[];
86
+ configurableOptions?: ConfigurableOption[];
87
+ bundleOptions?: BundleOption[];
88
+ }
89
+ export interface QuoteTemplateComment {
90
+ uid: string;
91
+ createdAt: string;
92
+ author: {
93
+ firstname: string;
94
+ lastname: string;
95
+ };
96
+ text: string;
97
+ attachments?: {
98
+ name: string;
99
+ url: string;
100
+ }[];
101
+ }
102
+ export interface QuoteTemplateHistoryEntry {
103
+ uid: string;
104
+ createdAt: string;
105
+ author: {
106
+ firstname: string;
107
+ lastname: string;
108
+ };
109
+ changeType: string;
110
+ changes: any;
111
+ }
112
+ export interface NegotiableQuoteTemplatesListModel {
113
+ items: NegotiableQuoteTemplateListEntry[];
114
+ pageInfo: {
115
+ currentPage: number;
116
+ pageSize: number;
117
+ totalPages: number;
118
+ };
119
+ totalCount: number;
120
+ paginationInfo?: PaginationInfo;
121
+ sortFields?: {
122
+ default: string;
123
+ options: Array<{
124
+ label: string;
125
+ value: string;
126
+ }>;
127
+ };
128
+ }
129
+ export interface NegotiableQuoteTemplateListEntry {
130
+ id: string;
131
+ uid: string;
132
+ name: string;
133
+ createdAt: string;
134
+ updatedAt: string;
135
+ status: NegotiableQuoteTemplateStatus;
136
+ state: 'active' | 'inactive' | 'in_review';
137
+ lastSharedAt: string;
138
+ lastOrderedAt: string;
139
+ expirationDate: string;
140
+ ordersPlaced: number;
141
+ prices: {
142
+ grandTotal: Currency;
143
+ minNegotiatedGrandTotal: Currency;
144
+ };
145
+ canGenerateQuoteFromTemplate?: boolean;
146
+ }
147
+ //# sourceMappingURL=negotiable-quote-template-model.d.ts.map
@@ -0,0 +1,27 @@
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 enum QuoteDisplayAmount {
10
+ TAX_EXCLUDED = 1,
11
+ TAX_INCLUDED = 2,
12
+ TAX_INCLUDED_AND_EXCLUDED = 3
13
+ }
14
+ export interface StoreConfigModel {
15
+ quoteSummaryDisplayTotal: number;
16
+ quoteSummaryMaxItems: number;
17
+ quoteDisplaySettings: {
18
+ zeroTax: boolean;
19
+ subtotal: QuoteDisplayAmount;
20
+ price: QuoteDisplayAmount;
21
+ shipping: QuoteDisplayAmount;
22
+ fullSummary: boolean;
23
+ grandTotal: boolean;
24
+ };
25
+ useConfigurableParentThumbnail: boolean;
26
+ }
27
+ //# sourceMappingURL=store-config-model.d.ts.map