@droz-js/sdk
Advanced tools
Comparing version 0.8.3-alpha.7 to 0.8.4
{ | ||
"name": "@droz-js/sdk", | ||
"description": "Droz SDK", | ||
"version": "0.8.3-alpha.7", | ||
"version": "0.8.4", | ||
"private": false, | ||
@@ -6,0 +6,0 @@ "exports": { |
@@ -29,2 +29,6 @@ import { CreatePresignedUploadUrlInput } from './sdks/nucleus'; | ||
}>, options?: unknown): Promise<import("./sdks/nucleus").ListApiKeyAgentsQuery>; | ||
searchAgents(variables?: import("./sdks/nucleus").Exact<{ | ||
query?: import("./sdks/nucleus").InputMaybe<import("./sdks/nucleus").Scalars["String"]["input"]>; | ||
page?: import("./sdks/nucleus").InputMaybe<import("./sdks/nucleus").Scalars["Number"]["input"]>; | ||
}>, options?: unknown): Promise<import("./sdks/nucleus").SearchAgentsQuery>; | ||
updateMyProfile(variables: import("./sdks/nucleus").Exact<{ | ||
@@ -31,0 +35,0 @@ input: import("./sdks/nucleus").UpdateMyProfileInput; |
@@ -27,2 +27,6 @@ export * from './sdks/reclameaqui'; | ||
}>, options?: unknown): Promise<import("./sdks/reclameaqui").GetReclameAquiBillingConfigurationQuery>; | ||
countTicketsForInstance(variables: import("./sdks/reclameaqui").Exact<{ | ||
instanceId: import("./sdks/reclameaqui").Scalars["ID"]["input"]; | ||
cutoffDate: import("./sdks/reclameaqui").Scalars["Date"]["input"]; | ||
}>, options?: unknown): Promise<import("./sdks/reclameaqui").CountTicketsForInstanceQuery>; | ||
createReclameAquiInstance(variables: import("./sdks/reclameaqui").Exact<{ | ||
@@ -43,2 +47,5 @@ input: import("./sdks/reclameaqui").CreateReclameAquiInstanceInput; | ||
}>, options?: unknown): Promise<import("./sdks/reclameaqui").RequestReclameAquiTicketEvaluationMutation>; | ||
reSyncReclameAquiInstance(variables: import("./sdks/reclameaqui").Exact<{ | ||
input: import("./sdks/reclameaqui").ReSyncReclameAquiInstanceInput; | ||
}>, options?: unknown): Promise<import("./sdks/reclameaqui").ReSyncReclameAquiInstanceMutation>; | ||
forceReSyncReclameAquiTicket(variables: import("./sdks/reclameaqui").Exact<{ | ||
@@ -45,0 +52,0 @@ input: import("./sdks/reclameaqui").ForceReSyncReclameAquiTicketInput; |
@@ -203,2 +203,4 @@ export type Maybe<T> = T; | ||
export type QueryListMessagesArgs = { | ||
after?: InputMaybe<Scalars['DateTime']['input']>; | ||
before?: InputMaybe<Scalars['DateTime']['input']>; | ||
limit?: InputMaybe<Scalars['Int']['input']>; | ||
@@ -205,0 +207,0 @@ next?: InputMaybe<Scalars['Base64']['input']>; |
"use strict"; | ||
/* istanbul ignore file */ | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.RegisterAppInstanceDocument = exports.CountAppInstancesDocument = 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.ListApiKeyAgentsDocument = exports.ListAgentsDocument = exports.GetAgentsDocument = exports.GetAgentByEmailDocument = exports.GetAgentDocument = exports.GetMeDocument = exports.StorageFragmentDoc = exports.StateMachineConfigConnectionFragmentDoc = exports.StateMachineConfigFragmentDoc = exports.StateMachineConfigStateFragmentDoc = exports.StateMachineConfigStateOnFragmentDoc = 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.UpdateStateMachineConfigStateDocument = exports.CreateStateMachineConfigStateDocument = exports.PublishStateMachineConfigDocument = exports.EditStateMachineConfigDocument = exports.RemoveStateMachineConfigDocument = exports.UpdateStateMachineConfigDocument = exports.CreateStateMachineConfigDocument = exports.IsAppInstanceInUseDocument = exports.GetXStateMachineConfigDocument = exports.ListStateMachineConfigVersionsDocument = exports.ListStateMachineConfigsByStatusDocument = exports.ListDraftStateMachineConfigsDocument = exports.ListLiveStateMachineConfigsDocument = exports.CountLiveStateMachineConfigsDocument = exports.GetStateMachineDocument = 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.UnregisterAppInstanceDocument = void 0; | ||
exports.serviceName = exports.CreatePresignedUploadUrlDocument = exports.GetStorageDocument = exports.RemoveStateMachineConfigStateDocument = void 0; | ||
exports.CountAppInstancesDocument = 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.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.CreateStateMachineConfigStateDocument = exports.PublishStateMachineConfigDocument = exports.EditStateMachineConfigDocument = exports.RemoveStateMachineConfigDocument = exports.UpdateStateMachineConfigDocument = exports.CreateStateMachineConfigDocument = exports.IsAppInstanceInUseDocument = exports.GetXStateMachineConfigDocument = exports.ListStateMachineConfigVersionsDocument = exports.ListStateMachineConfigsByStatusDocument = exports.ListDraftStateMachineConfigsDocument = exports.ListLiveStateMachineConfigsDocument = exports.CountLiveStateMachineConfigsDocument = exports.GetStateMachineDocument = 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.UnregisterAppInstanceDocument = exports.RegisterAppInstanceDocument = void 0; | ||
exports.serviceName = exports.CreatePresignedUploadUrlDocument = exports.GetStorageDocument = exports.RemoveStateMachineConfigStateDocument = exports.UpdateStateMachineConfigStateDocument = void 0; | ||
exports.getSdk = getSdk; | ||
@@ -378,2 +378,15 @@ var AppInstanceStatus; | ||
${exports.AgentFragmentDoc}`; | ||
exports.SearchAgentsDocument = ` | ||
query searchAgents($query: String, $page: Number) { | ||
searchAgents(query: $query, page: $page) { | ||
nodes { | ||
...agent | ||
} | ||
pageInfo { | ||
hasNext | ||
next | ||
} | ||
} | ||
} | ||
${exports.AgentFragmentDoc}`; | ||
exports.UpdateMyProfileDocument = ` | ||
@@ -959,2 +972,5 @@ mutation updateMyProfile($input: UpdateMyProfileInput!) { | ||
}, | ||
searchAgents(variables, options) { | ||
return requester(exports.SearchAgentsDocument, variables, options); | ||
}, | ||
updateMyProfile(variables, options) { | ||
@@ -961,0 +977,0 @@ return requester(exports.UpdateMyProfileDocument, variables, options); |
@@ -166,2 +166,3 @@ export type Maybe<T> = T; | ||
forceReSyncReclameAquiTicket?: Maybe<Scalars['Boolean']['output']>; | ||
reSyncReclameAquiInstance?: Maybe<Scalars['Boolean']['output']>; | ||
removeReclameAquiInstance?: Maybe<ReclameAquiInstance>; | ||
@@ -179,2 +180,5 @@ requestReclameAquiTicketEvaluation?: Maybe<ReclameAquiTicketEvaluationResponse>; | ||
}; | ||
export type MutationReSyncReclameAquiInstanceArgs = { | ||
input: ReSyncReclameAquiInstanceInput; | ||
}; | ||
export type MutationRemoveReclameAquiInstanceArgs = { | ||
@@ -216,2 +220,3 @@ input: RemoveReclameAquiInstanceInput; | ||
app?: Maybe<Scalars['DRN']['output']>; | ||
countTicketsForInstance?: Maybe<Scalars['Float']['output']>; | ||
getHttpEndpoint?: Maybe<Scalars['String']['output']>; | ||
@@ -226,2 +231,7 @@ getReclameAquiBillingConfiguration: ReclameAquiBillingConfiguration; | ||
}; | ||
export type QueryCountTicketsForInstanceArgs = { | ||
companyId?: InputMaybe<Scalars['String']['input']>; | ||
cutoffDate?: InputMaybe<Scalars['Date']['input']>; | ||
instanceId: Scalars['ID']['input']; | ||
}; | ||
export type QueryGetReclameAquiInstanceArgs = { | ||
@@ -236,2 +246,5 @@ id: Scalars['ID']['input']; | ||
}; | ||
export type ReSyncReclameAquiInstanceInput = { | ||
instanceId: Scalars['ID']['input']; | ||
}; | ||
export type ReclameAquiActionsTags = { | ||
@@ -425,2 +438,7 @@ evaluationRequested?: Maybe<Scalars['Tag']['output']>; | ||
}; | ||
export type CountTicketsForInstanceQueryVariables = Exact<{ | ||
instanceId: Scalars['ID']['input']; | ||
cutoffDate: Scalars['Date']['input']; | ||
}>; | ||
export type CountTicketsForInstanceQuery = Pick<Query, 'countTicketsForInstance'>; | ||
export type CreateReclameAquiInstanceMutationVariables = Exact<{ | ||
@@ -456,2 +474,6 @@ input: CreateReclameAquiInstanceInput; | ||
}; | ||
export type ReSyncReclameAquiInstanceMutationVariables = Exact<{ | ||
input: ReSyncReclameAquiInstanceInput; | ||
}>; | ||
export type ReSyncReclameAquiInstanceMutation = Pick<Mutation, 'reSyncReclameAquiInstance'>; | ||
export type ForceReSyncReclameAquiTicketMutationVariables = Exact<{ | ||
@@ -468,2 +490,3 @@ input: ForceReSyncReclameAquiTicketInput; | ||
export declare const GetReclameAquiBillingConfigurationDocument = "\n query getReclameAquiBillingConfiguration {\n getReclameAquiBillingConfiguration {\n billingCutoffSyncDays\n maxCutoffDate\n }\n}\n "; | ||
export declare const CountTicketsForInstanceDocument = "\n query countTicketsForInstance($instanceId: ID!, $cutoffDate: Date!) {\n countTicketsForInstance(instanceId: $instanceId, cutoffDate: $cutoffDate)\n}\n "; | ||
export declare const CreateReclameAquiInstanceDocument = "\n mutation createReclameAquiInstance($input: CreateReclameAquiInstanceInput!) {\n createReclameAquiInstance(input: $input) {\n ...reclameAquiInstance\n }\n}\n \n fragment reclameAquiInstance on ReclameAquiInstance {\n id\n name\n drn\n credentialId\n companyId\n cronJobId\n status\n failingReason\n tags\n cutoffSyncDate\n statusTags {\n notAnswered\n answered\n consumerAnswer\n companyAnswer\n rated\n frozen\n disabledByConsumer\n inactiveInReclameAqui\n ratedResolved\n ratedUnresolved\n }\n actionsTags {\n mediationRequested\n mediationDenied\n mediationAccepted\n evaluationRequested\n }\n createdAt\n updatedAt\n}\n "; | ||
@@ -474,2 +497,3 @@ export declare const UpdateReclameAquiInstanceDocument = "\n mutation updateReclameAquiInstance($input: UpdateReclameAquiInstanceInput!) {\n updateReclameAquiInstance(input: $input) {\n ...reclameAquiInstance\n }\n}\n \n fragment reclameAquiInstance on ReclameAquiInstance {\n id\n name\n drn\n credentialId\n companyId\n cronJobId\n status\n failingReason\n tags\n cutoffSyncDate\n statusTags {\n notAnswered\n answered\n consumerAnswer\n companyAnswer\n rated\n frozen\n disabledByConsumer\n inactiveInReclameAqui\n ratedResolved\n ratedUnresolved\n }\n actionsTags {\n mediationRequested\n mediationDenied\n mediationAccepted\n evaluationRequested\n }\n createdAt\n updatedAt\n}\n "; | ||
export declare const RequestReclameAquiTicketEvaluationDocument = "\n mutation requestReclameAquiTicketEvaluation($input: RequestReclameAquiTicketEvaluationInput!) {\n requestReclameAquiTicketEvaluation(input: $input) {\n success\n }\n}\n "; | ||
export declare const ReSyncReclameAquiInstanceDocument = "\n mutation reSyncReclameAquiInstance($input: ReSyncReclameAquiInstanceInput!) {\n reSyncReclameAquiInstance(input: $input)\n}\n "; | ||
export declare const ForceReSyncReclameAquiTicketDocument = "\n mutation forceReSyncReclameAquiTicket($input: ForceReSyncReclameAquiTicketInput!) {\n forceReSyncReclameAquiTicket(input: $input)\n}\n "; | ||
@@ -484,2 +508,3 @@ export type Requester<C = {}> = <R, V>(doc: string, vars?: V, options?: C) => Promise<R> | AsyncIterableIterator<R>; | ||
getReclameAquiBillingConfiguration(variables?: GetReclameAquiBillingConfigurationQueryVariables, options?: C): Promise<GetReclameAquiBillingConfigurationQuery>; | ||
countTicketsForInstance(variables: CountTicketsForInstanceQueryVariables, options?: C): Promise<CountTicketsForInstanceQuery>; | ||
createReclameAquiInstance(variables: CreateReclameAquiInstanceMutationVariables, options?: C): Promise<CreateReclameAquiInstanceMutation>; | ||
@@ -490,2 +515,3 @@ updateReclameAquiInstance(variables: UpdateReclameAquiInstanceMutationVariables, options?: C): Promise<UpdateReclameAquiInstanceMutation>; | ||
requestReclameAquiTicketEvaluation(variables: RequestReclameAquiTicketEvaluationMutationVariables, options?: C): Promise<RequestReclameAquiTicketEvaluationMutation>; | ||
reSyncReclameAquiInstance(variables: ReSyncReclameAquiInstanceMutationVariables, options?: C): Promise<ReSyncReclameAquiInstanceMutation>; | ||
forceReSyncReclameAquiTicket(variables: ForceReSyncReclameAquiTicketMutationVariables, options?: C): Promise<ForceReSyncReclameAquiTicketMutation>; | ||
@@ -492,0 +518,0 @@ }; |
"use strict"; | ||
/* istanbul ignore file */ | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.serviceName = exports.ForceReSyncReclameAquiTicketDocument = exports.RequestReclameAquiTicketEvaluationDocument = exports.SendReclameAquiModerationRequestDocument = exports.RemoveReclameAquiInstanceDocument = exports.UpdateReclameAquiInstanceDocument = exports.CreateReclameAquiInstanceDocument = exports.GetReclameAquiBillingConfigurationDocument = exports.ListReclameAquiModerationReasonsDocument = exports.ListReclameAquiCompaniesDocument = exports.ListReclameAquiInstancesDocument = exports.GetReclameAquiInstanceForSessionIdDocument = exports.GetReclameAquiInstanceDocument = exports.ReclameAquiInstanceFragmentDoc = exports.Typenames = exports.ReclameAquiTicketIdType = exports.Can = exports.AppInstanceStatus = void 0; | ||
exports.serviceName = exports.ForceReSyncReclameAquiTicketDocument = exports.ReSyncReclameAquiInstanceDocument = exports.RequestReclameAquiTicketEvaluationDocument = exports.SendReclameAquiModerationRequestDocument = exports.RemoveReclameAquiInstanceDocument = exports.UpdateReclameAquiInstanceDocument = exports.CreateReclameAquiInstanceDocument = exports.CountTicketsForInstanceDocument = exports.GetReclameAquiBillingConfigurationDocument = exports.ListReclameAquiModerationReasonsDocument = exports.ListReclameAquiCompaniesDocument = exports.ListReclameAquiInstancesDocument = exports.GetReclameAquiInstanceForSessionIdDocument = exports.GetReclameAquiInstanceDocument = exports.ReclameAquiInstanceFragmentDoc = exports.Typenames = exports.ReclameAquiTicketIdType = exports.Can = exports.AppInstanceStatus = void 0; | ||
exports.getSdk = getSdk; | ||
@@ -110,2 +110,7 @@ var AppInstanceStatus; | ||
`; | ||
exports.CountTicketsForInstanceDocument = ` | ||
query countTicketsForInstance($instanceId: ID!, $cutoffDate: Date!) { | ||
countTicketsForInstance(instanceId: $instanceId, cutoffDate: $cutoffDate) | ||
} | ||
`; | ||
exports.CreateReclameAquiInstanceDocument = ` | ||
@@ -146,2 +151,7 @@ mutation createReclameAquiInstance($input: CreateReclameAquiInstanceInput!) { | ||
`; | ||
exports.ReSyncReclameAquiInstanceDocument = ` | ||
mutation reSyncReclameAquiInstance($input: ReSyncReclameAquiInstanceInput!) { | ||
reSyncReclameAquiInstance(input: $input) | ||
} | ||
`; | ||
exports.ForceReSyncReclameAquiTicketDocument = ` | ||
@@ -172,2 +182,5 @@ mutation forceReSyncReclameAquiTicket($input: ForceReSyncReclameAquiTicketInput!) { | ||
}, | ||
countTicketsForInstance(variables, options) { | ||
return requester(exports.CountTicketsForInstanceDocument, variables, options); | ||
}, | ||
createReclameAquiInstance(variables, options) { | ||
@@ -188,2 +201,5 @@ return requester(exports.CreateReclameAquiInstanceDocument, variables, options); | ||
}, | ||
reSyncReclameAquiInstance(variables, options) { | ||
return requester(exports.ReSyncReclameAquiInstanceDocument, variables, options); | ||
}, | ||
forceReSyncReclameAquiTicket(variables, options) { | ||
@@ -190,0 +206,0 @@ return requester(exports.ForceReSyncReclameAquiTicketDocument, 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
1411564
28058