@osdk/foundry.audit 2.27.0 → 2.28.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # @osdk/foundry.audit
2
2
 
3
+ ## 2.28.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 8d43b96: Regenerate SDKs
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [8d43b96]
12
+ - @osdk/foundry.core@2.28.0
13
+
3
14
  ## 2.27.0
4
15
 
5
16
  ### Minor Changes
@@ -21,4 +21,10 @@ export interface ListLogFilesResponse {
21
21
  export interface LogFile {
22
22
  id: FileId;
23
23
  }
24
+ /**
25
+ * Log Safety: SAFE
26
+ */
27
+ export interface Organization {
28
+ rid: _Core.OrganizationRid;
29
+ }
24
30
  //# sourceMappingURL=_components.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"_components.d.ts","sourceRoot":"","sources":["../../src/_components.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,oBAAoB,CAAC;AAEjD,MAAM,MAAM,oBAAoB,CAAC,CAAC,SAAS,MAAM,IAAI,MAAM,GAAG;IAC5D,aAAa,CAAC,EAAE,CAAC,CAAC;CACnB,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,MAAM,GAAG,oBAAoB,CAAC,QAAQ,CAAC,CAAC;AAEpD;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC,IAAI,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC;IACrB,aAAa,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACjC;AAED;;GAEG;AACH,MAAM,WAAW,OAAO;IACtB,EAAE,EAAE,MAAM,CAAC;CACZ"}
1
+ {"version":3,"file":"_components.d.ts","sourceRoot":"","sources":["../../src/_components.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,oBAAoB,CAAC;AAEjD,MAAM,MAAM,oBAAoB,CAAC,CAAC,SAAS,MAAM,IAAI,MAAM,GAAG;IAC5D,aAAa,CAAC,EAAE,CAAC,CAAC;CACnB,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,MAAM,GAAG,oBAAoB,CAAC,QAAQ,CAAC,CAAC;AAEpD;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC,IAAI,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC;IACrB,aAAa,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACjC;AAED;;GAEG;AACH,MAAM,WAAW,OAAO;IACtB,EAAE,EAAE,MAAM,CAAC;CACZ;AAED;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B,GAAG,EAAE,KAAK,CAAC,eAAe,CAAC;CAC5B"}
@@ -11,6 +11,7 @@ export interface GetLogFileContentPermissionDenied {
11
11
  errorName: "GetLogFileContentPermissionDenied";
12
12
  errorInstanceId: string;
13
13
  parameters: {
14
+ organizationRid: unknown;
14
15
  logFileId: unknown;
15
16
  };
16
17
  }
@@ -1 +1 @@
1
- {"version":3,"file":"_errors.d.ts","sourceRoot":"","sources":["../../src/_errors.ts"],"names":[],"mappings":"AAgBA,MAAM,MAAM,oBAAoB,CAAC,CAAC,SAAS,MAAM,IAAI,MAAM,GAAG;IAC5D,aAAa,CAAC,EAAE,CAAC,CAAC;CACnB,CAAC;AAEF;;;;GAIG;AACH,MAAM,WAAW,iCAAiC;IAChD,SAAS,EAAE,mBAAmB,CAAC;IAC/B,SAAS,EAAE,mCAAmC,CAAC;IAC/C,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE;QACV,SAAS,EAAE,OAAO,CAAC;KACpB,CAAC;CACH;AAED;;;;GAIG;AACH,MAAM,WAAW,4BAA4B;IAC3C,SAAS,EAAE,mBAAmB,CAAC;IAC/B,SAAS,EAAE,8BAA8B,CAAC;IAC1C,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE,EAAE,CAAC;CAChB"}
1
+ {"version":3,"file":"_errors.d.ts","sourceRoot":"","sources":["../../src/_errors.ts"],"names":[],"mappings":"AAgBA,MAAM,MAAM,oBAAoB,CAAC,CAAC,SAAS,MAAM,IAAI,MAAM,GAAG;IAC5D,aAAa,CAAC,EAAE,CAAC,CAAC;CACnB,CAAC;AAEF;;;;GAIG;AACH,MAAM,WAAW,iCAAiC;IAChD,SAAS,EAAE,mBAAmB,CAAC;IAC/B,SAAS,EAAE,mCAAmC,CAAC;IAC/C,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE;QACV,eAAe,EAAE,OAAO,CAAC;QACzB,SAAS,EAAE,OAAO,CAAC;KACpB,CAAC;CACH;AAED;;;;GAIG;AACH,MAAM,WAAW,4BAA4B;IAC3C,SAAS,EAAE,mBAAmB,CAAC;IAC/B,SAAS,EAAE,8BAA8B,CAAC;IAC1C,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE,EAAE,CAAC;CAChB"}
@@ -1,4 +1,4 @@
1
- export type { FileId, ListLogFilesResponse, LogFile } from "./_components.js";
1
+ export type { FileId, ListLogFilesResponse, LogFile, Organization, } from "./_components.js";
2
2
  export type { GetLogFileContentPermissionDenied, ListLogFilesPermissionDenied, } from "./_errors.js";
3
3
  export * as LogFiles from "./public/LogFile.js";
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAgBA,YAAY,EAAE,MAAM,EAAE,oBAAoB,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAC9E,YAAY,EACV,iCAAiC,EACjC,4BAA4B,GAC7B,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,QAAQ,MAAM,qBAAqB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAgBA,YAAY,EACV,MAAM,EACN,oBAAoB,EACpB,OAAO,EACP,YAAY,GACb,MAAM,kBAAkB,CAAC;AAC1B,YAAY,EACV,iCAAiC,EACjC,4BAA4B,GAC7B,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,QAAQ,MAAM,qBAAqB,CAAC"}
@@ -10,11 +10,11 @@ import type * as _Audit from "../_components.js";
10
10
  * @beta
11
11
  *
12
12
  * Required Scopes: [api:audit-read]
13
- * URL: /v2/audit/logFiles
13
+ * URL: /v2/audit/organizations/{organizationRid}/logFiles
14
14
  */
15
15
  export declare function list($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
16
- $queryParams: {
17
- organizationRid: _Core.OrganizationRid;
16
+ organizationRid: _Core.OrganizationRid,
17
+ $queryParams?: {
18
18
  startDate?: string | undefined;
19
19
  endDate?: string | undefined;
20
20
  pageSize?: _Core.PageSize | undefined;
@@ -26,9 +26,10 @@ export declare function list($ctx: $Client | $ClientContext | $OldClient | $OldC
26
26
  * @beta
27
27
  *
28
28
  * Required Scopes: [api:audit-read]
29
- * URL: /v2/audit/logFiles/{logFileId}/content
29
+ * URL: /v2/audit/organizations/{organizationRid}/logFiles/{logFileId}/content
30
30
  */
31
31
  export declare function content($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
32
+ organizationRid: _Core.OrganizationRid,
32
33
  logFileId: _Audit.FileId,
33
34
  $queryParams?: {
34
35
  preview?: _Core.PreviewMode | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"LogFile.d.ts","sourceRoot":"","sources":["../../../src/public/LogFile.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,EACV,YAAY,IAAI,UAAU,EAC1B,mBAAmB,IAAI,iBAAiB,EACzC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,sBAAsB,CAAC;AAG9B,OAAO,KAAK,KAAK,MAAM,MAAM,mB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AACH,wBAAgB,IAAI,CAClB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,eAAe,EAAE,KAAK,CAAC,eAAe;IAEtC,YAAY,CAAC,EAAE;QACb,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;QAC/B,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;QAC7B,QAAQ,CAAC,EAAE,KAAK,CAAC,QAAQ,GAAG,SAAS,CAAC;QACtC,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,SAAS,CAAC;QACxC,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,SAAS,CAAC;KACzC;CACF,GACA,OAAO,CAAC,MAAM,CAAC,oBAAoB,CAAC,CAEtC;AAgBD;;;;;GAKG;AACH,wBAAgB,OAAO,CACrB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,eAAe,EAAE,KAAK,CAAC,eAAe;IACtC,SAAS,EAAE,MAAM,CAAC,MAAM;IAExB,YAAY,CAAC,EAAE;QAAE,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,SAAS,CAAA;KAAE;CAC3D,GACA,OAAO,CAAC,QAAQ,CAAC,CAEnB"}
@@ -15,7 +15,7 @@
15
15
  */
16
16
  import { foundryPlatformFetch as $foundryPlatformFetch } from "@osdk/shared.net.platformapi";
17
17
  //
18
- const _list = [0, "/v2/audit/logFiles", 2];
18
+ const _list = [0, "/v2/audit/organizations/{0}/logFiles", 2];
19
19
  /**
20
20
  * Lists all LogFiles.
21
21
  *
@@ -24,17 +24,17 @@ const _list = [0, "/v2/audit/logFiles", 2];
24
24
  * @beta
25
25
  *
26
26
  * Required Scopes: [api:audit-read]
27
- * URL: /v2/audit/logFiles
27
+ * URL: /v2/audit/organizations/{organizationRid}/logFiles
28
28
  */
29
29
  export function list($ctx, ...args) {
30
30
  return $foundryPlatformFetch($ctx, _list, ...args);
31
31
  }
32
- const _content = [0, "/v2/audit/logFiles/{0}/content", 2,, "application/octet-stream"];
32
+ const _content = [0, "/v2/audit/organizations/{0}/logFiles/{1}/content", 2,, "application/octet-stream"];
33
33
  /**
34
34
  * @beta
35
35
  *
36
36
  * Required Scopes: [api:audit-read]
37
- * URL: /v2/audit/logFiles/{logFileId}/content
37
+ * URL: /v2/audit/organizations/{organizationRid}/logFiles/{logFileId}/content
38
38
  */
39
39
  export function content($ctx, ...args) {
40
40
  return $foundryPlatformFetch($ctx, _content, ...args);
@@ -1 +1 @@
1
- {"version":3,"file":"LogFile.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_list","list","$ctx","args","_content","content"],"sources":["LogFile.js"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\nconst _list = [0, \"/v2/audit/logFiles\", 2];\n/**\n * Lists all LogFiles.\n *\n * This is a paged endpoint. Each page may be smaller or larger than the requested page size. However, it is guaranteed that if there are more results available, the `nextPageToken` field will be populated. To get the next page, make the same request again, but set the value of the `pageToken` query parameter to be value of the `nextPageToken` value of the previous response. If there is no `nextPageToken` field in the response, you are on the last page.\n *\n * @beta\n *\n * Required Scopes: [api:audit-read]\n * URL: /v2/audit/logFiles\n */\nexport function list($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _list, ...args);\n}\nconst _content = [0, \"/v2/audit/logFiles/{0}/content\", 2, , \"application/octet-stream\"];\n/**\n * @beta\n *\n * Required Scopes: [api:audit-read]\n * URL: /v2/audit/logFiles/{logFileId}/content\n */\nexport function content($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _content, ...args);\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,oBAAoB,IAAIC,qBAAqB,QAAQ,8BAA8B;AAC5F;AACA,MAAMC,KAAK,GAAG,CAAC,CAAC,EAAE,oBAAoB,EAAE,CAAC,CAAC;AAC1C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,IAAIA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EAChC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,KAAK,EAAE,GAAGG,IAAI,CAAC;AACtD;AACA,MAAMC,QAAQ,GAAG,CAAC,CAAC,EAAE,gCAAgC,EAAE,CAAC,GAAI,0BAA0B,CAAC;AACvF;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,OAAOA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EACnC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,QAAQ,EAAE,GAAGD,IAAI,CAAC;AACzD","ignoreList":[]}
1
+ {"version":3,"file":"LogFile.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_list","list","$ctx","args","_content","content"],"sources":["LogFile.js"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\nconst _list = [0, \"/v2/audit/organizations/{0}/logFiles\", 2];\n/**\n * Lists all LogFiles.\n *\n * This is a paged endpoint. Each page may be smaller or larger than the requested page size. However, it is guaranteed that if there are more results available, the `nextPageToken` field will be populated. To get the next page, make the same request again, but set the value of the `pageToken` query parameter to be value of the `nextPageToken` value of the previous response. If there is no `nextPageToken` field in the response, you are on the last page.\n *\n * @beta\n *\n * Required Scopes: [api:audit-read]\n * URL: /v2/audit/organizations/{organizationRid}/logFiles\n */\nexport function list($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _list, ...args);\n}\nconst _content = [\n 0,\n \"/v2/audit/organizations/{0}/logFiles/{1}/content\",\n 2,\n ,\n \"application/octet-stream\",\n];\n/**\n * @beta\n *\n * Required Scopes: [api:audit-read]\n * URL: /v2/audit/organizations/{organizationRid}/logFiles/{logFileId}/content\n */\nexport function content($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _content, ...args);\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,oBAAoB,IAAIC,qBAAqB,QAAQ,8BAA8B;AAC5F;AACA,MAAMC,KAAK,GAAG,CAAC,CAAC,EAAE,sCAAsC,EAAE,CAAC,CAAC;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,IAAIA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EAChC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,KAAK,EAAE,GAAGG,IAAI,CAAC;AACtD;AACA,MAAMC,QAAQ,GAAG,CACb,CAAC,EACD,kDAAkD,EAClD,CAAC,GAED,0BAA0B,CAC7B;AACD;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,OAAOA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EACnC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,QAAQ,EAAE,GAAGD,IAAI,CAAC;AACzD","ignoreList":[]}
@@ -21,4 +21,10 @@ export interface ListLogFilesResponse {
21
21
  export interface LogFile {
22
22
  id: FileId;
23
23
  }
24
+ /**
25
+ * Log Safety: SAFE
26
+ */
27
+ export interface Organization {
28
+ rid: _Core.OrganizationRid;
29
+ }
24
30
  //# sourceMappingURL=_components.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"_components.d.ts","sourceRoot":"","sources":["../../src/_components.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,oBAAoB,CAAC;AAEjD,MAAM,MAAM,oBAAoB,CAAC,CAAC,SAAS,MAAM,IAAI,MAAM,GAAG;IAC5D,aAAa,CAAC,EAAE,CAAC,CAAC;CACnB,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,MAAM,GAAG,oBAAoB,CAAC,QAAQ,CAAC,CAAC;AAEpD;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC,IAAI,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC;IACrB,aAAa,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACjC;AAED;;GAEG;AACH,MAAM,WAAW,OAAO;IACtB,EAAE,EAAE,MAAM,CAAC;CACZ"}
1
+ {"version":3,"file":"_components.d.ts","sourceRoot":"","sources":["../../src/_components.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,oBAAoB,CAAC;AAEjD,MAAM,MAAM,oBAAoB,CAAC,CAAC,SAAS,MAAM,IAAI,MAAM,GAAG;IAC5D,aAAa,CAAC,EAAE,CAAC,CAAC;CACnB,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,MAAM,GAAG,oBAAoB,CAAC,QAAQ,CAAC,CAAC;AAEpD;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC,IAAI,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC;IACrB,aAAa,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACjC;AAED;;GAEG;AACH,MAAM,WAAW,OAAO;IACtB,EAAE,EAAE,MAAM,CAAC;CACZ;AAED;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B,GAAG,EAAE,KAAK,CAAC,eAAe,CAAC;CAC5B"}
@@ -11,6 +11,7 @@ export interface GetLogFileContentPermissionDenied {
11
11
  errorName: "GetLogFileContentPermissionDenied";
12
12
  errorInstanceId: string;
13
13
  parameters: {
14
+ organizationRid: unknown;
14
15
  logFileId: unknown;
15
16
  };
16
17
  }
@@ -1 +1 @@
1
- {"version":3,"file":"_errors.d.ts","sourceRoot":"","sources":["../../src/_errors.ts"],"names":[],"mappings":"AAgBA,MAAM,MAAM,oBAAoB,CAAC,CAAC,SAAS,MAAM,IAAI,MAAM,GAAG;IAC5D,aAAa,CAAC,EAAE,CAAC,CAAC;CACnB,CAAC;AAEF;;;;GAIG;AACH,MAAM,WAAW,iCAAiC;IAChD,SAAS,EAAE,mBAAmB,CAAC;IAC/B,SAAS,EAAE,mCAAmC,CAAC;IAC/C,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE;QACV,SAAS,EAAE,OAAO,CAAC;KACpB,CAAC;CACH;AAED;;;;GAIG;AACH,MAAM,WAAW,4BAA4B;IAC3C,SAAS,EAAE,mBAAmB,CAAC;IAC/B,SAAS,EAAE,8BAA8B,CAAC;IAC1C,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE,EAAE,CAAC;CAChB"}
1
+ {"version":3,"file":"_errors.d.ts","sourceRoot":"","sources":["../../src/_errors.ts"],"names":[],"mappings":"AAgBA,MAAM,MAAM,oBAAoB,CAAC,CAAC,SAAS,MAAM,IAAI,MAAM,GAAG;IAC5D,aAAa,CAAC,EAAE,CAAC,CAAC;CACnB,CAAC;AAEF;;;;GAIG;AACH,MAAM,WAAW,iCAAiC;IAChD,SAAS,EAAE,mBAAmB,CAAC;IAC/B,SAAS,EAAE,mCAAmC,CAAC;IAC/C,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE;QACV,eAAe,EAAE,OAAO,CAAC;QACzB,SAAS,EAAE,OAAO,CAAC;KACpB,CAAC;CACH;AAED;;;;GAIG;AACH,MAAM,WAAW,4BAA4B;IAC3C,SAAS,EAAE,mBAAmB,CAAC;IAC/B,SAAS,EAAE,8BAA8B,CAAC;IAC1C,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE,EAAE,CAAC;CAChB"}
@@ -1,4 +1,4 @@
1
- export type { FileId, ListLogFilesResponse, LogFile } from "./_components.js";
1
+ export type { FileId, ListLogFilesResponse, LogFile, Organization, } from "./_components.js";
2
2
  export type { GetLogFileContentPermissionDenied, ListLogFilesPermissionDenied, } from "./_errors.js";
3
3
  export * as LogFiles from "./public/LogFile.js";
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAgBA,YAAY,EAAE,MAAM,EAAE,oBAAoB,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAC9E,YAAY,EACV,iCAAiC,EACjC,4BAA4B,GAC7B,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,QAAQ,MAAM,qBAAqB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAgBA,YAAY,EACV,MAAM,EACN,oBAAoB,EACpB,OAAO,EACP,YAAY,GACb,MAAM,kBAAkB,CAAC;AAC1B,YAAY,EACV,iCAAiC,EACjC,4BAA4B,GAC7B,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,QAAQ,MAAM,qBAAqB,CAAC"}
@@ -10,11 +10,11 @@ import type * as _Audit from "../_components.js";
10
10
  * @beta
11
11
  *
12
12
  * Required Scopes: [api:audit-read]
13
- * URL: /v2/audit/logFiles
13
+ * URL: /v2/audit/organizations/{organizationRid}/logFiles
14
14
  */
15
15
  export declare function list($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
16
- $queryParams: {
17
- organizationRid: _Core.OrganizationRid;
16
+ organizationRid: _Core.OrganizationRid,
17
+ $queryParams?: {
18
18
  startDate?: string | undefined;
19
19
  endDate?: string | undefined;
20
20
  pageSize?: _Core.PageSize | undefined;
@@ -26,9 +26,10 @@ export declare function list($ctx: $Client | $ClientContext | $OldClient | $OldC
26
26
  * @beta
27
27
  *
28
28
  * Required Scopes: [api:audit-read]
29
- * URL: /v2/audit/logFiles/{logFileId}/content
29
+ * URL: /v2/audit/organizations/{organizationRid}/logFiles/{logFileId}/content
30
30
  */
31
31
  export declare function content($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
32
+ organizationRid: _Core.OrganizationRid,
32
33
  logFileId: _Audit.FileId,
33
34
  $queryParams?: {
34
35
  preview?: _Core.PreviewMode | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"LogFile.d.ts","sourceRoot":"","sources":["../../../src/public/LogFile.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,EACV,YAAY,IAAI,UAAU,EAC1B,mBAAmB,IAAI,iBAAiB,EACzC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,sBAAsB,CAAC;AAG9B,OAAO,KAAK,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAejD;;;;;;;;;GASG;AACH,wBAAgB,IAAI,CAClB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,YAAY,EAAE;QACZ,eAAe,EAAE,KAAK,CAAC,eAAe,CAAC;QACvC,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;QAC/B,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;QAC7B,QAAQ,CAAC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SAAS,CAAC;QACtC,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,SAAS,CAAC;QACxC,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,SAAS,CAAC;KACzC;CACF,GACA,OAAO,CAAC,MAAM,CAAC,oBAAoB,CAAC,CAEtC;AAgBD;;;;;GAKG;AACH,wBAAgB,OAAO,CACrB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,eAAe,EAAE,KAAK,CAAC,eAAe;IACtC,SAAS,EAAE,MAAM,CAAC,MAAM;IAExB,YAAY,CAAC,EAAE;QAAE,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,SAAS,CAAA;KAAE;CAC3D,GACA,OAAO,CAAC,QAAQ,CAAC,CAEnB"}
@@ -15,7 +15,7 @@
15
15
  */
16
16
  import { foundryPlatformFetch as $foundryPlatformFetch } from "@osdk/shared.net.platformapi";
17
17
  //
18
- const _list = [0, "/v2/audit/logFiles", 2];
18
+ const _list = [0, "/v2/audit/organizations/{0}/logFiles", 2];
19
19
  /**
20
20
  * Lists all LogFiles.
21
21
  *
@@ -24,17 +24,17 @@ const _list = [0, "/v2/audit/logFiles", 2];
24
24
  * @beta
25
25
  *
26
26
  * Required Scopes: [api:audit-read]
27
- * URL: /v2/audit/logFiles
27
+ * URL: /v2/audit/organizations/{organizationRid}/logFiles
28
28
  */
29
29
  export function list($ctx, ...args) {
30
30
  return $foundryPlatformFetch($ctx, _list, ...args);
31
31
  }
32
- const _content = [0, "/v2/audit/logFiles/{0}/content", 2,, "application/octet-stream"];
32
+ const _content = [0, "/v2/audit/organizations/{0}/logFiles/{1}/content", 2,, "application/octet-stream"];
33
33
  /**
34
34
  * @beta
35
35
  *
36
36
  * Required Scopes: [api:audit-read]
37
- * URL: /v2/audit/logFiles/{logFileId}/content
37
+ * URL: /v2/audit/organizations/{organizationRid}/logFiles/{logFileId}/content
38
38
  */
39
39
  export function content($ctx, ...args) {
40
40
  return $foundryPlatformFetch($ctx, _content, ...args);
@@ -1 +1 @@
1
- {"version":3,"file":"LogFile.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_list","list","$ctx","args","_content","content"],"sources":["LogFile.js"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\nconst _list = [0, \"/v2/audit/logFiles\", 2];\n/**\n * Lists all LogFiles.\n *\n * This is a paged endpoint. Each page may be smaller or larger than the requested page size. However, it is guaranteed that if there are more results available, the `nextPageToken` field will be populated. To get the next page, make the same request again, but set the value of the `pageToken` query parameter to be value of the `nextPageToken` value of the previous response. If there is no `nextPageToken` field in the response, you are on the last page.\n *\n * @beta\n *\n * Required Scopes: [api:audit-read]\n * URL: /v2/audit/logFiles\n */\nexport function list($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _list, ...args);\n}\nconst _content = [0, \"/v2/audit/logFiles/{0}/content\", 2, , \"application/octet-stream\"];\n/**\n * @beta\n *\n * Required Scopes: [api:audit-read]\n * URL: /v2/audit/logFiles/{logFileId}/content\n */\nexport function content($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _content, ...args);\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,oBAAoB,IAAIC,qBAAqB,QAAQ,8BAA8B;AAC5F;AACA,MAAMC,KAAK,GAAG,CAAC,CAAC,EAAE,oBAAoB,EAAE,CAAC,CAAC;AAC1C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,IAAIA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EAChC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,KAAK,EAAE,GAAGG,IAAI,CAAC;AACtD;AACA,MAAMC,QAAQ,GAAG,CAAC,CAAC,EAAE,gCAAgC,EAAE,CAAC,GAAI,0BAA0B,CAAC;AACvF;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,OAAOA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EACnC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,QAAQ,EAAE,GAAGD,IAAI,CAAC;AACzD","ignoreList":[]}
1
+ {"version":3,"file":"LogFile.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_list","list","$ctx","args","_content","content"],"sources":["LogFile.js"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\nconst _list = [0, \"/v2/audit/organizations/{0}/logFiles\", 2];\n/**\n * Lists all LogFiles.\n *\n * This is a paged endpoint. Each page may be smaller or larger than the requested page size. However, it is guaranteed that if there are more results available, the `nextPageToken` field will be populated. To get the next page, make the same request again, but set the value of the `pageToken` query parameter to be value of the `nextPageToken` value of the previous response. If there is no `nextPageToken` field in the response, you are on the last page.\n *\n * @beta\n *\n * Required Scopes: [api:audit-read]\n * URL: /v2/audit/organizations/{organizationRid}/logFiles\n */\nexport function list($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _list, ...args);\n}\nconst _content = [\n 0,\n \"/v2/audit/organizations/{0}/logFiles/{1}/content\",\n 2,\n ,\n \"application/octet-stream\",\n];\n/**\n * @beta\n *\n * Required Scopes: [api:audit-read]\n * URL: /v2/audit/organizations/{organizationRid}/logFiles/{logFileId}/content\n */\nexport function content($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _content, ...args);\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,oBAAoB,IAAIC,qBAAqB,QAAQ,8BAA8B;AAC5F;AACA,MAAMC,KAAK,GAAG,CAAC,CAAC,EAAE,sCAAsC,EAAE,CAAC,CAAC;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,IAAIA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EAChC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,KAAK,EAAE,GAAGG,IAAI,CAAC;AACtD;AACA,MAAMC,QAAQ,GAAG,CACb,CAAC,EACD,kDAAkD,EAClD,CAAC,GAED,0BAA0B,CAC7B;AACD;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,OAAOA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EACnC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,QAAQ,EAAE,GAAGD,IAAI,CAAC;AACzD","ignoreList":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@osdk/foundry.audit",
3
- "version": "2.27.0",
3
+ "version": "2.28.0",
4
4
  "license": "Apache-2.0",
5
5
  "repository": {
6
6
  "type": "git",
@@ -21,7 +21,7 @@
21
21
  "dependencies": {
22
22
  "@osdk/shared.client": "^1.0.1",
23
23
  "@osdk/shared.client2": "^1.0.0",
24
- "@osdk/foundry.core": "2.27.0",
24
+ "@osdk/foundry.core": "2.28.0",
25
25
  "@osdk/shared.net.platformapi": "~1.4.0"
26
26
  },
27
27
  "devDependencies": {
@@ -45,7 +45,7 @@
45
45
  "sls": {
46
46
  "dependencies": {
47
47
  "com.palantir.foundry.api:api-gateway": {
48
- "minVersion": "1.1260.0",
48
+ "minVersion": "1.1279.0",
49
49
  "maxVersion": "1.x.x",
50
50
  "optional": false
51
51
  }