@dropins/storefront-quote-management 0.0.1-alpha22 → 0.0.1-alpha23
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/index.d.ts +0 -1
- package/api.js +16 -41
- package/api.js.map +1 -1
- package/chunks/fetch-graphql.js +4 -0
- package/chunks/fetch-graphql.js.map +1 -0
- package/chunks/getQuoteTemplates.js +1 -1
- package/chunks/getQuoteTemplates.js.map +1 -1
- package/chunks/negotiableQuotes.js +1 -1
- package/chunks/negotiableQuotes.js.map +1 -1
- package/chunks/renameNegotiableQuote.js +1 -1
- package/chunks/renameNegotiableQuote.js.map +1 -1
- package/chunks/state.js +1 -1
- package/chunks/state.js.map +1 -1
- package/chunks/updateQuantities.js +2 -2
- package/chunks/updateQuantities.js.map +1 -1
- package/chunks/uploadFile.js +3 -3
- package/chunks/uploadFile.js.map +1 -1
- package/containers/ItemsQuoted.js +1 -1
- package/containers/ManageNegotiableQuote.js +1 -1
- package/containers/ManageNegotiableQuote.js.map +1 -1
- package/containers/QuoteTemplatesListTable.js +1 -1
- package/containers/QuoteTemplatesListTable.js.map +1 -1
- 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/data/models/index.d.ts +0 -1
- package/data/transforms/index.d.ts +0 -1
- package/lib/state.d.ts +3 -0
- package/package.json +1 -1
- package/types/state.types.d.ts +6 -0
- package/utils/mapAuthPermissions.d.ts +39 -0
- package/api/getCustomerData/getCustomerData.d.ts +0 -10
- package/api/getCustomerData/graphql/CustomerQuery.d.ts +0 -2
- package/api/getCustomerData/index.d.ts +0 -10
- package/api/graphql/CustomerFragment.d.ts +0 -2
- package/chunks/transform-quote.js +0 -4
- package/chunks/transform-quote.js.map +0 -1
- package/data/models/__fixtures__/customerModel.d.ts +0 -4
- package/data/models/customer-model.d.ts +0 -18
- package/data/transforms/__fixtures__/customerData.d.ts +0 -10
- package/data/transforms/transform-customer.d.ts +0 -15
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { CustomerModel } from '../models';
|
|
2
|
-
|
|
3
|
-
type PermissionsSchema = {
|
|
4
|
-
text: string;
|
|
5
|
-
children: PermissionsSchema[];
|
|
6
|
-
};
|
|
7
|
-
/**
|
|
8
|
-
* Flatten the permissions into a list of strings
|
|
9
|
-
* @param permissions - The permissions to flatten
|
|
10
|
-
* @returns A list of strings representing the flattened permissions
|
|
11
|
-
*/
|
|
12
|
-
export declare const flattenPermissions: (permissions: PermissionsSchema[]) => string[];
|
|
13
|
-
export declare function transformCustomer(customerData: any): CustomerModel;
|
|
14
|
-
export {};
|
|
15
|
-
//# sourceMappingURL=transform-customer.d.ts.map
|