@wix/auto_sdk_pricing-plans_orders 1.0.119 → 1.0.121
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 +51 -51
- package/build/cjs/index.js +386 -367
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +353 -342
- package/build/cjs/index.typings.js +312 -293
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +232 -221
- package/build/cjs/meta.js +245 -226
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/schemas.d.ts +209 -201
- package/build/cjs/schemas.js +928 -916
- package/build/cjs/schemas.js.map +1 -1
- package/build/es/index.d.mts +51 -51
- package/build/es/index.mjs +386 -367
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +353 -342
- package/build/es/index.typings.mjs +312 -293
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +232 -221
- package/build/es/meta.mjs +245 -226
- package/build/es/meta.mjs.map +1 -1
- package/build/es/schemas.d.mts +209 -201
- package/build/es/schemas.mjs +928 -916
- package/build/es/schemas.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +51 -51
- package/build/internal/cjs/index.js +386 -367
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +412 -342
- package/build/internal/cjs/index.typings.js +312 -293
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +329 -217
- package/build/internal/cjs/meta.js +245 -226
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/cjs/schemas.d.ts +209 -201
- package/build/internal/cjs/schemas.js +928 -916
- package/build/internal/cjs/schemas.js.map +1 -1
- package/build/internal/es/index.d.mts +51 -51
- package/build/internal/es/index.mjs +386 -367
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +412 -342
- package/build/internal/es/index.typings.mjs +312 -293
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +329 -217
- package/build/internal/es/meta.mjs +245 -226
- package/build/internal/es/meta.mjs.map +1 -1
- package/build/internal/es/schemas.d.mts +209 -201
- package/build/internal/es/schemas.mjs +928 -916
- package/build/internal/es/schemas.mjs.map +1 -1
- package/package.json +4 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { 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, 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 } from './index.typings.mjs';
|
|
2
2
|
import '@wix/sdk-types';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -66,6 +66,12 @@ interface Order {
|
|
|
66
66
|
* @readonly
|
|
67
67
|
*/
|
|
68
68
|
type?: OrderTypeWithLiterals;
|
|
69
|
+
/**
|
|
70
|
+
* Method by which checkout was initiated on buyer's behalf.
|
|
71
|
+
* @internal
|
|
72
|
+
* @readonly
|
|
73
|
+
*/
|
|
74
|
+
orderMethod?: OrderMethodWithLiterals;
|
|
69
75
|
/**
|
|
70
76
|
* Status of the order.
|
|
71
77
|
* @readonly
|
|
@@ -135,6 +141,12 @@ interface Order {
|
|
|
135
141
|
* @readonly
|
|
136
142
|
*/
|
|
137
143
|
currentCycle?: CurrentCycle;
|
|
144
|
+
/**
|
|
145
|
+
* Past and current cycles for the order.
|
|
146
|
+
* @internal
|
|
147
|
+
* @readonly
|
|
148
|
+
*/
|
|
149
|
+
cycles?: OrderCycle[];
|
|
138
150
|
/**
|
|
139
151
|
* Plan name at the time of purchase.
|
|
140
152
|
* @readonly
|
|
@@ -166,6 +178,17 @@ interface Order {
|
|
|
166
178
|
* @readonly
|
|
167
179
|
*/
|
|
168
180
|
formData?: FormData;
|
|
181
|
+
/**
|
|
182
|
+
* TODO PPL-1357: Remove when migration to new status is completed
|
|
183
|
+
* @internal
|
|
184
|
+
*/
|
|
185
|
+
statusNew?: OrderStatusWithLiterals;
|
|
186
|
+
/**
|
|
187
|
+
* Used to differentiate orders that were created from eCom flow.
|
|
188
|
+
* @internal
|
|
189
|
+
* @readonly
|
|
190
|
+
*/
|
|
191
|
+
onEcom?: boolean;
|
|
169
192
|
}
|
|
170
193
|
interface Buyer {
|
|
171
194
|
/**
|
|
@@ -392,6 +415,14 @@ interface Price {
|
|
|
392
415
|
* @format CURRENCY
|
|
393
416
|
*/
|
|
394
417
|
currency?: string;
|
|
418
|
+
/**
|
|
419
|
+
* Additional fees that would have been applied to the price, one of which could be a setup fee.
|
|
420
|
+
*
|
|
421
|
+
* Tax is also applied to additional fees.
|
|
422
|
+
* @internal
|
|
423
|
+
* @readonly
|
|
424
|
+
*/
|
|
425
|
+
fees?: Fee[];
|
|
395
426
|
/**
|
|
396
427
|
* Price change after billing date was change and price was adjusted. Could be positive and negative values.
|
|
397
428
|
* @format DECIMAL_VALUE
|
|
@@ -614,8 +645,18 @@ interface DomainEventBodyOneOf {
|
|
|
614
645
|
}
|
|
615
646
|
interface EntityCreatedEvent {
|
|
616
647
|
entityAsJson?: string;
|
|
648
|
+
/**
|
|
649
|
+
* Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity
|
|
650
|
+
* @internal
|
|
651
|
+
*/
|
|
652
|
+
triggeredByUndelete?: boolean | null;
|
|
617
653
|
/** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
|
|
618
654
|
restoreInfo?: RestoreInfo;
|
|
655
|
+
/**
|
|
656
|
+
* Optional domain-specific metadata defined by the API owner, encoded as JSON.
|
|
657
|
+
* @internal
|
|
658
|
+
*/
|
|
659
|
+
additionalMetadataAsJson?: string | null;
|
|
619
660
|
}
|
|
620
661
|
interface RestoreInfo {
|
|
621
662
|
deletedDate?: Date | null;
|
|
@@ -627,227 +668,47 @@ interface EntityUpdatedEvent {
|
|
|
627
668
|
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
|
628
669
|
*/
|
|
629
670
|
currentEntityAsJson?: string;
|
|
630
|
-
}
|
|
631
|
-
interface EntityDeletedEvent {
|
|
632
|
-
/** Entity that was deleted. */
|
|
633
|
-
deletedEntityAsJson?: string | null;
|
|
634
|
-
}
|
|
635
|
-
interface ActionEvent {
|
|
636
|
-
bodyAsJson?: string;
|
|
637
|
-
}
|
|
638
|
-
interface Empty {
|
|
639
|
-
}
|
|
640
|
-
interface MemberGetOrderRequest {
|
|
641
|
-
/**
|
|
642
|
-
* Order ID.
|
|
643
|
-
* @format GUID
|
|
644
|
-
*/
|
|
645
|
-
id: string;
|
|
646
|
-
/**
|
|
647
|
-
* Predefined set of fields to return.
|
|
648
|
-
*
|
|
649
|
-
* Default: If `fieldSet` is omitted, no order form submission data is returned.
|
|
650
|
-
*/
|
|
651
|
-
fieldSet?: SetWithLiterals;
|
|
652
|
-
}
|
|
653
|
-
declare enum Set {
|
|
654
|
-
/** Same behavior as `BASIC`.` */
|
|
655
|
-
UNKNOWN_SET = "UNKNOWN_SET",
|
|
656
|
-
/** Doesn't return any order form submission data. */
|
|
657
|
-
BASIC = "BASIC",
|
|
658
|
-
/** Returns all order form submission data. */
|
|
659
|
-
FULL = "FULL"
|
|
660
|
-
}
|
|
661
|
-
/** @enumType */
|
|
662
|
-
type SetWithLiterals = Set | 'UNKNOWN_SET' | 'BASIC' | 'FULL';
|
|
663
|
-
interface MemberGetOrderResponse {
|
|
664
|
-
/** Requested order. */
|
|
665
|
-
order?: Order;
|
|
666
|
-
}
|
|
667
|
-
interface MemberListOrdersRequest {
|
|
668
|
-
/**
|
|
669
|
-
* Filter by plan IDs.
|
|
670
|
-
* @format GUID
|
|
671
|
-
*/
|
|
672
|
-
planIds?: string[];
|
|
673
|
-
/** Filter for orders where auto renewal was canceled. */
|
|
674
|
-
autoRenewCanceled?: boolean | null;
|
|
675
|
-
/** Filter by order status. */
|
|
676
|
-
orderStatuses?: OrderStatusWithLiterals[];
|
|
677
|
-
/** Filter by payment status. */
|
|
678
|
-
paymentStatuses?: PaymentStatusWithLiterals[];
|
|
679
|
-
/**
|
|
680
|
-
* Limit the number of pricing plans returned. Default limit is 50.
|
|
681
|
-
* @min 1
|
|
682
|
-
* @max 50
|
|
683
|
-
*/
|
|
684
|
-
limit?: number | null;
|
|
685
|
-
/** Number of entries to offset. */
|
|
686
|
-
offset?: number | null;
|
|
687
|
-
/** Sorting direction (defaults to ASC) and field to sort by. */
|
|
688
|
-
sorting?: Sorting;
|
|
689
|
-
/**
|
|
690
|
-
* Predefined set of fields to return.
|
|
691
|
-
*
|
|
692
|
-
* Default: If `fieldSet` is omitted, no order form submission data is returned.
|
|
693
|
-
*/
|
|
694
|
-
fieldSet?: SetWithLiterals;
|
|
695
|
-
}
|
|
696
|
-
interface Sorting {
|
|
697
|
-
/**
|
|
698
|
-
* Name of the field to sort by.
|
|
699
|
-
* @maxLength 512
|
|
700
|
-
*/
|
|
701
|
-
fieldName?: string;
|
|
702
|
-
/** Sort order. */
|
|
703
|
-
order?: SortOrderWithLiterals;
|
|
704
|
-
}
|
|
705
|
-
declare enum SortOrder {
|
|
706
|
-
ASC = "ASC",
|
|
707
|
-
DESC = "DESC"
|
|
708
|
-
}
|
|
709
|
-
/** @enumType */
|
|
710
|
-
type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
|
|
711
|
-
interface MemberListOrdersResponse {
|
|
712
|
-
/** Requested orders. */
|
|
713
|
-
orders?: Order[];
|
|
714
|
-
/** Object containing paging-related data (number of orders returned, offset). */
|
|
715
|
-
pagingMetadata?: PagingMetadataV2;
|
|
716
|
-
}
|
|
717
|
-
interface PagingMetadataV2 {
|
|
718
|
-
/** Number of items returned in the response. */
|
|
719
|
-
count?: number | null;
|
|
720
|
-
/** Offset that was requested. */
|
|
721
|
-
offset?: number | null;
|
|
722
|
-
/** Total number of items that match the query. Returned if offset paging is used and the `tooManyToCount` flag is not set. */
|
|
723
|
-
total?: number | null;
|
|
724
|
-
/** Flag that indicates the server failed to calculate the `total` field. */
|
|
725
|
-
tooManyToCount?: boolean | null;
|
|
726
|
-
/** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
|
|
727
|
-
cursors?: Cursors;
|
|
728
|
-
}
|
|
729
|
-
interface Cursors {
|
|
730
|
-
/**
|
|
731
|
-
* Cursor string pointing to the next page in the list of results.
|
|
732
|
-
* @maxLength 16000
|
|
733
|
-
*/
|
|
734
|
-
next?: string | null;
|
|
735
671
|
/**
|
|
736
|
-
*
|
|
737
|
-
*
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
*
|
|
744
|
-
* @format GUID
|
|
745
|
-
*/
|
|
746
|
-
id: string;
|
|
747
|
-
/** Required. Whether to cancel the order effective immediately or at the next payment date. One-time orders can only be canceled immediately. */
|
|
748
|
-
effectiveAt: CancellationEffectiveAtWithLiterals;
|
|
749
|
-
}
|
|
750
|
-
interface RequestCancellationResponse {
|
|
751
|
-
}
|
|
752
|
-
/**
|
|
753
|
-
* Emitted when an order is canceled immediately or when cycle ends for an order with canceled auto renewal
|
|
754
|
-
*
|
|
755
|
-
* To determine the specific reason of the cancellation check `order.cancellation.cause` field.
|
|
756
|
-
*/
|
|
757
|
-
interface OrderCanceled {
|
|
758
|
-
/** Canceled order. */
|
|
759
|
-
order?: Order;
|
|
760
|
-
}
|
|
761
|
-
interface MessageEnvelope {
|
|
762
|
-
/**
|
|
763
|
-
* App instance ID.
|
|
764
|
-
* @format GUID
|
|
765
|
-
*/
|
|
766
|
-
instanceId?: string | null;
|
|
767
|
-
/**
|
|
768
|
-
* Event type.
|
|
769
|
-
* @maxLength 150
|
|
770
|
-
*/
|
|
771
|
-
eventType?: string;
|
|
772
|
-
/** The identification type and identity data. */
|
|
773
|
-
identity?: IdentificationData;
|
|
774
|
-
/** Stringify payload. */
|
|
775
|
-
data?: string;
|
|
776
|
-
/** Details related to the account */
|
|
777
|
-
accountInfo?: AccountInfo;
|
|
778
|
-
}
|
|
779
|
-
interface IdentificationData extends IdentificationDataIdOneOf {
|
|
780
|
-
/**
|
|
781
|
-
* ID of a site visitor that has not logged in to the site.
|
|
782
|
-
* @format GUID
|
|
783
|
-
*/
|
|
784
|
-
anonymousVisitorId?: string;
|
|
785
|
-
/**
|
|
786
|
-
* ID of a site visitor that has logged in to the site.
|
|
787
|
-
* @format GUID
|
|
672
|
+
* This field is currently part of the of the EntityUpdatedEvent msg, but scala/node libraries which implements the domain events standard
|
|
673
|
+
* wont populate it / have any reference to it in the API.
|
|
674
|
+
* The main reason for it is that fetching the old entity from the DB will have a performance hit on an update operation so unless truly needed,
|
|
675
|
+
* the developer should send only the new (current) entity.
|
|
676
|
+
* An additional reason is not wanting to send this additional entity over the wire (kafka) since in some cases it can be really big
|
|
677
|
+
* Developers that must reflect the old entity will have to implement their own domain event sender mechanism which will follow the DomainEvent proto message.
|
|
678
|
+
* @internal
|
|
679
|
+
* @deprecated
|
|
788
680
|
*/
|
|
789
|
-
|
|
681
|
+
previousEntityAsJson?: string | null;
|
|
790
682
|
/**
|
|
791
|
-
*
|
|
792
|
-
*
|
|
683
|
+
* Map of fully qualified field paths to their previous values for fields that changed.
|
|
684
|
+
* For more details please see [AIP](https://dev.wix.com/docs/rnd-general/articles/p13n-guidelines-aips/guidance-aips/design-patterns/7016-events#modified-fields-format)
|
|
685
|
+
* @internal
|
|
793
686
|
*/
|
|
794
|
-
|
|
687
|
+
modifiedFields?: Record<string, any>;
|
|
795
688
|
/**
|
|
796
|
-
*
|
|
797
|
-
* @
|
|
689
|
+
* Optional domain-specific metadata defined by the API owner, encoded as JSON.
|
|
690
|
+
* @internal
|
|
798
691
|
*/
|
|
799
|
-
|
|
800
|
-
/** @readonly */
|
|
801
|
-
identityType?: WebhookIdentityTypeWithLiterals;
|
|
692
|
+
additionalMetadataAsJson?: string | null;
|
|
802
693
|
}
|
|
803
|
-
|
|
804
|
-
interface IdentificationDataIdOneOf {
|
|
805
|
-
/**
|
|
806
|
-
* ID of a site visitor that has not logged in to the site.
|
|
807
|
-
* @format GUID
|
|
808
|
-
*/
|
|
809
|
-
anonymousVisitorId?: string;
|
|
694
|
+
interface EntityDeletedEvent {
|
|
810
695
|
/**
|
|
811
|
-
*
|
|
812
|
-
* @
|
|
696
|
+
* Indicates if the entity is sent to trash-bin. only available when trash-bin is enabled
|
|
697
|
+
* @internal
|
|
813
698
|
*/
|
|
814
|
-
|
|
815
|
-
/**
|
|
816
|
-
|
|
817
|
-
* @format GUID
|
|
818
|
-
*/
|
|
819
|
-
wixUserId?: string;
|
|
699
|
+
movedToTrash?: boolean | null;
|
|
700
|
+
/** Entity that was deleted. */
|
|
701
|
+
deletedEntityAsJson?: string | null;
|
|
820
702
|
/**
|
|
821
|
-
*
|
|
822
|
-
* @
|
|
703
|
+
* Optional domain-specific metadata defined by the API owner, encoded as JSON.
|
|
704
|
+
* @internal
|
|
823
705
|
*/
|
|
824
|
-
|
|
706
|
+
additionalMetadataAsJson?: string | null;
|
|
825
707
|
}
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
829
|
-
MEMBER = "MEMBER",
|
|
830
|
-
WIX_USER = "WIX_USER",
|
|
831
|
-
APP = "APP"
|
|
708
|
+
interface ActionEvent {
|
|
709
|
+
bodyAsJson?: string;
|
|
832
710
|
}
|
|
833
|
-
|
|
834
|
-
type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
835
|
-
interface AccountInfo {
|
|
836
|
-
/**
|
|
837
|
-
* ID of the Wix account associated with the event.
|
|
838
|
-
* @format GUID
|
|
839
|
-
*/
|
|
840
|
-
accountId?: string | null;
|
|
841
|
-
/**
|
|
842
|
-
* ID of the parent Wix account. Only included when accountId belongs to a child account.
|
|
843
|
-
* @format GUID
|
|
844
|
-
*/
|
|
845
|
-
parentAccountId?: string | null;
|
|
846
|
-
/**
|
|
847
|
-
* ID of the Wix site associated with the event. Only included when the event is tied to a specific site.
|
|
848
|
-
* @format GUID
|
|
849
|
-
*/
|
|
850
|
-
siteId?: string | null;
|
|
711
|
+
interface Empty {
|
|
851
712
|
}
|
|
852
713
|
interface CreateOnlineOrderRequest {
|
|
853
714
|
/**
|
|
@@ -1159,6 +1020,97 @@ interface SetSubmissionResponse {
|
|
|
1159
1020
|
/** Order with submission id */
|
|
1160
1021
|
order?: Order;
|
|
1161
1022
|
}
|
|
1023
|
+
interface MessageEnvelope {
|
|
1024
|
+
/**
|
|
1025
|
+
* App instance ID.
|
|
1026
|
+
* @format GUID
|
|
1027
|
+
*/
|
|
1028
|
+
instanceId?: string | null;
|
|
1029
|
+
/**
|
|
1030
|
+
* Event type.
|
|
1031
|
+
* @maxLength 150
|
|
1032
|
+
*/
|
|
1033
|
+
eventType?: string;
|
|
1034
|
+
/** The identification type and identity data. */
|
|
1035
|
+
identity?: IdentificationData;
|
|
1036
|
+
/** Stringify payload. */
|
|
1037
|
+
data?: string;
|
|
1038
|
+
/** Details related to the account */
|
|
1039
|
+
accountInfo?: AccountInfo;
|
|
1040
|
+
}
|
|
1041
|
+
interface IdentificationData extends IdentificationDataIdOneOf {
|
|
1042
|
+
/**
|
|
1043
|
+
* ID of a site visitor that has not logged in to the site.
|
|
1044
|
+
* @format GUID
|
|
1045
|
+
*/
|
|
1046
|
+
anonymousVisitorId?: string;
|
|
1047
|
+
/**
|
|
1048
|
+
* ID of a site visitor that has logged in to the site.
|
|
1049
|
+
* @format GUID
|
|
1050
|
+
*/
|
|
1051
|
+
memberId?: string;
|
|
1052
|
+
/**
|
|
1053
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
1054
|
+
* @format GUID
|
|
1055
|
+
*/
|
|
1056
|
+
wixUserId?: string;
|
|
1057
|
+
/**
|
|
1058
|
+
* ID of an app.
|
|
1059
|
+
* @format GUID
|
|
1060
|
+
*/
|
|
1061
|
+
appId?: string;
|
|
1062
|
+
/** @readonly */
|
|
1063
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
1064
|
+
}
|
|
1065
|
+
/** @oneof */
|
|
1066
|
+
interface IdentificationDataIdOneOf {
|
|
1067
|
+
/**
|
|
1068
|
+
* ID of a site visitor that has not logged in to the site.
|
|
1069
|
+
* @format GUID
|
|
1070
|
+
*/
|
|
1071
|
+
anonymousVisitorId?: string;
|
|
1072
|
+
/**
|
|
1073
|
+
* ID of a site visitor that has logged in to the site.
|
|
1074
|
+
* @format GUID
|
|
1075
|
+
*/
|
|
1076
|
+
memberId?: string;
|
|
1077
|
+
/**
|
|
1078
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
1079
|
+
* @format GUID
|
|
1080
|
+
*/
|
|
1081
|
+
wixUserId?: string;
|
|
1082
|
+
/**
|
|
1083
|
+
* ID of an app.
|
|
1084
|
+
* @format GUID
|
|
1085
|
+
*/
|
|
1086
|
+
appId?: string;
|
|
1087
|
+
}
|
|
1088
|
+
declare enum WebhookIdentityType {
|
|
1089
|
+
UNKNOWN = "UNKNOWN",
|
|
1090
|
+
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
1091
|
+
MEMBER = "MEMBER",
|
|
1092
|
+
WIX_USER = "WIX_USER",
|
|
1093
|
+
APP = "APP"
|
|
1094
|
+
}
|
|
1095
|
+
/** @enumType */
|
|
1096
|
+
type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
1097
|
+
interface AccountInfo {
|
|
1098
|
+
/**
|
|
1099
|
+
* ID of the Wix account associated with the event.
|
|
1100
|
+
* @format GUID
|
|
1101
|
+
*/
|
|
1102
|
+
accountId?: string | null;
|
|
1103
|
+
/**
|
|
1104
|
+
* ID of the parent Wix account. Only included when accountId belongs to a child account.
|
|
1105
|
+
* @format GUID
|
|
1106
|
+
*/
|
|
1107
|
+
parentAccountId?: string | null;
|
|
1108
|
+
/**
|
|
1109
|
+
* ID of the Wix site associated with the event. Only included when the event is tied to a specific site.
|
|
1110
|
+
* @format GUID
|
|
1111
|
+
*/
|
|
1112
|
+
siteId?: string | null;
|
|
1113
|
+
}
|
|
1162
1114
|
interface OrderPurchased {
|
|
1163
1115
|
/** Order that was paid for. If a free or an offline order, the order that was created. */
|
|
1164
1116
|
order?: Order;
|
|
@@ -1200,6 +1152,16 @@ interface GetOrderRequest {
|
|
|
1200
1152
|
*/
|
|
1201
1153
|
fieldSet?: SetWithLiterals;
|
|
1202
1154
|
}
|
|
1155
|
+
declare enum Set {
|
|
1156
|
+
/** Same behavior as `BASIC`.` */
|
|
1157
|
+
UNKNOWN_SET = "UNKNOWN_SET",
|
|
1158
|
+
/** Doesn't return any order form submission data. */
|
|
1159
|
+
BASIC = "BASIC",
|
|
1160
|
+
/** Returns all order form submission data. */
|
|
1161
|
+
FULL = "FULL"
|
|
1162
|
+
}
|
|
1163
|
+
/** @enumType */
|
|
1164
|
+
type SetWithLiterals = Set | 'UNKNOWN_SET' | 'BASIC' | 'FULL';
|
|
1203
1165
|
interface GetOrderResponse {
|
|
1204
1166
|
/** Order. */
|
|
1205
1167
|
order?: Order;
|
|
@@ -1245,6 +1207,53 @@ interface ListOrdersRequest {
|
|
|
1245
1207
|
* Default: If `fieldSet` is omitted, no order form submission data is returned.
|
|
1246
1208
|
*/
|
|
1247
1209
|
fieldSet?: SetWithLiterals;
|
|
1210
|
+
/**
|
|
1211
|
+
* Filter by order IDs.
|
|
1212
|
+
* @internal
|
|
1213
|
+
* @format GUID
|
|
1214
|
+
* @maxSize 50
|
|
1215
|
+
*/
|
|
1216
|
+
orderIds?: string[];
|
|
1217
|
+
}
|
|
1218
|
+
interface Sorting {
|
|
1219
|
+
/**
|
|
1220
|
+
* Name of the field to sort by.
|
|
1221
|
+
* @maxLength 512
|
|
1222
|
+
*/
|
|
1223
|
+
fieldName?: string;
|
|
1224
|
+
/** Sort order. */
|
|
1225
|
+
order?: SortOrderWithLiterals;
|
|
1226
|
+
/**
|
|
1227
|
+
* When `field_name` is a property of repeated field that is marked as `MATCH_ITEMS` and sort should be done by
|
|
1228
|
+
* a specific element from a collection, filter can/should be provided to ensure correct sort value is picked.
|
|
1229
|
+
*
|
|
1230
|
+
* If multiple filters are provided, they are combined with AND operator.
|
|
1231
|
+
*
|
|
1232
|
+
* Example:
|
|
1233
|
+
* Given we have document like {"id": "1", "nestedField": [{"price": 10, "region": "EU"}, {"price": 20, "region": "US"}]}
|
|
1234
|
+
* and `nestedField` is marked as `MATCH_ITEMS`, to ensure that sorting is done by correct region, filter should be
|
|
1235
|
+
* { fieldName: "nestedField.price", "select_items_by": [{"nestedField.region": "US"}] }
|
|
1236
|
+
* @internal
|
|
1237
|
+
* @maxSize 10
|
|
1238
|
+
*/
|
|
1239
|
+
selectItemsBy?: Record<string, any>[] | null;
|
|
1240
|
+
/**
|
|
1241
|
+
* Origin point for geo-distance sorting on a GEO field
|
|
1242
|
+
* results are ordered by distance from this point (ASC = nearest first, DESC = farthest first).
|
|
1243
|
+
*/
|
|
1244
|
+
origin?: AddressLocation;
|
|
1245
|
+
}
|
|
1246
|
+
declare enum SortOrder {
|
|
1247
|
+
ASC = "ASC",
|
|
1248
|
+
DESC = "DESC"
|
|
1249
|
+
}
|
|
1250
|
+
/** @enumType */
|
|
1251
|
+
type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
|
|
1252
|
+
interface AddressLocation {
|
|
1253
|
+
/** Address latitude. */
|
|
1254
|
+
latitude?: number | null;
|
|
1255
|
+
/** Address longitude. */
|
|
1256
|
+
longitude?: number | null;
|
|
1248
1257
|
}
|
|
1249
1258
|
interface ListOrdersResponse {
|
|
1250
1259
|
/** List of orders. */
|
|
@@ -1252,6 +1261,37 @@ interface ListOrdersResponse {
|
|
|
1252
1261
|
/** Object containing paging-related data (number of orders returned, offset). */
|
|
1253
1262
|
pagingMetadata?: PagingMetadataV2;
|
|
1254
1263
|
}
|
|
1264
|
+
interface PagingMetadataV2 {
|
|
1265
|
+
/** Number of items returned in the response. */
|
|
1266
|
+
count?: number | null;
|
|
1267
|
+
/** Offset that was requested. */
|
|
1268
|
+
offset?: number | null;
|
|
1269
|
+
/** Total number of items that match the query. Returned if offset paging is used and the `tooManyToCount` flag is not set. */
|
|
1270
|
+
total?: number | null;
|
|
1271
|
+
/** Flag that indicates the server failed to calculate the `total` field. */
|
|
1272
|
+
tooManyToCount?: boolean | null;
|
|
1273
|
+
/** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
|
|
1274
|
+
cursors?: Cursors;
|
|
1275
|
+
/**
|
|
1276
|
+
* Indicates if there are more results after the current page.
|
|
1277
|
+
* If `true`, another page of results can be retrieved.
|
|
1278
|
+
* If `false`, this is the last page.
|
|
1279
|
+
* @internal
|
|
1280
|
+
*/
|
|
1281
|
+
hasNext?: boolean | null;
|
|
1282
|
+
}
|
|
1283
|
+
interface Cursors {
|
|
1284
|
+
/**
|
|
1285
|
+
* Cursor string pointing to the next page in the list of results.
|
|
1286
|
+
* @maxLength 16000
|
|
1287
|
+
*/
|
|
1288
|
+
next?: string | null;
|
|
1289
|
+
/**
|
|
1290
|
+
* Cursor pointing to the previous page in the list of results.
|
|
1291
|
+
* @maxLength 16000
|
|
1292
|
+
*/
|
|
1293
|
+
prev?: string | null;
|
|
1294
|
+
}
|
|
1255
1295
|
interface GetOrdersStatsRequest {
|
|
1256
1296
|
}
|
|
1257
1297
|
interface GetOrdersStatsResponse {
|
|
@@ -1325,6 +1365,15 @@ interface CancelOrderRequest {
|
|
|
1325
1365
|
}
|
|
1326
1366
|
interface CancelOrderResponse {
|
|
1327
1367
|
}
|
|
1368
|
+
/**
|
|
1369
|
+
* Emitted when an order is canceled immediately or when cycle ends for an order with canceled auto renewal
|
|
1370
|
+
*
|
|
1371
|
+
* To determine the specific reason of the cancellation check `order.cancellation.cause` field.
|
|
1372
|
+
*/
|
|
1373
|
+
interface OrderCanceled {
|
|
1374
|
+
/** Canceled order. */
|
|
1375
|
+
order?: Order;
|
|
1376
|
+
}
|
|
1328
1377
|
interface MarkAsPaidRequest {
|
|
1329
1378
|
/**
|
|
1330
1379
|
* Order ID.
|
|
@@ -1430,6 +1479,69 @@ interface BulkResumeOrderResponse {
|
|
|
1430
1479
|
/** Bulk action metadata. */
|
|
1431
1480
|
bulkActionMetadata?: BulkActionMetadata;
|
|
1432
1481
|
}
|
|
1482
|
+
interface MemberGetOrderRequest {
|
|
1483
|
+
/**
|
|
1484
|
+
* Order ID.
|
|
1485
|
+
* @format GUID
|
|
1486
|
+
*/
|
|
1487
|
+
id: string;
|
|
1488
|
+
/**
|
|
1489
|
+
* Predefined set of fields to return.
|
|
1490
|
+
*
|
|
1491
|
+
* Default: If `fieldSet` is omitted, no order form submission data is returned.
|
|
1492
|
+
*/
|
|
1493
|
+
fieldSet?: SetWithLiterals;
|
|
1494
|
+
}
|
|
1495
|
+
interface MemberGetOrderResponse {
|
|
1496
|
+
/** Requested order. */
|
|
1497
|
+
order?: Order;
|
|
1498
|
+
}
|
|
1499
|
+
interface MemberListOrdersRequest {
|
|
1500
|
+
/**
|
|
1501
|
+
* Filter by plan IDs.
|
|
1502
|
+
* @format GUID
|
|
1503
|
+
*/
|
|
1504
|
+
planIds?: string[];
|
|
1505
|
+
/** Filter for orders where auto renewal was canceled. */
|
|
1506
|
+
autoRenewCanceled?: boolean | null;
|
|
1507
|
+
/** Filter by order status. */
|
|
1508
|
+
orderStatuses?: OrderStatusWithLiterals[];
|
|
1509
|
+
/** Filter by payment status. */
|
|
1510
|
+
paymentStatuses?: PaymentStatusWithLiterals[];
|
|
1511
|
+
/**
|
|
1512
|
+
* Limit the number of pricing plans returned. Default limit is 50.
|
|
1513
|
+
* @min 1
|
|
1514
|
+
* @max 50
|
|
1515
|
+
*/
|
|
1516
|
+
limit?: number | null;
|
|
1517
|
+
/** Number of entries to offset. */
|
|
1518
|
+
offset?: number | null;
|
|
1519
|
+
/** Sorting direction (defaults to ASC) and field to sort by. */
|
|
1520
|
+
sorting?: Sorting;
|
|
1521
|
+
/**
|
|
1522
|
+
* Predefined set of fields to return.
|
|
1523
|
+
*
|
|
1524
|
+
* Default: If `fieldSet` is omitted, no order form submission data is returned.
|
|
1525
|
+
*/
|
|
1526
|
+
fieldSet?: SetWithLiterals;
|
|
1527
|
+
}
|
|
1528
|
+
interface MemberListOrdersResponse {
|
|
1529
|
+
/** Requested orders. */
|
|
1530
|
+
orders?: Order[];
|
|
1531
|
+
/** Object containing paging-related data (number of orders returned, offset). */
|
|
1532
|
+
pagingMetadata?: PagingMetadataV2;
|
|
1533
|
+
}
|
|
1534
|
+
interface RequestCancellationRequest {
|
|
1535
|
+
/**
|
|
1536
|
+
* Order ID.
|
|
1537
|
+
* @format GUID
|
|
1538
|
+
*/
|
|
1539
|
+
id: string;
|
|
1540
|
+
/** Required. Whether to cancel the order effective immediately or at the next payment date. One-time orders can only be canceled immediately. */
|
|
1541
|
+
effectiveAt: CancellationEffectiveAtWithLiterals;
|
|
1542
|
+
}
|
|
1543
|
+
interface RequestCancellationResponse {
|
|
1544
|
+
}
|
|
1433
1545
|
/** @docsIgnore */
|
|
1434
1546
|
type CreateOnlineOrderApplicationErrors = {
|
|
1435
1547
|
code?: 'MEMBER_REQUIRED';
|
|
@@ -1737,13 +1849,6 @@ type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q
|
|
|
1737
1849
|
__responseType: Q;
|
|
1738
1850
|
__originalResponseType: R;
|
|
1739
1851
|
};
|
|
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
1852
|
declare function createOnlineOrder(): __PublicMethodMetaInfo<'POST', {}, CreateOnlineOrderRequest$1, CreateOnlineOrderRequest, CreateOnlineOrderResponse$1, CreateOnlineOrderResponse>;
|
|
1748
1853
|
declare function createOfflineOrder(): __PublicMethodMetaInfo<'POST', {}, CreateOfflineOrderRequest$1, CreateOfflineOrderRequest, CreateOfflineOrderResponse$1, CreateOfflineOrderResponse>;
|
|
1749
1854
|
declare function getOnlineOrderPreview(): __PublicMethodMetaInfo<'POST', {}, GetOnlineOrderPreviewRequest$1, GetOnlineOrderPreviewRequest, GetOnlineOrderPreviewResponse$1, GetOnlineOrderPreviewResponse>;
|
|
@@ -1768,5 +1873,12 @@ declare function pauseOrder(): __PublicMethodMetaInfo<'POST', {
|
|
|
1768
1873
|
declare function resumeOrder(): __PublicMethodMetaInfo<'POST', {
|
|
1769
1874
|
id: string;
|
|
1770
1875
|
}, ResumeOrderRequest$1, ResumeOrderRequest, ResumeOrderResponse$1, ResumeOrderResponse>;
|
|
1876
|
+
declare function memberGetOrder(): __PublicMethodMetaInfo<'GET', {
|
|
1877
|
+
id: string;
|
|
1878
|
+
}, MemberGetOrderRequest$1, MemberGetOrderRequest, MemberGetOrderResponse$1, MemberGetOrderResponse>;
|
|
1879
|
+
declare function memberListOrders(): __PublicMethodMetaInfo<'GET', {}, MemberListOrdersRequest$1, MemberListOrdersRequest, MemberListOrdersResponse$1, MemberListOrdersResponse>;
|
|
1880
|
+
declare function requestCancellation(): __PublicMethodMetaInfo<'POST', {
|
|
1881
|
+
id: string;
|
|
1882
|
+
}, RequestCancellationRequest$1, RequestCancellationRequest, RequestCancellationResponse$1, RequestCancellationResponse>;
|
|
1771
1883
|
|
|
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 };
|
|
1884
|
+
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 };
|