|
|
@@ -8,33 +8,33 @@
|
|
|
const result: PossibleTypesResultData = {
|
|
|
"possibleTypes": {
|
|
|
"AddFulfillmentToOrderResult": [
|
|
|
- "Fulfillment",
|
|
|
+ "CreateFulfillmentError",
|
|
|
"EmptyOrderLineSelectionError",
|
|
|
- "ItemsAlreadyFulfilledError",
|
|
|
+ "Fulfillment",
|
|
|
+ "FulfillmentStateTransitionError",
|
|
|
"InsufficientStockOnHandError",
|
|
|
"InvalidFulfillmentHandlerError",
|
|
|
- "FulfillmentStateTransitionError",
|
|
|
- "CreateFulfillmentError"
|
|
|
+ "ItemsAlreadyFulfilledError"
|
|
|
],
|
|
|
"AddManualPaymentToOrderResult": [
|
|
|
- "Order",
|
|
|
- "ManualPaymentStateError"
|
|
|
+ "ManualPaymentStateError",
|
|
|
+ "Order"
|
|
|
],
|
|
|
"AuthenticationResult": [
|
|
|
"CurrentUser",
|
|
|
"InvalidCredentialsError"
|
|
|
],
|
|
|
"CancelOrderResult": [
|
|
|
- "Order",
|
|
|
+ "CancelActiveOrderError",
|
|
|
"EmptyOrderLineSelectionError",
|
|
|
- "QuantityTooGreatError",
|
|
|
"MultipleOrderError",
|
|
|
- "CancelActiveOrderError",
|
|
|
- "OrderStateTransitionError"
|
|
|
+ "Order",
|
|
|
+ "OrderStateTransitionError",
|
|
|
+ "QuantityTooGreatError"
|
|
|
],
|
|
|
"CancelPaymentResult": [
|
|
|
- "Payment",
|
|
|
"CancelPaymentError",
|
|
|
+ "Payment",
|
|
|
"PaymentStateTransitionError"
|
|
|
],
|
|
|
"CreateAssetResult": [
|
|
|
@@ -50,8 +50,8 @@
|
|
|
"EmailAddressConflictError"
|
|
|
],
|
|
|
"CreatePromotionResult": [
|
|
|
- "Promotion",
|
|
|
- "MissingConditionsError"
|
|
|
+ "MissingConditionsError",
|
|
|
+ "Promotion"
|
|
|
],
|
|
|
"CustomField": [
|
|
|
"BooleanCustomFieldConfig",
|
|
|
@@ -64,13 +64,13 @@
|
|
|
"TextCustomFieldConfig"
|
|
|
],
|
|
|
"CustomFieldConfig": [
|
|
|
- "StringCustomFieldConfig",
|
|
|
- "LocaleStringCustomFieldConfig",
|
|
|
- "IntCustomFieldConfig",
|
|
|
- "FloatCustomFieldConfig",
|
|
|
"BooleanCustomFieldConfig",
|
|
|
"DateTimeCustomFieldConfig",
|
|
|
+ "FloatCustomFieldConfig",
|
|
|
+ "IntCustomFieldConfig",
|
|
|
+ "LocaleStringCustomFieldConfig",
|
|
|
"RelationCustomFieldConfig",
|
|
|
+ "StringCustomFieldConfig",
|
|
|
"TextCustomFieldConfig"
|
|
|
],
|
|
|
"ErrorResult": [
|
|
|
@@ -114,17 +114,17 @@
|
|
|
"SettlePaymentError"
|
|
|
],
|
|
|
"ModifyOrderResult": [
|
|
|
- "Order",
|
|
|
+ "CouponCodeExpiredError",
|
|
|
+ "CouponCodeInvalidError",
|
|
|
+ "CouponCodeLimitError",
|
|
|
+ "InsufficientStockError",
|
|
|
+ "NegativeQuantityError",
|
|
|
"NoChangesSpecifiedError",
|
|
|
+ "Order",
|
|
|
+ "OrderLimitError",
|
|
|
"OrderModificationStateError",
|
|
|
"PaymentMethodMissingError",
|
|
|
- "RefundPaymentIdMissingError",
|
|
|
- "OrderLimitError",
|
|
|
- "NegativeQuantityError",
|
|
|
- "InsufficientStockError",
|
|
|
- "CouponCodeExpiredError",
|
|
|
- "CouponCodeInvalidError",
|
|
|
- "CouponCodeLimitError"
|
|
|
+ "RefundPaymentIdMissingError"
|
|
|
],
|
|
|
"NativeAuthenticationResult": [
|
|
|
"CurrentUser",
|
|
|
@@ -194,14 +194,14 @@
|
|
|
"TaxRateList"
|
|
|
],
|
|
|
"RefundOrderResult": [
|
|
|
- "Refund",
|
|
|
- "QuantityTooGreatError",
|
|
|
+ "AlreadyRefundedError",
|
|
|
+ "MultipleOrderError",
|
|
|
"NothingToRefundError",
|
|
|
"OrderStateTransitionError",
|
|
|
- "MultipleOrderError",
|
|
|
"PaymentOrderMismatchError",
|
|
|
+ "QuantityTooGreatError",
|
|
|
+ "Refund",
|
|
|
"RefundOrderStateError",
|
|
|
- "AlreadyRefundedError",
|
|
|
"RefundStateTransitionError"
|
|
|
],
|
|
|
"RemoveFacetFromChannelResult": [
|
|
|
@@ -217,10 +217,10 @@
|
|
|
"SinglePrice"
|
|
|
],
|
|
|
"SettlePaymentResult": [
|
|
|
+ "OrderStateTransitionError",
|
|
|
"Payment",
|
|
|
- "SettlePaymentError",
|
|
|
"PaymentStateTransitionError",
|
|
|
- "OrderStateTransitionError"
|
|
|
+ "SettlePaymentError"
|
|
|
],
|
|
|
"SettleRefundResult": [
|
|
|
"Refund",
|
|
|
@@ -235,12 +235,12 @@
|
|
|
"StockAdjustment"
|
|
|
],
|
|
|
"StockMovementItem": [
|
|
|
- "StockAdjustment",
|
|
|
"Allocation",
|
|
|
- "Sale",
|
|
|
"Cancellation",
|
|
|
+ "Release",
|
|
|
"Return",
|
|
|
- "Release"
|
|
|
+ "Sale",
|
|
|
+ "StockAdjustment"
|
|
|
],
|
|
|
"TransitionFulfillmentToStateResult": [
|
|
|
"Fulfillment",
|
|
|
@@ -263,12 +263,12 @@
|
|
|
"EmailAddressConflictError"
|
|
|
],
|
|
|
"UpdateGlobalSettingsResult": [
|
|
|
- "GlobalSettings",
|
|
|
- "ChannelDefaultLanguageError"
|
|
|
+ "ChannelDefaultLanguageError",
|
|
|
+ "GlobalSettings"
|
|
|
],
|
|
|
"UpdatePromotionResult": [
|
|
|
- "Promotion",
|
|
|
- "MissingConditionsError"
|
|
|
+ "MissingConditionsError",
|
|
|
+ "Promotion"
|
|
|
]
|
|
|
}
|
|
|
};
|