@wix/auto_sdk_export-async-job_export-async-job 1.0.3 → 1.0.4
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 +30 -1
- package/build/cjs/index.js +365 -15
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +1118 -1
- package/build/cjs/index.typings.js +343 -15
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +319 -1
- package/build/cjs/meta.js +167 -15
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +30 -0
- package/build/es/index.mjs +331 -0
- package/build/es/index.mjs.map +1 -0
- package/build/{internal/cjs/src/fedinfra-exportservice-v1-export-async-job-export-async-job.universal.d.ts → es/index.typings.d.mts} +151 -164
- package/build/es/index.typings.mjs +309 -0
- package/build/es/index.typings.mjs.map +1 -0
- package/build/es/meta.d.mts +319 -0
- package/build/es/meta.mjs +142 -0
- package/build/es/meta.mjs.map +1 -0
- package/build/internal/cjs/index.d.ts +30 -1
- package/build/internal/cjs/index.js +365 -15
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +1118 -1
- package/build/internal/cjs/index.typings.js +343 -15
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +319 -1
- package/build/internal/cjs/meta.js +167 -15
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +30 -0
- package/build/internal/es/index.mjs +331 -0
- package/build/internal/es/index.mjs.map +1 -0
- package/build/{cjs/src/fedinfra-exportservice-v1-export-async-job-export-async-job.universal.d.ts → internal/es/index.typings.d.mts} +151 -164
- package/build/internal/es/index.typings.mjs +309 -0
- package/build/internal/es/index.typings.mjs.map +1 -0
- package/build/internal/es/meta.d.mts +319 -0
- package/build/internal/es/meta.mjs +142 -0
- package/build/internal/es/meta.mjs.map +1 -0
- package/package.json +12 -10
- package/build/cjs/src/fedinfra-exportservice-v1-export-async-job-export-async-job.context.d.ts +0 -6
- package/build/cjs/src/fedinfra-exportservice-v1-export-async-job-export-async-job.context.js +0 -21
- package/build/cjs/src/fedinfra-exportservice-v1-export-async-job-export-async-job.context.js.map +0 -1
- package/build/cjs/src/fedinfra-exportservice-v1-export-async-job-export-async-job.http.d.ts +0 -5
- package/build/cjs/src/fedinfra-exportservice-v1-export-async-job-export-async-job.http.js +0 -102
- package/build/cjs/src/fedinfra-exportservice-v1-export-async-job-export-async-job.http.js.map +0 -1
- package/build/cjs/src/fedinfra-exportservice-v1-export-async-job-export-async-job.meta.d.ts +0 -16
- package/build/cjs/src/fedinfra-exportservice-v1-export-async-job-export-async-job.meta.js +0 -66
- package/build/cjs/src/fedinfra-exportservice-v1-export-async-job-export-async-job.meta.js.map +0 -1
- package/build/cjs/src/fedinfra-exportservice-v1-export-async-job-export-async-job.public.d.ts +0 -23
- package/build/cjs/src/fedinfra-exportservice-v1-export-async-job-export-async-job.public.js +0 -31
- package/build/cjs/src/fedinfra-exportservice-v1-export-async-job-export-async-job.public.js.map +0 -1
- package/build/cjs/src/fedinfra-exportservice-v1-export-async-job-export-async-job.types.d.ts +0 -1132
- package/build/cjs/src/fedinfra-exportservice-v1-export-async-job-export-async-job.types.js +0 -146
- package/build/cjs/src/fedinfra-exportservice-v1-export-async-job-export-async-job.types.js.map +0 -1
- package/build/cjs/src/fedinfra-exportservice-v1-export-async-job-export-async-job.universal.js +0 -254
- package/build/cjs/src/fedinfra-exportservice-v1-export-async-job-export-async-job.universal.js.map +0 -1
- package/build/es/index.d.ts +0 -1
- package/build/es/index.js +0 -2
- package/build/es/index.js.map +0 -1
- package/build/es/index.typings.d.ts +0 -1
- package/build/es/index.typings.js +0 -2
- package/build/es/index.typings.js.map +0 -1
- package/build/es/meta.d.ts +0 -1
- package/build/es/meta.js +0 -2
- package/build/es/meta.js.map +0 -1
- package/build/es/src/fedinfra-exportservice-v1-export-async-job-export-async-job.context.d.ts +0 -6
- package/build/es/src/fedinfra-exportservice-v1-export-async-job-export-async-job.context.js +0 -6
- package/build/es/src/fedinfra-exportservice-v1-export-async-job-export-async-job.context.js.map +0 -1
- package/build/es/src/fedinfra-exportservice-v1-export-async-job-export-async-job.http.d.ts +0 -5
- package/build/es/src/fedinfra-exportservice-v1-export-async-job-export-async-job.http.js +0 -97
- package/build/es/src/fedinfra-exportservice-v1-export-async-job-export-async-job.http.js.map +0 -1
- package/build/es/src/fedinfra-exportservice-v1-export-async-job-export-async-job.meta.d.ts +0 -16
- package/build/es/src/fedinfra-exportservice-v1-export-async-job-export-async-job.meta.js +0 -38
- package/build/es/src/fedinfra-exportservice-v1-export-async-job-export-async-job.meta.js.map +0 -1
- package/build/es/src/fedinfra-exportservice-v1-export-async-job-export-async-job.public.d.ts +0 -23
- package/build/es/src/fedinfra-exportservice-v1-export-async-job-export-async-job.public.js +0 -14
- package/build/es/src/fedinfra-exportservice-v1-export-async-job-export-async-job.public.js.map +0 -1
- package/build/es/src/fedinfra-exportservice-v1-export-async-job-export-async-job.types.d.ts +0 -1132
- package/build/es/src/fedinfra-exportservice-v1-export-async-job-export-async-job.types.js +0 -143
- package/build/es/src/fedinfra-exportservice-v1-export-async-job-export-async-job.types.js.map +0 -1
- package/build/es/src/fedinfra-exportservice-v1-export-async-job-export-async-job.universal.d.ts +0 -1131
- package/build/es/src/fedinfra-exportservice-v1-export-async-job-export-async-job.universal.js +0 -226
- package/build/es/src/fedinfra-exportservice-v1-export-async-job-export-async-job.universal.js.map +0 -1
- package/build/internal/cjs/src/fedinfra-exportservice-v1-export-async-job-export-async-job.context.d.ts +0 -6
- package/build/internal/cjs/src/fedinfra-exportservice-v1-export-async-job-export-async-job.context.js +0 -21
- package/build/internal/cjs/src/fedinfra-exportservice-v1-export-async-job-export-async-job.context.js.map +0 -1
- package/build/internal/cjs/src/fedinfra-exportservice-v1-export-async-job-export-async-job.http.d.ts +0 -5
- package/build/internal/cjs/src/fedinfra-exportservice-v1-export-async-job-export-async-job.http.js +0 -102
- package/build/internal/cjs/src/fedinfra-exportservice-v1-export-async-job-export-async-job.http.js.map +0 -1
- package/build/internal/cjs/src/fedinfra-exportservice-v1-export-async-job-export-async-job.meta.d.ts +0 -16
- package/build/internal/cjs/src/fedinfra-exportservice-v1-export-async-job-export-async-job.meta.js +0 -66
- package/build/internal/cjs/src/fedinfra-exportservice-v1-export-async-job-export-async-job.meta.js.map +0 -1
- package/build/internal/cjs/src/fedinfra-exportservice-v1-export-async-job-export-async-job.public.d.ts +0 -23
- package/build/internal/cjs/src/fedinfra-exportservice-v1-export-async-job-export-async-job.public.js +0 -31
- package/build/internal/cjs/src/fedinfra-exportservice-v1-export-async-job-export-async-job.public.js.map +0 -1
- package/build/internal/cjs/src/fedinfra-exportservice-v1-export-async-job-export-async-job.types.d.ts +0 -1132
- package/build/internal/cjs/src/fedinfra-exportservice-v1-export-async-job-export-async-job.types.js +0 -146
- package/build/internal/cjs/src/fedinfra-exportservice-v1-export-async-job-export-async-job.types.js.map +0 -1
- package/build/internal/cjs/src/fedinfra-exportservice-v1-export-async-job-export-async-job.universal.js +0 -254
- package/build/internal/cjs/src/fedinfra-exportservice-v1-export-async-job-export-async-job.universal.js.map +0 -1
- package/build/internal/es/index.d.ts +0 -1
- package/build/internal/es/index.js +0 -2
- package/build/internal/es/index.js.map +0 -1
- package/build/internal/es/index.typings.d.ts +0 -1
- package/build/internal/es/index.typings.js +0 -2
- package/build/internal/es/index.typings.js.map +0 -1
- package/build/internal/es/meta.d.ts +0 -1
- package/build/internal/es/meta.js +0 -2
- package/build/internal/es/meta.js.map +0 -1
- package/build/internal/es/src/fedinfra-exportservice-v1-export-async-job-export-async-job.context.d.ts +0 -6
- package/build/internal/es/src/fedinfra-exportservice-v1-export-async-job-export-async-job.context.js +0 -6
- package/build/internal/es/src/fedinfra-exportservice-v1-export-async-job-export-async-job.context.js.map +0 -1
- package/build/internal/es/src/fedinfra-exportservice-v1-export-async-job-export-async-job.http.d.ts +0 -5
- package/build/internal/es/src/fedinfra-exportservice-v1-export-async-job-export-async-job.http.js +0 -97
- package/build/internal/es/src/fedinfra-exportservice-v1-export-async-job-export-async-job.http.js.map +0 -1
- package/build/internal/es/src/fedinfra-exportservice-v1-export-async-job-export-async-job.meta.d.ts +0 -16
- package/build/internal/es/src/fedinfra-exportservice-v1-export-async-job-export-async-job.meta.js +0 -38
- package/build/internal/es/src/fedinfra-exportservice-v1-export-async-job-export-async-job.meta.js.map +0 -1
- package/build/internal/es/src/fedinfra-exportservice-v1-export-async-job-export-async-job.public.d.ts +0 -23
- package/build/internal/es/src/fedinfra-exportservice-v1-export-async-job-export-async-job.public.js +0 -14
- package/build/internal/es/src/fedinfra-exportservice-v1-export-async-job-export-async-job.public.js.map +0 -1
- package/build/internal/es/src/fedinfra-exportservice-v1-export-async-job-export-async-job.types.d.ts +0 -1132
- package/build/internal/es/src/fedinfra-exportservice-v1-export-async-job-export-async-job.types.js +0 -143
- package/build/internal/es/src/fedinfra-exportservice-v1-export-async-job-export-async-job.types.js.map +0 -1
- package/build/internal/es/src/fedinfra-exportservice-v1-export-async-job-export-async-job.universal.d.ts +0 -1131
- package/build/internal/es/src/fedinfra-exportservice-v1-export-async-job-export-async-job.universal.js +0 -226
- package/build/internal/es/src/fedinfra-exportservice-v1-export-async-job-export-async-job.universal.js.map +0 -1
|
@@ -0,0 +1,319 @@
|
|
|
1
|
+
import { CreateExportAsyncJobRequest as CreateExportAsyncJobRequest$1, CreateExportAsyncJobResponse as CreateExportAsyncJobResponse$1, GetExportAsyncJobRequest as GetExportAsyncJobRequest$1, GetExportAsyncJobResponse as GetExportAsyncJobResponse$1 } from './index.typings.mjs';
|
|
2
|
+
import '@wix/sdk-types';
|
|
3
|
+
|
|
4
|
+
interface ExportAsyncJob {
|
|
5
|
+
/**
|
|
6
|
+
* @format GUID
|
|
7
|
+
* @readonly
|
|
8
|
+
*/
|
|
9
|
+
id?: string;
|
|
10
|
+
data?: ExportAsyncJobData;
|
|
11
|
+
status?: StatusWithLiterals;
|
|
12
|
+
/** @readonly */
|
|
13
|
+
createDate?: Date | null;
|
|
14
|
+
/** @readonly */
|
|
15
|
+
updateDate?: Date | null;
|
|
16
|
+
}
|
|
17
|
+
interface ExportAsyncJobData {
|
|
18
|
+
/** original request data for the export */
|
|
19
|
+
query?: ExportQueryV2;
|
|
20
|
+
/** translated CSV headers */
|
|
21
|
+
fields?: FieldDescriptor[];
|
|
22
|
+
arrayFieldDelimiter?: ArrayFieldDelimiterWithLiterals;
|
|
23
|
+
/** The target method to query data from */
|
|
24
|
+
methodMetadata?: MethodMetadata;
|
|
25
|
+
/** Custom spec for the target method's request/response */
|
|
26
|
+
methodSpec?: MethodSpec;
|
|
27
|
+
userId?: string;
|
|
28
|
+
subDir?: string | null;
|
|
29
|
+
format?: string;
|
|
30
|
+
uploadId?: string;
|
|
31
|
+
/** @maxLength 255 */
|
|
32
|
+
saveAs?: string | null;
|
|
33
|
+
/** the progress of fetching all data update during the process multiple times */
|
|
34
|
+
pagingMetadata?: PagingMetadataV2;
|
|
35
|
+
iterationsCount?: number;
|
|
36
|
+
processedItemsCount?: number;
|
|
37
|
+
completionStep?: string | null;
|
|
38
|
+
/** how many times the export was reset */
|
|
39
|
+
resetCount?: number;
|
|
40
|
+
/** at final step update the signed_url to download the result from */
|
|
41
|
+
signedUrl?: string;
|
|
42
|
+
/** when failed during the process update the error details */
|
|
43
|
+
error?: Details;
|
|
44
|
+
testParams?: Record<string, any> | null;
|
|
45
|
+
}
|
|
46
|
+
interface ExportQueryV2 extends ExportQueryV2PagingMethodOneOf {
|
|
47
|
+
/** Paging options to limit and skip the number of items. */
|
|
48
|
+
paging?: Paging;
|
|
49
|
+
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
|
50
|
+
cursorPaging?: ExportCursorPaging;
|
|
51
|
+
/**
|
|
52
|
+
* Filter object in the following format:
|
|
53
|
+
* `"filter" : {
|
|
54
|
+
* "fieldName1": "value1",
|
|
55
|
+
* "fieldName2":{"$operator":"value2"}
|
|
56
|
+
* }`
|
|
57
|
+
* Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
|
|
58
|
+
*/
|
|
59
|
+
filter?: Record<string, any> | null;
|
|
60
|
+
/**
|
|
61
|
+
* Sort object in the following format:
|
|
62
|
+
* `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
|
|
63
|
+
*/
|
|
64
|
+
sort?: Sorting[];
|
|
65
|
+
/** Array of projected fields. A list of specific field names to return. If `fieldsets` are also specified, the union of `fieldsets` and `fields` is returned. */
|
|
66
|
+
fields?: string[];
|
|
67
|
+
/** Array of named, predefined sets of projected fields. A array of predefined named sets of fields to be returned. Specifying multiple `fieldsets` will return the union of fields from all sets. If `fields` are also specified, the union of `fieldsets` and `fields` is returned. */
|
|
68
|
+
fieldsets?: string[];
|
|
69
|
+
}
|
|
70
|
+
/** @oneof */
|
|
71
|
+
interface ExportQueryV2PagingMethodOneOf {
|
|
72
|
+
/** Paging options to limit and skip the number of items. */
|
|
73
|
+
paging?: Paging;
|
|
74
|
+
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
|
75
|
+
cursorPaging?: ExportCursorPaging;
|
|
76
|
+
}
|
|
77
|
+
interface Sorting {
|
|
78
|
+
/**
|
|
79
|
+
* Name of the field to sort by.
|
|
80
|
+
* @maxLength 512
|
|
81
|
+
*/
|
|
82
|
+
fieldName?: string;
|
|
83
|
+
/** Sort order. */
|
|
84
|
+
order?: SortOrderWithLiterals;
|
|
85
|
+
}
|
|
86
|
+
declare enum SortOrder {
|
|
87
|
+
ASC = "ASC",
|
|
88
|
+
DESC = "DESC"
|
|
89
|
+
}
|
|
90
|
+
/** @enumType */
|
|
91
|
+
type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
|
|
92
|
+
interface Paging {
|
|
93
|
+
/** Number of items to load. */
|
|
94
|
+
limit?: number | null;
|
|
95
|
+
/** Number of items to skip in the current sort order. */
|
|
96
|
+
offset?: number | null;
|
|
97
|
+
}
|
|
98
|
+
interface ExportCursorPaging {
|
|
99
|
+
/** @max 10000 */
|
|
100
|
+
limit?: number | null;
|
|
101
|
+
cursor?: string | null;
|
|
102
|
+
}
|
|
103
|
+
interface FieldDescriptor {
|
|
104
|
+
/** the path to the field out of the query response items */
|
|
105
|
+
id?: string;
|
|
106
|
+
/** how to present the filed in the CSV headers (translated) */
|
|
107
|
+
header?: string;
|
|
108
|
+
}
|
|
109
|
+
declare enum ArrayFieldDelimiter {
|
|
110
|
+
SEMICOLON = "SEMICOLON",
|
|
111
|
+
SEMICOLON_AND_SPACE = "SEMICOLON_AND_SPACE"
|
|
112
|
+
}
|
|
113
|
+
/** @enumType */
|
|
114
|
+
type ArrayFieldDelimiterWithLiterals = ArrayFieldDelimiter | 'SEMICOLON' | 'SEMICOLON_AND_SPACE';
|
|
115
|
+
interface MethodMetadata {
|
|
116
|
+
artifact?: string;
|
|
117
|
+
service?: string;
|
|
118
|
+
method?: string;
|
|
119
|
+
}
|
|
120
|
+
interface MethodSpec {
|
|
121
|
+
requestQueryFieldNumber?: QueryFieldNumberWithLiterals;
|
|
122
|
+
responseRepeatedFieldName?: string | null;
|
|
123
|
+
responsePagingMetadataFieldName?: string | null;
|
|
124
|
+
}
|
|
125
|
+
declare enum QueryFieldNumber {
|
|
126
|
+
/** message QuerySomethingRequest { .wix.common.QueryV2 query = 1; } */
|
|
127
|
+
DEFAULT = "DEFAULT",
|
|
128
|
+
FIELD_2 = "FIELD_2",
|
|
129
|
+
FIELD_3 = "FIELD_3",
|
|
130
|
+
FIELD_4 = "FIELD_4",
|
|
131
|
+
FIELD_5 = "FIELD_5",
|
|
132
|
+
FIELD_6 = "FIELD_6",
|
|
133
|
+
FIELD_7 = "FIELD_7",
|
|
134
|
+
/** message QuerySomethingRequest { .wix.common.QueryV2 query = 8; } */
|
|
135
|
+
FIELD_8 = "FIELD_8",
|
|
136
|
+
FIELD_9 = "FIELD_9"
|
|
137
|
+
}
|
|
138
|
+
/** @enumType */
|
|
139
|
+
type QueryFieldNumberWithLiterals = QueryFieldNumber | 'DEFAULT' | 'FIELD_2' | 'FIELD_3' | 'FIELD_4' | 'FIELD_5' | 'FIELD_6' | 'FIELD_7' | 'FIELD_8' | 'FIELD_9';
|
|
140
|
+
interface PagingMetadataV2 {
|
|
141
|
+
/** Number of items returned in the response. */
|
|
142
|
+
count?: number | null;
|
|
143
|
+
/** Offset that was requested. */
|
|
144
|
+
offset?: number | null;
|
|
145
|
+
/** Total number of items that match the query. Returned if offset paging is used and the `tooManyToCount` flag is not set. */
|
|
146
|
+
total?: number | null;
|
|
147
|
+
/** Flag that indicates the server failed to calculate the `total` field. */
|
|
148
|
+
tooManyToCount?: boolean | null;
|
|
149
|
+
/** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
|
|
150
|
+
cursors?: Cursors;
|
|
151
|
+
}
|
|
152
|
+
interface Cursors {
|
|
153
|
+
/**
|
|
154
|
+
* Cursor string pointing to the next page in the list of results.
|
|
155
|
+
* @maxLength 16000
|
|
156
|
+
*/
|
|
157
|
+
next?: string | null;
|
|
158
|
+
/**
|
|
159
|
+
* Cursor pointing to the previous page in the list of results.
|
|
160
|
+
* @maxLength 16000
|
|
161
|
+
*/
|
|
162
|
+
prev?: string | null;
|
|
163
|
+
}
|
|
164
|
+
interface Details extends DetailsKindOneOf {
|
|
165
|
+
applicationError?: ApplicationError;
|
|
166
|
+
validationError?: ValidationError;
|
|
167
|
+
systemError?: SystemError;
|
|
168
|
+
/**
|
|
169
|
+
* deprecated in API's - to enable migration from rendering arbitrary tracing to rest response
|
|
170
|
+
* @deprecated
|
|
171
|
+
*/
|
|
172
|
+
tracing?: Record<string, string>;
|
|
173
|
+
}
|
|
174
|
+
/** @oneof */
|
|
175
|
+
interface DetailsKindOneOf {
|
|
176
|
+
applicationError?: ApplicationError;
|
|
177
|
+
validationError?: ValidationError;
|
|
178
|
+
systemError?: SystemError;
|
|
179
|
+
}
|
|
180
|
+
interface ApplicationError {
|
|
181
|
+
/** Error code. */
|
|
182
|
+
code?: string;
|
|
183
|
+
/** Description of the error. */
|
|
184
|
+
description?: string;
|
|
185
|
+
/** Data related to the error. */
|
|
186
|
+
data?: Record<string, any> | null;
|
|
187
|
+
}
|
|
188
|
+
/**
|
|
189
|
+
* example result:
|
|
190
|
+
* {
|
|
191
|
+
* "fieldViolations": [
|
|
192
|
+
* {
|
|
193
|
+
* "field": "fieldA",
|
|
194
|
+
* "description": "invalid music note. supported notes: [do,re,mi,fa,sol,la,ti]",
|
|
195
|
+
* "violatedRule": "OTHER",
|
|
196
|
+
* "ruleName": "INVALID_NOTE",
|
|
197
|
+
* "data": {
|
|
198
|
+
* "value": "FI"
|
|
199
|
+
* }
|
|
200
|
+
* },
|
|
201
|
+
* {
|
|
202
|
+
* "field": "fieldB",
|
|
203
|
+
* "description": "field value out of range. supported range: [0-20]",
|
|
204
|
+
* "violatedRule": "MAX",
|
|
205
|
+
* "data": {
|
|
206
|
+
* "threshold": 20
|
|
207
|
+
* }
|
|
208
|
+
* },
|
|
209
|
+
* {
|
|
210
|
+
* "field": "fieldC",
|
|
211
|
+
* "description": "invalid phone number. provide a valid phone number of size: [7-12], supported characters: [0-9, +, -, (, )]",
|
|
212
|
+
* "violatedRule": "FORMAT",
|
|
213
|
+
* "data": {
|
|
214
|
+
* "type": "PHONE"
|
|
215
|
+
* }
|
|
216
|
+
* }
|
|
217
|
+
* ]
|
|
218
|
+
* }
|
|
219
|
+
*/
|
|
220
|
+
interface ValidationError {
|
|
221
|
+
fieldViolations?: FieldViolation[];
|
|
222
|
+
}
|
|
223
|
+
declare enum RuleType {
|
|
224
|
+
VALIDATION = "VALIDATION",
|
|
225
|
+
OTHER = "OTHER",
|
|
226
|
+
MAX = "MAX",
|
|
227
|
+
MIN = "MIN",
|
|
228
|
+
MAX_LENGTH = "MAX_LENGTH",
|
|
229
|
+
MIN_LENGTH = "MIN_LENGTH",
|
|
230
|
+
MAX_SIZE = "MAX_SIZE",
|
|
231
|
+
MIN_SIZE = "MIN_SIZE",
|
|
232
|
+
FORMAT = "FORMAT",
|
|
233
|
+
DECIMAL_LTE = "DECIMAL_LTE",
|
|
234
|
+
DECIMAL_GTE = "DECIMAL_GTE",
|
|
235
|
+
DECIMAL_LT = "DECIMAL_LT",
|
|
236
|
+
DECIMAL_GT = "DECIMAL_GT",
|
|
237
|
+
DECIMAL_MAX_SCALE = "DECIMAL_MAX_SCALE",
|
|
238
|
+
INVALID_ENUM_VALUE = "INVALID_ENUM_VALUE",
|
|
239
|
+
REQUIRED_FIELD = "REQUIRED_FIELD",
|
|
240
|
+
FIELD_NOT_ALLOWED = "FIELD_NOT_ALLOWED",
|
|
241
|
+
ONE_OF_ALIGNMENT = "ONE_OF_ALIGNMENT",
|
|
242
|
+
EXACT_LENGTH = "EXACT_LENGTH",
|
|
243
|
+
EXACT_SIZE = "EXACT_SIZE",
|
|
244
|
+
REQUIRED_ONE_OF_FIELD = "REQUIRED_ONE_OF_FIELD"
|
|
245
|
+
}
|
|
246
|
+
/** @enumType */
|
|
247
|
+
type RuleTypeWithLiterals = RuleType | 'VALIDATION' | 'OTHER' | 'MAX' | 'MIN' | 'MAX_LENGTH' | 'MIN_LENGTH' | 'MAX_SIZE' | 'MIN_SIZE' | 'FORMAT' | 'DECIMAL_LTE' | 'DECIMAL_GTE' | 'DECIMAL_LT' | 'DECIMAL_GT' | 'DECIMAL_MAX_SCALE' | 'INVALID_ENUM_VALUE' | 'REQUIRED_FIELD' | 'FIELD_NOT_ALLOWED' | 'ONE_OF_ALIGNMENT' | 'EXACT_LENGTH' | 'EXACT_SIZE' | 'REQUIRED_ONE_OF_FIELD';
|
|
248
|
+
interface FieldViolation {
|
|
249
|
+
field?: string;
|
|
250
|
+
description?: string;
|
|
251
|
+
violatedRule?: RuleTypeWithLiterals;
|
|
252
|
+
/** applicable when violated_rule=OTHER */
|
|
253
|
+
ruleName?: string | null;
|
|
254
|
+
data?: Record<string, any> | null;
|
|
255
|
+
}
|
|
256
|
+
interface SystemError {
|
|
257
|
+
/** Error code. */
|
|
258
|
+
errorCode?: string | null;
|
|
259
|
+
}
|
|
260
|
+
declare enum Status {
|
|
261
|
+
UNKNOWN = "UNKNOWN",
|
|
262
|
+
/** Job is created, but hasn't started yet. */
|
|
263
|
+
INITIALIZED = "INITIALIZED",
|
|
264
|
+
/** Job has started and is in progress. */
|
|
265
|
+
PROCESSING = "PROCESSING",
|
|
266
|
+
/** Job is finished. */
|
|
267
|
+
FINISHED = "FINISHED",
|
|
268
|
+
/** Job has failed. */
|
|
269
|
+
FAILED = "FAILED"
|
|
270
|
+
}
|
|
271
|
+
/** @enumType */
|
|
272
|
+
type StatusWithLiterals = Status | 'UNKNOWN' | 'INITIALIZED' | 'PROCESSING' | 'FINISHED' | 'FAILED';
|
|
273
|
+
interface CreateExportAsyncJobRequest {
|
|
274
|
+
/** WQL expression */
|
|
275
|
+
query: ExportQueryV2;
|
|
276
|
+
/** translated CSV headers */
|
|
277
|
+
fields: FieldDescriptor[];
|
|
278
|
+
arrayFieldDelimiter?: ArrayFieldDelimiterWithLiterals;
|
|
279
|
+
/** The target method to query data from */
|
|
280
|
+
methodMetadata: MethodMetadata;
|
|
281
|
+
/** The target method to query data from */
|
|
282
|
+
methodSpec?: MethodSpec;
|
|
283
|
+
/** @maxLength 255 */
|
|
284
|
+
saveAs?: string | null;
|
|
285
|
+
/** Test params */
|
|
286
|
+
testParams?: Record<string, any> | null;
|
|
287
|
+
}
|
|
288
|
+
interface CreateExportAsyncJobResponse {
|
|
289
|
+
/** The retrieved Exports */
|
|
290
|
+
job?: ExportAsyncJob;
|
|
291
|
+
}
|
|
292
|
+
interface GetExportAsyncJobRequest {
|
|
293
|
+
/**
|
|
294
|
+
* Id of the Export to retrieve
|
|
295
|
+
* @format GUID
|
|
296
|
+
*/
|
|
297
|
+
jobId: string;
|
|
298
|
+
}
|
|
299
|
+
interface GetExportAsyncJobResponse {
|
|
300
|
+
/** The retrieved ExportAsyncJob */
|
|
301
|
+
job?: ExportAsyncJob;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
305
|
+
getUrl: (context: any) => string;
|
|
306
|
+
httpMethod: K;
|
|
307
|
+
path: string;
|
|
308
|
+
pathParams: M;
|
|
309
|
+
__requestType: T;
|
|
310
|
+
__originalRequestType: S;
|
|
311
|
+
__responseType: Q;
|
|
312
|
+
__originalResponseType: R;
|
|
313
|
+
};
|
|
314
|
+
declare function createExportAsyncJob(): __PublicMethodMetaInfo<'POST', {}, CreateExportAsyncJobRequest$1, CreateExportAsyncJobRequest, CreateExportAsyncJobResponse$1, CreateExportAsyncJobResponse>;
|
|
315
|
+
declare function getExportAsyncJob(): __PublicMethodMetaInfo<'GET', {
|
|
316
|
+
jobId: string;
|
|
317
|
+
}, GetExportAsyncJobRequest$1, GetExportAsyncJobRequest, GetExportAsyncJobResponse$1, GetExportAsyncJobResponse>;
|
|
318
|
+
|
|
319
|
+
export { type __PublicMethodMetaInfo, createExportAsyncJob, getExportAsyncJob };
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
// src/fedinfra-exportservice-v1-export-async-job-export-async-job.http.ts
|
|
2
|
+
import { toURLSearchParams } from "@wix/sdk-runtime/rest-modules";
|
|
3
|
+
import { transformRESTTimestampToSDKTimestamp } from "@wix/sdk-runtime/transformations/timestamp";
|
|
4
|
+
import { transformPaths } from "@wix/sdk-runtime/transformations/transform-paths";
|
|
5
|
+
import { resolveUrl } from "@wix/sdk-runtime/rest-modules";
|
|
6
|
+
function resolveWixFedinfraExportserviceV1ExportServiceUrl(opts) {
|
|
7
|
+
const domainToMappings = {
|
|
8
|
+
"manage._base_domain_": [
|
|
9
|
+
{
|
|
10
|
+
srcPath: "/export-service",
|
|
11
|
+
destPath: ""
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"bo._base_domain_": [
|
|
15
|
+
{
|
|
16
|
+
srcPath: "/export-service",
|
|
17
|
+
destPath: ""
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
"wixbo.ai": [
|
|
21
|
+
{
|
|
22
|
+
srcPath: "/export-service",
|
|
23
|
+
destPath: ""
|
|
24
|
+
}
|
|
25
|
+
],
|
|
26
|
+
"wix-bo.com": [
|
|
27
|
+
{
|
|
28
|
+
srcPath: "/export-service",
|
|
29
|
+
destPath: ""
|
|
30
|
+
}
|
|
31
|
+
],
|
|
32
|
+
"dev._base_domain_": [
|
|
33
|
+
{
|
|
34
|
+
srcPath: "/export-service",
|
|
35
|
+
destPath: ""
|
|
36
|
+
}
|
|
37
|
+
],
|
|
38
|
+
"platform.rise.ai": [
|
|
39
|
+
{
|
|
40
|
+
srcPath: "/_api/export-service",
|
|
41
|
+
destPath: ""
|
|
42
|
+
}
|
|
43
|
+
]
|
|
44
|
+
};
|
|
45
|
+
return resolveUrl(Object.assign(opts, { domainToMappings }));
|
|
46
|
+
}
|
|
47
|
+
var PACKAGE_NAME = "@wix/auto_sdk_export-async-job_export-async-job";
|
|
48
|
+
function createExportAsyncJob(payload) {
|
|
49
|
+
function __createExportAsyncJob({ host }) {
|
|
50
|
+
const metadata = {
|
|
51
|
+
entityFqdn: "wix.fedinfra.exportservice.v1.export_async_job",
|
|
52
|
+
method: "POST",
|
|
53
|
+
methodFqn: "wix.fedinfra.exportservice.v1.ExportService.CreateExportAsyncJob",
|
|
54
|
+
packageName: PACKAGE_NAME,
|
|
55
|
+
url: resolveWixFedinfraExportserviceV1ExportServiceUrl({
|
|
56
|
+
protoPath: "/v1/export-async-job",
|
|
57
|
+
data: payload,
|
|
58
|
+
host
|
|
59
|
+
}),
|
|
60
|
+
data: payload,
|
|
61
|
+
transformResponse: (payload2) => transformPaths(payload2, [
|
|
62
|
+
{
|
|
63
|
+
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
64
|
+
paths: [{ path: "job.createDate" }, { path: "job.updateDate" }]
|
|
65
|
+
}
|
|
66
|
+
])
|
|
67
|
+
};
|
|
68
|
+
return metadata;
|
|
69
|
+
}
|
|
70
|
+
return __createExportAsyncJob;
|
|
71
|
+
}
|
|
72
|
+
function getExportAsyncJob(payload) {
|
|
73
|
+
function __getExportAsyncJob({ host }) {
|
|
74
|
+
const metadata = {
|
|
75
|
+
entityFqdn: "wix.fedinfra.exportservice.v1.export_async_job",
|
|
76
|
+
method: "GET",
|
|
77
|
+
methodFqn: "wix.fedinfra.exportservice.v1.ExportService.GetExportAsyncJob",
|
|
78
|
+
packageName: PACKAGE_NAME,
|
|
79
|
+
url: resolveWixFedinfraExportserviceV1ExportServiceUrl({
|
|
80
|
+
protoPath: "/v1/export-async-job/{jobId}",
|
|
81
|
+
data: payload,
|
|
82
|
+
host
|
|
83
|
+
}),
|
|
84
|
+
params: toURLSearchParams(payload),
|
|
85
|
+
transformResponse: (payload2) => transformPaths(payload2, [
|
|
86
|
+
{
|
|
87
|
+
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
88
|
+
paths: [{ path: "job.createDate" }, { path: "job.updateDate" }]
|
|
89
|
+
}
|
|
90
|
+
])
|
|
91
|
+
};
|
|
92
|
+
return metadata;
|
|
93
|
+
}
|
|
94
|
+
return __getExportAsyncJob;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
// src/fedinfra-exportservice-v1-export-async-job-export-async-job.meta.ts
|
|
98
|
+
function createExportAsyncJob2() {
|
|
99
|
+
const payload = {};
|
|
100
|
+
const getRequestOptions = createExportAsyncJob(
|
|
101
|
+
payload
|
|
102
|
+
);
|
|
103
|
+
const getUrl = (context) => {
|
|
104
|
+
const { url } = getRequestOptions(context);
|
|
105
|
+
return url;
|
|
106
|
+
};
|
|
107
|
+
return {
|
|
108
|
+
getUrl,
|
|
109
|
+
httpMethod: "POST",
|
|
110
|
+
path: "/v1/export-async-job",
|
|
111
|
+
pathParams: {},
|
|
112
|
+
__requestType: null,
|
|
113
|
+
__originalRequestType: null,
|
|
114
|
+
__responseType: null,
|
|
115
|
+
__originalResponseType: null
|
|
116
|
+
};
|
|
117
|
+
}
|
|
118
|
+
function getExportAsyncJob2() {
|
|
119
|
+
const payload = { jobId: ":jobId" };
|
|
120
|
+
const getRequestOptions = getExportAsyncJob(
|
|
121
|
+
payload
|
|
122
|
+
);
|
|
123
|
+
const getUrl = (context) => {
|
|
124
|
+
const { url } = getRequestOptions(context);
|
|
125
|
+
return url;
|
|
126
|
+
};
|
|
127
|
+
return {
|
|
128
|
+
getUrl,
|
|
129
|
+
httpMethod: "GET",
|
|
130
|
+
path: "/v1/export-async-job/{jobId}",
|
|
131
|
+
pathParams: { jobId: "jobId" },
|
|
132
|
+
__requestType: null,
|
|
133
|
+
__originalRequestType: null,
|
|
134
|
+
__responseType: null,
|
|
135
|
+
__originalResponseType: null
|
|
136
|
+
};
|
|
137
|
+
}
|
|
138
|
+
export {
|
|
139
|
+
createExportAsyncJob2 as createExportAsyncJob,
|
|
140
|
+
getExportAsyncJob2 as getExportAsyncJob
|
|
141
|
+
};
|
|
142
|
+
//# sourceMappingURL=meta.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/fedinfra-exportservice-v1-export-async-job-export-async-job.http.ts","../../../src/fedinfra-exportservice-v1-export-async-job-export-async-job.meta.ts"],"sourcesContent":["import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nfunction resolveWixFedinfraExportserviceV1ExportServiceUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'manage._base_domain_': [\n {\n srcPath: '/export-service',\n destPath: '',\n },\n ],\n 'bo._base_domain_': [\n {\n srcPath: '/export-service',\n destPath: '',\n },\n ],\n 'wixbo.ai': [\n {\n srcPath: '/export-service',\n destPath: '',\n },\n ],\n 'wix-bo.com': [\n {\n srcPath: '/export-service',\n destPath: '',\n },\n ],\n 'dev._base_domain_': [\n {\n srcPath: '/export-service',\n destPath: '',\n },\n ],\n 'platform.rise.ai': [\n {\n srcPath: '/_api/export-service',\n destPath: '',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_export-async-job_export-async-job';\n\n/** Creates a new Export */\nexport function createExportAsyncJob(\n payload: object\n): RequestOptionsFactory<any> {\n function __createExportAsyncJob({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.fedinfra.exportservice.v1.export_async_job',\n method: 'POST' as any,\n methodFqn:\n 'wix.fedinfra.exportservice.v1.ExportService.CreateExportAsyncJob',\n packageName: PACKAGE_NAME,\n url: resolveWixFedinfraExportserviceV1ExportServiceUrl({\n protoPath: '/v1/export-async-job',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [{ path: 'job.createDate' }, { path: 'job.updateDate' }],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __createExportAsyncJob;\n}\n\n/** Get a Export by id */\nexport function getExportAsyncJob(payload: object): RequestOptionsFactory<any> {\n function __getExportAsyncJob({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.fedinfra.exportservice.v1.export_async_job',\n method: 'GET' as any,\n methodFqn:\n 'wix.fedinfra.exportservice.v1.ExportService.GetExportAsyncJob',\n packageName: PACKAGE_NAME,\n url: resolveWixFedinfraExportserviceV1ExportServiceUrl({\n protoPath: '/v1/export-async-job/{jobId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [{ path: 'job.createDate' }, { path: 'job.updateDate' }],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getExportAsyncJob;\n}\n","import * as ambassadorWixFedinfraExportserviceV1ExportAsyncJob from './fedinfra-exportservice-v1-export-async-job-export-async-job.http.js';\nimport * as ambassadorWixFedinfraExportserviceV1ExportAsyncJobTypes from './fedinfra-exportservice-v1-export-async-job-export-async-job.types.js';\nimport * as ambassadorWixFedinfraExportserviceV1ExportAsyncJobUniversalTypes from './fedinfra-exportservice-v1-export-async-job-export-async-job.universal.js';\n\nexport type __PublicMethodMetaInfo<\n K = string,\n M = unknown,\n T = unknown,\n S = unknown,\n Q = unknown,\n R = unknown\n> = {\n getUrl: (context: any) => string;\n httpMethod: K;\n path: string;\n pathParams: M;\n __requestType: T;\n __originalRequestType: S;\n __responseType: Q;\n __originalResponseType: R;\n};\n\nexport function createExportAsyncJob(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixFedinfraExportserviceV1ExportAsyncJobUniversalTypes.CreateExportAsyncJobRequest,\n ambassadorWixFedinfraExportserviceV1ExportAsyncJobTypes.CreateExportAsyncJobRequest,\n ambassadorWixFedinfraExportserviceV1ExportAsyncJobUniversalTypes.CreateExportAsyncJobResponse,\n ambassadorWixFedinfraExportserviceV1ExportAsyncJobTypes.CreateExportAsyncJobResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixFedinfraExportserviceV1ExportAsyncJob.createExportAsyncJob(\n payload\n );\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/export-async-job',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function getExportAsyncJob(): __PublicMethodMetaInfo<\n 'GET',\n { jobId: string },\n ambassadorWixFedinfraExportserviceV1ExportAsyncJobUniversalTypes.GetExportAsyncJobRequest,\n ambassadorWixFedinfraExportserviceV1ExportAsyncJobTypes.GetExportAsyncJobRequest,\n ambassadorWixFedinfraExportserviceV1ExportAsyncJobUniversalTypes.GetExportAsyncJobResponse,\n ambassadorWixFedinfraExportserviceV1ExportAsyncJobTypes.GetExportAsyncJobResponse\n> {\n const payload = { jobId: ':jobId' } as any;\n\n const getRequestOptions =\n ambassadorWixFedinfraExportserviceV1ExportAsyncJob.getExportAsyncJob(\n payload\n );\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v1/export-async-job/{jobId}',\n pathParams: { jobId: 'jobId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n"],"mappings":"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","names":["payload","createExportAsyncJob","getExportAsyncJob"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/auto_sdk_export-async-job_export-async-job",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
|
+
"license": "MIT",
|
|
4
5
|
"publishConfig": {
|
|
5
6
|
"registry": "https://registry.npmjs.org/",
|
|
6
7
|
"access": "public"
|
|
@@ -8,18 +9,18 @@
|
|
|
8
9
|
"keywords": [],
|
|
9
10
|
"sideEffects": false,
|
|
10
11
|
"main": "./build/cjs/index.js",
|
|
11
|
-
"types": "./build/
|
|
12
|
+
"types": "./build/cjs/index.d.ts",
|
|
12
13
|
"exports": {
|
|
13
14
|
".": {
|
|
14
|
-
"import": "./build/es/index.
|
|
15
|
+
"import": "./build/es/index.mjs",
|
|
15
16
|
"require": "./build/cjs/index.js",
|
|
16
|
-
"types": "./build/es/index.d.
|
|
17
|
+
"types": "./build/es/index.d.mts"
|
|
17
18
|
},
|
|
18
19
|
"./package.json": "./package.json",
|
|
19
20
|
"./meta": {
|
|
20
|
-
"import": "./build/es/meta.
|
|
21
|
+
"import": "./build/es/meta.mjs",
|
|
21
22
|
"require": "./build/cjs/meta.js",
|
|
22
|
-
"types": "./build/es/meta.d.
|
|
23
|
+
"types": "./build/es/meta.d.mts"
|
|
23
24
|
}
|
|
24
25
|
},
|
|
25
26
|
"files": [
|
|
@@ -28,14 +29,15 @@
|
|
|
28
29
|
"service-plugins"
|
|
29
30
|
],
|
|
30
31
|
"dependencies": {
|
|
31
|
-
"@wix/sdk-runtime": "^0.3.
|
|
32
|
-
"@wix/sdk-types": "^1.13.
|
|
32
|
+
"@wix/sdk-runtime": "^0.3.55",
|
|
33
|
+
"@wix/sdk-types": "^1.13.35"
|
|
33
34
|
},
|
|
34
35
|
"devDependencies": {
|
|
36
|
+
"tsup": "^8.4.0",
|
|
35
37
|
"typescript": "^5.3.2"
|
|
36
38
|
},
|
|
37
39
|
"scripts": {
|
|
38
|
-
"build": "
|
|
40
|
+
"build": "tsup",
|
|
39
41
|
"test": ":"
|
|
40
42
|
},
|
|
41
43
|
"wix": {
|
|
@@ -48,5 +50,5 @@
|
|
|
48
50
|
"fqdn": "wix.fedinfra.exportservice.v1.export_async_job"
|
|
49
51
|
}
|
|
50
52
|
},
|
|
51
|
-
"falconPackageHash": "
|
|
53
|
+
"falconPackageHash": "5cd9770a46e125a7af8870124c258a013e7e551eee1df596173a8cef"
|
|
52
54
|
}
|
package/build/cjs/src/fedinfra-exportservice-v1-export-async-job-export-async-job.context.d.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { createExportAsyncJob as publicCreateExportAsyncJob, getExportAsyncJob as publicGetExportAsyncJob } from './fedinfra-exportservice-v1-export-async-job-export-async-job.public.js';
|
|
2
|
-
import { BuildRESTFunction, MaybeContext } from '@wix/sdk-types';
|
|
3
|
-
export declare const createExportAsyncJob: MaybeContext<BuildRESTFunction<typeof publicCreateExportAsyncJob> & typeof publicCreateExportAsyncJob>;
|
|
4
|
-
export declare const getExportAsyncJob: MaybeContext<BuildRESTFunction<typeof publicGetExportAsyncJob> & typeof publicGetExportAsyncJob>;
|
|
5
|
-
export { SortOrder, ArrayFieldDelimiter, QueryFieldNumber, RuleType, Status, ProductType, InventoryStatus, MeasurementUnit, MediaItemType, OptionType, DiscountType, FileType, } from './fedinfra-exportservice-v1-export-async-job-export-async-job.universal.js';
|
|
6
|
-
export { ExportAsyncJob, ExportAsyncJobData, ExportQueryV2, ExportQueryV2PagingMethodOneOf, Sorting, Paging, ExportCursorPaging, FieldDescriptor, MethodMetadata, MethodSpec, PagingMetadataV2, Cursors, Details, DetailsKindOneOf, ApplicationError, ValidationError, FieldViolation, SystemError, CreateExportAsyncJobRequest, CreateExportAsyncJobResponse, GetExportAsyncJobRequest, GetExportAsyncJobResponse, CancelExportAsyncJobRequest, CancelExportAsyncJobResponse, GenerateExportAsyncJobDownloadUrlRequest, GenerateExportAsyncJobDownloadUrlResponse, QueryRequestLoose, QueryVariantsExportSpiResponse, ProductOrVariant, Product, NumericPropertyRange, Stock, PriceData, FormattedPrice, CostAndProfitData, PricePerUnitData, AdditionalInfoSection, Ribbon, Media, MediaItem, MediaItemItemOneOf, MediaItemUrlAndSize, MediaItemVideo, CustomTextField, ProductOption, Choice, PageUrl, Discount, Variant, VariantDataWithNoStock, VariantStock, SeoSchema, Keyword, Tag, Settings, SecuredMedia, StoreVariant, PlatformMedia, PlatformMediaMediaOneOf, FocalPoint, VideoResolution, PreorderInfo, QueryProductsExportSpiResponse, ProductOrVariantV2, ExportAsyncJobNonNullableFields, CreateExportAsyncJobResponseNonNullableFields, GetExportAsyncJobResponseNonNullableFields, CreateExportAsyncJobOptions, } from './fedinfra-exportservice-v1-export-async-job-export-async-job.universal.js';
|
package/build/cjs/src/fedinfra-exportservice-v1-export-async-job-export-async-job.context.js
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.FileType = exports.DiscountType = exports.OptionType = exports.MediaItemType = exports.MeasurementUnit = exports.InventoryStatus = exports.ProductType = exports.Status = exports.RuleType = exports.QueryFieldNumber = exports.ArrayFieldDelimiter = exports.SortOrder = exports.getExportAsyncJob = exports.createExportAsyncJob = void 0;
|
|
4
|
-
const fedinfra_exportservice_v1_export_async_job_export_async_job_public_js_1 = require("./fedinfra-exportservice-v1-export-async-job-export-async-job.public.js");
|
|
5
|
-
const rest_modules_1 = require("@wix/sdk-runtime/rest-modules");
|
|
6
|
-
exports.createExportAsyncJob = (0, rest_modules_1.createRESTModule)(fedinfra_exportservice_v1_export_async_job_export_async_job_public_js_1.createExportAsyncJob);
|
|
7
|
-
exports.getExportAsyncJob = (0, rest_modules_1.createRESTModule)(fedinfra_exportservice_v1_export_async_job_export_async_job_public_js_1.getExportAsyncJob);
|
|
8
|
-
var fedinfra_exportservice_v1_export_async_job_export_async_job_universal_js_1 = require("./fedinfra-exportservice-v1-export-async-job-export-async-job.universal.js");
|
|
9
|
-
Object.defineProperty(exports, "SortOrder", { enumerable: true, get: function () { return fedinfra_exportservice_v1_export_async_job_export_async_job_universal_js_1.SortOrder; } });
|
|
10
|
-
Object.defineProperty(exports, "ArrayFieldDelimiter", { enumerable: true, get: function () { return fedinfra_exportservice_v1_export_async_job_export_async_job_universal_js_1.ArrayFieldDelimiter; } });
|
|
11
|
-
Object.defineProperty(exports, "QueryFieldNumber", { enumerable: true, get: function () { return fedinfra_exportservice_v1_export_async_job_export_async_job_universal_js_1.QueryFieldNumber; } });
|
|
12
|
-
Object.defineProperty(exports, "RuleType", { enumerable: true, get: function () { return fedinfra_exportservice_v1_export_async_job_export_async_job_universal_js_1.RuleType; } });
|
|
13
|
-
Object.defineProperty(exports, "Status", { enumerable: true, get: function () { return fedinfra_exportservice_v1_export_async_job_export_async_job_universal_js_1.Status; } });
|
|
14
|
-
Object.defineProperty(exports, "ProductType", { enumerable: true, get: function () { return fedinfra_exportservice_v1_export_async_job_export_async_job_universal_js_1.ProductType; } });
|
|
15
|
-
Object.defineProperty(exports, "InventoryStatus", { enumerable: true, get: function () { return fedinfra_exportservice_v1_export_async_job_export_async_job_universal_js_1.InventoryStatus; } });
|
|
16
|
-
Object.defineProperty(exports, "MeasurementUnit", { enumerable: true, get: function () { return fedinfra_exportservice_v1_export_async_job_export_async_job_universal_js_1.MeasurementUnit; } });
|
|
17
|
-
Object.defineProperty(exports, "MediaItemType", { enumerable: true, get: function () { return fedinfra_exportservice_v1_export_async_job_export_async_job_universal_js_1.MediaItemType; } });
|
|
18
|
-
Object.defineProperty(exports, "OptionType", { enumerable: true, get: function () { return fedinfra_exportservice_v1_export_async_job_export_async_job_universal_js_1.OptionType; } });
|
|
19
|
-
Object.defineProperty(exports, "DiscountType", { enumerable: true, get: function () { return fedinfra_exportservice_v1_export_async_job_export_async_job_universal_js_1.DiscountType; } });
|
|
20
|
-
Object.defineProperty(exports, "FileType", { enumerable: true, get: function () { return fedinfra_exportservice_v1_export_async_job_export_async_job_universal_js_1.FileType; } });
|
|
21
|
-
//# sourceMappingURL=fedinfra-exportservice-v1-export-async-job-export-async-job.context.js.map
|
package/build/cjs/src/fedinfra-exportservice-v1-export-async-job-export-async-job.context.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fedinfra-exportservice-v1-export-async-job-export-async-job.context.js","sourceRoot":"","sources":["../../../src/fedinfra-exportservice-v1-export-async-job-export-async-job.context.ts"],"names":[],"mappings":";;;AAAA,mKAGiF;AACjF,gEAAiE;AAGpD,QAAA,oBAAoB,GAGf,IAAA,+BAAgB,EAAC,4FAA0B,CAAC,CAAC;AAClD,QAAA,iBAAiB,GAGZ,IAAA,+BAAgB,EAAC,yFAAuB,CAAC,CAAC;AAE5D,uKAaoF;AAZlF,qKAAA,SAAS,OAAA;AACT,+KAAA,mBAAmB,OAAA;AACnB,4KAAA,gBAAgB,OAAA;AAChB,oKAAA,QAAQ,OAAA;AACR,kKAAA,MAAM,OAAA;AACN,uKAAA,WAAW,OAAA;AACX,2KAAA,eAAe,OAAA;AACf,2KAAA,eAAe,OAAA;AACf,yKAAA,aAAa,OAAA;AACb,sKAAA,UAAU,OAAA;AACV,wKAAA,YAAY,OAAA;AACZ,oKAAA,QAAQ,OAAA"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { RequestOptionsFactory } from '@wix/sdk-types';
|
|
2
|
-
/** Creates a new Export */
|
|
3
|
-
export declare function createExportAsyncJob(payload: object): RequestOptionsFactory<any>;
|
|
4
|
-
/** Get a Export by id */
|
|
5
|
-
export declare function getExportAsyncJob(payload: object): RequestOptionsFactory<any>;
|