@alphauspkgs/blue-sdk-ts 1.0.39 → 1.0.40
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/api/cover/role_pb.js +2 -7
- package/api/cover/role_pb.ts +5 -37
- package/api/luster/context_pb.js +39 -6
- package/api/luster/context_pb.ts +46 -10
- package/api/luster/label_pb.ts +1 -0
- package/billing/v1/billing_pb.js +21 -40
- package/billing/v1/billing_pb.ts +65 -196
- package/cost/v1/cost_pb.js +1 -1
- package/cost/v1/cost_pb.ts +8 -1
- package/luster/v1/luster_pb.js +18 -3
- package/luster/v1/luster_pb.ts +216 -27
- package/package.json +1 -1
- package/protos/entity_pb.js +1 -1
- package/protos/entity_pb.ts +1 -1
- package/protos/message_pb.js +1 -1
- package/protos/message_pb.ts +1 -1
- package/protos/operation_pb.js +1 -1
- package/protos/operation_pb.ts +1 -1
package/api/cover/role_pb.js
CHANGED
|
@@ -3,19 +3,14 @@
|
|
|
3
3
|
// @generated from file api/cover/role.proto (package blueapi.api.cover, syntax proto3)
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.
|
|
6
|
+
exports.RoleSchema = exports.file_api_cover_role = void 0;
|
|
7
7
|
const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
|
|
8
8
|
/**
|
|
9
9
|
* Describes the file api/cover/role.proto.
|
|
10
10
|
*/
|
|
11
|
-
exports.file_api_cover_role = (0, codegenv2_1.fileDesc)("
|
|
11
|
+
exports.file_api_cover_role = (0, codegenv2_1.fileDesc)("ChRhcGkvY292ZXIvcm9sZS5wcm90bxIRYmx1ZWFwaS5hcGkuY292ZXIiTQoEUm9sZRIKCgJpZBgBIAEoCRIMCgRuYW1lGAIgASgJEhYKDmNvc3Rncm91cHNfaWRzGAMgAygJEhMKC3Blcm1pc3Npb25zGAQgAygJQl0KH2Nsb3VkLmFscGhhdXMuYmx1ZWFwaS5hcGkuY292ZXJCDEFwaVJvbGVQcm90b1osZ2l0aHViLmNvbS9hbHBoYXVzbGFicy9ibHVlLXNkay1nby9hcGkvY292ZXJiBnByb3RvMw");
|
|
12
12
|
/**
|
|
13
13
|
* Describes the message blueapi.api.cover.Role.
|
|
14
14
|
* Use `create(RoleSchema)` to create a new message.
|
|
15
15
|
*/
|
|
16
16
|
exports.RoleSchema = (0, codegenv2_1.messageDesc)(exports.file_api_cover_role, 0);
|
|
17
|
-
/**
|
|
18
|
-
* Describes the message blueapi.api.cover.Policy.
|
|
19
|
-
* Use `create(PolicySchema)` to create a new message.
|
|
20
|
-
*/
|
|
21
|
-
exports.PolicySchema = (0, codegenv2_1.messageDesc)(exports.file_api_cover_role, 1);
|
package/api/cover/role_pb.ts
CHANGED
|
@@ -10,7 +10,7 @@ import type { Message } from "@bufbuild/protobuf";
|
|
|
10
10
|
* Describes the file api/cover/role.proto.
|
|
11
11
|
*/
|
|
12
12
|
export const file_api_cover_role: GenFile = /*@__PURE__*/
|
|
13
|
-
fileDesc("
|
|
13
|
+
fileDesc("ChRhcGkvY292ZXIvcm9sZS5wcm90bxIRYmx1ZWFwaS5hcGkuY292ZXIiTQoEUm9sZRIKCgJpZBgBIAEoCRIMCgRuYW1lGAIgASgJEhYKDmNvc3Rncm91cHNfaWRzGAMgAygJEhMKC3Blcm1pc3Npb25zGAQgAygJQl0KH2Nsb3VkLmFscGhhdXMuYmx1ZWFwaS5hcGkuY292ZXJCDEFwaVJvbGVQcm90b1osZ2l0aHViLmNvbS9hbHBoYXVzbGFicy9ibHVlLXNkay1nby9hcGkvY292ZXJiBnByb3RvMw");
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* @generated from message blueapi.api.cover.Role
|
|
@@ -27,14 +27,14 @@ export type Role = Message<"blueapi.api.cover.Role"> & {
|
|
|
27
27
|
name: string;
|
|
28
28
|
|
|
29
29
|
/**
|
|
30
|
-
* @generated from field: repeated
|
|
30
|
+
* @generated from field: repeated string costgroups_ids = 3;
|
|
31
31
|
*/
|
|
32
|
-
|
|
32
|
+
costgroupsIds: string[];
|
|
33
33
|
|
|
34
34
|
/**
|
|
35
|
-
* @generated from field: repeated string
|
|
35
|
+
* @generated from field: repeated string permissions = 4;
|
|
36
36
|
*/
|
|
37
|
-
|
|
37
|
+
permissions: string[];
|
|
38
38
|
};
|
|
39
39
|
|
|
40
40
|
/**
|
|
@@ -44,35 +44,3 @@ export type Role = Message<"blueapi.api.cover.Role"> & {
|
|
|
44
44
|
export const RoleSchema: GenMessage<Role> = /*@__PURE__*/
|
|
45
45
|
messageDesc(file_api_cover_role, 0);
|
|
46
46
|
|
|
47
|
-
/**
|
|
48
|
-
* @generated from message blueapi.api.cover.Policy
|
|
49
|
-
*/
|
|
50
|
-
export type Policy = Message<"blueapi.api.cover.Policy"> & {
|
|
51
|
-
/**
|
|
52
|
-
* @generated from field: string id = 1;
|
|
53
|
-
*/
|
|
54
|
-
id: string;
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* @generated from field: string name = 2;
|
|
58
|
-
*/
|
|
59
|
-
name: string;
|
|
60
|
-
|
|
61
|
-
/**
|
|
62
|
-
* @generated from field: optional string description = 3;
|
|
63
|
-
*/
|
|
64
|
-
description?: string;
|
|
65
|
-
|
|
66
|
-
/**
|
|
67
|
-
* @generated from field: repeated string permissions = 4;
|
|
68
|
-
*/
|
|
69
|
-
permissions: string[];
|
|
70
|
-
};
|
|
71
|
-
|
|
72
|
-
/**
|
|
73
|
-
* Describes the message blueapi.api.cover.Policy.
|
|
74
|
-
* Use `create(PolicySchema)` to create a new message.
|
|
75
|
-
*/
|
|
76
|
-
export const PolicySchema: GenMessage<Policy> = /*@__PURE__*/
|
|
77
|
-
messageDesc(file_api_cover_role, 1);
|
|
78
|
-
|
package/api/luster/context_pb.js
CHANGED
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
// @generated from file api/luster/context.proto (package blueapi.api.luster, syntax proto3)
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.ContextTypeSchema = exports.ContextType = exports.ContextSchema = exports.file_api_luster_context = void 0;
|
|
6
|
+
exports.ContextStateSchema = exports.ContextState = exports.ContextTypeSchema = exports.ContextType = exports.ContextSchema = exports.file_api_luster_context = void 0;
|
|
7
7
|
const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
|
|
8
8
|
const field_behavior_pb_1 = require("../../google/api/field_behavior_pb");
|
|
9
9
|
/**
|
|
10
10
|
* Describes the file api/luster/context.proto.
|
|
11
11
|
*/
|
|
12
|
-
exports.file_api_luster_context = (0, codegenv2_1.fileDesc)("
|
|
12
|
+
exports.file_api_luster_context = (0, codegenv2_1.fileDesc)("ChhhcGkvbHVzdGVyL2NvbnRleHQucHJvdG8SEmJsdWVhcGkuYXBpLmx1c3RlciLgAgoHQ29udGV4dBIKCgJpZBgBIAEoCRIMCgRuYW1lGAIgASgJEg4KBm51bWJlchgDIAEoCRINCgV0aXRsZRgEIAEoCRIPCgdjb250ZW50GAUgASgJEjUKDGNvbnRleHRfdHlwZRgOIAEoDjIfLmJsdWVhcGkuYXBpLmx1c3Rlci5Db250ZXh0VHlwZRIvCgVzdGF0ZRgGIAEoDjIgLmJsdWVhcGkuYXBpLmx1c3Rlci5Db250ZXh0U3RhdGUSDgoGbGFiZWxzGAcgAygJEhEKCWFzc2lnbmVlcxgIIAMoCRIcCg5jb21tZW50c19jb3VudBgJIAEoA0IE4kEBAxIYCgpjcmVhdGVkX2F0GAogASgJQgTiQQEDEhgKCnVwZGF0ZWRfYXQYCyABKAlCBOJBAQMSFwoJY2xvc2VkX2F0GAwgASgJQgTiQQEDEhUKB3VzZXJfaWQYDSABKAlCBOJBAQMqOAoLQ29udGV4dFR5cGUSBwoDQU5ZEAASCQoFU1BBQ0UQARILCgdBQ0NPVU5UEAISCAoEQ09TVBADKjUKDENvbnRleHRTdGF0ZRIICgRPUEVOEAASDwoLSU5fUFJPR1JFU1MQARIKCgZDTE9TRUQQAkJoCiBjbG91ZC5hbHBoYXVzLmJsdWVhcGkuYXBpLmx1c3RlckIVQXBpTHVzdGVyQ29udGV4dFByb3RvWi1naXRodWIuY29tL2FscGhhdXNsYWJzL2JsdWUtc2RrLWdvL2FwaS9sdXN0ZXJiBnByb3RvMw", [field_behavior_pb_1.file_google_api_field_behavior]);
|
|
13
13
|
/**
|
|
14
14
|
* Describes the message blueapi.api.luster.Context.
|
|
15
15
|
* Use `create(ContextSchema)` to create a new message.
|
|
@@ -23,25 +23,25 @@ exports.ContextSchema = (0, codegenv2_1.messageDesc)(exports.file_api_luster_con
|
|
|
23
23
|
var ContextType;
|
|
24
24
|
(function (ContextType) {
|
|
25
25
|
/**
|
|
26
|
-
*
|
|
26
|
+
* Any type of context.
|
|
27
27
|
*
|
|
28
28
|
* @generated from enum value: ANY = 0;
|
|
29
29
|
*/
|
|
30
30
|
ContextType[ContextType["ANY"] = 0] = "ANY";
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
32
|
+
* Space-related context.
|
|
33
33
|
*
|
|
34
34
|
* @generated from enum value: SPACE = 1;
|
|
35
35
|
*/
|
|
36
36
|
ContextType[ContextType["SPACE"] = 1] = "SPACE";
|
|
37
37
|
/**
|
|
38
|
-
*
|
|
38
|
+
* Account-related context.
|
|
39
39
|
*
|
|
40
40
|
* @generated from enum value: ACCOUNT = 2;
|
|
41
41
|
*/
|
|
42
42
|
ContextType[ContextType["ACCOUNT"] = 2] = "ACCOUNT";
|
|
43
43
|
/**
|
|
44
|
-
*
|
|
44
|
+
* Cost-related context.
|
|
45
45
|
*
|
|
46
46
|
* @generated from enum value: COST = 3;
|
|
47
47
|
*/
|
|
@@ -51,3 +51,36 @@ var ContextType;
|
|
|
51
51
|
* Describes the enum blueapi.api.luster.ContextType.
|
|
52
52
|
*/
|
|
53
53
|
exports.ContextTypeSchema = (0, codegenv2_1.enumDesc)(exports.file_api_luster_context, 0);
|
|
54
|
+
/**
|
|
55
|
+
* The context state.
|
|
56
|
+
*
|
|
57
|
+
* @generated from enum blueapi.api.luster.ContextState
|
|
58
|
+
*/
|
|
59
|
+
var ContextState;
|
|
60
|
+
(function (ContextState) {
|
|
61
|
+
/**
|
|
62
|
+
* open
|
|
63
|
+
* Initial state when context is created.
|
|
64
|
+
*
|
|
65
|
+
* @generated from enum value: OPEN = 0;
|
|
66
|
+
*/
|
|
67
|
+
ContextState[ContextState["OPEN"] = 0] = "OPEN";
|
|
68
|
+
/**
|
|
69
|
+
* in progress
|
|
70
|
+
* Indicates work is in progress.
|
|
71
|
+
*
|
|
72
|
+
* @generated from enum value: IN_PROGRESS = 1;
|
|
73
|
+
*/
|
|
74
|
+
ContextState[ContextState["IN_PROGRESS"] = 1] = "IN_PROGRESS";
|
|
75
|
+
/**
|
|
76
|
+
* closed
|
|
77
|
+
* Final state indicating work is completed.
|
|
78
|
+
*
|
|
79
|
+
* @generated from enum value: CLOSED = 2;
|
|
80
|
+
*/
|
|
81
|
+
ContextState[ContextState["CLOSED"] = 2] = "CLOSED";
|
|
82
|
+
})(ContextState || (exports.ContextState = ContextState = {}));
|
|
83
|
+
/**
|
|
84
|
+
* Describes the enum blueapi.api.luster.ContextState.
|
|
85
|
+
*/
|
|
86
|
+
exports.ContextStateSchema = (0, codegenv2_1.enumDesc)(exports.file_api_luster_context, 1);
|
package/api/luster/context_pb.ts
CHANGED
|
@@ -11,7 +11,7 @@ import type { Message } from "@bufbuild/protobuf";
|
|
|
11
11
|
* Describes the file api/luster/context.proto.
|
|
12
12
|
*/
|
|
13
13
|
export const file_api_luster_context: GenFile = /*@__PURE__*/
|
|
14
|
-
fileDesc("
|
|
14
|
+
fileDesc("ChhhcGkvbHVzdGVyL2NvbnRleHQucHJvdG8SEmJsdWVhcGkuYXBpLmx1c3RlciLgAgoHQ29udGV4dBIKCgJpZBgBIAEoCRIMCgRuYW1lGAIgASgJEg4KBm51bWJlchgDIAEoCRINCgV0aXRsZRgEIAEoCRIPCgdjb250ZW50GAUgASgJEjUKDGNvbnRleHRfdHlwZRgOIAEoDjIfLmJsdWVhcGkuYXBpLmx1c3Rlci5Db250ZXh0VHlwZRIvCgVzdGF0ZRgGIAEoDjIgLmJsdWVhcGkuYXBpLmx1c3Rlci5Db250ZXh0U3RhdGUSDgoGbGFiZWxzGAcgAygJEhEKCWFzc2lnbmVlcxgIIAMoCRIcCg5jb21tZW50c19jb3VudBgJIAEoA0IE4kEBAxIYCgpjcmVhdGVkX2F0GAogASgJQgTiQQEDEhgKCnVwZGF0ZWRfYXQYCyABKAlCBOJBAQMSFwoJY2xvc2VkX2F0GAwgASgJQgTiQQEDEhUKB3VzZXJfaWQYDSABKAlCBOJBAQMqOAoLQ29udGV4dFR5cGUSBwoDQU5ZEAASCQoFU1BBQ0UQARILCgdBQ0NPVU5UEAISCAoEQ09TVBADKjUKDENvbnRleHRTdGF0ZRIICgRPUEVOEAASDwoLSU5fUFJPR1JFU1MQARIKCgZDTE9TRUQQAkJoCiBjbG91ZC5hbHBoYXVzLmJsdWVhcGkuYXBpLmx1c3RlckIVQXBpTHVzdGVyQ29udGV4dFByb3RvWi1naXRodWIuY29tL2FscGhhdXNsYWJzL2JsdWUtc2RrLWdvL2FwaS9sdXN0ZXJiBnByb3RvMw", [file_google_api_field_behavior]);
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
17
|
* The message defines the context
|
|
@@ -35,7 +35,7 @@ export type Context = Message<"blueapi.api.luster.Context"> & {
|
|
|
35
35
|
|
|
36
36
|
/**
|
|
37
37
|
* The context number.
|
|
38
|
-
*
|
|
38
|
+
* Sequential number assigned to the context.
|
|
39
39
|
*
|
|
40
40
|
* @generated from field: string number = 3;
|
|
41
41
|
*/
|
|
@@ -50,7 +50,7 @@ export type Context = Message<"blueapi.api.luster.Context"> & {
|
|
|
50
50
|
|
|
51
51
|
/**
|
|
52
52
|
* The context content.
|
|
53
|
-
*
|
|
53
|
+
* Detailed content or description of the context.
|
|
54
54
|
*
|
|
55
55
|
* @generated from field: string content = 5;
|
|
56
56
|
*/
|
|
@@ -65,11 +65,10 @@ export type Context = Message<"blueapi.api.luster.Context"> & {
|
|
|
65
65
|
|
|
66
66
|
/**
|
|
67
67
|
* The context state.
|
|
68
|
-
* "state": "open", "pending", "review", "close"
|
|
69
68
|
*
|
|
70
|
-
* @generated from field:
|
|
69
|
+
* @generated from field: blueapi.api.luster.ContextState state = 6;
|
|
71
70
|
*/
|
|
72
|
-
state:
|
|
71
|
+
state: ContextState;
|
|
73
72
|
|
|
74
73
|
/**
|
|
75
74
|
* The context labels.
|
|
@@ -141,28 +140,28 @@ export const ContextSchema: GenMessage<Context> = /*@__PURE__*/
|
|
|
141
140
|
*/
|
|
142
141
|
export enum ContextType {
|
|
143
142
|
/**
|
|
144
|
-
*
|
|
143
|
+
* Any type of context.
|
|
145
144
|
*
|
|
146
145
|
* @generated from enum value: ANY = 0;
|
|
147
146
|
*/
|
|
148
147
|
ANY = 0,
|
|
149
148
|
|
|
150
149
|
/**
|
|
151
|
-
*
|
|
150
|
+
* Space-related context.
|
|
152
151
|
*
|
|
153
152
|
* @generated from enum value: SPACE = 1;
|
|
154
153
|
*/
|
|
155
154
|
SPACE = 1,
|
|
156
155
|
|
|
157
156
|
/**
|
|
158
|
-
*
|
|
157
|
+
* Account-related context.
|
|
159
158
|
*
|
|
160
159
|
* @generated from enum value: ACCOUNT = 2;
|
|
161
160
|
*/
|
|
162
161
|
ACCOUNT = 2,
|
|
163
162
|
|
|
164
163
|
/**
|
|
165
|
-
*
|
|
164
|
+
* Cost-related context.
|
|
166
165
|
*
|
|
167
166
|
* @generated from enum value: COST = 3;
|
|
168
167
|
*/
|
|
@@ -175,3 +174,40 @@ export enum ContextType {
|
|
|
175
174
|
export const ContextTypeSchema: GenEnum<ContextType> = /*@__PURE__*/
|
|
176
175
|
enumDesc(file_api_luster_context, 0);
|
|
177
176
|
|
|
177
|
+
/**
|
|
178
|
+
* The context state.
|
|
179
|
+
*
|
|
180
|
+
* @generated from enum blueapi.api.luster.ContextState
|
|
181
|
+
*/
|
|
182
|
+
export enum ContextState {
|
|
183
|
+
/**
|
|
184
|
+
* open
|
|
185
|
+
* Initial state when context is created.
|
|
186
|
+
*
|
|
187
|
+
* @generated from enum value: OPEN = 0;
|
|
188
|
+
*/
|
|
189
|
+
OPEN = 0,
|
|
190
|
+
|
|
191
|
+
/**
|
|
192
|
+
* in progress
|
|
193
|
+
* Indicates work is in progress.
|
|
194
|
+
*
|
|
195
|
+
* @generated from enum value: IN_PROGRESS = 1;
|
|
196
|
+
*/
|
|
197
|
+
IN_PROGRESS = 1,
|
|
198
|
+
|
|
199
|
+
/**
|
|
200
|
+
* closed
|
|
201
|
+
* Final state indicating work is completed.
|
|
202
|
+
*
|
|
203
|
+
* @generated from enum value: CLOSED = 2;
|
|
204
|
+
*/
|
|
205
|
+
CLOSED = 2,
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
/**
|
|
209
|
+
* Describes the enum blueapi.api.luster.ContextState.
|
|
210
|
+
*/
|
|
211
|
+
export const ContextStateSchema: GenEnum<ContextState> = /*@__PURE__*/
|
|
212
|
+
enumDesc(file_api_luster_context, 1);
|
|
213
|
+
|