@wix/auto_sdk_pricing-plans_orders 1.0.119 → 1.0.120
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 +155 -155
- package/build/cjs/index.js +489 -470
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +509 -498
- package/build/cjs/index.typings.js +361 -342
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +261 -250
- package/build/cjs/meta.js +361 -342
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/schemas.d.ts +38 -30
- package/build/cjs/schemas.js +73 -61
- package/build/cjs/schemas.js.map +1 -1
- package/build/es/index.d.mts +155 -155
- package/build/es/index.mjs +489 -470
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +509 -498
- package/build/es/index.typings.mjs +361 -342
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +261 -250
- package/build/es/meta.mjs +361 -342
- package/build/es/meta.mjs.map +1 -1
- package/build/es/schemas.d.mts +38 -30
- package/build/es/schemas.mjs +73 -61
- package/build/es/schemas.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +155 -155
- package/build/internal/cjs/index.js +489 -470
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +509 -498
- package/build/internal/cjs/index.typings.js +361 -342
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +261 -250
- package/build/internal/cjs/meta.js +361 -342
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/cjs/schemas.d.ts +38 -30
- package/build/internal/cjs/schemas.js +73 -61
- package/build/internal/cjs/schemas.js.map +1 -1
- package/build/internal/es/index.d.mts +155 -155
- package/build/internal/es/index.mjs +489 -470
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +509 -498
- package/build/internal/es/index.typings.mjs +361 -342
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +261 -250
- package/build/internal/es/meta.mjs +361 -342
- package/build/internal/es/meta.mjs.map +1 -1
- package/build/internal/es/schemas.d.mts +38 -30
- package/build/internal/es/schemas.mjs +73 -61
- package/build/internal/es/schemas.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, 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, MemberGetOrderRequest as MemberGetOrderRequest$1, MemberGetOrderResponse as MemberGetOrderResponse$1, MemberListOrdersRequest as MemberListOrdersRequest$1, MemberListOrdersResponse as MemberListOrdersResponse$1, RequestCancellationRequest as RequestCancellationRequest$1, RequestCancellationResponse as RequestCancellationResponse$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.
|
|
@@ -701,6 +742,11 @@ interface Sorting {
|
|
|
701
742
|
fieldName?: string;
|
|
702
743
|
/** Sort order. */
|
|
703
744
|
order?: SortOrderWithLiterals;
|
|
745
|
+
/**
|
|
746
|
+
* Origin point for geo-distance sorting on a GEO field
|
|
747
|
+
* results are ordered by distance from this point (ASC = nearest first, DESC = farthest first).
|
|
748
|
+
*/
|
|
749
|
+
origin?: AddressLocation;
|
|
704
750
|
}
|
|
705
751
|
declare enum SortOrder {
|
|
706
752
|
ASC = "ASC",
|
|
@@ -708,8 +754,14 @@ declare enum SortOrder {
|
|
|
708
754
|
}
|
|
709
755
|
/** @enumType */
|
|
710
756
|
type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
|
|
711
|
-
interface
|
|
712
|
-
/**
|
|
757
|
+
interface AddressLocation {
|
|
758
|
+
/** Address latitude. */
|
|
759
|
+
latitude?: number | null;
|
|
760
|
+
/** Address longitude. */
|
|
761
|
+
longitude?: number | null;
|
|
762
|
+
}
|
|
763
|
+
interface ListOrdersResponse {
|
|
764
|
+
/** List of orders. */
|
|
713
765
|
orders?: Order[];
|
|
714
766
|
/** Object containing paging-related data (number of orders returned, offset). */
|
|
715
767
|
pagingMetadata?: PagingMetadataV2;
|
|
@@ -738,16 +790,78 @@ interface Cursors {
|
|
|
738
790
|
*/
|
|
739
791
|
prev?: string | null;
|
|
740
792
|
}
|
|
741
|
-
interface
|
|
793
|
+
interface GetOrdersStatsRequest {
|
|
794
|
+
}
|
|
795
|
+
interface GetOrdersStatsResponse {
|
|
796
|
+
/** Total number of orders. */
|
|
797
|
+
totalOrderCount?: number;
|
|
798
|
+
/** Number of active orders. */
|
|
799
|
+
activeOrderCount?: number;
|
|
800
|
+
}
|
|
801
|
+
interface GetAvailableOrderActionsRequest {
|
|
802
|
+
/**
|
|
803
|
+
* Order ID.
|
|
804
|
+
* @format GUID
|
|
805
|
+
*/
|
|
806
|
+
id?: string;
|
|
807
|
+
}
|
|
808
|
+
interface GetAvailableOrderActionsResponse {
|
|
809
|
+
/** Whether the order can be suspended. */
|
|
810
|
+
suspendable?: boolean;
|
|
811
|
+
/** If the order cannot be suspended, a reason is returned here. */
|
|
812
|
+
notSuspendableReason?: ReasonNotSuspendableWithLiterals;
|
|
813
|
+
/** Whether the order can be canceled by the buyer. */
|
|
814
|
+
cancelableByBuyer?: boolean;
|
|
815
|
+
}
|
|
816
|
+
declare enum ReasonNotSuspendable {
|
|
817
|
+
/** Undefined reason. */
|
|
818
|
+
UNDEFINED = "UNDEFINED",
|
|
819
|
+
/** Saved in the database but is awaiting payment. Non-active orders can't be suspended. */
|
|
820
|
+
PENDING = "PENDING",
|
|
821
|
+
/** Trial orders can't be suspended. */
|
|
822
|
+
TRIAL = "TRIAL",
|
|
823
|
+
/** Canceled orders can't be suspended. */
|
|
824
|
+
CANCELED = "CANCELED",
|
|
825
|
+
/** Ended orders can't be suspended. */
|
|
826
|
+
ENDED = "ENDED",
|
|
827
|
+
/** Paid for orders with future start dates can't be suspended. */
|
|
828
|
+
NOT_STARTED = "NOT_STARTED",
|
|
829
|
+
/** Order is already suspended. */
|
|
830
|
+
ALREADY_SUSPENDED = "ALREADY_SUSPENDED",
|
|
831
|
+
/** Orders based on recurring payments using older stripe versions can't be suspended. */
|
|
832
|
+
OLD_STRIPE = "OLD_STRIPE"
|
|
833
|
+
}
|
|
834
|
+
/** @enumType */
|
|
835
|
+
type ReasonNotSuspendableWithLiterals = ReasonNotSuspendable | 'UNDEFINED' | 'PENDING' | 'TRIAL' | 'CANCELED' | 'ENDED' | 'NOT_STARTED' | 'ALREADY_SUSPENDED' | 'OLD_STRIPE';
|
|
836
|
+
interface PostponeEndDateRequest {
|
|
742
837
|
/**
|
|
743
838
|
* Order ID.
|
|
744
839
|
* @format GUID
|
|
745
840
|
*/
|
|
746
841
|
id: string;
|
|
747
|
-
/**
|
|
842
|
+
/**
|
|
843
|
+
* New end date and time.
|
|
844
|
+
*
|
|
845
|
+
* Must be later than the current end date and time.
|
|
846
|
+
*/
|
|
847
|
+
endDate: Date | null;
|
|
848
|
+
}
|
|
849
|
+
interface PostponeEndDateResponse {
|
|
850
|
+
}
|
|
851
|
+
interface OrderEndDatePostponed {
|
|
852
|
+
/** Order whose `endDate` was postponed. */
|
|
853
|
+
order?: Order;
|
|
854
|
+
}
|
|
855
|
+
interface CancelOrderRequest {
|
|
856
|
+
/**
|
|
857
|
+
* Order ID.
|
|
858
|
+
* @format GUID
|
|
859
|
+
*/
|
|
860
|
+
id: string;
|
|
861
|
+
/** __Required.__ When the order will be canceled. One-time orders can only be canceled `IMMEDIATELY`. */
|
|
748
862
|
effectiveAt: CancellationEffectiveAtWithLiterals;
|
|
749
863
|
}
|
|
750
|
-
interface
|
|
864
|
+
interface CancelOrderResponse {
|
|
751
865
|
}
|
|
752
866
|
/**
|
|
753
867
|
* Emitted when an order is canceled immediately or when cycle ends for an order with canceled auto renewal
|
|
@@ -758,6 +872,111 @@ interface OrderCanceled {
|
|
|
758
872
|
/** Canceled order. */
|
|
759
873
|
order?: Order;
|
|
760
874
|
}
|
|
875
|
+
interface MarkAsPaidRequest {
|
|
876
|
+
/**
|
|
877
|
+
* Order ID.
|
|
878
|
+
* @format GUID
|
|
879
|
+
*/
|
|
880
|
+
id: string;
|
|
881
|
+
}
|
|
882
|
+
interface MarkAsPaidResponse {
|
|
883
|
+
}
|
|
884
|
+
interface OrderMarkedAsPaid {
|
|
885
|
+
/** Order that was marked as paid. */
|
|
886
|
+
order?: Order;
|
|
887
|
+
}
|
|
888
|
+
interface PauseOrderRequest {
|
|
889
|
+
/**
|
|
890
|
+
* Order ID.
|
|
891
|
+
* @format GUID
|
|
892
|
+
*/
|
|
893
|
+
id: string;
|
|
894
|
+
}
|
|
895
|
+
interface PauseOrderResponse {
|
|
896
|
+
}
|
|
897
|
+
interface OrderPaused {
|
|
898
|
+
/** Paused order. */
|
|
899
|
+
order?: Order;
|
|
900
|
+
}
|
|
901
|
+
interface BulkPauseOrderRequest {
|
|
902
|
+
/**
|
|
903
|
+
* List of Order IDs.
|
|
904
|
+
* @format GUID
|
|
905
|
+
* @minSize 1
|
|
906
|
+
* @maxSize 100
|
|
907
|
+
*/
|
|
908
|
+
ids?: string[];
|
|
909
|
+
/** Set to true to return Order entity in response. */
|
|
910
|
+
returnFullEntity?: boolean;
|
|
911
|
+
}
|
|
912
|
+
interface BulkPauseOrderResponse {
|
|
913
|
+
/** Orders that were paused. */
|
|
914
|
+
results?: BulkOrderResult[];
|
|
915
|
+
/** Bulk action metadata. */
|
|
916
|
+
bulkActionMetadata?: BulkActionMetadata;
|
|
917
|
+
}
|
|
918
|
+
interface BulkOrderResult {
|
|
919
|
+
/** Item metadata */
|
|
920
|
+
itemMetadata?: ItemMetadata;
|
|
921
|
+
/** The order. */
|
|
922
|
+
order?: Order;
|
|
923
|
+
}
|
|
924
|
+
interface ItemMetadata {
|
|
925
|
+
/** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */
|
|
926
|
+
id?: string | null;
|
|
927
|
+
/** Index of the item within the request array. Allows for correlation between request and response items. */
|
|
928
|
+
originalIndex?: number;
|
|
929
|
+
/** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */
|
|
930
|
+
success?: boolean;
|
|
931
|
+
/** Details about the error in case of failure. */
|
|
932
|
+
error?: ApplicationError;
|
|
933
|
+
}
|
|
934
|
+
interface ApplicationError {
|
|
935
|
+
/** Error code. */
|
|
936
|
+
code?: string;
|
|
937
|
+
/** Description of the error. */
|
|
938
|
+
description?: string;
|
|
939
|
+
/** Data related to the error. */
|
|
940
|
+
data?: Record<string, any> | null;
|
|
941
|
+
}
|
|
942
|
+
interface BulkActionMetadata {
|
|
943
|
+
/** Number of items that were successfully processed. */
|
|
944
|
+
totalSuccesses?: number;
|
|
945
|
+
/** Number of items that couldn't be processed. */
|
|
946
|
+
totalFailures?: number;
|
|
947
|
+
/** Number of failures without details because detailed failure threshold was exceeded. */
|
|
948
|
+
undetailedFailures?: number;
|
|
949
|
+
}
|
|
950
|
+
interface ResumeOrderRequest {
|
|
951
|
+
/**
|
|
952
|
+
* Order ID.
|
|
953
|
+
* @format GUID
|
|
954
|
+
*/
|
|
955
|
+
id: string;
|
|
956
|
+
}
|
|
957
|
+
interface ResumeOrderResponse {
|
|
958
|
+
}
|
|
959
|
+
interface OrderResumed {
|
|
960
|
+
/** Resumed order. */
|
|
961
|
+
order?: Order;
|
|
962
|
+
}
|
|
963
|
+
interface BulkResumeOrderRequest {
|
|
964
|
+
/**
|
|
965
|
+
* List of Order IDs.
|
|
966
|
+
* @format GUID
|
|
967
|
+
* @minSize 1
|
|
968
|
+
* @maxSize 100
|
|
969
|
+
*/
|
|
970
|
+
ids?: string[];
|
|
971
|
+
/** Set to true to return Order entity in response. */
|
|
972
|
+
returnFullEntity?: boolean;
|
|
973
|
+
}
|
|
974
|
+
interface BulkResumeOrderResponse {
|
|
975
|
+
/** Orders that were resumed. */
|
|
976
|
+
results?: BulkOrderResult[];
|
|
977
|
+
/** Bulk action metadata. */
|
|
978
|
+
bulkActionMetadata?: BulkActionMetadata;
|
|
979
|
+
}
|
|
761
980
|
interface MessageEnvelope {
|
|
762
981
|
/**
|
|
763
982
|
* App instance ID.
|
|
@@ -1159,35 +1378,7 @@ interface SetSubmissionResponse {
|
|
|
1159
1378
|
/** Order with submission id */
|
|
1160
1379
|
order?: Order;
|
|
1161
1380
|
}
|
|
1162
|
-
interface
|
|
1163
|
-
/** Order that was paid for. If a free or an offline order, the order that was created. */
|
|
1164
|
-
order?: Order;
|
|
1165
|
-
}
|
|
1166
|
-
interface OrderStarted {
|
|
1167
|
-
/** Order that reached its `startDate`. */
|
|
1168
|
-
order?: Order;
|
|
1169
|
-
}
|
|
1170
|
-
/**
|
|
1171
|
-
* Triggered at the start of a new payment cycle for an existing order.
|
|
1172
|
-
*
|
|
1173
|
-
* This webhook does not trigger at the initial start of an offline order.
|
|
1174
|
-
*/
|
|
1175
|
-
interface OrderCycleStarted {
|
|
1176
|
-
/** Order whose new cycle started. */
|
|
1177
|
-
order?: Order;
|
|
1178
|
-
/** 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. */
|
|
1179
|
-
cycleNumber?: number;
|
|
1180
|
-
}
|
|
1181
|
-
/** Emitted when a recurring order is canceled for the next payment cycle */
|
|
1182
|
-
interface OrderAutoRenewCanceled {
|
|
1183
|
-
/** Order that is canceled, effective at the end of the current payment cycle. */
|
|
1184
|
-
order?: Order;
|
|
1185
|
-
}
|
|
1186
|
-
interface OrderEnded {
|
|
1187
|
-
/** Order that ended. */
|
|
1188
|
-
order?: Order;
|
|
1189
|
-
}
|
|
1190
|
-
interface GetOrderRequest {
|
|
1381
|
+
interface MemberGetOrderRequest {
|
|
1191
1382
|
/**
|
|
1192
1383
|
* Order ID.
|
|
1193
1384
|
* @format GUID
|
|
@@ -1200,44 +1391,31 @@ interface GetOrderRequest {
|
|
|
1200
1391
|
*/
|
|
1201
1392
|
fieldSet?: SetWithLiterals;
|
|
1202
1393
|
}
|
|
1203
|
-
interface
|
|
1204
|
-
/**
|
|
1394
|
+
interface MemberGetOrderResponse {
|
|
1395
|
+
/** Requested order. */
|
|
1205
1396
|
order?: Order;
|
|
1206
1397
|
}
|
|
1207
|
-
interface
|
|
1208
|
-
/**
|
|
1209
|
-
* Filter by a buyer's member ID, from the Members API.
|
|
1210
|
-
* @format GUID
|
|
1211
|
-
*/
|
|
1212
|
-
buyerIds?: string[];
|
|
1398
|
+
interface MemberListOrdersRequest {
|
|
1213
1399
|
/**
|
|
1214
|
-
* Filter by plan IDs
|
|
1400
|
+
* Filter by plan IDs.
|
|
1215
1401
|
* @format GUID
|
|
1216
1402
|
*/
|
|
1217
1403
|
planIds?: string[];
|
|
1218
|
-
/** Filter
|
|
1404
|
+
/** Filter for orders where auto renewal was canceled. */
|
|
1219
1405
|
autoRenewCanceled?: boolean | null;
|
|
1220
1406
|
/** Filter by order status. */
|
|
1221
1407
|
orderStatuses?: OrderStatusWithLiterals[];
|
|
1222
1408
|
/** Filter by payment status. */
|
|
1223
1409
|
paymentStatuses?: PaymentStatusWithLiterals[];
|
|
1224
1410
|
/**
|
|
1225
|
-
*
|
|
1226
|
-
*
|
|
1227
|
-
* Max: `50`
|
|
1411
|
+
* Limit the number of pricing plans returned. Default limit is 50.
|
|
1228
1412
|
* @min 1
|
|
1229
1413
|
* @max 50
|
|
1230
1414
|
*/
|
|
1231
1415
|
limit?: number | null;
|
|
1232
|
-
/** Number of
|
|
1416
|
+
/** Number of entries to offset. */
|
|
1233
1417
|
offset?: number | null;
|
|
1234
|
-
/**
|
|
1235
|
-
* Sort order.
|
|
1236
|
-
*
|
|
1237
|
-
* Use `ASC` for ascending order or `DESC` for descending order.
|
|
1238
|
-
*
|
|
1239
|
-
* Default: `DESC`.
|
|
1240
|
-
*/
|
|
1418
|
+
/** Sorting direction (defaults to ASC) and field to sort by. */
|
|
1241
1419
|
sorting?: Sorting;
|
|
1242
1420
|
/**
|
|
1243
1421
|
* Predefined set of fields to return.
|
|
@@ -1246,189 +1424,22 @@ interface ListOrdersRequest {
|
|
|
1246
1424
|
*/
|
|
1247
1425
|
fieldSet?: SetWithLiterals;
|
|
1248
1426
|
}
|
|
1249
|
-
interface
|
|
1250
|
-
/**
|
|
1427
|
+
interface MemberListOrdersResponse {
|
|
1428
|
+
/** Requested orders. */
|
|
1251
1429
|
orders?: Order[];
|
|
1252
1430
|
/** Object containing paging-related data (number of orders returned, offset). */
|
|
1253
1431
|
pagingMetadata?: PagingMetadataV2;
|
|
1254
1432
|
}
|
|
1255
|
-
interface
|
|
1256
|
-
}
|
|
1257
|
-
interface GetOrdersStatsResponse {
|
|
1258
|
-
/** Total number of orders. */
|
|
1259
|
-
totalOrderCount?: number;
|
|
1260
|
-
/** Number of active orders. */
|
|
1261
|
-
activeOrderCount?: number;
|
|
1262
|
-
}
|
|
1263
|
-
interface GetAvailableOrderActionsRequest {
|
|
1264
|
-
/**
|
|
1265
|
-
* Order ID.
|
|
1266
|
-
* @format GUID
|
|
1267
|
-
*/
|
|
1268
|
-
id?: string;
|
|
1269
|
-
}
|
|
1270
|
-
interface GetAvailableOrderActionsResponse {
|
|
1271
|
-
/** Whether the order can be suspended. */
|
|
1272
|
-
suspendable?: boolean;
|
|
1273
|
-
/** If the order cannot be suspended, a reason is returned here. */
|
|
1274
|
-
notSuspendableReason?: ReasonNotSuspendableWithLiterals;
|
|
1275
|
-
/** Whether the order can be canceled by the buyer. */
|
|
1276
|
-
cancelableByBuyer?: boolean;
|
|
1277
|
-
}
|
|
1278
|
-
declare enum ReasonNotSuspendable {
|
|
1279
|
-
/** Undefined reason. */
|
|
1280
|
-
UNDEFINED = "UNDEFINED",
|
|
1281
|
-
/** Saved in the database but is awaiting payment. Non-active orders can't be suspended. */
|
|
1282
|
-
PENDING = "PENDING",
|
|
1283
|
-
/** Trial orders can't be suspended. */
|
|
1284
|
-
TRIAL = "TRIAL",
|
|
1285
|
-
/** Canceled orders can't be suspended. */
|
|
1286
|
-
CANCELED = "CANCELED",
|
|
1287
|
-
/** Ended orders can't be suspended. */
|
|
1288
|
-
ENDED = "ENDED",
|
|
1289
|
-
/** Paid for orders with future start dates can't be suspended. */
|
|
1290
|
-
NOT_STARTED = "NOT_STARTED",
|
|
1291
|
-
/** Order is already suspended. */
|
|
1292
|
-
ALREADY_SUSPENDED = "ALREADY_SUSPENDED",
|
|
1293
|
-
/** Orders based on recurring payments using older stripe versions can't be suspended. */
|
|
1294
|
-
OLD_STRIPE = "OLD_STRIPE"
|
|
1295
|
-
}
|
|
1296
|
-
/** @enumType */
|
|
1297
|
-
type ReasonNotSuspendableWithLiterals = ReasonNotSuspendable | 'UNDEFINED' | 'PENDING' | 'TRIAL' | 'CANCELED' | 'ENDED' | 'NOT_STARTED' | 'ALREADY_SUSPENDED' | 'OLD_STRIPE';
|
|
1298
|
-
interface PostponeEndDateRequest {
|
|
1299
|
-
/**
|
|
1300
|
-
* Order ID.
|
|
1301
|
-
* @format GUID
|
|
1302
|
-
*/
|
|
1303
|
-
id: string;
|
|
1304
|
-
/**
|
|
1305
|
-
* New end date and time.
|
|
1306
|
-
*
|
|
1307
|
-
* Must be later than the current end date and time.
|
|
1308
|
-
*/
|
|
1309
|
-
endDate: Date | null;
|
|
1310
|
-
}
|
|
1311
|
-
interface PostponeEndDateResponse {
|
|
1312
|
-
}
|
|
1313
|
-
interface OrderEndDatePostponed {
|
|
1314
|
-
/** Order whose `endDate` was postponed. */
|
|
1315
|
-
order?: Order;
|
|
1316
|
-
}
|
|
1317
|
-
interface CancelOrderRequest {
|
|
1433
|
+
interface RequestCancellationRequest {
|
|
1318
1434
|
/**
|
|
1319
1435
|
* Order ID.
|
|
1320
1436
|
* @format GUID
|
|
1321
1437
|
*/
|
|
1322
1438
|
id: string;
|
|
1323
|
-
/**
|
|
1439
|
+
/** Required. Whether to cancel the order effective immediately or at the next payment date. One-time orders can only be canceled immediately. */
|
|
1324
1440
|
effectiveAt: CancellationEffectiveAtWithLiterals;
|
|
1325
1441
|
}
|
|
1326
|
-
interface
|
|
1327
|
-
}
|
|
1328
|
-
interface MarkAsPaidRequest {
|
|
1329
|
-
/**
|
|
1330
|
-
* Order ID.
|
|
1331
|
-
* @format GUID
|
|
1332
|
-
*/
|
|
1333
|
-
id: string;
|
|
1334
|
-
}
|
|
1335
|
-
interface MarkAsPaidResponse {
|
|
1336
|
-
}
|
|
1337
|
-
interface OrderMarkedAsPaid {
|
|
1338
|
-
/** Order that was marked as paid. */
|
|
1339
|
-
order?: Order;
|
|
1340
|
-
}
|
|
1341
|
-
interface PauseOrderRequest {
|
|
1342
|
-
/**
|
|
1343
|
-
* Order ID.
|
|
1344
|
-
* @format GUID
|
|
1345
|
-
*/
|
|
1346
|
-
id: string;
|
|
1347
|
-
}
|
|
1348
|
-
interface PauseOrderResponse {
|
|
1349
|
-
}
|
|
1350
|
-
interface OrderPaused {
|
|
1351
|
-
/** Paused order. */
|
|
1352
|
-
order?: Order;
|
|
1353
|
-
}
|
|
1354
|
-
interface BulkPauseOrderRequest {
|
|
1355
|
-
/**
|
|
1356
|
-
* List of Order IDs.
|
|
1357
|
-
* @format GUID
|
|
1358
|
-
* @minSize 1
|
|
1359
|
-
* @maxSize 100
|
|
1360
|
-
*/
|
|
1361
|
-
ids?: string[];
|
|
1362
|
-
/** Set to true to return Order entity in response. */
|
|
1363
|
-
returnFullEntity?: boolean;
|
|
1364
|
-
}
|
|
1365
|
-
interface BulkPauseOrderResponse {
|
|
1366
|
-
/** Orders that were paused. */
|
|
1367
|
-
results?: BulkOrderResult[];
|
|
1368
|
-
/** Bulk action metadata. */
|
|
1369
|
-
bulkActionMetadata?: BulkActionMetadata;
|
|
1370
|
-
}
|
|
1371
|
-
interface BulkOrderResult {
|
|
1372
|
-
/** Item metadata */
|
|
1373
|
-
itemMetadata?: ItemMetadata;
|
|
1374
|
-
/** The order. */
|
|
1375
|
-
order?: Order;
|
|
1376
|
-
}
|
|
1377
|
-
interface ItemMetadata {
|
|
1378
|
-
/** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */
|
|
1379
|
-
id?: string | null;
|
|
1380
|
-
/** Index of the item within the request array. Allows for correlation between request and response items. */
|
|
1381
|
-
originalIndex?: number;
|
|
1382
|
-
/** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */
|
|
1383
|
-
success?: boolean;
|
|
1384
|
-
/** Details about the error in case of failure. */
|
|
1385
|
-
error?: ApplicationError;
|
|
1386
|
-
}
|
|
1387
|
-
interface ApplicationError {
|
|
1388
|
-
/** Error code. */
|
|
1389
|
-
code?: string;
|
|
1390
|
-
/** Description of the error. */
|
|
1391
|
-
description?: string;
|
|
1392
|
-
/** Data related to the error. */
|
|
1393
|
-
data?: Record<string, any> | null;
|
|
1394
|
-
}
|
|
1395
|
-
interface BulkActionMetadata {
|
|
1396
|
-
/** Number of items that were successfully processed. */
|
|
1397
|
-
totalSuccesses?: number;
|
|
1398
|
-
/** Number of items that couldn't be processed. */
|
|
1399
|
-
totalFailures?: number;
|
|
1400
|
-
/** Number of failures without details because detailed failure threshold was exceeded. */
|
|
1401
|
-
undetailedFailures?: number;
|
|
1402
|
-
}
|
|
1403
|
-
interface ResumeOrderRequest {
|
|
1404
|
-
/**
|
|
1405
|
-
* Order ID.
|
|
1406
|
-
* @format GUID
|
|
1407
|
-
*/
|
|
1408
|
-
id: string;
|
|
1409
|
-
}
|
|
1410
|
-
interface ResumeOrderResponse {
|
|
1411
|
-
}
|
|
1412
|
-
interface OrderResumed {
|
|
1413
|
-
/** Resumed order. */
|
|
1414
|
-
order?: Order;
|
|
1415
|
-
}
|
|
1416
|
-
interface BulkResumeOrderRequest {
|
|
1417
|
-
/**
|
|
1418
|
-
* List of Order IDs.
|
|
1419
|
-
* @format GUID
|
|
1420
|
-
* @minSize 1
|
|
1421
|
-
* @maxSize 100
|
|
1422
|
-
*/
|
|
1423
|
-
ids?: string[];
|
|
1424
|
-
/** Set to true to return Order entity in response. */
|
|
1425
|
-
returnFullEntity?: boolean;
|
|
1426
|
-
}
|
|
1427
|
-
interface BulkResumeOrderResponse {
|
|
1428
|
-
/** Orders that were resumed. */
|
|
1429
|
-
results?: BulkOrderResult[];
|
|
1430
|
-
/** Bulk action metadata. */
|
|
1431
|
-
bulkActionMetadata?: BulkActionMetadata;
|
|
1442
|
+
interface RequestCancellationResponse {
|
|
1432
1443
|
}
|
|
1433
1444
|
/** @docsIgnore */
|
|
1434
1445
|
type CreateOnlineOrderApplicationErrors = {
|
|
@@ -1737,18 +1748,6 @@ type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q
|
|
|
1737
1748
|
__responseType: Q;
|
|
1738
1749
|
__originalResponseType: R;
|
|
1739
1750
|
};
|
|
1740
|
-
declare function memberGetOrder(): __PublicMethodMetaInfo<'GET', {
|
|
1741
|
-
id: string;
|
|
1742
|
-
}, MemberGetOrderRequest$1, MemberGetOrderRequest, MemberGetOrderResponse$1, MemberGetOrderResponse>;
|
|
1743
|
-
declare function memberListOrders(): __PublicMethodMetaInfo<'GET', {}, MemberListOrdersRequest$1, MemberListOrdersRequest, MemberListOrdersResponse$1, MemberListOrdersResponse>;
|
|
1744
|
-
declare function requestCancellation(): __PublicMethodMetaInfo<'POST', {
|
|
1745
|
-
id: string;
|
|
1746
|
-
}, RequestCancellationRequest$1, RequestCancellationRequest, RequestCancellationResponse$1, RequestCancellationResponse>;
|
|
1747
|
-
declare function createOnlineOrder(): __PublicMethodMetaInfo<'POST', {}, CreateOnlineOrderRequest$1, CreateOnlineOrderRequest, CreateOnlineOrderResponse$1, CreateOnlineOrderResponse>;
|
|
1748
|
-
declare function createOfflineOrder(): __PublicMethodMetaInfo<'POST', {}, CreateOfflineOrderRequest$1, CreateOfflineOrderRequest, CreateOfflineOrderResponse$1, CreateOfflineOrderResponse>;
|
|
1749
|
-
declare function getOnlineOrderPreview(): __PublicMethodMetaInfo<'POST', {}, GetOnlineOrderPreviewRequest$1, GetOnlineOrderPreviewRequest, GetOnlineOrderPreviewResponse$1, GetOnlineOrderPreviewResponse>;
|
|
1750
|
-
declare function getOfflineOrderPreview(): __PublicMethodMetaInfo<'POST', {}, GetOfflineOrderPreviewRequest$1, GetOfflineOrderPreviewRequest, GetOfflineOrderPreviewResponse$1, GetOfflineOrderPreviewResponse>;
|
|
1751
|
-
declare function getPricePreview(): __PublicMethodMetaInfo<'POST', {}, GetPricePreviewRequest$1, GetPricePreviewRequest, GetPricePreviewResponse$1, GetPricePreviewResponse>;
|
|
1752
1751
|
declare function managementGetOrder(): __PublicMethodMetaInfo<'GET', {
|
|
1753
1752
|
id: string;
|
|
1754
1753
|
}, GetOrderRequest$1, GetOrderRequest, GetOrderResponse$1, GetOrderResponse>;
|
|
@@ -1768,5 +1767,17 @@ declare function pauseOrder(): __PublicMethodMetaInfo<'POST', {
|
|
|
1768
1767
|
declare function resumeOrder(): __PublicMethodMetaInfo<'POST', {
|
|
1769
1768
|
id: string;
|
|
1770
1769
|
}, ResumeOrderRequest$1, ResumeOrderRequest, ResumeOrderResponse$1, ResumeOrderResponse>;
|
|
1770
|
+
declare function createOnlineOrder(): __PublicMethodMetaInfo<'POST', {}, CreateOnlineOrderRequest$1, CreateOnlineOrderRequest, CreateOnlineOrderResponse$1, CreateOnlineOrderResponse>;
|
|
1771
|
+
declare function createOfflineOrder(): __PublicMethodMetaInfo<'POST', {}, CreateOfflineOrderRequest$1, CreateOfflineOrderRequest, CreateOfflineOrderResponse$1, CreateOfflineOrderResponse>;
|
|
1772
|
+
declare function getOnlineOrderPreview(): __PublicMethodMetaInfo<'POST', {}, GetOnlineOrderPreviewRequest$1, GetOnlineOrderPreviewRequest, GetOnlineOrderPreviewResponse$1, GetOnlineOrderPreviewResponse>;
|
|
1773
|
+
declare function getOfflineOrderPreview(): __PublicMethodMetaInfo<'POST', {}, GetOfflineOrderPreviewRequest$1, GetOfflineOrderPreviewRequest, GetOfflineOrderPreviewResponse$1, GetOfflineOrderPreviewResponse>;
|
|
1774
|
+
declare function getPricePreview(): __PublicMethodMetaInfo<'POST', {}, GetPricePreviewRequest$1, GetPricePreviewRequest, GetPricePreviewResponse$1, GetPricePreviewResponse>;
|
|
1775
|
+
declare function memberGetOrder(): __PublicMethodMetaInfo<'GET', {
|
|
1776
|
+
id: string;
|
|
1777
|
+
}, MemberGetOrderRequest$1, MemberGetOrderRequest, MemberGetOrderResponse$1, MemberGetOrderResponse>;
|
|
1778
|
+
declare function memberListOrders(): __PublicMethodMetaInfo<'GET', {}, MemberListOrdersRequest$1, MemberListOrdersRequest, MemberListOrdersResponse$1, MemberListOrdersResponse>;
|
|
1779
|
+
declare function requestCancellation(): __PublicMethodMetaInfo<'POST', {
|
|
1780
|
+
id: string;
|
|
1781
|
+
}, RequestCancellationRequest$1, RequestCancellationRequest, RequestCancellationResponse$1, RequestCancellationResponse>;
|
|
1771
1782
|
|
|
1772
|
-
export { type AccountInfo as AccountInfoOriginal, 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 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 PagingMetadataV2 as PagingMetadataV2Original, 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, 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 };
|
|
1783
|
+
export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, type AddressLocation as AddressLocationOriginal, 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 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 PagingMetadataV2 as PagingMetadataV2Original, 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, 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 };
|