@dropins/storefront-quote-management 0.0.1-alpha9 → 1.0.0-beta2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (311) 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 +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/ShippingAddressDisplay.js +4 -0
  124. package/chunks/ShippingAddressDisplay.js.map +1 -0
  125. package/chunks/TabbedContent.js +4 -0
  126. package/chunks/TabbedContent.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 -81
  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 +19 -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 +87 -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 +73 -0
  217. package/containers/ManageNegotiableQuoteTemplate/index.d.ts +11 -0
  218. package/containers/ManageNegotiableQuoteTemplate.d.ts +3 -0
  219. package/containers/ManageNegotiableQuoteTemplate.js +4 -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 -1
  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 +262 -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/useUpdateTemplateQuantities.d.ts +27 -0
  296. package/i18n/en_US.json.d.ts +419 -1
  297. package/lib/configurationTransformers.d.ts +27 -0
  298. package/lib/itemFormatters.d.ts +47 -0
  299. package/lib/priceCalculators.d.ts +41 -0
  300. package/lib/state.d.ts +6 -0
  301. package/package.json +1 -1
  302. package/render.js +6 -2
  303. package/render.js.map +1 -1
  304. package/types/state.types.d.ts +13 -0
  305. package/utils/dateUtils.d.ts +26 -0
  306. package/utils/fileUtils.d.ts +46 -0
  307. package/utils/mapAuthPermissions.d.ts +39 -0
  308. package/api/getCustomerData/graphql/CustomerQuery.d.ts +0 -2
  309. package/api/graphql/CustomerFragment.d.ts +0 -2
  310. package/data/models/__fixtures__/customerModel.d.ts +0 -4
  311. package/data/transforms/transform-customer.d.ts +0 -15
@@ -0,0 +1,10 @@
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 NEGOTIABLE_QUOTE_TEMPLATE_FRAGMENT = "\n fragment NegotiableQuoteTemplateFragment on NegotiableQuoteTemplate {\n # uid\n template_id\n name\n # created_at\n # updated_at\n status\n # sales_rep_name\n expiration_date\n buyer {\n firstname\n lastname\n }\n comments {\n uid\n created_at\n author {\n firstname\n lastname\n }\n text\n attachments {\n name\n url\n }\n }\n items {\n uid\n product {\n name\n sku\n uid\n stock_status\n }\n prices {\n price {\n currency\n value\n }\n original_item_price {\n currency\n value\n }\n row_total {\n currency\n value\n }\n catalog_discount {\n amount_off\n percent_off\n }\n discounts {\n label\n value\n amount {\n currency\n value\n }\n }\n }\n quantity\n note_from_buyer {\n created_at\n creator_id\n creator_type\n # negotiable_quote_template_item_uid\n note\n note_uid\n }\n note_from_seller {\n created_at\n creator_id\n creator_type\n # negotiable_quote_template_item_uid\n note\n note_uid\n }\n ... on ConfigurableCartItem {\n configurable_options {\n option_label\n value_label\n }\n }\n ... on BundleCartItem {\n bundle_options {\n label\n values {\n label\n quantity\n original_price {\n currency\n value\n }\n priceV2 {\n currency\n value\n }\n }\n }\n }\n }\n history {\n uid\n created_at\n author {\n firstname\n lastname\n }\n change_type\n changes {\n comment_added {\n comment\n }\n custom_changes {\n new_value\n old_value\n title\n }\n statuses {\n changes {\n new_status\n old_status\n }\n }\n expiration {\n new_expiration\n old_expiration\n }\n total {\n new_price {\n currency\n value\n }\n old_price {\n currency\n value\n }\n }\n }\n }\n prices {\n subtotal_excluding_tax {\n currency\n value\n }\n subtotal_including_tax {\n currency\n value\n }\n subtotal_with_discount_excluding_tax {\n currency\n value\n }\n applied_taxes {\n amount {\n currency\n value\n }\n label\n }\n grand_total {\n currency\n value\n }\n }\n shipping_addresses {\n uid\n firstname\n lastname\n company\n street\n city\n region {\n code\n label\n region_id\n }\n postcode\n country {\n code\n label\n }\n telephone\n }\n reference_document_links {\n link_id\n document_name\n document_identifier\n reference_document_url\n }\n }\n";
10
+ //# sourceMappingURL=NegotiableQuoteTemplateFragment.d.ts.map
@@ -0,0 +1,10 @@
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 SEARCH_RESULT_PAGE_INFO_FRAGMENT = "\n fragment SearchResultPageInfoFragment on SearchResultPageInfo {\n current_page\n page_size\n total_pages\n }\n";
10
+ //# sourceMappingURL=SearchResultPageInfoFragment.d.ts.map
@@ -0,0 +1,10 @@
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 SELECTED_SHIPPING_METHOD_FRAGMENT = "\n fragment SELECTED_SHIPPING_METHOD_FRAGMENT on SelectedShippingMethod {\n amount {\n currency\n value\n }\n carrier_code\n carrier_title\n method_code\n method_title\n price_excl_tax {\n value\n currency\n }\n price_incl_tax {\n value\n currency\n }\n }\n";
10
+ //# sourceMappingURL=ShippingMethodFragment.d.ts.map
@@ -0,0 +1,10 @@
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 SORT_FIELDS_FRAGMENT = "\n fragment SortFieldsFragment on SortFields {\n default\n options {\n label\n value\n }\n }\n";
10
+ //# sourceMappingURL=SortFieldsFragment.d.ts.map
package/api/index.d.ts CHANGED
@@ -1,5 +1,38 @@
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
+ *******************************************************************/
1
9
  export * from './initialize';
2
10
  export * from './fetch-graphql';
3
- export * from './getCustomerData';
4
11
  export * from './requestNegotiableQuote';
12
+ export * from './getQuoteData';
13
+ export * from './negotiableQuotes';
14
+ export * from './getStoreConfig';
15
+ export * from './deleteQuote';
16
+ export * from './setShippingAddress';
17
+ export * from './sendForReview';
18
+ export * from './uploadFile';
19
+ export * from './closeNegotiableQuote';
20
+ export * from './getQuoteTemplateData';
21
+ export * from './createQuoteTemplate';
22
+ export * from './getQuoteTemplates';
23
+ export * from './sendQuoteTemplateForReview';
24
+ export * from './acceptQuoteTemplate';
25
+ export * from './cancelQuoteTemplate';
26
+ export * from './deleteQuoteTemplate';
27
+ export * from './openQuoteTemplate';
28
+ export * from './addQuoteTemplateShippingAddress';
29
+ export * from './updateQuoteTemplateItemQuantities';
30
+ export * from './removeQuoteTemplateItems';
31
+ export * from './addQuoteTemplateLineItemNote';
32
+ export * from './generateQuoteFromTemplate';
33
+ export * from './renameNegotiableQuote';
34
+ export * from './duplicateNegotiableQuote';
35
+ export * from './updateQuantities';
36
+ export * from './removeNegotiableQuoteItems';
37
+ export * from './setLineItemNote';
5
38
  //# sourceMappingURL=index.d.ts.map
@@ -3,6 +3,8 @@ import { Lang } from '@dropins/tools/types/elsie/src/i18n';
3
3
 
4
4
  type ConfigProps = {
5
5
  langDefinitions?: Lang;
6
+ quoteId?: string;
7
+ quoteTemplateId?: string;
6
8
  };
7
9
  export declare const initialize: Initializer<ConfigProps>;
8
10
  export declare const config: import('@dropins/tools/types/elsie/src/lib').Config<ConfigProps>;
@@ -0,0 +1,10 @@
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 NEGOTIABLE_QUOTES_QUERY: string;
10
+ //# sourceMappingURL=NegotiableQuotesQuery.d.ts.map
@@ -0,0 +1,10 @@
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 * from './negotiableQuotes';
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,39 @@
1
+ import { NegotiableQuotesListModel } from '../../data/models/negotiable-quote-model';
2
+
3
+ export declare enum FilterMatchTypeEnum {
4
+ FULL = "FULL",
5
+ PARTIAL = "PARTIAL"
6
+ }
7
+ export interface FilterEqualTypeInput {
8
+ eq?: string;
9
+ in?: string[];
10
+ }
11
+ export interface FilterMatchTypeInput {
12
+ match?: string;
13
+ match_type?: FilterMatchTypeEnum;
14
+ }
15
+ export interface NegotiableQuoteFilterInput {
16
+ ids?: FilterEqualTypeInput;
17
+ name?: FilterMatchTypeInput;
18
+ }
19
+ export declare enum SortEnum {
20
+ ASC = "ASC",
21
+ DESC = "DESC"
22
+ }
23
+ export declare enum NegotiableQuoteSortableField {
24
+ QUOTE_NAME = "QUOTE_NAME",
25
+ CREATED_AT = "CREATED_AT",
26
+ UPDATED_AT = "UPDATED_AT"
27
+ }
28
+ export interface NegotiableQuoteSortInput {
29
+ sort_direction: SortEnum;
30
+ sort_field: NegotiableQuoteSortableField;
31
+ }
32
+ export interface NegotiableQuotesParams {
33
+ filter?: NegotiableQuoteFilterInput;
34
+ pageSize?: number;
35
+ currentPage?: number;
36
+ sort?: NegotiableQuoteSortInput;
37
+ }
38
+ export declare const negotiableQuotes: (params?: NegotiableQuotesParams) => Promise<NegotiableQuotesListModel>;
39
+ //# sourceMappingURL=negotiableQuotes.d.ts.map
@@ -0,0 +1,10 @@
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 OPEN_QUOTE_TEMPLATE_MUTATION: string;
10
+ //# sourceMappingURL=openQuoteTemplate.d.ts.map
@@ -0,0 +1,10 @@
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 * from './openQuoteTemplate';
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,13 @@
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 interface OpenQuoteTemplateParams {
10
+ templateId: string;
11
+ }
12
+ export declare const openQuoteTemplate: (params: OpenQuoteTemplateParams) => Promise<import('../../data/models/negotiable-quote-template-model').NegotiableQuoteTemplateModel>;
13
+ //# sourceMappingURL=openQuoteTemplate.d.ts.map
@@ -0,0 +1,10 @@
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 REMOVE_NEGOTIABLE_QUOTE_ITEMS_MUTATION: string;
10
+ //# sourceMappingURL=RemoveNegotiableQuoteItemsMutation.d.ts.map
@@ -0,0 +1,10 @@
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 * from './removeNegotiableQuoteItems';
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,8 @@
1
+ import { NegotiableQuoteModel } from '../../data/models/negotiable-quote-model';
2
+
3
+ export interface RemoveNegotiableQuoteItemsInput {
4
+ quoteUid: string;
5
+ quoteItemUids: string[];
6
+ }
7
+ export declare const removeNegotiableQuoteItems: (input: RemoveNegotiableQuoteItemsInput) => Promise<NegotiableQuoteModel | null>;
8
+ //# sourceMappingURL=removeNegotiableQuoteItems.d.ts.map
@@ -0,0 +1,10 @@
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 REMOVE_NEGOTIABLE_QUOTE_TEMPLATE_ITEMS_MUTATION: string;
10
+ //# sourceMappingURL=removeNegotiableQuoteTemplateItems.d.ts.map
@@ -0,0 +1,10 @@
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 * from './removeQuoteTemplateItems';
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,14 @@
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 interface RemoveQuoteTemplateItemsParams {
10
+ templateId: string;
11
+ itemUids: string[];
12
+ }
13
+ export declare const removeQuoteTemplateItems: (params: RemoveQuoteTemplateItemsParams) => Promise<import('../../data/models/negotiable-quote-template-model').NegotiableQuoteTemplateModel>;
14
+ //# sourceMappingURL=removeQuoteTemplateItems.d.ts.map
@@ -0,0 +1,10 @@
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 RENAME_NEGOTIABLE_QUOTE_MUTATION: string;
10
+ //# sourceMappingURL=RenameNegotiableQuoteMutation.d.ts.map
@@ -0,0 +1,10 @@
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 * from './renameNegotiableQuote';
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,9 @@
1
+ import { NegotiableQuoteModel } from '../../data/models/negotiable-quote-model';
2
+
3
+ export interface RenameNegotiableQuoteInput {
4
+ quoteUid: string;
5
+ quoteName: string;
6
+ quoteComment?: string;
7
+ }
8
+ export declare const renameNegotiableQuote: (input: RenameNegotiableQuoteInput) => Promise<NegotiableQuoteModel | null>;
9
+ //# sourceMappingURL=renameNegotiableQuote.d.ts.map
@@ -1,18 +1,10 @@
1
1
  /********************************************************************
2
- * ADOBE CONFIDENTIAL
3
- * __________________
4
- *
5
- * Copyright 2024 Adobe
2
+ * Copyright 2025 Adobe
6
3
  * All Rights Reserved.
7
4
  *
8
- * NOTICE: All information contained herein is, and remains
9
- * the property of Adobe and its suppliers, if any. The intellectual
10
- * and technical concepts contained herein are proprietary to Adobe
11
- * and its suppliers and are protected by all applicable intellectual
12
- * property laws, including trade secret and copyright laws.
13
- * Dissemination of this information or reproduction of this material
14
- * is strictly forbidden unless prior written permission is obtained
15
- * from Adobe.
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.
16
8
  *******************************************************************/
17
9
  export declare const REQUEST_NEGOTIABLE_QUOTE_MUTATION: string;
18
10
  //# sourceMappingURL=RequestNegotiableQuoteMutation.d.ts.map
@@ -10,7 +10,4 @@ export interface RequestNegotiableQuoteInput {
10
10
  }[];
11
11
  }
12
12
  export declare const requestNegotiableQuote: (input: RequestNegotiableQuoteInput) => Promise<NegotiableQuoteModel | null>;
13
- export declare const uploadFile: (file: File) => Promise<{
14
- key: string;
15
- }>;
16
13
  //# sourceMappingURL=requestNegotiableQuote.d.ts.map
@@ -0,0 +1,10 @@
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 SEND_NEGOTIABLE_QUOTE_FOR_REVIEW_MUTATION: string;
10
+ //# sourceMappingURL=SendNegotiableQuoteForReviewMutation.d.ts.map
@@ -0,0 +1,10 @@
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 { sendForReview, type SendForReviewInput } from './sendForReview';
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,11 @@
1
+ import { NegotiableQuoteModel } from '../../data/models/negotiable-quote-model';
2
+
3
+ export interface SendForReviewInput {
4
+ quoteUid: string;
5
+ comment?: string;
6
+ attachments?: {
7
+ key: string;
8
+ }[];
9
+ }
10
+ export declare const sendForReview: (input: SendForReviewInput) => Promise<NegotiableQuoteModel | null>;
11
+ //# sourceMappingURL=sendForReview.d.ts.map
@@ -0,0 +1,10 @@
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 SEND_QUOTE_TEMPLATE_FOR_REVIEW_MUTATION: string;
10
+ //# sourceMappingURL=sendQuoteTemplateForReview.d.ts.map
@@ -0,0 +1,10 @@
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 * from './sendQuoteTemplateForReview';
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,22 @@
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 interface ReferenceDocumentLinkInput {
10
+ uid?: string;
11
+ name: string;
12
+ identifier?: string;
13
+ url: string;
14
+ }
15
+ export interface SendQuoteTemplateForReviewParams {
16
+ templateId: string;
17
+ name?: string;
18
+ comment?: string;
19
+ referenceDocumentLinks?: ReferenceDocumentLinkInput[];
20
+ }
21
+ export declare const sendQuoteTemplateForReview: (params: SendQuoteTemplateForReviewParams) => Promise<import('../../data/models/negotiable-quote-template-model').NegotiableQuoteTemplateModel>;
22
+ //# sourceMappingURL=sendQuoteTemplateForReview.d.ts.map
@@ -0,0 +1,10 @@
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 SET_LINE_ITEM_NOTE_MUTATION: string;
10
+ //# sourceMappingURL=SetLineItemNoteMutation.d.ts.map
@@ -0,0 +1,10 @@
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 * from './setLineItemNote';
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,10 @@
1
+ import { NegotiableQuoteModel } from '../../data/models/negotiable-quote-model';
2
+
3
+ export interface SetLineItemNoteInput {
4
+ quoteUid: string;
5
+ itemUid: string;
6
+ note: string;
7
+ quantity?: number;
8
+ }
9
+ export declare const setLineItemNote: (input: SetLineItemNoteInput) => Promise<NegotiableQuoteModel | null>;
10
+ //# sourceMappingURL=setLineItemNote.d.ts.map
@@ -0,0 +1,10 @@
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 SET_NEGOTIABLE_QUOTE_SHIPPING_ADDRESS_MUTATION: string;
10
+ //# sourceMappingURL=SetNegotiableQuoteShippingAddressMutation.d.ts.map
@@ -0,0 +1,2 @@
1
+ export * from './setShippingAddress';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,110 @@
1
+ import { NegotiableQuoteModel } from '../../data/models/negotiable-quote-model';
2
+
3
+ export interface AddressInput {
4
+ /** City name */
5
+ city: string;
6
+ /** Optional company name */
7
+ company?: string;
8
+ /** Two-letter country code (e.g., 'US') */
9
+ countryCode: string;
10
+ /** First name */
11
+ firstname: string;
12
+ /** Last name */
13
+ lastname: string;
14
+ /** Postal/ZIP code */
15
+ postcode: string;
16
+ /** Optional state/province name */
17
+ region?: string;
18
+ /** Optional state/province ID */
19
+ regionId?: number;
20
+ /** Whether to save this address to the customer's address book */
21
+ saveInAddressBook?: boolean;
22
+ /** Street address lines (array) */
23
+ street: string[];
24
+ /** Phone number */
25
+ telephone: string;
26
+ /**
27
+ * Additional input (optional custom fields for the address).
28
+ * These fields will be merged into the address data sent to GraphQL.
29
+ * Standard fields take precedence over additional fields to prevent
30
+ * accidental override of required address attributes.
31
+ *
32
+ * @example
33
+ * ```ts
34
+ * additionalInput: {
35
+ * vat_id: 'GB123456789',
36
+ * custom_attribute: 'value',
37
+ * delivery_instructions: 'Leave at door'
38
+ * }
39
+ * ```
40
+ */
41
+ additionalInput?: Record<string, any>;
42
+ }
43
+ export interface SetShippingAddressInput {
44
+ /** The unique ID of the negotiable quote */
45
+ quoteUid: string;
46
+ /** The ID of a saved customer address (use this OR addressData, not both) */
47
+ addressId?: number;
48
+ /** New address data (use this OR addressId, not both) */
49
+ addressData?: AddressInput;
50
+ }
51
+ /**
52
+ * Sets or updates the shipping address for a negotiable quote.
53
+ *
54
+ * @param input - The input parameters for setting the shipping address
55
+ * @param input.quoteUid - The unique ID of the negotiable quote
56
+ * @param input.addressId - Optional ID of a saved customer address (use this OR addressData)
57
+ * @param input.addressData - Optional new address data (use this OR addressId)
58
+ * @param input.addressData.additionalInput - Optional additional address fields to pass through to GraphQL
59
+ * @returns Promise that resolves to the updated quote model with shipping addresses including uid field
60
+ * @throws Error if validation fails or GraphQL operation fails
61
+ *
62
+ * @example
63
+ * ```ts
64
+ * // Using a saved address
65
+ * const quote = await setShippingAddress({
66
+ * quoteUid: 'quote-123',
67
+ * addressId: 5
68
+ * });
69
+ *
70
+ * // Using new address data
71
+ * const quote = await setShippingAddress({
72
+ * quoteUid: 'quote-123',
73
+ * addressData: {
74
+ * firstname: 'John',
75
+ * lastname: 'Doe',
76
+ * street: ['123 Main St'],
77
+ * city: 'San Francisco',
78
+ * countryCode: 'US',
79
+ * postcode: '94103',
80
+ * telephone: '555-1234'
81
+ * }
82
+ * });
83
+ *
84
+ * // Using address data with additional custom fields
85
+ * const quote = await setShippingAddress({
86
+ * quoteUid: 'quote-123',
87
+ * addressData: {
88
+ * firstname: 'John',
89
+ * lastname: 'Doe',
90
+ * street: ['123 Main St'],
91
+ * city: 'San Francisco',
92
+ * countryCode: 'US',
93
+ * postcode: '94103',
94
+ * telephone: '555-1234',
95
+ * additionalInput: {
96
+ * vat_id: 'GB123456789',
97
+ * custom_attribute_1: 'value1',
98
+ * delivery_instructions: 'Leave at door'
99
+ * }
100
+ * }
101
+ * });
102
+ *
103
+ * // Access address identifier
104
+ * if (quote?.shippingAddresses?.[0]) {
105
+ * console.log('Address UID:', quote.shippingAddresses[0].uid);
106
+ * }
107
+ * ```
108
+ */
109
+ export declare const setShippingAddress: (input: SetShippingAddressInput) => Promise<NegotiableQuoteModel | null>;
110
+ //# sourceMappingURL=setShippingAddress.d.ts.map
@@ -0,0 +1,10 @@
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 UPDATE_NEGOTIABLE_QUOTE_QUANTITIES_MUTATION: string;
10
+ //# sourceMappingURL=UpdateNegotiableQuoteQuantitiesMutation.d.ts.map
@@ -0,0 +1,10 @@
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 * from './updateQuantities';
10
+ //# sourceMappingURL=index.d.ts.map