@droz-js/sdk
Advanced tools
Comparing version 0.9.9 to 0.9.10
{ | ||
"name": "@droz-js/sdk", | ||
"description": "Droz SDK", | ||
"version": "0.9.9", | ||
"version": "0.9.10", | ||
"private": false, | ||
@@ -6,0 +6,0 @@ "exports": { |
@@ -18,2 +18,5 @@ export * from './sdks/drozcommons'; | ||
}>, options?: unknown): Promise<import("./sdks/drozcommons").UpdateAccountMutation>; | ||
getMe(variables?: import("./sdks/drozcommons").Exact<{ | ||
[key: string]: never; | ||
}>, options?: unknown): Promise<import("./sdks/drozcommons").GetMeQuery>; | ||
getAmplifyConfig(variables?: import("./sdks/drozcommons").Exact<{ | ||
@@ -20,0 +23,0 @@ forDev?: import("./sdks/drozcommons").InputMaybe<import("./sdks/drozcommons").Scalars["Boolean"]["input"]>; |
@@ -573,2 +573,8 @@ export type Maybe<T> = T; | ||
}; | ||
export type GetMeQueryVariables = Exact<{ | ||
[key: string]: never; | ||
}>; | ||
export type GetMeQuery = { | ||
getMe?: Maybe<Pick<AdminAgent, 'id' | 'email' | 'name' | 'picture'>>; | ||
}; | ||
export type GetAmplifyConfigQueryVariables = Exact<{ | ||
@@ -795,2 +801,3 @@ forDev?: InputMaybe<Scalars['Boolean']['input']>; | ||
export declare const UpdateAccountDocument = "\n mutation updateAccount($input: UpdateAccountInput!) {\n updateAccount(input: $input) {\n ...awsAccount\n }\n}\n \n fragment awsAccount on AwsAccount {\n id\n name\n tenantsCount\n availableRegions {\n ...region\n }\n}\n \n\n fragment region on Region {\n name\n}\n "; | ||
export declare const GetMeDocument = "\n query getMe {\n getMe {\n id\n email\n name\n picture\n }\n}\n "; | ||
export declare const GetAmplifyConfigDocument = "\n query getAmplifyConfig($forDev: Boolean) {\n amplifyConfig(forDev: $forDev)\n}\n "; | ||
@@ -832,2 +839,3 @@ export declare const GetAuthInfoDocument = "\n query getAuthInfo {\n authInfo {\n authenticationEndpoint\n jwtIssuer\n loginUrl\n logoutUrl\n cognitoConfig {\n region\n userPoolId\n userPoolWebClientId\n }\n }\n}\n "; | ||
updateAccount(variables: UpdateAccountMutationVariables, options?: C): Promise<UpdateAccountMutation>; | ||
getMe(variables?: GetMeQueryVariables, options?: C): Promise<GetMeQuery>; | ||
getAmplifyConfig(variables?: GetAmplifyConfigQueryVariables, options?: C): Promise<GetAmplifyConfigQuery>; | ||
@@ -834,0 +842,0 @@ getAuthInfo(variables?: GetAuthInfoQueryVariables, options?: C): Promise<GetAuthInfoQuery>; |
"use strict"; | ||
/* istanbul ignore file */ | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.JoinTenantAsSuperAdminDocument = exports.RemoveTenantDocument = exports.UpdateTenantDocument = exports.CreateTenantDocument = exports.SearchSessionsOnTenantDocument = exports.GetFederationMetadataDocument = exports.ListTenantsDocument = exports.GetTenantDocument = exports.ListServicesDocument = exports.RemoveGlobalParameterDocument = exports.SetGlobalParameterDocument = exports.RemoveAccountParameterDocument = exports.SetAccountParameterDocument = exports.RemoveTenantParameterDocument = exports.SetTenantParameterDocument = exports.GetGlobalParameterDocument = exports.ListGlobalParametersDocument = exports.GetAccountParameterDocument = exports.ListAccountParametersDocument = exports.GetTenantParameterDocument = exports.ListTenantParametersDocument = exports.BatchDeployDocument = exports.DestroyDocument = exports.DeployDocument = exports.DeploymentLogsDocument = exports.ListDeploymentsDocument = exports.GetDeploymentDocument = exports.ListGitBranchesDocument = exports.ListGitRepositoriesDocument = exports.GetAuthInfoDocument = exports.GetAmplifyConfigDocument = exports.UpdateAccountDocument = exports.ListRegionsDocument = exports.ListAccountsDocument = exports.TenantFragmentDoc = exports.ServiceFragmentDoc = exports.ParameterFragmentDoc = exports.GitRepositoryFragmentDoc = exports.GitBranchFragmentDoc = exports.DeploymentFragmentDoc = exports.AwsAccountFragmentDoc = exports.RegionFragmentDoc = exports.Typenames = exports.ParameterType = exports.IdentityProviderType = exports.IdentityProviderSamlMetadataType = exports.DeploymentStatus = exports.DeploymentCommands = exports.Can = exports.AppInstanceStatus = void 0; | ||
exports.serviceName = void 0; | ||
exports.RemoveTenantDocument = exports.UpdateTenantDocument = exports.CreateTenantDocument = exports.SearchSessionsOnTenantDocument = exports.GetFederationMetadataDocument = exports.ListTenantsDocument = exports.GetTenantDocument = exports.ListServicesDocument = exports.RemoveGlobalParameterDocument = exports.SetGlobalParameterDocument = exports.RemoveAccountParameterDocument = exports.SetAccountParameterDocument = exports.RemoveTenantParameterDocument = exports.SetTenantParameterDocument = exports.GetGlobalParameterDocument = exports.ListGlobalParametersDocument = exports.GetAccountParameterDocument = exports.ListAccountParametersDocument = exports.GetTenantParameterDocument = exports.ListTenantParametersDocument = exports.BatchDeployDocument = exports.DestroyDocument = exports.DeployDocument = exports.DeploymentLogsDocument = exports.ListDeploymentsDocument = exports.GetDeploymentDocument = exports.ListGitBranchesDocument = exports.ListGitRepositoriesDocument = exports.GetAuthInfoDocument = exports.GetAmplifyConfigDocument = exports.GetMeDocument = exports.UpdateAccountDocument = exports.ListRegionsDocument = exports.ListAccountsDocument = exports.TenantFragmentDoc = exports.ServiceFragmentDoc = exports.ParameterFragmentDoc = exports.GitRepositoryFragmentDoc = exports.GitBranchFragmentDoc = exports.DeploymentFragmentDoc = exports.AwsAccountFragmentDoc = exports.RegionFragmentDoc = exports.Typenames = exports.ParameterType = exports.IdentityProviderType = exports.IdentityProviderSamlMetadataType = exports.DeploymentStatus = exports.DeploymentCommands = exports.Can = exports.AppInstanceStatus = void 0; | ||
exports.serviceName = exports.JoinTenantAsSuperAdminDocument = void 0; | ||
exports.getSdk = getSdk; | ||
@@ -163,2 +163,12 @@ var AppInstanceStatus; | ||
${exports.RegionFragmentDoc}`; | ||
exports.GetMeDocument = ` | ||
query getMe { | ||
getMe { | ||
id | ||
name | ||
picture | ||
} | ||
} | ||
`; | ||
exports.GetAmplifyConfigDocument = ` | ||
@@ -418,2 +428,5 @@ query getAmplifyConfig($forDev: Boolean) { | ||
}, | ||
getMe(variables, options) { | ||
return requester(exports.GetMeDocument, variables, options); | ||
}, | ||
getAmplifyConfig(variables, options) { | ||
@@ -420,0 +433,0 @@ return requester(exports.GetAmplifyConfigDocument, variables, options); |
1471544
29375