@nebius/js-sdk 0.2.19 → 0.2.20
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/dist/cjs/api/nebius/vpc/v1/index.d.ts +7 -0
- package/dist/cjs/api/nebius/vpc/v1/index.d.ts.map +1 -1
- package/dist/cjs/api/nebius/vpc/v1/index.js +23 -0
- package/dist/cjs/api/nebius/vpc/v1/index.js.map +1 -1
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/api/nebius/vpc/v1/index.d.ts +7 -0
- package/dist/esm/api/nebius/vpc/v1/index.d.ts.map +1 -1
- package/dist/esm/api/nebius/vpc/v1/index.js +23 -0
- package/dist/esm/api/nebius/vpc/v1/index.js.map +1 -1
- package/dist/esm/version.d.ts +1 -1
- package/dist/esm/version.js +1 -1
- package/package.json +1 -1
|
@@ -9799,6 +9799,9 @@ export const RouteStatus = {
|
|
|
9799
9799
|
if ((message.type ?? RouteStatus_Type.TYPE_UNSPECIFIED) !== RouteStatus_Type.TYPE_UNSPECIFIED) {
|
|
9800
9800
|
RouteStatus_Type.encodeField(writer, 3, message.type);
|
|
9801
9801
|
}
|
|
9802
|
+
if ((message.priority ?? 0) !== 0) {
|
|
9803
|
+
writer.uint32(32).int32(message.priority);
|
|
9804
|
+
}
|
|
9802
9805
|
if (message[unknownFieldsSymbol]) {
|
|
9803
9806
|
writer.raw(message[unknownFieldsSymbol]);
|
|
9804
9807
|
}
|
|
@@ -9830,6 +9833,12 @@ export const RouteStatus = {
|
|
|
9830
9833
|
message.type = RouteStatus_Type.fromNumber(reader.int32());
|
|
9831
9834
|
continue;
|
|
9832
9835
|
}
|
|
9836
|
+
case 4: {
|
|
9837
|
+
if (tag !== 32)
|
|
9838
|
+
break;
|
|
9839
|
+
message.priority = reader.int32();
|
|
9840
|
+
continue;
|
|
9841
|
+
}
|
|
9833
9842
|
default:
|
|
9834
9843
|
break;
|
|
9835
9844
|
}
|
|
@@ -9860,6 +9869,9 @@ export const RouteStatus = {
|
|
|
9860
9869
|
type: isSet(object.type ?? object.type)
|
|
9861
9870
|
? RouteStatus_Type.fromJSON(object.type ?? object.type)
|
|
9862
9871
|
: RouteStatus_Type.TYPE_UNSPECIFIED,
|
|
9872
|
+
priority: isSet(object.priority ?? object.priority)
|
|
9873
|
+
? Number(object.priority ?? object.priority)
|
|
9874
|
+
: 0,
|
|
9863
9875
|
});
|
|
9864
9876
|
},
|
|
9865
9877
|
toJSON(message, use = "json") {
|
|
@@ -9876,6 +9888,9 @@ export const RouteStatus = {
|
|
|
9876
9888
|
if ((message.type ?? RouteStatus_Type.TYPE_UNSPECIFIED) !== RouteStatus_Type.TYPE_UNSPECIFIED) {
|
|
9877
9889
|
obj[pick("type", "type")] = RouteStatus_Type.toJSON(message.type);
|
|
9878
9890
|
}
|
|
9891
|
+
if ((message.priority ?? 0) !== 0) {
|
|
9892
|
+
obj[pick("priority", "priority")] = message.priority;
|
|
9893
|
+
}
|
|
9879
9894
|
return obj;
|
|
9880
9895
|
},
|
|
9881
9896
|
create(base) {
|
|
@@ -9892,6 +9907,9 @@ export const RouteStatus = {
|
|
|
9892
9907
|
message.type = (object.type !== undefined && object.type !== null)
|
|
9893
9908
|
? RouteStatus_Type.fromJSON(object.type.name)
|
|
9894
9909
|
: RouteStatus_Type.TYPE_UNSPECIFIED;
|
|
9910
|
+
message.priority = (object.priority !== undefined && object.priority !== null)
|
|
9911
|
+
? object.priority
|
|
9912
|
+
: 0;
|
|
9895
9913
|
return message;
|
|
9896
9914
|
},
|
|
9897
9915
|
};
|
|
@@ -9904,6 +9922,8 @@ function RouteStatusCustomInspect() {
|
|
|
9904
9922
|
parts.push("nextHop" + "=" + inspect(this.nextHop));
|
|
9905
9923
|
if (this.type !== undefined)
|
|
9906
9924
|
parts.push("type" + "=" + inspect(this.type));
|
|
9925
|
+
if ((this.priority ?? 0) !== 0)
|
|
9926
|
+
parts.push("priority" + "=" + inspect(this.priority));
|
|
9907
9927
|
return `${this.$type}(${parts.join(", ")})`;
|
|
9908
9928
|
}
|
|
9909
9929
|
function RouteStatusCustomJson() {
|
|
@@ -9916,6 +9936,8 @@ function RouteStatusCustomJson() {
|
|
|
9916
9936
|
obj.nextHop = inspectJson(this.nextHop);
|
|
9917
9937
|
if (this.type !== undefined)
|
|
9918
9938
|
obj.type = inspectJson(this.type);
|
|
9939
|
+
if ((this.priority ?? 0) !== 0)
|
|
9940
|
+
obj.priority = inspectJson(this.priority);
|
|
9919
9941
|
return obj;
|
|
9920
9942
|
}
|
|
9921
9943
|
function applyRouteStatusCustom(message) {
|
|
@@ -9929,6 +9951,7 @@ function createBaseRouteStatus() {
|
|
|
9929
9951
|
state: RouteStatus_State.STATE_UNSPECIFIED,
|
|
9930
9952
|
nextHop: undefined,
|
|
9931
9953
|
type: RouteStatus_Type.TYPE_UNSPECIFIED,
|
|
9954
|
+
priority: 0,
|
|
9932
9955
|
};
|
|
9933
9956
|
return applyRouteStatusCustom(message);
|
|
9934
9957
|
}
|