@wix/auto_sdk_user-management_contributors 1.0.5 → 1.0.7
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/identity-v1-contributor-contributors.context.d.ts +1 -1
- package/build/cjs/src/identity-v1-contributor-contributors.meta.d.ts +4 -4
- package/build/cjs/src/identity-v1-contributor-contributors.meta.js.map +1 -1
- package/build/cjs/src/identity-v1-contributor-contributors.public.d.ts +4 -4
- package/build/cjs/src/identity-v1-contributor-contributors.public.js.map +1 -1
- package/build/cjs/src/identity-v1-contributor-contributors.types.d.ts +0 -96
- package/build/cjs/src/identity-v1-contributor-contributors.universal.d.ts +8 -101
- package/build/cjs/src/identity-v1-contributor-contributors.universal.js +8 -2
- package/build/cjs/src/identity-v1-contributor-contributors.universal.js.map +1 -1
- package/build/es/src/identity-v1-contributor-contributors.context.d.ts +1 -1
- package/build/es/src/identity-v1-contributor-contributors.meta.d.ts +4 -4
- package/build/es/src/identity-v1-contributor-contributors.meta.js.map +1 -1
- package/build/es/src/identity-v1-contributor-contributors.public.d.ts +4 -4
- package/build/es/src/identity-v1-contributor-contributors.public.js.map +1 -1
- package/build/es/src/identity-v1-contributor-contributors.types.d.ts +0 -96
- package/build/es/src/identity-v1-contributor-contributors.universal.d.ts +8 -101
- package/build/es/src/identity-v1-contributor-contributors.universal.js +8 -2
- package/build/es/src/identity-v1-contributor-contributors.universal.js.map +1 -1
- package/build/internal/cjs/src/identity-v1-contributor-contributors.context.d.ts +1 -1
- package/build/internal/cjs/src/identity-v1-contributor-contributors.meta.d.ts +4 -4
- package/build/internal/cjs/src/identity-v1-contributor-contributors.meta.js.map +1 -1
- package/build/internal/cjs/src/identity-v1-contributor-contributors.public.d.ts +6 -6
- package/build/internal/cjs/src/identity-v1-contributor-contributors.public.js.map +1 -1
- package/build/internal/cjs/src/identity-v1-contributor-contributors.types.d.ts +0 -96
- package/build/internal/cjs/src/identity-v1-contributor-contributors.universal.d.ts +17 -102
- package/build/internal/cjs/src/identity-v1-contributor-contributors.universal.js +8 -2
- package/build/internal/cjs/src/identity-v1-contributor-contributors.universal.js.map +1 -1
- package/build/internal/es/src/identity-v1-contributor-contributors.context.d.ts +1 -1
- package/build/internal/es/src/identity-v1-contributor-contributors.meta.d.ts +4 -4
- package/build/internal/es/src/identity-v1-contributor-contributors.meta.js.map +1 -1
- package/build/internal/es/src/identity-v1-contributor-contributors.public.d.ts +6 -6
- package/build/internal/es/src/identity-v1-contributor-contributors.public.js.map +1 -1
- package/build/internal/es/src/identity-v1-contributor-contributors.types.d.ts +0 -96
- package/build/internal/es/src/identity-v1-contributor-contributors.universal.d.ts +17 -102
- package/build/internal/es/src/identity-v1-contributor-contributors.universal.js +8 -2
- package/build/internal/es/src/identity-v1-contributor-contributors.universal.js.map +1 -1
- package/package.json +4 -4
|
@@ -4,4 +4,4 @@ export declare const changeRole: MaybeContext<BuildRESTFunction<typeof publicCha
|
|
|
4
4
|
export declare const changeContributorLocation: MaybeContext<BuildRESTFunction<typeof publicChangeContributorLocation> & typeof publicChangeContributorLocation>;
|
|
5
5
|
export declare const querySiteContributors: MaybeContext<BuildRESTFunction<typeof publicQuerySiteContributors> & typeof publicQuerySiteContributors>;
|
|
6
6
|
export { ResourceType, ConditionAttributeType, SubjectType, SubjectContextType, InviteStatus, Type, FieldSet, } from './identity-v1-contributor-contributors.universal.js';
|
|
7
|
-
export { Contributor, PersonMetaData, Assignment, AssignedPolicy, Restriction, RestrictionRestrictionsOneOf, Resource, Conditions, Condition, SiteRestriction, CompanionResource, LocationsRestriction, Subject, SubjectContext, GetSiteContributorsRequest, GetSiteContributorsResponse, User, Name, Team, AccountInfo, SiteInvite, Policy, PendingOwner, ContributorLimit, PredefinedRoles, PredefinedRole, Role, GetSiteContributorsV2Request, GetSiteContributorsV2Response, ContributorsQuota, ContributorsQuotaOptionsOneOf, LimitedOptions, HandleSiteTransferRequest, HandleSiteTransferResponse, GetCurrentUserRolesRequest, GetCurrentUserRolesResponse, LocalizedRole, BulkGetUserRolesOnSiteRequest, UserSubject, BulkGetUserRolesOnSiteResponse, UserLocalizedRoles, BulkValidateEmailInviteEligibilityRequest, BulkValidateEmailInviteEligibilityResponse, EmailInviteEligibility, ChangeContributorRoleRequest, SiteRoleAssignment, ChangeContributorRoleResponse, ChangeContributorLocationRequest, ChangeContributorLocationResponse, SiteLocationAssignment, QuerySiteContributorsRequest, QuerySiteContributorsFilter, QuerySiteContributorsResponse, ContributorV2, GetContributorsQuotaRequest, GetContributorsQuotaResponse, GetAppContributorsRequest, GetAppContributorsResponse, AppInvite,
|
|
7
|
+
export { Contributor, PersonMetaData, Assignment, AssignedPolicy, Restriction, RestrictionRestrictionsOneOf, Resource, Conditions, Condition, SiteRestriction, CompanionResource, LocationsRestriction, Subject, SubjectContext, GetSiteContributorsRequest, GetSiteContributorsResponse, User, Name, Team, AccountInfo, SiteInvite, Policy, PendingOwner, ContributorLimit, PredefinedRoles, PredefinedRole, Role, GetSiteContributorsV2Request, GetSiteContributorsV2Response, ContributorsQuota, ContributorsQuotaOptionsOneOf, LimitedOptions, HandleSiteTransferRequest, HandleSiteTransferResponse, GetCurrentUserRolesRequest, GetCurrentUserRolesResponse, LocalizedRole, BulkGetUserRolesOnSiteRequest, UserSubject, BulkGetUserRolesOnSiteResponse, UserLocalizedRoles, BulkValidateEmailInviteEligibilityRequest, BulkValidateEmailInviteEligibilityResponse, EmailInviteEligibility, ChangeContributorRoleRequest, SiteRoleAssignment, ChangeContributorRoleResponse, ChangeContributorLocationRequest, ChangeContributorLocationResponse, SiteLocationAssignment, QuerySiteContributorsRequest, QuerySiteContributorsFilter, QuerySiteContributorsResponse, ContributorV2, GetContributorsQuotaRequest, GetContributorsQuotaResponse, GetAppContributorsRequest, GetAppContributorsResponse, AppInvite, GetSiteContributorsV2Options, ChangeRoleOptions, ChangeContributorLocationOptions, QuerySiteContributorsOptions, } from './identity-v1-contributor-contributors.universal.js';
|
|
@@ -10,8 +10,8 @@ export type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unk
|
|
|
10
10
|
__responseType: Q;
|
|
11
11
|
__originalResponseType: R;
|
|
12
12
|
};
|
|
13
|
-
export declare function getSiteContributorsV2(): __PublicMethodMetaInfo<'GET', {}, ambassadorWixIdentityV1ContributorUniversalTypes.GetSiteContributorsV2Request, ambassadorWixIdentityV1ContributorTypes.GetSiteContributorsV2Request, ambassadorWixIdentityV1ContributorUniversalTypes.GetSiteContributorsV2Response
|
|
14
|
-
export declare function changeRole(): __PublicMethodMetaInfo<'PUT', {}, ambassadorWixIdentityV1ContributorUniversalTypes.ChangeContributorRoleRequest, ambassadorWixIdentityV1ContributorTypes.ChangeContributorRoleRequest, ambassadorWixIdentityV1ContributorUniversalTypes.ChangeContributorRoleResponse
|
|
15
|
-
export declare function changeContributorLocation(): __PublicMethodMetaInfo<'PUT', {}, ambassadorWixIdentityV1ContributorUniversalTypes.ChangeContributorLocationRequest, ambassadorWixIdentityV1ContributorTypes.ChangeContributorLocationRequest, ambassadorWixIdentityV1ContributorUniversalTypes.ChangeContributorLocationResponse
|
|
13
|
+
export declare function getSiteContributorsV2(): __PublicMethodMetaInfo<'GET', {}, ambassadorWixIdentityV1ContributorUniversalTypes.GetSiteContributorsV2Request, ambassadorWixIdentityV1ContributorTypes.GetSiteContributorsV2Request, ambassadorWixIdentityV1ContributorUniversalTypes.GetSiteContributorsV2Response, ambassadorWixIdentityV1ContributorTypes.GetSiteContributorsV2Response>;
|
|
14
|
+
export declare function changeRole(): __PublicMethodMetaInfo<'PUT', {}, ambassadorWixIdentityV1ContributorUniversalTypes.ChangeContributorRoleRequest, ambassadorWixIdentityV1ContributorTypes.ChangeContributorRoleRequest, ambassadorWixIdentityV1ContributorUniversalTypes.ChangeContributorRoleResponse, ambassadorWixIdentityV1ContributorTypes.ChangeContributorRoleResponse>;
|
|
15
|
+
export declare function changeContributorLocation(): __PublicMethodMetaInfo<'PUT', {}, ambassadorWixIdentityV1ContributorUniversalTypes.ChangeContributorLocationRequest, ambassadorWixIdentityV1ContributorTypes.ChangeContributorLocationRequest, ambassadorWixIdentityV1ContributorUniversalTypes.ChangeContributorLocationResponse, ambassadorWixIdentityV1ContributorTypes.ChangeContributorLocationResponse>;
|
|
16
16
|
export declare function querySiteContributors(): __PublicMethodMetaInfo<'GET', {}, ambassadorWixIdentityV1ContributorUniversalTypes.QuerySiteContributorsRequest, ambassadorWixIdentityV1ContributorTypes.QuerySiteContributorsRequest, ambassadorWixIdentityV1ContributorUniversalTypes.QuerySiteContributorsResponse, ambassadorWixIdentityV1ContributorTypes.QuerySiteContributorsResponse>;
|
|
17
|
-
export declare function getContributorsQuota(): __PublicMethodMetaInfo<'GET', {}, ambassadorWixIdentityV1ContributorUniversalTypes.GetContributorsQuotaRequest, ambassadorWixIdentityV1ContributorTypes.GetContributorsQuotaRequest, ambassadorWixIdentityV1ContributorUniversalTypes.GetContributorsQuotaResponse
|
|
17
|
+
export declare function getContributorsQuota(): __PublicMethodMetaInfo<'GET', {}, ambassadorWixIdentityV1ContributorUniversalTypes.GetContributorsQuotaRequest, ambassadorWixIdentityV1ContributorTypes.GetContributorsQuotaRequest, ambassadorWixIdentityV1ContributorUniversalTypes.GetContributorsQuotaResponse, ambassadorWixIdentityV1ContributorTypes.GetContributorsQuotaResponse>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"identity-v1-contributor-contributors.meta.js","sourceRoot":"","sources":["../../../src/identity-v1-contributor-contributors.meta.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,mHAAqG;AAsBrG,SAAgB,qBAAqB;
|
|
1
|
+
{"version":3,"file":"identity-v1-contributor-contributors.meta.js","sourceRoot":"","sources":["../../../src/identity-v1-contributor-contributors.meta.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,mHAAqG;AAsBrG,SAAgB,qBAAqB;IAQnC,MAAM,OAAO,GAAG,EAAS,CAAC;IAE1B,MAAM,iBA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BAAqB,EAAE,IAAW;QAClC,cAAc,EAAE,IAAW;QAC3B,sBAAsB,EAAE,IAAW;KACpC,CAAC;AACJ,CAAC;AA5BD,oDA4BC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HttpClient } from '@wix/sdk-types';
|
|
2
|
-
import { ChangeContributorLocationOptions, ChangeContributorLocationResponse,
|
|
2
|
+
import { ChangeContributorLocationOptions, ChangeContributorLocationResponse, ChangeContributorRoleResponse, ChangeRoleOptions, QuerySiteContributorsOptions, QuerySiteContributorsResponse } from './identity-v1-contributor-contributors.universal.js';
|
|
3
3
|
export declare const __metadata: {
|
|
4
4
|
PACKAGE_NAME: string;
|
|
5
5
|
};
|
|
@@ -10,12 +10,12 @@ interface ChangeRoleSignature {
|
|
|
10
10
|
* @param - Contributor's account ID.
|
|
11
11
|
* @param - Filter options. The `newRoles` field **must** be passed.
|
|
12
12
|
*/
|
|
13
|
-
(accountId: string, options: ChangeRoleOptions): Promise<ChangeContributorRoleResponse
|
|
13
|
+
(accountId: string, options: ChangeRoleOptions): Promise<ChangeContributorRoleResponse>;
|
|
14
14
|
}
|
|
15
15
|
export declare function changeContributorLocation(httpClient: HttpClient): ChangeContributorLocationSignature;
|
|
16
16
|
interface ChangeContributorLocationSignature {
|
|
17
17
|
/** @param - Contributor's account ID. */
|
|
18
|
-
(accountId: string, options: ChangeContributorLocationOptions): Promise<ChangeContributorLocationResponse
|
|
18
|
+
(accountId: string, options: ChangeContributorLocationOptions): Promise<ChangeContributorLocationResponse>;
|
|
19
19
|
}
|
|
20
20
|
export declare function querySiteContributors(httpClient: HttpClient): QuerySiteContributorsSignature;
|
|
21
21
|
interface QuerySiteContributorsSignature {
|
|
@@ -25,4 +25,4 @@ interface QuerySiteContributorsSignature {
|
|
|
25
25
|
*/
|
|
26
26
|
(options?: QuerySiteContributorsOptions | undefined): Promise<QuerySiteContributorsResponse>;
|
|
27
27
|
}
|
|
28
|
-
export { AccountInfo, AppInvite, AssignedPolicy, Assignment, BulkGetUserRolesOnSiteRequest, BulkGetUserRolesOnSiteResponse, BulkValidateEmailInviteEligibilityRequest, BulkValidateEmailInviteEligibilityResponse, ChangeContributorLocationOptions, ChangeContributorLocationRequest, ChangeContributorLocationResponse,
|
|
28
|
+
export { AccountInfo, AppInvite, AssignedPolicy, Assignment, BulkGetUserRolesOnSiteRequest, BulkGetUserRolesOnSiteResponse, BulkValidateEmailInviteEligibilityRequest, BulkValidateEmailInviteEligibilityResponse, ChangeContributorLocationOptions, ChangeContributorLocationRequest, ChangeContributorLocationResponse, ChangeContributorRoleRequest, ChangeContributorRoleResponse, ChangeRoleOptions, CompanionResource, Condition, ConditionAttributeType, Conditions, Contributor, ContributorLimit, ContributorV2, ContributorsQuota, ContributorsQuotaOptionsOneOf, EmailInviteEligibility, FieldSet, GetAppContributorsRequest, GetAppContributorsResponse, GetContributorsQuotaRequest, GetContributorsQuotaResponse, GetCurrentUserRolesRequest, GetCurrentUserRolesResponse, GetSiteContributorsRequest, GetSiteContributorsResponse, GetSiteContributorsV2Options, GetSiteContributorsV2Request, GetSiteContributorsV2Response, HandleSiteTransferRequest, HandleSiteTransferResponse, InviteStatus, LimitedOptions, LocalizedRole, LocationsRestriction, Name, PendingOwner, PersonMetaData, Policy, PredefinedRole, PredefinedRoles, QuerySiteContributorsFilter, QuerySiteContributorsOptions, QuerySiteContributorsRequest, QuerySiteContributorsResponse, Resource, ResourceType, Restriction, RestrictionRestrictionsOneOf, Role, SiteInvite, SiteLocationAssignment, SiteRestriction, SiteRoleAssignment, Subject, SubjectContext, SubjectContextType, SubjectType, Team, Type, User, UserLocalizedRoles, UserSubject, } from './identity-v1-contributor-contributors.universal.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"identity-v1-contributor-contributors.public.js","sourceRoot":"","sources":["../../../src/identity-v1-contributor-contributors.public.ts"],"names":[],"mappings":";;;AACA,
|
|
1
|
+
{"version":3,"file":"identity-v1-contributor-contributors.public.js","sourceRoot":"","sources":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IAAI,OAAA"}
|
|
@@ -552,99 +552,3 @@ export interface AppInvite {
|
|
|
552
552
|
/** @readonly */
|
|
553
553
|
dateUpdated?: Date | null;
|
|
554
554
|
}
|
|
555
|
-
interface AssignedPolicyNonNullableFields {
|
|
556
|
-
policyId: string;
|
|
557
|
-
}
|
|
558
|
-
interface ResourceNonNullableFields {
|
|
559
|
-
resourceType: ResourceType;
|
|
560
|
-
id: string;
|
|
561
|
-
}
|
|
562
|
-
interface ConditionNonNullableFields {
|
|
563
|
-
conditionType: ConditionAttributeType;
|
|
564
|
-
id: string;
|
|
565
|
-
}
|
|
566
|
-
interface ConditionsNonNullableFields {
|
|
567
|
-
conditions: ConditionNonNullableFields[];
|
|
568
|
-
}
|
|
569
|
-
interface CompanionResourceNonNullableFields {
|
|
570
|
-
id: string;
|
|
571
|
-
resourceType: string;
|
|
572
|
-
}
|
|
573
|
-
interface SiteRestrictionNonNullableFields {
|
|
574
|
-
id: string;
|
|
575
|
-
resource?: CompanionResourceNonNullableFields;
|
|
576
|
-
}
|
|
577
|
-
interface LocationsRestrictionNonNullableFields {
|
|
578
|
-
ids: string[];
|
|
579
|
-
}
|
|
580
|
-
interface RestrictionNonNullableFields {
|
|
581
|
-
resource?: ResourceNonNullableFields;
|
|
582
|
-
conditions?: ConditionsNonNullableFields;
|
|
583
|
-
site?: SiteRestrictionNonNullableFields;
|
|
584
|
-
locations?: LocationsRestrictionNonNullableFields;
|
|
585
|
-
}
|
|
586
|
-
interface SubjectContextNonNullableFields {
|
|
587
|
-
id: string;
|
|
588
|
-
contextType: SubjectContextType;
|
|
589
|
-
}
|
|
590
|
-
interface SubjectNonNullableFields {
|
|
591
|
-
id: string;
|
|
592
|
-
subjectType: SubjectType;
|
|
593
|
-
context?: SubjectContextNonNullableFields;
|
|
594
|
-
}
|
|
595
|
-
interface AssignmentNonNullableFields {
|
|
596
|
-
policy?: AssignedPolicyNonNullableFields;
|
|
597
|
-
assignmentId: string;
|
|
598
|
-
restrictions?: RestrictionNonNullableFields;
|
|
599
|
-
subject?: SubjectNonNullableFields;
|
|
600
|
-
}
|
|
601
|
-
interface PersonMetaDataNonNullableFields {
|
|
602
|
-
id: string;
|
|
603
|
-
assignments: AssignmentNonNullableFields[];
|
|
604
|
-
}
|
|
605
|
-
interface ContributorNonNullableFields {
|
|
606
|
-
metaData?: PersonMetaDataNonNullableFields;
|
|
607
|
-
id: string;
|
|
608
|
-
}
|
|
609
|
-
interface SiteInviteNonNullableFields {
|
|
610
|
-
id: string;
|
|
611
|
-
siteId: string;
|
|
612
|
-
email: string;
|
|
613
|
-
policyIds: string[];
|
|
614
|
-
inviterId: string;
|
|
615
|
-
status: InviteStatus;
|
|
616
|
-
acceptLink: string;
|
|
617
|
-
inviterAccountId: string;
|
|
618
|
-
locationIds: string[];
|
|
619
|
-
}
|
|
620
|
-
interface LimitedOptionsNonNullableFields {
|
|
621
|
-
limit: number;
|
|
622
|
-
used: number;
|
|
623
|
-
}
|
|
624
|
-
interface ContributorsQuotaNonNullableFields {
|
|
625
|
-
limitedOptions?: LimitedOptionsNonNullableFields;
|
|
626
|
-
type: Type;
|
|
627
|
-
}
|
|
628
|
-
export interface GetSiteContributorsV2ResponseNonNullableFields {
|
|
629
|
-
contributors: ContributorNonNullableFields[];
|
|
630
|
-
invites: SiteInviteNonNullableFields[];
|
|
631
|
-
contributorsQuota?: ContributorsQuotaNonNullableFields;
|
|
632
|
-
}
|
|
633
|
-
interface SiteRoleAssignmentNonNullableFields {
|
|
634
|
-
roleId: string;
|
|
635
|
-
assignmentId: string;
|
|
636
|
-
}
|
|
637
|
-
export interface ChangeContributorRoleResponseNonNullableFields {
|
|
638
|
-
newAssignedRoles: SiteRoleAssignmentNonNullableFields[];
|
|
639
|
-
}
|
|
640
|
-
interface SiteLocationAssignmentNonNullableFields {
|
|
641
|
-
locationIds: string[];
|
|
642
|
-
assignmentIds: string[];
|
|
643
|
-
}
|
|
644
|
-
export interface ChangeContributorLocationResponseNonNullableFields {
|
|
645
|
-
newAssignedLocations: SiteLocationAssignmentNonNullableFields[];
|
|
646
|
-
}
|
|
647
|
-
export interface GetContributorsQuotaResponseNonNullableFields {
|
|
648
|
-
contributorsQuota?: ContributorsQuotaNonNullableFields;
|
|
649
|
-
}
|
|
650
|
-
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { NonNullablePaths } from '@wix/sdk-types';
|
|
1
2
|
export interface Contributor {
|
|
2
3
|
/** Contributor's metadata. */
|
|
3
4
|
metaData?: PersonMetaData;
|
|
@@ -552,101 +553,6 @@ export interface AppInvite {
|
|
|
552
553
|
/** @readonly */
|
|
553
554
|
dateUpdated?: Date | null;
|
|
554
555
|
}
|
|
555
|
-
interface AssignedPolicyNonNullableFields {
|
|
556
|
-
policyId: string;
|
|
557
|
-
}
|
|
558
|
-
interface ResourceNonNullableFields {
|
|
559
|
-
resourceType: ResourceType;
|
|
560
|
-
_id: string;
|
|
561
|
-
}
|
|
562
|
-
interface ConditionNonNullableFields {
|
|
563
|
-
conditionType: ConditionAttributeType;
|
|
564
|
-
_id: string;
|
|
565
|
-
}
|
|
566
|
-
interface ConditionsNonNullableFields {
|
|
567
|
-
conditions: ConditionNonNullableFields[];
|
|
568
|
-
}
|
|
569
|
-
interface CompanionResourceNonNullableFields {
|
|
570
|
-
_id: string;
|
|
571
|
-
resourceType: string;
|
|
572
|
-
}
|
|
573
|
-
interface SiteRestrictionNonNullableFields {
|
|
574
|
-
_id: string;
|
|
575
|
-
resource?: CompanionResourceNonNullableFields;
|
|
576
|
-
}
|
|
577
|
-
interface LocationsRestrictionNonNullableFields {
|
|
578
|
-
ids: string[];
|
|
579
|
-
}
|
|
580
|
-
interface RestrictionNonNullableFields {
|
|
581
|
-
resource?: ResourceNonNullableFields;
|
|
582
|
-
conditions?: ConditionsNonNullableFields;
|
|
583
|
-
site?: SiteRestrictionNonNullableFields;
|
|
584
|
-
locations?: LocationsRestrictionNonNullableFields;
|
|
585
|
-
}
|
|
586
|
-
interface SubjectContextNonNullableFields {
|
|
587
|
-
_id: string;
|
|
588
|
-
contextType: SubjectContextType;
|
|
589
|
-
}
|
|
590
|
-
interface SubjectNonNullableFields {
|
|
591
|
-
_id: string;
|
|
592
|
-
subjectType: SubjectType;
|
|
593
|
-
context?: SubjectContextNonNullableFields;
|
|
594
|
-
}
|
|
595
|
-
interface AssignmentNonNullableFields {
|
|
596
|
-
policy?: AssignedPolicyNonNullableFields;
|
|
597
|
-
assignmentId: string;
|
|
598
|
-
restrictions?: RestrictionNonNullableFields;
|
|
599
|
-
subject?: SubjectNonNullableFields;
|
|
600
|
-
}
|
|
601
|
-
interface PersonMetaDataNonNullableFields {
|
|
602
|
-
_id: string;
|
|
603
|
-
assignments: AssignmentNonNullableFields[];
|
|
604
|
-
}
|
|
605
|
-
interface ContributorNonNullableFields {
|
|
606
|
-
metaData?: PersonMetaDataNonNullableFields;
|
|
607
|
-
_id: string;
|
|
608
|
-
}
|
|
609
|
-
interface SiteInviteNonNullableFields {
|
|
610
|
-
_id: string;
|
|
611
|
-
siteId: string;
|
|
612
|
-
email: string;
|
|
613
|
-
policyIds: string[];
|
|
614
|
-
inviterId: string;
|
|
615
|
-
status: InviteStatus;
|
|
616
|
-
acceptLink: string;
|
|
617
|
-
inviterAccountId: string;
|
|
618
|
-
locationIds: string[];
|
|
619
|
-
}
|
|
620
|
-
interface LimitedOptionsNonNullableFields {
|
|
621
|
-
limit: number;
|
|
622
|
-
used: number;
|
|
623
|
-
}
|
|
624
|
-
interface ContributorsQuotaNonNullableFields {
|
|
625
|
-
limitedOptions?: LimitedOptionsNonNullableFields;
|
|
626
|
-
type: Type;
|
|
627
|
-
}
|
|
628
|
-
export interface GetSiteContributorsV2ResponseNonNullableFields {
|
|
629
|
-
contributors: ContributorNonNullableFields[];
|
|
630
|
-
invites: SiteInviteNonNullableFields[];
|
|
631
|
-
contributorsQuota?: ContributorsQuotaNonNullableFields;
|
|
632
|
-
}
|
|
633
|
-
interface SiteRoleAssignmentNonNullableFields {
|
|
634
|
-
roleId: string;
|
|
635
|
-
assignmentId: string;
|
|
636
|
-
}
|
|
637
|
-
export interface ChangeContributorRoleResponseNonNullableFields {
|
|
638
|
-
newAssignedRoles: SiteRoleAssignmentNonNullableFields[];
|
|
639
|
-
}
|
|
640
|
-
interface SiteLocationAssignmentNonNullableFields {
|
|
641
|
-
locationIds: string[];
|
|
642
|
-
assignmentIds: string[];
|
|
643
|
-
}
|
|
644
|
-
export interface ChangeContributorLocationResponseNonNullableFields {
|
|
645
|
-
newAssignedLocations: SiteLocationAssignmentNonNullableFields[];
|
|
646
|
-
}
|
|
647
|
-
export interface GetContributorsQuotaResponseNonNullableFields {
|
|
648
|
-
contributorsQuota?: ContributorsQuotaNonNullableFields;
|
|
649
|
-
}
|
|
650
556
|
export interface GetSiteContributorsV2Options {
|
|
651
557
|
/** The locale of the request. Defaults to en-us. */
|
|
652
558
|
locale?: string | null;
|
|
@@ -657,7 +563,6 @@ export interface GetSiteContributorsV2Options {
|
|
|
657
563
|
* Overrides all the roles of a contributor for the specified site.
|
|
658
564
|
* @param accountId - Contributor's account ID.
|
|
659
565
|
* @public
|
|
660
|
-
* @documentationMaturity preview
|
|
661
566
|
* @requiredField accountId
|
|
662
567
|
* @requiredField options
|
|
663
568
|
* @requiredField options.newRoles
|
|
@@ -665,7 +570,7 @@ export interface GetSiteContributorsV2Options {
|
|
|
665
570
|
* @permissionId SITE_ROLES.CHANGE_ROLE
|
|
666
571
|
* @fqn com.wixpress.roles.management.api.SiteRolesManagementService.ChangeRole
|
|
667
572
|
*/
|
|
668
|
-
export declare function changeRole(accountId: string, options: ChangeRoleOptions): Promise<ChangeContributorRoleResponse
|
|
573
|
+
export declare function changeRole(accountId: string, options: NonNullablePaths<ChangeRoleOptions, `newRoles`>): Promise<NonNullablePaths<ChangeContributorRoleResponse, `newAssignedRoles` | `newAssignedRoles.${number}.roleId` | `newAssignedRoles.${number}.assignmentId`>>;
|
|
669
574
|
export interface ChangeRoleOptions {
|
|
670
575
|
/** New roles to assign to the contributor on the site. */
|
|
671
576
|
newRoles: SiteRoleAssignment[];
|
|
@@ -677,6 +582,8 @@ export interface ChangeRoleOptions {
|
|
|
677
582
|
* @requiredField options
|
|
678
583
|
* @requiredField options.newLocations
|
|
679
584
|
* @permissionId SITE_ROLES.CHANGE_LOCATION
|
|
585
|
+
* @permissionScope Manage Stores
|
|
586
|
+
* @permissionScopeId SCOPE.STORES.MANAGE-STORES
|
|
680
587
|
* @permissionScope Manage Bookings Services and Settings
|
|
681
588
|
* @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION
|
|
682
589
|
* @permissionScope Manage Events
|
|
@@ -694,7 +601,7 @@ export interface ChangeRoleOptions {
|
|
|
694
601
|
* @applicableIdentity APP
|
|
695
602
|
* @fqn com.wixpress.roles.management.api.SiteRolesManagementService.ChangeContributorLocation
|
|
696
603
|
*/
|
|
697
|
-
export declare function changeContributorLocation(accountId: string, options: ChangeContributorLocationOptions): Promise<ChangeContributorLocationResponse
|
|
604
|
+
export declare function changeContributorLocation(accountId: string, options: NonNullablePaths<ChangeContributorLocationOptions, `newLocations`>): Promise<NonNullablePaths<ChangeContributorLocationResponse, `newAssignedLocations`>>;
|
|
698
605
|
export interface ChangeContributorLocationOptions {
|
|
699
606
|
/**
|
|
700
607
|
* New locations to assign to the contributor on the site.
|
|
@@ -706,9 +613,10 @@ export interface ChangeContributorLocationOptions {
|
|
|
706
613
|
/**
|
|
707
614
|
* Retrieves a list of contributors for the specified site, given the provided filters.
|
|
708
615
|
* @public
|
|
709
|
-
* @documentationMaturity preview
|
|
710
616
|
* @param options - Filter options.
|
|
711
617
|
* @permissionId site-users.view-users
|
|
618
|
+
* @permissionScope Manage Stores
|
|
619
|
+
* @permissionScopeId SCOPE.STORES.MANAGE-STORES
|
|
712
620
|
* @permissionScope Manage Bookings Services and Settings
|
|
713
621
|
* @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION
|
|
714
622
|
* @permissionScope Manage Events
|
|
@@ -726,8 +634,7 @@ export interface ChangeContributorLocationOptions {
|
|
|
726
634
|
* @applicableIdentity APP
|
|
727
635
|
* @fqn com.wixpress.roles.management.api.SiteRolesManagementService.QuerySiteContributors
|
|
728
636
|
*/
|
|
729
|
-
export declare function querySiteContributors(options?: QuerySiteContributorsOptions): Promise<QuerySiteContributorsResponse
|
|
637
|
+
export declare function querySiteContributors(options?: QuerySiteContributorsOptions): Promise<NonNullablePaths<QuerySiteContributorsResponse, `contributors`>>;
|
|
730
638
|
export interface QuerySiteContributorsOptions {
|
|
731
639
|
filter?: QuerySiteContributorsFilter;
|
|
732
640
|
}
|
|
733
|
-
export {};
|
|
@@ -83,6 +83,8 @@ var FieldSet;
|
|
|
83
83
|
* @internal
|
|
84
84
|
* @documentationMaturity preview
|
|
85
85
|
* @permissionId site-users.view-users
|
|
86
|
+
* @permissionScope Manage Stores
|
|
87
|
+
* @permissionScopeId SCOPE.STORES.MANAGE-STORES
|
|
86
88
|
* @permissionScope Manage Bookings Services and Settings
|
|
87
89
|
* @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION
|
|
88
90
|
* @permissionScope Manage Events
|
|
@@ -132,7 +134,6 @@ exports.getSiteContributorsV2 = getSiteContributorsV2;
|
|
|
132
134
|
* Overrides all the roles of a contributor for the specified site.
|
|
133
135
|
* @param accountId - Contributor's account ID.
|
|
134
136
|
* @public
|
|
135
|
-
* @documentationMaturity preview
|
|
136
137
|
* @requiredField accountId
|
|
137
138
|
* @requiredField options
|
|
138
139
|
* @requiredField options.newRoles
|
|
@@ -175,6 +176,8 @@ exports.changeRole = changeRole;
|
|
|
175
176
|
* @requiredField options
|
|
176
177
|
* @requiredField options.newLocations
|
|
177
178
|
* @permissionId SITE_ROLES.CHANGE_LOCATION
|
|
179
|
+
* @permissionScope Manage Stores
|
|
180
|
+
* @permissionScopeId SCOPE.STORES.MANAGE-STORES
|
|
178
181
|
* @permissionScope Manage Bookings Services and Settings
|
|
179
182
|
* @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION
|
|
180
183
|
* @permissionScope Manage Events
|
|
@@ -223,9 +226,10 @@ exports.changeContributorLocation = changeContributorLocation;
|
|
|
223
226
|
/**
|
|
224
227
|
* Retrieves a list of contributors for the specified site, given the provided filters.
|
|
225
228
|
* @public
|
|
226
|
-
* @documentationMaturity preview
|
|
227
229
|
* @param options - Filter options.
|
|
228
230
|
* @permissionId site-users.view-users
|
|
231
|
+
* @permissionScope Manage Stores
|
|
232
|
+
* @permissionScopeId SCOPE.STORES.MANAGE-STORES
|
|
229
233
|
* @permissionScope Manage Bookings Services and Settings
|
|
230
234
|
* @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION
|
|
231
235
|
* @permissionScope Manage Events
|
|
@@ -272,6 +276,8 @@ exports.querySiteContributors = querySiteContributors;
|
|
|
272
276
|
* @internal
|
|
273
277
|
* @documentationMaturity preview
|
|
274
278
|
* @permissionId site-users.view-users
|
|
279
|
+
* @permissionScope Manage Stores
|
|
280
|
+
* @permissionScopeId SCOPE.STORES.MANAGE-STORES
|
|
275
281
|
* @permissionScope Manage Bookings Services and Settings
|
|
276
282
|
* @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION
|
|
277
283
|
* @permissionScope Manage Events
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"identity-v1-contributor-contributors.universal.js","sourceRoot":"","sources":["../../../src/identity-v1-contributor-contributors.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAGiD;AAEjD,mHAAqG;AAyFrG,IAAY,YAGX;AAHD,WAAY,YAAY;IACtB,+DAA+C,CAAA;IAC/C,6BAAa,CAAA;AACf,CAAC,EAHW,YAAY,4BAAZ,YAAY,QAGvB;AAgBD,IAAY,sBAGX;AAHD,WAAY,sBAAsB;IAChC,2EAAiD,CAAA;IACjD,2CAAiB,CAAA;AACnB,CAAC,EAHW,sBAAsB,sCAAtB,sBAAsB,QAGjC;AAkCD,IAAY,WAUX;AAVD,WAAY,WAAW;IACrB,kCAAmB,CAAA;IACnB,kCAAmB,CAAA;IACnB,4BAAa,CAAA;IACb,wCAAyB,CAAA;IACzB,4CAA6B,CAAA;IAC7B,8CAA+B,CAAA;IAC/B,4CAA6B,CAAA;IAC7B,8CAA+B,CAAA;IAC/B,kCAAmB,CAAA;AACrB,CAAC,EAVW,WAAW,2BAAX,WAAW,QAUtB;AAOD,IAAY,kBAIX;AAJD,WAAY,kBAAkB;IAC5B,iDAA2B,CAAA;IAC3B,yCAAmB,CAAA;IACnB,iDAA2B,CAAA;AAC7B,CAAC,EAJW,kBAAkB,kCAAlB,kBAAkB,QAI7B;AAsID,mGAAmG;AACnG,IAAY,YAMX;AAND,WAAY,YAAY;IACtB,mCAAmB,CAAA;IACnB,6BAAa,CAAA;IACb,mCAAmB,CAAA;IACnB,qCAAqB,CAAA;IACrB,mCAAmB,CAAA;AACrB,CAAC,EANW,YAAY,4BAAZ,YAAY,QAMvB;AAgFD,+DAA+D;AAC/D,IAAY,IAIX;AAJD,WAAY,IAAI;IACd,2BAAmB,CAAA;IACnB,2BAAmB,CAAA;IACnB,+BAAuB,CAAA;AACzB,CAAC,EAJW,IAAI,oBAAJ,IAAI,QAIf;AA8JD,IAAY,QAIX;AAJD,WAAY,QAAQ;IAClB,+BAAmB,CAAA;IACnB,+DAA+D;IAC/D,mCAAuB,CAAA;AACzB,CAAC,EAJW,QAAQ,wBAAR,QAAQ,QAInB;
|
|
1
|
+
{"version":3,"file":"identity-v1-contributor-contributors.universal.js","sourceRoot":"","sources":["../../../src/identity-v1-contributor-contributors.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAGiD;AAEjD,mHAAqG;AAyFrG,IAAY,YAGX;AAHD,WAAY,YAAY;IACtB,+DAA+C,CAAA;IAC/C,6BAAa,CAAA;AACf,CAAC,EAHW,YAAY,4BAAZ,YAAY,QAGvB;AAgBD,IAAY,sBAGX;AAHD,WAAY,sBAAsB;I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AAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC;AApCD,sDAoCC;AAMD;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACI,KAAK,UAAU,oBAAoB;IAQxC,aAAa;IACb,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAC;IAEF,MAAM,OAAO,GAAG,IAAA,8DAAqC,EAAC,EAAE,CAAC,CAAC;IAE1D,MAAM,OAAO,GACX,kCAAkC,CAAC,oBAAoB,CAAC,OAAO,CAAC,CAAC;IAEnE,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,IAAA,gEAAuC,EAAC,MAAM,CAAC,IAAI,CAAE,CAAC;IAC/D,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,MAAM,gBAAgB,GAAG,IAAA,gCAAiB,EACxC,GAAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE,EAAE;YAC5B,uBAAuB,EAAE,KAAK;SAC/B,EACD,EAAE,CACH,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC;AAvCD,oDAuCC"}
|
|
@@ -4,4 +4,4 @@ export declare const changeRole: MaybeContext<BuildRESTFunction<typeof publicCha
|
|
|
4
4
|
export declare const changeContributorLocation: MaybeContext<BuildRESTFunction<typeof publicChangeContributorLocation> & typeof publicChangeContributorLocation>;
|
|
5
5
|
export declare const querySiteContributors: MaybeContext<BuildRESTFunction<typeof publicQuerySiteContributors> & typeof publicQuerySiteContributors>;
|
|
6
6
|
export { ResourceType, ConditionAttributeType, SubjectType, SubjectContextType, InviteStatus, Type, FieldSet, } from './identity-v1-contributor-contributors.universal.js';
|
|
7
|
-
export { Contributor, PersonMetaData, Assignment, AssignedPolicy, Restriction, RestrictionRestrictionsOneOf, Resource, Conditions, Condition, SiteRestriction, CompanionResource, LocationsRestriction, Subject, SubjectContext, GetSiteContributorsRequest, GetSiteContributorsResponse, User, Name, Team, AccountInfo, SiteInvite, Policy, PendingOwner, ContributorLimit, PredefinedRoles, PredefinedRole, Role, GetSiteContributorsV2Request, GetSiteContributorsV2Response, ContributorsQuota, ContributorsQuotaOptionsOneOf, LimitedOptions, HandleSiteTransferRequest, HandleSiteTransferResponse, GetCurrentUserRolesRequest, GetCurrentUserRolesResponse, LocalizedRole, BulkGetUserRolesOnSiteRequest, UserSubject, BulkGetUserRolesOnSiteResponse, UserLocalizedRoles, BulkValidateEmailInviteEligibilityRequest, BulkValidateEmailInviteEligibilityResponse, EmailInviteEligibility, ChangeContributorRoleRequest, SiteRoleAssignment, ChangeContributorRoleResponse, ChangeContributorLocationRequest, ChangeContributorLocationResponse, SiteLocationAssignment, QuerySiteContributorsRequest, QuerySiteContributorsFilter, QuerySiteContributorsResponse, ContributorV2, GetContributorsQuotaRequest, GetContributorsQuotaResponse, GetAppContributorsRequest, GetAppContributorsResponse, AppInvite,
|
|
7
|
+
export { Contributor, PersonMetaData, Assignment, AssignedPolicy, Restriction, RestrictionRestrictionsOneOf, Resource, Conditions, Condition, SiteRestriction, CompanionResource, LocationsRestriction, Subject, SubjectContext, GetSiteContributorsRequest, GetSiteContributorsResponse, User, Name, Team, AccountInfo, SiteInvite, Policy, PendingOwner, ContributorLimit, PredefinedRoles, PredefinedRole, Role, GetSiteContributorsV2Request, GetSiteContributorsV2Response, ContributorsQuota, ContributorsQuotaOptionsOneOf, LimitedOptions, HandleSiteTransferRequest, HandleSiteTransferResponse, GetCurrentUserRolesRequest, GetCurrentUserRolesResponse, LocalizedRole, BulkGetUserRolesOnSiteRequest, UserSubject, BulkGetUserRolesOnSiteResponse, UserLocalizedRoles, BulkValidateEmailInviteEligibilityRequest, BulkValidateEmailInviteEligibilityResponse, EmailInviteEligibility, ChangeContributorRoleRequest, SiteRoleAssignment, ChangeContributorRoleResponse, ChangeContributorLocationRequest, ChangeContributorLocationResponse, SiteLocationAssignment, QuerySiteContributorsRequest, QuerySiteContributorsFilter, QuerySiteContributorsResponse, ContributorV2, GetContributorsQuotaRequest, GetContributorsQuotaResponse, GetAppContributorsRequest, GetAppContributorsResponse, AppInvite, GetSiteContributorsV2Options, ChangeRoleOptions, ChangeContributorLocationOptions, QuerySiteContributorsOptions, } from './identity-v1-contributor-contributors.universal.js';
|
|
@@ -10,8 +10,8 @@ export type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unk
|
|
|
10
10
|
__responseType: Q;
|
|
11
11
|
__originalResponseType: R;
|
|
12
12
|
};
|
|
13
|
-
export declare function getSiteContributorsV2(): __PublicMethodMetaInfo<'GET', {}, ambassadorWixIdentityV1ContributorUniversalTypes.GetSiteContributorsV2Request, ambassadorWixIdentityV1ContributorTypes.GetSiteContributorsV2Request, ambassadorWixIdentityV1ContributorUniversalTypes.GetSiteContributorsV2Response
|
|
14
|
-
export declare function changeRole(): __PublicMethodMetaInfo<'PUT', {}, ambassadorWixIdentityV1ContributorUniversalTypes.ChangeContributorRoleRequest, ambassadorWixIdentityV1ContributorTypes.ChangeContributorRoleRequest, ambassadorWixIdentityV1ContributorUniversalTypes.ChangeContributorRoleResponse
|
|
15
|
-
export declare function changeContributorLocation(): __PublicMethodMetaInfo<'PUT', {}, ambassadorWixIdentityV1ContributorUniversalTypes.ChangeContributorLocationRequest, ambassadorWixIdentityV1ContributorTypes.ChangeContributorLocationRequest, ambassadorWixIdentityV1ContributorUniversalTypes.ChangeContributorLocationResponse
|
|
13
|
+
export declare function getSiteContributorsV2(): __PublicMethodMetaInfo<'GET', {}, ambassadorWixIdentityV1ContributorUniversalTypes.GetSiteContributorsV2Request, ambassadorWixIdentityV1ContributorTypes.GetSiteContributorsV2Request, ambassadorWixIdentityV1ContributorUniversalTypes.GetSiteContributorsV2Response, ambassadorWixIdentityV1ContributorTypes.GetSiteContributorsV2Response>;
|
|
14
|
+
export declare function changeRole(): __PublicMethodMetaInfo<'PUT', {}, ambassadorWixIdentityV1ContributorUniversalTypes.ChangeContributorRoleRequest, ambassadorWixIdentityV1ContributorTypes.ChangeContributorRoleRequest, ambassadorWixIdentityV1ContributorUniversalTypes.ChangeContributorRoleResponse, ambassadorWixIdentityV1ContributorTypes.ChangeContributorRoleResponse>;
|
|
15
|
+
export declare function changeContributorLocation(): __PublicMethodMetaInfo<'PUT', {}, ambassadorWixIdentityV1ContributorUniversalTypes.ChangeContributorLocationRequest, ambassadorWixIdentityV1ContributorTypes.ChangeContributorLocationRequest, ambassadorWixIdentityV1ContributorUniversalTypes.ChangeContributorLocationResponse, ambassadorWixIdentityV1ContributorTypes.ChangeContributorLocationResponse>;
|
|
16
16
|
export declare function querySiteContributors(): __PublicMethodMetaInfo<'GET', {}, ambassadorWixIdentityV1ContributorUniversalTypes.QuerySiteContributorsRequest, ambassadorWixIdentityV1ContributorTypes.QuerySiteContributorsRequest, ambassadorWixIdentityV1ContributorUniversalTypes.QuerySiteContributorsResponse, ambassadorWixIdentityV1ContributorTypes.QuerySiteContributorsResponse>;
|
|
17
|
-
export declare function getContributorsQuota(): __PublicMethodMetaInfo<'GET', {}, ambassadorWixIdentityV1ContributorUniversalTypes.GetContributorsQuotaRequest, ambassadorWixIdentityV1ContributorTypes.GetContributorsQuotaRequest, ambassadorWixIdentityV1ContributorUniversalTypes.GetContributorsQuotaResponse
|
|
17
|
+
export declare function getContributorsQuota(): __PublicMethodMetaInfo<'GET', {}, ambassadorWixIdentityV1ContributorUniversalTypes.GetContributorsQuotaRequest, ambassadorWixIdentityV1ContributorTypes.GetContributorsQuotaRequest, ambassadorWixIdentityV1ContributorUniversalTypes.GetContributorsQuotaResponse, ambassadorWixIdentityV1ContributorTypes.GetContributorsQuotaResponse>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"identity-v1-contributor-contributors.meta.js","sourceRoot":"","sources":["../../../src/identity-v1-contributor-contributors.meta.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,kCAAkC,MAAM,gDAAgD,CAAC;AAsBrG,MAAM,UAAU,qBAAqB;
|
|
1
|
+
{"version":3,"file":"identity-v1-contributor-contributors.meta.js","sourceRoot":"","sources":["../../../src/identity-v1-contributor-contributors.meta.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,kCAAkC,MAAM,gDAAgD,CAAC;AAsBrG,MAAM,UAAU,qBAAqB;IAQnC,MAAM,OAAO,GAAG,EAAS,CAAC;IAE1B,MAAM,iBAAiB,GACrB,kCAAkC,CAAC,qBAAqB,CAAC,OAAO,CAAC,CAAC;IAEpE,MAAM,MAAM,GAAG,CAAC,OAAY,EAAU,EAAE;QACtC,MAAM,EAAE,GAAG,EAAE,GAAG,iBAAiB,CAAC,OAAO,CAAC,CAAC;QAC3C,OAAO,GAAI,CAAC;IACd,CAAC,CAAC;IAEF,OAAO;QACL,MAAM;QACN,UAAU,EAAE,KAAK;QACjB,IAAI,EAAE,kBAAkB;QACxB,UAAU,EAAE,EAAE;QACd,aAAa,EAAE,IAAW;QAC1B,qBAAqB,EAAE,IAAW;QAClC,cAAc,EAAE,IAAW;QAC3B,sBAAsB,EAAE,IAAW;KACpC,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,UAAU;IAQxB,MAAM,OAAO,GAAG,EAAS,CAAC;IAE1B,MAAM,iBAAiB,GACrB,kCAAkC,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;IAEzD,MAAM,MAAM,GAAG,CAAC,OAAY,EAAU,EAAE;QACtC,MAAM,EAAE,GAAG,EAAE,GAAG,iBAAiB,CAAC,OAAO,CAAC,CAAC;QAC3C,OAAO,GAAI,CAAC;IACd,CAAC,CAAC;IAEF,OAAO;QACL,MAAM;QACN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AC;AAED,MAAM,UAAU,oBAAoB;IAQlC,MAAM,OAAO,GAAG,EAAS,CAAC;IAE1B,MAAM,iBAAiB,GACrB,kCAAkC,CAAC,oBAAoB,CAAC,OAAO,CAAC,CAAC;IAEnE,MAAM,MAAM,GAAG,CAAC,OAAY,EAAU,EAAE;QACtC,MAAM,EAAE,GAAG,EAAE,GAAG,iBAAiB,CAAC,OAAO,CAAC,CAAC;QAC3C,OAAO,GAAI,CAAC;IACd,CAAC,CAAC;IAEF,OAAO;QACL,MAAM;QACN,UAAU,EAAE,KAAK;QACjB,IAAI,EAAE,wBAAwB;QAC9B,UAAU,EAAE,EAAE;QACd,aAAa,EAAE,IAAW;QAC1B,qBAAqB,EAAE,IAAW;QAClC,cAAc,EAAE,IAAW;QAC3B,sBAAsB,EAAE,IAAW;KACpC,CAAC;AACJ,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HttpClient } from '@wix/sdk-types';
|
|
2
|
-
import { ChangeContributorLocationOptions, ChangeContributorLocationResponse,
|
|
2
|
+
import { ChangeContributorLocationOptions, ChangeContributorLocationResponse, ChangeContributorRoleResponse, ChangeRoleOptions, QuerySiteContributorsOptions, QuerySiteContributorsResponse } from './identity-v1-contributor-contributors.universal.js';
|
|
3
3
|
export declare const __metadata: {
|
|
4
4
|
PACKAGE_NAME: string;
|
|
5
5
|
};
|
|
@@ -10,12 +10,12 @@ interface ChangeRoleSignature {
|
|
|
10
10
|
* @param - Contributor's account ID.
|
|
11
11
|
* @param - Filter options. The `newRoles` field **must** be passed.
|
|
12
12
|
*/
|
|
13
|
-
(accountId: string, options: ChangeRoleOptions): Promise<ChangeContributorRoleResponse
|
|
13
|
+
(accountId: string, options: ChangeRoleOptions): Promise<ChangeContributorRoleResponse>;
|
|
14
14
|
}
|
|
15
15
|
export declare function changeContributorLocation(httpClient: HttpClient): ChangeContributorLocationSignature;
|
|
16
16
|
interface ChangeContributorLocationSignature {
|
|
17
17
|
/** @param - Contributor's account ID. */
|
|
18
|
-
(accountId: string, options: ChangeContributorLocationOptions): Promise<ChangeContributorLocationResponse
|
|
18
|
+
(accountId: string, options: ChangeContributorLocationOptions): Promise<ChangeContributorLocationResponse>;
|
|
19
19
|
}
|
|
20
20
|
export declare function querySiteContributors(httpClient: HttpClient): QuerySiteContributorsSignature;
|
|
21
21
|
interface QuerySiteContributorsSignature {
|
|
@@ -25,4 +25,4 @@ interface QuerySiteContributorsSignature {
|
|
|
25
25
|
*/
|
|
26
26
|
(options?: QuerySiteContributorsOptions | undefined): Promise<QuerySiteContributorsResponse>;
|
|
27
27
|
}
|
|
28
|
-
export { AccountInfo, AppInvite, AssignedPolicy, Assignment, BulkGetUserRolesOnSiteRequest, BulkGetUserRolesOnSiteResponse, BulkValidateEmailInviteEligibilityRequest, BulkValidateEmailInviteEligibilityResponse, ChangeContributorLocationOptions, ChangeContributorLocationRequest, ChangeContributorLocationResponse,
|
|
28
|
+
export { AccountInfo, AppInvite, AssignedPolicy, Assignment, BulkGetUserRolesOnSiteRequest, BulkGetUserRolesOnSiteResponse, BulkValidateEmailInviteEligibilityRequest, BulkValidateEmailInviteEligibilityResponse, ChangeContributorLocationOptions, ChangeContributorLocationRequest, ChangeContributorLocationResponse, ChangeContributorRoleRequest, ChangeContributorRoleResponse, ChangeRoleOptions, CompanionResource, Condition, ConditionAttributeType, Conditions, Contributor, ContributorLimit, ContributorV2, ContributorsQuota, ContributorsQuotaOptionsOneOf, EmailInviteEligibility, FieldSet, GetAppContributorsRequest, GetAppContributorsResponse, GetContributorsQuotaRequest, GetContributorsQuotaResponse, GetCurrentUserRolesRequest, GetCurrentUserRolesResponse, GetSiteContributorsRequest, GetSiteContributorsResponse, GetSiteContributorsV2Options, GetSiteContributorsV2Request, GetSiteContributorsV2Response, HandleSiteTransferRequest, HandleSiteTransferResponse, InviteStatus, LimitedOptions, LocalizedRole, LocationsRestriction, Name, PendingOwner, PersonMetaData, Policy, PredefinedRole, PredefinedRoles, QuerySiteContributorsFilter, QuerySiteContributorsOptions, QuerySiteContributorsRequest, QuerySiteContributorsResponse, Resource, ResourceType, Restriction, RestrictionRestrictionsOneOf, Role, SiteInvite, SiteLocationAssignment, SiteRestriction, SiteRoleAssignment, Subject, SubjectContext, SubjectContextType, SubjectType, Team, Type, User, UserLocalizedRoles, UserSubject, } from './identity-v1-contributor-contributors.universal.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"identity-v1-contributor-contributors.public.js","sourceRoot":"","sources":["../../../src/identity-v1-contributor-contributors.public.ts"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"identity-v1-contributor-contributors.public.js","sourceRoot":"","sources":["../../../src/identity-v1-contributor-contributors.public.ts"],"names":[],"mappings":"AACA,OAAO,EAUL,yBAAyB,IAAI,kCAAkC,EAC/D,UAAU,IAAI,mBAAmB,EACjC,oBAAoB,IAAI,6BAA6B,EACrD,qBAAqB,IAAI,8BAA8B,EACvD,qBAAqB,IAAI,8BAA8B,GACxD,MAAM,qDAAqD,CAAC;AAE7D,MAAM,CAAC,MAAM,UAAU,GAAG,EAAE,YAAY,EAAE,sBAAsB,EAAE,CAAC;AAEnE,gBAAgB;AAChB,MAAM,UAAU,qBAAqB,CACnC,UAAsB;IAEtB,OAAO,CAAC,OAAsC,EAAE,EAAE,CAChD,8BAA8B,CAC5B,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAYD,MAAM,UAAU,UAAU,CAAC,UAAsB;IAC/C,OAAO,CACL,SAAiB,EACjB,OAAwD,EACxD,EAAE,CACF,mBAAmB,CACjB,SAAS,EACT,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAcD,MAAM,UAAU,yBAAyB,CACvC,UAAsB;IAEtB,OAAO,CACL,SAAiB,EACjB,OAA2E,EAC3E,EAAE,CACF,kCAAkC,CAChC,SAAS,EACT,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAUD,MAAM,UAAU,qBAAqB,CACnC,UAAsB;IAEtB,OAAO,CAAC,OAAsC,EAAE,EAAE,CAChD,8BAA8B,CAC5B,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAYD,gBAAgB;AAChB,MAAM,UAAU,oBAAoB,CAClC,UAAsB;IAEtB,OAAO,GAAG,EAAE,CACV,6BAA6B;IAC3B,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AASD,OAAO,EAiBL,sBAAsB,EAQtB,QAAQ,EAcR,YAAY,EAeZ,YAAY,EAUZ,kBAAkB,EAClB,WAAW,EAEX,IAAI,GAIL,MAAM,qDAAqD,CAAC"}
|
|
@@ -552,99 +552,3 @@ export interface AppInvite {
|
|
|
552
552
|
/** @readonly */
|
|
553
553
|
dateUpdated?: Date | null;
|
|
554
554
|
}
|
|
555
|
-
interface AssignedPolicyNonNullableFields {
|
|
556
|
-
policyId: string;
|
|
557
|
-
}
|
|
558
|
-
interface ResourceNonNullableFields {
|
|
559
|
-
resourceType: ResourceType;
|
|
560
|
-
id: string;
|
|
561
|
-
}
|
|
562
|
-
interface ConditionNonNullableFields {
|
|
563
|
-
conditionType: ConditionAttributeType;
|
|
564
|
-
id: string;
|
|
565
|
-
}
|
|
566
|
-
interface ConditionsNonNullableFields {
|
|
567
|
-
conditions: ConditionNonNullableFields[];
|
|
568
|
-
}
|
|
569
|
-
interface CompanionResourceNonNullableFields {
|
|
570
|
-
id: string;
|
|
571
|
-
resourceType: string;
|
|
572
|
-
}
|
|
573
|
-
interface SiteRestrictionNonNullableFields {
|
|
574
|
-
id: string;
|
|
575
|
-
resource?: CompanionResourceNonNullableFields;
|
|
576
|
-
}
|
|
577
|
-
interface LocationsRestrictionNonNullableFields {
|
|
578
|
-
ids: string[];
|
|
579
|
-
}
|
|
580
|
-
interface RestrictionNonNullableFields {
|
|
581
|
-
resource?: ResourceNonNullableFields;
|
|
582
|
-
conditions?: ConditionsNonNullableFields;
|
|
583
|
-
site?: SiteRestrictionNonNullableFields;
|
|
584
|
-
locations?: LocationsRestrictionNonNullableFields;
|
|
585
|
-
}
|
|
586
|
-
interface SubjectContextNonNullableFields {
|
|
587
|
-
id: string;
|
|
588
|
-
contextType: SubjectContextType;
|
|
589
|
-
}
|
|
590
|
-
interface SubjectNonNullableFields {
|
|
591
|
-
id: string;
|
|
592
|
-
subjectType: SubjectType;
|
|
593
|
-
context?: SubjectContextNonNullableFields;
|
|
594
|
-
}
|
|
595
|
-
interface AssignmentNonNullableFields {
|
|
596
|
-
policy?: AssignedPolicyNonNullableFields;
|
|
597
|
-
assignmentId: string;
|
|
598
|
-
restrictions?: RestrictionNonNullableFields;
|
|
599
|
-
subject?: SubjectNonNullableFields;
|
|
600
|
-
}
|
|
601
|
-
interface PersonMetaDataNonNullableFields {
|
|
602
|
-
id: string;
|
|
603
|
-
assignments: AssignmentNonNullableFields[];
|
|
604
|
-
}
|
|
605
|
-
interface ContributorNonNullableFields {
|
|
606
|
-
metaData?: PersonMetaDataNonNullableFields;
|
|
607
|
-
id: string;
|
|
608
|
-
}
|
|
609
|
-
interface SiteInviteNonNullableFields {
|
|
610
|
-
id: string;
|
|
611
|
-
siteId: string;
|
|
612
|
-
email: string;
|
|
613
|
-
policyIds: string[];
|
|
614
|
-
inviterId: string;
|
|
615
|
-
status: InviteStatus;
|
|
616
|
-
acceptLink: string;
|
|
617
|
-
inviterAccountId: string;
|
|
618
|
-
locationIds: string[];
|
|
619
|
-
}
|
|
620
|
-
interface LimitedOptionsNonNullableFields {
|
|
621
|
-
limit: number;
|
|
622
|
-
used: number;
|
|
623
|
-
}
|
|
624
|
-
interface ContributorsQuotaNonNullableFields {
|
|
625
|
-
limitedOptions?: LimitedOptionsNonNullableFields;
|
|
626
|
-
type: Type;
|
|
627
|
-
}
|
|
628
|
-
export interface GetSiteContributorsV2ResponseNonNullableFields {
|
|
629
|
-
contributors: ContributorNonNullableFields[];
|
|
630
|
-
invites: SiteInviteNonNullableFields[];
|
|
631
|
-
contributorsQuota?: ContributorsQuotaNonNullableFields;
|
|
632
|
-
}
|
|
633
|
-
interface SiteRoleAssignmentNonNullableFields {
|
|
634
|
-
roleId: string;
|
|
635
|
-
assignmentId: string;
|
|
636
|
-
}
|
|
637
|
-
export interface ChangeContributorRoleResponseNonNullableFields {
|
|
638
|
-
newAssignedRoles: SiteRoleAssignmentNonNullableFields[];
|
|
639
|
-
}
|
|
640
|
-
interface SiteLocationAssignmentNonNullableFields {
|
|
641
|
-
locationIds: string[];
|
|
642
|
-
assignmentIds: string[];
|
|
643
|
-
}
|
|
644
|
-
export interface ChangeContributorLocationResponseNonNullableFields {
|
|
645
|
-
newAssignedLocations: SiteLocationAssignmentNonNullableFields[];
|
|
646
|
-
}
|
|
647
|
-
export interface GetContributorsQuotaResponseNonNullableFields {
|
|
648
|
-
contributorsQuota?: ContributorsQuotaNonNullableFields;
|
|
649
|
-
}
|
|
650
|
-
export {};
|