@wix/redirects 1.0.0 → 1.0.1

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.
@@ -4,5 +4,5 @@ export declare const __metadata: {
4
4
  PACKAGE_NAME: string;
5
5
  };
6
6
  export declare function createRedirectSession(httpClient: HttpClient): (options?: CreateRedirectSessionOptions | undefined) => Promise<import("./headless-v1-redirect-session.universal").CreateRedirectSessionResponse>;
7
- export { LocationType, CallbackType, } from './headless-v1-redirect-session.universal';
8
- export { RedirectSession, CreateRedirectSessionRequest, CreateRedirectSessionRequestIntentOneOf, RedirectSessionBookingsCheckoutParams, SlotAvailability, Slot, SlotResource, Location, WaitingList, BookingPolicyViolations, RedirectSessionEcomCheckoutParams, RedirectSessionEventsCheckoutParams, RedirectSessionPaidPlansCheckoutParams, RedirectSessionLoginParams, RedirectSessionAuthorizeParams, AuthorizeRequest, RedirectSessionLogoutParams, RedirectSessionAuthParams, CallbackParams, RedirectSessionPreferences, CreateRedirectSessionResponse, ValidateCallbackURLRequest, ValidateCallbackURLResponse, SignInURLRequest, SignInURLResponse, CreateRedirectSessionOptions, } from './headless-v1-redirect-session.universal';
7
+ export { LocationType, MembersAccountSection, CallbackType, } from './headless-v1-redirect-session.universal';
8
+ export { RedirectSession, CreateRedirectSessionRequest, CreateRedirectSessionRequestIntentOneOf, RedirectSessionBookingsCheckoutParams, SlotAvailability, Slot, SlotResource, Location, WaitingList, BookingPolicyViolations, RedirectSessionEcomCheckoutParams, RedirectSessionEventsCheckoutParams, RedirectSessionPaidPlansCheckoutParams, RedirectSessionLoginParams, RedirectSessionAuthorizeParams, AuthorizeRequest, RedirectSessionLogoutParams, RedirectSessionAuthParams, RedirectSessionMembersAccountParams, CallbackParams, RedirectSessionPreferences, CustomMemberPaths, CreateRedirectSessionResponse, ValidateCallbackURLRequest, ValidateCallbackURLResponse, SignInURLRequest, SignInURLResponse, CreateRedirectSessionOptions, } from './headless-v1-redirect-session.universal';
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CallbackType = exports.LocationType = exports.createRedirectSession = exports.__metadata = void 0;
3
+ exports.CallbackType = exports.MembersAccountSection = exports.LocationType = exports.createRedirectSession = exports.__metadata = void 0;
4
4
  const headless_v1_redirect_session_universal_1 = require("./headless-v1-redirect-session.universal");
5
5
  exports.__metadata = { PACKAGE_NAME: '@wix/redirects' };
6
6
  function createRedirectSession(httpClient) {
@@ -11,5 +11,6 @@ function createRedirectSession(httpClient) {
11
11
  exports.createRedirectSession = createRedirectSession;
12
12
  var headless_v1_redirect_session_universal_2 = require("./headless-v1-redirect-session.universal");
13
13
  Object.defineProperty(exports, "LocationType", { enumerable: true, get: function () { return headless_v1_redirect_session_universal_2.LocationType; } });
14
+ Object.defineProperty(exports, "MembersAccountSection", { enumerable: true, get: function () { return headless_v1_redirect_session_universal_2.MembersAccountSection; } });
14
15
  Object.defineProperty(exports, "CallbackType", { enumerable: true, get: function () { return headless_v1_redirect_session_universal_2.CallbackType; } });
15
16
  //# sourceMappingURL=headless-v1-redirect-session.public.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"headless-v1-redirect-session.public.js","sourceRoot":"","sources":["../../../src/headless-v1-redirect-session.public.ts"],"names":[],"mappings":";;;AACA,qGAGkD;AAErC,QAAA,UAAU,GAAG,EAAE,YAAY,EAAE,gBAAgB,EAAE,CAAC;AAE7D,SAAgB,qBAAqB,CAAC,UAAsB;IAC1D,OAAO,CAAC,OAAsC,EAAE,EAAE,CAChD,IAAA,8DAA8B,EAC5B,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAPD,sDAOC;AAED,mGAGkD;AAFhD,sIAAA,YAAY,OAAA;AACZ,sIAAA,YAAY,OAAA"}
1
+ {"version":3,"file":"headless-v1-redirect-session.public.js","sourceRoot":"","sources":["../../../src/headless-v1-redirect-session.public.ts"],"names":[],"mappings":";;;AACA,qGAGkD;AAErC,QAAA,UAAU,GAAG,EAAE,YAAY,EAAE,gBAAgB,EAAE,CAAC;AAE7D,SAAgB,qBAAqB,CAAC,UAAsB;IAC1D,OAAO,CAAC,OAAsC,EAAE,EAAE,CAChD,IAAA,8DAA8B,EAC5B,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAPD,sDAOC;AAED,mGAIkD;AAHhD,sIAAA,YAAY,OAAA;AACZ,+IAAA,qBAAqB,OAAA;AACrB,sIAAA,YAAY,OAAA"}
@@ -258,24 +258,46 @@ export interface RedirectSessionAuthParams {
258
258
  /** (Required) The authorization request to be sent to the authorization server */
259
259
  authRequest?: AuthorizeRequest;
260
260
  }
261
+ export interface RedirectSessionMembersAccountParams {
262
+ /** The member account section to redirect to (default is "account info") */
263
+ section?: MembersAccountSection;
264
+ }
265
+ export declare enum MembersAccountSection {
266
+ /** default - account info section in "my account" */
267
+ ACCOUNT_INFO = "ACCOUNT_INFO",
268
+ /** My Bookings section in "my account" */
269
+ BOOKINGS = "BOOKINGS",
270
+ /** My Orders section in "my account" */
271
+ ORDERS = "ORDERS",
272
+ /** Subscriptions section in "my account" */
273
+ SUBSCRIPTIONS = "SUBSCRIPTIONS",
274
+ /** Events section in "my account" */
275
+ EVENTS = "EVENTS"
276
+ }
261
277
  export interface CallbackParams {
262
278
  /** An external thank you page URL, used when the thank you page is implemented outside of Wix */
263
279
  thankYouPageUrl?: string | null;
264
280
  /** The external home page URL, used in order to indicate where to redirect to at the end of the flow (after thank you page/error) */
265
281
  postFlowUrl?: string | null;
266
- /** An external pricing plans page URL, used in case the checkout allows payment with a paid plans */
267
- plansListUrl?: string | null;
268
282
  /** An external login page in case login form is implemented outside Wix */
269
283
  loginUrl?: string | null;
270
284
  /** An external service list page URL (Bookings Services), used when the services page is implemented outside of Wix */
271
285
  bookingsServiceListUrl?: string | null;
272
286
  /** An external cart page URL, used when the cart page is implemented outside of Wix */
273
287
  cartPageUrl?: string | null;
288
+ /** An external pricing plans page URL, used in case the checkout allows payment with a paid plans */
289
+ planListUrl?: string | null;
274
290
  }
275
291
  export interface RedirectSessionPreferences {
276
292
  /** (Default: true) - Define whether the base wix site should be used or the template site for all checkouts */
277
293
  useGenericWixPages?: boolean | null;
278
294
  }
295
+ export interface CustomMemberPaths {
296
+ /** The path of the account section in the members area - required only when useGenericWixPages is false and the user have customized it in the editor */
297
+ accountPagePath?: string | null;
298
+ /** The path of the member profile section in the members area - required only when useGenericWixPages is false and the user have customized it in the editor */
299
+ profilePagePath?: string | null;
300
+ }
279
301
  export interface CreateRedirectSessionResponse {
280
302
  /** The Wix URL details to redirect into */
281
303
  redirectSession?: RedirectSession;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CallbackType = exports.LocationType = void 0;
3
+ exports.CallbackType = exports.MembersAccountSection = exports.LocationType = void 0;
4
4
  var LocationType;
5
5
  (function (LocationType) {
6
6
  LocationType["UNDEFINED"] = "UNDEFINED";
@@ -8,6 +8,19 @@ var LocationType;
8
8
  LocationType["OWNER_CUSTOM"] = "OWNER_CUSTOM";
9
9
  LocationType["CUSTOM"] = "CUSTOM";
10
10
  })(LocationType = exports.LocationType || (exports.LocationType = {}));
11
+ var MembersAccountSection;
12
+ (function (MembersAccountSection) {
13
+ /** default - account info section in "my account" */
14
+ MembersAccountSection["ACCOUNT_INFO"] = "ACCOUNT_INFO";
15
+ /** My Bookings section in "my account" */
16
+ MembersAccountSection["BOOKINGS"] = "BOOKINGS";
17
+ /** My Orders section in "my account" */
18
+ MembersAccountSection["ORDERS"] = "ORDERS";
19
+ /** Subscriptions section in "my account" */
20
+ MembersAccountSection["SUBSCRIPTIONS"] = "SUBSCRIPTIONS";
21
+ /** Events section in "my account" */
22
+ MembersAccountSection["EVENTS"] = "EVENTS";
23
+ })(MembersAccountSection = exports.MembersAccountSection || (exports.MembersAccountSection = {}));
11
24
  var CallbackType;
12
25
  (function (CallbackType) {
13
26
  /** Invalid value - default */
@@ -1 +1 @@
1
- {"version":3,"file":"headless-v1-redirect-session.types.js","sourceRoot":"","sources":["../../../src/headless-v1-redirect-session.types.ts"],"names":[],"mappings":";;;AAqKA,IAAY,YAKX;AALD,WAAY,YAAY;IACtB,uCAAuB,CAAA;IACvB,iDAAiC,CAAA;IACjC,6CAA6B,CAAA;IAC7B,iCAAiB,CAAA;AACnB,CAAC,EALW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAKvB;AA+ID,IAAY,YASX;AATD,WAAY,YAAY;IACtB,8BAA8B;IAC9B,mCAAmB,CAAA;IACnB,mDAAmD;IACnD,iCAAiB,CAAA;IACjB,mDAAmD;IACnD,qCAAqB,CAAA;IACrB,sDAAsD;IACtD,uCAAuB,CAAA;AACzB,CAAC,EATW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QASvB"}
1
+ {"version":3,"file":"headless-v1-redirect-session.types.js","sourceRoot":"","sources":["../../../src/headless-v1-redirect-session.types.ts"],"names":[],"mappings":";;;AAqKA,IAAY,YAKX;AALD,WAAY,YAAY;IACtB,uCAAuB,CAAA;IACvB,iDAAiC,CAAA;IACjC,6CAA6B,CAAA;IAC7B,iCAAiB,CAAA;AACnB,CAAC,EALW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAKvB;AAkHD,IAAY,qBAWX;AAXD,WAAY,qBAAqB;IAC/B,qDAAqD;IACrD,sDAA6B,CAAA;IAC7B,0CAA0C;IAC1C,8CAAqB,CAAA;IACrB,wCAAwC;IACxC,0CAAiB,CAAA;IACjB,4CAA4C;IAC5C,wDAA+B,CAAA;IAC/B,qCAAqC;IACrC,0CAAiB,CAAA;AACnB,CAAC,EAXW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAWhC;AA2CD,IAAY,YASX;AATD,WAAY,YAAY;IACtB,8BAA8B;IAC9B,mCAAmB,CAAA;IACnB,mDAAmD;IACnD,iCAAiB,CAAA;IACjB,mDAAmD;IACnD,qCAAqB,CAAA;IACrB,sDAAsD;IACtD,uCAAuB,CAAA;AACzB,CAAC,EATW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QASvB"}
@@ -264,24 +264,46 @@ export interface RedirectSessionAuthParams {
264
264
  /** (Required) The authorization request to be sent to the authorization server */
265
265
  authRequest?: AuthorizeRequest;
266
266
  }
267
+ export interface RedirectSessionMembersAccountParams {
268
+ /** The member account section to redirect to (default is "account info") */
269
+ section?: MembersAccountSection;
270
+ }
271
+ export declare enum MembersAccountSection {
272
+ /** default - account info section in "my account" */
273
+ ACCOUNT_INFO = "ACCOUNT_INFO",
274
+ /** My Bookings section in "my account" */
275
+ BOOKINGS = "BOOKINGS",
276
+ /** My Orders section in "my account" */
277
+ ORDERS = "ORDERS",
278
+ /** Subscriptions section in "my account" */
279
+ SUBSCRIPTIONS = "SUBSCRIPTIONS",
280
+ /** Events section in "my account" */
281
+ EVENTS = "EVENTS"
282
+ }
267
283
  export interface CallbackParams {
268
284
  /** An external thank you page URL, used when the thank you page is implemented outside of Wix */
269
285
  thankYouPageUrl?: string | null;
270
286
  /** The external home page URL, used in order to indicate where to redirect to at the end of the flow (after thank you page/error) */
271
287
  postFlowUrl?: string | null;
272
- /** An external pricing plans page URL, used in case the checkout allows payment with a paid plans */
273
- plansListUrl?: string | null;
274
288
  /** An external login page in case login form is implemented outside Wix */
275
289
  loginUrl?: string | null;
276
290
  /** An external service list page URL (Bookings Services), used when the services page is implemented outside of Wix */
277
291
  bookingsServiceListUrl?: string | null;
278
292
  /** An external cart page URL, used when the cart page is implemented outside of Wix */
279
293
  cartPageUrl?: string | null;
294
+ /** An external pricing plans page URL, used in case the checkout allows payment with a paid plans */
295
+ planListUrl?: string | null;
280
296
  }
281
297
  export interface RedirectSessionPreferences {
282
298
  /** (Default: true) - Define whether the base wix site should be used or the template site for all checkouts */
283
299
  useGenericWixPages?: boolean | null;
284
300
  }
301
+ export interface CustomMemberPaths {
302
+ /** The path of the account section in the members area - required only when useGenericWixPages is false and the user have customized it in the editor */
303
+ accountPagePath?: string | null;
304
+ /** The path of the member profile section in the members area - required only when useGenericWixPages is false and the user have customized it in the editor */
305
+ profilePagePath?: string | null;
306
+ }
285
307
  export interface CreateRedirectSessionResponse {
286
308
  /** The Wix URL details to redirect into */
287
309
  redirectSession?: RedirectSession;
@@ -28,7 +28,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
28
28
  });
29
29
  };
30
30
  Object.defineProperty(exports, "__esModule", { value: true });
31
- exports.createRedirectSession = exports.CallbackType = exports.LocationType = exports.__debug = void 0;
31
+ exports.createRedirectSession = exports.CallbackType = exports.MembersAccountSection = exports.LocationType = exports.__debug = void 0;
32
32
  const velo_1 = require("@wix/metro-runtime/velo");
33
33
  const ambassadorWixHeadlessV1RedirectSession = __importStar(require("./headless-v1-redirect-session.http"));
34
34
  let __verbose = false;
@@ -53,6 +53,19 @@ var LocationType;
53
53
  LocationType["OWNER_CUSTOM"] = "OWNER_CUSTOM";
54
54
  LocationType["CUSTOM"] = "CUSTOM";
55
55
  })(LocationType = exports.LocationType || (exports.LocationType = {}));
56
+ var MembersAccountSection;
57
+ (function (MembersAccountSection) {
58
+ /** default - account info section in "my account" */
59
+ MembersAccountSection["ACCOUNT_INFO"] = "ACCOUNT_INFO";
60
+ /** My Bookings section in "my account" */
61
+ MembersAccountSection["BOOKINGS"] = "BOOKINGS";
62
+ /** My Orders section in "my account" */
63
+ MembersAccountSection["ORDERS"] = "ORDERS";
64
+ /** Subscriptions section in "my account" */
65
+ MembersAccountSection["SUBSCRIPTIONS"] = "SUBSCRIPTIONS";
66
+ /** Events section in "my account" */
67
+ MembersAccountSection["EVENTS"] = "EVENTS";
68
+ })(MembersAccountSection = exports.MembersAccountSection || (exports.MembersAccountSection = {}));
56
69
  var CallbackType;
57
70
  (function (CallbackType) {
58
71
  /** Invalid value - default */
@@ -1 +1 @@
1
- {"version":3,"file":"headless-v1-redirect-session.universal.js","sourceRoot":"","sources":["../../../src/headless-v1-red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B,WAAW,EAAc,MAAM,CAAC,CAAC;YAEjC,OAAO,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAQ,CAAC;SACrC;QAAC,OAAO,GAAQ,EAAE;YACjB,MAAM,gBAAgB,GAAG,IAAA,qBAAc,EAAC,GAAG,EAAE,qBAAqB,EAAE;gBAClE,SAAS;aACV,CAAC,CAAC;YACH,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,OAAO,+CAApB,WAAW,EAAY,GAAG,CAAC,CAAC;YAE5B,MAAM,gBAAgB,CAAC;SACxB;;CACF;AA/DD,sDA+DC"}
1
+ {"version":3,"file":"headless-v1-redirect-session.universal.js","sourceRoot":"","sources":["../../../src/headless-v1-redirect-session.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAAqE;AAErE,4GAA8F;AAE9F,IAAI,SAAS,GAAG,KAAK,CAAC;AAEtB,SAAS,KAAK,CAAC,GAAG,IAAW;IAC3B,SAAS,IAAI,OAAO,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,CAAC;AACpC,CAAC;AAED,SAAS,SAAS,CAAC,GAAQ;IACzB,OAAO,GAAG,CAAC;AACb,CAAC;AAEY,QAAA,OAAO,GAAG;IACrB,cAAc,EAAE;QACd,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,IAAI,CAAC;QAC5B,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,KAAK,CAAC;KAC/B;CACF,CAAC;AACF,MAAM,aAAa,GAAG,GAAG,CAAC;AAC1B,MAAM,eAAe,GAAG,GAAG,CAAC;AAuK5B,IAAY,YAKX;AALD,WAAY,YAAY;IACtB,uCAAuB,CAAA;IACvB,iDAAiC,CAAA;IACjC,6CAA6B,CAAA;IAC7B,iCAAiB,CAAA;AACnB,CAAC,EALW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAKvB;AAkHD,IAAY,qBAWX;AAXD,WAAY,qBA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SAC5C,CAAC,CAAC;QAEH,MAAM,EAAE,QAAQ,EAAE,GAAG,IAAA,iBAAU,EAAC;YAC9B,UAAU,EAAE,8BAA8B;YAC1C,UAAU,EAAE,EAAE;YACd,kBAAkB,EAAE;gBAClB,KAAK,EAAE,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC;gBAC/B,cAAc,EAAE,aAAa;aAC9B;YACD,oBAAoB,EAAE,sBAAsB;SAC7C,CAAC,CAAC;QAEH,MAAM,OAAO,GAAG,mBAAmB,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;QAE/C,MAAM,OAAO,GACX,sCAAsC,CAAC,qBAAqB,CAAC,OAAO,CAAC,CAAC;QAExE,KAAK,CAAC,iDAAiD,SAAS,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;QAE7E,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,UAAU,+CAAvB,WAAW,CAAgB,CAAC;QAC5B,IAAI;YACF,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;YACjD,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,SAAS,+CAAtB,WAAW,EAAc,MAAM,CAAC,CAAC;YAEjC,OAAO,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAQ,CAAC;SACrC;QAAC,OAAO,GAAQ,EAAE;YACjB,MAAM,gBAAgB,GAAG,IAAA,qBAAc,EAAC,GAAG,EAAE,qBAAqB,EAAE;gBAClE,SAAS;aACV,CAAC,CAAC;YACH,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,OAAO,+CAApB,WAAW,EAAY,GAAG,CAAC,CAAC;YAE5B,MAAM,gBAAgB,CAAC;SACxB;;CACF;AA/DD,sDA+DC"}
@@ -4,5 +4,5 @@ export declare const __metadata: {
4
4
  PACKAGE_NAME: string;
5
5
  };
6
6
  export declare function createRedirectSession(httpClient: HttpClient): (options?: CreateRedirectSessionOptions | undefined) => Promise<import("./headless-v1-redirect-session.universal").CreateRedirectSessionResponse>;
7
- export { LocationType, CallbackType, } from './headless-v1-redirect-session.universal';
8
- export { RedirectSession, CreateRedirectSessionRequest, CreateRedirectSessionRequestIntentOneOf, RedirectSessionBookingsCheckoutParams, SlotAvailability, Slot, SlotResource, Location, WaitingList, BookingPolicyViolations, RedirectSessionEcomCheckoutParams, RedirectSessionEventsCheckoutParams, RedirectSessionPaidPlansCheckoutParams, RedirectSessionLoginParams, RedirectSessionAuthorizeParams, AuthorizeRequest, RedirectSessionLogoutParams, RedirectSessionAuthParams, CallbackParams, RedirectSessionPreferences, CreateRedirectSessionResponse, ValidateCallbackURLRequest, ValidateCallbackURLResponse, SignInURLRequest, SignInURLResponse, CreateRedirectSessionOptions, } from './headless-v1-redirect-session.universal';
7
+ export { LocationType, MembersAccountSection, CallbackType, } from './headless-v1-redirect-session.universal';
8
+ export { RedirectSession, CreateRedirectSessionRequest, CreateRedirectSessionRequestIntentOneOf, RedirectSessionBookingsCheckoutParams, SlotAvailability, Slot, SlotResource, Location, WaitingList, BookingPolicyViolations, RedirectSessionEcomCheckoutParams, RedirectSessionEventsCheckoutParams, RedirectSessionPaidPlansCheckoutParams, RedirectSessionLoginParams, RedirectSessionAuthorizeParams, AuthorizeRequest, RedirectSessionLogoutParams, RedirectSessionAuthParams, RedirectSessionMembersAccountParams, CallbackParams, RedirectSessionPreferences, CustomMemberPaths, CreateRedirectSessionResponse, ValidateCallbackURLRequest, ValidateCallbackURLResponse, SignInURLRequest, SignInURLResponse, CreateRedirectSessionOptions, } from './headless-v1-redirect-session.universal';
@@ -5,5 +5,5 @@ export function createRedirectSession(httpClient) {
5
5
  // @ts-ignore
6
6
  { httpClient });
7
7
  }
8
- export { LocationType, CallbackType, } from './headless-v1-redirect-session.universal';
8
+ export { LocationType, MembersAccountSection, CallbackType, } from './headless-v1-redirect-session.universal';
9
9
  //# sourceMappingURL=headless-v1-redirect-session.public.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"headless-v1-redirect-session.public.js","sourceRoot":"","sources":["../../../src/headless-v1-redirect-session.public.ts"],"names":[],"mappings":"AACA,OAAO,EACL,qBAAqB,IAAI,8BAA8B,GAExD,MAAM,0CAA0C,CAAC;AAElD,MAAM,CAAC,MAAM,UAAU,GAAG,EAAE,YAAY,EAAE,gBAAgB,EAAE,CAAC;AAE7D,MAAM,UAAU,qBAAqB,CAAC,UAAsB;IAC1D,OAAO,CAAC,OAAsC,EAAE,EAAE,CAChD,8BAA8B,CAC5B,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAED,OAAO,EACL,YAAY,EACZ,YAAY,GACb,MAAM,0CAA0C,CAAC"}
1
+ {"version":3,"file":"headless-v1-redirect-session.public.js","sourceRoot":"","sources":["../../../src/headless-v1-redirect-session.public.ts"],"names":[],"mappings":"AACA,OAAO,EACL,qBAAqB,IAAI,8BAA8B,GAExD,MAAM,0CAA0C,CAAC;AAElD,MAAM,CAAC,MAAM,UAAU,GAAG,EAAE,YAAY,EAAE,gBAAgB,EAAE,CAAC;AAE7D,MAAM,UAAU,qBAAqB,CAAC,UAAsB;IAC1D,OAAO,CAAC,OAAsC,EAAE,EAAE,CAChD,8BAA8B,CAC5B,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAED,OAAO,EACL,YAAY,EACZ,qBAAqB,EACrB,YAAY,GACb,MAAM,0CAA0C,CAAC"}
@@ -258,24 +258,46 @@ export interface RedirectSessionAuthParams {
258
258
  /** (Required) The authorization request to be sent to the authorization server */
259
259
  authRequest?: AuthorizeRequest;
260
260
  }
261
+ export interface RedirectSessionMembersAccountParams {
262
+ /** The member account section to redirect to (default is "account info") */
263
+ section?: MembersAccountSection;
264
+ }
265
+ export declare enum MembersAccountSection {
266
+ /** default - account info section in "my account" */
267
+ ACCOUNT_INFO = "ACCOUNT_INFO",
268
+ /** My Bookings section in "my account" */
269
+ BOOKINGS = "BOOKINGS",
270
+ /** My Orders section in "my account" */
271
+ ORDERS = "ORDERS",
272
+ /** Subscriptions section in "my account" */
273
+ SUBSCRIPTIONS = "SUBSCRIPTIONS",
274
+ /** Events section in "my account" */
275
+ EVENTS = "EVENTS"
276
+ }
261
277
  export interface CallbackParams {
262
278
  /** An external thank you page URL, used when the thank you page is implemented outside of Wix */
263
279
  thankYouPageUrl?: string | null;
264
280
  /** The external home page URL, used in order to indicate where to redirect to at the end of the flow (after thank you page/error) */
265
281
  postFlowUrl?: string | null;
266
- /** An external pricing plans page URL, used in case the checkout allows payment with a paid plans */
267
- plansListUrl?: string | null;
268
282
  /** An external login page in case login form is implemented outside Wix */
269
283
  loginUrl?: string | null;
270
284
  /** An external service list page URL (Bookings Services), used when the services page is implemented outside of Wix */
271
285
  bookingsServiceListUrl?: string | null;
272
286
  /** An external cart page URL, used when the cart page is implemented outside of Wix */
273
287
  cartPageUrl?: string | null;
288
+ /** An external pricing plans page URL, used in case the checkout allows payment with a paid plans */
289
+ planListUrl?: string | null;
274
290
  }
275
291
  export interface RedirectSessionPreferences {
276
292
  /** (Default: true) - Define whether the base wix site should be used or the template site for all checkouts */
277
293
  useGenericWixPages?: boolean | null;
278
294
  }
295
+ export interface CustomMemberPaths {
296
+ /** The path of the account section in the members area - required only when useGenericWixPages is false and the user have customized it in the editor */
297
+ accountPagePath?: string | null;
298
+ /** The path of the member profile section in the members area - required only when useGenericWixPages is false and the user have customized it in the editor */
299
+ profilePagePath?: string | null;
300
+ }
279
301
  export interface CreateRedirectSessionResponse {
280
302
  /** The Wix URL details to redirect into */
281
303
  redirectSession?: RedirectSession;
@@ -5,6 +5,19 @@ export var LocationType;
5
5
  LocationType["OWNER_CUSTOM"] = "OWNER_CUSTOM";
6
6
  LocationType["CUSTOM"] = "CUSTOM";
7
7
  })(LocationType || (LocationType = {}));
8
+ export var MembersAccountSection;
9
+ (function (MembersAccountSection) {
10
+ /** default - account info section in "my account" */
11
+ MembersAccountSection["ACCOUNT_INFO"] = "ACCOUNT_INFO";
12
+ /** My Bookings section in "my account" */
13
+ MembersAccountSection["BOOKINGS"] = "BOOKINGS";
14
+ /** My Orders section in "my account" */
15
+ MembersAccountSection["ORDERS"] = "ORDERS";
16
+ /** Subscriptions section in "my account" */
17
+ MembersAccountSection["SUBSCRIPTIONS"] = "SUBSCRIPTIONS";
18
+ /** Events section in "my account" */
19
+ MembersAccountSection["EVENTS"] = "EVENTS";
20
+ })(MembersAccountSection || (MembersAccountSection = {}));
8
21
  export var CallbackType;
9
22
  (function (CallbackType) {
10
23
  /** Invalid value - default */
@@ -1 +1 @@
1
- {"version":3,"file":"headless-v1-redirect-session.types.js","sourceRoot":"","sources":["../../../src/headless-v1-redirect-session.types.ts"],"names":[],"mappings":"AAqKA,MAAM,CAAN,IAAY,YAKX;AALD,WAAY,YAAY;IACtB,uCAAuB,CAAA;IACvB,iDAAiC,CAAA;IACjC,6CAA6B,CAAA;IAC7B,iCAAiB,CAAA;AACnB,CAAC,EALW,YAAY,KAAZ,YAAY,QAKvB;AA+ID,MAAM,CAAN,IAAY,YASX;AATD,WAAY,YAAY;IACtB,8BAA8B;IAC9B,mCAAmB,CAAA;IACnB,mDAAmD;IACnD,iCAAiB,CAAA;IACjB,mDAAmD;IACnD,qCAAqB,CAAA;IACrB,sDAAsD;IACtD,uCAAuB,CAAA;AACzB,CAAC,EATW,YAAY,KAAZ,YAAY,QASvB"}
1
+ {"version":3,"file":"headless-v1-redirect-session.types.js","sourceRoot":"","sources":["../../../src/headless-v1-redirect-session.types.ts"],"names":[],"mappings":"AAqKA,MAAM,CAAN,IAAY,YAKX;AALD,WAAY,YAAY;IACtB,uCAAuB,CAAA;IACvB,iDAAiC,CAAA;IACjC,6CAA6B,CAAA;IAC7B,iCAAiB,CAAA;AACnB,CAAC,EALW,YAAY,KAAZ,YAAY,QAKvB;AAkHD,MAAM,CAAN,IAAY,qBAWX;AAXD,WAAY,qBAAqB;IAC/B,qDAAqD;IACrD,sDAA6B,CAAA;IAC7B,0CAA0C;IAC1C,8CAAqB,CAAA;IACrB,wCAAwC;IACxC,0CAAiB,CAAA;IACjB,4CAA4C;IAC5C,wDAA+B,CAAA;IAC/B,qCAAqC;IACrC,0CAAiB,CAAA;AACnB,CAAC,EAXW,qBAAqB,KAArB,qBAAqB,QAWhC;AA2CD,MAAM,CAAN,IAAY,YASX;AATD,WAAY,YAAY;IACtB,8BAA8B;IAC9B,mCAAmB,CAAA;IACnB,mDAAmD;IACnD,iCAAiB,CAAA;IACjB,mDAAmD;IACnD,qCAAqB,CAAA;IACrB,sDAAsD;IACtD,uCAAuB,CAAA;AACzB,CAAC,EATW,YAAY,KAAZ,YAAY,QASvB"}
@@ -264,24 +264,46 @@ export interface RedirectSessionAuthParams {
264
264
  /** (Required) The authorization request to be sent to the authorization server */
265
265
  authRequest?: AuthorizeRequest;
266
266
  }
267
+ export interface RedirectSessionMembersAccountParams {
268
+ /** The member account section to redirect to (default is "account info") */
269
+ section?: MembersAccountSection;
270
+ }
271
+ export declare enum MembersAccountSection {
272
+ /** default - account info section in "my account" */
273
+ ACCOUNT_INFO = "ACCOUNT_INFO",
274
+ /** My Bookings section in "my account" */
275
+ BOOKINGS = "BOOKINGS",
276
+ /** My Orders section in "my account" */
277
+ ORDERS = "ORDERS",
278
+ /** Subscriptions section in "my account" */
279
+ SUBSCRIPTIONS = "SUBSCRIPTIONS",
280
+ /** Events section in "my account" */
281
+ EVENTS = "EVENTS"
282
+ }
267
283
  export interface CallbackParams {
268
284
  /** An external thank you page URL, used when the thank you page is implemented outside of Wix */
269
285
  thankYouPageUrl?: string | null;
270
286
  /** The external home page URL, used in order to indicate where to redirect to at the end of the flow (after thank you page/error) */
271
287
  postFlowUrl?: string | null;
272
- /** An external pricing plans page URL, used in case the checkout allows payment with a paid plans */
273
- plansListUrl?: string | null;
274
288
  /** An external login page in case login form is implemented outside Wix */
275
289
  loginUrl?: string | null;
276
290
  /** An external service list page URL (Bookings Services), used when the services page is implemented outside of Wix */
277
291
  bookingsServiceListUrl?: string | null;
278
292
  /** An external cart page URL, used when the cart page is implemented outside of Wix */
279
293
  cartPageUrl?: string | null;
294
+ /** An external pricing plans page URL, used in case the checkout allows payment with a paid plans */
295
+ planListUrl?: string | null;
280
296
  }
281
297
  export interface RedirectSessionPreferences {
282
298
  /** (Default: true) - Define whether the base wix site should be used or the template site for all checkouts */
283
299
  useGenericWixPages?: boolean | null;
284
300
  }
301
+ export interface CustomMemberPaths {
302
+ /** The path of the account section in the members area - required only when useGenericWixPages is false and the user have customized it in the editor */
303
+ accountPagePath?: string | null;
304
+ /** The path of the member profile section in the members area - required only when useGenericWixPages is false and the user have customized it in the editor */
305
+ profilePagePath?: string | null;
306
+ }
285
307
  export interface CreateRedirectSessionResponse {
286
308
  /** The Wix URL details to redirect into */
287
309
  redirectSession?: RedirectSession;
@@ -31,6 +31,19 @@ export var LocationType;
31
31
  LocationType["OWNER_CUSTOM"] = "OWNER_CUSTOM";
32
32
  LocationType["CUSTOM"] = "CUSTOM";
33
33
  })(LocationType || (LocationType = {}));
34
+ export var MembersAccountSection;
35
+ (function (MembersAccountSection) {
36
+ /** default - account info section in "my account" */
37
+ MembersAccountSection["ACCOUNT_INFO"] = "ACCOUNT_INFO";
38
+ /** My Bookings section in "my account" */
39
+ MembersAccountSection["BOOKINGS"] = "BOOKINGS";
40
+ /** My Orders section in "my account" */
41
+ MembersAccountSection["ORDERS"] = "ORDERS";
42
+ /** Subscriptions section in "my account" */
43
+ MembersAccountSection["SUBSCRIPTIONS"] = "SUBSCRIPTIONS";
44
+ /** Events section in "my account" */
45
+ MembersAccountSection["EVENTS"] = "EVENTS";
46
+ })(MembersAccountSection || (MembersAccountSection = {}));
34
47
  export var CallbackType;
35
48
  (function (CallbackType) {
36
49
  /** Invalid value - default */
@@ -1 +1 @@
1
- {"version":3,"file":"headless-v1-redirect-session.universal.js","sourceRoot":"","sources":["../../../src/headless-v1-redirect-session.universal.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,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M,CAAC,CAAC;YAEjC,OAAO,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAQ,CAAC;SACrC;QAAC,OAAO,GAAQ,EAAE;YACjB,MAAM,gBAAgB,GAAG,cAAc,CAAC,GAAG,EAAE,qBAAqB,EAAE;gBAClE,SAAS;aACV,CAAC,CAAC;YACH,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,OAAO,+CAApB,WAAW,EAAY,GAAG,CAAC,CAAC;YAE5B,MAAM,gBAAgB,CAAC;SACxB;;CACF"}
1
+ {"version":3,"file":"headless-v1-redirect-session.universal.js","sourceRoot":"","sources":["../../../src/headless-v1-redirect-session.universal.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAErE,OAAO,KAAK,sCAAsC,MAAM,qCAAqC,CAAC;AAE9F,IAAI,SAAS,GAAG,KAAK,CAAC;AAEtB,SAAS,KAAK,CAAC,GAAG,IAAW;IAC3B,SAAS,IAAI,OAAO,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,CAAC;AACpC,CAAC;AAED,SAAS,SAAS,CAAC,GAAQ;IACzB,OAAO,GAAG,CAAC;AACb,CAAC;AAED,MAAM,CAAC,MAAM,OAAO,GAAG;IACrB,cAAc,EAAE;QACd,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,IAAI,CAAC;QAC5B,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,KAAK,CAAC;KAC/B;CACF,CAAC;AACF,MAAM,aAAa,GAAG,GAAG,CAAC;AAC1B,MAAM,eAAe,GAAG,GAAG,CAAC;AAuK5B,MAAM,CAAN,IAAY,YAKX;AALD,WAAY,YAAY;IACtB,uCAAuB,CAAA;IACvB,iDAAiC,CAAA;IACjC,6CAA6B,CAAA;IAC7B,iCAAiB,CAAA;AACnB,CAAC,EALW,YAAY,KAAZ,YAAY,QAKvB;AAkHD,MAAM,CA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AAE,qBAAqB;SAC5C,CAAC,CAAC;QAEH,MAAM,EAAE,QAAQ,EAAE,GAAG,UAAU,CAAC;YAC9B,UAAU,EAAE,8BAA8B;YAC1C,UAAU,EAAE,EAAE;YACd,kBAAkB,EAAE;gBAClB,KAAK,EAAE,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC;gBAC/B,cAAc,EAAE,aAAa;aAC9B;YACD,oBAAoB,EAAE,sBAAsB;SAC7C,CAAC,CAAC;QAEH,MAAM,OAAO,GAAG,mBAAmB,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;QAE/C,MAAM,OAAO,GACX,sCAAsC,CAAC,qBAAqB,CAAC,OAAO,CAAC,CAAC;QAExE,KAAK,CAAC,iDAAiD,SAAS,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;QAE7E,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,UAAU,+CAAvB,WAAW,CAAgB,CAAC;QAC5B,IAAI;YACF,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;YACjD,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,SAAS,+CAAtB,WAAW,EAAc,MAAM,CAAC,CAAC;YAEjC,OAAO,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAQ,CAAC;SACrC;QAAC,OAAO,GAAQ,EAAE;YACjB,MAAM,gBAAgB,GAAG,cAAc,CAAC,GAAG,EAAE,qBAAqB,EAAE;gBAClE,SAAS;aACV,CAAC,CAAC;YACH,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,OAAO,+CAApB,WAAW,EAAY,GAAG,CAAC,CAAC;YAE5B,MAAM,gBAAgB,CAAC;SACxB;;CACF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/redirects",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -33,5 +33,5 @@
33
33
  "groupId": "com.wixpress.public-sdk-autogen"
34
34
  }
35
35
  },
36
- "falconPackageHash": "6fa934e88c5c5453384f48b86541dbd30e2a166c544b09c5be8cf284"
36
+ "falconPackageHash": "dc91631209c987ef8be37ee63b7ff5f7bb43fa66760a72ca554b857d"
37
37
  }