@dropins/storefront-order 1.0.0 → 1.0.1-beta1
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/cancelOrder/graphql/cancelOrderMutation.d.ts +15 -0
- package/api/confirmGuestReturn/confirmGuestReturn.d.ts +15 -0
- package/api/confirmGuestReturn/graphql/confirmGuestReturn.graphql.d.ts +15 -0
- package/api/confirmGuestReturn/index.d.ts +15 -0
- package/api/fetch-graphql/fetch-graphql.d.ts +15 -0
- package/api/fetch-graphql/index.d.ts +15 -0
- package/api/fragments.d.ts +15 -0
- package/api/getAttributesForm/graphql/getAttributesForm.graphql.d.ts +15 -0
- package/api/getAttributesForm/index.d.ts +15 -0
- package/api/getAttributesList/graphql/getAttributesList.graphql.d.ts +15 -0
- package/api/getAttributesList/index.d.ts +15 -0
- package/api/getCustomer/graphql/getCustomer.graphql.d.ts +15 -0
- package/api/getCustomer/index.d.ts +15 -0
- package/api/getCustomerOrdersReturn/graphql/getCustomerOrdersReturn.graphql.d.ts +15 -0
- package/api/getCustomerOrdersReturn/index.d.ts +15 -0
- package/api/getGuestOrder/graphql/getGuestOrder.graphql.d.ts +15 -0
- package/api/getGuestOrder/graphql/index.d.ts +15 -0
- package/api/getGuestOrder/index.d.ts +15 -0
- package/api/getOrderDetailsById/graphql/orderByNumber.graphql.d.ts +15 -0
- package/api/getOrderDetailsById/index.d.ts +15 -0
- package/api/getStoreConfig/graphql/StoreConfigQuery.d.ts +15 -0
- package/api/getStoreConfig/index.d.ts +15 -0
- package/api/graphql/CustomerAddressFragment.graphql.d.ts +15 -0
- package/api/graphql/GurestOrderFragment.graphql.d.ts +15 -0
- package/api/graphql/OrderItemsFragment.graphql.d.ts +15 -0
- package/api/graphql/OrderSummaryFragment.graphql.d.ts +15 -0
- package/api/graphql/RequestReturnOrderFragment.graphql.d.ts +15 -0
- package/api/graphql/ReturnsFragment.graphql.d.ts +15 -0
- package/api/guestOrderByToken/graphql/guestOrderByToken.graphql.d.ts +15 -0
- package/api/guestOrderByToken/index.d.ts +15 -0
- package/api/index.d.ts +15 -0
- package/api/initialize/index.d.ts +15 -0
- package/api/placeOrder/graphql/placeOrderMutation.d.ts +15 -0
- package/api/placeOrder/index.d.ts +15 -0
- package/api/reorderItems/graphql/reorderItems.graphql.d.ts +15 -0
- package/api/reorderItems/index.d.ts +15 -0
- package/api/requestGuestOrderCancel/graphql/requestGuestOrderCancelMutation.d.ts +15 -0
- package/api/requestGuestOrderCancel/index.d.ts +15 -0
- package/api/requestGuestOrderCancel/requestGuestOrderCancel.d.ts +15 -0
- package/api/requestGuestReturn/graphql/requestGuestReturn.graphql.d.ts +15 -0
- package/api/requestGuestReturn/index.d.ts +15 -0
- package/api/requestReturn/graphql/requestReturn.graphql.d.ts +15 -0
- package/api/requestReturn/index.d.ts +15 -0
- package/components/CustomerDetailsContent/index.d.ts +15 -0
- package/components/EmptyList/index.d.ts +15 -0
- package/components/Form/FormInputs/index.d.ts +15 -0
- package/components/Form/index.d.ts +15 -0
- package/components/OrderActions/index.d.ts +15 -0
- package/components/OrderCancel/index.d.ts +15 -0
- package/components/OrderCostSummaryContent/index.d.ts +15 -0
- package/components/OrderHeader/index.d.ts +15 -0
- package/components/OrderLoaders/index.d.ts +15 -0
- package/components/OrderProductListContent/index.d.ts +15 -0
- package/components/OrderSearchForm/index.d.ts +15 -0
- package/components/OrderStatusContent/index.d.ts +15 -0
- package/components/Reorder/index.d.ts +15 -0
- package/components/ReturnOrderMessage/index.d.ts +15 -0
- package/components/ReturnOrderProductList/index.d.ts +15 -0
- package/components/ReturnReasonForm/index.d.ts +15 -0
- package/components/ReturnsListContent/index.d.ts +15 -0
- package/components/ShippingStatusCard/index.d.ts +15 -0
- package/components/index.d.ts +15 -0
- package/configs/defaultAttributePreset.config.d.ts +15 -0
- package/configs/mock.config.d.ts +15 -0
- package/containers/CreateReturn/index.d.ts +15 -0
- package/containers/CustomerDetails/index.d.ts +15 -0
- package/containers/OrderCancelForm/index.d.ts +15 -0
- package/containers/OrderCostSummary/index.d.ts +15 -0
- package/containers/OrderHeader/index.d.ts +15 -0
- package/containers/OrderHeader.js +1 -1
- package/containers/OrderProductList/index.d.ts +15 -0
- package/containers/OrderReturns/index.d.ts +15 -0
- package/containers/OrderSearch/index.d.ts +15 -0
- package/containers/OrderStatus/index.d.ts +15 -0
- package/containers/ReturnsList/index.d.ts +15 -0
- package/containers/ShippingStatus/index.d.ts +15 -0
- package/containers/index.d.ts +15 -0
- package/data/models/acdl.d.ts +15 -0
- package/data/models/customer.d.ts +15 -0
- package/data/models/index.d.ts +15 -0
- package/data/models/request-return.d.ts +15 -0
- package/data/models/store-config.d.ts +15 -0
- package/data/transforms/index.d.ts +15 -0
- package/hooks/index.d.ts +15 -0
- package/hooks/useIsMobile.d.ts +15 -0
- package/lib/capitalizeFirst.d.ts +15 -0
- package/lib/checkIsFunction.d.ts +15 -0
- package/lib/convertCase.d.ts +15 -0
- package/lib/fetch-error.d.ts +15 -0
- package/lib/formatDateToLocale.d.ts +15 -0
- package/lib/getFormValues.d.ts +15 -0
- package/lib/getQueryParam.d.ts +15 -0
- package/lib/network-error.d.ts +15 -0
- package/lib/redirectTo.d.ts +15 -0
- package/lib/removeQueryParams.d.ts +15 -0
- package/lib/returnOrdersHelper.d.ts +15 -0
- package/package.json +1 -1
- package/render/index.d.ts +15 -0
- package/types/api/getAttributesForm.types.d.ts +15 -0
- package/types/api/getAttributesList.types.d.ts +15 -0
- package/types/api/getCustomer.types.d.ts +15 -0
- package/types/api/getOrderDetails.types.d.ts +15 -0
- package/types/api/reorderItems.types.d.ts +15 -0
- package/types/api/requestReturn.types.d.ts +15 -0
- package/types/emptyList.types.d.ts +15 -0
- package/types/form.types.d.ts +15 -0
- package/types/index.d.ts +15 -0
- package/types/orderEmailActionHandler.types.d.ts +15 -0
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
/********************************************************************
|
|
2
|
+
* ADOBE CONFIDENTIAL
|
|
3
|
+
*
|
|
4
|
+
* Copyright 2024 Adobe
|
|
5
|
+
* All Rights Reserved.
|
|
6
|
+
*
|
|
7
|
+
* NOTICE: All information contained herein is, and remains
|
|
8
|
+
* the property of Adobe and its suppliers, if any. The intellectual
|
|
9
|
+
* and technical concepts contained herein are proprietary to Adobe
|
|
10
|
+
* and its suppliers and are protected by all applicable intellectual
|
|
11
|
+
* property laws, including trade secret and copyright laws.
|
|
12
|
+
* Dissemination of this information or reproduction of this material
|
|
13
|
+
* is strictly forbidden unless prior written permission is obtained
|
|
14
|
+
* from Adobe.
|
|
15
|
+
*******************************************************************/
|
|
1
16
|
export type AttributesListItems = {
|
|
2
17
|
code: string;
|
|
3
18
|
sort_order: string;
|
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
/********************************************************************
|
|
2
|
+
* ADOBE CONFIDENTIAL
|
|
3
|
+
*
|
|
4
|
+
* Copyright 2024 Adobe
|
|
5
|
+
* All Rights Reserved.
|
|
6
|
+
*
|
|
7
|
+
* NOTICE: All information contained herein is, and remains
|
|
8
|
+
* the property of Adobe and its suppliers, if any. The intellectual
|
|
9
|
+
* and technical concepts contained herein are proprietary to Adobe
|
|
10
|
+
* and its suppliers and are protected by all applicable intellectual
|
|
11
|
+
* property laws, including trade secret and copyright laws.
|
|
12
|
+
* Dissemination of this information or reproduction of this material
|
|
13
|
+
* is strictly forbidden unless prior written permission is obtained
|
|
14
|
+
* from Adobe.
|
|
15
|
+
*******************************************************************/
|
|
1
16
|
export interface getCustomerShortResponse {
|
|
2
17
|
data: {
|
|
3
18
|
customer: {
|
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
/********************************************************************
|
|
2
|
+
* ADOBE CONFIDENTIAL
|
|
3
|
+
*
|
|
4
|
+
* Copyright 2024 Adobe
|
|
5
|
+
* All Rights Reserved.
|
|
6
|
+
*
|
|
7
|
+
* NOTICE: All information contained herein is, and remains
|
|
8
|
+
* the property of Adobe and its suppliers, if any. The intellectual
|
|
9
|
+
* and technical concepts contained herein are proprietary to Adobe
|
|
10
|
+
* and its suppliers and are protected by all applicable intellectual
|
|
11
|
+
* property laws, including trade secret and copyright laws.
|
|
12
|
+
* Dissemination of this information or reproduction of this material
|
|
13
|
+
* is strictly forbidden unless prior written permission is obtained
|
|
14
|
+
* from Adobe.
|
|
15
|
+
*******************************************************************/
|
|
1
16
|
export type QueryType = 'orderData';
|
|
2
17
|
export interface UserAddressesProps {
|
|
3
18
|
city?: string;
|
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
/********************************************************************
|
|
2
|
+
* ADOBE CONFIDENTIAL
|
|
3
|
+
*
|
|
4
|
+
* Copyright 2024 Adobe
|
|
5
|
+
* All Rights Reserved.
|
|
6
|
+
*
|
|
7
|
+
* NOTICE: All information contained herein is, and remains
|
|
8
|
+
* the property of Adobe and its suppliers, if any. The intellectual
|
|
9
|
+
* and technical concepts contained herein are proprietary to Adobe
|
|
10
|
+
* and its suppliers and are protected by all applicable intellectual
|
|
11
|
+
* property laws, including trade secret and copyright laws.
|
|
12
|
+
* Dissemination of this information or reproduction of this material
|
|
13
|
+
* is strictly forbidden unless prior written permission is obtained
|
|
14
|
+
* from Adobe.
|
|
15
|
+
*******************************************************************/
|
|
1
16
|
export interface UserInputErrorProps {
|
|
2
17
|
code: string;
|
|
3
18
|
message: string;
|
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
/********************************************************************
|
|
2
|
+
* ADOBE CONFIDENTIAL
|
|
3
|
+
*
|
|
4
|
+
* Copyright 2024 Adobe
|
|
5
|
+
* All Rights Reserved.
|
|
6
|
+
*
|
|
7
|
+
* NOTICE: All information contained herein is, and remains
|
|
8
|
+
* the property of Adobe and its suppliers, if any. The intellectual
|
|
9
|
+
* and technical concepts contained herein are proprietary to Adobe
|
|
10
|
+
* and its suppliers and are protected by all applicable intellectual
|
|
11
|
+
* property laws, including trade secret and copyright laws.
|
|
12
|
+
* Dissemination of this information or reproduction of this material
|
|
13
|
+
* is strictly forbidden unless prior written permission is obtained
|
|
14
|
+
* from Adobe.
|
|
15
|
+
*******************************************************************/
|
|
1
16
|
export interface RequestReturnProps {
|
|
2
17
|
orderUid?: string;
|
|
3
18
|
contactEmail: string;
|
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
/********************************************************************
|
|
2
|
+
* ADOBE CONFIDENTIAL
|
|
3
|
+
*
|
|
4
|
+
* Copyright 2024 Adobe
|
|
5
|
+
* All Rights Reserved.
|
|
6
|
+
*
|
|
7
|
+
* NOTICE: All information contained herein is, and remains
|
|
8
|
+
* the property of Adobe and its suppliers, if any. The intellectual
|
|
9
|
+
* and technical concepts contained herein are proprietary to Adobe
|
|
10
|
+
* and its suppliers and are protected by all applicable intellectual
|
|
11
|
+
* property laws, including trade secret and copyright laws.
|
|
12
|
+
* Dissemination of this information or reproduction of this material
|
|
13
|
+
* is strictly forbidden unless prior written permission is obtained
|
|
14
|
+
* from Adobe.
|
|
15
|
+
*******************************************************************/
|
|
1
16
|
export interface EmptyListProps {
|
|
2
17
|
isEmpty: boolean;
|
|
3
18
|
typeList: 'orders';
|
package/types/form.types.d.ts
CHANGED
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
/********************************************************************
|
|
2
|
+
* ADOBE CONFIDENTIAL
|
|
3
|
+
*
|
|
4
|
+
* Copyright 2024 Adobe
|
|
5
|
+
* All Rights Reserved.
|
|
6
|
+
*
|
|
7
|
+
* NOTICE: All information contained herein is, and remains
|
|
8
|
+
* the property of Adobe and its suppliers, if any. The intellectual
|
|
9
|
+
* and technical concepts contained herein are proprietary to Adobe
|
|
10
|
+
* and its suppliers and are protected by all applicable intellectual
|
|
11
|
+
* property laws, including trade secret and copyright laws.
|
|
12
|
+
* Dissemination of this information or reproduction of this material
|
|
13
|
+
* is strictly forbidden unless prior written permission is obtained
|
|
14
|
+
* from Adobe.
|
|
15
|
+
*******************************************************************/
|
|
1
16
|
export declare enum FieldEnumList {
|
|
2
17
|
BOOLEAN = "BOOLEAN",
|
|
3
18
|
DATE = "DATE",
|
package/types/index.d.ts
CHANGED
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
/********************************************************************
|
|
2
|
+
* ADOBE CONFIDENTIAL
|
|
3
|
+
*
|
|
4
|
+
* Copyright 2024 Adobe
|
|
5
|
+
* All Rights Reserved.
|
|
6
|
+
*
|
|
7
|
+
* NOTICE: All information contained herein is, and remains
|
|
8
|
+
* the property of Adobe and its suppliers, if any. The intellectual
|
|
9
|
+
* and technical concepts contained herein are proprietary to Adobe
|
|
10
|
+
* and its suppliers and are protected by all applicable intellectual
|
|
11
|
+
* property laws, including trade secret and copyright laws.
|
|
12
|
+
* Dissemination of this information or reproduction of this material
|
|
13
|
+
* is strictly forbidden unless prior written permission is obtained
|
|
14
|
+
* from Adobe.
|
|
15
|
+
*******************************************************************/
|
|
1
16
|
export * from './api/getAttributesForm.types';
|
|
2
17
|
export * from './api/getAttributesList.types';
|
|
3
18
|
export * from './api/getCustomer.types';
|
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
/********************************************************************
|
|
2
|
+
* ADOBE CONFIDENTIAL
|
|
3
|
+
*
|
|
4
|
+
* Copyright 2024 Adobe
|
|
5
|
+
* All Rights Reserved.
|
|
6
|
+
*
|
|
7
|
+
* NOTICE: All information contained herein is, and remains
|
|
8
|
+
* the property of Adobe and its suppliers, if any. The intellectual
|
|
9
|
+
* and technical concepts contained herein are proprietary to Adobe
|
|
10
|
+
* and its suppliers and are protected by all applicable intellectual
|
|
11
|
+
* property laws, including trade secret and copyright laws.
|
|
12
|
+
* Dissemination of this information or reproduction of this material
|
|
13
|
+
* is strictly forbidden unless prior written permission is obtained
|
|
14
|
+
* from Adobe.
|
|
15
|
+
*******************************************************************/
|
|
1
16
|
export interface OrderEmailActionHandlerProps {
|
|
2
17
|
routeRedirect: (orderToken: string, orderNumber: string, orderData: any) => string;
|
|
3
18
|
}
|