@adminide-stack/core 3.1.4-alpha.55 → 3.1.4-alpha.69
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.
@@ -35,7 +35,7 @@ export interface IConfigurationService extends IDisposable {
|
|
35
35
|
* @param resource
|
36
36
|
*/
|
37
37
|
reloadConfiguration(resource: any): Promise<void>;
|
38
|
-
initialize(organizationContext: IOrganizationContext): Promise<void>;
|
38
|
+
initialize(organizationContext: IOrganizationContext, userId?: string): Promise<void>;
|
39
39
|
inspect<T>(key: string, overrides?: IConfigurationOverrides): IConfigurationValue<T>;
|
40
40
|
keys(): {
|
41
41
|
default: string[];
|
@@ -1275,6 +1275,7 @@ export declare enum IMailTemplateId {
|
|
1275
1275
|
BillingNotificationId = "BillingNotificationId",
|
1276
1276
|
/** Prefix with Db to make sure it look into the database */
|
1277
1277
|
DbTeamInivitationId = "DbTeamInivitationId",
|
1278
|
+
DbTeamInvitationInvitee = "DbTeamInvitationInvitee",
|
1278
1279
|
/** Prefix with Db to make sure it look into the database */
|
1279
1280
|
EmailVerificationOtp = "EMAIL_VERIFICATION_OTP",
|
1280
1281
|
JoinNotifyMember = "JOIN_NOTIFY_MEMBER",
|
@@ -1460,7 +1461,8 @@ export type IMutationChangeOrgMemberRoleArgs = {
|
|
1460
1461
|
role: IApplicationRoles;
|
1461
1462
|
};
|
1462
1463
|
export type IMutationChangeOrganizationArgs = {
|
1463
|
-
orgName
|
1464
|
+
orgName: Scalars['String'];
|
1465
|
+
userId?: Maybe<Scalars['String']>;
|
1464
1466
|
machineName?: Maybe<Scalars['String']>;
|
1465
1467
|
};
|
1466
1468
|
export type IMutationCreateAccessTokenArgs = {
|
@@ -1895,6 +1897,7 @@ export type IOrganizationInvitationDecode = {
|
|
1895
1897
|
};
|
1896
1898
|
export type IOrganizationInvitationInput = {
|
1897
1899
|
email?: Maybe<Scalars['String']>;
|
1900
|
+
phoneNumber?: Maybe<IPhoneNumberInput>;
|
1898
1901
|
teamId?: Maybe<Scalars['String']>;
|
1899
1902
|
role?: Maybe<IApplicationRoles>;
|
1900
1903
|
active?: Maybe<Scalars['Boolean']>;
|
@@ -1908,10 +1911,14 @@ export type IOrganizationInvitationInput = {
|
|
1908
1911
|
};
|
1909
1912
|
export type IOrganizationInvitationRequest = {
|
1910
1913
|
teamId?: Maybe<Scalars['String']>;
|
1914
|
+
phoneNumber?: Maybe<IPhoneNumberInput>;
|
1911
1915
|
emails?: Maybe<Array<Maybe<Scalars['String']>>>;
|
1912
1916
|
invitedBy?: Maybe<Scalars['String']>;
|
1913
1917
|
orgName?: Maybe<Scalars['String']>;
|
1914
1918
|
role?: Maybe<Scalars['String']>;
|
1919
|
+
sentInvitee?: Maybe<Scalars['Boolean']>;
|
1920
|
+
invitee?: Maybe<Scalars['String']>;
|
1921
|
+
details?: Maybe<Scalars['AnyObject']>;
|
1915
1922
|
};
|
1916
1923
|
export type IOrganizationMember = {
|
1917
1924
|
__typename?: 'OrganizationMember';
|
@@ -3961,7 +3968,8 @@ export type IAddResourceToContextMutation = ({
|
|
3961
3968
|
__typename?: 'Mutation';
|
3962
3969
|
} & Pick<IMutation, 'addResourceToContext'>);
|
3963
3970
|
export type IChangeOrganizationMutationVariables = Exact<{
|
3964
|
-
orgName
|
3971
|
+
orgName: Scalars['String'];
|
3972
|
+
userId?: Maybe<Scalars['String']>;
|
3965
3973
|
}>;
|
3966
3974
|
export type IChangeOrganizationMutation = ({
|
3967
3975
|
__typename?: 'Mutation';
|
@@ -6277,11 +6285,13 @@ export declare const ChangeOrganizationDocument: DocumentNode;
|
|
6277
6285
|
* const [changeOrganizationMutation, { data, loading, error }] = useChangeOrganizationMutation({
|
6278
6286
|
* variables: {
|
6279
6287
|
* orgName: // value for 'orgName'
|
6288
|
+
* userId: // value for 'userId'
|
6280
6289
|
* },
|
6281
6290
|
* });
|
6282
6291
|
*/
|
6283
6292
|
export declare function useChangeOrganizationMutation(baseOptions?: Apollo.MutationHookOptions<IChangeOrganizationMutation, IChangeOrganizationMutationVariables>): Apollo.MutationTuple<IChangeOrganizationMutation, Exact<{
|
6284
|
-
orgName
|
6293
|
+
orgName: string;
|
6294
|
+
userId?: string;
|
6285
6295
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
6286
6296
|
export type ChangeOrganizationMutationHookResult = ReturnType<typeof useChangeOrganizationMutation>;
|
6287
6297
|
export type ChangeOrganizationMutationResult = Apollo.MutationResult<IChangeOrganizationMutation>;
|
@@ -8718,7 +8728,7 @@ export type IMutationResolvers<ContextType = MyContext, ParentType extends IReso
|
|
8718
8728
|
addTeamMembers?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType, RequireFields<IMutationAddTeamMembersArgs, 'orgName' | 'teamName' | 'memberIds'>>;
|
8719
8729
|
changeMemberRole?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType, RequireFields<IMutationChangeMemberRoleArgs, 'orgName' | 'teamName' | 'memberId' | 'role'>>;
|
8720
8730
|
changeOrgMemberRole?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType, RequireFields<IMutationChangeOrgMemberRoleArgs, 'userId' | 'role'>>;
|
8721
|
-
changeOrganization?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType, RequireFields<IMutationChangeOrganizationArgs,
|
8731
|
+
changeOrganization?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType, RequireFields<IMutationChangeOrganizationArgs, 'orgName'>>;
|
8722
8732
|
createAccessToken?: Resolver<IResolversTypes['CreateAccessTokenResult'], ParentType, ContextType, RequireFields<IMutationCreateAccessTokenArgs, 'user' | 'scopes' | 'note'>>;
|
8723
8733
|
createIntegrationConfiguration?: Resolver<Maybe<IResolversTypes['IntegraitonConfigurationId']>, ParentType, ContextType, RequireFields<IMutationCreateIntegrationConfigurationArgs, never>>;
|
8724
8734
|
createOrUpdateIntegrationConfiguration?: Resolver<Maybe<IResolversTypes['IntegraitonConfigurationId']>, ParentType, ContextType, RequireFields<IMutationCreateOrUpdateIntegrationConfigurationArgs, never>>;
|
@@ -242,6 +242,7 @@ var IMailTemplateId;
|
|
242
242
|
IMailTemplateId["BillingNotificationId"] = "BillingNotificationId";
|
243
243
|
/** Prefix with Db to make sure it look into the database */
|
244
244
|
IMailTemplateId["DbTeamInivitationId"] = "DbTeamInivitationId";
|
245
|
+
IMailTemplateId["DbTeamInvitationInvitee"] = "DbTeamInvitationInvitee";
|
245
246
|
/** Prefix with Db to make sure it look into the database */
|
246
247
|
IMailTemplateId["EmailVerificationOtp"] = "EMAIL_VERIFICATION_OTP";
|
247
248
|
IMailTemplateId["JoinNotifyMember"] = "JOIN_NOTIFY_MEMBER";
|
@@ -1920,7 +1921,7 @@ function useAddResourceToContextMutation(baseOptions) {
|
|
1920
1921
|
return Apollo.useMutation(exports.AddResourceToContextDocument, options);
|
1921
1922
|
}
|
1922
1923
|
exports.useAddResourceToContextMutation = useAddResourceToContextMutation;
|
1923
|
-
exports.ChangeOrganizationDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "ChangeOrganization" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orgName" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "changeOrganization" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "orgName" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orgName" } } }], "directives": [{ "kind": "Directive", "name": { "kind": "Name", "value": "client" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "always" }, "value": { "kind": "BooleanValue", "value": true } }] }] }] } }] };
|
1924
|
+
exports.ChangeOrganizationDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "ChangeOrganization" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orgName" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "userId" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "changeOrganization" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "orgName" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orgName" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "userId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "userId" } } }], "directives": [{ "kind": "Directive", "name": { "kind": "Name", "value": "client" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "always" }, "value": { "kind": "BooleanValue", "value": true } }] }] }] } }] };
|
1924
1925
|
/**
|
1925
1926
|
* __useChangeOrganizationMutation__
|
1926
1927
|
*
|
@@ -1935,6 +1936,7 @@ exports.ChangeOrganizationDocument = { "kind": "Document", "definitions": [{ "ki
|
|
1935
1936
|
* const [changeOrganizationMutation, { data, loading, error }] = useChangeOrganizationMutation({
|
1936
1937
|
* variables: {
|
1937
1938
|
* orgName: // value for 'orgName'
|
1939
|
+
* userId: // value for 'userId'
|
1938
1940
|
* },
|
1939
1941
|
* });
|
1940
1942
|
*/
|