@dropins/storefront-quote-management 0.0.1-alpha19 → 0.0.1-alpha20

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 (122) hide show
  1. package/api/acceptQuoteTemplate/acceptQuoteTemplate.d.ts +13 -0
  2. package/api/acceptQuoteTemplate/graphql/acceptQuoteTemplate.d.ts +10 -0
  3. package/{containers/QuoteSummaryList → api/acceptQuoteTemplate}/index.d.ts +1 -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/deleteQuoteTemplate/deleteQuoteTemplate.d.ts +15 -0
  20. package/api/deleteQuoteTemplate/graphql/deleteQuoteTemplate.d.ts +10 -0
  21. package/api/deleteQuoteTemplate/index.d.ts +10 -0
  22. package/api/generateQuoteFromTemplate/generateQuoteFromTemplate.d.ts +15 -0
  23. package/api/generateQuoteFromTemplate/graphql/generateNegotiableQuoteFromTemplate.d.ts +10 -0
  24. package/api/generateQuoteFromTemplate/index.d.ts +10 -0
  25. package/api/getQuoteTemplateData/getQuoteTemplateData.d.ts +4 -0
  26. package/api/getQuoteTemplateData/graphql/getQuoteTemplateData.d.ts +10 -0
  27. package/api/getQuoteTemplateData/index.d.ts +10 -0
  28. package/api/getQuoteTemplates/getQuoteTemplates.d.ts +34 -0
  29. package/api/getQuoteTemplates/graphql/getQuoteTemplates.d.ts +10 -0
  30. package/api/getQuoteTemplates/index.d.ts +10 -0
  31. package/api/graphql/NegotiableQuoteFragment.d.ts +4 -12
  32. package/api/graphql/NegotiableQuoteTemplateFragment.d.ts +10 -0
  33. package/api/index.d.ts +15 -1
  34. package/api/openQuoteTemplate/graphql/openQuoteTemplate.d.ts +10 -0
  35. package/api/openQuoteTemplate/index.d.ts +10 -0
  36. package/api/openQuoteTemplate/openQuoteTemplate.d.ts +13 -0
  37. package/api/removeQuoteTemplateItems/graphql/removeNegotiableQuoteTemplateItems.d.ts +10 -0
  38. package/api/removeQuoteTemplateItems/index.d.ts +10 -0
  39. package/api/removeQuoteTemplateItems/removeQuoteTemplateItems.d.ts +14 -0
  40. package/api/requestNegotiableQuote/graphql/RequestNegotiableQuoteMutation.d.ts +4 -12
  41. package/api/sendForReview/graphql/SendNegotiableQuoteForReviewMutation.d.ts +4 -12
  42. package/api/sendQuoteTemplateForReview/graphql/sendQuoteTemplateForReview.d.ts +10 -0
  43. package/api/sendQuoteTemplateForReview/index.d.ts +10 -0
  44. package/api/sendQuoteTemplateForReview/sendQuoteTemplateForReview.d.ts +15 -0
  45. package/api/setShippingAddress/graphql/SetNegotiableQuoteShippingAddressMutation.d.ts +4 -12
  46. package/api/updateQuantities/graphql/UpdateNegotiableQuoteQuantitiesMutation.d.ts +10 -0
  47. package/api/{getStoreConfig → updateQuantities}/index.d.ts +1 -1
  48. package/api/updateQuantities/updateQuantities.d.ts +36 -0
  49. package/api/updateQuoteTemplateItemQuantities/graphql/updateNegotiableQuoteTemplateQuantities.d.ts +10 -0
  50. package/api/updateQuoteTemplateItemQuantities/index.d.ts +10 -0
  51. package/api/updateQuoteTemplateItemQuantities/updateQuoteTemplateItemQuantities.d.ts +20 -0
  52. package/api.js +306 -32
  53. package/api.js.map +1 -1
  54. package/chunks/ItemsQuoted.js +1 -1
  55. package/chunks/ItemsQuoted.js.map +1 -1
  56. package/chunks/NegotiableQuoteFragment.js +0 -129
  57. package/chunks/NegotiableQuoteFragment.js.map +1 -1
  58. package/chunks/OrderSummaryLine.js +1 -1
  59. package/chunks/OrderSummaryLine.js.map +1 -1
  60. package/chunks/fetch-graphql.js +4 -0
  61. package/chunks/fetch-graphql.js.map +1 -0
  62. package/chunks/getQuoteTemplates.js +50 -0
  63. package/chunks/getQuoteTemplates.js.map +1 -0
  64. package/chunks/negotiableQuotes.js +1 -1
  65. package/chunks/negotiableQuotes.js.map +1 -1
  66. package/chunks/renameNegotiableQuote.js +46 -4
  67. package/chunks/renameNegotiableQuote.js.map +1 -1
  68. package/chunks/state.js +1 -1
  69. package/chunks/state.js.map +1 -1
  70. package/chunks/updateQuantities.js +21 -0
  71. package/chunks/updateQuantities.js.map +1 -0
  72. package/chunks/uploadFile.js +1 -1
  73. package/chunks/uploadFile.js.map +1 -1
  74. package/components/ProductListTable/ProductListTable.d.ts +1 -0
  75. package/components/QuoteTemplatesListTable/QuoteTemplatesListTable.d.ts +30 -0
  76. package/components/QuoteTemplatesListTable/index.d.ts +10 -0
  77. package/components/index.d.ts +2 -0
  78. package/containers/ItemsQuoted/ItemsQuoted.d.ts +1 -1
  79. package/containers/ItemsQuoted.js +1 -1
  80. package/containers/ManageNegotiableQuote.js +1 -1
  81. package/containers/ManageNegotiableQuote.js.map +1 -1
  82. package/containers/OrderSummary.js +1 -1
  83. package/containers/OrderSummary.js.map +1 -1
  84. package/containers/OrderSummaryLine.js +1 -1
  85. package/containers/QuoteTemplatesListTable/QuoteTemplatesListTable.d.ts +74 -0
  86. package/containers/QuoteTemplatesListTable/index.d.ts +11 -0
  87. package/containers/QuoteTemplatesListTable.d.ts +3 -0
  88. package/containers/QuoteTemplatesListTable.js +4 -0
  89. package/containers/QuoteTemplatesListTable.js.map +1 -0
  90. package/containers/QuotesListTable.js +1 -1
  91. package/containers/QuotesListTable.js.map +1 -1
  92. package/containers/RequestNegotiableQuoteForm.js +1 -1
  93. package/containers/RequestNegotiableQuoteForm.js.map +1 -1
  94. package/containers/index.d.ts +3 -3
  95. package/data/models/__fixtures__/negotiableQuoteModel.d.ts +0 -1
  96. package/data/models/__fixtures__/negotiableQuoteTemplatesListModel.d.ts +5 -0
  97. package/data/models/index.d.ts +1 -0
  98. package/data/models/negotiable-quote-model.d.ts +22 -45
  99. package/data/models/negotiable-quote-template-model.d.ts +136 -0
  100. package/data/models/store-config-model.d.ts +2 -5
  101. package/data/transforms/__fixtures__/negotiableQuoteData.d.ts +2 -216
  102. package/data/transforms/__fixtures__/negotiableQuoteTemplateData.d.ts +1604 -0
  103. package/data/transforms/index.d.ts +5 -13
  104. package/data/transforms/transform-quote-template.d.ts +5 -0
  105. package/i18n/en_US.json.d.ts +25 -12
  106. package/package.json +1 -1
  107. package/render.js +3 -3
  108. package/render.js.map +1 -1
  109. package/types/state.types.d.ts +1 -1
  110. package/api/getStoreConfig/getStoreConfig.d.ts +0 -4
  111. package/api/getStoreConfig/graphql/StoreConfigQuery.d.ts +0 -10
  112. package/chunks/ChevronDown.js +0 -4
  113. package/chunks/ChevronDown.js.map +0 -1
  114. package/chunks/transform-quote.js +0 -4
  115. package/chunks/transform-quote.js.map +0 -1
  116. package/containers/QuoteSummaryList/QuoteSummaryList.d.ts +0 -51
  117. package/containers/QuoteSummaryList.d.ts +0 -3
  118. package/containers/QuoteSummaryList.js +0 -4
  119. package/containers/QuoteSummaryList.js.map +0 -1
  120. package/data/models/__fixtures__/storeConfigModel.d.ts +0 -5
  121. package/data/transforms/__fixtures__/storeConfigData.d.ts +0 -31
  122. package/data/transforms/transform-store-config.d.ts +0 -4
@@ -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 AcceptQuoteTemplateParams {
10
+ templateId: string;
11
+ }
12
+ export declare const acceptQuoteTemplate: (params: AcceptQuoteTemplateParams) => Promise<import('../../data/models/negotiable-quote-template-model').NegotiableQuoteTemplateModel>;
13
+ //# sourceMappingURL=acceptQuoteTemplate.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 ACCEPT_QUOTE_TEMPLATE_MUTATION: string;
10
+ //# sourceMappingURL=acceptQuoteTemplate.d.ts.map
@@ -6,6 +6,5 @@
6
6
  * file in accordance with the terms of the Adobe license agreement
7
7
  * accompanying it.
8
8
  *******************************************************************/
9
- export * from './QuoteSummaryList';
10
- export { QuoteSummaryList as default } from './QuoteSummaryList';
9
+ export * from './acceptQuoteTemplate';
11
10
  //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,15 @@
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 AddQuoteTemplateLineItemNoteParams {
10
+ templateId: string;
11
+ itemId: string;
12
+ note?: string;
13
+ }
14
+ export declare const addQuoteTemplateLineItemNote: (params: AddQuoteTemplateLineItemNoteParams) => Promise<import('../../data/models/negotiable-quote-template-model').NegotiableQuoteTemplateModel>;
15
+ //# sourceMappingURL=addQuoteTemplateLineItemNote.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_QUOTE_TEMPLATE_LINE_ITEM_NOTE_MUTATION: string;
10
+ //# sourceMappingURL=setQuoteTemplateLineItemNote.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 './addQuoteTemplateLineItemNote';
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,37 @@
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 NegotiableQuoteAddressInput {
10
+ city: string;
11
+ company?: string;
12
+ countryCode: string;
13
+ fax?: string;
14
+ firstname: string;
15
+ lastname: string;
16
+ middlename?: string;
17
+ postcode?: string;
18
+ prefix?: string;
19
+ region?: string;
20
+ regionId?: number;
21
+ saveInAddressBook?: boolean;
22
+ street: string[];
23
+ suffix?: string;
24
+ telephone?: string;
25
+ vatId?: string;
26
+ }
27
+ export interface NegotiableQuoteTemplateShippingAddressInput {
28
+ address?: NegotiableQuoteAddressInput;
29
+ customerAddressUid?: string;
30
+ customerNotes?: string;
31
+ }
32
+ export interface AddQuoteTemplateShippingAddressParams {
33
+ templateId: string;
34
+ shippingAddress: NegotiableQuoteTemplateShippingAddressInput;
35
+ }
36
+ export declare const addQuoteTemplateShippingAddress: (params: AddQuoteTemplateShippingAddressParams) => Promise<import('../../data/models/negotiable-quote-template-model').NegotiableQuoteTemplateModel>;
37
+ //# sourceMappingURL=addQuoteTemplateShippingAddress.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_TEMPLATE_SHIPPING_ADDRESS_MUTATION: string;
10
+ //# sourceMappingURL=setNegotiableQuoteTemplateShippingAddress.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 './addQuoteTemplateShippingAddress';
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 CancelQuoteTemplateParams {
10
+ templateId: string;
11
+ comment?: string;
12
+ }
13
+ export declare const cancelQuoteTemplate: (params: CancelQuoteTemplateParams) => Promise<import('../../data/models/negotiable-quote-template-model').NegotiableQuoteTemplateModel>;
14
+ //# sourceMappingURL=cancelQuoteTemplate.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 CANCEL_QUOTE_TEMPLATE_MUTATION: string;
10
+ //# sourceMappingURL=cancelQuoteTemplate.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 './cancelQuoteTemplate';
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,31 @@
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 CloseNegotiableQuoteInput {
10
+ quoteUids: string[];
11
+ }
12
+ export interface CloseNegotiableQuoteSuccessResult {
13
+ __typename: 'NegotiableQuoteUidOperationSuccess';
14
+ quoteUid: string;
15
+ }
16
+ export interface CloseNegotiableQuoteFailureError {
17
+ __typename: string;
18
+ message?: string;
19
+ uid?: string;
20
+ }
21
+ export interface CloseNegotiableQuoteFailureResult {
22
+ __typename: 'CloseNegotiableQuoteOperationFailure';
23
+ quoteUid: string;
24
+ errors: CloseNegotiableQuoteFailureError[];
25
+ }
26
+ export interface CloseNegotiableQuoteResult {
27
+ resultStatus: string;
28
+ operationResults: Array<CloseNegotiableQuoteSuccessResult | CloseNegotiableQuoteFailureResult>;
29
+ }
30
+ export declare const closeNegotiableQuote: (input: CloseNegotiableQuoteInput) => Promise<CloseNegotiableQuoteResult>;
31
+ //# sourceMappingURL=closeNegotiableQuote.d.ts.map
@@ -0,0 +1,2 @@
1
+ export declare const CLOSE_NEGOTIABLE_QUOTE_MUTATION = "\n mutation CLOSE_NEGOTIABLE_QUOTE_MUTATION(\n $quoteUids: [ID!]!\n ) {\n closeNegotiableQuotes(input: { quote_uids: $quoteUids }) {\n result_status\n operation_results {\n ... on NegotiableQuoteUidOperationSuccess {\n __typename\n quote_uid\n }\n ... on CloseNegotiableQuoteOperationFailure {\n __typename\n quote_uid\n errors {\n __typename\n ... on ErrorInterface {\n message\n }\n ... on NoSuchEntityUidError {\n uid\n }\n ... on NegotiableQuoteInvalidStateError {\n message\n }\n }\n }\n }\n }\n }\n";
2
+ //# sourceMappingURL=CloseNegotiableQuoteMutation.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 './closeNegotiableQuote';
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,4 @@
1
+ import { NegotiableQuoteTemplateModel } from '../../data/models/negotiable-quote-template-model';
2
+
3
+ export declare const createQuoteTemplate: (quoteId: string) => Promise<NegotiableQuoteTemplateModel | null>;
4
+ //# sourceMappingURL=createQuoteTemplate.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 CREATE_QUOTE_TEMPLATE_MUTATION: string;
10
+ //# sourceMappingURL=createQuoteTemplate.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 './createQuoteTemplate';
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,15 @@
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 DeleteQuoteTemplateParams {
10
+ templateId: string;
11
+ }
12
+ export declare const deleteQuoteTemplate: (params: DeleteQuoteTemplateParams) => Promise<{
13
+ templateId: string;
14
+ }>;
15
+ //# sourceMappingURL=deleteQuoteTemplate.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 DELETE_QUOTE_TEMPLATE_MUTATION = "\n mutation DELETE_QUOTE_TEMPLATE_MUTATION($templateId: ID!) {\n deleteNegotiableQuoteTemplate(input: { template_id: $templateId })\n }\n";
10
+ //# sourceMappingURL=deleteQuoteTemplate.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 './deleteQuoteTemplate';
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,15 @@
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 GenerateQuoteFromTemplateParams {
10
+ templateId: string;
11
+ }
12
+ export declare const generateQuoteFromTemplate: (params: GenerateQuoteFromTemplateParams) => Promise<{
13
+ quoteId: any;
14
+ }>;
15
+ //# sourceMappingURL=generateQuoteFromTemplate.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 GENERATE_NEGOTIABLE_QUOTE_FROM_TEMPLATE_MUTATION = "\n mutation GENERATE_NEGOTIABLE_QUOTE_FROM_TEMPLATE_MUTATION(\n $input: GenerateNegotiableQuoteFromTemplateInput!\n ) {\n generateNegotiableQuoteFromTemplate(input: $input) {\n negotiable_quote_uid\n }\n }\n";
10
+ //# sourceMappingURL=generateNegotiableQuoteFromTemplate.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 './generateQuoteFromTemplate';
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,4 @@
1
+ import { NegotiableQuoteTemplateModel } from '../../data/models/negotiable-quote-template-model';
2
+
3
+ export declare const getQuoteTemplateData: (templateId: string) => Promise<NegotiableQuoteTemplateModel | null>;
4
+ //# sourceMappingURL=getQuoteTemplateData.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 GET_QUOTE_TEMPLATE_DATA: string;
10
+ //# sourceMappingURL=getQuoteTemplateData.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 './getQuoteTemplateData';
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,34 @@
1
+ import { NegotiableQuoteTemplatesListModel } from '../../data/models/negotiable-quote-template-model';
2
+
3
+ export declare enum QuoteTemplateFilterStatus {
4
+ ACTIVE = "ACTIVE",
5
+ IN_REVIEW = "IN_REVIEW",
6
+ INACTIVE = "INACTIVE"
7
+ }
8
+ export interface QuoteTemplateFilterInput {
9
+ status?: QuoteTemplateFilterStatus[];
10
+ name?: {
11
+ match?: string;
12
+ };
13
+ }
14
+ export declare enum QuoteTemplateSortField {
15
+ NAME = "NAME",
16
+ CREATED_AT = "CREATED_AT",
17
+ UPDATED_AT = "UPDATED_AT"
18
+ }
19
+ export declare enum SortDirection {
20
+ ASC = "ASC",
21
+ DESC = "DESC"
22
+ }
23
+ export interface QuoteTemplateSortInput {
24
+ sortField: QuoteTemplateSortField;
25
+ sortDirection: SortDirection;
26
+ }
27
+ export interface GetQuoteTemplatesParams {
28
+ filter?: QuoteTemplateFilterInput;
29
+ pageSize?: number;
30
+ currentPage?: number;
31
+ sort?: QuoteTemplateSortInput;
32
+ }
33
+ export declare const getQuoteTemplates: (params?: GetQuoteTemplatesParams) => Promise<NegotiableQuoteTemplatesListModel>;
34
+ //# sourceMappingURL=getQuoteTemplates.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 QUOTE_TEMPLATES_QUERY = "\n query QUOTE_TEMPLATES_QUERY(\n $filter: NegotiableQuoteTemplateFilterInput\n $pageSize: Int\n $currentPage: Int\n $sort: NegotiableQuoteTemplateSortInput\n ) {\n negotiableQuoteTemplates(\n filter: $filter\n pageSize: $pageSize\n currentPage: $currentPage\n sort: $sort\n ) {\n items {\n # uid\n template_id\n name\n # created_at\n # updated_at\n # last_ordered_at\n status\n state\n min_negotiated_grand_total\n last_shared_at\n # expiration_date\n orders_placed\n # grand_total {\n # currency\n # value\n # }\n }\n page_info {\n current_page\n page_size\n total_pages\n }\n total_count\n sort_fields {\n default\n options {\n label\n value\n }\n }\n }\n }\n";
10
+ //# sourceMappingURL=getQuoteTemplates.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 './getQuoteTemplates';
10
+ //# sourceMappingURL=index.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 NEGOTIABLE_QUOTE_FRAGMENT: string;
18
10
  //# sourceMappingURL=NegotiableQuoteFragment.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 NEGOTIABLE_QUOTE_TEMPLATE_FRAGMENT = "\n fragment NegotiableQuoteTemplateFragment on NegotiableQuoteTemplate {\n # uid\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 }\n";
10
+ //# sourceMappingURL=NegotiableQuoteTemplateFragment.d.ts.map
package/api/index.d.ts CHANGED
@@ -12,10 +12,24 @@ export * from './getCustomerData';
12
12
  export * from './requestNegotiableQuote';
13
13
  export * from './getQuoteData';
14
14
  export * from './negotiableQuotes';
15
- export * from './getStoreConfig';
16
15
  export * from './deleteQuote';
17
16
  export * from './setShippingAddress';
18
17
  export * from './sendForReview';
19
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';
20
33
  export * from './renameNegotiableQuote';
34
+ export * from './updateQuantities';
21
35
  //# sourceMappingURL=index.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_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
@@ -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
@@ -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 SEND_NEGOTIABLE_QUOTE_FOR_REVIEW_MUTATION: string;
18
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 declare const SEND_QUOTE_TEMPLATE_FOR_REVIEW_MUTATION: string;
10
+ //# sourceMappingURL=sendQuoteTemplateForReview.d.ts.map