@droz-js/sdk 0.9.14 → 0.9.15
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/ai.d.ts +7 -10
- package/src/sdks/ai.js +0 -1
- package/src/sdks/drozanalytics.d.ts +1 -0
- package/src/sdks/drozbase.d.ts +0 -4
package/package.json
CHANGED
package/src/sdks/ai.d.ts
CHANGED
|
@@ -145,7 +145,6 @@ export type CreateNlpInstanceInput = {
|
|
|
145
145
|
export type CreateQnAInstanceInput = {
|
|
146
146
|
credentialsId: Scalars['ID']['input'];
|
|
147
147
|
name: Scalars['String']['input'];
|
|
148
|
-
prompt: Scalars['String']['input'];
|
|
149
148
|
tryToReplyOnTransition?: InputMaybe<Scalars['Boolean']['input']>;
|
|
150
149
|
};
|
|
151
150
|
export type I18nText = {
|
|
@@ -227,7 +226,6 @@ export type QnAInstance = {
|
|
|
227
226
|
drn: Scalars['DRN']['output'];
|
|
228
227
|
id: Scalars['ID']['output'];
|
|
229
228
|
name: Scalars['String']['output'];
|
|
230
|
-
prompt: Scalars['String']['output'];
|
|
231
229
|
tryToReplyOnTransition?: Maybe<Scalars['Boolean']['output']>;
|
|
232
230
|
updatedAt: Scalars['DateTime']['output'];
|
|
233
231
|
};
|
|
@@ -342,7 +340,6 @@ export type UpdateQnAInstanceInput = {
|
|
|
342
340
|
credentialsId?: InputMaybe<Scalars['ID']['input']>;
|
|
343
341
|
id: Scalars['ID']['input'];
|
|
344
342
|
name?: InputMaybe<Scalars['String']['input']>;
|
|
345
|
-
prompt?: InputMaybe<Scalars['String']['input']>;
|
|
346
343
|
tryToReplyOnTransition?: InputMaybe<Scalars['Boolean']['input']>;
|
|
347
344
|
};
|
|
348
345
|
export type NlpInstanceFragment = (Pick<NlpInstance, 'id' | 'name' | 'drn' | 'createdAt' | 'updatedAt'> & {
|
|
@@ -385,7 +382,7 @@ export type TestNlpInstanceQueryVariables = Exact<{
|
|
|
385
382
|
export type TestNlpInstanceQuery = {
|
|
386
383
|
testNlpInstance?: Maybe<Pick<TestNlpInstanceResult, 'transition' | 'confidence'>>;
|
|
387
384
|
};
|
|
388
|
-
export type QnaFragmentFragment = Pick<QnAInstance, 'id' | 'name' | 'drn' | 'credentialsId' | '
|
|
385
|
+
export type QnaFragmentFragment = Pick<QnAInstance, 'id' | 'name' | 'drn' | 'credentialsId' | 'tryToReplyOnTransition' | 'createdAt' | 'updatedAt'>;
|
|
389
386
|
export type GetQnAInstanceQueryVariables = Exact<{
|
|
390
387
|
id: Scalars['ID']['input'];
|
|
391
388
|
}>;
|
|
@@ -427,19 +424,19 @@ export type RemoveQnAInstanceMutation = {
|
|
|
427
424
|
removeQnAInstance?: Maybe<QnaFragmentFragment>;
|
|
428
425
|
};
|
|
429
426
|
export declare const NlpInstanceFragmentDoc = "\n fragment nlpInstance on NlpInstance {\n id\n name\n drn\n options {\n transition\n samples\n }\n createdAt\n updatedAt\n}\n ";
|
|
430
|
-
export declare const QnaFragmentFragmentDoc = "\n fragment qnaFragment on QnAInstance {\n id\n name\n drn\n credentialsId\n
|
|
427
|
+
export declare const QnaFragmentFragmentDoc = "\n fragment qnaFragment on QnAInstance {\n id\n name\n drn\n credentialsId\n tryToReplyOnTransition\n createdAt\n updatedAt\n}\n ";
|
|
431
428
|
export declare const GetNlpInstanceDocument = "\n query getNlpInstance($id: ID!) {\n getNlpInstance(id: $id) {\n ...nlpInstance\n }\n}\n \n fragment nlpInstance on NlpInstance {\n id\n name\n drn\n options {\n transition\n samples\n }\n createdAt\n updatedAt\n}\n ";
|
|
432
429
|
export declare const ListNlpInstancesDocument = "\n query listNlpInstances {\n listNlpInstances {\n ...nlpInstance\n }\n}\n \n fragment nlpInstance on NlpInstance {\n id\n name\n drn\n options {\n transition\n samples\n }\n createdAt\n updatedAt\n}\n ";
|
|
433
430
|
export declare const CreateNlpInstanceDocument = "\n mutation createNlpInstance($input: CreateNlpInstanceInput!) {\n createNlpInstance(input: $input) {\n ...nlpInstance\n }\n}\n \n fragment nlpInstance on NlpInstance {\n id\n name\n drn\n options {\n transition\n samples\n }\n createdAt\n updatedAt\n}\n ";
|
|
434
431
|
export declare const UpdateNlpInstanceDocument = "\n mutation updateNlpInstance($input: UpdateNlpInstanceInput!) {\n updateNlpInstance(input: $input) {\n ...nlpInstance\n }\n}\n \n fragment nlpInstance on NlpInstance {\n id\n name\n drn\n options {\n transition\n samples\n }\n createdAt\n updatedAt\n}\n ";
|
|
435
432
|
export declare const RemoveNlpInstanceDocument = "\n mutation removeNlpInstance($input: RemoveNlpInstanceInput!) {\n removeNlpInstance(input: $input) {\n ...nlpInstance\n }\n}\n \n fragment nlpInstance on NlpInstance {\n id\n name\n drn\n options {\n transition\n samples\n }\n createdAt\n updatedAt\n}\n ";
|
|
436
433
|
export declare const TestNlpInstanceDocument = "\n query testNlpInstance($id: ID!, $sample: String!) {\n testNlpInstance(id: $id, sample: $sample) {\n transition\n confidence\n }\n}\n ";
|
|
437
|
-
export declare const GetQnAInstanceDocument = "\n query getQnAInstance($id: ID!) {\n getQnAInstance(id: $id) {\n ...qnaFragment\n }\n}\n \n fragment qnaFragment on QnAInstance {\n id\n name\n drn\n credentialsId\n
|
|
438
|
-
export declare const ListQnAInstancesDocument = "\n query listQnAInstances {\n listQnAInstances {\n ...qnaFragment\n }\n}\n \n fragment qnaFragment on QnAInstance {\n id\n name\n drn\n credentialsId\n
|
|
434
|
+
export declare const GetQnAInstanceDocument = "\n query getQnAInstance($id: ID!) {\n getQnAInstance(id: $id) {\n ...qnaFragment\n }\n}\n \n fragment qnaFragment on QnAInstance {\n id\n name\n drn\n credentialsId\n tryToReplyOnTransition\n createdAt\n updatedAt\n}\n ";
|
|
435
|
+
export declare const ListQnAInstancesDocument = "\n query listQnAInstances {\n listQnAInstances {\n ...qnaFragment\n }\n}\n \n fragment qnaFragment on QnAInstance {\n id\n name\n drn\n credentialsId\n tryToReplyOnTransition\n createdAt\n updatedAt\n}\n ";
|
|
439
436
|
export declare const TestQnAInstanceDocument = "\n query testQnAInstance($id: ID!, $input: String!, $history: String) {\n testQnAInstance(id: $id, input: $input, history: $history) {\n answer\n context {\n id\n title\n url\n content\n }\n }\n}\n ";
|
|
440
|
-
export declare const CreateQnAInstanceDocument = "\n mutation createQnAInstance($input: CreateQnAInstanceInput!) {\n createQnAInstance(input: $input) {\n ...qnaFragment\n }\n}\n \n fragment qnaFragment on QnAInstance {\n id\n name\n drn\n credentialsId\n
|
|
441
|
-
export declare const UpdateQnAInstanceDocument = "\n mutation updateQnAInstance($input: UpdateQnAInstanceInput!) {\n updateQnAInstance(input: $input) {\n ...qnaFragment\n }\n}\n \n fragment qnaFragment on QnAInstance {\n id\n name\n drn\n credentialsId\n
|
|
442
|
-
export declare const RemoveQnAInstanceDocument = "\n mutation removeQnAInstance($input: RemoveQnAInstanceInput!) {\n removeQnAInstance(input: $input) {\n ...qnaFragment\n }\n}\n \n fragment qnaFragment on QnAInstance {\n id\n name\n drn\n credentialsId\n
|
|
437
|
+
export declare const CreateQnAInstanceDocument = "\n mutation createQnAInstance($input: CreateQnAInstanceInput!) {\n createQnAInstance(input: $input) {\n ...qnaFragment\n }\n}\n \n fragment qnaFragment on QnAInstance {\n id\n name\n drn\n credentialsId\n tryToReplyOnTransition\n createdAt\n updatedAt\n}\n ";
|
|
438
|
+
export declare const UpdateQnAInstanceDocument = "\n mutation updateQnAInstance($input: UpdateQnAInstanceInput!) {\n updateQnAInstance(input: $input) {\n ...qnaFragment\n }\n}\n \n fragment qnaFragment on QnAInstance {\n id\n name\n drn\n credentialsId\n tryToReplyOnTransition\n createdAt\n updatedAt\n}\n ";
|
|
439
|
+
export declare const RemoveQnAInstanceDocument = "\n mutation removeQnAInstance($input: RemoveQnAInstanceInput!) {\n removeQnAInstance(input: $input) {\n ...qnaFragment\n }\n}\n \n fragment qnaFragment on QnAInstance {\n id\n name\n drn\n credentialsId\n tryToReplyOnTransition\n createdAt\n updatedAt\n}\n ";
|
|
443
440
|
export type Requester<C = {}> = <R, V>(doc: string, vars?: V, options?: C) => Promise<R> | AsyncIterableIterator<R>;
|
|
444
441
|
export declare function getSdk<C>(requester: Requester<C>): {
|
|
445
442
|
getNlpInstance(variables: GetNlpInstanceQueryVariables, options?: C): Promise<GetNlpInstanceQuery>;
|
package/src/sdks/ai.js
CHANGED
|
@@ -145,6 +145,7 @@ export type AnalyticsFacetValue = {
|
|
|
145
145
|
};
|
|
146
146
|
export type AnalyticsFacets = {
|
|
147
147
|
assigneeId?: Maybe<Array<Maybe<AnalyticsFacetValue>>>;
|
|
148
|
+
channelId?: Maybe<Array<Maybe<AnalyticsFacetValue>>>;
|
|
148
149
|
customerId?: Maybe<Array<Maybe<AnalyticsFacetValue>>>;
|
|
149
150
|
status?: Maybe<Array<Maybe<AnalyticsFacetValue>>>;
|
|
150
151
|
};
|
package/src/sdks/drozbase.d.ts
CHANGED
|
@@ -1666,19 +1666,15 @@ export type OrganizationSettings = {
|
|
|
1666
1666
|
usage?: Maybe<OrganizationSettingsUsage>;
|
|
1667
1667
|
};
|
|
1668
1668
|
export type OrganizationSettingsContent = {
|
|
1669
|
-
aiModel?: Maybe<Scalars['String']['output']>;
|
|
1670
1669
|
enableAnswers?: Maybe<Scalars['Boolean']['output']>;
|
|
1671
1670
|
notifyRecordUpdates?: Maybe<Scalars['Boolean']['output']>;
|
|
1672
|
-
promptInstructions?: Maybe<Scalars['String']['output']>;
|
|
1673
1671
|
requireTags?: Maybe<Scalars['Boolean']['output']>;
|
|
1674
1672
|
scriptsFooter?: Maybe<Scalars['String']['output']>;
|
|
1675
1673
|
scriptsHeader?: Maybe<Scalars['String']['output']>;
|
|
1676
1674
|
};
|
|
1677
1675
|
export type OrganizationSettingsContentInput = {
|
|
1678
|
-
aiModel?: InputMaybe<Scalars['String']['input']>;
|
|
1679
1676
|
enableAnswers?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1680
1677
|
notifyRecordUpdates?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1681
|
-
promptInstructions?: InputMaybe<Scalars['String']['input']>;
|
|
1682
1678
|
requireTags?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1683
1679
|
scriptsFooter?: InputMaybe<Scalars['String']['input']>;
|
|
1684
1680
|
scriptsHeader?: InputMaybe<Scalars['String']['input']>;
|