@ornncompute/cli 1.0.213 → 1.0.215
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/package.json
CHANGED
|
@@ -293,6 +293,12 @@ function getShowback(request, input, signal) {
|
|
|
293
293
|
function getBillingContact(request, signal) {
|
|
294
294
|
return request("/commerce/billing/contact", { method: "GET", signal });
|
|
295
295
|
}
|
|
296
|
+
function setBillingContact(request, input) {
|
|
297
|
+
return request("/commerce/billing/contact", {
|
|
298
|
+
method: "PUT",
|
|
299
|
+
body: input
|
|
300
|
+
});
|
|
301
|
+
}
|
|
296
302
|
function getBillingPaymentMethod(request, signal) {
|
|
297
303
|
return request("/commerce/billing/payment-method", {
|
|
298
304
|
method: "GET",
|
|
@@ -1390,6 +1396,7 @@ export {
|
|
|
1390
1396
|
reviewSupplierIntakeSubmission,
|
|
1391
1397
|
revokeControlplaneLicense,
|
|
1392
1398
|
revokeSupplierIntakeLink,
|
|
1399
|
+
setBillingContact,
|
|
1393
1400
|
setBillingPaymentMethod,
|
|
1394
1401
|
setReservationDisk,
|
|
1395
1402
|
signOffComputeDealFinancials,
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
// ../../packages/api-client/dist/gateway/support.js
|
|
2
|
-
function listSupportThreads(request, status) {
|
|
3
|
-
return request(`/v1/support/threads?status=${encodeURIComponent(status)}`, {
|
|
4
|
-
method: "GET"
|
|
2
|
+
function listSupportThreads(request, status, options) {
|
|
3
|
+
return request(`/v1/support/threads?status=${encodeURIComponent(status)}${options?.after ? `&after=${encodeURIComponent(options.after)}` : ""}`, {
|
|
4
|
+
method: "GET",
|
|
5
|
+
signal: options?.signal
|
|
5
6
|
});
|
|
6
7
|
}
|
|
7
|
-
function getSupportThread(request, id) {
|
|
8
|
+
function getSupportThread(request, id, signal) {
|
|
8
9
|
return request(`/v1/support/threads/${encodeURIComponent(id)}`, {
|
|
9
|
-
method: "GET"
|
|
10
|
+
method: "GET",
|
|
11
|
+
signal
|
|
10
12
|
});
|
|
11
13
|
}
|
|
12
14
|
function createSupportThread(request, body) {
|
|
@@ -45,6 +47,20 @@ function linkPylonIssue(request, id, body) {
|
|
|
45
47
|
function createPylonIssue(request, body) {
|
|
46
48
|
return request("/v1/staff/support/issues", { method: "POST", body });
|
|
47
49
|
}
|
|
50
|
+
function resolveSupportThread(request, id) {
|
|
51
|
+
return request(`/v1/support/threads/${encodeURIComponent(id)}`, {
|
|
52
|
+
method: "PATCH",
|
|
53
|
+
body: { status: "done" }
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
function uploadSupportAttachment(request, file) {
|
|
57
|
+
const body = new FormData();
|
|
58
|
+
body.append("file", file);
|
|
59
|
+
return request("/v1/support/attachments", {
|
|
60
|
+
method: "POST",
|
|
61
|
+
body
|
|
62
|
+
});
|
|
63
|
+
}
|
|
48
64
|
|
|
49
65
|
// ../../packages/api-client/dist/gateway/supplier-intake.js
|
|
50
66
|
function exchangeSupplierIntakeAccess(fetcher, init = {}) {
|
|
@@ -250,11 +266,13 @@ export {
|
|
|
250
266
|
releaseSupplierIntakeEditor,
|
|
251
267
|
removeStaffReservationKey,
|
|
252
268
|
replySupportThread,
|
|
269
|
+
resolveSupportThread,
|
|
253
270
|
revokeStaffOrganizationKey,
|
|
254
271
|
searchSupportIssues,
|
|
255
272
|
submitSupplierIntake,
|
|
256
273
|
teardownReservationCluster,
|
|
257
274
|
transferStaffReservation,
|
|
258
275
|
updateSupplierIntakeDraft,
|
|
259
|
-
uploadSupplierIntakeDocument
|
|
276
|
+
uploadSupplierIntakeDocument,
|
|
277
|
+
uploadSupportAttachment
|
|
260
278
|
};
|