@airtop/sdk 0.1.5 → 0.1.6

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.
Files changed (64) hide show
  1. package/api/resources/profiles/client/Client.js +4 -4
  2. package/api/resources/sessions/client/Client.js +10 -10
  3. package/api/resources/windows/client/Client.d.ts +34 -0
  4. package/api/resources/windows/client/Client.js +203 -16
  5. package/api/resources/windows/client/requests/SessionClickHandlerRequestBody.d.ts +25 -0
  6. package/api/resources/windows/client/requests/SessionClickHandlerRequestBody.js +5 -0
  7. package/api/resources/windows/client/requests/SessionHoverHandlerRequestBody.d.ts +23 -0
  8. package/api/resources/windows/client/requests/SessionHoverHandlerRequestBody.js +5 -0
  9. package/api/resources/windows/client/requests/SessionTypeHandlerRequestBody.d.ts +29 -0
  10. package/api/resources/windows/client/requests/SessionTypeHandlerRequestBody.js +5 -0
  11. package/api/resources/windows/client/requests/index.d.ts +3 -0
  12. package/api/types/ClickConfig.d.ts +4 -0
  13. package/api/types/ClickConfig.js +5 -0
  14. package/api/types/CustomProxy.d.ts +1 -1
  15. package/api/types/SessionConfigV1Proxy.d.ts +4 -1
  16. package/api/types/index.d.ts +1 -0
  17. package/api/types/index.js +1 -0
  18. package/dist/api/resources/profiles/client/Client.js +4 -4
  19. package/dist/api/resources/sessions/client/Client.js +10 -10
  20. package/dist/api/resources/windows/client/Client.d.ts +34 -0
  21. package/dist/api/resources/windows/client/Client.js +203 -16
  22. package/dist/api/resources/windows/client/requests/SessionClickHandlerRequestBody.d.ts +25 -0
  23. package/dist/api/resources/windows/client/requests/SessionClickHandlerRequestBody.js +5 -0
  24. package/dist/api/resources/windows/client/requests/SessionHoverHandlerRequestBody.d.ts +23 -0
  25. package/dist/api/resources/windows/client/requests/SessionHoverHandlerRequestBody.js +5 -0
  26. package/dist/api/resources/windows/client/requests/SessionTypeHandlerRequestBody.d.ts +29 -0
  27. package/dist/api/resources/windows/client/requests/SessionTypeHandlerRequestBody.js +5 -0
  28. package/dist/api/resources/windows/client/requests/index.d.ts +3 -0
  29. package/dist/api/types/ClickConfig.d.ts +4 -0
  30. package/dist/api/types/ClickConfig.js +5 -0
  31. package/dist/api/types/CustomProxy.d.ts +1 -1
  32. package/dist/api/types/SessionConfigV1Proxy.d.ts +4 -1
  33. package/dist/api/types/index.d.ts +1 -0
  34. package/dist/api/types/index.js +1 -0
  35. package/dist/serialization/resources/windows/client/requests/SessionClickHandlerRequestBody.d.ts +17 -0
  36. package/dist/serialization/resources/windows/client/requests/SessionClickHandlerRequestBody.js +38 -0
  37. package/dist/serialization/resources/windows/client/requests/SessionHoverHandlerRequestBody.d.ts +17 -0
  38. package/dist/serialization/resources/windows/client/requests/SessionHoverHandlerRequestBody.js +38 -0
  39. package/dist/serialization/resources/windows/client/requests/SessionTypeHandlerRequestBody.d.ts +19 -0
  40. package/dist/serialization/resources/windows/client/requests/SessionTypeHandlerRequestBody.js +40 -0
  41. package/dist/serialization/resources/windows/client/requests/index.d.ts +3 -0
  42. package/dist/serialization/resources/windows/client/requests/index.js +7 -1
  43. package/dist/serialization/types/ClickConfig.d.ts +10 -0
  44. package/dist/serialization/types/ClickConfig.js +31 -0
  45. package/dist/serialization/types/SessionConfigV1Proxy.d.ts +1 -1
  46. package/dist/serialization/types/SessionConfigV1Proxy.js +5 -1
  47. package/dist/serialization/types/index.d.ts +1 -0
  48. package/dist/serialization/types/index.js +1 -0
  49. package/package.json +1 -1
  50. package/reference.md +196 -0
  51. package/serialization/resources/windows/client/requests/SessionClickHandlerRequestBody.d.ts +17 -0
  52. package/serialization/resources/windows/client/requests/SessionClickHandlerRequestBody.js +38 -0
  53. package/serialization/resources/windows/client/requests/SessionHoverHandlerRequestBody.d.ts +17 -0
  54. package/serialization/resources/windows/client/requests/SessionHoverHandlerRequestBody.js +38 -0
  55. package/serialization/resources/windows/client/requests/SessionTypeHandlerRequestBody.d.ts +19 -0
  56. package/serialization/resources/windows/client/requests/SessionTypeHandlerRequestBody.js +40 -0
  57. package/serialization/resources/windows/client/requests/index.d.ts +3 -0
  58. package/serialization/resources/windows/client/requests/index.js +7 -1
  59. package/serialization/types/ClickConfig.d.ts +10 -0
  60. package/serialization/types/ClickConfig.js +31 -0
  61. package/serialization/types/SessionConfigV1Proxy.d.ts +1 -1
  62. package/serialization/types/SessionConfigV1Proxy.js +5 -1
  63. package/serialization/types/index.d.ts +1 -0
  64. package/serialization/types/index.js +1 -0
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.ClickConfig = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ exports.ClickConfig = core.serialization.record(core.serialization.string(), core.serialization.unknown());
@@ -8,5 +8,5 @@ import { CustomProxy } from "./CustomProxy";
8
8
  import { SessionConfigV1ProxyItem } from "./SessionConfigV1ProxyItem";
9
9
  export declare const SessionConfigV1Proxy: core.serialization.Schema<serializers.SessionConfigV1Proxy.Raw, Airtop.SessionConfigV1Proxy>;
10
10
  export declare namespace SessionConfigV1Proxy {
11
- type Raw = CustomProxy.Raw | SessionConfigV1ProxyItem.Raw[];
11
+ type Raw = boolean | CustomProxy.Raw | SessionConfigV1ProxyItem.Raw[];
12
12
  }
@@ -30,4 +30,8 @@ exports.SessionConfigV1Proxy = void 0;
30
30
  const core = __importStar(require("../../core"));
31
31
  const CustomProxy_1 = require("./CustomProxy");
32
32
  const SessionConfigV1ProxyItem_1 = require("./SessionConfigV1ProxyItem");
33
- exports.SessionConfigV1Proxy = core.serialization.undiscriminatedUnion([CustomProxy_1.CustomProxy, core.serialization.list(SessionConfigV1ProxyItem_1.SessionConfigV1ProxyItem)]);
33
+ exports.SessionConfigV1Proxy = core.serialization.undiscriminatedUnion([
34
+ core.serialization.boolean(),
35
+ CustomProxy_1.CustomProxy,
36
+ core.serialization.list(SessionConfigV1ProxyItem_1.SessionConfigV1ProxyItem),
37
+ ]);
@@ -1,5 +1,6 @@
1
1
  export * from "./AiPromptResponse";
2
2
  export * from "./AiResponseEnvelope";
3
+ export * from "./ClickConfig";
3
4
  export * from "./ClientProvidedResponseMetadata";
4
5
  export * from "./EmptyResponse";
5
6
  export * from "./EmptyResponseJson";
@@ -16,6 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./AiPromptResponse"), exports);
18
18
  __exportStar(require("./AiResponseEnvelope"), exports);
19
+ __exportStar(require("./ClickConfig"), exports);
19
20
  __exportStar(require("./ClientProvidedResponseMetadata"), exports);
20
21
  __exportStar(require("./EmptyResponse"), exports);
21
22
  __exportStar(require("./EmptyResponseJson"), exports);