@droz-js/sdk
Advanced tools
Comparing version 0.8.0 to 0.8.1
{ | ||
"name": "@droz-js/sdk", | ||
"description": "Droz SDK", | ||
"version": "0.8.0", | ||
"version": "0.8.1", | ||
"private": false, | ||
@@ -6,0 +6,0 @@ "exports": { |
@@ -82,3 +82,3 @@ "use strict"; | ||
const authorization = await config_1.DrozSdk.getAuthorization(this.authorization); | ||
const heads = new Headers(); | ||
const heads = new Map(); | ||
if (authorization) | ||
@@ -85,0 +85,0 @@ heads.set('Authorization', authorization); |
@@ -17,8 +17,8 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.DrozBase = void 0; | ||
exports.DrozBaseWs = void 0; | ||
const ws_1 = require("./client/ws"); | ||
const drozbase_1 = require("./sdks/drozbase"); | ||
__exportStar(require("./sdks/drozbase"), exports); | ||
class DrozBase extends (0, ws_1.WsClientBuilder)(drozbase_1.serviceName, drozbase_1.getSdk) { | ||
class DrozBaseWs extends (0, ws_1.WsClientBuilder)(drozbase_1.serviceName, drozbase_1.getSdk) { | ||
} | ||
exports.DrozBase = DrozBase; | ||
exports.DrozBaseWs = DrozBaseWs; |
@@ -146,6 +146,5 @@ export type Maybe<T> = T; | ||
export type CreateQnAInstanceInput = { | ||
credentialsId: Scalars['ID']['input']; | ||
name: Scalars['String']['input']; | ||
prompt: Scalars['String']['input']; | ||
retrieverCredentialsId: Scalars['ID']['input']; | ||
retrieverTenantId: Scalars['String']['input']; | ||
}; | ||
@@ -227,2 +226,3 @@ export type I18nText = { | ||
createdAt: Scalars['DateTime']['output']; | ||
credentialsId: Scalars['ID']['output']; | ||
drn: Scalars['DRN']['output']; | ||
@@ -232,4 +232,2 @@ id: Scalars['ID']['output']; | ||
prompt: Scalars['String']['output']; | ||
retrieverCredentialsId: Scalars['ID']['output']; | ||
retrieverTenantId: Scalars['String']['output']; | ||
updatedAt: Scalars['DateTime']['output']; | ||
@@ -345,7 +343,6 @@ }; | ||
export type UpdateQnAInstanceInput = { | ||
credentialsId?: InputMaybe<Scalars['ID']['input']>; | ||
id: Scalars['ID']['input']; | ||
name?: InputMaybe<Scalars['String']['input']>; | ||
prompt?: InputMaybe<Scalars['String']['input']>; | ||
retrieverCredentialsId?: InputMaybe<Scalars['ID']['input']>; | ||
retrieverTenantId?: InputMaybe<Scalars['String']['input']>; | ||
}; | ||
@@ -352,0 +349,0 @@ export type NlpInstanceFragment = (Pick<NlpInstance, 'id' | 'name' | 'drn' | 'createdAt' | 'updatedAt'> & { |
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
1404436
27934