@alphauspkgs/blue-sdk-ts 1.0.1 → 1.0.3
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 +3 -3
- package/admin/v1/client.js +2 -2
- package/admin/v1/client.ts +2 -2
- package/api/cover/costforecast_pb.js +22 -2
- package/api/cover/costforecast_pb.ts +140 -1
- package/billing/v1/client.js +2 -2
- package/billing/v1/client.ts +2 -2
- package/conn/conn.js +99 -14
- package/conn/conn.ts +132 -28
- package/cost/v1/client.js +2 -2
- package/cost/v1/client.ts +2 -2
- package/cost/v1/cost_pb.js +1 -1
- package/cost/v1/cost_pb.ts +9 -1
- package/cover/v1/client.js +2 -2
- package/cover/v1/client.ts +6 -6
- package/cover/v1/cover_pb.js +481 -383
- package/cover/v1/cover_pb.ts +1009 -376
- package/flow/v1/client.js +2 -2
- package/flow/v1/client.ts +2 -2
- package/iam/v1/client.js +2 -2
- package/iam/v1/client.ts +2 -2
- package/org/v1/client.js +2 -2
- package/org/v1/client.ts +2 -2
- package/package.json +5 -2
- package/preferences/v1/client.js +2 -2
- package/preferences/v1/client.ts +2 -2
- package/pricing/v1/client.js +2 -2
- package/pricing/v1/client.ts +2 -2
- package/prism/v1/client.js +2 -2
- package/prism/v1/client.ts +2 -2
- package/prism/v1/prism_pb.ts +4 -0
- package/vortex/v1/client.js +2 -2
- package/vortex/v1/client.ts +3 -3
package/flow/v1/client.js
CHANGED
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.NewFlowClient = NewFlowClient;
|
|
4
4
|
const flow_pb_1 = require("./flow_pb");
|
|
5
5
|
const conn_1 = require("../../conn/conn");
|
|
6
|
-
function NewFlowClient(
|
|
7
|
-
const blueapi = new conn_1.BlueAPIService(flow_pb_1.Flow, "flow",
|
|
6
|
+
function NewFlowClient(opt) {
|
|
7
|
+
const blueapi = new conn_1.BlueAPIService(flow_pb_1.Flow, "flow", opt);
|
|
8
8
|
return blueapi.clientInstance;
|
|
9
9
|
}
|
package/flow/v1/client.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Flow } from "./flow_pb";
|
|
2
2
|
import { BlueAPIService, ConnectOption } from "../../conn/conn";
|
|
3
3
|
|
|
4
|
-
export function NewFlowClient(
|
|
5
|
-
const blueapi = new BlueAPIService(Flow, "flow",
|
|
4
|
+
export function NewFlowClient(opt?: ConnectOption) {
|
|
5
|
+
const blueapi = new BlueAPIService(Flow, "flow", opt);
|
|
6
6
|
return blueapi.clientInstance;
|
|
7
7
|
}
|
package/iam/v1/client.js
CHANGED
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.NewIamClient = NewIamClient;
|
|
4
4
|
const iam_pb_1 = require("./iam_pb");
|
|
5
5
|
const conn_1 = require("../../conn/conn");
|
|
6
|
-
function NewIamClient(
|
|
7
|
-
const blueapi = new conn_1.BlueAPIService(iam_pb_1.Iam, "blue",
|
|
6
|
+
function NewIamClient(opt) {
|
|
7
|
+
const blueapi = new conn_1.BlueAPIService(iam_pb_1.Iam, "blue", opt);
|
|
8
8
|
return blueapi.clientInstance;
|
|
9
9
|
}
|
package/iam/v1/client.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Iam } from "./iam_pb";
|
|
2
2
|
import { BlueAPIService, ConnectOption } from "../../conn/conn";
|
|
3
3
|
|
|
4
|
-
export function NewIamClient(
|
|
5
|
-
const blueapi = new BlueAPIService(Iam, "blue",
|
|
4
|
+
export function NewIamClient(opt?: ConnectOption) {
|
|
5
|
+
const blueapi = new BlueAPIService(Iam, "blue", opt);
|
|
6
6
|
return blueapi.clientInstance;
|
|
7
7
|
}
|
|
8
8
|
|
package/org/v1/client.js
CHANGED
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.NewOrganizationClient = NewOrganizationClient;
|
|
4
4
|
const org_pb_1 = require("./org_pb");
|
|
5
5
|
const conn_1 = require("../../conn/conn");
|
|
6
|
-
function NewOrganizationClient(
|
|
7
|
-
const blueapi = new conn_1.BlueAPIService(org_pb_1.Organization, "blue",
|
|
6
|
+
function NewOrganizationClient(opt) {
|
|
7
|
+
const blueapi = new conn_1.BlueAPIService(org_pb_1.Organization, "blue", opt);
|
|
8
8
|
return blueapi.clientInstance;
|
|
9
9
|
}
|
package/org/v1/client.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Organization } from "./org_pb";
|
|
2
2
|
import { BlueAPIService, ConnectOption } from "../../conn/conn";
|
|
3
3
|
|
|
4
|
-
export function NewOrganizationClient(
|
|
5
|
-
const blueapi = new BlueAPIService(Organization, "blue",
|
|
4
|
+
export function NewOrganizationClient(opt?: ConnectOption) {
|
|
5
|
+
const blueapi = new BlueAPIService(Organization, "blue", opt);
|
|
6
6
|
return blueapi.clientInstance;
|
|
7
7
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alphauspkgs/blue-sdk-ts",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "tsc"
|
|
6
6
|
},
|
|
@@ -10,13 +10,16 @@
|
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@connectrpc/connect": "^2.1.0",
|
|
13
|
-
"@connectrpc/connect-web": "^2.1.0"
|
|
13
|
+
"@connectrpc/connect-web": "^2.1.0",
|
|
14
|
+
"axios": "^1.13.0",
|
|
15
|
+
"connect-devtools": "^1.0.0"
|
|
14
16
|
},
|
|
15
17
|
"repository": {
|
|
16
18
|
"type": "git",
|
|
17
19
|
"url": "git+https://github.com/alphauslabs/blue-sdk-ts.git"
|
|
18
20
|
},
|
|
19
21
|
"devDependencies": {
|
|
22
|
+
"@types/node": "^24.9.1",
|
|
20
23
|
"typescript": "^5.9.2"
|
|
21
24
|
}
|
|
22
25
|
}
|
package/preferences/v1/client.js
CHANGED
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.NewPreferenceClient = NewPreferenceClient;
|
|
4
4
|
const preferences_pb_1 = require("./preferences_pb");
|
|
5
5
|
const conn_1 = require("../../conn/conn");
|
|
6
|
-
function NewPreferenceClient(
|
|
7
|
-
const blueapi = new conn_1.BlueAPIService(preferences_pb_1.Preferences, "blue",
|
|
6
|
+
function NewPreferenceClient(opt) {
|
|
7
|
+
const blueapi = new conn_1.BlueAPIService(preferences_pb_1.Preferences, "blue", opt);
|
|
8
8
|
return blueapi.clientInstance;
|
|
9
9
|
}
|
package/preferences/v1/client.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Preferences } from "./preferences_pb";
|
|
2
2
|
import { BlueAPIService, ConnectOption } from "../../conn/conn";
|
|
3
3
|
|
|
4
|
-
export function NewPreferenceClient(
|
|
5
|
-
const blueapi = new BlueAPIService(Preferences, "blue",
|
|
4
|
+
export function NewPreferenceClient(opt?: ConnectOption) {
|
|
5
|
+
const blueapi = new BlueAPIService(Preferences, "blue", opt);
|
|
6
6
|
return blueapi.clientInstance;
|
|
7
7
|
}
|
|
8
8
|
|
package/pricing/v1/client.js
CHANGED
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.NewPricingClient = NewPricingClient;
|
|
4
4
|
const pricing_pb_1 = require("./pricing_pb");
|
|
5
5
|
const conn_1 = require("../../conn/conn");
|
|
6
|
-
function NewPricingClient(
|
|
7
|
-
const blueapi = new conn_1.BlueAPIService(pricing_pb_1.Pricing, "pricing",
|
|
6
|
+
function NewPricingClient(opt) {
|
|
7
|
+
const blueapi = new conn_1.BlueAPIService(pricing_pb_1.Pricing, "pricing", opt);
|
|
8
8
|
return blueapi.clientInstance;
|
|
9
9
|
}
|
package/pricing/v1/client.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Pricing } from "./pricing_pb";
|
|
2
2
|
import { BlueAPIService, ConnectOption } from "../../conn/conn";
|
|
3
3
|
|
|
4
|
-
export function NewPricingClient(
|
|
5
|
-
const blueapi = new BlueAPIService(Pricing, "pricing",
|
|
4
|
+
export function NewPricingClient(opt?: ConnectOption) {
|
|
5
|
+
const blueapi = new BlueAPIService(Pricing, "pricing", opt);
|
|
6
6
|
return blueapi.clientInstance;
|
|
7
7
|
}
|
package/prism/v1/client.js
CHANGED
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.NewAdminClient = NewAdminClient;
|
|
4
4
|
const prism_pb_1 = require("./prism_pb");
|
|
5
5
|
const conn_1 = require("../../conn/conn");
|
|
6
|
-
function NewAdminClient(
|
|
7
|
-
const blueapi = new conn_1.BlueAPIService(prism_pb_1.Prism, "prism",
|
|
6
|
+
function NewAdminClient(opt) {
|
|
7
|
+
const blueapi = new conn_1.BlueAPIService(prism_pb_1.Prism, "prism", opt);
|
|
8
8
|
return blueapi.clientInstance;
|
|
9
9
|
}
|
package/prism/v1/client.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Prism } from "./prism_pb";
|
|
2
2
|
import { BlueAPIService, ConnectOption } from "../../conn/conn";
|
|
3
3
|
|
|
4
|
-
export function NewAdminClient(
|
|
5
|
-
const blueapi = new BlueAPIService(Prism, "prism",
|
|
4
|
+
export function NewAdminClient(opt?: ConnectOption) {
|
|
5
|
+
const blueapi = new BlueAPIService(Prism, "prism", opt);
|
|
6
6
|
return blueapi.clientInstance;
|
|
7
7
|
}
|
package/prism/v1/prism_pb.ts
CHANGED
|
@@ -1176,6 +1176,8 @@ export const Prism: GenService<{
|
|
|
1176
1176
|
output: typeof ProjectSchema;
|
|
1177
1177
|
},
|
|
1178
1178
|
/**
|
|
1179
|
+
* Creates a new organization.
|
|
1180
|
+
*
|
|
1179
1181
|
* @generated from rpc blueapi.prism.v1.Prism.CreateOrganization
|
|
1180
1182
|
*/
|
|
1181
1183
|
createOrganization: {
|
|
@@ -1184,6 +1186,8 @@ export const Prism: GenService<{
|
|
|
1184
1186
|
output: typeof EmptySchema;
|
|
1185
1187
|
},
|
|
1186
1188
|
/**
|
|
1189
|
+
* Gets information about an organization by ID.
|
|
1190
|
+
*
|
|
1187
1191
|
* @generated from rpc blueapi.prism.v1.Prism.GetOrganization
|
|
1188
1192
|
*/
|
|
1189
1193
|
getOrganization: {
|
package/vortex/v1/client.js
CHANGED
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.NewAdminClient = NewAdminClient;
|
|
4
4
|
const vortex_pb_1 = require("./vortex_pb");
|
|
5
5
|
const conn_1 = require("../../conn/conn");
|
|
6
|
-
function NewAdminClient(
|
|
7
|
-
const blueapi = new conn_1.BlueAPIService(vortex_pb_1.Vortex, "vortex",
|
|
6
|
+
function NewAdminClient(opt) {
|
|
7
|
+
const blueapi = new conn_1.BlueAPIService(vortex_pb_1.Vortex, "vortex", opt);
|
|
8
8
|
return blueapi.clientInstance;
|
|
9
9
|
}
|
package/vortex/v1/client.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Vortex } from "./vortex_pb";
|
|
2
2
|
import { BlueAPIService, ConnectOption } from "../../conn/conn";
|
|
3
3
|
|
|
4
|
-
export function NewAdminClient(
|
|
5
|
-
const blueapi = new BlueAPIService(Vortex, "vortex",
|
|
4
|
+
export function NewAdminClient(opt?: ConnectOption) {
|
|
5
|
+
const blueapi = new BlueAPIService(Vortex, "vortex", opt);
|
|
6
6
|
return blueapi.clientInstance;
|
|
7
|
-
}
|
|
7
|
+
}
|