@wix/export-async-job 1.0.2 → 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.
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} +312 -256
  23. package/{build/es/src/fedinfra-exportservice-v1-export-async-job.universal.d.ts → type-bundles/index.bundle.d.ts} +312 -256
  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",
@@ -233,10 +237,10 @@ export declare enum Status {
233
237
  PROCESSING = "PROCESSING",
234
238
  /** Job is finished. */
235
239
  FINISHED = "FINISHED",
236
- /** Job is failed */
240
+ /** Job has 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,21 @@ 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;
742
+ /** Who added the keyword to the settings */
743
+ origin?: string | null;
733
744
  }
734
- export interface Tag {
745
+ interface Tag {
735
746
  /**
736
747
  * SEO tag type.
737
748
  *
@@ -753,7 +764,7 @@ export interface Tag {
753
764
  /** Whether the tag is disabled. */
754
765
  disabled?: boolean;
755
766
  }
756
- export interface Settings {
767
+ interface Settings {
757
768
  /**
758
769
  * Whether the Auto Redirect feature, which creates `301 redirects` on a slug change, is enabled.
759
770
  *
@@ -764,7 +775,23 @@ export interface Settings {
764
775
  /** User-selected keyword terms for a specific page. */
765
776
  keywords?: Keyword[];
766
777
  }
767
- export interface StoreVariant {
778
+ interface SecuredMedia {
779
+ /** Media ID in Wix Media Manager. */
780
+ _id?: string;
781
+ /** Original filename. */
782
+ fileName?: string;
783
+ /** File type. */
784
+ fileType?: FileType;
785
+ }
786
+ declare enum FileType {
787
+ UNSPECIFIED = "UNSPECIFIED",
788
+ SECURE_PICTURE = "SECURE_PICTURE",
789
+ SECURE_VIDEO = "SECURE_VIDEO",
790
+ SECURE_DOCUMENT = "SECURE_DOCUMENT",
791
+ SECURE_MUSIC = "SECURE_MUSIC",
792
+ SECURE_ARCHIVE = "SECURE_ARCHIVE"
793
+ }
794
+ interface StoreVariant {
768
795
  /** Store variant ID. Comprised of the `productId` and the `variantId`, separated by a hyphen: {productId}.{variantId}. */
769
796
  _id?: string;
770
797
  /** Variant ID. */
@@ -793,16 +820,16 @@ export interface StoreVariant {
793
820
  /** Preorder information. */
794
821
  preorderInfo?: PreorderInfo;
795
822
  }
796
- export interface PlatformMedia extends PlatformMediaMediaOneOf {
823
+ interface PlatformMedia extends PlatformMediaMediaOneOf {
797
824
  image?: string;
798
825
  video?: string;
799
826
  }
800
827
  /** @oneof */
801
- export interface PlatformMediaMediaOneOf {
828
+ interface PlatformMediaMediaOneOf {
802
829
  image?: string;
803
830
  video?: string;
804
831
  }
805
- export interface VideoResolution {
832
+ interface VideoResolution {
806
833
  /** Video URL. */
807
834
  url?: string;
808
835
  /** Video height. */
@@ -812,7 +839,7 @@ export interface VideoResolution {
812
839
  /** Video format for example, mp4, hls. */
813
840
  format?: string;
814
841
  }
815
- export interface PreorderInfo {
842
+ interface PreorderInfo {
816
843
  /** Whether the item is available for preorder. */
817
844
  enabled?: boolean;
818
845
  /** A message the buyer will see when the item is out of stock and preorder is enabled. */
@@ -820,173 +847,79 @@ export interface PreorderInfo {
820
847
  /** Number of products that can be preordered after stock reaches zero. */
821
848
  limit?: number | null;
822
849
  }
823
- export interface QueryProductsExportSpiResponse {
850
+ interface QueryProductsExportSpiResponse {
824
851
  items?: ProductOrVariantV2[];
825
852
  pagingMetadata?: PagingMetadataV2;
826
853
  }
827
- export interface ProductOrVariantV2 {
854
+ interface ProductOrVariantV2 {
828
855
  kind?: string;
829
856
  product?: Product;
830
857
  variant?: Variant;
831
858
  }
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 {
859
+ interface SortingNonNullableFields {
860
+ fieldName: string;
861
+ order: SortOrder;
862
+ }
863
+ interface ExportQueryV2NonNullableFields {
864
+ sort: SortingNonNullableFields[];
865
+ fields: string[];
866
+ fieldsets: string[];
867
+ }
868
+ interface FieldDescriptorNonNullableFields {
869
+ _id: string;
870
+ header: string;
871
+ }
872
+ interface MethodMetadataNonNullableFields {
873
+ artifact: string;
874
+ service: string;
875
+ method: string;
876
+ }
877
+ interface MethodSpecNonNullableFields {
878
+ requestQueryFieldNumber: QueryFieldNumber;
879
+ }
880
+ interface ApplicationErrorNonNullableFields {
881
+ code: string;
882
+ description: string;
883
+ }
884
+ interface FieldViolationNonNullableFields {
885
+ field: string;
886
+ description: string;
887
+ violatedRule: RuleType;
888
+ }
889
+ interface ValidationErrorNonNullableFields {
890
+ fieldViolations: FieldViolationNonNullableFields[];
891
+ }
892
+ interface DetailsNonNullableFields {
893
+ applicationError?: ApplicationErrorNonNullableFields;
894
+ validationError?: ValidationErrorNonNullableFields;
895
+ }
896
+ interface ExportAsyncJobDataNonNullableFields {
897
+ query?: ExportQueryV2NonNullableFields;
898
+ fields: FieldDescriptorNonNullableFields[];
899
+ arrayFieldDelimiter: ArrayFieldDelimiter;
900
+ methodMetadata?: MethodMetadataNonNullableFields;
901
+ methodSpec?: MethodSpecNonNullableFields;
902
+ userId: string;
903
+ format: string;
904
+ uploadId: string;
905
+ iterationsCount: number;
906
+ processedItemsCount: number;
907
+ resetCount: number;
908
+ signedUrl: string;
909
+ error?: DetailsNonNullableFields;
910
+ }
911
+ interface ExportAsyncJobNonNullableFields {
912
+ _id: string;
913
+ data?: ExportAsyncJobDataNonNullableFields;
914
+ status: Status;
915
+ }
916
+ interface CreateExportAsyncJobResponseNonNullableFields {
917
+ job?: ExportAsyncJobNonNullableFields;
918
+ }
919
+ interface GetExportAsyncJobResponseNonNullableFields {
920
+ job?: ExportAsyncJobNonNullableFields;
921
+ }
922
+ interface CreateExportAsyncJobOptions {
990
923
  /** translated CSV headers */
991
924
  fields: FieldDescriptor[];
992
925
  arrayFieldDelimiter?: ArrayFieldDelimiter;
@@ -998,17 +931,140 @@ export interface CreateExportAsyncJobOptions {
998
931
  /** Test params */
999
932
  testParams?: Record<string, any> | null;
1000
933
  }
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>;
934
+
935
+ type RESTFunctionDescriptor<T extends (...args: any[]) => any = (...args: any[]) => any> = (httpClient: HttpClient) => T;
936
+ interface HttpClient {
937
+ request<TResponse, TData = any>(req: RequestOptionsFactory<TResponse, TData>): Promise<HttpResponse<TResponse>>;
938
+ fetchWithAuth: typeof fetch;
939
+ wixAPIFetch: (relativeUrl: string, options: RequestInit) => Promise<Response>;
940
+ }
941
+ type RequestOptionsFactory<TResponse = any, TData = any> = (context: any) => RequestOptions<TResponse, TData>;
942
+ type HttpResponse<T = any> = {
943
+ data: T;
944
+ status: number;
945
+ statusText: string;
946
+ headers: any;
947
+ request?: any;
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
+ }
967
+ }
968
+
969
+ declare function createRESTModule<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
970
+
971
+ declare const createExportAsyncJob: ReturnType<typeof createRESTModule<typeof publicCreateExportAsyncJob>>;
972
+ declare const getExportAsyncJob: ReturnType<typeof createRESTModule<typeof publicGetExportAsyncJob>>;
973
+
974
+ type context_AdditionalInfoSection = AdditionalInfoSection;
975
+ type context_ApplicationError = ApplicationError;
976
+ type context_ArrayFieldDelimiter = ArrayFieldDelimiter;
977
+ declare const context_ArrayFieldDelimiter: typeof ArrayFieldDelimiter;
978
+ type context_CancelExportAsyncJobRequest = CancelExportAsyncJobRequest;
979
+ type context_CancelExportAsyncJobResponse = CancelExportAsyncJobResponse;
980
+ type context_Choice = Choice;
981
+ type context_CostAndProfitData = CostAndProfitData;
982
+ type context_CreateExportAsyncJobOptions = CreateExportAsyncJobOptions;
983
+ type context_CreateExportAsyncJobRequest = CreateExportAsyncJobRequest;
984
+ type context_CreateExportAsyncJobResponse = CreateExportAsyncJobResponse;
985
+ type context_CreateExportAsyncJobResponseNonNullableFields = CreateExportAsyncJobResponseNonNullableFields;
986
+ type context_Cursors = Cursors;
987
+ type context_CustomTextField = CustomTextField;
988
+ type context_Details = Details;
989
+ type context_DetailsKindOneOf = DetailsKindOneOf;
990
+ type context_Discount = Discount;
991
+ type context_DiscountType = DiscountType;
992
+ declare const context_DiscountType: typeof DiscountType;
993
+ type context_ExportAsyncJob = ExportAsyncJob;
994
+ type context_ExportAsyncJobData = ExportAsyncJobData;
995
+ type context_ExportCursorPaging = ExportCursorPaging;
996
+ type context_ExportQueryV2 = ExportQueryV2;
997
+ type context_ExportQueryV2PagingMethodOneOf = ExportQueryV2PagingMethodOneOf;
998
+ type context_FieldDescriptor = FieldDescriptor;
999
+ type context_FieldViolation = FieldViolation;
1000
+ type context_FileType = FileType;
1001
+ declare const context_FileType: typeof FileType;
1002
+ type context_FormattedPrice = FormattedPrice;
1003
+ type context_GenerateExportAsyncJobDownloadUrlRequest = GenerateExportAsyncJobDownloadUrlRequest;
1004
+ type context_GenerateExportAsyncJobDownloadUrlResponse = GenerateExportAsyncJobDownloadUrlResponse;
1005
+ type context_GetExportAsyncJobRequest = GetExportAsyncJobRequest;
1006
+ type context_GetExportAsyncJobResponse = GetExportAsyncJobResponse;
1007
+ type context_GetExportAsyncJobResponseNonNullableFields = GetExportAsyncJobResponseNonNullableFields;
1008
+ type context_InventoryStatus = InventoryStatus;
1009
+ declare const context_InventoryStatus: typeof InventoryStatus;
1010
+ type context_Keyword = Keyword;
1011
+ type context_MeasurementUnit = MeasurementUnit;
1012
+ declare const context_MeasurementUnit: typeof MeasurementUnit;
1013
+ type context_Media = Media;
1014
+ type context_MediaItem = MediaItem;
1015
+ type context_MediaItemItemOneOf = MediaItemItemOneOf;
1016
+ type context_MediaItemType = MediaItemType;
1017
+ declare const context_MediaItemType: typeof MediaItemType;
1018
+ type context_MediaItemUrlAndSize = MediaItemUrlAndSize;
1019
+ type context_MediaItemVideo = MediaItemVideo;
1020
+ type context_MethodMetadata = MethodMetadata;
1021
+ type context_MethodSpec = MethodSpec;
1022
+ type context_NumericPropertyRange = NumericPropertyRange;
1023
+ type context_OptionType = OptionType;
1024
+ declare const context_OptionType: typeof OptionType;
1025
+ type context_PageUrl = PageUrl;
1026
+ type context_Paging = Paging;
1027
+ type context_PagingMetadataV2 = PagingMetadataV2;
1028
+ type context_PlatformMedia = PlatformMedia;
1029
+ type context_PlatformMediaMediaOneOf = PlatformMediaMediaOneOf;
1030
+ type context_PreorderInfo = PreorderInfo;
1031
+ type context_PriceData = PriceData;
1032
+ type context_PricePerUnitData = PricePerUnitData;
1033
+ type context_Product = Product;
1034
+ type context_ProductOption = ProductOption;
1035
+ type context_ProductOrVariant = ProductOrVariant;
1036
+ type context_ProductOrVariantV2 = ProductOrVariantV2;
1037
+ type context_ProductType = ProductType;
1038
+ declare const context_ProductType: typeof ProductType;
1039
+ type context_QueryFieldNumber = QueryFieldNumber;
1040
+ declare const context_QueryFieldNumber: typeof QueryFieldNumber;
1041
+ type context_QueryProductsExportSpiResponse = QueryProductsExportSpiResponse;
1042
+ type context_QueryRequestLoose = QueryRequestLoose;
1043
+ type context_QueryVariantsExportSpiResponse = QueryVariantsExportSpiResponse;
1044
+ type context_Ribbon = Ribbon;
1045
+ type context_RuleType = RuleType;
1046
+ declare const context_RuleType: typeof RuleType;
1047
+ type context_SecuredMedia = SecuredMedia;
1048
+ type context_SeoSchema = SeoSchema;
1049
+ type context_Settings = Settings;
1050
+ type context_SortOrder = SortOrder;
1051
+ declare const context_SortOrder: typeof SortOrder;
1052
+ type context_Sorting = Sorting;
1053
+ type context_Status = Status;
1054
+ declare const context_Status: typeof Status;
1055
+ type context_Stock = Stock;
1056
+ type context_StoreVariant = StoreVariant;
1057
+ type context_SystemError = SystemError;
1058
+ type context_Tag = Tag;
1059
+ type context_ValidationError = ValidationError;
1060
+ type context_Variant = Variant;
1061
+ type context_VariantDataWithNoStock = VariantDataWithNoStock;
1062
+ type context_VariantStock = VariantStock;
1063
+ type context_VideoResolution = VideoResolution;
1064
+ declare const context_createExportAsyncJob: typeof createExportAsyncJob;
1065
+ declare const context_getExportAsyncJob: typeof getExportAsyncJob;
1066
+ declare namespace context {
1067
+ 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_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, context_createExportAsyncJob as createExportAsyncJob, context_getExportAsyncJob as getExportAsyncJob };
1068
+ }
1069
+
1070
+ export { context as exportAsyncJob };