@adminide-stack/core 3.1.2-alpha.85 → 3.1.2-alpha.91
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/lib/constants/configuration.d.ts +2 -1
- package/lib/constants/configuration.js +3 -2
- package/lib/constants/configuration.js.map +1 -1
- package/lib/core/configurations/configuration.d.ts +31 -15
- package/lib/core/configurations/configuration.js +279 -47
- package/lib/core/configurations/configuration.js.map +1 -1
- package/lib/core/configurations/configuration.test.d.ts +1 -0
- package/lib/core/configurations/configuration.test.js +20 -0
- package/lib/core/configurations/configuration.test.js.map +1 -0
- package/lib/core/configurations/events/AbstractConfigurationChangEvent.d.ts +0 -0
- package/lib/core/configurations/events/AbstractConfigurationChangEvent.js +25 -0
- package/lib/core/configurations/events/AbstractConfigurationChangEvent.js.map +1 -0
- package/lib/core/configurations/events/AllKeysConfigurationChangeEvent.d.ts +0 -0
- package/lib/core/configurations/events/AllKeysConfigurationChangeEvent.js +27 -0
- package/lib/core/configurations/events/AllKeysConfigurationChangeEvent.js.map +1 -0
- package/lib/core/configurations/events/ConfigurationChangeEvent.d.ts +21 -0
- package/lib/core/configurations/events/ConfigurationChangeEvent.js +59 -0
- package/lib/core/configurations/events/ConfigurationChangeEvent.js.map +1 -0
- package/lib/core/configurations/events/OrganizationConfigurationChangeEvent.d.ts +0 -0
- package/lib/core/configurations/events/OrganizationConfigurationChangeEvent.js +37 -0
- package/lib/core/configurations/events/OrganizationConfigurationChangeEvent.js.map +1 -0
- package/lib/core/configurations/events/index.d.ts +1 -4
- package/lib/core/configurations/events/index.js +4 -4
- package/lib/core/configurations/events/index.js.map +1 -1
- package/lib/core/configurations/helpers/configuration.d.ts +2 -8
- package/lib/core/configurations/helpers/configuration.js +23 -40
- package/lib/core/configurations/helpers/configuration.js.map +1 -1
- package/lib/core/configurations/models/{configuration-model.d.ts → ConfigurationModel.d.ts} +11 -4
- package/lib/core/configurations/models/{configuration-model.js → ConfigurationModel.js} +89 -29
- package/lib/core/configurations/models/ConfigurationModel.js.map +1 -0
- package/lib/core/configurations/models/ConfigurationModel.test.d.ts +1 -0
- package/lib/core/configurations/models/ConfigurationModel.test.js +172 -0
- package/lib/core/configurations/models/ConfigurationModel.test.js.map +1 -0
- package/lib/core/configurations/models/index.d.ts +1 -1
- package/lib/core/configurations/models/index.js +1 -1
- package/lib/core/configurations/models/index.js.map +1 -1
- package/lib/core/organization/configuration.d.ts +4 -19
- package/lib/core/organization/configuration.js +2 -68
- package/lib/core/organization/configuration.js.map +1 -1
- package/lib/interfaces/configuration/configuration.d.ts +89 -1
- package/lib/interfaces/configuration/configuration.js +8 -0
- package/lib/interfaces/configuration/configuration.js.map +1 -1
- package/lib/interfaces/configuration/configurationRegistry.d.ts +144 -0
- package/lib/interfaces/configuration/configurationRegistry.js +3 -0
- package/lib/interfaces/configuration/configurationRegistry.js.map +1 -0
- package/lib/interfaces/configuration/configuraton-service.d.ts +7 -11
- package/lib/interfaces/configuration/event.d.ts +7 -10
- package/lib/interfaces/configuration/index.d.ts +1 -0
- package/lib/interfaces/configuration/index.js +1 -0
- package/lib/interfaces/configuration/index.js.map +1 -1
- package/lib/interfaces/generated/generated-models.d.ts +129 -132
- package/lib/interfaces/generated/generated-models.js +5 -52
- package/lib/interfaces/generated/generated-models.js.map +1 -1
- package/lib/interfaces/workbench-exports.d.ts +0 -4
- package/lib/interfaces/workbench-exports.js +3 -0
- package/lib/interfaces/workbench-exports.js.map +1 -1
- package/lib/services/abstract-configuration.d.ts +12 -12
- package/lib/services/abstract-configuration.js +59 -6
- package/lib/services/abstract-configuration.js.map +1 -1
- package/lib/services/abstract-organization-context-service.js +5 -5
- package/lib/services/abstract-organization-context-service.js.map +1 -1
- package/package.json +5 -2
- package/lib/core/configurations/events/abstract-configuration-change-event.d.ts +0 -6
- package/lib/core/configurations/events/abstract-configuration-change-event.js +0 -27
- package/lib/core/configurations/events/abstract-configuration-change-event.js.map +0 -1
- package/lib/core/configurations/events/all-keys-configuration-change-event.d.ts +0 -17
- package/lib/core/configurations/events/all-keys-configuration-change-event.js +0 -33
- package/lib/core/configurations/events/all-keys-configuration-change-event.js.map +0 -1
- package/lib/core/configurations/events/configuration-change-event.d.ts +0 -24
- package/lib/core/configurations/events/configuration-change-event.js +0 -84
- package/lib/core/configurations/events/configuration-change-event.js.map +0 -1
- package/lib/core/configurations/events/organization-configuration-change-event.d.ts +0 -15
- package/lib/core/configurations/events/organization-configuration-change-event.js +0 -39
- package/lib/core/configurations/events/organization-configuration-change-event.js.map +0 -1
- package/lib/core/configurations/models/configuration-model.js.map +0 -1
@@ -233,6 +233,17 @@ export declare enum IApplicationBillingPlanPolicy {
|
|
233
233
|
Alerts = "Alerts",
|
234
234
|
CustomFields = "CustomFields"
|
235
235
|
}
|
236
|
+
export declare type IApplicationConfiguration = IIConfigurationModel & {
|
237
|
+
__typename?: 'ApplicationConfiguration';
|
238
|
+
/** The ID. */
|
239
|
+
id?: Maybe<Scalars['ID']>;
|
240
|
+
/** The URL to the user's settings. */
|
241
|
+
resource: Scalars['URI'];
|
242
|
+
target?: Maybe<Scalars['Int']>;
|
243
|
+
contents?: Maybe<Scalars['AnyObject']>;
|
244
|
+
keys?: Maybe<Array<Maybe<Scalars['String']>>>;
|
245
|
+
overrides?: Maybe<Array<Maybe<IOverrides>>>;
|
246
|
+
};
|
236
247
|
export declare type IApplicationPolicy = IIConfigurationModel & {
|
237
248
|
__typename?: 'ApplicationPolicy';
|
238
249
|
resource?: Maybe<Scalars['URI']>;
|
@@ -578,6 +589,7 @@ export declare type ICityUpdateInput = {
|
|
578
589
|
state: ITerritorialStateUpdateInput;
|
579
590
|
};
|
580
591
|
export declare enum IClientCacheTypeNames {
|
592
|
+
ApplicationConfiguration = "ApplicationConfiguration",
|
581
593
|
ApplicationPolicy = "ApplicationPolicy",
|
582
594
|
ApplicationRolePermission = "ApplicationRolePermission",
|
583
595
|
Configuration = "Configuration",
|
@@ -600,6 +612,7 @@ export declare enum IClientCacheTypeNames {
|
|
600
612
|
OrganizationResourceConfiguration = "OrganizationResourceConfiguration",
|
601
613
|
OrganizationResourceData = "OrganizationResourceData",
|
602
614
|
OrganizationRole = "OrganizationRole",
|
615
|
+
PolicyConfiguration = "PolicyConfiguration",
|
603
616
|
ResourcePolicy = "ResourcePolicy",
|
604
617
|
ResourceRole = "ResourceRole",
|
605
618
|
ResourceUser = "ResourceUser",
|
@@ -655,7 +668,7 @@ export declare enum IConfigFragmentName {
|
|
655
668
|
/** Billing */
|
656
669
|
BillingPlanPolicies = "billingPlanPolicies"
|
657
670
|
}
|
658
|
-
export declare type IConfiguration = IDefaultConfiguration |
|
671
|
+
export declare type IConfiguration = IDefaultConfiguration | IPolicyConfiguration | IApplicationConfiguration | IUserConfiguration | IMachineConfiguration | IOrganizationConfiguration | IOrganizationResourceConfiguration;
|
659
672
|
export declare enum IConfigurationContributionNames {
|
660
673
|
DefaultPermissions = "defaultPermissions",
|
661
674
|
DefaultPolicies = "defaultPolicies",
|
@@ -666,6 +679,8 @@ export declare enum IConfigurationContributionNames {
|
|
666
679
|
export declare type IConfigurationData = {
|
667
680
|
__typename?: 'ConfigurationData';
|
668
681
|
defaults?: Maybe<IIConfigurationModel>;
|
682
|
+
policy?: Maybe<IIConfigurationModel>;
|
683
|
+
application?: Maybe<IIConfigurationModel>;
|
669
684
|
user?: Maybe<IIConfigurationModel>;
|
670
685
|
machine?: Maybe<IIConfigurationModel>;
|
671
686
|
organization?: Maybe<IIConfigurationModel>;
|
@@ -1019,14 +1034,6 @@ export declare type IICity = {
|
|
1019
1034
|
createdAt: Scalars['Date'];
|
1020
1035
|
updatedAt?: Maybe<Scalars['Date']>;
|
1021
1036
|
};
|
1022
|
-
export declare type IIConfigurationChangeEvent = {
|
1023
|
-
__typename?: 'IConfigurationChangeEvent';
|
1024
|
-
source?: Maybe<ConfigurationTarget>;
|
1025
|
-
affectedKeys?: Maybe<Array<Maybe<Scalars['String']>>>;
|
1026
|
-
sourceConfig?: Maybe<Scalars['AnyObject']>;
|
1027
|
-
changedConfiguration?: Maybe<IConfiguration>;
|
1028
|
-
changedConfigurationByResource?: Maybe<IOrganizationResourceConfiguration>;
|
1029
|
-
};
|
1030
1037
|
export declare type IIConfigurationModel = {
|
1031
1038
|
resource?: Maybe<Scalars['URI']>;
|
1032
1039
|
target?: Maybe<Scalars['Int']>;
|
@@ -1402,7 +1409,6 @@ export declare type IMutation = {
|
|
1402
1409
|
sendOrganizationInvitation?: Maybe<Scalars['Boolean']>;
|
1403
1410
|
sendUserPasswordResetEmail?: Maybe<Scalars['Boolean']>;
|
1404
1411
|
setSettingsValueByResource?: Maybe<Scalars['Boolean']>;
|
1405
|
-
toggleSidebar?: Maybe<Scalars['Boolean']>;
|
1406
1412
|
/** Triggers onUserLoggedIn events */
|
1407
1413
|
updateAuth0UserPassword?: Maybe<Scalars['Boolean']>;
|
1408
1414
|
updateConfiguration?: Maybe<Scalars['Boolean']>;
|
@@ -1576,9 +1582,6 @@ export declare type IMutationSetSettingsValueByResourceArgs = {
|
|
1576
1582
|
key?: Maybe<Scalars['String']>;
|
1577
1583
|
value?: Maybe<Scalars['String']>;
|
1578
1584
|
};
|
1579
|
-
export declare type IMutationToggleSidebarArgs = {
|
1580
|
-
state: Scalars['Boolean'];
|
1581
|
-
};
|
1582
1585
|
export declare type IMutationUpdateAuth0UserPasswordArgs = {
|
1583
1586
|
userId?: Maybe<Scalars['String']>;
|
1584
1587
|
password?: Maybe<Scalars['String']>;
|
@@ -1715,6 +1718,7 @@ export declare type IOrgUser = IIOrgUser & {
|
|
1715
1718
|
isSelf: Scalars['Boolean'];
|
1716
1719
|
crossCheckEmail?: Maybe<Scalars['String']>;
|
1717
1720
|
};
|
1721
|
+
/** Do not use it, it is deprected, use `UserAccount` instead */
|
1718
1722
|
export declare type IOrgUserAccount = INode & {
|
1719
1723
|
__typename?: 'OrgUserAccount';
|
1720
1724
|
id: Scalars['ID'];
|
@@ -2044,6 +2048,7 @@ export declare type IOrganizationsDeletedEvent = {
|
|
2044
2048
|
};
|
2045
2049
|
export declare type IOverrides = {
|
2046
2050
|
__typename?: 'Overrides';
|
2051
|
+
keys?: Maybe<Array<Maybe<Scalars['String']>>>;
|
2047
2052
|
contents?: Maybe<Scalars['AnyObject']>;
|
2048
2053
|
identifiers?: Maybe<Array<Maybe<Scalars['String']>>>;
|
2049
2054
|
};
|
@@ -2095,6 +2100,17 @@ export declare type IPhoneNumberInput = {
|
|
2095
2100
|
countryCode?: Maybe<Scalars['String']>;
|
2096
2101
|
phoneNumber?: Maybe<Scalars['String']>;
|
2097
2102
|
};
|
2103
|
+
export declare type IPolicyConfiguration = IIConfigurationModel & {
|
2104
|
+
__typename?: 'PolicyConfiguration';
|
2105
|
+
/** The ID. */
|
2106
|
+
id?: Maybe<Scalars['ID']>;
|
2107
|
+
/** The URL to the user's settings. */
|
2108
|
+
resource: Scalars['URI'];
|
2109
|
+
target?: Maybe<Scalars['Int']>;
|
2110
|
+
contents?: Maybe<Scalars['AnyObject']>;
|
2111
|
+
keys?: Maybe<Array<Maybe<Scalars['String']>>>;
|
2112
|
+
overrides?: Maybe<Array<Maybe<IOverrides>>>;
|
2113
|
+
};
|
2098
2114
|
export declare type IPolicySubject = {
|
2099
2115
|
__typename?: 'PolicySubject';
|
2100
2116
|
/** The URL to the policies. */
|
@@ -2319,7 +2335,6 @@ export declare type IQuery = {
|
|
2319
2335
|
resolveConfiguration?: Maybe<Scalars['AnyObject']>;
|
2320
2336
|
resolveSettings?: Maybe<Array<Maybe<IContributionSettings>>>;
|
2321
2337
|
selectedOrgResource?: Maybe<IContext>;
|
2322
|
-
sidebarState?: Maybe<Scalars['Boolean']>;
|
2323
2338
|
team?: Maybe<IAccountTeam>;
|
2324
2339
|
teams?: Maybe<Array<Maybe<IAccountTeam>>>;
|
2325
2340
|
/** The policies for the viewer. */
|
@@ -3050,18 +3065,6 @@ export declare enum IUserOrderBy {
|
|
3050
3065
|
UpdatedAtAsc = "updatedAt_ASC",
|
3051
3066
|
UpdatedAtDesc = "updatedAt_DESC"
|
3052
3067
|
}
|
3053
|
-
/** The user/org M:F join, denormalized on the user/org tables. */
|
3054
|
-
export declare type IUserOrg = {
|
3055
|
-
__typename?: 'UserOrg';
|
3056
|
-
userId: Scalars['String'];
|
3057
|
-
role?: Maybe<IApplicationRoles>;
|
3058
|
-
inactive?: Maybe<Scalars['Boolean']>;
|
3059
|
-
};
|
3060
|
-
export declare type IUserOrgInput = {
|
3061
|
-
userId: Scalars['String'];
|
3062
|
-
role?: Maybe<IApplicationRoles>;
|
3063
|
-
inactive?: Maybe<Scalars['Boolean']>;
|
3064
|
-
};
|
3065
3068
|
export declare type IUserPasswordResetInput = {
|
3066
3069
|
newPassword: Scalars['String'];
|
3067
3070
|
currentPassword: Scalars['String'];
|
@@ -3823,18 +3826,6 @@ export declare type IUserCreationEventFragment = ({
|
|
3823
3826
|
__typename?: 'UserMetadata';
|
3824
3827
|
} & Pick<IUserMetadata, 'last_name' | 'first_name' | 'phone_number' | 'work_email' | 'country' | 'company_name' | 'dob' | 'zip_code'>)>;
|
3825
3828
|
});
|
3826
|
-
export declare type IToggleSidebarMutationVariables = Exact<{
|
3827
|
-
state: Scalars['Boolean'];
|
3828
|
-
}>;
|
3829
|
-
export declare type IToggleSidebarMutation = ({
|
3830
|
-
__typename?: 'Mutation';
|
3831
|
-
} & Pick<IMutation, 'toggleSidebar'>);
|
3832
|
-
export declare type ISidebarStateQueryVariables = Exact<{
|
3833
|
-
[key: string]: never;
|
3834
|
-
}>;
|
3835
|
-
export declare type ISidebarStateQuery = ({
|
3836
|
-
__typename?: 'Query';
|
3837
|
-
} & Pick<IQuery, 'sidebarState'>);
|
3838
3829
|
export declare type IConfigurationUpdateEventFragment = ({
|
3839
3830
|
__typename: 'ConfigurationUpdateEvent';
|
3840
3831
|
} & Pick<IConfigurationUpdateEvent, 'contents' | 'resource' | 'target'> & {
|
@@ -3852,6 +3843,13 @@ export declare type IDefaultSettingFragment = ({
|
|
3852
3843
|
export declare type IOverWriteRoleValueFragment = ({
|
3853
3844
|
__typename?: 'ContributionSettings';
|
3854
3845
|
} & Pick<IContributionSettings, 'key' | 'value'>);
|
3846
|
+
declare type IConfiguration_ApplicationConfiguration_Fragment = ({
|
3847
|
+
__typename: 'ApplicationConfiguration';
|
3848
|
+
} & Pick<IApplicationConfiguration, 'resource' | 'target' | 'contents' | 'keys'> & {
|
3849
|
+
overrides?: Maybe<Array<Maybe<({
|
3850
|
+
__typename?: 'Overrides';
|
3851
|
+
} & Pick<IOverrides, 'contents' | 'identifiers'>)>>>;
|
3852
|
+
});
|
3855
3853
|
declare type IConfiguration_ApplicationPolicy_Fragment = ({
|
3856
3854
|
__typename: 'ApplicationPolicy';
|
3857
3855
|
} & Pick<IApplicationPolicy, 'resource' | 'target' | 'contents' | 'keys'> & {
|
@@ -3922,6 +3920,13 @@ declare type IConfiguration_OrganizationRole_Fragment = ({
|
|
3922
3920
|
__typename?: 'Overrides';
|
3923
3921
|
} & Pick<IOverrides, 'contents' | 'identifiers'>)>>>;
|
3924
3922
|
});
|
3923
|
+
declare type IConfiguration_PolicyConfiguration_Fragment = ({
|
3924
|
+
__typename: 'PolicyConfiguration';
|
3925
|
+
} & Pick<IPolicyConfiguration, 'resource' | 'target' | 'contents' | 'keys'> & {
|
3926
|
+
overrides?: Maybe<Array<Maybe<({
|
3927
|
+
__typename?: 'Overrides';
|
3928
|
+
} & Pick<IOverrides, 'contents' | 'identifiers'>)>>>;
|
3929
|
+
});
|
3925
3930
|
declare type IConfiguration_ResourcePolicy_Fragment = ({
|
3926
3931
|
__typename: 'ResourcePolicy';
|
3927
3932
|
} & Pick<IResourcePolicy, 'resource' | 'target' | 'contents' | 'keys'> & {
|
@@ -3943,7 +3948,7 @@ declare type IConfiguration_UserConfiguration_Fragment = ({
|
|
3943
3948
|
__typename?: 'Overrides';
|
3944
3949
|
} & Pick<IOverrides, 'contents' | 'identifiers'>)>>>;
|
3945
3950
|
});
|
3946
|
-
export declare type IConfigurationFragment = IConfiguration_ApplicationPolicy_Fragment | IConfiguration_ApplicationRolePermission_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_ResourcePolicy_Fragment | IConfiguration_ResourceRole_Fragment | IConfiguration_UserConfiguration_Fragment;
|
3951
|
+
export declare type IConfigurationFragment = IConfiguration_ApplicationConfiguration_Fragment | IConfiguration_ApplicationPolicy_Fragment | IConfiguration_ApplicationRolePermission_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;
|
3947
3952
|
export declare type IContextConfigurationFragment = ({
|
3948
3953
|
__typename?: 'OrganizationData';
|
3949
3954
|
} & Pick<IOrganizationData, 'id' | 'name' | 'configuration'> & {
|
@@ -4226,9 +4231,13 @@ export declare type IGetOrgConfigurationQuery = ({
|
|
4226
4231
|
getConfiguration?: Maybe<Array<Maybe<{
|
4227
4232
|
__typename?: 'DefaultConfiguration';
|
4228
4233
|
} | {
|
4229
|
-
__typename?: '
|
4234
|
+
__typename?: 'PolicyConfiguration';
|
4235
|
+
} | {
|
4236
|
+
__typename?: 'ApplicationConfiguration';
|
4230
4237
|
} | {
|
4231
4238
|
__typename?: 'UserConfiguration';
|
4239
|
+
} | {
|
4240
|
+
__typename?: 'MachineConfiguration';
|
4232
4241
|
} | ({
|
4233
4242
|
__typename?: 'OrganizationConfiguration';
|
4234
4243
|
} & IConfiguration_OrganizationConfiguration_Fragment) | {
|
@@ -4316,9 +4325,13 @@ export declare type IGetResourcesConfigurationQuery = ({
|
|
4316
4325
|
getConfiguration?: Maybe<Array<Maybe<{
|
4317
4326
|
__typename?: 'DefaultConfiguration';
|
4318
4327
|
} | {
|
4319
|
-
__typename?: '
|
4328
|
+
__typename?: 'PolicyConfiguration';
|
4329
|
+
} | {
|
4330
|
+
__typename?: 'ApplicationConfiguration';
|
4320
4331
|
} | {
|
4321
4332
|
__typename?: 'UserConfiguration';
|
4333
|
+
} | {
|
4334
|
+
__typename?: 'MachineConfiguration';
|
4322
4335
|
} | {
|
4323
4336
|
__typename?: 'OrganizationConfiguration';
|
4324
4337
|
} | ({
|
@@ -4333,11 +4346,15 @@ export declare type IGetUserConfigurationQuery = ({
|
|
4333
4346
|
} & {
|
4334
4347
|
getConfiguration?: Maybe<Array<Maybe<({
|
4335
4348
|
__typename?: 'DefaultConfiguration';
|
4336
|
-
} & IConfiguration_DefaultConfiguration_Fragment) |
|
4337
|
-
__typename?: '
|
4338
|
-
}
|
4349
|
+
} & IConfiguration_DefaultConfiguration_Fragment) | {
|
4350
|
+
__typename?: 'PolicyConfiguration';
|
4351
|
+
} | {
|
4352
|
+
__typename?: 'ApplicationConfiguration';
|
4353
|
+
} | ({
|
4339
4354
|
__typename?: 'UserConfiguration';
|
4340
|
-
} & IConfiguration_UserConfiguration_Fragment) | {
|
4355
|
+
} & IConfiguration_UserConfiguration_Fragment) | ({
|
4356
|
+
__typename?: 'MachineConfiguration';
|
4357
|
+
} & IConfiguration_MachineConfiguration_Fragment) | {
|
4341
4358
|
__typename?: 'OrganizationConfiguration';
|
4342
4359
|
} | {
|
4343
4360
|
__typename?: 'OrganizationResourceConfiguration';
|
@@ -4427,11 +4444,15 @@ export declare type IGetOrgWithResourcesConfigurationQuery = ({
|
|
4427
4444
|
} & {
|
4428
4445
|
getConfiguration?: Maybe<Array<Maybe<{
|
4429
4446
|
__typename?: 'DefaultConfiguration';
|
4430
|
-
} |
|
4431
|
-
__typename?: '
|
4432
|
-
}
|
4447
|
+
} | {
|
4448
|
+
__typename?: 'PolicyConfiguration';
|
4449
|
+
} | {
|
4450
|
+
__typename?: 'ApplicationConfiguration';
|
4451
|
+
} | {
|
4433
4452
|
__typename?: 'UserConfiguration';
|
4434
4453
|
} | ({
|
4454
|
+
__typename?: 'MachineConfiguration';
|
4455
|
+
} & IConfiguration_MachineConfiguration_Fragment) | ({
|
4435
4456
|
__typename?: 'OrganizationConfiguration';
|
4436
4457
|
} & IConfiguration_OrganizationConfiguration_Fragment) | ({
|
4437
4458
|
__typename?: 'OrganizationResourceConfiguration';
|
@@ -4446,10 +4467,14 @@ export declare type IGetUserWithDefaultConfigurationQuery = ({
|
|
4446
4467
|
getConfiguration?: Maybe<Array<Maybe<({
|
4447
4468
|
__typename?: 'DefaultConfiguration';
|
4448
4469
|
} & IConfiguration_DefaultConfiguration_Fragment) | {
|
4449
|
-
__typename?: '
|
4470
|
+
__typename?: 'PolicyConfiguration';
|
4471
|
+
} | {
|
4472
|
+
__typename?: 'ApplicationConfiguration';
|
4450
4473
|
} | ({
|
4451
4474
|
__typename?: 'UserConfiguration';
|
4452
4475
|
} & IConfiguration_UserConfiguration_Fragment) | {
|
4476
|
+
__typename?: 'MachineConfiguration';
|
4477
|
+
} | {
|
4453
4478
|
__typename?: 'OrganizationConfiguration';
|
4454
4479
|
} | {
|
4455
4480
|
__typename?: 'OrganizationResourceConfiguration';
|
@@ -4619,6 +4644,8 @@ export declare type IGetConfigurationDataQuery = ({
|
|
4619
4644
|
__typename?: 'ConfigurationData';
|
4620
4645
|
} & Pick<IConfigurationData, 'isComplete'> & {
|
4621
4646
|
defaults?: Maybe<({
|
4647
|
+
__typename?: 'ApplicationConfiguration';
|
4648
|
+
} & IConfiguration_ApplicationConfiguration_Fragment) | ({
|
4622
4649
|
__typename?: 'ApplicationPolicy';
|
4623
4650
|
} & IConfiguration_ApplicationPolicy_Fragment) | ({
|
4624
4651
|
__typename?: 'ApplicationRolePermission';
|
@@ -4639,6 +4666,8 @@ export declare type IGetConfigurationDataQuery = ({
|
|
4639
4666
|
} & IConfiguration_OrganizationResourceConfiguration_Fragment) | ({
|
4640
4667
|
__typename?: 'OrganizationRole';
|
4641
4668
|
} & IConfiguration_OrganizationRole_Fragment) | ({
|
4669
|
+
__typename?: 'PolicyConfiguration';
|
4670
|
+
} & IConfiguration_PolicyConfiguration_Fragment) | ({
|
4642
4671
|
__typename?: 'ResourcePolicy';
|
4643
4672
|
} & IConfiguration_ResourcePolicy_Fragment) | ({
|
4644
4673
|
__typename?: 'ResourceRole';
|
@@ -4646,6 +4675,8 @@ export declare type IGetConfigurationDataQuery = ({
|
|
4646
4675
|
__typename?: 'UserConfiguration';
|
4647
4676
|
} & IConfiguration_UserConfiguration_Fragment)>;
|
4648
4677
|
user?: Maybe<({
|
4678
|
+
__typename?: 'ApplicationConfiguration';
|
4679
|
+
} & IConfiguration_ApplicationConfiguration_Fragment) | ({
|
4649
4680
|
__typename?: 'ApplicationPolicy';
|
4650
4681
|
} & IConfiguration_ApplicationPolicy_Fragment) | ({
|
4651
4682
|
__typename?: 'ApplicationRolePermission';
|
@@ -4666,6 +4697,8 @@ export declare type IGetConfigurationDataQuery = ({
|
|
4666
4697
|
} & IConfiguration_OrganizationResourceConfiguration_Fragment) | ({
|
4667
4698
|
__typename?: 'OrganizationRole';
|
4668
4699
|
} & IConfiguration_OrganizationRole_Fragment) | ({
|
4700
|
+
__typename?: 'PolicyConfiguration';
|
4701
|
+
} & IConfiguration_PolicyConfiguration_Fragment) | ({
|
4669
4702
|
__typename?: 'ResourcePolicy';
|
4670
4703
|
} & IConfiguration_ResourcePolicy_Fragment) | ({
|
4671
4704
|
__typename?: 'ResourceRole';
|
@@ -4673,6 +4706,8 @@ export declare type IGetConfigurationDataQuery = ({
|
|
4673
4706
|
__typename?: 'UserConfiguration';
|
4674
4707
|
} & IConfiguration_UserConfiguration_Fragment)>;
|
4675
4708
|
machine?: Maybe<({
|
4709
|
+
__typename?: 'ApplicationConfiguration';
|
4710
|
+
} & IConfiguration_ApplicationConfiguration_Fragment) | ({
|
4676
4711
|
__typename?: 'ApplicationPolicy';
|
4677
4712
|
} & IConfiguration_ApplicationPolicy_Fragment) | ({
|
4678
4713
|
__typename?: 'ApplicationRolePermission';
|
@@ -4693,6 +4728,8 @@ export declare type IGetConfigurationDataQuery = ({
|
|
4693
4728
|
} & IConfiguration_OrganizationResourceConfiguration_Fragment) | ({
|
4694
4729
|
__typename?: 'OrganizationRole';
|
4695
4730
|
} & IConfiguration_OrganizationRole_Fragment) | ({
|
4731
|
+
__typename?: 'PolicyConfiguration';
|
4732
|
+
} & IConfiguration_PolicyConfiguration_Fragment) | ({
|
4696
4733
|
__typename?: 'ResourcePolicy';
|
4697
4734
|
} & IConfiguration_ResourcePolicy_Fragment) | ({
|
4698
4735
|
__typename?: 'ResourceRole';
|
@@ -4700,6 +4737,8 @@ export declare type IGetConfigurationDataQuery = ({
|
|
4700
4737
|
__typename?: 'UserConfiguration';
|
4701
4738
|
} & IConfiguration_UserConfiguration_Fragment)>;
|
4702
4739
|
organization?: Maybe<({
|
4740
|
+
__typename?: 'ApplicationConfiguration';
|
4741
|
+
} & IConfiguration_ApplicationConfiguration_Fragment) | ({
|
4703
4742
|
__typename?: 'ApplicationPolicy';
|
4704
4743
|
} & IConfiguration_ApplicationPolicy_Fragment) | ({
|
4705
4744
|
__typename?: 'ApplicationRolePermission';
|
@@ -4720,6 +4759,8 @@ export declare type IGetConfigurationDataQuery = ({
|
|
4720
4759
|
} & IConfiguration_OrganizationResourceConfiguration_Fragment) | ({
|
4721
4760
|
__typename?: 'OrganizationRole';
|
4722
4761
|
} & IConfiguration_OrganizationRole_Fragment) | ({
|
4762
|
+
__typename?: 'PolicyConfiguration';
|
4763
|
+
} & IConfiguration_PolicyConfiguration_Fragment) | ({
|
4723
4764
|
__typename?: 'ResourcePolicy';
|
4724
4765
|
} & IConfiguration_ResourcePolicy_Fragment) | ({
|
4725
4766
|
__typename?: 'ResourceRole';
|
@@ -4727,6 +4768,8 @@ export declare type IGetConfigurationDataQuery = ({
|
|
4727
4768
|
__typename?: 'UserConfiguration';
|
4728
4769
|
} & IConfiguration_UserConfiguration_Fragment)>;
|
4729
4770
|
resources?: Maybe<Array<Maybe<({
|
4771
|
+
__typename?: 'ApplicationConfiguration';
|
4772
|
+
} & IConfiguration_ApplicationConfiguration_Fragment) | ({
|
4730
4773
|
__typename?: 'ApplicationPolicy';
|
4731
4774
|
} & IConfiguration_ApplicationPolicy_Fragment) | ({
|
4732
4775
|
__typename?: 'ApplicationRolePermission';
|
@@ -4747,6 +4790,8 @@ export declare type IGetConfigurationDataQuery = ({
|
|
4747
4790
|
} & IConfiguration_OrganizationResourceConfiguration_Fragment) | ({
|
4748
4791
|
__typename?: 'OrganizationRole';
|
4749
4792
|
} & IConfiguration_OrganizationRole_Fragment) | ({
|
4793
|
+
__typename?: 'PolicyConfiguration';
|
4794
|
+
} & IConfiguration_PolicyConfiguration_Fragment) | ({
|
4750
4795
|
__typename?: 'ResourcePolicy';
|
4751
4796
|
} & IConfiguration_ResourcePolicy_Fragment) | ({
|
4752
4797
|
__typename?: 'ResourceRole';
|
@@ -6199,55 +6244,6 @@ export declare function useFilterIntegrationConfigurationLazyQuery(baseOptions?:
|
|
6199
6244
|
export declare type FilterIntegrationConfigurationQueryHookResult = ReturnType<typeof useFilterIntegrationConfigurationQuery>;
|
6200
6245
|
export declare type FilterIntegrationConfigurationLazyQueryHookResult = ReturnType<typeof useFilterIntegrationConfigurationLazyQuery>;
|
6201
6246
|
export declare type FilterIntegrationConfigurationQueryResult = Apollo.QueryResult<IFilterIntegrationConfigurationQuery, IFilterIntegrationConfigurationQueryVariables>;
|
6202
|
-
export declare const ToggleSidebarDocument: DocumentNode;
|
6203
|
-
/**
|
6204
|
-
* __useToggleSidebarMutation__
|
6205
|
-
*
|
6206
|
-
* To run a mutation, you first call `useToggleSidebarMutation` within a React component and pass it any options that fit your needs.
|
6207
|
-
* When your component renders, `useToggleSidebarMutation` returns a tuple that includes:
|
6208
|
-
* - A mutate function that you can call at any time to execute the mutation
|
6209
|
-
* - An object with fields that represent the current status of the mutation's execution
|
6210
|
-
*
|
6211
|
-
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
6212
|
-
*
|
6213
|
-
* @example
|
6214
|
-
* const [toggleSidebarMutation, { data, loading, error }] = useToggleSidebarMutation({
|
6215
|
-
* variables: {
|
6216
|
-
* state: // value for 'state'
|
6217
|
-
* },
|
6218
|
-
* });
|
6219
|
-
*/
|
6220
|
-
export declare function useToggleSidebarMutation(baseOptions?: Apollo.MutationHookOptions<IToggleSidebarMutation, IToggleSidebarMutationVariables>): Apollo.MutationTuple<IToggleSidebarMutation, Exact<{
|
6221
|
-
state: boolean;
|
6222
|
-
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
6223
|
-
export declare type ToggleSidebarMutationHookResult = ReturnType<typeof useToggleSidebarMutation>;
|
6224
|
-
export declare type ToggleSidebarMutationResult = Apollo.MutationResult<IToggleSidebarMutation>;
|
6225
|
-
export declare type ToggleSidebarMutationOptions = Apollo.BaseMutationOptions<IToggleSidebarMutation, IToggleSidebarMutationVariables>;
|
6226
|
-
export declare const SidebarStateDocument: DocumentNode;
|
6227
|
-
/**
|
6228
|
-
* __useSidebarStateQuery__
|
6229
|
-
*
|
6230
|
-
* To run a query within a React component, call `useSidebarStateQuery` and pass it any options that fit your needs.
|
6231
|
-
* When your component renders, `useSidebarStateQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
6232
|
-
* you can use to render your UI.
|
6233
|
-
*
|
6234
|
-
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
6235
|
-
*
|
6236
|
-
* @example
|
6237
|
-
* const { data, loading, error } = useSidebarStateQuery({
|
6238
|
-
* variables: {
|
6239
|
-
* },
|
6240
|
-
* });
|
6241
|
-
*/
|
6242
|
-
export declare function useSidebarStateQuery(baseOptions?: Apollo.QueryHookOptions<ISidebarStateQuery, ISidebarStateQueryVariables>): Apollo.QueryResult<ISidebarStateQuery, Exact<{
|
6243
|
-
[key: string]: never;
|
6244
|
-
}>>;
|
6245
|
-
export declare function useSidebarStateLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<ISidebarStateQuery, ISidebarStateQueryVariables>): Apollo.LazyQueryResultTuple<ISidebarStateQuery, Exact<{
|
6246
|
-
[key: string]: never;
|
6247
|
-
}>>;
|
6248
|
-
export declare type SidebarStateQueryHookResult = ReturnType<typeof useSidebarStateQuery>;
|
6249
|
-
export declare type SidebarStateLazyQueryHookResult = ReturnType<typeof useSidebarStateLazyQuery>;
|
6250
|
-
export declare type SidebarStateQueryResult = Apollo.QueryResult<ISidebarStateQuery, ISidebarStateQueryVariables>;
|
6251
6247
|
export declare const AddContributionRoleDocument: DocumentNode;
|
6252
6248
|
/**
|
6253
6249
|
* __useAddContributionRoleMutation__
|
@@ -7610,6 +7606,7 @@ export declare type IResolversTypes = {
|
|
7610
7606
|
ApiManagement: ResolverTypeWrapper<IApiManagement>;
|
7611
7607
|
ApiManagement_Input: IApiManagement_Input;
|
7612
7608
|
ApplicationBillingPlanPolicy: IApplicationBillingPlanPolicy;
|
7609
|
+
ApplicationConfiguration: ResolverTypeWrapper<IApplicationConfiguration>;
|
7613
7610
|
ApplicationPolicy: ResolverTypeWrapper<IApplicationPolicy>;
|
7614
7611
|
ApplicationRolePermission: ResolverTypeWrapper<IApplicationRolePermission>;
|
7615
7612
|
ApplicationRoles: IApplicationRoles;
|
@@ -7632,7 +7629,7 @@ export declare type IResolversTypes = {
|
|
7632
7629
|
ClientTypes: IClientTypes;
|
7633
7630
|
ConfigCollectionName: IConfigCollectionName;
|
7634
7631
|
ConfigFragmentName: IConfigFragmentName;
|
7635
|
-
Configuration: IResolversTypes['DefaultConfiguration'] | IResolversTypes['
|
7632
|
+
Configuration: IResolversTypes['DefaultConfiguration'] | IResolversTypes['PolicyConfiguration'] | IResolversTypes['ApplicationConfiguration'] | IResolversTypes['UserConfiguration'] | IResolversTypes['MachineConfiguration'] | IResolversTypes['OrganizationConfiguration'] | IResolversTypes['OrganizationResourceConfiguration'];
|
7636
7633
|
ConfigurationContributionNames: IConfigurationContributionNames;
|
7637
7634
|
ConfigurationData: ResolverTypeWrapper<IConfigurationData>;
|
7638
7635
|
ConfigurationExtensionInfo: ResolverTypeWrapper<IConfigurationExtensionInfo>;
|
@@ -7680,10 +7677,7 @@ export declare type IResolversTypes = {
|
|
7680
7677
|
IAuth0User: IResolversTypes['UserProfile'];
|
7681
7678
|
IAuth0UserProfile: IResolversTypes['UserProfile'];
|
7682
7679
|
ICity: never;
|
7683
|
-
|
7684
|
-
changedConfiguration?: Maybe<IResolversTypes['Configuration']>;
|
7685
|
-
}>;
|
7686
|
-
IConfigurationModel: IResolversTypes['ApplicationPolicy'] | IResolversTypes['ApplicationRolePermission'] | IResolversTypes['DefaultConfiguration'] | IResolversTypes['DefaultPolicy'] | IResolversTypes['DefaultRole'] | IResolversTypes['MachineConfiguration'] | IResolversTypes['OrganizationConfiguration'] | IResolversTypes['OrganizationPolicy'] | IResolversTypes['OrganizationResourceConfiguration'] | IResolversTypes['OrganizationRole'] | IResolversTypes['ResourcePolicy'] | IResolversTypes['ResourceRole'] | IResolversTypes['UserConfiguration'];
|
7680
|
+
IConfigurationModel: IResolversTypes['ApplicationConfiguration'] | IResolversTypes['ApplicationPolicy'] | IResolversTypes['ApplicationRolePermission'] | IResolversTypes['DefaultConfiguration'] | IResolversTypes['DefaultPolicy'] | IResolversTypes['DefaultRole'] | IResolversTypes['MachineConfiguration'] | IResolversTypes['OrganizationConfiguration'] | IResolversTypes['OrganizationPolicy'] | IResolversTypes['OrganizationResourceConfiguration'] | IResolversTypes['OrganizationRole'] | IResolversTypes['PolicyConfiguration'] | IResolversTypes['ResourcePolicy'] | IResolversTypes['ResourceRole'] | IResolversTypes['UserConfiguration'];
|
7687
7681
|
IConfigurationService: never;
|
7688
7682
|
ICountry: never;
|
7689
7683
|
IEventWithContext: IResolversTypes['OrganizationCreatedEvent'] | IResolversTypes['OrganizationDeletedEvent'];
|
@@ -7769,6 +7763,7 @@ export declare type IResolversTypes = {
|
|
7769
7763
|
PermissionType: IPermissionType;
|
7770
7764
|
PhoneNumber: ResolverTypeWrapper<IPhoneNumber>;
|
7771
7765
|
PhoneNumberInput: IPhoneNumberInput;
|
7766
|
+
PolicyConfiguration: ResolverTypeWrapper<IPolicyConfiguration>;
|
7772
7767
|
PolicySubject: ResolverTypeWrapper<IPolicySubject>;
|
7773
7768
|
PopupIntegrationAuthorization: ResolverTypeWrapper<IPopupIntegrationAuthorization>;
|
7774
7769
|
PortalLanguage: IPortalLanguage;
|
@@ -7863,8 +7858,6 @@ export declare type IResolversTypes = {
|
|
7863
7858
|
UserDevice: ResolverTypeWrapper<IUserDevice>;
|
7864
7859
|
UserMetadata: ResolverTypeWrapper<IUserMetadata>;
|
7865
7860
|
UserOrderBy: IUserOrderBy;
|
7866
|
-
UserOrg: ResolverTypeWrapper<IUserOrg>;
|
7867
|
-
UserOrgInput: IUserOrgInput;
|
7868
7861
|
UserPasswordResetInput: IUserPasswordResetInput;
|
7869
7862
|
UserPreviousValues: ResolverTypeWrapper<IUserPreviousValues>;
|
7870
7863
|
UserProfile: ResolverTypeWrapper<IUserProfile>;
|
@@ -7898,6 +7891,7 @@ export declare type IResolversParentTypes = {
|
|
7898
7891
|
ApiExternalAccount: IApiExternalAccount;
|
7899
7892
|
ApiManagement: IApiManagement;
|
7900
7893
|
ApiManagement_Input: IApiManagement_Input;
|
7894
|
+
ApplicationConfiguration: IApplicationConfiguration;
|
7901
7895
|
ApplicationPolicy: IApplicationPolicy;
|
7902
7896
|
ApplicationRolePermission: IApplicationRolePermission;
|
7903
7897
|
ApplicationSettings: IApplicationSettings;
|
@@ -7912,7 +7906,7 @@ export declare type IResolversParentTypes = {
|
|
7912
7906
|
BaseTeamService: IBaseTeamService;
|
7913
7907
|
CityInput: ICityInput;
|
7914
7908
|
CityUpdateInput: ICityUpdateInput;
|
7915
|
-
Configuration: IResolversParentTypes['DefaultConfiguration'] | IResolversParentTypes['
|
7909
|
+
Configuration: IResolversParentTypes['DefaultConfiguration'] | IResolversParentTypes['PolicyConfiguration'] | IResolversParentTypes['ApplicationConfiguration'] | IResolversParentTypes['UserConfiguration'] | IResolversParentTypes['MachineConfiguration'] | IResolversParentTypes['OrganizationConfiguration'] | IResolversParentTypes['OrganizationResourceConfiguration'];
|
7916
7910
|
ConfigurationData: IConfigurationData;
|
7917
7911
|
ConfigurationExtensionInfo: IConfigurationExtensionInfo;
|
7918
7912
|
ConfigurationInput: IConfigurationInput;
|
@@ -7952,10 +7946,7 @@ export declare type IResolversParentTypes = {
|
|
7952
7946
|
IAuth0User: IResolversParentTypes['UserProfile'];
|
7953
7947
|
IAuth0UserProfile: IResolversParentTypes['UserProfile'];
|
7954
7948
|
ICity: never;
|
7955
|
-
|
7956
|
-
changedConfiguration?: Maybe<IResolversParentTypes['Configuration']>;
|
7957
|
-
};
|
7958
|
-
IConfigurationModel: IResolversParentTypes['ApplicationPolicy'] | IResolversParentTypes['ApplicationRolePermission'] | IResolversParentTypes['DefaultConfiguration'] | IResolversParentTypes['DefaultPolicy'] | IResolversParentTypes['DefaultRole'] | IResolversParentTypes['MachineConfiguration'] | IResolversParentTypes['OrganizationConfiguration'] | IResolversParentTypes['OrganizationPolicy'] | IResolversParentTypes['OrganizationResourceConfiguration'] | IResolversParentTypes['OrganizationRole'] | IResolversParentTypes['ResourcePolicy'] | IResolversParentTypes['ResourceRole'] | IResolversParentTypes['UserConfiguration'];
|
7949
|
+
IConfigurationModel: IResolversParentTypes['ApplicationConfiguration'] | IResolversParentTypes['ApplicationPolicy'] | IResolversParentTypes['ApplicationRolePermission'] | IResolversParentTypes['DefaultConfiguration'] | IResolversParentTypes['DefaultPolicy'] | IResolversParentTypes['DefaultRole'] | IResolversParentTypes['MachineConfiguration'] | IResolversParentTypes['OrganizationConfiguration'] | IResolversParentTypes['OrganizationPolicy'] | IResolversParentTypes['OrganizationResourceConfiguration'] | IResolversParentTypes['OrganizationRole'] | IResolversParentTypes['PolicyConfiguration'] | IResolversParentTypes['ResourcePolicy'] | IResolversParentTypes['ResourceRole'] | IResolversParentTypes['UserConfiguration'];
|
7959
7950
|
IConfigurationService: never;
|
7960
7951
|
ICountry: never;
|
7961
7952
|
IEventWithContext: IResolversParentTypes['OrganizationCreatedEvent'] | IResolversParentTypes['OrganizationDeletedEvent'];
|
@@ -8029,6 +8020,7 @@ export declare type IResolversParentTypes = {
|
|
8029
8020
|
PermissionSubject: IPermissionSubject;
|
8030
8021
|
PhoneNumber: IPhoneNumber;
|
8031
8022
|
PhoneNumberInput: IPhoneNumberInput;
|
8023
|
+
PolicyConfiguration: IPolicyConfiguration;
|
8032
8024
|
PolicySubject: IPolicySubject;
|
8033
8025
|
PopupIntegrationAuthorization: IPopupIntegrationAuthorization;
|
8034
8026
|
Position: IPosition;
|
@@ -8109,8 +8101,6 @@ export declare type IResolversParentTypes = {
|
|
8109
8101
|
UserContext: IUserContext;
|
8110
8102
|
UserDevice: IUserDevice;
|
8111
8103
|
UserMetadata: IUserMetadata;
|
8112
|
-
UserOrg: IUserOrg;
|
8113
|
-
UserOrgInput: IUserOrgInput;
|
8114
8104
|
UserPasswordResetInput: IUserPasswordResetInput;
|
8115
8105
|
UserPreviousValues: IUserPreviousValues;
|
8116
8106
|
UserProfile: IUserProfile;
|
@@ -8203,6 +8193,15 @@ export declare type IApiManagementResolvers<ContextType = MyContext, ParentType
|
|
8203
8193
|
user?: Resolver<IResolversTypes['UserAccount'], ParentType, ContextType>;
|
8204
8194
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
8205
8195
|
};
|
8196
|
+
export declare type IApplicationConfigurationResolvers<ContextType = MyContext, ParentType extends IResolversParentTypes['ApplicationConfiguration'] = IResolversParentTypes['ApplicationConfiguration']> = {
|
8197
|
+
id?: Resolver<Maybe<IResolversTypes['ID']>, ParentType, ContextType>;
|
8198
|
+
resource?: Resolver<IResolversTypes['URI'], ParentType, ContextType>;
|
8199
|
+
target?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
8200
|
+
contents?: Resolver<Maybe<IResolversTypes['AnyObject']>, ParentType, ContextType>;
|
8201
|
+
keys?: Resolver<Maybe<Array<Maybe<IResolversTypes['String']>>>, ParentType, ContextType>;
|
8202
|
+
overrides?: Resolver<Maybe<Array<Maybe<IResolversTypes['Overrides']>>>, ParentType, ContextType>;
|
8203
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
8204
|
+
};
|
8206
8205
|
export declare type IApplicationPolicyResolvers<ContextType = MyContext, ParentType extends IResolversParentTypes['ApplicationPolicy'] = IResolversParentTypes['ApplicationPolicy']> = {
|
8207
8206
|
resource?: Resolver<Maybe<IResolversTypes['URI']>, ParentType, ContextType>;
|
8208
8207
|
target?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
@@ -8308,10 +8307,12 @@ export declare type IBaseTeamServiceResolvers<ContextType = MyContext, ParentTyp
|
|
8308
8307
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
8309
8308
|
};
|
8310
8309
|
export declare type IConfigurationResolvers<ContextType = MyContext, ParentType extends IResolversParentTypes['Configuration'] = IResolversParentTypes['Configuration']> = {
|
8311
|
-
__resolveType: TypeResolveFn<'DefaultConfiguration' | '
|
8310
|
+
__resolveType: TypeResolveFn<'DefaultConfiguration' | 'PolicyConfiguration' | 'ApplicationConfiguration' | 'UserConfiguration' | 'MachineConfiguration' | 'OrganizationConfiguration' | 'OrganizationResourceConfiguration', ParentType, ContextType>;
|
8312
8311
|
};
|
8313
8312
|
export declare type IConfigurationDataResolvers<ContextType = MyContext, ParentType extends IResolversParentTypes['ConfigurationData'] = IResolversParentTypes['ConfigurationData']> = {
|
8314
8313
|
defaults?: Resolver<Maybe<IResolversTypes['IConfigurationModel']>, ParentType, ContextType>;
|
8314
|
+
policy?: Resolver<Maybe<IResolversTypes['IConfigurationModel']>, ParentType, ContextType>;
|
8315
|
+
application?: Resolver<Maybe<IResolversTypes['IConfigurationModel']>, ParentType, ContextType>;
|
8315
8316
|
user?: Resolver<Maybe<IResolversTypes['IConfigurationModel']>, ParentType, ContextType>;
|
8316
8317
|
machine?: Resolver<Maybe<IResolversTypes['IConfigurationModel']>, ParentType, ContextType>;
|
8317
8318
|
organization?: Resolver<Maybe<IResolversTypes['IConfigurationModel']>, ParentType, ContextType>;
|
@@ -8352,6 +8353,8 @@ export declare type IConfigurationTargetResolvers = EnumResolverSignature<{
|
|
8352
8353
|
ORGANIZATION_RESOURCE?: any;
|
8353
8354
|
DEFAULT?: any;
|
8354
8355
|
MEMORY?: any;
|
8356
|
+
RESOURCE_OVERRIDABLE?: any;
|
8357
|
+
MACHINE_OVERRIDABLE?: any;
|
8355
8358
|
}, IResolversTypes['ConfigurationTarget']>;
|
8356
8359
|
export declare type IConfigurationUpdateEventResolvers<ContextType = MyContext, ParentType extends IResolversParentTypes['ConfigurationUpdateEvent'] = IResolversParentTypes['ConfigurationUpdateEvent']> = {
|
8357
8360
|
resource?: Resolver<IResolversTypes['URI'], ParentType, ContextType>;
|
@@ -8578,16 +8581,8 @@ export declare type IICityResolvers<ContextType = MyContext, ParentType extends
|
|
8578
8581
|
createdAt?: Resolver<IResolversTypes['Date'], ParentType, ContextType>;
|
8579
8582
|
updatedAt?: Resolver<Maybe<IResolversTypes['Date']>, ParentType, ContextType>;
|
8580
8583
|
};
|
8581
|
-
export declare type IIConfigurationChangeEventResolvers<ContextType = MyContext, ParentType extends IResolversParentTypes['IConfigurationChangeEvent'] = IResolversParentTypes['IConfigurationChangeEvent']> = {
|
8582
|
-
source?: Resolver<Maybe<IResolversTypes['ConfigurationTarget']>, ParentType, ContextType>;
|
8583
|
-
affectedKeys?: Resolver<Maybe<Array<Maybe<IResolversTypes['String']>>>, ParentType, ContextType>;
|
8584
|
-
sourceConfig?: Resolver<Maybe<IResolversTypes['AnyObject']>, ParentType, ContextType>;
|
8585
|
-
changedConfiguration?: Resolver<Maybe<IResolversTypes['Configuration']>, ParentType, ContextType>;
|
8586
|
-
changedConfigurationByResource?: Resolver<Maybe<IResolversTypes['OrganizationResourceConfiguration']>, ParentType, ContextType>;
|
8587
|
-
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
8588
|
-
};
|
8589
8584
|
export declare type IIConfigurationModelResolvers<ContextType = MyContext, ParentType extends IResolversParentTypes['IConfigurationModel'] = IResolversParentTypes['IConfigurationModel']> = {
|
8590
|
-
__resolveType: TypeResolveFn<'ApplicationPolicy' | 'ApplicationRolePermission' | 'DefaultConfiguration' | 'DefaultPolicy' | 'DefaultRole' | 'MachineConfiguration' | 'OrganizationConfiguration' | 'OrganizationPolicy' | 'OrganizationResourceConfiguration' | 'OrganizationRole' | 'ResourcePolicy' | 'ResourceRole' | 'UserConfiguration', ParentType, ContextType>;
|
8585
|
+
__resolveType: TypeResolveFn<'ApplicationConfiguration' | 'ApplicationPolicy' | 'ApplicationRolePermission' | 'DefaultConfiguration' | 'DefaultPolicy' | 'DefaultRole' | 'MachineConfiguration' | 'OrganizationConfiguration' | 'OrganizationPolicy' | 'OrganizationResourceConfiguration' | 'OrganizationRole' | 'PolicyConfiguration' | 'ResourcePolicy' | 'ResourceRole' | 'UserConfiguration', ParentType, ContextType>;
|
8591
8586
|
resource?: Resolver<Maybe<IResolversTypes['URI']>, ParentType, ContextType>;
|
8592
8587
|
target?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
8593
8588
|
contents?: Resolver<Maybe<IResolversTypes['AnyObject']>, ParentType, ContextType>;
|
@@ -8815,7 +8810,6 @@ export declare type IMutationResolvers<ContextType = MyContext, ParentType exten
|
|
8815
8810
|
sendOrganizationInvitation?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType, RequireFields<IMutationSendOrganizationInvitationArgs, never>>;
|
8816
8811
|
sendUserPasswordResetEmail?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType, RequireFields<IMutationSendUserPasswordResetEmailArgs, 'email'>>;
|
8817
8812
|
setSettingsValueByResource?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType, RequireFields<IMutationSetSettingsValueByResourceArgs, never>>;
|
8818
|
-
toggleSidebar?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType, RequireFields<IMutationToggleSidebarArgs, 'state'>>;
|
8819
8813
|
updateAuth0UserPassword?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType, RequireFields<IMutationUpdateAuth0UserPasswordArgs, never>>;
|
8820
8814
|
updateConfiguration?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType, RequireFields<IMutationUpdateConfigurationArgs, 'input' | 'key' | 'value'>>;
|
8821
8815
|
updateConfigurationPolicyValue?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType, RequireFields<IMutationUpdateConfigurationPolicyValueArgs, 'key' | 'value'>>;
|
@@ -9024,6 +9018,7 @@ export declare type IOrganizationsDeletedEventResolvers<ContextType = MyContext,
|
|
9024
9018
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
9025
9019
|
};
|
9026
9020
|
export declare type IOverridesResolvers<ContextType = MyContext, ParentType extends IResolversParentTypes['Overrides'] = IResolversParentTypes['Overrides']> = {
|
9021
|
+
keys?: Resolver<Maybe<Array<Maybe<IResolversTypes['String']>>>, ParentType, ContextType>;
|
9027
9022
|
contents?: Resolver<Maybe<IResolversTypes['AnyObject']>, ParentType, ContextType>;
|
9028
9023
|
identifiers?: Resolver<Maybe<Array<Maybe<IResolversTypes['String']>>>, ParentType, ContextType>;
|
9029
9024
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
@@ -9043,6 +9038,15 @@ export declare type IPhoneNumberResolvers<ContextType = MyContext, ParentType ex
|
|
9043
9038
|
phoneNumber?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
9044
9039
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
9045
9040
|
};
|
9041
|
+
export declare type IPolicyConfigurationResolvers<ContextType = MyContext, ParentType extends IResolversParentTypes['PolicyConfiguration'] = IResolversParentTypes['PolicyConfiguration']> = {
|
9042
|
+
id?: Resolver<Maybe<IResolversTypes['ID']>, ParentType, ContextType>;
|
9043
|
+
resource?: Resolver<IResolversTypes['URI'], ParentType, ContextType>;
|
9044
|
+
target?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
9045
|
+
contents?: Resolver<Maybe<IResolversTypes['AnyObject']>, ParentType, ContextType>;
|
9046
|
+
keys?: Resolver<Maybe<Array<Maybe<IResolversTypes['String']>>>, ParentType, ContextType>;
|
9047
|
+
overrides?: Resolver<Maybe<Array<Maybe<IResolversTypes['Overrides']>>>, ParentType, ContextType>;
|
9048
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
9049
|
+
};
|
9046
9050
|
export declare type IPolicySubjectResolvers<ContextType = MyContext, ParentType extends IResolversParentTypes['PolicySubject'] = IResolversParentTypes['PolicySubject']> = {
|
9047
9051
|
policyURL?: Resolver<IResolversTypes['URI'], ParentType, ContextType>;
|
9048
9052
|
createdAt?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
@@ -9194,7 +9198,6 @@ export declare type IQueryResolvers<ContextType = MyContext, ParentType extends
|
|
9194
9198
|
resolveConfiguration?: Resolver<Maybe<IResolversTypes['AnyObject']>, ParentType, ContextType, RequireFields<IQueryResolveConfigurationArgs, 'input'>>;
|
9195
9199
|
resolveSettings?: Resolver<Maybe<Array<Maybe<IResolversTypes['ContributionSettings']>>>, ParentType, ContextType, RequireFields<IQueryResolveSettingsArgs, 'uri'>>;
|
9196
9200
|
selectedOrgResource?: Resolver<Maybe<IResolversTypes['Context']>, ParentType, ContextType>;
|
9197
|
-
sidebarState?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
|
9198
9201
|
team?: Resolver<Maybe<IResolversTypes['AccountTeam']>, ParentType, ContextType, RequireFields<IQueryTeamArgs, 'teamId'>>;
|
9199
9202
|
teams?: Resolver<Maybe<Array<Maybe<IResolversTypes['AccountTeam']>>>, ParentType, ContextType>;
|
9200
9203
|
viewerPolicies?: Resolver<Maybe<IResolversTypes['PolicySubject']>, ParentType, ContextType, RequireFields<IQueryViewerPoliciesArgs, 'input'>>;
|
@@ -9466,12 +9469,6 @@ export declare type IUserMetadataResolvers<ContextType = MyContext, ParentType e
|
|
9466
9469
|
zip_code?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
9467
9470
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
9468
9471
|
};
|
9469
|
-
export declare type IUserOrgResolvers<ContextType = MyContext, ParentType extends IResolversParentTypes['UserOrg'] = IResolversParentTypes['UserOrg']> = {
|
9470
|
-
userId?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
9471
|
-
role?: Resolver<Maybe<IResolversTypes['ApplicationRoles']>, ParentType, ContextType>;
|
9472
|
-
inactive?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
|
9473
|
-
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
9474
|
-
};
|
9475
9472
|
export declare type IUserPreviousValuesResolvers<ContextType = MyContext, ParentType extends IResolversParentTypes['UserPreviousValues'] = IResolversParentTypes['UserPreviousValues']> = {
|
9476
9473
|
auth0UserId?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
9477
9474
|
createdAt?: Resolver<IResolversTypes['DateTime'], ParentType, ContextType>;
|
@@ -9575,6 +9572,7 @@ export declare type IResolvers<ContextType = MyContext> = {
|
|
9575
9572
|
AnyObject?: GraphQLScalarType;
|
9576
9573
|
ApiExternalAccount?: IApiExternalAccountResolvers<ContextType>;
|
9577
9574
|
ApiManagement?: IApiManagementResolvers<ContextType>;
|
9575
|
+
ApplicationConfiguration?: IApplicationConfigurationResolvers<ContextType>;
|
9578
9576
|
ApplicationPolicy?: IApplicationPolicyResolvers<ContextType>;
|
9579
9577
|
ApplicationRolePermission?: IApplicationRolePermissionResolvers<ContextType>;
|
9580
9578
|
ApplicationSettings?: IApplicationSettingsResolvers<ContextType>;
|
@@ -9618,7 +9616,6 @@ export declare type IResolvers<ContextType = MyContext> = {
|
|
9618
9616
|
IAuth0User?: IIAuth0UserResolvers<ContextType>;
|
9619
9617
|
IAuth0UserProfile?: IIAuth0UserProfileResolvers<ContextType>;
|
9620
9618
|
ICity?: IICityResolvers<ContextType>;
|
9621
|
-
IConfigurationChangeEvent?: IIConfigurationChangeEventResolvers<ContextType>;
|
9622
9619
|
IConfigurationModel?: IIConfigurationModelResolvers<ContextType>;
|
9623
9620
|
IConfigurationService?: IIConfigurationServiceResolvers<ContextType>;
|
9624
9621
|
ICountry?: IICountryResolvers<ContextType>;
|
@@ -9674,6 +9671,7 @@ export declare type IResolvers<ContextType = MyContext> = {
|
|
9674
9671
|
PageInfo?: IPageInfoResolvers<ContextType>;
|
9675
9672
|
PermissionSubject?: IPermissionSubjectResolvers<ContextType>;
|
9676
9673
|
PhoneNumber?: IPhoneNumberResolvers<ContextType>;
|
9674
|
+
PolicyConfiguration?: IPolicyConfigurationResolvers<ContextType>;
|
9677
9675
|
PolicySubject?: IPolicySubjectResolvers<ContextType>;
|
9678
9676
|
PopupIntegrationAuthorization?: IPopupIntegrationAuthorizationResolvers<ContextType>;
|
9679
9677
|
Position?: IPositionResolvers<ContextType>;
|
@@ -9728,7 +9726,6 @@ export declare type IResolvers<ContextType = MyContext> = {
|
|
9728
9726
|
UserContext?: IUserContextResolvers<ContextType>;
|
9729
9727
|
UserDevice?: IUserDeviceResolvers<ContextType>;
|
9730
9728
|
UserMetadata?: IUserMetadataResolvers<ContextType>;
|
9731
|
-
UserOrg?: IUserOrgResolvers<ContextType>;
|
9732
9729
|
UserPreviousValues?: IUserPreviousValuesResolvers<ContextType>;
|
9733
9730
|
UserProfile?: IUserProfileResolvers<ContextType>;
|
9734
9731
|
UserSession?: IUserSessionResolvers<ContextType>;
|