@alphauspkgs/blue-sdk-ts 1.0.38 → 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/comment_pb.js +2 -1
- package/api/luster/comment_pb.ts +8 -7
- package/api/luster/context_pb.js +72 -2
- package/api/luster/context_pb.ts +104 -18
- package/api/luster/label_pb.js +2 -1
- package/api/luster/label_pb.ts +5 -3
- package/api/luster/space_pb.js +2 -1
- package/api/luster/space_pb.ts +18 -1
- package/billing/v1/billing_pb.js +21 -40
- package/billing/v1/billing_pb.ts +86 -197
- package/cost/v1/cost_pb.js +1 -1
- package/cost/v1/cost_pb.ts +8 -1
- package/gc/v1/gc_pb.js +81 -71
- package/gc/v1/gc_pb.ts +109 -69
- package/luster/v1/luster_pb.js +19 -3
- package/luster/v1/luster_pb.ts +396 -47
- 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/comment_pb.js
CHANGED
|
@@ -5,10 +5,11 @@
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.CommentSchema = exports.file_api_luster_comment = void 0;
|
|
7
7
|
const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
|
|
8
|
+
const field_behavior_pb_1 = require("../../google/api/field_behavior_pb");
|
|
8
9
|
/**
|
|
9
10
|
* Describes the file api/luster/comment.proto.
|
|
10
11
|
*/
|
|
11
|
-
exports.file_api_luster_comment = (0, codegenv2_1.fileDesc)("
|
|
12
|
+
exports.file_api_luster_comment = (0, codegenv2_1.fileDesc)("ChhhcGkvbHVzdGVyL2NvbW1lbnQucHJvdG8SEmJsdWVhcGkuYXBpLmx1c3RlciJ/CgdDb21tZW50EgoKAmlkGAEgASgJEgwKBG5hbWUYAiABKAkSDwoHY29udGVudBgDIAEoCRIVCgd1c2VyX2lkGAQgASgJQgTiQQEDEhgKCmNyZWF0ZWRfYXQYBSABKAlCBOJBAQMSGAoKdXBkYXRlZF9hdBgGIAEoCUIE4kEBA0JoCiBjbG91ZC5hbHBoYXVzLmJsdWVhcGkuYXBpLmx1c3RlckIVQXBpTHVzdGVyQ29tbWVudFByb3RvWi1naXRodWIuY29tL2FscGhhdXNsYWJzL2JsdWUtc2RrLWdvL2FwaS9sdXN0ZXJiBnByb3RvMw", [field_behavior_pb_1.file_google_api_field_behavior]);
|
|
12
13
|
/**
|
|
13
14
|
* Describes the message blueapi.api.luster.Comment.
|
|
14
15
|
* Use `create(CommentSchema)` to create a new message.
|
package/api/luster/comment_pb.ts
CHANGED
|
@@ -4,13 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
6
6
|
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
7
|
+
import { file_google_api_field_behavior } from "../../google/api/field_behavior_pb";
|
|
7
8
|
import type { Message } from "@bufbuild/protobuf";
|
|
8
9
|
|
|
9
10
|
/**
|
|
10
11
|
* Describes the file api/luster/comment.proto.
|
|
11
12
|
*/
|
|
12
13
|
export const file_api_luster_comment: GenFile = /*@__PURE__*/
|
|
13
|
-
fileDesc("
|
|
14
|
+
fileDesc("ChhhcGkvbHVzdGVyL2NvbW1lbnQucHJvdG8SEmJsdWVhcGkuYXBpLmx1c3RlciJ/CgdDb21tZW50EgoKAmlkGAEgASgJEgwKBG5hbWUYAiABKAkSDwoHY29udGVudBgDIAEoCRIVCgd1c2VyX2lkGAQgASgJQgTiQQEDEhgKCmNyZWF0ZWRfYXQYBSABKAlCBOJBAQMSGAoKdXBkYXRlZF9hdBgGIAEoCUIE4kEBA0JoCiBjbG91ZC5hbHBoYXVzLmJsdWVhcGkuYXBpLmx1c3RlckIVQXBpTHVzdGVyQ29tbWVudFByb3RvWi1naXRodWIuY29tL2FscGhhdXNsYWJzL2JsdWUtc2RrLWdvL2FwaS9sdXN0ZXJiBnByb3RvMw", [file_google_api_field_behavior]);
|
|
14
15
|
|
|
15
16
|
/**
|
|
16
17
|
* The message defines the comment
|
|
@@ -40,25 +41,25 @@ export type Comment = Message<"blueapi.api.luster.Comment"> & {
|
|
|
40
41
|
content: string;
|
|
41
42
|
|
|
42
43
|
/**
|
|
43
|
-
* The comment
|
|
44
|
+
* The comment user_id.
|
|
44
45
|
*
|
|
45
|
-
* @generated from field: string
|
|
46
|
+
* @generated from field: string user_id = 4;
|
|
46
47
|
*/
|
|
47
48
|
userId: string;
|
|
48
49
|
|
|
49
50
|
/**
|
|
50
|
-
* The comment
|
|
51
|
+
* The comment created_at.
|
|
51
52
|
* "created_at": "2023-10-27T10:00:00Z"
|
|
52
53
|
*
|
|
53
|
-
* @generated from field: string
|
|
54
|
+
* @generated from field: string created_at = 5;
|
|
54
55
|
*/
|
|
55
56
|
createdAt: string;
|
|
56
57
|
|
|
57
58
|
/**
|
|
58
|
-
* The comment
|
|
59
|
+
* The comment updated_at.
|
|
59
60
|
* "updated_at": "2023-10-27T10:00:00Z"
|
|
60
61
|
*
|
|
61
|
-
* @generated from field: string
|
|
62
|
+
* @generated from field: string updated_at = 6;
|
|
62
63
|
*/
|
|
63
64
|
updatedAt: string;
|
|
64
65
|
};
|
package/api/luster/context_pb.js
CHANGED
|
@@ -3,14 +3,84 @@
|
|
|
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.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
|
+
const field_behavior_pb_1 = require("../../google/api/field_behavior_pb");
|
|
8
9
|
/**
|
|
9
10
|
* Describes the file api/luster/context.proto.
|
|
10
11
|
*/
|
|
11
|
-
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]);
|
|
12
13
|
/**
|
|
13
14
|
* Describes the message blueapi.api.luster.Context.
|
|
14
15
|
* Use `create(ContextSchema)` to create a new message.
|
|
15
16
|
*/
|
|
16
17
|
exports.ContextSchema = (0, codegenv2_1.messageDesc)(exports.file_api_luster_context, 0);
|
|
18
|
+
/**
|
|
19
|
+
* The context type.
|
|
20
|
+
*
|
|
21
|
+
* @generated from enum blueapi.api.luster.ContextType
|
|
22
|
+
*/
|
|
23
|
+
var ContextType;
|
|
24
|
+
(function (ContextType) {
|
|
25
|
+
/**
|
|
26
|
+
* Any type of context.
|
|
27
|
+
*
|
|
28
|
+
* @generated from enum value: ANY = 0;
|
|
29
|
+
*/
|
|
30
|
+
ContextType[ContextType["ANY"] = 0] = "ANY";
|
|
31
|
+
/**
|
|
32
|
+
* Space-related context.
|
|
33
|
+
*
|
|
34
|
+
* @generated from enum value: SPACE = 1;
|
|
35
|
+
*/
|
|
36
|
+
ContextType[ContextType["SPACE"] = 1] = "SPACE";
|
|
37
|
+
/**
|
|
38
|
+
* Account-related context.
|
|
39
|
+
*
|
|
40
|
+
* @generated from enum value: ACCOUNT = 2;
|
|
41
|
+
*/
|
|
42
|
+
ContextType[ContextType["ACCOUNT"] = 2] = "ACCOUNT";
|
|
43
|
+
/**
|
|
44
|
+
* Cost-related context.
|
|
45
|
+
*
|
|
46
|
+
* @generated from enum value: COST = 3;
|
|
47
|
+
*/
|
|
48
|
+
ContextType[ContextType["COST"] = 3] = "COST";
|
|
49
|
+
})(ContextType || (exports.ContextType = ContextType = {}));
|
|
50
|
+
/**
|
|
51
|
+
* Describes the enum blueapi.api.luster.ContextType.
|
|
52
|
+
*/
|
|
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
|
@@ -2,15 +2,16 @@
|
|
|
2
2
|
// @generated from file api/luster/context.proto (package blueapi.api.luster, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
|
|
5
|
-
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
-
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
|
+
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
7
|
+
import { file_google_api_field_behavior } from "../../google/api/field_behavior_pb";
|
|
7
8
|
import type { Message } from "@bufbuild/protobuf";
|
|
8
9
|
|
|
9
10
|
/**
|
|
10
11
|
* Describes the file api/luster/context.proto.
|
|
11
12
|
*/
|
|
12
13
|
export const file_api_luster_context: GenFile = /*@__PURE__*/
|
|
13
|
-
fileDesc("
|
|
14
|
+
fileDesc("ChhhcGkvbHVzdGVyL2NvbnRleHQucHJvdG8SEmJsdWVhcGkuYXBpLmx1c3RlciLgAgoHQ29udGV4dBIKCgJpZBgBIAEoCRIMCgRuYW1lGAIgASgJEg4KBm51bWJlchgDIAEoCRINCgV0aXRsZRgEIAEoCRIPCgdjb250ZW50GAUgASgJEjUKDGNvbnRleHRfdHlwZRgOIAEoDjIfLmJsdWVhcGkuYXBpLmx1c3Rlci5Db250ZXh0VHlwZRIvCgVzdGF0ZRgGIAEoDjIgLmJsdWVhcGkuYXBpLmx1c3Rlci5Db250ZXh0U3RhdGUSDgoGbGFiZWxzGAcgAygJEhEKCWFzc2lnbmVlcxgIIAMoCRIcCg5jb21tZW50c19jb3VudBgJIAEoA0IE4kEBAxIYCgpjcmVhdGVkX2F0GAogASgJQgTiQQEDEhgKCnVwZGF0ZWRfYXQYCyABKAlCBOJBAQMSFwoJY2xvc2VkX2F0GAwgASgJQgTiQQEDEhUKB3VzZXJfaWQYDSABKAlCBOJBAQMqOAoLQ29udGV4dFR5cGUSBwoDQU5ZEAASCQoFU1BBQ0UQARILCgdBQ0NPVU5UEAISCAoEQ09TVBADKjUKDENvbnRleHRTdGF0ZRIICgRPUEVOEAASDwoLSU5fUFJPR1JFU1MQARIKCgZDTE9TRUQQAkJoCiBjbG91ZC5hbHBoYXVzLmJsdWVhcGkuYXBpLmx1c3RlckIVQXBpTHVzdGVyQ29udGV4dFByb3RvWi1naXRodWIuY29tL2FscGhhdXNsYWJzL2JsdWUtc2RrLWdvL2FwaS9sdXN0ZXJiBnByb3RvMw", [file_google_api_field_behavior]);
|
|
14
15
|
|
|
15
16
|
/**
|
|
16
17
|
* The message defines the context
|
|
@@ -34,7 +35,7 @@ export type Context = Message<"blueapi.api.luster.Context"> & {
|
|
|
34
35
|
|
|
35
36
|
/**
|
|
36
37
|
* The context number.
|
|
37
|
-
*
|
|
38
|
+
* Sequential number assigned to the context.
|
|
38
39
|
*
|
|
39
40
|
* @generated from field: string number = 3;
|
|
40
41
|
*/
|
|
@@ -49,19 +50,25 @@ export type Context = Message<"blueapi.api.luster.Context"> & {
|
|
|
49
50
|
|
|
50
51
|
/**
|
|
51
52
|
* The context content.
|
|
52
|
-
*
|
|
53
|
+
* Detailed content or description of the context.
|
|
53
54
|
*
|
|
54
55
|
* @generated from field: string content = 5;
|
|
55
56
|
*/
|
|
56
57
|
content: string;
|
|
57
58
|
|
|
59
|
+
/**
|
|
60
|
+
* The context type.
|
|
61
|
+
*
|
|
62
|
+
* @generated from field: blueapi.api.luster.ContextType context_type = 14;
|
|
63
|
+
*/
|
|
64
|
+
contextType: ContextType;
|
|
65
|
+
|
|
58
66
|
/**
|
|
59
67
|
* The context state.
|
|
60
|
-
* "state": "open"
|
|
61
68
|
*
|
|
62
|
-
* @generated from field:
|
|
69
|
+
* @generated from field: blueapi.api.luster.ContextState state = 6;
|
|
63
70
|
*/
|
|
64
|
-
state:
|
|
71
|
+
state: ContextState;
|
|
65
72
|
|
|
66
73
|
/**
|
|
67
74
|
* The context labels.
|
|
@@ -80,40 +87,41 @@ export type Context = Message<"blueapi.api.luster.Context"> & {
|
|
|
80
87
|
assignees: string[];
|
|
81
88
|
|
|
82
89
|
/**
|
|
83
|
-
* The context
|
|
90
|
+
* The context comments_count.
|
|
84
91
|
* "comments_count": 0
|
|
85
92
|
*
|
|
86
|
-
* @generated from field: int64
|
|
93
|
+
* @generated from field: int64 comments_count = 9;
|
|
87
94
|
*/
|
|
88
95
|
commentsCount: bigint;
|
|
89
96
|
|
|
90
97
|
/**
|
|
91
|
-
* The context
|
|
98
|
+
* The context created_at.
|
|
92
99
|
* "created_at": "2023-10-27T10:00:00Z"
|
|
93
100
|
*
|
|
94
|
-
* @generated from field: string
|
|
101
|
+
* @generated from field: string created_at = 10;
|
|
95
102
|
*/
|
|
96
103
|
createdAt: string;
|
|
97
104
|
|
|
98
105
|
/**
|
|
99
|
-
* The context
|
|
106
|
+
* The context updated_at.
|
|
100
107
|
* "updated_at": "2023-10-27T10:00:00Z"
|
|
101
108
|
*
|
|
102
|
-
* @generated from field: string
|
|
109
|
+
* @generated from field: string updated_at = 11;
|
|
103
110
|
*/
|
|
104
111
|
updatedAt: string;
|
|
105
112
|
|
|
106
113
|
/**
|
|
107
|
-
* The context
|
|
114
|
+
* The context closed_at.
|
|
115
|
+
* "closed_at": "2023-10-27T10:00:00Z"
|
|
108
116
|
*
|
|
109
|
-
* @generated from field: string
|
|
117
|
+
* @generated from field: string closed_at = 12;
|
|
110
118
|
*/
|
|
111
119
|
closedAt: string;
|
|
112
120
|
|
|
113
121
|
/**
|
|
114
|
-
* The context
|
|
122
|
+
* The context user_id.
|
|
115
123
|
*
|
|
116
|
-
* @generated from field: string
|
|
124
|
+
* @generated from field: string user_id = 13;
|
|
117
125
|
*/
|
|
118
126
|
userId: string;
|
|
119
127
|
};
|
|
@@ -125,3 +133,81 @@ export type Context = Message<"blueapi.api.luster.Context"> & {
|
|
|
125
133
|
export const ContextSchema: GenMessage<Context> = /*@__PURE__*/
|
|
126
134
|
messageDesc(file_api_luster_context, 0);
|
|
127
135
|
|
|
136
|
+
/**
|
|
137
|
+
* The context type.
|
|
138
|
+
*
|
|
139
|
+
* @generated from enum blueapi.api.luster.ContextType
|
|
140
|
+
*/
|
|
141
|
+
export enum ContextType {
|
|
142
|
+
/**
|
|
143
|
+
* Any type of context.
|
|
144
|
+
*
|
|
145
|
+
* @generated from enum value: ANY = 0;
|
|
146
|
+
*/
|
|
147
|
+
ANY = 0,
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* Space-related context.
|
|
151
|
+
*
|
|
152
|
+
* @generated from enum value: SPACE = 1;
|
|
153
|
+
*/
|
|
154
|
+
SPACE = 1,
|
|
155
|
+
|
|
156
|
+
/**
|
|
157
|
+
* Account-related context.
|
|
158
|
+
*
|
|
159
|
+
* @generated from enum value: ACCOUNT = 2;
|
|
160
|
+
*/
|
|
161
|
+
ACCOUNT = 2,
|
|
162
|
+
|
|
163
|
+
/**
|
|
164
|
+
* Cost-related context.
|
|
165
|
+
*
|
|
166
|
+
* @generated from enum value: COST = 3;
|
|
167
|
+
*/
|
|
168
|
+
COST = 3,
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
/**
|
|
172
|
+
* Describes the enum blueapi.api.luster.ContextType.
|
|
173
|
+
*/
|
|
174
|
+
export const ContextTypeSchema: GenEnum<ContextType> = /*@__PURE__*/
|
|
175
|
+
enumDesc(file_api_luster_context, 0);
|
|
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
|
+
|
package/api/luster/label_pb.js
CHANGED
|
@@ -5,10 +5,11 @@
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.LabelSchema = exports.file_api_luster_label = void 0;
|
|
7
7
|
const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
|
|
8
|
+
const field_behavior_pb_1 = require("../../google/api/field_behavior_pb");
|
|
8
9
|
/**
|
|
9
10
|
* Describes the file api/luster/label.proto.
|
|
10
11
|
*/
|
|
11
|
-
exports.file_api_luster_label = (0, codegenv2_1.fileDesc)("
|
|
12
|
+
exports.file_api_luster_label = (0, codegenv2_1.fileDesc)("ChZhcGkvbHVzdGVyL2xhYmVsLnByb3RvEhJibHVlYXBpLmFwaS5sdXN0ZXIieQoFTGFiZWwSCgoCaWQYASABKAkSDAoEbmFtZRgCIAEoCRINCgVjb2xvchgDIAEoCRITCgtkZXNjcmlwdGlvbhgEIAEoCRIYCgpjcmVhdGVkX2F0GAUgASgJQgTiQQEDEhgKCnVwZGF0ZWRfYXQYBiABKAlCBOJBAQNCZgogY2xvdWQuYWxwaGF1cy5ibHVlYXBpLmFwaS5sdXN0ZXJCE0FwaUx1c3RlckxhYmVsUHJvdG9aLWdpdGh1Yi5jb20vYWxwaGF1c2xhYnMvYmx1ZS1zZGstZ28vYXBpL2x1c3RlcmIGcHJvdG8z", [field_behavior_pb_1.file_google_api_field_behavior]);
|
|
12
13
|
/**
|
|
13
14
|
* Describes the message blueapi.api.luster.Label.
|
|
14
15
|
* Use `create(LabelSchema)` to create a new message.
|
package/api/luster/label_pb.ts
CHANGED
|
@@ -4,13 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
6
6
|
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
7
|
+
import { file_google_api_field_behavior } from "../../google/api/field_behavior_pb";
|
|
7
8
|
import type { Message } from "@bufbuild/protobuf";
|
|
8
9
|
|
|
9
10
|
/**
|
|
10
11
|
* Describes the file api/luster/label.proto.
|
|
11
12
|
*/
|
|
12
13
|
export const file_api_luster_label: GenFile = /*@__PURE__*/
|
|
13
|
-
fileDesc("
|
|
14
|
+
fileDesc("ChZhcGkvbHVzdGVyL2xhYmVsLnByb3RvEhJibHVlYXBpLmFwaS5sdXN0ZXIieQoFTGFiZWwSCgoCaWQYASABKAkSDAoEbmFtZRgCIAEoCRINCgVjb2xvchgDIAEoCRITCgtkZXNjcmlwdGlvbhgEIAEoCRIYCgpjcmVhdGVkX2F0GAUgASgJQgTiQQEDEhgKCnVwZGF0ZWRfYXQYBiABKAlCBOJBAQNCZgogY2xvdWQuYWxwaGF1cy5ibHVlYXBpLmFwaS5sdXN0ZXJCE0FwaUx1c3RlckxhYmVsUHJvdG9aLWdpdGh1Yi5jb20vYWxwaGF1c2xhYnMvYmx1ZS1zZGstZ28vYXBpL2x1c3RlcmIGcHJvdG8z", [file_google_api_field_behavior]);
|
|
14
15
|
|
|
15
16
|
/**
|
|
16
17
|
* The message defines the label
|
|
@@ -34,6 +35,7 @@ export type Label = Message<"blueapi.api.luster.Label"> & {
|
|
|
34
35
|
|
|
35
36
|
/**
|
|
36
37
|
* The label color.
|
|
38
|
+
* format: HEX color code ( #FF0000 ).
|
|
37
39
|
*
|
|
38
40
|
* @generated from field: string color = 3;
|
|
39
41
|
*/
|
|
@@ -50,7 +52,7 @@ export type Label = Message<"blueapi.api.luster.Label"> & {
|
|
|
50
52
|
* The label createdAt.
|
|
51
53
|
* "created_at": "2023-10-27T10:00:00Z"
|
|
52
54
|
*
|
|
53
|
-
* @generated from field: string
|
|
55
|
+
* @generated from field: string created_at = 5;
|
|
54
56
|
*/
|
|
55
57
|
createdAt: string;
|
|
56
58
|
|
|
@@ -58,7 +60,7 @@ export type Label = Message<"blueapi.api.luster.Label"> & {
|
|
|
58
60
|
* The label updatedAt.
|
|
59
61
|
* "updated_at": "2023-10-27T10:00:00Z"
|
|
60
62
|
*
|
|
61
|
-
* @generated from field: string
|
|
63
|
+
* @generated from field: string updated_at = 6;
|
|
62
64
|
*/
|
|
63
65
|
updatedAt: string;
|
|
64
66
|
};
|
package/api/luster/space_pb.js
CHANGED
|
@@ -5,10 +5,11 @@
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.SpaceSchema = exports.file_api_luster_space = void 0;
|
|
7
7
|
const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
|
|
8
|
+
const field_behavior_pb_1 = require("../../google/api/field_behavior_pb");
|
|
8
9
|
/**
|
|
9
10
|
* Describes the file api/luster/space.proto.
|
|
10
11
|
*/
|
|
11
|
-
exports.file_api_luster_space = (0, codegenv2_1.fileDesc)("
|
|
12
|
+
exports.file_api_luster_space = (0, codegenv2_1.fileDesc)("ChZhcGkvbHVzdGVyL3NwYWNlLnByb3RvEhJibHVlYXBpLmFwaS5sdXN0ZXIiewoFU3BhY2USCgoCaWQYASABKAkSDAoEbmFtZRgCIAEoCRITCgtkZXNjcmlwdGlvbhgDIAEoCRIPCgdtZW1iZXJzGAQgAygJEhgKCmNyZWF0ZWRfYXQYBSABKAlCBOJBAQMSGAoKdXBkYXRlZF9hdBgGIAEoCUIE4kEBA0JmCiBjbG91ZC5hbHBoYXVzLmJsdWVhcGkuYXBpLmx1c3RlckITQXBpTHVzdGVyU3BhY2VQcm90b1otZ2l0aHViLmNvbS9hbHBoYXVzbGFicy9ibHVlLXNkay1nby9hcGkvbHVzdGVyYgZwcm90bzM", [field_behavior_pb_1.file_google_api_field_behavior]);
|
|
12
13
|
/**
|
|
13
14
|
* Describes the message blueapi.api.luster.Space.
|
|
14
15
|
* Use `create(SpaceSchema)` to create a new message.
|
package/api/luster/space_pb.ts
CHANGED
|
@@ -4,13 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
6
6
|
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
7
|
+
import { file_google_api_field_behavior } from "../../google/api/field_behavior_pb";
|
|
7
8
|
import type { Message } from "@bufbuild/protobuf";
|
|
8
9
|
|
|
9
10
|
/**
|
|
10
11
|
* Describes the file api/luster/space.proto.
|
|
11
12
|
*/
|
|
12
13
|
export const file_api_luster_space: GenFile = /*@__PURE__*/
|
|
13
|
-
fileDesc("
|
|
14
|
+
fileDesc("ChZhcGkvbHVzdGVyL3NwYWNlLnByb3RvEhJibHVlYXBpLmFwaS5sdXN0ZXIiewoFU3BhY2USCgoCaWQYASABKAkSDAoEbmFtZRgCIAEoCRITCgtkZXNjcmlwdGlvbhgDIAEoCRIPCgdtZW1iZXJzGAQgAygJEhgKCmNyZWF0ZWRfYXQYBSABKAlCBOJBAQMSGAoKdXBkYXRlZF9hdBgGIAEoCUIE4kEBA0JmCiBjbG91ZC5hbHBoYXVzLmJsdWVhcGkuYXBpLmx1c3RlckITQXBpTHVzdGVyU3BhY2VQcm90b1otZ2l0aHViLmNvbS9hbHBoYXVzbGFicy9ibHVlLXNkay1nby9hcGkvbHVzdGVyYgZwcm90bzM", [file_google_api_field_behavior]);
|
|
14
15
|
|
|
15
16
|
/**
|
|
16
17
|
* The message defines the space
|
|
@@ -45,6 +46,22 @@ export type Space = Message<"blueapi.api.luster.Space"> & {
|
|
|
45
46
|
* @generated from field: repeated string members = 4;
|
|
46
47
|
*/
|
|
47
48
|
members: string[];
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* The space created_at.
|
|
52
|
+
* "created_at": "2023-10-27T10:00:00Z"
|
|
53
|
+
*
|
|
54
|
+
* @generated from field: string created_at = 5;
|
|
55
|
+
*/
|
|
56
|
+
createdAt: string;
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* The space updated_at.
|
|
60
|
+
* "updated_at": "2023-10-27T10:00:00Z"
|
|
61
|
+
*
|
|
62
|
+
* @generated from field: string updated_at = 6;
|
|
63
|
+
*/
|
|
64
|
+
updatedAt: string;
|
|
48
65
|
};
|
|
49
66
|
|
|
50
67
|
/**
|