@wix/auto_sdk_pricing-plans_orders 1.0.90 → 1.0.92
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/build/cjs/index.d.ts +153 -153
- package/build/cjs/index.js +642 -642
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +629 -612
- package/build/cjs/index.typings.js +507 -507
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +481 -464
- package/build/cjs/meta.js +403 -403
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +153 -153
- package/build/es/index.mjs +642 -642
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +629 -612
- package/build/es/index.typings.mjs +507 -507
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +481 -464
- package/build/es/meta.mjs +403 -403
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +153 -153
- package/build/internal/cjs/index.js +642 -642
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +629 -612
- package/build/internal/cjs/index.typings.js +507 -507
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +481 -464
- package/build/internal/cjs/meta.js +403 -403
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +153 -153
- package/build/internal/es/index.mjs +642 -642
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +629 -612
- package/build/internal/es/index.typings.mjs +507 -507
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +481 -464
- package/build/internal/es/meta.mjs +403 -403
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
package/build/cjs/meta.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { GetOrderRequest as GetOrderRequest$1, GetOrderResponse as GetOrderResponse$1, ListOrdersRequest as ListOrdersRequest$1, ListOrdersResponse as ListOrdersResponse$1, PostponeEndDateRequest as PostponeEndDateRequest$1, PostponeEndDateResponse as PostponeEndDateResponse$1, CancelOrderRequest as CancelOrderRequest$1, CancelOrderResponse as CancelOrderResponse$1, MarkAsPaidRequest as MarkAsPaidRequest$1, MarkAsPaidResponse as MarkAsPaidResponse$1, PauseOrderRequest as PauseOrderRequest$1, PauseOrderResponse as PauseOrderResponse$1, ResumeOrderRequest as ResumeOrderRequest$1, ResumeOrderResponse as ResumeOrderResponse$1, MemberGetOrderRequest as MemberGetOrderRequest$1, MemberGetOrderResponse as MemberGetOrderResponse$1, MemberListOrdersRequest as MemberListOrdersRequest$1, MemberListOrdersResponse as MemberListOrdersResponse$1, RequestCancellationRequest as RequestCancellationRequest$1, RequestCancellationResponse as RequestCancellationResponse$1, CreateOnlineOrderRequest as CreateOnlineOrderRequest$1, CreateOnlineOrderResponse as CreateOnlineOrderResponse$1, CreateOfflineOrderRequest as CreateOfflineOrderRequest$1, CreateOfflineOrderResponse as CreateOfflineOrderResponse$1, GetOnlineOrderPreviewRequest as GetOnlineOrderPreviewRequest$1, GetOnlineOrderPreviewResponse as GetOnlineOrderPreviewResponse$1, GetOfflineOrderPreviewRequest as GetOfflineOrderPreviewRequest$1, GetOfflineOrderPreviewResponse as GetOfflineOrderPreviewResponse$1, GetPricePreviewRequest as GetPricePreviewRequest$1, GetPricePreviewResponse as GetPricePreviewResponse$1 } from './index.typings.js';
|
|
2
2
|
import '@wix/sdk-types';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -637,7 +637,35 @@ interface ActionEvent {
|
|
|
637
637
|
}
|
|
638
638
|
interface Empty {
|
|
639
639
|
}
|
|
640
|
-
interface
|
|
640
|
+
interface OrderPurchased {
|
|
641
|
+
/** Order that was paid for. If a free or an offline order, the order that was created. */
|
|
642
|
+
order?: Order;
|
|
643
|
+
}
|
|
644
|
+
interface OrderStarted {
|
|
645
|
+
/** Order that reached its `startDate`. */
|
|
646
|
+
order?: Order;
|
|
647
|
+
}
|
|
648
|
+
/**
|
|
649
|
+
* Triggered at the start of a new payment cycle for an existing order.
|
|
650
|
+
*
|
|
651
|
+
* This webhook does not trigger at the initial start of an offline order.
|
|
652
|
+
*/
|
|
653
|
+
interface OrderCycleStarted {
|
|
654
|
+
/** Order whose new cycle started. */
|
|
655
|
+
order?: Order;
|
|
656
|
+
/** Number of the payment cycle will be 0 when the order is in the free trial period. In other cases, the cycle number starts from 1. */
|
|
657
|
+
cycleNumber?: number;
|
|
658
|
+
}
|
|
659
|
+
/** Emitted when a recurring order is canceled for the next payment cycle */
|
|
660
|
+
interface OrderAutoRenewCanceled {
|
|
661
|
+
/** Order that is canceled, effective at the end of the current payment cycle. */
|
|
662
|
+
order?: Order;
|
|
663
|
+
}
|
|
664
|
+
interface OrderEnded {
|
|
665
|
+
/** Order that ended. */
|
|
666
|
+
order?: Order;
|
|
667
|
+
}
|
|
668
|
+
interface GetOrderRequest {
|
|
641
669
|
/**
|
|
642
670
|
* Order ID.
|
|
643
671
|
* @format GUID
|
|
@@ -660,31 +688,44 @@ declare enum Set {
|
|
|
660
688
|
}
|
|
661
689
|
/** @enumType */
|
|
662
690
|
type SetWithLiterals = Set | 'UNKNOWN_SET' | 'BASIC' | 'FULL';
|
|
663
|
-
interface
|
|
664
|
-
/**
|
|
691
|
+
interface GetOrderResponse {
|
|
692
|
+
/** Order. */
|
|
665
693
|
order?: Order;
|
|
666
694
|
}
|
|
667
|
-
interface
|
|
695
|
+
interface ListOrdersRequest {
|
|
668
696
|
/**
|
|
669
|
-
* Filter by
|
|
697
|
+
* Filter by a buyer's member ID, from the Members API.
|
|
698
|
+
* @format GUID
|
|
699
|
+
*/
|
|
700
|
+
buyerIds?: string[];
|
|
701
|
+
/**
|
|
702
|
+
* Filter by plan IDs, from the Plans API.
|
|
670
703
|
* @format GUID
|
|
671
704
|
*/
|
|
672
705
|
planIds?: string[];
|
|
673
|
-
/** Filter
|
|
706
|
+
/** Filter by whether or not the auto-renewal of recurring orders was canceled. */
|
|
674
707
|
autoRenewCanceled?: boolean | null;
|
|
675
708
|
/** Filter by order status. */
|
|
676
709
|
orderStatuses?: OrderStatusWithLiterals[];
|
|
677
710
|
/** Filter by payment status. */
|
|
678
711
|
paymentStatuses?: PaymentStatusWithLiterals[];
|
|
679
712
|
/**
|
|
680
|
-
*
|
|
713
|
+
* Number of orders to return. See Sorting and Paging for more information.
|
|
714
|
+
*
|
|
715
|
+
* Max: `50`
|
|
681
716
|
* @min 1
|
|
682
717
|
* @max 50
|
|
683
718
|
*/
|
|
684
719
|
limit?: number | null;
|
|
685
|
-
/** Number of
|
|
720
|
+
/** Number of orders to skip in the current sort order. */
|
|
686
721
|
offset?: number | null;
|
|
687
|
-
/**
|
|
722
|
+
/**
|
|
723
|
+
* Sort order.
|
|
724
|
+
*
|
|
725
|
+
* Use `ASC` for ascending order or `DESC` for descending order.
|
|
726
|
+
*
|
|
727
|
+
* Default: `DESC`.
|
|
728
|
+
*/
|
|
688
729
|
sorting?: Sorting;
|
|
689
730
|
/**
|
|
690
731
|
* Predefined set of fields to return.
|
|
@@ -708,8 +749,8 @@ declare enum SortOrder {
|
|
|
708
749
|
}
|
|
709
750
|
/** @enumType */
|
|
710
751
|
type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
|
|
711
|
-
interface
|
|
712
|
-
/**
|
|
752
|
+
interface ListOrdersResponse {
|
|
753
|
+
/** List of orders. */
|
|
713
754
|
orders?: Order[];
|
|
714
755
|
/** Object containing paging-related data (number of orders returned, offset). */
|
|
715
756
|
pagingMetadata?: PagingMetadataV2;
|
|
@@ -738,11 +779,7 @@ interface Cursors {
|
|
|
738
779
|
*/
|
|
739
780
|
prev?: string | null;
|
|
740
781
|
}
|
|
741
|
-
|
|
742
|
-
* TODO: Write orders filter and sort docs page
|
|
743
|
-
* Retrieves a list of up to 1,000 orders, based on the provided paging, sorting, and filtering.
|
|
744
|
-
*/
|
|
745
|
-
interface QueryOrdersRequest {
|
|
782
|
+
interface OrdersQueryOrdersRequest {
|
|
746
783
|
/** Query filter. */
|
|
747
784
|
query?: QueryV2;
|
|
748
785
|
}
|
|
@@ -796,22 +833,84 @@ interface CursorPaging {
|
|
|
796
833
|
*/
|
|
797
834
|
cursor?: string | null;
|
|
798
835
|
}
|
|
799
|
-
interface
|
|
800
|
-
/**
|
|
836
|
+
interface OrdersQueryOrdersResponse {
|
|
837
|
+
/** Retrieved orders. */
|
|
801
838
|
plans?: Order[];
|
|
802
839
|
/** Paging-related data (number of orders returned, offset). */
|
|
803
840
|
pagingMetadata?: PagingMetadataV2;
|
|
804
841
|
}
|
|
805
|
-
interface
|
|
842
|
+
interface GetOrdersStatsRequest {
|
|
843
|
+
}
|
|
844
|
+
interface GetOrdersStatsResponse {
|
|
845
|
+
/** Total number of orders. */
|
|
846
|
+
totalOrderCount?: number;
|
|
847
|
+
/** Number of active orders. */
|
|
848
|
+
activeOrderCount?: number;
|
|
849
|
+
}
|
|
850
|
+
interface GetAvailableOrderActionsRequest {
|
|
851
|
+
/**
|
|
852
|
+
* Order ID.
|
|
853
|
+
* @format GUID
|
|
854
|
+
*/
|
|
855
|
+
id?: string;
|
|
856
|
+
}
|
|
857
|
+
interface GetAvailableOrderActionsResponse {
|
|
858
|
+
/** Whether the order can be suspended. */
|
|
859
|
+
suspendable?: boolean;
|
|
860
|
+
/** If the order cannot be suspended, a reason is returned here. */
|
|
861
|
+
notSuspendableReason?: ReasonNotSuspendableWithLiterals;
|
|
862
|
+
/** Whether the order can be canceled by the buyer. */
|
|
863
|
+
cancelableByBuyer?: boolean;
|
|
864
|
+
}
|
|
865
|
+
declare enum ReasonNotSuspendable {
|
|
866
|
+
/** Undefined reason. */
|
|
867
|
+
UNDEFINED = "UNDEFINED",
|
|
868
|
+
/** Saved in the database but is awaiting payment. Non-active orders can't be suspended. */
|
|
869
|
+
PENDING = "PENDING",
|
|
870
|
+
/** Trial orders can't be suspended. */
|
|
871
|
+
TRIAL = "TRIAL",
|
|
872
|
+
/** Canceled orders can't be suspended. */
|
|
873
|
+
CANCELED = "CANCELED",
|
|
874
|
+
/** Ended orders can't be suspended. */
|
|
875
|
+
ENDED = "ENDED",
|
|
876
|
+
/** Paid for orders with future start dates can't be suspended. */
|
|
877
|
+
NOT_STARTED = "NOT_STARTED",
|
|
878
|
+
/** Order is already suspended. */
|
|
879
|
+
ALREADY_SUSPENDED = "ALREADY_SUSPENDED",
|
|
880
|
+
/** Orders based on recurring payments using older stripe versions can't be suspended. */
|
|
881
|
+
OLD_STRIPE = "OLD_STRIPE"
|
|
882
|
+
}
|
|
883
|
+
/** @enumType */
|
|
884
|
+
type ReasonNotSuspendableWithLiterals = ReasonNotSuspendable | 'UNDEFINED' | 'PENDING' | 'TRIAL' | 'CANCELED' | 'ENDED' | 'NOT_STARTED' | 'ALREADY_SUSPENDED' | 'OLD_STRIPE';
|
|
885
|
+
interface PostponeEndDateRequest {
|
|
806
886
|
/**
|
|
807
887
|
* Order ID.
|
|
808
888
|
* @format GUID
|
|
809
889
|
*/
|
|
810
890
|
id: string;
|
|
811
|
-
/**
|
|
891
|
+
/**
|
|
892
|
+
* New end date and time.
|
|
893
|
+
*
|
|
894
|
+
* Must be later than the current end date and time.
|
|
895
|
+
*/
|
|
896
|
+
endDate: Date | null;
|
|
897
|
+
}
|
|
898
|
+
interface PostponeEndDateResponse {
|
|
899
|
+
}
|
|
900
|
+
interface OrderEndDatePostponed {
|
|
901
|
+
/** Order whose `endDate` was postponed. */
|
|
902
|
+
order?: Order;
|
|
903
|
+
}
|
|
904
|
+
interface CancelOrderRequest {
|
|
905
|
+
/**
|
|
906
|
+
* Order ID.
|
|
907
|
+
* @format GUID
|
|
908
|
+
*/
|
|
909
|
+
id: string;
|
|
910
|
+
/** __Required.__ When the order will be canceled. One-time orders can only be canceled `IMMEDIATELY`. */
|
|
812
911
|
effectiveAt: CancellationEffectiveAtWithLiterals;
|
|
813
912
|
}
|
|
814
|
-
interface
|
|
913
|
+
interface CancelOrderResponse {
|
|
815
914
|
}
|
|
816
915
|
/**
|
|
817
916
|
* Emitted when an order is canceled immediately or when cycle ends for an order with canceled auto renewal
|
|
@@ -822,6 +921,111 @@ interface OrderCanceled {
|
|
|
822
921
|
/** Canceled order. */
|
|
823
922
|
order?: Order;
|
|
824
923
|
}
|
|
924
|
+
interface MarkAsPaidRequest {
|
|
925
|
+
/**
|
|
926
|
+
* Order ID.
|
|
927
|
+
* @format GUID
|
|
928
|
+
*/
|
|
929
|
+
id: string;
|
|
930
|
+
}
|
|
931
|
+
interface MarkAsPaidResponse {
|
|
932
|
+
}
|
|
933
|
+
interface OrderMarkedAsPaid {
|
|
934
|
+
/** Order that was marked as paid. */
|
|
935
|
+
order?: Order;
|
|
936
|
+
}
|
|
937
|
+
interface PauseOrderRequest {
|
|
938
|
+
/**
|
|
939
|
+
* Order ID.
|
|
940
|
+
* @format GUID
|
|
941
|
+
*/
|
|
942
|
+
id: string;
|
|
943
|
+
}
|
|
944
|
+
interface PauseOrderResponse {
|
|
945
|
+
}
|
|
946
|
+
interface OrderPaused {
|
|
947
|
+
/** Paused order. */
|
|
948
|
+
order?: Order;
|
|
949
|
+
}
|
|
950
|
+
interface BulkPauseOrderRequest {
|
|
951
|
+
/**
|
|
952
|
+
* List of Order IDs.
|
|
953
|
+
* @format GUID
|
|
954
|
+
* @minSize 1
|
|
955
|
+
* @maxSize 100
|
|
956
|
+
*/
|
|
957
|
+
ids?: string[];
|
|
958
|
+
/** Set to true to return Order entity in response. */
|
|
959
|
+
returnFullEntity?: boolean;
|
|
960
|
+
}
|
|
961
|
+
interface BulkPauseOrderResponse {
|
|
962
|
+
/** Orders that were paused. */
|
|
963
|
+
results?: BulkOrderResult[];
|
|
964
|
+
/** Bulk action metadata. */
|
|
965
|
+
bulkActionMetadata?: BulkActionMetadata;
|
|
966
|
+
}
|
|
967
|
+
interface BulkOrderResult {
|
|
968
|
+
/** Item metadata */
|
|
969
|
+
itemMetadata?: ItemMetadata;
|
|
970
|
+
/** The order. */
|
|
971
|
+
order?: Order;
|
|
972
|
+
}
|
|
973
|
+
interface ItemMetadata {
|
|
974
|
+
/** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */
|
|
975
|
+
id?: string | null;
|
|
976
|
+
/** Index of the item within the request array. Allows for correlation between request and response items. */
|
|
977
|
+
originalIndex?: number;
|
|
978
|
+
/** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */
|
|
979
|
+
success?: boolean;
|
|
980
|
+
/** Details about the error in case of failure. */
|
|
981
|
+
error?: ApplicationError;
|
|
982
|
+
}
|
|
983
|
+
interface ApplicationError {
|
|
984
|
+
/** Error code. */
|
|
985
|
+
code?: string;
|
|
986
|
+
/** Description of the error. */
|
|
987
|
+
description?: string;
|
|
988
|
+
/** Data related to the error. */
|
|
989
|
+
data?: Record<string, any> | null;
|
|
990
|
+
}
|
|
991
|
+
interface BulkActionMetadata {
|
|
992
|
+
/** Number of items that were successfully processed. */
|
|
993
|
+
totalSuccesses?: number;
|
|
994
|
+
/** Number of items that couldn't be processed. */
|
|
995
|
+
totalFailures?: number;
|
|
996
|
+
/** Number of failures without details because detailed failure threshold was exceeded. */
|
|
997
|
+
undetailedFailures?: number;
|
|
998
|
+
}
|
|
999
|
+
interface ResumeOrderRequest {
|
|
1000
|
+
/**
|
|
1001
|
+
* Order ID.
|
|
1002
|
+
* @format GUID
|
|
1003
|
+
*/
|
|
1004
|
+
id: string;
|
|
1005
|
+
}
|
|
1006
|
+
interface ResumeOrderResponse {
|
|
1007
|
+
}
|
|
1008
|
+
interface OrderResumed {
|
|
1009
|
+
/** Resumed order. */
|
|
1010
|
+
order?: Order;
|
|
1011
|
+
}
|
|
1012
|
+
interface BulkResumeOrderRequest {
|
|
1013
|
+
/**
|
|
1014
|
+
* List of Order IDs.
|
|
1015
|
+
* @format GUID
|
|
1016
|
+
* @minSize 1
|
|
1017
|
+
* @maxSize 100
|
|
1018
|
+
*/
|
|
1019
|
+
ids?: string[];
|
|
1020
|
+
/** Set to true to return Order entity in response. */
|
|
1021
|
+
returnFullEntity?: boolean;
|
|
1022
|
+
}
|
|
1023
|
+
interface BulkResumeOrderResponse {
|
|
1024
|
+
/** Orders that were resumed. */
|
|
1025
|
+
results?: BulkOrderResult[];
|
|
1026
|
+
/** Bulk action metadata. */
|
|
1027
|
+
bulkActionMetadata?: BulkActionMetadata;
|
|
1028
|
+
}
|
|
825
1029
|
interface MessageEnvelope {
|
|
826
1030
|
/**
|
|
827
1031
|
* App instance ID.
|
|
@@ -894,21 +1098,115 @@ declare enum WebhookIdentityType {
|
|
|
894
1098
|
}
|
|
895
1099
|
/** @enumType */
|
|
896
1100
|
type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
897
|
-
interface
|
|
1101
|
+
interface AccountDetails {
|
|
898
1102
|
/**
|
|
899
|
-
*
|
|
1103
|
+
* ID of the account.
|
|
900
1104
|
* @format GUID
|
|
901
1105
|
*/
|
|
902
|
-
|
|
1106
|
+
accountId?: string | null;
|
|
903
1107
|
/**
|
|
904
|
-
*
|
|
905
|
-
*
|
|
906
|
-
* Default: Current date and time.
|
|
1108
|
+
* ID of the parent account.
|
|
1109
|
+
* @format GUID
|
|
907
1110
|
*/
|
|
908
|
-
|
|
1111
|
+
parentAccountId?: string | null;
|
|
909
1112
|
/**
|
|
910
|
-
*
|
|
911
|
-
* @
|
|
1113
|
+
* ID of the site, if applicable.
|
|
1114
|
+
* @format GUID
|
|
1115
|
+
*/
|
|
1116
|
+
siteId?: string | null;
|
|
1117
|
+
}
|
|
1118
|
+
interface MemberGetOrderRequest {
|
|
1119
|
+
/**
|
|
1120
|
+
* Order ID.
|
|
1121
|
+
* @format GUID
|
|
1122
|
+
*/
|
|
1123
|
+
id: string;
|
|
1124
|
+
/**
|
|
1125
|
+
* Predefined set of fields to return.
|
|
1126
|
+
*
|
|
1127
|
+
* Default: If `fieldSet` is omitted, no order form submission data is returned.
|
|
1128
|
+
*/
|
|
1129
|
+
fieldSet?: SetWithLiterals;
|
|
1130
|
+
}
|
|
1131
|
+
interface MemberGetOrderResponse {
|
|
1132
|
+
/** Requested order. */
|
|
1133
|
+
order?: Order;
|
|
1134
|
+
}
|
|
1135
|
+
interface MemberListOrdersRequest {
|
|
1136
|
+
/**
|
|
1137
|
+
* Filter by plan IDs.
|
|
1138
|
+
* @format GUID
|
|
1139
|
+
*/
|
|
1140
|
+
planIds?: string[];
|
|
1141
|
+
/** Filter for orders where auto renewal was canceled. */
|
|
1142
|
+
autoRenewCanceled?: boolean | null;
|
|
1143
|
+
/** Filter by order status. */
|
|
1144
|
+
orderStatuses?: OrderStatusWithLiterals[];
|
|
1145
|
+
/** Filter by payment status. */
|
|
1146
|
+
paymentStatuses?: PaymentStatusWithLiterals[];
|
|
1147
|
+
/**
|
|
1148
|
+
* Limit the number of pricing plans returned. Default limit is 50.
|
|
1149
|
+
* @min 1
|
|
1150
|
+
* @max 50
|
|
1151
|
+
*/
|
|
1152
|
+
limit?: number | null;
|
|
1153
|
+
/** Number of entries to offset. */
|
|
1154
|
+
offset?: number | null;
|
|
1155
|
+
/** Sorting direction (defaults to ASC) and field to sort by. */
|
|
1156
|
+
sorting?: Sorting;
|
|
1157
|
+
/**
|
|
1158
|
+
* Predefined set of fields to return.
|
|
1159
|
+
*
|
|
1160
|
+
* Default: If `fieldSet` is omitted, no order form submission data is returned.
|
|
1161
|
+
*/
|
|
1162
|
+
fieldSet?: SetWithLiterals;
|
|
1163
|
+
}
|
|
1164
|
+
interface MemberListOrdersResponse {
|
|
1165
|
+
/** Requested orders. */
|
|
1166
|
+
orders?: Order[];
|
|
1167
|
+
/** Object containing paging-related data (number of orders returned, offset). */
|
|
1168
|
+
pagingMetadata?: PagingMetadataV2;
|
|
1169
|
+
}
|
|
1170
|
+
/**
|
|
1171
|
+
* TODO: Write orders filter and sort docs page
|
|
1172
|
+
* Retrieves a list of up to 1,000 orders, based on the provided paging, sorting, and filtering.
|
|
1173
|
+
*/
|
|
1174
|
+
interface QueryOrdersRequest {
|
|
1175
|
+
/** Query filter. */
|
|
1176
|
+
query?: QueryV2;
|
|
1177
|
+
}
|
|
1178
|
+
interface QueryOrdersResponse {
|
|
1179
|
+
/** Order data. */
|
|
1180
|
+
plans?: Order[];
|
|
1181
|
+
/** Paging-related data (number of orders returned, offset). */
|
|
1182
|
+
pagingMetadata?: PagingMetadataV2;
|
|
1183
|
+
}
|
|
1184
|
+
interface RequestCancellationRequest {
|
|
1185
|
+
/**
|
|
1186
|
+
* Order ID.
|
|
1187
|
+
* @format GUID
|
|
1188
|
+
*/
|
|
1189
|
+
id: string;
|
|
1190
|
+
/** Required. Whether to cancel the order effective immediately or at the next payment date. One-time orders can only be canceled immediately. */
|
|
1191
|
+
effectiveAt: CancellationEffectiveAtWithLiterals;
|
|
1192
|
+
}
|
|
1193
|
+
interface RequestCancellationResponse {
|
|
1194
|
+
}
|
|
1195
|
+
interface CreateOnlineOrderRequest {
|
|
1196
|
+
/**
|
|
1197
|
+
* Plan ID.
|
|
1198
|
+
* @format GUID
|
|
1199
|
+
*/
|
|
1200
|
+
planId: string;
|
|
1201
|
+
/**
|
|
1202
|
+
* Start date and time for the plan of the online order in a `YYYY-MM-DDThh:mm[:ss][.sss]Z` format.
|
|
1203
|
+
*
|
|
1204
|
+
* Default: Current date and time.
|
|
1205
|
+
*/
|
|
1206
|
+
startDate?: Date | null;
|
|
1207
|
+
/**
|
|
1208
|
+
* Coupon code to apply.
|
|
1209
|
+
* @minLength 1
|
|
912
1210
|
* @maxLength 20
|
|
913
1211
|
*/
|
|
914
1212
|
couponCode?: string | null;
|
|
@@ -1021,469 +1319,188 @@ interface CreateOfflineOrderResponse {
|
|
|
1021
1319
|
/** Order. */
|
|
1022
1320
|
order?: Order;
|
|
1023
1321
|
}
|
|
1024
|
-
interface CreateExternalOrderRequest {
|
|
1025
|
-
/**
|
|
1026
|
-
* Plan ID.
|
|
1027
|
-
* @format GUID
|
|
1028
|
-
*/
|
|
1029
|
-
planId?: string;
|
|
1030
|
-
/**
|
|
1031
|
-
* Form submission id that was submitted together with the order
|
|
1032
|
-
* @format GUID
|
|
1033
|
-
*/
|
|
1034
|
-
submissionId?: string | null;
|
|
1035
|
-
}
|
|
1036
|
-
interface CreateExternalOrderResponse {
|
|
1037
|
-
/** Created order */
|
|
1038
|
-
order?: Order;
|
|
1039
|
-
}
|
|
1040
|
-
interface GetOnlineOrderPreviewRequest {
|
|
1041
|
-
/**
|
|
1042
|
-
* Plan ID.
|
|
1043
|
-
* @format GUID
|
|
1044
|
-
*/
|
|
1045
|
-
planId: string;
|
|
1046
|
-
/**
|
|
1047
|
-
* Start date and time for the plan of the order preview in a `YYYY-MM-DDThh:mm[:ss][.sss]Z` format.
|
|
1048
|
-
*
|
|
1049
|
-
* Default: Current date and time.
|
|
1050
|
-
*/
|
|
1051
|
-
startDate?: Date | null;
|
|
1052
|
-
/**
|
|
1053
|
-
* Coupon code to apply.
|
|
1054
|
-
* @minLength 1
|
|
1055
|
-
* @maxLength 20
|
|
1056
|
-
*/
|
|
1057
|
-
couponCode?: string | null;
|
|
1058
|
-
}
|
|
1059
|
-
interface GetOnlineOrderPreviewResponse {
|
|
1060
|
-
/** Order preview. This field is undefined if the member has already reached the purchase limit for the order's plan. */
|
|
1061
|
-
order?: Order;
|
|
1062
|
-
/** Whether the member has already reached purchase limit for the order's plan. */
|
|
1063
|
-
purchaseLimitExceeded?: boolean;
|
|
1064
|
-
}
|
|
1065
|
-
interface GetGuestOnlineOrderPreviewRequest {
|
|
1066
|
-
/**
|
|
1067
|
-
* Plan ID.
|
|
1068
|
-
* @format GUID
|
|
1069
|
-
*/
|
|
1070
|
-
planId?: string;
|
|
1071
|
-
/**
|
|
1072
|
-
* Start date for the ordered plan.
|
|
1073
|
-
*
|
|
1074
|
-
* Default: Current date
|
|
1075
|
-
*/
|
|
1076
|
-
startDate?: Date | null;
|
|
1077
|
-
/**
|
|
1078
|
-
* Coupon code to apply.
|
|
1079
|
-
* @minLength 1
|
|
1080
|
-
* @maxLength 20
|
|
1081
|
-
*/
|
|
1082
|
-
couponCode?: string | null;
|
|
1083
|
-
/**
|
|
1084
|
-
* Email for checkout
|
|
1085
|
-
* @format EMAIL
|
|
1086
|
-
*/
|
|
1087
|
-
email?: string;
|
|
1088
|
-
}
|
|
1089
|
-
interface GetGuestOnlineOrderPreviewResponse {
|
|
1090
|
-
/** Will be missing if limit is exceeded */
|
|
1091
|
-
order?: Order;
|
|
1092
|
-
/**
|
|
1093
|
-
* Whether the purchase limit has already been reached for this plan by this email.
|
|
1094
|
-
* Always false for plans without purchase limits.
|
|
1095
|
-
*/
|
|
1096
|
-
purchaseLimitExceeded?: boolean;
|
|
1097
|
-
}
|
|
1098
|
-
interface GetOfflineOrderPreviewRequest {
|
|
1099
|
-
/**
|
|
1100
|
-
* ID of the plan of the previewed order, from the Plans API.
|
|
1101
|
-
* @format GUID
|
|
1102
|
-
*/
|
|
1103
|
-
planId: string;
|
|
1104
|
-
/**
|
|
1105
|
-
* Member ID of the buyer the previewed order is for, from the Members API.
|
|
1106
|
-
* @format GUID
|
|
1107
|
-
*/
|
|
1108
|
-
memberId: string;
|
|
1109
|
-
/**
|
|
1110
|
-
* Start date and time for plan of the previewed order in a `YYYY-MM-DDThh:mm[:ss][.sss]Z` format.
|
|
1111
|
-
*
|
|
1112
|
-
* Default: Current date and time.
|
|
1113
|
-
*/
|
|
1114
|
-
startDate?: Date | null;
|
|
1115
|
-
/**
|
|
1116
|
-
* Coupon code to apply, from the Coupons API.
|
|
1117
|
-
* @minLength 1
|
|
1118
|
-
* @maxLength 20
|
|
1119
|
-
*/
|
|
1120
|
-
couponCode?: string | null;
|
|
1121
|
-
}
|
|
1122
|
-
interface GetOfflineOrderPreviewResponse {
|
|
1123
|
-
/** The previewed order, as if the plan had been ordered. */
|
|
1124
|
-
order?: Order;
|
|
1125
|
-
/**
|
|
1126
|
-
* Whether this previewed order would exceed the permitted amount of purchases available
|
|
1127
|
-
* for this plan for this buyer.
|
|
1128
|
-
*
|
|
1129
|
-
* Always `false` for plans that do not have purchase limits.
|
|
1130
|
-
*/
|
|
1131
|
-
purchaseLimitExceeded?: boolean;
|
|
1132
|
-
}
|
|
1133
|
-
interface GetPricePreviewRequest {
|
|
1134
|
-
/**
|
|
1135
|
-
* ID of plan to preview.
|
|
1136
|
-
* @format GUID
|
|
1137
|
-
*/
|
|
1138
|
-
planId: string;
|
|
1139
|
-
/**
|
|
1140
|
-
* Coupon code to apply, from the Coupons API.
|
|
1141
|
-
* @minLength 1
|
|
1142
|
-
* @maxLength 20
|
|
1143
|
-
*/
|
|
1144
|
-
couponCode?: string | null;
|
|
1145
|
-
}
|
|
1146
|
-
interface GetPricePreviewResponse {
|
|
1147
|
-
/**
|
|
1148
|
-
* __Deprecated.__ Use `prices` instead. This property will be removed on September 30, 2022.
|
|
1149
|
-
* @deprecated __Deprecated.__ Use `prices` instead. This property will be removed on September 30, 2022.
|
|
1150
|
-
* @replacedBy prices
|
|
1151
|
-
* @targetRemovalDate 2022-10-01
|
|
1152
|
-
*/
|
|
1153
|
-
price?: PriceDetails;
|
|
1154
|
-
/** Pricing details. */
|
|
1155
|
-
prices?: SpannedPrice[];
|
|
1156
|
-
}
|
|
1157
|
-
interface ChangeStartDateRequest {
|
|
1158
|
-
/**
|
|
1159
|
-
* Draft order ID.
|
|
1160
|
-
* @format GUID
|
|
1161
|
-
*/
|
|
1162
|
-
orderId?: string;
|
|
1163
|
-
/** New valid from date (timestamp). */
|
|
1164
|
-
startDate?: Date | null;
|
|
1165
|
-
}
|
|
1166
|
-
interface ChangeStartDateResponse {
|
|
1167
|
-
/** Updated draft order. */
|
|
1168
|
-
order?: Order;
|
|
1169
|
-
}
|
|
1170
|
-
interface OrderStartDateChanged {
|
|
1171
|
-
/** Order whose `startDate` changed. */
|
|
1172
|
-
order?: Order;
|
|
1173
|
-
}
|
|
1174
|
-
interface ApplyCouponRequest {
|
|
1175
|
-
/**
|
|
1176
|
-
* Draft order ID.
|
|
1177
|
-
* @format GUID
|
|
1178
|
-
*/
|
|
1179
|
-
orderId?: string;
|
|
1180
|
-
/**
|
|
1181
|
-
* Coupon code to apply.
|
|
1182
|
-
* @minLength 1
|
|
1183
|
-
* @maxLength 20
|
|
1184
|
-
*/
|
|
1185
|
-
couponCode?: string;
|
|
1186
|
-
}
|
|
1187
|
-
interface ApplyCouponResponse {
|
|
1188
|
-
/** Order with applied coupon and recalculated tax. */
|
|
1189
|
-
order?: Order;
|
|
1190
|
-
}
|
|
1191
|
-
interface SetSubmissionRequest {
|
|
1192
|
-
/**
|
|
1193
|
-
* Order ID.
|
|
1194
|
-
* @format GUID
|
|
1195
|
-
*/
|
|
1196
|
-
orderId?: string;
|
|
1197
|
-
/**
|
|
1198
|
-
* Submission ID.
|
|
1199
|
-
* @format GUID
|
|
1200
|
-
*/
|
|
1201
|
-
submissionId?: string;
|
|
1202
|
-
}
|
|
1203
|
-
interface SetSubmissionResponse {
|
|
1204
|
-
/** Order with submission id */
|
|
1205
|
-
order?: Order;
|
|
1206
|
-
}
|
|
1207
|
-
interface OrderPurchased {
|
|
1208
|
-
/** Order that was paid for. If a free or an offline order, the order that was created. */
|
|
1209
|
-
order?: Order;
|
|
1210
|
-
}
|
|
1211
|
-
interface OrderStarted {
|
|
1212
|
-
/** Order that reached its `startDate`. */
|
|
1213
|
-
order?: Order;
|
|
1214
|
-
}
|
|
1215
|
-
/**
|
|
1216
|
-
* Triggered at the start of a new payment cycle for an existing order.
|
|
1217
|
-
*
|
|
1218
|
-
* This webhook does not trigger at the initial start of an offline order.
|
|
1219
|
-
*/
|
|
1220
|
-
interface OrderCycleStarted {
|
|
1221
|
-
/** Order whose new cycle started. */
|
|
1222
|
-
order?: Order;
|
|
1223
|
-
/** Number of the payment cycle will be 0 when the order is in the free trial period. In other cases, the cycle number starts from 1. */
|
|
1224
|
-
cycleNumber?: number;
|
|
1225
|
-
}
|
|
1226
|
-
/** Emitted when a recurring order is canceled for the next payment cycle */
|
|
1227
|
-
interface OrderAutoRenewCanceled {
|
|
1228
|
-
/** Order that is canceled, effective at the end of the current payment cycle. */
|
|
1229
|
-
order?: Order;
|
|
1230
|
-
}
|
|
1231
|
-
interface OrderEnded {
|
|
1232
|
-
/** Order that ended. */
|
|
1233
|
-
order?: Order;
|
|
1234
|
-
}
|
|
1235
|
-
interface GetOrderRequest {
|
|
1236
|
-
/**
|
|
1237
|
-
* Order ID.
|
|
1238
|
-
* @format GUID
|
|
1239
|
-
*/
|
|
1240
|
-
id: string;
|
|
1241
|
-
/**
|
|
1242
|
-
* Predefined set of fields to return.
|
|
1243
|
-
*
|
|
1244
|
-
* Default: If `fieldSet` is omitted, no order form submission data is returned.
|
|
1245
|
-
*/
|
|
1246
|
-
fieldSet?: SetWithLiterals;
|
|
1247
|
-
}
|
|
1248
|
-
interface GetOrderResponse {
|
|
1249
|
-
/** Order. */
|
|
1250
|
-
order?: Order;
|
|
1251
|
-
}
|
|
1252
|
-
interface ListOrdersRequest {
|
|
1253
|
-
/**
|
|
1254
|
-
* Filter by a buyer's member ID, from the Members API.
|
|
1255
|
-
* @format GUID
|
|
1256
|
-
*/
|
|
1257
|
-
buyerIds?: string[];
|
|
1258
|
-
/**
|
|
1259
|
-
* Filter by plan IDs, from the Plans API.
|
|
1260
|
-
* @format GUID
|
|
1261
|
-
*/
|
|
1262
|
-
planIds?: string[];
|
|
1263
|
-
/** Filter by whether or not the auto-renewal of recurring orders was canceled. */
|
|
1264
|
-
autoRenewCanceled?: boolean | null;
|
|
1265
|
-
/** Filter by order status. */
|
|
1266
|
-
orderStatuses?: OrderStatusWithLiterals[];
|
|
1267
|
-
/** Filter by payment status. */
|
|
1268
|
-
paymentStatuses?: PaymentStatusWithLiterals[];
|
|
1269
|
-
/**
|
|
1270
|
-
* Number of orders to return. See Sorting and Paging for more information.
|
|
1271
|
-
*
|
|
1272
|
-
* Max: `50`
|
|
1273
|
-
* @min 1
|
|
1274
|
-
* @max 50
|
|
1275
|
-
*/
|
|
1276
|
-
limit?: number | null;
|
|
1277
|
-
/** Number of orders to skip in the current sort order. */
|
|
1278
|
-
offset?: number | null;
|
|
1279
|
-
/**
|
|
1280
|
-
* Sort order.
|
|
1281
|
-
*
|
|
1282
|
-
* Use `ASC` for ascending order or `DESC` for descending order.
|
|
1283
|
-
*
|
|
1284
|
-
* Default: `DESC`.
|
|
1285
|
-
*/
|
|
1286
|
-
sorting?: Sorting;
|
|
1287
|
-
/**
|
|
1288
|
-
* Predefined set of fields to return.
|
|
1289
|
-
*
|
|
1290
|
-
* Default: If `fieldSet` is omitted, no order form submission data is returned.
|
|
1291
|
-
*/
|
|
1292
|
-
fieldSet?: SetWithLiterals;
|
|
1293
|
-
}
|
|
1294
|
-
interface ListOrdersResponse {
|
|
1295
|
-
/** List of orders. */
|
|
1296
|
-
orders?: Order[];
|
|
1297
|
-
/** Object containing paging-related data (number of orders returned, offset). */
|
|
1298
|
-
pagingMetadata?: PagingMetadataV2;
|
|
1299
|
-
}
|
|
1300
|
-
interface OrdersQueryOrdersRequest {
|
|
1301
|
-
/** Query filter. */
|
|
1302
|
-
query?: QueryV2;
|
|
1303
|
-
}
|
|
1304
|
-
interface OrdersQueryOrdersResponse {
|
|
1305
|
-
/** Retrieved orders. */
|
|
1306
|
-
plans?: Order[];
|
|
1307
|
-
/** Paging-related data (number of orders returned, offset). */
|
|
1308
|
-
pagingMetadata?: PagingMetadataV2;
|
|
1309
|
-
}
|
|
1310
|
-
interface GetOrdersStatsRequest {
|
|
1311
|
-
}
|
|
1312
|
-
interface GetOrdersStatsResponse {
|
|
1313
|
-
/** Total number of orders. */
|
|
1314
|
-
totalOrderCount?: number;
|
|
1315
|
-
/** Number of active orders. */
|
|
1316
|
-
activeOrderCount?: number;
|
|
1317
|
-
}
|
|
1318
|
-
interface GetAvailableOrderActionsRequest {
|
|
1319
|
-
/**
|
|
1320
|
-
* Order ID.
|
|
1321
|
-
* @format GUID
|
|
1322
|
-
*/
|
|
1323
|
-
id?: string;
|
|
1324
|
-
}
|
|
1325
|
-
interface GetAvailableOrderActionsResponse {
|
|
1326
|
-
/** Whether the order can be suspended. */
|
|
1327
|
-
suspendable?: boolean;
|
|
1328
|
-
/** If the order cannot be suspended, a reason is returned here. */
|
|
1329
|
-
notSuspendableReason?: ReasonNotSuspendableWithLiterals;
|
|
1330
|
-
/** Whether the order can be canceled by the buyer. */
|
|
1331
|
-
cancelableByBuyer?: boolean;
|
|
1332
|
-
}
|
|
1333
|
-
declare enum ReasonNotSuspendable {
|
|
1334
|
-
/** Undefined reason. */
|
|
1335
|
-
UNDEFINED = "UNDEFINED",
|
|
1336
|
-
/** Saved in the database but is awaiting payment. Non-active orders can't be suspended. */
|
|
1337
|
-
PENDING = "PENDING",
|
|
1338
|
-
/** Trial orders can't be suspended. */
|
|
1339
|
-
TRIAL = "TRIAL",
|
|
1340
|
-
/** Canceled orders can't be suspended. */
|
|
1341
|
-
CANCELED = "CANCELED",
|
|
1342
|
-
/** Ended orders can't be suspended. */
|
|
1343
|
-
ENDED = "ENDED",
|
|
1344
|
-
/** Paid for orders with future start dates can't be suspended. */
|
|
1345
|
-
NOT_STARTED = "NOT_STARTED",
|
|
1346
|
-
/** Order is already suspended. */
|
|
1347
|
-
ALREADY_SUSPENDED = "ALREADY_SUSPENDED",
|
|
1348
|
-
/** Orders based on recurring payments using older stripe versions can't be suspended. */
|
|
1349
|
-
OLD_STRIPE = "OLD_STRIPE"
|
|
1350
|
-
}
|
|
1351
|
-
/** @enumType */
|
|
1352
|
-
type ReasonNotSuspendableWithLiterals = ReasonNotSuspendable | 'UNDEFINED' | 'PENDING' | 'TRIAL' | 'CANCELED' | 'ENDED' | 'NOT_STARTED' | 'ALREADY_SUSPENDED' | 'OLD_STRIPE';
|
|
1353
|
-
interface PostponeEndDateRequest {
|
|
1322
|
+
interface CreateExternalOrderRequest {
|
|
1354
1323
|
/**
|
|
1355
|
-
*
|
|
1324
|
+
* Plan ID.
|
|
1356
1325
|
* @format GUID
|
|
1357
1326
|
*/
|
|
1358
|
-
|
|
1327
|
+
planId?: string;
|
|
1359
1328
|
/**
|
|
1360
|
-
*
|
|
1361
|
-
*
|
|
1362
|
-
* Must be later than the current end date and time.
|
|
1329
|
+
* Form submission id that was submitted together with the order
|
|
1330
|
+
* @format GUID
|
|
1363
1331
|
*/
|
|
1364
|
-
|
|
1365
|
-
}
|
|
1366
|
-
interface PostponeEndDateResponse {
|
|
1332
|
+
submissionId?: string | null;
|
|
1367
1333
|
}
|
|
1368
|
-
interface
|
|
1369
|
-
/**
|
|
1334
|
+
interface CreateExternalOrderResponse {
|
|
1335
|
+
/** Created order */
|
|
1370
1336
|
order?: Order;
|
|
1371
1337
|
}
|
|
1372
|
-
interface
|
|
1338
|
+
interface GetOnlineOrderPreviewRequest {
|
|
1373
1339
|
/**
|
|
1374
|
-
*
|
|
1340
|
+
* Plan ID.
|
|
1375
1341
|
* @format GUID
|
|
1376
1342
|
*/
|
|
1377
|
-
|
|
1378
|
-
/**
|
|
1379
|
-
|
|
1343
|
+
planId: string;
|
|
1344
|
+
/**
|
|
1345
|
+
* Start date and time for the plan of the order preview in a `YYYY-MM-DDThh:mm[:ss][.sss]Z` format.
|
|
1346
|
+
*
|
|
1347
|
+
* Default: Current date and time.
|
|
1348
|
+
*/
|
|
1349
|
+
startDate?: Date | null;
|
|
1350
|
+
/**
|
|
1351
|
+
* Coupon code to apply.
|
|
1352
|
+
* @minLength 1
|
|
1353
|
+
* @maxLength 20
|
|
1354
|
+
*/
|
|
1355
|
+
couponCode?: string | null;
|
|
1380
1356
|
}
|
|
1381
|
-
interface
|
|
1357
|
+
interface GetOnlineOrderPreviewResponse {
|
|
1358
|
+
/** Order preview. This field is undefined if the member has already reached the purchase limit for the order's plan. */
|
|
1359
|
+
order?: Order;
|
|
1360
|
+
/** Whether the member has already reached purchase limit for the order's plan. */
|
|
1361
|
+
purchaseLimitExceeded?: boolean;
|
|
1382
1362
|
}
|
|
1383
|
-
interface
|
|
1363
|
+
interface GetGuestOnlineOrderPreviewRequest {
|
|
1384
1364
|
/**
|
|
1385
|
-
*
|
|
1365
|
+
* Plan ID.
|
|
1386
1366
|
* @format GUID
|
|
1387
1367
|
*/
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1368
|
+
planId?: string;
|
|
1369
|
+
/**
|
|
1370
|
+
* Start date for the ordered plan.
|
|
1371
|
+
*
|
|
1372
|
+
* Default: Current date
|
|
1373
|
+
*/
|
|
1374
|
+
startDate?: Date | null;
|
|
1375
|
+
/**
|
|
1376
|
+
* Coupon code to apply.
|
|
1377
|
+
* @minLength 1
|
|
1378
|
+
* @maxLength 20
|
|
1379
|
+
*/
|
|
1380
|
+
couponCode?: string | null;
|
|
1381
|
+
/**
|
|
1382
|
+
* Email for checkout
|
|
1383
|
+
* @format EMAIL
|
|
1384
|
+
*/
|
|
1385
|
+
email?: string;
|
|
1391
1386
|
}
|
|
1392
|
-
interface
|
|
1393
|
-
/**
|
|
1387
|
+
interface GetGuestOnlineOrderPreviewResponse {
|
|
1388
|
+
/** Will be missing if limit is exceeded */
|
|
1394
1389
|
order?: Order;
|
|
1390
|
+
/**
|
|
1391
|
+
* Whether the purchase limit has already been reached for this plan by this email.
|
|
1392
|
+
* Always false for plans without purchase limits.
|
|
1393
|
+
*/
|
|
1394
|
+
purchaseLimitExceeded?: boolean;
|
|
1395
1395
|
}
|
|
1396
|
-
interface
|
|
1396
|
+
interface GetOfflineOrderPreviewRequest {
|
|
1397
1397
|
/**
|
|
1398
|
-
*
|
|
1398
|
+
* ID of the plan of the previewed order, from the Plans API.
|
|
1399
1399
|
* @format GUID
|
|
1400
1400
|
*/
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1401
|
+
planId: string;
|
|
1402
|
+
/**
|
|
1403
|
+
* Member ID of the buyer the previewed order is for, from the Members API.
|
|
1404
|
+
* @format GUID
|
|
1405
|
+
*/
|
|
1406
|
+
memberId: string;
|
|
1407
|
+
/**
|
|
1408
|
+
* Start date and time for plan of the previewed order in a `YYYY-MM-DDThh:mm[:ss][.sss]Z` format.
|
|
1409
|
+
*
|
|
1410
|
+
* Default: Current date and time.
|
|
1411
|
+
*/
|
|
1412
|
+
startDate?: Date | null;
|
|
1413
|
+
/**
|
|
1414
|
+
* Coupon code to apply, from the Coupons API.
|
|
1415
|
+
* @minLength 1
|
|
1416
|
+
* @maxLength 20
|
|
1417
|
+
*/
|
|
1418
|
+
couponCode?: string | null;
|
|
1404
1419
|
}
|
|
1405
|
-
interface
|
|
1406
|
-
/**
|
|
1420
|
+
interface GetOfflineOrderPreviewResponse {
|
|
1421
|
+
/** The previewed order, as if the plan had been ordered. */
|
|
1407
1422
|
order?: Order;
|
|
1423
|
+
/**
|
|
1424
|
+
* Whether this previewed order would exceed the permitted amount of purchases available
|
|
1425
|
+
* for this plan for this buyer.
|
|
1426
|
+
*
|
|
1427
|
+
* Always `false` for plans that do not have purchase limits.
|
|
1428
|
+
*/
|
|
1429
|
+
purchaseLimitExceeded?: boolean;
|
|
1408
1430
|
}
|
|
1409
|
-
interface
|
|
1431
|
+
interface GetPricePreviewRequest {
|
|
1410
1432
|
/**
|
|
1411
|
-
*
|
|
1433
|
+
* ID of plan to preview.
|
|
1412
1434
|
* @format GUID
|
|
1413
|
-
* @minSize 1
|
|
1414
|
-
* @maxSize 100
|
|
1415
1435
|
*/
|
|
1416
|
-
|
|
1417
|
-
/**
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
/** Bulk action metadata. */
|
|
1424
|
-
bulkActionMetadata?: BulkActionMetadata;
|
|
1436
|
+
planId: string;
|
|
1437
|
+
/**
|
|
1438
|
+
* Coupon code to apply, from the Coupons API.
|
|
1439
|
+
* @minLength 1
|
|
1440
|
+
* @maxLength 20
|
|
1441
|
+
*/
|
|
1442
|
+
couponCode?: string | null;
|
|
1425
1443
|
}
|
|
1426
|
-
interface
|
|
1427
|
-
/**
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1444
|
+
interface GetPricePreviewResponse {
|
|
1445
|
+
/**
|
|
1446
|
+
* __Deprecated.__ Use `prices` instead. This property will be removed on September 30, 2022.
|
|
1447
|
+
* @deprecated __Deprecated.__ Use `prices` instead. This property will be removed on September 30, 2022.
|
|
1448
|
+
* @replacedBy prices
|
|
1449
|
+
* @targetRemovalDate 2022-10-01
|
|
1450
|
+
*/
|
|
1451
|
+
price?: PriceDetails;
|
|
1452
|
+
/** Pricing details. */
|
|
1453
|
+
prices?: SpannedPrice[];
|
|
1431
1454
|
}
|
|
1432
|
-
interface
|
|
1433
|
-
/**
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
error?: ApplicationError;
|
|
1455
|
+
interface ChangeStartDateRequest {
|
|
1456
|
+
/**
|
|
1457
|
+
* Draft order ID.
|
|
1458
|
+
* @format GUID
|
|
1459
|
+
*/
|
|
1460
|
+
orderId?: string;
|
|
1461
|
+
/** New valid from date (timestamp). */
|
|
1462
|
+
startDate?: Date | null;
|
|
1441
1463
|
}
|
|
1442
|
-
interface
|
|
1443
|
-
/**
|
|
1444
|
-
|
|
1445
|
-
/** Description of the error. */
|
|
1446
|
-
description?: string;
|
|
1447
|
-
/** Data related to the error. */
|
|
1448
|
-
data?: Record<string, any> | null;
|
|
1464
|
+
interface ChangeStartDateResponse {
|
|
1465
|
+
/** Updated draft order. */
|
|
1466
|
+
order?: Order;
|
|
1449
1467
|
}
|
|
1450
|
-
interface
|
|
1451
|
-
/**
|
|
1452
|
-
|
|
1453
|
-
/** Number of items that couldn't be processed. */
|
|
1454
|
-
totalFailures?: number;
|
|
1455
|
-
/** Number of failures without details because detailed failure threshold was exceeded. */
|
|
1456
|
-
undetailedFailures?: number;
|
|
1468
|
+
interface OrderStartDateChanged {
|
|
1469
|
+
/** Order whose `startDate` changed. */
|
|
1470
|
+
order?: Order;
|
|
1457
1471
|
}
|
|
1458
|
-
interface
|
|
1472
|
+
interface ApplyCouponRequest {
|
|
1459
1473
|
/**
|
|
1460
|
-
*
|
|
1474
|
+
* Draft order ID.
|
|
1461
1475
|
* @format GUID
|
|
1462
1476
|
*/
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1477
|
+
orderId?: string;
|
|
1478
|
+
/**
|
|
1479
|
+
* Coupon code to apply.
|
|
1480
|
+
* @minLength 1
|
|
1481
|
+
* @maxLength 20
|
|
1482
|
+
*/
|
|
1483
|
+
couponCode?: string;
|
|
1466
1484
|
}
|
|
1467
|
-
interface
|
|
1468
|
-
/**
|
|
1485
|
+
interface ApplyCouponResponse {
|
|
1486
|
+
/** Order with applied coupon and recalculated tax. */
|
|
1469
1487
|
order?: Order;
|
|
1470
1488
|
}
|
|
1471
|
-
interface
|
|
1489
|
+
interface SetSubmissionRequest {
|
|
1472
1490
|
/**
|
|
1473
|
-
*
|
|
1491
|
+
* Order ID.
|
|
1474
1492
|
* @format GUID
|
|
1475
|
-
* @minSize 1
|
|
1476
|
-
* @maxSize 100
|
|
1477
1493
|
*/
|
|
1478
|
-
|
|
1479
|
-
/**
|
|
1480
|
-
|
|
1494
|
+
orderId?: string;
|
|
1495
|
+
/**
|
|
1496
|
+
* Submission ID.
|
|
1497
|
+
* @format GUID
|
|
1498
|
+
*/
|
|
1499
|
+
submissionId?: string;
|
|
1481
1500
|
}
|
|
1482
|
-
interface
|
|
1483
|
-
/**
|
|
1484
|
-
|
|
1485
|
-
/** Bulk action metadata. */
|
|
1486
|
-
bulkActionMetadata?: BulkActionMetadata;
|
|
1501
|
+
interface SetSubmissionResponse {
|
|
1502
|
+
/** Order with submission id */
|
|
1503
|
+
order?: Order;
|
|
1487
1504
|
}
|
|
1488
1505
|
/** @docsIgnore */
|
|
1489
1506
|
type CreateOnlineOrderApplicationErrors = {
|
|
@@ -1792,18 +1809,6 @@ type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q
|
|
|
1792
1809
|
__responseType: Q;
|
|
1793
1810
|
__originalResponseType: R;
|
|
1794
1811
|
};
|
|
1795
|
-
declare function memberGetOrder(): __PublicMethodMetaInfo<'GET', {
|
|
1796
|
-
id: string;
|
|
1797
|
-
}, MemberGetOrderRequest$1, MemberGetOrderRequest, MemberGetOrderResponse$1, MemberGetOrderResponse>;
|
|
1798
|
-
declare function memberListOrders(): __PublicMethodMetaInfo<'GET', {}, MemberListOrdersRequest$1, MemberListOrdersRequest, MemberListOrdersResponse$1, MemberListOrdersResponse>;
|
|
1799
|
-
declare function requestCancellation(): __PublicMethodMetaInfo<'POST', {
|
|
1800
|
-
id: string;
|
|
1801
|
-
}, RequestCancellationRequest$1, RequestCancellationRequest, RequestCancellationResponse$1, RequestCancellationResponse>;
|
|
1802
|
-
declare function createOnlineOrder(): __PublicMethodMetaInfo<'POST', {}, CreateOnlineOrderRequest$1, CreateOnlineOrderRequest, CreateOnlineOrderResponse$1, CreateOnlineOrderResponse>;
|
|
1803
|
-
declare function createOfflineOrder(): __PublicMethodMetaInfo<'POST', {}, CreateOfflineOrderRequest$1, CreateOfflineOrderRequest, CreateOfflineOrderResponse$1, CreateOfflineOrderResponse>;
|
|
1804
|
-
declare function getOnlineOrderPreview(): __PublicMethodMetaInfo<'POST', {}, GetOnlineOrderPreviewRequest$1, GetOnlineOrderPreviewRequest, GetOnlineOrderPreviewResponse$1, GetOnlineOrderPreviewResponse>;
|
|
1805
|
-
declare function getOfflineOrderPreview(): __PublicMethodMetaInfo<'POST', {}, GetOfflineOrderPreviewRequest$1, GetOfflineOrderPreviewRequest, GetOfflineOrderPreviewResponse$1, GetOfflineOrderPreviewResponse>;
|
|
1806
|
-
declare function getPricePreview(): __PublicMethodMetaInfo<'POST', {}, GetPricePreviewRequest$1, GetPricePreviewRequest, GetPricePreviewResponse$1, GetPricePreviewResponse>;
|
|
1807
1812
|
declare function managementGetOrder(): __PublicMethodMetaInfo<'GET', {
|
|
1808
1813
|
id: string;
|
|
1809
1814
|
}, GetOrderRequest$1, GetOrderRequest, GetOrderResponse$1, GetOrderResponse>;
|
|
@@ -1823,5 +1828,17 @@ declare function pauseOrder(): __PublicMethodMetaInfo<'POST', {
|
|
|
1823
1828
|
declare function resumeOrder(): __PublicMethodMetaInfo<'POST', {
|
|
1824
1829
|
id: string;
|
|
1825
1830
|
}, ResumeOrderRequest$1, ResumeOrderRequest, ResumeOrderResponse$1, ResumeOrderResponse>;
|
|
1831
|
+
declare function memberGetOrder(): __PublicMethodMetaInfo<'GET', {
|
|
1832
|
+
id: string;
|
|
1833
|
+
}, MemberGetOrderRequest$1, MemberGetOrderRequest, MemberGetOrderResponse$1, MemberGetOrderResponse>;
|
|
1834
|
+
declare function memberListOrders(): __PublicMethodMetaInfo<'GET', {}, MemberListOrdersRequest$1, MemberListOrdersRequest, MemberListOrdersResponse$1, MemberListOrdersResponse>;
|
|
1835
|
+
declare function requestCancellation(): __PublicMethodMetaInfo<'POST', {
|
|
1836
|
+
id: string;
|
|
1837
|
+
}, RequestCancellationRequest$1, RequestCancellationRequest, RequestCancellationResponse$1, RequestCancellationResponse>;
|
|
1838
|
+
declare function createOnlineOrder(): __PublicMethodMetaInfo<'POST', {}, CreateOnlineOrderRequest$1, CreateOnlineOrderRequest, CreateOnlineOrderResponse$1, CreateOnlineOrderResponse>;
|
|
1839
|
+
declare function createOfflineOrder(): __PublicMethodMetaInfo<'POST', {}, CreateOfflineOrderRequest$1, CreateOfflineOrderRequest, CreateOfflineOrderResponse$1, CreateOfflineOrderResponse>;
|
|
1840
|
+
declare function getOnlineOrderPreview(): __PublicMethodMetaInfo<'POST', {}, GetOnlineOrderPreviewRequest$1, GetOnlineOrderPreviewRequest, GetOnlineOrderPreviewResponse$1, GetOnlineOrderPreviewResponse>;
|
|
1841
|
+
declare function getOfflineOrderPreview(): __PublicMethodMetaInfo<'POST', {}, GetOfflineOrderPreviewRequest$1, GetOfflineOrderPreviewRequest, GetOfflineOrderPreviewResponse$1, GetOfflineOrderPreviewResponse>;
|
|
1842
|
+
declare function getPricePreview(): __PublicMethodMetaInfo<'POST', {}, GetPricePreviewRequest$1, GetPricePreviewRequest, GetPricePreviewResponse$1, GetPricePreviewResponse>;
|
|
1826
1843
|
|
|
1827
|
-
export { type ActionEvent as ActionEventOriginal, type ApplicationError as ApplicationErrorOriginal, type ApplyCouponRequest as ApplyCouponRequestOriginal, type ApplyCouponResponse as ApplyCouponResponseOriginal, type BulkActionMetadata as BulkActionMetadataOriginal, type BulkOrderResult as BulkOrderResultOriginal, type BulkPauseOrderRequest as BulkPauseOrderRequestOriginal, type BulkPauseOrderResponse as BulkPauseOrderResponseOriginal, type BulkResumeOrderRequest as BulkResumeOrderRequestOriginal, type BulkResumeOrderResponse as BulkResumeOrderResponseOriginal, type Buyer as BuyerOriginal, type CancelOrderRequest as CancelOrderRequestOriginal, type CancelOrderResponse as CancelOrderResponseOriginal, CancellationCause as CancellationCauseOriginal, type CancellationCauseWithLiterals as CancellationCauseWithLiteralsOriginal, CancellationEffectiveAt as CancellationEffectiveAtOriginal, type CancellationEffectiveAtWithLiterals as CancellationEffectiveAtWithLiteralsOriginal, type Cancellation as CancellationOriginal, type Captcha as CaptchaOriginal, type ChangeStartDateRequest as ChangeStartDateRequestOriginal, type ChangeStartDateResponse as ChangeStartDateResponseOriginal, type Coupon as CouponOriginal, type CouponsError as CouponsErrorOriginal, type CreateExternalOrderRequest as CreateExternalOrderRequestOriginal, type CreateExternalOrderResponse as CreateExternalOrderResponseOriginal, type CreateGuestOnlineOrderRequest as CreateGuestOnlineOrderRequestOriginal, type CreateGuestOnlineOrderResponse as CreateGuestOnlineOrderResponseOriginal, type CreateOfflineOrderApplicationErrors as CreateOfflineOrderApplicationErrorsOriginal, type CreateOfflineOrderRequest as CreateOfflineOrderRequestOriginal, type CreateOfflineOrderResponse as CreateOfflineOrderResponseOriginal, type CreateOfflineOrderValidationErrors as CreateOfflineOrderValidationErrorsOriginal, type CreateOnlineOrderApplicationErrors as CreateOnlineOrderApplicationErrorsOriginal, type CreateOnlineOrderRequest as CreateOnlineOrderRequestOriginal, type CreateOnlineOrderResponse as CreateOnlineOrderResponseOriginal, type CreateOnlineOrderValidationErrors as CreateOnlineOrderValidationErrorsOriginal, type CurrentCycle as CurrentCycleOriginal, type CursorPaging as CursorPagingOriginal, type Cursors as CursorsOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type Duration as DurationOriginal, type Empty as EmptyOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type Fee as FeeOriginal, type FormData as FormDataOriginal, type GetAvailableOrderActionsRequest as GetAvailableOrderActionsRequestOriginal, type GetAvailableOrderActionsResponse as GetAvailableOrderActionsResponseOriginal, type GetGuestOnlineOrderPreviewRequest as GetGuestOnlineOrderPreviewRequestOriginal, type GetGuestOnlineOrderPreviewResponse as GetGuestOnlineOrderPreviewResponseOriginal, type GetOfflineOrderPreviewApplicationErrors as GetOfflineOrderPreviewApplicationErrorsOriginal, type GetOfflineOrderPreviewRequest as GetOfflineOrderPreviewRequestOriginal, type GetOfflineOrderPreviewResponse as GetOfflineOrderPreviewResponseOriginal, type GetOfflineOrderPreviewValidationErrors as GetOfflineOrderPreviewValidationErrorsOriginal, type GetOnlineOrderPreviewApplicationErrors as GetOnlineOrderPreviewApplicationErrorsOriginal, type GetOnlineOrderPreviewRequest as GetOnlineOrderPreviewRequestOriginal, type GetOnlineOrderPreviewResponse as GetOnlineOrderPreviewResponseOriginal, type GetOnlineOrderPreviewValidationErrors as GetOnlineOrderPreviewValidationErrorsOriginal, type GetOrderRequest as GetOrderRequestOriginal, type GetOrderResponse as GetOrderResponseOriginal, type GetOrdersStatsRequest as GetOrdersStatsRequestOriginal, type GetOrdersStatsResponse as GetOrdersStatsResponseOriginal, type GetPricePreviewApplicationErrors as GetPricePreviewApplicationErrorsOriginal, type GetPricePreviewRequest as GetPricePreviewRequestOriginal, type GetPricePreviewResponse as GetPricePreviewResponseOriginal, type Guest as GuestOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type ItemMetadata as ItemMetadataOriginal, type ListOrdersRequest as ListOrdersRequestOriginal, type ListOrdersResponse as ListOrdersResponseOriginal, type MarkAsPaidRequest as MarkAsPaidRequestOriginal, type MarkAsPaidResponse as MarkAsPaidResponseOriginal, type MemberGetOrderRequest as MemberGetOrderRequestOriginal, type MemberGetOrderResponse as MemberGetOrderResponseOriginal, type MemberListOrdersRequest as MemberListOrdersRequestOriginal, type MemberListOrdersResponse as MemberListOrdersResponseOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type OnBehalf as OnBehalfOriginal, type OrderAutoRenewCanceled as OrderAutoRenewCanceledOriginal, type OrderCanceled as OrderCanceledOriginal, type OrderCycle as OrderCycleOriginal, type OrderCycleStarted as OrderCycleStartedOriginal, type OrderEndDatePostponed as OrderEndDatePostponedOriginal, type OrderEnded as OrderEndedOriginal, type OrderMarkedAsPaid as OrderMarkedAsPaidOriginal, OrderMethod as OrderMethodOriginal, type OrderMethodWithLiterals as OrderMethodWithLiteralsOriginal, type Order as OrderOriginal, type OrderPaused as OrderPausedOriginal, type OrderPurchased as OrderPurchasedOriginal, type OrderResumed as OrderResumedOriginal, type OrderStartDateChanged as OrderStartDateChangedOriginal, type OrderStarted as OrderStartedOriginal, OrderStatus as OrderStatusOriginal, type OrderStatusWithLiterals as OrderStatusWithLiteralsOriginal, OrderType as OrderTypeOriginal, type OrderTypeWithLiterals as OrderTypeWithLiteralsOriginal, type OrdersQueryOrdersRequest as OrdersQueryOrdersRequestOriginal, type OrdersQueryOrdersResponse as OrdersQueryOrdersResponseOriginal, type PagingMetadataV2 as PagingMetadataV2Original, type Paging as PagingOriginal, type PauseOrderRequest as PauseOrderRequestOriginal, type PauseOrderResponse as PauseOrderResponseOriginal, type PausePeriod as PausePeriodOriginal, PaymentStatus as PaymentStatusOriginal, type PaymentStatusWithLiterals as PaymentStatusWithLiteralsOriginal, PeriodUnit as PeriodUnitOriginal, type PeriodUnitWithLiterals as PeriodUnitWithLiteralsOriginal, type PostponeEndDateRequest as PostponeEndDateRequestOriginal, type PostponeEndDateResponse as PostponeEndDateResponseOriginal, type PriceDetails as PriceDetailsOriginal, type PriceDetailsPricingModelOneOf as PriceDetailsPricingModelOneOfOriginal, type PriceDuration as PriceDurationOriginal, type Price as PriceOriginal, type PricingDetails as PricingDetailsOriginal, type PricingDetailsPricingModelOneOf as PricingDetailsPricingModelOneOfOriginal, type QueryOrdersRequest as QueryOrdersRequestOriginal, type QueryOrdersResponse as QueryOrdersResponseOriginal, type QueryV2 as QueryV2Original, type QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOfOriginal, ReasonNotSuspendable as ReasonNotSuspendableOriginal, type ReasonNotSuspendableWithLiterals as ReasonNotSuspendableWithLiteralsOriginal, type Recurrence as RecurrenceOriginal, type RequestCancellationRequest as RequestCancellationRequestOriginal, type RequestCancellationResponse as RequestCancellationResponseOriginal, type RestoreInfo as RestoreInfoOriginal, type ResumeOrderRequest as ResumeOrderRequestOriginal, type ResumeOrderResponse as ResumeOrderResponseOriginal, Set as SetOriginal, type SetSubmissionRequest as SetSubmissionRequestOriginal, type SetSubmissionResponse as SetSubmissionResponseOriginal, type SetWithLiterals as SetWithLiteralsOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, type SpannedPrice as SpannedPriceOriginal, Status as StatusOriginal, type StatusWithLiterals as StatusWithLiteralsOriginal, type Tax as TaxOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type __PublicMethodMetaInfo, cancelOrder, createOfflineOrder, createOnlineOrder, getOfflineOrderPreview, getOnlineOrderPreview, getPricePreview, managementGetOrder, managementListOrders, markAsPaid, memberGetOrder, memberListOrders, pauseOrder, postponeEndDate, requestCancellation, resumeOrder };
|
|
1844
|
+
export { type AccountDetails as AccountDetailsOriginal, type ActionEvent as ActionEventOriginal, type ApplicationError as ApplicationErrorOriginal, type ApplyCouponRequest as ApplyCouponRequestOriginal, type ApplyCouponResponse as ApplyCouponResponseOriginal, type BulkActionMetadata as BulkActionMetadataOriginal, type BulkOrderResult as BulkOrderResultOriginal, type BulkPauseOrderRequest as BulkPauseOrderRequestOriginal, type BulkPauseOrderResponse as BulkPauseOrderResponseOriginal, type BulkResumeOrderRequest as BulkResumeOrderRequestOriginal, type BulkResumeOrderResponse as BulkResumeOrderResponseOriginal, type Buyer as BuyerOriginal, type CancelOrderRequest as CancelOrderRequestOriginal, type CancelOrderResponse as CancelOrderResponseOriginal, CancellationCause as CancellationCauseOriginal, type CancellationCauseWithLiterals as CancellationCauseWithLiteralsOriginal, CancellationEffectiveAt as CancellationEffectiveAtOriginal, type CancellationEffectiveAtWithLiterals as CancellationEffectiveAtWithLiteralsOriginal, type Cancellation as CancellationOriginal, type Captcha as CaptchaOriginal, type ChangeStartDateRequest as ChangeStartDateRequestOriginal, type ChangeStartDateResponse as ChangeStartDateResponseOriginal, type Coupon as CouponOriginal, type CouponsError as CouponsErrorOriginal, type CreateExternalOrderRequest as CreateExternalOrderRequestOriginal, type CreateExternalOrderResponse as CreateExternalOrderResponseOriginal, type CreateGuestOnlineOrderRequest as CreateGuestOnlineOrderRequestOriginal, type CreateGuestOnlineOrderResponse as CreateGuestOnlineOrderResponseOriginal, type CreateOfflineOrderApplicationErrors as CreateOfflineOrderApplicationErrorsOriginal, type CreateOfflineOrderRequest as CreateOfflineOrderRequestOriginal, type CreateOfflineOrderResponse as CreateOfflineOrderResponseOriginal, type CreateOfflineOrderValidationErrors as CreateOfflineOrderValidationErrorsOriginal, type CreateOnlineOrderApplicationErrors as CreateOnlineOrderApplicationErrorsOriginal, type CreateOnlineOrderRequest as CreateOnlineOrderRequestOriginal, type CreateOnlineOrderResponse as CreateOnlineOrderResponseOriginal, type CreateOnlineOrderValidationErrors as CreateOnlineOrderValidationErrorsOriginal, type CurrentCycle as CurrentCycleOriginal, type CursorPaging as CursorPagingOriginal, type Cursors as CursorsOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type Duration as DurationOriginal, type Empty as EmptyOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type Fee as FeeOriginal, type FormData as FormDataOriginal, type GetAvailableOrderActionsRequest as GetAvailableOrderActionsRequestOriginal, type GetAvailableOrderActionsResponse as GetAvailableOrderActionsResponseOriginal, type GetGuestOnlineOrderPreviewRequest as GetGuestOnlineOrderPreviewRequestOriginal, type GetGuestOnlineOrderPreviewResponse as GetGuestOnlineOrderPreviewResponseOriginal, type GetOfflineOrderPreviewApplicationErrors as GetOfflineOrderPreviewApplicationErrorsOriginal, type GetOfflineOrderPreviewRequest as GetOfflineOrderPreviewRequestOriginal, type GetOfflineOrderPreviewResponse as GetOfflineOrderPreviewResponseOriginal, type GetOfflineOrderPreviewValidationErrors as GetOfflineOrderPreviewValidationErrorsOriginal, type GetOnlineOrderPreviewApplicationErrors as GetOnlineOrderPreviewApplicationErrorsOriginal, type GetOnlineOrderPreviewRequest as GetOnlineOrderPreviewRequestOriginal, type GetOnlineOrderPreviewResponse as GetOnlineOrderPreviewResponseOriginal, type GetOnlineOrderPreviewValidationErrors as GetOnlineOrderPreviewValidationErrorsOriginal, type GetOrderRequest as GetOrderRequestOriginal, type GetOrderResponse as GetOrderResponseOriginal, type GetOrdersStatsRequest as GetOrdersStatsRequestOriginal, type GetOrdersStatsResponse as GetOrdersStatsResponseOriginal, type GetPricePreviewApplicationErrors as GetPricePreviewApplicationErrorsOriginal, type GetPricePreviewRequest as GetPricePreviewRequestOriginal, type GetPricePreviewResponse as GetPricePreviewResponseOriginal, type Guest as GuestOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type ItemMetadata as ItemMetadataOriginal, type ListOrdersRequest as ListOrdersRequestOriginal, type ListOrdersResponse as ListOrdersResponseOriginal, type MarkAsPaidRequest as MarkAsPaidRequestOriginal, type MarkAsPaidResponse as MarkAsPaidResponseOriginal, type MemberGetOrderRequest as MemberGetOrderRequestOriginal, type MemberGetOrderResponse as MemberGetOrderResponseOriginal, type MemberListOrdersRequest as MemberListOrdersRequestOriginal, type MemberListOrdersResponse as MemberListOrdersResponseOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type OnBehalf as OnBehalfOriginal, type OrderAutoRenewCanceled as OrderAutoRenewCanceledOriginal, type OrderCanceled as OrderCanceledOriginal, type OrderCycle as OrderCycleOriginal, type OrderCycleStarted as OrderCycleStartedOriginal, type OrderEndDatePostponed as OrderEndDatePostponedOriginal, type OrderEnded as OrderEndedOriginal, type OrderMarkedAsPaid as OrderMarkedAsPaidOriginal, OrderMethod as OrderMethodOriginal, type OrderMethodWithLiterals as OrderMethodWithLiteralsOriginal, type Order as OrderOriginal, type OrderPaused as OrderPausedOriginal, type OrderPurchased as OrderPurchasedOriginal, type OrderResumed as OrderResumedOriginal, type OrderStartDateChanged as OrderStartDateChangedOriginal, type OrderStarted as OrderStartedOriginal, OrderStatus as OrderStatusOriginal, type OrderStatusWithLiterals as OrderStatusWithLiteralsOriginal, OrderType as OrderTypeOriginal, type OrderTypeWithLiterals as OrderTypeWithLiteralsOriginal, type OrdersQueryOrdersRequest as OrdersQueryOrdersRequestOriginal, type OrdersQueryOrdersResponse as OrdersQueryOrdersResponseOriginal, type PagingMetadataV2 as PagingMetadataV2Original, type Paging as PagingOriginal, type PauseOrderRequest as PauseOrderRequestOriginal, type PauseOrderResponse as PauseOrderResponseOriginal, type PausePeriod as PausePeriodOriginal, PaymentStatus as PaymentStatusOriginal, type PaymentStatusWithLiterals as PaymentStatusWithLiteralsOriginal, PeriodUnit as PeriodUnitOriginal, type PeriodUnitWithLiterals as PeriodUnitWithLiteralsOriginal, type PostponeEndDateRequest as PostponeEndDateRequestOriginal, type PostponeEndDateResponse as PostponeEndDateResponseOriginal, type PriceDetails as PriceDetailsOriginal, type PriceDetailsPricingModelOneOf as PriceDetailsPricingModelOneOfOriginal, type PriceDuration as PriceDurationOriginal, type Price as PriceOriginal, type PricingDetails as PricingDetailsOriginal, type PricingDetailsPricingModelOneOf as PricingDetailsPricingModelOneOfOriginal, type QueryOrdersRequest as QueryOrdersRequestOriginal, type QueryOrdersResponse as QueryOrdersResponseOriginal, type QueryV2 as QueryV2Original, type QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOfOriginal, ReasonNotSuspendable as ReasonNotSuspendableOriginal, type ReasonNotSuspendableWithLiterals as ReasonNotSuspendableWithLiteralsOriginal, type Recurrence as RecurrenceOriginal, type RequestCancellationRequest as RequestCancellationRequestOriginal, type RequestCancellationResponse as RequestCancellationResponseOriginal, type RestoreInfo as RestoreInfoOriginal, type ResumeOrderRequest as ResumeOrderRequestOriginal, type ResumeOrderResponse as ResumeOrderResponseOriginal, Set as SetOriginal, type SetSubmissionRequest as SetSubmissionRequestOriginal, type SetSubmissionResponse as SetSubmissionResponseOriginal, type SetWithLiterals as SetWithLiteralsOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, type SpannedPrice as SpannedPriceOriginal, Status as StatusOriginal, type StatusWithLiterals as StatusWithLiteralsOriginal, type Tax as TaxOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type __PublicMethodMetaInfo, cancelOrder, createOfflineOrder, createOnlineOrder, getOfflineOrderPreview, getOnlineOrderPreview, getPricePreview, managementGetOrder, managementListOrders, markAsPaid, memberGetOrder, memberListOrders, pauseOrder, postponeEndDate, requestCancellation, resumeOrder };
|