@adminide-stack/core 3.1.2-alpha.94 → 3.1.2-alpha.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.
@@ -43,7 +43,7 @@ export declare type Scalars = {
|
|
43
43
|
URI: URI;
|
44
44
|
URIInput: URI | UriComponents;
|
45
45
|
};
|
46
|
-
export declare type IAccessRole = IDefaultRole | IOrganizationRole | IResourceRole |
|
46
|
+
export declare type IAccessRole = IDefaultRole | IOrganizationRole | IResourceRole | IApplicationRole;
|
47
47
|
/** An access token that grants to the holder the privileges of the user who created it. */
|
48
48
|
export declare type IAccessToken = INode & {
|
49
49
|
__typename?: 'AccessToken';
|
@@ -252,8 +252,8 @@ export declare type IApplicationPolicy = IIConfigurationModel & {
|
|
252
252
|
keys?: Maybe<Array<Maybe<Scalars['String']>>>;
|
253
253
|
overrides?: Maybe<Array<Maybe<IOverrides>>>;
|
254
254
|
};
|
255
|
-
export declare type
|
256
|
-
__typename?: '
|
255
|
+
export declare type IApplicationRole = IIConfigurationModel & {
|
256
|
+
__typename?: 'ApplicationRole';
|
257
257
|
resource?: Maybe<Scalars['URI']>;
|
258
258
|
target?: Maybe<Scalars['Int']>;
|
259
259
|
contents?: Maybe<Scalars['AnyObject']>;
|
@@ -278,6 +278,8 @@ export declare enum IApplicationRoles {
|
|
278
278
|
ProjectViewer = "PROJECT_VIEWER",
|
279
279
|
TeamMaintainer = "TEAM_MAINTAINER",
|
280
280
|
TeamMember = "TEAM_MEMBER",
|
281
|
+
/** Role is unknown */
|
282
|
+
Unknown = "UNKNOWN",
|
281
283
|
/** User who is logged in */
|
282
284
|
User = "USER"
|
283
285
|
}
|
@@ -591,7 +593,7 @@ export declare type ICityUpdateInput = {
|
|
591
593
|
export declare enum IClientCacheTypeNames {
|
592
594
|
ApplicationConfiguration = "ApplicationConfiguration",
|
593
595
|
ApplicationPolicy = "ApplicationPolicy",
|
594
|
-
|
596
|
+
ApplicationRole = "ApplicationRole",
|
595
597
|
Configuration = "Configuration",
|
596
598
|
Context = "Context",
|
597
599
|
ContextKeyService = "ContextKeyService",
|
@@ -1708,7 +1710,6 @@ export declare type IOrgType = {
|
|
1708
1710
|
name?: Maybe<Scalars['String']>;
|
1709
1711
|
settings?: Maybe<Scalars['AnyObject']>;
|
1710
1712
|
};
|
1711
|
-
/** Do not use it, it is deprected, use `UserAccount` instead */
|
1712
1713
|
export declare type IOrgUser = IIOrgUser & {
|
1713
1714
|
__typename?: 'OrgUser';
|
1714
1715
|
userId: Scalars['String'];
|
@@ -2838,6 +2839,10 @@ export declare type ITerritorialStateUpdateInput = {
|
|
2838
2839
|
name?: Maybe<Scalars['String']>;
|
2839
2840
|
country: Scalars['Int'];
|
2840
2841
|
};
|
2842
|
+
export declare enum ITokenTypesEnum {
|
2843
|
+
EmailVerification = "EMAIL_VERIFICATION",
|
2844
|
+
PasswordReset = "PASSWORD_RESET"
|
2845
|
+
}
|
2841
2846
|
/**
|
2842
2847
|
* The User Account.
|
2843
2848
|
*
|
@@ -2850,8 +2855,8 @@ export declare type ITerritorialStateUpdateInput = {
|
|
2850
2855
|
* @property
|
2851
2856
|
* featureFlags: Any super power given to the user via a super user
|
2852
2857
|
* @property
|
2853
|
-
*
|
2854
|
-
* More than one will exists
|
2858
|
+
* tokens: An array of objects with information about the user's tokens.
|
2859
|
+
* More than one will exists.
|
2855
2860
|
* @property
|
2856
2861
|
* inactive: true if the user is not currently being billed for service.
|
2857
2862
|
* @property
|
@@ -2859,10 +2864,6 @@ export declare type ITerritorialStateUpdateInput = {
|
|
2859
2864
|
* @property
|
2860
2865
|
* userOgs: the orgs and roles for this user on each.
|
2861
2866
|
*/
|
2862
|
-
export declare enum ITokenTypesEnum {
|
2863
|
-
EmailVerification = "EMAIL_VERIFICATION",
|
2864
|
-
PasswordReset = "PASSWORD_RESET"
|
2865
|
-
}
|
2866
2867
|
export declare type IUserAccount = INode & {
|
2867
2868
|
__typename?: 'UserAccount';
|
2868
2869
|
/**
|
@@ -2883,6 +2884,27 @@ export declare type IUserAccount = INode & {
|
|
2883
2884
|
tokens?: Maybe<Array<Maybe<IUserToken>>>;
|
2884
2885
|
username?: Maybe<Scalars['String']>;
|
2885
2886
|
};
|
2887
|
+
/**
|
2888
|
+
* The User Account.
|
2889
|
+
*
|
2890
|
+
* @property
|
2891
|
+
* id: User ID
|
2892
|
+
* @property
|
2893
|
+
* email: The user email
|
2894
|
+
* @property
|
2895
|
+
* emailVerified: ture if email is verified, otherwise false
|
2896
|
+
* @property
|
2897
|
+
* featureFlags: Any super power given to the user via a super user
|
2898
|
+
* @property
|
2899
|
+
* tokens: An array of objects with information about the user's tokens.
|
2900
|
+
* More than one will exists.
|
2901
|
+
* @property
|
2902
|
+
* inactive: true if the user is not currently being billed for service.
|
2903
|
+
* @property
|
2904
|
+
* isBillingLeader: true if user is BillingLeader
|
2905
|
+
* @property
|
2906
|
+
* userOgs: the orgs and roles for this user on each.
|
2907
|
+
*/
|
2886
2908
|
export declare type IUserAccountAccessTokensArgs = {
|
2887
2909
|
first?: Maybe<Scalars['Int']>;
|
2888
2910
|
last?: Maybe<Scalars['Int']>;
|
@@ -3847,9 +3869,9 @@ declare type IConfiguration_ApplicationPolicy_Fragment = ({
|
|
3847
3869
|
__typename?: 'Overrides';
|
3848
3870
|
} & Pick<IOverrides, 'contents' | 'identifiers'>)>>>;
|
3849
3871
|
});
|
3850
|
-
declare type
|
3851
|
-
__typename: '
|
3852
|
-
} & Pick<
|
3872
|
+
declare type IConfiguration_ApplicationRole_Fragment = ({
|
3873
|
+
__typename: 'ApplicationRole';
|
3874
|
+
} & Pick<IApplicationRole, 'resource' | 'target' | 'contents' | 'keys'> & {
|
3853
3875
|
overrides?: Maybe<Array<Maybe<({
|
3854
3876
|
__typename?: 'Overrides';
|
3855
3877
|
} & Pick<IOverrides, 'contents' | 'identifiers'>)>>>;
|
@@ -3938,7 +3960,7 @@ declare type IConfiguration_UserConfiguration_Fragment = ({
|
|
3938
3960
|
__typename?: 'Overrides';
|
3939
3961
|
} & Pick<IOverrides, 'contents' | 'identifiers'>)>>>;
|
3940
3962
|
});
|
3941
|
-
export declare type IConfigurationFragment = IConfiguration_ApplicationConfiguration_Fragment | IConfiguration_ApplicationPolicy_Fragment |
|
3963
|
+
export declare type IConfigurationFragment = IConfiguration_ApplicationConfiguration_Fragment | IConfiguration_ApplicationPolicy_Fragment | IConfiguration_ApplicationRole_Fragment | IConfiguration_DefaultConfiguration_Fragment | IConfiguration_DefaultPolicy_Fragment | IConfiguration_DefaultRole_Fragment | IConfiguration_MachineConfiguration_Fragment | IConfiguration_OrganizationConfiguration_Fragment | IConfiguration_OrganizationPolicy_Fragment | IConfiguration_OrganizationResourceConfiguration_Fragment | IConfiguration_OrganizationRole_Fragment | IConfiguration_PolicyConfiguration_Fragment | IConfiguration_ResourcePolicy_Fragment | IConfiguration_ResourceRole_Fragment | IConfiguration_UserConfiguration_Fragment;
|
3942
3964
|
export declare type IContextConfigurationFragment = ({
|
3943
3965
|
__typename?: 'OrganizationData';
|
3944
3966
|
} & Pick<IOrganizationData, 'id' | 'name' | 'configuration'> & {
|
@@ -4069,8 +4091,8 @@ export declare type IGetApplicationRoleQuery = ({
|
|
4069
4091
|
} | {
|
4070
4092
|
__typename?: 'ResourceRole';
|
4071
4093
|
} | ({
|
4072
|
-
__typename?: '
|
4073
|
-
} &
|
4094
|
+
__typename?: 'ApplicationRole';
|
4095
|
+
} & IConfiguration_ApplicationRole_Fragment)>>>;
|
4074
4096
|
});
|
4075
4097
|
export declare type IDefaultResolveSettingsQueryVariables = Exact<{
|
4076
4098
|
uri: Scalars['URI'];
|
@@ -4154,7 +4176,7 @@ export declare type IGetDefaultRoleQuery = ({
|
|
4154
4176
|
} | {
|
4155
4177
|
__typename?: 'ResourceRole';
|
4156
4178
|
} | {
|
4157
|
-
__typename?: '
|
4179
|
+
__typename?: 'ApplicationRole';
|
4158
4180
|
}>>>;
|
4159
4181
|
});
|
4160
4182
|
export declare type IGetTeamContextQueryVariables = Exact<{
|
@@ -4193,7 +4215,7 @@ export declare type IGetUserAccessRoleQuery = ({
|
|
4193
4215
|
} & IConfiguration_OrganizationRole_Fragment) | ({
|
4194
4216
|
__typename?: 'ResourceRole';
|
4195
4217
|
} & IConfiguration_ResourceRole_Fragment) | {
|
4196
|
-
__typename?: '
|
4218
|
+
__typename?: 'ApplicationRole';
|
4197
4219
|
}>>>;
|
4198
4220
|
resourceUserRoles?: Maybe<Array<Maybe<({
|
4199
4221
|
__typename?: 'ResourceUser';
|
@@ -4263,7 +4285,7 @@ export declare type IGetOrgRoleQuery = ({
|
|
4263
4285
|
} & IConfiguration_OrganizationRole_Fragment) | {
|
4264
4286
|
__typename?: 'ResourceRole';
|
4265
4287
|
} | {
|
4266
|
-
__typename?: '
|
4288
|
+
__typename?: 'ApplicationRole';
|
4267
4289
|
}>>>;
|
4268
4290
|
});
|
4269
4291
|
export declare type IGetOrgWithResourcesPolicyQueryVariables = Exact<{
|
@@ -4294,9 +4316,9 @@ export declare type IGetOrgWithResourcesRoleQuery = ({
|
|
4294
4316
|
__typename?: 'OrganizationRole';
|
4295
4317
|
} & IConfiguration_OrganizationRole_Fragment) | ({
|
4296
4318
|
__typename?: 'ResourceRole';
|
4297
|
-
} & IConfiguration_ResourceRole_Fragment) | {
|
4298
|
-
__typename?: '
|
4299
|
-
}>>>;
|
4319
|
+
} & IConfiguration_ResourceRole_Fragment) | ({
|
4320
|
+
__typename?: 'ApplicationRole';
|
4321
|
+
} & IConfiguration_ApplicationRole_Fragment)>>>;
|
4300
4322
|
});
|
4301
4323
|
export declare type IResolveConfigurationQueryVariables = Exact<{
|
4302
4324
|
input: IPreferencesInputInput;
|
@@ -4423,7 +4445,7 @@ export declare type IGetRoleQuery = ({
|
|
4423
4445
|
} & Pick<IOrganizationRole, 'contents' | 'keys'>) | {
|
4424
4446
|
__typename?: 'ResourceRole';
|
4425
4447
|
} | {
|
4426
|
-
__typename?: '
|
4448
|
+
__typename?: 'ApplicationRole';
|
4427
4449
|
}>;
|
4428
4450
|
});
|
4429
4451
|
export declare type IGetOrgWithResourcesConfigurationQueryVariables = Exact<{
|
@@ -4638,8 +4660,8 @@ export declare type IGetConfigurationDataQuery = ({
|
|
4638
4660
|
} & IConfiguration_ApplicationConfiguration_Fragment) | ({
|
4639
4661
|
__typename?: 'ApplicationPolicy';
|
4640
4662
|
} & IConfiguration_ApplicationPolicy_Fragment) | ({
|
4641
|
-
__typename?: '
|
4642
|
-
} &
|
4663
|
+
__typename?: 'ApplicationRole';
|
4664
|
+
} & IConfiguration_ApplicationRole_Fragment) | ({
|
4643
4665
|
__typename?: 'DefaultConfiguration';
|
4644
4666
|
} & IConfiguration_DefaultConfiguration_Fragment) | ({
|
4645
4667
|
__typename?: 'DefaultPolicy';
|
@@ -4669,8 +4691,8 @@ export declare type IGetConfigurationDataQuery = ({
|
|
4669
4691
|
} & IConfiguration_ApplicationConfiguration_Fragment) | ({
|
4670
4692
|
__typename?: 'ApplicationPolicy';
|
4671
4693
|
} & IConfiguration_ApplicationPolicy_Fragment) | ({
|
4672
|
-
__typename?: '
|
4673
|
-
} &
|
4694
|
+
__typename?: 'ApplicationRole';
|
4695
|
+
} & IConfiguration_ApplicationRole_Fragment) | ({
|
4674
4696
|
__typename?: 'DefaultConfiguration';
|
4675
4697
|
} & IConfiguration_DefaultConfiguration_Fragment) | ({
|
4676
4698
|
__typename?: 'DefaultPolicy';
|
@@ -4700,8 +4722,8 @@ export declare type IGetConfigurationDataQuery = ({
|
|
4700
4722
|
} & IConfiguration_ApplicationConfiguration_Fragment) | ({
|
4701
4723
|
__typename?: 'ApplicationPolicy';
|
4702
4724
|
} & IConfiguration_ApplicationPolicy_Fragment) | ({
|
4703
|
-
__typename?: '
|
4704
|
-
} &
|
4725
|
+
__typename?: 'ApplicationRole';
|
4726
|
+
} & IConfiguration_ApplicationRole_Fragment) | ({
|
4705
4727
|
__typename?: 'DefaultConfiguration';
|
4706
4728
|
} & IConfiguration_DefaultConfiguration_Fragment) | ({
|
4707
4729
|
__typename?: 'DefaultPolicy';
|
@@ -4731,8 +4753,8 @@ export declare type IGetConfigurationDataQuery = ({
|
|
4731
4753
|
} & IConfiguration_ApplicationConfiguration_Fragment) | ({
|
4732
4754
|
__typename?: 'ApplicationPolicy';
|
4733
4755
|
} & IConfiguration_ApplicationPolicy_Fragment) | ({
|
4734
|
-
__typename?: '
|
4735
|
-
} &
|
4756
|
+
__typename?: 'ApplicationRole';
|
4757
|
+
} & IConfiguration_ApplicationRole_Fragment) | ({
|
4736
4758
|
__typename?: 'DefaultConfiguration';
|
4737
4759
|
} & IConfiguration_DefaultConfiguration_Fragment) | ({
|
4738
4760
|
__typename?: 'DefaultPolicy';
|
@@ -4762,8 +4784,8 @@ export declare type IGetConfigurationDataQuery = ({
|
|
4762
4784
|
} & IConfiguration_ApplicationConfiguration_Fragment) | ({
|
4763
4785
|
__typename?: 'ApplicationPolicy';
|
4764
4786
|
} & IConfiguration_ApplicationPolicy_Fragment) | ({
|
4765
|
-
__typename?: '
|
4766
|
-
} &
|
4787
|
+
__typename?: 'ApplicationRole';
|
4788
|
+
} & IConfiguration_ApplicationRole_Fragment) | ({
|
4767
4789
|
__typename?: 'DefaultConfiguration';
|
4768
4790
|
} & IConfiguration_DefaultConfiguration_Fragment) | ({
|
4769
4791
|
__typename?: 'DefaultPolicy';
|
@@ -7580,7 +7602,7 @@ export declare type NextResolverFn<T> = () => Promise<T>;
|
|
7580
7602
|
export declare type DirectiveResolverFn<TResult = {}, TParent = {}, TContext = {}, TArgs = {}> = (next: NextResolverFn<TResult>, parent: TParent, args: TArgs, context: TContext, info: GraphQLResolveInfo) => TResult | Promise<TResult>;
|
7581
7603
|
/** Mapping between all available schema types and the resolvers types */
|
7582
7604
|
export declare type IResolversTypes = {
|
7583
|
-
AccessRole: IResolversTypes['DefaultRole'] | IResolversTypes['OrganizationRole'] | IResolversTypes['ResourceRole'] | IResolversTypes['
|
7605
|
+
AccessRole: IResolversTypes['DefaultRole'] | IResolversTypes['OrganizationRole'] | IResolversTypes['ResourceRole'] | IResolversTypes['ApplicationRole'];
|
7584
7606
|
AccessToken: ResolverTypeWrapper<IAccessToken>;
|
7585
7607
|
ID: ResolverTypeWrapper<Scalars['ID']>;
|
7586
7608
|
String: ResolverTypeWrapper<Scalars['String']>;
|
@@ -7598,7 +7620,7 @@ export declare type IResolversTypes = {
|
|
7598
7620
|
ApplicationBillingPlanPolicy: IApplicationBillingPlanPolicy;
|
7599
7621
|
ApplicationConfiguration: ResolverTypeWrapper<IApplicationConfiguration>;
|
7600
7622
|
ApplicationPolicy: ResolverTypeWrapper<IApplicationPolicy>;
|
7601
|
-
|
7623
|
+
ApplicationRole: ResolverTypeWrapper<IApplicationRole>;
|
7602
7624
|
ApplicationRoles: IApplicationRoles;
|
7603
7625
|
ApplicationSettings: ResolverTypeWrapper<IApplicationSettings>;
|
7604
7626
|
Boolean: ResolverTypeWrapper<Scalars['Boolean']>;
|
@@ -7667,7 +7689,7 @@ export declare type IResolversTypes = {
|
|
7667
7689
|
IAuth0User: IResolversTypes['UserProfile'];
|
7668
7690
|
IAuth0UserProfile: IResolversTypes['UserProfile'];
|
7669
7691
|
ICity: never;
|
7670
|
-
IConfigurationModel: IResolversTypes['ApplicationConfiguration'] | IResolversTypes['ApplicationPolicy'] | IResolversTypes['
|
7692
|
+
IConfigurationModel: IResolversTypes['ApplicationConfiguration'] | IResolversTypes['ApplicationPolicy'] | IResolversTypes['ApplicationRole'] | IResolversTypes['DefaultConfiguration'] | IResolversTypes['DefaultPolicy'] | IResolversTypes['DefaultRole'] | IResolversTypes['MachineConfiguration'] | IResolversTypes['OrganizationConfiguration'] | IResolversTypes['OrganizationPolicy'] | IResolversTypes['OrganizationResourceConfiguration'] | IResolversTypes['OrganizationRole'] | IResolversTypes['PolicyConfiguration'] | IResolversTypes['ResourcePolicy'] | IResolversTypes['ResourceRole'] | IResolversTypes['UserConfiguration'];
|
7671
7693
|
IConfigurationService: never;
|
7672
7694
|
ICountry: never;
|
7673
7695
|
IEventWithContext: IResolversTypes['OrganizationCreatedEvent'] | IResolversTypes['OrganizationDeletedEvent'];
|
@@ -7866,7 +7888,7 @@ export declare type IResolversTypes = {
|
|
7866
7888
|
};
|
7867
7889
|
/** Mapping between all available schema types and the resolvers parents */
|
7868
7890
|
export declare type IResolversParentTypes = {
|
7869
|
-
AccessRole: IResolversParentTypes['DefaultRole'] | IResolversParentTypes['OrganizationRole'] | IResolversParentTypes['ResourceRole'] | IResolversParentTypes['
|
7891
|
+
AccessRole: IResolversParentTypes['DefaultRole'] | IResolversParentTypes['OrganizationRole'] | IResolversParentTypes['ResourceRole'] | IResolversParentTypes['ApplicationRole'];
|
7870
7892
|
AccessToken: IAccessToken;
|
7871
7893
|
ID: Scalars['ID'];
|
7872
7894
|
String: Scalars['String'];
|
@@ -7882,7 +7904,7 @@ export declare type IResolversParentTypes = {
|
|
7882
7904
|
ApiManagement_Input: IApiManagement_Input;
|
7883
7905
|
ApplicationConfiguration: IApplicationConfiguration;
|
7884
7906
|
ApplicationPolicy: IApplicationPolicy;
|
7885
|
-
|
7907
|
+
ApplicationRole: IApplicationRole;
|
7886
7908
|
ApplicationSettings: IApplicationSettings;
|
7887
7909
|
Boolean: Scalars['Boolean'];
|
7888
7910
|
Auth0Identity: IAuth0Identity;
|
@@ -7935,7 +7957,7 @@ export declare type IResolversParentTypes = {
|
|
7935
7957
|
IAuth0User: IResolversParentTypes['UserProfile'];
|
7936
7958
|
IAuth0UserProfile: IResolversParentTypes['UserProfile'];
|
7937
7959
|
ICity: never;
|
7938
|
-
IConfigurationModel: IResolversParentTypes['ApplicationConfiguration'] | IResolversParentTypes['ApplicationPolicy'] | IResolversParentTypes['
|
7960
|
+
IConfigurationModel: IResolversParentTypes['ApplicationConfiguration'] | IResolversParentTypes['ApplicationPolicy'] | IResolversParentTypes['ApplicationRole'] | IResolversParentTypes['DefaultConfiguration'] | IResolversParentTypes['DefaultPolicy'] | IResolversParentTypes['DefaultRole'] | IResolversParentTypes['MachineConfiguration'] | IResolversParentTypes['OrganizationConfiguration'] | IResolversParentTypes['OrganizationPolicy'] | IResolversParentTypes['OrganizationResourceConfiguration'] | IResolversParentTypes['OrganizationRole'] | IResolversParentTypes['PolicyConfiguration'] | IResolversParentTypes['ResourcePolicy'] | IResolversParentTypes['ResourceRole'] | IResolversParentTypes['UserConfiguration'];
|
7939
7961
|
IConfigurationService: never;
|
7940
7962
|
ICountry: never;
|
7941
7963
|
IEventWithContext: IResolversParentTypes['OrganizationCreatedEvent'] | IResolversParentTypes['OrganizationDeletedEvent'];
|
@@ -8122,7 +8144,7 @@ export declare type IIsAuthenticatedDirectiveResolver<Result, Parent, ContextTyp
|
|
8122
8144
|
export declare type IProfileDirectiveArgs = {};
|
8123
8145
|
export declare type IProfileDirectiveResolver<Result, Parent, ContextType = MyContext, Args = IProfileDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
|
8124
8146
|
export declare type IAccessRoleResolvers<ContextType = MyContext, ParentType extends IResolversParentTypes['AccessRole'] = IResolversParentTypes['AccessRole']> = {
|
8125
|
-
__resolveType: TypeResolveFn<'DefaultRole' | 'OrganizationRole' | 'ResourceRole' | '
|
8147
|
+
__resolveType: TypeResolveFn<'DefaultRole' | 'OrganizationRole' | 'ResourceRole' | 'ApplicationRole', ParentType, ContextType>;
|
8126
8148
|
};
|
8127
8149
|
export declare type IAccessTokenResolvers<ContextType = MyContext, ParentType extends IResolversParentTypes['AccessToken'] = IResolversParentTypes['AccessToken']> = {
|
8128
8150
|
id?: Resolver<IResolversTypes['ID'], ParentType, ContextType>;
|
@@ -8198,7 +8220,7 @@ export declare type IApplicationPolicyResolvers<ContextType = MyContext, ParentT
|
|
8198
8220
|
overrides?: Resolver<Maybe<Array<Maybe<IResolversTypes['Overrides']>>>, ParentType, ContextType>;
|
8199
8221
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
8200
8222
|
};
|
8201
|
-
export declare type
|
8223
|
+
export declare type IApplicationRoleResolvers<ContextType = MyContext, ParentType extends IResolversParentTypes['ApplicationRole'] = IResolversParentTypes['ApplicationRole']> = {
|
8202
8224
|
resource?: Resolver<Maybe<IResolversTypes['URI']>, ParentType, ContextType>;
|
8203
8225
|
target?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
8204
8226
|
contents?: Resolver<Maybe<IResolversTypes['AnyObject']>, ParentType, ContextType>;
|
@@ -8570,7 +8592,7 @@ export declare type IICityResolvers<ContextType = MyContext, ParentType extends
|
|
8570
8592
|
updatedAt?: Resolver<Maybe<IResolversTypes['Date']>, ParentType, ContextType>;
|
8571
8593
|
};
|
8572
8594
|
export declare type IIConfigurationModelResolvers<ContextType = MyContext, ParentType extends IResolversParentTypes['IConfigurationModel'] = IResolversParentTypes['IConfigurationModel']> = {
|
8573
|
-
__resolveType: TypeResolveFn<'ApplicationConfiguration' | 'ApplicationPolicy' | '
|
8595
|
+
__resolveType: TypeResolveFn<'ApplicationConfiguration' | 'ApplicationPolicy' | 'ApplicationRole' | 'DefaultConfiguration' | 'DefaultPolicy' | 'DefaultRole' | 'MachineConfiguration' | 'OrganizationConfiguration' | 'OrganizationPolicy' | 'OrganizationResourceConfiguration' | 'OrganizationRole' | 'PolicyConfiguration' | 'ResourcePolicy' | 'ResourceRole' | 'UserConfiguration', ParentType, ContextType>;
|
8574
8596
|
resource?: Resolver<Maybe<IResolversTypes['URI']>, ParentType, ContextType>;
|
8575
8597
|
target?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
8576
8598
|
contents?: Resolver<Maybe<IResolversTypes['AnyObject']>, ParentType, ContextType>;
|
@@ -9552,7 +9574,7 @@ export declare type IResolvers<ContextType = MyContext> = {
|
|
9552
9574
|
ApiManagement?: IApiManagementResolvers<ContextType>;
|
9553
9575
|
ApplicationConfiguration?: IApplicationConfigurationResolvers<ContextType>;
|
9554
9576
|
ApplicationPolicy?: IApplicationPolicyResolvers<ContextType>;
|
9555
|
-
|
9577
|
+
ApplicationRole?: IApplicationRoleResolvers<ContextType>;
|
9556
9578
|
ApplicationSettings?: IApplicationSettingsResolvers<ContextType>;
|
9557
9579
|
Auth0Identity?: IAuth0IdentityResolvers<ContextType>;
|
9558
9580
|
Auth0IdentityProfileData?: IAuth0IdentityProfileDataResolvers<ContextType>;
|
@@ -75,6 +75,8 @@ var IApplicationRoles;
|
|
75
75
|
IApplicationRoles["ProjectViewer"] = "PROJECT_VIEWER";
|
76
76
|
IApplicationRoles["TeamMaintainer"] = "TEAM_MAINTAINER";
|
77
77
|
IApplicationRoles["TeamMember"] = "TEAM_MEMBER";
|
78
|
+
/** Role is unknown */
|
79
|
+
IApplicationRoles["Unknown"] = "UNKNOWN";
|
78
80
|
/** User who is logged in */
|
79
81
|
IApplicationRoles["User"] = "USER";
|
80
82
|
})(IApplicationRoles = exports.IApplicationRoles || (exports.IApplicationRoles = {}));
|
@@ -92,7 +94,7 @@ var IClientCacheTypeNames;
|
|
92
94
|
(function (IClientCacheTypeNames) {
|
93
95
|
IClientCacheTypeNames["ApplicationConfiguration"] = "ApplicationConfiguration";
|
94
96
|
IClientCacheTypeNames["ApplicationPolicy"] = "ApplicationPolicy";
|
95
|
-
IClientCacheTypeNames["
|
97
|
+
IClientCacheTypeNames["ApplicationRole"] = "ApplicationRole";
|
96
98
|
IClientCacheTypeNames["Configuration"] = "Configuration";
|
97
99
|
IClientCacheTypeNames["Context"] = "Context";
|
98
100
|
IClientCacheTypeNames["ContextKeyService"] = "ContextKeyService";
|
@@ -440,27 +442,6 @@ var ITeamServiceAction;
|
|
440
442
|
ITeamServiceAction["DeclineInvitation"] = "declineInvitation";
|
441
443
|
ITeamServiceAction["SendProjectNotificaiton"] = "sendProjectNotificaiton";
|
442
444
|
})(ITeamServiceAction = exports.ITeamServiceAction || (exports.ITeamServiceAction = {}));
|
443
|
-
/**
|
444
|
-
* The User Account.
|
445
|
-
*
|
446
|
-
* @property
|
447
|
-
* id: User ID
|
448
|
-
* @property
|
449
|
-
* email: The user email
|
450
|
-
* @property
|
451
|
-
* emailVerified: ture if email is verified, otherwise false
|
452
|
-
* @property
|
453
|
-
* featureFlags: Any super power given to the user via a super user
|
454
|
-
* @property
|
455
|
-
* identities: An array of objects with information about the user's identities.
|
456
|
-
* More than one will exists in case accounts are linked.
|
457
|
-
* @property
|
458
|
-
* inactive: true if the user is not currently being billed for service.
|
459
|
-
* @property
|
460
|
-
* isBillingLeader: true if user is BillingLeader
|
461
|
-
* @property
|
462
|
-
* userOgs: the orgs and roles for this user on each.
|
463
|
-
*/
|
464
445
|
var ITokenTypesEnum;
|
465
446
|
(function (ITokenTypesEnum) {
|
466
447
|
ITokenTypesEnum["EmailVerification"] = "EMAIL_VERIFICATION";
|
@@ -2109,7 +2090,7 @@ function useGetApplicationPolicyLazyQuery(baseOptions) {
|
|
2109
2090
|
return Apollo.useLazyQuery(exports.GetApplicationPolicyDocument, options);
|
2110
2091
|
}
|
2111
2092
|
exports.useGetApplicationPolicyLazyQuery = useGetApplicationPolicyLazyQuery;
|
2112
|
-
exports.GetApplicationRoleDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "GetApplicationRole" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "ListType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "RoleInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "getRoles" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "
|
2093
|
+
exports.GetApplicationRoleDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "GetApplicationRole" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "ListType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "RoleInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "getRoles" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "ApplicationRole" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "Configuration" } }] } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "Configuration" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "IConfigurationModel" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "resource" } }, { "kind": "Field", "name": { "kind": "Name", "value": "target" } }, { "kind": "Field", "name": { "kind": "Name", "value": "contents" } }, { "kind": "Field", "name": { "kind": "Name", "value": "keys" } }, { "kind": "Field", "name": { "kind": "Name", "value": "overrides" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "contents" } }, { "kind": "Field", "name": { "kind": "Name", "value": "identifiers" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }] } }] };
|
2113
2094
|
/**
|
2114
2095
|
* __useGetApplicationRoleQuery__
|
2115
2096
|
*
|
@@ -2541,7 +2522,7 @@ function useGetOrgWithResourcesPolicyLazyQuery(baseOptions) {
|
|
2541
2522
|
return Apollo.useLazyQuery(exports.GetOrgWithResourcesPolicyDocument, options);
|
2542
2523
|
}
|
2543
2524
|
exports.useGetOrgWithResourcesPolicyLazyQuery = useGetOrgWithResourcesPolicyLazyQuery;
|
2544
|
-
exports.GetOrgWithResourcesRoleDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "GetOrgWithResourcesRole" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "ListType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "RoleInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "getRoles" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "OrganizationRole" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "Configuration" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "ResourceRole" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "Configuration" } }] } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "Configuration" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "IConfigurationModel" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "resource" } }, { "kind": "Field", "name": { "kind": "Name", "value": "target" } }, { "kind": "Field", "name": { "kind": "Name", "value": "contents" } }, { "kind": "Field", "name": { "kind": "Name", "value": "keys" } }, { "kind": "Field", "name": { "kind": "Name", "value": "overrides" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "contents" } }, { "kind": "Field", "name": { "kind": "Name", "value": "identifiers" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }] } }] };
|
2525
|
+
exports.GetOrgWithResourcesRoleDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "GetOrgWithResourcesRole" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "ListType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "RoleInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "getRoles" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "OrganizationRole" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "Configuration" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "ResourceRole" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "Configuration" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "ApplicationRole" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "Configuration" } }] } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "Configuration" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "IConfigurationModel" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "resource" } }, { "kind": "Field", "name": { "kind": "Name", "value": "target" } }, { "kind": "Field", "name": { "kind": "Name", "value": "contents" } }, { "kind": "Field", "name": { "kind": "Name", "value": "keys" } }, { "kind": "Field", "name": { "kind": "Name", "value": "overrides" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "contents" } }, { "kind": "Field", "name": { "kind": "Name", "value": "identifiers" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }] } }] };
|
2545
2526
|
/**
|
2546
2527
|
* __useGetOrgWithResourcesRoleQuery__
|
2547
2528
|
*
|