@nebius/js-sdk 0.2.48 → 0.2.49
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/iam/v1/index.d.ts +3 -1
- package/dist/cjs/api/nebius/iam/v1/index.d.ts.map +1 -1
- package/dist/cjs/api/nebius/iam/v1/index.js.map +1 -1
- package/dist/cjs/api/nebius/msp/skypilot/v1alpha1/index.d.ts +20 -0
- package/dist/cjs/api/nebius/msp/skypilot/v1alpha1/index.d.ts.map +1 -0
- package/dist/cjs/api/nebius/msp/skypilot/v1alpha1/index.js +114 -0
- package/dist/cjs/api/nebius/msp/skypilot/v1alpha1/index.js.map +1 -0
- package/dist/cjs/api/nebius/msp/skypilot/v1alpha1.d.ts +1 -0
- package/dist/cjs/api/nebius/msp/skypilot/v1alpha1.js +2 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/api/nebius/iam/v1/index.d.ts +3 -1
- package/dist/esm/api/nebius/iam/v1/index.d.ts.map +1 -1
- package/dist/esm/api/nebius/iam/v1/index.js.map +1 -1
- package/dist/esm/api/nebius/msp/skypilot/v1alpha1/index.d.ts +20 -0
- package/dist/esm/api/nebius/msp/skypilot/v1alpha1/index.d.ts.map +1 -0
- package/dist/esm/api/nebius/msp/skypilot/v1alpha1/index.js +111 -0
- package/dist/esm/api/nebius/msp/skypilot/v1alpha1/index.js.map +1 -0
- package/dist/esm/api/nebius/msp/skypilot/v1alpha1.d.ts +1 -0
- package/dist/esm/api/nebius/msp/skypilot/v1alpha1.js +1 -0
- package/dist/esm/version.d.ts +1 -1
- package/dist/esm/version.js +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { unknownFieldsSymbol } from "../../../../../runtime/protos/index.js";
|
|
2
|
+
import type { MessageFns } from "../../../../../runtime/protos/index.js";
|
|
3
|
+
import { customJson } from "../../../../../runtime/util/logging.js";
|
|
4
|
+
/** Represents the `nebius.msp.skypilot.v1alpha1.MigrateSkypilotRequest` protobuf message. */
|
|
5
|
+
export interface MigrateSkypilotRequest {
|
|
6
|
+
/** Contains the fully qualified protobuf type name. */
|
|
7
|
+
$type: "nebius.msp.skypilot.v1alpha1.MigrateSkypilotRequest";
|
|
8
|
+
/** Preserves protobuf fields that this SDK version does not recognize. */
|
|
9
|
+
[unknownFieldsSymbol]?: Uint8Array | undefined;
|
|
10
|
+
/** Returns a safe value for JSON logs. */
|
|
11
|
+
[customJson]?: () => unknown;
|
|
12
|
+
/**
|
|
13
|
+
* ID of the entity to migrate.
|
|
14
|
+
*
|
|
15
|
+
*/
|
|
16
|
+
id: string;
|
|
17
|
+
}
|
|
18
|
+
/** Encodes, decodes, converts, and creates {@link MigrateSkypilotRequest} messages. */
|
|
19
|
+
export declare const MigrateSkypilotRequest: MessageFns<MigrateSkypilotRequest, "nebius.msp.skypilot.v1alpha1.MigrateSkypilotRequest">;
|
|
20
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/api/nebius/msp/skypilot/v1alpha1/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAuJ,mBAAmB,EAAE,MAAM,wCAAwC,CAAA;AAGjO,OAAO,KAAK,EAAsC,UAAU,EAA2B,MAAM,wCAAwC,CAAC;AACtI,OAAO,EAA0B,UAAU,EAAe,MAAM,wCAAwC,CAAC;AAMzG,6FAA6F;AAC7F,MAAM,WAAW,sBAAsB;IACrC,uDAAuD;IACvD,KAAK,EAAE,qDAAqD,CAAC;IAC7D,0EAA0E;IAC1E,CAAC,mBAAmB,CAAC,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;IAG/C,0CAA0C;IAC1C,CAAC,UAAU,CAAC,CAAC,EAAE,MAAM,OAAO,CAAC;IAC7B;;;OAGG;IACH,EAAE,EAAE,MAAM,CAAC;CACZ;AAQD,uFAAuF;AACvF,eAAO,MAAM,sBAAsB,EAAE,UAAU,CAAC,sBAAsB,EAAE,qDAAqD,CAqE5H,CAAC"}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
/* Generated by Nebius TS generator. DO NOT EDIT! */
|
|
2
|
+
import { attachMessageDescriptor, BinaryReader, BinaryWriter, isSet, unknownFieldsSymbol } from "../../../../../runtime/protos/index.js";
|
|
3
|
+
import { inspect } from "util";
|
|
4
|
+
import { protoRegistry } from "../../../../protobuf.js";
|
|
5
|
+
import { custom, customJson, inspectJson } from "../../../../../runtime/util/logging.js";
|
|
6
|
+
const __deprecatedWarned = new Set();
|
|
7
|
+
const MigrateSkypilotRequest_MESSAGE_DESCRIPTOR = {
|
|
8
|
+
fields: {
|
|
9
|
+
"id": { pbName: "id", scalarType: 9 },
|
|
10
|
+
},
|
|
11
|
+
};
|
|
12
|
+
/** Encodes, decodes, converts, and creates {@link MigrateSkypilotRequest} messages. */
|
|
13
|
+
export const MigrateSkypilotRequest = {
|
|
14
|
+
$type: "nebius.msp.skypilot.v1alpha1.MigrateSkypilotRequest",
|
|
15
|
+
$descriptor: MigrateSkypilotRequest_MESSAGE_DESCRIPTOR,
|
|
16
|
+
encode(message, writer = new BinaryWriter()) {
|
|
17
|
+
if (message.id !== "") {
|
|
18
|
+
writer.uint32(10).string(message.id);
|
|
19
|
+
}
|
|
20
|
+
if (message[unknownFieldsSymbol]) {
|
|
21
|
+
writer.raw(message[unknownFieldsSymbol]);
|
|
22
|
+
}
|
|
23
|
+
return writer;
|
|
24
|
+
},
|
|
25
|
+
decode(input, length) {
|
|
26
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
27
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
28
|
+
const message = createBaseMigrateSkypilotRequest();
|
|
29
|
+
let writer = undefined;
|
|
30
|
+
while (reader.pos < end) {
|
|
31
|
+
const tag = reader.uint32();
|
|
32
|
+
switch (tag >>> 3) {
|
|
33
|
+
case 1: {
|
|
34
|
+
if (tag !== 10)
|
|
35
|
+
break;
|
|
36
|
+
message.id = reader.string();
|
|
37
|
+
continue;
|
|
38
|
+
}
|
|
39
|
+
default:
|
|
40
|
+
break;
|
|
41
|
+
}
|
|
42
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
43
|
+
break;
|
|
44
|
+
}
|
|
45
|
+
{
|
|
46
|
+
if (!writer)
|
|
47
|
+
writer = new BinaryWriter();
|
|
48
|
+
const skipped = reader.skip(tag & 7, tag >>> 3);
|
|
49
|
+
writer.uint32(tag).raw(skipped);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
if (writer) {
|
|
53
|
+
message[unknownFieldsSymbol] = writer.finish();
|
|
54
|
+
}
|
|
55
|
+
return message;
|
|
56
|
+
},
|
|
57
|
+
fromJSON(object) {
|
|
58
|
+
return applyMigrateSkypilotRequestCustom({
|
|
59
|
+
$type: "nebius.msp.skypilot.v1alpha1.MigrateSkypilotRequest",
|
|
60
|
+
id: isSet(object.id ?? object.id)
|
|
61
|
+
? String(object.id ?? object.id)
|
|
62
|
+
: "",
|
|
63
|
+
});
|
|
64
|
+
},
|
|
65
|
+
toJSON(message, use = "json") {
|
|
66
|
+
const obj = {};
|
|
67
|
+
const pick = (json, pb) => (use === "json" ? json : pb);
|
|
68
|
+
if (message.id !== "") {
|
|
69
|
+
obj[pick("id", "id")] = message.id;
|
|
70
|
+
}
|
|
71
|
+
return obj;
|
|
72
|
+
},
|
|
73
|
+
create(base) {
|
|
74
|
+
return MigrateSkypilotRequest.fromPartial(base ?? {});
|
|
75
|
+
},
|
|
76
|
+
fromPartial(object) {
|
|
77
|
+
const message = createBaseMigrateSkypilotRequest();
|
|
78
|
+
message.id = (object.id !== undefined && object.id !== null)
|
|
79
|
+
? object.id
|
|
80
|
+
: "";
|
|
81
|
+
return message;
|
|
82
|
+
},
|
|
83
|
+
};
|
|
84
|
+
protoRegistry.registerMessage(MigrateSkypilotRequest);
|
|
85
|
+
function MigrateSkypilotRequestCustomInspect() {
|
|
86
|
+
const parts = [];
|
|
87
|
+
if (this.id !== "")
|
|
88
|
+
parts.push("id" + "=" + inspect(this.id));
|
|
89
|
+
return `${this.$type}(${parts.join(", ")})`;
|
|
90
|
+
}
|
|
91
|
+
function MigrateSkypilotRequestCustomJson() {
|
|
92
|
+
const obj = {
|
|
93
|
+
type: this.$type,
|
|
94
|
+
};
|
|
95
|
+
if (this.id !== "")
|
|
96
|
+
obj.id = inspectJson(this.id);
|
|
97
|
+
return obj;
|
|
98
|
+
}
|
|
99
|
+
function applyMigrateSkypilotRequestCustom(message) {
|
|
100
|
+
message[custom] = MigrateSkypilotRequestCustomInspect;
|
|
101
|
+
message[customJson] = MigrateSkypilotRequestCustomJson;
|
|
102
|
+
return attachMessageDescriptor(message, MigrateSkypilotRequest.$descriptor);
|
|
103
|
+
}
|
|
104
|
+
function createBaseMigrateSkypilotRequest() {
|
|
105
|
+
const message = {
|
|
106
|
+
$type: "nebius.msp.skypilot.v1alpha1.MigrateSkypilotRequest",
|
|
107
|
+
id: "",
|
|
108
|
+
};
|
|
109
|
+
return applyMigrateSkypilotRequestCustom(message);
|
|
110
|
+
}
|
|
111
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/api/nebius/msp/skypilot/v1alpha1/index.ts"],"names":[],"mappings":"AAAA,oDAAoD;AAEpD,OAAO,EAAE,uBAAuB,EAAE,YAAY,EAAE,YAAY,EAAkC,KAAK,EAA2D,mBAAmB,EAAE,MAAM,wCAAwC,CAAA;AACjO,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAC/B,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAExD,OAAO,EAAkB,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAC;AAGzG,MAAM,kBAAkB,GAAG,IAAI,GAAG,EAAU,CAAC;AAoB7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,CAAC,GAAG,gCAAgC,CAAC;IACvD,OAAO,uBAAuB,CAAC,OAAO,EAAE,sBAAsB,CAAC,WAAW,CAAC,CAAC;AAC9E,CAAC;AAED,SAAS,gCAAgC;IACvC,MAAM,OAAO,GAA2B;QACtC,KAAK,EAAE,qDAAqD;QAC5D,EAAE,EAAE,EAAE;KACP,CAAC;IACF,OAAO,iCAAiC,CAAC,OAAO,CAAC,CAAC;AACpD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './v1alpha1/index.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './v1alpha1/index.js';
|
package/dist/esm/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.2.
|
|
1
|
+
export declare const VERSION = "0.2.49";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/dist/esm/version.js
CHANGED