@osdk/foundry.audit 2.35.0 → 2.36.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.36.0
4
+
5
+ ### Minor Changes
6
+
7
+ - daa53c5: Update Foundry API SDKs
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [daa53c5]
12
+ - @osdk/foundry.core@2.36.0
13
+
3
14
  ## 2.35.0
4
15
 
5
16
  ### Minor Changes
@@ -28,4 +28,16 @@ export interface ListLogFilesPermissionDenied {
28
28
  errorInstanceId: string;
29
29
  parameters: {};
30
30
  }
31
+ /**
32
+ * Start date is required to list audit log files.
33
+ *
34
+ * Log Safety: SAFE
35
+ */
36
+ export interface MissingStartDate {
37
+ errorCode: "INVALID_ARGUMENT";
38
+ errorName: "MissingStartDate";
39
+ errorDescription: "Start date is required to list audit log files.";
40
+ errorInstanceId: string;
41
+ parameters: {};
42
+ }
31
43
  //# sourceMappingURL=_errors.d.ts.map
@@ -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,gBAAgB,EAAE,gCAAgC,CAAC;IACnD,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,gBAAgB,EACd,sEAAsE,CAAC;IACzE,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,gBAAgB,EAAE,gCAAgC,CAAC;IACnD,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,gBAAgB,EACd,sEAAsE,CAAC;IACzE,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE,EAAE,CAAC;CAChB;AAED;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAC/B,SAAS,EAAE,kBAAkB,CAAC;IAC9B,SAAS,EAAE,kBAAkB,CAAC;IAC9B,gBAAgB,EAAE,iDAAiD,CAAC;IACpE,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE,EAAE,CAAC;CAChB"}
@@ -1,4 +1,4 @@
1
1
  export type { FileId, ListLogFilesResponse, LogFile, Organization, } from "./_components.js";
2
- export type { GetLogFileContentPermissionDenied, ListLogFilesPermissionDenied, } from "./_errors.js";
2
+ export type { GetLogFileContentPermissionDenied, ListLogFilesPermissionDenied, MissingStartDate, } 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,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"}
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,EAC5B,gBAAgB,GACjB,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,QAAQ,MAAM,qBAAqB,CAAC"}
@@ -7,7 +7,7 @@ import type * as _Audit from "../_components.js";
7
7
  *
8
8
  * 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.
9
9
  *
10
- * @beta
10
+ * @public
11
11
  *
12
12
  * Required Scopes: [api:audit-read]
13
13
  * URL: /v2/audit/organizations/{organizationRid}/logFiles
@@ -19,20 +19,13 @@ export declare function list($ctx: $Client | $ClientContext | $OldClient | $OldC
19
19
  endDate?: string | undefined;
20
20
  pageSize?: _Core.PageSize | undefined;
21
21
  pageToken?: _Core.PageToken | undefined;
22
- preview?: _Core.PreviewMode | undefined;
23
22
  }
24
23
  ]): Promise<_Audit.ListLogFilesResponse>;
25
24
  /**
26
- * @beta
25
+ * @public
27
26
  *
28
27
  * Required Scopes: [api:audit-read]
29
28
  * URL: /v2/audit/organizations/{organizationRid}/logFiles/{logFileId}/content
30
29
  */
31
- export declare function content($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
32
- organizationRid: _Core.OrganizationRid,
33
- logFileId: _Audit.FileId,
34
- $queryParams?: {
35
- preview?: _Core.PreviewMode | undefined;
36
- }
37
- ]): Promise<Response>;
30
+ export declare function content($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [organizationRid: _Core.OrganizationRid, logFileId: _Audit.FileId]): Promise<Response>;
38
31
  //# sourceMappingURL=LogFile.d.ts.map
@@ -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;AAiBjD;;;;;;;;;GASG;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,C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IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE,CAAC,eAAe,EAAE,KAAK,CAAC,eAAe,EAAE,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,GAC1E,OAAO,CAAC,QAAQ,CAAC,CAEnB"}
@@ -21,7 +21,7 @@ const _list = [0, "/v2/audit/organizations/{0}/logFiles", 2];
21
21
  *
22
22
  * 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.
23
23
  *
24
- * @beta
24
+ * @public
25
25
  *
26
26
  * Required Scopes: [api:audit-read]
27
27
  * URL: /v2/audit/organizations/{organizationRid}/logFiles
@@ -29,9 +29,9 @@ const _list = [0, "/v2/audit/organizations/{0}/logFiles", 2];
29
29
  export function list($ctx, ...args) {
30
30
  return $foundryPlatformFetch($ctx, _list, ...args);
31
31
  }
32
- const _content = [0, "/v2/audit/organizations/{0}/logFiles/{1}/content", 2,, "application/octet-stream"];
32
+ const _content = [0, "/v2/audit/organizations/{0}/logFiles/{1}/content",,, "application/octet-stream"];
33
33
  /**
34
- * @beta
34
+ * @public
35
35
  *
36
36
  * Required Scopes: [api:audit-read]
37
37
  * URL: /v2/audit/organizations/{organizationRid}/logFiles/{logFileId}/content
@@ -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/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":[]}
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 * @public\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 ,\n ,\n \"application/octet-stream\",\n];\n/**\n * @public\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,IAGlD,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":[]}
@@ -28,4 +28,16 @@ export interface ListLogFilesPermissionDenied {
28
28
  errorInstanceId: string;
29
29
  parameters: {};
30
30
  }
31
+ /**
32
+ * Start date is required to list audit log files.
33
+ *
34
+ * Log Safety: SAFE
35
+ */
36
+ export interface MissingStartDate {
37
+ errorCode: "INVALID_ARGUMENT";
38
+ errorName: "MissingStartDate";
39
+ errorDescription: "Start date is required to list audit log files.";
40
+ errorInstanceId: string;
41
+ parameters: {};
42
+ }
31
43
  //# sourceMappingURL=_errors.d.ts.map
@@ -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/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CAAC;IACxB,UAAU,EAAE,EAAE,CAAC;CAChB"}
@@ -1,4 +1,4 @@
1
1
  export type { FileId, ListLogFilesResponse, LogFile, Organization, } from "./_components.js";
2
- export type { GetLogFileContentPermissionDenied, ListLogFilesPermissionDenied, } from "./_errors.js";
2
+ export type { GetLogFileContentPermissionDenied, ListLogFilesPermissionDenied, MissingStartDate, } 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,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"}
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,EAC5B,gBAAgB,GACjB,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,QAAQ,MAAM,qBAAqB,CAAC"}
@@ -7,7 +7,7 @@ import type * as _Audit from "../_components.js";
7
7
  *
8
8
  * 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.
9
9
  *
10
- * @beta
10
+ * @public
11
11
  *
12
12
  * Required Scopes: [api:audit-read]
13
13
  * URL: /v2/audit/organizations/{organizationRid}/logFiles
@@ -19,20 +19,13 @@ export declare function list($ctx: $Client | $ClientContext | $OldClient | $OldC
19
19
  endDate?: string | undefined;
20
20
  pageSize?: _Core.PageSize | undefined;
21
21
  pageToken?: _Core.PageToken | undefined;
22
- preview?: _Core.PreviewMode | undefined;
23
22
  }
24
23
  ]): Promise<_Audit.ListLogFilesResponse>;
25
24
  /**
26
- * @beta
25
+ * @public
27
26
  *
28
27
  * Required Scopes: [api:audit-read]
29
28
  * URL: /v2/audit/organizations/{organizationRid}/logFiles/{logFileId}/content
30
29
  */
31
- export declare function content($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
32
- organizationRid: _Core.OrganizationRid,
33
- logFileId: _Audit.FileId,
34
- $queryParams?: {
35
- preview?: _Core.PreviewMode | undefined;
36
- }
37
- ]): Promise<Response>;
30
+ export declare function content($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [organizationRid: _Core.OrganizationRid, logFileId: _Audit.FileId]): Promise<Response>;
38
31
  //# sourceMappingURL=LogFile.d.ts.map
@@ -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;AAiBjD;;;;;;;;;GASG;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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,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;KACzC;CACF,GACA,OAAO,CAAC,MAAM,CAAC,oBAAoB,CAAC,CAEtC;AAeD;;;;;GAKG;AACH,wBAAgB,OAAO,CACrB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE,CAAC,eAAe,EAAE,KAAK,CAAC,eAAe,EAAE,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,GAC1E,OAAO,CAAC,QAAQ,CAAC,CAEnB"}
@@ -21,7 +21,7 @@ const _list = [0, "/v2/audit/organizations/{0}/logFiles", 2];
21
21
  *
22
22
  * 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.
23
23
  *
24
- * @beta
24
+ * @public
25
25
  *
26
26
  * Required Scopes: [api:audit-read]
27
27
  * URL: /v2/audit/organizations/{organizationRid}/logFiles
@@ -29,9 +29,9 @@ const _list = [0, "/v2/audit/organizations/{0}/logFiles", 2];
29
29
  export function list($ctx, ...args) {
30
30
  return $foundryPlatformFetch($ctx, _list, ...args);
31
31
  }
32
- const _content = [0, "/v2/audit/organizations/{0}/logFiles/{1}/content", 2,, "application/octet-stream"];
32
+ const _content = [0, "/v2/audit/organizations/{0}/logFiles/{1}/content",,, "application/octet-stream"];
33
33
  /**
34
- * @beta
34
+ * @public
35
35
  *
36
36
  * Required Scopes: [api:audit-read]
37
37
  * URL: /v2/audit/organizations/{organizationRid}/logFiles/{logFileId}/content
@@ -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/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":[]}
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 * @public\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 ,\n ,\n \"application/octet-stream\",\n];\n/**\n * @public\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,IAGlD,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.35.0",
3
+ "version": "2.36.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.35.0",
24
+ "@osdk/foundry.core": "2.36.0",
25
25
  "@osdk/shared.net.platformapi": "~1.5.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.1327.0",
48
+ "minVersion": "1.1342.0",
49
49
  "maxVersion": "1.x.x",
50
50
  "optional": false
51
51
  }