@alphauspkgs/blue-sdk-ts 1.0.2 → 1.0.4
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 +58 -16
- package/admin/v1/client.js +2 -2
- package/admin/v1/client.ts +2 -2
- package/api/cover/budget_pb.js +1 -1
- package/api/cover/budget_pb.ts +8 -1
- package/api/cover/costforecast_pb.js +22 -2
- package/api/cover/costforecast_pb.ts +140 -1
- package/billing/v1/billing_pb.js +22 -2
- package/billing/v1/billing_pb.ts +243 -2
- package/billing/v1/client.js +2 -2
- package/billing/v1/client.ts +2 -2
- package/conn/conn.js +88 -9
- package/conn/conn.ts +105 -12
- package/cost/v1/client.js +2 -2
- package/cost/v1/client.ts +2 -2
- package/cost/v1/cost_pb.js +139 -134
- package/cost/v1/cost_pb.ts +280 -132
- 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 +3 -1
- 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/cover/v1/client.js
CHANGED
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.NewCoverClient = NewCoverClient;
|
|
4
4
|
const cover_pb_1 = require("./cover_pb");
|
|
5
5
|
const conn_1 = require("../../conn/conn");
|
|
6
|
-
function NewCoverClient(
|
|
7
|
-
const blueapi = new conn_1.BlueAPIService(cover_pb_1.Cover, "cover",
|
|
6
|
+
function NewCoverClient(opt) {
|
|
7
|
+
const blueapi = new conn_1.BlueAPIService(cover_pb_1.Cover, "cover", opt);
|
|
8
8
|
return blueapi.clientInstance;
|
|
9
9
|
}
|
package/cover/v1/client.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Cover } from
|
|
2
|
-
import { BlueAPIService, ConnectOption } from
|
|
1
|
+
import { Cover } from "./cover_pb";
|
|
2
|
+
import { BlueAPIService, ConnectOption } from "../../conn/conn";
|
|
3
3
|
|
|
4
|
-
export function NewCoverClient(
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}
|
|
4
|
+
export function NewCoverClient(opt?: ConnectOption) {
|
|
5
|
+
const blueapi = new BlueAPIService(Cover, "cover", opt);
|
|
6
|
+
return blueapi.clientInstance;
|
|
7
|
+
}
|