@wix/auto_sdk_user-management_users 1.0.4 → 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/identity-roles-v1-user-users.types.d.ts +69 -31
- package/build/cjs/src/identity-roles-v1-user-users.types.js.map +1 -1
- package/build/cjs/src/identity-roles-v1-user-users.universal.d.ts +70 -32
- package/build/cjs/src/identity-roles-v1-user-users.universal.js.map +1 -1
- package/build/es/src/identity-roles-v1-user-users.types.d.ts +69 -31
- package/build/es/src/identity-roles-v1-user-users.types.js.map +1 -1
- package/build/es/src/identity-roles-v1-user-users.universal.d.ts +70 -32
- package/build/es/src/identity-roles-v1-user-users.universal.js.map +1 -1
- package/build/internal/cjs/src/identity-roles-v1-user-users.types.d.ts +69 -31
- package/build/internal/cjs/src/identity-roles-v1-user-users.types.js.map +1 -1
- package/build/internal/cjs/src/identity-roles-v1-user-users.universal.d.ts +70 -32
- package/build/internal/cjs/src/identity-roles-v1-user-users.universal.js.map +1 -1
- package/build/internal/es/src/identity-roles-v1-user-users.types.d.ts +69 -31
- package/build/internal/es/src/identity-roles-v1-user-users.types.js.map +1 -1
- package/build/internal/es/src/identity-roles-v1-user-users.universal.d.ts +70 -32
- package/build/internal/es/src/identity-roles-v1-user-users.universal.js.map +1 -1
- package/package.json +3 -3
|
@@ -73,7 +73,7 @@ export interface RestrictionRestrictionsOneOf {
|
|
|
73
73
|
}
|
|
74
74
|
export interface ApiResource {
|
|
75
75
|
/** Resource type. */
|
|
76
|
-
resourceType?:
|
|
76
|
+
resourceType?: ResourceTypeWithLiterals;
|
|
77
77
|
/** Resource ID. */
|
|
78
78
|
id?: string;
|
|
79
79
|
value?: string | null;
|
|
@@ -82,13 +82,15 @@ export declare enum ResourceType {
|
|
|
82
82
|
UNKNOWN_RESOURCE_TYPE = "UNKNOWN_RESOURCE_TYPE",
|
|
83
83
|
SITE = "SITE"
|
|
84
84
|
}
|
|
85
|
+
/** @enumType */
|
|
86
|
+
export type ResourceTypeWithLiterals = ResourceType | 'UNKNOWN_RESOURCE_TYPE' | 'SITE';
|
|
85
87
|
export interface Conditions {
|
|
86
88
|
/** List of conditions. */
|
|
87
89
|
conditions?: ApiCondition[];
|
|
88
90
|
}
|
|
89
91
|
export interface ApiCondition {
|
|
90
92
|
/** Condition type. */
|
|
91
|
-
conditionType?:
|
|
93
|
+
conditionType?: ConditionAttributeTypeWithLiterals;
|
|
92
94
|
/** Condition ID. */
|
|
93
95
|
id?: string;
|
|
94
96
|
/** Expected value of the condition. When `conditionType` = "FOLDER", this is the folder path. */
|
|
@@ -98,6 +100,8 @@ export declare enum ConditionAttributeType {
|
|
|
98
100
|
UNKNOWN_CONDITION_TYPE = "UNKNOWN_CONDITION_TYPE",
|
|
99
101
|
FOLDER = "FOLDER"
|
|
100
102
|
}
|
|
103
|
+
/** @enumType */
|
|
104
|
+
export type ConditionAttributeTypeWithLiterals = ConditionAttributeType | 'UNKNOWN_CONDITION_TYPE' | 'FOLDER';
|
|
101
105
|
export interface SiteRestriction {
|
|
102
106
|
/** Site ID. */
|
|
103
107
|
id?: string;
|
|
@@ -122,7 +126,7 @@ export interface Subject {
|
|
|
122
126
|
/** ID of identity assigned to the asset. */
|
|
123
127
|
id?: string;
|
|
124
128
|
/** Type of identity assigned to the asset. Supported subject types include user IDs, account IDs, and app IDs. */
|
|
125
|
-
subjectType?:
|
|
129
|
+
subjectType?: SubjectTypeWithLiterals;
|
|
126
130
|
/** Context of identity assigned to the asset. For example, a `subjectType` = `USER` will have `context` = `ACCOUNT`. */
|
|
127
131
|
context?: SubjectContext;
|
|
128
132
|
}
|
|
@@ -137,15 +141,19 @@ export declare enum SubjectType {
|
|
|
137
141
|
ACCOUNT_GROUP = "ACCOUNT_GROUP",
|
|
138
142
|
WIX_APP = "WIX_APP"
|
|
139
143
|
}
|
|
144
|
+
/** @enumType */
|
|
145
|
+
export type SubjectTypeWithLiterals = SubjectType | 'UNKNOWN' | 'ACCOUNT' | 'USER' | 'USER_GROUP' | 'MEMBER_GROUP' | 'VISITOR_GROUP' | 'EXTERNAL_APP' | 'ACCOUNT_GROUP' | 'WIX_APP';
|
|
140
146
|
export interface SubjectContext {
|
|
141
147
|
id?: string;
|
|
142
|
-
contextType?:
|
|
148
|
+
contextType?: SubjectContextTypeWithLiterals;
|
|
143
149
|
}
|
|
144
150
|
export declare enum SubjectContextType {
|
|
145
151
|
UNKNOWN_CTX = "UNKNOWN_CTX",
|
|
146
152
|
ORG_CTX = "ORG_CTX",
|
|
147
153
|
ACCOUNT_CTX = "ACCOUNT_CTX"
|
|
148
154
|
}
|
|
155
|
+
/** @enumType */
|
|
156
|
+
export type SubjectContextTypeWithLiterals = SubjectContextType | 'UNKNOWN_CTX' | 'ORG_CTX' | 'ACCOUNT_CTX';
|
|
149
157
|
export interface GetTeamRequest {
|
|
150
158
|
/** @deprecated */
|
|
151
159
|
usersLimit?: number | null;
|
|
@@ -209,7 +217,7 @@ export interface AccountInvite {
|
|
|
209
217
|
* - **Declined:** The user has declined the invite.
|
|
210
218
|
* - **Expired:** The invite has expired without being accepted.
|
|
211
219
|
*/
|
|
212
|
-
status?:
|
|
220
|
+
status?: InviteStatusWithLiterals;
|
|
213
221
|
/** Link to accept the invite. */
|
|
214
222
|
acceptLink?: string;
|
|
215
223
|
/**
|
|
@@ -243,6 +251,8 @@ export declare enum InviteStatus {
|
|
|
243
251
|
Declined = "Declined",
|
|
244
252
|
Expired = "Expired"
|
|
245
253
|
}
|
|
254
|
+
/** @enumType */
|
|
255
|
+
export type InviteStatusWithLiterals = InviteStatus | 'Pending' | 'Used' | 'Deleted' | 'Declined' | 'Expired';
|
|
246
256
|
export interface InviteResourceAssignment {
|
|
247
257
|
/** Role ID. */
|
|
248
258
|
policyId?: string;
|
|
@@ -316,7 +326,7 @@ export interface ConditionTypeOfOneOf {
|
|
|
316
326
|
export interface SimpleCondition {
|
|
317
327
|
attrName?: string;
|
|
318
328
|
value?: SimpleConditionValue;
|
|
319
|
-
op?:
|
|
329
|
+
op?: SimpleConditionOperatorWithLiterals;
|
|
320
330
|
conditionModelId?: string;
|
|
321
331
|
}
|
|
322
332
|
export interface SimpleConditionValue extends SimpleConditionValueValueOneOf {
|
|
@@ -334,9 +344,11 @@ export declare enum SimpleConditionOperator {
|
|
|
334
344
|
UNKNOWN_SIMPLE_OP = "UNKNOWN_SIMPLE_OP",
|
|
335
345
|
EQUAL = "EQUAL"
|
|
336
346
|
}
|
|
347
|
+
/** @enumType */
|
|
348
|
+
export type SimpleConditionOperatorWithLiterals = SimpleConditionOperator | 'UNKNOWN_SIMPLE_OP' | 'EQUAL';
|
|
337
349
|
export interface JoinedCondition {
|
|
338
350
|
/** The operator that should be used when evaluating the condition */
|
|
339
|
-
op?:
|
|
351
|
+
op?: JoinedConditionOperatorWithLiterals;
|
|
340
352
|
/** The conditions that should be evaluated, and then joined using the operator provided */
|
|
341
353
|
conditions?: ConditionType[];
|
|
342
354
|
}
|
|
@@ -345,6 +357,8 @@ export declare enum JoinedConditionOperator {
|
|
|
345
357
|
OR = "OR",
|
|
346
358
|
AND = "AND"
|
|
347
359
|
}
|
|
360
|
+
/** @enumType */
|
|
361
|
+
export type JoinedConditionOperatorWithLiterals = JoinedConditionOperator | 'UNKNOWN_JOIN_OP' | 'OR' | 'AND';
|
|
348
362
|
export interface EnvironmentCondition extends EnvironmentConditionConditionOneOf {
|
|
349
363
|
experimentCondition?: ExperimentCondition;
|
|
350
364
|
}
|
|
@@ -462,8 +476,8 @@ export interface Role {
|
|
|
462
476
|
description?: string | null;
|
|
463
477
|
isCustom?: boolean;
|
|
464
478
|
scopes?: string[];
|
|
465
|
-
availableResourceTypes?:
|
|
466
|
-
availableConditions?:
|
|
479
|
+
availableResourceTypes?: ResourceTypeWithLiterals[];
|
|
480
|
+
availableConditions?: ConditionAttributeTypeWithLiterals[];
|
|
467
481
|
limitToEditorTypes?: string[];
|
|
468
482
|
}
|
|
469
483
|
export interface ChangeRoleRequest {
|
|
@@ -505,19 +519,19 @@ export interface ScopeArea {
|
|
|
505
519
|
title?: string;
|
|
506
520
|
appDefIds?: string[];
|
|
507
521
|
scopes?: PermissionScope[];
|
|
508
|
-
restrictFromLevel?:
|
|
522
|
+
restrictFromLevel?: ScopeLevelWithLiterals;
|
|
509
523
|
}
|
|
510
524
|
export interface PermissionScope {
|
|
511
525
|
id?: string;
|
|
512
526
|
title?: string;
|
|
513
527
|
description?: string;
|
|
514
|
-
level?:
|
|
528
|
+
level?: ScopeLevelWithLiterals;
|
|
515
529
|
experiments?: string[];
|
|
516
530
|
dependantScopes?: string[];
|
|
517
|
-
restrictFromLevel?:
|
|
531
|
+
restrictFromLevel?: ScopeLevelWithLiterals;
|
|
518
532
|
deprecated?: boolean | null;
|
|
519
533
|
/** The visibility of the scope for the caller */
|
|
520
|
-
visibility?:
|
|
534
|
+
visibility?: VisibilityWithLiterals;
|
|
521
535
|
/**
|
|
522
536
|
* @maxSize 20
|
|
523
537
|
* @format GUID
|
|
@@ -529,15 +543,19 @@ export declare enum ScopeLevel {
|
|
|
529
543
|
SITE = "SITE",
|
|
530
544
|
ACCOUNT = "ACCOUNT"
|
|
531
545
|
}
|
|
546
|
+
/** @enumType */
|
|
547
|
+
export type ScopeLevelWithLiterals = ScopeLevel | 'None' | 'SITE' | 'ACCOUNT';
|
|
532
548
|
export declare enum Visibility {
|
|
533
549
|
/** The scope should be visible to the caller */
|
|
534
550
|
VISIBLE = "VISIBLE",
|
|
535
551
|
/** The scope shouldn't be visible for the caller, because the capability that blocks it is turned on for the caller */
|
|
536
552
|
BLOCKED_BY_CAPABILITY = "BLOCKED_BY_CAPABILITY"
|
|
537
553
|
}
|
|
554
|
+
/** @enumType */
|
|
555
|
+
export type VisibilityWithLiterals = Visibility | 'VISIBLE' | 'BLOCKED_BY_CAPABILITY';
|
|
538
556
|
export interface GetPeopleRequest {
|
|
539
557
|
resource?: PeopleResource;
|
|
540
|
-
peopleType?:
|
|
558
|
+
peopleType?: PeopleTypeWithLiterals;
|
|
541
559
|
paging?: Paging;
|
|
542
560
|
/** The locale of the request. Defaults to en */
|
|
543
561
|
locale?: string | null;
|
|
@@ -560,6 +578,8 @@ export declare enum PeopleType {
|
|
|
560
578
|
CONTRIBUTOR = "CONTRIBUTOR",
|
|
561
579
|
TEAM_MEMBER = "TEAM_MEMBER"
|
|
562
580
|
}
|
|
581
|
+
/** @enumType */
|
|
582
|
+
export type PeopleTypeWithLiterals = PeopleType | 'UNDEF_PEOPLE_TYPE' | 'CONTRIBUTOR' | 'TEAM_MEMBER';
|
|
563
583
|
export interface GetPeopleResponse {
|
|
564
584
|
people?: People;
|
|
565
585
|
}
|
|
@@ -632,7 +652,7 @@ export interface Invite {
|
|
|
632
652
|
*/
|
|
633
653
|
accountId?: string;
|
|
634
654
|
email?: string;
|
|
635
|
-
status?:
|
|
655
|
+
status?: InviteStatusWithLiterals;
|
|
636
656
|
acceptLink?: string;
|
|
637
657
|
dateCreated?: Date | null;
|
|
638
658
|
dateUpdated?: Date | null;
|
|
@@ -650,7 +670,7 @@ export interface GetPoliciesRequest {
|
|
|
650
670
|
/** Areas filter to include only roles from areas that pass this filter. When not provided, roles from all areas will be returned */
|
|
651
671
|
areasFilter?: AreasFilter;
|
|
652
672
|
/** Role level filter to include only roles that are not restricted from the requested resource level (site/account). When set to ALL, all levels are returned */
|
|
653
|
-
roleLevel?:
|
|
673
|
+
roleLevel?: RoleLevelWithLiterals;
|
|
654
674
|
}
|
|
655
675
|
export interface AreasFilter {
|
|
656
676
|
/** A list of role area ids, to filter only roles belonging to these areas */
|
|
@@ -661,6 +681,8 @@ export declare enum RoleLevel {
|
|
|
661
681
|
SITE_LEVEL = "SITE_LEVEL",
|
|
662
682
|
ACCOUNT_LEVEL = "ACCOUNT_LEVEL"
|
|
663
683
|
}
|
|
684
|
+
/** @enumType */
|
|
685
|
+
export type RoleLevelWithLiterals = RoleLevel | 'ALL' | 'SITE_LEVEL' | 'ACCOUNT_LEVEL';
|
|
664
686
|
export interface GetPoliciesResponse {
|
|
665
687
|
policies?: PredefinedRoles;
|
|
666
688
|
}
|
|
@@ -678,15 +700,15 @@ export interface SearchTeamRequest {
|
|
|
678
700
|
* A list of facets to return in the response. Facets count the items within logical groupings.
|
|
679
701
|
* See [Filters and Facets: An Explainer](https://medium.com/@westontt/filters-and-facets-an-explainer-3b73a9538eca) for more information.
|
|
680
702
|
*/
|
|
681
|
-
facets?:
|
|
703
|
+
facets?: FacetTypeWithLiterals[];
|
|
682
704
|
/** Pagination. */
|
|
683
705
|
paging?: Paging;
|
|
684
706
|
}
|
|
685
707
|
export interface Ordering {
|
|
686
708
|
/** Field to sort by. */
|
|
687
|
-
fieldName?:
|
|
709
|
+
fieldName?: OrderFieldWithLiterals;
|
|
688
710
|
/** Sort order. */
|
|
689
|
-
direction?:
|
|
711
|
+
direction?: DirectionWithLiterals;
|
|
690
712
|
}
|
|
691
713
|
export declare enum OrderField {
|
|
692
714
|
/** For internal use. */
|
|
@@ -696,6 +718,8 @@ export declare enum OrderField {
|
|
|
696
718
|
/** Date team member joined the account. */
|
|
697
719
|
JoinedAt = "JoinedAt"
|
|
698
720
|
}
|
|
721
|
+
/** @enumType */
|
|
722
|
+
export type OrderFieldWithLiterals = OrderField | 'Undefined' | 'Name' | 'JoinedAt';
|
|
699
723
|
export declare enum Direction {
|
|
700
724
|
/** For internal use. */
|
|
701
725
|
UninitializedDirection = "UninitializedDirection",
|
|
@@ -704,6 +728,8 @@ export declare enum Direction {
|
|
|
704
728
|
/** Descending. */
|
|
705
729
|
DESC = "DESC"
|
|
706
730
|
}
|
|
731
|
+
/** @enumType */
|
|
732
|
+
export type DirectionWithLiterals = Direction | 'UninitializedDirection' | 'ASC' | 'DESC';
|
|
707
733
|
export declare enum FacetType {
|
|
708
734
|
Undefined = "Undefined",
|
|
709
735
|
/** How many team members with each role */
|
|
@@ -713,6 +739,8 @@ export declare enum FacetType {
|
|
|
713
739
|
/** How many team members in total in the account */
|
|
714
740
|
Users = "Users"
|
|
715
741
|
}
|
|
742
|
+
/** @enumType */
|
|
743
|
+
export type FacetTypeWithLiterals = FacetType | 'Undefined' | 'Roles' | 'InviteStatus' | 'Users';
|
|
716
744
|
export interface SearchTeamResponse {
|
|
717
745
|
/** List of facets, as requested. */
|
|
718
746
|
facets?: Facet[];
|
|
@@ -721,7 +749,7 @@ export interface SearchTeamResponse {
|
|
|
721
749
|
}
|
|
722
750
|
export interface Facet {
|
|
723
751
|
/** Facet type. */
|
|
724
|
-
facetType?:
|
|
752
|
+
facetType?: FacetTypeWithLiterals;
|
|
725
753
|
/** Values and their counters. Values with count = 0 are not returned. */
|
|
726
754
|
values?: FacetValue[];
|
|
727
755
|
}
|
|
@@ -782,7 +810,7 @@ export interface AssignedSubject {
|
|
|
782
810
|
*/
|
|
783
811
|
id?: string;
|
|
784
812
|
/** Identity type. */
|
|
785
|
-
subjectType?:
|
|
813
|
+
subjectType?: SubjectTypeWithLiterals;
|
|
786
814
|
}
|
|
787
815
|
export interface InviteV3 {
|
|
788
816
|
/**
|
|
@@ -797,7 +825,7 @@ export interface InviteV3 {
|
|
|
797
825
|
*/
|
|
798
826
|
email?: string | null;
|
|
799
827
|
/** Invite status. */
|
|
800
|
-
status?:
|
|
828
|
+
status?: InviteStatusWithLiterals;
|
|
801
829
|
/** URL of direct link to accept the invite. */
|
|
802
830
|
acceptLink?: string | null;
|
|
803
831
|
/** Date the invite was created. */
|
|
@@ -845,27 +873,31 @@ export interface PredefinedRoleV2 {
|
|
|
845
873
|
/** Indicates if the role is deprecated (shouldn't be granted, and only exists for backward compatability) */
|
|
846
874
|
deprecated?: boolean;
|
|
847
875
|
/** Indicates if this role should be restricted from assignments of a specific resource type (if RoleLevelRestriction = None, there is no restriction) */
|
|
848
|
-
restrictFromLevel?:
|
|
876
|
+
restrictFromLevel?: RoleLevelRestrictionWithLiterals;
|
|
849
877
|
/** Experiments that should be open for this role to be visible */
|
|
850
878
|
experiments?: string[];
|
|
851
879
|
/** Applications that should be installed for this role to be visible */
|
|
852
880
|
appDefIds?: string[];
|
|
853
881
|
/** Editor types this role should be limited to (if empty, available in all editors) */
|
|
854
|
-
limitToEditorTypes?:
|
|
882
|
+
limitToEditorTypes?: EditorTypeWithLiterals[];
|
|
855
883
|
/** The visibility of the role */
|
|
856
|
-
visibility?:
|
|
884
|
+
visibility?: RoleVisibilityWithLiterals;
|
|
857
885
|
}
|
|
858
886
|
export declare enum RoleLevelRestriction {
|
|
859
887
|
NoRestriction = "NoRestriction",
|
|
860
888
|
Site = "Site",
|
|
861
889
|
Account = "Account"
|
|
862
890
|
}
|
|
891
|
+
/** @enumType */
|
|
892
|
+
export type RoleLevelRestrictionWithLiterals = RoleLevelRestriction | 'NoRestriction' | 'Site' | 'Account';
|
|
863
893
|
export declare enum EditorType {
|
|
864
894
|
UNINITIALIZED = "UNINITIALIZED",
|
|
865
895
|
EDITORX = "EDITORX",
|
|
866
896
|
BLOCKS = "BLOCKS",
|
|
867
897
|
STUDIO = "STUDIO"
|
|
868
898
|
}
|
|
899
|
+
/** @enumType */
|
|
900
|
+
export type EditorTypeWithLiterals = EditorType | 'UNINITIALIZED' | 'EDITORX' | 'BLOCKS' | 'STUDIO';
|
|
869
901
|
export declare enum RoleVisibility {
|
|
870
902
|
/** the role should be visible to the caller */
|
|
871
903
|
Visible = "Visible",
|
|
@@ -874,11 +906,13 @@ export declare enum RoleVisibility {
|
|
|
874
906
|
/** the role should be disabled for the caller, because the role's capability is disabled for the caller */
|
|
875
907
|
Disabled_Capability = "Disabled_Capability"
|
|
876
908
|
}
|
|
909
|
+
/** @enumType */
|
|
910
|
+
export type RoleVisibilityWithLiterals = RoleVisibility | 'Visible' | 'Disabled_Dependency' | 'Disabled_Capability';
|
|
877
911
|
export interface CustomRole {
|
|
878
912
|
/** The policy this role grants */
|
|
879
913
|
policy?: ApiPolicy;
|
|
880
914
|
/** The visibility of the role */
|
|
881
|
-
visibility?:
|
|
915
|
+
visibility?: RoleVisibilityWithLiterals;
|
|
882
916
|
/** Whether this role is assigned to a subject */
|
|
883
917
|
assigned?: boolean | null;
|
|
884
918
|
}
|
|
@@ -890,9 +924,9 @@ export interface GetRolesInfoRequest {
|
|
|
890
924
|
}
|
|
891
925
|
export interface RolesInfoFilter {
|
|
892
926
|
/** Role level to return. Default: ALL. */
|
|
893
|
-
roleLevel?:
|
|
927
|
+
roleLevel?: RoleLevelWithLiterals;
|
|
894
928
|
/** Filter for editor-specific roles. Default: ALL. */
|
|
895
|
-
editorTypes?:
|
|
929
|
+
editorTypes?: EditorTypeWithLiterals[];
|
|
896
930
|
}
|
|
897
931
|
export interface GetRolesInfoResponse {
|
|
898
932
|
/** Predefined roles. */
|
|
@@ -908,7 +942,7 @@ export interface RoleInfo {
|
|
|
908
942
|
/** Role description, translated according to the request locale. If translation fails, the original description is returned. */
|
|
909
943
|
description?: string;
|
|
910
944
|
/** Whether this role is restricted from accessing a specific resource type. Default: `NoRestriction`. */
|
|
911
|
-
restrictFromLevel?:
|
|
945
|
+
restrictFromLevel?: RoleLevelRestrictionWithLiterals;
|
|
912
946
|
}
|
|
913
947
|
export interface CreateCustomRoleRequest {
|
|
914
948
|
/** The custom role to create */
|
|
@@ -923,7 +957,7 @@ export interface Policy {
|
|
|
923
957
|
description?: string | null;
|
|
924
958
|
/** @readonly */
|
|
925
959
|
status?: string;
|
|
926
|
-
policyType?:
|
|
960
|
+
policyType?: PolicyTypeWithLiterals;
|
|
927
961
|
statements?: PolicyStatement[];
|
|
928
962
|
}
|
|
929
963
|
export declare enum PolicyType {
|
|
@@ -932,12 +966,14 @@ export declare enum PolicyType {
|
|
|
932
966
|
CUSTOM = "CUSTOM",
|
|
933
967
|
INLINE_CUSTOM = "INLINE_CUSTOM"
|
|
934
968
|
}
|
|
969
|
+
/** @enumType */
|
|
970
|
+
export type PolicyTypeWithLiterals = PolicyType | 'UNKNOWN_STATUS' | 'PREDEFINED' | 'CUSTOM' | 'INLINE_CUSTOM';
|
|
935
971
|
export interface PolicyStatement {
|
|
936
972
|
/** @readonly */
|
|
937
973
|
id?: string | null;
|
|
938
974
|
permissions?: string[];
|
|
939
975
|
scopes?: string[];
|
|
940
|
-
effect?:
|
|
976
|
+
effect?: EffectWithLiterals;
|
|
941
977
|
condition?: PolicyCondition;
|
|
942
978
|
}
|
|
943
979
|
export declare enum Effect {
|
|
@@ -945,6 +981,8 @@ export declare enum Effect {
|
|
|
945
981
|
ALLOW = "ALLOW",
|
|
946
982
|
DENY = "DENY"
|
|
947
983
|
}
|
|
984
|
+
/** @enumType */
|
|
985
|
+
export type EffectWithLiterals = Effect | 'UNKNOWN_EFFECT' | 'ALLOW' | 'DENY';
|
|
948
986
|
export interface CreateCustomRoleResponse {
|
|
949
987
|
/** The newly created custom role */
|
|
950
988
|
roleCreated?: Policy;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"identity-roles-v1-user-users.types.js","sourceRoot":"","sources":["../../../src/identity-roles-v1-user-users.types.ts"],"names":[],"mappings":";;;AAuFA,IAAY,YAGX;AAHD,WAAY,YAAY;IACtB,+DAA+C,CAAA;IAC/C,6BAAa,CAAA;AACf,CAAC,EAHW,YAAY,4BAAZ,YAAY,QAGvB;
|
|
1
|
+
{"version":3,"file":"identity-roles-v1-user-users.types.js","sourceRoot":"","sources":["../../../src/identity-roles-v1-user-users.types.ts"],"names":[],"mappings":";;;AAuFA,IAAY,YAGX;AAHD,WAAY,YAAY;IACtB,+DAA+C,CAAA;IAC/C,6BAAa,CAAA;AACf,CAAC,EAHW,YAAY,4BAAZ,YAAY,QAGvB;AAsBD,IAAY,sBAGX;AAHD,WAAY,sBAAsB;IAChC,2EAAiD,CAAA;IACjD,2CAAiB,CAAA;AACnB,CAAC,EAHW,sBAAsB,sCAAtB,sBAAsB,QAGjC;AAwCD,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/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