Skip to content

Commit

Permalink
Manually drop order build with transform and order products list refa…
Browse files Browse the repository at this point in the history
…ctoring
  • Loading branch information
Ferri0 committed Dec 26, 2024
1 parent 1337e92 commit a862982
Show file tree
Hide file tree
Showing 29 changed files with 96 additions and 202 deletions.
127 changes: 0 additions & 127 deletions scripts/__dropins__/storefront-order/LICENSE.md

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,16 +1,4 @@
/********************************************************************
*
* Copyright 2024 Adobe
* All Rights Reserved.
*
* NOTICE: All information contained herein is, and remains
* the property of Adobe and its suppliers, if any. The intellectual
* and technical concepts contained herein are proprietary to Adobe
* and its suppliers and are protected by all applicable intellectual
* property laws, including trade secret and copyright laws.
* Dissemination of this information or reproduction of this material
* is strictly forbidden unless prior written permission is obtained
* from Adobe.
*******************************************************************/
export declare const confirmCancelOrder: (orderId: string, confirmationKey: string) => Promise<any>;
import { OrderDataModel } from '../../data/models';

export declare const confirmCancelOrder: (orderId: string, confirmationKey: string) => Promise<OrderDataModel | null>;
//# sourceMappingURL=confirmCancelOrder.d.ts.map
Original file line number Diff line number Diff line change
@@ -1,17 +1,4 @@
/********************************************************************
* ADOBE CONFIDENTIAL
*
* Copyright 2024 Adobe
* All Rights Reserved.
*
* NOTICE: All information contained herein is, and remains
* the property of Adobe and its suppliers, if any. The intellectual
* and technical concepts contained herein are proprietary to Adobe
* and its suppliers and are protected by all applicable intellectual
* property laws, including trade secret and copyright laws.
* Dissemination of this information or reproduction of this material
* is strictly forbidden unless prior written permission is obtained
* from Adobe.
*******************************************************************/
export declare const confirmGuestReturn: (orderId: string, confirmationKey: string) => Promise<void>;
import { OrderDataModel } from '../../data/models';

export declare const confirmGuestReturn: (orderId: string, confirmationKey: string) => Promise<OrderDataModel | null>;
//# sourceMappingURL=confirmGuestReturn.d.ts.map
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { OrderDataModel } from '../../data/models';
import { ConfigProps } from '../initialize';

export declare const initializeOrderDetails: (config: Record<string, string | OrderDataModel | null> | undefined) => Promise<void>;
export declare const initializeOrderDetails: (config: ConfigProps) => Promise<void>;
//# sourceMappingURL=initializeOrderDetails.d.ts.map
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,17 @@ import { Initializer, Model } from '@dropins/tools/types/elsie/src/lib';
import { Lang } from '@dropins/tools/types/elsie/src/i18n';
import { CustomerOrdersReturnModel, OrderDataModel, RequestReturnModel } from '../../data/models';

type ConfigProps = {
export type ConfigProps = {
langDefinitions?: Lang;
models?: {
OrderDataModel?: Model<OrderDataModel>;
CustomerOrdersReturnModel?: Model<CustomerOrdersReturnModel>;
RequestReturnModel?: Model<RequestReturnModel>;
};
orderRef?: string;
returnRef?: string;
orderData?: OrderDataModel | null;
};
export declare const initialize: Initializer<ConfigProps>;
export declare const config: import('@dropins/tools/types/elsie/src/lib').Config<ConfigProps>;
export {};
//# sourceMappingURL=initialize.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit a862982

Please sign in to comment.