@droz-js/sdk
Advanced tools
Comparing version 0.9.21 to 0.9.22
{ | ||
"name": "@droz-js/sdk", | ||
"description": "Droz SDK", | ||
"version": "0.9.21", | ||
"version": "0.9.22", | ||
"private": false, | ||
@@ -6,0 +6,0 @@ "exports": { |
@@ -124,2 +124,5 @@ export * from './sdks/drozcommons'; | ||
}>, options?: unknown): Promise<import("./sdks/drozcommons").JoinTenantAsSuperAdminMutation>; | ||
leaveTenantOrganization(variables: import("./sdks/drozcommons").Exact<{ | ||
input: import("./sdks/drozcommons").LeaveTenantOrganizationInput; | ||
}>, options?: unknown): Promise<import("./sdks/drozcommons").LeaveTenantOrganizationMutation>; | ||
}; | ||
@@ -126,0 +129,0 @@ export declare class DrozAdmin extends DrozAdmin_base { |
@@ -63,2 +63,5 @@ import { CreatePresignedUploadUrlInput } from './sdks/nucleus'; | ||
}>, options?: unknown): Promise<import("./sdks/nucleus").JoinAsSuperAdminMutation>; | ||
leaveOrganization(variables: import("./sdks/nucleus").Exact<{ | ||
input: import("./sdks/nucleus").LeaveOrganizationInput; | ||
}>, options?: unknown): Promise<import("./sdks/nucleus").LeaveOrganizationMutation>; | ||
getApp(variables: import("./sdks/nucleus").Exact<{ | ||
@@ -65,0 +68,0 @@ appId: import("./sdks/nucleus").Scalars["ID"]["input"]; |
@@ -263,2 +263,5 @@ export type Maybe<T> = T; | ||
}; | ||
export type LeaveTenantOrganizationInput = { | ||
tenantId: Scalars['TenantId']['input']; | ||
}; | ||
export type Mutation = { | ||
@@ -270,2 +273,3 @@ batchDeploy: Array<Deployment>; | ||
joinTenantAsSuperAdmin?: Maybe<Scalars['String']['output']>; | ||
leaveTenantOrganization?: Maybe<Scalars['String']['output']>; | ||
removeAccountParameter?: Maybe<Parameter>; | ||
@@ -297,2 +301,5 @@ removeGlobalParameter?: Maybe<Parameter>; | ||
}; | ||
export type MutationLeaveTenantOrganizationArgs = { | ||
input: LeaveTenantOrganizationInput; | ||
}; | ||
export type MutationRemoveAccountParameterArgs = { | ||
@@ -792,2 +799,6 @@ input: RemoveAccountParameterInput; | ||
export type JoinTenantAsSuperAdminMutation = Pick<Mutation, 'joinTenantAsSuperAdmin'>; | ||
export type LeaveTenantOrganizationMutationVariables = Exact<{ | ||
input: LeaveTenantOrganizationInput; | ||
}>; | ||
export type LeaveTenantOrganizationMutation = Pick<Mutation, 'leaveTenantOrganization'>; | ||
export declare const RegionFragmentDoc = "\n fragment region on Region {\n name\n}\n "; | ||
@@ -836,2 +847,3 @@ export declare const AwsAccountFragmentDoc = "\n fragment awsAccount on AwsAccount {\n id\n name\n tenantsCount\n availableRegions {\n ...region\n }\n}\n "; | ||
export declare const JoinTenantAsSuperAdminDocument = "\n mutation joinTenantAsSuperAdmin($input: JoinTenantAsSuperAdminInput!) {\n joinTenantAsSuperAdmin(input: $input)\n}\n "; | ||
export declare const LeaveTenantOrganizationDocument = "\n mutation leaveTenantOrganization($input: LeaveTenantOrganizationInput!) {\n leaveTenantOrganization(input: $input)\n}\n "; | ||
export type Requester<C = {}> = <R, V>(doc: string, vars?: V, options?: C) => Promise<R> | AsyncIterableIterator<R>; | ||
@@ -874,4 +886,5 @@ export declare function getSdk<C>(requester: Requester<C>): { | ||
joinTenantAsSuperAdmin(variables: JoinTenantAsSuperAdminMutationVariables, options?: C): Promise<JoinTenantAsSuperAdminMutation>; | ||
leaveTenantOrganization(variables: LeaveTenantOrganizationMutationVariables, options?: C): Promise<LeaveTenantOrganizationMutation>; | ||
}; | ||
export type Sdk = ReturnType<typeof getSdk>; | ||
export declare const serviceName = "@droz/drozcommons"; |
@@ -5,3 +5,3 @@ "use strict"; | ||
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.serviceName = exports.LeaveTenantOrganizationDocument = exports.JoinTenantAsSuperAdminDocument = void 0; | ||
exports.getSdk = getSdk; | ||
@@ -417,2 +417,7 @@ var AppInstanceStatus; | ||
`; | ||
exports.LeaveTenantOrganizationDocument = ` | ||
mutation leaveTenantOrganization($input: LeaveTenantOrganizationInput!) { | ||
leaveTenantOrganization(input: $input) | ||
} | ||
`; | ||
function getSdk(requester) { | ||
@@ -524,2 +529,5 @@ return { | ||
return requester(exports.JoinTenantAsSuperAdminDocument, variables, options); | ||
}, | ||
leaveTenantOrganization(variables, options) { | ||
return requester(exports.LeaveTenantOrganizationDocument, variables, options); | ||
} | ||
@@ -526,0 +534,0 @@ }; |
"use strict"; | ||
/* istanbul ignore file */ | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.ListAppInstancesDocument = exports.GetAppInstancesDocument = exports.GetAppInstanceDocument = exports.ListAppsDocument = exports.GetAppDocument = exports.JoinAsSuperAdminDocument = exports.RemoveRoleFromAgentDocument = exports.AddRoleToAgentDocument = exports.RemoveSystemApiKeyAgentDocument = exports.RemoveAgentDocument = exports.UpdateAgentDocument = exports.CreateSystemApiKeyAgentDocument = exports.CreateApiKeyAgentDocument = exports.CreateAgentDocument = exports.UpdateMyProfileDocument = exports.SearchAgentsDocument = exports.ListApiKeyAgentsDocument = exports.ListAgentsDocument = exports.GetAgentsDocument = exports.GetAgentByEmailDocument = exports.GetAgentDocument = exports.GetMeDocument = exports.StorageFragmentDoc = exports.StateMachineConfigConnectionFragmentDoc = exports.StateMachineConfigFragmentDoc = exports.StateMachineConfigStateFragmentDoc = exports.StateMachineConfigStateOnFragmentDoc = exports.SettingsFragmentDoc = exports.SessionSchemaFragmentDoc = exports.SessionFragmentDoc = exports.RoleFragmentDoc = exports.PolicyFragmentDoc = exports.CronJobFragmentDoc = exports.CustomerFragmentDoc = exports.CredentialsWithSecretFragmentDoc = exports.SafeCredentialsFragmentDoc = exports.AppWithInstancesFragmentDoc = exports.AppInstanceFragmentDoc = exports.AppFragmentDoc = exports.ApiKeyFragmentDoc = exports.AgentFragmentDoc = exports.Typenames = exports.StateMachineConfigStatus = exports.SessionStatus = exports.PatchOperation = exports.CustomerIndex = exports.CredentialsType = exports.Can = exports.AppType = exports.AppInstanceStatus = void 0; | ||
exports.UpdateStateMachineConfigDocument = exports.CreateStateMachineConfigDocument = exports.IsAppInstanceInUseDocument = exports.GetXStateMachineConfigDocument = exports.ListStateMachineConfigVersionsDocument = exports.ListStateMachineConfigsByStatusDocument = exports.ListDraftStateMachineConfigsDocument = exports.ListLiveStateMachineConfigsDocument = exports.CountLiveStateMachineConfigsDocument = exports.GetStateMachineDocument = exports.UpdateSettingsDocument = exports.GetSettingsDocument = exports.RemoveTagsFromSessionAttributesDocument = exports.AddTagsToSessionAttributesDocument = exports.PatchSessionAttributesDocument = exports.SetSessionAttributeDocument = exports.SearchSessionsDocument = exports.GetSessionSchemaForAppIdDocument = exports.GetSessionSchemaDocument = exports.GetSessionDocument = exports.StartCustomSessionDocument = exports.StartSessionDocument = exports.CheckPermissionsDocument = exports.GetSystemRoleDocument = exports.ListSystemRolesDocument = exports.RemoveCronJobDocument = exports.UpdateCronJobDocument = exports.CreateCronJobDocument = exports.ListCronJobsDocument = exports.GetCronJobDocument = exports.GetOrCreateCustomerDocument = exports.ListCustomersDocument = exports.GetCustomerDocument = exports.RemoveSystemCredentialsDocument = exports.RemoveCredentialsDocument = exports.UpdateCredentialsDocument = exports.CreateSystemCredentialsDocument = exports.CreateCredentialsDocument = exports.GetMercadoLivreAuthInfoDocument = exports.CountCredentialsDocument = exports.ListCredentialsDocument = exports.GetMetaAuthInfoDocument = exports.GetCredentialsSecretDocument = exports.GetCredentialsDocument = exports.GetAuthInfoDocument = exports.GetAmplifyConfigDocument = exports.GetFederationMetadataDocument = exports.UnregisterAppInstanceDocument = exports.RegisterAppInstanceDocument = exports.CountAppInstancesDocument = void 0; | ||
exports.serviceName = exports.CreatePresignedUploadUrlDocument = exports.GetStorageDocument = exports.RemoveStateMachineConfigStateDocument = exports.UpdateStateMachineConfigStateDocument = exports.CreateStateMachineConfigStateDocument = exports.PublishStateMachineConfigDocument = exports.EditStateMachineConfigDocument = exports.RemoveStateMachineConfigDocument = void 0; | ||
exports.GetAppInstancesDocument = exports.GetAppInstanceDocument = exports.ListAppsDocument = exports.GetAppDocument = exports.LeaveOrganizationDocument = exports.JoinAsSuperAdminDocument = exports.RemoveRoleFromAgentDocument = exports.AddRoleToAgentDocument = exports.RemoveSystemApiKeyAgentDocument = exports.RemoveAgentDocument = exports.UpdateAgentDocument = exports.CreateSystemApiKeyAgentDocument = exports.CreateApiKeyAgentDocument = exports.CreateAgentDocument = exports.UpdateMyProfileDocument = exports.SearchAgentsDocument = exports.ListApiKeyAgentsDocument = exports.ListAgentsDocument = exports.GetAgentsDocument = exports.GetAgentByEmailDocument = exports.GetAgentDocument = exports.GetMeDocument = exports.StorageFragmentDoc = exports.StateMachineConfigConnectionFragmentDoc = exports.StateMachineConfigFragmentDoc = exports.StateMachineConfigStateFragmentDoc = exports.StateMachineConfigStateOnFragmentDoc = exports.SettingsFragmentDoc = exports.SessionSchemaFragmentDoc = exports.SessionFragmentDoc = exports.RoleFragmentDoc = exports.PolicyFragmentDoc = exports.CronJobFragmentDoc = exports.CustomerFragmentDoc = exports.CredentialsWithSecretFragmentDoc = exports.SafeCredentialsFragmentDoc = exports.AppWithInstancesFragmentDoc = exports.AppInstanceFragmentDoc = exports.AppFragmentDoc = exports.ApiKeyFragmentDoc = exports.AgentFragmentDoc = exports.Typenames = exports.StateMachineConfigStatus = exports.SessionStatus = exports.PatchOperation = exports.CustomerIndex = exports.CredentialsType = exports.Can = exports.AppType = exports.AppInstanceStatus = void 0; | ||
exports.CreateStateMachineConfigDocument = exports.IsAppInstanceInUseDocument = exports.GetXStateMachineConfigDocument = exports.ListStateMachineConfigVersionsDocument = exports.ListStateMachineConfigsByStatusDocument = exports.ListDraftStateMachineConfigsDocument = exports.ListLiveStateMachineConfigsDocument = exports.CountLiveStateMachineConfigsDocument = exports.GetStateMachineDocument = exports.UpdateSettingsDocument = exports.GetSettingsDocument = exports.RemoveTagsFromSessionAttributesDocument = exports.AddTagsToSessionAttributesDocument = exports.PatchSessionAttributesDocument = exports.SetSessionAttributeDocument = exports.SearchSessionsDocument = exports.GetSessionSchemaForAppIdDocument = exports.GetSessionSchemaDocument = exports.GetSessionDocument = exports.StartCustomSessionDocument = exports.StartSessionDocument = exports.CheckPermissionsDocument = exports.GetSystemRoleDocument = exports.ListSystemRolesDocument = exports.RemoveCronJobDocument = exports.UpdateCronJobDocument = exports.CreateCronJobDocument = exports.ListCronJobsDocument = exports.GetCronJobDocument = exports.GetOrCreateCustomerDocument = exports.ListCustomersDocument = exports.GetCustomerDocument = exports.RemoveSystemCredentialsDocument = exports.RemoveCredentialsDocument = exports.UpdateCredentialsDocument = exports.CreateSystemCredentialsDocument = exports.CreateCredentialsDocument = exports.GetMercadoLivreAuthInfoDocument = exports.CountCredentialsDocument = exports.ListCredentialsDocument = exports.GetMetaAuthInfoDocument = exports.GetCredentialsSecretDocument = exports.GetCredentialsDocument = exports.GetAuthInfoDocument = exports.GetAmplifyConfigDocument = exports.GetFederationMetadataDocument = exports.UnregisterAppInstanceDocument = exports.RegisterAppInstanceDocument = exports.CountAppInstancesDocument = exports.ListAppInstancesDocument = void 0; | ||
exports.serviceName = exports.CreatePresignedUploadUrlDocument = exports.GetStorageDocument = exports.RemoveStateMachineConfigStateDocument = exports.UpdateStateMachineConfigStateDocument = exports.CreateStateMachineConfigStateDocument = exports.PublishStateMachineConfigDocument = exports.EditStateMachineConfigDocument = exports.RemoveStateMachineConfigDocument = exports.UpdateStateMachineConfigDocument = void 0; | ||
exports.getSdk = getSdk; | ||
@@ -474,2 +474,7 @@ var AppInstanceStatus; | ||
`; | ||
exports.LeaveOrganizationDocument = ` | ||
mutation leaveOrganization($input: LeaveOrganizationInput!) { | ||
leaveOrganization(input: $input) | ||
} | ||
`; | ||
exports.GetAppDocument = ` | ||
@@ -1036,2 +1041,5 @@ query getApp($appId: ID!, $withInstances: Boolean = false) { | ||
}, | ||
leaveOrganization(variables, options) { | ||
return requester(exports.LeaveOrganizationDocument, variables, options); | ||
}, | ||
getApp(variables, options) { | ||
@@ -1038,0 +1046,0 @@ return requester(exports.GetAppDocument, variables, options); |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
1499107
29815