@deeprelay/sdk 0.3.0 → 0.4.1
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 +2 -2
- package/dist/esm/models/RequestLogEntry.d.ts +3 -3
- package/dist/esm/runtime.js +1 -1
- package/dist/models/RequestLogEntry.d.ts +3 -3
- package/dist/runtime.js +1 -1
- package/docs/RequestLogEntry.md +1 -1
- package/package.json +1 -1
- package/src/models/RequestLogEntry.ts +3 -3
- package/src/runtime.ts +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @deeprelay/sdk@0.
|
|
1
|
+
# @deeprelay/sdk@0.4.1
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the api.deeprelay.ai API.
|
|
4
4
|
|
|
@@ -192,7 +192,7 @@ and is automatically generated by the
|
|
|
192
192
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
193
193
|
|
|
194
194
|
- API version: `1.0.0`
|
|
195
|
-
- Package version: `0.
|
|
195
|
+
- Package version: `0.4.1`
|
|
196
196
|
- Generator version: `7.24.0`
|
|
197
197
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
198
198
|
|
|
@@ -118,11 +118,11 @@ export interface RequestLogEntry {
|
|
|
118
118
|
*/
|
|
119
119
|
quotaUnits?: number;
|
|
120
120
|
/**
|
|
121
|
-
* The exact USD amount billed to the wallet,
|
|
122
|
-
* @type {
|
|
121
|
+
* The exact USD amount billed to the wallet, in the same format as `usage.cost`: an exact decimal with up to 8 places, emitted as a JSON number. `0` for a plan-covered, rejected or failed call.
|
|
122
|
+
* @type {number}
|
|
123
123
|
* @memberof RequestLogEntry
|
|
124
124
|
*/
|
|
125
|
-
cost:
|
|
125
|
+
cost: number;
|
|
126
126
|
/**
|
|
127
127
|
* The same amount as an integer number of micro-cents.
|
|
128
128
|
* @type {number}
|
package/dist/esm/runtime.js
CHANGED
|
@@ -61,7 +61,7 @@ export class Configuration {
|
|
|
61
61
|
return undefined;
|
|
62
62
|
}
|
|
63
63
|
get headers() {
|
|
64
|
-
return Object.assign({ 'User-Agent': 'deeprelay-sdk-ts/0.
|
|
64
|
+
return Object.assign({ 'User-Agent': 'deeprelay-sdk-ts/0.4.1' }, this.configuration.headers);
|
|
65
65
|
}
|
|
66
66
|
get credentials() {
|
|
67
67
|
return this.configuration.credentials;
|
|
@@ -118,11 +118,11 @@ export interface RequestLogEntry {
|
|
|
118
118
|
*/
|
|
119
119
|
quotaUnits?: number;
|
|
120
120
|
/**
|
|
121
|
-
* The exact USD amount billed to the wallet,
|
|
122
|
-
* @type {
|
|
121
|
+
* The exact USD amount billed to the wallet, in the same format as `usage.cost`: an exact decimal with up to 8 places, emitted as a JSON number. `0` for a plan-covered, rejected or failed call.
|
|
122
|
+
* @type {number}
|
|
123
123
|
* @memberof RequestLogEntry
|
|
124
124
|
*/
|
|
125
|
-
cost:
|
|
125
|
+
cost: number;
|
|
126
126
|
/**
|
|
127
127
|
* The same amount as an integer number of micro-cents.
|
|
128
128
|
* @type {number}
|
package/dist/runtime.js
CHANGED
|
@@ -69,7 +69,7 @@ class Configuration {
|
|
|
69
69
|
return undefined;
|
|
70
70
|
}
|
|
71
71
|
get headers() {
|
|
72
|
-
return Object.assign({ 'User-Agent': 'deeprelay-sdk-ts/0.
|
|
72
|
+
return Object.assign({ 'User-Agent': 'deeprelay-sdk-ts/0.4.1' }, this.configuration.headers);
|
|
73
73
|
}
|
|
74
74
|
get credentials() {
|
|
75
75
|
return this.configuration.credentials;
|
package/docs/RequestLogEntry.md
CHANGED
package/package.json
CHANGED
|
@@ -122,11 +122,11 @@ export interface RequestLogEntry {
|
|
|
122
122
|
*/
|
|
123
123
|
quotaUnits?: number;
|
|
124
124
|
/**
|
|
125
|
-
* The exact USD amount billed to the wallet,
|
|
126
|
-
* @type {
|
|
125
|
+
* The exact USD amount billed to the wallet, in the same format as `usage.cost`: an exact decimal with up to 8 places, emitted as a JSON number. `0` for a plan-covered, rejected or failed call.
|
|
126
|
+
* @type {number}
|
|
127
127
|
* @memberof RequestLogEntry
|
|
128
128
|
*/
|
|
129
|
-
cost:
|
|
129
|
+
cost: number;
|
|
130
130
|
/**
|
|
131
131
|
* The same amount as an integer number of micro-cents.
|
|
132
132
|
* @type {number}
|
package/src/runtime.ts
CHANGED
|
@@ -75,7 +75,7 @@ export class Configuration {
|
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
get headers(): HTTPHeaders | undefined {
|
|
78
|
-
return { 'User-Agent': 'deeprelay-sdk-ts/0.
|
|
78
|
+
return { 'User-Agent': 'deeprelay-sdk-ts/0.4.1', ...this.configuration.headers };
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
get credentials(): RequestCredentials | undefined {
|