@lansweeper/integrations-limit-checker-grpc 0.1.4 → 0.2.2
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/CHANGELOG.md +30 -0
- package/gen-proto/image.json +1 -1
- package/gen-proto/index.d.ts +2 -2
- package/gen-proto/limit_checker_api_grpc_pb.d.ts +5 -4
- package/gen-proto/limit_checker_api_grpc_pb.js +1 -1
- package/gen-proto/limit_checker_api_pb.d.ts +3 -2
- package/gen-proto/limit_checker_api_pb.js +34 -1
- package/package.json +4 -4
- package/proto/limit_checker_api.proto +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,36 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [0.2.2](https://github.com/Lansweeper/lansweeperapis/compare/@lansweeper/integrations-limit-checker-grpc@0.2.1...@lansweeper/integrations-limit-checker-grpc@0.2.2) (2021-05-24)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @lansweeper/integrations-limit-checker-grpc
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [0.2.1](https://github.com/Lansweeper/lansweeperapis/compare/@lansweeper/integrations-limit-checker-grpc@0.2.0...@lansweeper/integrations-limit-checker-grpc@0.2.1) (2020-10-14)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
* force grpc publish ([15c8fda](https://github.com/Lansweeper/lansweeperapis/commit/15c8fda8893aee7040e92b74c7211b10262ed02b))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [0.2.0](https://github.com/Lansweeper/lansweeperapis/compare/@lansweeper/integrations-limit-checker-grpc@0.1.4...@lansweeper/integrations-limit-checker-grpc@0.2.0) (2020-10-13)
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
### Features
|
|
29
|
+
|
|
30
|
+
* add traceId to integrations protos ([e468f7b](https://github.com/Lansweeper/lansweeperapis/commit/e468f7b35680d87e2b27083fb8b664c7a6becc7f))
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
6
36
|
## [0.1.4](https://github.com/Lansweeper/lansweeperapis/compare/@lansweeper/integrations-limit-checker-grpc@0.1.3...@lansweeper/integrations-limit-checker-grpc@0.1.4) (2020-08-25)
|
|
7
37
|
|
|
8
38
|
**Note:** Version bump only for package @lansweeper/integrations-limit-checker-grpc
|
package/gen-proto/image.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":[{"name":"limit_checker_api.proto","package":"lansweeper.integrationslimitchecker.v1","messageType":[{"name":"ExportStatusLimitCheckerRequest","field":[{"name":"appId","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"appId"}]},{"name":"ExportStatusLimitCheckerResponse","field":[{"name":"message","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"message"}]}],"service":[{"name":"IntegrationsLimitChecker","method":[{"name":"ExportStatusLimitChecker","inputType":".lansweeper.integrationslimitchecker.v1.ExportStatusLimitCheckerRequest","outputType":".lansweeper.integrationslimitchecker.v1.ExportStatusLimitCheckerResponse","options":{}}]}],"sourceCodeInfo":{"location":[{"span":[0,0,
|
|
1
|
+
{"file":[{"name":"limit_checker_api.proto","package":"lansweeper.integrationslimitchecker.v1","messageType":[{"name":"ExportStatusLimitCheckerRequest","field":[{"name":"appId","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"appId"},{"name":"traceId","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"traceId"}]},{"name":"ExportStatusLimitCheckerResponse","field":[{"name":"message","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"message"}]}],"service":[{"name":"IntegrationsLimitChecker","method":[{"name":"ExportStatusLimitChecker","inputType":".lansweeper.integrationslimitchecker.v1.ExportStatusLimitCheckerRequest","outputType":".lansweeper.integrationslimitchecker.v1.ExportStatusLimitCheckerResponse","options":{}}]}],"sourceCodeInfo":{"location":[{"span":[0,0,15,1]},{"path":[12],"span":[0,0,18]},{"path":[2],"span":[2,0,47]},{"path":[4,0],"span":[4,0,7,1]},{"path":[4,0,1],"span":[4,8,39]},{"path":[4,0,2,0],"span":[5,2,19]},{"path":[4,0,2,0,5],"span":[5,2,8]},{"path":[4,0,2,0,1],"span":[5,9,14]},{"path":[4,0,2,0,3],"span":[5,17,18]},{"path":[4,0,2,1],"span":[6,2,21]},{"path":[4,0,2,1,5],"span":[6,2,8]},{"path":[4,0,2,1,1],"span":[6,9,16]},{"path":[4,0,2,1,3],"span":[6,19,20]},{"path":[4,1],"span":[9,0,11,1]},{"path":[4,1,1],"span":[9,8,40]},{"path":[4,1,2,0],"span":[10,2,21]},{"path":[4,1,2,0,5],"span":[10,2,8]},{"path":[4,1,2,0,1],"span":[10,9,16]},{"path":[4,1,2,0,3],"span":[10,19,20]},{"path":[6,0],"span":[13,0,15,1]},{"path":[6,0,1],"span":[13,8,32]},{"path":[6,0,2,0],"span":[14,2,110]},{"path":[6,0,2,0,1],"span":[14,6,30]},{"path":[6,0,2,0,2],"span":[14,32,63]},{"path":[6,0,2,0,3],"span":[14,74,106]}]},"syntax":"proto3"}],"bufbuildImageExtension":{}}
|
package/gen-proto/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from "./limit_checker_api_grpc_pb";
|
|
2
|
-
export * from "./limit_checker_api_pb";
|
|
1
|
+
export * from "./limit_checker_api_grpc_pb.d";
|
|
2
|
+
export * from "./limit_checker_api_pb.d";
|
|
@@ -4,7 +4,8 @@
|
|
|
4
4
|
/* tslint:disable */
|
|
5
5
|
/* eslint-disable */
|
|
6
6
|
|
|
7
|
-
import * as grpc from "grpc";
|
|
7
|
+
import * as grpc from "@grpc/grpc-js";
|
|
8
|
+
import {handleClientStreamingCall} from "@grpc/grpc-js/build/src/server-call";
|
|
8
9
|
import * as limit_checker_api_pb from "./limit_checker_api_pb";
|
|
9
10
|
|
|
10
11
|
interface IIntegrationsLimitCheckerService extends grpc.ServiceDefinition<grpc.UntypedServiceImplementation> {
|
|
@@ -12,7 +13,7 @@ interface IIntegrationsLimitCheckerService extends grpc.ServiceDefinition<grpc.U
|
|
|
12
13
|
}
|
|
13
14
|
|
|
14
15
|
interface IIntegrationsLimitCheckerService_IExportStatusLimitChecker extends grpc.MethodDefinition<limit_checker_api_pb.ExportStatusLimitCheckerRequest, limit_checker_api_pb.ExportStatusLimitCheckerResponse> {
|
|
15
|
-
path:
|
|
16
|
+
path: "/lansweeper.integrationslimitchecker.v1.IntegrationsLimitChecker/ExportStatusLimitChecker";
|
|
16
17
|
requestStream: false;
|
|
17
18
|
responseStream: false;
|
|
18
19
|
requestSerialize: grpc.serialize<limit_checker_api_pb.ExportStatusLimitCheckerRequest>;
|
|
@@ -23,7 +24,7 @@ interface IIntegrationsLimitCheckerService_IExportStatusLimitChecker extends grp
|
|
|
23
24
|
|
|
24
25
|
export const IntegrationsLimitCheckerService: IIntegrationsLimitCheckerService;
|
|
25
26
|
|
|
26
|
-
export interface IIntegrationsLimitCheckerServer {
|
|
27
|
+
export interface IIntegrationsLimitCheckerServer extends grpc.UntypedServiceImplementation {
|
|
27
28
|
exportStatusLimitChecker: grpc.handleUnaryCall<limit_checker_api_pb.ExportStatusLimitCheckerRequest, limit_checker_api_pb.ExportStatusLimitCheckerResponse>;
|
|
28
29
|
}
|
|
29
30
|
|
|
@@ -34,7 +35,7 @@ export interface IIntegrationsLimitCheckerClient {
|
|
|
34
35
|
}
|
|
35
36
|
|
|
36
37
|
export class IntegrationsLimitCheckerClient extends grpc.Client implements IIntegrationsLimitCheckerClient {
|
|
37
|
-
constructor(address: string, credentials: grpc.ChannelCredentials, options?:
|
|
38
|
+
constructor(address: string, credentials: grpc.ChannelCredentials, options?: Partial<grpc.ClientOptions>);
|
|
38
39
|
public exportStatusLimitChecker(request: limit_checker_api_pb.ExportStatusLimitCheckerRequest, callback: (error: grpc.ServiceError | null, response: limit_checker_api_pb.ExportStatusLimitCheckerResponse) => void): grpc.ClientUnaryCall;
|
|
39
40
|
public exportStatusLimitChecker(request: limit_checker_api_pb.ExportStatusLimitCheckerRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: limit_checker_api_pb.ExportStatusLimitCheckerResponse) => void): grpc.ClientUnaryCall;
|
|
40
41
|
public exportStatusLimitChecker(request: limit_checker_api_pb.ExportStatusLimitCheckerRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: limit_checker_api_pb.ExportStatusLimitCheckerResponse) => void): grpc.ClientUnaryCall;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// GENERATED CODE -- DO NOT EDIT!
|
|
2
2
|
|
|
3
3
|
'use strict';
|
|
4
|
-
var grpc = require('grpc');
|
|
4
|
+
var grpc = require('@grpc/grpc-js');
|
|
5
5
|
var limit_checker_api_pb = require('./limit_checker_api_pb.js');
|
|
6
6
|
|
|
7
7
|
function serialize_lansweeper_integrationslimitchecker_v1_ExportStatusLimitCheckerRequest(arg) {
|
|
@@ -9,7 +9,8 @@ import * as jspb from "google-protobuf";
|
|
|
9
9
|
export class ExportStatusLimitCheckerRequest extends jspb.Message {
|
|
10
10
|
getAppid(): string;
|
|
11
11
|
setAppid(value: string): ExportStatusLimitCheckerRequest;
|
|
12
|
-
|
|
12
|
+
getTraceid(): string;
|
|
13
|
+
setTraceid(value: string): ExportStatusLimitCheckerRequest;
|
|
13
14
|
|
|
14
15
|
serializeBinary(): Uint8Array;
|
|
15
16
|
toObject(includeInstance?: boolean): ExportStatusLimitCheckerRequest.AsObject;
|
|
@@ -24,6 +25,7 @@ export class ExportStatusLimitCheckerRequest extends jspb.Message {
|
|
|
24
25
|
export namespace ExportStatusLimitCheckerRequest {
|
|
25
26
|
export type AsObject = {
|
|
26
27
|
appid: string,
|
|
28
|
+
traceid: string,
|
|
27
29
|
}
|
|
28
30
|
}
|
|
29
31
|
|
|
@@ -31,7 +33,6 @@ export class ExportStatusLimitCheckerResponse extends jspb.Message {
|
|
|
31
33
|
getMessage(): string;
|
|
32
34
|
setMessage(value: string): ExportStatusLimitCheckerResponse;
|
|
33
35
|
|
|
34
|
-
|
|
35
36
|
serializeBinary(): Uint8Array;
|
|
36
37
|
toObject(includeInstance?: boolean): ExportStatusLimitCheckerResponse.AsObject;
|
|
37
38
|
static toObject(includeInstance: boolean, msg: ExportStatusLimitCheckerResponse): ExportStatusLimitCheckerResponse.AsObject;
|
|
@@ -2,11 +2,14 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* @fileoverview
|
|
4
4
|
* @enhanceable
|
|
5
|
+
* @suppress {missingRequire} reports error on implicit type usages.
|
|
5
6
|
* @suppress {messageConventions} JS Compiler reports an error if a variable or
|
|
6
7
|
* field starts with 'MSG_' and isn't a translatable message.
|
|
7
8
|
* @public
|
|
8
9
|
*/
|
|
9
10
|
// GENERATED CODE -- DO NOT EDIT!
|
|
11
|
+
/* eslint-disable */
|
|
12
|
+
// @ts-nocheck
|
|
10
13
|
|
|
11
14
|
var jspb = require('google-protobuf');
|
|
12
15
|
var goog = jspb;
|
|
@@ -88,7 +91,8 @@ proto.lansweeper.integrationslimitchecker.v1.ExportStatusLimitCheckerRequest.pro
|
|
|
88
91
|
*/
|
|
89
92
|
proto.lansweeper.integrationslimitchecker.v1.ExportStatusLimitCheckerRequest.toObject = function(includeInstance, msg) {
|
|
90
93
|
var f, obj = {
|
|
91
|
-
appid: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
94
|
+
appid: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
95
|
+
traceid: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
92
96
|
};
|
|
93
97
|
|
|
94
98
|
if (includeInstance) {
|
|
@@ -129,6 +133,10 @@ proto.lansweeper.integrationslimitchecker.v1.ExportStatusLimitCheckerRequest.des
|
|
|
129
133
|
var value = /** @type {string} */ (reader.readString());
|
|
130
134
|
msg.setAppid(value);
|
|
131
135
|
break;
|
|
136
|
+
case 2:
|
|
137
|
+
var value = /** @type {string} */ (reader.readString());
|
|
138
|
+
msg.setTraceid(value);
|
|
139
|
+
break;
|
|
132
140
|
default:
|
|
133
141
|
reader.skipField();
|
|
134
142
|
break;
|
|
@@ -165,6 +173,13 @@ proto.lansweeper.integrationslimitchecker.v1.ExportStatusLimitCheckerRequest.ser
|
|
|
165
173
|
f
|
|
166
174
|
);
|
|
167
175
|
}
|
|
176
|
+
f = message.getTraceid();
|
|
177
|
+
if (f.length > 0) {
|
|
178
|
+
writer.writeString(
|
|
179
|
+
2,
|
|
180
|
+
f
|
|
181
|
+
);
|
|
182
|
+
}
|
|
168
183
|
};
|
|
169
184
|
|
|
170
185
|
|
|
@@ -186,6 +201,24 @@ proto.lansweeper.integrationslimitchecker.v1.ExportStatusLimitCheckerRequest.pro
|
|
|
186
201
|
};
|
|
187
202
|
|
|
188
203
|
|
|
204
|
+
/**
|
|
205
|
+
* optional string traceId = 2;
|
|
206
|
+
* @return {string}
|
|
207
|
+
*/
|
|
208
|
+
proto.lansweeper.integrationslimitchecker.v1.ExportStatusLimitCheckerRequest.prototype.getTraceid = function() {
|
|
209
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
210
|
+
};
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
/**
|
|
214
|
+
* @param {string} value
|
|
215
|
+
* @return {!proto.lansweeper.integrationslimitchecker.v1.ExportStatusLimitCheckerRequest} returns this
|
|
216
|
+
*/
|
|
217
|
+
proto.lansweeper.integrationslimitchecker.v1.ExportStatusLimitCheckerRequest.prototype.setTraceid = function(value) {
|
|
218
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
219
|
+
};
|
|
220
|
+
|
|
221
|
+
|
|
189
222
|
|
|
190
223
|
|
|
191
224
|
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lansweeper/integrations-limit-checker-grpc",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"main": "gen-proto/index.js",
|
|
5
5
|
"types": "gen-proto/index.d.ts",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"
|
|
9
|
-
"
|
|
8
|
+
"@grpc/grpc-js": "^1.3.2",
|
|
9
|
+
"google-protobuf": "^3.17.0"
|
|
10
10
|
},
|
|
11
|
-
"gitHead": "
|
|
11
|
+
"gitHead": "f2b029a2de060d0bded7b42ed6caacc44f3ebd45"
|
|
12
12
|
}
|
|
@@ -4,6 +4,7 @@ package lansweeper.integrationslimitchecker.v1;
|
|
|
4
4
|
|
|
5
5
|
message ExportStatusLimitCheckerRequest {
|
|
6
6
|
string appId = 1;
|
|
7
|
+
string traceId = 2;
|
|
7
8
|
}
|
|
8
9
|
|
|
9
10
|
message ExportStatusLimitCheckerResponse {
|
|
@@ -12,4 +13,4 @@ message ExportStatusLimitCheckerResponse {
|
|
|
12
13
|
|
|
13
14
|
service IntegrationsLimitChecker {
|
|
14
15
|
rpc ExportStatusLimitChecker (ExportStatusLimitCheckerRequest) returns (ExportStatusLimitCheckerResponse) {}
|
|
15
|
-
}
|
|
16
|
+
}
|