@edgebound/bigcommerce 0.5.55 → 0.5.56
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.
|
@@ -120,75 +120,7 @@ export declare class BigCommerceQuotesService {
|
|
|
120
120
|
}, import("../../core").BigCommerceError>;
|
|
121
121
|
updateQuote(input: z.input<typeof UpdateQuoteInputSchema>): import("neverthrow").ResultAsync<{
|
|
122
122
|
data: {
|
|
123
|
-
|
|
124
|
-
referenceNumber: string;
|
|
125
|
-
createdAt: number;
|
|
126
|
-
expiredAt: number;
|
|
127
|
-
status: number;
|
|
128
|
-
contactInfo: {
|
|
129
|
-
name: string;
|
|
130
|
-
email: string;
|
|
131
|
-
companyName?: string | null | undefined;
|
|
132
|
-
phoneNumber?: string | null | undefined;
|
|
133
|
-
};
|
|
134
|
-
subtotal: number;
|
|
135
|
-
discount: number;
|
|
136
|
-
grandTotal: number;
|
|
137
|
-
currency: {
|
|
138
|
-
token: string;
|
|
139
|
-
location: string;
|
|
140
|
-
currencyCode: string;
|
|
141
|
-
decimalToken: string;
|
|
142
|
-
decimalPlaces: number;
|
|
143
|
-
thousandsToken: string;
|
|
144
|
-
currencyExchangeRate: string;
|
|
145
|
-
};
|
|
146
|
-
productList: {
|
|
147
|
-
sku: string;
|
|
148
|
-
basePrice: number;
|
|
149
|
-
discount: number;
|
|
150
|
-
offeredPrice: number;
|
|
151
|
-
quantity: number;
|
|
152
|
-
productId: number;
|
|
153
|
-
productName: string;
|
|
154
|
-
purchaseHandled: boolean;
|
|
155
|
-
type: "physical" | "digital";
|
|
156
|
-
foundInBc: boolean;
|
|
157
|
-
variantId?: number | null | undefined;
|
|
158
|
-
costPrice?: number | null | undefined;
|
|
159
|
-
}[];
|
|
160
|
-
createdBy: string;
|
|
161
|
-
shippingTotal: number;
|
|
162
|
-
taxTotal: number;
|
|
163
|
-
totalAmount: number;
|
|
164
|
-
discountType: number;
|
|
165
|
-
storeInfo: {
|
|
166
|
-
storeName: string;
|
|
167
|
-
storeAddress: string;
|
|
168
|
-
storeCountry: string;
|
|
169
|
-
storeLogo: string;
|
|
170
|
-
storeUrl: string;
|
|
171
|
-
};
|
|
172
|
-
companyInfo: {
|
|
173
|
-
companyId: number;
|
|
174
|
-
companyName: string;
|
|
175
|
-
companyAddress: string;
|
|
176
|
-
companyCountry: string;
|
|
177
|
-
companyState: string;
|
|
178
|
-
companyCity: string;
|
|
179
|
-
companyZipCode: string;
|
|
180
|
-
phoneNumber: string;
|
|
181
|
-
companyEmail: string;
|
|
182
|
-
bcId: number | null;
|
|
183
|
-
};
|
|
184
|
-
salesRepInfo: {
|
|
185
|
-
salesRepName: string;
|
|
186
|
-
salesRepEmail: string;
|
|
187
|
-
salesRepPhoneNumber: string;
|
|
188
|
-
};
|
|
189
|
-
bcOrderId?: string | null | undefined;
|
|
190
|
-
orderId?: string | null | undefined;
|
|
191
|
-
discountValue?: number | null | undefined;
|
|
123
|
+
quoteId: number;
|
|
192
124
|
};
|
|
193
125
|
}, import("../../core").BigCommerceError>;
|
|
194
126
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"quotes.service.d.ts","sourceRoot":"","sources":["../../../src/bigcommerce-entities/quotes/quotes.service.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,yBAAyB,EAAE,MAAM,YAAY,CAAC;AAEvD,OAAO,EACL,wBAAwB,EAGzB,MAAM,WAAW,CAAC;AACnB,OAAO,EAAE,sBAAsB,
|
|
1
|
+
{"version":3,"file":"quotes.service.d.ts","sourceRoot":"","sources":["../../../src/bigcommerce-entities/quotes/quotes.service.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,yBAAyB,EAAE,MAAM,YAAY,CAAC;AAEvD,OAAO,EACL,wBAAwB,EAGzB,MAAM,WAAW,CAAC;AACnB,OAAO,EAAE,sBAAsB,EAA6B,MAAM,+BAA+B,CAAC;AAClG,qBACa,wBAAwB;IACvB,OAAO,CAAC,QAAQ,CAAC,OAAO;gBAAP,OAAO,EAAE,yBAAyB;IAE/D,UAAU,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAgB9D,gBAAgB,CAAC,OAAO,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAahC,WAAW,CAAC,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC;;;;;CAY1D"}
|
|
@@ -46,7 +46,7 @@ let BigCommerceQuotesService = class BigCommerceQuotesService {
|
|
|
46
46
|
path: `rfq/${quoteId}`,
|
|
47
47
|
method: 'PUT',
|
|
48
48
|
body: data,
|
|
49
|
-
resultSchema:
|
|
49
|
+
resultSchema: update_quote_schema_1.UpdateQuoteResponseSchema,
|
|
50
50
|
version: 'v3',
|
|
51
51
|
}));
|
|
52
52
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"quotes.service.js","sourceRoot":"","sources":["../../../src/bigcommerce-entities/quotes/quotes.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAC5C,uDAA6C;AAE7C,qCAAuD;AACvD,mDAAyD;AACzD,uCAImB;AACnB,
|
|
1
|
+
{"version":3,"file":"quotes.service.js","sourceRoot":"","sources":["../../../src/bigcommerce-entities/quotes/quotes.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAC5C,uDAA6C;AAE7C,qCAAuD;AACvD,mDAAyD;AACzD,uCAImB;AACnB,uEAAkG;AAE3F,IAAM,wBAAwB,GAA9B,MAAM,wBAAwB;IACN;IAA7B,YAA6B,OAAkC;QAAlC,YAAO,GAAP,OAAO,CAA2B;IAAG,CA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