@metal-stack/api 0.0.60 → 0.0.62
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/js/buf/validate/validate_pb.d.ts +9 -9
- package/js/buf/validate/validate_pb.ts +10 -10
- package/js/metalstack/admin/v2/audit_pb.d.ts +3 -3
- package/js/metalstack/admin/v2/audit_pb.js +1 -1
- package/js/metalstack/admin/v2/audit_pb.ts +4 -4
- package/js/metalstack/admin/v2/component_pb.d.ts +3 -3
- package/js/metalstack/admin/v2/component_pb.js +1 -1
- package/js/metalstack/admin/v2/component_pb.ts +4 -4
- package/js/metalstack/admin/v2/filesystem_pb.d.ts +8 -8
- package/js/metalstack/admin/v2/filesystem_pb.js +1 -1
- package/js/metalstack/admin/v2/filesystem_pb.ts +9 -9
- package/js/metalstack/admin/v2/image_pb.d.ts +10 -10
- package/js/metalstack/admin/v2/image_pb.js +1 -1
- package/js/metalstack/admin/v2/image_pb.ts +11 -11
- package/js/metalstack/admin/v2/ip_pb.d.ts +1 -1
- package/js/metalstack/admin/v2/ip_pb.js +1 -1
- package/js/metalstack/admin/v2/ip_pb.ts +2 -2
- package/js/metalstack/admin/v2/machine_pb.d.ts +5 -5
- package/js/metalstack/admin/v2/machine_pb.js +1 -1
- package/js/metalstack/admin/v2/machine_pb.ts +6 -6
- package/js/metalstack/admin/v2/network_pb.d.ts +26 -26
- package/js/metalstack/admin/v2/network_pb.js +2 -2
- package/js/metalstack/admin/v2/network_pb.ts +28 -28
- package/js/metalstack/admin/v2/partition_pb.d.ts +11 -11
- package/js/metalstack/admin/v2/partition_pb.js +1 -1
- package/js/metalstack/admin/v2/partition_pb.ts +12 -12
- package/js/metalstack/admin/v2/project_pb.d.ts +2 -2
- package/js/metalstack/admin/v2/project_pb.js +1 -1
- package/js/metalstack/admin/v2/project_pb.ts +3 -3
- package/js/metalstack/admin/v2/size_imageconstraint_pb.d.ts +11 -11
- package/js/metalstack/admin/v2/size_imageconstraint_pb.js +1 -1
- package/js/metalstack/admin/v2/size_imageconstraint_pb.ts +12 -12
- package/js/metalstack/admin/v2/size_pb.d.ts +8 -8
- package/js/metalstack/admin/v2/size_pb.js +1 -1
- package/js/metalstack/admin/v2/size_pb.ts +9 -9
- package/js/metalstack/admin/v2/size_reservation_pb.d.ts +10 -10
- package/js/metalstack/admin/v2/size_reservation_pb.js +1 -1
- package/js/metalstack/admin/v2/size_reservation_pb.ts +11 -11
- package/js/metalstack/admin/v2/switch_pb.d.ts +16 -16
- package/js/metalstack/admin/v2/switch_pb.js +1 -1
- package/js/metalstack/admin/v2/switch_pb.ts +17 -17
- package/js/metalstack/admin/v2/task_pb.d.ts +10 -10
- package/js/metalstack/admin/v2/task_pb.js +1 -1
- package/js/metalstack/admin/v2/task_pb.ts +11 -11
- package/js/metalstack/admin/v2/tenant_pb.d.ts +9 -9
- package/js/metalstack/admin/v2/tenant_pb.js +1 -1
- package/js/metalstack/admin/v2/tenant_pb.ts +10 -10
- package/js/metalstack/admin/v2/token_pb.d.ts +4 -4
- package/js/metalstack/admin/v2/token_pb.js +1 -1
- package/js/metalstack/admin/v2/token_pb.ts +5 -5
- package/js/metalstack/admin/v2/vpn_pb.d.ts +4 -4
- package/js/metalstack/admin/v2/vpn_pb.js +1 -1
- package/js/metalstack/admin/v2/vpn_pb.ts +5 -5
- package/js/metalstack/api/v2/audit_pb.d.ts +18 -18
- package/js/metalstack/api/v2/audit_pb.js +1 -1
- package/js/metalstack/api/v2/audit_pb.ts +19 -19
- package/js/metalstack/api/v2/common_pb.d.ts +9 -9
- package/js/metalstack/api/v2/common_pb.js +5 -4
- package/js/metalstack/api/v2/common_pb.ts +12 -11
- package/js/metalstack/api/v2/component_pb.d.ts +8 -8
- package/js/metalstack/api/v2/component_pb.js +1 -1
- package/js/metalstack/api/v2/component_pb.ts +9 -9
- package/js/metalstack/api/v2/filesystem_pb.d.ts +13 -13
- package/js/metalstack/api/v2/filesystem_pb.js +2 -2
- package/js/metalstack/api/v2/filesystem_pb.ts +15 -15
- package/js/metalstack/api/v2/health_pb.d.ts +1 -1
- package/js/metalstack/api/v2/health_pb.js +1 -1
- package/js/metalstack/api/v2/health_pb.ts +2 -2
- package/js/metalstack/api/v2/image_pb.d.ts +18 -18
- package/js/metalstack/api/v2/image_pb.js +2 -2
- package/js/metalstack/api/v2/image_pb.ts +20 -20
- package/js/metalstack/api/v2/ip_pb.d.ts +31 -31
- package/js/metalstack/api/v2/ip_pb.js +1 -1
- package/js/metalstack/api/v2/ip_pb.ts +32 -32
- package/js/metalstack/api/v2/machine_pb.d.ts +116 -139
- package/js/metalstack/api/v2/machine_pb.js +33 -38
- package/js/metalstack/api/v2/machine_pb.ts +145 -173
- package/js/metalstack/api/v2/method_pb.d.ts +2 -2
- package/js/metalstack/api/v2/method_pb.js +2 -2
- package/js/metalstack/api/v2/method_pb.ts +4 -4
- package/js/metalstack/api/v2/network_pb.d.ts +52 -52
- package/js/metalstack/api/v2/network_pb.js +2 -2
- package/js/metalstack/api/v2/network_pb.ts +54 -54
- package/js/metalstack/api/v2/partition_pb.d.ts +6 -6
- package/js/metalstack/api/v2/partition_pb.js +2 -2
- package/js/metalstack/api/v2/partition_pb.ts +8 -8
- package/js/metalstack/api/v2/predefined_rules_pb.d.ts +13 -1
- package/js/metalstack/api/v2/predefined_rules_pb.js +14 -2
- package/js/metalstack/api/v2/predefined_rules_pb.ts +19 -3
- package/js/metalstack/api/v2/project_pb.d.ts +24 -24
- package/js/metalstack/api/v2/project_pb.js +2 -2
- package/js/metalstack/api/v2/project_pb.ts +26 -26
- package/js/metalstack/api/v2/size_imageconstraint_pb.d.ts +6 -6
- package/js/metalstack/api/v2/size_imageconstraint_pb.js +2 -2
- package/js/metalstack/api/v2/size_imageconstraint_pb.ts +8 -8
- package/js/metalstack/api/v2/size_pb.d.ts +10 -10
- package/js/metalstack/api/v2/size_pb.js +2 -2
- package/js/metalstack/api/v2/size_pb.ts +12 -12
- package/js/metalstack/api/v2/size_reservation_pb.d.ts +10 -10
- package/js/metalstack/api/v2/size_reservation_pb.js +1 -1
- package/js/metalstack/api/v2/size_reservation_pb.ts +11 -11
- package/js/metalstack/api/v2/switch_pb.d.ts +26 -26
- package/js/metalstack/api/v2/switch_pb.js +1 -1
- package/js/metalstack/api/v2/switch_pb.ts +27 -27
- package/js/metalstack/api/v2/tenant_pb.d.ts +24 -24
- package/js/metalstack/api/v2/tenant_pb.js +2 -2
- package/js/metalstack/api/v2/tenant_pb.ts +26 -26
- package/js/metalstack/api/v2/token_pb.d.ts +18 -18
- package/js/metalstack/api/v2/token_pb.js +2 -2
- package/js/metalstack/api/v2/token_pb.ts +20 -20
- package/js/metalstack/api/v2/user_pb.d.ts +2 -2
- package/js/metalstack/api/v2/user_pb.js +2 -2
- package/js/metalstack/api/v2/user_pb.ts +4 -4
- package/js/metalstack/api/v2/version_pb.d.ts +1 -1
- package/js/metalstack/api/v2/version_pb.js +1 -1
- package/js/metalstack/api/v2/version_pb.ts +2 -2
- package/js/metalstack/api/v2/vpn_pb.d.ts +1 -1
- package/js/metalstack/api/v2/vpn_pb.js +1 -1
- package/js/metalstack/api/v2/vpn_pb.ts +2 -2
- package/js/metalstack/infra/v2/bmc_pb.d.ts +2 -2
- package/js/metalstack/infra/v2/bmc_pb.js +1 -1
- package/js/metalstack/infra/v2/bmc_pb.ts +3 -3
- package/js/metalstack/infra/v2/boot_pb.d.ts +6 -6
- package/js/metalstack/infra/v2/boot_pb.js +1 -1
- package/js/metalstack/infra/v2/boot_pb.ts +7 -7
- package/js/metalstack/infra/v2/component_pb.d.ts +3 -3
- package/js/metalstack/infra/v2/component_pb.js +1 -1
- package/js/metalstack/infra/v2/component_pb.ts +4 -4
- package/js/metalstack/infra/v2/event_pb.d.ts +1 -1
- package/js/metalstack/infra/v2/event_pb.js +1 -1
- package/js/metalstack/infra/v2/event_pb.ts +2 -2
- package/js/metalstack/infra/v2/switch_pb.d.ts +7 -7
- package/js/metalstack/infra/v2/switch_pb.js +1 -1
- package/js/metalstack/infra/v2/switch_pb.ts +8 -8
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by protoc-gen-es v2.
|
|
1
|
+
// @generated by protoc-gen-es v2.12.0 with parameter "target=ts"
|
|
2
2
|
// @generated from file metalstack/admin/v2/token.proto (package metalstack.admin.v2, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
|
|
@@ -27,7 +27,7 @@ export type TokenServiceListRequest = Message<"metalstack.admin.v2.TokenServiceL
|
|
|
27
27
|
*
|
|
28
28
|
* @generated from field: optional string user = 1;
|
|
29
29
|
*/
|
|
30
|
-
user?: string;
|
|
30
|
+
user?: string | undefined;
|
|
31
31
|
};
|
|
32
32
|
|
|
33
33
|
/**
|
|
@@ -112,14 +112,14 @@ export type TokenServiceCreateRequest = Message<"metalstack.admin.v2.TokenServic
|
|
|
112
112
|
*
|
|
113
113
|
* @generated from field: optional string user = 1;
|
|
114
114
|
*/
|
|
115
|
-
user?: string;
|
|
115
|
+
user?: string | undefined;
|
|
116
116
|
|
|
117
117
|
/**
|
|
118
118
|
* TokenCreateRequest which should be created
|
|
119
119
|
*
|
|
120
120
|
* @generated from field: metalstack.api.v2.TokenServiceCreateRequest token_create_request = 2;
|
|
121
121
|
*/
|
|
122
|
-
tokenCreateRequest?: TokenServiceCreateRequest$1;
|
|
122
|
+
tokenCreateRequest?: TokenServiceCreateRequest$1 | undefined;
|
|
123
123
|
};
|
|
124
124
|
|
|
125
125
|
/**
|
|
@@ -140,7 +140,7 @@ export type TokenServiceCreateResponse = Message<"metalstack.admin.v2.TokenServi
|
|
|
140
140
|
*
|
|
141
141
|
* @generated from field: metalstack.api.v2.Token token = 1;
|
|
142
142
|
*/
|
|
143
|
-
token?: Token;
|
|
143
|
+
token?: Token | undefined;
|
|
144
144
|
|
|
145
145
|
/**
|
|
146
146
|
* Secret is the body if the JWT token, should be used in API requests as bearer token
|
|
@@ -29,7 +29,7 @@ export type VPNServiceAuthKeyRequest = Message<"metalstack.admin.v2.VPNServiceAu
|
|
|
29
29
|
*
|
|
30
30
|
* @generated from field: google.protobuf.Duration expires = 3;
|
|
31
31
|
*/
|
|
32
|
-
expires?: Duration;
|
|
32
|
+
expires?: Duration | undefined;
|
|
33
33
|
/**
|
|
34
34
|
* Reason must be provided why access to the VPN is requested
|
|
35
35
|
* Reason is only forwarded to an audit sink
|
|
@@ -73,13 +73,13 @@ export type VPNServiceAuthKeyResponse = Message<"metalstack.admin.v2.VPNServiceA
|
|
|
73
73
|
*
|
|
74
74
|
* @generated from field: google.protobuf.Timestamp expires_at = 4;
|
|
75
75
|
*/
|
|
76
|
-
expiresAt?: Timestamp;
|
|
76
|
+
expiresAt?: Timestamp | undefined;
|
|
77
77
|
/**
|
|
78
78
|
* CreatedAt this key was created at this timestamp
|
|
79
79
|
*
|
|
80
80
|
* @generated from field: google.protobuf.Timestamp created_at = 5;
|
|
81
81
|
*/
|
|
82
|
-
createdAt?: Timestamp;
|
|
82
|
+
createdAt?: Timestamp | undefined;
|
|
83
83
|
};
|
|
84
84
|
/**
|
|
85
85
|
* Describes the message metalstack.admin.v2.VPNServiceAuthKeyResponse.
|
|
@@ -97,7 +97,7 @@ export type VPNServiceListNodesRequest = Message<"metalstack.admin.v2.VPNService
|
|
|
97
97
|
*
|
|
98
98
|
* @generated from field: optional string project = 1;
|
|
99
99
|
*/
|
|
100
|
-
project?: string;
|
|
100
|
+
project?: string | undefined;
|
|
101
101
|
};
|
|
102
102
|
/**
|
|
103
103
|
* Describes the message metalstack.admin.v2.VPNServiceListNodesRequest.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by protoc-gen-es v2.
|
|
1
|
+
// @generated by protoc-gen-es v2.12.0 with parameter "target=ts"
|
|
2
2
|
// @generated from file metalstack/admin/v2/vpn.proto (package metalstack.admin.v2, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by protoc-gen-es v2.
|
|
1
|
+
// @generated by protoc-gen-es v2.12.0 with parameter "target=ts"
|
|
2
2
|
// @generated from file metalstack/admin/v2/vpn.proto (package metalstack.admin.v2, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
|
|
@@ -43,7 +43,7 @@ export type VPNServiceAuthKeyRequest = Message<"metalstack.admin.v2.VPNServiceAu
|
|
|
43
43
|
*
|
|
44
44
|
* @generated from field: google.protobuf.Duration expires = 3;
|
|
45
45
|
*/
|
|
46
|
-
expires?: Duration;
|
|
46
|
+
expires?: Duration | undefined;
|
|
47
47
|
|
|
48
48
|
/**
|
|
49
49
|
* Reason must be provided why access to the VPN is requested
|
|
@@ -94,14 +94,14 @@ export type VPNServiceAuthKeyResponse = Message<"metalstack.admin.v2.VPNServiceA
|
|
|
94
94
|
*
|
|
95
95
|
* @generated from field: google.protobuf.Timestamp expires_at = 4;
|
|
96
96
|
*/
|
|
97
|
-
expiresAt?: Timestamp;
|
|
97
|
+
expiresAt?: Timestamp | undefined;
|
|
98
98
|
|
|
99
99
|
/**
|
|
100
100
|
* CreatedAt this key was created at this timestamp
|
|
101
101
|
*
|
|
102
102
|
* @generated from field: google.protobuf.Timestamp created_at = 5;
|
|
103
103
|
*/
|
|
104
|
-
createdAt?: Timestamp;
|
|
104
|
+
createdAt?: Timestamp | undefined;
|
|
105
105
|
};
|
|
106
106
|
|
|
107
107
|
/**
|
|
@@ -122,7 +122,7 @@ export type VPNServiceListNodesRequest = Message<"metalstack.admin.v2.VPNService
|
|
|
122
122
|
*
|
|
123
123
|
* @generated from field: optional string project = 1;
|
|
124
124
|
*/
|
|
125
|
-
project?: string;
|
|
125
|
+
project?: string | undefined;
|
|
126
126
|
};
|
|
127
127
|
|
|
128
128
|
/**
|
|
@@ -22,7 +22,7 @@ export type AuditTrace = Message<"metalstack.api.v2.AuditTrace"> & {
|
|
|
22
22
|
*
|
|
23
23
|
* @generated from field: google.protobuf.Timestamp timestamp = 2;
|
|
24
24
|
*/
|
|
25
|
-
timestamp?: Timestamp;
|
|
25
|
+
timestamp?: Timestamp | undefined;
|
|
26
26
|
/**
|
|
27
27
|
* User is the login user who called the API method
|
|
28
28
|
*
|
|
@@ -40,7 +40,7 @@ export type AuditTrace = Message<"metalstack.api.v2.AuditTrace"> & {
|
|
|
40
40
|
*
|
|
41
41
|
* @generated from field: optional string project = 5;
|
|
42
42
|
*/
|
|
43
|
-
project?: string;
|
|
43
|
+
project?: string | undefined;
|
|
44
44
|
/**
|
|
45
45
|
* Method is the API method that was called
|
|
46
46
|
*
|
|
@@ -52,7 +52,7 @@ export type AuditTrace = Message<"metalstack.api.v2.AuditTrace"> & {
|
|
|
52
52
|
*
|
|
53
53
|
* @generated from field: optional string body = 7;
|
|
54
54
|
*/
|
|
55
|
-
body?: string;
|
|
55
|
+
body?: string | undefined;
|
|
56
56
|
/**
|
|
57
57
|
* SourceIP contains the source IP address of the API call
|
|
58
58
|
*
|
|
@@ -64,7 +64,7 @@ export type AuditTrace = Message<"metalstack.api.v2.AuditTrace"> & {
|
|
|
64
64
|
*
|
|
65
65
|
* @generated from field: optional int32 result_code = 9;
|
|
66
66
|
*/
|
|
67
|
-
resultCode?: number;
|
|
67
|
+
resultCode?: number | undefined;
|
|
68
68
|
/**
|
|
69
69
|
* Phase represents the phase of the audit trace
|
|
70
70
|
*
|
|
@@ -88,67 +88,67 @@ export type AuditQuery = Message<"metalstack.api.v2.AuditQuery"> & {
|
|
|
88
88
|
*
|
|
89
89
|
* @generated from field: optional string uuid = 2;
|
|
90
90
|
*/
|
|
91
|
-
uuid?: string;
|
|
91
|
+
uuid?: string | undefined;
|
|
92
92
|
/**
|
|
93
93
|
* From describes the start of the time window in which to list audit traces. Defaults to the last eight hours
|
|
94
94
|
*
|
|
95
95
|
* @generated from field: optional google.protobuf.Timestamp from = 3;
|
|
96
96
|
*/
|
|
97
|
-
from?: Timestamp;
|
|
97
|
+
from?: Timestamp | undefined;
|
|
98
98
|
/**
|
|
99
99
|
* To describes the end of the time window in which to list audit traces. Defaults to the time the request was issued
|
|
100
100
|
*
|
|
101
101
|
* @generated from field: optional google.protobuf.Timestamp to = 4;
|
|
102
102
|
*/
|
|
103
|
-
to?: Timestamp;
|
|
103
|
+
to?: Timestamp | undefined;
|
|
104
104
|
/**
|
|
105
105
|
* User is the user who called the api method
|
|
106
106
|
*
|
|
107
107
|
* @generated from field: optional string user = 5;
|
|
108
108
|
*/
|
|
109
|
-
user?: string;
|
|
109
|
+
user?: string | undefined;
|
|
110
110
|
/**
|
|
111
111
|
* Project is the project targeted by the api call
|
|
112
112
|
*
|
|
113
113
|
* @generated from field: optional string project = 6;
|
|
114
114
|
*/
|
|
115
|
-
project?: string;
|
|
115
|
+
project?: string | undefined;
|
|
116
116
|
/**
|
|
117
117
|
* Method is the api method that was called
|
|
118
118
|
*
|
|
119
119
|
* @generated from field: optional string method = 7;
|
|
120
120
|
*/
|
|
121
|
-
method?: string;
|
|
121
|
+
method?: string | undefined;
|
|
122
122
|
/**
|
|
123
123
|
* Source IP contains the ip address of the caller
|
|
124
124
|
*
|
|
125
125
|
* @generated from field: optional string source_ip = 8;
|
|
126
126
|
*/
|
|
127
|
-
sourceIp?: string;
|
|
127
|
+
sourceIp?: string | undefined;
|
|
128
128
|
/**
|
|
129
129
|
* Result Code is a string describing the result of the api call
|
|
130
130
|
*
|
|
131
131
|
* @generated from field: optional int32 result_code = 9;
|
|
132
132
|
*/
|
|
133
|
-
resultCode?: number;
|
|
133
|
+
resultCode?: number | undefined;
|
|
134
134
|
/**
|
|
135
135
|
* Body is a string providing text-search of the body field
|
|
136
136
|
*
|
|
137
137
|
* @generated from field: optional string body = 10;
|
|
138
138
|
*/
|
|
139
|
-
body?: string;
|
|
139
|
+
body?: string | undefined;
|
|
140
140
|
/**
|
|
141
141
|
* Limit is a number limiting the length of the response (min: 1, max: 1000, defaults to 200)
|
|
142
142
|
*
|
|
143
143
|
* @generated from field: optional int32 limit = 11;
|
|
144
144
|
*/
|
|
145
|
-
limit?: number;
|
|
145
|
+
limit?: number | undefined;
|
|
146
146
|
/**
|
|
147
147
|
* Phase specifies the audit phase
|
|
148
148
|
*
|
|
149
149
|
* @generated from field: optional metalstack.api.v2.AuditPhase phase = 12;
|
|
150
150
|
*/
|
|
151
|
-
phase?: AuditPhase;
|
|
151
|
+
phase?: AuditPhase | undefined;
|
|
152
152
|
};
|
|
153
153
|
/**
|
|
154
154
|
* Describes the message metalstack.api.v2.AuditQuery.
|
|
@@ -172,7 +172,7 @@ export type AuditServiceListRequest = Message<"metalstack.api.v2.AuditServiceLis
|
|
|
172
172
|
*
|
|
173
173
|
* @generated from field: metalstack.api.v2.AuditQuery query = 2;
|
|
174
174
|
*/
|
|
175
|
-
query?: AuditQuery;
|
|
175
|
+
query?: AuditQuery | undefined;
|
|
176
176
|
};
|
|
177
177
|
/**
|
|
178
178
|
* Describes the message metalstack.api.v2.AuditServiceListRequest.
|
|
@@ -220,7 +220,7 @@ export type AuditServiceGetRequest = Message<"metalstack.api.v2.AuditServiceGetR
|
|
|
220
220
|
*
|
|
221
221
|
* @generated from field: optional metalstack.api.v2.AuditPhase phase = 3;
|
|
222
222
|
*/
|
|
223
|
-
phase?: AuditPhase;
|
|
223
|
+
phase?: AuditPhase | undefined;
|
|
224
224
|
};
|
|
225
225
|
/**
|
|
226
226
|
* Describes the message metalstack.api.v2.AuditServiceGetRequest.
|
|
@@ -238,7 +238,7 @@ export type AuditServiceGetResponse = Message<"metalstack.api.v2.AuditServiceGet
|
|
|
238
238
|
*
|
|
239
239
|
* @generated from field: metalstack.api.v2.AuditTrace trace = 1;
|
|
240
240
|
*/
|
|
241
|
-
trace?: AuditTrace;
|
|
241
|
+
trace?: AuditTrace | undefined;
|
|
242
242
|
};
|
|
243
243
|
/**
|
|
244
244
|
* Describes the message metalstack.api.v2.AuditServiceGetResponse.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by protoc-gen-es v2.
|
|
1
|
+
// @generated by protoc-gen-es v2.12.0 with parameter "target=ts"
|
|
2
2
|
// @generated from file metalstack/api/v2/audit.proto (package metalstack.api.v2, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by protoc-gen-es v2.
|
|
1
|
+
// @generated by protoc-gen-es v2.12.0 with parameter "target=ts"
|
|
2
2
|
// @generated from file metalstack/api/v2/audit.proto (package metalstack.api.v2, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
|
|
@@ -35,7 +35,7 @@ export type AuditTrace = Message<"metalstack.api.v2.AuditTrace"> & {
|
|
|
35
35
|
*
|
|
36
36
|
* @generated from field: google.protobuf.Timestamp timestamp = 2;
|
|
37
37
|
*/
|
|
38
|
-
timestamp?: Timestamp;
|
|
38
|
+
timestamp?: Timestamp | undefined;
|
|
39
39
|
|
|
40
40
|
/**
|
|
41
41
|
* User is the login user who called the API method
|
|
@@ -56,7 +56,7 @@ export type AuditTrace = Message<"metalstack.api.v2.AuditTrace"> & {
|
|
|
56
56
|
*
|
|
57
57
|
* @generated from field: optional string project = 5;
|
|
58
58
|
*/
|
|
59
|
-
project?: string;
|
|
59
|
+
project?: string | undefined;
|
|
60
60
|
|
|
61
61
|
/**
|
|
62
62
|
* Method is the API method that was called
|
|
@@ -70,7 +70,7 @@ export type AuditTrace = Message<"metalstack.api.v2.AuditTrace"> & {
|
|
|
70
70
|
*
|
|
71
71
|
* @generated from field: optional string body = 7;
|
|
72
72
|
*/
|
|
73
|
-
body?: string;
|
|
73
|
+
body?: string | undefined;
|
|
74
74
|
|
|
75
75
|
/**
|
|
76
76
|
* SourceIP contains the source IP address of the API call
|
|
@@ -84,7 +84,7 @@ export type AuditTrace = Message<"metalstack.api.v2.AuditTrace"> & {
|
|
|
84
84
|
*
|
|
85
85
|
* @generated from field: optional int32 result_code = 9;
|
|
86
86
|
*/
|
|
87
|
-
resultCode?: number;
|
|
87
|
+
resultCode?: number | undefined;
|
|
88
88
|
|
|
89
89
|
/**
|
|
90
90
|
* Phase represents the phase of the audit trace
|
|
@@ -112,77 +112,77 @@ export type AuditQuery = Message<"metalstack.api.v2.AuditQuery"> & {
|
|
|
112
112
|
*
|
|
113
113
|
* @generated from field: optional string uuid = 2;
|
|
114
114
|
*/
|
|
115
|
-
uuid?: string;
|
|
115
|
+
uuid?: string | undefined;
|
|
116
116
|
|
|
117
117
|
/**
|
|
118
118
|
* From describes the start of the time window in which to list audit traces. Defaults to the last eight hours
|
|
119
119
|
*
|
|
120
120
|
* @generated from field: optional google.protobuf.Timestamp from = 3;
|
|
121
121
|
*/
|
|
122
|
-
from?: Timestamp;
|
|
122
|
+
from?: Timestamp | undefined;
|
|
123
123
|
|
|
124
124
|
/**
|
|
125
125
|
* To describes the end of the time window in which to list audit traces. Defaults to the time the request was issued
|
|
126
126
|
*
|
|
127
127
|
* @generated from field: optional google.protobuf.Timestamp to = 4;
|
|
128
128
|
*/
|
|
129
|
-
to?: Timestamp;
|
|
129
|
+
to?: Timestamp | undefined;
|
|
130
130
|
|
|
131
131
|
/**
|
|
132
132
|
* User is the user who called the api method
|
|
133
133
|
*
|
|
134
134
|
* @generated from field: optional string user = 5;
|
|
135
135
|
*/
|
|
136
|
-
user?: string;
|
|
136
|
+
user?: string | undefined;
|
|
137
137
|
|
|
138
138
|
/**
|
|
139
139
|
* Project is the project targeted by the api call
|
|
140
140
|
*
|
|
141
141
|
* @generated from field: optional string project = 6;
|
|
142
142
|
*/
|
|
143
|
-
project?: string;
|
|
143
|
+
project?: string | undefined;
|
|
144
144
|
|
|
145
145
|
/**
|
|
146
146
|
* Method is the api method that was called
|
|
147
147
|
*
|
|
148
148
|
* @generated from field: optional string method = 7;
|
|
149
149
|
*/
|
|
150
|
-
method?: string;
|
|
150
|
+
method?: string | undefined;
|
|
151
151
|
|
|
152
152
|
/**
|
|
153
153
|
* Source IP contains the ip address of the caller
|
|
154
154
|
*
|
|
155
155
|
* @generated from field: optional string source_ip = 8;
|
|
156
156
|
*/
|
|
157
|
-
sourceIp?: string;
|
|
157
|
+
sourceIp?: string | undefined;
|
|
158
158
|
|
|
159
159
|
/**
|
|
160
160
|
* Result Code is a string describing the result of the api call
|
|
161
161
|
*
|
|
162
162
|
* @generated from field: optional int32 result_code = 9;
|
|
163
163
|
*/
|
|
164
|
-
resultCode?: number;
|
|
164
|
+
resultCode?: number | undefined;
|
|
165
165
|
|
|
166
166
|
/**
|
|
167
167
|
* Body is a string providing text-search of the body field
|
|
168
168
|
*
|
|
169
169
|
* @generated from field: optional string body = 10;
|
|
170
170
|
*/
|
|
171
|
-
body?: string;
|
|
171
|
+
body?: string | undefined;
|
|
172
172
|
|
|
173
173
|
/**
|
|
174
174
|
* Limit is a number limiting the length of the response (min: 1, max: 1000, defaults to 200)
|
|
175
175
|
*
|
|
176
176
|
* @generated from field: optional int32 limit = 11;
|
|
177
177
|
*/
|
|
178
|
-
limit?: number;
|
|
178
|
+
limit?: number | undefined;
|
|
179
179
|
|
|
180
180
|
/**
|
|
181
181
|
* Phase specifies the audit phase
|
|
182
182
|
*
|
|
183
183
|
* @generated from field: optional metalstack.api.v2.AuditPhase phase = 12;
|
|
184
184
|
*/
|
|
185
|
-
phase?: AuditPhase;
|
|
185
|
+
phase?: AuditPhase | undefined;
|
|
186
186
|
};
|
|
187
187
|
|
|
188
188
|
/**
|
|
@@ -210,7 +210,7 @@ export type AuditServiceListRequest = Message<"metalstack.api.v2.AuditServiceLis
|
|
|
210
210
|
*
|
|
211
211
|
* @generated from field: metalstack.api.v2.AuditQuery query = 2;
|
|
212
212
|
*/
|
|
213
|
-
query?: AuditQuery;
|
|
213
|
+
query?: AuditQuery | undefined;
|
|
214
214
|
};
|
|
215
215
|
|
|
216
216
|
/**
|
|
@@ -266,7 +266,7 @@ export type AuditServiceGetRequest = Message<"metalstack.api.v2.AuditServiceGetR
|
|
|
266
266
|
*
|
|
267
267
|
* @generated from field: optional metalstack.api.v2.AuditPhase phase = 3;
|
|
268
268
|
*/
|
|
269
|
-
phase?: AuditPhase;
|
|
269
|
+
phase?: AuditPhase | undefined;
|
|
270
270
|
};
|
|
271
271
|
|
|
272
272
|
/**
|
|
@@ -287,7 +287,7 @@ export type AuditServiceGetResponse = Message<"metalstack.api.v2.AuditServiceGet
|
|
|
287
287
|
*
|
|
288
288
|
* @generated from field: metalstack.api.v2.AuditTrace trace = 1;
|
|
289
289
|
*/
|
|
290
|
-
trace?: AuditTrace;
|
|
290
|
+
trace?: AuditTrace | undefined;
|
|
291
291
|
};
|
|
292
292
|
|
|
293
293
|
/**
|
|
@@ -17,13 +17,13 @@ export type Paging = Message<"metalstack.api.v2.Paging"> & {
|
|
|
17
17
|
*
|
|
18
18
|
* @generated from field: optional uint64 page = 1;
|
|
19
19
|
*/
|
|
20
|
-
page?: bigint;
|
|
20
|
+
page?: bigint | undefined;
|
|
21
21
|
/**
|
|
22
22
|
* Count is the number of results returned per page, if not given server side defaults apply
|
|
23
23
|
*
|
|
24
24
|
* @generated from field: optional uint64 count = 2;
|
|
25
25
|
*/
|
|
26
|
-
count?: bigint;
|
|
26
|
+
count?: bigint | undefined;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
29
|
* Describes the message metalstack.api.v2.Paging.
|
|
@@ -61,20 +61,20 @@ export type Meta = Message<"metalstack.api.v2.Meta"> & {
|
|
|
61
61
|
*
|
|
62
62
|
* @generated from field: optional metalstack.api.v2.Labels labels = 1;
|
|
63
63
|
*/
|
|
64
|
-
labels?: Labels;
|
|
64
|
+
labels?: Labels | undefined;
|
|
65
65
|
/**
|
|
66
66
|
* CreatedAt is the date when this entity was created
|
|
67
67
|
*
|
|
68
68
|
* @generated from field: google.protobuf.Timestamp created_at = 2;
|
|
69
69
|
*/
|
|
70
|
-
createdAt?: Timestamp;
|
|
70
|
+
createdAt?: Timestamp | undefined;
|
|
71
71
|
/**
|
|
72
72
|
* UpdatedAt is the date when this entity was updated
|
|
73
73
|
* must be part of the update request to ensure optimistic locking
|
|
74
74
|
*
|
|
75
75
|
* @generated from field: google.protobuf.Timestamp updated_at = 3;
|
|
76
76
|
*/
|
|
77
|
-
updatedAt?: Timestamp;
|
|
77
|
+
updatedAt?: Timestamp | undefined;
|
|
78
78
|
/**
|
|
79
79
|
* Generation identifies how often this entity was modified since creation.
|
|
80
80
|
*
|
|
@@ -98,7 +98,7 @@ export type UpdateLabels = Message<"metalstack.api.v2.UpdateLabels"> & {
|
|
|
98
98
|
*
|
|
99
99
|
* @generated from field: metalstack.api.v2.Labels update = 1;
|
|
100
100
|
*/
|
|
101
|
-
update?: Labels;
|
|
101
|
+
update?: Labels | undefined;
|
|
102
102
|
/**
|
|
103
103
|
* Remove labels by key
|
|
104
104
|
*
|
|
@@ -123,7 +123,7 @@ export type UpdateMeta = Message<"metalstack.api.v2.UpdateMeta"> & {
|
|
|
123
123
|
*
|
|
124
124
|
* @generated from field: google.protobuf.Timestamp updated_at = 1;
|
|
125
125
|
*/
|
|
126
|
-
updatedAt?: Timestamp;
|
|
126
|
+
updatedAt?: Timestamp | undefined;
|
|
127
127
|
/**
|
|
128
128
|
* LockingStrategy to be used for this update request
|
|
129
129
|
*
|
|
@@ -322,9 +322,9 @@ export declare enum Visibility {
|
|
|
322
322
|
/**
|
|
323
323
|
* VISIBILITY_SELF enable call this endpoint from the authenticated user only
|
|
324
324
|
*
|
|
325
|
-
* @generated from enum value: VISIBILITY_SELF =
|
|
325
|
+
* @generated from enum value: VISIBILITY_SELF = 2;
|
|
326
326
|
*/
|
|
327
|
-
SELF =
|
|
327
|
+
SELF = 2
|
|
328
328
|
}
|
|
329
329
|
/**
|
|
330
330
|
* Describes the enum metalstack.api.v2.Visibility.
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
// @generated by protoc-gen-es v2.
|
|
1
|
+
// @generated by protoc-gen-es v2.12.0 with parameter "target=ts"
|
|
2
2
|
// @generated from file metalstack/api/v2/common.proto (package metalstack.api.v2, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
import { enumDesc, extDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
5
|
import { file_buf_validate_validate } from "../../../buf/validate/validate_pb";
|
|
6
6
|
import { file_google_protobuf_descriptor, file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
7
|
+
import { file_metalstack_api_v2_predefined_rules } from "./predefined_rules_pb";
|
|
7
8
|
/**
|
|
8
9
|
* Describes the file metalstack/api/v2/common.proto.
|
|
9
10
|
*/
|
|
10
|
-
export const file_metalstack_api_v2_common = /*@__PURE__*/ fileDesc("
|
|
11
|
+
export const file_metalstack_api_v2_common = /*@__PURE__*/ fileDesc("Ch5tZXRhbHN0YWNrL2FwaS92Mi9jb21tb24ucHJvdG8SEW1ldGFsc3RhY2suYXBpLnYyIkIKBlBhZ2luZxIRCgRwYWdlGAEgASgESACIAQESEgoFY291bnQYAiABKARIAYgBAUIHCgVfcGFnZUIICgZfY291bnQijgEKBkxhYmVscxJVCgZsYWJlbHMYASADKAsyJS5tZXRhbHN0YWNrLmFwaS52Mi5MYWJlbHMuTGFiZWxzRW50cnlCHrpIG5oBGLiVuLECASIHcgUQARiAAioHcgUQABiAAhotCgtMYWJlbHNFbnRyeRILCgNrZXkYASABKAkSDQoFdmFsdWUYAiABKAk6AjgBIrUBCgRNZXRhEi4KBmxhYmVscxgBIAEoCzIZLm1ldGFsc3RhY2suYXBpLnYyLkxhYmVsc0gAiAEBEi4KCmNyZWF0ZWRfYXQYAiABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEi4KCnVwZGF0ZWRfYXQYAyABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEhIKCmdlbmVyYXRpb24YBCABKARCCQoHX2xhYmVscyJJCgxVcGRhdGVMYWJlbHMSKQoGdXBkYXRlGAEgASgLMhkubWV0YWxzdGFjay5hcGkudjIuTGF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bGVzEh4uZ29vZ2xlLnByb3RvYnVmLk1ldGhvZE9wdGlvbnMYvo4DIAMoDjIeLm1ldGFsc3RhY2suYXBpLnYyLk1hY2hpbmVSb2xlUgxtYWNoaW5lUm9sZXM6TwoRZW51bV9zdHJpbmdfdmFsdWUSIS5nb29nbGUucHJvdG9idWYuRW51bVZhbHVlT3B0aW9ucxiglgMgASgJUg9lbnVtU3RyaW5nVmFsdWVCwQEKFWNvbS5tZXRhbHN0YWNrLmFwaS52MkILQ29tbW9uUHJvdG9QAVo1Z2l0aHViLmNvbS9tZXRhbC1zdGFjay9hcGkvZ28vbWV0YWxzdGFjay9hcGkvdjI7YXBpdjKiAgNNQViqAhFNZXRhbHN0YWNrLkFwaS5WMsoCEU1ldGFsc3RhY2tcQXBpXFYy4gIdTWV0YWxzdGFja1xBcGlcVjJcR1BCTWV0YWRhdGHqAhNNZXRhbHN0YWNrOjpBcGk6OlYyYgZwcm90bzM", [file_buf_validate_validate, file_google_protobuf_descriptor, file_google_protobuf_timestamp, file_metalstack_api_v2_predefined_rules]);
|
|
11
12
|
/**
|
|
12
13
|
* Describes the message metalstack.api.v2.Paging.
|
|
13
14
|
* Use `create(PagingSchema)` to create a new message.
|
|
@@ -225,9 +226,9 @@ export var Visibility;
|
|
|
225
226
|
/**
|
|
226
227
|
* VISIBILITY_SELF enable call this endpoint from the authenticated user only
|
|
227
228
|
*
|
|
228
|
-
* @generated from enum value: VISIBILITY_SELF =
|
|
229
|
+
* @generated from enum value: VISIBILITY_SELF = 2;
|
|
229
230
|
*/
|
|
230
|
-
Visibility[Visibility["SELF"] =
|
|
231
|
+
Visibility[Visibility["SELF"] = 2] = "SELF";
|
|
231
232
|
})(Visibility || (Visibility = {}));
|
|
232
233
|
/**
|
|
233
234
|
* Describes the enum metalstack.api.v2.Visibility.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by protoc-gen-es v2.
|
|
1
|
+
// @generated by protoc-gen-es v2.12.0 with parameter "target=ts"
|
|
2
2
|
// @generated from file metalstack/api/v2/common.proto (package metalstack.api.v2, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
|
|
@@ -7,13 +7,14 @@ import { enumDesc, extDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/cod
|
|
|
7
7
|
import { file_buf_validate_validate } from "../../../buf/validate/validate_pb";
|
|
8
8
|
import type { EnumValueOptions, MethodOptions, Timestamp } from "@bufbuild/protobuf/wkt";
|
|
9
9
|
import { file_google_protobuf_descriptor, file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
10
|
+
import { file_metalstack_api_v2_predefined_rules } from "./predefined_rules_pb";
|
|
10
11
|
import type { Message } from "@bufbuild/protobuf";
|
|
11
12
|
|
|
12
13
|
/**
|
|
13
14
|
* Describes the file metalstack/api/v2/common.proto.
|
|
14
15
|
*/
|
|
15
16
|
export const file_metalstack_api_v2_common: GenFile = /*@__PURE__*/
|
|
16
|
-
fileDesc("
|
|
17
|
+
fileDesc("Ch5tZXRhbHN0YWNrL2FwaS92Mi9jb21tb24ucHJvdG8SEW1ldGFsc3RhY2suYXBpLnYyIkIKBlBhZ2luZxIRCgRwYWdlGAEgASgESACIAQESEgoFY291bnQYAiABKARIAYgBAUIHCgVfcGFnZUIICgZfY291bnQijgEKBkxhYmVscxJVCgZsYWJlbHMYASADKAsyJS5tZXRhbHN0YWNrLmFwaS52Mi5MYWJlbHMuTGFiZWxzRW50cnlCHrpIG5oBGLiVuLECASIHcgUQARiAAioHcgUQABiAAhotCgtMYWJlbHNFbnRyeRILCgNrZXkYASABKAkSDQoFdmFsdWUYAiABKAk6AjgBIrUBCgRNZXRhEi4KBmxhYmVscxgBIAEoCzIZLm1ldGFsc3RhY2suYXBpLnYyLkxhYmVsc0gAiAEBEi4KCmNyZWF0ZWRfYXQYAiABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEi4KCnVwZGF0ZWRfYXQYAyABKAsyGi5nb29nbGUucHJvdG9idWYuVGlt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2xlLnByb3RvYnVmLk1ldGhvZE9wdGlvbnMYvY4DIAMoDjIcLm1ldGFsc3RhY2suYXBpLnYyLkluZnJhUm9sZVIKaW5mcmFSb2xlczplCg1tYWNoaW5lX3JvbGVzEh4uZ29vZ2xlLnByb3RvYnVmLk1ldGhvZE9wdGlvbnMYvo4DIAMoDjIeLm1ldGFsc3RhY2suYXBpLnYyLk1hY2hpbmVSb2xlUgxtYWNoaW5lUm9sZXM6TwoRZW51bV9zdHJpbmdfdmFsdWUSIS5nb29nbGUucHJvdG9idWYuRW51bVZhbHVlT3B0aW9ucxiglgMgASgJUg9lbnVtU3RyaW5nVmFsdWVCwQEKFWNvbS5tZXRhbHN0YWNrLmFwaS52MkILQ29tbW9uUHJvdG9QAVo1Z2l0aHViLmNvbS9tZXRhbC1zdGFjay9hcGkvZ28vbWV0YWxzdGFjay9hcGkvdjI7YXBpdjKiAgNNQViqAhFNZXRhbHN0YWNrLkFwaS5WMsoCEU1ldGFsc3RhY2tcQXBpXFYy4gIdTWV0YWxzdGFja1xBcGlcVjJcR1BCTWV0YWRhdGHqAhNNZXRhbHN0YWNrOjpBcGk6OlYyYgZwcm90bzM", [file_buf_validate_validate, file_google_protobuf_descriptor, file_google_protobuf_timestamp, file_metalstack_api_v2_predefined_rules]);
|
|
17
18
|
|
|
18
19
|
/**
|
|
19
20
|
* Paging defines paging for methods with a lot of results
|
|
@@ -27,14 +28,14 @@ export type Paging = Message<"metalstack.api.v2.Paging"> & {
|
|
|
27
28
|
*
|
|
28
29
|
* @generated from field: optional uint64 page = 1;
|
|
29
30
|
*/
|
|
30
|
-
page?: bigint;
|
|
31
|
+
page?: bigint | undefined;
|
|
31
32
|
|
|
32
33
|
/**
|
|
33
34
|
* Count is the number of results returned per page, if not given server side defaults apply
|
|
34
35
|
*
|
|
35
36
|
* @generated from field: optional uint64 count = 2;
|
|
36
37
|
*/
|
|
37
|
-
count?: bigint;
|
|
38
|
+
count?: bigint | undefined;
|
|
38
39
|
};
|
|
39
40
|
|
|
40
41
|
/**
|
|
@@ -76,14 +77,14 @@ export type Meta = Message<"metalstack.api.v2.Meta"> & {
|
|
|
76
77
|
*
|
|
77
78
|
* @generated from field: optional metalstack.api.v2.Labels labels = 1;
|
|
78
79
|
*/
|
|
79
|
-
labels?: Labels;
|
|
80
|
+
labels?: Labels | undefined;
|
|
80
81
|
|
|
81
82
|
/**
|
|
82
83
|
* CreatedAt is the date when this entity was created
|
|
83
84
|
*
|
|
84
85
|
* @generated from field: google.protobuf.Timestamp created_at = 2;
|
|
85
86
|
*/
|
|
86
|
-
createdAt?: Timestamp;
|
|
87
|
+
createdAt?: Timestamp | undefined;
|
|
87
88
|
|
|
88
89
|
/**
|
|
89
90
|
* UpdatedAt is the date when this entity was updated
|
|
@@ -91,7 +92,7 @@ export type Meta = Message<"metalstack.api.v2.Meta"> & {
|
|
|
91
92
|
*
|
|
92
93
|
* @generated from field: google.protobuf.Timestamp updated_at = 3;
|
|
93
94
|
*/
|
|
94
|
-
updatedAt?: Timestamp;
|
|
95
|
+
updatedAt?: Timestamp | undefined;
|
|
95
96
|
|
|
96
97
|
/**
|
|
97
98
|
* Generation identifies how often this entity was modified since creation.
|
|
@@ -119,7 +120,7 @@ export type UpdateLabels = Message<"metalstack.api.v2.UpdateLabels"> & {
|
|
|
119
120
|
*
|
|
120
121
|
* @generated from field: metalstack.api.v2.Labels update = 1;
|
|
121
122
|
*/
|
|
122
|
-
update?: Labels;
|
|
123
|
+
update?: Labels | undefined;
|
|
123
124
|
|
|
124
125
|
/**
|
|
125
126
|
* Remove labels by key
|
|
@@ -148,7 +149,7 @@ export type UpdateMeta = Message<"metalstack.api.v2.UpdateMeta"> & {
|
|
|
148
149
|
*
|
|
149
150
|
* @generated from field: google.protobuf.Timestamp updated_at = 1;
|
|
150
151
|
*/
|
|
151
|
-
updatedAt?: Timestamp;
|
|
152
|
+
updatedAt?: Timestamp | undefined;
|
|
152
153
|
|
|
153
154
|
/**
|
|
154
155
|
* LockingStrategy to be used for this update request
|
|
@@ -381,9 +382,9 @@ export enum Visibility {
|
|
|
381
382
|
/**
|
|
382
383
|
* VISIBILITY_SELF enable call this endpoint from the authenticated user only
|
|
383
384
|
*
|
|
384
|
-
* @generated from enum value: VISIBILITY_SELF =
|
|
385
|
+
* @generated from enum value: VISIBILITY_SELF = 2;
|
|
385
386
|
*/
|
|
386
|
-
SELF =
|
|
387
|
+
SELF = 2,
|
|
387
388
|
}
|
|
388
389
|
|
|
389
390
|
/**
|