@ornncompute/cli 1.0.126 → 1.0.127
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
|
@@ -350,6 +350,12 @@ function getCliSession(request) {
|
|
|
350
350
|
function revokeCliSession(request) {
|
|
351
351
|
return request("/v1/cli/session", { method: "DELETE" });
|
|
352
352
|
}
|
|
353
|
+
function getTermsConsent(fetcher) {
|
|
354
|
+
return fetcher("/v1/auth/terms", { method: "GET", cache: "no-store" });
|
|
355
|
+
}
|
|
356
|
+
function acceptTermsConsent(fetcher, body) {
|
|
357
|
+
return fetcher("/v1/auth/terms", post(body));
|
|
358
|
+
}
|
|
353
359
|
|
|
354
360
|
// ../../packages/api-client/dist/authorization/mcp.js
|
|
355
361
|
function getMcpApplication(fetcher, clientId) {
|
|
@@ -410,6 +416,7 @@ function stopStaffImpersonation(fetcher) {
|
|
|
410
416
|
}
|
|
411
417
|
export {
|
|
412
418
|
acceptInvite,
|
|
419
|
+
acceptTermsConsent,
|
|
413
420
|
addStaffOrganizationMember,
|
|
414
421
|
approveCliDeviceAuthorization,
|
|
415
422
|
approveSupplierApplicationFromSlack,
|
|
@@ -441,6 +448,7 @@ export {
|
|
|
441
448
|
getOrganizationMembership,
|
|
442
449
|
getPersonAvatar,
|
|
443
450
|
getStaffOrganization,
|
|
451
|
+
getTermsConsent,
|
|
444
452
|
getUserPreferences,
|
|
445
453
|
getUserProfile,
|
|
446
454
|
inviteRedeemPath,
|