@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.
- package/api/acceptQuoteTemplate/acceptQuoteTemplate.d.ts +13 -0
- package/api/acceptQuoteTemplate/graphql/acceptQuoteTemplate.d.ts +10 -0
- package/{containers/QuoteSummaryList → api/acceptQuoteTemplate}/index.d.ts +1 -2
- package/api/addQuoteTemplateLineItemNote/addQuoteTemplateLineItemNote.d.ts +15 -0
- package/api/addQuoteTemplateLineItemNote/graphql/setQuoteTemplateLineItemNote.d.ts +10 -0
- package/api/addQuoteTemplateLineItemNote/index.d.ts +10 -0
- package/api/addQuoteTemplateShippingAddress/addQuoteTemplateShippingAddress.d.ts +37 -0
- package/api/addQuoteTemplateShippingAddress/graphql/setNegotiableQuoteTemplateShippingAddress.d.ts +10 -0
- package/api/addQuoteTemplateShippingAddress/index.d.ts +10 -0
- package/api/cancelQuoteTemplate/cancelQuoteTemplate.d.ts +14 -0
- package/api/cancelQuoteTemplate/graphql/cancelQuoteTemplate.d.ts +10 -0
- package/api/cancelQuoteTemplate/index.d.ts +10 -0
- package/api/closeNegotiableQuote/closeNegotiableQuote.d.ts +31 -0
- package/api/closeNegotiableQuote/graphql/CloseNegotiableQuoteMutation.d.ts +2 -0
- package/api/closeNegotiableQuote/index.d.ts +10 -0
- package/api/createQuoteTemplate/createQuoteTemplate.d.ts +4 -0
- package/api/createQuoteTemplate/graphql/createQuoteTemplate.d.ts +10 -0
- package/api/createQuoteTemplate/index.d.ts +10 -0
- package/api/deleteQuoteTemplate/deleteQuoteTemplate.d.ts +15 -0
- package/api/deleteQuoteTemplate/graphql/deleteQuoteTemplate.d.ts +10 -0
- package/api/deleteQuoteTemplate/index.d.ts +10 -0
- package/api/generateQuoteFromTemplate/generateQuoteFromTemplate.d.ts +15 -0
- package/api/generateQuoteFromTemplate/graphql/generateNegotiableQuoteFromTemplate.d.ts +10 -0
- package/api/generateQuoteFromTemplate/index.d.ts +10 -0
- package/api/getQuoteTemplateData/getQuoteTemplateData.d.ts +4 -0
- package/api/getQuoteTemplateData/graphql/getQuoteTemplateData.d.ts +10 -0
- package/api/getQuoteTemplateData/index.d.ts +10 -0
- package/api/getQuoteTemplates/getQuoteTemplates.d.ts +34 -0
- package/api/getQuoteTemplates/graphql/getQuoteTemplates.d.ts +10 -0
- package/api/getQuoteTemplates/index.d.ts +10 -0
- package/api/graphql/NegotiableQuoteFragment.d.ts +4 -12
- package/api/graphql/NegotiableQuoteTemplateFragment.d.ts +10 -0
- package/api/index.d.ts +15 -1
- package/api/openQuoteTemplate/graphql/openQuoteTemplate.d.ts +10 -0
- package/api/openQuoteTemplate/index.d.ts +10 -0
- package/api/openQuoteTemplate/openQuoteTemplate.d.ts +13 -0
- package/api/removeQuoteTemplateItems/graphql/removeNegotiableQuoteTemplateItems.d.ts +10 -0
- package/api/removeQuoteTemplateItems/index.d.ts +10 -0
- package/api/removeQuoteTemplateItems/removeQuoteTemplateItems.d.ts +14 -0
- package/api/requestNegotiableQuote/graphql/RequestNegotiableQuoteMutation.d.ts +4 -12
- package/api/sendForReview/graphql/SendNegotiableQuoteForReviewMutation.d.ts +4 -12
- package/api/sendQuoteTemplateForReview/graphql/sendQuoteTemplateForReview.d.ts +10 -0
- package/api/sendQuoteTemplateForReview/index.d.ts +10 -0
- package/api/sendQuoteTemplateForReview/sendQuoteTemplateForReview.d.ts +15 -0
- package/api/setShippingAddress/graphql/SetNegotiableQuoteShippingAddressMutation.d.ts +4 -12
- package/api/updateQuantities/graphql/UpdateNegotiableQuoteQuantitiesMutation.d.ts +10 -0
- package/api/{getStoreConfig → updateQuantities}/index.d.ts +1 -1
- package/api/updateQuantities/updateQuantities.d.ts +36 -0
- package/api/updateQuoteTemplateItemQuantities/graphql/updateNegotiableQuoteTemplateQuantities.d.ts +10 -0
- package/api/updateQuoteTemplateItemQuantities/index.d.ts +10 -0
- package/api/updateQuoteTemplateItemQuantities/updateQuoteTemplateItemQuantities.d.ts +20 -0
- package/api.js +306 -32
- package/api.js.map +1 -1
- package/chunks/ItemsQuoted.js +1 -1
- package/chunks/ItemsQuoted.js.map +1 -1
- package/chunks/NegotiableQuoteFragment.js +0 -129
- package/chunks/NegotiableQuoteFragment.js.map +1 -1
- package/chunks/OrderSummaryLine.js +1 -1
- package/chunks/OrderSummaryLine.js.map +1 -1
- package/chunks/fetch-graphql.js +4 -0
- package/chunks/fetch-graphql.js.map +1 -0
- package/chunks/getQuoteTemplates.js +50 -0
- package/chunks/getQuoteTemplates.js.map +1 -0
- package/chunks/negotiableQuotes.js +1 -1
- package/chunks/negotiableQuotes.js.map +1 -1
- package/chunks/renameNegotiableQuote.js +46 -4
- package/chunks/renameNegotiableQuote.js.map +1 -1
- package/chunks/state.js +1 -1
- package/chunks/state.js.map +1 -1
- package/chunks/updateQuantities.js +21 -0
- package/chunks/updateQuantities.js.map +1 -0
- package/chunks/uploadFile.js +1 -1
- package/chunks/uploadFile.js.map +1 -1
- package/components/ProductListTable/ProductListTable.d.ts +1 -0
- package/components/QuoteTemplatesListTable/QuoteTemplatesListTable.d.ts +30 -0
- package/components/QuoteTemplatesListTable/index.d.ts +10 -0
- package/components/index.d.ts +2 -0
- package/containers/ItemsQuoted/ItemsQuoted.d.ts +1 -1
- package/containers/ItemsQuoted.js +1 -1
- package/containers/ManageNegotiableQuote.js +1 -1
- package/containers/ManageNegotiableQuote.js.map +1 -1
- package/containers/OrderSummary.js +1 -1
- package/containers/OrderSummary.js.map +1 -1
- package/containers/OrderSummaryLine.js +1 -1
- package/containers/QuoteTemplatesListTable/QuoteTemplatesListTable.d.ts +74 -0
- package/containers/QuoteTemplatesListTable/index.d.ts +11 -0
- package/containers/QuoteTemplatesListTable.d.ts +3 -0
- package/containers/QuoteTemplatesListTable.js +4 -0
- package/containers/QuoteTemplatesListTable.js.map +1 -0
- package/containers/QuotesListTable.js +1 -1
- package/containers/QuotesListTable.js.map +1 -1
- package/containers/RequestNegotiableQuoteForm.js +1 -1
- package/containers/RequestNegotiableQuoteForm.js.map +1 -1
- package/containers/index.d.ts +3 -3
- package/data/models/__fixtures__/negotiableQuoteModel.d.ts +0 -1
- package/data/models/__fixtures__/negotiableQuoteTemplatesListModel.d.ts +5 -0
- package/data/models/index.d.ts +1 -0
- package/data/models/negotiable-quote-model.d.ts +22 -45
- package/data/models/negotiable-quote-template-model.d.ts +136 -0
- package/data/models/store-config-model.d.ts +2 -5
- package/data/transforms/__fixtures__/negotiableQuoteData.d.ts +2 -216
- package/data/transforms/__fixtures__/negotiableQuoteTemplateData.d.ts +1604 -0
- package/data/transforms/index.d.ts +5 -13
- package/data/transforms/transform-quote-template.d.ts +5 -0
- package/i18n/en_US.json.d.ts +25 -12
- package/package.json +1 -1
- package/render.js +3 -3
- package/render.js.map +1 -1
- package/types/state.types.d.ts +1 -1
- package/api/getStoreConfig/getStoreConfig.d.ts +0 -4
- package/api/getStoreConfig/graphql/StoreConfigQuery.d.ts +0 -10
- package/chunks/ChevronDown.js +0 -4
- package/chunks/ChevronDown.js.map +0 -1
- package/chunks/transform-quote.js +0 -4
- package/chunks/transform-quote.js.map +0 -1
- package/containers/QuoteSummaryList/QuoteSummaryList.d.ts +0 -51
- package/containers/QuoteSummaryList.d.ts +0 -3
- package/containers/QuoteSummaryList.js +0 -4
- package/containers/QuoteSummaryList.js.map +0 -1
- package/data/models/__fixtures__/storeConfigModel.d.ts +0 -5
- package/data/transforms/__fixtures__/storeConfigData.d.ts +0 -31
- package/data/transforms/transform-store-config.d.ts +0 -4
|
@@ -42,7 +42,6 @@ export interface NegotiableQuoteModel {
|
|
|
42
42
|
lastname: string;
|
|
43
43
|
};
|
|
44
44
|
templateName?: string;
|
|
45
|
-
totalQuantity: number;
|
|
46
45
|
comments?: {
|
|
47
46
|
uid: string;
|
|
48
47
|
createdAt: string;
|
|
@@ -76,9 +75,23 @@ export interface NegotiableQuoteModel {
|
|
|
76
75
|
canSendForReview: boolean;
|
|
77
76
|
lockedForEditing?: boolean;
|
|
78
77
|
canDelete: boolean;
|
|
78
|
+
canClose: boolean;
|
|
79
|
+
canUpdateQuote: boolean;
|
|
80
|
+
}
|
|
81
|
+
export interface ConfigurableOption {
|
|
82
|
+
optionLabel: string;
|
|
83
|
+
valueLabel: string;
|
|
84
|
+
}
|
|
85
|
+
export interface BundleOption {
|
|
86
|
+
label: string;
|
|
87
|
+
values: {
|
|
88
|
+
label: string;
|
|
89
|
+
quantity: number;
|
|
90
|
+
originalPrice: Currency;
|
|
91
|
+
price: Currency;
|
|
92
|
+
}[];
|
|
79
93
|
}
|
|
80
94
|
export interface NegotiableQuoteCartItem {
|
|
81
|
-
itemType: string;
|
|
82
95
|
uid: string;
|
|
83
96
|
product: {
|
|
84
97
|
uid: string;
|
|
@@ -88,14 +101,12 @@ export interface NegotiableQuoteCartItem {
|
|
|
88
101
|
templateName?: string;
|
|
89
102
|
priceRange: {
|
|
90
103
|
maximumPrice: {
|
|
91
|
-
regularPrice:
|
|
104
|
+
regularPrice: {
|
|
105
|
+
value: number;
|
|
106
|
+
};
|
|
92
107
|
};
|
|
93
108
|
};
|
|
94
109
|
};
|
|
95
|
-
image: ItemImage;
|
|
96
|
-
links?: ItemLinks;
|
|
97
|
-
discounted: boolean;
|
|
98
|
-
discountedTotal: Currency;
|
|
99
110
|
catalogDiscount: {
|
|
100
111
|
amountOff: number;
|
|
101
112
|
percentOff: number;
|
|
@@ -105,51 +116,18 @@ export interface NegotiableQuoteCartItem {
|
|
|
105
116
|
value: string;
|
|
106
117
|
amount: Currency;
|
|
107
118
|
}[];
|
|
108
|
-
discountPercentage?: number;
|
|
109
|
-
insufficientQuantity?: boolean;
|
|
110
|
-
outOfStock?: boolean;
|
|
111
119
|
stockStatus: string;
|
|
112
120
|
quantity: number;
|
|
113
121
|
prices: {
|
|
114
|
-
regularPrice: Currency;
|
|
115
|
-
priceIncludingTax: Currency;
|
|
116
122
|
originalItemPrice: Currency;
|
|
117
|
-
originalRowTotal: Currency;
|
|
118
123
|
rowTotal: Currency;
|
|
119
|
-
rowTotalIncludingTax: Currency;
|
|
120
124
|
};
|
|
121
|
-
|
|
125
|
+
configurableOptions?: ConfigurableOption[];
|
|
126
|
+
optionLabel: string;
|
|
127
|
+
valueLabel: string;
|
|
128
|
+
bundleOptions?: BundleOption[];
|
|
122
129
|
noteFromBuyer?: ItemNote[];
|
|
123
130
|
noteFromSeller?: ItemNote[];
|
|
124
|
-
configurableOptions?: {
|
|
125
|
-
optionLabel: string;
|
|
126
|
-
valueLabel: string;
|
|
127
|
-
}[];
|
|
128
|
-
bundleOptions?: {
|
|
129
|
-
label: string;
|
|
130
|
-
values: {
|
|
131
|
-
label: string;
|
|
132
|
-
quantity: number;
|
|
133
|
-
originalPrice: Currency;
|
|
134
|
-
price: Currency;
|
|
135
|
-
}[];
|
|
136
|
-
}[];
|
|
137
|
-
customizableOptions?: {
|
|
138
|
-
type: string;
|
|
139
|
-
label: string;
|
|
140
|
-
values: {
|
|
141
|
-
label: string;
|
|
142
|
-
value: string;
|
|
143
|
-
}[];
|
|
144
|
-
}[];
|
|
145
|
-
}
|
|
146
|
-
interface ItemImage {
|
|
147
|
-
src: string;
|
|
148
|
-
alt: string;
|
|
149
|
-
}
|
|
150
|
-
interface ItemLinks {
|
|
151
|
-
count: number;
|
|
152
|
-
result: string;
|
|
153
131
|
}
|
|
154
132
|
export interface ItemNote {
|
|
155
133
|
createdAt: string;
|
|
@@ -276,5 +254,4 @@ export interface PaginationInfo {
|
|
|
276
254
|
totalPages: number;
|
|
277
255
|
pageSizeOptions?: number[];
|
|
278
256
|
}
|
|
279
|
-
export {};
|
|
280
257
|
//# sourceMappingURL=negotiable-quote-model.d.ts.map
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
import { Currency, ItemNote, PaginationInfo, ShippingAddress, ConfigurableOption, BundleOption } from './negotiable-quote-model';
|
|
2
|
+
|
|
3
|
+
export interface NegotiableQuoteTemplateModel {
|
|
4
|
+
uid: string;
|
|
5
|
+
name: string;
|
|
6
|
+
createdAt: string;
|
|
7
|
+
updatedAt: string;
|
|
8
|
+
expirationDate?: string;
|
|
9
|
+
status: NegotiableQuoteTemplateStatus;
|
|
10
|
+
salesRepName?: string;
|
|
11
|
+
buyer: {
|
|
12
|
+
firstname: string;
|
|
13
|
+
lastname: string;
|
|
14
|
+
};
|
|
15
|
+
comments?: QuoteTemplateComment[];
|
|
16
|
+
history?: QuoteTemplateHistoryEntry[];
|
|
17
|
+
prices: {
|
|
18
|
+
subtotalExcludingTax?: Currency;
|
|
19
|
+
subtotalIncludingTax?: Currency;
|
|
20
|
+
subtotalWithDiscountExcludingTax?: Currency;
|
|
21
|
+
grandTotal?: Currency;
|
|
22
|
+
appliedTaxes?: {
|
|
23
|
+
amount: Currency;
|
|
24
|
+
label: string;
|
|
25
|
+
}[];
|
|
26
|
+
};
|
|
27
|
+
items: QuoteTemplateCartItem[];
|
|
28
|
+
shippingAddresses?: ShippingAddress[];
|
|
29
|
+
referenceDocuments?: {
|
|
30
|
+
uid: string;
|
|
31
|
+
name: string;
|
|
32
|
+
url: string;
|
|
33
|
+
}[];
|
|
34
|
+
quantityThresholds?: {
|
|
35
|
+
min?: number;
|
|
36
|
+
max?: number;
|
|
37
|
+
};
|
|
38
|
+
canAccept: boolean;
|
|
39
|
+
canDelete: boolean;
|
|
40
|
+
canReopen: boolean;
|
|
41
|
+
canCancel: boolean;
|
|
42
|
+
canGenerateQuote: boolean;
|
|
43
|
+
}
|
|
44
|
+
export declare enum NegotiableQuoteTemplateStatus {
|
|
45
|
+
ACTIVE = "ACTIVE",
|
|
46
|
+
IN_REVIEW = "IN_REVIEW",
|
|
47
|
+
INACTIVE = "INACTIVE",
|
|
48
|
+
SUBMITTED = "SUBMITTED",
|
|
49
|
+
PENDING = "PENDING",
|
|
50
|
+
CLOSED = "CLOSED",
|
|
51
|
+
OPEN = "OPEN"
|
|
52
|
+
}
|
|
53
|
+
export interface QuoteTemplateCartItem {
|
|
54
|
+
uid?: string;
|
|
55
|
+
product: {
|
|
56
|
+
uid: string;
|
|
57
|
+
sku: string;
|
|
58
|
+
name: string;
|
|
59
|
+
};
|
|
60
|
+
quantity: number;
|
|
61
|
+
prices: {
|
|
62
|
+
originalItemPrice: Currency;
|
|
63
|
+
rowTotal: Currency;
|
|
64
|
+
};
|
|
65
|
+
catalogDiscount?: {
|
|
66
|
+
amountOff: number;
|
|
67
|
+
percentOff: number;
|
|
68
|
+
};
|
|
69
|
+
discounts?: {
|
|
70
|
+
label: string;
|
|
71
|
+
value: string;
|
|
72
|
+
amount: Currency;
|
|
73
|
+
}[];
|
|
74
|
+
noteFromBuyer?: ItemNote[];
|
|
75
|
+
noteFromSeller?: ItemNote[];
|
|
76
|
+
configurableOptions?: ConfigurableOption[];
|
|
77
|
+
bundleOptions?: BundleOption[];
|
|
78
|
+
}
|
|
79
|
+
export interface QuoteTemplateComment {
|
|
80
|
+
uid: string;
|
|
81
|
+
createdAt: string;
|
|
82
|
+
author: {
|
|
83
|
+
firstname: string;
|
|
84
|
+
lastname: string;
|
|
85
|
+
};
|
|
86
|
+
text: string;
|
|
87
|
+
attachments?: {
|
|
88
|
+
name: string;
|
|
89
|
+
url: string;
|
|
90
|
+
}[];
|
|
91
|
+
}
|
|
92
|
+
export interface QuoteTemplateHistoryEntry {
|
|
93
|
+
uid: string;
|
|
94
|
+
createdAt: string;
|
|
95
|
+
author: {
|
|
96
|
+
firstname: string;
|
|
97
|
+
lastname: string;
|
|
98
|
+
};
|
|
99
|
+
changeType: string;
|
|
100
|
+
changes: any;
|
|
101
|
+
}
|
|
102
|
+
export interface NegotiableQuoteTemplatesListModel {
|
|
103
|
+
items: NegotiableQuoteTemplateListEntry[];
|
|
104
|
+
pageInfo: {
|
|
105
|
+
currentPage: number;
|
|
106
|
+
pageSize: number;
|
|
107
|
+
totalPages: number;
|
|
108
|
+
};
|
|
109
|
+
totalCount: number;
|
|
110
|
+
paginationInfo?: PaginationInfo;
|
|
111
|
+
sortFields?: {
|
|
112
|
+
default: string;
|
|
113
|
+
options: Array<{
|
|
114
|
+
label: string;
|
|
115
|
+
value: string;
|
|
116
|
+
}>;
|
|
117
|
+
};
|
|
118
|
+
}
|
|
119
|
+
export interface NegotiableQuoteTemplateListEntry {
|
|
120
|
+
id: string;
|
|
121
|
+
uid: string;
|
|
122
|
+
name: string;
|
|
123
|
+
createdAt: string;
|
|
124
|
+
updatedAt: string;
|
|
125
|
+
status: NegotiableQuoteTemplateStatus;
|
|
126
|
+
state: 'active' | 'inactive' | 'in_review';
|
|
127
|
+
lastSharedAt: string;
|
|
128
|
+
lastOrderedAt: string;
|
|
129
|
+
expirationDate: string;
|
|
130
|
+
ordersPlaced: number;
|
|
131
|
+
prices: {
|
|
132
|
+
grandTotal: Currency;
|
|
133
|
+
minNegotiatedGrandTotal: Currency;
|
|
134
|
+
};
|
|
135
|
+
}
|
|
136
|
+
//# sourceMappingURL=negotiable-quote-template-model.d.ts.map
|
|
@@ -7,13 +7,11 @@
|
|
|
7
7
|
* accompanying it.
|
|
8
8
|
*******************************************************************/
|
|
9
9
|
export declare enum QuoteDisplayAmount {
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
TAX_INCLUDED = 1,
|
|
11
|
+
TAX_EXCLUDED = 2,
|
|
12
12
|
TAX_INCLUDED_AND_EXCLUDED = 3
|
|
13
13
|
}
|
|
14
14
|
export interface StoreConfigModel {
|
|
15
|
-
quoteSummaryDisplayTotal: number;
|
|
16
|
-
quoteSummaryMaxItems: number;
|
|
17
15
|
quoteDisplaySettings: {
|
|
18
16
|
zeroTax: boolean;
|
|
19
17
|
subtotal: QuoteDisplayAmount;
|
|
@@ -22,6 +20,5 @@ export interface StoreConfigModel {
|
|
|
22
20
|
fullSummary: boolean;
|
|
23
21
|
grandTotal: boolean;
|
|
24
22
|
};
|
|
25
|
-
useConfigurableParentThumbnail: boolean;
|
|
26
23
|
}
|
|
27
24
|
//# sourceMappingURL=store-config-model.d.ts.map
|
|
@@ -22,6 +22,7 @@ export declare const mockGraphQLResponse: {
|
|
|
22
22
|
};
|
|
23
23
|
}[];
|
|
24
24
|
items: {
|
|
25
|
+
uid: string;
|
|
25
26
|
product: {
|
|
26
27
|
uid: string;
|
|
27
28
|
sku: string;
|
|
@@ -33,10 +34,6 @@ export declare const mockGraphQLResponse: {
|
|
|
33
34
|
};
|
|
34
35
|
};
|
|
35
36
|
};
|
|
36
|
-
thumbnail: {
|
|
37
|
-
url: string;
|
|
38
|
-
label: string;
|
|
39
|
-
};
|
|
40
37
|
};
|
|
41
38
|
quantity: number;
|
|
42
39
|
note_from_buyer: {
|
|
@@ -122,7 +119,6 @@ export declare const mockQuoteData: {
|
|
|
122
119
|
template_id: null;
|
|
123
120
|
template_name: null;
|
|
124
121
|
items: ({
|
|
125
|
-
__typename: string;
|
|
126
122
|
uid: string;
|
|
127
123
|
product: {
|
|
128
124
|
name: string;
|
|
@@ -130,43 +126,19 @@ export declare const mockQuoteData: {
|
|
|
130
126
|
uid: string;
|
|
131
127
|
stock_status: string;
|
|
132
128
|
quantity: null;
|
|
133
|
-
thumbnail: {
|
|
134
|
-
url: string;
|
|
135
|
-
label: string;
|
|
136
|
-
};
|
|
137
129
|
price_range: {
|
|
138
130
|
maximum_price: {
|
|
139
131
|
regular_price: {
|
|
140
|
-
currency: string;
|
|
141
132
|
value: number;
|
|
142
133
|
};
|
|
143
|
-
discount: {
|
|
144
|
-
amount_off: number;
|
|
145
|
-
percent_off: number;
|
|
146
|
-
};
|
|
147
134
|
};
|
|
148
135
|
};
|
|
149
|
-
price_tiers: {
|
|
150
|
-
quantity: number;
|
|
151
|
-
final_price: {
|
|
152
|
-
currency: string;
|
|
153
|
-
value: number;
|
|
154
|
-
};
|
|
155
|
-
discount: {
|
|
156
|
-
amount_off: number;
|
|
157
|
-
percent_off: number;
|
|
158
|
-
};
|
|
159
|
-
}[];
|
|
160
136
|
};
|
|
161
137
|
prices: {
|
|
162
138
|
price: {
|
|
163
139
|
currency: string;
|
|
164
140
|
value: number;
|
|
165
141
|
};
|
|
166
|
-
price_including_tax: {
|
|
167
|
-
currency: string;
|
|
168
|
-
value: number;
|
|
169
|
-
};
|
|
170
142
|
original_item_price: {
|
|
171
143
|
currency: string;
|
|
172
144
|
value: number;
|
|
@@ -179,10 +151,6 @@ export declare const mockQuoteData: {
|
|
|
179
151
|
currency: string;
|
|
180
152
|
value: number;
|
|
181
153
|
};
|
|
182
|
-
row_total_including_tax: {
|
|
183
|
-
currency: string;
|
|
184
|
-
value: number;
|
|
185
|
-
};
|
|
186
154
|
catalog_discount: {
|
|
187
155
|
amount_off: number;
|
|
188
156
|
percent_off: number;
|
|
@@ -213,20 +181,9 @@ export declare const mockQuoteData: {
|
|
|
213
181
|
note: string;
|
|
214
182
|
note_uid: string;
|
|
215
183
|
}[];
|
|
216
|
-
customizable_options: {
|
|
217
|
-
type: string;
|
|
218
|
-
label: string;
|
|
219
|
-
values: {
|
|
220
|
-
label: string;
|
|
221
|
-
value: string;
|
|
222
|
-
}[];
|
|
223
|
-
}[];
|
|
224
184
|
configurable_options?: undefined;
|
|
225
|
-
configured_variant?: undefined;
|
|
226
185
|
bundle_options?: undefined;
|
|
227
|
-
links?: undefined;
|
|
228
186
|
} | {
|
|
229
|
-
__typename: string;
|
|
230
187
|
uid: string;
|
|
231
188
|
product: {
|
|
232
189
|
name: string;
|
|
@@ -234,30 +191,19 @@ export declare const mockQuoteData: {
|
|
|
234
191
|
uid: string;
|
|
235
192
|
stock_status: string;
|
|
236
193
|
quantity: null;
|
|
237
|
-
thumbnail: {
|
|
238
|
-
url: string;
|
|
239
|
-
label: string;
|
|
240
|
-
};
|
|
241
194
|
price_range: {
|
|
242
195
|
maximum_price: {
|
|
243
196
|
regular_price: {
|
|
244
|
-
currency: string;
|
|
245
197
|
value: number;
|
|
246
198
|
};
|
|
247
|
-
discount?: undefined;
|
|
248
199
|
};
|
|
249
200
|
};
|
|
250
|
-
price_tiers?: undefined;
|
|
251
201
|
};
|
|
252
202
|
prices: {
|
|
253
203
|
price: {
|
|
254
204
|
currency: string;
|
|
255
205
|
value: number;
|
|
256
206
|
};
|
|
257
|
-
price_including_tax: {
|
|
258
|
-
currency: string;
|
|
259
|
-
value: number;
|
|
260
|
-
};
|
|
261
207
|
original_item_price: {
|
|
262
208
|
currency: string;
|
|
263
209
|
value: number;
|
|
@@ -270,10 +216,6 @@ export declare const mockQuoteData: {
|
|
|
270
216
|
currency: string;
|
|
271
217
|
value: number;
|
|
272
218
|
};
|
|
273
|
-
row_total_including_tax: {
|
|
274
|
-
currency: string;
|
|
275
|
-
value: number;
|
|
276
|
-
};
|
|
277
219
|
catalog_discount: {
|
|
278
220
|
amount_off: number;
|
|
279
221
|
percent_off: number;
|
|
@@ -294,47 +236,8 @@ export declare const mockQuoteData: {
|
|
|
294
236
|
note_uid: string;
|
|
295
237
|
}[];
|
|
296
238
|
note_from_seller: never[];
|
|
297
|
-
configured_variant: {
|
|
298
|
-
thumbnail: {
|
|
299
|
-
label: string;
|
|
300
|
-
url: string;
|
|
301
|
-
};
|
|
302
|
-
price_range: {
|
|
303
|
-
maximum_price: {
|
|
304
|
-
regular_price: {
|
|
305
|
-
currency: string;
|
|
306
|
-
value: number;
|
|
307
|
-
};
|
|
308
|
-
discount: {
|
|
309
|
-
amount_off: number;
|
|
310
|
-
percent_off: number;
|
|
311
|
-
};
|
|
312
|
-
};
|
|
313
|
-
};
|
|
314
|
-
price_tiers: {
|
|
315
|
-
quantity: number;
|
|
316
|
-
final_price: {
|
|
317
|
-
currency: string;
|
|
318
|
-
value: number;
|
|
319
|
-
};
|
|
320
|
-
discount: {
|
|
321
|
-
amount_off: number;
|
|
322
|
-
percent_off: number;
|
|
323
|
-
};
|
|
324
|
-
}[];
|
|
325
|
-
};
|
|
326
|
-
customizable_options: {
|
|
327
|
-
type: string;
|
|
328
|
-
label: string;
|
|
329
|
-
values: {
|
|
330
|
-
label: string;
|
|
331
|
-
value: string;
|
|
332
|
-
}[];
|
|
333
|
-
}[];
|
|
334
239
|
bundle_options?: undefined;
|
|
335
|
-
links?: undefined;
|
|
336
240
|
} | {
|
|
337
|
-
__typename: string;
|
|
338
241
|
uid: string;
|
|
339
242
|
product: {
|
|
340
243
|
name: string;
|
|
@@ -342,33 +245,19 @@ export declare const mockQuoteData: {
|
|
|
342
245
|
uid: string;
|
|
343
246
|
stock_status: string;
|
|
344
247
|
quantity: null;
|
|
345
|
-
thumbnail: {
|
|
346
|
-
url: string;
|
|
347
|
-
label: string;
|
|
348
|
-
};
|
|
349
248
|
price_range: {
|
|
350
249
|
maximum_price: {
|
|
351
250
|
regular_price: {
|
|
352
|
-
currency: string;
|
|
353
251
|
value: number;
|
|
354
252
|
};
|
|
355
|
-
discount: {
|
|
356
|
-
amount_off: number;
|
|
357
|
-
percent_off: number;
|
|
358
|
-
};
|
|
359
253
|
};
|
|
360
254
|
};
|
|
361
|
-
price_tiers?: undefined;
|
|
362
255
|
};
|
|
363
256
|
prices: {
|
|
364
257
|
price: {
|
|
365
258
|
currency: string;
|
|
366
259
|
value: number;
|
|
367
260
|
};
|
|
368
|
-
price_including_tax: {
|
|
369
|
-
currency: string;
|
|
370
|
-
value: number;
|
|
371
|
-
};
|
|
372
261
|
original_item_price: {
|
|
373
262
|
currency: string;
|
|
374
263
|
value: number;
|
|
@@ -381,10 +270,6 @@ export declare const mockQuoteData: {
|
|
|
381
270
|
currency: string;
|
|
382
271
|
value: number;
|
|
383
272
|
};
|
|
384
|
-
row_total_including_tax: {
|
|
385
|
-
currency: string;
|
|
386
|
-
value: number;
|
|
387
|
-
};
|
|
388
273
|
catalog_discount: {
|
|
389
274
|
amount_off: number;
|
|
390
275
|
percent_off: number;
|
|
@@ -430,103 +315,7 @@ export declare const mockQuoteData: {
|
|
|
430
315
|
note: string;
|
|
431
316
|
note_uid: string;
|
|
432
317
|
}[];
|
|
433
|
-
customizable_options?: undefined;
|
|
434
|
-
configurable_options?: undefined;
|
|
435
|
-
configured_variant?: undefined;
|
|
436
|
-
links?: undefined;
|
|
437
|
-
} | {
|
|
438
|
-
__typename: string;
|
|
439
|
-
uid: string;
|
|
440
|
-
product: {
|
|
441
|
-
name: string;
|
|
442
|
-
sku: string;
|
|
443
|
-
uid: string;
|
|
444
|
-
stock_status: string;
|
|
445
|
-
quantity: null;
|
|
446
|
-
thumbnail: {
|
|
447
|
-
url: string;
|
|
448
|
-
label: string;
|
|
449
|
-
};
|
|
450
|
-
price_range: {
|
|
451
|
-
maximum_price: {
|
|
452
|
-
regular_price: {
|
|
453
|
-
currency: string;
|
|
454
|
-
value: number;
|
|
455
|
-
};
|
|
456
|
-
discount: {
|
|
457
|
-
amount_off: number;
|
|
458
|
-
percent_off: number;
|
|
459
|
-
};
|
|
460
|
-
};
|
|
461
|
-
};
|
|
462
|
-
price_tiers: {
|
|
463
|
-
quantity: number;
|
|
464
|
-
final_price: {
|
|
465
|
-
currency: string;
|
|
466
|
-
value: number;
|
|
467
|
-
};
|
|
468
|
-
discount: {
|
|
469
|
-
amount_off: number;
|
|
470
|
-
percent_off: number;
|
|
471
|
-
};
|
|
472
|
-
}[];
|
|
473
|
-
};
|
|
474
|
-
prices: {
|
|
475
|
-
price: {
|
|
476
|
-
currency: string;
|
|
477
|
-
value: number;
|
|
478
|
-
};
|
|
479
|
-
price_including_tax: {
|
|
480
|
-
currency: string;
|
|
481
|
-
value: number;
|
|
482
|
-
};
|
|
483
|
-
original_item_price: {
|
|
484
|
-
currency: string;
|
|
485
|
-
value: number;
|
|
486
|
-
};
|
|
487
|
-
original_row_total: {
|
|
488
|
-
currency: string;
|
|
489
|
-
value: number;
|
|
490
|
-
};
|
|
491
|
-
row_total: {
|
|
492
|
-
currency: string;
|
|
493
|
-
value: number;
|
|
494
|
-
};
|
|
495
|
-
row_total_including_tax: {
|
|
496
|
-
currency: string;
|
|
497
|
-
value: number;
|
|
498
|
-
};
|
|
499
|
-
catalog_discount: {
|
|
500
|
-
amount_off: number;
|
|
501
|
-
percent_off: number;
|
|
502
|
-
};
|
|
503
|
-
discounts: {
|
|
504
|
-
label: string;
|
|
505
|
-
value: number;
|
|
506
|
-
amount: {
|
|
507
|
-
currency: string;
|
|
508
|
-
value: number;
|
|
509
|
-
};
|
|
510
|
-
}[];
|
|
511
|
-
};
|
|
512
|
-
quantity: number;
|
|
513
|
-
links: {
|
|
514
|
-
sort_order: number;
|
|
515
|
-
title: string;
|
|
516
|
-
}[];
|
|
517
|
-
customizable_options: {
|
|
518
|
-
type: string;
|
|
519
|
-
label: string;
|
|
520
|
-
values: {
|
|
521
|
-
label: string;
|
|
522
|
-
value: string;
|
|
523
|
-
}[];
|
|
524
|
-
}[];
|
|
525
|
-
note_from_buyer?: undefined;
|
|
526
|
-
note_from_seller?: undefined;
|
|
527
318
|
configurable_options?: undefined;
|
|
528
|
-
configured_variant?: undefined;
|
|
529
|
-
bundle_options?: undefined;
|
|
530
319
|
})[];
|
|
531
320
|
history: {
|
|
532
321
|
uid: string;
|
|
@@ -643,6 +432,7 @@ export declare const mockNegotiableQuotesResponse: {
|
|
|
643
432
|
lastname: string;
|
|
644
433
|
};
|
|
645
434
|
items: {
|
|
435
|
+
uid: string;
|
|
646
436
|
product: {
|
|
647
437
|
uid: string;
|
|
648
438
|
sku: string;
|
|
@@ -656,10 +446,6 @@ export declare const mockNegotiableQuotesResponse: {
|
|
|
656
446
|
};
|
|
657
447
|
};
|
|
658
448
|
};
|
|
659
|
-
thumbnail: {
|
|
660
|
-
url: string;
|
|
661
|
-
label: string;
|
|
662
|
-
};
|
|
663
449
|
};
|
|
664
450
|
quantity: number;
|
|
665
451
|
note_from_buyer: {
|