@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,114 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* Generated by Nebius TS generator. DO NOT EDIT! */
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.MigrateSkypilotRequest = void 0;
|
|
5
|
+
const index_js_1 = require("../../../../../runtime/protos/index.js");
|
|
6
|
+
const util_1 = require("util");
|
|
7
|
+
const protobuf_js_1 = require("../../../../protobuf.js");
|
|
8
|
+
const logging_js_1 = require("../../../../../runtime/util/logging.js");
|
|
9
|
+
const __deprecatedWarned = new Set();
|
|
10
|
+
const MigrateSkypilotRequest_MESSAGE_DESCRIPTOR = {
|
|
11
|
+
fields: {
|
|
12
|
+
"id": { pbName: "id", scalarType: 9 },
|
|
13
|
+
},
|
|
14
|
+
};
|
|
15
|
+
/** Encodes, decodes, converts, and creates {@link MigrateSkypilotRequest} messages. */
|
|
16
|
+
exports.MigrateSkypilotRequest = {
|
|
17
|
+
$type: "nebius.msp.skypilot.v1alpha1.MigrateSkypilotRequest",
|
|
18
|
+
$descriptor: MigrateSkypilotRequest_MESSAGE_DESCRIPTOR,
|
|
19
|
+
encode(message, writer = new index_js_1.BinaryWriter()) {
|
|
20
|
+
if (message.id !== "") {
|
|
21
|
+
writer.uint32(10).string(message.id);
|
|
22
|
+
}
|
|
23
|
+
if (message[index_js_1.unknownFieldsSymbol]) {
|
|
24
|
+
writer.raw(message[index_js_1.unknownFieldsSymbol]);
|
|
25
|
+
}
|
|
26
|
+
return writer;
|
|
27
|
+
},
|
|
28
|
+
decode(input, length) {
|
|
29
|
+
const reader = input instanceof index_js_1.BinaryReader ? input : new index_js_1.BinaryReader(input);
|
|
30
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
31
|
+
const message = createBaseMigrateSkypilotRequest();
|
|
32
|
+
let writer = undefined;
|
|
33
|
+
while (reader.pos < end) {
|
|
34
|
+
const tag = reader.uint32();
|
|
35
|
+
switch (tag >>> 3) {
|
|
36
|
+
case 1: {
|
|
37
|
+
if (tag !== 10)
|
|
38
|
+
break;
|
|
39
|
+
message.id = reader.string();
|
|
40
|
+
continue;
|
|
41
|
+
}
|
|
42
|
+
default:
|
|
43
|
+
break;
|
|
44
|
+
}
|
|
45
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
46
|
+
break;
|
|
47
|
+
}
|
|
48
|
+
{
|
|
49
|
+
if (!writer)
|
|
50
|
+
writer = new index_js_1.BinaryWriter();
|
|
51
|
+
const skipped = reader.skip(tag & 7, tag >>> 3);
|
|
52
|
+
writer.uint32(tag).raw(skipped);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
if (writer) {
|
|
56
|
+
message[index_js_1.unknownFieldsSymbol] = writer.finish();
|
|
57
|
+
}
|
|
58
|
+
return message;
|
|
59
|
+
},
|
|
60
|
+
fromJSON(object) {
|
|
61
|
+
return applyMigrateSkypilotRequestCustom({
|
|
62
|
+
$type: "nebius.msp.skypilot.v1alpha1.MigrateSkypilotRequest",
|
|
63
|
+
id: (0, index_js_1.isSet)(object.id ?? object.id)
|
|
64
|
+
? String(object.id ?? object.id)
|
|
65
|
+
: "",
|
|
66
|
+
});
|
|
67
|
+
},
|
|
68
|
+
toJSON(message, use = "json") {
|
|
69
|
+
const obj = {};
|
|
70
|
+
const pick = (json, pb) => (use === "json" ? json : pb);
|
|
71
|
+
if (message.id !== "") {
|
|
72
|
+
obj[pick("id", "id")] = message.id;
|
|
73
|
+
}
|
|
74
|
+
return obj;
|
|
75
|
+
},
|
|
76
|
+
create(base) {
|
|
77
|
+
return exports.MigrateSkypilotRequest.fromPartial(base ?? {});
|
|
78
|
+
},
|
|
79
|
+
fromPartial(object) {
|
|
80
|
+
const message = createBaseMigrateSkypilotRequest();
|
|
81
|
+
message.id = (object.id !== undefined && object.id !== null)
|
|
82
|
+
? object.id
|
|
83
|
+
: "";
|
|
84
|
+
return message;
|
|
85
|
+
},
|
|
86
|
+
};
|
|
87
|
+
protobuf_js_1.protoRegistry.registerMessage(exports.MigrateSkypilotRequest);
|
|
88
|
+
function MigrateSkypilotRequestCustomInspect() {
|
|
89
|
+
const parts = [];
|
|
90
|
+
if (this.id !== "")
|
|
91
|
+
parts.push("id" + "=" + (0, util_1.inspect)(this.id));
|
|
92
|
+
return `${this.$type}(${parts.join(", ")})`;
|
|
93
|
+
}
|
|
94
|
+
function MigrateSkypilotRequestCustomJson() {
|
|
95
|
+
const obj = {
|
|
96
|
+
type: this.$type,
|
|
97
|
+
};
|
|
98
|
+
if (this.id !== "")
|
|
99
|
+
obj.id = (0, logging_js_1.inspectJson)(this.id);
|
|
100
|
+
return obj;
|
|
101
|
+
}
|
|
102
|
+
function applyMigrateSkypilotRequestCustom(message) {
|
|
103
|
+
message[logging_js_1.custom] = MigrateSkypilotRequestCustomInspect;
|
|
104
|
+
message[logging_js_1.customJson] = MigrateSkypilotRequestCustomJson;
|
|
105
|
+
return (0, index_js_1.attachMessageDescriptor)(message, exports.MigrateSkypilotRequest.$descriptor);
|
|
106
|
+
}
|
|
107
|
+
function createBaseMigrateSkypilotRequest() {
|
|
108
|
+
const message = {
|
|
109
|
+
$type: "nebius.msp.skypilot.v1alpha1.MigrateSkypilotRequest",
|
|
110
|
+
id: "",
|
|
111
|
+
};
|
|
112
|
+
return applyMigrateSkypilotRequestCustom(message);
|
|
113
|
+
}
|
|
114
|
+
//# 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,qEAAiO;AACjO,+BAA+B;AAC/B,yDAAwD;AAExD,uEAAyG;AAGzG,MAAM,kBAAkB,GAAG,IAAI,GAAG,EAAU,CAAC;AAoB7C,MAAM,yCAAyC,GAAsB;IACnE,MAA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AAgC,CAAC;IACvD,OAAO,IAAA,kCAAuB,EAAC,OAAO,EAAE,8BAAsB,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';
|
package/dist/cjs/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/cjs/version.js
CHANGED
|
@@ -3851,7 +3851,9 @@ export interface SamlSettings {
|
|
|
3851
3851
|
*/
|
|
3852
3852
|
ssoUrl: string;
|
|
3853
3853
|
/**
|
|
3854
|
-
*
|
|
3854
|
+
* If true, the SAML AuthnRequest asks the identity provider to authenticate the user instead of reusing an existing IdP session. (See
|
|
3855
|
+
* SAML Core 2.0, section 3.4.1, ForceAuthn: https://docs.oasis-open.org/security/saml/v2.0/saml-core-2.0-os.pdf) Limitations: the SAML
|
|
3856
|
+
* response does not let verify whether the identity provider honored this request; support depends on the identity provider.
|
|
3855
3857
|
*
|
|
3856
3858
|
*/
|
|
3857
3859
|
forceAuthn: boolean;
|