@droz-js/sdk 0.9.28 → 0.9.29

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@droz-js/sdk",
3
3
  "description": "Droz SDK",
4
- "version": "0.9.28",
4
+ "version": "0.9.29",
5
5
  "private": false,
6
6
  "exports": {
7
7
  ".": "./src/index.js",
@@ -2927,9 +2927,11 @@ export type UnEnrollCourseInput = {
2927
2927
  subject?: InputMaybe<Scalars['ID']['input']>;
2928
2928
  };
2929
2929
  export type UnansweredQueries = {
2930
+ answer: Scalars['String']['output'];
2930
2931
  createdAt: Scalars['DateTime']['output'];
2931
2932
  id: Scalars['ID']['output'];
2932
2933
  query: Scalars['String']['output'];
2934
+ relatedDocs?: Maybe<Array<Scalars['String']['output']>>;
2933
2935
  };
2934
2936
  export type UnsubscribeInput = {
2935
2937
  email: Scalars['String']['input'];
@@ -3230,7 +3232,7 @@ export type ListUnansweredQueriesQueryVariables = Exact<{
3230
3232
  limit?: InputMaybe<Scalars['Int']['input']>;
3231
3233
  }>;
3232
3234
  export type ListUnansweredQueriesQuery = {
3233
- listUnansweredQueries?: Maybe<Array<Pick<UnansweredQueries, 'id' | 'query' | 'createdAt'>>>;
3235
+ listUnansweredQueries?: Maybe<Array<Pick<UnansweredQueries, 'id' | 'query' | 'answer' | 'relatedDocs' | 'createdAt'>>>;
3234
3236
  };
3235
3237
  export type BatchRemoveUnansweredQueriesMutationVariables = Exact<{
3236
3238
  input: BatchRemoveUnansweredQueriesInput;
@@ -5319,7 +5321,7 @@ export declare const GenerateOrganizationAnalyticsEmbedUrlDocument = "\n muta
5319
5321
  export declare const GenerateRecordAnalyticsEmbedUrlDocument = "\n mutation generateRecordAnalyticsEmbedUrl($resourceId: ID!) {\n generateOverviewEmbedUrl(resourceId: $resourceId) {\n iframeUrl\n }\n generateUsersEmbedUrl(resourceId: $resourceId) {\n iframeUrl\n }\n generateContentEmbedUrl(resourceId: $resourceId) {\n iframeUrl\n }\n}\n ";
5320
5322
  export declare const FindAnswerDocument = "\n query findAnswer($query: String, $typename: String, $parent: String, $filters: [ContentSearchFilterInput!], $history: [String!]) {\n findAnswer(\n query: $query\n typename: $typename\n parent: $parent\n filters: $filters\n history: $history\n ) {\n answer\n record {\n ...recordWithParent\n content\n }\n documents {\n ...record\n content\n }\n reason\n }\n}\n \n fragment recordWithParent on Record {\n ...record\n parent {\n id\n slug\n title\n typename\n color\n thumbnailUrl\n }\n}\n \n\n fragment record on Record {\n id\n slug\n title\n trail\n typename\n color\n thumbnailUrl\n downloadUrl\n origin\n identifier\n createdAt\n updatedAt\n status\n}\n ";
5321
5323
  export declare const QueryVectorStoreDocument = "\n query queryVectorStore($query: String, $typename: String, $parent: String, $filters: [ContentSearchFilterInput!]) {\n queryVectorStore(\n query: $query\n typename: $typename\n parent: $parent\n filters: $filters\n ) {\n ...recordWithParent\n content\n }\n}\n \n fragment recordWithParent on Record {\n ...record\n parent {\n id\n slug\n title\n typename\n color\n thumbnailUrl\n }\n}\n \n\n fragment record on Record {\n id\n slug\n title\n trail\n typename\n color\n thumbnailUrl\n downloadUrl\n origin\n identifier\n createdAt\n updatedAt\n status\n}\n ";
5322
- export declare const ListUnansweredQueriesDocument = "\n query listUnansweredQueries($startDate: DateTime, $endDate: DateTime, $after: Base64, $limit: Int) {\n listUnansweredQueries(\n startDate: $startDate\n endDate: $endDate\n after: $after\n limit: $limit\n ) {\n id\n query\n createdAt\n }\n}\n ";
5324
+ export declare const ListUnansweredQueriesDocument = "\n query listUnansweredQueries($startDate: DateTime, $endDate: DateTime, $after: Base64, $limit: Int) {\n listUnansweredQueries(\n startDate: $startDate\n endDate: $endDate\n after: $after\n limit: $limit\n ) {\n id\n query\n answer\n relatedDocs\n createdAt\n }\n}\n ";
5323
5325
  export declare const BatchRemoveUnansweredQueriesDocument = "\n mutation batchRemoveUnansweredQueries($input: BatchRemoveUnansweredQueriesInput!) {\n batchRemoveUnansweredQueries(input: $input)\n}\n ";
5324
5326
  export declare const CleanUnansweredQueriesDocument = "\n mutation cleanUnansweredQueries {\n cleanUnansweredQueries\n}\n ";
5325
5327
  export declare const GetApprovalFlowDocument = "\n query getApprovalFlow($id: ID!) {\n approvalFlow(id: $id) {\n ...approvalFlow\n }\n}\n \n fragment approvalFlow on ApprovalFlow {\n id\n title\n steps {\n ...approvalFlowStep\n }\n}\n \n\n fragment approvalFlowStep on ApprovalFlowStep {\n id\n title\n approvers {\n ...subject\n }\n minimumApprovals\n}\n \n\n fragment subject on Subject {\n __typename\n ...userInfo\n ...group\n}\n \n\n fragment userInfo on UserInfo {\n username\n name\n picture\n enabled\n bio\n department\n}\n \n\n fragment group on Group {\n groupName\n description\n precedence\n}\n ";
@@ -1396,6 +1396,8 @@ exports.ListUnansweredQueriesDocument = `
1396
1396
  ) {
1397
1397
  id
1398
1398
  query
1399
+ answer
1400
+ relatedDocs
1399
1401
  createdAt
1400
1402
  }
1401
1403
  }