@wix/identity 1.0.96 → 1.0.97
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/context.d.ts +0 -1
- package/build/cjs/context.js +1 -2
- package/build/cjs/context.js.map +1 -1
- package/build/cjs/index.d.ts +1 -2
- package/build/cjs/index.js +1 -3
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/meta.d.ts +0 -1
- package/build/cjs/meta.js +1 -2
- package/build/cjs/meta.js.map +1 -1
- package/build/es/context.d.ts +0 -1
- package/build/es/context.js +0 -1
- package/build/es/context.js.map +1 -1
- package/build/es/index.d.ts +1 -2
- package/build/es/index.js +1 -2
- package/build/es/index.js.map +1 -1
- package/build/es/meta.d.ts +0 -1
- package/build/es/meta.js +0 -1
- package/build/es/meta.js.map +1 -1
- package/package.json +2 -3
- package/type-bundles/context.bundle.d.ts +183 -496
- package/type-bundles/index.bundle.d.ts +183 -496
- package/type-bundles/meta.bundle.d.ts +45 -288
|
@@ -1190,7 +1190,7 @@ interface SignOnResponseNonNullableFields {
|
|
|
1190
1190
|
identity?: IdentityNonNullableFields$4;
|
|
1191
1191
|
}
|
|
1192
1192
|
|
|
1193
|
-
type __PublicMethodMetaInfo$
|
|
1193
|
+
type __PublicMethodMetaInfo$4<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
1194
1194
|
getUrl: (context: any) => string;
|
|
1195
1195
|
httpMethod: K;
|
|
1196
1196
|
path: string;
|
|
@@ -1200,32 +1200,32 @@ type __PublicMethodMetaInfo$5<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
1200
1200
|
__responseType: Q;
|
|
1201
1201
|
__originalResponseType: R;
|
|
1202
1202
|
};
|
|
1203
|
-
declare function registerV2(): __PublicMethodMetaInfo$
|
|
1204
|
-
declare function loginV2(): __PublicMethodMetaInfo$
|
|
1205
|
-
declare function changePassword(): __PublicMethodMetaInfo$
|
|
1206
|
-
declare function loginWithIdpConnection(): __PublicMethodMetaInfo$
|
|
1203
|
+
declare function registerV2(): __PublicMethodMetaInfo$4<'POST', {}, RegisterV2Request, RegisterV2Request$1, StateMachineResponse$4 & StateMachineResponseNonNullableFields$4, StateMachineResponse$5 & StateMachineResponseNonNullableFields$5>;
|
|
1204
|
+
declare function loginV2(): __PublicMethodMetaInfo$4<'POST', {}, LoginV2Request, LoginV2Request$1, StateMachineResponse$4 & StateMachineResponseNonNullableFields$4, StateMachineResponse$5 & StateMachineResponseNonNullableFields$5>;
|
|
1205
|
+
declare function changePassword(): __PublicMethodMetaInfo$4<'POST', {}, ChangePasswordRequest, ChangePasswordRequest$1, ChangePasswordResponse, ChangePasswordResponse$1>;
|
|
1206
|
+
declare function loginWithIdpConnection(): __PublicMethodMetaInfo$4<'GET', {
|
|
1207
1207
|
tenantId: string;
|
|
1208
1208
|
idpConnectionId: string;
|
|
1209
1209
|
}, LoginWithIdpConnectionRequest, LoginWithIdpConnectionRequest$1, RawHttpResponse$2 & RawHttpResponseNonNullableFields$2, RawHttpResponse$3 & RawHttpResponseNonNullableFields$3>;
|
|
1210
|
-
declare function loginCallback(): __PublicMethodMetaInfo$
|
|
1211
|
-
declare function loginWithIdpConnectionTokenParams(): __PublicMethodMetaInfo$
|
|
1212
|
-
declare function signOn(): __PublicMethodMetaInfo$
|
|
1213
|
-
declare function logout(): __PublicMethodMetaInfo$
|
|
1214
|
-
declare function verify(): __PublicMethodMetaInfo$
|
|
1210
|
+
declare function loginCallback(): __PublicMethodMetaInfo$4<'GET', {}, LoginCallbackRequest, LoginCallbackRequest$1, RawHttpResponse$2 & RawHttpResponseNonNullableFields$2, RawHttpResponse$3 & RawHttpResponseNonNullableFields$3>;
|
|
1211
|
+
declare function loginWithIdpConnectionTokenParams(): __PublicMethodMetaInfo$4<'POST', {}, LoginWithIdpConnectionTokenParamsRequest, LoginWithIdpConnectionTokenParamsRequest$1, StateMachineResponse$4 & StateMachineResponseNonNullableFields$4, StateMachineResponse$5 & StateMachineResponseNonNullableFields$5>;
|
|
1212
|
+
declare function signOn(): __PublicMethodMetaInfo$4<'POST', {}, SignOnRequest, SignOnRequest$1, SignOnResponse & SignOnResponseNonNullableFields, SignOnResponse$1 & SignOnResponseNonNullableFields$1>;
|
|
1213
|
+
declare function logout(): __PublicMethodMetaInfo$4<'GET', {}, LogoutRequest, LogoutRequest$1, RawHttpResponse$2 & RawHttpResponseNonNullableFields$2, RawHttpResponse$3 & RawHttpResponseNonNullableFields$3>;
|
|
1214
|
+
declare function verify(): __PublicMethodMetaInfo$4<'POST', {
|
|
1215
1215
|
factorType: string;
|
|
1216
1216
|
}, VerifyRequest, VerifyRequest$1, StateMachineResponse$4 & StateMachineResponseNonNullableFields$4, StateMachineResponse$5 & StateMachineResponseNonNullableFields$5>;
|
|
1217
1217
|
|
|
1218
|
-
declare const meta$
|
|
1219
|
-
declare const meta$
|
|
1220
|
-
declare const meta$
|
|
1221
|
-
declare const meta$
|
|
1222
|
-
declare const meta$
|
|
1223
|
-
declare const meta$
|
|
1224
|
-
declare const meta$
|
|
1225
|
-
declare const meta$
|
|
1226
|
-
declare const meta$
|
|
1227
|
-
declare namespace meta$
|
|
1228
|
-
export { type __PublicMethodMetaInfo$
|
|
1218
|
+
declare const meta$4_changePassword: typeof changePassword;
|
|
1219
|
+
declare const meta$4_loginCallback: typeof loginCallback;
|
|
1220
|
+
declare const meta$4_loginV2: typeof loginV2;
|
|
1221
|
+
declare const meta$4_loginWithIdpConnection: typeof loginWithIdpConnection;
|
|
1222
|
+
declare const meta$4_loginWithIdpConnectionTokenParams: typeof loginWithIdpConnectionTokenParams;
|
|
1223
|
+
declare const meta$4_logout: typeof logout;
|
|
1224
|
+
declare const meta$4_registerV2: typeof registerV2;
|
|
1225
|
+
declare const meta$4_signOn: typeof signOn;
|
|
1226
|
+
declare const meta$4_verify: typeof verify;
|
|
1227
|
+
declare namespace meta$4 {
|
|
1228
|
+
export { type __PublicMethodMetaInfo$4 as __PublicMethodMetaInfo, meta$4_changePassword as changePassword, meta$4_loginCallback as loginCallback, meta$4_loginV2 as loginV2, meta$4_loginWithIdpConnection as loginWithIdpConnection, meta$4_loginWithIdpConnectionTokenParams as loginWithIdpConnectionTokenParams, meta$4_logout as logout, meta$4_registerV2 as registerV2, meta$4_signOn as signOn, meta$4_verify as verify };
|
|
1229
1229
|
}
|
|
1230
1230
|
|
|
1231
1231
|
interface SendRecoveryEmailRequest$1 {
|
|
@@ -2178,7 +2178,7 @@ interface StateMachineResponseNonNullableFields$2 {
|
|
|
2178
2178
|
identity?: IdentityNonNullableFields$2;
|
|
2179
2179
|
}
|
|
2180
2180
|
|
|
2181
|
-
type __PublicMethodMetaInfo$
|
|
2181
|
+
type __PublicMethodMetaInfo$3<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
2182
2182
|
getUrl: (context: any) => string;
|
|
2183
2183
|
httpMethod: K;
|
|
2184
2184
|
path: string;
|
|
@@ -2188,15 +2188,15 @@ type __PublicMethodMetaInfo$4<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
2188
2188
|
__responseType: Q;
|
|
2189
2189
|
__originalResponseType: R;
|
|
2190
2190
|
};
|
|
2191
|
-
declare function sendRecoveryEmail(): __PublicMethodMetaInfo$
|
|
2192
|
-
declare function sendActivationEmail(): __PublicMethodMetaInfo$
|
|
2193
|
-
declare function recover(): __PublicMethodMetaInfo$
|
|
2191
|
+
declare function sendRecoveryEmail(): __PublicMethodMetaInfo$3<'POST', {}, SendRecoveryEmailRequest, SendRecoveryEmailRequest$1, SendRecoveryEmailResponse, SendRecoveryEmailResponse$1>;
|
|
2192
|
+
declare function sendActivationEmail(): __PublicMethodMetaInfo$3<'POST', {}, SendActivationEmailRequest, SendActivationEmailRequest$1, SendActivationEmailResponse, SendActivationEmailResponse$1>;
|
|
2193
|
+
declare function recover(): __PublicMethodMetaInfo$3<'POST', {}, RecoverRequest, RecoverRequest$1, StateMachineResponse$2 & StateMachineResponseNonNullableFields$2, StateMachineResponse$3 & StateMachineResponseNonNullableFields$3>;
|
|
2194
2194
|
|
|
2195
|
-
declare const meta$
|
|
2196
|
-
declare const meta$
|
|
2197
|
-
declare const meta$
|
|
2198
|
-
declare namespace meta$
|
|
2199
|
-
export { type __PublicMethodMetaInfo$
|
|
2195
|
+
declare const meta$3_recover: typeof recover;
|
|
2196
|
+
declare const meta$3_sendActivationEmail: typeof sendActivationEmail;
|
|
2197
|
+
declare const meta$3_sendRecoveryEmail: typeof sendRecoveryEmail;
|
|
2198
|
+
declare namespace meta$3 {
|
|
2199
|
+
export { type __PublicMethodMetaInfo$3 as __PublicMethodMetaInfo, meta$3_recover as recover, meta$3_sendActivationEmail as sendActivationEmail, meta$3_sendRecoveryEmail as sendRecoveryEmail };
|
|
2200
2200
|
}
|
|
2201
2201
|
|
|
2202
2202
|
interface StartResponse$1 {
|
|
@@ -3137,7 +3137,7 @@ interface StateMachineResponseNonNullableFields {
|
|
|
3137
3137
|
identity?: IdentityNonNullableFields;
|
|
3138
3138
|
}
|
|
3139
3139
|
|
|
3140
|
-
type __PublicMethodMetaInfo$
|
|
3140
|
+
type __PublicMethodMetaInfo$2<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
3141
3141
|
getUrl: (context: any) => string;
|
|
3142
3142
|
httpMethod: K;
|
|
3143
3143
|
path: string;
|
|
@@ -3147,15 +3147,15 @@ type __PublicMethodMetaInfo$3<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
3147
3147
|
__responseType: Q;
|
|
3148
3148
|
__originalResponseType: R;
|
|
3149
3149
|
};
|
|
3150
|
-
declare function start(): __PublicMethodMetaInfo$
|
|
3151
|
-
declare function verifyDuringAuthentication(): __PublicMethodMetaInfo$
|
|
3152
|
-
declare function resendDuringAuthentication(): __PublicMethodMetaInfo$
|
|
3150
|
+
declare function start(): __PublicMethodMetaInfo$2<'POST', {}, StartRequest, StartRequest$1, StartResponse & StartResponseNonNullableFields, StartResponse$1 & StartResponseNonNullableFields$1>;
|
|
3151
|
+
declare function verifyDuringAuthentication(): __PublicMethodMetaInfo$2<'POST', {}, VerifyDuringAuthenticationRequest, VerifyDuringAuthenticationRequest$1, StateMachineResponse & StateMachineResponseNonNullableFields, StateMachineResponse$1 & StateMachineResponseNonNullableFields$1>;
|
|
3152
|
+
declare function resendDuringAuthentication(): __PublicMethodMetaInfo$2<'POST', {}, ResendDuringAuthenticationRequest, ResendDuringAuthenticationRequest$1, StateMachineResponse & StateMachineResponseNonNullableFields, StateMachineResponse$1 & StateMachineResponseNonNullableFields$1>;
|
|
3153
3153
|
|
|
3154
|
-
declare const meta$
|
|
3155
|
-
declare const meta$
|
|
3156
|
-
declare const meta$
|
|
3157
|
-
declare namespace meta$
|
|
3158
|
-
export { type __PublicMethodMetaInfo$
|
|
3154
|
+
declare const meta$2_resendDuringAuthentication: typeof resendDuringAuthentication;
|
|
3155
|
+
declare const meta$2_start: typeof start;
|
|
3156
|
+
declare const meta$2_verifyDuringAuthentication: typeof verifyDuringAuthentication;
|
|
3157
|
+
declare namespace meta$2 {
|
|
3158
|
+
export { type __PublicMethodMetaInfo$2 as __PublicMethodMetaInfo, meta$2_resendDuringAuthentication as resendDuringAuthentication, meta$2_start as start, meta$2_verifyDuringAuthentication as verifyDuringAuthentication };
|
|
3159
3159
|
}
|
|
3160
3160
|
|
|
3161
3161
|
interface AccountV2$1 {
|
|
@@ -3356,243 +3356,6 @@ interface ListChildAccountsResponseNonNullableFields {
|
|
|
3356
3356
|
childAccounts: AccountV2NonNullableFields[];
|
|
3357
3357
|
}
|
|
3358
3358
|
|
|
3359
|
-
type __PublicMethodMetaInfo$2<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
3360
|
-
getUrl: (context: any) => string;
|
|
3361
|
-
httpMethod: K;
|
|
3362
|
-
path: string;
|
|
3363
|
-
pathParams: M;
|
|
3364
|
-
__requestType: T;
|
|
3365
|
-
__originalRequestType: S;
|
|
3366
|
-
__responseType: Q;
|
|
3367
|
-
__originalResponseType: R;
|
|
3368
|
-
};
|
|
3369
|
-
declare function createAccount(): __PublicMethodMetaInfo$2<'POST', {}, CreateAccountRequest, CreateAccountRequest$1, CreateAccountResponse & CreateAccountResponseNonNullableFields, CreateAccountResponse$1 & CreateAccountResponseNonNullableFields$1>;
|
|
3370
|
-
declare function listChildAccounts(): __PublicMethodMetaInfo$2<'GET', {}, ListChildAccountsRequest, ListChildAccountsRequest$1, ListChildAccountsResponse & ListChildAccountsResponseNonNullableFields, ListChildAccountsResponse$1 & ListChildAccountsResponseNonNullableFields$1>;
|
|
3371
|
-
|
|
3372
|
-
declare const meta$2_createAccount: typeof createAccount;
|
|
3373
|
-
declare const meta$2_listChildAccounts: typeof listChildAccounts;
|
|
3374
|
-
declare namespace meta$2 {
|
|
3375
|
-
export { type __PublicMethodMetaInfo$2 as __PublicMethodMetaInfo, meta$2_createAccount as createAccount, meta$2_listChildAccounts as listChildAccounts };
|
|
3376
|
-
}
|
|
3377
|
-
|
|
3378
|
-
interface SiteInvite$1 {
|
|
3379
|
-
/**
|
|
3380
|
-
* Invite ID.
|
|
3381
|
-
* @readonly
|
|
3382
|
-
*/
|
|
3383
|
-
id?: string;
|
|
3384
|
-
/**
|
|
3385
|
-
* Site ID the user is invited to as a collaborator.
|
|
3386
|
-
* @readonly
|
|
3387
|
-
*/
|
|
3388
|
-
siteId?: string;
|
|
3389
|
-
/** Email address where the invite was sent. */
|
|
3390
|
-
email?: string;
|
|
3391
|
-
/** Role IDs included in the invite. */
|
|
3392
|
-
policyIds?: string[];
|
|
3393
|
-
/**
|
|
3394
|
-
* Deprecated. Use `inviterAccountId`.
|
|
3395
|
-
* @readonly
|
|
3396
|
-
* @deprecated
|
|
3397
|
-
*/
|
|
3398
|
-
inviterId?: string;
|
|
3399
|
-
/**
|
|
3400
|
-
* Invite Status.
|
|
3401
|
-
*
|
|
3402
|
-
* Supported values:
|
|
3403
|
-
* - **Pending:** The invite has been sent and is valid, waiting for the user's response.
|
|
3404
|
-
* - **Used:** The invite has been accepted.
|
|
3405
|
-
* - **Deleted:** The invite has been deleted or revoked.
|
|
3406
|
-
* - **Declined:** The user declined the invite.
|
|
3407
|
-
* - **Expired:** The invite has expired without being accepted.
|
|
3408
|
-
*/
|
|
3409
|
-
status?: InviteStatus$1;
|
|
3410
|
-
/** Link to accept the invite. */
|
|
3411
|
-
acceptLink?: string;
|
|
3412
|
-
/**
|
|
3413
|
-
* Inviting account ID.
|
|
3414
|
-
* @readonly
|
|
3415
|
-
*/
|
|
3416
|
-
inviterAccountId?: string;
|
|
3417
|
-
/**
|
|
3418
|
-
* Account ID that accepted the invite. Populated only once the invite is accepted.
|
|
3419
|
-
* @readonly
|
|
3420
|
-
*/
|
|
3421
|
-
acceptedByAccountId?: string | null;
|
|
3422
|
-
/** Date the invite was created. */
|
|
3423
|
-
dateCreated?: Date | null;
|
|
3424
|
-
/** User's Wix Bookings staff ID, if relevant. */
|
|
3425
|
-
staffId?: string | null;
|
|
3426
|
-
/** Invite expiration date */
|
|
3427
|
-
expirationDate?: Date | null;
|
|
3428
|
-
}
|
|
3429
|
-
/** Invite status stating whether the invite was accepted, waiting to be accepted, deleted etc.. */
|
|
3430
|
-
declare enum InviteStatus$1 {
|
|
3431
|
-
Pending = "Pending",
|
|
3432
|
-
Used = "Used",
|
|
3433
|
-
Deleted = "Deleted",
|
|
3434
|
-
Declined = "Declined",
|
|
3435
|
-
Expired = "Expired"
|
|
3436
|
-
}
|
|
3437
|
-
interface SiteInviteResponse$1 {
|
|
3438
|
-
/** Invites that were sent. */
|
|
3439
|
-
invite?: SiteInvite$1;
|
|
3440
|
-
}
|
|
3441
|
-
interface BulkSiteInviteRequest$1 {
|
|
3442
|
-
/** Role IDs, referred to as policy IDs, to assign to the contributors. */
|
|
3443
|
-
policyIds: string[];
|
|
3444
|
-
/** Email addresses to which the invites should be sent. */
|
|
3445
|
-
emails: string[];
|
|
3446
|
-
/** Details explaining the purpose of the invite. */
|
|
3447
|
-
invitePurpose?: string | null;
|
|
3448
|
-
/** Language of emails to send. Relevant only for recipients that don't currently have a Wix user ID. Default: Site owner's language. */
|
|
3449
|
-
defaultEmailLanguage?: string | null;
|
|
3450
|
-
}
|
|
3451
|
-
interface BulkSiteInviteResponse$1 {
|
|
3452
|
-
/** Invites that were sent successfully. */
|
|
3453
|
-
invites?: SiteInvite$1[];
|
|
3454
|
-
/** Invites that failed. */
|
|
3455
|
-
failedEmails?: string[];
|
|
3456
|
-
}
|
|
3457
|
-
interface ResendSiteInviteRequest$1 {
|
|
3458
|
-
/** Invite ID. */
|
|
3459
|
-
inviteId: string;
|
|
3460
|
-
/** Language of emails to send. Relevant only for recipients that don't currently have a Wix user ID. Default: Site owner's language. */
|
|
3461
|
-
defaultEmailLanguage?: string | null;
|
|
3462
|
-
}
|
|
3463
|
-
interface RevokeSiteInviteRequest$1 {
|
|
3464
|
-
/** Invite ID. */
|
|
3465
|
-
inviteId: string;
|
|
3466
|
-
}
|
|
3467
|
-
interface RevokeSiteInviteResponse$1 {
|
|
3468
|
-
}
|
|
3469
|
-
interface SiteInviteNonNullableFields$1 {
|
|
3470
|
-
id: string;
|
|
3471
|
-
siteId: string;
|
|
3472
|
-
email: string;
|
|
3473
|
-
policyIds: string[];
|
|
3474
|
-
inviterId: string;
|
|
3475
|
-
status: InviteStatus$1;
|
|
3476
|
-
acceptLink: string;
|
|
3477
|
-
inviterAccountId: string;
|
|
3478
|
-
}
|
|
3479
|
-
interface BulkSiteInviteResponseNonNullableFields$1 {
|
|
3480
|
-
invites: SiteInviteNonNullableFields$1[];
|
|
3481
|
-
failedEmails: string[];
|
|
3482
|
-
}
|
|
3483
|
-
interface SiteInviteResponseNonNullableFields$1 {
|
|
3484
|
-
invite?: SiteInviteNonNullableFields$1;
|
|
3485
|
-
}
|
|
3486
|
-
|
|
3487
|
-
interface SiteInvite {
|
|
3488
|
-
/**
|
|
3489
|
-
* Invite ID.
|
|
3490
|
-
* @readonly
|
|
3491
|
-
*/
|
|
3492
|
-
_id?: string;
|
|
3493
|
-
/**
|
|
3494
|
-
* Site ID the user is invited to as a collaborator.
|
|
3495
|
-
* @readonly
|
|
3496
|
-
*/
|
|
3497
|
-
siteId?: string;
|
|
3498
|
-
/** Email address where the invite was sent. */
|
|
3499
|
-
email?: string;
|
|
3500
|
-
/** Role IDs included in the invite. */
|
|
3501
|
-
policyIds?: string[];
|
|
3502
|
-
/**
|
|
3503
|
-
* Deprecated. Use `inviterAccountId`.
|
|
3504
|
-
* @readonly
|
|
3505
|
-
* @deprecated
|
|
3506
|
-
*/
|
|
3507
|
-
inviterId?: string;
|
|
3508
|
-
/**
|
|
3509
|
-
* Invite Status.
|
|
3510
|
-
*
|
|
3511
|
-
* Supported values:
|
|
3512
|
-
* - **Pending:** The invite has been sent and is valid, waiting for the user's response.
|
|
3513
|
-
* - **Used:** The invite has been accepted.
|
|
3514
|
-
* - **Deleted:** The invite has been deleted or revoked.
|
|
3515
|
-
* - **Declined:** The user declined the invite.
|
|
3516
|
-
* - **Expired:** The invite has expired without being accepted.
|
|
3517
|
-
*/
|
|
3518
|
-
status?: InviteStatus;
|
|
3519
|
-
/** Link to accept the invite. */
|
|
3520
|
-
acceptLink?: string;
|
|
3521
|
-
/**
|
|
3522
|
-
* Inviting account ID.
|
|
3523
|
-
* @readonly
|
|
3524
|
-
*/
|
|
3525
|
-
inviterAccountId?: string;
|
|
3526
|
-
/**
|
|
3527
|
-
* Account ID that accepted the invite. Populated only once the invite is accepted.
|
|
3528
|
-
* @readonly
|
|
3529
|
-
*/
|
|
3530
|
-
acceptedByAccountId?: string | null;
|
|
3531
|
-
/** Date the invite was created. */
|
|
3532
|
-
dateCreated?: Date | null;
|
|
3533
|
-
/** User's Wix Bookings staff ID, if relevant. */
|
|
3534
|
-
staffId?: string | null;
|
|
3535
|
-
/** Invite expiration date */
|
|
3536
|
-
expirationDate?: Date | null;
|
|
3537
|
-
}
|
|
3538
|
-
/** Invite status stating whether the invite was accepted, waiting to be accepted, deleted etc.. */
|
|
3539
|
-
declare enum InviteStatus {
|
|
3540
|
-
Pending = "Pending",
|
|
3541
|
-
Used = "Used",
|
|
3542
|
-
Deleted = "Deleted",
|
|
3543
|
-
Declined = "Declined",
|
|
3544
|
-
Expired = "Expired"
|
|
3545
|
-
}
|
|
3546
|
-
interface SiteInviteResponse {
|
|
3547
|
-
/** Invites that were sent. */
|
|
3548
|
-
invite?: SiteInvite;
|
|
3549
|
-
}
|
|
3550
|
-
interface BulkSiteInviteRequest {
|
|
3551
|
-
/** Role IDs, referred to as policy IDs, to assign to the contributors. */
|
|
3552
|
-
policyIds: string[];
|
|
3553
|
-
/** Email addresses to which the invites should be sent. */
|
|
3554
|
-
emails: string[];
|
|
3555
|
-
/** Details explaining the purpose of the invite. */
|
|
3556
|
-
invitePurpose?: string | null;
|
|
3557
|
-
/** Language of emails to send. Relevant only for recipients that don't currently have a Wix user ID. Default: Site owner's language. */
|
|
3558
|
-
defaultEmailLanguage?: string | null;
|
|
3559
|
-
}
|
|
3560
|
-
interface BulkSiteInviteResponse {
|
|
3561
|
-
/** Invites that were sent successfully. */
|
|
3562
|
-
invites?: SiteInvite[];
|
|
3563
|
-
/** Invites that failed. */
|
|
3564
|
-
failedEmails?: string[];
|
|
3565
|
-
}
|
|
3566
|
-
interface ResendSiteInviteRequest {
|
|
3567
|
-
/** Invite ID. */
|
|
3568
|
-
inviteId: string;
|
|
3569
|
-
/** Language of emails to send. Relevant only for recipients that don't currently have a Wix user ID. Default: Site owner's language. */
|
|
3570
|
-
defaultEmailLanguage?: string | null;
|
|
3571
|
-
}
|
|
3572
|
-
interface RevokeSiteInviteRequest {
|
|
3573
|
-
/** Invite ID. */
|
|
3574
|
-
inviteId: string;
|
|
3575
|
-
}
|
|
3576
|
-
interface RevokeSiteInviteResponse {
|
|
3577
|
-
}
|
|
3578
|
-
interface SiteInviteNonNullableFields {
|
|
3579
|
-
_id: string;
|
|
3580
|
-
siteId: string;
|
|
3581
|
-
email: string;
|
|
3582
|
-
policyIds: string[];
|
|
3583
|
-
inviterId: string;
|
|
3584
|
-
status: InviteStatus;
|
|
3585
|
-
acceptLink: string;
|
|
3586
|
-
inviterAccountId: string;
|
|
3587
|
-
}
|
|
3588
|
-
interface BulkSiteInviteResponseNonNullableFields {
|
|
3589
|
-
invites: SiteInviteNonNullableFields[];
|
|
3590
|
-
failedEmails: string[];
|
|
3591
|
-
}
|
|
3592
|
-
interface SiteInviteResponseNonNullableFields {
|
|
3593
|
-
invite?: SiteInviteNonNullableFields;
|
|
3594
|
-
}
|
|
3595
|
-
|
|
3596
3359
|
type __PublicMethodMetaInfo$1<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
3597
3360
|
getUrl: (context: any) => string;
|
|
3598
3361
|
httpMethod: K;
|
|
@@ -3603,19 +3366,13 @@ type __PublicMethodMetaInfo$1<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
3603
3366
|
__responseType: Q;
|
|
3604
3367
|
__originalResponseType: R;
|
|
3605
3368
|
};
|
|
3606
|
-
declare function
|
|
3607
|
-
declare function
|
|
3608
|
-
inviteId: string;
|
|
3609
|
-
}, ResendSiteInviteRequest, ResendSiteInviteRequest$1, SiteInviteResponse & SiteInviteResponseNonNullableFields, SiteInviteResponse$1 & SiteInviteResponseNonNullableFields$1>;
|
|
3610
|
-
declare function revokeInvite(): __PublicMethodMetaInfo$1<'POST', {
|
|
3611
|
-
inviteId: string;
|
|
3612
|
-
}, RevokeSiteInviteRequest, RevokeSiteInviteRequest$1, RevokeSiteInviteResponse, RevokeSiteInviteResponse$1>;
|
|
3369
|
+
declare function createAccount(): __PublicMethodMetaInfo$1<'POST', {}, CreateAccountRequest, CreateAccountRequest$1, CreateAccountResponse & CreateAccountResponseNonNullableFields, CreateAccountResponse$1 & CreateAccountResponseNonNullableFields$1>;
|
|
3370
|
+
declare function listChildAccounts(): __PublicMethodMetaInfo$1<'GET', {}, ListChildAccountsRequest, ListChildAccountsRequest$1, ListChildAccountsResponse & ListChildAccountsResponseNonNullableFields, ListChildAccountsResponse$1 & ListChildAccountsResponseNonNullableFields$1>;
|
|
3613
3371
|
|
|
3614
|
-
declare const meta$
|
|
3615
|
-
declare const meta$
|
|
3616
|
-
declare const meta$1_revokeInvite: typeof revokeInvite;
|
|
3372
|
+
declare const meta$1_createAccount: typeof createAccount;
|
|
3373
|
+
declare const meta$1_listChildAccounts: typeof listChildAccounts;
|
|
3617
3374
|
declare namespace meta$1 {
|
|
3618
|
-
export { type __PublicMethodMetaInfo$1 as __PublicMethodMetaInfo, meta$
|
|
3375
|
+
export { type __PublicMethodMetaInfo$1 as __PublicMethodMetaInfo, meta$1_createAccount as createAccount, meta$1_listChildAccounts as listChildAccounts };
|
|
3619
3376
|
}
|
|
3620
3377
|
|
|
3621
3378
|
interface RawHttpResponse$1 {
|
|
@@ -3786,4 +3543,4 @@ declare namespace meta {
|
|
|
3786
3543
|
export { type meta___PublicMethodMetaInfo as __PublicMethodMetaInfo, meta_token as token, meta_tokenInfo as tokenInfo };
|
|
3787
3544
|
}
|
|
3788
3545
|
|
|
3789
|
-
export { meta$
|
|
3546
|
+
export { meta$1 as account, meta$4 as authentication, meta as oauth, meta$3 as recovery, meta$2 as verification };
|