@vendure/admin-ui 2.0.0-next.10 → 2.0.0-next.13
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/catalog/components/generate-product-variants/generate-product-variants.component.d.ts +3 -3
- package/catalog/components/option-value-input/option-value-input.component.d.ts +21 -9
- package/catalog/components/product-variants-editor/product-variants-editor.component.d.ts +10 -3
- package/core/common/generated-types.d.ts +242 -127
- package/core/common/utilities/configurable-operation-utils.d.ts +4 -2
- package/core/common/version.d.ts +1 -1
- package/core/data/definitions/order-definitions.d.ts +2 -0
- package/core/data/definitions/product-definitions.d.ts +1 -0
- package/core/data/providers/order-data.service.d.ts +1 -0
- package/core/data/providers/product-data.service.d.ts +1 -0
- package/core/public_api.d.ts +11 -1
- package/core/shared/components/custom-field-control/custom-field-control.component.d.ts +6 -2
- package/core/shared/components/dropdown/dropdown-menu.component.d.ts +2 -1
- package/core/shared/components/rich-text-editor/prosemirror/context-menu/context-menu.component.d.ts +31 -0
- package/core/shared/components/rich-text-editor/prosemirror/context-menu/context-menu.service.d.ts +34 -0
- package/core/shared/components/rich-text-editor/prosemirror/custom-nodes.d.ts +4 -0
- package/core/shared/components/rich-text-editor/prosemirror/inputrules.d.ts +5 -5
- package/core/shared/components/rich-text-editor/prosemirror/menu/links.d.ts +1 -1
- package/core/shared/components/rich-text-editor/prosemirror/menu/menu-common.d.ts +12 -0
- package/core/shared/components/rich-text-editor/prosemirror/menu/menu-plugin.d.ts +9 -0
- package/core/shared/components/rich-text-editor/prosemirror/menu/sub-menu-with-icon.d.ts +14 -0
- package/core/shared/components/rich-text-editor/prosemirror/plugins/image-plugin.d.ts +7 -0
- package/core/shared/components/rich-text-editor/prosemirror/plugins/link-select-plugin.d.ts +1 -1
- package/core/shared/components/rich-text-editor/prosemirror/plugins/raw-editor-plugin.d.ts +7 -0
- package/core/shared/components/rich-text-editor/prosemirror/plugins/tables-plugin.d.ts +13 -0
- package/core/shared/components/rich-text-editor/prosemirror/prosemirror.service.d.ts +7 -3
- package/core/shared/components/rich-text-editor/prosemirror/types.d.ts +0 -2
- package/core/shared/components/rich-text-editor/raw-html-dialog/raw-html-dialog.component.d.ts +21 -0
- package/core/shared/components/rich-text-editor/rich-text-editor.component.d.ts +6 -2
- package/core/shared/dynamic-form-inputs/code-editor-form-input/base-code-editor-form-input.component.d.ts +30 -0
- package/core/shared/dynamic-form-inputs/code-editor-form-input/html-editor-form-input.component.d.ts +22 -0
- package/core/shared/dynamic-form-inputs/code-editor-form-input/json-editor-form-input.component.d.ts +5 -17
- package/core/shared/dynamic-form-inputs/register-dynamic-input-components.d.ts +3 -1
- package/core/shared/dynamic-form-inputs/select-form-input/select-form-input.component.d.ts +10 -2
- package/core/shared/pipes/custom-field-label.pipe.d.ts +4 -10
- package/core/shared/shared.module.d.ts +33 -30
- package/customer/components/customer-group-list/customer-group-list.component.d.ts +6 -4
- package/esm2020/catalog/components/assets/assets.component.mjs +1 -1
- package/esm2020/catalog/components/collection-detail/collection-detail.component.mjs +1 -1
- package/esm2020/catalog/components/collection-tree/collection-tree-node.component.mjs +2 -2
- package/esm2020/catalog/components/facet-detail/facet-detail.component.mjs +1 -1
- package/esm2020/catalog/components/facet-list/facet-list.component.mjs +1 -1
- package/esm2020/catalog/components/generate-product-variants/generate-product-variants.component.mjs +12 -4
- package/esm2020/catalog/components/option-value-input/option-value-input.component.mjs +65 -11
- package/esm2020/catalog/components/product-list/product-list.component.mjs +1 -1
- package/esm2020/catalog/components/product-variants-editor/product-variants-editor.component.mjs +107 -12
- package/esm2020/core/common/generated-types.mjs +2 -1
- package/esm2020/core/common/introspection-result.mjs +191 -255
- package/esm2020/core/common/utilities/configurable-operation-utils.mjs +13 -10
- package/esm2020/core/common/version.mjs +2 -2
- package/esm2020/core/components/app-shell/app-shell.component.mjs +2 -2
- package/esm2020/core/components/channel-switcher/channel-switcher.component.mjs +1 -1
- package/esm2020/core/components/main-nav/main-nav.component.mjs +2 -2
- package/esm2020/core/components/user-menu/user-menu.component.mjs +1 -1
- package/esm2020/core/data/definitions/order-definitions.mjs +39 -25
- package/esm2020/core/data/definitions/product-definitions.mjs +743 -735
- package/esm2020/core/data/providers/order-data.service.mjs +7 -2
- package/esm2020/core/data/providers/product-data.service.mjs +5 -2
- package/esm2020/core/public_api.mjs +12 -2
- package/esm2020/core/shared/components/asset-preview-links/asset-preview-links.component.mjs +1 -1
- package/esm2020/core/shared/components/custom-field-control/custom-field-control.component.mjs +10 -4
- package/esm2020/core/shared/components/data-table/data-table.component.mjs +3 -3
- package/esm2020/core/shared/components/datetime-picker/datetime-picker.component.mjs +1 -1
- package/esm2020/core/shared/components/dropdown/dropdown-menu.component.mjs +25 -22
- package/esm2020/core/shared/components/dropdown/dropdown-trigger.directive.mjs +1 -1
- package/esm2020/core/shared/components/entity-info/entity-info.component.mjs +1 -1
- package/esm2020/core/shared/components/facet-value-selector/facet-value-selector.component.mjs +1 -1
- package/esm2020/core/shared/components/history-entry-detail/history-entry-detail.component.mjs +1 -1
- package/esm2020/core/shared/components/language-selector/language-selector.component.mjs +1 -1
- package/esm2020/core/shared/components/rich-text-editor/external-image-dialog/external-image-dialog.component.mjs +3 -3
- package/esm2020/core/shared/components/rich-text-editor/prosemirror/context-menu/context-menu.component.mjs +132 -0
- package/esm2020/core/shared/components/rich-text-editor/prosemirror/context-menu/context-menu.service.mjs +46 -0
- package/esm2020/core/shared/components/rich-text-editor/prosemirror/custom-nodes.mjs +57 -0
- package/esm2020/core/shared/components/rich-text-editor/prosemirror/menu/links.mjs +4 -4
- package/esm2020/core/shared/components/rich-text-editor/prosemirror/menu/menu-common.mjs +22 -1
- package/esm2020/core/shared/components/rich-text-editor/prosemirror/menu/menu-plugin.mjs +12 -0
- package/esm2020/core/shared/components/rich-text-editor/prosemirror/menu/menu.mjs +73 -18
- package/esm2020/core/shared/components/rich-text-editor/prosemirror/menu/sub-menu-with-icon.mjs +16 -0
- package/esm2020/core/shared/components/rich-text-editor/prosemirror/plugins/image-plugin.mjs +100 -0
- package/esm2020/core/shared/components/rich-text-editor/prosemirror/plugins/raw-editor-plugin.mjs +96 -0
- package/esm2020/core/shared/components/rich-text-editor/prosemirror/plugins/tables-plugin.mjs +166 -0
- package/esm2020/core/shared/components/rich-text-editor/prosemirror/prosemirror.service.mjs +42 -16
- package/esm2020/core/shared/components/rich-text-editor/prosemirror/types.mjs +1 -1
- package/esm2020/core/shared/components/rich-text-editor/raw-html-dialog/raw-html-dialog.component.mjs +59 -0
- package/esm2020/core/shared/components/rich-text-editor/rich-text-editor.component.mjs +14 -7
- package/esm2020/core/shared/components/ui-extension-point/ui-extension-point.component.mjs +1 -1
- package/esm2020/core/shared/dynamic-form-inputs/code-editor-form-input/base-code-editor-form-input.component.mjs +57 -0
- package/esm2020/core/shared/dynamic-form-inputs/code-editor-form-input/html-editor-form-input.component.mjs +63 -0
- package/esm2020/core/shared/dynamic-form-inputs/code-editor-form-input/json-editor-form-input.component.mjs +48 -83
- package/esm2020/core/shared/dynamic-form-inputs/facet-value-form-input/facet-value-form-input.component.mjs +1 -1
- package/esm2020/core/shared/dynamic-form-inputs/register-dynamic-input-components.mjs +3 -1
- package/esm2020/core/shared/dynamic-form-inputs/select-form-input/select-form-input.component.mjs +21 -11
- package/esm2020/core/shared/pipes/custom-field-label.pipe.mjs +7 -19
- package/esm2020/core/shared/shared.module.mjs +15 -3
- package/esm2020/customer/components/address-card/address-card.component.mjs +1 -1
- package/esm2020/customer/components/customer-group-list/customer-group-list.component.mjs +29 -15
- package/esm2020/customer/components/customer-history/customer-history.component.mjs +1 -1
- package/esm2020/customer/components/customer-list/customer-list.component.mjs +1 -1
- package/esm2020/dashboard/components/dashboard/dashboard.component.mjs +1 -1
- package/esm2020/marketing/components/promotion-detail/promotion-detail.component.mjs +1 -1
- package/esm2020/marketing/components/promotion-list/promotion-list.component.mjs +1 -1
- package/esm2020/order/components/fulfill-order-dialog/fulfill-order-dialog.component.mjs +6 -2
- package/esm2020/order/components/fulfillment-card/fulfillment-card.component.mjs +1 -1
- package/esm2020/order/components/fulfillment-detail/fulfillment-detail.component.mjs +8 -17
- package/esm2020/order/components/line-fulfillment/line-fulfillment.component.mjs +8 -22
- package/esm2020/order/components/order-custom-fields-card/order-custom-fields-card.component.mjs +30 -6
- package/esm2020/order/components/order-detail/order-detail.component.mjs +79 -39
- package/esm2020/order/components/order-history/order-history.component.mjs +1 -1
- package/esm2020/order/components/order-list/order-list.component.mjs +23 -16
- package/esm2020/order/components/order-payment-card/order-payment-card.component.mjs +3 -3
- package/esm2020/order/components/order-table/order-table.component.mjs +11 -3
- package/esm2020/order/components/refund-order-dialog/refund-order-dialog.component.mjs +1 -1
- package/esm2020/settings/components/administrator-list/administrator-list.component.mjs +1 -1
- package/esm2020/settings/components/channel-list/channel-list.component.mjs +1 -1
- package/esm2020/settings/components/country-list/country-list.component.mjs +1 -1
- package/esm2020/settings/components/payment-method-detail/payment-method-detail.component.mjs +1 -1
- package/esm2020/settings/components/payment-method-list/payment-method-list.component.mjs +1 -1
- package/esm2020/settings/components/role-list/role-list.component.mjs +1 -1
- package/esm2020/settings/components/shipping-method-detail/shipping-method-detail.component.mjs +1 -1
- package/esm2020/settings/components/shipping-method-list/shipping-method-list.component.mjs +1 -1
- package/esm2020/settings/components/tax-category-list/tax-category-list.component.mjs +1 -1
- package/esm2020/settings/components/tax-rate-list/tax-rate-list.component.mjs +1 -1
- package/esm2020/settings/components/zone-list/zone-list.component.mjs +1 -1
- package/esm2020/system/components/job-list/job-list.component.mjs +1 -1
- package/fesm2015/vendure-admin-ui-catalog.mjs +192 -28
- package/fesm2015/vendure-admin-ui-catalog.mjs.map +1 -1
- package/fesm2015/vendure-admin-ui-core.mjs +1988 -1208
- package/fesm2015/vendure-admin-ui-core.mjs.map +1 -1
- package/fesm2015/vendure-admin-ui-customer.mjs +29 -17
- package/fesm2015/vendure-admin-ui-customer.mjs.map +1 -1
- package/fesm2015/vendure-admin-ui-dashboard.mjs +1 -1
- package/fesm2015/vendure-admin-ui-marketing.mjs +2 -2
- package/fesm2015/vendure-admin-ui-order.mjs +164 -104
- package/fesm2015/vendure-admin-ui-order.mjs.map +1 -1
- package/fesm2015/vendure-admin-ui-settings.mjs +11 -11
- package/fesm2015/vendure-admin-ui-system.mjs +1 -1
- package/fesm2020/vendure-admin-ui-catalog.mjs +185 -28
- package/fesm2020/vendure-admin-ui-catalog.mjs.map +1 -1
- package/fesm2020/vendure-admin-ui-core.mjs +1986 -1212
- package/fesm2020/vendure-admin-ui-core.mjs.map +1 -1
- package/fesm2020/vendure-admin-ui-customer.mjs +29 -17
- package/fesm2020/vendure-admin-ui-customer.mjs.map +1 -1
- package/fesm2020/vendure-admin-ui-dashboard.mjs +1 -1
- package/fesm2020/vendure-admin-ui-marketing.mjs +2 -2
- package/fesm2020/vendure-admin-ui-order.mjs +162 -103
- package/fesm2020/vendure-admin-ui-order.mjs.map +1 -1
- package/fesm2020/vendure-admin-ui-settings.mjs +11 -11
- package/fesm2020/vendure-admin-ui-system.mjs +1 -1
- package/order/components/order-custom-fields-card/order-custom-fields-card.component.d.ts +4 -2
- package/order/components/order-list/order-list.component.d.ts +1 -0
- package/order/components/order-table/order-table.component.d.ts +1 -0
- package/package.json +13 -12
- package/static/i18n-messages/cs.json +6 -3
- package/static/i18n-messages/de.json +6 -3
- package/static/i18n-messages/en.json +7 -3
- package/static/i18n-messages/es.json +6 -3
- package/static/i18n-messages/fr.json +6 -3
- package/static/i18n-messages/it.json +6 -3
- package/static/i18n-messages/pl.json +6 -3
- package/static/i18n-messages/pt_BR.json +6 -3
- package/static/i18n-messages/pt_PT.json +6 -3
- package/static/i18n-messages/ru.json +6 -3
- package/static/i18n-messages/uk.json +6 -3
- package/static/i18n-messages/zh_Hans.json +6 -3
- package/static/i18n-messages/zh_Hant.json +6 -3
- package/static/styles/_variables.scss +3 -0
- package/static/styles/global/_sass-overrides.scss +3 -0
- package/static/styles/global/_utilities.scss +1 -0
- package/static/styles/styles.scss +1 -0
- package/static/styles/ui-extension-theme.scss +1 -0
- package/static/theme.min.css +1 -1
- package/core/shared/components/rich-text-editor/prosemirror/menu/images.d.ts +0 -4
- package/esm2020/core/shared/components/rich-text-editor/prosemirror/menu/images.mjs +0 -36
|
@@ -276,6 +276,14 @@ export declare type CancelOrderInput = {
|
|
|
276
276
|
reason?: InputMaybe<Scalars['String']>;
|
|
277
277
|
};
|
|
278
278
|
export declare type CancelOrderResult = CancelActiveOrderError | EmptyOrderLineSelectionError | MultipleOrderError | Order | OrderStateTransitionError | QuantityTooGreatError;
|
|
279
|
+
/** Returned if the Payment cancellation fails */
|
|
280
|
+
export declare type CancelPaymentError = ErrorResult & {
|
|
281
|
+
__typename?: 'CancelPaymentError';
|
|
282
|
+
errorCode: ErrorCode;
|
|
283
|
+
message: Scalars['String'];
|
|
284
|
+
paymentErrorMessage: Scalars['String'];
|
|
285
|
+
};
|
|
286
|
+
export declare type CancelPaymentResult = CancelPaymentError | Payment | PaymentStateTransitionError;
|
|
279
287
|
export declare type Cancellation = Node & StockMovement & {
|
|
280
288
|
__typename?: 'Cancellation';
|
|
281
289
|
createdAt: Scalars['DateTime'];
|
|
@@ -1288,6 +1296,7 @@ export declare type EmptyOrderLineSelectionError = ErrorResult & {
|
|
|
1288
1296
|
export declare enum ErrorCode {
|
|
1289
1297
|
ALREADY_REFUNDED_ERROR = "ALREADY_REFUNDED_ERROR",
|
|
1290
1298
|
CANCEL_ACTIVE_ORDER_ERROR = "CANCEL_ACTIVE_ORDER_ERROR",
|
|
1299
|
+
CANCEL_PAYMENT_ERROR = "CANCEL_PAYMENT_ERROR",
|
|
1291
1300
|
CHANNEL_DEFAULT_LANGUAGE_ERROR = "CHANNEL_DEFAULT_LANGUAGE_ERROR",
|
|
1292
1301
|
COUPON_CODE_EXPIRED_ERROR = "COUPON_CODE_EXPIRED_ERROR",
|
|
1293
1302
|
COUPON_CODE_INVALID_ERROR = "COUPON_CODE_INVALID_ERROR",
|
|
@@ -1463,9 +1472,15 @@ export declare type Fulfillment = Node & {
|
|
|
1463
1472
|
nextStates: Array<Scalars['String']>;
|
|
1464
1473
|
orderItems: Array<OrderItem>;
|
|
1465
1474
|
state: Scalars['String'];
|
|
1475
|
+
summary: Array<FulfillmentLineSummary>;
|
|
1466
1476
|
trackingCode?: Maybe<Scalars['String']>;
|
|
1467
1477
|
updatedAt: Scalars['DateTime'];
|
|
1468
1478
|
};
|
|
1479
|
+
export declare type FulfillmentLineSummary = {
|
|
1480
|
+
__typename?: 'FulfillmentLineSummary';
|
|
1481
|
+
orderLine: OrderLine;
|
|
1482
|
+
quantity: Scalars['Int'];
|
|
1483
|
+
};
|
|
1469
1484
|
/** Returned when there is an error in transitioning the Fulfillment state */
|
|
1470
1485
|
export declare type FulfillmentStateTransitionError = ErrorResult & {
|
|
1471
1486
|
__typename?: 'FulfillmentStateTransitionError';
|
|
@@ -2156,6 +2171,7 @@ export declare type Mutation = {
|
|
|
2156
2171
|
authenticate: AuthenticationResult;
|
|
2157
2172
|
cancelJob: Job;
|
|
2158
2173
|
cancelOrder: CancelOrderResult;
|
|
2174
|
+
cancelPayment: CancelPaymentResult;
|
|
2159
2175
|
/** Create a new Administrator */
|
|
2160
2176
|
createAdministrator: Administrator;
|
|
2161
2177
|
/** Create a new Asset */
|
|
@@ -2227,6 +2243,8 @@ export declare type Mutation = {
|
|
|
2227
2243
|
deletePaymentMethod: DeletionResponse;
|
|
2228
2244
|
/** Delete a Product */
|
|
2229
2245
|
deleteProduct: DeletionResponse;
|
|
2246
|
+
/** Delete a ProductOption */
|
|
2247
|
+
deleteProductOption: DeletionResponse;
|
|
2230
2248
|
/** Delete a ProductVariant */
|
|
2231
2249
|
deleteProductVariant: DeletionResponse;
|
|
2232
2250
|
deletePromotion: DeletionResponse;
|
|
@@ -2387,6 +2405,9 @@ export declare type MutationCancelJobArgs = {
|
|
|
2387
2405
|
export declare type MutationCancelOrderArgs = {
|
|
2388
2406
|
input: CancelOrderInput;
|
|
2389
2407
|
};
|
|
2408
|
+
export declare type MutationCancelPaymentArgs = {
|
|
2409
|
+
id: Scalars['ID'];
|
|
2410
|
+
};
|
|
2390
2411
|
export declare type MutationCreateAdministratorArgs = {
|
|
2391
2412
|
input: CreateAdministratorInput;
|
|
2392
2413
|
};
|
|
@@ -2503,6 +2524,9 @@ export declare type MutationDeletePaymentMethodArgs = {
|
|
|
2503
2524
|
export declare type MutationDeleteProductArgs = {
|
|
2504
2525
|
id: Scalars['ID'];
|
|
2505
2526
|
};
|
|
2527
|
+
export declare type MutationDeleteProductOptionArgs = {
|
|
2528
|
+
id: Scalars['ID'];
|
|
2529
|
+
};
|
|
2506
2530
|
export declare type MutationDeleteProductVariantArgs = {
|
|
2507
2531
|
id: Scalars['ID'];
|
|
2508
2532
|
};
|
|
@@ -2839,6 +2863,7 @@ export declare type OrderFilterParameter = {
|
|
|
2839
2863
|
total?: InputMaybe<NumberOperators>;
|
|
2840
2864
|
totalQuantity?: InputMaybe<NumberOperators>;
|
|
2841
2865
|
totalWithTax?: InputMaybe<NumberOperators>;
|
|
2866
|
+
transactionId?: InputMaybe<StringOperators>;
|
|
2842
2867
|
updatedAt?: InputMaybe<DateOperators>;
|
|
2843
2868
|
};
|
|
2844
2869
|
export declare type OrderItem = Node & {
|
|
@@ -2905,6 +2930,7 @@ export declare type OrderLine = Node & {
|
|
|
2905
2930
|
discountedUnitPriceWithTax: Scalars['Int'];
|
|
2906
2931
|
discounts: Array<Discount>;
|
|
2907
2932
|
featuredAsset?: Maybe<Asset>;
|
|
2933
|
+
fulfillments?: Maybe<Array<Fulfillment>>;
|
|
2908
2934
|
id: Scalars['ID'];
|
|
2909
2935
|
items: Array<OrderItem>;
|
|
2910
2936
|
/** The total price of the line excluding tax and discounts. */
|
|
@@ -3003,6 +3029,7 @@ export declare type OrderSortParameter = {
|
|
|
3003
3029
|
total?: InputMaybe<SortOrder>;
|
|
3004
3030
|
totalQuantity?: InputMaybe<SortOrder>;
|
|
3005
3031
|
totalWithTax?: InputMaybe<SortOrder>;
|
|
3032
|
+
transactionId?: InputMaybe<SortOrder>;
|
|
3006
3033
|
updatedAt?: InputMaybe<SortOrder>;
|
|
3007
3034
|
};
|
|
3008
3035
|
/** Returned if there is an error in transitioning the Order state */
|
|
@@ -4107,6 +4134,7 @@ export declare type ShippingMethod = Node & {
|
|
|
4107
4134
|
description: Scalars['String'];
|
|
4108
4135
|
fulfillmentHandlerCode: Scalars['String'];
|
|
4109
4136
|
id: Scalars['ID'];
|
|
4137
|
+
languageCode: LanguageCode;
|
|
4110
4138
|
name: Scalars['String'];
|
|
4111
4139
|
translations: Array<ShippingMethodTranslation>;
|
|
4112
4140
|
updatedAt: Scalars['DateTime'];
|
|
@@ -4117,6 +4145,7 @@ export declare type ShippingMethodFilterParameter = {
|
|
|
4117
4145
|
description?: InputMaybe<StringOperators>;
|
|
4118
4146
|
fulfillmentHandlerCode?: InputMaybe<StringOperators>;
|
|
4119
4147
|
id?: InputMaybe<IdOperators>;
|
|
4148
|
+
languageCode?: InputMaybe<StringOperators>;
|
|
4120
4149
|
name?: InputMaybe<StringOperators>;
|
|
4121
4150
|
updatedAt?: InputMaybe<DateOperators>;
|
|
4122
4151
|
};
|
|
@@ -6695,6 +6724,15 @@ export declare type DiscountFragment = {
|
|
|
6695
6724
|
description: string;
|
|
6696
6725
|
type: AdjustmentType;
|
|
6697
6726
|
};
|
|
6727
|
+
export declare type PaymentFragment = {
|
|
6728
|
+
__typename?: 'Payment';
|
|
6729
|
+
id: string;
|
|
6730
|
+
transactionId?: string | null;
|
|
6731
|
+
amount: number;
|
|
6732
|
+
method: string;
|
|
6733
|
+
state: string;
|
|
6734
|
+
metadata?: any | null;
|
|
6735
|
+
};
|
|
6698
6736
|
export declare type RefundFragment = {
|
|
6699
6737
|
__typename?: 'Refund';
|
|
6700
6738
|
id: string;
|
|
@@ -6753,9 +6791,13 @@ export declare type FulfillmentFragment = {
|
|
|
6753
6791
|
updatedAt: any;
|
|
6754
6792
|
method: string;
|
|
6755
6793
|
trackingCode?: string | null;
|
|
6756
|
-
|
|
6757
|
-
__typename?: '
|
|
6758
|
-
|
|
6794
|
+
summary: Array<{
|
|
6795
|
+
__typename?: 'FulfillmentLineSummary';
|
|
6796
|
+
quantity: number;
|
|
6797
|
+
orderLine: {
|
|
6798
|
+
__typename?: 'OrderLine';
|
|
6799
|
+
id: string;
|
|
6800
|
+
};
|
|
6759
6801
|
}>;
|
|
6760
6802
|
};
|
|
6761
6803
|
export declare type OrderLineFragment = {
|
|
@@ -6791,28 +6833,29 @@ export declare type OrderLineFragment = {
|
|
|
6791
6833
|
description: string;
|
|
6792
6834
|
type: AdjustmentType;
|
|
6793
6835
|
}>;
|
|
6836
|
+
fulfillments?: Array<{
|
|
6837
|
+
__typename?: 'Fulfillment';
|
|
6838
|
+
id: string;
|
|
6839
|
+
state: string;
|
|
6840
|
+
nextStates: Array<string>;
|
|
6841
|
+
createdAt: any;
|
|
6842
|
+
updatedAt: any;
|
|
6843
|
+
method: string;
|
|
6844
|
+
trackingCode?: string | null;
|
|
6845
|
+
summary: Array<{
|
|
6846
|
+
__typename?: 'FulfillmentLineSummary';
|
|
6847
|
+
quantity: number;
|
|
6848
|
+
orderLine: {
|
|
6849
|
+
__typename?: 'OrderLine';
|
|
6850
|
+
id: string;
|
|
6851
|
+
};
|
|
6852
|
+
}>;
|
|
6853
|
+
}> | null;
|
|
6794
6854
|
items: Array<{
|
|
6795
6855
|
__typename?: 'OrderItem';
|
|
6796
6856
|
id: string;
|
|
6797
|
-
unitPrice: number;
|
|
6798
|
-
unitPriceWithTax: number;
|
|
6799
|
-
taxRate: number;
|
|
6800
6857
|
refundId?: string | null;
|
|
6801
6858
|
cancelled: boolean;
|
|
6802
|
-
fulfillment?: {
|
|
6803
|
-
__typename?: 'Fulfillment';
|
|
6804
|
-
id: string;
|
|
6805
|
-
state: string;
|
|
6806
|
-
nextStates: Array<string>;
|
|
6807
|
-
createdAt: any;
|
|
6808
|
-
updatedAt: any;
|
|
6809
|
-
method: string;
|
|
6810
|
-
trackingCode?: string | null;
|
|
6811
|
-
orderItems: Array<{
|
|
6812
|
-
__typename?: 'OrderItem';
|
|
6813
|
-
id: string;
|
|
6814
|
-
}>;
|
|
6815
|
-
} | null;
|
|
6816
6859
|
}>;
|
|
6817
6860
|
};
|
|
6818
6861
|
export declare type OrderDetailFragment = {
|
|
@@ -6871,28 +6914,29 @@ export declare type OrderDetailFragment = {
|
|
|
6871
6914
|
description: string;
|
|
6872
6915
|
type: AdjustmentType;
|
|
6873
6916
|
}>;
|
|
6917
|
+
fulfillments?: Array<{
|
|
6918
|
+
__typename?: 'Fulfillment';
|
|
6919
|
+
id: string;
|
|
6920
|
+
state: string;
|
|
6921
|
+
nextStates: Array<string>;
|
|
6922
|
+
createdAt: any;
|
|
6923
|
+
updatedAt: any;
|
|
6924
|
+
method: string;
|
|
6925
|
+
trackingCode?: string | null;
|
|
6926
|
+
summary: Array<{
|
|
6927
|
+
__typename?: 'FulfillmentLineSummary';
|
|
6928
|
+
quantity: number;
|
|
6929
|
+
orderLine: {
|
|
6930
|
+
__typename?: 'OrderLine';
|
|
6931
|
+
id: string;
|
|
6932
|
+
};
|
|
6933
|
+
}>;
|
|
6934
|
+
}> | null;
|
|
6874
6935
|
items: Array<{
|
|
6875
6936
|
__typename?: 'OrderItem';
|
|
6876
6937
|
id: string;
|
|
6877
|
-
unitPrice: number;
|
|
6878
|
-
unitPriceWithTax: number;
|
|
6879
|
-
taxRate: number;
|
|
6880
6938
|
refundId?: string | null;
|
|
6881
6939
|
cancelled: boolean;
|
|
6882
|
-
fulfillment?: {
|
|
6883
|
-
__typename?: 'Fulfillment';
|
|
6884
|
-
id: string;
|
|
6885
|
-
state: string;
|
|
6886
|
-
nextStates: Array<string>;
|
|
6887
|
-
createdAt: any;
|
|
6888
|
-
updatedAt: any;
|
|
6889
|
-
method: string;
|
|
6890
|
-
trackingCode?: string | null;
|
|
6891
|
-
orderItems: Array<{
|
|
6892
|
-
__typename?: 'OrderItem';
|
|
6893
|
-
id: string;
|
|
6894
|
-
}>;
|
|
6895
|
-
} | null;
|
|
6896
6940
|
}>;
|
|
6897
6941
|
}>;
|
|
6898
6942
|
surcharges: Array<{
|
|
@@ -7000,9 +7044,13 @@ export declare type OrderDetailFragment = {
|
|
|
7000
7044
|
updatedAt: any;
|
|
7001
7045
|
method: string;
|
|
7002
7046
|
trackingCode?: string | null;
|
|
7003
|
-
|
|
7004
|
-
__typename?: '
|
|
7005
|
-
|
|
7047
|
+
summary: Array<{
|
|
7048
|
+
__typename?: 'FulfillmentLineSummary';
|
|
7049
|
+
quantity: number;
|
|
7050
|
+
orderLine: {
|
|
7051
|
+
__typename?: 'OrderLine';
|
|
7052
|
+
id: string;
|
|
7053
|
+
};
|
|
7006
7054
|
}>;
|
|
7007
7055
|
}> | null;
|
|
7008
7056
|
modifications: Array<{
|
|
@@ -7128,28 +7176,29 @@ export declare type GetOrderQuery = {
|
|
|
7128
7176
|
description: string;
|
|
7129
7177
|
type: AdjustmentType;
|
|
7130
7178
|
}>;
|
|
7179
|
+
fulfillments?: Array<{
|
|
7180
|
+
__typename?: 'Fulfillment';
|
|
7181
|
+
id: string;
|
|
7182
|
+
state: string;
|
|
7183
|
+
nextStates: Array<string>;
|
|
7184
|
+
createdAt: any;
|
|
7185
|
+
updatedAt: any;
|
|
7186
|
+
method: string;
|
|
7187
|
+
trackingCode?: string | null;
|
|
7188
|
+
summary: Array<{
|
|
7189
|
+
__typename?: 'FulfillmentLineSummary';
|
|
7190
|
+
quantity: number;
|
|
7191
|
+
orderLine: {
|
|
7192
|
+
__typename?: 'OrderLine';
|
|
7193
|
+
id: string;
|
|
7194
|
+
};
|
|
7195
|
+
}>;
|
|
7196
|
+
}> | null;
|
|
7131
7197
|
items: Array<{
|
|
7132
7198
|
__typename?: 'OrderItem';
|
|
7133
7199
|
id: string;
|
|
7134
|
-
unitPrice: number;
|
|
7135
|
-
unitPriceWithTax: number;
|
|
7136
|
-
taxRate: number;
|
|
7137
7200
|
refundId?: string | null;
|
|
7138
7201
|
cancelled: boolean;
|
|
7139
|
-
fulfillment?: {
|
|
7140
|
-
__typename?: 'Fulfillment';
|
|
7141
|
-
id: string;
|
|
7142
|
-
state: string;
|
|
7143
|
-
nextStates: Array<string>;
|
|
7144
|
-
createdAt: any;
|
|
7145
|
-
updatedAt: any;
|
|
7146
|
-
method: string;
|
|
7147
|
-
trackingCode?: string | null;
|
|
7148
|
-
orderItems: Array<{
|
|
7149
|
-
__typename?: 'OrderItem';
|
|
7150
|
-
id: string;
|
|
7151
|
-
}>;
|
|
7152
|
-
} | null;
|
|
7153
7202
|
}>;
|
|
7154
7203
|
}>;
|
|
7155
7204
|
surcharges: Array<{
|
|
@@ -7257,9 +7306,13 @@ export declare type GetOrderQuery = {
|
|
|
7257
7306
|
updatedAt: any;
|
|
7258
7307
|
method: string;
|
|
7259
7308
|
trackingCode?: string | null;
|
|
7260
|
-
|
|
7261
|
-
__typename?: '
|
|
7262
|
-
|
|
7309
|
+
summary: Array<{
|
|
7310
|
+
__typename?: 'FulfillmentLineSummary';
|
|
7311
|
+
quantity: number;
|
|
7312
|
+
orderLine: {
|
|
7313
|
+
__typename?: 'OrderLine';
|
|
7314
|
+
id: string;
|
|
7315
|
+
};
|
|
7263
7316
|
}>;
|
|
7264
7317
|
}> | null;
|
|
7265
7318
|
modifications: Array<{
|
|
@@ -7320,6 +7373,30 @@ export declare type SettlePaymentMutation = {
|
|
|
7320
7373
|
message: string;
|
|
7321
7374
|
};
|
|
7322
7375
|
};
|
|
7376
|
+
export declare type CancelPaymentMutationVariables = Exact<{
|
|
7377
|
+
id: Scalars['ID'];
|
|
7378
|
+
}>;
|
|
7379
|
+
export declare type CancelPaymentMutation = {
|
|
7380
|
+
cancelPayment: {
|
|
7381
|
+
__typename?: 'CancelPaymentError';
|
|
7382
|
+
paymentErrorMessage: string;
|
|
7383
|
+
errorCode: ErrorCode;
|
|
7384
|
+
message: string;
|
|
7385
|
+
} | {
|
|
7386
|
+
__typename?: 'Payment';
|
|
7387
|
+
id: string;
|
|
7388
|
+
transactionId?: string | null;
|
|
7389
|
+
amount: number;
|
|
7390
|
+
method: string;
|
|
7391
|
+
state: string;
|
|
7392
|
+
metadata?: any | null;
|
|
7393
|
+
} | {
|
|
7394
|
+
__typename?: 'PaymentStateTransitionError';
|
|
7395
|
+
transitionError: string;
|
|
7396
|
+
errorCode: ErrorCode;
|
|
7397
|
+
message: string;
|
|
7398
|
+
};
|
|
7399
|
+
};
|
|
7323
7400
|
export declare type TransitionPaymentToStateMutationVariables = Exact<{
|
|
7324
7401
|
id: Scalars['ID'];
|
|
7325
7402
|
state: Scalars['String'];
|
|
@@ -7362,9 +7439,13 @@ export declare type CreateFulfillmentMutation = {
|
|
|
7362
7439
|
updatedAt: any;
|
|
7363
7440
|
method: string;
|
|
7364
7441
|
trackingCode?: string | null;
|
|
7365
|
-
|
|
7366
|
-
__typename?: '
|
|
7367
|
-
|
|
7442
|
+
summary: Array<{
|
|
7443
|
+
__typename?: 'FulfillmentLineSummary';
|
|
7444
|
+
quantity: number;
|
|
7445
|
+
orderLine: {
|
|
7446
|
+
__typename?: 'OrderLine';
|
|
7447
|
+
id: string;
|
|
7448
|
+
};
|
|
7368
7449
|
}>;
|
|
7369
7450
|
} | {
|
|
7370
7451
|
__typename?: 'FulfillmentStateTransitionError';
|
|
@@ -7457,28 +7538,29 @@ export declare type CancelOrderMutation = {
|
|
|
7457
7538
|
description: string;
|
|
7458
7539
|
type: AdjustmentType;
|
|
7459
7540
|
}>;
|
|
7541
|
+
fulfillments?: Array<{
|
|
7542
|
+
__typename?: 'Fulfillment';
|
|
7543
|
+
id: string;
|
|
7544
|
+
state: string;
|
|
7545
|
+
nextStates: Array<string>;
|
|
7546
|
+
createdAt: any;
|
|
7547
|
+
updatedAt: any;
|
|
7548
|
+
method: string;
|
|
7549
|
+
trackingCode?: string | null;
|
|
7550
|
+
summary: Array<{
|
|
7551
|
+
__typename?: 'FulfillmentLineSummary';
|
|
7552
|
+
quantity: number;
|
|
7553
|
+
orderLine: {
|
|
7554
|
+
__typename?: 'OrderLine';
|
|
7555
|
+
id: string;
|
|
7556
|
+
};
|
|
7557
|
+
}>;
|
|
7558
|
+
}> | null;
|
|
7460
7559
|
items: Array<{
|
|
7461
7560
|
__typename?: 'OrderItem';
|
|
7462
7561
|
id: string;
|
|
7463
|
-
unitPrice: number;
|
|
7464
|
-
unitPriceWithTax: number;
|
|
7465
|
-
taxRate: number;
|
|
7466
7562
|
refundId?: string | null;
|
|
7467
7563
|
cancelled: boolean;
|
|
7468
|
-
fulfillment?: {
|
|
7469
|
-
__typename?: 'Fulfillment';
|
|
7470
|
-
id: string;
|
|
7471
|
-
state: string;
|
|
7472
|
-
nextStates: Array<string>;
|
|
7473
|
-
createdAt: any;
|
|
7474
|
-
updatedAt: any;
|
|
7475
|
-
method: string;
|
|
7476
|
-
trackingCode?: string | null;
|
|
7477
|
-
orderItems: Array<{
|
|
7478
|
-
__typename?: 'OrderItem';
|
|
7479
|
-
id: string;
|
|
7480
|
-
}>;
|
|
7481
|
-
} | null;
|
|
7482
7564
|
}>;
|
|
7483
7565
|
}>;
|
|
7484
7566
|
surcharges: Array<{
|
|
@@ -7586,9 +7668,13 @@ export declare type CancelOrderMutation = {
|
|
|
7586
7668
|
updatedAt: any;
|
|
7587
7669
|
method: string;
|
|
7588
7670
|
trackingCode?: string | null;
|
|
7589
|
-
|
|
7590
|
-
__typename?: '
|
|
7591
|
-
|
|
7671
|
+
summary: Array<{
|
|
7672
|
+
__typename?: 'FulfillmentLineSummary';
|
|
7673
|
+
quantity: number;
|
|
7674
|
+
orderLine: {
|
|
7675
|
+
__typename?: 'OrderLine';
|
|
7676
|
+
id: string;
|
|
7677
|
+
};
|
|
7592
7678
|
}>;
|
|
7593
7679
|
}> | null;
|
|
7594
7680
|
modifications: Array<{
|
|
@@ -7834,9 +7920,13 @@ export declare type TransitionFulfillmentToStateMutation = {
|
|
|
7834
7920
|
updatedAt: any;
|
|
7835
7921
|
method: string;
|
|
7836
7922
|
trackingCode?: string | null;
|
|
7837
|
-
|
|
7838
|
-
__typename?: '
|
|
7839
|
-
|
|
7923
|
+
summary: Array<{
|
|
7924
|
+
__typename?: 'FulfillmentLineSummary';
|
|
7925
|
+
quantity: number;
|
|
7926
|
+
orderLine: {
|
|
7927
|
+
__typename?: 'OrderLine';
|
|
7928
|
+
id: string;
|
|
7929
|
+
};
|
|
7840
7930
|
}>;
|
|
7841
7931
|
} | {
|
|
7842
7932
|
__typename?: 'FulfillmentStateTransitionError';
|
|
@@ -7945,28 +8035,29 @@ export declare type ModifyOrderMutation = {
|
|
|
7945
8035
|
description: string;
|
|
7946
8036
|
type: AdjustmentType;
|
|
7947
8037
|
}>;
|
|
8038
|
+
fulfillments?: Array<{
|
|
8039
|
+
__typename?: 'Fulfillment';
|
|
8040
|
+
id: string;
|
|
8041
|
+
state: string;
|
|
8042
|
+
nextStates: Array<string>;
|
|
8043
|
+
createdAt: any;
|
|
8044
|
+
updatedAt: any;
|
|
8045
|
+
method: string;
|
|
8046
|
+
trackingCode?: string | null;
|
|
8047
|
+
summary: Array<{
|
|
8048
|
+
__typename?: 'FulfillmentLineSummary';
|
|
8049
|
+
quantity: number;
|
|
8050
|
+
orderLine: {
|
|
8051
|
+
__typename?: 'OrderLine';
|
|
8052
|
+
id: string;
|
|
8053
|
+
};
|
|
8054
|
+
}>;
|
|
8055
|
+
}> | null;
|
|
7948
8056
|
items: Array<{
|
|
7949
8057
|
__typename?: 'OrderItem';
|
|
7950
8058
|
id: string;
|
|
7951
|
-
unitPrice: number;
|
|
7952
|
-
unitPriceWithTax: number;
|
|
7953
|
-
taxRate: number;
|
|
7954
8059
|
refundId?: string | null;
|
|
7955
8060
|
cancelled: boolean;
|
|
7956
|
-
fulfillment?: {
|
|
7957
|
-
__typename?: 'Fulfillment';
|
|
7958
|
-
id: string;
|
|
7959
|
-
state: string;
|
|
7960
|
-
nextStates: Array<string>;
|
|
7961
|
-
createdAt: any;
|
|
7962
|
-
updatedAt: any;
|
|
7963
|
-
method: string;
|
|
7964
|
-
trackingCode?: string | null;
|
|
7965
|
-
orderItems: Array<{
|
|
7966
|
-
__typename?: 'OrderItem';
|
|
7967
|
-
id: string;
|
|
7968
|
-
}>;
|
|
7969
|
-
} | null;
|
|
7970
8061
|
}>;
|
|
7971
8062
|
}>;
|
|
7972
8063
|
surcharges: Array<{
|
|
@@ -8074,9 +8165,13 @@ export declare type ModifyOrderMutation = {
|
|
|
8074
8165
|
updatedAt: any;
|
|
8075
8166
|
method: string;
|
|
8076
8167
|
trackingCode?: string | null;
|
|
8077
|
-
|
|
8078
|
-
__typename?: '
|
|
8079
|
-
|
|
8168
|
+
summary: Array<{
|
|
8169
|
+
__typename?: 'FulfillmentLineSummary';
|
|
8170
|
+
quantity: number;
|
|
8171
|
+
orderLine: {
|
|
8172
|
+
__typename?: 'OrderLine';
|
|
8173
|
+
id: string;
|
|
8174
|
+
};
|
|
8080
8175
|
}>;
|
|
8081
8176
|
}> | null;
|
|
8082
8177
|
modifications: Array<{
|
|
@@ -8188,28 +8283,29 @@ export declare type AddManualPaymentMutation = {
|
|
|
8188
8283
|
description: string;
|
|
8189
8284
|
type: AdjustmentType;
|
|
8190
8285
|
}>;
|
|
8286
|
+
fulfillments?: Array<{
|
|
8287
|
+
__typename?: 'Fulfillment';
|
|
8288
|
+
id: string;
|
|
8289
|
+
state: string;
|
|
8290
|
+
nextStates: Array<string>;
|
|
8291
|
+
createdAt: any;
|
|
8292
|
+
updatedAt: any;
|
|
8293
|
+
method: string;
|
|
8294
|
+
trackingCode?: string | null;
|
|
8295
|
+
summary: Array<{
|
|
8296
|
+
__typename?: 'FulfillmentLineSummary';
|
|
8297
|
+
quantity: number;
|
|
8298
|
+
orderLine: {
|
|
8299
|
+
__typename?: 'OrderLine';
|
|
8300
|
+
id: string;
|
|
8301
|
+
};
|
|
8302
|
+
}>;
|
|
8303
|
+
}> | null;
|
|
8191
8304
|
items: Array<{
|
|
8192
8305
|
__typename?: 'OrderItem';
|
|
8193
8306
|
id: string;
|
|
8194
|
-
unitPrice: number;
|
|
8195
|
-
unitPriceWithTax: number;
|
|
8196
|
-
taxRate: number;
|
|
8197
8307
|
refundId?: string | null;
|
|
8198
8308
|
cancelled: boolean;
|
|
8199
|
-
fulfillment?: {
|
|
8200
|
-
__typename?: 'Fulfillment';
|
|
8201
|
-
id: string;
|
|
8202
|
-
state: string;
|
|
8203
|
-
nextStates: Array<string>;
|
|
8204
|
-
createdAt: any;
|
|
8205
|
-
updatedAt: any;
|
|
8206
|
-
method: string;
|
|
8207
|
-
trackingCode?: string | null;
|
|
8208
|
-
orderItems: Array<{
|
|
8209
|
-
__typename?: 'OrderItem';
|
|
8210
|
-
id: string;
|
|
8211
|
-
}>;
|
|
8212
|
-
} | null;
|
|
8213
8309
|
}>;
|
|
8214
8310
|
}>;
|
|
8215
8311
|
surcharges: Array<{
|
|
@@ -8317,9 +8413,13 @@ export declare type AddManualPaymentMutation = {
|
|
|
8317
8413
|
updatedAt: any;
|
|
8318
8414
|
method: string;
|
|
8319
8415
|
trackingCode?: string | null;
|
|
8320
|
-
|
|
8321
|
-
__typename?: '
|
|
8322
|
-
|
|
8416
|
+
summary: Array<{
|
|
8417
|
+
__typename?: 'FulfillmentLineSummary';
|
|
8418
|
+
quantity: number;
|
|
8419
|
+
orderLine: {
|
|
8420
|
+
__typename?: 'OrderLine';
|
|
8421
|
+
id: string;
|
|
8422
|
+
};
|
|
8323
8423
|
}>;
|
|
8324
8424
|
}> | null;
|
|
8325
8425
|
modifications: Array<{
|
|
@@ -9939,6 +10039,16 @@ export declare type UpdateProductOptionMutation = {
|
|
|
9939
10039
|
}>;
|
|
9940
10040
|
};
|
|
9941
10041
|
};
|
|
10042
|
+
export declare type DeleteProductOptionMutationVariables = Exact<{
|
|
10043
|
+
id: Scalars['ID'];
|
|
10044
|
+
}>;
|
|
10045
|
+
export declare type DeleteProductOptionMutation = {
|
|
10046
|
+
deleteProductOption: {
|
|
10047
|
+
__typename?: 'DeletionResponse';
|
|
10048
|
+
result: DeletionResult;
|
|
10049
|
+
message?: string | null;
|
|
10050
|
+
};
|
|
10051
|
+
};
|
|
9942
10052
|
export declare type DeleteProductVariantMutationVariables = Exact<{
|
|
9943
10053
|
id: Scalars['ID'];
|
|
9944
10054
|
}>;
|
|
@@ -16453,6 +16563,11 @@ declare type ErrorResult_CancelActiveOrderError_Fragment = {
|
|
|
16453
16563
|
errorCode: ErrorCode;
|
|
16454
16564
|
message: string;
|
|
16455
16565
|
};
|
|
16566
|
+
declare type ErrorResult_CancelPaymentError_Fragment = {
|
|
16567
|
+
__typename?: 'CancelPaymentError';
|
|
16568
|
+
errorCode: ErrorCode;
|
|
16569
|
+
message: string;
|
|
16570
|
+
};
|
|
16456
16571
|
declare type ErrorResult_ChannelDefaultLanguageError_Fragment = {
|
|
16457
16572
|
__typename?: 'ChannelDefaultLanguageError';
|
|
16458
16573
|
errorCode: ErrorCode;
|
|
@@ -16623,7 +16738,7 @@ declare type ErrorResult_SettlePaymentError_Fragment = {
|
|
|
16623
16738
|
errorCode: ErrorCode;
|
|
16624
16739
|
message: string;
|
|
16625
16740
|
};
|
|
16626
|
-
export declare type ErrorResultFragment = ErrorResult_AlreadyRefundedError_Fragment | ErrorResult_CancelActiveOrderError_Fragment | ErrorResult_ChannelDefaultLanguageError_Fragment | ErrorResult_CouponCodeExpiredError_Fragment | ErrorResult_CouponCodeInvalidError_Fragment | ErrorResult_CouponCodeLimitError_Fragment | ErrorResult_CreateFulfillmentError_Fragment | ErrorResult_EmailAddressConflictError_Fragment | ErrorResult_EmptyOrderLineSelectionError_Fragment | ErrorResult_FulfillmentStateTransitionError_Fragment | ErrorResult_InsufficientStockError_Fragment | ErrorResult_InsufficientStockOnHandError_Fragment | ErrorResult_InvalidCredentialsError_Fragment | ErrorResult_InvalidFulfillmentHandlerError_Fragment | ErrorResult_ItemsAlreadyFulfilledError_Fragment | ErrorResult_LanguageNotAvailableError_Fragment | ErrorResult_ManualPaymentStateError_Fragment | ErrorResult_MimeTypeError_Fragment | ErrorResult_MissingConditionsError_Fragment | ErrorResult_MultipleOrderError_Fragment | ErrorResult_NativeAuthStrategyError_Fragment | ErrorResult_NegativeQuantityError_Fragment | ErrorResult_NoChangesSpecifiedError_Fragment | ErrorResult_NothingToRefundError_Fragment | ErrorResult_OrderLimitError_Fragment | ErrorResult_OrderModificationStateError_Fragment | ErrorResult_OrderStateTransitionError_Fragment | ErrorResult_PaymentMethodMissingError_Fragment | ErrorResult_PaymentOrderMismatchError_Fragment | ErrorResult_PaymentStateTransitionError_Fragment | ErrorResult_ProductOptionInUseError_Fragment | ErrorResult_QuantityTooGreatError_Fragment | ErrorResult_RefundOrderStateError_Fragment | ErrorResult_RefundPaymentIdMissingError_Fragment | ErrorResult_RefundStateTransitionError_Fragment | ErrorResult_SettlePaymentError_Fragment;
|
|
16741
|
+
export declare type ErrorResultFragment = ErrorResult_AlreadyRefundedError_Fragment | ErrorResult_CancelActiveOrderError_Fragment | ErrorResult_CancelPaymentError_Fragment | ErrorResult_ChannelDefaultLanguageError_Fragment | ErrorResult_CouponCodeExpiredError_Fragment | ErrorResult_CouponCodeInvalidError_Fragment | ErrorResult_CouponCodeLimitError_Fragment | ErrorResult_CreateFulfillmentError_Fragment | ErrorResult_EmailAddressConflictError_Fragment | ErrorResult_EmptyOrderLineSelectionError_Fragment | ErrorResult_FulfillmentStateTransitionError_Fragment | ErrorResult_InsufficientStockError_Fragment | ErrorResult_InsufficientStockOnHandError_Fragment | ErrorResult_InvalidCredentialsError_Fragment | ErrorResult_InvalidFulfillmentHandlerError_Fragment | ErrorResult_ItemsAlreadyFulfilledError_Fragment | ErrorResult_LanguageNotAvailableError_Fragment | ErrorResult_ManualPaymentStateError_Fragment | ErrorResult_MimeTypeError_Fragment | ErrorResult_MissingConditionsError_Fragment | ErrorResult_MultipleOrderError_Fragment | ErrorResult_NativeAuthStrategyError_Fragment | ErrorResult_NegativeQuantityError_Fragment | ErrorResult_NoChangesSpecifiedError_Fragment | ErrorResult_NothingToRefundError_Fragment | ErrorResult_OrderLimitError_Fragment | ErrorResult_OrderModificationStateError_Fragment | ErrorResult_OrderStateTransitionError_Fragment | ErrorResult_PaymentMethodMissingError_Fragment | ErrorResult_PaymentOrderMismatchError_Fragment | ErrorResult_PaymentStateTransitionError_Fragment | ErrorResult_ProductOptionInUseError_Fragment | ErrorResult_QuantityTooGreatError_Fragment | ErrorResult_RefundOrderStateError_Fragment | ErrorResult_RefundPaymentIdMissingError_Fragment | ErrorResult_RefundStateTransitionError_Fragment | ErrorResult_SettlePaymentError_Fragment;
|
|
16627
16742
|
export declare type ShippingMethodFragment = {
|
|
16628
16743
|
__typename?: 'ShippingMethod';
|
|
16629
16744
|
id: string;
|
|
@@ -24,13 +24,15 @@ export declare function configurableDefinitionToInstance(def: ConfigurableOperat
|
|
|
24
24
|
* ```
|
|
25
25
|
* {
|
|
26
26
|
* code: 'my-operation',
|
|
27
|
-
*
|
|
27
|
+
* arguments: [
|
|
28
28
|
* { name: 'someProperty', value: 'foo' }
|
|
29
29
|
* ]
|
|
30
30
|
* }
|
|
31
31
|
* ```
|
|
32
32
|
*/
|
|
33
|
-
export declare function toConfigurableOperationInput(operation: ConfigurableOperation, formValueOperations:
|
|
33
|
+
export declare function toConfigurableOperationInput(operation: ConfigurableOperation, formValueOperations: {
|
|
34
|
+
args: Record<string, any>;
|
|
35
|
+
}): ConfigurableOperationInput;
|
|
34
36
|
export declare function configurableOperationValueIsValid(def?: ConfigurableOperationDefinition, value?: {
|
|
35
37
|
code: string;
|
|
36
38
|
args: {
|
package/core/common/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const ADMIN_UI_VERSION = "2.0.0-next.
|
|
1
|
+
export declare const ADMIN_UI_VERSION = "2.0.0-next.13";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export declare const DISCOUNT_FRAGMENT: import("apollo-angular").TypedDocumentNode<unknown, unknown>;
|
|
2
|
+
export declare const PAYMENT_FRAGMENT: import("apollo-angular").TypedDocumentNode<unknown, unknown>;
|
|
2
3
|
export declare const REFUND_FRAGMENT: import("apollo-angular").TypedDocumentNode<unknown, unknown>;
|
|
3
4
|
export declare const ORDER_ADDRESS_FRAGMENT: import("apollo-angular").TypedDocumentNode<unknown, unknown>;
|
|
4
5
|
export declare const ORDER_FRAGMENT: import("apollo-angular").TypedDocumentNode<unknown, unknown>;
|
|
@@ -8,6 +9,7 @@ export declare const ORDER_DETAIL_FRAGMENT: import("apollo-angular").TypedDocume
|
|
|
8
9
|
export declare const GET_ORDERS_LIST: import("apollo-angular").TypedDocumentNode<unknown, unknown>;
|
|
9
10
|
export declare const GET_ORDER: import("apollo-angular").TypedDocumentNode<unknown, unknown>;
|
|
10
11
|
export declare const SETTLE_PAYMENT: import("apollo-angular").TypedDocumentNode<unknown, unknown>;
|
|
12
|
+
export declare const CANCEL_PAYMENT: import("apollo-angular").TypedDocumentNode<unknown, unknown>;
|
|
11
13
|
export declare const TRANSITION_PAYMENT_TO_STATE: import("apollo-angular").TypedDocumentNode<unknown, unknown>;
|
|
12
14
|
export declare const CREATE_FULFILLMENT: import("apollo-angular").TypedDocumentNode<unknown, unknown>;
|
|
13
15
|
export declare const CANCEL_ORDER: import("apollo-angular").TypedDocumentNode<unknown, unknown>;
|
|
@@ -28,6 +28,7 @@ export declare const SEARCH_PRODUCTS: import("apollo-angular").TypedDocumentNode
|
|
|
28
28
|
export declare const PRODUCT_SELECTOR_SEARCH: import("apollo-angular").TypedDocumentNode<unknown, unknown>;
|
|
29
29
|
export declare const UPDATE_PRODUCT_OPTION_GROUP: import("apollo-angular").TypedDocumentNode<unknown, unknown>;
|
|
30
30
|
export declare const UPDATE_PRODUCT_OPTION: import("apollo-angular").TypedDocumentNode<unknown, unknown>;
|
|
31
|
+
export declare const DELETE_PRODUCT_OPTION: import("apollo-angular").TypedDocumentNode<unknown, unknown>;
|
|
31
32
|
export declare const DELETE_PRODUCT_VARIANT: import("apollo-angular").TypedDocumentNode<unknown, unknown>;
|
|
32
33
|
export declare const GET_PRODUCT_VARIANT_OPTIONS: import("apollo-angular").TypedDocumentNode<unknown, unknown>;
|
|
33
34
|
export declare const ASSIGN_PRODUCTS_TO_CHANNEL: import("apollo-angular").TypedDocumentNode<unknown, unknown>;
|
|
@@ -14,6 +14,7 @@ export declare class OrderDataService {
|
|
|
14
14
|
options?: Codegen.InputMaybe<Codegen.HistoryEntryListOptions> | undefined;
|
|
15
15
|
}>>;
|
|
16
16
|
settlePayment(id: string): import("rxjs").Observable<Codegen.SettlePaymentMutation>;
|
|
17
|
+
cancelPayment(id: string): import("rxjs").Observable<Codegen.CancelPaymentMutation>;
|
|
17
18
|
transitionPaymentToState(id: string, state: string): import("rxjs").Observable<Codegen.TransitionPaymentToStateMutation>;
|
|
18
19
|
createFulfillment(input: Codegen.FulfillOrderInput): import("rxjs").Observable<Codegen.CreateFulfillmentMutation>;
|
|
19
20
|
transitionFulfillmentToState(id: string, state: string): import("rxjs").Observable<Codegen.TransitionFulfillmentToStateMutation>;
|
|
@@ -49,6 +49,7 @@ export declare class ProductDataService {
|
|
|
49
49
|
createProductOptionGroups(productOptionGroup: Codegen.CreateProductOptionGroupInput): import("rxjs").Observable<Codegen.CreateProductOptionGroupMutation>;
|
|
50
50
|
addOptionGroupToProduct(variables: Codegen.AddOptionGroupToProductMutationVariables): import("rxjs").Observable<Codegen.AddOptionGroupToProductMutation>;
|
|
51
51
|
addOptionToGroup(input: Codegen.CreateProductOptionInput): import("rxjs").Observable<Codegen.AddOptionToGroupMutation>;
|
|
52
|
+
deleteProductOption(id: string): import("rxjs").Observable<Codegen.DeleteProductOptionMutation>;
|
|
52
53
|
removeOptionGroupFromProduct(variables: Codegen.RemoveOptionGroupFromProductMutationVariables): import("rxjs").Observable<Codegen.RemoveOptionGroupFromProductMutation>;
|
|
53
54
|
updateProductOption(input: Codegen.UpdateProductOptionInput): import("rxjs").Observable<Codegen.UpdateProductOptionMutation>;
|
|
54
55
|
updateProductOptionGroup(input: Codegen.UpdateProductOptionGroupInput): import("rxjs").Observable<Codegen.UpdateProductOptionGroupMutation>;
|