@orq-ai/node 4.17.0-rc.33 → 4.17.0-rc.34
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/README.md +87 -66
- package/funcs/auditLogDestinationsCreate.d.ts +18 -0
- package/funcs/auditLogDestinationsCreate.d.ts.map +1 -0
- package/funcs/auditLogDestinationsCreate.js +119 -0
- package/funcs/auditLogDestinationsCreate.js.map +1 -0
- package/funcs/auditLogDestinationsDelete.d.ts +19 -0
- package/funcs/auditLogDestinationsDelete.d.ts.map +1 -0
- package/funcs/auditLogDestinationsDelete.js +125 -0
- package/funcs/auditLogDestinationsDelete.js.map +1 -0
- package/funcs/auditLogDestinationsGet.d.ts +19 -0
- package/funcs/auditLogDestinationsGet.d.ts.map +1 -0
- package/funcs/auditLogDestinationsGet.js +125 -0
- package/funcs/auditLogDestinationsGet.js.map +1 -0
- package/funcs/auditLogDestinationsList.d.ts +19 -0
- package/funcs/auditLogDestinationsList.d.ts.map +1 -0
- package/funcs/auditLogDestinationsList.js +125 -0
- package/funcs/auditLogDestinationsList.js.map +1 -0
- package/funcs/auditLogDestinationsListDeliveries.d.ts +19 -0
- package/funcs/auditLogDestinationsListDeliveries.d.ts.map +1 -0
- package/funcs/auditLogDestinationsListDeliveries.js +132 -0
- package/funcs/auditLogDestinationsListDeliveries.js.map +1 -0
- package/funcs/auditLogDestinationsReplay.d.ts +19 -0
- package/funcs/auditLogDestinationsReplay.d.ts.map +1 -0
- package/funcs/auditLogDestinationsReplay.js +128 -0
- package/funcs/auditLogDestinationsReplay.js.map +1 -0
- package/funcs/auditLogDestinationsRotateSecret.d.ts +19 -0
- package/funcs/auditLogDestinationsRotateSecret.d.ts.map +1 -0
- package/funcs/auditLogDestinationsRotateSecret.js +125 -0
- package/funcs/auditLogDestinationsRotateSecret.js.map +1 -0
- package/funcs/auditLogDestinationsTest.d.ts +19 -0
- package/funcs/auditLogDestinationsTest.d.ts.map +1 -0
- package/funcs/auditLogDestinationsTest.js +125 -0
- package/funcs/auditLogDestinationsTest.js.map +1 -0
- package/funcs/auditLogDestinationsUpdate.d.ts +19 -0
- package/funcs/auditLogDestinationsUpdate.d.ts.map +1 -0
- package/funcs/auditLogDestinationsUpdate.js +128 -0
- package/funcs/auditLogDestinationsUpdate.js.map +1 -0
- package/funcs/websearchSearch.d.ts +3 -3
- package/funcs/websearchSearch.js +3 -3
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/models/components/auditlogdelivery.d.ts +42 -0
- package/models/components/auditlogdelivery.d.ts.map +1 -0
- package/models/components/auditlogdelivery.js +77 -0
- package/models/components/auditlogdelivery.js.map +1 -0
- package/models/components/auditlogdeliverykind.d.ts +11 -0
- package/models/components/auditlogdeliverykind.d.ts.map +1 -0
- package/models/components/auditlogdeliverykind.js +48 -0
- package/models/components/auditlogdeliverykind.js.map +1 -0
- package/models/components/auditlogdeliverystatus.d.ts +15 -0
- package/models/components/auditlogdeliverystatus.d.ts.map +1 -0
- package/models/components/auditlogdeliverystatus.js +52 -0
- package/models/components/auditlogdeliverystatus.js.map +1 -0
- package/models/components/auditlogdestination.d.ts +36 -0
- package/models/components/auditlogdestination.d.ts.map +1 -0
- package/models/components/auditlogdestination.js +72 -0
- package/models/components/auditlogdestination.js.map +1 -0
- package/models/components/auditlogdestinationstatus.d.ts +12 -0
- package/models/components/auditlogdestinationstatus.d.ts.map +1 -0
- package/models/components/auditlogdestinationstatus.js +49 -0
- package/models/components/auditlogdestinationstatus.js.map +1 -0
- package/models/components/createauditlogdestinationrequest.d.ts +25 -0
- package/models/components/createauditlogdestinationrequest.d.ts.map +1 -0
- package/models/components/createauditlogdestinationrequest.js +56 -0
- package/models/components/createauditlogdestinationrequest.js.map +1 -0
- package/models/components/createauditlogdestinationresponse.d.ts +15 -0
- package/models/components/createauditlogdestinationresponse.d.ts.map +1 -0
- package/models/components/createauditlogdestinationresponse.js +57 -0
- package/models/components/createauditlogdestinationresponse.js.map +1 -0
- package/models/components/deleteauditlogdestinationresponse.d.ts +8 -0
- package/models/components/deleteauditlogdestinationresponse.d.ts.map +1 -0
- package/models/components/deleteauditlogdestinationresponse.js +48 -0
- package/models/components/deleteauditlogdestinationresponse.js.map +1 -0
- package/models/components/effectiveuserpermissions.d.ts +10 -0
- package/models/components/effectiveuserpermissions.d.ts.map +1 -0
- package/models/components/effectiveuserpermissions.js +50 -0
- package/models/components/effectiveuserpermissions.js.map +1 -0
- package/models/components/getauditlogdestinationresponse.d.ts +11 -0
- package/models/components/getauditlogdestinationresponse.d.ts.map +1 -0
- package/models/components/getauditlogdestinationresponse.js +51 -0
- package/models/components/getauditlogdestinationresponse.js.map +1 -0
- package/models/components/index.d.ts +18 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +18 -0
- package/models/components/index.js.map +1 -1
- package/models/components/listauditlogdeliveriesresponse.d.ts +13 -0
- package/models/components/listauditlogdeliveriesresponse.d.ts.map +1 -0
- package/models/components/listauditlogdeliveriesresponse.js +58 -0
- package/models/components/listauditlogdeliveriesresponse.js.map +1 -0
- package/models/components/listauditlogdestinationsresponse.d.ts +13 -0
- package/models/components/listauditlogdestinationsresponse.d.ts.map +1 -0
- package/models/components/listauditlogdestinationsresponse.js +58 -0
- package/models/components/listauditlogdestinationsresponse.js.map +1 -0
- package/models/components/reasoningpart.js +1 -1
- package/models/components/replayauditlogdeliveriesrequest.d.ts +20 -0
- package/models/components/replayauditlogdeliveriesrequest.d.ts.map +1 -0
- package/models/components/replayauditlogdeliveriesrequest.js +50 -0
- package/models/components/replayauditlogdeliveriesrequest.js.map +1 -0
- package/models/components/replayauditlogdeliveriesresponse.d.ts +14 -0
- package/models/components/replayauditlogdeliveriesresponse.d.ts.map +1 -0
- package/models/components/replayauditlogdeliveriesresponse.js +56 -0
- package/models/components/replayauditlogdeliveriesresponse.js.map +1 -0
- package/models/components/rotateauditlogdestinationsecretresponse.d.ts +15 -0
- package/models/components/rotateauditlogdestinationsecretresponse.d.ts.map +1 -0
- package/models/components/rotateauditlogdestinationsecretresponse.js +57 -0
- package/models/components/rotateauditlogdestinationsecretresponse.js.map +1 -0
- package/models/components/testauditlogdestinationresponse.d.ts +11 -0
- package/models/components/testauditlogdestinationresponse.d.ts.map +1 -0
- package/models/components/testauditlogdestinationresponse.js +51 -0
- package/models/components/testauditlogdestinationresponse.js.map +1 -0
- package/models/components/updateauditlogdestinationrequest.d.ts +28 -0
- package/models/components/updateauditlogdestinationrequest.d.ts.map +1 -0
- package/models/components/updateauditlogdestinationrequest.js +58 -0
- package/models/components/updateauditlogdestinationrequest.js.map +1 -0
- package/models/components/updateauditlogdestinationresponse.d.ts +11 -0
- package/models/components/updateauditlogdestinationresponse.d.ts.map +1 -0
- package/models/components/updateauditlogdestinationresponse.js +51 -0
- package/models/components/updateauditlogdestinationresponse.js.map +1 -0
- package/models/components/workspacecapabilities.d.ts +2 -0
- package/models/components/workspacecapabilities.d.ts.map +1 -1
- package/models/components/workspacecapabilities.js +7 -0
- package/models/components/workspacecapabilities.js.map +1 -1
- package/models/operations/auditlogdestinationdelete.d.ts +12 -0
- package/models/operations/auditlogdestinationdelete.d.ts.map +1 -0
- package/models/operations/auditlogdestinationdelete.js +54 -0
- package/models/operations/auditlogdestinationdelete.js.map +1 -0
- package/models/operations/auditlogdestinationget.d.ts +12 -0
- package/models/operations/auditlogdestinationget.d.ts.map +1 -0
- package/models/operations/auditlogdestinationget.js +54 -0
- package/models/operations/auditlogdestinationget.js.map +1 -0
- package/models/operations/auditlogdestinationlist.d.ts +16 -0
- package/models/operations/auditlogdestinationlist.d.ts.map +1 -0
- package/models/operations/auditlogdestinationlist.js +57 -0
- package/models/operations/auditlogdestinationlist.js.map +1 -0
- package/models/operations/auditlogdestinationlistdeliveries.d.ts +21 -0
- package/models/operations/auditlogdestinationlistdeliveries.d.ts.map +1 -0
- package/models/operations/auditlogdestinationlistdeliveries.js +61 -0
- package/models/operations/auditlogdestinationlistdeliveries.js.map +1 -0
- package/models/operations/auditlogdestinationreplay.d.ts +15 -0
- package/models/operations/auditlogdestinationreplay.d.ts.map +1 -0
- package/models/operations/auditlogdestinationreplay.js +57 -0
- package/models/operations/auditlogdestinationreplay.js.map +1 -0
- package/models/operations/auditlogdestinationrotatesecret.d.ts +12 -0
- package/models/operations/auditlogdestinationrotatesecret.d.ts.map +1 -0
- package/models/operations/auditlogdestinationrotatesecret.js +54 -0
- package/models/operations/auditlogdestinationrotatesecret.js.map +1 -0
- package/models/operations/auditlogdestinationtest.d.ts +12 -0
- package/models/operations/auditlogdestinationtest.d.ts.map +1 -0
- package/models/operations/auditlogdestinationtest.js +54 -0
- package/models/operations/auditlogdestinationtest.js.map +1 -0
- package/models/operations/auditlogdestinationupdate.d.ts +15 -0
- package/models/operations/auditlogdestinationupdate.d.ts.map +1 -0
- package/models/operations/auditlogdestinationupdate.js +57 -0
- package/models/operations/auditlogdestinationupdate.js.map +1 -0
- package/models/operations/createtool.js +4 -4
- package/models/operations/getalltools.js +4 -4
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/index.d.ts +8 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +8 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/listdeploymentversions.js +1 -1
- package/models/operations/patchv2humanevalsetsid.js +2 -2
- package/models/operations/postv2feedbackevaluation.js +4 -4
- package/models/operations/postv2humanevalsets.js +2 -2
- package/models/operations/retrievetool.js +4 -4
- package/models/operations/runagent.js +1 -1
- package/models/operations/searchweb.d.ts +3 -1
- package/models/operations/searchweb.d.ts.map +1 -1
- package/models/operations/searchweb.js +2 -0
- package/models/operations/searchweb.js.map +1 -1
- package/models/operations/streamrunagent.js +1 -1
- package/models/operations/updatetool.js +4 -4
- package/package.json +8 -8
- package/sdk/auditlogdestinations.d.ts +69 -0
- package/sdk/auditlogdestinations.d.ts.map +1 -0
- package/sdk/auditlogdestinations.js +102 -0
- package/sdk/auditlogdestinations.js.map +1 -0
- package/sdk/sdk.d.ts +3 -0
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +4 -0
- package/sdk/sdk.js.map +1 -1
- package/sdk/websearch.d.ts +3 -3
- package/sdk/websearch.js +3 -3
- package/src/funcs/auditLogDestinationsCreate.ts +172 -0
- package/src/funcs/auditLogDestinationsDelete.ts +180 -0
- package/src/funcs/auditLogDestinationsGet.ts +180 -0
- package/src/funcs/auditLogDestinationsList.ts +181 -0
- package/src/funcs/auditLogDestinationsListDeliveries.ts +190 -0
- package/src/funcs/auditLogDestinationsReplay.ts +183 -0
- package/src/funcs/auditLogDestinationsRotateSecret.ts +185 -0
- package/src/funcs/auditLogDestinationsTest.ts +180 -0
- package/src/funcs/auditLogDestinationsUpdate.ts +183 -0
- package/src/funcs/websearchSearch.ts +3 -3
- package/src/lib/config.ts +2 -2
- package/src/models/components/auditlogdelivery.ts +100 -0
- package/src/models/components/auditlogdeliverykind.ts +18 -0
- package/src/models/components/auditlogdeliverystatus.ts +24 -0
- package/src/models/components/auditlogdestination.ts +83 -0
- package/src/models/components/auditlogdestinationstatus.ts +23 -0
- package/src/models/components/createauditlogdestinationrequest.ts +53 -0
- package/src/models/components/createauditlogdestinationresponse.ts +45 -0
- package/src/models/components/deleteauditlogdestinationresponse.ts +27 -0
- package/src/models/components/effectiveuserpermissions.ts +31 -0
- package/src/models/components/getauditlogdestinationresponse.ts +35 -0
- package/src/models/components/index.ts +18 -0
- package/src/models/components/listauditlogdeliveriesresponse.ts +44 -0
- package/src/models/components/listauditlogdestinationsresponse.ts +44 -0
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/components/replayauditlogdeliveriesrequest.ts +42 -0
- package/src/models/components/replayauditlogdeliveriesresponse.ts +41 -0
- package/src/models/components/rotateauditlogdestinationsecretresponse.ts +51 -0
- package/src/models/components/testauditlogdestinationresponse.ts +35 -0
- package/src/models/components/updateauditlogdestinationrequest.ts +60 -0
- package/src/models/components/updateauditlogdestinationresponse.ts +35 -0
- package/src/models/components/workspacecapabilities.ts +11 -0
- package/src/models/operations/auditlogdestinationdelete.ts +38 -0
- package/src/models/operations/auditlogdestinationget.ts +38 -0
- package/src/models/operations/auditlogdestinationlist.ts +45 -0
- package/src/models/operations/auditlogdestinationlistdeliveries.ts +54 -0
- package/src/models/operations/auditlogdestinationreplay.ts +45 -0
- package/src/models/operations/auditlogdestinationrotatesecret.ts +39 -0
- package/src/models/operations/auditlogdestinationtest.ts +38 -0
- package/src/models/operations/auditlogdestinationupdate.ts +45 -0
- package/src/models/operations/createtool.ts +4 -4
- package/src/models/operations/getalltools.ts +4 -4
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/index.ts +8 -0
- package/src/models/operations/listdeploymentversions.ts +1 -1
- package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/src/models/operations/postv2feedbackevaluation.ts +4 -4
- package/src/models/operations/postv2humanevalsets.ts +2 -2
- package/src/models/operations/retrievetool.ts +4 -4
- package/src/models/operations/runagent.ts +1 -1
- package/src/models/operations/searchweb.ts +3 -1
- package/src/models/operations/streamrunagent.ts +1 -1
- package/src/models/operations/updatetool.ts +4 -4
- package/src/sdk/auditlogdestinations.ts +172 -0
- package/src/sdk/sdk.ts +8 -0
- package/src/sdk/websearch.ts +3 -3
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
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 () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.ListAuditLogDestinationsResponse$inboundSchema = void 0;
|
|
40
|
+
exports.listAuditLogDestinationsResponseFromJSON = listAuditLogDestinationsResponseFromJSON;
|
|
41
|
+
const z = __importStar(require("zod/v3"));
|
|
42
|
+
const primitives_js_1 = require("../../lib/primitives.js");
|
|
43
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
44
|
+
const auditlogdestination_js_1 = require("./auditlogdestination.js");
|
|
45
|
+
/** @internal */
|
|
46
|
+
exports.ListAuditLogDestinationsResponse$inboundSchema = z.object({
|
|
47
|
+
object: z.string(),
|
|
48
|
+
data: z.array(auditlogdestination_js_1.AuditLogDestination$inboundSchema),
|
|
49
|
+
has_more: z.boolean(),
|
|
50
|
+
}).transform((v) => {
|
|
51
|
+
return (0, primitives_js_1.remap)(v, {
|
|
52
|
+
"has_more": "hasMore",
|
|
53
|
+
});
|
|
54
|
+
});
|
|
55
|
+
function listAuditLogDestinationsResponseFromJSON(jsonString) {
|
|
56
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListAuditLogDestinationsResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAuditLogDestinationsResponse' from JSON`);
|
|
57
|
+
}
|
|
58
|
+
//# sourceMappingURL=listauditlogdestinationsresponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listauditlogdestinationsresponse.js","sourceRoot":"","sources":["../../src/models/components/listauditlogdestinationsresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiCH,4FAQC;AAvCD,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAAiD;AAGjD,qEAGkC;AAQlC,gBAAgB;AACH,QAAA,8CAA8C,GAIvD,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,0DAAiC,CAAC;IAChD,QAAQ,EAAE,CAAC,CAAC,OAAO,EAAE;CACtB,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,UAAU,EAAE,SAAS;KACtB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,wCAAwC,CACtD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,sDAA8C,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC1E,8DAA8D,CAC/D,CAAC;AACJ,CAAC"}
|
|
@@ -43,7 +43,7 @@ const primitives_js_1 = require("../../lib/primitives.js");
|
|
|
43
43
|
const schemas_js_1 = require("../../lib/schemas.js");
|
|
44
44
|
/** @internal */
|
|
45
45
|
exports.ReasoningPart$inboundSchema = z.object({
|
|
46
|
-
_id: z.string().default("
|
|
46
|
+
_id: z.string().default("reasoning_01m57ntt13n9k451sa9nhqmb4n"),
|
|
47
47
|
metadata: z.record(z.any()).optional(),
|
|
48
48
|
kind: z.literal("reasoning"),
|
|
49
49
|
reasoning: z.string(),
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
export type ReplayAuditLogDeliveriesRequest = {
|
|
3
|
+
/**
|
|
4
|
+
* Required. Start of the window (inclusive).
|
|
5
|
+
*/
|
|
6
|
+
from: Date;
|
|
7
|
+
/**
|
|
8
|
+
* Required. End of the window (exclusive). The window may span at most 31 days.
|
|
9
|
+
*/
|
|
10
|
+
to: Date;
|
|
11
|
+
};
|
|
12
|
+
/** @internal */
|
|
13
|
+
export type ReplayAuditLogDeliveriesRequest$Outbound = {
|
|
14
|
+
from: string;
|
|
15
|
+
to: string;
|
|
16
|
+
};
|
|
17
|
+
/** @internal */
|
|
18
|
+
export declare const ReplayAuditLogDeliveriesRequest$outboundSchema: z.ZodType<ReplayAuditLogDeliveriesRequest$Outbound, z.ZodTypeDef, ReplayAuditLogDeliveriesRequest>;
|
|
19
|
+
export declare function replayAuditLogDeliveriesRequestToJSON(replayAuditLogDeliveriesRequest: ReplayAuditLogDeliveriesRequest): string;
|
|
20
|
+
//# sourceMappingURL=replayauditlogdeliveriesrequest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"replayauditlogdeliveriesrequest.d.ts","sourceRoot":"","sources":["../../src/models/components/replayauditlogdeliveriesrequest.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,MAAM,MAAM,+BAA+B,GAAG;IAC5C;;OAEG;IACH,IAAI,EAAE,IAAI,CAAC;IACX;;OAEG;IACH,EAAE,EAAE,IAAI,CAAC;CACV,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,wCAAwC,GAAG;IACrD,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,8CAA8C,EAAE,CAAC,CAAC,OAAO,CACpE,wCAAwC,EACxC,CAAC,CAAC,UAAU,EACZ,+BAA+B,CAI/B,CAAC;AAEH,wBAAgB,qCAAqC,CACnD,+BAA+B,EAAE,+BAA+B,GAC/D,MAAM,CAMR"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
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 () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.ReplayAuditLogDeliveriesRequest$outboundSchema = void 0;
|
|
40
|
+
exports.replayAuditLogDeliveriesRequestToJSON = replayAuditLogDeliveriesRequestToJSON;
|
|
41
|
+
const z = __importStar(require("zod/v3"));
|
|
42
|
+
/** @internal */
|
|
43
|
+
exports.ReplayAuditLogDeliveriesRequest$outboundSchema = z.object({
|
|
44
|
+
from: z.date().transform(v => v.toISOString()),
|
|
45
|
+
to: z.date().transform(v => v.toISOString()),
|
|
46
|
+
});
|
|
47
|
+
function replayAuditLogDeliveriesRequestToJSON(replayAuditLogDeliveriesRequest) {
|
|
48
|
+
return JSON.stringify(exports.ReplayAuditLogDeliveriesRequest$outboundSchema.parse(replayAuditLogDeliveriesRequest));
|
|
49
|
+
}
|
|
50
|
+
//# sourceMappingURL=replayauditlogdeliveriesrequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"replayauditlogdeliveriesrequest.js","sourceRoot":"","sources":["../../src/models/components/replayauditlogdeliveriesrequest.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+BH,sFAQC;AArCD,0CAA4B;AAmB5B,gBAAgB;AACH,QAAA,8CAA8C,GAIvD,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC;IAC9C,EAAE,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC;CAC7C,CAAC,CAAC;AAEH,SAAgB,qCAAqC,CACnD,+BAAgE;IAEhE,OAAO,IAAI,CAAC,SAAS,CACnB,sDAA8C,CAAC,KAAK,CAClD,+BAA+B,CAChC,CACF,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
export type ReplayAuditLogDeliveriesResponse = {
|
|
5
|
+
replayId: string;
|
|
6
|
+
/**
|
|
7
|
+
* Number of deliveries queued by this replay.
|
|
8
|
+
*/
|
|
9
|
+
queued: number;
|
|
10
|
+
};
|
|
11
|
+
/** @internal */
|
|
12
|
+
export declare const ReplayAuditLogDeliveriesResponse$inboundSchema: z.ZodType<ReplayAuditLogDeliveriesResponse, z.ZodTypeDef, unknown>;
|
|
13
|
+
export declare function replayAuditLogDeliveriesResponseFromJSON(jsonString: string): SafeParseResult<ReplayAuditLogDeliveriesResponse, SDKValidationError>;
|
|
14
|
+
//# sourceMappingURL=replayauditlogdeliveriesresponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"replayauditlogdeliveriesresponse.d.ts","sourceRoot":"","sources":["../../src/models/components/replayauditlogdeliveriesresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,gCAAgC,GAAG;IAC7C,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,8CAA8C,EAAE,CAAC,CAAC,OAAO,CACpE,gCAAgC,EAChC,CAAC,CAAC,UAAU,EACZ,OAAO,CAQP,CAAC;AAEH,wBAAgB,wCAAwC,CACtD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,gCAAgC,EAAE,kBAAkB,CAAC,CAMvE"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
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 () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.ReplayAuditLogDeliveriesResponse$inboundSchema = void 0;
|
|
40
|
+
exports.replayAuditLogDeliveriesResponseFromJSON = replayAuditLogDeliveriesResponseFromJSON;
|
|
41
|
+
const z = __importStar(require("zod/v3"));
|
|
42
|
+
const primitives_js_1 = require("../../lib/primitives.js");
|
|
43
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
44
|
+
/** @internal */
|
|
45
|
+
exports.ReplayAuditLogDeliveriesResponse$inboundSchema = z.object({
|
|
46
|
+
replay_id: z.string(),
|
|
47
|
+
queued: z.number().int(),
|
|
48
|
+
}).transform((v) => {
|
|
49
|
+
return (0, primitives_js_1.remap)(v, {
|
|
50
|
+
"replay_id": "replayId",
|
|
51
|
+
});
|
|
52
|
+
});
|
|
53
|
+
function replayAuditLogDeliveriesResponseFromJSON(jsonString) {
|
|
54
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ReplayAuditLogDeliveriesResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ReplayAuditLogDeliveriesResponse' from JSON`);
|
|
55
|
+
}
|
|
56
|
+
//# sourceMappingURL=replayauditlogdeliveriesresponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"replayauditlogdeliveriesresponse.js","sourceRoot":"","sources":["../../src/models/components/replayauditlogdeliveriesresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8BH,4FAQC;AApCD,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAAiD;AAYjD,gBAAgB;AACH,QAAA,8CAA8C,GAIvD,CAAC,CAAC,MAAM,CAAC;IACX,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;CACzB,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,WAAW,EAAE,UAAU;KACxB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,wCAAwC,CACtD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,sDAA8C,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC1E,8DAA8D,CAC/D,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
import { AuditLogDestination } from "./auditlogdestination.js";
|
|
5
|
+
export type RotateAuditLogDestinationSecretResponse = {
|
|
6
|
+
destination: AuditLogDestination;
|
|
7
|
+
/**
|
|
8
|
+
* New signing secret. Shown only in this response; store it securely.
|
|
9
|
+
*/
|
|
10
|
+
signingSecret: string;
|
|
11
|
+
};
|
|
12
|
+
/** @internal */
|
|
13
|
+
export declare const RotateAuditLogDestinationSecretResponse$inboundSchema: z.ZodType<RotateAuditLogDestinationSecretResponse, z.ZodTypeDef, unknown>;
|
|
14
|
+
export declare function rotateAuditLogDestinationSecretResponseFromJSON(jsonString: string): SafeParseResult<RotateAuditLogDestinationSecretResponse, SDKValidationError>;
|
|
15
|
+
//# sourceMappingURL=rotateauditlogdestinationsecretresponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rotateauditlogdestinationsecretresponse.d.ts","sourceRoot":"","sources":["../../src/models/components/rotateauditlogdestinationsecretresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,mBAAmB,EAEpB,MAAM,0BAA0B,CAAC;AAElC,MAAM,MAAM,uCAAuC,GAAG;IACpD,WAAW,EAAE,mBAAmB,CAAC;IACjC;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,qDAAqD,EAAE,CAAC,CAAC,OAAO,CAC3E,uCAAuC,EACvC,CAAC,CAAC,UAAU,EACZ,OAAO,CAQP,CAAC;AAEH,wBAAgB,+CAA+C,CAC7D,UAAU,EAAE,MAAM,GACjB,eAAe,CAChB,uCAAuC,EACvC,kBAAkB,CACnB,CASA"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
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 () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.RotateAuditLogDestinationSecretResponse$inboundSchema = void 0;
|
|
40
|
+
exports.rotateAuditLogDestinationSecretResponseFromJSON = rotateAuditLogDestinationSecretResponseFromJSON;
|
|
41
|
+
const z = __importStar(require("zod/v3"));
|
|
42
|
+
const primitives_js_1 = require("../../lib/primitives.js");
|
|
43
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
44
|
+
const auditlogdestination_js_1 = require("./auditlogdestination.js");
|
|
45
|
+
/** @internal */
|
|
46
|
+
exports.RotateAuditLogDestinationSecretResponse$inboundSchema = z.object({
|
|
47
|
+
destination: auditlogdestination_js_1.AuditLogDestination$inboundSchema,
|
|
48
|
+
signing_secret: z.string(),
|
|
49
|
+
}).transform((v) => {
|
|
50
|
+
return (0, primitives_js_1.remap)(v, {
|
|
51
|
+
"signing_secret": "signingSecret",
|
|
52
|
+
});
|
|
53
|
+
});
|
|
54
|
+
function rotateAuditLogDestinationSecretResponseFromJSON(jsonString) {
|
|
55
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.RotateAuditLogDestinationSecretResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'RotateAuditLogDestinationSecretResponse' from JSON`);
|
|
56
|
+
}
|
|
57
|
+
//# sourceMappingURL=rotateauditlogdestinationsecretresponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rotateauditlogdestinationsecretresponse.js","sourceRoot":"","sources":["../../src/models/components/rotateauditlogdestinationsecretresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkCH,0GAcC;AA9CD,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAAiD;AAGjD,qEAGkC;AAUlC,gBAAgB;AACH,QAAA,qDAAqD,GAI9D,CAAC,CAAC,MAAM,CAAC;IACX,WAAW,EAAE,0DAAiC;IAC9C,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE;CAC3B,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,gBAAgB,EAAE,eAAe;KAClC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,+CAA+C,CAC7D,UAAkB;IAKlB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,6DAAqD,CAAC,KAAK,CACzD,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CACd,EACH,qEAAqE,CACtE,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
import { AuditLogDelivery } from "./auditlogdelivery.js";
|
|
5
|
+
export type TestAuditLogDestinationResponse = {
|
|
6
|
+
delivery: AuditLogDelivery;
|
|
7
|
+
};
|
|
8
|
+
/** @internal */
|
|
9
|
+
export declare const TestAuditLogDestinationResponse$inboundSchema: z.ZodType<TestAuditLogDestinationResponse, z.ZodTypeDef, unknown>;
|
|
10
|
+
export declare function testAuditLogDestinationResponseFromJSON(jsonString: string): SafeParseResult<TestAuditLogDestinationResponse, SDKValidationError>;
|
|
11
|
+
//# sourceMappingURL=testauditlogdestinationresponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"testauditlogdestinationresponse.d.ts","sourceRoot":"","sources":["../../src/models/components/testauditlogdestinationresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,gBAAgB,EAEjB,MAAM,uBAAuB,CAAC;AAE/B,MAAM,MAAM,+BAA+B,GAAG;IAC5C,QAAQ,EAAE,gBAAgB,CAAC;CAC5B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,6CAA6C,EAAE,CAAC,CAAC,OAAO,CACnE,+BAA+B,EAC/B,CAAC,CAAC,UAAU,EACZ,OAAO,CAGP,CAAC;AAEH,wBAAgB,uCAAuC,CACrD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,+BAA+B,EAAE,kBAAkB,CAAC,CAMtE"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
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 () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.TestAuditLogDestinationResponse$inboundSchema = void 0;
|
|
40
|
+
exports.testAuditLogDestinationResponseFromJSON = testAuditLogDestinationResponseFromJSON;
|
|
41
|
+
const z = __importStar(require("zod/v3"));
|
|
42
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
43
|
+
const auditlogdelivery_js_1 = require("./auditlogdelivery.js");
|
|
44
|
+
/** @internal */
|
|
45
|
+
exports.TestAuditLogDestinationResponse$inboundSchema = z.object({
|
|
46
|
+
delivery: auditlogdelivery_js_1.AuditLogDelivery$inboundSchema,
|
|
47
|
+
});
|
|
48
|
+
function testAuditLogDestinationResponseFromJSON(jsonString) {
|
|
49
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.TestAuditLogDestinationResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TestAuditLogDestinationResponse' from JSON`);
|
|
50
|
+
}
|
|
51
|
+
//# sourceMappingURL=testauditlogdestinationresponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"testauditlogdestinationresponse.js","sourceRoot":"","sources":["../../src/models/components/testauditlogdestinationresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwBH,0FAQC;AA9BD,0CAA4B;AAC5B,qDAAiD;AAGjD,+DAG+B;AAM/B,gBAAgB;AACH,QAAA,6CAA6C,GAItD,CAAC,CAAC,MAAM,CAAC;IACX,QAAQ,EAAE,oDAA8B;CACzC,CAAC,CAAC;AAEH,SAAgB,uCAAuC,CACrD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,qDAA6C,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACzE,6DAA6D,CAC9D,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { AuditLogDestinationStatus } from "./auditlogdestinationstatus.js";
|
|
3
|
+
export type UpdateAuditLogDestinationRequest = {
|
|
4
|
+
/**
|
|
5
|
+
* Optional. New destination name.
|
|
6
|
+
*/
|
|
7
|
+
displayName?: string | undefined;
|
|
8
|
+
/**
|
|
9
|
+
* Optional. New description. An empty string clears it.
|
|
10
|
+
*/
|
|
11
|
+
description?: string | undefined;
|
|
12
|
+
/**
|
|
13
|
+
* Optional. New HTTPS endpoint. Accepted only while the destination is paused.
|
|
14
|
+
*/
|
|
15
|
+
url?: string | undefined;
|
|
16
|
+
status?: AuditLogDestinationStatus | undefined;
|
|
17
|
+
};
|
|
18
|
+
/** @internal */
|
|
19
|
+
export type UpdateAuditLogDestinationRequest$Outbound = {
|
|
20
|
+
display_name?: string | undefined;
|
|
21
|
+
description?: string | undefined;
|
|
22
|
+
url?: string | undefined;
|
|
23
|
+
status?: string | undefined;
|
|
24
|
+
};
|
|
25
|
+
/** @internal */
|
|
26
|
+
export declare const UpdateAuditLogDestinationRequest$outboundSchema: z.ZodType<UpdateAuditLogDestinationRequest$Outbound, z.ZodTypeDef, UpdateAuditLogDestinationRequest>;
|
|
27
|
+
export declare function updateAuditLogDestinationRequestToJSON(updateAuditLogDestinationRequest: UpdateAuditLogDestinationRequest): string;
|
|
28
|
+
//# sourceMappingURL=updateauditlogdestinationrequest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"updateauditlogdestinationrequest.d.ts","sourceRoot":"","sources":["../../src/models/components/updateauditlogdestinationrequest.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EACL,yBAAyB,EAE1B,MAAM,gCAAgC,CAAC;AAExC,MAAM,MAAM,gCAAgC,GAAG;IAC7C;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACzB,MAAM,CAAC,EAAE,yBAAyB,GAAG,SAAS,CAAC;CAChD,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,yCAAyC,GAAG;IACtD,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACzB,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,+CAA+C,EAAE,CAAC,CAAC,OAAO,CACrE,yCAAyC,EACzC,CAAC,CAAC,UAAU,EACZ,gCAAgC,CAUhC,CAAC;AAEH,wBAAgB,sCAAsC,CACpD,gCAAgC,EAAE,gCAAgC,GACjE,MAAM,CAMR"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
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 () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.UpdateAuditLogDestinationRequest$outboundSchema = void 0;
|
|
40
|
+
exports.updateAuditLogDestinationRequestToJSON = updateAuditLogDestinationRequestToJSON;
|
|
41
|
+
const z = __importStar(require("zod/v3"));
|
|
42
|
+
const primitives_js_1 = require("../../lib/primitives.js");
|
|
43
|
+
const auditlogdestinationstatus_js_1 = require("./auditlogdestinationstatus.js");
|
|
44
|
+
/** @internal */
|
|
45
|
+
exports.UpdateAuditLogDestinationRequest$outboundSchema = z.object({
|
|
46
|
+
displayName: z.string().optional(),
|
|
47
|
+
description: z.string().optional(),
|
|
48
|
+
url: z.string().optional(),
|
|
49
|
+
status: auditlogdestinationstatus_js_1.AuditLogDestinationStatus$outboundSchema.optional(),
|
|
50
|
+
}).transform((v) => {
|
|
51
|
+
return (0, primitives_js_1.remap)(v, {
|
|
52
|
+
displayName: "display_name",
|
|
53
|
+
});
|
|
54
|
+
});
|
|
55
|
+
function updateAuditLogDestinationRequestToJSON(updateAuditLogDestinationRequest) {
|
|
56
|
+
return JSON.stringify(exports.UpdateAuditLogDestinationRequest$outboundSchema.parse(updateAuditLogDestinationRequest));
|
|
57
|
+
}
|
|
58
|
+
//# sourceMappingURL=updateauditlogdestinationrequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"updateauditlogdestinationrequest.js","sourceRoot":"","sources":["../../src/models/components/updateauditlogdestinationrequest.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiDH,wFAQC;AAvDD,0CAA4B;AAC5B,2DAA0D;AAC1D,iFAGwC;AA0BxC,gBAAgB;AACH,QAAA,+CAA+C,GAIxD,CAAC,CAAC,MAAM,CAAC;IACX,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAClC,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAClC,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC1B,MAAM,EAAE,uEAAwC,CAAC,QAAQ,EAAE;CAC5D,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,WAAW,EAAE,cAAc;KAC5B,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,sCAAsC,CACpD,gCAAkE;IAElE,OAAO,IAAI,CAAC,SAAS,CACnB,uDAA+C,CAAC,KAAK,CACnD,gCAAgC,CACjC,CACF,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
import { AuditLogDestination } from "./auditlogdestination.js";
|
|
5
|
+
export type UpdateAuditLogDestinationResponse = {
|
|
6
|
+
destination: AuditLogDestination;
|
|
7
|
+
};
|
|
8
|
+
/** @internal */
|
|
9
|
+
export declare const UpdateAuditLogDestinationResponse$inboundSchema: z.ZodType<UpdateAuditLogDestinationResponse, z.ZodTypeDef, unknown>;
|
|
10
|
+
export declare function updateAuditLogDestinationResponseFromJSON(jsonString: string): SafeParseResult<UpdateAuditLogDestinationResponse, SDKValidationError>;
|
|
11
|
+
//# sourceMappingURL=updateauditlogdestinationresponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"updateauditlogdestinationresponse.d.ts","sourceRoot":"","sources":["../../src/models/components/updateauditlogdestinationresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,mBAAmB,EAEpB,MAAM,0BAA0B,CAAC;AAElC,MAAM,MAAM,iCAAiC,GAAG;IAC9C,WAAW,EAAE,mBAAmB,CAAC;CAClC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,+CAA+C,EAAE,CAAC,CAAC,OAAO,CACrE,iCAAiC,EACjC,CAAC,CAAC,UAAU,EACZ,OAAO,CAGP,CAAC;AAEH,wBAAgB,yCAAyC,CACvD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,iCAAiC,EAAE,kBAAkB,CAAC,CAMxE"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
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 () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.UpdateAuditLogDestinationResponse$inboundSchema = void 0;
|
|
40
|
+
exports.updateAuditLogDestinationResponseFromJSON = updateAuditLogDestinationResponseFromJSON;
|
|
41
|
+
const z = __importStar(require("zod/v3"));
|
|
42
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
43
|
+
const auditlogdestination_js_1 = require("./auditlogdestination.js");
|
|
44
|
+
/** @internal */
|
|
45
|
+
exports.UpdateAuditLogDestinationResponse$inboundSchema = z.object({
|
|
46
|
+
destination: auditlogdestination_js_1.AuditLogDestination$inboundSchema,
|
|
47
|
+
});
|
|
48
|
+
function updateAuditLogDestinationResponseFromJSON(jsonString) {
|
|
49
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.UpdateAuditLogDestinationResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateAuditLogDestinationResponse' from JSON`);
|
|
50
|
+
}
|
|
51
|
+
//# sourceMappingURL=updateauditlogdestinationresponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"updateauditlogdestinationresponse.js","sourceRoot":"","sources":["../../src/models/components/updateauditlogdestinationresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwBH,8FAQC;AA9BD,0CAA4B;AAC5B,qDAAiD;AAGjD,qEAGkC;AAMlC,gBAAgB;AACH,QAAA,+CAA+C,GAIxD,CAAC,CAAC,MAAM,CAAC;IACX,WAAW,EAAE,0DAAiC;CAC/C,CAAC,CAAC;AAEH,SAAgB,yCAAyC,CACvD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,uDAA+C,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC3E,+DAA+D,CAChE,CAAC;AACJ,CAAC"}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import * as z from "zod/v3";
|
|
2
2
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
3
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
import { EffectiveUserPermissions } from "./effectiveuserpermissions.js";
|
|
4
5
|
export type WorkspaceCapabilities = {
|
|
5
6
|
roles?: Array<string> | undefined;
|
|
6
7
|
projects?: Array<string> | undefined;
|
|
8
|
+
userPermissions?: EffectiveUserPermissions | undefined;
|
|
7
9
|
};
|
|
8
10
|
/** @internal */
|
|
9
11
|
export declare const WorkspaceCapabilities$inboundSchema: z.ZodType<WorkspaceCapabilities, z.ZodTypeDef, unknown>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspacecapabilities.d.ts","sourceRoot":"","sources":["../../src/models/components/workspacecapabilities.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"workspacecapabilities.d.ts","sourceRoot":"","sources":["../../src/models/components/workspacecapabilities.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,wBAAwB,EAEzB,MAAM,+BAA+B,CAAC;AAEvC,MAAM,MAAM,qBAAqB,GAAG;IAClC,KAAK,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IAClC,QAAQ,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IACrC,eAAe,CAAC,EAAE,wBAAwB,GAAG,SAAS,CAAC;CACxD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,OAAO,CACzD,qBAAqB,EACrB,CAAC,CAAC,UAAU,EACZ,OAAO,CASP,CAAC;AAEH,wBAAgB,6BAA6B,CAC3C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,qBAAqB,EAAE,kBAAkB,CAAC,CAM5D"}
|
|
@@ -39,11 +39,18 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
39
39
|
exports.WorkspaceCapabilities$inboundSchema = void 0;
|
|
40
40
|
exports.workspaceCapabilitiesFromJSON = workspaceCapabilitiesFromJSON;
|
|
41
41
|
const z = __importStar(require("zod/v3"));
|
|
42
|
+
const primitives_js_1 = require("../../lib/primitives.js");
|
|
42
43
|
const schemas_js_1 = require("../../lib/schemas.js");
|
|
44
|
+
const effectiveuserpermissions_js_1 = require("./effectiveuserpermissions.js");
|
|
43
45
|
/** @internal */
|
|
44
46
|
exports.WorkspaceCapabilities$inboundSchema = z.object({
|
|
45
47
|
roles: z.array(z.string()).optional(),
|
|
46
48
|
projects: z.array(z.string()).optional(),
|
|
49
|
+
user_permissions: effectiveuserpermissions_js_1.EffectiveUserPermissions$inboundSchema.optional(),
|
|
50
|
+
}).transform((v) => {
|
|
51
|
+
return (0, primitives_js_1.remap)(v, {
|
|
52
|
+
"user_permissions": "userPermissions",
|
|
53
|
+
});
|
|
47
54
|
});
|
|
48
55
|
function workspaceCapabilitiesFromJSON(jsonString) {
|
|
49
56
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.WorkspaceCapabilities$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'WorkspaceCapabilities' from JSON`);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspacecapabilities.js","sourceRoot":"","sources":["../../src/models/components/workspacecapabilities.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"workspacecapabilities.js","sourceRoot":"","sources":["../../src/models/components/workspacecapabilities.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiCH,sEAQC;AAvCD,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAAiD;AAGjD,+EAGuC;AAQvC,gBAAgB;AACH,QAAA,mCAAmC,GAI5C,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IACrC,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IACxC,gBAAgB,EAAE,oEAAsC,CAAC,QAAQ,EAAE;CACpE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,kBAAkB,EAAE,iBAAiB;KACtC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,6BAA6B,CAC3C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,2CAAmC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC/D,mDAAmD,CACpD,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
export type AuditLogDestinationDeleteRequest = {
|
|
3
|
+
destinationId: string;
|
|
4
|
+
};
|
|
5
|
+
/** @internal */
|
|
6
|
+
export type AuditLogDestinationDeleteRequest$Outbound = {
|
|
7
|
+
destination_id: string;
|
|
8
|
+
};
|
|
9
|
+
/** @internal */
|
|
10
|
+
export declare const AuditLogDestinationDeleteRequest$outboundSchema: z.ZodType<AuditLogDestinationDeleteRequest$Outbound, z.ZodTypeDef, AuditLogDestinationDeleteRequest>;
|
|
11
|
+
export declare function auditLogDestinationDeleteRequestToJSON(auditLogDestinationDeleteRequest: AuditLogDestinationDeleteRequest): string;
|
|
12
|
+
//# sourceMappingURL=auditlogdestinationdelete.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"auditlogdestinationdelete.d.ts","sourceRoot":"","sources":["../../src/models/operations/auditlogdestinationdelete.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,MAAM,MAAM,gCAAgC,GAAG;IAC7C,aAAa,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,yCAAyC,GAAG;IACtD,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,+CAA+C,EAAE,CAAC,CAAC,OAAO,CACrE,yCAAyC,EACzC,CAAC,CAAC,UAAU,EACZ,gCAAgC,CAOhC,CAAC;AAEH,wBAAgB,sCAAsC,CACpD,gCAAgC,EAAE,gCAAgC,GACjE,MAAM,CAMR"}
|