notte-sdk 1.10.22 → 1.10.23
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/index.d.mts +449 -12
- package/dist/index.d.ts +449 -12
- package/dist/index.js +48 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +42 -2
- package/dist/index.mjs.map +1 -1
- package/dist/proxy/core.js +12 -0
- package/dist/proxy/core.js.map +1 -1
- package/dist/proxy/core.mjs +12 -0
- package/dist/proxy/core.mjs.map +1 -1
- package/dist/proxy/next.js +12 -0
- package/dist/proxy/next.js.map +1 -1
- package/dist/proxy/next.mjs +12 -0
- package/dist/proxy/next.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// src/version.ts
|
|
2
|
-
var SDK_VERSION = true ? "1.10.
|
|
2
|
+
var SDK_VERSION = true ? "1.10.23" : "dev";
|
|
3
3
|
var SDK_PACKAGE_NAME = true ? "notte-sdk" : "notte-sdk";
|
|
4
4
|
|
|
5
5
|
// src/version-check.ts
|
|
@@ -1115,6 +1115,26 @@ var downloadSessionFile = (options) => (options.client ?? client).get({
|
|
|
1115
1115
|
url: "/sessions/{session_id}/files/{file_id}",
|
|
1116
1116
|
...options
|
|
1117
1117
|
});
|
|
1118
|
+
var listShares = (options) => (options.client ?? client).get({
|
|
1119
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1120
|
+
url: "/sessions/{session_id}/shares",
|
|
1121
|
+
...options
|
|
1122
|
+
});
|
|
1123
|
+
var createShare = (options) => (options.client ?? client).post({
|
|
1124
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1125
|
+
url: "/sessions/{session_id}/shares",
|
|
1126
|
+
...options,
|
|
1127
|
+
headers: {
|
|
1128
|
+
"Content-Type": "application/json",
|
|
1129
|
+
...options.headers
|
|
1130
|
+
}
|
|
1131
|
+
});
|
|
1132
|
+
var revokeShare = (options) => (options.client ?? client).delete({
|
|
1133
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1134
|
+
url: "/sessions/{session_id}/shares/{share_id}",
|
|
1135
|
+
...options
|
|
1136
|
+
});
|
|
1137
|
+
var sharedSession = (options) => (options.client ?? client).get({ url: "/session-shares/view", ...options });
|
|
1118
1138
|
var functionRuntimeHealth = (options) => (options?.client ?? client).get({
|
|
1119
1139
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1120
1140
|
url: "/functions/health",
|
|
@@ -1394,6 +1414,20 @@ var getPayment = (options) => (options.client ?? client).get({
|
|
|
1394
1414
|
url: "/payments/{payment_id}",
|
|
1395
1415
|
...options
|
|
1396
1416
|
});
|
|
1417
|
+
var managedCheckoutRunStart = (options) => (options.client ?? client).post({
|
|
1418
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1419
|
+
url: "/managed-checkout/runs",
|
|
1420
|
+
...options,
|
|
1421
|
+
headers: {
|
|
1422
|
+
"Content-Type": "application/json",
|
|
1423
|
+
...options.headers
|
|
1424
|
+
}
|
|
1425
|
+
});
|
|
1426
|
+
var managedCheckoutRunRead = (options) => (options.client ?? client).get({
|
|
1427
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1428
|
+
url: "/managed-checkout/runs/{run_id}",
|
|
1429
|
+
...options
|
|
1430
|
+
});
|
|
1397
1431
|
var profileCreate = (options) => (options.client ?? client).post({
|
|
1398
1432
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1399
1433
|
url: "/profiles/create",
|
|
@@ -3286,7 +3320,7 @@ function processScrapeResponse(scrapeResponse, options) {
|
|
|
3286
3320
|
}
|
|
3287
3321
|
|
|
3288
3322
|
// src/retry.ts
|
|
3289
|
-
var DEFAULT_MAX_RETRIES =
|
|
3323
|
+
var DEFAULT_MAX_RETRIES = 6;
|
|
3290
3324
|
var RETRY_BASE_DELAY_MS = 1e3;
|
|
3291
3325
|
var RETRY_MAX_DELAY_MS = 1e4;
|
|
3292
3326
|
var RETRY_AFTER_MAX_MS = 2e4;
|
|
@@ -6839,6 +6873,7 @@ export {
|
|
|
6839
6873
|
createClient2 as createClient,
|
|
6840
6874
|
createOrAppendCookiesToFile,
|
|
6841
6875
|
createPayment,
|
|
6876
|
+
createShare,
|
|
6842
6877
|
creditUsage,
|
|
6843
6878
|
NotteClient3 as default,
|
|
6844
6879
|
deleteSecret,
|
|
@@ -6900,6 +6935,7 @@ export {
|
|
|
6900
6935
|
listSecrets,
|
|
6901
6936
|
listSessionFiles,
|
|
6902
6937
|
listSessions,
|
|
6938
|
+
listShares,
|
|
6903
6939
|
listVaults,
|
|
6904
6940
|
mailboxConnectToken,
|
|
6905
6941
|
mailboxDelete,
|
|
@@ -6908,6 +6944,8 @@ export {
|
|
|
6908
6944
|
mailboxSync,
|
|
6909
6945
|
mailboxUpdate,
|
|
6910
6946
|
managedAuthConnectLinkCreate,
|
|
6947
|
+
managedCheckoutRunRead,
|
|
6948
|
+
managedCheckoutRunStart,
|
|
6911
6949
|
mapsSearch,
|
|
6912
6950
|
newsSearch,
|
|
6913
6951
|
observeServerOwnedDialog,
|
|
@@ -6949,6 +6987,7 @@ export {
|
|
|
6949
6987
|
retrieveRun,
|
|
6950
6988
|
retry2 as retry,
|
|
6951
6989
|
retry as retryWebhookDelivery,
|
|
6990
|
+
revokeShare,
|
|
6952
6991
|
rotateSecret,
|
|
6953
6992
|
runNow,
|
|
6954
6993
|
runs,
|
|
@@ -6973,6 +7012,7 @@ export {
|
|
|
6973
7012
|
sessionStatus,
|
|
6974
7013
|
sessionSteps,
|
|
6975
7014
|
sessionStop,
|
|
7015
|
+
sharedSession,
|
|
6976
7016
|
startVersionCheck,
|
|
6977
7017
|
storeSecret,
|
|
6978
7018
|
styleguideEndpoint,
|