@wix/redirects 1.0.55 → 1.0.56

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/redirects",
3
- "version": "1.0.55",
3
+ "version": "1.0.56",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -18,7 +18,7 @@
18
18
  "type-bundles"
19
19
  ],
20
20
  "dependencies": {
21
- "@wix/redirects_redirects": "1.0.25"
21
+ "@wix/redirects_redirects": "1.0.26"
22
22
  },
23
23
  "devDependencies": {
24
24
  "glob": "^10.4.1",
@@ -43,5 +43,5 @@
43
43
  "fqdn": ""
44
44
  }
45
45
  },
46
- "falconPackageHash": "7979d4c2223fd26c76592c32456ee816cfc44478e8b130686a5e434a"
46
+ "falconPackageHash": "710f431516de9616f836b2bfcbb1c725e02ef1cd6481370ecfb07010"
47
47
  }
@@ -505,6 +505,30 @@ interface CreateAnonymousRedirectSessionResponse {
505
505
  /** Details for redirecting the visitor to a Wix page. */
506
506
  redirectSession?: RedirectSession;
507
507
  }
508
+ interface AttachPagesRequest {
509
+ /** the app id that we want to inherit pages for */
510
+ appDefId?: string;
511
+ }
512
+ interface AttachPagesResponse {
513
+ /** The status of the operation */
514
+ status?: Status;
515
+ /** A descriptive message about the operation */
516
+ message?: string;
517
+ /** True if pages were attached, false otherwise */
518
+ pagesAttached?: boolean;
519
+ /** True if the site was already published */
520
+ sitePublished?: boolean;
521
+ }
522
+ declare enum Status {
523
+ /** Invalid value - default */
524
+ UNKNOWN = "UNKNOWN",
525
+ /** Pages were successfully attached */
526
+ SUCCESS = "SUCCESS",
527
+ /** No pages were attached because the site is already published */
528
+ NO_ACTION = "NO_ACTION",
529
+ /** An error occurred, such as site or app not being found */
530
+ ERROR = "ERROR"
531
+ }
508
532
  interface ValidateCallbackURLRequest {
509
533
  /** An external URL to validate */
510
534
  callbackUrl?: string;
@@ -765,6 +789,8 @@ type _publicOnRedirectSessionCreatedType = typeof onRedirectSessionCreated$1;
765
789
  declare const onRedirectSessionCreated: ReturnType<typeof createEventModule<_publicOnRedirectSessionCreatedType>>;
766
790
 
767
791
  type context_ActionEvent = ActionEvent;
792
+ type context_AttachPagesRequest = AttachPagesRequest;
793
+ type context_AttachPagesResponse = AttachPagesResponse;
768
794
  type context_AuthorizeRequest = AuthorizeRequest;
769
795
  type context_BaseEventMetadata = BaseEventMetadata;
770
796
  type context_BookingPolicyViolations = BookingPolicyViolations;
@@ -816,6 +842,8 @@ type context_SignInURLResponse = SignInURLResponse;
816
842
  type context_Slot = Slot;
817
843
  type context_SlotAvailability = SlotAvailability;
818
844
  type context_SlotResource = SlotResource;
845
+ type context_Status = Status;
846
+ declare const context_Status: typeof Status;
819
847
  type context_URLDetails = URLDetails;
820
848
  type context_ValidateCallbackURLRequest = ValidateCallbackURLRequest;
821
849
  type context_ValidateCallbackURLResponse = ValidateCallbackURLResponse;
@@ -826,7 +854,7 @@ type context__publicOnRedirectSessionCreatedType = _publicOnRedirectSessionCreat
826
854
  declare const context_createRedirectSession: typeof createRedirectSession;
827
855
  declare const context_onRedirectSessionCreated: typeof onRedirectSessionCreated;
828
856
  declare namespace context {
829
- export { type context_ActionEvent as ActionEvent, type context_AuthorizeRequest as AuthorizeRequest, type context_BaseEventMetadata as BaseEventMetadata, type context_BookingPolicyViolations as BookingPolicyViolations, type context_CallbackParams as CallbackParams, context_CallbackType as CallbackType, type context_CreateAnonymousRedirectSessionRequest as CreateAnonymousRedirectSessionRequest, type context_CreateAnonymousRedirectSessionRequestIntentOneOf as CreateAnonymousRedirectSessionRequestIntentOneOf, type context_CreateAnonymousRedirectSessionResponse as CreateAnonymousRedirectSessionResponse, type context_CreateRedirectSessionOptions as CreateRedirectSessionOptions, type context_CreateRedirectSessionRequest as CreateRedirectSessionRequest, type context_CreateRedirectSessionRequestIntentOneOf as CreateRedirectSessionRequestIntentOneOf, type context_CreateRedirectSessionResponse as CreateRedirectSessionResponse, type context_CreateRedirectSessionResponseNonNullableFields as CreateRedirectSessionResponseNonNullableFields, type context_CustomMemberPaths as CustomMemberPaths, type context_DomainEvent as DomainEvent, type context_DomainEventBodyOneOf as DomainEventBodyOneOf, type context_EntityCreatedEvent as EntityCreatedEvent, type context_EntityDeletedEvent as EntityDeletedEvent, type context_EntityUpdatedEvent as EntityUpdatedEvent, type context_EventMetadata as EventMetadata, type context_IdentificationData as IdentificationData, type context_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type context_Location as Location, context_LocationType as LocationType, context_MembersAccountSection as MembersAccountSection, type context_MessageEnvelope as MessageEnvelope, type context_NestedTimeSlot as NestedTimeSlot, context_Prompt as Prompt, type context_RedirectSession as RedirectSession, type context_RedirectSessionAuthParams as RedirectSessionAuthParams, type context_RedirectSessionBookingsBookParams as RedirectSessionBookingsBookParams, type context_RedirectSessionBookingsCheckoutParams as RedirectSessionBookingsCheckoutParams, type context_RedirectSessionCreatedEnvelope as RedirectSessionCreatedEnvelope, type context_RedirectSessionEcomCheckoutParams as RedirectSessionEcomCheckoutParams, type context_RedirectSessionEventsCheckoutParams as RedirectSessionEventsCheckoutParams, type context_RedirectSessionLoginParams as RedirectSessionLoginParams, type context_RedirectSessionLogoutParams as RedirectSessionLogoutParams, type context_RedirectSessionMembersAccountParams as RedirectSessionMembersAccountParams, type context_RedirectSessionPaidPlansCheckoutParams as RedirectSessionPaidPlansCheckoutParams, type context_RedirectSessionPreferences as RedirectSessionPreferences, type context_RedirectSessionStoresProductParams as RedirectSessionStoresProductParams, type context_RestoreInfo as RestoreInfo, type context_SignInURLRequest as SignInURLRequest, type context_SignInURLResponse as SignInURLResponse, type context_Slot as Slot, type context_SlotAvailability as SlotAvailability, type context_SlotResource as SlotResource, type context_URLDetails as URLDetails, type context_ValidateCallbackURLRequest as ValidateCallbackURLRequest, type context_ValidateCallbackURLResponse as ValidateCallbackURLResponse, type context_WaitingList as WaitingList, context_WebhookIdentityType as WebhookIdentityType, type context__publicOnRedirectSessionCreatedType as _publicOnRedirectSessionCreatedType, context_createRedirectSession as createRedirectSession, context_onRedirectSessionCreated as onRedirectSessionCreated, onRedirectSessionCreated$1 as publicOnRedirectSessionCreated };
857
+ export { type context_ActionEvent as ActionEvent, type context_AttachPagesRequest as AttachPagesRequest, type context_AttachPagesResponse as AttachPagesResponse, type context_AuthorizeRequest as AuthorizeRequest, type context_BaseEventMetadata as BaseEventMetadata, type context_BookingPolicyViolations as BookingPolicyViolations, type context_CallbackParams as CallbackParams, context_CallbackType as CallbackType, type context_CreateAnonymousRedirectSessionRequest as CreateAnonymousRedirectSessionRequest, type context_CreateAnonymousRedirectSessionRequestIntentOneOf as CreateAnonymousRedirectSessionRequestIntentOneOf, type context_CreateAnonymousRedirectSessionResponse as CreateAnonymousRedirectSessionResponse, type context_CreateRedirectSessionOptions as CreateRedirectSessionOptions, type context_CreateRedirectSessionRequest as CreateRedirectSessionRequest, type context_CreateRedirectSessionRequestIntentOneOf as CreateRedirectSessionRequestIntentOneOf, type context_CreateRedirectSessionResponse as CreateRedirectSessionResponse, type context_CreateRedirectSessionResponseNonNullableFields as CreateRedirectSessionResponseNonNullableFields, type context_CustomMemberPaths as CustomMemberPaths, type context_DomainEvent as DomainEvent, type context_DomainEventBodyOneOf as DomainEventBodyOneOf, type context_EntityCreatedEvent as EntityCreatedEvent, type context_EntityDeletedEvent as EntityDeletedEvent, type context_EntityUpdatedEvent as EntityUpdatedEvent, type context_EventMetadata as EventMetadata, type context_IdentificationData as IdentificationData, type context_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type context_Location as Location, context_LocationType as LocationType, context_MembersAccountSection as MembersAccountSection, type context_MessageEnvelope as MessageEnvelope, type context_NestedTimeSlot as NestedTimeSlot, context_Prompt as Prompt, type context_RedirectSession as RedirectSession, type context_RedirectSessionAuthParams as RedirectSessionAuthParams, type context_RedirectSessionBookingsBookParams as RedirectSessionBookingsBookParams, type context_RedirectSessionBookingsCheckoutParams as RedirectSessionBookingsCheckoutParams, type context_RedirectSessionCreatedEnvelope as RedirectSessionCreatedEnvelope, type context_RedirectSessionEcomCheckoutParams as RedirectSessionEcomCheckoutParams, type context_RedirectSessionEventsCheckoutParams as RedirectSessionEventsCheckoutParams, type context_RedirectSessionLoginParams as RedirectSessionLoginParams, type context_RedirectSessionLogoutParams as RedirectSessionLogoutParams, type context_RedirectSessionMembersAccountParams as RedirectSessionMembersAccountParams, type context_RedirectSessionPaidPlansCheckoutParams as RedirectSessionPaidPlansCheckoutParams, type context_RedirectSessionPreferences as RedirectSessionPreferences, type context_RedirectSessionStoresProductParams as RedirectSessionStoresProductParams, type context_RestoreInfo as RestoreInfo, type context_SignInURLRequest as SignInURLRequest, type context_SignInURLResponse as SignInURLResponse, type context_Slot as Slot, type context_SlotAvailability as SlotAvailability, type context_SlotResource as SlotResource, context_Status as Status, type context_URLDetails as URLDetails, type context_ValidateCallbackURLRequest as ValidateCallbackURLRequest, type context_ValidateCallbackURLResponse as ValidateCallbackURLResponse, type context_WaitingList as WaitingList, context_WebhookIdentityType as WebhookIdentityType, type context__publicOnRedirectSessionCreatedType as _publicOnRedirectSessionCreatedType, context_createRedirectSession as createRedirectSession, context_onRedirectSessionCreated as onRedirectSessionCreated, onRedirectSessionCreated$1 as publicOnRedirectSessionCreated };
830
858
  }
831
859
 
832
860
  export { context as redirects };
@@ -505,6 +505,30 @@ interface CreateAnonymousRedirectSessionResponse {
505
505
  /** Details for redirecting the visitor to a Wix page. */
506
506
  redirectSession?: RedirectSession;
507
507
  }
508
+ interface AttachPagesRequest {
509
+ /** the app id that we want to inherit pages for */
510
+ appDefId?: string;
511
+ }
512
+ interface AttachPagesResponse {
513
+ /** The status of the operation */
514
+ status?: Status;
515
+ /** A descriptive message about the operation */
516
+ message?: string;
517
+ /** True if pages were attached, false otherwise */
518
+ pagesAttached?: boolean;
519
+ /** True if the site was already published */
520
+ sitePublished?: boolean;
521
+ }
522
+ declare enum Status {
523
+ /** Invalid value - default */
524
+ UNKNOWN = "UNKNOWN",
525
+ /** Pages were successfully attached */
526
+ SUCCESS = "SUCCESS",
527
+ /** No pages were attached because the site is already published */
528
+ NO_ACTION = "NO_ACTION",
529
+ /** An error occurred, such as site or app not being found */
530
+ ERROR = "ERROR"
531
+ }
508
532
  interface ValidateCallbackURLRequest {
509
533
  /** An external URL to validate */
510
534
  callbackUrl?: string;
@@ -765,6 +789,8 @@ type _publicOnRedirectSessionCreatedType = typeof onRedirectSessionCreated$1;
765
789
  declare const onRedirectSessionCreated: ReturnType<typeof createEventModule<_publicOnRedirectSessionCreatedType>>;
766
790
 
767
791
  type index_d_ActionEvent = ActionEvent;
792
+ type index_d_AttachPagesRequest = AttachPagesRequest;
793
+ type index_d_AttachPagesResponse = AttachPagesResponse;
768
794
  type index_d_AuthorizeRequest = AuthorizeRequest;
769
795
  type index_d_BaseEventMetadata = BaseEventMetadata;
770
796
  type index_d_BookingPolicyViolations = BookingPolicyViolations;
@@ -816,6 +842,8 @@ type index_d_SignInURLResponse = SignInURLResponse;
816
842
  type index_d_Slot = Slot;
817
843
  type index_d_SlotAvailability = SlotAvailability;
818
844
  type index_d_SlotResource = SlotResource;
845
+ type index_d_Status = Status;
846
+ declare const index_d_Status: typeof Status;
819
847
  type index_d_URLDetails = URLDetails;
820
848
  type index_d_ValidateCallbackURLRequest = ValidateCallbackURLRequest;
821
849
  type index_d_ValidateCallbackURLResponse = ValidateCallbackURLResponse;
@@ -826,7 +854,7 @@ type index_d__publicOnRedirectSessionCreatedType = _publicOnRedirectSessionCreat
826
854
  declare const index_d_createRedirectSession: typeof createRedirectSession;
827
855
  declare const index_d_onRedirectSessionCreated: typeof onRedirectSessionCreated;
828
856
  declare namespace index_d {
829
- export { type index_d_ActionEvent as ActionEvent, type index_d_AuthorizeRequest as AuthorizeRequest, type index_d_BaseEventMetadata as BaseEventMetadata, type index_d_BookingPolicyViolations as BookingPolicyViolations, type index_d_CallbackParams as CallbackParams, index_d_CallbackType as CallbackType, type index_d_CreateAnonymousRedirectSessionRequest as CreateAnonymousRedirectSessionRequest, type index_d_CreateAnonymousRedirectSessionRequestIntentOneOf as CreateAnonymousRedirectSessionRequestIntentOneOf, type index_d_CreateAnonymousRedirectSessionResponse as CreateAnonymousRedirectSessionResponse, type index_d_CreateRedirectSessionOptions as CreateRedirectSessionOptions, type index_d_CreateRedirectSessionRequest as CreateRedirectSessionRequest, type index_d_CreateRedirectSessionRequestIntentOneOf as CreateRedirectSessionRequestIntentOneOf, type index_d_CreateRedirectSessionResponse as CreateRedirectSessionResponse, type index_d_CreateRedirectSessionResponseNonNullableFields as CreateRedirectSessionResponseNonNullableFields, type index_d_CustomMemberPaths as CustomMemberPaths, 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_EventMetadata as EventMetadata, type index_d_IdentificationData as IdentificationData, type index_d_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type index_d_Location as Location, index_d_LocationType as LocationType, index_d_MembersAccountSection as MembersAccountSection, type index_d_MessageEnvelope as MessageEnvelope, type index_d_NestedTimeSlot as NestedTimeSlot, index_d_Prompt as Prompt, type index_d_RedirectSession as RedirectSession, type index_d_RedirectSessionAuthParams as RedirectSessionAuthParams, type index_d_RedirectSessionBookingsBookParams as RedirectSessionBookingsBookParams, type index_d_RedirectSessionBookingsCheckoutParams as RedirectSessionBookingsCheckoutParams, type index_d_RedirectSessionCreatedEnvelope as RedirectSessionCreatedEnvelope, type index_d_RedirectSessionEcomCheckoutParams as RedirectSessionEcomCheckoutParams, type index_d_RedirectSessionEventsCheckoutParams as RedirectSessionEventsCheckoutParams, type index_d_RedirectSessionLoginParams as RedirectSessionLoginParams, type index_d_RedirectSessionLogoutParams as RedirectSessionLogoutParams, type index_d_RedirectSessionMembersAccountParams as RedirectSessionMembersAccountParams, type index_d_RedirectSessionPaidPlansCheckoutParams as RedirectSessionPaidPlansCheckoutParams, type index_d_RedirectSessionPreferences as RedirectSessionPreferences, type index_d_RedirectSessionStoresProductParams as RedirectSessionStoresProductParams, type index_d_RestoreInfo as RestoreInfo, type index_d_SignInURLRequest as SignInURLRequest, type index_d_SignInURLResponse as SignInURLResponse, type index_d_Slot as Slot, type index_d_SlotAvailability as SlotAvailability, type index_d_SlotResource as SlotResource, type index_d_URLDetails as URLDetails, type index_d_ValidateCallbackURLRequest as ValidateCallbackURLRequest, type index_d_ValidateCallbackURLResponse as ValidateCallbackURLResponse, type index_d_WaitingList as WaitingList, index_d_WebhookIdentityType as WebhookIdentityType, type index_d__publicOnRedirectSessionCreatedType as _publicOnRedirectSessionCreatedType, index_d_createRedirectSession as createRedirectSession, index_d_onRedirectSessionCreated as onRedirectSessionCreated, onRedirectSessionCreated$1 as publicOnRedirectSessionCreated };
857
+ export { type index_d_ActionEvent as ActionEvent, type index_d_AttachPagesRequest as AttachPagesRequest, type index_d_AttachPagesResponse as AttachPagesResponse, type index_d_AuthorizeRequest as AuthorizeRequest, type index_d_BaseEventMetadata as BaseEventMetadata, type index_d_BookingPolicyViolations as BookingPolicyViolations, type index_d_CallbackParams as CallbackParams, index_d_CallbackType as CallbackType, type index_d_CreateAnonymousRedirectSessionRequest as CreateAnonymousRedirectSessionRequest, type index_d_CreateAnonymousRedirectSessionRequestIntentOneOf as CreateAnonymousRedirectSessionRequestIntentOneOf, type index_d_CreateAnonymousRedirectSessionResponse as CreateAnonymousRedirectSessionResponse, type index_d_CreateRedirectSessionOptions as CreateRedirectSessionOptions, type index_d_CreateRedirectSessionRequest as CreateRedirectSessionRequest, type index_d_CreateRedirectSessionRequestIntentOneOf as CreateRedirectSessionRequestIntentOneOf, type index_d_CreateRedirectSessionResponse as CreateRedirectSessionResponse, type index_d_CreateRedirectSessionResponseNonNullableFields as CreateRedirectSessionResponseNonNullableFields, type index_d_CustomMemberPaths as CustomMemberPaths, 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_EventMetadata as EventMetadata, type index_d_IdentificationData as IdentificationData, type index_d_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type index_d_Location as Location, index_d_LocationType as LocationType, index_d_MembersAccountSection as MembersAccountSection, type index_d_MessageEnvelope as MessageEnvelope, type index_d_NestedTimeSlot as NestedTimeSlot, index_d_Prompt as Prompt, type index_d_RedirectSession as RedirectSession, type index_d_RedirectSessionAuthParams as RedirectSessionAuthParams, type index_d_RedirectSessionBookingsBookParams as RedirectSessionBookingsBookParams, type index_d_RedirectSessionBookingsCheckoutParams as RedirectSessionBookingsCheckoutParams, type index_d_RedirectSessionCreatedEnvelope as RedirectSessionCreatedEnvelope, type index_d_RedirectSessionEcomCheckoutParams as RedirectSessionEcomCheckoutParams, type index_d_RedirectSessionEventsCheckoutParams as RedirectSessionEventsCheckoutParams, type index_d_RedirectSessionLoginParams as RedirectSessionLoginParams, type index_d_RedirectSessionLogoutParams as RedirectSessionLogoutParams, type index_d_RedirectSessionMembersAccountParams as RedirectSessionMembersAccountParams, type index_d_RedirectSessionPaidPlansCheckoutParams as RedirectSessionPaidPlansCheckoutParams, type index_d_RedirectSessionPreferences as RedirectSessionPreferences, type index_d_RedirectSessionStoresProductParams as RedirectSessionStoresProductParams, type index_d_RestoreInfo as RestoreInfo, type index_d_SignInURLRequest as SignInURLRequest, type index_d_SignInURLResponse as SignInURLResponse, type index_d_Slot as Slot, type index_d_SlotAvailability as SlotAvailability, type index_d_SlotResource as SlotResource, index_d_Status as Status, type index_d_URLDetails as URLDetails, type index_d_ValidateCallbackURLRequest as ValidateCallbackURLRequest, type index_d_ValidateCallbackURLResponse as ValidateCallbackURLResponse, type index_d_WaitingList as WaitingList, index_d_WebhookIdentityType as WebhookIdentityType, type index_d__publicOnRedirectSessionCreatedType as _publicOnRedirectSessionCreatedType, index_d_createRedirectSession as createRedirectSession, index_d_onRedirectSessionCreated as onRedirectSessionCreated, onRedirectSessionCreated$1 as publicOnRedirectSessionCreated };
830
858
  }
831
859
 
832
860
  export { index_d as redirects };