@wix/redirects 1.0.63 → 1.0.65
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.
|
|
3
|
+
"version": "1.0.65",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"type-bundles"
|
|
22
22
|
],
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@wix/redirects_redirects": "1.0.
|
|
24
|
+
"@wix/redirects_redirects": "1.0.34"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"glob": "^10.4.1",
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"fqdn": ""
|
|
47
47
|
}
|
|
48
48
|
},
|
|
49
|
-
"falconPackageHash": "
|
|
49
|
+
"falconPackageHash": "f040d5124ea9c54b9cf1c4b66b9c9014709e32e86d70273fde6ea2e8"
|
|
50
50
|
}
|
|
@@ -805,15 +805,15 @@ interface RedirectSessionMembersAccountParams {
|
|
|
805
805
|
section?: MembersAccountSection;
|
|
806
806
|
}
|
|
807
807
|
declare enum MembersAccountSection {
|
|
808
|
-
/**
|
|
808
|
+
/** Account info section in "my account". */
|
|
809
809
|
ACCOUNT_INFO = "ACCOUNT_INFO",
|
|
810
|
-
/** My Bookings section in "my account" */
|
|
810
|
+
/** My Bookings section in "my account". */
|
|
811
811
|
BOOKINGS = "BOOKINGS",
|
|
812
|
-
/** My Orders section in "my account" */
|
|
812
|
+
/** My Orders section in "my account". */
|
|
813
813
|
ORDERS = "ORDERS",
|
|
814
|
-
/** Subscriptions section in "my account" */
|
|
814
|
+
/** Subscriptions section in "my account". */
|
|
815
815
|
SUBSCRIPTIONS = "SUBSCRIPTIONS",
|
|
816
|
-
/** Events section in "my account" */
|
|
816
|
+
/** Events section in "my account". */
|
|
817
817
|
EVENTS = "EVENTS"
|
|
818
818
|
}
|
|
819
819
|
interface RedirectSessionStoresProductParams {
|
|
@@ -942,11 +942,11 @@ interface CreateAnonymousRedirectSessionResponse {
|
|
|
942
942
|
redirectSession?: RedirectSession;
|
|
943
943
|
}
|
|
944
944
|
interface AttachPagesRequest {
|
|
945
|
-
/**
|
|
945
|
+
/** App ID that we want to inherit pages for. */
|
|
946
946
|
appDefId?: string;
|
|
947
947
|
}
|
|
948
948
|
interface AttachPagesResponse {
|
|
949
|
-
/** The status of the operation */
|
|
949
|
+
/** The status of the operation. */
|
|
950
950
|
status?: AttachPagesResponseStatus;
|
|
951
951
|
/** A descriptive message about the operation */
|
|
952
952
|
message?: string;
|
|
@@ -956,35 +956,35 @@ interface AttachPagesResponse {
|
|
|
956
956
|
sitePublished?: boolean;
|
|
957
957
|
}
|
|
958
958
|
declare enum AttachPagesResponseStatus {
|
|
959
|
-
/** Invalid value
|
|
959
|
+
/** Invalid value. */
|
|
960
960
|
UNKNOWN = "UNKNOWN",
|
|
961
|
-
/** Pages were successfully attached */
|
|
961
|
+
/** Pages were successfully attached. */
|
|
962
962
|
SUCCESS = "SUCCESS",
|
|
963
|
-
/** No pages were attached because the site is already published */
|
|
963
|
+
/** No pages were attached because the site is already published. */
|
|
964
964
|
NO_ACTION = "NO_ACTION",
|
|
965
|
-
/** An error occurred, such as site or app not
|
|
965
|
+
/** An error occurred, such as when the site or app is not found. */
|
|
966
966
|
ERROR = "ERROR"
|
|
967
967
|
}
|
|
968
968
|
interface ValidateCallbackURLRequest {
|
|
969
969
|
/** An external URL to validate */
|
|
970
970
|
callbackUrl?: string;
|
|
971
|
-
/**
|
|
971
|
+
/** Type of the callback URL. */
|
|
972
972
|
callbackType?: CallbackType;
|
|
973
973
|
/** The oauth app id used in order to pull the allowed domains from, has to correspond to the same metasite as the site in context */
|
|
974
974
|
clientId?: string;
|
|
975
975
|
}
|
|
976
976
|
declare enum CallbackType {
|
|
977
|
-
/** Invalid value
|
|
977
|
+
/** Invalid value. */
|
|
978
978
|
UNKNOWN = "UNKNOWN",
|
|
979
|
-
/**
|
|
979
|
+
/** Callback URL is used for the logout flow. */
|
|
980
980
|
LOGOUT = "LOGOUT",
|
|
981
|
-
/**
|
|
981
|
+
/** Callback URL is used for a checkout flow. */
|
|
982
982
|
CHECKOUT = "CHECKOUT",
|
|
983
|
-
/**
|
|
983
|
+
/** Callback URL is used for the authorize flow. */
|
|
984
984
|
AUTHORIZE = "AUTHORIZE"
|
|
985
985
|
}
|
|
986
986
|
interface ValidateCallbackURLResponse {
|
|
987
|
-
/**
|
|
987
|
+
/** Indicates if the provided URL is allowed for the given client id */
|
|
988
988
|
isValid?: boolean;
|
|
989
989
|
}
|
|
990
990
|
interface SignInURLRequest {
|
|
@@ -998,15 +998,15 @@ interface SignInURLResponse {
|
|
|
998
998
|
interface AttachAllTemplatesRequest {
|
|
999
999
|
}
|
|
1000
1000
|
interface AttachAllTemplatesResponse {
|
|
1001
|
-
/** The status of the operation */
|
|
1001
|
+
/** The status of the operation. */
|
|
1002
1002
|
status?: Status;
|
|
1003
1003
|
}
|
|
1004
1004
|
declare enum Status {
|
|
1005
|
-
/** Invalid value
|
|
1005
|
+
/** Invalid value. */
|
|
1006
1006
|
UNKNOWN = "UNKNOWN",
|
|
1007
|
-
/**
|
|
1007
|
+
/** Templates were successfully attached. */
|
|
1008
1008
|
SUCCESS = "SUCCESS",
|
|
1009
|
-
/** An error occurred */
|
|
1009
|
+
/** An error occurred. */
|
|
1010
1010
|
ERROR = "ERROR"
|
|
1011
1011
|
}
|
|
1012
1012
|
interface DomainEvent extends DomainEventBodyOneOf {
|
|
@@ -805,15 +805,15 @@ interface RedirectSessionMembersAccountParams {
|
|
|
805
805
|
section?: MembersAccountSection;
|
|
806
806
|
}
|
|
807
807
|
declare enum MembersAccountSection {
|
|
808
|
-
/**
|
|
808
|
+
/** Account info section in "my account". */
|
|
809
809
|
ACCOUNT_INFO = "ACCOUNT_INFO",
|
|
810
|
-
/** My Bookings section in "my account" */
|
|
810
|
+
/** My Bookings section in "my account". */
|
|
811
811
|
BOOKINGS = "BOOKINGS",
|
|
812
|
-
/** My Orders section in "my account" */
|
|
812
|
+
/** My Orders section in "my account". */
|
|
813
813
|
ORDERS = "ORDERS",
|
|
814
|
-
/** Subscriptions section in "my account" */
|
|
814
|
+
/** Subscriptions section in "my account". */
|
|
815
815
|
SUBSCRIPTIONS = "SUBSCRIPTIONS",
|
|
816
|
-
/** Events section in "my account" */
|
|
816
|
+
/** Events section in "my account". */
|
|
817
817
|
EVENTS = "EVENTS"
|
|
818
818
|
}
|
|
819
819
|
interface RedirectSessionStoresProductParams {
|
|
@@ -942,11 +942,11 @@ interface CreateAnonymousRedirectSessionResponse {
|
|
|
942
942
|
redirectSession?: RedirectSession;
|
|
943
943
|
}
|
|
944
944
|
interface AttachPagesRequest {
|
|
945
|
-
/**
|
|
945
|
+
/** App ID that we want to inherit pages for. */
|
|
946
946
|
appDefId?: string;
|
|
947
947
|
}
|
|
948
948
|
interface AttachPagesResponse {
|
|
949
|
-
/** The status of the operation */
|
|
949
|
+
/** The status of the operation. */
|
|
950
950
|
status?: AttachPagesResponseStatus;
|
|
951
951
|
/** A descriptive message about the operation */
|
|
952
952
|
message?: string;
|
|
@@ -956,35 +956,35 @@ interface AttachPagesResponse {
|
|
|
956
956
|
sitePublished?: boolean;
|
|
957
957
|
}
|
|
958
958
|
declare enum AttachPagesResponseStatus {
|
|
959
|
-
/** Invalid value
|
|
959
|
+
/** Invalid value. */
|
|
960
960
|
UNKNOWN = "UNKNOWN",
|
|
961
|
-
/** Pages were successfully attached */
|
|
961
|
+
/** Pages were successfully attached. */
|
|
962
962
|
SUCCESS = "SUCCESS",
|
|
963
|
-
/** No pages were attached because the site is already published */
|
|
963
|
+
/** No pages were attached because the site is already published. */
|
|
964
964
|
NO_ACTION = "NO_ACTION",
|
|
965
|
-
/** An error occurred, such as site or app not
|
|
965
|
+
/** An error occurred, such as when the site or app is not found. */
|
|
966
966
|
ERROR = "ERROR"
|
|
967
967
|
}
|
|
968
968
|
interface ValidateCallbackURLRequest {
|
|
969
969
|
/** An external URL to validate */
|
|
970
970
|
callbackUrl?: string;
|
|
971
|
-
/**
|
|
971
|
+
/** Type of the callback URL. */
|
|
972
972
|
callbackType?: CallbackType;
|
|
973
973
|
/** The oauth app id used in order to pull the allowed domains from, has to correspond to the same metasite as the site in context */
|
|
974
974
|
clientId?: string;
|
|
975
975
|
}
|
|
976
976
|
declare enum CallbackType {
|
|
977
|
-
/** Invalid value
|
|
977
|
+
/** Invalid value. */
|
|
978
978
|
UNKNOWN = "UNKNOWN",
|
|
979
|
-
/**
|
|
979
|
+
/** Callback URL is used for the logout flow. */
|
|
980
980
|
LOGOUT = "LOGOUT",
|
|
981
|
-
/**
|
|
981
|
+
/** Callback URL is used for a checkout flow. */
|
|
982
982
|
CHECKOUT = "CHECKOUT",
|
|
983
|
-
/**
|
|
983
|
+
/** Callback URL is used for the authorize flow. */
|
|
984
984
|
AUTHORIZE = "AUTHORIZE"
|
|
985
985
|
}
|
|
986
986
|
interface ValidateCallbackURLResponse {
|
|
987
|
-
/**
|
|
987
|
+
/** Indicates if the provided URL is allowed for the given client id */
|
|
988
988
|
isValid?: boolean;
|
|
989
989
|
}
|
|
990
990
|
interface SignInURLRequest {
|
|
@@ -998,15 +998,15 @@ interface SignInURLResponse {
|
|
|
998
998
|
interface AttachAllTemplatesRequest {
|
|
999
999
|
}
|
|
1000
1000
|
interface AttachAllTemplatesResponse {
|
|
1001
|
-
/** The status of the operation */
|
|
1001
|
+
/** The status of the operation. */
|
|
1002
1002
|
status?: Status;
|
|
1003
1003
|
}
|
|
1004
1004
|
declare enum Status {
|
|
1005
|
-
/** Invalid value
|
|
1005
|
+
/** Invalid value. */
|
|
1006
1006
|
UNKNOWN = "UNKNOWN",
|
|
1007
|
-
/**
|
|
1007
|
+
/** Templates were successfully attached. */
|
|
1008
1008
|
SUCCESS = "SUCCESS",
|
|
1009
|
-
/** An error occurred */
|
|
1009
|
+
/** An error occurred. */
|
|
1010
1010
|
ERROR = "ERROR"
|
|
1011
1011
|
}
|
|
1012
1012
|
interface DomainEvent extends DomainEventBodyOneOf {
|