@daffodil/order 0.40.1 → 0.42.1
Sign up to get free protection for your applications and to get access to all the features.
- package/driver/magento/2.4.0/order.service.d.ts +1 -1
- package/driver/magento/2.4.0/queries/fragments/order-address.d.ts +1 -1
- package/driver/magento/2.4.0/queries/fragments/order-invoice.d.ts +1 -1
- package/driver/magento/2.4.0/queries/fragments/order-item.d.ts +1 -1
- package/driver/magento/2.4.0/queries/fragments/order-payment.d.ts +1 -1
- package/driver/magento/2.4.0/queries/fragments/order-shipment-item.d.ts +1 -1
- package/driver/magento/2.4.0/queries/fragments/order-shipment-tracking.d.ts +1 -1
- package/driver/magento/2.4.0/queries/fragments/order-shipment.d.ts +1 -1
- package/driver/magento/2.4.0/queries/fragments/order.d.ts +1 -1
- package/driver/magento/2.4.0/queries/get-guest-orders.d.ts +1 -1
- package/driver/magento/2.4.1/order.service.d.ts +1 -1
- package/driver/magento/2.4.1/queries/fragments/order-address.d.ts +1 -1
- package/driver/magento/2.4.1/queries/fragments/order-credit-item.d.ts +1 -1
- package/driver/magento/2.4.1/queries/fragments/order-credit-total.d.ts +1 -1
- package/driver/magento/2.4.1/queries/fragments/order-credit.d.ts +1 -1
- package/driver/magento/2.4.1/queries/fragments/order-invoice-item.d.ts +1 -1
- package/driver/magento/2.4.1/queries/fragments/order-invoice-total.d.ts +1 -1
- package/driver/magento/2.4.1/queries/fragments/order-invoice.d.ts +1 -1
- package/driver/magento/2.4.1/queries/fragments/order-item.d.ts +2 -2
- package/driver/magento/2.4.1/queries/fragments/order-payment.d.ts +1 -1
- package/driver/magento/2.4.1/queries/fragments/order-shipment-item.d.ts +1 -1
- package/driver/magento/2.4.1/queries/fragments/order-shipment-tracking.d.ts +1 -1
- package/driver/magento/2.4.1/queries/fragments/order-shipment.d.ts +1 -1
- package/driver/magento/2.4.1/queries/fragments/order-total.d.ts +1 -1
- package/driver/magento/2.4.1/queries/fragments/order.d.ts +1 -1
- package/driver/magento/2.4.1/queries/get-guest-orders.d.ts +1 -1
- package/esm2020/driver/magento/2.4.0/errors/codes.mjs +1 -1
- package/esm2020/driver/magento/2.4.0/order.service.mjs +4 -4
- package/esm2020/driver/magento/2.4.0/queries/fragments/order-address.mjs +2 -2
- package/esm2020/driver/magento/2.4.0/queries/fragments/order-invoice.mjs +2 -2
- package/esm2020/driver/magento/2.4.0/queries/fragments/order-item.mjs +2 -2
- package/esm2020/driver/magento/2.4.0/queries/fragments/order-payment.mjs +2 -2
- package/esm2020/driver/magento/2.4.0/queries/fragments/order-shipment-item.mjs +2 -2
- package/esm2020/driver/magento/2.4.0/queries/fragments/order-shipment-tracking.mjs +2 -2
- package/esm2020/driver/magento/2.4.0/queries/fragments/order-shipment.mjs +2 -2
- package/esm2020/driver/magento/2.4.0/queries/fragments/order.mjs +2 -2
- package/esm2020/driver/magento/2.4.0/queries/get-guest-orders.mjs +2 -2
- package/esm2020/driver/magento/2.4.1/errors/codes.mjs +1 -1
- package/esm2020/driver/magento/2.4.1/order.service.mjs +4 -4
- package/esm2020/driver/magento/2.4.1/queries/fragments/order-address.mjs +2 -2
- package/esm2020/driver/magento/2.4.1/queries/fragments/order-credit-item.mjs +2 -2
- package/esm2020/driver/magento/2.4.1/queries/fragments/order-credit-total.mjs +2 -2
- package/esm2020/driver/magento/2.4.1/queries/fragments/order-credit.mjs +2 -2
- package/esm2020/driver/magento/2.4.1/queries/fragments/order-invoice-item.mjs +2 -2
- package/esm2020/driver/magento/2.4.1/queries/fragments/order-invoice-total.mjs +2 -2
- package/esm2020/driver/magento/2.4.1/queries/fragments/order-invoice.mjs +2 -2
- package/esm2020/driver/magento/2.4.1/queries/fragments/order-item.mjs +2 -2
- package/esm2020/driver/magento/2.4.1/queries/fragments/order-payment.mjs +2 -2
- package/esm2020/driver/magento/2.4.1/queries/fragments/order-shipment-item.mjs +2 -2
- package/esm2020/driver/magento/2.4.1/queries/fragments/order-shipment-tracking.mjs +2 -2
- package/esm2020/driver/magento/2.4.1/queries/fragments/order-shipment.mjs +2 -2
- package/esm2020/driver/magento/2.4.1/queries/fragments/order-total.mjs +2 -2
- package/esm2020/driver/magento/2.4.1/queries/fragments/order.mjs +2 -2
- package/esm2020/driver/magento/2.4.1/queries/get-guest-orders.mjs +2 -2
- package/esm2020/models/composite-order-item.mjs +1 -1
- package/esm2020/models/configurable-order-item.mjs +1 -1
- package/esm2020/models/order-item.mjs +1 -1
- package/esm2020/models/order-payment.mjs +1 -1
- package/esm2020/routing/guards/placed-order/placed-order.guard.mjs +1 -1
- package/esm2020/state/effects/order.effects.mjs +1 -1
- package/esm2020/state/facades/order/order-facade.interface.mjs +1 -1
- package/esm2020/state/selectors/order-entities.selector.mjs +1 -1
- package/esm2020/testing/factories/composite-order-item.factory.mjs +1 -1
- package/esm2020/testing/factories/configurable-order-item.factory.mjs +1 -1
- package/fesm2015/daffodil-order-driver-magento-2.4.0.mjs +3 -3
- package/fesm2015/daffodil-order-driver-magento-2.4.0.mjs.map +1 -1
- package/fesm2015/daffodil-order-driver-magento-2.4.1.mjs +3 -3
- package/fesm2015/daffodil-order-driver-magento-2.4.1.mjs.map +1 -1
- package/fesm2015/daffodil-order-routing.mjs.map +1 -1
- package/fesm2015/daffodil-order-state.mjs.map +1 -1
- package/fesm2015/daffodil-order-testing.mjs.map +1 -1
- package/fesm2015/daffodil-order.mjs.map +1 -1
- package/fesm2020/daffodil-order-driver-magento-2.4.0.mjs +3 -3
- package/fesm2020/daffodil-order-driver-magento-2.4.0.mjs.map +1 -1
- package/fesm2020/daffodil-order-driver-magento-2.4.1.mjs +3 -3
- package/fesm2020/daffodil-order-driver-magento-2.4.1.mjs.map +1 -1
- package/fesm2020/daffodil-order-routing.mjs.map +1 -1
- package/fesm2020/daffodil-order-state.mjs.map +1 -1
- package/fesm2020/daffodil-order-testing.mjs.map +1 -1
- package/fesm2020/daffodil-order.mjs.map +1 -1
- package/package.json +5 -5
@@ -1 +1 @@
|
|
1
|
-
export declare const orderAddressFragment: import("
|
1
|
+
export declare const orderAddressFragment: import("apollo-angular").TypedDocumentNode<unknown, unknown>;
|
@@ -1 +1 @@
|
|
1
|
-
export declare const orderInvoiceFragment: import("
|
1
|
+
export declare const orderInvoiceFragment: import("apollo-angular").TypedDocumentNode<unknown, unknown>;
|
@@ -1 +1 @@
|
|
1
|
-
export declare const orderItemFragment: import("
|
1
|
+
export declare const orderItemFragment: import("apollo-angular").TypedDocumentNode<unknown, unknown>;
|
@@ -1 +1 @@
|
|
1
|
-
export declare const orderPaymentFragment: import("
|
1
|
+
export declare const orderPaymentFragment: import("apollo-angular").TypedDocumentNode<unknown, unknown>;
|
@@ -1 +1 @@
|
|
1
|
-
export declare const orderShipmentItemFragment: import("
|
1
|
+
export declare const orderShipmentItemFragment: import("apollo-angular").TypedDocumentNode<unknown, unknown>;
|
@@ -1 +1 @@
|
|
1
|
-
export declare const orderShipmentTrackingFragment: import("
|
1
|
+
export declare const orderShipmentTrackingFragment: import("apollo-angular").TypedDocumentNode<unknown, unknown>;
|
@@ -1 +1 @@
|
|
1
|
-
export declare const orderShipmentFragment: import("
|
1
|
+
export declare const orderShipmentFragment: import("apollo-angular").TypedDocumentNode<unknown, unknown>;
|
@@ -1 +1 @@
|
|
1
|
-
export declare const orderFragment: import("
|
1
|
+
export declare const orderFragment: import("apollo-angular").TypedDocumentNode<unknown, unknown>;
|
@@ -1,2 +1,2 @@
|
|
1
1
|
import { DocumentNode } from 'graphql';
|
2
|
-
export declare const getGuestOrders: (extraOrderFragments?: DocumentNode[]) => import("
|
2
|
+
export declare const getGuestOrders: (extraOrderFragments?: DocumentNode[]) => import("apollo-angular").TypedDocumentNode<unknown, unknown>;
|
@@ -1 +1 @@
|
|
1
|
-
export declare const orderAddressFragment: import("
|
1
|
+
export declare const orderAddressFragment: import("apollo-angular").TypedDocumentNode<unknown, unknown>;
|
@@ -1 +1 @@
|
|
1
|
-
export declare const orderCreditItemFragment: import("
|
1
|
+
export declare const orderCreditItemFragment: import("apollo-angular").TypedDocumentNode<unknown, unknown>;
|
@@ -1 +1 @@
|
|
1
|
-
export declare const orderCreditTotalFragment: import("
|
1
|
+
export declare const orderCreditTotalFragment: import("apollo-angular").TypedDocumentNode<unknown, unknown>;
|
@@ -1 +1 @@
|
|
1
|
-
export declare const orderCreditFragment: import("
|
1
|
+
export declare const orderCreditFragment: import("apollo-angular").TypedDocumentNode<unknown, unknown>;
|
@@ -1 +1 @@
|
|
1
|
-
export declare const orderInvoiceItemFragment: import("
|
1
|
+
export declare const orderInvoiceItemFragment: import("apollo-angular").TypedDocumentNode<unknown, unknown>;
|
@@ -1 +1 @@
|
|
1
|
-
export declare const orderInvoiceTotalFragment: import("
|
1
|
+
export declare const orderInvoiceTotalFragment: import("apollo-angular").TypedDocumentNode<unknown, unknown>;
|
@@ -1 +1 @@
|
|
1
|
-
export declare const orderInvoiceFragment: import("
|
1
|
+
export declare const orderInvoiceFragment: import("apollo-angular").TypedDocumentNode<unknown, unknown>;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
export declare const orderBundleItemSelectedOptionFragment: import("
|
2
|
-
export declare const orderItemFragment: import("
|
1
|
+
export declare const orderBundleItemSelectedOptionFragment: import("apollo-angular").TypedDocumentNode<unknown, unknown>;
|
2
|
+
export declare const orderItemFragment: import("apollo-angular").TypedDocumentNode<unknown, unknown>;
|
@@ -1 +1 @@
|
|
1
|
-
export declare const orderPaymentFragment: import("
|
1
|
+
export declare const orderPaymentFragment: import("apollo-angular").TypedDocumentNode<unknown, unknown>;
|
@@ -1 +1 @@
|
|
1
|
-
export declare const orderShipmentItemFragment: import("
|
1
|
+
export declare const orderShipmentItemFragment: import("apollo-angular").TypedDocumentNode<unknown, unknown>;
|
@@ -1 +1 @@
|
|
1
|
-
export declare const orderShipmentTrackingFragment: import("
|
1
|
+
export declare const orderShipmentTrackingFragment: import("apollo-angular").TypedDocumentNode<unknown, unknown>;
|
@@ -1 +1 @@
|
|
1
|
-
export declare const orderShipmentFragment: import("
|
1
|
+
export declare const orderShipmentFragment: import("apollo-angular").TypedDocumentNode<unknown, unknown>;
|
@@ -1 +1 @@
|
|
1
|
-
export declare const orderTotalFragment: import("
|
1
|
+
export declare const orderTotalFragment: import("apollo-angular").TypedDocumentNode<unknown, unknown>;
|
@@ -1 +1 @@
|
|
1
|
-
export declare const orderFragment: import("
|
1
|
+
export declare const orderFragment: import("apollo-angular").TypedDocumentNode<unknown, unknown>;
|
@@ -1,2 +1,2 @@
|
|
1
1
|
import { DocumentNode } from 'graphql';
|
2
|
-
export declare const getGuestOrders: (extraOrderFragments?: DocumentNode[]) => import("
|
2
|
+
export declare const getGuestOrders: (extraOrderFragments?: DocumentNode[]) => import("apollo-angular").TypedDocumentNode<unknown, unknown>;
|
@@ -2,4 +2,4 @@ export var MagentoOrderGraphQlErrorCode;
|
|
2
2
|
(function (MagentoOrderGraphQlErrorCode) {
|
3
3
|
MagentoOrderGraphQlErrorCode["CART_NOT_FOUND"] = "graphql-no-such-entity";
|
4
4
|
})(MagentoOrderGraphQlErrorCode || (MagentoOrderGraphQlErrorCode = {}));
|
5
|
-
//# sourceMappingURL=data:application/json;base64,
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29kZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL29yZGVyL2RyaXZlci9tYWdlbnRvLzIuNC4wL3NyYy9lcnJvcnMvY29kZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxDQUFOLElBQVksNEJBRVg7QUFGRCxXQUFZLDRCQUE0QjtJQUN0Qyx5RUFBeUMsQ0FBQTtBQUMzQyxDQUFDLEVBRlcsNEJBQTRCLEtBQTVCLDRCQUE0QixRQUV2QyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBlbnVtIE1hZ2VudG9PcmRlckdyYXBoUWxFcnJvckNvZGUge1xuICBDQVJUX05PVF9GT1VORCA9ICdncmFwaHFsLW5vLXN1Y2gtZW50aXR5Jyxcbn1cbiJdfQ==
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { Inject, Injectable, } from '@angular/core';
|
2
|
-
import { Apollo } from '
|
2
|
+
import { Apollo } from 'apollo-angular';
|
3
3
|
import { throwError, } from 'rxjs';
|
4
4
|
import { map, catchError, } from 'rxjs/operators';
|
5
5
|
import { DaffOrderNotFoundError, } from '@daffodil/order/driver';
|
@@ -9,7 +9,7 @@ import { getGuestOrders, } from './queries/public_api';
|
|
9
9
|
import { daffMagentoTransformOrder } from './transforms/responses/order';
|
10
10
|
import { validateGetOrdersResponse } from './validators/public_api';
|
11
11
|
import * as i0 from "@angular/core";
|
12
|
-
import * as i1 from "
|
12
|
+
import * as i1 from "apollo-angular";
|
13
13
|
/**
|
14
14
|
* A service for making Magento GraphQL queries for orders.
|
15
15
|
*
|
@@ -26,7 +26,7 @@ export class DaffOrderMagentoService {
|
|
26
26
|
variables: {
|
27
27
|
cartId,
|
28
28
|
},
|
29
|
-
}).pipe(map(validateGetOrdersResponse), map(result => result.data.graycoreGuestOrders.orders.map(daffMagentoTransformOrder)), catchError(err => throwError(transformMagentoOrderError(err))));
|
29
|
+
}).pipe(map(validateGetOrdersResponse), map(result => result.data.graycoreGuestOrders.orders.map(daffMagentoTransformOrder)), catchError(err => throwError(() => transformMagentoOrderError(err))));
|
30
30
|
}
|
31
31
|
get(orderId, cartId) {
|
32
32
|
return this.list(cartId).pipe(map(orders => {
|
@@ -51,4 +51,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImpor
|
|
51
51
|
type: Inject,
|
52
52
|
args: [DaffMagentoExtraOrderFragments]
|
53
53
|
}] }]; } });
|
54
|
-
//# sourceMappingURL=data:application/json;base64,
|
54
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3JkZXIuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xp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GVyRXJyb3IoZXJyKSkpLFxuICAgICk7XG4gIH1cblxuICBnZXQob3JkZXJJZDogRGFmZk9yZGVyWydpZCddLCBjYXJ0SWQ/OiBEYWZmQ2FydFsnaWQnXSk6IE9ic2VydmFibGU8RGFmZk9yZGVyPiB7XG4gICAgcmV0dXJuIHRoaXMubGlzdChjYXJ0SWQpLnBpcGUoXG4gICAgICBtYXAob3JkZXJzID0+IHtcbiAgICAgICAgZm9yIChjb25zdCBvcmRlciBvZiBvcmRlcnMpIHtcbiAgICAgICAgICBpZiAob3JkZXIuaWQgPT09IG9yZGVySWQpIHtcbiAgICAgICAgICAgIHJldHVybiBvcmRlcjtcbiAgICAgICAgICB9XG4gICAgICAgIH1cblxuICAgICAgICAvLyBvcmRlciBub3QgZm91bmRcbiAgICAgICAgdGhyb3cgbmV3IERhZmZPcmRlck5vdEZvdW5kRXJyb3IoYENvdWxkIG5vdCBmaW5kIGFuIG9yZGVyIHdpdGggSUQgJHtvcmRlcklkfWApO1xuICAgICAgfSksXG4gICAgKTtcbiAgfVxufVxuIl19
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { gql } from '
|
1
|
+
import { gql } from 'apollo-angular';
|
2
2
|
export const orderAddressFragment = gql `
|
3
3
|
fragment orderAddress on GraycoreOrderAddress {
|
4
4
|
order_id
|
@@ -17,4 +17,4 @@ export const orderAddressFragment = gql `
|
|
17
17
|
postcode
|
18
18
|
}
|
19
19
|
`;
|
20
|
-
//# sourceMappingURL=data:application/json;base64,
|
20
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3JkZXItYWRkcmVzcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvb3JkZXIvZHJpdmVyL21hZ2VudG8vMi40LjAvc3JjL3F1ZXJpZXMvZnJhZ21lbnRzL29yZGVyLWFkZHJlc3MudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLEdBQUcsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBR3JDLE1BQU0sQ0FBQyxNQUFNLG9CQUFvQixHQUFHLEdBQUcsQ0FBQTs7Ozs7Ozs7Ozs7Ozs7Ozs7Q0FpQnRDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBncWwgfSBmcm9tICdhcG9sbG8tYW5ndWxhcic7XG5cblxuZXhwb3J0IGNvbnN0IG9yZGVyQWRkcmVzc0ZyYWdtZW50ID0gZ3FsYFxuICBmcmFnbWVudCBvcmRlckFkZHJlc3Mgb24gR3JheWNvcmVPcmRlckFkZHJlc3Mge1xuICAgIG9yZGVyX2lkXG4gICAgcHJlZml4XG4gICAgc3VmZml4XG4gICAgZmlyc3RuYW1lXG4gICAgbWlkZGxlbmFtZVxuICAgIGxhc3RuYW1lXG4gICAgdGVsZXBob25lXG4gICAgZW1haWxcbiAgICBzdHJlZXRcbiAgICBjaXR5XG4gICAgcmVnaW9uXG4gICAgcmVnaW9uX2lkXG4gICAgY291bnRyeV9jb2RlXG4gICAgcG9zdGNvZGVcbiAgfVxuYDtcbiJdfQ==
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { gql } from '
|
1
|
+
import { gql } from 'apollo-angular';
|
2
2
|
import { orderAddressFragment } from './order-address';
|
3
3
|
import { orderPaymentFragment } from './order-payment';
|
4
4
|
import { orderShipmentItemFragment } from './order-shipment-item';
|
@@ -26,4 +26,4 @@ export const orderInvoiceFragment = gql `
|
|
26
26
|
${orderAddressFragment}
|
27
27
|
${orderPaymentFragment}
|
28
28
|
`;
|
29
|
-
//# sourceMappingURL=data:application/json;base64,
|
29
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3JkZXItaW52b2ljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy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cbiAgICBzdWJ0b3RhbFxuICAgIHNoaXBwaW5nXG4gICAgZGlzY291bnRcbiAgICB0YXhcbiAgICBiaWxsaW5nX2FkZHJlc3Mge1xuICAgICAgLi4ub3JkZXJBZGRyZXNzXG4gICAgfVxuICAgIHNoaXBwaW5nX2FkZHJlc3Mge1xuICAgICAgLi4ub3JkZXJBZGRyZXNzXG5cdFx0fVxuXHRcdHBheW1lbnQge1xuXHRcdFx0Li4ub3JkZXJQYXltZW50XG5cdFx0fVxuICB9XG4gICR7b3JkZXJTaGlwbWVudEl0ZW1GcmFnbWVudH1cbiAgJHtvcmRlckFkZHJlc3NGcmFnbWVudH1cbiAgJHtvcmRlclBheW1lbnRGcmFnbWVudH1cbmA7XG4iXX0=
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { gql } from '
|
1
|
+
import { gql } from 'apollo-angular';
|
2
2
|
export const orderItemFragment = gql `
|
3
3
|
fragment orderItem on GraycoreOrderItem {
|
4
4
|
qty_ordered
|
@@ -24,4 +24,4 @@ export const orderItemFragment = gql `
|
|
24
24
|
tax_before_discount
|
25
25
|
}
|
26
26
|
`;
|
27
|
-
//# sourceMappingURL=data:application/json;base64,
|
27
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3JkZXItaXRlbS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvb3JkZXIvZHJpdmVyL21hZ2VudG8vMi40LjAvc3JjL3F1ZXJpZXMvZnJhZ21lbnRzL29yZGVyLWl0ZW0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLEdBQUcsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBR3JDLE1BQU0sQ0FBQyxNQUFNLGlCQUFpQixHQUFHLEdBQUcsQ0FBQTs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0NBd0JuQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgZ3FsIH0gZnJvbSAnYXBvbGxvLWFuZ3VsYXInO1xuXG5cbmV4cG9ydCBjb25zdCBvcmRlckl0ZW1GcmFnbWVudCA9IGdxbGBcbiAgZnJhZ21lbnQgb3JkZXJJdGVtIG9uIEdyYXljb3JlT3JkZXJJdGVtIHtcbiAgICBxdHlfb3JkZXJlZFxuICAgIGltYWdlXG4gICAgcXR5X2NhbmNlbGVkXG4gICAgcXR5X2Z1bGZpbGxlZFxuICAgIG9yZGVyX2lkXG4gICAgY3JlYXRlZF9hdFxuICAgIHVwZGF0ZWRfYXRcbiAgICBwcm9kdWN0X2lkXG4gICAgc2t1XG4gICAgbmFtZVxuICAgIHdlaWdodFxuICAgIHF0eVxuICAgIHByaWNlXG4gICAgZGlzY291bnRfcGVyY2VudFxuICAgIGRpc2NvdW50X2Ftb3VudFxuICAgIHRheF9wZXJjZW50XG4gICAgdGF4X2Ftb3VudFxuICAgIHJvd190b3RhbFxuICAgIHJvd190b3RhbF93aXRoX2Rpc2NvdW50XG4gICAgcm93X3dlaWdodFxuICAgIHRheF9iZWZvcmVfZGlzY291bnRcbiAgfVxuYDtcbiJdfQ==
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { gql } from '
|
1
|
+
import { gql } from 'apollo-angular';
|
2
2
|
export const orderPaymentFragment = gql `
|
3
3
|
fragment orderPayment on GraycoreOrderPayment {
|
4
4
|
payment_id
|
@@ -11,4 +11,4 @@ export const orderPaymentFragment = gql `
|
|
11
11
|
cc_exp_year
|
12
12
|
}
|
13
13
|
`;
|
14
|
-
//# sourceMappingURL=data:application/json;base64,
|
14
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3JkZXItcGF5bWVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvb3JkZXIvZHJpdmVyL21hZ2VudG8vMi40LjAvc3JjL3F1ZXJpZXMvZnJhZ21lbnRzL29yZGVyLXBheW1lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLEdBQUcsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBR3JDLE1BQU0sQ0FBQyxNQUFNLG9CQUFvQixHQUFHLEdBQUcsQ0FBQTs7Ozs7Ozs7Ozs7Q0FXdEMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGdxbCB9IGZyb20gJ2Fwb2xsby1hbmd1bGFyJztcblxuXG5leHBvcnQgY29uc3Qgb3JkZXJQYXltZW50RnJhZ21lbnQgPSBncWxgXG4gIGZyYWdtZW50IG9yZGVyUGF5bWVudCBvbiBHcmF5Y29yZU9yZGVyUGF5bWVudCB7XG4gICAgcGF5bWVudF9pZFxuICAgIG9yZGVyX2lkXG4gICAgbWV0aG9kXG4gICAgY2NfdHlwZVxuICAgIGNjX2xhc3Q0XG4gICAgY2Nfb3duZXJcbiAgICBjY19leHBfbW9udGhcbiAgICBjY19leHBfeWVhclxuICB9XG5gO1xuIl19
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { gql } from '
|
1
|
+
import { gql } from 'apollo-angular';
|
2
2
|
import { orderItemFragment } from './order-item';
|
3
3
|
export const orderShipmentItemFragment = gql `
|
4
4
|
fragment orderShipmentItem on GraycoreOrderShipmentItem {
|
@@ -9,4 +9,4 @@ export const orderShipmentItemFragment = gql `
|
|
9
9
|
}
|
10
10
|
${orderItemFragment}
|
11
11
|
`;
|
12
|
-
//# sourceMappingURL=data:application/json;base64,
|
12
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3JkZXItc2hpcG1lbnQtaXRlbS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvb3JkZXIvZHJpdmVyL21hZ2VudG8vMi40LjAvc3JjL3F1ZXJpZXMvZnJhZ21lbnRzL29yZGVyLXNoaXBtZW50LWl0ZW0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLEdBQUcsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBRXJDLE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLGNBQWMsQ0FBQztBQUVqRCxNQUFNLENBQUMsTUFBTSx5QkFBeUIsR0FBRyxHQUFHLENBQUE7Ozs7Ozs7SUFPeEMsaUJBQWlCO0NBQ3BCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBncWwgfSBmcm9tICdhcG9sbG8tYW5ndWxhcic7XG5cbmltcG9ydCB7IG9yZGVySXRlbUZyYWdtZW50IH0gZnJvbSAnLi9vcmRlci1pdGVtJztcblxuZXhwb3J0IGNvbnN0IG9yZGVyU2hpcG1lbnRJdGVtRnJhZ21lbnQgPSBncWxgXG4gIGZyYWdtZW50IG9yZGVyU2hpcG1lbnRJdGVtIG9uIEdyYXljb3JlT3JkZXJTaGlwbWVudEl0ZW0ge1xuICAgIHF0eVxuICAgIGl0ZW0ge1xuICAgICAgLi4ub3JkZXJJdGVtXG4gICAgfVxuICB9XG4gICR7b3JkZXJJdGVtRnJhZ21lbnR9XG5gO1xuIl19
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { gql } from '
|
1
|
+
import { gql } from 'apollo-angular';
|
2
2
|
export const orderShipmentTrackingFragment = gql `
|
3
3
|
fragment orderShipmentTracking on GraycoreOrderShipmentTracking {
|
4
4
|
tracking_number
|
@@ -6,4 +6,4 @@ export const orderShipmentTrackingFragment = gql `
|
|
6
6
|
title
|
7
7
|
}
|
8
8
|
`;
|
9
|
-
//# sourceMappingURL=data:application/json;base64,
|
9
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3JkZXItc2hpcG1lbnQtdHJhY2tpbmcuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL29yZGVyL2RyaXZlci9tYWdlbnRvLzIuNC4wL3NyYy9xdWVyaWVzL2ZyYWdtZW50cy9vcmRlci1zaGlwbWVudC10cmFja2luZy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsR0FBRyxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFHckMsTUFBTSxDQUFDLE1BQU0sNkJBQTZCLEdBQUcsR0FBRyxDQUFBOzs7Ozs7Q0FNL0MsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGdxbCB9IGZyb20gJ2Fwb2xsby1hbmd1bGFyJztcblxuXG5leHBvcnQgY29uc3Qgb3JkZXJTaGlwbWVudFRyYWNraW5nRnJhZ21lbnQgPSBncWxgXG4gIGZyYWdtZW50IG9yZGVyU2hpcG1lbnRUcmFja2luZyBvbiBHcmF5Y29yZU9yZGVyU2hpcG1lbnRUcmFja2luZyB7XG4gICAgdHJhY2tpbmdfbnVtYmVyXG4gICAgY2FycmllclxuICAgIHRpdGxlXG4gIH1cbmA7XG4iXX0=
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { gql } from '
|
1
|
+
import { gql } from 'apollo-angular';
|
2
2
|
import { orderShipmentItemFragment } from './order-shipment-item';
|
3
3
|
import { orderShipmentTrackingFragment } from './order-shipment-tracking';
|
4
4
|
export const orderShipmentFragment = gql `
|
@@ -13,4 +13,4 @@ export const orderShipmentFragment = gql `
|
|
13
13
|
${orderShipmentItemFragment}
|
14
14
|
${orderShipmentTrackingFragment}
|
15
15
|
`;
|
16
|
-
//# sourceMappingURL=data:application/json;base64,
|
16
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3JkZXItc2hpcG1lbnQuanMiLCJzb3V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29yZGVyU2hpcG1lbnRUcmFja2luZ0ZyYWdtZW50fVxuYDtcbiJdfQ==
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { gql } from '
|
1
|
+
import { gql } from 'apollo-angular';
|
2
2
|
import { orderAddressFragment } from './order-address';
|
3
3
|
import { orderInvoiceFragment } from './order-invoice';
|
4
4
|
import { orderItemFragment } from './order-item';
|
@@ -46,4 +46,4 @@ export const orderFragment = gql `
|
|
46
46
|
${orderInvoiceFragment}
|
47
47
|
${orderAddressFragment}
|
48
48
|
`;
|
49
|
-
//# sourceMappingURL=data:application/json;base64,
|
49
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3JkZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL29yZGVyL2RyaXZlci9tYWdlbnRvLzIuNC4wL3NyYy9xdWVyaWVzL2ZyYWdtZW50cy9vcmRlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsR0FBRyxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFFckMsT0FBTyxFQUFFLG9CQUFvQixFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDdkQsT0FBTyxFQUFFLG9CQUFvQixFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDdkQsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sY0FBYyxDQUFDO0FBQ2pELE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQ3ZELE9BQU8sRUFBRSxxQkFBcUIsRUFBRSxNQUFNLGtCQUFrQixDQUFDO0FBRXpELE1BQU0sQ0FBQyxNQUFNLGFBQWEsR0FBRyxHQUFHLENBQUE7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztJQW9DNUIsaUJBQWlCO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B7XG4gICAgICAuLi5vcmRlclNoaXBtZW50XG4gICAgfVxuICAgIHBheW1lbnQge1xuICAgICAgLi4ub3JkZXJQYXltZW50XG4gICAgfVxuICAgIGludm9pY2VzIHtcbiAgICAgIC4uLm9yZGVySW52b2ljZVxuICAgIH1cbiAgICBjcmVkaXRzIHtcbiAgICAgIC4uLm9yZGVySW52b2ljZVxuICAgIH1cbiAgfVxuICAke29yZGVySXRlbUZyYWdtZW50fVxuICAke29yZGVyU2hpcG1lbnRGcmFnbWVudH1cbiAgJHtvcmRlclBheW1lbnRGcmFnbWVudH1cbiAgJHtvcmRlckludm9pY2VGcmFnbWVudH1cbiAgJHtvcmRlckFkZHJlc3NGcmFnbWVudH1cbmA7XG4iXX0=
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { gql } from '
|
1
|
+
import { gql } from 'apollo-angular';
|
2
2
|
import { daffBuildFragmentNameSpread, daffBuildFragmentDefinition, } from '@daffodil/core/graphql';
|
3
3
|
import { orderFragment } from './fragments/public_api';
|
4
4
|
export const getGuestOrders = (extraOrderFragments = []) => gql `
|
@@ -13,4 +13,4 @@ export const getGuestOrders = (extraOrderFragments = []) => gql `
|
|
13
13
|
${orderFragment}
|
14
14
|
${daffBuildFragmentDefinition(...extraOrderFragments)}
|
15
15
|
`;
|
16
|
-
//# sourceMappingURL=data:application/json;base64,
|
16
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0LWd1ZXN0LW9yZGVycy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvb3JkZXIvZHJpdmVyL21hZ2VudG8vMi40LjAvc3JjL3F1ZXJpZXMvZ2V0LWd1ZXN0LW9yZGVycy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsR0FBRyxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFHckM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JGcmFnbWVudHMpfVxuICAgICAgfVxuICAgIH1cbiAgfVxuICAke29yZGVyRnJhZ21lbnR9XG4gICR7ZGFmZkJ1aWxkRnJhZ21lbnREZWZpbml0aW9uKC4uLmV4dHJhT3JkZXJGcmFnbWVudHMpfVxuYDtcbiJdfQ==
|
@@ -2,4 +2,4 @@ export var MagentoOrderGraphQlErrorCode;
|
|
2
2
|
(function (MagentoOrderGraphQlErrorCode) {
|
3
3
|
MagentoOrderGraphQlErrorCode["CART_NOT_FOUND"] = "graphql-no-such-entity";
|
4
4
|
})(MagentoOrderGraphQlErrorCode || (MagentoOrderGraphQlErrorCode = {}));
|
5
|
-
//# sourceMappingURL=data:application/json;base64,
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29kZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL29yZGVyL2RyaXZlci9tYWdlbnRvLzIuNC4xL3NyYy9lcnJvcnMvY29kZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxDQUFOLElBQVksNEJBRVg7QUFGRCxXQUFZLDRCQUE0QjtJQUN0Qyx5RUFBeUMsQ0FBQTtBQUMzQyxDQUFDLEVBRlcsNEJBQTRCLEtBQTVCLDRCQUE0QixRQUV2QyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBlbnVtIE1hZ2VudG9PcmRlckdyYXBoUWxFcnJvckNvZGUge1xuICBDQVJUX05PVF9GT1VORCA9ICdncmFwaHFsLW5vLXN1Y2gtZW50aXR5Jyxcbn1cbiJdfQ==
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { Inject, Injectable, } from '@angular/core';
|
2
|
-
import { Apollo } from '
|
2
|
+
import { Apollo } from 'apollo-angular';
|
3
3
|
import { throwError, } from 'rxjs';
|
4
4
|
import { map, catchError, } from 'rxjs/operators';
|
5
5
|
import { DaffOrderNotFoundError, } from '@daffodil/order/driver';
|
@@ -9,7 +9,7 @@ import { getGuestOrders, } from './queries/public_api';
|
|
9
9
|
import { daffMagentoTransformOrder } from './transforms/responses/order';
|
10
10
|
import { validateGetOrdersResponse } from './validators/public_api';
|
11
11
|
import * as i0 from "@angular/core";
|
12
|
-
import * as i1 from "
|
12
|
+
import * as i1 from "apollo-angular";
|
13
13
|
/**
|
14
14
|
* A service for making Magento GraphQL queries for orders.
|
15
15
|
*
|
@@ -26,7 +26,7 @@ export class DaffOrderMagentoService {
|
|
26
26
|
variables: {
|
27
27
|
cartId,
|
28
28
|
},
|
29
|
-
}).pipe(map(validateGetOrdersResponse), map(result => result.data.graycoreGuestOrders.items.map(daffMagentoTransformOrder)), catchError(err => throwError(transformMagentoOrderError(err))));
|
29
|
+
}).pipe(map(validateGetOrdersResponse), map(result => result.data.graycoreGuestOrders.items.map(daffMagentoTransformOrder)), catchError(err => throwError(() => transformMagentoOrderError(err))));
|
30
30
|
}
|
31
31
|
get(orderId, cartId) {
|
32
32
|
return this.list(cartId).pipe(map(orders => {
|
@@ -51,4 +51,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImpor
|
|
51
51
|
type: Inject,
|
52
52
|
args: [DaffMagentoExtraOrderFragments]
|
53
53
|
}] }]; } });
|
54
|
-
//# sourceMappingURL=data:application/json;base64,
|
54
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3JkZXIuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvb3JkZXIvZHJpdmVyL21hZ2VudG8vMi40LjEvc3JjL29yZGVyLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNMLE1BQU0sRUFDTixVQUFVLEdBQ1gsTUFBTSxlQUFlLENBQUM7QUFDd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y5saXN0KGNhcnRJZCkucGlwZShcbiAgICAgIG1hcChvcmRlcnMgPT4ge1xuICAgICAgICBmb3IgKGNvbnN0IG9yZGVyIG9mIG9yZGVycykge1xuICAgICAgICAgIGlmIChvcmRlci5pZCA9PT0gb3JkZXJJZCkge1xuICAgICAgICAgICAgcmV0dXJuIG9yZGVyO1xuICAgICAgICAgIH1cbiAgICAgICAgfVxuXG4gICAgICAgIC8vIG9yZGVyIG5vdCBmb3VuZFxuICAgICAgICB0aHJvdyBuZXcgRGFmZk9yZGVyTm90Rm91bmRFcnJvcihgQ291bGQgbm90IGZpbmQgYW4gb3JkZXIgd2l0aCBJRCAke29yZGVySWR9YCk7XG4gICAgICB9KSxcbiAgICApO1xuICB9XG59XG4iXX0=
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { gql } from '
|
1
|
+
import { gql } from 'apollo-angular';
|
2
2
|
export const orderAddressFragment = gql `
|
3
3
|
fragment orderAddress on OrderAddress {
|
4
4
|
city
|
@@ -17,4 +17,4 @@ export const orderAddressFragment = gql `
|
|
17
17
|
telephone
|
18
18
|
}
|
19
19
|
`;
|
20
|
-
//# sourceMappingURL=data:application/json;base64,
|
20
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3JkZXItYWRkcmVzcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvb3JkZXIvZHJpdmVyL21hZ2VudG8vMi40LjEvc3JjL3F1ZXJpZXMvZnJhZ21lbnRzL29yZGVyLWFkZHJlc3MudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLEdBQUcsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBR3JDLE1BQU0sQ0FBQyxNQUFNLG9CQUFvQixHQUFHLEdBQUcsQ0FBQTs7Ozs7Ozs7Ozs7Ozs7Ozs7Q0FpQnRDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBncWwgfSBmcm9tICdhcG9sbG8tYW5ndWxhcic7XG5cblxuZXhwb3J0IGNvbnN0IG9yZGVyQWRkcmVzc0ZyYWdtZW50ID0gZ3FsYFxuICBmcmFnbWVudCBvcmRlckFkZHJlc3Mgb24gT3JkZXJBZGRyZXNzIHtcbiAgICBjaXR5XG4gICAgY29tcGFueVxuICAgIGNvdW50cnlfY29kZVxuICAgIGZheFxuICAgIGZpcnN0bmFtZVxuICAgIG1pZGRsZW5hbWVcbiAgICBsYXN0bmFtZVxuICAgIHBvc3Rjb2RlXG4gICAgcHJlZml4XG4gICAgcmVnaW9uXG4gICAgcmVnaW9uX2NvZGVcbiAgICBzdHJlZXRcbiAgICBzdWZmaXhcbiAgICB0ZWxlcGhvbmVcbiAgfVxuYDtcbiJdfQ==
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { gql } from '
|
1
|
+
import { gql } from 'apollo-angular';
|
2
2
|
import { orderItemFragment } from './order-item';
|
3
3
|
export const orderCreditItemFragment = gql `
|
4
4
|
fragment orderCreditItem on CreditMemoItemInterface {
|
@@ -9,4 +9,4 @@ export const orderCreditItemFragment = gql `
|
|
9
9
|
}
|
10
10
|
${orderItemFragment}
|
11
11
|
`;
|
12
|
-
//# sourceMappingURL=data:application/json;base64,
|
12
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3JkZXItY3JlZGl0LWl0ZW0uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL29yZGVyL2RyaXZlci9tYWdlbnRvLzIuNC4xL3NyYy9xdWVyaWVzL2ZyYWdtZW50cy9vcmRlci1jcmVkaXQtaXRlbS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsR0FBRyxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFFckMsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sY0FBYyxDQUFDO0FBRWpELE1BQU0sQ0FBQyxNQUFNLHVCQUF1QixHQUFHLEdBQUcsQ0FBQTs7Ozs7OztJQU90QyxpQkFBaUI7Q0FDcEIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGdxbCB9IGZyb20gJ2Fwb2xsby1hbmd1bGFyJztcblxuaW1wb3J0IHsgb3JkZXJJdGVtRnJhZ21lbnQgfSBmcm9tICcuL29yZGVyLWl0ZW0nO1xuXG5leHBvcnQgY29uc3Qgb3JkZXJDcmVkaXRJdGVtRnJhZ21lbnQgPSBncWxgXG4gIGZyYWdtZW50IG9yZGVyQ3JlZGl0SXRlbSBvbiBDcmVkaXRNZW1vSXRlbUludGVyZmFjZSB7XG4gICAgcXVhbnRpdHlfcmVmdW5kZWRcbiAgICBvcmRlcl9pdGVtIHtcbiAgICAgIC4uLm9yZGVySXRlbVxuICAgIH1cbiAgfVxuICAke29yZGVySXRlbUZyYWdtZW50fVxuYDtcbiJdfQ==
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { gql } from '
|
1
|
+
import { gql } from 'apollo-angular';
|
2
2
|
export const orderCreditTotalFragment = gql `
|
3
3
|
fragment orderCreditTotal on CreditMemoTotal {
|
4
4
|
discounts {
|
@@ -21,4 +21,4 @@ export const orderCreditTotalFragment = gql `
|
|
21
21
|
}
|
22
22
|
}
|
23
23
|
`;
|
24
|
-
//# sourceMappingURL=data:application/json;base64,
|
24
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3JkZXItY3JlZGl0LXRvdGFsLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9vcmRlci9kcml2ZXIvbWFnZW50by8yLjQuMS9zcmMvcXVlcmllcy9mcmFnbWVudHMvb3JkZXItY3JlZGl0LXRvdGFsLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxHQUFHLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUdyQyxNQUFNLENBQUMsTUFBTSx3QkFBd0IsR0FBRyxHQUFHLENBQUE7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztDQXFCMUMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGdxbCB9IGZyb20gJ2Fwb2xsby1hbmd1bGFyJztcblxuXG5leHBvcnQgY29uc3Qgb3JkZXJDcmVkaXRUb3RhbEZyYWdtZW50ID0gZ3FsYFxuICBmcmFnbWVudCBvcmRlckNyZWRpdFRvdGFsIG9uIENyZWRpdE1lbW9Ub3RhbCB7XG4gICAgZGlzY291bnRzIHtcbiAgICAgIGFtb3VudCB7XG4gICAgICAgIHZhbHVlXG4gICAgICB9XG4gICAgICBsYWJlbFxuICAgIH1cbiAgICBncmFuZF90b3RhbCB7XG4gICAgICB2YWx1ZVxuICAgIH1cbiAgICBzdWJ0b3RhbCB7XG4gICAgICB2YWx1ZVxuICAgIH1cbiAgICB0b3RhbF90YXgge1xuICAgICAgdmFsdWVcbiAgICB9XG4gICAgdG90YWxfc2hpcHBpbmcge1xuICAgICAgdmFsdWVcbiAgICB9XG4gIH1cbmA7XG4iXX0=
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { gql } from '
|
1
|
+
import { gql } from 'apollo-angular';
|
2
2
|
import { orderCreditItemFragment } from './order-credit-item';
|
3
3
|
import { orderCreditTotalFragment } from './order-credit-total';
|
4
4
|
export const orderCreditFragment = gql `
|
@@ -13,4 +13,4 @@ export const orderCreditFragment = gql `
|
|
13
13
|
${orderCreditItemFragment}
|
14
14
|
${orderCreditTotalFragment}
|
15
15
|
`;
|
16
|
-
//# sourceMappingURL=data:application/json;base64,
|
16
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjo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G90YWxGcmFnbWVudH1cbmA7XG4iXX0=
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { gql } from '
|
1
|
+
import { gql } from 'apollo-angular';
|
2
2
|
import { orderItemFragment } from './order-item';
|
3
3
|
export const orderInvoiceItemFragment = gql `
|
4
4
|
fragment orderInvoiceItem on InvoiceItemInterface {
|
@@ -9,4 +9,4 @@ export const orderInvoiceItemFragment = gql `
|
|
9
9
|
}
|
10
10
|
${orderItemFragment}
|
11
11
|
`;
|
12
|
-
//# sourceMappingURL=data:application/json;base64,
|
12
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3JkZXItaW52b2ljZS1pdGVtLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9vcmRlci9kcml2ZXIvbWFnZW50by8yLjQuMS9zcmMvcXVlcmllcy9mcmFnbWVudHMvb3JkZXItaW52b2ljZS1pdGVtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxHQUFHLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUVyQyxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxjQUFjLENBQUM7QUFFakQsTUFBTSxDQUFDLE1BQU0sd0JBQXdCLEdBQUcsR0FBRyxDQUFBOzs7Ozs7O0lBT3ZDLGlCQUFpQjtDQUNwQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgZ3FsIH0gZnJvbSAnYXBvbGxvLWFuZ3VsYXInO1xuXG5pbXBvcnQgeyBvcmRlckl0ZW1GcmFnbWVudCB9IGZyb20gJy4vb3JkZXItaXRlbSc7XG5cbmV4cG9ydCBjb25zdCBvcmRlckludm9pY2VJdGVtRnJhZ21lbnQgPSBncWxgXG4gIGZyYWdtZW50IG9yZGVySW52b2ljZUl0ZW0gb24gSW52b2ljZUl0ZW1JbnRlcmZhY2Uge1xuICAgIHF1YW50aXR5X2ludm9pY2VkXG4gICAgb3JkZXJfaXRlbSB7XG4gICAgICAuLi5vcmRlckl0ZW1cbiAgICB9XG4gIH1cbiAgJHtvcmRlckl0ZW1GcmFnbWVudH1cbmA7XG4iXX0=
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { gql } from '
|
1
|
+
import { gql } from 'apollo-angular';
|
2
2
|
export const orderInvoiceTotalFragment = gql `
|
3
3
|
fragment orderInvoiceTotal on InvoiceTotal {
|
4
4
|
discounts {
|
@@ -21,4 +21,4 @@ export const orderInvoiceTotalFragment = gql `
|
|
21
21
|
}
|
22
22
|
}
|
23
23
|
`;
|
24
|
-
//# sourceMappingURL=data:application/json;base64,
|
24
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3JkZXItaW52b2ljZS10b3RhbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvb3JkZXIvZHJpdmVyL21hZ2VudG8vMi40LjEvc3JjL3F1ZXJpZXMvZnJhZ21lbnRzL29yZGVyLWludm9pY2UtdG90YWwudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLEdBQUcsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBR3JDLE1BQU0sQ0FBQyxNQUFNLHlCQUF5QixHQUFHLEdBQUcsQ0FBQTs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0NBcUIzQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgZ3FsIH0gZnJvbSAnYXBvbGxvLWFuZ3VsYXInO1xuXG5cbmV4cG9ydCBjb25zdCBvcmRlckludm9pY2VUb3RhbEZyYWdtZW50ID0gZ3FsYFxuICBmcmFnbWVudCBvcmRlckludm9pY2VUb3RhbCBvbiBJbnZvaWNlVG90YWwge1xuICAgIGRpc2NvdW50cyB7XG4gICAgICBhbW91bnQge1xuICAgICAgICB2YWx1ZVxuICAgICAgfVxuICAgICAgbGFiZWxcbiAgICB9XG4gICAgZ3JhbmRfdG90YWwge1xuICAgICAgdmFsdWVcbiAgICB9XG4gICAgc3VidG90YWwge1xuICAgICAgdmFsdWVcbiAgICB9XG4gICAgdG90YWxfdGF4IHtcbiAgICAgIHZhbHVlXG4gICAgfVxuICAgIHRvdGFsX3NoaXBwaW5nIHtcbiAgICAgIHZhbHVlXG4gICAgfVxuICB9XG5gO1xuIl19
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { gql } from '
|
1
|
+
import { gql } from 'apollo-angular';
|
2
2
|
import { orderInvoiceItemFragment } from './order-invoice-item';
|
3
3
|
import { orderInvoiceTotalFragment } from './order-invoice-total';
|
4
4
|
export const orderInvoiceFragment = gql `
|
@@ -13,4 +13,4 @@ export const orderInvoiceFragment = gql `
|
|
13
13
|
${orderInvoiceItemFragment}
|
14
14
|
${orderInvoiceTotalFragment}
|
15
15
|
`;
|
16
|
-
//# sourceMappingURL=data:application/json;base64,
|
16
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3JkZXItaW52b2ljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvb3JkZXIvZHJpdmVyL21hZ2VudG8vMi40LjEvc3JjL3F1ZXJpZXMvZnJhZ21lbnRzL29yZGVyLWludm9pY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLEdBQUcsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBRXJDLE9BQU8sRUFBRSx3QkFBd0IsRUFBRSxNQUFNLHNCQUFzQixDQUFDO0FBQ2hFLE9BQU8sRUFBRSx5QkFBeUIsRUFBRSxNQUFNLHVCQUF1QixDQUFDO0FBRWxFLE1BQU0sQ0FBQyxNQUFNLG9CQUFvQixHQUFHLEdBQUcsQ0FBQTs7Ozs7Ozs7O0lBU25DLHdCQUF3QjtJQUN4Qix5QkFBeUI7Q0FDNUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGdxbCB9IGZyb20gJ2Fwb2xsby1hbmd1bGFyJztcblxuaW1wb3J0IHsgb3JkZXJJbnZvaWNlSXRlbUZyYWdtZW50IH0gZnJvbSAnLi9vcmRlci1pbnZvaWNlLWl0ZW0nO1xuaW1wb3J0IHsgb3JkZXJJbnZvaWNlVG90YWxGcmFnbWVudCB9IGZyb20gJy4vb3JkZXItaW52b2ljZS10b3RhbCc7XG5cbmV4cG9ydCBjb25zdCBvcmRlckludm9pY2VGcmFnbWVudCA9IGdxbGBcbiAgZnJhZ21lbnQgb3JkZXJJbnZvaWNlIG9uIEludm9pY2Uge1xuICAgIGl0ZW1zIHtcbiAgICAgIC4uLm9yZGVySW52b2ljZUl0ZW1cbiAgICB9XG4gICAgdG90YWwge1xuICAgICAgLi4ub3JkZXJJbnZvaWNlVG90YWxcbiAgICB9XG4gIH1cbiAgJHtvcmRlckludm9pY2VJdGVtRnJhZ21lbnR9XG4gICR7b3JkZXJJbnZvaWNlVG90YWxGcmFnbWVudH1cbmA7XG4iXX0=
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { gql } from '
|
1
|
+
import { gql } from 'apollo-angular';
|
2
2
|
export const orderBundleItemSelectedOptionFragment = gql `
|
3
3
|
fragment orderBundleItemSelectedOption on ItemSelectedBundleOption {
|
4
4
|
label
|
@@ -37,4 +37,4 @@ export const orderItemFragment = gql `
|
|
37
37
|
}
|
38
38
|
${orderBundleItemSelectedOptionFragment}
|
39
39
|
`;
|
40
|
-
//# sourceMappingURL=data:application/json;base64,
|
40
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3JkZXItaXRlbS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3V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2t1XG4gICAgcHJvZHVjdF9uYW1lXG4gICAgcHJvZHVjdF90eXBlXG4gICAgcHJvZHVjdF9zYWxlX3ByaWNlIHtcbiAgICAgIHZhbHVlXG4gICAgfVxuICAgIGRpc2NvdW50cyB7XG4gICAgICBhbW91bnQge1xuICAgICAgICB2YWx1ZVxuICAgICAgfVxuICAgIH1cbiAgICBzZWxlY3RlZF9vcHRpb25zIHtcbiAgICAgIGxhYmVsXG4gICAgICB2YWx1ZVxuICAgIH1cbiAgICAuLi4gb24gQnVuZGxlT3JkZXJJdGVtIHtcbiAgICAgIGJ1bmRsZV9vcHRpb25zIHtcbiAgICAgICAgLi4ub3JkZXJCdW5kbGVJdGVtU2VsZWN0ZWRPcHRpb25cbiAgICAgIH1cbiAgICB9XG4gIH1cbiAgJHtvcmRlckJ1bmRsZUl0ZW1TZWxlY3RlZE9wdGlvbkZyYWdtZW50fVxuYDtcbiJdfQ==
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { gql } from '
|
1
|
+
import { gql } from 'apollo-angular';
|
2
2
|
export const orderPaymentFragment = gql `
|
3
3
|
fragment orderPayment on OrderPaymentMethod {
|
4
4
|
name
|
@@ -9,4 +9,4 @@ export const orderPaymentFragment = gql `
|
|
9
9
|
}
|
10
10
|
}
|
11
11
|
`;
|
12
|
-
//# sourceMappingURL=data:application/json;base64,
|
12
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3JkZXItcGF5bWVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvb3JkZXIvZHJpdmVyL21hZ2VudG8vMi40LjEvc3JjL3F1ZXJpZXMvZnJhZ21lbnRzL29yZGVyLXBheW1lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLEdBQUcsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBR3JDLE1BQU0sQ0FBQyxNQUFNLG9CQUFvQixHQUFHLEdBQUcsQ0FBQTs7Ozs7Ozs7O0NBU3RDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBncWwgfSBmcm9tICdhcG9sbG8tYW5ndWxhcic7XG5cblxuZXhwb3J0IGNvbnN0IG9yZGVyUGF5bWVudEZyYWdtZW50ID0gZ3FsYFxuICBmcmFnbWVudCBvcmRlclBheW1lbnQgb24gT3JkZXJQYXltZW50TWV0aG9kIHtcbiAgICBuYW1lXG4gICAgdHlwZVxuICAgIGFkZGl0aW9uYWxfZGF0YSB7XG4gICAgICBuYW1lXG4gICAgICB2YWx1ZVxuICAgIH1cbiAgfVxuYDtcbiJdfQ==
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { gql } from '
|
1
|
+
import { gql } from 'apollo-angular';
|
2
2
|
import { orderItemFragment } from './order-item';
|
3
3
|
export const orderShipmentItemFragment = gql `
|
4
4
|
fragment orderShipmentItem on ShipmentItemInterface {
|
@@ -9,4 +9,4 @@ export const orderShipmentItemFragment = gql `
|
|
9
9
|
}
|
10
10
|
${orderItemFragment}
|
11
11
|
`;
|
12
|
-
//# sourceMappingURL=data:application/json;base64,
|
12
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3JkZXItc2hpcG1lbnQtaXRlbS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvb3JkZXIvZHJpdmVyL21hZ2VudG8vMi40LjEvc3JjL3F1ZXJpZXMvZnJhZ21lbnRzL29yZGVyLXNoaXBtZW50LWl0ZW0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLEdBQUcsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBRXJDLE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLGNBQWMsQ0FBQztBQUVqRCxNQUFNLENBQUMsTUFBTSx5QkFBeUIsR0FBRyxHQUFHLENBQUE7Ozs7Ozs7SUFPeEMsaUJBQWlCO0NBQ3BCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBncWwgfSBmcm9tICdhcG9sbG8tYW5ndWxhcic7XG5cbmltcG9ydCB7IG9yZGVySXRlbUZyYWdtZW50IH0gZnJvbSAnLi9vcmRlci1pdGVtJztcblxuZXhwb3J0IGNvbnN0IG9yZGVyU2hpcG1lbnRJdGVtRnJhZ21lbnQgPSBncWxgXG4gIGZyYWdtZW50IG9yZGVyU2hpcG1lbnRJdGVtIG9uIFNoaXBtZW50SXRlbUludGVyZmFjZSB7XG4gICAgcXVhbnRpdHlfc2hpcHBlZFxuICAgIG9yZGVyX2l0ZW0ge1xuICAgICAgLi4ub3JkZXJJdGVtXG4gICAgfVxuICB9XG4gICR7b3JkZXJJdGVtRnJhZ21lbnR9XG5gO1xuIl19
|