@droz-js/sdk 0.9.102 → 0.10.0
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/package.json +1 -1
- package/src/sdks/nucleus.d.ts +7 -3
- package/src/sdks/nucleus.js +7 -3
package/package.json
CHANGED
package/src/sdks/nucleus.d.ts
CHANGED
|
@@ -157,6 +157,10 @@ export type AgentInfo = {
|
|
|
157
157
|
name: Scalars['String']['output'];
|
|
158
158
|
picture?: Maybe<Scalars['String']['output']>;
|
|
159
159
|
};
|
|
160
|
+
export type AgentSearchResults = {
|
|
161
|
+
nodes: Array<Agent>;
|
|
162
|
+
stats: SearchResultsStats;
|
|
163
|
+
};
|
|
160
164
|
export declare enum AgentStatus {
|
|
161
165
|
Off = "OFF",
|
|
162
166
|
On = "ON"
|
|
@@ -766,7 +770,7 @@ export type Query = {
|
|
|
766
770
|
listStateMachineConfigVersions: Array<StateMachineConfig>;
|
|
767
771
|
listStateMachineConfigsByStatus: StateMachineConfigConnection;
|
|
768
772
|
listSystemRoles: Array<Role>;
|
|
769
|
-
searchAgents:
|
|
773
|
+
searchAgents: AgentSearchResults;
|
|
770
774
|
searchCustomers: CustomerSearchResults;
|
|
771
775
|
searchSessions: SessionSearchResults;
|
|
772
776
|
version?: Maybe<Scalars['String']['output']>;
|
|
@@ -1248,7 +1252,7 @@ export type SearchAgentsQueryVariables = Exact<{
|
|
|
1248
1252
|
export type SearchAgentsQuery = {
|
|
1249
1253
|
searchAgents: {
|
|
1250
1254
|
nodes: Array<AgentFragment>;
|
|
1251
|
-
|
|
1255
|
+
stats: Pick<SearchResultsStats, 'found' | 'outOf' | 'page' | 'totalPages' | 'perPage' | 'searchTime'>;
|
|
1252
1256
|
};
|
|
1253
1257
|
};
|
|
1254
1258
|
export type UpdateMyProfileMutationVariables = Exact<{
|
|
@@ -1839,7 +1843,7 @@ export declare const GetAgentByEmailDocument = "\n query getAgentByEmail($ema
|
|
|
1839
1843
|
export declare const GetAgentsDocument = "\n query getAgents($ids: [ID!]!) {\n getAgents(ids: $ids) {\n ...agent\n }\n}\n \n fragment agent on Agent {\n id\n name\n email\n emailVerified\n picture\n bio\n department\n apps\n roles\n status\n cognitoUserStatus\n systemAgent\n removed\n groupMappings\n createdAt\n updatedAt\n}\n ";
|
|
1840
1844
|
export declare const ListAgentsDocument = "\n query listAgents($next: Base64) {\n listAgents(next: $next) {\n nodes {\n ...agent\n }\n pageInfo {\n hasNext\n next\n }\n }\n}\n \n fragment agent on Agent {\n id\n name\n email\n emailVerified\n picture\n bio\n department\n apps\n roles\n status\n cognitoUserStatus\n systemAgent\n removed\n groupMappings\n createdAt\n updatedAt\n}\n ";
|
|
1841
1845
|
export declare const ListApiKeyAgentsDocument = "\n query listApiKeyAgents($next: Base64) {\n listApiKeyAgents(next: $next) {\n nodes {\n ...agent\n }\n pageInfo {\n hasNext\n next\n }\n }\n}\n \n fragment agent on Agent {\n id\n name\n email\n emailVerified\n picture\n bio\n department\n apps\n roles\n status\n cognitoUserStatus\n systemAgent\n removed\n groupMappings\n createdAt\n updatedAt\n}\n ";
|
|
1842
|
-
export declare const SearchAgentsDocument = "\n query searchAgents($query: String, $page: Number) {\n searchAgents(query: $query, page: $page) {\n nodes {\n ...agent\n }\n
|
|
1846
|
+
export declare const SearchAgentsDocument = "\n query searchAgents($query: String, $page: Number) {\n searchAgents(query: $query, page: $page) {\n nodes {\n ...agent\n }\n stats {\n found\n outOf\n page\n totalPages\n perPage\n searchTime\n }\n }\n}\n \n fragment agent on Agent {\n id\n name\n email\n emailVerified\n picture\n bio\n department\n apps\n roles\n status\n cognitoUserStatus\n systemAgent\n removed\n groupMappings\n createdAt\n updatedAt\n}\n ";
|
|
1843
1847
|
export declare const UpdateMyProfileDocument = "\n mutation updateMyProfile($input: UpdateMyProfileInput!) {\n updateMyProfile(input: $input) {\n ...agent\n }\n}\n \n fragment agent on Agent {\n id\n name\n email\n emailVerified\n picture\n bio\n department\n apps\n roles\n status\n cognitoUserStatus\n systemAgent\n removed\n groupMappings\n createdAt\n updatedAt\n}\n ";
|
|
1844
1848
|
export declare const ChangeAgentStatusDocument = "\n mutation changeAgentStatus($input: ChangeAgentStatusInput!) {\n changeAgentStatus(input: $input) {\n ...agent\n }\n}\n \n fragment agent on Agent {\n id\n name\n email\n emailVerified\n picture\n bio\n department\n apps\n roles\n status\n cognitoUserStatus\n systemAgent\n removed\n groupMappings\n createdAt\n updatedAt\n}\n ";
|
|
1845
1849
|
export declare const CreateAgentDocument = "\n mutation createAgent($input: CreateAgentInput!) {\n createAgent(input: $input) {\n ...agent\n }\n}\n \n fragment agent on Agent {\n id\n name\n email\n emailVerified\n picture\n bio\n department\n apps\n roles\n status\n cognitoUserStatus\n systemAgent\n removed\n groupMappings\n createdAt\n updatedAt\n}\n ";
|
package/src/sdks/nucleus.js
CHANGED