notte-sdk 1.10.21 → 1.10.22

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.js CHANGED
@@ -193,6 +193,9 @@ __export(index_exports, {
193
193
  profileDuplicate: () => profileDuplicate,
194
194
  profileGet: () => profileGet,
195
195
  profileList: () => profileList,
196
+ profileSessionConfigDelete: () => profileSessionConfigDelete,
197
+ profileSessionConfigGet: () => profileSessionConfigGet,
198
+ profileSessionConfigSet: () => profileSessionConfigSet,
196
199
  profileStateSet: () => profileStateSet,
197
200
  readCookiesFile: () => readCookiesFile,
198
201
  readyCheck: () => readyCheck,
@@ -252,7 +255,7 @@ __export(index_exports, {
252
255
  module.exports = __toCommonJS(index_exports);
253
256
 
254
257
  // src/version.ts
255
- var SDK_VERSION = true ? "1.10.21" : "dev";
258
+ var SDK_VERSION = true ? "1.10.22" : "dev";
256
259
  var SDK_PACKAGE_NAME = true ? "notte-sdk" : "notte-sdk";
257
260
 
258
261
  // src/version-check.ts
@@ -1698,6 +1701,25 @@ var profileStateSet = (options) => (options.client ?? client).post({
1698
1701
  ...options.headers
1699
1702
  }
1700
1703
  });
1704
+ var profileSessionConfigDelete = (options) => (options.client ?? client).delete({
1705
+ security: [{ scheme: "bearer", type: "http" }],
1706
+ url: "/profiles/{profile_id}/session-config",
1707
+ ...options
1708
+ });
1709
+ var profileSessionConfigGet = (options) => (options.client ?? client).get({
1710
+ security: [{ scheme: "bearer", type: "http" }],
1711
+ url: "/profiles/{profile_id}/session-config",
1712
+ ...options
1713
+ });
1714
+ var profileSessionConfigSet = (options) => (options.client ?? client).put({
1715
+ security: [{ scheme: "bearer", type: "http" }],
1716
+ url: "/profiles/{profile_id}/session-config",
1717
+ ...options,
1718
+ headers: {
1719
+ "Content-Type": "application/json",
1720
+ ...options.headers
1721
+ }
1722
+ });
1701
1723
  var profileList = (options) => (options?.client ?? client).get({
1702
1724
  security: [{ scheme: "bearer", type: "http" }],
1703
1725
  url: "/profiles",
@@ -2904,6 +2926,21 @@ function createResources(client2, getApiKey) {
2904
2926
  const response = await profileList({ client: client2, throwOnError: true, signal: requestOptions.signal, headers: { ...requestOptions.headers }, query });
2905
2927
  return response.data;
2906
2928
  },
2929
+ /** profileSessionConfigDelete: /profiles/{profile_id}/session-config. Returns the API response body. */
2930
+ sessionConfigDelete: async (profileId, requestOptions = {}) => {
2931
+ const response = await profileSessionConfigDelete({ client: client2, throwOnError: true, signal: requestOptions.signal, headers: { ...requestOptions.headers }, path: { "profile_id": profileId } });
2932
+ return response.data;
2933
+ },
2934
+ /** profileSessionConfigGet: /profiles/{profile_id}/session-config. Returns the API response body. */
2935
+ sessionConfigGet: async (profileId, requestOptions = {}) => {
2936
+ const response = await profileSessionConfigGet({ client: client2, throwOnError: true, signal: requestOptions.signal, headers: { ...requestOptions.headers }, path: { "profile_id": profileId } });
2937
+ return response.data;
2938
+ },
2939
+ /** profileSessionConfigSet: /profiles/{profile_id}/session-config. Returns the API response body. */
2940
+ sessionConfigSet: async (profileId, body, requestOptions = {}) => {
2941
+ const response = await profileSessionConfigSet({ client: client2, throwOnError: true, signal: requestOptions.signal, headers: { ...requestOptions.headers }, path: { "profile_id": profileId }, body });
2942
+ return response.data;
2943
+ },
2907
2944
  /** profileStateSet: /profiles/{profile_id}/state. Returns the API response body. */
2908
2945
  stateSet: async (profileId, body, requestOptions = {}) => {
2909
2946
  const response = await profileStateSet({ client: client2, throwOnError: true, signal: requestOptions.signal, headers: { ...requestOptions.headers }, path: { "profile_id": profileId }, body });
@@ -6911,6 +6948,9 @@ var wait = builder("wait");
6911
6948
  var pressKey = builder("press_key");
6912
6949
  var scrollUp = builder("scroll_up");
6913
6950
  var scrollDown = builder("scroll_down");
6951
+ var mouseClick = builder("mouse_click");
6952
+ var mouseMove = builder("mouse_move");
6953
+ var mouseDrag = builder("mouse_drag");
6914
6954
  var captchaSolve = builder("captcha_solve");
6915
6955
  var help = builder("help");
6916
6956
  var completion = builder("completion");
@@ -6940,6 +6980,9 @@ var actions = {
6940
6980
  pressKey,
6941
6981
  scrollUp,
6942
6982
  scrollDown,
6983
+ mouseClick,
6984
+ mouseMove,
6985
+ mouseDrag,
6943
6986
  captchaSolve,
6944
6987
  help,
6945
6988
  completion,
@@ -7148,6 +7191,9 @@ var createClient2 = (config) => {
7148
7191
  profileDuplicate,
7149
7192
  profileGet,
7150
7193
  profileList,
7194
+ profileSessionConfigDelete,
7195
+ profileSessionConfigGet,
7196
+ profileSessionConfigSet,
7151
7197
  profileStateSet,
7152
7198
  readCookiesFile,
7153
7199
  readyCheck,