@onkernel/sdk 0.69.0 → 0.71.0

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 (120) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/client.d.mts +11 -3
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +11 -3
  5. package/client.d.ts.map +1 -1
  6. package/client.js +6 -0
  7. package/client.js.map +1 -1
  8. package/client.mjs +6 -0
  9. package/client.mjs.map +1 -1
  10. package/core/pagination.d.mts +14 -0
  11. package/core/pagination.d.mts.map +1 -1
  12. package/core/pagination.d.ts +14 -0
  13. package/core/pagination.d.ts.map +1 -1
  14. package/core/pagination.js +32 -1
  15. package/core/pagination.js.map +1 -1
  16. package/core/pagination.mjs +30 -0
  17. package/core/pagination.mjs.map +1 -1
  18. package/lib/browser-routing.d.mts +1 -0
  19. package/lib/browser-routing.d.mts.map +1 -1
  20. package/lib/browser-routing.d.ts +1 -0
  21. package/lib/browser-routing.d.ts.map +1 -1
  22. package/lib/browser-routing.js +16 -3
  23. package/lib/browser-routing.js.map +1 -1
  24. package/lib/browser-routing.mjs +15 -3
  25. package/lib/browser-routing.mjs.map +1 -1
  26. package/package.json +1 -1
  27. package/resources/audit-logs.d.mts +102 -0
  28. package/resources/audit-logs.d.mts.map +1 -0
  29. package/resources/audit-logs.d.ts +102 -0
  30. package/resources/audit-logs.d.ts.map +1 -0
  31. package/resources/audit-logs.js +20 -0
  32. package/resources/audit-logs.js.map +1 -0
  33. package/resources/audit-logs.mjs +16 -0
  34. package/resources/audit-logs.mjs.map +1 -0
  35. package/resources/auth/auth.d.mts +2 -2
  36. package/resources/auth/auth.d.mts.map +1 -1
  37. package/resources/auth/auth.d.ts +2 -2
  38. package/resources/auth/auth.d.ts.map +1 -1
  39. package/resources/auth/auth.js.map +1 -1
  40. package/resources/auth/auth.mjs.map +1 -1
  41. package/resources/auth/connections.d.mts +80 -1
  42. package/resources/auth/connections.d.mts.map +1 -1
  43. package/resources/auth/connections.d.ts +80 -1
  44. package/resources/auth/connections.d.ts.map +1 -1
  45. package/resources/auth/connections.js +18 -0
  46. package/resources/auth/connections.js.map +1 -1
  47. package/resources/auth/connections.mjs +18 -0
  48. package/resources/auth/connections.mjs.map +1 -1
  49. package/resources/auth/index.d.mts +1 -1
  50. package/resources/auth/index.d.mts.map +1 -1
  51. package/resources/auth/index.d.ts +1 -1
  52. package/resources/auth/index.d.ts.map +1 -1
  53. package/resources/auth/index.js.map +1 -1
  54. package/resources/auth/index.mjs.map +1 -1
  55. package/resources/browser-pools.d.mts +18 -6
  56. package/resources/browser-pools.d.mts.map +1 -1
  57. package/resources/browser-pools.d.ts +18 -6
  58. package/resources/browser-pools.d.ts.map +1 -1
  59. package/resources/browsers/browsers.d.mts +2 -2
  60. package/resources/browsers/browsers.d.mts.map +1 -1
  61. package/resources/browsers/browsers.d.ts +2 -2
  62. package/resources/browsers/browsers.d.ts.map +1 -1
  63. package/resources/browsers/browsers.js.map +1 -1
  64. package/resources/browsers/browsers.mjs.map +1 -1
  65. package/resources/browsers/index.d.mts +1 -1
  66. package/resources/browsers/index.d.mts.map +1 -1
  67. package/resources/browsers/index.d.ts +1 -1
  68. package/resources/browsers/index.d.ts.map +1 -1
  69. package/resources/browsers/index.js.map +1 -1
  70. package/resources/browsers/index.mjs.map +1 -1
  71. package/resources/browsers/telemetry.d.mts +72 -4
  72. package/resources/browsers/telemetry.d.mts.map +1 -1
  73. package/resources/browsers/telemetry.d.ts +72 -4
  74. package/resources/browsers/telemetry.d.ts.map +1 -1
  75. package/resources/browsers/telemetry.js +24 -2
  76. package/resources/browsers/telemetry.js.map +1 -1
  77. package/resources/browsers/telemetry.mjs +24 -2
  78. package/resources/browsers/telemetry.mjs.map +1 -1
  79. package/resources/extensions.d.mts +37 -1
  80. package/resources/extensions.d.mts.map +1 -1
  81. package/resources/extensions.d.ts +37 -1
  82. package/resources/extensions.d.ts.map +1 -1
  83. package/resources/extensions.js +12 -0
  84. package/resources/extensions.js.map +1 -1
  85. package/resources/extensions.mjs +12 -0
  86. package/resources/extensions.mjs.map +1 -1
  87. package/resources/index.d.mts +2 -1
  88. package/resources/index.d.mts.map +1 -1
  89. package/resources/index.d.ts +2 -1
  90. package/resources/index.d.ts.map +1 -1
  91. package/resources/index.js +3 -1
  92. package/resources/index.js.map +1 -1
  93. package/resources/index.mjs +1 -0
  94. package/resources/index.mjs.map +1 -1
  95. package/resources/projects/projects.d.mts +1 -1
  96. package/resources/projects/projects.d.ts +1 -1
  97. package/resources/projects/projects.js +1 -1
  98. package/resources/projects/projects.mjs +1 -1
  99. package/resources/shared.d.mts +4 -4
  100. package/resources/shared.d.ts +4 -4
  101. package/src/client.ts +33 -1
  102. package/src/core/pagination.ts +56 -0
  103. package/src/lib/browser-routing.ts +17 -4
  104. package/src/resources/audit-logs.ts +135 -0
  105. package/src/resources/auth/auth.ts +6 -0
  106. package/src/resources/auth/connections.ts +114 -0
  107. package/src/resources/auth/index.ts +3 -0
  108. package/src/resources/browser-pools.ts +19 -6
  109. package/src/resources/browsers/browsers.ts +6 -0
  110. package/src/resources/browsers/index.ts +3 -0
  111. package/src/resources/browsers/telemetry.ts +105 -4
  112. package/src/resources/extensions.ts +45 -0
  113. package/src/resources/index.ts +7 -0
  114. package/src/resources/projects/projects.ts +1 -1
  115. package/src/resources/shared.ts +4 -4
  116. package/src/version.ts +1 -1
  117. package/version.d.mts +1 -1
  118. package/version.d.ts +1 -1
  119. package/version.js +1 -1
  120. package/version.mjs +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"extensions.mjs","sourceRoot":"","sources":["../src/resources/extensions.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAE/C,OAAO,EAAE,gBAAgB,EAA4C,+BAA2B;AAEhG,OAAO,EAAE,YAAY,EAAE,gCAA4B;AAEnD,OAAO,EAAE,2BAA2B,EAAE,gCAA4B;AAClE,OAAO,EAAE,IAAI,EAAE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CAAC,CAAC,EAAE,MAAM,EAAE,0BAA0B,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;YACjF,gBAAgB,EAAE,IAAI;SACvB,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;;OAcG;IACH,uBAAuB,CACrB,KAA6C,EAC7C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,+BAA+B,EAAE;YACvD,KAAK;YACL,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,0BAA0B,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;YACjF,gBAAgB,EAAE,IAAI;SACvB,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;OAQG;IACH,GAAG,CAAC,QAAgB,EAAE,OAAwB;QAC5C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,eAAe,QAAQ,WAAW,EAAE,OAAO,CAAC,CAAC;IAC3E,CAAC;IAED;;;;;;;;;;OAUG;IACH,MAAM,CAAC,IAA2B,EAAE,OAAwB;QAC1D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,aAAa,EAAE,2BAA2B,CAAC,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;IAC3G,CAAC;CACF"}
@@ -1,13 +1,14 @@
1
1
  export * from "./shared.mjs";
2
2
  export { APIKeys, type APIKey, type CreatedAPIKey, type APIKeyCreateParams, type APIKeyRetrieveParams, type APIKeyUpdateParams, type APIKeyListParams, type APIKeyRotateParams, type APIKeysOffsetPagination, } from "./api-keys.mjs";
3
3
  export { Apps, type AppListResponse, type AppListParams, type AppListResponsesOffsetPagination, } from "./apps.mjs";
4
+ export { AuditLogs, type AuditLogEntry, type AuditLogListParams, type AuditLogEntriesPageTokenPagination, } from "./audit-logs.mjs";
4
5
  export { Auth } from "./auth/auth.mjs";
5
6
  export { BrowserPools, type BrowserPool, type BrowserPoolAcquireResponse, type BrowserPoolCreateParams, type BrowserPoolUpdateParams, type BrowserPoolListParams, type BrowserPoolDeleteParams, type BrowserPoolAcquireParams, type BrowserPoolReleaseParams, type BrowserPoolsOffsetPagination, } from "./browser-pools.mjs";
6
7
  export { Browsers, type BrowserPoolRef, type BrowserUsage, type Profile, type Tags, type BrowserCreateResponse, type BrowserRetrieveResponse, type BrowserUpdateResponse, type BrowserListResponse, type BrowserCurlResponse, type BrowserCreateParams, type BrowserRetrieveParams, type BrowserUpdateParams, type BrowserListParams, type BrowserCurlParams, type BrowserLoadExtensionsParams, type ProfilesOffsetPagination, type BrowserListResponsesOffsetPagination, } from "./browsers/browsers.mjs";
7
8
  export { CredentialProviders, type CreateCredentialProviderRequest, type CredentialProvider, type CredentialProviderItem, type CredentialProviderTestResult, type UpdateCredentialProviderRequest, type CredentialProviderListItemsResponse, type CredentialProviderCreateParams, type CredentialProviderUpdateParams, type CredentialProviderListParams, type CredentialProvidersOffsetPagination, } from "./credential-providers.mjs";
8
9
  export { Credentials, type CreateCredentialRequest, type Credential, type UpdateCredentialRequest, type CredentialTotpCodeResponse, type CredentialCreateParams, type CredentialUpdateParams, type CredentialListParams, type CredentialsOffsetPagination, } from "./credentials.mjs";
9
10
  export { Deployments, type DeploymentStateEvent, type DeploymentCreateResponse, type DeploymentRetrieveResponse, type DeploymentListResponse, type DeploymentFollowResponse, type DeploymentCreateParams, type DeploymentListParams, type DeploymentFollowParams, type DeploymentListResponsesOffsetPagination, } from "./deployments.mjs";
10
- export { Extensions, type ExtensionListResponse, type ExtensionUploadResponse, type ExtensionListParams, type ExtensionDownloadFromChromeStoreParams, type ExtensionUploadParams, type ExtensionListResponsesOffsetPagination, } from "./extensions.mjs";
11
+ export { Extensions, type ExtensionListResponse, type ExtensionGetResponse, type ExtensionUploadResponse, type ExtensionListParams, type ExtensionDownloadFromChromeStoreParams, type ExtensionUploadParams, type ExtensionListResponsesOffsetPagination, } from "./extensions.mjs";
11
12
  export { Invocations, type InvocationStateEvent, type InvocationCreateResponse, type InvocationRetrieveResponse, type InvocationUpdateResponse, type InvocationListResponse, type InvocationFollowResponse, type InvocationListBrowsersResponse, type InvocationCreateParams, type InvocationUpdateParams, type InvocationListParams, type InvocationFollowParams, type InvocationListResponsesOffsetPagination, } from "./invocations.mjs";
12
13
  export { Organization } from "./organization/organization.mjs";
13
14
  export { Profiles, type ProfileCreateParams, type ProfileListParams } from "./profiles.mjs";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAEA,6BAAyB;AACzB,OAAO,EACL,OAAO,EACP,KAAK,MAAM,EACX,KAAK,aAAa,EAClB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,uBAAuB,GAC7B,uBAAmB;AACpB,OAAO,EACL,IAAI,EACJ,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,KAAK,gCAAgC,GACtC,mBAAe;AAChB,OAAO,EAAE,IAAI,EAAE,wBAAoB;AACnC,OAAO,EACL,YAAY,EACZ,KAAK,WAAW,EAChB,KAAK,0BAA0B,EAC/B,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,4BAA4B,GAClC,4BAAwB;AACzB,OAAO,EACL,QAAQ,EACR,KAAK,cAAc,EACnB,KAAK,YAAY,EACjB,KAAK,OAAO,EACZ,KAAK,IAAI,EACT,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACt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C,yBAAqB;AACtB,OAAO,EACL,WAAW,EACX,KAAK,oBAAoB,EACzB,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,8BAA8B,EACnC,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,uCAAuC,GAC7C,0BAAsB;AACvB,OAAO,EAAE,YAAY,EAAE,wCAAoC;AAC3D,OAAO,EAAE,QAAQ,EAAE,KAAK,mBAAmB,EAAE,KAAK,iBAAiB,EAAE,uBAAmB;AACxF,OAAO,EACL,QAAQ,EACR,KAAK,oBAAoB,EACzB,KAAK,OAAO,EACZ,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,wBAAwB,GAC9B,gCAA4B;AAC7B,OAAO,EACL,OAAO,EACP,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,kCAAkC,GACxC,sBAAkB"}
@@ -1,13 +1,14 @@
1
1
  export * from "./shared.js";
2
2
  export { APIKeys, type APIKey, type CreatedAPIKey, type APIKeyCreateParams, type APIKeyRetrieveParams, type APIKeyUpdateParams, type APIKeyListParams, type APIKeyRotateParams, type APIKeysOffsetPagination, } from "./api-keys.js";
3
3
  export { Apps, type AppListResponse, type AppListParams, type AppListResponsesOffsetPagination, } from "./apps.js";
4
+ export { AuditLogs, type AuditLogEntry, type AuditLogListParams, type AuditLogEntriesPageTokenPagination, } from "./audit-logs.js";
4
5
  export { Auth } from "./auth/auth.js";
5
6
  export { BrowserPools, type BrowserPool, type BrowserPoolAcquireResponse, type BrowserPoolCreateParams, type BrowserPoolUpdateParams, type BrowserPoolListParams, type BrowserPoolDeleteParams, type BrowserPoolAcquireParams, type BrowserPoolReleaseParams, type BrowserPoolsOffsetPagination, } from "./browser-pools.js";
6
7
  export { Browsers, type BrowserPoolRef, type BrowserUsage, type Profile, type Tags, type BrowserCreateResponse, type BrowserRetrieveResponse, type BrowserUpdateResponse, type BrowserListResponse, type BrowserCurlResponse, type BrowserCreateParams, type BrowserRetrieveParams, type BrowserUpdateParams, type BrowserListParams, type BrowserCurlParams, type BrowserLoadExtensionsParams, type ProfilesOffsetPagination, type BrowserListResponsesOffsetPagination, } from "./browsers/browsers.js";
7
8
  export { CredentialProviders, type CreateCredentialProviderRequest, type CredentialProvider, type CredentialProviderItem, type CredentialProviderTestResult, type UpdateCredentialProviderRequest, type CredentialProviderListItemsResponse, type CredentialProviderCreateParams, type CredentialProviderUpdateParams, type CredentialProviderListParams, type CredentialProvidersOffsetPagination, } from "./credential-providers.js";
8
9
  export { Credentials, type CreateCredentialRequest, type Credential, type UpdateCredentialRequest, type CredentialTotpCodeResponse, type CredentialCreateParams, type CredentialUpdateParams, type CredentialListParams, type CredentialsOffsetPagination, } from "./credentials.js";
9
10
  export { Deployments, type DeploymentStateEvent, type DeploymentCreateResponse, type DeploymentRetrieveResponse, type DeploymentListResponse, type DeploymentFollowResponse, type DeploymentCreateParams, type DeploymentListParams, type DeploymentFollowParams, type DeploymentListResponsesOffsetPagination, } from "./deployments.js";
10
- export { Extensions, type ExtensionListResponse, type ExtensionUploadResponse, type ExtensionListParams, type ExtensionDownloadFromChromeStoreParams, type ExtensionUploadParams, type ExtensionListResponsesOffsetPagination, } from "./extensions.js";
11
+ export { Extensions, type ExtensionListResponse, type ExtensionGetResponse, type ExtensionUploadResponse, type ExtensionListParams, type ExtensionDownloadFromChromeStoreParams, type ExtensionUploadParams, type ExtensionListResponsesOffsetPagination, } from "./extensions.js";
11
12
  export { Invocations, type InvocationStateEvent, type InvocationCreateResponse, type InvocationRetrieveResponse, type InvocationUpdateResponse, type InvocationListResponse, type InvocationFollowResponse, type InvocationListBrowsersResponse, type InvocationCreateParams, type InvocationUpdateParams, type InvocationListParams, type InvocationFollowParams, type InvocationListResponsesOffsetPagination, } from "./invocations.js";
12
13
  export { Organization } from "./organization/organization.js";
13
14
  export { Profiles, type ProfileCreateParams, type ProfileListParams } from "./profiles.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAEA,4BAAyB;AACzB,OAAO,EACL,OAAO,EACP,KAAK,MAAM,EACX,KAAK,aAAa,EAClB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,uBAAuB,GAC7B,sBAAmB;AACpB,OAAO,EACL,IAAI,EACJ,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,KAAK,gCAAgC,GACtC,kBAAe;AAChB,OAAO,EAAE,IAAI,EAAE,uBAAoB;AACnC,OAAO,EACL,YAAY,EACZ,KAAK,WAAW,EAChB,KAAK,0BAA0B,EAC/B,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,4BAA4B,GAClC,2BAAwB;AACzB,OAAO,EACL,QAAQ,EACR,KAAK,cAAc,EACnB,KAAK,YAAY,EACjB,KAAK,OAAO,EACZ,KAAK,IAAI,EACT,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,2BAA2B,EAChC,KAAK,wBAAwB,EAC7B,KAAK,oCAAoC,GAC1C,+BAA4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K,iBAAiB,EAAE,sBAAmB;AACxF,OAAO,EACL,QAAQ,EACR,KAAK,oBAAoB,EACzB,KAAK,OAAO,EACZ,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,wBAAwB,GAC9B,+BAA4B;AAC7B,OAAO,EACL,OAAO,EACP,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,kCAAkC,GACxC,qBAAkB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAEA,4BAAyB;AACzB,OAAO,EACL,OAAO,EACP,KAAK,MAAM,EACX,KAAK,aAAa,EAClB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,uBAAuB,GAC7B,sBAAmB;AACpB,OAAO,EACL,IAAI,EACJ,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,KAAK,gCAAgC,GACtC,kBAAe;AAChB,OAAO,EACL,SAAS,EACT,KAAK,aAAa,EAClB,KAAK,kBAAkB,EACvB,KAAK,kCAAkC,GACxC,wBAAqB;AACtB,OAAO,EAAE,IAAI,EAAE,uBAAoB;AACnC,OAAO,EACL,YAAY,EACZ,KAAK,WAAW,EAChB,KAAK,0BAA0B,EAC/B,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,4BAA4B,GAClC,2BAAwB;AACzB,OAAO,EACL,QAAQ,EACR,KAAK,cAAc,EACnB,KAAK,YAAY,EACjB,KAAK,OAAO,EACZ,KAAK,IAAI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B,EAC/B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,8BAA8B,EACnC,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,uCAAuC,GAC7C,yBAAsB;AACvB,OAAO,EAAE,YAAY,EAAE,uCAAoC;AAC3D,OAAO,EAAE,QAAQ,EAAE,KAAK,mBAAmB,EAAE,KAAK,iBAAiB,EAAE,sBAAmB;AACxF,OAAO,EACL,QAAQ,EACR,KAAK,oBAAoB,EACzB,KAAK,OAAO,EACZ,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,wBAAwB,GAC9B,+BAA4B;AAC7B,OAAO,EACL,OAAO,EACP,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,kCAAkC,GACxC,qBAAkB"}
@@ -1,13 +1,15 @@
1
1
  "use strict";
2
2
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.Proxies = exports.Projects = exports.Profiles = exports.Organization = exports.Invocations = exports.Extensions = exports.Deployments = exports.Credentials = exports.CredentialProviders = exports.Browsers = exports.BrowserPools = exports.Auth = exports.Apps = exports.APIKeys = void 0;
4
+ exports.Proxies = exports.Projects = exports.Profiles = exports.Organization = exports.Invocations = exports.Extensions = exports.Deployments = exports.Credentials = exports.CredentialProviders = exports.Browsers = exports.BrowserPools = exports.Auth = exports.AuditLogs = exports.Apps = exports.APIKeys = void 0;
5
5
  const tslib_1 = require("../internal/tslib.js");
6
6
  tslib_1.__exportStar(require("./shared.js"), exports);
7
7
  var api_keys_1 = require("./api-keys.js");
8
8
  Object.defineProperty(exports, "APIKeys", { enumerable: true, get: function () { return api_keys_1.APIKeys; } });
9
9
  var apps_1 = require("./apps.js");
10
10
  Object.defineProperty(exports, "Apps", { enumerable: true, get: function () { return apps_1.Apps; } });
11
+ var audit_logs_1 = require("./audit-logs.js");
12
+ Object.defineProperty(exports, "AuditLogs", { enumerable: true, get: function () { return audit_logs_1.AuditLogs; } });
11
13
  var auth_1 = require("./auth/auth.js");
12
14
  Object.defineProperty(exports, "Auth", { enumerable: true, get: function () { return auth_1.Auth; } });
13
15
  var browser_pools_1 = require("./browser-pools.js");
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,sDAAyB;AACzB,0CAUoB;AATlB,mGAAA,OAAO,OAAA;AAUT,kCAKgB;AAJd,4FAAA,IAAI,OAAA;AAKN,uCAAmC;AAA1B,4FAAA,IAAI,OAAA;AACb,oDAWyB;AAVvB,6GAAA,YAAY,OAAA;AAWd,mDAmB6B;AAlB3B,oGAAA,QAAQ,OAAA;AAmBV,kEAYgC;AAX9B,2HAAA,mBAAmB,OAAA;AAYrB,gDAUuB;AATrB,0GAAA,WAAW,OAAA;AAUb,gDAWuB;AAVrB,0GAAA,WAAW,OAAA;AAWb,8CAQsB;AAPpB,wGAAA,UAAU,OAAA;AAQZ,gDAcuB;AAbrB,0GAAA,WAAW,OAAA;AAcb,+DAA2D;AAAlD,4GAAA,YAAY,OAAA;AACrB,0CAAwF;AAA/E,oGAAA,QAAQ,OAAA;AACjB,mDAS6B;AAR3B,oGAAA,QAAQ,OAAA;AASV,wCAUmB;AATjB,kGAAA,OAAO,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,sDAAyB;AACzB,0CAUoB;AATlB,mGAAA,OAAO,OAAA;AAUT,kCAKgB;AAJd,4FAAA,IAAI,OAAA;AAKN,8CAKsB;AAJpB,uGAAA,SAAS,OAAA;AAKX,uCAAmC;AAA1B,4FAAA,IAAI,OAAA;AACb,oDAWyB;AAVvB,6GAAA,YAAY,OAAA;AAWd,mDAmB6B;AAlB3B,oGAAA,QAAQ,OAAA;AAmBV,kEAYgC;AAX9B,2HAAA,mBAAmB,OAAA;AAYrB,gDAUuB;AATrB,0GAAA,WAAW,OAAA;AAUb,gDAWuB;AAVrB,0GAAA,WAAW,OAAA;AAWb,8CASsB;AARpB,wGAAA,UAAU,OAAA;AASZ,gDAcuB;AAbrB,0GAAA,WAAW,OAAA;AAcb,+DAA2D;AAAlD,4GAAA,YAAY,OAAA;AACrB,0CAAwF;AAA/E,oGAAA,QAAQ,OAAA;AACjB,mDAS6B;AAR3B,oGAAA,QAAQ,OAAA;AASV,wCAUmB;AATjB,kGAAA,OAAO,OAAA"}
@@ -2,6 +2,7 @@
2
2
  export * from "./shared.mjs";
3
3
  export { APIKeys, } from "./api-keys.mjs";
4
4
  export { Apps, } from "./apps.mjs";
5
+ export { AuditLogs, } from "./audit-logs.mjs";
5
6
  export { Auth } from "./auth/auth.mjs";
6
7
  export { BrowserPools, } from "./browser-pools.mjs";
7
8
  export { Browsers, } from "./browsers/browsers.mjs";
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,6BAAyB;AACzB,OAAO,EACL,OAAO,GASR,uBAAmB;AACpB,OAAO,EACL,IAAI,GAIL,mBAAe;AAChB,OAAO,EAAE,IAAI,EAAE,wBAAoB;AACnC,OAAO,EACL,YAAY,GAUb,4BAAwB;AACzB,OAAO,EACL,QAAQ,GAkBT,gCAA4B;AAC7B,OAAO,EACL,mBAAmB,GAWpB,mCAA+B;AAChC,OAAO,EACL,WAAW,GASZ,0BAAsB;AACvB,OAAO,EACL,WAAW,GAUZ,0BAAsB;AACvB,OAAO,EACL,UAAU,GAOX,yBAAqB;AACtB,OAAO,EACL,WAAW,GAaZ,0BAAsB;AACvB,OAAO,EAAE,YAAY,EAAE,wCAAoC;AAC3D,OAAO,EAAE,QAAQ,EAAoD,uBAAmB;AACxF,OAAO,EACL,QAAQ,GAQT,gCAA4B;AAC7B,OAAO,EACL,OAAO,GASR,sBAAkB"}
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,6BAAyB;AACzB,OAAO,EACL,OAAO,GASR,uBAAmB;AACpB,OAAO,EACL,IAAI,GAIL,mBAAe;AAChB,OAAO,EACL,SAAS,GAIV,yBAAqB;AACtB,OAAO,EAAE,IAAI,EAAE,wBAAoB;AACnC,OAAO,EACL,YAAY,GAUb,4BAAwB;AACzB,OAAO,EACL,QAAQ,GAkBT,gCAA4B;AAC7B,OAAO,EACL,mBAAmB,GAWpB,mCAA+B;AAChC,OAAO,EACL,WAAW,GASZ,0BAAsB;AACvB,OAAO,EACL,WAAW,GAUZ,0BAAsB;AACvB,OAAO,EACL,UAAU,GAQX,yBAAqB;AACtB,OAAO,EACL,WAAW,GAaZ,0BAAsB;AACvB,OAAO,EAAE,YAAY,EAAE,wCAAoC;AAC3D,OAAO,EAAE,QAAQ,EAAoD,uBAAmB;AACxF,OAAO,EACL,QAAQ,GAQT,gCAA4B;AAC7B,OAAO,EACL,OAAO,GASR,sBAAkB"}
@@ -21,7 +21,7 @@ export declare class Projects extends APIResource {
21
21
  */
22
22
  create(body: ProjectCreateParams, options?: RequestOptions): APIPromise<Project>;
23
23
  /**
24
- * Get a project by ID.
24
+ * Get a project by its ID or by its name. Names are unique within an organization.
25
25
  *
26
26
  * @example
27
27
  * ```ts
@@ -21,7 +21,7 @@ export declare class Projects extends APIResource {
21
21
  */
22
22
  create(body: ProjectCreateParams, options?: RequestOptions): APIPromise<Project>;
23
23
  /**
24
- * Get a project by ID.
24
+ * Get a project by its ID or by its name. Names are unique within an organization.
25
25
  *
26
26
  * @example
27
27
  * ```ts
@@ -31,7 +31,7 @@ class Projects extends resource_1.APIResource {
31
31
  return this._client.post('/org/projects', { body, ...options });
32
32
  }
33
33
  /**
34
- * Get a project by ID.
34
+ * Get a project by its ID or by its name. Names are unique within an organization.
35
35
  *
36
36
  * @example
37
37
  * ```ts
@@ -27,7 +27,7 @@ export class Projects extends APIResource {
27
27
  return this._client.post('/org/projects', { body, ...options });
28
28
  }
29
29
  /**
30
- * Get a project by ID.
30
+ * Get a project by its ID or by its name. Names are unique within an organization.
31
31
  *
32
32
  * @example
33
33
  * ```ts
@@ -73,16 +73,16 @@ export interface BrowserProfile {
73
73
  */
74
74
  export interface BrowserViewport {
75
75
  /**
76
- * Browser window height in pixels.
76
+ * Browser window height in pixels. Any positive integer is accepted.
77
77
  */
78
78
  height: number;
79
79
  /**
80
- * Browser window width in pixels.
80
+ * Browser window width in pixels. Any positive integer is accepted.
81
81
  */
82
82
  width: number;
83
83
  /**
84
- * Display refresh rate in Hz. If omitted, automatically determined from width and
85
- * height.
84
+ * Display refresh rate in Hz. Any positive integer is accepted; if omitted,
85
+ * automatically determined from width and height.
86
86
  */
87
87
  refresh_rate?: number;
88
88
  }
@@ -73,16 +73,16 @@ export interface BrowserProfile {
73
73
  */
74
74
  export interface BrowserViewport {
75
75
  /**
76
- * Browser window height in pixels.
76
+ * Browser window height in pixels. Any positive integer is accepted.
77
77
  */
78
78
  height: number;
79
79
  /**
80
- * Browser window width in pixels.
80
+ * Browser window width in pixels. Any positive integer is accepted.
81
81
  */
82
82
  width: number;
83
83
  /**
84
- * Display refresh rate in Hz. If omitted, automatically determined from width and
85
- * height.
84
+ * Display refresh rate in Hz. Any positive integer is accepted; if omitted,
85
+ * automatically determined from width and height.
86
86
  */
87
87
  refresh_rate?: number;
88
88
  }
package/src/client.ts CHANGED
@@ -15,7 +15,13 @@ import { stringifyQuery } from './internal/utils/query';
15
15
  import { VERSION } from './version';
16
16
  import * as Errors from './core/error';
17
17
  import * as Pagination from './core/pagination';
18
- import { AbstractPage, type OffsetPaginationParams, OffsetPaginationResponse } from './core/pagination';
18
+ import {
19
+ AbstractPage,
20
+ type OffsetPaginationParams,
21
+ OffsetPaginationResponse,
22
+ type PageTokenPaginationParams,
23
+ PageTokenPaginationResponse,
24
+ } from './core/pagination';
19
25
  import * as Uploads from './core/uploads';
20
26
  import * as API from './resources/index';
21
27
  import { APIPromise } from './core/api-promise';
@@ -36,6 +42,12 @@ import {
36
42
  browserRoutingSubresourcesFromEnv,
37
43
  createRoutingFetch,
38
44
  } from './lib/browser-routing';
45
+ import {
46
+ AuditLogEntriesPageTokenPagination,
47
+ AuditLogEntry,
48
+ AuditLogListParams,
49
+ AuditLogs,
50
+ } from './resources/audit-logs';
39
51
  import {
40
52
  BrowserPool,
41
53
  BrowserPoolAcquireParams,
@@ -87,6 +99,7 @@ import {
87
99
  import { KernelApp } from './core/app-framework';
88
100
  import {
89
101
  ExtensionDownloadFromChromeStoreParams,
102
+ ExtensionGetResponse,
90
103
  ExtensionListParams,
91
104
  ExtensionListResponse,
92
105
  ExtensionListResponsesOffsetPagination,
@@ -1004,6 +1017,10 @@ export class Kernel {
1004
1017
  */
1005
1018
  projects: API.Projects = new API.Projects(this);
1006
1019
  organization: API.Organization = new API.Organization(this);
1020
+ /**
1021
+ * Read audit log records for the authenticated organization.
1022
+ */
1023
+ auditLogs: API.AuditLogs = new API.AuditLogs(this);
1007
1024
  /**
1008
1025
  * Create and manage API keys for organization and project-scoped access.
1009
1026
  */
@@ -1026,12 +1043,19 @@ Kernel.BrowserPools = BrowserPools;
1026
1043
  Kernel.Credentials = Credentials;
1027
1044
  Kernel.Projects = Projects;
1028
1045
  Kernel.Organization = Organization;
1046
+ Kernel.AuditLogs = AuditLogs;
1029
1047
  Kernel.APIKeys = APIKeys;
1030
1048
  Kernel.CredentialProviders = CredentialProviders;
1031
1049
 
1032
1050
  export declare namespace Kernel {
1033
1051
  export type RequestOptions = Opts.RequestOptions;
1034
1052
 
1053
+ export import PageTokenPagination = Pagination.PageTokenPagination;
1054
+ export {
1055
+ type PageTokenPaginationParams as PageTokenPaginationParams,
1056
+ type PageTokenPaginationResponse as PageTokenPaginationResponse,
1057
+ };
1058
+
1035
1059
  export import OffsetPagination = Pagination.OffsetPagination;
1036
1060
  export {
1037
1061
  type OffsetPaginationParams as OffsetPaginationParams,
@@ -1117,6 +1141,7 @@ export declare namespace Kernel {
1117
1141
  export {
1118
1142
  Extensions as Extensions,
1119
1143
  type ExtensionListResponse as ExtensionListResponse,
1144
+ type ExtensionGetResponse as ExtensionGetResponse,
1120
1145
  type ExtensionUploadResponse as ExtensionUploadResponse,
1121
1146
  type ExtensionListResponsesOffsetPagination as ExtensionListResponsesOffsetPagination,
1122
1147
  type ExtensionListParams as ExtensionListParams,
@@ -1162,6 +1187,13 @@ export declare namespace Kernel {
1162
1187
 
1163
1188
  export { Organization as Organization };
1164
1189
 
1190
+ export {
1191
+ AuditLogs as AuditLogs,
1192
+ type AuditLogEntry as AuditLogEntry,
1193
+ type AuditLogEntriesPageTokenPagination as AuditLogEntriesPageTokenPagination,
1194
+ type AuditLogListParams as AuditLogListParams,
1195
+ };
1196
+
1165
1197
  export {
1166
1198
  APIKeys as APIKeys,
1167
1199
  type APIKey as APIKey,
@@ -107,6 +107,62 @@ export class PagePromise<
107
107
  }
108
108
  }
109
109
 
110
+ export type PageTokenPaginationResponse<Item> = Item[];
111
+
112
+ export interface PageTokenPaginationParams {
113
+ page_token?: string;
114
+
115
+ limit?: number;
116
+ }
117
+
118
+ export class PageTokenPagination<Item> extends AbstractPage<Item> {
119
+ items: Array<Item>;
120
+
121
+ next_page_token: string | null;
122
+
123
+ has_more: boolean | null;
124
+
125
+ constructor(
126
+ client: Kernel,
127
+ response: Response,
128
+ body: PageTokenPaginationResponse<Item>,
129
+ options: FinalRequestOptions,
130
+ ) {
131
+ super(client, response, body, options);
132
+
133
+ this.items = body || [];
134
+ this.next_page_token = this.response.headers.get('x-next-page-token') ?? null;
135
+ this.has_more = maybeCoerceBoolean(this.response.headers.get('x-has-more')) ?? null;
136
+ }
137
+
138
+ getPaginatedItems(): Item[] {
139
+ return this.items ?? [];
140
+ }
141
+
142
+ override hasNextPage(): boolean {
143
+ if (this.has_more === false) {
144
+ return false;
145
+ }
146
+
147
+ return super.hasNextPage();
148
+ }
149
+
150
+ nextPageRequestOptions(): PageRequestOptions | null {
151
+ const cursor = this.next_page_token;
152
+ if (!cursor) {
153
+ return null;
154
+ }
155
+
156
+ return {
157
+ ...this.options,
158
+ query: {
159
+ ...maybeObj(this.options.query),
160
+ page_token: cursor,
161
+ },
162
+ };
163
+ }
164
+ }
165
+
110
166
  export type OffsetPaginationResponse<Item> = Item[];
111
167
 
112
168
  export interface OffsetPaginationParams {
@@ -28,7 +28,10 @@ export class BrowserRouteCache {
28
28
  }
29
29
 
30
30
  const BROWSER_ROUTING_SUBRESOURCES_ENV = 'KERNEL_BROWSER_ROUTING_SUBRESOURCES';
31
- const DEFAULT_BROWSER_ROUTING_SUBRESOURCES = ['curl', 'telemetry'];
31
+ // Path prefixes eligible for direct-to-VM routing. "telemetry/stream" is the live
32
+ // SSE endpoint (served by the VM); "telemetry/events" is a historical read served
33
+ // by the control plane (S2) and must NOT be here.
34
+ const DEFAULT_BROWSER_ROUTING_SUBRESOURCES = ['curl', 'telemetry/stream'];
32
35
  const BROWSER_ROUTE_CACHEABLE_PATH = /^\/(?:v\d+\/)?browsers(?:\/[^/]+)?\/?$/;
33
36
  const BROWSER_POOL_ACQUIRE_PATH = /^\/(?:v\d+\/)?browser_pools\/[^/]+\/acquire\/?$/;
34
37
  const BROWSER_DELETE_BY_ID_PATH = /^\/(?:v\d+\/)?browsers\/([^/]+)\/?$/;
@@ -62,7 +65,7 @@ export function createRoutingFetch(
62
65
  cache: BrowserRouteCache;
63
66
  },
64
67
  ): Fetch {
65
- const allowed = new Set([...subresources].map((value) => value.trim()).filter(Boolean));
68
+ const allowed = [...subresources].map((value) => value.trim().replace(/^\/+|\/+$/g, '')).filter(Boolean);
66
69
  const apiOrigin = new URL(apiBaseURL).origin;
67
70
 
68
71
  return async (input, init) => {
@@ -202,6 +205,16 @@ function populateCache(value: unknown, cache: BrowserRouteCache): void {
202
205
  }
203
206
  }
204
207
 
208
+ // matchesDirectVMPrefix reports whether tail (the path after browsers/{id}/) is
209
+ // covered by an allow prefix, matching on segment boundaries: "telemetry/stream"
210
+ // matches "telemetry/stream" and "telemetry/stream/...", but not "telemetry/events"
211
+ // or "telemetry/streamfoo". Keeps historical control-plane reads (telemetry/events,
212
+ // served from S2) off the VM.
213
+ export function matchesDirectVMPrefix(tail: string, prefixes: readonly string[]): boolean {
214
+ const t = tail.replace(/^\/+|\/+$/g, '');
215
+ return prefixes.some((p) => t === p || t.startsWith(p + '/'));
216
+ }
217
+
205
218
  async function routeRequest(
206
219
  innerFetch: Fetch,
207
220
  {
@@ -214,7 +227,7 @@ async function routeRequest(
214
227
  request: Request;
215
228
  },
216
229
  apiOrigin: string,
217
- allowed: ReadonlySet<string>,
230
+ allowed: readonly string[],
218
231
  cache: BrowserRouteCache,
219
232
  ): Promise<Response> {
220
233
  const url = new URL(request.url);
@@ -229,7 +242,7 @@ async function routeRequest(
229
242
 
230
243
  const sessionId = decodeURIComponent(match[1] ?? '');
231
244
  const subresource = match[2] ?? '';
232
- if (!sessionId || !allowed.has(subresource)) {
245
+ if (!sessionId || !matchesDirectVMPrefix(subresource + (match[3] ?? ''), allowed)) {
233
246
  return innerFetch(input, init);
234
247
  }
235
248
  const route = cache.get(sessionId);
@@ -0,0 +1,135 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ import { APIResource } from '../core/resource';
4
+ import { PagePromise, PageTokenPagination, type PageTokenPaginationParams } from '../core/pagination';
5
+ import { RequestOptions } from '../internal/request-options';
6
+
7
+ /**
8
+ * Read audit log records for the authenticated organization.
9
+ */
10
+ export class AuditLogs extends APIResource {
11
+ /**
12
+ * API for searching audit logs. Limited to at most 30 day search, returns up to
13
+ * 100 records per page. Not recommended for bulk export.
14
+ */
15
+ list(
16
+ query: AuditLogListParams,
17
+ options?: RequestOptions,
18
+ ): PagePromise<AuditLogEntriesPageTokenPagination, AuditLogEntry> {
19
+ return this._client.getAPIList('/audit-logs', PageTokenPagination<AuditLogEntry>, { query, ...options });
20
+ }
21
+ }
22
+
23
+ export type AuditLogEntriesPageTokenPagination = PageTokenPagination<AuditLogEntry>;
24
+
25
+ export interface AuditLogEntry {
26
+ /**
27
+ * Authentication strategy used for the request.
28
+ */
29
+ auth_strategy: string;
30
+
31
+ /**
32
+ * Client IP address.
33
+ */
34
+ client_ip: string;
35
+
36
+ /**
37
+ * Request host.
38
+ */
39
+ domain: string;
40
+
41
+ /**
42
+ * Request duration in milliseconds.
43
+ */
44
+ duration_ms: number;
45
+
46
+ /**
47
+ * Email of the authenticated user at request time, if any.
48
+ */
49
+ email: string;
50
+
51
+ /**
52
+ * HTTP method.
53
+ */
54
+ method: string;
55
+
56
+ /**
57
+ * Request path.
58
+ */
59
+ path: string;
60
+
61
+ /**
62
+ * Matched API route pattern, if available.
63
+ */
64
+ route: string;
65
+
66
+ /**
67
+ * HTTP response status code.
68
+ */
69
+ status: number;
70
+
71
+ /**
72
+ * UTC time when the request was received.
73
+ */
74
+ timestamp: string;
75
+
76
+ /**
77
+ * User agent header.
78
+ */
79
+ user_agent: string;
80
+
81
+ /**
82
+ * ID of the authenticated user, if any.
83
+ */
84
+ user_id: string;
85
+ }
86
+
87
+ export interface AuditLogListParams extends PageTokenPaginationParams {
88
+ /**
89
+ * Upper bound (exclusive) for the audit record timestamp.
90
+ */
91
+ end: string;
92
+
93
+ /**
94
+ * Lower bound (inclusive) for the audit record timestamp.
95
+ */
96
+ start: string;
97
+
98
+ /**
99
+ * Filter by authentication strategy.
100
+ */
101
+ auth_strategy?: string;
102
+
103
+ /**
104
+ * Filter out results by HTTP method.
105
+ */
106
+ exclude_method?: string;
107
+
108
+ /**
109
+ * Filter by HTTP method.
110
+ */
111
+ method?: string;
112
+
113
+ /**
114
+ * Free-text search over path, user ID, email, client IP, and status.
115
+ */
116
+ search?: string;
117
+
118
+ /**
119
+ * Additional user IDs to OR into free-text search.
120
+ */
121
+ search_user_id?: Array<string>;
122
+
123
+ /**
124
+ * Filter by service name.
125
+ */
126
+ service?: string;
127
+ }
128
+
129
+ export declare namespace AuditLogs {
130
+ export {
131
+ type AuditLogEntry as AuditLogEntry,
132
+ type AuditLogEntriesPageTokenPagination as AuditLogEntriesPageTokenPagination,
133
+ type AuditLogListParams as AuditLogListParams,
134
+ };
135
+ }
@@ -8,11 +8,14 @@ import {
8
8
  ConnectionListParams,
9
9
  ConnectionLoginParams,
10
10
  ConnectionSubmitParams,
11
+ ConnectionTimelineParams,
11
12
  ConnectionUpdateParams,
12
13
  Connections,
13
14
  LoginResponse,
14
15
  ManagedAuth,
15
16
  ManagedAuthCreateRequest,
17
+ ManagedAuthTimelineEvent,
18
+ ManagedAuthTimelineEventsOffsetPagination,
16
19
  ManagedAuthUpdateRequest,
17
20
  ManagedAuthsOffsetPagination,
18
21
  SubmitFieldsRequest,
@@ -31,15 +34,18 @@ export declare namespace Auth {
31
34
  type LoginResponse as LoginResponse,
32
35
  type ManagedAuth as ManagedAuth,
33
36
  type ManagedAuthCreateRequest as ManagedAuthCreateRequest,
37
+ type ManagedAuthTimelineEvent as ManagedAuthTimelineEvent,
34
38
  type ManagedAuthUpdateRequest as ManagedAuthUpdateRequest,
35
39
  type SubmitFieldsRequest as SubmitFieldsRequest,
36
40
  type SubmitFieldsResponse as SubmitFieldsResponse,
37
41
  type ConnectionFollowResponse as ConnectionFollowResponse,
38
42
  type ManagedAuthsOffsetPagination as ManagedAuthsOffsetPagination,
43
+ type ManagedAuthTimelineEventsOffsetPagination as ManagedAuthTimelineEventsOffsetPagination,
39
44
  type ConnectionCreateParams as ConnectionCreateParams,
40
45
  type ConnectionUpdateParams as ConnectionUpdateParams,
41
46
  type ConnectionListParams as ConnectionListParams,
42
47
  type ConnectionLoginParams as ConnectionLoginParams,
43
48
  type ConnectionSubmitParams as ConnectionSubmitParams,
49
+ type ConnectionTimelineParams as ConnectionTimelineParams,
44
50
  };
45
51
  }