@wix/export-async-job 1.0.6 → 1.0.8
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/context.js +0 -1
- package/build/cjs/index.js +0 -1
- package/build/cjs/meta.js +0 -1
- package/package.json +3 -3
- package/type-bundles/context.bundle.d.ts +174 -43
- package/type-bundles/index.bundle.d.ts +174 -43
- package/build/cjs/context.js.map +0 -1
- package/build/cjs/index.js.map +0 -1
- package/build/cjs/meta.js.map +0 -1
package/build/cjs/context.js
CHANGED
|
@@ -25,4 +25,3 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
exports.exportAsyncJob = void 0;
|
|
27
27
|
exports.exportAsyncJob = __importStar(require("@wix/export-async-job_export-async-job/context"));
|
|
28
|
-
//# sourceMappingURL=context.js.map
|
package/build/cjs/index.js
CHANGED
package/build/cjs/meta.js
CHANGED
|
@@ -25,4 +25,3 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
exports.exportAsyncJob = void 0;
|
|
27
27
|
exports.exportAsyncJob = __importStar(require("@wix/export-async-job_export-async-job/meta"));
|
|
28
|
-
//# sourceMappingURL=meta.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/export-async-job",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.8",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"type-bundles"
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@wix/export-async-job_export-async-job": "1.0.
|
|
21
|
+
"@wix/export-async-job_export-async-job": "1.0.5"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"glob": "^10.4.1",
|
|
@@ -43,5 +43,5 @@
|
|
|
43
43
|
"fqdn": ""
|
|
44
44
|
}
|
|
45
45
|
},
|
|
46
|
-
"falconPackageHash": "
|
|
46
|
+
"falconPackageHash": "0fbd0fa3aff58776710e4df3f7beffc7a280afbeab9bf41f2ea8bdc8"
|
|
47
47
|
}
|
|
@@ -1,3 +1,37 @@
|
|
|
1
|
+
type RESTFunctionDescriptor<T extends (...args: any[]) => any = (...args: any[]) => any> = (httpClient: HttpClient) => T;
|
|
2
|
+
interface HttpClient {
|
|
3
|
+
request<TResponse, TData = any>(req: RequestOptionsFactory<TResponse, TData>): Promise<HttpResponse<TResponse>>;
|
|
4
|
+
fetchWithAuth: typeof fetch;
|
|
5
|
+
wixAPIFetch: (relativeUrl: string, options: RequestInit) => Promise<Response>;
|
|
6
|
+
}
|
|
7
|
+
type RequestOptionsFactory<TResponse = any, TData = any> = (context: any) => RequestOptions<TResponse, TData>;
|
|
8
|
+
type HttpResponse<T = any> = {
|
|
9
|
+
data: T;
|
|
10
|
+
status: number;
|
|
11
|
+
statusText: string;
|
|
12
|
+
headers: any;
|
|
13
|
+
request?: any;
|
|
14
|
+
};
|
|
15
|
+
type RequestOptions<_TResponse = any, Data = any> = {
|
|
16
|
+
method: 'POST' | 'GET' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS';
|
|
17
|
+
url: string;
|
|
18
|
+
data?: Data;
|
|
19
|
+
params?: URLSearchParams;
|
|
20
|
+
} & APIMetadata;
|
|
21
|
+
type APIMetadata = {
|
|
22
|
+
methodFqn?: string;
|
|
23
|
+
entityFqdn?: string;
|
|
24
|
+
packageName?: string;
|
|
25
|
+
};
|
|
26
|
+
type BuildRESTFunction<T extends RESTFunctionDescriptor> = T extends RESTFunctionDescriptor<infer U> ? U : never;
|
|
27
|
+
|
|
28
|
+
declare global {
|
|
29
|
+
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
|
|
30
|
+
interface SymbolConstructor {
|
|
31
|
+
readonly observable: symbol;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
1
35
|
interface ExportAsyncJob {
|
|
2
36
|
/** @readonly */
|
|
3
37
|
_id?: string;
|
|
@@ -856,6 +890,116 @@ interface ProductOrVariantV2 {
|
|
|
856
890
|
product?: Product;
|
|
857
891
|
variant?: Variant;
|
|
858
892
|
}
|
|
893
|
+
interface DomainEvent extends DomainEventBodyOneOf {
|
|
894
|
+
createdEvent?: EntityCreatedEvent;
|
|
895
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
896
|
+
deletedEvent?: EntityDeletedEvent;
|
|
897
|
+
actionEvent?: ActionEvent;
|
|
898
|
+
/**
|
|
899
|
+
* Unique event ID.
|
|
900
|
+
* Allows clients to ignore duplicate webhooks.
|
|
901
|
+
*/
|
|
902
|
+
_id?: string;
|
|
903
|
+
/**
|
|
904
|
+
* Assumes actions are also always typed to an entity_type
|
|
905
|
+
* Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
|
|
906
|
+
*/
|
|
907
|
+
entityFqdn?: string;
|
|
908
|
+
/**
|
|
909
|
+
* This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
|
|
910
|
+
* This is although the created/updated/deleted notion is duplication of the oneof types
|
|
911
|
+
* Example: created/updated/deleted/started/completed/email_opened
|
|
912
|
+
*/
|
|
913
|
+
slug?: string;
|
|
914
|
+
/** ID of the entity associated with the event. */
|
|
915
|
+
entityId?: string;
|
|
916
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
|
917
|
+
eventTime?: Date;
|
|
918
|
+
/**
|
|
919
|
+
* Whether the event was triggered as a result of a privacy regulation application
|
|
920
|
+
* (for example, GDPR).
|
|
921
|
+
*/
|
|
922
|
+
triggeredByAnonymizeRequest?: boolean | null;
|
|
923
|
+
/** If present, indicates the action that triggered the event. */
|
|
924
|
+
originatedFrom?: string | null;
|
|
925
|
+
/**
|
|
926
|
+
* A sequence number defining the order of updates to the underlying entity.
|
|
927
|
+
* For example, given that some entity was updated at 16:00 and than again at 16:01,
|
|
928
|
+
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
929
|
+
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
930
|
+
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
931
|
+
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
932
|
+
*/
|
|
933
|
+
entityEventSequence?: string | null;
|
|
934
|
+
}
|
|
935
|
+
/** @oneof */
|
|
936
|
+
interface DomainEventBodyOneOf {
|
|
937
|
+
createdEvent?: EntityCreatedEvent;
|
|
938
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
939
|
+
deletedEvent?: EntityDeletedEvent;
|
|
940
|
+
actionEvent?: ActionEvent;
|
|
941
|
+
}
|
|
942
|
+
interface EntityCreatedEvent {
|
|
943
|
+
entity?: string;
|
|
944
|
+
}
|
|
945
|
+
interface RestoreInfo {
|
|
946
|
+
deletedDate?: Date;
|
|
947
|
+
}
|
|
948
|
+
interface EntityUpdatedEvent {
|
|
949
|
+
/**
|
|
950
|
+
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
951
|
+
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
952
|
+
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
|
953
|
+
*/
|
|
954
|
+
currentEntity?: string;
|
|
955
|
+
}
|
|
956
|
+
interface EntityDeletedEvent {
|
|
957
|
+
/** Entity that was deleted */
|
|
958
|
+
deletedEntity?: string | null;
|
|
959
|
+
}
|
|
960
|
+
interface ActionEvent {
|
|
961
|
+
body?: string;
|
|
962
|
+
}
|
|
963
|
+
interface MessageEnvelope {
|
|
964
|
+
/** App instance ID. */
|
|
965
|
+
instanceId?: string | null;
|
|
966
|
+
/** Event type. */
|
|
967
|
+
eventType?: string;
|
|
968
|
+
/** The identification type and identity data. */
|
|
969
|
+
identity?: IdentificationData;
|
|
970
|
+
/** Stringify payload. */
|
|
971
|
+
data?: string;
|
|
972
|
+
}
|
|
973
|
+
interface IdentificationData extends IdentificationDataIdOneOf {
|
|
974
|
+
/** ID of a site visitor that has not logged in to the site. */
|
|
975
|
+
anonymousVisitorId?: string;
|
|
976
|
+
/** ID of a site visitor that has logged in to the site. */
|
|
977
|
+
memberId?: string;
|
|
978
|
+
/** ID of a Wix user (site owner, contributor, etc.). */
|
|
979
|
+
wixUserId?: string;
|
|
980
|
+
/** ID of an app. */
|
|
981
|
+
appId?: string;
|
|
982
|
+
/** @readonly */
|
|
983
|
+
identityType?: WebhookIdentityType;
|
|
984
|
+
}
|
|
985
|
+
/** @oneof */
|
|
986
|
+
interface IdentificationDataIdOneOf {
|
|
987
|
+
/** ID of a site visitor that has not logged in to the site. */
|
|
988
|
+
anonymousVisitorId?: string;
|
|
989
|
+
/** ID of a site visitor that has logged in to the site. */
|
|
990
|
+
memberId?: string;
|
|
991
|
+
/** ID of a Wix user (site owner, contributor, etc.). */
|
|
992
|
+
wixUserId?: string;
|
|
993
|
+
/** ID of an app. */
|
|
994
|
+
appId?: string;
|
|
995
|
+
}
|
|
996
|
+
declare enum WebhookIdentityType {
|
|
997
|
+
UNKNOWN = "UNKNOWN",
|
|
998
|
+
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
999
|
+
MEMBER = "MEMBER",
|
|
1000
|
+
WIX_USER = "WIX_USER",
|
|
1001
|
+
APP = "APP"
|
|
1002
|
+
}
|
|
859
1003
|
interface SortingNonNullableFields {
|
|
860
1004
|
fieldName: string;
|
|
861
1005
|
order: SortOrder;
|
|
@@ -932,50 +1076,28 @@ interface CreateExportAsyncJobOptions {
|
|
|
932
1076
|
testParams?: Record<string, any> | null;
|
|
933
1077
|
}
|
|
934
1078
|
|
|
935
|
-
|
|
936
|
-
interface
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
1079
|
+
declare function createExportAsyncJob$1(httpClient: HttpClient): CreateExportAsyncJobSignature;
|
|
1080
|
+
interface CreateExportAsyncJobSignature {
|
|
1081
|
+
/**
|
|
1082
|
+
* Creates a new Export
|
|
1083
|
+
* @param - WQL expression
|
|
1084
|
+
*/
|
|
1085
|
+
(query: ExportQueryV2, options?: CreateExportAsyncJobOptions | undefined): Promise<CreateExportAsyncJobResponse & CreateExportAsyncJobResponseNonNullableFields>;
|
|
940
1086
|
}
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
type RequestOptions<_TResponse = any, Data = any> = {
|
|
950
|
-
method: 'POST' | 'GET' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS';
|
|
951
|
-
url: string;
|
|
952
|
-
data?: Data;
|
|
953
|
-
params?: URLSearchParams;
|
|
954
|
-
} & APIMetadata;
|
|
955
|
-
type APIMetadata = {
|
|
956
|
-
methodFqn?: string;
|
|
957
|
-
entityFqdn?: string;
|
|
958
|
-
packageName?: string;
|
|
959
|
-
};
|
|
960
|
-
type BuildRESTFunction<T extends RESTFunctionDescriptor> = T extends RESTFunctionDescriptor<infer U> ? U : never;
|
|
961
|
-
|
|
962
|
-
declare global {
|
|
963
|
-
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
|
|
964
|
-
interface SymbolConstructor {
|
|
965
|
-
readonly observable: symbol;
|
|
966
|
-
}
|
|
1087
|
+
declare function getExportAsyncJob$1(httpClient: HttpClient): GetExportAsyncJobSignature;
|
|
1088
|
+
interface GetExportAsyncJobSignature {
|
|
1089
|
+
/**
|
|
1090
|
+
* Get a Export by id
|
|
1091
|
+
* @param - Id of the Export to retrieve
|
|
1092
|
+
* @returns The retrieved ExportAsyncJob
|
|
1093
|
+
*/
|
|
1094
|
+
(jobId: string): Promise<ExportAsyncJob & ExportAsyncJobNonNullableFields>;
|
|
967
1095
|
}
|
|
968
1096
|
|
|
969
|
-
declare
|
|
970
|
-
declare
|
|
971
|
-
|
|
972
|
-
declare function createRESTModule<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
|
|
973
|
-
|
|
974
|
-
type _publicCreateExportAsyncJobType = typeof createExportAsyncJob$1;
|
|
975
|
-
declare const createExportAsyncJob: ReturnType<typeof createRESTModule<_publicCreateExportAsyncJobType>>;
|
|
976
|
-
type _publicGetExportAsyncJobType = typeof getExportAsyncJob$1;
|
|
977
|
-
declare const getExportAsyncJob: ReturnType<typeof createRESTModule<_publicGetExportAsyncJobType>>;
|
|
1097
|
+
declare const createExportAsyncJob: BuildRESTFunction<typeof createExportAsyncJob$1> & typeof createExportAsyncJob$1;
|
|
1098
|
+
declare const getExportAsyncJob: BuildRESTFunction<typeof getExportAsyncJob$1> & typeof getExportAsyncJob$1;
|
|
978
1099
|
|
|
1100
|
+
type context_ActionEvent = ActionEvent;
|
|
979
1101
|
type context_AdditionalInfoSection = AdditionalInfoSection;
|
|
980
1102
|
type context_ApplicationError = ApplicationError;
|
|
981
1103
|
type context_ArrayFieldDelimiter = ArrayFieldDelimiter;
|
|
@@ -995,6 +1117,11 @@ type context_DetailsKindOneOf = DetailsKindOneOf;
|
|
|
995
1117
|
type context_Discount = Discount;
|
|
996
1118
|
type context_DiscountType = DiscountType;
|
|
997
1119
|
declare const context_DiscountType: typeof DiscountType;
|
|
1120
|
+
type context_DomainEvent = DomainEvent;
|
|
1121
|
+
type context_DomainEventBodyOneOf = DomainEventBodyOneOf;
|
|
1122
|
+
type context_EntityCreatedEvent = EntityCreatedEvent;
|
|
1123
|
+
type context_EntityDeletedEvent = EntityDeletedEvent;
|
|
1124
|
+
type context_EntityUpdatedEvent = EntityUpdatedEvent;
|
|
998
1125
|
type context_ExportAsyncJob = ExportAsyncJob;
|
|
999
1126
|
type context_ExportAsyncJobData = ExportAsyncJobData;
|
|
1000
1127
|
type context_ExportAsyncJobNonNullableFields = ExportAsyncJobNonNullableFields;
|
|
@@ -1011,6 +1138,8 @@ type context_GenerateExportAsyncJobDownloadUrlResponse = GenerateExportAsyncJobD
|
|
|
1011
1138
|
type context_GetExportAsyncJobRequest = GetExportAsyncJobRequest;
|
|
1012
1139
|
type context_GetExportAsyncJobResponse = GetExportAsyncJobResponse;
|
|
1013
1140
|
type context_GetExportAsyncJobResponseNonNullableFields = GetExportAsyncJobResponseNonNullableFields;
|
|
1141
|
+
type context_IdentificationData = IdentificationData;
|
|
1142
|
+
type context_IdentificationDataIdOneOf = IdentificationDataIdOneOf;
|
|
1014
1143
|
type context_InventoryStatus = InventoryStatus;
|
|
1015
1144
|
declare const context_InventoryStatus: typeof InventoryStatus;
|
|
1016
1145
|
type context_Keyword = Keyword;
|
|
@@ -1023,6 +1152,7 @@ type context_MediaItemType = MediaItemType;
|
|
|
1023
1152
|
declare const context_MediaItemType: typeof MediaItemType;
|
|
1024
1153
|
type context_MediaItemUrlAndSize = MediaItemUrlAndSize;
|
|
1025
1154
|
type context_MediaItemVideo = MediaItemVideo;
|
|
1155
|
+
type context_MessageEnvelope = MessageEnvelope;
|
|
1026
1156
|
type context_MethodMetadata = MethodMetadata;
|
|
1027
1157
|
type context_MethodSpec = MethodSpec;
|
|
1028
1158
|
type context_NumericPropertyRange = NumericPropertyRange;
|
|
@@ -1047,6 +1177,7 @@ declare const context_QueryFieldNumber: typeof QueryFieldNumber;
|
|
|
1047
1177
|
type context_QueryProductsExportSpiResponse = QueryProductsExportSpiResponse;
|
|
1048
1178
|
type context_QueryRequestLoose = QueryRequestLoose;
|
|
1049
1179
|
type context_QueryVariantsExportSpiResponse = QueryVariantsExportSpiResponse;
|
|
1180
|
+
type context_RestoreInfo = RestoreInfo;
|
|
1050
1181
|
type context_Ribbon = Ribbon;
|
|
1051
1182
|
type context_RuleType = RuleType;
|
|
1052
1183
|
declare const context_RuleType: typeof RuleType;
|
|
@@ -1067,12 +1198,12 @@ type context_Variant = Variant;
|
|
|
1067
1198
|
type context_VariantDataWithNoStock = VariantDataWithNoStock;
|
|
1068
1199
|
type context_VariantStock = VariantStock;
|
|
1069
1200
|
type context_VideoResolution = VideoResolution;
|
|
1070
|
-
type
|
|
1071
|
-
|
|
1201
|
+
type context_WebhookIdentityType = WebhookIdentityType;
|
|
1202
|
+
declare const context_WebhookIdentityType: typeof WebhookIdentityType;
|
|
1072
1203
|
declare const context_createExportAsyncJob: typeof createExportAsyncJob;
|
|
1073
1204
|
declare const context_getExportAsyncJob: typeof getExportAsyncJob;
|
|
1074
1205
|
declare namespace context {
|
|
1075
|
-
export { type context_AdditionalInfoSection as AdditionalInfoSection, type context_ApplicationError as ApplicationError, context_ArrayFieldDelimiter as ArrayFieldDelimiter, type context_CancelExportAsyncJobRequest as CancelExportAsyncJobRequest, type context_CancelExportAsyncJobResponse as CancelExportAsyncJobResponse, type context_Choice as Choice, type context_CostAndProfitData as CostAndProfitData, type context_CreateExportAsyncJobOptions as CreateExportAsyncJobOptions, type context_CreateExportAsyncJobRequest as CreateExportAsyncJobRequest, type context_CreateExportAsyncJobResponse as CreateExportAsyncJobResponse, type context_CreateExportAsyncJobResponseNonNullableFields as CreateExportAsyncJobResponseNonNullableFields, type context_Cursors as Cursors, type context_CustomTextField as CustomTextField, type context_Details as Details, type context_DetailsKindOneOf as DetailsKindOneOf, type context_Discount as Discount, context_DiscountType as DiscountType, type context_ExportAsyncJob as ExportAsyncJob, type context_ExportAsyncJobData as ExportAsyncJobData, type context_ExportAsyncJobNonNullableFields as ExportAsyncJobNonNullableFields, type context_ExportCursorPaging as ExportCursorPaging, type context_ExportQueryV2 as ExportQueryV2, type context_ExportQueryV2PagingMethodOneOf as ExportQueryV2PagingMethodOneOf, type context_FieldDescriptor as FieldDescriptor, type context_FieldViolation as FieldViolation, context_FileType as FileType, type context_FormattedPrice as FormattedPrice, type context_GenerateExportAsyncJobDownloadUrlRequest as GenerateExportAsyncJobDownloadUrlRequest, type context_GenerateExportAsyncJobDownloadUrlResponse as GenerateExportAsyncJobDownloadUrlResponse, type context_GetExportAsyncJobRequest as GetExportAsyncJobRequest, type context_GetExportAsyncJobResponse as GetExportAsyncJobResponse, type context_GetExportAsyncJobResponseNonNullableFields as GetExportAsyncJobResponseNonNullableFields, context_InventoryStatus as InventoryStatus, type context_Keyword as Keyword, context_MeasurementUnit as MeasurementUnit, type context_Media as Media, type context_MediaItem as MediaItem, type context_MediaItemItemOneOf as MediaItemItemOneOf, context_MediaItemType as MediaItemType, type context_MediaItemUrlAndSize as MediaItemUrlAndSize, type context_MediaItemVideo as MediaItemVideo, type context_MethodMetadata as MethodMetadata, type context_MethodSpec as MethodSpec, type context_NumericPropertyRange as NumericPropertyRange, context_OptionType as OptionType, type context_PageUrl as PageUrl, type context_Paging as Paging, type context_PagingMetadataV2 as PagingMetadataV2, type context_PlatformMedia as PlatformMedia, type context_PlatformMediaMediaOneOf as PlatformMediaMediaOneOf, type context_PreorderInfo as PreorderInfo, type context_PriceData as PriceData, type context_PricePerUnitData as PricePerUnitData, type context_Product as Product, type context_ProductOption as ProductOption, type context_ProductOrVariant as ProductOrVariant, type context_ProductOrVariantV2 as ProductOrVariantV2, context_ProductType as ProductType, context_QueryFieldNumber as QueryFieldNumber, type context_QueryProductsExportSpiResponse as QueryProductsExportSpiResponse, type context_QueryRequestLoose as QueryRequestLoose, type context_QueryVariantsExportSpiResponse as QueryVariantsExportSpiResponse, type context_Ribbon as Ribbon, context_RuleType as RuleType, type context_SecuredMedia as SecuredMedia, type context_SeoSchema as SeoSchema, type context_Settings as Settings, context_SortOrder as SortOrder, type context_Sorting as Sorting, context_Status as Status, type context_Stock as Stock, type context_StoreVariant as StoreVariant, type context_SystemError as SystemError, type context_Tag as Tag, type context_ValidationError as ValidationError, type context_Variant as Variant, type context_VariantDataWithNoStock as VariantDataWithNoStock, type context_VariantStock as VariantStock, type context_VideoResolution as VideoResolution,
|
|
1206
|
+
export { type context_ActionEvent as ActionEvent, type context_AdditionalInfoSection as AdditionalInfoSection, type context_ApplicationError as ApplicationError, context_ArrayFieldDelimiter as ArrayFieldDelimiter, type context_CancelExportAsyncJobRequest as CancelExportAsyncJobRequest, type context_CancelExportAsyncJobResponse as CancelExportAsyncJobResponse, type context_Choice as Choice, type context_CostAndProfitData as CostAndProfitData, type context_CreateExportAsyncJobOptions as CreateExportAsyncJobOptions, type context_CreateExportAsyncJobRequest as CreateExportAsyncJobRequest, type context_CreateExportAsyncJobResponse as CreateExportAsyncJobResponse, type context_CreateExportAsyncJobResponseNonNullableFields as CreateExportAsyncJobResponseNonNullableFields, type context_Cursors as Cursors, type context_CustomTextField as CustomTextField, type context_Details as Details, type context_DetailsKindOneOf as DetailsKindOneOf, type context_Discount as Discount, context_DiscountType as DiscountType, type context_DomainEvent as DomainEvent, type context_DomainEventBodyOneOf as DomainEventBodyOneOf, type context_EntityCreatedEvent as EntityCreatedEvent, type context_EntityDeletedEvent as EntityDeletedEvent, type context_EntityUpdatedEvent as EntityUpdatedEvent, type context_ExportAsyncJob as ExportAsyncJob, type context_ExportAsyncJobData as ExportAsyncJobData, type context_ExportAsyncJobNonNullableFields as ExportAsyncJobNonNullableFields, type context_ExportCursorPaging as ExportCursorPaging, type context_ExportQueryV2 as ExportQueryV2, type context_ExportQueryV2PagingMethodOneOf as ExportQueryV2PagingMethodOneOf, type context_FieldDescriptor as FieldDescriptor, type context_FieldViolation as FieldViolation, context_FileType as FileType, type context_FormattedPrice as FormattedPrice, type context_GenerateExportAsyncJobDownloadUrlRequest as GenerateExportAsyncJobDownloadUrlRequest, type context_GenerateExportAsyncJobDownloadUrlResponse as GenerateExportAsyncJobDownloadUrlResponse, type context_GetExportAsyncJobRequest as GetExportAsyncJobRequest, type context_GetExportAsyncJobResponse as GetExportAsyncJobResponse, type context_GetExportAsyncJobResponseNonNullableFields as GetExportAsyncJobResponseNonNullableFields, type context_IdentificationData as IdentificationData, type context_IdentificationDataIdOneOf as IdentificationDataIdOneOf, context_InventoryStatus as InventoryStatus, type context_Keyword as Keyword, context_MeasurementUnit as MeasurementUnit, type context_Media as Media, type context_MediaItem as MediaItem, type context_MediaItemItemOneOf as MediaItemItemOneOf, context_MediaItemType as MediaItemType, type context_MediaItemUrlAndSize as MediaItemUrlAndSize, type context_MediaItemVideo as MediaItemVideo, type context_MessageEnvelope as MessageEnvelope, type context_MethodMetadata as MethodMetadata, type context_MethodSpec as MethodSpec, type context_NumericPropertyRange as NumericPropertyRange, context_OptionType as OptionType, type context_PageUrl as PageUrl, type context_Paging as Paging, type context_PagingMetadataV2 as PagingMetadataV2, type context_PlatformMedia as PlatformMedia, type context_PlatformMediaMediaOneOf as PlatformMediaMediaOneOf, type context_PreorderInfo as PreorderInfo, type context_PriceData as PriceData, type context_PricePerUnitData as PricePerUnitData, type context_Product as Product, type context_ProductOption as ProductOption, type context_ProductOrVariant as ProductOrVariant, type context_ProductOrVariantV2 as ProductOrVariantV2, context_ProductType as ProductType, context_QueryFieldNumber as QueryFieldNumber, type context_QueryProductsExportSpiResponse as QueryProductsExportSpiResponse, type context_QueryRequestLoose as QueryRequestLoose, type context_QueryVariantsExportSpiResponse as QueryVariantsExportSpiResponse, type context_RestoreInfo as RestoreInfo, type context_Ribbon as Ribbon, context_RuleType as RuleType, type context_SecuredMedia as SecuredMedia, type context_SeoSchema as SeoSchema, type context_Settings as Settings, context_SortOrder as SortOrder, type context_Sorting as Sorting, context_Status as Status, type context_Stock as Stock, type context_StoreVariant as StoreVariant, type context_SystemError as SystemError, type context_Tag as Tag, type context_ValidationError as ValidationError, type context_Variant as Variant, type context_VariantDataWithNoStock as VariantDataWithNoStock, type context_VariantStock as VariantStock, type context_VideoResolution as VideoResolution, context_WebhookIdentityType as WebhookIdentityType, context_createExportAsyncJob as createExportAsyncJob, context_getExportAsyncJob as getExportAsyncJob };
|
|
1076
1207
|
}
|
|
1077
1208
|
|
|
1078
1209
|
export { context as exportAsyncJob };
|
|
@@ -1,3 +1,37 @@
|
|
|
1
|
+
type RESTFunctionDescriptor<T extends (...args: any[]) => any = (...args: any[]) => any> = (httpClient: HttpClient) => T;
|
|
2
|
+
interface HttpClient {
|
|
3
|
+
request<TResponse, TData = any>(req: RequestOptionsFactory<TResponse, TData>): Promise<HttpResponse<TResponse>>;
|
|
4
|
+
fetchWithAuth: typeof fetch;
|
|
5
|
+
wixAPIFetch: (relativeUrl: string, options: RequestInit) => Promise<Response>;
|
|
6
|
+
}
|
|
7
|
+
type RequestOptionsFactory<TResponse = any, TData = any> = (context: any) => RequestOptions<TResponse, TData>;
|
|
8
|
+
type HttpResponse<T = any> = {
|
|
9
|
+
data: T;
|
|
10
|
+
status: number;
|
|
11
|
+
statusText: string;
|
|
12
|
+
headers: any;
|
|
13
|
+
request?: any;
|
|
14
|
+
};
|
|
15
|
+
type RequestOptions<_TResponse = any, Data = any> = {
|
|
16
|
+
method: 'POST' | 'GET' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS';
|
|
17
|
+
url: string;
|
|
18
|
+
data?: Data;
|
|
19
|
+
params?: URLSearchParams;
|
|
20
|
+
} & APIMetadata;
|
|
21
|
+
type APIMetadata = {
|
|
22
|
+
methodFqn?: string;
|
|
23
|
+
entityFqdn?: string;
|
|
24
|
+
packageName?: string;
|
|
25
|
+
};
|
|
26
|
+
type BuildRESTFunction<T extends RESTFunctionDescriptor> = T extends RESTFunctionDescriptor<infer U> ? U : never;
|
|
27
|
+
|
|
28
|
+
declare global {
|
|
29
|
+
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
|
|
30
|
+
interface SymbolConstructor {
|
|
31
|
+
readonly observable: symbol;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
1
35
|
interface ExportAsyncJob {
|
|
2
36
|
/** @readonly */
|
|
3
37
|
_id?: string;
|
|
@@ -856,6 +890,116 @@ interface ProductOrVariantV2 {
|
|
|
856
890
|
product?: Product;
|
|
857
891
|
variant?: Variant;
|
|
858
892
|
}
|
|
893
|
+
interface DomainEvent extends DomainEventBodyOneOf {
|
|
894
|
+
createdEvent?: EntityCreatedEvent;
|
|
895
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
896
|
+
deletedEvent?: EntityDeletedEvent;
|
|
897
|
+
actionEvent?: ActionEvent;
|
|
898
|
+
/**
|
|
899
|
+
* Unique event ID.
|
|
900
|
+
* Allows clients to ignore duplicate webhooks.
|
|
901
|
+
*/
|
|
902
|
+
_id?: string;
|
|
903
|
+
/**
|
|
904
|
+
* Assumes actions are also always typed to an entity_type
|
|
905
|
+
* Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
|
|
906
|
+
*/
|
|
907
|
+
entityFqdn?: string;
|
|
908
|
+
/**
|
|
909
|
+
* This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
|
|
910
|
+
* This is although the created/updated/deleted notion is duplication of the oneof types
|
|
911
|
+
* Example: created/updated/deleted/started/completed/email_opened
|
|
912
|
+
*/
|
|
913
|
+
slug?: string;
|
|
914
|
+
/** ID of the entity associated with the event. */
|
|
915
|
+
entityId?: string;
|
|
916
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
|
917
|
+
eventTime?: Date;
|
|
918
|
+
/**
|
|
919
|
+
* Whether the event was triggered as a result of a privacy regulation application
|
|
920
|
+
* (for example, GDPR).
|
|
921
|
+
*/
|
|
922
|
+
triggeredByAnonymizeRequest?: boolean | null;
|
|
923
|
+
/** If present, indicates the action that triggered the event. */
|
|
924
|
+
originatedFrom?: string | null;
|
|
925
|
+
/**
|
|
926
|
+
* A sequence number defining the order of updates to the underlying entity.
|
|
927
|
+
* For example, given that some entity was updated at 16:00 and than again at 16:01,
|
|
928
|
+
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
929
|
+
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
930
|
+
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
931
|
+
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
932
|
+
*/
|
|
933
|
+
entityEventSequence?: string | null;
|
|
934
|
+
}
|
|
935
|
+
/** @oneof */
|
|
936
|
+
interface DomainEventBodyOneOf {
|
|
937
|
+
createdEvent?: EntityCreatedEvent;
|
|
938
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
939
|
+
deletedEvent?: EntityDeletedEvent;
|
|
940
|
+
actionEvent?: ActionEvent;
|
|
941
|
+
}
|
|
942
|
+
interface EntityCreatedEvent {
|
|
943
|
+
entity?: string;
|
|
944
|
+
}
|
|
945
|
+
interface RestoreInfo {
|
|
946
|
+
deletedDate?: Date;
|
|
947
|
+
}
|
|
948
|
+
interface EntityUpdatedEvent {
|
|
949
|
+
/**
|
|
950
|
+
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
951
|
+
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
952
|
+
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
|
953
|
+
*/
|
|
954
|
+
currentEntity?: string;
|
|
955
|
+
}
|
|
956
|
+
interface EntityDeletedEvent {
|
|
957
|
+
/** Entity that was deleted */
|
|
958
|
+
deletedEntity?: string | null;
|
|
959
|
+
}
|
|
960
|
+
interface ActionEvent {
|
|
961
|
+
body?: string;
|
|
962
|
+
}
|
|
963
|
+
interface MessageEnvelope {
|
|
964
|
+
/** App instance ID. */
|
|
965
|
+
instanceId?: string | null;
|
|
966
|
+
/** Event type. */
|
|
967
|
+
eventType?: string;
|
|
968
|
+
/** The identification type and identity data. */
|
|
969
|
+
identity?: IdentificationData;
|
|
970
|
+
/** Stringify payload. */
|
|
971
|
+
data?: string;
|
|
972
|
+
}
|
|
973
|
+
interface IdentificationData extends IdentificationDataIdOneOf {
|
|
974
|
+
/** ID of a site visitor that has not logged in to the site. */
|
|
975
|
+
anonymousVisitorId?: string;
|
|
976
|
+
/** ID of a site visitor that has logged in to the site. */
|
|
977
|
+
memberId?: string;
|
|
978
|
+
/** ID of a Wix user (site owner, contributor, etc.). */
|
|
979
|
+
wixUserId?: string;
|
|
980
|
+
/** ID of an app. */
|
|
981
|
+
appId?: string;
|
|
982
|
+
/** @readonly */
|
|
983
|
+
identityType?: WebhookIdentityType;
|
|
984
|
+
}
|
|
985
|
+
/** @oneof */
|
|
986
|
+
interface IdentificationDataIdOneOf {
|
|
987
|
+
/** ID of a site visitor that has not logged in to the site. */
|
|
988
|
+
anonymousVisitorId?: string;
|
|
989
|
+
/** ID of a site visitor that has logged in to the site. */
|
|
990
|
+
memberId?: string;
|
|
991
|
+
/** ID of a Wix user (site owner, contributor, etc.). */
|
|
992
|
+
wixUserId?: string;
|
|
993
|
+
/** ID of an app. */
|
|
994
|
+
appId?: string;
|
|
995
|
+
}
|
|
996
|
+
declare enum WebhookIdentityType {
|
|
997
|
+
UNKNOWN = "UNKNOWN",
|
|
998
|
+
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
999
|
+
MEMBER = "MEMBER",
|
|
1000
|
+
WIX_USER = "WIX_USER",
|
|
1001
|
+
APP = "APP"
|
|
1002
|
+
}
|
|
859
1003
|
interface SortingNonNullableFields {
|
|
860
1004
|
fieldName: string;
|
|
861
1005
|
order: SortOrder;
|
|
@@ -932,50 +1076,28 @@ interface CreateExportAsyncJobOptions {
|
|
|
932
1076
|
testParams?: Record<string, any> | null;
|
|
933
1077
|
}
|
|
934
1078
|
|
|
935
|
-
|
|
936
|
-
interface
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
1079
|
+
declare function createExportAsyncJob$1(httpClient: HttpClient): CreateExportAsyncJobSignature;
|
|
1080
|
+
interface CreateExportAsyncJobSignature {
|
|
1081
|
+
/**
|
|
1082
|
+
* Creates a new Export
|
|
1083
|
+
* @param - WQL expression
|
|
1084
|
+
*/
|
|
1085
|
+
(query: ExportQueryV2, options?: CreateExportAsyncJobOptions | undefined): Promise<CreateExportAsyncJobResponse & CreateExportAsyncJobResponseNonNullableFields>;
|
|
940
1086
|
}
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
type RequestOptions<_TResponse = any, Data = any> = {
|
|
950
|
-
method: 'POST' | 'GET' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS';
|
|
951
|
-
url: string;
|
|
952
|
-
data?: Data;
|
|
953
|
-
params?: URLSearchParams;
|
|
954
|
-
} & APIMetadata;
|
|
955
|
-
type APIMetadata = {
|
|
956
|
-
methodFqn?: string;
|
|
957
|
-
entityFqdn?: string;
|
|
958
|
-
packageName?: string;
|
|
959
|
-
};
|
|
960
|
-
type BuildRESTFunction<T extends RESTFunctionDescriptor> = T extends RESTFunctionDescriptor<infer U> ? U : never;
|
|
961
|
-
|
|
962
|
-
declare global {
|
|
963
|
-
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
|
|
964
|
-
interface SymbolConstructor {
|
|
965
|
-
readonly observable: symbol;
|
|
966
|
-
}
|
|
1087
|
+
declare function getExportAsyncJob$1(httpClient: HttpClient): GetExportAsyncJobSignature;
|
|
1088
|
+
interface GetExportAsyncJobSignature {
|
|
1089
|
+
/**
|
|
1090
|
+
* Get a Export by id
|
|
1091
|
+
* @param - Id of the Export to retrieve
|
|
1092
|
+
* @returns The retrieved ExportAsyncJob
|
|
1093
|
+
*/
|
|
1094
|
+
(jobId: string): Promise<ExportAsyncJob & ExportAsyncJobNonNullableFields>;
|
|
967
1095
|
}
|
|
968
1096
|
|
|
969
|
-
declare
|
|
970
|
-
declare
|
|
971
|
-
|
|
972
|
-
declare function createRESTModule<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
|
|
973
|
-
|
|
974
|
-
type _publicCreateExportAsyncJobType = typeof createExportAsyncJob$1;
|
|
975
|
-
declare const createExportAsyncJob: ReturnType<typeof createRESTModule<_publicCreateExportAsyncJobType>>;
|
|
976
|
-
type _publicGetExportAsyncJobType = typeof getExportAsyncJob$1;
|
|
977
|
-
declare const getExportAsyncJob: ReturnType<typeof createRESTModule<_publicGetExportAsyncJobType>>;
|
|
1097
|
+
declare const createExportAsyncJob: BuildRESTFunction<typeof createExportAsyncJob$1> & typeof createExportAsyncJob$1;
|
|
1098
|
+
declare const getExportAsyncJob: BuildRESTFunction<typeof getExportAsyncJob$1> & typeof getExportAsyncJob$1;
|
|
978
1099
|
|
|
1100
|
+
type index_d_ActionEvent = ActionEvent;
|
|
979
1101
|
type index_d_AdditionalInfoSection = AdditionalInfoSection;
|
|
980
1102
|
type index_d_ApplicationError = ApplicationError;
|
|
981
1103
|
type index_d_ArrayFieldDelimiter = ArrayFieldDelimiter;
|
|
@@ -995,6 +1117,11 @@ type index_d_DetailsKindOneOf = DetailsKindOneOf;
|
|
|
995
1117
|
type index_d_Discount = Discount;
|
|
996
1118
|
type index_d_DiscountType = DiscountType;
|
|
997
1119
|
declare const index_d_DiscountType: typeof DiscountType;
|
|
1120
|
+
type index_d_DomainEvent = DomainEvent;
|
|
1121
|
+
type index_d_DomainEventBodyOneOf = DomainEventBodyOneOf;
|
|
1122
|
+
type index_d_EntityCreatedEvent = EntityCreatedEvent;
|
|
1123
|
+
type index_d_EntityDeletedEvent = EntityDeletedEvent;
|
|
1124
|
+
type index_d_EntityUpdatedEvent = EntityUpdatedEvent;
|
|
998
1125
|
type index_d_ExportAsyncJob = ExportAsyncJob;
|
|
999
1126
|
type index_d_ExportAsyncJobData = ExportAsyncJobData;
|
|
1000
1127
|
type index_d_ExportAsyncJobNonNullableFields = ExportAsyncJobNonNullableFields;
|
|
@@ -1011,6 +1138,8 @@ type index_d_GenerateExportAsyncJobDownloadUrlResponse = GenerateExportAsyncJobD
|
|
|
1011
1138
|
type index_d_GetExportAsyncJobRequest = GetExportAsyncJobRequest;
|
|
1012
1139
|
type index_d_GetExportAsyncJobResponse = GetExportAsyncJobResponse;
|
|
1013
1140
|
type index_d_GetExportAsyncJobResponseNonNullableFields = GetExportAsyncJobResponseNonNullableFields;
|
|
1141
|
+
type index_d_IdentificationData = IdentificationData;
|
|
1142
|
+
type index_d_IdentificationDataIdOneOf = IdentificationDataIdOneOf;
|
|
1014
1143
|
type index_d_InventoryStatus = InventoryStatus;
|
|
1015
1144
|
declare const index_d_InventoryStatus: typeof InventoryStatus;
|
|
1016
1145
|
type index_d_Keyword = Keyword;
|
|
@@ -1023,6 +1152,7 @@ type index_d_MediaItemType = MediaItemType;
|
|
|
1023
1152
|
declare const index_d_MediaItemType: typeof MediaItemType;
|
|
1024
1153
|
type index_d_MediaItemUrlAndSize = MediaItemUrlAndSize;
|
|
1025
1154
|
type index_d_MediaItemVideo = MediaItemVideo;
|
|
1155
|
+
type index_d_MessageEnvelope = MessageEnvelope;
|
|
1026
1156
|
type index_d_MethodMetadata = MethodMetadata;
|
|
1027
1157
|
type index_d_MethodSpec = MethodSpec;
|
|
1028
1158
|
type index_d_NumericPropertyRange = NumericPropertyRange;
|
|
@@ -1047,6 +1177,7 @@ declare const index_d_QueryFieldNumber: typeof QueryFieldNumber;
|
|
|
1047
1177
|
type index_d_QueryProductsExportSpiResponse = QueryProductsExportSpiResponse;
|
|
1048
1178
|
type index_d_QueryRequestLoose = QueryRequestLoose;
|
|
1049
1179
|
type index_d_QueryVariantsExportSpiResponse = QueryVariantsExportSpiResponse;
|
|
1180
|
+
type index_d_RestoreInfo = RestoreInfo;
|
|
1050
1181
|
type index_d_Ribbon = Ribbon;
|
|
1051
1182
|
type index_d_RuleType = RuleType;
|
|
1052
1183
|
declare const index_d_RuleType: typeof RuleType;
|
|
@@ -1067,12 +1198,12 @@ type index_d_Variant = Variant;
|
|
|
1067
1198
|
type index_d_VariantDataWithNoStock = VariantDataWithNoStock;
|
|
1068
1199
|
type index_d_VariantStock = VariantStock;
|
|
1069
1200
|
type index_d_VideoResolution = VideoResolution;
|
|
1070
|
-
type
|
|
1071
|
-
|
|
1201
|
+
type index_d_WebhookIdentityType = WebhookIdentityType;
|
|
1202
|
+
declare const index_d_WebhookIdentityType: typeof WebhookIdentityType;
|
|
1072
1203
|
declare const index_d_createExportAsyncJob: typeof createExportAsyncJob;
|
|
1073
1204
|
declare const index_d_getExportAsyncJob: typeof getExportAsyncJob;
|
|
1074
1205
|
declare namespace index_d {
|
|
1075
|
-
export { type index_d_AdditionalInfoSection as AdditionalInfoSection, type index_d_ApplicationError as ApplicationError, index_d_ArrayFieldDelimiter as ArrayFieldDelimiter, type index_d_CancelExportAsyncJobRequest as CancelExportAsyncJobRequest, type index_d_CancelExportAsyncJobResponse as CancelExportAsyncJobResponse, type index_d_Choice as Choice, type index_d_CostAndProfitData as CostAndProfitData, type index_d_CreateExportAsyncJobOptions as CreateExportAsyncJobOptions, type index_d_CreateExportAsyncJobRequest as CreateExportAsyncJobRequest, type index_d_CreateExportAsyncJobResponse as CreateExportAsyncJobResponse, type index_d_CreateExportAsyncJobResponseNonNullableFields as CreateExportAsyncJobResponseNonNullableFields, type index_d_Cursors as Cursors, type index_d_CustomTextField as CustomTextField, type index_d_Details as Details, type index_d_DetailsKindOneOf as DetailsKindOneOf, type index_d_Discount as Discount, index_d_DiscountType as DiscountType, type index_d_ExportAsyncJob as ExportAsyncJob, type index_d_ExportAsyncJobData as ExportAsyncJobData, type index_d_ExportAsyncJobNonNullableFields as ExportAsyncJobNonNullableFields, type index_d_ExportCursorPaging as ExportCursorPaging, type index_d_ExportQueryV2 as ExportQueryV2, type index_d_ExportQueryV2PagingMethodOneOf as ExportQueryV2PagingMethodOneOf, type index_d_FieldDescriptor as FieldDescriptor, type index_d_FieldViolation as FieldViolation, index_d_FileType as FileType, type index_d_FormattedPrice as FormattedPrice, type index_d_GenerateExportAsyncJobDownloadUrlRequest as GenerateExportAsyncJobDownloadUrlRequest, type index_d_GenerateExportAsyncJobDownloadUrlResponse as GenerateExportAsyncJobDownloadUrlResponse, type index_d_GetExportAsyncJobRequest as GetExportAsyncJobRequest, type index_d_GetExportAsyncJobResponse as GetExportAsyncJobResponse, type index_d_GetExportAsyncJobResponseNonNullableFields as GetExportAsyncJobResponseNonNullableFields, index_d_InventoryStatus as InventoryStatus, type index_d_Keyword as Keyword, index_d_MeasurementUnit as MeasurementUnit, type index_d_Media as Media, type index_d_MediaItem as MediaItem, type index_d_MediaItemItemOneOf as MediaItemItemOneOf, index_d_MediaItemType as MediaItemType, type index_d_MediaItemUrlAndSize as MediaItemUrlAndSize, type index_d_MediaItemVideo as MediaItemVideo, type index_d_MethodMetadata as MethodMetadata, type index_d_MethodSpec as MethodSpec, type index_d_NumericPropertyRange as NumericPropertyRange, index_d_OptionType as OptionType, type index_d_PageUrl as PageUrl, type index_d_Paging as Paging, type index_d_PagingMetadataV2 as PagingMetadataV2, type index_d_PlatformMedia as PlatformMedia, type index_d_PlatformMediaMediaOneOf as PlatformMediaMediaOneOf, type index_d_PreorderInfo as PreorderInfo, type index_d_PriceData as PriceData, type index_d_PricePerUnitData as PricePerUnitData, type index_d_Product as Product, type index_d_ProductOption as ProductOption, type index_d_ProductOrVariant as ProductOrVariant, type index_d_ProductOrVariantV2 as ProductOrVariantV2, index_d_ProductType as ProductType, index_d_QueryFieldNumber as QueryFieldNumber, type index_d_QueryProductsExportSpiResponse as QueryProductsExportSpiResponse, type index_d_QueryRequestLoose as QueryRequestLoose, type index_d_QueryVariantsExportSpiResponse as QueryVariantsExportSpiResponse, type index_d_Ribbon as Ribbon, index_d_RuleType as RuleType, type index_d_SecuredMedia as SecuredMedia, type index_d_SeoSchema as SeoSchema, type index_d_Settings as Settings, index_d_SortOrder as SortOrder, type index_d_Sorting as Sorting, index_d_Status as Status, type index_d_Stock as Stock, type index_d_StoreVariant as StoreVariant, type index_d_SystemError as SystemError, type index_d_Tag as Tag, type index_d_ValidationError as ValidationError, type index_d_Variant as Variant, type index_d_VariantDataWithNoStock as VariantDataWithNoStock, type index_d_VariantStock as VariantStock, type index_d_VideoResolution as VideoResolution,
|
|
1206
|
+
export { type index_d_ActionEvent as ActionEvent, type index_d_AdditionalInfoSection as AdditionalInfoSection, type index_d_ApplicationError as ApplicationError, index_d_ArrayFieldDelimiter as ArrayFieldDelimiter, type index_d_CancelExportAsyncJobRequest as CancelExportAsyncJobRequest, type index_d_CancelExportAsyncJobResponse as CancelExportAsyncJobResponse, type index_d_Choice as Choice, type index_d_CostAndProfitData as CostAndProfitData, type index_d_CreateExportAsyncJobOptions as CreateExportAsyncJobOptions, type index_d_CreateExportAsyncJobRequest as CreateExportAsyncJobRequest, type index_d_CreateExportAsyncJobResponse as CreateExportAsyncJobResponse, type index_d_CreateExportAsyncJobResponseNonNullableFields as CreateExportAsyncJobResponseNonNullableFields, type index_d_Cursors as Cursors, type index_d_CustomTextField as CustomTextField, type index_d_Details as Details, type index_d_DetailsKindOneOf as DetailsKindOneOf, type index_d_Discount as Discount, index_d_DiscountType as DiscountType, type index_d_DomainEvent as DomainEvent, type index_d_DomainEventBodyOneOf as DomainEventBodyOneOf, type index_d_EntityCreatedEvent as EntityCreatedEvent, type index_d_EntityDeletedEvent as EntityDeletedEvent, type index_d_EntityUpdatedEvent as EntityUpdatedEvent, type index_d_ExportAsyncJob as ExportAsyncJob, type index_d_ExportAsyncJobData as ExportAsyncJobData, type index_d_ExportAsyncJobNonNullableFields as ExportAsyncJobNonNullableFields, type index_d_ExportCursorPaging as ExportCursorPaging, type index_d_ExportQueryV2 as ExportQueryV2, type index_d_ExportQueryV2PagingMethodOneOf as ExportQueryV2PagingMethodOneOf, type index_d_FieldDescriptor as FieldDescriptor, type index_d_FieldViolation as FieldViolation, index_d_FileType as FileType, type index_d_FormattedPrice as FormattedPrice, type index_d_GenerateExportAsyncJobDownloadUrlRequest as GenerateExportAsyncJobDownloadUrlRequest, type index_d_GenerateExportAsyncJobDownloadUrlResponse as GenerateExportAsyncJobDownloadUrlResponse, type index_d_GetExportAsyncJobRequest as GetExportAsyncJobRequest, type index_d_GetExportAsyncJobResponse as GetExportAsyncJobResponse, type index_d_GetExportAsyncJobResponseNonNullableFields as GetExportAsyncJobResponseNonNullableFields, type index_d_IdentificationData as IdentificationData, type index_d_IdentificationDataIdOneOf as IdentificationDataIdOneOf, index_d_InventoryStatus as InventoryStatus, type index_d_Keyword as Keyword, index_d_MeasurementUnit as MeasurementUnit, type index_d_Media as Media, type index_d_MediaItem as MediaItem, type index_d_MediaItemItemOneOf as MediaItemItemOneOf, index_d_MediaItemType as MediaItemType, type index_d_MediaItemUrlAndSize as MediaItemUrlAndSize, type index_d_MediaItemVideo as MediaItemVideo, type index_d_MessageEnvelope as MessageEnvelope, type index_d_MethodMetadata as MethodMetadata, type index_d_MethodSpec as MethodSpec, type index_d_NumericPropertyRange as NumericPropertyRange, index_d_OptionType as OptionType, type index_d_PageUrl as PageUrl, type index_d_Paging as Paging, type index_d_PagingMetadataV2 as PagingMetadataV2, type index_d_PlatformMedia as PlatformMedia, type index_d_PlatformMediaMediaOneOf as PlatformMediaMediaOneOf, type index_d_PreorderInfo as PreorderInfo, type index_d_PriceData as PriceData, type index_d_PricePerUnitData as PricePerUnitData, type index_d_Product as Product, type index_d_ProductOption as ProductOption, type index_d_ProductOrVariant as ProductOrVariant, type index_d_ProductOrVariantV2 as ProductOrVariantV2, index_d_ProductType as ProductType, index_d_QueryFieldNumber as QueryFieldNumber, type index_d_QueryProductsExportSpiResponse as QueryProductsExportSpiResponse, type index_d_QueryRequestLoose as QueryRequestLoose, type index_d_QueryVariantsExportSpiResponse as QueryVariantsExportSpiResponse, type index_d_RestoreInfo as RestoreInfo, type index_d_Ribbon as Ribbon, index_d_RuleType as RuleType, type index_d_SecuredMedia as SecuredMedia, type index_d_SeoSchema as SeoSchema, type index_d_Settings as Settings, index_d_SortOrder as SortOrder, type index_d_Sorting as Sorting, index_d_Status as Status, type index_d_Stock as Stock, type index_d_StoreVariant as StoreVariant, type index_d_SystemError as SystemError, type index_d_Tag as Tag, type index_d_ValidationError as ValidationError, type index_d_Variant as Variant, type index_d_VariantDataWithNoStock as VariantDataWithNoStock, type index_d_VariantStock as VariantStock, type index_d_VideoResolution as VideoResolution, index_d_WebhookIdentityType as WebhookIdentityType, index_d_createExportAsyncJob as createExportAsyncJob, index_d_getExportAsyncJob as getExportAsyncJob };
|
|
1076
1207
|
}
|
|
1077
1208
|
|
|
1078
1209
|
export { index_d as exportAsyncJob };
|
package/build/cjs/context.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"context.js","sourceRoot":"","sources":["../../context.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,iGAAiF"}
|
package/build/cjs/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uFAAyE;AAEhE,wCAAc"}
|
package/build/cjs/meta.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"meta.js","sourceRoot":"","sources":["../../meta.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,8FAA8E"}
|