neuralseek 1.0.1 → 1.0.2

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/README.md CHANGED
@@ -204,3 +204,9 @@ Class | Method | HTTP request | Description
204
204
  - **API key parameter name**: apikey
205
205
  - **Location**: HTTP header
206
206
 
207
+ ### embedcode
208
+
209
+ - **Type**: API key
210
+ - **API key parameter name**: embedcode
211
+ - **Location**: HTTP header
212
+
@@ -84,6 +84,12 @@ apiKey.apiKey = 'YOUR API KEY';
84
84
  // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
85
85
  //apiKey.apiKeyPrefix = 'Token';
86
86
 
87
+ // Configure API key authorization: embedcode
88
+ let embedcode = defaultClient.authentications['embedcode'];
89
+ embedcode.apiKey = 'YOUR API KEY';
90
+ // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
91
+ //embedcode.apiKeyPrefix = 'Token';
92
+
87
93
  let apiInstance = new NeuralSeek.MAIstroApi();
88
94
  let body = new NeuralSeek.MaistroBody(); // MaistroBody | The request object.
89
95
  let opts = {
@@ -115,7 +121,7 @@ Name | Type | Description | Notes
115
121
 
116
122
  ### Authorization
117
123
 
118
- [apiKey](../README.md#apiKey)
124
+ [apiKey](../README.md#apiKey), [embedcode](../README.md#embedcode)
119
125
 
120
126
  ### HTTP request headers
121
127
 
@@ -334,6 +340,12 @@ apiKey.apiKey = 'YOUR API KEY';
334
340
  // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
335
341
  //apiKey.apiKeyPrefix = 'Token';
336
342
 
343
+ // Configure API key authorization: embedcode
344
+ let embedcode = defaultClient.authentications['embedcode'];
345
+ embedcode.apiKey = 'YOUR API KEY';
346
+ // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
347
+ //embedcode.apiKeyPrefix = 'Token';
348
+
337
349
  let apiInstance = new NeuralSeek.MAIstroApi();
338
350
  let body = new NeuralSeek.MaistroStreamBody(); // MaistroStreamBody | The request object.
339
351
 
@@ -358,7 +370,7 @@ Name | Type | Description | Notes
358
370
 
359
371
  ### Authorization
360
372
 
361
- [apiKey](../README.md#apiKey)
373
+ [apiKey](../README.md#apiKey), [embedcode](../README.md#embedcode)
362
374
 
363
375
  ### HTTP request headers
364
376
 
package/docs/SeekApi.md CHANGED
@@ -26,6 +26,12 @@ apiKey.apiKey = 'YOUR API KEY';
26
26
  // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
27
27
  //apiKey.apiKeyPrefix = 'Token';
28
28
 
29
+ // Configure API key authorization: embedcode
30
+ let embedcode = defaultClient.authentications['embedcode'];
31
+ embedcode.apiKey = 'YOUR API KEY';
32
+ // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
33
+ //embedcode.apiKeyPrefix = 'Token';
34
+
29
35
  let apiInstance = new NeuralSeek.SeekApi();
30
36
  let body = new NeuralSeek.Seek(); // Seek | The request object. Must include the question and a context.
31
37
 
@@ -50,7 +56,7 @@ Name | Type | Description | Notes
50
56
 
51
57
  ### Authorization
52
58
 
53
- [apiKey](../README.md#apiKey)
59
+ [apiKey](../README.md#apiKey), [embedcode](../README.md#embedcode)
54
60
 
55
61
  ### HTTP request headers
56
62
 
@@ -76,6 +82,12 @@ apiKey.apiKey = 'YOUR API KEY';
76
82
  // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
77
83
  //apiKey.apiKeyPrefix = 'Token';
78
84
 
85
+ // Configure API key authorization: embedcode
86
+ let embedcode = defaultClient.authentications['embedcode'];
87
+ embedcode.apiKey = 'YOUR API KEY';
88
+ // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
89
+ //embedcode.apiKeyPrefix = 'Token';
90
+
79
91
  let apiInstance = new NeuralSeek.SeekApi();
80
92
  let body = new NeuralSeek.SeekStreamBody(); // SeekStreamBody | The request object. Must include the question and a context.
81
93
 
@@ -100,7 +112,7 @@ Name | Type | Description | Notes
100
112
 
101
113
  ### Authorization
102
114
 
103
- [apiKey](../README.md#apiKey)
115
+ [apiKey](../README.md#apiKey), [embedcode](../README.md#embedcode)
104
116
 
105
117
  ### HTTP request headers
106
118
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "neuralseek",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "NeuralSeek___The_business_LLM_accelerator",
5
5
  "license": "End User License Agreement",
6
6
  "main": "src/index.js",
package/src/ApiClient.js CHANGED
@@ -41,7 +41,8 @@ export default class ApiClient {
41
41
  * @type {Array.<String>}
42
42
  */
43
43
  this.authentications = {
44
- 'apiKey': {type: 'apiKey', 'in': 'header', name: 'apikey'}
44
+ 'apiKey': {type: 'apiKey', 'in': 'header', name: 'apikey'},
45
+ 'embedcode': {type: 'apiKey', 'in': 'header', name: 'embedcode'}
45
46
  }
46
47
 
47
48
  /**
package/src/MAIstroApi.js CHANGED
@@ -126,7 +126,7 @@ export default class MAIstroApi {
126
126
 
127
127
  };
128
128
 
129
- let authNames = ['apiKey'];
129
+ let authNames = ['apiKey', 'embedcode'];
130
130
  let contentTypes = ['application/json'];
131
131
  let accepts = ['application/json'];
132
132
  let returnType = InlineResponse2002;
@@ -351,7 +351,7 @@ export default class MAIstroApi {
351
351
 
352
352
  };
353
353
 
354
- let authNames = ['apiKey'];
354
+ let authNames = ['apiKey', 'embedcode'];
355
355
  let contentTypes = ['application/json'];
356
356
  let accepts = ['text/event-stream'];
357
357
  let returnType = InlineResponse2003;
package/src/SeekApi.js CHANGED
@@ -74,7 +74,7 @@ export default class SeekApi {
74
74
 
75
75
  };
76
76
 
77
- let authNames = ['apiKey'];
77
+ let authNames = ['apiKey', 'embedcode'];
78
78
  let contentTypes = ['application/json'];
79
79
  let accepts = ['application/json'];
80
80
  let returnType = SeekResponse;
@@ -121,7 +121,7 @@ export default class SeekApi {
121
121
 
122
122
  };
123
123
 
124
- let authNames = ['apiKey'];
124
+ let authNames = ['apiKey', 'embedcode'];
125
125
  let contentTypes = ['application/json'];
126
126
  let accepts = ['text/event-stream'];
127
127
  let returnType = InlineResponse200;