@wix/metro 1.0.81 → 1.0.83
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/package.json +4 -5
- package/type-bundles/context.bundle.d.ts +458 -251
- package/type-bundles/index.bundle.d.ts +99 -336
- package/type-bundles/meta.bundle.d.ts +173 -839
|
@@ -323,7 +323,7 @@ interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
323
323
|
slug?: string;
|
|
324
324
|
/** ID of the entity associated with the event. */
|
|
325
325
|
entityId?: string;
|
|
326
|
-
/** Event timestamp. */
|
|
326
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
|
327
327
|
eventTime?: Date;
|
|
328
328
|
/**
|
|
329
329
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -352,6 +352,9 @@ interface DomainEventBodyOneOf {
|
|
|
352
352
|
interface EntityCreatedEvent {
|
|
353
353
|
entity?: string;
|
|
354
354
|
}
|
|
355
|
+
interface RestoreInfo {
|
|
356
|
+
deletedDate?: Date;
|
|
357
|
+
}
|
|
355
358
|
interface EntityUpdatedEvent {
|
|
356
359
|
/**
|
|
357
360
|
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
@@ -407,227 +410,91 @@ declare enum WebhookIdentityType {
|
|
|
407
410
|
WIX_USER = "WIX_USER",
|
|
408
411
|
APP = "APP"
|
|
409
412
|
}
|
|
413
|
+
interface StreetAddressNonNullableFields {
|
|
414
|
+
number: string;
|
|
415
|
+
name: string;
|
|
416
|
+
apt: string;
|
|
417
|
+
}
|
|
418
|
+
interface AddressNonNullableFields {
|
|
419
|
+
streetAddress?: StreetAddressNonNullableFields;
|
|
420
|
+
}
|
|
421
|
+
interface PageLinkNonNullableFields {
|
|
422
|
+
pageId: string;
|
|
423
|
+
rel: LinkRel[];
|
|
424
|
+
}
|
|
425
|
+
interface VariantNonNullableFields {
|
|
426
|
+
name: string;
|
|
427
|
+
value: string;
|
|
428
|
+
image: string;
|
|
429
|
+
}
|
|
430
|
+
interface MyAddressNonNullableFields {
|
|
431
|
+
streetAddress?: StreetAddressNonNullableFields;
|
|
432
|
+
}
|
|
433
|
+
interface ProductNonNullableFields {
|
|
434
|
+
_id: string;
|
|
435
|
+
collectionId: string;
|
|
436
|
+
image: string;
|
|
437
|
+
address?: AddressNonNullableFields;
|
|
438
|
+
document: string;
|
|
439
|
+
video: string;
|
|
440
|
+
pageLink?: PageLinkNonNullableFields;
|
|
441
|
+
audio: string;
|
|
442
|
+
variants: VariantNonNullableFields[];
|
|
443
|
+
mainVariant?: VariantNonNullableFields;
|
|
444
|
+
customAddress?: MyAddressNonNullableFields;
|
|
445
|
+
guid: string;
|
|
446
|
+
}
|
|
410
447
|
interface CreateProductResponseNonNullableFields {
|
|
411
|
-
product?:
|
|
412
|
-
_id: string;
|
|
413
|
-
collectionId: string;
|
|
414
|
-
image: string;
|
|
415
|
-
document: string;
|
|
416
|
-
video: string;
|
|
417
|
-
pageLink?: {
|
|
418
|
-
pageId: string;
|
|
419
|
-
rel: LinkRel[];
|
|
420
|
-
};
|
|
421
|
-
audio: string;
|
|
422
|
-
variants: {
|
|
423
|
-
name: string;
|
|
424
|
-
value: string;
|
|
425
|
-
image: string;
|
|
426
|
-
}[];
|
|
427
|
-
mainVariant?: {
|
|
428
|
-
name: string;
|
|
429
|
-
value: string;
|
|
430
|
-
image: string;
|
|
431
|
-
};
|
|
432
|
-
guid: string;
|
|
433
|
-
};
|
|
448
|
+
product?: ProductNonNullableFields;
|
|
434
449
|
}
|
|
435
450
|
interface UpdateProductResponseNonNullableFields {
|
|
436
|
-
product?:
|
|
437
|
-
_id: string;
|
|
438
|
-
collectionId: string;
|
|
439
|
-
image: string;
|
|
440
|
-
document: string;
|
|
441
|
-
video: string;
|
|
442
|
-
pageLink?: {
|
|
443
|
-
pageId: string;
|
|
444
|
-
rel: LinkRel[];
|
|
445
|
-
};
|
|
446
|
-
audio: string;
|
|
447
|
-
variants: {
|
|
448
|
-
name: string;
|
|
449
|
-
value: string;
|
|
450
|
-
image: string;
|
|
451
|
-
}[];
|
|
452
|
-
mainVariant?: {
|
|
453
|
-
name: string;
|
|
454
|
-
value: string;
|
|
455
|
-
image: string;
|
|
456
|
-
};
|
|
457
|
-
guid: string;
|
|
458
|
-
};
|
|
451
|
+
product?: ProductNonNullableFields;
|
|
459
452
|
}
|
|
460
453
|
interface GetProductResponseNonNullableFields {
|
|
461
|
-
product?:
|
|
462
|
-
_id: string;
|
|
463
|
-
collectionId: string;
|
|
464
|
-
image: string;
|
|
465
|
-
document: string;
|
|
466
|
-
video: string;
|
|
467
|
-
pageLink?: {
|
|
468
|
-
pageId: string;
|
|
469
|
-
rel: LinkRel[];
|
|
470
|
-
};
|
|
471
|
-
audio: string;
|
|
472
|
-
variants: {
|
|
473
|
-
name: string;
|
|
474
|
-
value: string;
|
|
475
|
-
image: string;
|
|
476
|
-
}[];
|
|
477
|
-
mainVariant?: {
|
|
478
|
-
name: string;
|
|
479
|
-
value: string;
|
|
480
|
-
image: string;
|
|
481
|
-
};
|
|
482
|
-
guid: string;
|
|
483
|
-
};
|
|
454
|
+
product?: ProductNonNullableFields;
|
|
484
455
|
}
|
|
485
456
|
interface GetProductsStartWithResponseNonNullableFields {
|
|
486
|
-
products:
|
|
487
|
-
_id: string;
|
|
488
|
-
collectionId: string;
|
|
489
|
-
image: string;
|
|
490
|
-
document: string;
|
|
491
|
-
video: string;
|
|
492
|
-
pageLink?: {
|
|
493
|
-
pageId: string;
|
|
494
|
-
rel: LinkRel[];
|
|
495
|
-
};
|
|
496
|
-
audio: string;
|
|
497
|
-
variants: {
|
|
498
|
-
name: string;
|
|
499
|
-
value: string;
|
|
500
|
-
image: string;
|
|
501
|
-
}[];
|
|
502
|
-
mainVariant?: {
|
|
503
|
-
name: string;
|
|
504
|
-
value: string;
|
|
505
|
-
image: string;
|
|
506
|
-
};
|
|
507
|
-
guid: string;
|
|
508
|
-
}[];
|
|
457
|
+
products: ProductNonNullableFields[];
|
|
509
458
|
}
|
|
510
459
|
interface QueryProductsResponseNonNullableFields {
|
|
511
|
-
products:
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
image: string;
|
|
531
|
-
};
|
|
532
|
-
guid: string;
|
|
533
|
-
}[];
|
|
460
|
+
products: ProductNonNullableFields[];
|
|
461
|
+
}
|
|
462
|
+
interface ApplicationErrorNonNullableFields {
|
|
463
|
+
code: string;
|
|
464
|
+
description: string;
|
|
465
|
+
}
|
|
466
|
+
interface ItemMetadataNonNullableFields {
|
|
467
|
+
originalIndex: number;
|
|
468
|
+
success: boolean;
|
|
469
|
+
error?: ApplicationErrorNonNullableFields;
|
|
470
|
+
}
|
|
471
|
+
interface BulkProductResultNonNullableFields {
|
|
472
|
+
itemMetadata?: ItemMetadataNonNullableFields;
|
|
473
|
+
item?: ProductNonNullableFields;
|
|
474
|
+
}
|
|
475
|
+
interface BulkActionMetadataNonNullableFields {
|
|
476
|
+
totalSuccesses: number;
|
|
477
|
+
totalFailures: number;
|
|
478
|
+
undetailedFailures: number;
|
|
534
479
|
}
|
|
535
480
|
interface BulkCreateProductsResponseNonNullableFields {
|
|
536
|
-
results:
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
description: string;
|
|
543
|
-
};
|
|
544
|
-
};
|
|
545
|
-
item?: {
|
|
546
|
-
_id: string;
|
|
547
|
-
collectionId: string;
|
|
548
|
-
image: string;
|
|
549
|
-
document: string;
|
|
550
|
-
video: string;
|
|
551
|
-
pageLink?: {
|
|
552
|
-
pageId: string;
|
|
553
|
-
rel: LinkRel[];
|
|
554
|
-
};
|
|
555
|
-
audio: string;
|
|
556
|
-
variants: {
|
|
557
|
-
name: string;
|
|
558
|
-
value: string;
|
|
559
|
-
image: string;
|
|
560
|
-
}[];
|
|
561
|
-
mainVariant?: {
|
|
562
|
-
name: string;
|
|
563
|
-
value: string;
|
|
564
|
-
image: string;
|
|
565
|
-
};
|
|
566
|
-
guid: string;
|
|
567
|
-
};
|
|
568
|
-
}[];
|
|
569
|
-
bulkActionMetadata?: {
|
|
570
|
-
totalSuccesses: number;
|
|
571
|
-
totalFailures: number;
|
|
572
|
-
undetailedFailures: number;
|
|
573
|
-
};
|
|
481
|
+
results: BulkProductResultNonNullableFields[];
|
|
482
|
+
bulkActionMetadata?: BulkActionMetadataNonNullableFields;
|
|
483
|
+
}
|
|
484
|
+
interface BulkUpdateProductsResponseBulkProductResultNonNullableFields {
|
|
485
|
+
itemMetadata?: ItemMetadataNonNullableFields;
|
|
486
|
+
item?: ProductNonNullableFields;
|
|
574
487
|
}
|
|
575
488
|
interface BulkUpdateProductsResponseNonNullableFields {
|
|
576
|
-
results:
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
code: string;
|
|
582
|
-
description: string;
|
|
583
|
-
};
|
|
584
|
-
};
|
|
585
|
-
item?: {
|
|
586
|
-
_id: string;
|
|
587
|
-
collectionId: string;
|
|
588
|
-
image: string;
|
|
589
|
-
document: string;
|
|
590
|
-
video: string;
|
|
591
|
-
pageLink?: {
|
|
592
|
-
pageId: string;
|
|
593
|
-
rel: LinkRel[];
|
|
594
|
-
};
|
|
595
|
-
audio: string;
|
|
596
|
-
variants: {
|
|
597
|
-
name: string;
|
|
598
|
-
value: string;
|
|
599
|
-
image: string;
|
|
600
|
-
}[];
|
|
601
|
-
mainVariant?: {
|
|
602
|
-
name: string;
|
|
603
|
-
value: string;
|
|
604
|
-
image: string;
|
|
605
|
-
};
|
|
606
|
-
guid: string;
|
|
607
|
-
};
|
|
608
|
-
}[];
|
|
609
|
-
bulkActionMetadata?: {
|
|
610
|
-
totalSuccesses: number;
|
|
611
|
-
totalFailures: number;
|
|
612
|
-
undetailedFailures: number;
|
|
613
|
-
};
|
|
489
|
+
results: BulkUpdateProductsResponseBulkProductResultNonNullableFields[];
|
|
490
|
+
bulkActionMetadata?: BulkActionMetadataNonNullableFields;
|
|
491
|
+
}
|
|
492
|
+
interface BulkDeleteProductsResponseBulkProductResultNonNullableFields {
|
|
493
|
+
itemMetadata?: ItemMetadataNonNullableFields;
|
|
614
494
|
}
|
|
615
495
|
interface BulkDeleteProductsResponseNonNullableFields {
|
|
616
|
-
results:
|
|
617
|
-
|
|
618
|
-
originalIndex: number;
|
|
619
|
-
success: boolean;
|
|
620
|
-
error?: {
|
|
621
|
-
code: string;
|
|
622
|
-
description: string;
|
|
623
|
-
};
|
|
624
|
-
};
|
|
625
|
-
}[];
|
|
626
|
-
bulkActionMetadata?: {
|
|
627
|
-
totalSuccesses: number;
|
|
628
|
-
totalFailures: number;
|
|
629
|
-
undetailedFailures: number;
|
|
630
|
-
};
|
|
496
|
+
results: BulkDeleteProductsResponseBulkProductResultNonNullableFields[];
|
|
497
|
+
bulkActionMetadata?: BulkActionMetadataNonNullableFields;
|
|
631
498
|
}
|
|
632
499
|
interface Product {
|
|
633
500
|
_id: string;
|
|
@@ -733,8 +600,11 @@ interface BulkUpdateProductsOptions {
|
|
|
733
600
|
returnEntity?: boolean;
|
|
734
601
|
}
|
|
735
602
|
|
|
603
|
+
type RESTFunctionDescriptor<T extends (...args: any[]) => any = (...args: any[]) => any> = (httpClient: HttpClient) => T;
|
|
736
604
|
interface HttpClient {
|
|
737
605
|
request<TResponse, TData = any>(req: RequestOptionsFactory<TResponse, TData>): Promise<HttpResponse<TResponse>>;
|
|
606
|
+
fetchWithAuth: typeof fetch;
|
|
607
|
+
wixAPIFetch: (relativeUrl: string, options: RequestInit) => Promise<Response>;
|
|
738
608
|
}
|
|
739
609
|
type RequestOptionsFactory<TResponse = any, TData = any> = (context: any) => RequestOptions<TResponse, TData>;
|
|
740
610
|
type HttpResponse<T = any> = {
|
|
@@ -755,134 +625,26 @@ type APIMetadata = {
|
|
|
755
625
|
entityFqdn?: string;
|
|
756
626
|
packageName?: string;
|
|
757
627
|
};
|
|
628
|
+
type BuildRESTFunction<T extends RESTFunctionDescriptor> = T extends RESTFunctionDescriptor<infer U> ? U : never;
|
|
758
629
|
|
|
759
|
-
declare
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
* Bookings are created with a status of `CREATED`.
|
|
778
|
-
* `CREATED` bookings don't appear on the business calendar and don't affect a related schedule's availability.
|
|
779
|
-
*
|
|
780
|
-
* To create a booking with a given status, pass a booking with the wanted status.
|
|
781
|
-
* This is only permitted for site Owners.
|
|
782
|
-
*
|
|
783
|
-
* You can pass a `participantNotification.message` to notify the customer of the booking with a message.
|
|
784
|
-
* It's also necessary to pass `participantNotification.notifyParticipants`as `true` to send the message.
|
|
785
|
-
*
|
|
786
|
-
* You can pass `sendSmsReminder` as `true`, if you want an SMS reminder to be sent to the phone number specified in the ContactDetails, 24 hours before the session starts.
|
|
787
|
-
*
|
|
788
|
-
* When creating a booking you must pass either `participantsChoices` or `totalParticipants`. If you pass `participantsChoices`, all the
|
|
789
|
-
* provided choices must exist for the service, otherwise the call returns an `INVALID_SERVICE_CHOICES` error.
|
|
790
|
-
*
|
|
791
|
-
* When creating a booking, you can pass `selectedPaymentOption`.
|
|
792
|
-
* This specifies which payment method the customer plans to use.
|
|
793
|
-
* But it's possible for them to later use another supported payment method.
|
|
794
|
-
*
|
|
795
|
-
* You can skip the checkout and payment flow if you call Confirm Or Decline Booking otherwise, after you create the booking, you can use the
|
|
796
|
-
* Wix eCommerce APIs (coming soon) for the checkout and payment flow or use a different service for checkout.
|
|
797
|
-
* @param booking - The booking to create.
|
|
798
|
-
* @public
|
|
799
|
-
* @documentationMaturity preview
|
|
800
|
-
* @requiredField booking
|
|
801
|
-
* @requiredField booking.additionalFields._id
|
|
802
|
-
* @requiredField booking.bookedEntity
|
|
803
|
-
* @permissionScope Manage Bookings
|
|
804
|
-
* @permissionScopeId SCOPE.DC-BOOKINGS.MANAGE-BOOKINGS
|
|
805
|
-
* @permissionScope Manage Bookings - all permissions
|
|
806
|
-
* @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.MANAGE-BOOKINGS
|
|
807
|
-
* @applicableIdentity APP
|
|
808
|
-
* @applicableIdentity MEMBER
|
|
809
|
-
* @applicableIdentity VISITOR
|
|
810
|
-
*/
|
|
811
|
-
declare function createProduct(httpClient: HttpClient): (options?: CreateProductOptions) => Promise<Product & {
|
|
812
|
-
_id: string;
|
|
813
|
-
collectionId: string;
|
|
814
|
-
image: string;
|
|
815
|
-
document: string;
|
|
816
|
-
video: string;
|
|
817
|
-
pageLink?: {
|
|
818
|
-
pageId: string;
|
|
819
|
-
rel: LinkRel[];
|
|
820
|
-
} | undefined;
|
|
821
|
-
audio: string;
|
|
822
|
-
variants: {
|
|
823
|
-
name: string;
|
|
824
|
-
value: string;
|
|
825
|
-
image: string;
|
|
826
|
-
}[];
|
|
827
|
-
mainVariant?: {
|
|
828
|
-
name: string;
|
|
829
|
-
value: string;
|
|
830
|
-
image: string;
|
|
831
|
-
} | undefined;
|
|
832
|
-
guid: string;
|
|
833
|
-
}>;
|
|
834
|
-
declare function deleteProduct(httpClient: HttpClient): (productId: string) => Promise<void>;
|
|
835
|
-
declare function updateProduct(httpClient: HttpClient): (productId: string, options?: UpdateProductOptions) => Promise<Product & {
|
|
836
|
-
_id: string;
|
|
837
|
-
collectionId: string;
|
|
838
|
-
image: string;
|
|
839
|
-
document: string;
|
|
840
|
-
video: string;
|
|
841
|
-
pageLink?: {
|
|
842
|
-
pageId: string;
|
|
843
|
-
rel: LinkRel[];
|
|
844
|
-
} | undefined;
|
|
845
|
-
audio: string;
|
|
846
|
-
variants: {
|
|
847
|
-
name: string;
|
|
848
|
-
value: string;
|
|
849
|
-
image: string;
|
|
850
|
-
}[];
|
|
851
|
-
mainVariant?: {
|
|
852
|
-
name: string;
|
|
853
|
-
value: string;
|
|
854
|
-
image: string;
|
|
855
|
-
} | undefined;
|
|
856
|
-
guid: string;
|
|
857
|
-
}>;
|
|
858
|
-
declare function getProduct(httpClient: HttpClient): (productId: string) => Promise<Product & {
|
|
859
|
-
_id: string;
|
|
860
|
-
collectionId: string;
|
|
861
|
-
image: string;
|
|
862
|
-
document: string;
|
|
863
|
-
video: string;
|
|
864
|
-
pageLink?: {
|
|
865
|
-
pageId: string;
|
|
866
|
-
rel: LinkRel[];
|
|
867
|
-
} | undefined;
|
|
868
|
-
audio: string;
|
|
869
|
-
variants: {
|
|
870
|
-
name: string;
|
|
871
|
-
value: string;
|
|
872
|
-
image: string;
|
|
873
|
-
}[];
|
|
874
|
-
mainVariant?: {
|
|
875
|
-
name: string;
|
|
876
|
-
value: string;
|
|
877
|
-
image: string;
|
|
878
|
-
} | undefined;
|
|
879
|
-
guid: string;
|
|
880
|
-
}>;
|
|
881
|
-
declare function getProductsStartWith(httpClient: HttpClient): (title: string, options?: GetProductsStartWithOptions) => Promise<GetProductsStartWithResponse & GetProductsStartWithResponseNonNullableFields>;
|
|
882
|
-
declare function queryProducts(httpClient: HttpClient): (options?: QueryProductsOptions) => ProductsQueryBuilder;
|
|
883
|
-
declare function bulkCreateProducts(httpClient: HttpClient): (products: Product[], options?: BulkCreateProductsOptions) => Promise<BulkCreateProductsResponse & BulkCreateProductsResponseNonNullableFields>;
|
|
884
|
-
declare function bulkUpdateProducts(httpClient: HttpClient): (products: MaskedProduct[], options?: BulkUpdateProductsOptions) => Promise<BulkUpdateProductsResponse & BulkUpdateProductsResponseNonNullableFields>;
|
|
885
|
-
declare function bulkDeleteProducts(httpClient: HttpClient): (productIds: string[]) => Promise<BulkDeleteProductsResponse & BulkDeleteProductsResponseNonNullableFields>;
|
|
630
|
+
declare global {
|
|
631
|
+
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
|
|
632
|
+
interface SymbolConstructor {
|
|
633
|
+
readonly observable: symbol;
|
|
634
|
+
}
|
|
635
|
+
}
|
|
636
|
+
|
|
637
|
+
declare function createRESTModule<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
|
|
638
|
+
|
|
639
|
+
declare const createProduct: ReturnType<typeof createRESTModule<typeof publicCreateProduct>>;
|
|
640
|
+
declare const deleteProduct: ReturnType<typeof createRESTModule<typeof publicDeleteProduct>>;
|
|
641
|
+
declare const updateProduct: ReturnType<typeof createRESTModule<typeof publicUpdateProduct>>;
|
|
642
|
+
declare const getProduct: ReturnType<typeof createRESTModule<typeof publicGetProduct>>;
|
|
643
|
+
declare const getProductsStartWith: ReturnType<typeof createRESTModule<typeof publicGetProductsStartWith>>;
|
|
644
|
+
declare const queryProducts: ReturnType<typeof createRESTModule<typeof publicQueryProducts>>;
|
|
645
|
+
declare const bulkCreateProducts: ReturnType<typeof createRESTModule<typeof publicBulkCreateProducts>>;
|
|
646
|
+
declare const bulkUpdateProducts: ReturnType<typeof createRESTModule<typeof publicBulkUpdateProducts>>;
|
|
647
|
+
declare const bulkDeleteProducts: ReturnType<typeof createRESTModule<typeof publicBulkDeleteProducts>>;
|
|
886
648
|
|
|
887
649
|
type index_d_ActionEvent = ActionEvent;
|
|
888
650
|
type index_d_Address = Address;
|
|
@@ -936,6 +698,7 @@ type index_d_PageLink = PageLink;
|
|
|
936
698
|
type index_d_Paging = Paging;
|
|
937
699
|
type index_d_PagingMetadataV2 = PagingMetadataV2;
|
|
938
700
|
type index_d_Product = Product;
|
|
701
|
+
type index_d_ProductNonNullableFields = ProductNonNullableFields;
|
|
939
702
|
type index_d_ProductsQueryBuilder = ProductsQueryBuilder;
|
|
940
703
|
type index_d_ProductsQueryResult = ProductsQueryResult;
|
|
941
704
|
type index_d_QueryProductsOptions = QueryProductsOptions;
|
|
@@ -946,6 +709,7 @@ type index_d_QueryV2 = QueryV2;
|
|
|
946
709
|
type index_d_QueryV2PagingMethodOneOf = QueryV2PagingMethodOneOf;
|
|
947
710
|
type index_d_ResetProductsDbRequest = ResetProductsDbRequest;
|
|
948
711
|
type index_d_ResetProductsDbResponse = ResetProductsDbResponse;
|
|
712
|
+
type index_d_RestoreInfo = RestoreInfo;
|
|
949
713
|
type index_d_SortOrder = SortOrder;
|
|
950
714
|
declare const index_d_SortOrder: typeof SortOrder;
|
|
951
715
|
type index_d_Sorting = Sorting;
|
|
@@ -962,7 +726,6 @@ type index_d_Variant = Variant;
|
|
|
962
726
|
type index_d_VideoResolution = VideoResolution;
|
|
963
727
|
type index_d_WebhookIdentityType = WebhookIdentityType;
|
|
964
728
|
declare const index_d_WebhookIdentityType: typeof WebhookIdentityType;
|
|
965
|
-
declare const index_d___metadata: typeof __metadata;
|
|
966
729
|
declare const index_d_bulkCreateProducts: typeof bulkCreateProducts;
|
|
967
730
|
declare const index_d_bulkDeleteProducts: typeof bulkDeleteProducts;
|
|
968
731
|
declare const index_d_bulkUpdateProducts: typeof bulkUpdateProducts;
|
|
@@ -973,7 +736,7 @@ declare const index_d_getProductsStartWith: typeof getProductsStartWith;
|
|
|
973
736
|
declare const index_d_queryProducts: typeof queryProducts;
|
|
974
737
|
declare const index_d_updateProduct: typeof updateProduct;
|
|
975
738
|
declare namespace index_d {
|
|
976
|
-
export { type index_d_ActionEvent as ActionEvent, type index_d_Address as Address, type index_d_AddressLocation as AddressLocation, type index_d_AddressStreetOneOf as AddressStreetOneOf, type index_d_ApplicationError as ApplicationError, type index_d_BulkActionMetadata as BulkActionMetadata, type index_d_BulkCreateProductsOptions as BulkCreateProductsOptions, type index_d_BulkCreateProductsRequest as BulkCreateProductsRequest, type index_d_BulkCreateProductsResponse as BulkCreateProductsResponse, type index_d_BulkCreateProductsResponseNonNullableFields as BulkCreateProductsResponseNonNullableFields, type index_d_BulkDeleteProductsRequest as BulkDeleteProductsRequest, type index_d_BulkDeleteProductsResponse as BulkDeleteProductsResponse, type index_d_BulkDeleteProductsResponseBulkProductResult as BulkDeleteProductsResponseBulkProductResult, type index_d_BulkDeleteProductsResponseNonNullableFields as BulkDeleteProductsResponseNonNullableFields, type index_d_BulkProductResult as BulkProductResult, type index_d_BulkUpdateProductsOptions as BulkUpdateProductsOptions, type index_d_BulkUpdateProductsRequest as BulkUpdateProductsRequest, type index_d_BulkUpdateProductsResponse as BulkUpdateProductsResponse, type index_d_BulkUpdateProductsResponseBulkProductResult as BulkUpdateProductsResponseBulkProductResult, type index_d_BulkUpdateProductsResponseNonNullableFields as BulkUpdateProductsResponseNonNullableFields, type index_d_CreateProductOptions as CreateProductOptions, type index_d_CreateProductRequest as CreateProductRequest, type index_d_CreateProductResponse as CreateProductResponse, type index_d_CreateProductResponseNonNullableFields as CreateProductResponseNonNullableFields, type index_d_CursorPaging as CursorPaging, type index_d_Cursors as Cursors, type index_d_DeleteProductRequest as DeleteProductRequest, type index_d_DeleteProductResponse as DeleteProductResponse, type index_d_DomainEvent as DomainEvent, type index_d_DomainEventBodyOneOf as DomainEventBodyOneOf, type index_d_EntityCreatedEvent as EntityCreatedEvent, type index_d_EntityDeletedEvent as EntityDeletedEvent, type index_d_EntityUpdatedEvent as EntityUpdatedEvent, type index_d_GetProductRequest as GetProductRequest, type index_d_GetProductResponse as GetProductResponse, type index_d_GetProductResponseNonNullableFields as GetProductResponseNonNullableFields, type index_d_GetProductsStartWithOptions as GetProductsStartWithOptions, type index_d_GetProductsStartWithRequest as GetProductsStartWithRequest, type index_d_GetProductsStartWithResponse as GetProductsStartWithResponse, type index_d_GetProductsStartWithResponseNonNullableFields as GetProductsStartWithResponseNonNullableFields, type index_d_IdentificationData as IdentificationData, type index_d_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type index_d_ItemMetadata as ItemMetadata, index_d_LinkRel as LinkRel, type index_d_MaskedProduct as MaskedProduct, type index_d_MessageEnvelope as MessageEnvelope, type index_d_MyAddress as MyAddress, type index_d_PageLink as PageLink, type index_d_Paging as Paging, type index_d_PagingMetadataV2 as PagingMetadataV2, type index_d_Product as Product, type index_d_ProductsQueryBuilder as ProductsQueryBuilder, type index_d_ProductsQueryResult as ProductsQueryResult, type index_d_QueryProductsOptions as QueryProductsOptions, type index_d_QueryProductsRequest as QueryProductsRequest, type index_d_QueryProductsResponse as QueryProductsResponse, type index_d_QueryProductsResponseNonNullableFields as QueryProductsResponseNonNullableFields, type index_d_QueryV2 as QueryV2, type index_d_QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOf, type index_d_ResetProductsDbRequest as ResetProductsDbRequest, type index_d_ResetProductsDbResponse as ResetProductsDbResponse, index_d_SortOrder as SortOrder, type index_d_Sorting as Sorting, type index_d_StandardDetails as StandardDetails, type index_d_StreetAddress as StreetAddress, type index_d_Subdivision as Subdivision, index_d_SubdivisionType as SubdivisionType, type index_d_UpdateProductOptions as UpdateProductOptions, type index_d_UpdateProductRequest as UpdateProductRequest, type index_d_UpdateProductResponse as UpdateProductResponse, type index_d_UpdateProductResponseNonNullableFields as UpdateProductResponseNonNullableFields, type index_d_Variant as Variant, type index_d_VideoResolution as VideoResolution, index_d_WebhookIdentityType as WebhookIdentityType,
|
|
739
|
+
export { type index_d_ActionEvent as ActionEvent, type index_d_Address as Address, type index_d_AddressLocation as AddressLocation, type index_d_AddressStreetOneOf as AddressStreetOneOf, type index_d_ApplicationError as ApplicationError, type index_d_BulkActionMetadata as BulkActionMetadata, type index_d_BulkCreateProductsOptions as BulkCreateProductsOptions, type index_d_BulkCreateProductsRequest as BulkCreateProductsRequest, type index_d_BulkCreateProductsResponse as BulkCreateProductsResponse, type index_d_BulkCreateProductsResponseNonNullableFields as BulkCreateProductsResponseNonNullableFields, type index_d_BulkDeleteProductsRequest as BulkDeleteProductsRequest, type index_d_BulkDeleteProductsResponse as BulkDeleteProductsResponse, type index_d_BulkDeleteProductsResponseBulkProductResult as BulkDeleteProductsResponseBulkProductResult, type index_d_BulkDeleteProductsResponseNonNullableFields as BulkDeleteProductsResponseNonNullableFields, type index_d_BulkProductResult as BulkProductResult, type index_d_BulkUpdateProductsOptions as BulkUpdateProductsOptions, type index_d_BulkUpdateProductsRequest as BulkUpdateProductsRequest, type index_d_BulkUpdateProductsResponse as BulkUpdateProductsResponse, type index_d_BulkUpdateProductsResponseBulkProductResult as BulkUpdateProductsResponseBulkProductResult, type index_d_BulkUpdateProductsResponseNonNullableFields as BulkUpdateProductsResponseNonNullableFields, type index_d_CreateProductOptions as CreateProductOptions, type index_d_CreateProductRequest as CreateProductRequest, type index_d_CreateProductResponse as CreateProductResponse, type index_d_CreateProductResponseNonNullableFields as CreateProductResponseNonNullableFields, type index_d_CursorPaging as CursorPaging, type index_d_Cursors as Cursors, type index_d_DeleteProductRequest as DeleteProductRequest, type index_d_DeleteProductResponse as DeleteProductResponse, type index_d_DomainEvent as DomainEvent, type index_d_DomainEventBodyOneOf as DomainEventBodyOneOf, type index_d_EntityCreatedEvent as EntityCreatedEvent, type index_d_EntityDeletedEvent as EntityDeletedEvent, type index_d_EntityUpdatedEvent as EntityUpdatedEvent, type index_d_GetProductRequest as GetProductRequest, type index_d_GetProductResponse as GetProductResponse, type index_d_GetProductResponseNonNullableFields as GetProductResponseNonNullableFields, type index_d_GetProductsStartWithOptions as GetProductsStartWithOptions, type index_d_GetProductsStartWithRequest as GetProductsStartWithRequest, type index_d_GetProductsStartWithResponse as GetProductsStartWithResponse, type index_d_GetProductsStartWithResponseNonNullableFields as GetProductsStartWithResponseNonNullableFields, type index_d_IdentificationData as IdentificationData, type index_d_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type index_d_ItemMetadata as ItemMetadata, index_d_LinkRel as LinkRel, type index_d_MaskedProduct as MaskedProduct, type index_d_MessageEnvelope as MessageEnvelope, type index_d_MyAddress as MyAddress, type index_d_PageLink as PageLink, type index_d_Paging as Paging, type index_d_PagingMetadataV2 as PagingMetadataV2, type index_d_Product as Product, type index_d_ProductNonNullableFields as ProductNonNullableFields, type index_d_ProductsQueryBuilder as ProductsQueryBuilder, type index_d_ProductsQueryResult as ProductsQueryResult, type index_d_QueryProductsOptions as QueryProductsOptions, type index_d_QueryProductsRequest as QueryProductsRequest, type index_d_QueryProductsResponse as QueryProductsResponse, type index_d_QueryProductsResponseNonNullableFields as QueryProductsResponseNonNullableFields, type index_d_QueryV2 as QueryV2, type index_d_QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOf, type index_d_ResetProductsDbRequest as ResetProductsDbRequest, type index_d_ResetProductsDbResponse as ResetProductsDbResponse, type index_d_RestoreInfo as RestoreInfo, index_d_SortOrder as SortOrder, type index_d_Sorting as Sorting, type index_d_StandardDetails as StandardDetails, type index_d_StreetAddress as StreetAddress, type index_d_Subdivision as Subdivision, index_d_SubdivisionType as SubdivisionType, type index_d_UpdateProductOptions as UpdateProductOptions, type index_d_UpdateProductRequest as UpdateProductRequest, type index_d_UpdateProductResponse as UpdateProductResponse, type index_d_UpdateProductResponseNonNullableFields as UpdateProductResponseNonNullableFields, type index_d_Variant as Variant, type index_d_VideoResolution as VideoResolution, index_d_WebhookIdentityType as WebhookIdentityType, index_d_bulkCreateProducts as bulkCreateProducts, index_d_bulkDeleteProducts as bulkDeleteProducts, index_d_bulkUpdateProducts as bulkUpdateProducts, index_d_createProduct as createProduct, index_d_deleteProduct as deleteProduct, index_d_getProduct as getProduct, index_d_getProductsStartWith as getProductsStartWith, index_d_queryProducts as queryProducts, index_d_updateProduct as updateProduct };
|
|
977
740
|
}
|
|
978
741
|
|
|
979
742
|
export { index_d as products };
|