@wix/auto_sdk_redirects_redirects 1.0.5 → 1.0.6
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/build/cjs/src/headless-v1-redirect-session-redirects.types.d.ts +21 -7
- package/build/cjs/src/headless-v1-redirect-session-redirects.types.js.map +1 -1
- package/build/cjs/src/headless-v1-redirect-session-redirects.universal.d.ts +21 -7
- package/build/cjs/src/headless-v1-redirect-session-redirects.universal.js.map +1 -1
- package/build/es/src/headless-v1-redirect-session-redirects.types.d.ts +21 -7
- package/build/es/src/headless-v1-redirect-session-redirects.types.js.map +1 -1
- package/build/es/src/headless-v1-redirect-session-redirects.universal.d.ts +21 -7
- package/build/es/src/headless-v1-redirect-session-redirects.universal.js.map +1 -1
- package/build/internal/cjs/src/headless-v1-redirect-session-redirects.types.d.ts +21 -7
- package/build/internal/cjs/src/headless-v1-redirect-session-redirects.types.js.map +1 -1
- package/build/internal/cjs/src/headless-v1-redirect-session-redirects.universal.d.ts +21 -7
- package/build/internal/cjs/src/headless-v1-redirect-session-redirects.universal.js.map +1 -1
- package/build/internal/es/src/headless-v1-redirect-session-redirects.types.d.ts +21 -7
- package/build/internal/es/src/headless-v1-redirect-session-redirects.types.js.map +1 -1
- package/build/internal/es/src/headless-v1-redirect-session-redirects.universal.d.ts +21 -7
- package/build/internal/es/src/headless-v1-redirect-session-redirects.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -223,7 +223,7 @@ export interface Location {
|
|
|
223
223
|
* - `"OWNER_CUSTOM"`: The address as set when creating the service.
|
|
224
224
|
* - `"CUSTOM"`: The address as set for the individual session.
|
|
225
225
|
*/
|
|
226
|
-
locationType?:
|
|
226
|
+
locationType?: LocationTypeWithLiterals;
|
|
227
227
|
}
|
|
228
228
|
export declare enum LocationType {
|
|
229
229
|
UNDEFINED = "UNDEFINED",
|
|
@@ -231,6 +231,8 @@ export declare enum LocationType {
|
|
|
231
231
|
OWNER_CUSTOM = "OWNER_CUSTOM",
|
|
232
232
|
CUSTOM = "CUSTOM"
|
|
233
233
|
}
|
|
234
|
+
/** @enumType */
|
|
235
|
+
export type LocationTypeWithLiterals = LocationType | 'UNDEFINED' | 'OWNER_BUSINESS' | 'OWNER_CUSTOM' | 'CUSTOM';
|
|
234
236
|
export interface WaitingList {
|
|
235
237
|
/**
|
|
236
238
|
* Total number of spots and open spots for this waitlist.
|
|
@@ -293,7 +295,7 @@ export interface RedirectSessionLogoutParams {
|
|
|
293
295
|
export interface RedirectSessionAuthParams {
|
|
294
296
|
authRequest?: AuthorizeRequest;
|
|
295
297
|
/** The type of prompt to use during the authorization process. */
|
|
296
|
-
prompt?:
|
|
298
|
+
prompt?: PromptWithLiterals;
|
|
297
299
|
}
|
|
298
300
|
/**
|
|
299
301
|
* AuthorizeRequest is sent by the client to the authorization server to initiate
|
|
@@ -375,13 +377,15 @@ export declare enum Prompt {
|
|
|
375
377
|
*/
|
|
376
378
|
none = "none"
|
|
377
379
|
}
|
|
380
|
+
/** @enumType */
|
|
381
|
+
export type PromptWithLiterals = Prompt | 'login' | 'none';
|
|
378
382
|
export interface RedirectSessionMembersAccountParams {
|
|
379
383
|
/**
|
|
380
384
|
* The member account page to redirect to.
|
|
381
385
|
*
|
|
382
386
|
* Default: `ACCOUNT_INFO`
|
|
383
387
|
*/
|
|
384
|
-
section?:
|
|
388
|
+
section?: MembersAccountSectionWithLiterals;
|
|
385
389
|
}
|
|
386
390
|
export declare enum MembersAccountSection {
|
|
387
391
|
/** Account info section in "my account". */
|
|
@@ -395,6 +399,8 @@ export declare enum MembersAccountSection {
|
|
|
395
399
|
/** Events section in "my account". */
|
|
396
400
|
EVENTS = "EVENTS"
|
|
397
401
|
}
|
|
402
|
+
/** @enumType */
|
|
403
|
+
export type MembersAccountSectionWithLiterals = MembersAccountSection | 'ACCOUNT_INFO' | 'BOOKINGS' | 'ORDERS' | 'SUBSCRIPTIONS' | 'EVENTS';
|
|
398
404
|
export interface RedirectSessionStoresProductParams {
|
|
399
405
|
/** @maxLength 150 */
|
|
400
406
|
productSlug?: string;
|
|
@@ -545,7 +551,7 @@ export interface AttachPagesRequest {
|
|
|
545
551
|
}
|
|
546
552
|
export interface AttachPagesResponse {
|
|
547
553
|
/** The status of the operation. */
|
|
548
|
-
status?:
|
|
554
|
+
status?: AttachPagesResponseStatusWithLiterals;
|
|
549
555
|
/**
|
|
550
556
|
* A descriptive message about the operation
|
|
551
557
|
* @maxLength 2048
|
|
@@ -566,6 +572,8 @@ export declare enum AttachPagesResponseStatus {
|
|
|
566
572
|
/** An error occurred, such as when the site or app is not found. */
|
|
567
573
|
ERROR = "ERROR"
|
|
568
574
|
}
|
|
575
|
+
/** @enumType */
|
|
576
|
+
export type AttachPagesResponseStatusWithLiterals = AttachPagesResponseStatus | 'UNKNOWN' | 'SUCCESS' | 'NO_ACTION' | 'ERROR';
|
|
569
577
|
export interface ValidateCallbackURLRequest {
|
|
570
578
|
/**
|
|
571
579
|
* An external URL to validate
|
|
@@ -573,7 +581,7 @@ export interface ValidateCallbackURLRequest {
|
|
|
573
581
|
*/
|
|
574
582
|
callbackUrl?: string;
|
|
575
583
|
/** Type of the callback URL. */
|
|
576
|
-
callbackType?:
|
|
584
|
+
callbackType?: CallbackTypeWithLiterals;
|
|
577
585
|
/**
|
|
578
586
|
* 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
|
|
579
587
|
* @format GUID
|
|
@@ -590,6 +598,8 @@ export declare enum CallbackType {
|
|
|
590
598
|
/** Callback URL is used for the authorize flow. */
|
|
591
599
|
AUTHORIZE = "AUTHORIZE"
|
|
592
600
|
}
|
|
601
|
+
/** @enumType */
|
|
602
|
+
export type CallbackTypeWithLiterals = CallbackType | 'UNKNOWN' | 'LOGOUT' | 'CHECKOUT' | 'AUTHORIZE';
|
|
593
603
|
export interface ValidateCallbackURLResponse {
|
|
594
604
|
/** Indicates if the provided URL is allowed for the given client id */
|
|
595
605
|
isValid?: boolean;
|
|
@@ -609,7 +619,7 @@ export interface AttachAllTemplatesRequest {
|
|
|
609
619
|
}
|
|
610
620
|
export interface AttachAllTemplatesResponse {
|
|
611
621
|
/** The status of the operation. */
|
|
612
|
-
status?:
|
|
622
|
+
status?: StatusWithLiterals;
|
|
613
623
|
}
|
|
614
624
|
export declare enum Status {
|
|
615
625
|
/** Invalid value. */
|
|
@@ -619,6 +629,8 @@ export declare enum Status {
|
|
|
619
629
|
/** An error occurred. */
|
|
620
630
|
ERROR = "ERROR"
|
|
621
631
|
}
|
|
632
|
+
/** @enumType */
|
|
633
|
+
export type StatusWithLiterals = Status | 'UNKNOWN' | 'SUCCESS' | 'ERROR';
|
|
622
634
|
export interface DomainEvent extends DomainEventBodyOneOf {
|
|
623
635
|
createdEvent?: EntityCreatedEvent;
|
|
624
636
|
updatedEvent?: EntityUpdatedEvent;
|
|
@@ -721,7 +733,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
|
721
733
|
*/
|
|
722
734
|
appId?: string;
|
|
723
735
|
/** @readonly */
|
|
724
|
-
identityType?:
|
|
736
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
725
737
|
}
|
|
726
738
|
/** @oneof */
|
|
727
739
|
export interface IdentificationDataIdOneOf {
|
|
@@ -753,3 +765,5 @@ export declare enum WebhookIdentityType {
|
|
|
753
765
|
WIX_USER = "WIX_USER",
|
|
754
766
|
APP = "APP"
|
|
755
767
|
}
|
|
768
|
+
/** @enumType */
|
|
769
|
+
export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"headless-v1-redirect-session-redirects.types.js","sourceRoot":"","sources":["../../../src/headless-v1-redirect-session-redirects.types.ts"],"names":[],"mappings":";;;AA6OA,IAAY,YAKX;AALD,WAAY,YAAY;IACtB,uCAAuB,CAAA;IACvB,iDAAiC,CAAA;IACjC,6CAA6B,CAAA;IAC7B,iCAAiB,CAAA;AACnB,CAAC,EALW,YAAY,4BAAZ,YAAY,QAKvB;
|
|
1
|
+
{"version":3,"file":"headless-v1-redirect-session-redirects.types.js","sourceRoot":"","sources":["../../../src/headless-v1-redirect-session-redirects.types.ts"],"names":[],"mappings":";;;AA6OA,IAAY,YAKX;AALD,WAAY,YAAY;IACtB,uCAAuB,CAAA;IACvB,iDAAiC,CAAA;IACjC,6CAA6B,CAAA;IAC7B,iCAAiB,CAAA;AACnB,CAAC,EALW,YAAY,4BAAZ,YAAY,QAKvB;AAwJD,yGAAyG;AACzG,IAAY,MASX;AATD,WAAY,MAAM;IAChB,uFAAuF;IACvF,yBAAe,CAAA;IACf;;;;OAIG;IACH,uBAAa,CAAA;AACf,CAAC,EATW,MAAM,sBAAN,MAAM,QASjB;AAcD,IAAY,qBAWX;AAXD,WAAY,qBAAqB;IAC/B,4CAA4C;IAC5C,sDAA6B,CAAA;IAC7B,2CAA2C;IAC3C,8CAAqB,CAAA;IACrB,yCAAyC;IACzC,0CAAiB,CAAA;IACjB,6CAA6C;IAC7C,wDAA+B,CAAA;IAC/B,sCAAsC;IACtC,0CAAiB,CAAA;AACnB,CAAC,EAXW,qBAAqB,qCAArB,qBAAqB,QAWhC;AAwLD,IAAY,yBASX;AATD,WAAY,yBAAyB;IACnC,qBAAqB;IACrB,gDAAmB,CAAA;IACnB,wCAAwC;IACxC,gDAAmB,CAAA;IACnB,oEAAoE;IACpE,oDAAuB,CAAA;IACvB,oEAAoE;IACpE,4CAAe,CAAA;AACjB,CAAC,EATW,yBAAyB,yCAAzB,yBAAyB,QASpC;AAyBD,IAAY,YASX;AATD,WAAY,YAAY;IACtB,qBAAqB;IACrB,mCAAmB,CAAA;IACnB,gDAAgD;IAChD,iCAAiB,CAAA;IACjB,gDAAgD;IAChD,qCAAqB,CAAA;IACrB,mDAAmD;IACnD,uCAAuB,CAAA;AACzB,CAAC,EATW,YAAY,4BAAZ,YAAY,QASvB;AAmCD,IAAY,MAOX;AAPD,WAAY,MAAM;IAChB,qBAAqB;IACrB,6BAAmB,CAAA;IACnB,4CAA4C;IAC5C,6BAAmB,CAAA;IACnB,yBAAyB;IACzB,yBAAe,CAAA;AACjB,CAAC,EAPW,MAAM,sBAAN,MAAM,QAOjB;AA8ID,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,mCAAnB,mBAAmB,QAM9B"}
|
|
@@ -224,7 +224,7 @@ export interface Location {
|
|
|
224
224
|
* - `"OWNER_CUSTOM"`: The address as set when creating the service.
|
|
225
225
|
* - `"CUSTOM"`: The address as set for the individual session.
|
|
226
226
|
*/
|
|
227
|
-
locationType?:
|
|
227
|
+
locationType?: LocationTypeWithLiterals;
|
|
228
228
|
}
|
|
229
229
|
export declare enum LocationType {
|
|
230
230
|
UNDEFINED = "UNDEFINED",
|
|
@@ -232,6 +232,8 @@ export declare enum LocationType {
|
|
|
232
232
|
OWNER_CUSTOM = "OWNER_CUSTOM",
|
|
233
233
|
CUSTOM = "CUSTOM"
|
|
234
234
|
}
|
|
235
|
+
/** @enumType */
|
|
236
|
+
export type LocationTypeWithLiterals = LocationType | 'UNDEFINED' | 'OWNER_BUSINESS' | 'OWNER_CUSTOM' | 'CUSTOM';
|
|
235
237
|
export interface WaitingList {
|
|
236
238
|
/**
|
|
237
239
|
* Total number of spots and open spots for this waitlist.
|
|
@@ -294,7 +296,7 @@ export interface RedirectSessionLogoutParams {
|
|
|
294
296
|
export interface RedirectSessionAuthParams {
|
|
295
297
|
authRequest?: AuthorizeRequest;
|
|
296
298
|
/** The type of prompt to use during the authorization process. */
|
|
297
|
-
prompt?:
|
|
299
|
+
prompt?: PromptWithLiterals;
|
|
298
300
|
}
|
|
299
301
|
/**
|
|
300
302
|
* AuthorizeRequest is sent by the client to the authorization server to initiate
|
|
@@ -376,13 +378,15 @@ export declare enum Prompt {
|
|
|
376
378
|
*/
|
|
377
379
|
none = "none"
|
|
378
380
|
}
|
|
381
|
+
/** @enumType */
|
|
382
|
+
export type PromptWithLiterals = Prompt | 'login' | 'none';
|
|
379
383
|
export interface RedirectSessionMembersAccountParams {
|
|
380
384
|
/**
|
|
381
385
|
* The member account page to redirect to.
|
|
382
386
|
*
|
|
383
387
|
* Default: `ACCOUNT_INFO`
|
|
384
388
|
*/
|
|
385
|
-
section?:
|
|
389
|
+
section?: MembersAccountSectionWithLiterals;
|
|
386
390
|
}
|
|
387
391
|
export declare enum MembersAccountSection {
|
|
388
392
|
/** Account info section in "my account". */
|
|
@@ -396,6 +400,8 @@ export declare enum MembersAccountSection {
|
|
|
396
400
|
/** Events section in "my account". */
|
|
397
401
|
EVENTS = "EVENTS"
|
|
398
402
|
}
|
|
403
|
+
/** @enumType */
|
|
404
|
+
export type MembersAccountSectionWithLiterals = MembersAccountSection | 'ACCOUNT_INFO' | 'BOOKINGS' | 'ORDERS' | 'SUBSCRIPTIONS' | 'EVENTS';
|
|
399
405
|
export interface RedirectSessionStoresProductParams {
|
|
400
406
|
/** @maxLength 150 */
|
|
401
407
|
productSlug?: string;
|
|
@@ -545,7 +551,7 @@ export interface AttachPagesRequest {
|
|
|
545
551
|
}
|
|
546
552
|
export interface AttachPagesResponse {
|
|
547
553
|
/** The status of the operation. */
|
|
548
|
-
status?:
|
|
554
|
+
status?: AttachPagesResponseStatusWithLiterals;
|
|
549
555
|
/**
|
|
550
556
|
* A descriptive message about the operation
|
|
551
557
|
* @maxLength 2048
|
|
@@ -566,6 +572,8 @@ export declare enum AttachPagesResponseStatus {
|
|
|
566
572
|
/** An error occurred, such as when the site or app is not found. */
|
|
567
573
|
ERROR = "ERROR"
|
|
568
574
|
}
|
|
575
|
+
/** @enumType */
|
|
576
|
+
export type AttachPagesResponseStatusWithLiterals = AttachPagesResponseStatus | 'UNKNOWN' | 'SUCCESS' | 'NO_ACTION' | 'ERROR';
|
|
569
577
|
export interface ValidateCallbackURLRequest {
|
|
570
578
|
/**
|
|
571
579
|
* An external URL to validate
|
|
@@ -573,7 +581,7 @@ export interface ValidateCallbackURLRequest {
|
|
|
573
581
|
*/
|
|
574
582
|
callbackUrl?: string;
|
|
575
583
|
/** Type of the callback URL. */
|
|
576
|
-
callbackType?:
|
|
584
|
+
callbackType?: CallbackTypeWithLiterals;
|
|
577
585
|
/**
|
|
578
586
|
* 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
|
|
579
587
|
* @format GUID
|
|
@@ -590,6 +598,8 @@ export declare enum CallbackType {
|
|
|
590
598
|
/** Callback URL is used for the authorize flow. */
|
|
591
599
|
AUTHORIZE = "AUTHORIZE"
|
|
592
600
|
}
|
|
601
|
+
/** @enumType */
|
|
602
|
+
export type CallbackTypeWithLiterals = CallbackType | 'UNKNOWN' | 'LOGOUT' | 'CHECKOUT' | 'AUTHORIZE';
|
|
593
603
|
export interface ValidateCallbackURLResponse {
|
|
594
604
|
/** Indicates if the provided URL is allowed for the given client id */
|
|
595
605
|
isValid?: boolean;
|
|
@@ -609,7 +619,7 @@ export interface AttachAllTemplatesRequest {
|
|
|
609
619
|
}
|
|
610
620
|
export interface AttachAllTemplatesResponse {
|
|
611
621
|
/** The status of the operation. */
|
|
612
|
-
status?:
|
|
622
|
+
status?: StatusWithLiterals;
|
|
613
623
|
}
|
|
614
624
|
export declare enum Status {
|
|
615
625
|
/** Invalid value. */
|
|
@@ -619,6 +629,8 @@ export declare enum Status {
|
|
|
619
629
|
/** An error occurred. */
|
|
620
630
|
ERROR = "ERROR"
|
|
621
631
|
}
|
|
632
|
+
/** @enumType */
|
|
633
|
+
export type StatusWithLiterals = Status | 'UNKNOWN' | 'SUCCESS' | 'ERROR';
|
|
622
634
|
export interface DomainEvent extends DomainEventBodyOneOf {
|
|
623
635
|
createdEvent?: EntityCreatedEvent;
|
|
624
636
|
updatedEvent?: EntityUpdatedEvent;
|
|
@@ -719,7 +731,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
|
719
731
|
*/
|
|
720
732
|
appId?: string;
|
|
721
733
|
/** @readonly */
|
|
722
|
-
identityType?:
|
|
734
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
723
735
|
}
|
|
724
736
|
/** @oneof */
|
|
725
737
|
export interface IdentificationDataIdOneOf {
|
|
@@ -751,6 +763,8 @@ export declare enum WebhookIdentityType {
|
|
|
751
763
|
WIX_USER = "WIX_USER",
|
|
752
764
|
APP = "APP"
|
|
753
765
|
}
|
|
766
|
+
/** @enumType */
|
|
767
|
+
export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
754
768
|
export interface BaseEventMetadata {
|
|
755
769
|
/**
|
|
756
770
|
* App instance ID.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"headless-v1-redirect-session-redirects.universal.js","sourceRoot":"","sources":["../../../src/headless-v1-redirect-session-redirects.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAGiD;AAEjD,yHAA2G;AA+O3G,IAAY,YAKX;AALD,WAAY,YAAY;IACtB,uCAAuB,CAAA;IACvB,iDAAiC,CAAA;IACjC,6CAA6B,CAAA;IAC7B,iCAAiB,CAAA;AACnB,CAAC,EALW,YAAY,4BAAZ,YAAY,QAKvB;
|
|
1
|
+
{"version":3,"file":"headless-v1-redirect-session-redirects.universal.js","sourceRoot":"","sources":["../../../src/headless-v1-redirect-session-redirects.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAGiD;AAEjD,yHAA2G;AA+O3G,IAAY,YAKX;AALD,WAAY,YAAY;IACtB,uCAAuB,CAAA;IACvB,iDAAiC,CAAA;IACjC,6CAA6B,CAAA;IAC7B,iCAAiB,CAAA;AACnB,C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B;gBACjC,cAAc,EAAE,qBAAqB;gBACrC,iBAAiB,EAAE,wBAAwB;gBAC3C,KAAK,EAAE,YAAY;gBACnB,MAAM,EAAE,aAAa;gBACrB,IAAI,EAAE,WAAW;gBACjB,aAAa,EAAE,oBAAoB;gBACnC,YAAY,EAAE,mBAAmB;gBACjC,SAAS,EAAE,gBAAgB;gBAC3B,WAAW,EAAE,kBAAkB;aAChC;YACD,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,SAAS,CAAC,CACZ,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC;AAjED,sDAiEC"}
|
|
@@ -223,7 +223,7 @@ export interface Location {
|
|
|
223
223
|
* - `"OWNER_CUSTOM"`: The address as set when creating the service.
|
|
224
224
|
* - `"CUSTOM"`: The address as set for the individual session.
|
|
225
225
|
*/
|
|
226
|
-
locationType?:
|
|
226
|
+
locationType?: LocationTypeWithLiterals;
|
|
227
227
|
}
|
|
228
228
|
export declare enum LocationType {
|
|
229
229
|
UNDEFINED = "UNDEFINED",
|
|
@@ -231,6 +231,8 @@ export declare enum LocationType {
|
|
|
231
231
|
OWNER_CUSTOM = "OWNER_CUSTOM",
|
|
232
232
|
CUSTOM = "CUSTOM"
|
|
233
233
|
}
|
|
234
|
+
/** @enumType */
|
|
235
|
+
export type LocationTypeWithLiterals = LocationType | 'UNDEFINED' | 'OWNER_BUSINESS' | 'OWNER_CUSTOM' | 'CUSTOM';
|
|
234
236
|
export interface WaitingList {
|
|
235
237
|
/**
|
|
236
238
|
* Total number of spots and open spots for this waitlist.
|
|
@@ -293,7 +295,7 @@ export interface RedirectSessionLogoutParams {
|
|
|
293
295
|
export interface RedirectSessionAuthParams {
|
|
294
296
|
authRequest?: AuthorizeRequest;
|
|
295
297
|
/** The type of prompt to use during the authorization process. */
|
|
296
|
-
prompt?:
|
|
298
|
+
prompt?: PromptWithLiterals;
|
|
297
299
|
}
|
|
298
300
|
/**
|
|
299
301
|
* AuthorizeRequest is sent by the client to the authorization server to initiate
|
|
@@ -375,13 +377,15 @@ export declare enum Prompt {
|
|
|
375
377
|
*/
|
|
376
378
|
none = "none"
|
|
377
379
|
}
|
|
380
|
+
/** @enumType */
|
|
381
|
+
export type PromptWithLiterals = Prompt | 'login' | 'none';
|
|
378
382
|
export interface RedirectSessionMembersAccountParams {
|
|
379
383
|
/**
|
|
380
384
|
* The member account page to redirect to.
|
|
381
385
|
*
|
|
382
386
|
* Default: `ACCOUNT_INFO`
|
|
383
387
|
*/
|
|
384
|
-
section?:
|
|
388
|
+
section?: MembersAccountSectionWithLiterals;
|
|
385
389
|
}
|
|
386
390
|
export declare enum MembersAccountSection {
|
|
387
391
|
/** Account info section in "my account". */
|
|
@@ -395,6 +399,8 @@ export declare enum MembersAccountSection {
|
|
|
395
399
|
/** Events section in "my account". */
|
|
396
400
|
EVENTS = "EVENTS"
|
|
397
401
|
}
|
|
402
|
+
/** @enumType */
|
|
403
|
+
export type MembersAccountSectionWithLiterals = MembersAccountSection | 'ACCOUNT_INFO' | 'BOOKINGS' | 'ORDERS' | 'SUBSCRIPTIONS' | 'EVENTS';
|
|
398
404
|
export interface RedirectSessionStoresProductParams {
|
|
399
405
|
/** @maxLength 150 */
|
|
400
406
|
productSlug?: string;
|
|
@@ -545,7 +551,7 @@ export interface AttachPagesRequest {
|
|
|
545
551
|
}
|
|
546
552
|
export interface AttachPagesResponse {
|
|
547
553
|
/** The status of the operation. */
|
|
548
|
-
status?:
|
|
554
|
+
status?: AttachPagesResponseStatusWithLiterals;
|
|
549
555
|
/**
|
|
550
556
|
* A descriptive message about the operation
|
|
551
557
|
* @maxLength 2048
|
|
@@ -566,6 +572,8 @@ export declare enum AttachPagesResponseStatus {
|
|
|
566
572
|
/** An error occurred, such as when the site or app is not found. */
|
|
567
573
|
ERROR = "ERROR"
|
|
568
574
|
}
|
|
575
|
+
/** @enumType */
|
|
576
|
+
export type AttachPagesResponseStatusWithLiterals = AttachPagesResponseStatus | 'UNKNOWN' | 'SUCCESS' | 'NO_ACTION' | 'ERROR';
|
|
569
577
|
export interface ValidateCallbackURLRequest {
|
|
570
578
|
/**
|
|
571
579
|
* An external URL to validate
|
|
@@ -573,7 +581,7 @@ export interface ValidateCallbackURLRequest {
|
|
|
573
581
|
*/
|
|
574
582
|
callbackUrl?: string;
|
|
575
583
|
/** Type of the callback URL. */
|
|
576
|
-
callbackType?:
|
|
584
|
+
callbackType?: CallbackTypeWithLiterals;
|
|
577
585
|
/**
|
|
578
586
|
* 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
|
|
579
587
|
* @format GUID
|
|
@@ -590,6 +598,8 @@ export declare enum CallbackType {
|
|
|
590
598
|
/** Callback URL is used for the authorize flow. */
|
|
591
599
|
AUTHORIZE = "AUTHORIZE"
|
|
592
600
|
}
|
|
601
|
+
/** @enumType */
|
|
602
|
+
export type CallbackTypeWithLiterals = CallbackType | 'UNKNOWN' | 'LOGOUT' | 'CHECKOUT' | 'AUTHORIZE';
|
|
593
603
|
export interface ValidateCallbackURLResponse {
|
|
594
604
|
/** Indicates if the provided URL is allowed for the given client id */
|
|
595
605
|
isValid?: boolean;
|
|
@@ -609,7 +619,7 @@ export interface AttachAllTemplatesRequest {
|
|
|
609
619
|
}
|
|
610
620
|
export interface AttachAllTemplatesResponse {
|
|
611
621
|
/** The status of the operation. */
|
|
612
|
-
status?:
|
|
622
|
+
status?: StatusWithLiterals;
|
|
613
623
|
}
|
|
614
624
|
export declare enum Status {
|
|
615
625
|
/** Invalid value. */
|
|
@@ -619,6 +629,8 @@ export declare enum Status {
|
|
|
619
629
|
/** An error occurred. */
|
|
620
630
|
ERROR = "ERROR"
|
|
621
631
|
}
|
|
632
|
+
/** @enumType */
|
|
633
|
+
export type StatusWithLiterals = Status | 'UNKNOWN' | 'SUCCESS' | 'ERROR';
|
|
622
634
|
export interface DomainEvent extends DomainEventBodyOneOf {
|
|
623
635
|
createdEvent?: EntityCreatedEvent;
|
|
624
636
|
updatedEvent?: EntityUpdatedEvent;
|
|
@@ -721,7 +733,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
|
721
733
|
*/
|
|
722
734
|
appId?: string;
|
|
723
735
|
/** @readonly */
|
|
724
|
-
identityType?:
|
|
736
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
725
737
|
}
|
|
726
738
|
/** @oneof */
|
|
727
739
|
export interface IdentificationDataIdOneOf {
|
|
@@ -753,3 +765,5 @@ export declare enum WebhookIdentityType {
|
|
|
753
765
|
WIX_USER = "WIX_USER",
|
|
754
766
|
APP = "APP"
|
|
755
767
|
}
|
|
768
|
+
/** @enumType */
|
|
769
|
+
export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"headless-v1-redirect-session-redirects.types.js","sourceRoot":"","sources":["../../../src/headless-v1-redirect-session-redirects.types.ts"],"names":[],"mappings":"AA6OA,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;
|
|
1
|
+
{"version":3,"file":"headless-v1-redirect-session-redirects.types.js","sourceRoot":"","sources":["../../../src/headless-v1-redirect-session-redirects.types.ts"],"names":[],"mappings":"AA6OA,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;AAwJD,yGAAyG;AACzG,MAAM,CAAN,IAAY,MASX;AATD,WAAY,MAAM;IAChB,uFAAuF;IACvF,yBAA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@@ -224,7 +224,7 @@ export interface Location {
|
|
|
224
224
|
* - `"OWNER_CUSTOM"`: The address as set when creating the service.
|
|
225
225
|
* - `"CUSTOM"`: The address as set for the individual session.
|
|
226
226
|
*/
|
|
227
|
-
locationType?:
|
|
227
|
+
locationType?: LocationTypeWithLiterals;
|
|
228
228
|
}
|
|
229
229
|
export declare enum LocationType {
|
|
230
230
|
UNDEFINED = "UNDEFINED",
|
|
@@ -232,6 +232,8 @@ export declare enum LocationType {
|
|
|
232
232
|
OWNER_CUSTOM = "OWNER_CUSTOM",
|
|
233
233
|
CUSTOM = "CUSTOM"
|
|
234
234
|
}
|
|
235
|
+
/** @enumType */
|
|
236
|
+
export type LocationTypeWithLiterals = LocationType | 'UNDEFINED' | 'OWNER_BUSINESS' | 'OWNER_CUSTOM' | 'CUSTOM';
|
|
235
237
|
export interface WaitingList {
|
|
236
238
|
/**
|
|
237
239
|
* Total number of spots and open spots for this waitlist.
|
|
@@ -294,7 +296,7 @@ export interface RedirectSessionLogoutParams {
|
|
|
294
296
|
export interface RedirectSessionAuthParams {
|
|
295
297
|
authRequest?: AuthorizeRequest;
|
|
296
298
|
/** The type of prompt to use during the authorization process. */
|
|
297
|
-
prompt?:
|
|
299
|
+
prompt?: PromptWithLiterals;
|
|
298
300
|
}
|
|
299
301
|
/**
|
|
300
302
|
* AuthorizeRequest is sent by the client to the authorization server to initiate
|
|
@@ -376,13 +378,15 @@ export declare enum Prompt {
|
|
|
376
378
|
*/
|
|
377
379
|
none = "none"
|
|
378
380
|
}
|
|
381
|
+
/** @enumType */
|
|
382
|
+
export type PromptWithLiterals = Prompt | 'login' | 'none';
|
|
379
383
|
export interface RedirectSessionMembersAccountParams {
|
|
380
384
|
/**
|
|
381
385
|
* The member account page to redirect to.
|
|
382
386
|
*
|
|
383
387
|
* Default: `ACCOUNT_INFO`
|
|
384
388
|
*/
|
|
385
|
-
section?:
|
|
389
|
+
section?: MembersAccountSectionWithLiterals;
|
|
386
390
|
}
|
|
387
391
|
export declare enum MembersAccountSection {
|
|
388
392
|
/** Account info section in "my account". */
|
|
@@ -396,6 +400,8 @@ export declare enum MembersAccountSection {
|
|
|
396
400
|
/** Events section in "my account". */
|
|
397
401
|
EVENTS = "EVENTS"
|
|
398
402
|
}
|
|
403
|
+
/** @enumType */
|
|
404
|
+
export type MembersAccountSectionWithLiterals = MembersAccountSection | 'ACCOUNT_INFO' | 'BOOKINGS' | 'ORDERS' | 'SUBSCRIPTIONS' | 'EVENTS';
|
|
399
405
|
export interface RedirectSessionStoresProductParams {
|
|
400
406
|
/** @maxLength 150 */
|
|
401
407
|
productSlug?: string;
|
|
@@ -545,7 +551,7 @@ export interface AttachPagesRequest {
|
|
|
545
551
|
}
|
|
546
552
|
export interface AttachPagesResponse {
|
|
547
553
|
/** The status of the operation. */
|
|
548
|
-
status?:
|
|
554
|
+
status?: AttachPagesResponseStatusWithLiterals;
|
|
549
555
|
/**
|
|
550
556
|
* A descriptive message about the operation
|
|
551
557
|
* @maxLength 2048
|
|
@@ -566,6 +572,8 @@ export declare enum AttachPagesResponseStatus {
|
|
|
566
572
|
/** An error occurred, such as when the site or app is not found. */
|
|
567
573
|
ERROR = "ERROR"
|
|
568
574
|
}
|
|
575
|
+
/** @enumType */
|
|
576
|
+
export type AttachPagesResponseStatusWithLiterals = AttachPagesResponseStatus | 'UNKNOWN' | 'SUCCESS' | 'NO_ACTION' | 'ERROR';
|
|
569
577
|
export interface ValidateCallbackURLRequest {
|
|
570
578
|
/**
|
|
571
579
|
* An external URL to validate
|
|
@@ -573,7 +581,7 @@ export interface ValidateCallbackURLRequest {
|
|
|
573
581
|
*/
|
|
574
582
|
callbackUrl?: string;
|
|
575
583
|
/** Type of the callback URL. */
|
|
576
|
-
callbackType?:
|
|
584
|
+
callbackType?: CallbackTypeWithLiterals;
|
|
577
585
|
/**
|
|
578
586
|
* 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
|
|
579
587
|
* @format GUID
|
|
@@ -590,6 +598,8 @@ export declare enum CallbackType {
|
|
|
590
598
|
/** Callback URL is used for the authorize flow. */
|
|
591
599
|
AUTHORIZE = "AUTHORIZE"
|
|
592
600
|
}
|
|
601
|
+
/** @enumType */
|
|
602
|
+
export type CallbackTypeWithLiterals = CallbackType | 'UNKNOWN' | 'LOGOUT' | 'CHECKOUT' | 'AUTHORIZE';
|
|
593
603
|
export interface ValidateCallbackURLResponse {
|
|
594
604
|
/** Indicates if the provided URL is allowed for the given client id */
|
|
595
605
|
isValid?: boolean;
|
|
@@ -609,7 +619,7 @@ export interface AttachAllTemplatesRequest {
|
|
|
609
619
|
}
|
|
610
620
|
export interface AttachAllTemplatesResponse {
|
|
611
621
|
/** The status of the operation. */
|
|
612
|
-
status?:
|
|
622
|
+
status?: StatusWithLiterals;
|
|
613
623
|
}
|
|
614
624
|
export declare enum Status {
|
|
615
625
|
/** Invalid value. */
|
|
@@ -619,6 +629,8 @@ export declare enum Status {
|
|
|
619
629
|
/** An error occurred. */
|
|
620
630
|
ERROR = "ERROR"
|
|
621
631
|
}
|
|
632
|
+
/** @enumType */
|
|
633
|
+
export type StatusWithLiterals = Status | 'UNKNOWN' | 'SUCCESS' | 'ERROR';
|
|
622
634
|
export interface DomainEvent extends DomainEventBodyOneOf {
|
|
623
635
|
createdEvent?: EntityCreatedEvent;
|
|
624
636
|
updatedEvent?: EntityUpdatedEvent;
|
|
@@ -719,7 +731,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
|
719
731
|
*/
|
|
720
732
|
appId?: string;
|
|
721
733
|
/** @readonly */
|
|
722
|
-
identityType?:
|
|
734
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
723
735
|
}
|
|
724
736
|
/** @oneof */
|
|
725
737
|
export interface IdentificationDataIdOneOf {
|
|
@@ -751,6 +763,8 @@ export declare enum WebhookIdentityType {
|
|
|
751
763
|
WIX_USER = "WIX_USER",
|
|
752
764
|
APP = "APP"
|
|
753
765
|
}
|
|
766
|
+
/** @enumType */
|
|
767
|
+
export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
754
768
|
export interface BaseEventMetadata {
|
|
755
769
|
/**
|
|
756
770
|
* App instance ID.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"headless-v1-redirect-session-redirects.universal.js","sourceRoot":"","sources":["../../../src/headless-v1-redirect-session-redirects.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EACL,qCAAqC,EACrC,uCAAuC,GACxC,MAAM,yCAAyC,CAAC;AAEjD,OAAO,KAAK,sCAAsC,MAAM,kDAAkD,CAAC;AA+O3G,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;
|
|
1
|
+
{"version":3,"file":"headless-v1-redirect-session-redirects.universal.js","sourceRoot":"","sources":["../../../src/headless-v1-redirect-session-redirects.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EACL,qCAAqC,EACrC,uCAAuC,GACxC,MAAM,yCAAyC,CAAC;AAEjD,OAAO,KAAK,sCAAsC,MAAM,kDAAkD,CAAC;AA+O3G,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;AAwJD,yGAAyG;AACzG,MAAM,CAAN,IAAY,MASX;AATD,WAAY,MAAM;IAChB,uFAAuF;IACvF,yBAAe,CAAA;IACf;;;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YAAY;gBACnB,MAAM,EAAE,aAAa;gBACrB,IAAI,EAAE,WAAW;gBACjB,aAAa,EAAE,oBAAoB;gBACnC,YAAY,EAAE,mBAAmB;gBACjC,SAAS,EAAE,gBAAgB;gBAC3B,WAAW,EAAE,kBAAkB;aAChC;YACD,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,SAAS,CAAC,CACZ,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC"}
|
|
@@ -223,7 +223,7 @@ export interface Location {
|
|
|
223
223
|
* - `"OWNER_CUSTOM"`: The address as set when creating the service.
|
|
224
224
|
* - `"CUSTOM"`: The address as set for the individual session.
|
|
225
225
|
*/
|
|
226
|
-
locationType?:
|
|
226
|
+
locationType?: LocationTypeWithLiterals;
|
|
227
227
|
}
|
|
228
228
|
export declare enum LocationType {
|
|
229
229
|
UNDEFINED = "UNDEFINED",
|
|
@@ -231,6 +231,8 @@ export declare enum LocationType {
|
|
|
231
231
|
OWNER_CUSTOM = "OWNER_CUSTOM",
|
|
232
232
|
CUSTOM = "CUSTOM"
|
|
233
233
|
}
|
|
234
|
+
/** @enumType */
|
|
235
|
+
export type LocationTypeWithLiterals = LocationType | 'UNDEFINED' | 'OWNER_BUSINESS' | 'OWNER_CUSTOM' | 'CUSTOM';
|
|
234
236
|
export interface WaitingList {
|
|
235
237
|
/**
|
|
236
238
|
* Total number of spots and open spots for this waitlist.
|
|
@@ -293,7 +295,7 @@ export interface RedirectSessionLogoutParams {
|
|
|
293
295
|
export interface RedirectSessionAuthParams {
|
|
294
296
|
authRequest?: AuthorizeRequest;
|
|
295
297
|
/** The type of prompt to use during the authorization process. */
|
|
296
|
-
prompt?:
|
|
298
|
+
prompt?: PromptWithLiterals;
|
|
297
299
|
}
|
|
298
300
|
/**
|
|
299
301
|
* AuthorizeRequest is sent by the client to the authorization server to initiate
|
|
@@ -375,13 +377,15 @@ export declare enum Prompt {
|
|
|
375
377
|
*/
|
|
376
378
|
none = "none"
|
|
377
379
|
}
|
|
380
|
+
/** @enumType */
|
|
381
|
+
export type PromptWithLiterals = Prompt | 'login' | 'none';
|
|
378
382
|
export interface RedirectSessionMembersAccountParams {
|
|
379
383
|
/**
|
|
380
384
|
* The member account page to redirect to.
|
|
381
385
|
*
|
|
382
386
|
* Default: `ACCOUNT_INFO`
|
|
383
387
|
*/
|
|
384
|
-
section?:
|
|
388
|
+
section?: MembersAccountSectionWithLiterals;
|
|
385
389
|
}
|
|
386
390
|
export declare enum MembersAccountSection {
|
|
387
391
|
/** Account info section in "my account". */
|
|
@@ -395,6 +399,8 @@ export declare enum MembersAccountSection {
|
|
|
395
399
|
/** Events section in "my account". */
|
|
396
400
|
EVENTS = "EVENTS"
|
|
397
401
|
}
|
|
402
|
+
/** @enumType */
|
|
403
|
+
export type MembersAccountSectionWithLiterals = MembersAccountSection | 'ACCOUNT_INFO' | 'BOOKINGS' | 'ORDERS' | 'SUBSCRIPTIONS' | 'EVENTS';
|
|
398
404
|
export interface RedirectSessionStoresProductParams {
|
|
399
405
|
/** @maxLength 150 */
|
|
400
406
|
productSlug?: string;
|
|
@@ -545,7 +551,7 @@ export interface AttachPagesRequest {
|
|
|
545
551
|
}
|
|
546
552
|
export interface AttachPagesResponse {
|
|
547
553
|
/** The status of the operation. */
|
|
548
|
-
status?:
|
|
554
|
+
status?: AttachPagesResponseStatusWithLiterals;
|
|
549
555
|
/**
|
|
550
556
|
* A descriptive message about the operation
|
|
551
557
|
* @maxLength 2048
|
|
@@ -566,6 +572,8 @@ export declare enum AttachPagesResponseStatus {
|
|
|
566
572
|
/** An error occurred, such as when the site or app is not found. */
|
|
567
573
|
ERROR = "ERROR"
|
|
568
574
|
}
|
|
575
|
+
/** @enumType */
|
|
576
|
+
export type AttachPagesResponseStatusWithLiterals = AttachPagesResponseStatus | 'UNKNOWN' | 'SUCCESS' | 'NO_ACTION' | 'ERROR';
|
|
569
577
|
export interface ValidateCallbackURLRequest {
|
|
570
578
|
/**
|
|
571
579
|
* An external URL to validate
|
|
@@ -573,7 +581,7 @@ export interface ValidateCallbackURLRequest {
|
|
|
573
581
|
*/
|
|
574
582
|
callbackUrl?: string;
|
|
575
583
|
/** Type of the callback URL. */
|
|
576
|
-
callbackType?:
|
|
584
|
+
callbackType?: CallbackTypeWithLiterals;
|
|
577
585
|
/**
|
|
578
586
|
* 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
|
|
579
587
|
* @format GUID
|
|
@@ -590,6 +598,8 @@ export declare enum CallbackType {
|
|
|
590
598
|
/** Callback URL is used for the authorize flow. */
|
|
591
599
|
AUTHORIZE = "AUTHORIZE"
|
|
592
600
|
}
|
|
601
|
+
/** @enumType */
|
|
602
|
+
export type CallbackTypeWithLiterals = CallbackType | 'UNKNOWN' | 'LOGOUT' | 'CHECKOUT' | 'AUTHORIZE';
|
|
593
603
|
export interface ValidateCallbackURLResponse {
|
|
594
604
|
/** Indicates if the provided URL is allowed for the given client id */
|
|
595
605
|
isValid?: boolean;
|
|
@@ -609,7 +619,7 @@ export interface AttachAllTemplatesRequest {
|
|
|
609
619
|
}
|
|
610
620
|
export interface AttachAllTemplatesResponse {
|
|
611
621
|
/** The status of the operation. */
|
|
612
|
-
status?:
|
|
622
|
+
status?: StatusWithLiterals;
|
|
613
623
|
}
|
|
614
624
|
export declare enum Status {
|
|
615
625
|
/** Invalid value. */
|
|
@@ -619,6 +629,8 @@ export declare enum Status {
|
|
|
619
629
|
/** An error occurred. */
|
|
620
630
|
ERROR = "ERROR"
|
|
621
631
|
}
|
|
632
|
+
/** @enumType */
|
|
633
|
+
export type StatusWithLiterals = Status | 'UNKNOWN' | 'SUCCESS' | 'ERROR';
|
|
622
634
|
export interface DomainEvent extends DomainEventBodyOneOf {
|
|
623
635
|
createdEvent?: EntityCreatedEvent;
|
|
624
636
|
updatedEvent?: EntityUpdatedEvent;
|
|
@@ -721,7 +733,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
|
721
733
|
*/
|
|
722
734
|
appId?: string;
|
|
723
735
|
/** @readonly */
|
|
724
|
-
identityType?:
|
|
736
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
725
737
|
}
|
|
726
738
|
/** @oneof */
|
|
727
739
|
export interface IdentificationDataIdOneOf {
|
|
@@ -753,3 +765,5 @@ export declare enum WebhookIdentityType {
|
|
|
753
765
|
WIX_USER = "WIX_USER",
|
|
754
766
|
APP = "APP"
|
|
755
767
|
}
|
|
768
|
+
/** @enumType */
|
|
769
|
+
export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"headless-v1-redirect-session-redirects.types.js","sourceRoot":"","sources":["../../../../src/headless-v1-redirect-session-redirects.types.ts"],"names":[],"mappings":";;;AA6OA,IAAY,YAKX;AALD,WAAY,YAAY;IACtB,uCAAuB,CAAA;IACvB,iDAAiC,CAAA;IACjC,6CAA6B,CAAA;IAC7B,iCAAiB,CAAA;AACnB,CAAC,EALW,YAAY,4BAAZ,YAAY,QAKvB;
|
|
1
|
+
{"version":3,"file":"headless-v1-redirect-session-redirects.types.js","sourceRoot":"","sources":["../../../../src/headless-v1-redirect-session-redirects.types.ts"],"names":[],"mappings":";;;AA6OA,IAAY,YAKX;AALD,WAAY,YAAY;IACtB,uCAAuB,CAAA;IACvB,iDAAiC,CAAA;IACjC,6CAA6B,CAAA;IAC7B,iCAAiB,CAAA;AACnB,CAAC,EALW,YAAY,4BAAZ,YAAY,QAKvB;AAwJD,yGAAyG;AACzG,IAAY,MASX;AATD,WAAY,MAAM;IAChB,uFAAuF;IACvF,yBAAe,CAAA;IACf;;;;OAIG;IACH,uBAAa,CAAA;AACf,CAAC,EATW,MAAM,sBAAN,MAAM,QASjB;AAcD,IAAY,qBAWX;AAXD,WAAY,qBAAqB;IAC/B,4CAA4C;IAC5C,sDAA6B,CAAA;IAC7B,2CAA2C;IAC3C,8CAAqB,CAAA;IACrB,yCAAyC;IACzC,0CAAiB,CAAA;IACjB,6CAA6C;IAC7C,wDAA+B,CAAA;IAC/B,sCAAsC;IACtC,0CAAiB,CAAA;AACnB,CAAC,EAXW,qBAAqB,qCAArB,qBAAqB,QAWhC;AAwLD,IAAY,yBASX;AATD,WAAY,yBAAyB;IACnC,qBAAqB;IACrB,gDAAmB,CAAA;IACnB,wCAAwC;IACxC,gDAAmB,CAAA;IACnB,oEAAoE;IACpE,oDAAuB,CAAA;IACvB,oEAAoE;IACpE,4CAAe,CAAA;AACjB,CAAC,EATW,yBAAyB,yCAAzB,yBAAyB,QASpC;AAyBD,IAAY,YASX;AATD,WAAY,YAAY;IACtB,qBAAqB;IACrB,mCAAmB,CAAA;IACnB,gDAAgD;IAChD,iCAAiB,CAAA;IACjB,gDAAgD;IAChD,qCAAqB,CAAA;IACrB,mDAAmD;IACnD,uCAAuB,CAAA;AACzB,CAAC,EATW,YAAY,4BAAZ,YAAY,QASvB;AAmCD,IAAY,MAOX;AAPD,WAAY,MAAM;IAChB,qBAAqB;IACrB,6BAAmB,CAAA;IACnB,4CAA4C;IAC5C,6BAAmB,CAAA;IACnB,yBAAyB;IACzB,yBAAe,CAAA;AACjB,CAAC,EAPW,MAAM,sBAAN,MAAM,QAOjB;AA8ID,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,mCAAnB,mBAAmB,QAM9B"}
|
|
@@ -224,7 +224,7 @@ export interface Location {
|
|
|
224
224
|
* - `"OWNER_CUSTOM"`: The address as set when creating the service.
|
|
225
225
|
* - `"CUSTOM"`: The address as set for the individual session.
|
|
226
226
|
*/
|
|
227
|
-
locationType?:
|
|
227
|
+
locationType?: LocationTypeWithLiterals;
|
|
228
228
|
}
|
|
229
229
|
export declare enum LocationType {
|
|
230
230
|
UNDEFINED = "UNDEFINED",
|
|
@@ -232,6 +232,8 @@ export declare enum LocationType {
|
|
|
232
232
|
OWNER_CUSTOM = "OWNER_CUSTOM",
|
|
233
233
|
CUSTOM = "CUSTOM"
|
|
234
234
|
}
|
|
235
|
+
/** @enumType */
|
|
236
|
+
export type LocationTypeWithLiterals = LocationType | 'UNDEFINED' | 'OWNER_BUSINESS' | 'OWNER_CUSTOM' | 'CUSTOM';
|
|
235
237
|
export interface WaitingList {
|
|
236
238
|
/**
|
|
237
239
|
* Total number of spots and open spots for this waitlist.
|
|
@@ -294,7 +296,7 @@ export interface RedirectSessionLogoutParams {
|
|
|
294
296
|
export interface RedirectSessionAuthParams {
|
|
295
297
|
authRequest?: AuthorizeRequest;
|
|
296
298
|
/** The type of prompt to use during the authorization process. */
|
|
297
|
-
prompt?:
|
|
299
|
+
prompt?: PromptWithLiterals;
|
|
298
300
|
}
|
|
299
301
|
/**
|
|
300
302
|
* AuthorizeRequest is sent by the client to the authorization server to initiate
|
|
@@ -376,13 +378,15 @@ export declare enum Prompt {
|
|
|
376
378
|
*/
|
|
377
379
|
none = "none"
|
|
378
380
|
}
|
|
381
|
+
/** @enumType */
|
|
382
|
+
export type PromptWithLiterals = Prompt | 'login' | 'none';
|
|
379
383
|
export interface RedirectSessionMembersAccountParams {
|
|
380
384
|
/**
|
|
381
385
|
* The member account page to redirect to.
|
|
382
386
|
*
|
|
383
387
|
* Default: `ACCOUNT_INFO`
|
|
384
388
|
*/
|
|
385
|
-
section?:
|
|
389
|
+
section?: MembersAccountSectionWithLiterals;
|
|
386
390
|
}
|
|
387
391
|
export declare enum MembersAccountSection {
|
|
388
392
|
/** Account info section in "my account". */
|
|
@@ -396,6 +400,8 @@ export declare enum MembersAccountSection {
|
|
|
396
400
|
/** Events section in "my account". */
|
|
397
401
|
EVENTS = "EVENTS"
|
|
398
402
|
}
|
|
403
|
+
/** @enumType */
|
|
404
|
+
export type MembersAccountSectionWithLiterals = MembersAccountSection | 'ACCOUNT_INFO' | 'BOOKINGS' | 'ORDERS' | 'SUBSCRIPTIONS' | 'EVENTS';
|
|
399
405
|
export interface RedirectSessionStoresProductParams {
|
|
400
406
|
/** @maxLength 150 */
|
|
401
407
|
productSlug?: string;
|
|
@@ -545,7 +551,7 @@ export interface AttachPagesRequest {
|
|
|
545
551
|
}
|
|
546
552
|
export interface AttachPagesResponse {
|
|
547
553
|
/** The status of the operation. */
|
|
548
|
-
status?:
|
|
554
|
+
status?: AttachPagesResponseStatusWithLiterals;
|
|
549
555
|
/**
|
|
550
556
|
* A descriptive message about the operation
|
|
551
557
|
* @maxLength 2048
|
|
@@ -566,6 +572,8 @@ export declare enum AttachPagesResponseStatus {
|
|
|
566
572
|
/** An error occurred, such as when the site or app is not found. */
|
|
567
573
|
ERROR = "ERROR"
|
|
568
574
|
}
|
|
575
|
+
/** @enumType */
|
|
576
|
+
export type AttachPagesResponseStatusWithLiterals = AttachPagesResponseStatus | 'UNKNOWN' | 'SUCCESS' | 'NO_ACTION' | 'ERROR';
|
|
569
577
|
export interface ValidateCallbackURLRequest {
|
|
570
578
|
/**
|
|
571
579
|
* An external URL to validate
|
|
@@ -573,7 +581,7 @@ export interface ValidateCallbackURLRequest {
|
|
|
573
581
|
*/
|
|
574
582
|
callbackUrl?: string;
|
|
575
583
|
/** Type of the callback URL. */
|
|
576
|
-
callbackType?:
|
|
584
|
+
callbackType?: CallbackTypeWithLiterals;
|
|
577
585
|
/**
|
|
578
586
|
* 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
|
|
579
587
|
* @format GUID
|
|
@@ -590,6 +598,8 @@ export declare enum CallbackType {
|
|
|
590
598
|
/** Callback URL is used for the authorize flow. */
|
|
591
599
|
AUTHORIZE = "AUTHORIZE"
|
|
592
600
|
}
|
|
601
|
+
/** @enumType */
|
|
602
|
+
export type CallbackTypeWithLiterals = CallbackType | 'UNKNOWN' | 'LOGOUT' | 'CHECKOUT' | 'AUTHORIZE';
|
|
593
603
|
export interface ValidateCallbackURLResponse {
|
|
594
604
|
/** Indicates if the provided URL is allowed for the given client id */
|
|
595
605
|
isValid?: boolean;
|
|
@@ -609,7 +619,7 @@ export interface AttachAllTemplatesRequest {
|
|
|
609
619
|
}
|
|
610
620
|
export interface AttachAllTemplatesResponse {
|
|
611
621
|
/** The status of the operation. */
|
|
612
|
-
status?:
|
|
622
|
+
status?: StatusWithLiterals;
|
|
613
623
|
}
|
|
614
624
|
export declare enum Status {
|
|
615
625
|
/** Invalid value. */
|
|
@@ -619,6 +629,8 @@ export declare enum Status {
|
|
|
619
629
|
/** An error occurred. */
|
|
620
630
|
ERROR = "ERROR"
|
|
621
631
|
}
|
|
632
|
+
/** @enumType */
|
|
633
|
+
export type StatusWithLiterals = Status | 'UNKNOWN' | 'SUCCESS' | 'ERROR';
|
|
622
634
|
export interface DomainEvent extends DomainEventBodyOneOf {
|
|
623
635
|
createdEvent?: EntityCreatedEvent;
|
|
624
636
|
updatedEvent?: EntityUpdatedEvent;
|
|
@@ -719,7 +731,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
|
719
731
|
*/
|
|
720
732
|
appId?: string;
|
|
721
733
|
/** @readonly */
|
|
722
|
-
identityType?:
|
|
734
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
723
735
|
}
|
|
724
736
|
/** @oneof */
|
|
725
737
|
export interface IdentificationDataIdOneOf {
|
|
@@ -751,6 +763,8 @@ export declare enum WebhookIdentityType {
|
|
|
751
763
|
WIX_USER = "WIX_USER",
|
|
752
764
|
APP = "APP"
|
|
753
765
|
}
|
|
766
|
+
/** @enumType */
|
|
767
|
+
export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
754
768
|
export interface BaseEventMetadata {
|
|
755
769
|
/**
|
|
756
770
|
* App instance ID.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"headless-v1-redirect-session-redirects.universal.js","sourceRoot":"","sources":["../../../../src/headless-v1-redirect-session-redirects.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAGiD;AAEjD,yHAA2G;AA+O3G,IAAY,YAKX;AALD,WAAY,YAAY;IACtB,uCAAuB,CAAA;IACvB,iDAAiC,CAAA;IACjC,6CAA6B,CAAA;IAC7B,iCAAiB,CAAA;AACnB,CAAC,EALW,YAAY,4BAAZ,YAAY,QAKvB;
|
|
1
|
+
{"version":3,"file":"headless-v1-redirect-session-redirects.universal.js","sourceRoot":"","sources":["../../../../src/headless-v1-redirect-session-redirects.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAGiD;AAEjD,yHAA2G;AA+O3G,IAAY,YAKX;AALD,WAAY,YAAY;IACtB,uCAAuB,CAAA;IACvB,iDAAiC,CAAA;IACjC,6CAA6B,CAAA;IAC7B,iCAAiB,CAAA;AACnB,CAAC,EALW,YAAY,4BAAZ,YAAY,QAKvB;AAwJD,yGAAyG;AACzG,IAAY,MASX;AATD,WAAY,MAAM;IAChB,uFAAuF;IACvF,yBAAe,CAAA;IACf;;;;OAIG;IACH,uBAAa,CAAA;AACf,CAAC,EATW,MAAM,sBAAN,MAAM,QASjB;AAcD,IAAY,qBAWX;AAXD,WAAY,qBAAqB;IAC/B,4CAA4C;IAC5C,sDAA6B,CAAA;IAC7B,2CAA2C;IAC3C,8CAAqB,CAAA;IACrB,yCAAyC;IACzC,0CAAiB,CAAA;IACjB,6CAA6C;IAC7C,wDAA+B,CAAA;IAC/B,sCAAsC;IACtC,0CAAiB,CAAA;AACnB,CAAC,EAXW,qBAAqB,qCAArB,qBAAqB,QAWhC;AAuLD,IAAY,yBASX;AATD,WAAY,yBAAyB;IACnC,qBAAqB;IACrB,gDAAmB,CAAA;IACnB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USTOM"`: The address as set for the individual session.
|
|
225
225
|
*/
|
|
226
|
-
locationType?:
|
|
226
|
+
locationType?: LocationTypeWithLiterals;
|
|
227
227
|
}
|
|
228
228
|
export declare enum LocationType {
|
|
229
229
|
UNDEFINED = "UNDEFINED",
|
|
@@ -231,6 +231,8 @@ export declare enum LocationType {
|
|
|
231
231
|
OWNER_CUSTOM = "OWNER_CUSTOM",
|
|
232
232
|
CUSTOM = "CUSTOM"
|
|
233
233
|
}
|
|
234
|
+
/** @enumType */
|
|
235
|
+
export type LocationTypeWithLiterals = LocationType | 'UNDEFINED' | 'OWNER_BUSINESS' | 'OWNER_CUSTOM' | 'CUSTOM';
|
|
234
236
|
export interface WaitingList {
|
|
235
237
|
/**
|
|
236
238
|
* Total number of spots and open spots for this waitlist.
|
|
@@ -293,7 +295,7 @@ export interface RedirectSessionLogoutParams {
|
|
|
293
295
|
export interface RedirectSessionAuthParams {
|
|
294
296
|
authRequest?: AuthorizeRequest;
|
|
295
297
|
/** The type of prompt to use during the authorization process. */
|
|
296
|
-
prompt?:
|
|
298
|
+
prompt?: PromptWithLiterals;
|
|
297
299
|
}
|
|
298
300
|
/**
|
|
299
301
|
* AuthorizeRequest is sent by the client to the authorization server to initiate
|
|
@@ -375,13 +377,15 @@ export declare enum Prompt {
|
|
|
375
377
|
*/
|
|
376
378
|
none = "none"
|
|
377
379
|
}
|
|
380
|
+
/** @enumType */
|
|
381
|
+
export type PromptWithLiterals = Prompt | 'login' | 'none';
|
|
378
382
|
export interface RedirectSessionMembersAccountParams {
|
|
379
383
|
/**
|
|
380
384
|
* The member account page to redirect to.
|
|
381
385
|
*
|
|
382
386
|
* Default: `ACCOUNT_INFO`
|
|
383
387
|
*/
|
|
384
|
-
section?:
|
|
388
|
+
section?: MembersAccountSectionWithLiterals;
|
|
385
389
|
}
|
|
386
390
|
export declare enum MembersAccountSection {
|
|
387
391
|
/** Account info section in "my account". */
|
|
@@ -395,6 +399,8 @@ export declare enum MembersAccountSection {
|
|
|
395
399
|
/** Events section in "my account". */
|
|
396
400
|
EVENTS = "EVENTS"
|
|
397
401
|
}
|
|
402
|
+
/** @enumType */
|
|
403
|
+
export type MembersAccountSectionWithLiterals = MembersAccountSection | 'ACCOUNT_INFO' | 'BOOKINGS' | 'ORDERS' | 'SUBSCRIPTIONS' | 'EVENTS';
|
|
398
404
|
export interface RedirectSessionStoresProductParams {
|
|
399
405
|
/** @maxLength 150 */
|
|
400
406
|
productSlug?: string;
|
|
@@ -545,7 +551,7 @@ export interface AttachPagesRequest {
|
|
|
545
551
|
}
|
|
546
552
|
export interface AttachPagesResponse {
|
|
547
553
|
/** The status of the operation. */
|
|
548
|
-
status?:
|
|
554
|
+
status?: AttachPagesResponseStatusWithLiterals;
|
|
549
555
|
/**
|
|
550
556
|
* A descriptive message about the operation
|
|
551
557
|
* @maxLength 2048
|
|
@@ -566,6 +572,8 @@ export declare enum AttachPagesResponseStatus {
|
|
|
566
572
|
/** An error occurred, such as when the site or app is not found. */
|
|
567
573
|
ERROR = "ERROR"
|
|
568
574
|
}
|
|
575
|
+
/** @enumType */
|
|
576
|
+
export type AttachPagesResponseStatusWithLiterals = AttachPagesResponseStatus | 'UNKNOWN' | 'SUCCESS' | 'NO_ACTION' | 'ERROR';
|
|
569
577
|
export interface ValidateCallbackURLRequest {
|
|
570
578
|
/**
|
|
571
579
|
* An external URL to validate
|
|
@@ -573,7 +581,7 @@ export interface ValidateCallbackURLRequest {
|
|
|
573
581
|
*/
|
|
574
582
|
callbackUrl?: string;
|
|
575
583
|
/** Type of the callback URL. */
|
|
576
|
-
callbackType?:
|
|
584
|
+
callbackType?: CallbackTypeWithLiterals;
|
|
577
585
|
/**
|
|
578
586
|
* 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
|
|
579
587
|
* @format GUID
|
|
@@ -590,6 +598,8 @@ export declare enum CallbackType {
|
|
|
590
598
|
/** Callback URL is used for the authorize flow. */
|
|
591
599
|
AUTHORIZE = "AUTHORIZE"
|
|
592
600
|
}
|
|
601
|
+
/** @enumType */
|
|
602
|
+
export type CallbackTypeWithLiterals = CallbackType | 'UNKNOWN' | 'LOGOUT' | 'CHECKOUT' | 'AUTHORIZE';
|
|
593
603
|
export interface ValidateCallbackURLResponse {
|
|
594
604
|
/** Indicates if the provided URL is allowed for the given client id */
|
|
595
605
|
isValid?: boolean;
|
|
@@ -609,7 +619,7 @@ export interface AttachAllTemplatesRequest {
|
|
|
609
619
|
}
|
|
610
620
|
export interface AttachAllTemplatesResponse {
|
|
611
621
|
/** The status of the operation. */
|
|
612
|
-
status?:
|
|
622
|
+
status?: StatusWithLiterals;
|
|
613
623
|
}
|
|
614
624
|
export declare enum Status {
|
|
615
625
|
/** Invalid value. */
|
|
@@ -619,6 +629,8 @@ export declare enum Status {
|
|
|
619
629
|
/** An error occurred. */
|
|
620
630
|
ERROR = "ERROR"
|
|
621
631
|
}
|
|
632
|
+
/** @enumType */
|
|
633
|
+
export type StatusWithLiterals = Status | 'UNKNOWN' | 'SUCCESS' | 'ERROR';
|
|
622
634
|
export interface DomainEvent extends DomainEventBodyOneOf {
|
|
623
635
|
createdEvent?: EntityCreatedEvent;
|
|
624
636
|
updatedEvent?: EntityUpdatedEvent;
|
|
@@ -721,7 +733,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
|
721
733
|
*/
|
|
722
734
|
appId?: string;
|
|
723
735
|
/** @readonly */
|
|
724
|
-
identityType?:
|
|
736
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
725
737
|
}
|
|
726
738
|
/** @oneof */
|
|
727
739
|
export interface IdentificationDataIdOneOf {
|
|
@@ -753,3 +765,5 @@ export declare enum WebhookIdentityType {
|
|
|
753
765
|
WIX_USER = "WIX_USER",
|
|
754
766
|
APP = "APP"
|
|
755
767
|
}
|
|
768
|
+
/** @enumType */
|
|
769
|
+
export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"headless-v1-redirect-session-redirects.types.js","sourceRoot":"","sources":["../../../../src/headless-v1-redirect-session-redirects.types.ts"],"names":[],"mappings":"AA6OA,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;
|
|
1
|
+
{"version":3,"file":"headless-v1-redirect-session-redirects.types.js","sourceRoot":"","sources":["../../../../src/headless-v1-redirect-session-redirects.types.ts"],"names":[],"mappings":"AA6OA,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;AAwJD,yGAAyG;AACzG,MAAM,CAAN,IAAY,MASX;AATD,WAAY,MAAM;IAChB,uFAAuF;IACvF,yBAAe,CAAA;IACf;;;;OAIG;IACH,uBAAa,CAAA;AACf,CAAC,EATW,MAAM,KAAN,MAAM,QASjB;AAcD,MAAM,CAAN,IAAY,qBAWX;AAXD,WAAY,qBAAqB;IAC/B,4CAA4C;IAC5C,sDAA6B,CAAA;IAC7B,2CAA2C;IAC3C,8CAAqB,CAAA;IACrB,yCAAyC;IACzC,0CAAiB,CAAA;IACjB,6CAA6C;IAC7C,wDAA+B,CAAA;IAC/B,sCAAsC;IACtC,0CAAiB,CAAA;AACnB,CAAC,EAXW,qBAAqB,KAArB,qBAAqB,QAWhC;AAwLD,MAAM,CAAN,IAAY,yBASX;AATD,WAAY,yBAAyB;IACnC,qBAAqB;IACrB,gDAAmB,CAAA;IACnB,wCAAwC;IACxC,gDAAmB,CAAA;IACnB,oEAAoE;IACpE,oDAAuB,CAAA;IACvB,oEAAoE;IACpE,4CAAe,CAAA;AACjB,CAAC,EATW,yBAAyB,KAAzB,yBAAyB,QASpC;AAyBD,MAAM,CAAN,IAAY,YASX;AATD,WAAY,YAAY;IACtB,qBAAqB;IACrB,mCAAmB,CAAA;IACnB,gDAAgD;IAChD,iCAAiB,CAAA;IACjB,gDAAgD;IAChD,qCAAqB,CAAA;IACrB,mDAAmD;IACnD,uCAAuB,CAAA;AACzB,CAAC,EATW,YAAY,KAAZ,YAAY,QASvB;AAmCD,MAAM,CAAN,IAAY,MAOX;AAPD,WAAY,MAAM;IAChB,qBAAqB;IACrB,6BAAmB,CAAA;IACnB,4CAA4C;IAC5C,6BAAmB,CAAA;IACnB,yBAAyB;IACzB,yBAAe,CAAA;AACjB,CAAC,EAPW,MAAM,KAAN,MAAM,QAOjB;AA8ID,MAAM,CAAN,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,KAAnB,mBAAmB,QAM9B"}
|
|
@@ -224,7 +224,7 @@ export interface Location {
|
|
|
224
224
|
* - `"OWNER_CUSTOM"`: The address as set when creating the service.
|
|
225
225
|
* - `"CUSTOM"`: The address as set for the individual session.
|
|
226
226
|
*/
|
|
227
|
-
locationType?:
|
|
227
|
+
locationType?: LocationTypeWithLiterals;
|
|
228
228
|
}
|
|
229
229
|
export declare enum LocationType {
|
|
230
230
|
UNDEFINED = "UNDEFINED",
|
|
@@ -232,6 +232,8 @@ export declare enum LocationType {
|
|
|
232
232
|
OWNER_CUSTOM = "OWNER_CUSTOM",
|
|
233
233
|
CUSTOM = "CUSTOM"
|
|
234
234
|
}
|
|
235
|
+
/** @enumType */
|
|
236
|
+
export type LocationTypeWithLiterals = LocationType | 'UNDEFINED' | 'OWNER_BUSINESS' | 'OWNER_CUSTOM' | 'CUSTOM';
|
|
235
237
|
export interface WaitingList {
|
|
236
238
|
/**
|
|
237
239
|
* Total number of spots and open spots for this waitlist.
|
|
@@ -294,7 +296,7 @@ export interface RedirectSessionLogoutParams {
|
|
|
294
296
|
export interface RedirectSessionAuthParams {
|
|
295
297
|
authRequest?: AuthorizeRequest;
|
|
296
298
|
/** The type of prompt to use during the authorization process. */
|
|
297
|
-
prompt?:
|
|
299
|
+
prompt?: PromptWithLiterals;
|
|
298
300
|
}
|
|
299
301
|
/**
|
|
300
302
|
* AuthorizeRequest is sent by the client to the authorization server to initiate
|
|
@@ -376,13 +378,15 @@ export declare enum Prompt {
|
|
|
376
378
|
*/
|
|
377
379
|
none = "none"
|
|
378
380
|
}
|
|
381
|
+
/** @enumType */
|
|
382
|
+
export type PromptWithLiterals = Prompt | 'login' | 'none';
|
|
379
383
|
export interface RedirectSessionMembersAccountParams {
|
|
380
384
|
/**
|
|
381
385
|
* The member account page to redirect to.
|
|
382
386
|
*
|
|
383
387
|
* Default: `ACCOUNT_INFO`
|
|
384
388
|
*/
|
|
385
|
-
section?:
|
|
389
|
+
section?: MembersAccountSectionWithLiterals;
|
|
386
390
|
}
|
|
387
391
|
export declare enum MembersAccountSection {
|
|
388
392
|
/** Account info section in "my account". */
|
|
@@ -396,6 +400,8 @@ export declare enum MembersAccountSection {
|
|
|
396
400
|
/** Events section in "my account". */
|
|
397
401
|
EVENTS = "EVENTS"
|
|
398
402
|
}
|
|
403
|
+
/** @enumType */
|
|
404
|
+
export type MembersAccountSectionWithLiterals = MembersAccountSection | 'ACCOUNT_INFO' | 'BOOKINGS' | 'ORDERS' | 'SUBSCRIPTIONS' | 'EVENTS';
|
|
399
405
|
export interface RedirectSessionStoresProductParams {
|
|
400
406
|
/** @maxLength 150 */
|
|
401
407
|
productSlug?: string;
|
|
@@ -545,7 +551,7 @@ export interface AttachPagesRequest {
|
|
|
545
551
|
}
|
|
546
552
|
export interface AttachPagesResponse {
|
|
547
553
|
/** The status of the operation. */
|
|
548
|
-
status?:
|
|
554
|
+
status?: AttachPagesResponseStatusWithLiterals;
|
|
549
555
|
/**
|
|
550
556
|
* A descriptive message about the operation
|
|
551
557
|
* @maxLength 2048
|
|
@@ -566,6 +572,8 @@ export declare enum AttachPagesResponseStatus {
|
|
|
566
572
|
/** An error occurred, such as when the site or app is not found. */
|
|
567
573
|
ERROR = "ERROR"
|
|
568
574
|
}
|
|
575
|
+
/** @enumType */
|
|
576
|
+
export type AttachPagesResponseStatusWithLiterals = AttachPagesResponseStatus | 'UNKNOWN' | 'SUCCESS' | 'NO_ACTION' | 'ERROR';
|
|
569
577
|
export interface ValidateCallbackURLRequest {
|
|
570
578
|
/**
|
|
571
579
|
* An external URL to validate
|
|
@@ -573,7 +581,7 @@ export interface ValidateCallbackURLRequest {
|
|
|
573
581
|
*/
|
|
574
582
|
callbackUrl?: string;
|
|
575
583
|
/** Type of the callback URL. */
|
|
576
|
-
callbackType?:
|
|
584
|
+
callbackType?: CallbackTypeWithLiterals;
|
|
577
585
|
/**
|
|
578
586
|
* 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
|
|
579
587
|
* @format GUID
|
|
@@ -590,6 +598,8 @@ export declare enum CallbackType {
|
|
|
590
598
|
/** Callback URL is used for the authorize flow. */
|
|
591
599
|
AUTHORIZE = "AUTHORIZE"
|
|
592
600
|
}
|
|
601
|
+
/** @enumType */
|
|
602
|
+
export type CallbackTypeWithLiterals = CallbackType | 'UNKNOWN' | 'LOGOUT' | 'CHECKOUT' | 'AUTHORIZE';
|
|
593
603
|
export interface ValidateCallbackURLResponse {
|
|
594
604
|
/** Indicates if the provided URL is allowed for the given client id */
|
|
595
605
|
isValid?: boolean;
|
|
@@ -609,7 +619,7 @@ export interface AttachAllTemplatesRequest {
|
|
|
609
619
|
}
|
|
610
620
|
export interface AttachAllTemplatesResponse {
|
|
611
621
|
/** The status of the operation. */
|
|
612
|
-
status?:
|
|
622
|
+
status?: StatusWithLiterals;
|
|
613
623
|
}
|
|
614
624
|
export declare enum Status {
|
|
615
625
|
/** Invalid value. */
|
|
@@ -619,6 +629,8 @@ export declare enum Status {
|
|
|
619
629
|
/** An error occurred. */
|
|
620
630
|
ERROR = "ERROR"
|
|
621
631
|
}
|
|
632
|
+
/** @enumType */
|
|
633
|
+
export type StatusWithLiterals = Status | 'UNKNOWN' | 'SUCCESS' | 'ERROR';
|
|
622
634
|
export interface DomainEvent extends DomainEventBodyOneOf {
|
|
623
635
|
createdEvent?: EntityCreatedEvent;
|
|
624
636
|
updatedEvent?: EntityUpdatedEvent;
|
|
@@ -719,7 +731,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
|
719
731
|
*/
|
|
720
732
|
appId?: string;
|
|
721
733
|
/** @readonly */
|
|
722
|
-
identityType?:
|
|
734
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
723
735
|
}
|
|
724
736
|
/** @oneof */
|
|
725
737
|
export interface IdentificationDataIdOneOf {
|
|
@@ -751,6 +763,8 @@ export declare enum WebhookIdentityType {
|
|
|
751
763
|
WIX_USER = "WIX_USER",
|
|
752
764
|
APP = "APP"
|
|
753
765
|
}
|
|
766
|
+
/** @enumType */
|
|
767
|
+
export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
754
768
|
export interface BaseEventMetadata {
|
|
755
769
|
/**
|
|
756
770
|
* App instance ID.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"headless-v1-redirect-session-redirects.universal.js","sourceRoot":"","sources":["../../../../src/headless-v1-redirect-session-redirects.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EACL,qCAAqC,EACrC,uCAAuC,GACxC,MAAM,yCAAyC,CAAC;AAEjD,OAAO,KAAK,sCAAsC,MAAM,kDAAkD,CAAC;AA+O3G,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;
|
|
1
|
+
{"version":3,"file":"headless-v1-redirect-session-redirects.universal.js","sourceRoot":"","sources":["../../../../src/headless-v1-redirect-session-redirects.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EACL,qCAAqC,EACrC,uCAAuC,GACxC,MAAM,yCAAyC,CAAC;AAEjD,OAAO,KAAK,sCAAsC,MAAM,kDAAkD,CAAC;AA+O3G,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;AAwJD,yGAAyG;AACzG,MAAM,CAAN,IAAY,MASX;AATD,WAAY,MAAM;IAChB,uFAAuF;IACvF,yBAAe,CAAA;IACf;;;;OAIG;IACH,uBAAa,CAAA;AACf,CAAC,EATW,MAAM,KAAN,MAAM,QASjB;AAcD,MAAM,CAAN,IAAY,qBAWX;AAXD,WAAY,qBAAqB;IAC/B,4CAA4C;IAC5C,sDAA6B,CAAA;IAC7B,2CAA2C;IAC3C,8CAAqB,CAAA;IACrB,yCAAyC;IACzC,0CAAiB,CAAA;IACjB,6CAA6C;IAC7C,wDAA+B,CAAA;IAC/B,sCAAsC;IACtC,0CAAiB,CAAA;AACnB,CAAC,EAXW,qBAAqB,KAArB,qBAAqB,QAWhC;AAuLD,MAAM,CAAN,IAAY,yBASX;AATD,WAAY,yBAAyB;IACnC,qBAAqB;IACrB,gDAAmB,CAAA;IACnB,wCAAwC;IACxC,gDAAmB,CAAA;IACnB,oEAAoE;IACpE,oDAAuB,CAAA;IACvB,oEAAoE;IACpE,4CAAe,CAAA;AAC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AE,YAAY;QACnC,SAAS,EAAE,OAAO,EAAE,SAAS;QAC7B,WAAW,EAAE,OAAO,EAAE,WAAW;KAClC,CAAC,CAAC;IAEH,MAAM,OAAO,GACX,sCAAsC,CAAC,qBAAqB,CAAC,OAAO,CAAC,CAAC;IAExE,WAAW,EAAE,UAAU,EAAE,EAAE,CAAC;IAC5B,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QACjD,WAAW,EAAE,SAAS,EAAE,CAAC,MAAM,CAAC,CAAC;QAEjC,OAAO,uCAAuC,CAAC,MAAM,CAAC,IAAI,CAAE,CAAC;IAC/D,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,MAAM,gBAAgB,GAAG,iBAAiB,CACxC,GAAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE;gBACxB,gBAAgB,EAAE,uBAAuB;gBACzC,YAAY,EAAE,mBAAmB;gBACjC,cAAc,EAAE,qBAAqB;gBACrC,iBAAiB,EAAE,wBAAwB;gBAC3C,KAAK,EAAE,YAAY;gBACnB,MAAM,EAAE,aAAa;gBACrB,IAAI,EAAE,WAAW;gBACjB,aAAa,EAAE,oBAAoB;gBACnC,YAAY,EAAE,mBAAmB;gBACjC,SAAS,EAAE,gBAAgB;gBAC3B,WAAW,EAAE,kBAAkB;aAChC;YACD,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,SAAS,CAAC,CACZ,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/auto_sdk_redirects_redirects",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.6",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"fqdn": "wix.headless.v1.redirect_session"
|
|
49
49
|
}
|
|
50
50
|
},
|
|
51
|
-
"falconPackageHash": "
|
|
51
|
+
"falconPackageHash": "0fdf85b72078794eb281f49f17cbe3e42cf81c9df01196af7e143a61"
|
|
52
52
|
}
|