@wix/export-async-job 1.0.2 → 1.0.3

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.
Files changed (57) hide show
  1. package/build/cjs/context.d.ts +1 -0
  2. package/build/cjs/{index.typings.js → context.js} +7 -3
  3. package/build/cjs/context.js.map +1 -0
  4. package/build/cjs/index.d.ts +1 -1
  5. package/build/cjs/index.js +6 -2
  6. package/build/cjs/index.js.map +1 -1
  7. package/build/cjs/meta.d.ts +1 -1
  8. package/build/cjs/meta.js +6 -2
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/context.d.ts +1 -0
  11. package/build/es/context.js +2 -0
  12. package/build/es/context.js.map +1 -0
  13. package/build/es/index.d.ts +1 -1
  14. package/build/es/index.js +1 -1
  15. package/build/es/index.js.map +1 -1
  16. package/build/es/meta.d.ts +1 -1
  17. package/build/es/meta.js +1 -1
  18. package/build/es/meta.js.map +1 -1
  19. package/context/package.json +7 -0
  20. package/meta/package.json +2 -1
  21. package/package.json +21 -8
  22. package/{build/cjs/src/fedinfra-exportservice-v1-export-async-job.universal.d.ts → type-bundles/context.bundle.d.ts} +309 -255
  23. package/{build/es/src/fedinfra-exportservice-v1-export-async-job.universal.d.ts → type-bundles/index.bundle.d.ts} +309 -255
  24. package/type-bundles/meta.bundle.d.ts +687 -0
  25. package/build/cjs/index.typings.d.ts +0 -1
  26. package/build/cjs/index.typings.js.map +0 -1
  27. package/build/cjs/src/fedinfra-exportservice-v1-export-async-job.http.d.ts +0 -7
  28. package/build/cjs/src/fedinfra-exportservice-v1-export-async-job.http.js +0 -111
  29. package/build/cjs/src/fedinfra-exportservice-v1-export-async-job.http.js.map +0 -1
  30. package/build/cjs/src/fedinfra-exportservice-v1-export-async-job.meta.d.ts +0 -19
  31. package/build/cjs/src/fedinfra-exportservice-v1-export-async-job.meta.js +0 -81
  32. package/build/cjs/src/fedinfra-exportservice-v1-export-async-job.meta.js.map +0 -1
  33. package/build/cjs/src/fedinfra-exportservice-v1-export-async-job.public.d.ts +0 -10
  34. package/build/cjs/src/fedinfra-exportservice-v1-export-async-job.public.js +0 -36
  35. package/build/cjs/src/fedinfra-exportservice-v1-export-async-job.public.js.map +0 -1
  36. package/build/cjs/src/fedinfra-exportservice-v1-export-async-job.types.d.ts +0 -1009
  37. package/build/cjs/src/fedinfra-exportservice-v1-export-async-job.types.js +0 -121
  38. package/build/cjs/src/fedinfra-exportservice-v1-export-async-job.types.js.map +0 -1
  39. package/build/cjs/src/fedinfra-exportservice-v1-export-async-job.universal.js +0 -334
  40. package/build/cjs/src/fedinfra-exportservice-v1-export-async-job.universal.js.map +0 -1
  41. package/build/es/index.typings.d.ts +0 -1
  42. package/build/es/index.typings.js +0 -2
  43. package/build/es/index.typings.js.map +0 -1
  44. package/build/es/src/fedinfra-exportservice-v1-export-async-job.http.d.ts +0 -7
  45. package/build/es/src/fedinfra-exportservice-v1-export-async-job.http.js +0 -105
  46. package/build/es/src/fedinfra-exportservice-v1-export-async-job.http.js.map +0 -1
  47. package/build/es/src/fedinfra-exportservice-v1-export-async-job.meta.d.ts +0 -19
  48. package/build/es/src/fedinfra-exportservice-v1-export-async-job.meta.js +0 -56
  49. package/build/es/src/fedinfra-exportservice-v1-export-async-job.meta.js.map +0 -1
  50. package/build/es/src/fedinfra-exportservice-v1-export-async-job.public.d.ts +0 -10
  51. package/build/es/src/fedinfra-exportservice-v1-export-async-job.public.js +0 -19
  52. package/build/es/src/fedinfra-exportservice-v1-export-async-job.public.js.map +0 -1
  53. package/build/es/src/fedinfra-exportservice-v1-export-async-job.types.d.ts +0 -1009
  54. package/build/es/src/fedinfra-exportservice-v1-export-async-job.types.js +0 -118
  55. package/build/es/src/fedinfra-exportservice-v1-export-async-job.types.js.map +0 -1
  56. package/build/es/src/fedinfra-exportservice-v1-export-async-job.universal.js +0 -309
  57. package/build/es/src/fedinfra-exportservice-v1-export-async-job.universal.js.map +0 -1
@@ -1,10 +1,4 @@
1
- export declare const __debug: {
2
- verboseLogging: {
3
- on: () => boolean;
4
- off: () => boolean;
5
- };
6
- };
7
- export interface ExportAsyncJob {
1
+ interface ExportAsyncJob {
8
2
  /** @readonly */
9
3
  _id?: string;
10
4
  data?: ExportAsyncJobData;
@@ -14,7 +8,7 @@ export interface ExportAsyncJob {
14
8
  /** @readonly */
15
9
  updateDate?: Date;
16
10
  }
17
- export interface ExportAsyncJobData {
11
+ interface ExportAsyncJobData {
18
12
  /** original request data for the export */
19
13
  query?: ExportQueryV2;
20
14
  /** translated CSV headers */
@@ -34,6 +28,7 @@ export interface ExportAsyncJobData {
34
28
  iterationsCount?: number;
35
29
  processedItemsCount?: number;
36
30
  completionStep?: string | null;
31
+ /** how many times the export was reset */
37
32
  resetCount?: number;
38
33
  /** at final step update the signed_url to download the result from */
39
34
  signedUrl?: string;
@@ -41,7 +36,7 @@ export interface ExportAsyncJobData {
41
36
  error?: Details;
42
37
  testParams?: Record<string, any> | null;
43
38
  }
44
- export interface ExportQueryV2 extends ExportQueryV2PagingMethodOneOf {
39
+ interface ExportQueryV2 extends ExportQueryV2PagingMethodOneOf {
45
40
  /** Paging options to limit and skip the number of items. */
46
41
  paging?: Paging;
47
42
  /** 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`. */
@@ -66,53 +61,53 @@ export interface ExportQueryV2 extends ExportQueryV2PagingMethodOneOf {
66
61
  fieldsets?: string[];
67
62
  }
68
63
  /** @oneof */
69
- export interface ExportQueryV2PagingMethodOneOf {
64
+ interface ExportQueryV2PagingMethodOneOf {
70
65
  /** Paging options to limit and skip the number of items. */
71
66
  paging?: Paging;
72
67
  /** 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`. */
73
68
  cursorPaging?: ExportCursorPaging;
74
69
  }
75
- export interface Sorting {
70
+ interface Sorting {
76
71
  /** Name of the field to sort by. */
77
72
  fieldName?: string;
78
73
  /** Sort order. */
79
74
  order?: SortOrder;
80
75
  }
81
- export declare enum SortOrder {
76
+ declare enum SortOrder {
82
77
  ASC = "ASC",
83
78
  DESC = "DESC"
84
79
  }
85
- export interface Paging {
80
+ interface Paging {
86
81
  /** Number of items to load. */
87
82
  limit?: number | null;
88
83
  /** Number of items to skip in the current sort order. */
89
84
  offset?: number | null;
90
85
  }
91
- export interface ExportCursorPaging {
86
+ interface ExportCursorPaging {
92
87
  limit?: number | null;
93
88
  cursor?: string | null;
94
89
  }
95
- export interface FieldDescriptor {
90
+ interface FieldDescriptor {
96
91
  /** the path to the field out of the query response items */
97
92
  _id?: string;
98
93
  /** how to present the filed in the CSV headers (translated) */
99
94
  header?: string;
100
95
  }
101
- export declare enum ArrayFieldDelimiter {
96
+ declare enum ArrayFieldDelimiter {
102
97
  SEMICOLON = "SEMICOLON",
103
98
  SEMICOLON_AND_SPACE = "SEMICOLON_AND_SPACE"
104
99
  }
105
- export interface MethodMetadata {
100
+ interface MethodMetadata {
106
101
  artifact?: string;
107
102
  service?: string;
108
103
  method?: string;
109
104
  }
110
- export interface MethodSpec {
105
+ interface MethodSpec {
111
106
  requestQueryFieldNumber?: QueryFieldNumber;
112
107
  responseRepeatedFieldName?: string | null;
113
108
  responsePagingMetadataFieldName?: string | null;
114
109
  }
115
- export declare enum QueryFieldNumber {
110
+ declare enum QueryFieldNumber {
116
111
  /** message QuerySomethingRequest { .wix.common.QueryV2 query = 1; } */
117
112
  DEFAULT = "DEFAULT",
118
113
  FIELD_2 = "FIELD_2",
@@ -125,7 +120,7 @@ export declare enum QueryFieldNumber {
125
120
  FIELD_8 = "FIELD_8",
126
121
  FIELD_9 = "FIELD_9"
127
122
  }
128
- export interface PagingMetadataV2 {
123
+ interface PagingMetadataV2 {
129
124
  /** Number of items returned in the response. */
130
125
  count?: number | null;
131
126
  /** Offset that was requested. */
@@ -137,24 +132,29 @@ export interface PagingMetadataV2 {
137
132
  /** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
138
133
  cursors?: Cursors;
139
134
  }
140
- export interface Cursors {
141
- /** Cursor pointing to next page in the list of results. */
135
+ interface Cursors {
136
+ /** Cursor string pointing to the next page in the list of results. */
142
137
  next?: string | null;
143
- /** Cursor pointing to previous page in the list of results. */
138
+ /** Cursor pointing to the previous page in the list of results. */
144
139
  prev?: string | null;
145
140
  }
146
- export interface Details extends DetailsKindOneOf {
141
+ interface Details extends DetailsKindOneOf {
147
142
  applicationError?: ApplicationError;
148
143
  validationError?: ValidationError;
149
- /** deprecated in API's - to enable migration from rendering arbitrary tracing to rest response */
144
+ systemError?: SystemError;
145
+ /**
146
+ * deprecated in API's - to enable migration from rendering arbitrary tracing to rest response
147
+ * @deprecated
148
+ */
150
149
  tracing?: Record<string, string>;
151
150
  }
152
151
  /** @oneof */
153
- export interface DetailsKindOneOf {
152
+ interface DetailsKindOneOf {
154
153
  applicationError?: ApplicationError;
155
154
  validationError?: ValidationError;
155
+ systemError?: SystemError;
156
156
  }
157
- export interface ApplicationError {
157
+ interface ApplicationError {
158
158
  /** Error code. */
159
159
  code?: string;
160
160
  /** Description of the error. */
@@ -194,10 +194,10 @@ export interface ApplicationError {
194
194
  * ]
195
195
  * }
196
196
  */
197
- export interface ValidationError {
197
+ interface ValidationError {
198
198
  fieldViolations?: FieldViolation[];
199
199
  }
200
- export declare enum RuleType {
200
+ declare enum RuleType {
201
201
  VALIDATION = "VALIDATION",
202
202
  OTHER = "OTHER",
203
203
  MAX = "MAX",
@@ -217,7 +217,7 @@ export declare enum RuleType {
217
217
  FIELD_NOT_ALLOWED = "FIELD_NOT_ALLOWED",
218
218
  ONE_OF_ALIGNMENT = "ONE_OF_ALIGNMENT"
219
219
  }
220
- export interface FieldViolation {
220
+ interface FieldViolation {
221
221
  field?: string;
222
222
  description?: string;
223
223
  violatedRule?: RuleType;
@@ -225,7 +225,11 @@ export interface FieldViolation {
225
225
  ruleName?: string | null;
226
226
  data?: Record<string, any> | null;
227
227
  }
228
- export declare enum Status {
228
+ interface SystemError {
229
+ /** Error code. */
230
+ errorCode?: string | null;
231
+ }
232
+ declare enum Status {
229
233
  UNKNOWN = "UNKNOWN",
230
234
  /** Job was created, but not started yet. */
231
235
  INITIALIZED = "INITIALIZED",
@@ -236,7 +240,7 @@ export declare enum Status {
236
240
  /** Job is failed */
237
241
  FAILED = "FAILED"
238
242
  }
239
- export interface CreateExportAsyncJobRequest {
243
+ interface CreateExportAsyncJobRequest {
240
244
  /** WQL expression */
241
245
  query: ExportQueryV2;
242
246
  /** translated CSV headers */
@@ -250,48 +254,48 @@ export interface CreateExportAsyncJobRequest {
250
254
  /** Test params */
251
255
  testParams?: Record<string, any> | null;
252
256
  }
253
- export interface CreateExportAsyncJobResponse {
257
+ interface CreateExportAsyncJobResponse {
254
258
  /** The retrieved Exports */
255
259
  job?: ExportAsyncJob;
256
260
  }
257
- export interface GetExportAsyncJobRequest {
261
+ interface GetExportAsyncJobRequest {
258
262
  /** Id of the Export to retrieve */
259
263
  jobId: string;
260
264
  }
261
- export interface GetExportAsyncJobResponse {
265
+ interface GetExportAsyncJobResponse {
262
266
  /** The retrieved ExportAsyncJob */
263
267
  job?: ExportAsyncJob;
264
268
  }
265
- export interface CancelExportAsyncJobRequest {
269
+ interface CancelExportAsyncJobRequest {
266
270
  /** Id of the Export to retrieve */
267
- jobId: string;
271
+ jobId?: string;
268
272
  }
269
- export interface CancelExportAsyncJobResponse {
273
+ interface CancelExportAsyncJobResponse {
270
274
  /** The retrieved ExportAsyncJob */
271
275
  job?: ExportAsyncJob;
272
276
  }
273
- export interface GenerateExportAsyncJobDownloadUrlRequest {
277
+ interface GenerateExportAsyncJobDownloadUrlRequest {
274
278
  /** Id of the Export to retrieve */
275
279
  jobId?: string;
276
280
  }
277
- export interface GenerateExportAsyncJobDownloadUrlResponse {
281
+ interface GenerateExportAsyncJobDownloadUrlResponse {
278
282
  /** The retrieved ExportAsyncJob */
279
283
  job?: ExportAsyncJob;
280
284
  }
281
- export interface QueryRequestLoose {
285
+ interface QueryRequestLoose {
282
286
  /** WQL expression */
283
287
  query?: ExportQueryV2;
284
288
  }
285
- export interface QueryVariantsExportSpiResponse {
289
+ interface QueryVariantsExportSpiResponse {
286
290
  items?: ProductOrVariant[];
287
291
  pagingMetadata?: PagingMetadataV2;
288
292
  }
289
- export interface ProductOrVariant {
293
+ interface ProductOrVariant {
290
294
  kind?: string;
291
295
  product?: Product;
292
296
  variant?: StoreVariant;
293
297
  }
294
- export interface Product {
298
+ interface Product {
295
299
  /**
296
300
  * Product ID (generated automatically by the catalog).
297
301
  * @readonly
@@ -329,6 +333,7 @@ export interface Product {
329
333
  /**
330
334
  * Deprecated (use `priceData` instead).
331
335
  * @readonly
336
+ * @deprecated
332
337
  */
333
338
  price?: PriceData;
334
339
  /** Price data. */
@@ -357,6 +362,7 @@ export interface Product {
357
362
  /**
358
363
  * Deprecated (use `ribbon` instead).
359
364
  * @readonly
365
+ * @deprecated
360
366
  */
361
367
  ribbons?: Ribbon[];
362
368
  /**
@@ -397,7 +403,9 @@ export interface Product {
397
403
  */
398
404
  collectionIds?: string[];
399
405
  /**
400
- * Product variants, will be provided if the the request was sent with the includeVariants flag.
406
+ * Product variants, will be provided if the the request was sent with the `includeVariants: true`.
407
+ *
408
+ * Max: 1,000 variants
401
409
  * @readonly
402
410
  */
403
411
  variants?: Variant[];
@@ -418,18 +426,18 @@ export interface Product {
418
426
  /** Product brand. Including a brand name can help improve site and product [visibility on search engines](https://support.wix.com/en/article/adding-brand-names-to-boost-product-page-seo-in-wix-stores). */
419
427
  brand?: string | null;
420
428
  }
421
- export declare enum ProductType {
429
+ declare enum ProductType {
422
430
  unspecified_product_type = "unspecified_product_type",
423
431
  physical = "physical",
424
432
  digital = "digital"
425
433
  }
426
- export interface NumericPropertyRange {
434
+ interface NumericPropertyRange {
427
435
  /** Minimum value. */
428
436
  minValue?: number;
429
437
  /** Maximum value. */
430
438
  maxValue?: number;
431
439
  }
432
- export interface Stock {
440
+ interface Stock {
433
441
  /** Whether inventory is being tracked */
434
442
  trackInventory?: boolean;
435
443
  /** Quantity currently left in inventory */
@@ -437,6 +445,7 @@ export interface Stock {
437
445
  /**
438
446
  * Whether the product is currently in stock (relevant only when tracking manually)
439
447
  * Deprecated (use `inventoryStatus` instead)
448
+ * @deprecated
440
449
  */
441
450
  inStock?: boolean;
442
451
  /**
@@ -447,12 +456,12 @@ export interface Stock {
447
456
  */
448
457
  inventoryStatus?: InventoryStatus;
449
458
  }
450
- export declare enum InventoryStatus {
459
+ declare enum InventoryStatus {
451
460
  IN_STOCK = "IN_STOCK",
452
461
  OUT_OF_STOCK = "OUT_OF_STOCK",
453
462
  PARTIALLY_OUT_OF_STOCK = "PARTIALLY_OUT_OF_STOCK"
454
463
  }
455
- export interface PriceData {
464
+ interface PriceData {
456
465
  /**
457
466
  * Product price currency
458
467
  * @readonly
@@ -476,7 +485,7 @@ export interface PriceData {
476
485
  */
477
486
  pricePerUnit?: number | null;
478
487
  }
479
- export interface FormattedPrice {
488
+ interface FormattedPrice {
480
489
  /** Product price formatted with the currency */
481
490
  price?: string;
482
491
  /** Discounted product price formatted with the currency (if no discounted price is set, the product formatted price is returned) */
@@ -487,7 +496,7 @@ export interface FormattedPrice {
487
496
  */
488
497
  pricePerUnit?: string | null;
489
498
  }
490
- export interface CostAndProfitData {
499
+ interface CostAndProfitData {
491
500
  /** Item cost. */
492
501
  itemCost?: number | null;
493
502
  /**
@@ -512,7 +521,7 @@ export interface CostAndProfitData {
512
521
  */
513
522
  profitMargin?: number;
514
523
  }
515
- export interface PricePerUnitData {
524
+ interface PricePerUnitData {
516
525
  /** Total quantity */
517
526
  totalQuantity?: number;
518
527
  /** Total measurement unit */
@@ -522,7 +531,7 @@ export interface PricePerUnitData {
522
531
  /** Base measurement unit */
523
532
  baseMeasurementUnit?: MeasurementUnit;
524
533
  }
525
- export declare enum MeasurementUnit {
534
+ declare enum MeasurementUnit {
526
535
  UNSPECIFIED = "UNSPECIFIED",
527
536
  ML = "ML",
528
537
  CL = "CL",
@@ -546,23 +555,23 @@ export declare enum MeasurementUnit {
546
555
  YD = "YD",
547
556
  SQFT = "SQFT"
548
557
  }
549
- export interface AdditionalInfoSection {
558
+ interface AdditionalInfoSection {
550
559
  /** Product info section title */
551
560
  title?: string;
552
561
  /** Product info section description */
553
562
  description?: string;
554
563
  }
555
- export interface Ribbon {
564
+ interface Ribbon {
556
565
  /** Ribbon text */
557
566
  text?: string;
558
567
  }
559
- export interface Media {
568
+ interface Media {
560
569
  /** Primary media (image, video etc) associated with this product. */
561
570
  mainMedia?: MediaItem;
562
571
  /** Media (images, videos etc) associated with this product. */
563
572
  items?: MediaItem[];
564
573
  }
565
- export interface MediaItem extends MediaItemItemOneOf {
574
+ interface MediaItem extends MediaItemItemOneOf {
566
575
  /** Image data (URL, size). */
567
576
  image?: MediaItemUrlAndSize;
568
577
  /** Video data (URL, size). */
@@ -577,13 +586,13 @@ export interface MediaItem extends MediaItemItemOneOf {
577
586
  _id?: string;
578
587
  }
579
588
  /** @oneof */
580
- export interface MediaItemItemOneOf {
589
+ interface MediaItemItemOneOf {
581
590
  /** Image data (URL, size). */
582
591
  image?: MediaItemUrlAndSize;
583
592
  /** Video data (URL, size). */
584
593
  video?: MediaItemVideo;
585
594
  }
586
- export interface MediaItemUrlAndSize {
595
+ interface MediaItemUrlAndSize {
587
596
  /** Media item URL. */
588
597
  url?: string;
589
598
  /** Media item width. */
@@ -595,7 +604,7 @@ export interface MediaItemUrlAndSize {
595
604
  /** Alt text. This text will be shown in case the image is not available. */
596
605
  altText?: string | null;
597
606
  }
598
- export declare enum MediaItemType {
607
+ declare enum MediaItemType {
599
608
  unspecified_media_item_type = "unspecified_media_item_type",
600
609
  image = "image",
601
610
  video = "video",
@@ -603,13 +612,13 @@ export declare enum MediaItemType {
603
612
  document = "document",
604
613
  zip = "zip"
605
614
  }
606
- export interface MediaItemVideo {
615
+ interface MediaItemVideo {
607
616
  /** Data (URL, size) about each resolution for which this video is available. */
608
617
  files?: MediaItemUrlAndSize[];
609
618
  /** ID of an image taken from the video. Used primarily for Wix Search indexing. For example, `"nsplsh_306d666a123a4a74306459~mv2_d_4517_2992_s_4_2.jpg"`. */
610
619
  stillFrameMediaId?: string;
611
620
  }
612
- export interface CustomTextField {
621
+ interface CustomTextField {
613
622
  /** Text box title */
614
623
  title?: string;
615
624
  /** Text box input max length */
@@ -617,7 +626,7 @@ export interface CustomTextField {
617
626
  /** Whether this text box is mandatory */
618
627
  mandatory?: boolean;
619
628
  }
620
- export interface ProductOption {
629
+ interface ProductOption {
621
630
  /**
622
631
  * Option type - color or other(drop down)
623
632
  * @readonly
@@ -628,12 +637,12 @@ export interface ProductOption {
628
637
  /** Choices available for this option. */
629
638
  choices?: Choice[];
630
639
  }
631
- export declare enum OptionType {
640
+ declare enum OptionType {
632
641
  unspecified_option_type = "unspecified_option_type",
633
642
  drop_down = "drop_down",
634
643
  color = "color"
635
644
  }
636
- export interface Choice {
645
+ interface Choice {
637
646
  /** Choice value. */
638
647
  value?: string;
639
648
  /** Choice description. */
@@ -654,13 +663,13 @@ export interface Choice {
654
663
  */
655
664
  visible?: boolean;
656
665
  }
657
- export interface PageUrl {
666
+ interface PageUrl {
658
667
  /** Base URL. For premium sites, this is the domain. For free sites, this is the site URL (e.g mysite.wixsite.com/mysite). */
659
668
  base?: string;
660
669
  /** Path to the product page - e.g /product-page/a-product. */
661
670
  path?: string;
662
671
  }
663
- export interface Discount {
672
+ interface Discount {
664
673
  /**
665
674
  * Discount type:
666
675
  * + `"AMOUNT"`
@@ -670,14 +679,14 @@ export interface Discount {
670
679
  /** Discount value */
671
680
  value?: number;
672
681
  }
673
- export declare enum DiscountType {
682
+ declare enum DiscountType {
674
683
  UNDEFINED = "UNDEFINED",
675
684
  /** No discount */
676
685
  NONE = "NONE",
677
686
  AMOUNT = "AMOUNT",
678
687
  PERCENT = "PERCENT"
679
688
  }
680
- export interface Variant {
689
+ interface Variant {
681
690
  /** Requested Variant ID */
682
691
  _id?: string;
683
692
  /** Specific choices within a selection, as option-choice key-value pairs */
@@ -689,7 +698,7 @@ export interface Variant {
689
698
  */
690
699
  stock?: VariantStock;
691
700
  }
692
- export interface VariantDataWithNoStock {
701
+ interface VariantDataWithNoStock {
693
702
  /** Variant price. */
694
703
  priceData?: PriceData;
695
704
  /**
@@ -706,7 +715,7 @@ export interface VariantDataWithNoStock {
706
715
  /** Whether the variant is visible to customers. */
707
716
  visible?: boolean;
708
717
  }
709
- export interface VariantStock {
718
+ interface VariantStock {
710
719
  /** Whether inventory is being tracked. */
711
720
  trackQuantity?: boolean;
712
721
  /** Quantity currently left in inventory. */
@@ -719,19 +728,19 @@ export interface VariantStock {
719
728
  * The search engines use this information for ranking purposes, or to display snippets in the search results.
720
729
  * This data will override other sources of tags (for example patterns) and will be included in the <head> section of the HTML document, while not being displayed on the page itself.
721
730
  */
722
- export interface SeoSchema {
731
+ interface SeoSchema {
723
732
  /** SEO tag information. */
724
733
  tags?: Tag[];
725
734
  /** SEO general settings. */
726
735
  settings?: Settings;
727
736
  }
728
- export interface Keyword {
737
+ interface Keyword {
729
738
  /** Keyword value. */
730
739
  term?: string;
731
740
  /** Whether the keyword is the main focus keyword. */
732
741
  isMain?: boolean;
733
742
  }
734
- export interface Tag {
743
+ interface Tag {
735
744
  /**
736
745
  * SEO tag type.
737
746
  *
@@ -753,7 +762,7 @@ export interface Tag {
753
762
  /** Whether the tag is disabled. */
754
763
  disabled?: boolean;
755
764
  }
756
- export interface Settings {
765
+ interface Settings {
757
766
  /**
758
767
  * Whether the Auto Redirect feature, which creates `301 redirects` on a slug change, is enabled.
759
768
  *
@@ -764,7 +773,23 @@ export interface Settings {
764
773
  /** User-selected keyword terms for a specific page. */
765
774
  keywords?: Keyword[];
766
775
  }
767
- export interface StoreVariant {
776
+ interface SecuredMedia {
777
+ /** Media ID in Wix Media Manager. */
778
+ _id?: string;
779
+ /** Original filename. */
780
+ fileName?: string;
781
+ /** File type. */
782
+ fileType?: FileType;
783
+ }
784
+ declare enum FileType {
785
+ UNSPECIFIED = "UNSPECIFIED",
786
+ SECURE_PICTURE = "SECURE_PICTURE",
787
+ SECURE_VIDEO = "SECURE_VIDEO",
788
+ SECURE_DOCUMENT = "SECURE_DOCUMENT",
789
+ SECURE_MUSIC = "SECURE_MUSIC",
790
+ SECURE_ARCHIVE = "SECURE_ARCHIVE"
791
+ }
792
+ interface StoreVariant {
768
793
  /** Store variant ID. Comprised of the `productId` and the `variantId`, separated by a hyphen: {productId}.{variantId}. */
769
794
  _id?: string;
770
795
  /** Variant ID. */
@@ -793,16 +818,16 @@ export interface StoreVariant {
793
818
  /** Preorder information. */
794
819
  preorderInfo?: PreorderInfo;
795
820
  }
796
- export interface PlatformMedia extends PlatformMediaMediaOneOf {
821
+ interface PlatformMedia extends PlatformMediaMediaOneOf {
797
822
  image?: string;
798
823
  video?: string;
799
824
  }
800
825
  /** @oneof */
801
- export interface PlatformMediaMediaOneOf {
826
+ interface PlatformMediaMediaOneOf {
802
827
  image?: string;
803
828
  video?: string;
804
829
  }
805
- export interface VideoResolution {
830
+ interface VideoResolution {
806
831
  /** Video URL. */
807
832
  url?: string;
808
833
  /** Video height. */
@@ -812,7 +837,7 @@ export interface VideoResolution {
812
837
  /** Video format for example, mp4, hls. */
813
838
  format?: string;
814
839
  }
815
- export interface PreorderInfo {
840
+ interface PreorderInfo {
816
841
  /** Whether the item is available for preorder. */
817
842
  enabled?: boolean;
818
843
  /** A message the buyer will see when the item is out of stock and preorder is enabled. */
@@ -820,173 +845,79 @@ export interface PreorderInfo {
820
845
  /** Number of products that can be preordered after stock reaches zero. */
821
846
  limit?: number | null;
822
847
  }
823
- export interface QueryProductsExportSpiResponse {
848
+ interface QueryProductsExportSpiResponse {
824
849
  items?: ProductOrVariantV2[];
825
850
  pagingMetadata?: PagingMetadataV2;
826
851
  }
827
- export interface ProductOrVariantV2 {
852
+ interface ProductOrVariantV2 {
828
853
  kind?: string;
829
854
  product?: Product;
830
855
  variant?: Variant;
831
856
  }
832
- export interface CreateExportAsyncJobResponseNonNullableFields {
833
- job?: {
834
- _id: string;
835
- data?: {
836
- query?: {
837
- sort: {
838
- fieldName: string;
839
- order: SortOrder;
840
- }[];
841
- fields: string[];
842
- fieldsets: string[];
843
- };
844
- fields: {
845
- _id: string;
846
- header: string;
847
- }[];
848
- arrayFieldDelimiter: ArrayFieldDelimiter;
849
- methodMetadata?: {
850
- artifact: string;
851
- service: string;
852
- method: string;
853
- };
854
- methodSpec?: {
855
- requestQueryFieldNumber: QueryFieldNumber;
856
- };
857
- userId: string;
858
- format: string;
859
- uploadId: string;
860
- iterationsCount: number;
861
- processedItemsCount: number;
862
- resetCount: number;
863
- signedUrl: string;
864
- error?: {
865
- applicationError?: {
866
- code: string;
867
- description: string;
868
- };
869
- validationError?: {
870
- fieldViolations: {
871
- field: string;
872
- description: string;
873
- violatedRule: RuleType;
874
- }[];
875
- };
876
- };
877
- };
878
- status: Status;
879
- };
880
- }
881
- export interface GetExportAsyncJobResponseNonNullableFields {
882
- job?: {
883
- _id: string;
884
- data?: {
885
- query?: {
886
- sort: {
887
- fieldName: string;
888
- order: SortOrder;
889
- }[];
890
- fields: string[];
891
- fieldsets: string[];
892
- };
893
- fields: {
894
- _id: string;
895
- header: string;
896
- }[];
897
- arrayFieldDelimiter: ArrayFieldDelimiter;
898
- methodMetadata?: {
899
- artifact: string;
900
- service: string;
901
- method: string;
902
- };
903
- methodSpec?: {
904
- requestQueryFieldNumber: QueryFieldNumber;
905
- };
906
- userId: string;
907
- format: string;
908
- uploadId: string;
909
- iterationsCount: number;
910
- processedItemsCount: number;
911
- resetCount: number;
912
- signedUrl: string;
913
- error?: {
914
- applicationError?: {
915
- code: string;
916
- description: string;
917
- };
918
- validationError?: {
919
- fieldViolations: {
920
- field: string;
921
- description: string;
922
- violatedRule: RuleType;
923
- }[];
924
- };
925
- };
926
- };
927
- status: Status;
928
- };
929
- }
930
- export interface CancelExportAsyncJobResponseNonNullableFields {
931
- job?: {
932
- _id: string;
933
- data?: {
934
- query?: {
935
- sort: {
936
- fieldName: string;
937
- order: SortOrder;
938
- }[];
939
- fields: string[];
940
- fieldsets: string[];
941
- };
942
- fields: {
943
- _id: string;
944
- header: string;
945
- }[];
946
- arrayFieldDelimiter: ArrayFieldDelimiter;
947
- methodMetadata?: {
948
- artifact: string;
949
- service: string;
950
- method: string;
951
- };
952
- methodSpec?: {
953
- requestQueryFieldNumber: QueryFieldNumber;
954
- };
955
- userId: string;
956
- format: string;
957
- uploadId: string;
958
- iterationsCount: number;
959
- processedItemsCount: number;
960
- resetCount: number;
961
- signedUrl: string;
962
- error?: {
963
- applicationError?: {
964
- code: string;
965
- description: string;
966
- };
967
- validationError?: {
968
- fieldViolations: {
969
- field: string;
970
- description: string;
971
- violatedRule: RuleType;
972
- }[];
973
- };
974
- };
975
- };
976
- status: Status;
977
- };
978
- }
979
- /**
980
- * Creates a new Export
981
- * @param query - WQL expression
982
- * @public
983
- * @documentationMaturity preview
984
- * @requiredField options.fields
985
- * @requiredField options.methodMetadata
986
- * @requiredField query
987
- */
988
- export declare function createExportAsyncJob(query: ExportQueryV2, options?: CreateExportAsyncJobOptions): Promise<CreateExportAsyncJobResponse & CreateExportAsyncJobResponseNonNullableFields>;
989
- export interface CreateExportAsyncJobOptions {
857
+ interface SortingNonNullableFields {
858
+ fieldName: string;
859
+ order: SortOrder;
860
+ }
861
+ interface ExportQueryV2NonNullableFields {
862
+ sort: SortingNonNullableFields[];
863
+ fields: string[];
864
+ fieldsets: string[];
865
+ }
866
+ interface FieldDescriptorNonNullableFields {
867
+ _id: string;
868
+ header: string;
869
+ }
870
+ interface MethodMetadataNonNullableFields {
871
+ artifact: string;
872
+ service: string;
873
+ method: string;
874
+ }
875
+ interface MethodSpecNonNullableFields {
876
+ requestQueryFieldNumber: QueryFieldNumber;
877
+ }
878
+ interface ApplicationErrorNonNullableFields {
879
+ code: string;
880
+ description: string;
881
+ }
882
+ interface FieldViolationNonNullableFields {
883
+ field: string;
884
+ description: string;
885
+ violatedRule: RuleType;
886
+ }
887
+ interface ValidationErrorNonNullableFields {
888
+ fieldViolations: FieldViolationNonNullableFields[];
889
+ }
890
+ interface DetailsNonNullableFields {
891
+ applicationError?: ApplicationErrorNonNullableFields;
892
+ validationError?: ValidationErrorNonNullableFields;
893
+ }
894
+ interface ExportAsyncJobDataNonNullableFields {
895
+ query?: ExportQueryV2NonNullableFields;
896
+ fields: FieldDescriptorNonNullableFields[];
897
+ arrayFieldDelimiter: ArrayFieldDelimiter;
898
+ methodMetadata?: MethodMetadataNonNullableFields;
899
+ methodSpec?: MethodSpecNonNullableFields;
900
+ userId: string;
901
+ format: string;
902
+ uploadId: string;
903
+ iterationsCount: number;
904
+ processedItemsCount: number;
905
+ resetCount: number;
906
+ signedUrl: string;
907
+ error?: DetailsNonNullableFields;
908
+ }
909
+ interface ExportAsyncJobNonNullableFields {
910
+ _id: string;
911
+ data?: ExportAsyncJobDataNonNullableFields;
912
+ status: Status;
913
+ }
914
+ interface CreateExportAsyncJobResponseNonNullableFields {
915
+ job?: ExportAsyncJobNonNullableFields;
916
+ }
917
+ interface GetExportAsyncJobResponseNonNullableFields {
918
+ job?: ExportAsyncJobNonNullableFields;
919
+ }
920
+ interface CreateExportAsyncJobOptions {
990
921
  /** translated CSV headers */
991
922
  fields: FieldDescriptor[];
992
923
  arrayFieldDelimiter?: ArrayFieldDelimiter;
@@ -998,17 +929,140 @@ export interface CreateExportAsyncJobOptions {
998
929
  /** Test params */
999
930
  testParams?: Record<string, any> | null;
1000
931
  }
1001
- /**
1002
- * Get a Export by id
1003
- * @param jobId - Id of the Export to retrieve
1004
- * @public
1005
- * @documentationMaturity preview
1006
- * @requiredField jobId
1007
- */
1008
- export declare function getExportAsyncJob(jobId: string): Promise<GetExportAsyncJobResponse & GetExportAsyncJobResponseNonNullableFields>;
1009
- /** @param jobId - Id of the Export to retrieve
1010
- * @public
1011
- * @documentationMaturity preview
1012
- * @requiredField jobId
1013
- */
1014
- export declare function cancelExportAsyncJob(jobId: string): Promise<CancelExportAsyncJobResponse & CancelExportAsyncJobResponseNonNullableFields>;
932
+
933
+ type RESTFunctionDescriptor<T extends (...args: any[]) => any = (...args: any[]) => any> = (httpClient: HttpClient) => T;
934
+ interface HttpClient {
935
+ request<TResponse, TData = any>(req: RequestOptionsFactory<TResponse, TData>): Promise<HttpResponse<TResponse>>;
936
+ fetchWithAuth: typeof fetch;
937
+ wixAPIFetch: (relativeUrl: string, options: RequestInit) => Promise<Response>;
938
+ }
939
+ type RequestOptionsFactory<TResponse = any, TData = any> = (context: any) => RequestOptions<TResponse, TData>;
940
+ type HttpResponse<T = any> = {
941
+ data: T;
942
+ status: number;
943
+ statusText: string;
944
+ headers: any;
945
+ request?: any;
946
+ };
947
+ type RequestOptions<_TResponse = any, Data = any> = {
948
+ method: 'POST' | 'GET' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS';
949
+ url: string;
950
+ data?: Data;
951
+ params?: URLSearchParams;
952
+ } & APIMetadata;
953
+ type APIMetadata = {
954
+ methodFqn?: string;
955
+ entityFqdn?: string;
956
+ packageName?: string;
957
+ };
958
+ type BuildRESTFunction<T extends RESTFunctionDescriptor> = T extends RESTFunctionDescriptor<infer U> ? U : never;
959
+
960
+ declare global {
961
+ // eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
962
+ interface SymbolConstructor {
963
+ readonly observable: symbol;
964
+ }
965
+ }
966
+
967
+ declare function createRESTModule<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
968
+
969
+ declare const createExportAsyncJob: ReturnType<typeof createRESTModule<typeof publicCreateExportAsyncJob>>;
970
+ declare const getExportAsyncJob: ReturnType<typeof createRESTModule<typeof publicGetExportAsyncJob>>;
971
+
972
+ type index_d_AdditionalInfoSection = AdditionalInfoSection;
973
+ type index_d_ApplicationError = ApplicationError;
974
+ type index_d_ArrayFieldDelimiter = ArrayFieldDelimiter;
975
+ declare const index_d_ArrayFieldDelimiter: typeof ArrayFieldDelimiter;
976
+ type index_d_CancelExportAsyncJobRequest = CancelExportAsyncJobRequest;
977
+ type index_d_CancelExportAsyncJobResponse = CancelExportAsyncJobResponse;
978
+ type index_d_Choice = Choice;
979
+ type index_d_CostAndProfitData = CostAndProfitData;
980
+ type index_d_CreateExportAsyncJobOptions = CreateExportAsyncJobOptions;
981
+ type index_d_CreateExportAsyncJobRequest = CreateExportAsyncJobRequest;
982
+ type index_d_CreateExportAsyncJobResponse = CreateExportAsyncJobResponse;
983
+ type index_d_CreateExportAsyncJobResponseNonNullableFields = CreateExportAsyncJobResponseNonNullableFields;
984
+ type index_d_Cursors = Cursors;
985
+ type index_d_CustomTextField = CustomTextField;
986
+ type index_d_Details = Details;
987
+ type index_d_DetailsKindOneOf = DetailsKindOneOf;
988
+ type index_d_Discount = Discount;
989
+ type index_d_DiscountType = DiscountType;
990
+ declare const index_d_DiscountType: typeof DiscountType;
991
+ type index_d_ExportAsyncJob = ExportAsyncJob;
992
+ type index_d_ExportAsyncJobData = ExportAsyncJobData;
993
+ type index_d_ExportCursorPaging = ExportCursorPaging;
994
+ type index_d_ExportQueryV2 = ExportQueryV2;
995
+ type index_d_ExportQueryV2PagingMethodOneOf = ExportQueryV2PagingMethodOneOf;
996
+ type index_d_FieldDescriptor = FieldDescriptor;
997
+ type index_d_FieldViolation = FieldViolation;
998
+ type index_d_FileType = FileType;
999
+ declare const index_d_FileType: typeof FileType;
1000
+ type index_d_FormattedPrice = FormattedPrice;
1001
+ type index_d_GenerateExportAsyncJobDownloadUrlRequest = GenerateExportAsyncJobDownloadUrlRequest;
1002
+ type index_d_GenerateExportAsyncJobDownloadUrlResponse = GenerateExportAsyncJobDownloadUrlResponse;
1003
+ type index_d_GetExportAsyncJobRequest = GetExportAsyncJobRequest;
1004
+ type index_d_GetExportAsyncJobResponse = GetExportAsyncJobResponse;
1005
+ type index_d_GetExportAsyncJobResponseNonNullableFields = GetExportAsyncJobResponseNonNullableFields;
1006
+ type index_d_InventoryStatus = InventoryStatus;
1007
+ declare const index_d_InventoryStatus: typeof InventoryStatus;
1008
+ type index_d_Keyword = Keyword;
1009
+ type index_d_MeasurementUnit = MeasurementUnit;
1010
+ declare const index_d_MeasurementUnit: typeof MeasurementUnit;
1011
+ type index_d_Media = Media;
1012
+ type index_d_MediaItem = MediaItem;
1013
+ type index_d_MediaItemItemOneOf = MediaItemItemOneOf;
1014
+ type index_d_MediaItemType = MediaItemType;
1015
+ declare const index_d_MediaItemType: typeof MediaItemType;
1016
+ type index_d_MediaItemUrlAndSize = MediaItemUrlAndSize;
1017
+ type index_d_MediaItemVideo = MediaItemVideo;
1018
+ type index_d_MethodMetadata = MethodMetadata;
1019
+ type index_d_MethodSpec = MethodSpec;
1020
+ type index_d_NumericPropertyRange = NumericPropertyRange;
1021
+ type index_d_OptionType = OptionType;
1022
+ declare const index_d_OptionType: typeof OptionType;
1023
+ type index_d_PageUrl = PageUrl;
1024
+ type index_d_Paging = Paging;
1025
+ type index_d_PagingMetadataV2 = PagingMetadataV2;
1026
+ type index_d_PlatformMedia = PlatformMedia;
1027
+ type index_d_PlatformMediaMediaOneOf = PlatformMediaMediaOneOf;
1028
+ type index_d_PreorderInfo = PreorderInfo;
1029
+ type index_d_PriceData = PriceData;
1030
+ type index_d_PricePerUnitData = PricePerUnitData;
1031
+ type index_d_Product = Product;
1032
+ type index_d_ProductOption = ProductOption;
1033
+ type index_d_ProductOrVariant = ProductOrVariant;
1034
+ type index_d_ProductOrVariantV2 = ProductOrVariantV2;
1035
+ type index_d_ProductType = ProductType;
1036
+ declare const index_d_ProductType: typeof ProductType;
1037
+ type index_d_QueryFieldNumber = QueryFieldNumber;
1038
+ declare const index_d_QueryFieldNumber: typeof QueryFieldNumber;
1039
+ type index_d_QueryProductsExportSpiResponse = QueryProductsExportSpiResponse;
1040
+ type index_d_QueryRequestLoose = QueryRequestLoose;
1041
+ type index_d_QueryVariantsExportSpiResponse = QueryVariantsExportSpiResponse;
1042
+ type index_d_Ribbon = Ribbon;
1043
+ type index_d_RuleType = RuleType;
1044
+ declare const index_d_RuleType: typeof RuleType;
1045
+ type index_d_SecuredMedia = SecuredMedia;
1046
+ type index_d_SeoSchema = SeoSchema;
1047
+ type index_d_Settings = Settings;
1048
+ type index_d_SortOrder = SortOrder;
1049
+ declare const index_d_SortOrder: typeof SortOrder;
1050
+ type index_d_Sorting = Sorting;
1051
+ type index_d_Status = Status;
1052
+ declare const index_d_Status: typeof Status;
1053
+ type index_d_Stock = Stock;
1054
+ type index_d_StoreVariant = StoreVariant;
1055
+ type index_d_SystemError = SystemError;
1056
+ type index_d_Tag = Tag;
1057
+ type index_d_ValidationError = ValidationError;
1058
+ type index_d_Variant = Variant;
1059
+ type index_d_VariantDataWithNoStock = VariantDataWithNoStock;
1060
+ type index_d_VariantStock = VariantStock;
1061
+ type index_d_VideoResolution = VideoResolution;
1062
+ declare const index_d_createExportAsyncJob: typeof createExportAsyncJob;
1063
+ declare const index_d_getExportAsyncJob: typeof getExportAsyncJob;
1064
+ declare namespace index_d {
1065
+ 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_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, index_d_createExportAsyncJob as createExportAsyncJob, index_d_getExportAsyncJob as getExportAsyncJob };
1066
+ }
1067
+
1068
+ export { index_d as exportAsyncJob };