syllable-sdk 0.1.0-alpha.186 → 0.1.0-alpha.190
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 +11 -0
- package/docs/sdks/batches/README.md +4 -4
- package/docs/sdks/organizations/README.md +325 -0
- package/docs/sdks/workflows/README.md +8 -8
- package/funcs/organizationsCreate.d.ts +16 -0
- package/funcs/organizationsCreate.d.ts.map +1 -0
- package/funcs/organizationsCreate.js +120 -0
- package/funcs/organizationsCreate.js.map +1 -0
- package/funcs/organizationsDelete.d.ts +16 -0
- package/funcs/organizationsDelete.d.ts.map +1 -0
- package/funcs/organizationsDelete.js +105 -0
- package/funcs/organizationsDelete.js.map +1 -0
- package/funcs/organizationsOrganizationsGet.d.ts +15 -0
- package/funcs/organizationsOrganizationsGet.d.ts.map +1 -0
- package/funcs/organizationsOrganizationsGet.js +88 -0
- package/funcs/organizationsOrganizationsGet.js.map +1 -0
- package/funcs/organizationsUpdate.d.ts +16 -0
- package/funcs/organizationsUpdate.d.ts.map +1 -0
- package/funcs/organizationsUpdate.js +125 -0
- package/funcs/organizationsUpdate.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/models/components/bodyorganizationscreate.d.ts +74 -0
- package/models/components/bodyorganizationscreate.d.ts.map +1 -0
- package/models/components/bodyorganizationscreate.js +114 -0
- package/models/components/bodyorganizationscreate.js.map +1 -0
- package/models/components/bodyorganizationsdelete.d.ts +32 -0
- package/models/components/bodyorganizationsdelete.d.ts.map +1 -0
- package/models/components/bodyorganizationsdelete.js +68 -0
- package/models/components/bodyorganizationsdelete.js.map +1 -0
- package/models/components/bodyorganizationsupdate.d.ts +79 -0
- package/models/components/bodyorganizationsupdate.d.ts.map +1 -0
- package/models/components/bodyorganizationsupdate.js +119 -0
- package/models/components/bodyorganizationsupdate.js.map +1 -0
- package/models/components/index.d.ts +4 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +4 -0
- package/models/components/index.js.map +1 -1
- package/models/components/organizationresponse.d.ts +64 -0
- package/models/components/organizationresponse.d.ts.map +1 -0
- package/models/components/organizationresponse.js +90 -0
- package/models/components/organizationresponse.js.map +1 -0
- package/openapi.json +427 -33
- package/package.json +1 -1
- package/sdk/organizations.d.ts +33 -0
- package/sdk/organizations.d.ts.map +1 -0
- package/sdk/organizations.js +52 -0
- package/sdk/organizations.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/src/funcs/organizationsCreate.ts +157 -0
- package/src/funcs/organizationsDelete.ts +140 -0
- package/src/funcs/organizationsOrganizationsGet.ts +111 -0
- package/src/funcs/organizationsUpdate.ts +162 -0
- package/src/lib/config.ts +2 -2
- package/src/models/components/bodyorganizationscreate.ts +176 -0
- package/src/models/components/bodyorganizationsdelete.ts +78 -0
- package/src/models/components/bodyorganizationsupdate.ts +171 -0
- package/src/models/components/index.ts +4 -0
- package/src/models/components/organizationresponse.ts +134 -0
- package/src/sdk/organizations.ts +79 -0
- package/src/sdk/sdk.ts +6 -0
|
@@ -0,0 +1,105 @@
|
|
|
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 (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.organizationsDelete = organizationsDelete;
|
|
30
|
+
const z = __importStar(require("zod"));
|
|
31
|
+
const encodings_js_1 = require("../lib/encodings.js");
|
|
32
|
+
const M = __importStar(require("../lib/matchers.js"));
|
|
33
|
+
const primitives_js_1 = require("../lib/primitives.js");
|
|
34
|
+
const schemas_js_1 = require("../lib/schemas.js");
|
|
35
|
+
const security_js_1 = require("../lib/security.js");
|
|
36
|
+
const url_js_1 = require("../lib/url.js");
|
|
37
|
+
const components = __importStar(require("../models/components/index.js"));
|
|
38
|
+
const errors = __importStar(require("../models/errors/index.js"));
|
|
39
|
+
/**
|
|
40
|
+
* Delete Current Organization
|
|
41
|
+
*
|
|
42
|
+
* @remarks
|
|
43
|
+
* Delete the current organization and all its users.
|
|
44
|
+
*/
|
|
45
|
+
async function organizationsDelete(client, request, options) {
|
|
46
|
+
const parsed = (0, schemas_js_1.safeParse)(request, (value) => components.BodyOrganizationsDelete$outboundSchema.optional().parse(value), "Input validation failed");
|
|
47
|
+
if (!parsed.ok) {
|
|
48
|
+
return parsed;
|
|
49
|
+
}
|
|
50
|
+
const payload = parsed.value;
|
|
51
|
+
const body = Object.entries(payload || {}).map(([k, v]) => {
|
|
52
|
+
return (0, encodings_js_1.encodeBodyForm)(k, v, { charEncoding: "percent" });
|
|
53
|
+
}).join("&");
|
|
54
|
+
const path = (0, url_js_1.pathToFunc)("/api/v1/organizations/")();
|
|
55
|
+
const headers = new Headers((0, primitives_js_1.compactMap)({
|
|
56
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
57
|
+
Accept: "application/json",
|
|
58
|
+
}));
|
|
59
|
+
const secConfig = await (0, security_js_1.extractSecurity)(client._options.apiKeyHeader);
|
|
60
|
+
const securityInput = secConfig == null ? {} : { apiKeyHeader: secConfig };
|
|
61
|
+
const requestSecurity = (0, security_js_1.resolveGlobalSecurity)(securityInput);
|
|
62
|
+
const context = {
|
|
63
|
+
baseURL: options?.serverURL ?? "",
|
|
64
|
+
operationID: "organizations_delete",
|
|
65
|
+
oAuth2Scopes: [],
|
|
66
|
+
resolvedSecurity: requestSecurity,
|
|
67
|
+
securitySource: client._options.apiKeyHeader,
|
|
68
|
+
retryConfig: options?.retries
|
|
69
|
+
|| client._options.retryConfig
|
|
70
|
+
|| { strategy: "none" },
|
|
71
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
|
72
|
+
};
|
|
73
|
+
const requestRes = client._createRequest(context, {
|
|
74
|
+
security: requestSecurity,
|
|
75
|
+
method: "DELETE",
|
|
76
|
+
baseURL: options?.serverURL,
|
|
77
|
+
path: path,
|
|
78
|
+
headers: headers,
|
|
79
|
+
body: body,
|
|
80
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
81
|
+
}, options);
|
|
82
|
+
if (!requestRes.ok) {
|
|
83
|
+
return requestRes;
|
|
84
|
+
}
|
|
85
|
+
const req = requestRes.value;
|
|
86
|
+
const doResult = await client._do(req, {
|
|
87
|
+
context,
|
|
88
|
+
errorCodes: ["422", "4XX", "5XX"],
|
|
89
|
+
retryConfig: context.retryConfig,
|
|
90
|
+
retryCodes: context.retryCodes,
|
|
91
|
+
});
|
|
92
|
+
if (!doResult.ok) {
|
|
93
|
+
return doResult;
|
|
94
|
+
}
|
|
95
|
+
const response = doResult.value;
|
|
96
|
+
const responseFields = {
|
|
97
|
+
HttpMeta: { Response: response, Request: req },
|
|
98
|
+
};
|
|
99
|
+
const [result] = await M.match(M.json(200, z.any()), M.jsonErr(422, errors.HTTPValidationError$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, { extraFields: responseFields });
|
|
100
|
+
if (!result.ok) {
|
|
101
|
+
return result;
|
|
102
|
+
}
|
|
103
|
+
return result;
|
|
104
|
+
}
|
|
105
|
+
//# sourceMappingURL=organizationsDelete.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"organizationsDelete.js","sourceRoot":"","sources":["../src/funcs/organizationsDelete.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;AA8BH,kDA2GC;AAvID,uCAAyB;AAEzB,sDAAqD;AACrD,sDAAwC;AACxC,wDAAkD;AAClD,kDAA8C;AAE9C,oDAA4E;AAC5E,0CAA2C;AAC3C,0EAA4D;AAQ5D,kEAAoD;AAKpD;;;;;GAKG;AACI,KAAK,UAAU,mBAAmB,CACvC,MAAuB,EACvB,OAAwD,EACxD,OAAwB;IAcxB,MAAM,MAAM,GAAG,IAAA,sBAAS,EACtB,OAAO,EACP,CAAC,KAAK,EAAE,EAAE,CACR,UAAU,CAAC,sCAAsC,CAAC,QAAQ,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,EAC3E,yBAAyB,CAC1B,CAAC;IACF,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,MAAM,CAAC;IAChB,CAAC;IACD,MAAM,OAAO,GAAG,MAAM,CAAC,KAAK,CAAC;IAE7B,MAAM,IAAI,GAAG,MAAM,CAAC,OAAO,CAAC,OAAO,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE;QACxD,OAAO,IAAA,6BAA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ChB,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { SyllableSDKCore } from "../core.js";
|
|
2
|
+
import { RequestOptions } from "../lib/sdks.js";
|
|
3
|
+
import * as components from "../models/components/index.js";
|
|
4
|
+
import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js";
|
|
5
|
+
import { SDKError } from "../models/errors/sdkerror.js";
|
|
6
|
+
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
7
|
+
import { Result } from "../types/fp.js";
|
|
8
|
+
/**
|
|
9
|
+
* Get Current Organization
|
|
10
|
+
*
|
|
11
|
+
* @remarks
|
|
12
|
+
* Fetch the current organization.
|
|
13
|
+
*/
|
|
14
|
+
export declare function organizationsOrganizationsGet(client: SyllableSDKCore, options?: RequestOptions): Promise<Result<components.OrganizationResponse, SDKError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
|
|
15
|
+
//# sourceMappingURL=organizationsOrganizationsGet.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"organizationsOrganizationsGet.d.ts","sourceRoot":"","sources":["../src/funcs/organizationsOrganizationsGet.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAG7C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AACxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;;;;GAKG;AACH,wBAAsB,6BAA6B,CACjD,MAAM,EAAE,eAAe,EACvB,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CACR,MAAM,CACJ,UAAU,CAAC,oBAAoB,EAC7B,QAAQ,GACR,kBAAkB,GAClB,qBAAqB,GACrB,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,eAAe,CAClB,CACF,CAoEA"}
|
|
@@ -0,0 +1,88 @@
|
|
|
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 (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.organizationsOrganizationsGet = organizationsOrganizationsGet;
|
|
30
|
+
const M = __importStar(require("../lib/matchers.js"));
|
|
31
|
+
const primitives_js_1 = require("../lib/primitives.js");
|
|
32
|
+
const security_js_1 = require("../lib/security.js");
|
|
33
|
+
const url_js_1 = require("../lib/url.js");
|
|
34
|
+
const components = __importStar(require("../models/components/index.js"));
|
|
35
|
+
/**
|
|
36
|
+
* Get Current Organization
|
|
37
|
+
*
|
|
38
|
+
* @remarks
|
|
39
|
+
* Fetch the current organization.
|
|
40
|
+
*/
|
|
41
|
+
async function organizationsOrganizationsGet(client, options) {
|
|
42
|
+
const path = (0, url_js_1.pathToFunc)("/api/v1/organizations/")();
|
|
43
|
+
const headers = new Headers((0, primitives_js_1.compactMap)({
|
|
44
|
+
Accept: "application/json",
|
|
45
|
+
}));
|
|
46
|
+
const secConfig = await (0, security_js_1.extractSecurity)(client._options.apiKeyHeader);
|
|
47
|
+
const securityInput = secConfig == null ? {} : { apiKeyHeader: secConfig };
|
|
48
|
+
const requestSecurity = (0, security_js_1.resolveGlobalSecurity)(securityInput);
|
|
49
|
+
const context = {
|
|
50
|
+
baseURL: options?.serverURL ?? "",
|
|
51
|
+
operationID: "organizations_get",
|
|
52
|
+
oAuth2Scopes: [],
|
|
53
|
+
resolvedSecurity: requestSecurity,
|
|
54
|
+
securitySource: client._options.apiKeyHeader,
|
|
55
|
+
retryConfig: options?.retries
|
|
56
|
+
|| client._options.retryConfig
|
|
57
|
+
|| { strategy: "none" },
|
|
58
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
|
59
|
+
};
|
|
60
|
+
const requestRes = client._createRequest(context, {
|
|
61
|
+
security: requestSecurity,
|
|
62
|
+
method: "GET",
|
|
63
|
+
baseURL: options?.serverURL,
|
|
64
|
+
path: path,
|
|
65
|
+
headers: headers,
|
|
66
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
67
|
+
}, options);
|
|
68
|
+
if (!requestRes.ok) {
|
|
69
|
+
return requestRes;
|
|
70
|
+
}
|
|
71
|
+
const req = requestRes.value;
|
|
72
|
+
const doResult = await client._do(req, {
|
|
73
|
+
context,
|
|
74
|
+
errorCodes: ["4XX", "5XX"],
|
|
75
|
+
retryConfig: context.retryConfig,
|
|
76
|
+
retryCodes: context.retryCodes,
|
|
77
|
+
});
|
|
78
|
+
if (!doResult.ok) {
|
|
79
|
+
return doResult;
|
|
80
|
+
}
|
|
81
|
+
const response = doResult.value;
|
|
82
|
+
const [result] = await M.match(M.json(200, components.OrganizationResponse$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response);
|
|
83
|
+
if (!result.ok) {
|
|
84
|
+
return result;
|
|
85
|
+
}
|
|
86
|
+
return result;
|
|
87
|
+
}
|
|
88
|
+
//# sourceMappingURL=organizationsOrganizationsGet.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"organizationsOrganizationsGet.js","sourceRoot":"","sources":["../src/funcs/organizationsOrganizationsGet.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;AA0BH,sEAkFC;AAzGD,sDAAwC;AACxC,wDAAkD;AAElD,oDAA4E;AAC5E,0CAA2C;AAC3C,0EAA4D;AAY5D;;;;;GAKG;AACI,KAAK,UAAU,6BAA6B,CACjD,MAAuB,EACvB,OAAwB;IAaxB,MAAM,IAAI,GAAG,IAAA,mBAAU,EAAC,wBAAwB,CAAC,EAAE,CAAC;IAEpD,MAAM,OAAO,GAAG,IAAI,OAAO,CAAC,IAAA,0BAAU,EAAC;QACrC,MAAM,EAAE,kBAAkB;KAC3B,CAAC,CAAC,CAAC;IAEJ,MAAM,SAAS,GAAG,MAAM,IAAA,6BAAe,EAAC,MAAM,CAAC,QAAQ,CAAC,YAAY,CAAC,CAAC;IACtE,MAAM,aAAa,GAAG,SAAS,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,YAAY,EAAE,SAAS,EAAE,CAAC;IA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C;IAClB,CAAC;IACD,MAAM,QAAQ,GAAG,QAAQ,CAAC,KAAK,CAAC;IAEhC,MAAM,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC,CAAC,KAAK,CAU5B,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,UAAU,CAAC,kCAAkC,CAAC,EAC1D,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,EACb,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CACd,CAAC,QAAQ,CAAC,CAAC;IACZ,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,MAAM,CAAC;IAChB,CAAC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { SyllableSDKCore } from "../core.js";
|
|
2
|
+
import { RequestOptions } from "../lib/sdks.js";
|
|
3
|
+
import * as components from "../models/components/index.js";
|
|
4
|
+
import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js";
|
|
5
|
+
import * as errors from "../models/errors/index.js";
|
|
6
|
+
import { SDKError } from "../models/errors/sdkerror.js";
|
|
7
|
+
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
8
|
+
import { Result } from "../types/fp.js";
|
|
9
|
+
/**
|
|
10
|
+
* Update Current Organization
|
|
11
|
+
*
|
|
12
|
+
* @remarks
|
|
13
|
+
* Update the current organization.
|
|
14
|
+
*/
|
|
15
|
+
export declare function organizationsUpdate(client: SyllableSDKCore, request: components.BodyOrganizationsUpdate, options?: RequestOptions): Promise<Result<components.OrganizationResponse, errors.HTTPValidationError | SDKError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
|
|
16
|
+
//# sourceMappingURL=organizationsUpdate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"organizationsUpdate.d.ts","sourceRoot":"","sources":["../src/funcs/organizationsUpdate.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAM7C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AACxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAE5E,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAGxC;;;;;GAKG;AACH,wBAAsB,mBAAmB,CACvC,MAAM,EAAE,eAAe,EACvB,OAAO,EAAE,UAAU,CAAC,uBAAuB,EAC3C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CACR,MAAM,CACJ,UAAU,CAAC,oBAAoB,EAC7B,MAAM,CAAC,mBAAmB,GAC1B,QAAQ,GACR,kBAAkB,GAClB,qBAAqB,GACrB,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,eAAe,CAClB,CACF,CA+GA"}
|
|
@@ -0,0 +1,125 @@
|
|
|
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 (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.organizationsUpdate = organizationsUpdate;
|
|
30
|
+
const encodings_js_1 = require("../lib/encodings.js");
|
|
31
|
+
const files_js_1 = require("../lib/files.js");
|
|
32
|
+
const M = __importStar(require("../lib/matchers.js"));
|
|
33
|
+
const primitives_js_1 = require("../lib/primitives.js");
|
|
34
|
+
const schemas_js_1 = require("../lib/schemas.js");
|
|
35
|
+
const security_js_1 = require("../lib/security.js");
|
|
36
|
+
const url_js_1 = require("../lib/url.js");
|
|
37
|
+
const components = __importStar(require("../models/components/index.js"));
|
|
38
|
+
const errors = __importStar(require("../models/errors/index.js"));
|
|
39
|
+
const blobs_js_1 = require("../types/blobs.js");
|
|
40
|
+
const streams_js_1 = require("../types/streams.js");
|
|
41
|
+
/**
|
|
42
|
+
* Update Current Organization
|
|
43
|
+
*
|
|
44
|
+
* @remarks
|
|
45
|
+
* Update the current organization.
|
|
46
|
+
*/
|
|
47
|
+
async function organizationsUpdate(client, request, options) {
|
|
48
|
+
const parsed = (0, schemas_js_1.safeParse)(request, (value) => components.BodyOrganizationsUpdate$outboundSchema.parse(value), "Input validation failed");
|
|
49
|
+
if (!parsed.ok) {
|
|
50
|
+
return parsed;
|
|
51
|
+
}
|
|
52
|
+
const payload = parsed.value;
|
|
53
|
+
const body = new FormData();
|
|
54
|
+
(0, encodings_js_1.appendForm)(body, "display_name", payload.display_name);
|
|
55
|
+
(0, encodings_js_1.appendForm)(body, "domains", payload.domains);
|
|
56
|
+
if (payload.description !== undefined) {
|
|
57
|
+
(0, encodings_js_1.appendForm)(body, "description", payload.description);
|
|
58
|
+
}
|
|
59
|
+
if (payload.logo !== undefined) {
|
|
60
|
+
if ((0, blobs_js_1.isBlobLike)(payload.logo)) {
|
|
61
|
+
(0, encodings_js_1.appendForm)(body, "logo", payload.logo);
|
|
62
|
+
}
|
|
63
|
+
else if ((0, streams_js_1.isReadableStream)(payload.logo.content)) {
|
|
64
|
+
const buffer = await (0, files_js_1.readableStreamToArrayBuffer)(payload.logo.content);
|
|
65
|
+
const blob = new Blob([buffer], { type: "application/octet-stream" });
|
|
66
|
+
(0, encodings_js_1.appendForm)(body, "logo", blob);
|
|
67
|
+
}
|
|
68
|
+
else {
|
|
69
|
+
(0, encodings_js_1.appendForm)(body, "logo", new Blob([payload.logo.content], { type: "application/octet-stream" }), payload.logo.fileName);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
if (payload.update_comments !== undefined) {
|
|
73
|
+
(0, encodings_js_1.appendForm)(body, "update_comments", payload.update_comments);
|
|
74
|
+
}
|
|
75
|
+
const path = (0, url_js_1.pathToFunc)("/api/v1/organizations/")();
|
|
76
|
+
const headers = new Headers((0, primitives_js_1.compactMap)({
|
|
77
|
+
Accept: "application/json",
|
|
78
|
+
}));
|
|
79
|
+
const secConfig = await (0, security_js_1.extractSecurity)(client._options.apiKeyHeader);
|
|
80
|
+
const securityInput = secConfig == null ? {} : { apiKeyHeader: secConfig };
|
|
81
|
+
const requestSecurity = (0, security_js_1.resolveGlobalSecurity)(securityInput);
|
|
82
|
+
const context = {
|
|
83
|
+
baseURL: options?.serverURL ?? "",
|
|
84
|
+
operationID: "organizations_update",
|
|
85
|
+
oAuth2Scopes: [],
|
|
86
|
+
resolvedSecurity: requestSecurity,
|
|
87
|
+
securitySource: client._options.apiKeyHeader,
|
|
88
|
+
retryConfig: options?.retries
|
|
89
|
+
|| client._options.retryConfig
|
|
90
|
+
|| { strategy: "none" },
|
|
91
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
|
92
|
+
};
|
|
93
|
+
const requestRes = client._createRequest(context, {
|
|
94
|
+
security: requestSecurity,
|
|
95
|
+
method: "PUT",
|
|
96
|
+
baseURL: options?.serverURL,
|
|
97
|
+
path: path,
|
|
98
|
+
headers: headers,
|
|
99
|
+
body: body,
|
|
100
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
101
|
+
}, options);
|
|
102
|
+
if (!requestRes.ok) {
|
|
103
|
+
return requestRes;
|
|
104
|
+
}
|
|
105
|
+
const req = requestRes.value;
|
|
106
|
+
const doResult = await client._do(req, {
|
|
107
|
+
context,
|
|
108
|
+
errorCodes: ["422", "4XX", "5XX"],
|
|
109
|
+
retryConfig: context.retryConfig,
|
|
110
|
+
retryCodes: context.retryCodes,
|
|
111
|
+
});
|
|
112
|
+
if (!doResult.ok) {
|
|
113
|
+
return doResult;
|
|
114
|
+
}
|
|
115
|
+
const response = doResult.value;
|
|
116
|
+
const responseFields = {
|
|
117
|
+
HttpMeta: { Response: response, Request: req },
|
|
118
|
+
};
|
|
119
|
+
const [result] = await M.match(M.json(200, components.OrganizationResponse$inboundSchema), M.jsonErr(422, errors.HTTPValidationError$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, { extraFields: responseFields });
|
|
120
|
+
if (!result.ok) {
|
|
121
|
+
return result;
|
|
122
|
+
}
|
|
123
|
+
return result;
|
|
124
|
+
}
|
|
125
|
+
//# sourceMappingURL=organizationsUpdate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"organizationsUpdate.js","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K,CAAC;IAEhC,MAAM,cAAc,GAAG;QACrB,QAAQ,EAAE,EAAE,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,EAAE;KAC/C,CAAC;IAEF,MAAM,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC,CAAC,KAAK,CAW5B,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,UAAU,CAAC,kCAAkC,CAAC,EAC1D,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,MAAM,CAAC,iCAAiC,CAAC,EACxD,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,EACb,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CACd,CAAC,QAAQ,EAAE,EAAE,WAAW,EAAE,cAAc,EAAE,CAAC,CAAC;IAC7C,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,MAAM,CAAC;IAChB,CAAC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC"}
|
package/jsr.json
CHANGED
package/lib/config.d.ts
CHANGED
|
@@ -27,8 +27,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
|
27
27
|
export declare const SDK_METADATA: {
|
|
28
28
|
readonly language: "typescript";
|
|
29
29
|
readonly openapiDocVersion: "0.0.2";
|
|
30
|
-
readonly sdkVersion: "0.1.0-alpha.
|
|
30
|
+
readonly sdkVersion: "0.1.0-alpha.190";
|
|
31
31
|
readonly genVersion: "2.512.4";
|
|
32
|
-
readonly userAgent: "speakeasy-sdk/typescript 0.1.0-alpha.
|
|
32
|
+
readonly userAgent: "speakeasy-sdk/typescript 0.1.0-alpha.190 2.512.4 0.0.2 syllable-sdk";
|
|
33
33
|
};
|
|
34
34
|
//# sourceMappingURL=config.d.ts.map
|
package/lib/config.js
CHANGED
|
@@ -31,8 +31,8 @@ function serverURLFromOptions(options) {
|
|
|
31
31
|
exports.SDK_METADATA = {
|
|
32
32
|
language: "typescript",
|
|
33
33
|
openapiDocVersion: "0.0.2",
|
|
34
|
-
sdkVersion: "0.1.0-alpha.
|
|
34
|
+
sdkVersion: "0.1.0-alpha.190",
|
|
35
35
|
genVersion: "2.512.4",
|
|
36
|
-
userAgent: "speakeasy-sdk/typescript 0.1.0-alpha.
|
|
36
|
+
userAgent: "speakeasy-sdk/typescript 0.1.0-alpha.190 2.512.4 0.0.2 syllable-sdk",
|
|
37
37
|
};
|
|
38
38
|
//# sourceMappingURL=config.js.map
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
export type BodyOrganizationsCreateLogo = {
|
|
5
|
+
fileName: string;
|
|
6
|
+
content: ReadableStream<Uint8Array> | Blob | ArrayBuffer | Uint8Array;
|
|
7
|
+
};
|
|
8
|
+
export type BodyOrganizationsCreate = {
|
|
9
|
+
/**
|
|
10
|
+
* The human-readable display name of the organization
|
|
11
|
+
*/
|
|
12
|
+
displayName: string;
|
|
13
|
+
/**
|
|
14
|
+
* Comma-delimited list of domains that users at the organization may have in their email addresses
|
|
15
|
+
*/
|
|
16
|
+
domains: string;
|
|
17
|
+
/**
|
|
18
|
+
* The organization logo image file to upload. Must be a PNG file and 120x120 pixels.
|
|
19
|
+
*/
|
|
20
|
+
logo: BodyOrganizationsCreateLogo | Blob;
|
|
21
|
+
/**
|
|
22
|
+
* Description of the organization
|
|
23
|
+
*/
|
|
24
|
+
description?: string | null | undefined;
|
|
25
|
+
};
|
|
26
|
+
/** @internal */
|
|
27
|
+
export declare const BodyOrganizationsCreateLogo$inboundSchema: z.ZodType<BodyOrganizationsCreateLogo, z.ZodTypeDef, unknown>;
|
|
28
|
+
/** @internal */
|
|
29
|
+
export type BodyOrganizationsCreateLogo$Outbound = {
|
|
30
|
+
fileName: string;
|
|
31
|
+
content: ReadableStream<Uint8Array> | Blob | ArrayBuffer | Uint8Array;
|
|
32
|
+
};
|
|
33
|
+
/** @internal */
|
|
34
|
+
export declare const BodyOrganizationsCreateLogo$outboundSchema: z.ZodType<BodyOrganizationsCreateLogo$Outbound, z.ZodTypeDef, BodyOrganizationsCreateLogo>;
|
|
35
|
+
/**
|
|
36
|
+
* @internal
|
|
37
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
38
|
+
*/
|
|
39
|
+
export declare namespace BodyOrganizationsCreateLogo$ {
|
|
40
|
+
/** @deprecated use `BodyOrganizationsCreateLogo$inboundSchema` instead. */
|
|
41
|
+
const inboundSchema: z.ZodType<BodyOrganizationsCreateLogo, z.ZodTypeDef, unknown>;
|
|
42
|
+
/** @deprecated use `BodyOrganizationsCreateLogo$outboundSchema` instead. */
|
|
43
|
+
const outboundSchema: z.ZodType<BodyOrganizationsCreateLogo$Outbound, z.ZodTypeDef, BodyOrganizationsCreateLogo>;
|
|
44
|
+
/** @deprecated use `BodyOrganizationsCreateLogo$Outbound` instead. */
|
|
45
|
+
type Outbound = BodyOrganizationsCreateLogo$Outbound;
|
|
46
|
+
}
|
|
47
|
+
export declare function bodyOrganizationsCreateLogoToJSON(bodyOrganizationsCreateLogo: BodyOrganizationsCreateLogo): string;
|
|
48
|
+
export declare function bodyOrganizationsCreateLogoFromJSON(jsonString: string): SafeParseResult<BodyOrganizationsCreateLogo, SDKValidationError>;
|
|
49
|
+
/** @internal */
|
|
50
|
+
export declare const BodyOrganizationsCreate$inboundSchema: z.ZodType<BodyOrganizationsCreate, z.ZodTypeDef, unknown>;
|
|
51
|
+
/** @internal */
|
|
52
|
+
export type BodyOrganizationsCreate$Outbound = {
|
|
53
|
+
display_name: string;
|
|
54
|
+
domains: string;
|
|
55
|
+
logo: BodyOrganizationsCreateLogo$Outbound | Blob;
|
|
56
|
+
description?: string | null | undefined;
|
|
57
|
+
};
|
|
58
|
+
/** @internal */
|
|
59
|
+
export declare const BodyOrganizationsCreate$outboundSchema: z.ZodType<BodyOrganizationsCreate$Outbound, z.ZodTypeDef, BodyOrganizationsCreate>;
|
|
60
|
+
/**
|
|
61
|
+
* @internal
|
|
62
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
63
|
+
*/
|
|
64
|
+
export declare namespace BodyOrganizationsCreate$ {
|
|
65
|
+
/** @deprecated use `BodyOrganizationsCreate$inboundSchema` instead. */
|
|
66
|
+
const inboundSchema: z.ZodType<BodyOrganizationsCreate, z.ZodTypeDef, unknown>;
|
|
67
|
+
/** @deprecated use `BodyOrganizationsCreate$outboundSchema` instead. */
|
|
68
|
+
const outboundSchema: z.ZodType<BodyOrganizationsCreate$Outbound, z.ZodTypeDef, BodyOrganizationsCreate>;
|
|
69
|
+
/** @deprecated use `BodyOrganizationsCreate$Outbound` instead. */
|
|
70
|
+
type Outbound = BodyOrganizationsCreate$Outbound;
|
|
71
|
+
}
|
|
72
|
+
export declare function bodyOrganizationsCreateToJSON(bodyOrganizationsCreate: BodyOrganizationsCreate): string;
|
|
73
|
+
export declare function bodyOrganizationsCreateFromJSON(jsonString: string): SafeParseResult<BodyOrganizationsCreate, SDKValidationError>;
|
|
74
|
+
//# sourceMappingURL=bodyorganizationscreate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bodyorganizationscreate.d.ts","sourceRoot":"","sources":["../../src/models/components/bodyorganizationscreate.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAIzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,2BAA2B,GAAG;IACxC,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,GAAG,WAAW,GAAG,UAAU,CAAC;CACvE,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG;IACpC;;OAEG;IACH,WAAW,EAAE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C;IAChB,IAAI,EAAE,oCAAoC,GAAG,IAAI,CAAC;IAClD,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;CACzC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,sCAAsC,EAAE,CAAC,CAAC,OAAO,CAC5D,gCAAgC,EAChC,CAAC,CAAC,UAAU,EACZ,uBAAuB,CAYvB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,wBAAwB,CAAC;IACxC,uEAAuE;IAChE,MAAM,aAAa,2DAAwC,CAAC;IACnE,wEAAwE;IACjE,MAAM,cAAc,oFAAyC,CAAC;IACrE,kEAAkE;IAClE,KAAY,QAAQ,GAAG,gCAAgC,CAAC;CACzD;AAED,wBAAgB,6BAA6B,CAC3C,uBAAuB,EAAE,uBAAuB,GAC/C,MAAM,CAIR;AAED,wBAAgB,+BAA+B,CAC7C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,uBAAuB,EAAE,kBAAkB,CAAC,CAM9D"}
|
|
@@ -0,0 +1,114 @@
|
|
|
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 (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.BodyOrganizationsCreate$ = exports.BodyOrganizationsCreate$outboundSchema = exports.BodyOrganizationsCreate$inboundSchema = exports.BodyOrganizationsCreateLogo$ = exports.BodyOrganizationsCreateLogo$outboundSchema = exports.BodyOrganizationsCreateLogo$inboundSchema = void 0;
|
|
30
|
+
exports.bodyOrganizationsCreateLogoToJSON = bodyOrganizationsCreateLogoToJSON;
|
|
31
|
+
exports.bodyOrganizationsCreateLogoFromJSON = bodyOrganizationsCreateLogoFromJSON;
|
|
32
|
+
exports.bodyOrganizationsCreateToJSON = bodyOrganizationsCreateToJSON;
|
|
33
|
+
exports.bodyOrganizationsCreateFromJSON = bodyOrganizationsCreateFromJSON;
|
|
34
|
+
const z = __importStar(require("zod"));
|
|
35
|
+
const primitives_js_1 = require("../../lib/primitives.js");
|
|
36
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
37
|
+
const blobs_js_1 = require("../../types/blobs.js");
|
|
38
|
+
/** @internal */
|
|
39
|
+
exports.BodyOrganizationsCreateLogo$inboundSchema = z.object({
|
|
40
|
+
fileName: z.string(),
|
|
41
|
+
content: z.union([
|
|
42
|
+
z.instanceof((ReadableStream)),
|
|
43
|
+
z.instanceof(Blob),
|
|
44
|
+
z.instanceof(ArrayBuffer),
|
|
45
|
+
z.instanceof(Uint8Array),
|
|
46
|
+
]),
|
|
47
|
+
});
|
|
48
|
+
/** @internal */
|
|
49
|
+
exports.BodyOrganizationsCreateLogo$outboundSchema = z.object({
|
|
50
|
+
fileName: z.string(),
|
|
51
|
+
content: z.union([
|
|
52
|
+
z.instanceof((ReadableStream)),
|
|
53
|
+
z.instanceof(Blob),
|
|
54
|
+
z.instanceof(ArrayBuffer),
|
|
55
|
+
z.instanceof(Uint8Array),
|
|
56
|
+
]),
|
|
57
|
+
});
|
|
58
|
+
/**
|
|
59
|
+
* @internal
|
|
60
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
61
|
+
*/
|
|
62
|
+
var BodyOrganizationsCreateLogo$;
|
|
63
|
+
(function (BodyOrganizationsCreateLogo$) {
|
|
64
|
+
/** @deprecated use `BodyOrganizationsCreateLogo$inboundSchema` instead. */
|
|
65
|
+
BodyOrganizationsCreateLogo$.inboundSchema = exports.BodyOrganizationsCreateLogo$inboundSchema;
|
|
66
|
+
/** @deprecated use `BodyOrganizationsCreateLogo$outboundSchema` instead. */
|
|
67
|
+
BodyOrganizationsCreateLogo$.outboundSchema = exports.BodyOrganizationsCreateLogo$outboundSchema;
|
|
68
|
+
})(BodyOrganizationsCreateLogo$ || (exports.BodyOrganizationsCreateLogo$ = BodyOrganizationsCreateLogo$ = {}));
|
|
69
|
+
function bodyOrganizationsCreateLogoToJSON(bodyOrganizationsCreateLogo) {
|
|
70
|
+
return JSON.stringify(exports.BodyOrganizationsCreateLogo$outboundSchema.parse(bodyOrganizationsCreateLogo));
|
|
71
|
+
}
|
|
72
|
+
function bodyOrganizationsCreateLogoFromJSON(jsonString) {
|
|
73
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.BodyOrganizationsCreateLogo$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'BodyOrganizationsCreateLogo' from JSON`);
|
|
74
|
+
}
|
|
75
|
+
/** @internal */
|
|
76
|
+
exports.BodyOrganizationsCreate$inboundSchema = z.object({
|
|
77
|
+
display_name: z.string(),
|
|
78
|
+
domains: z.string(),
|
|
79
|
+
logo: z.lazy(() => exports.BodyOrganizationsCreateLogo$inboundSchema),
|
|
80
|
+
description: z.nullable(z.string()).optional(),
|
|
81
|
+
}).transform((v) => {
|
|
82
|
+
return (0, primitives_js_1.remap)(v, {
|
|
83
|
+
"display_name": "displayName",
|
|
84
|
+
});
|
|
85
|
+
});
|
|
86
|
+
/** @internal */
|
|
87
|
+
exports.BodyOrganizationsCreate$outboundSchema = z.object({
|
|
88
|
+
displayName: z.string(),
|
|
89
|
+
domains: z.string(),
|
|
90
|
+
logo: z.lazy(() => exports.BodyOrganizationsCreateLogo$outboundSchema).or(blobs_js_1.blobLikeSchema),
|
|
91
|
+
description: z.nullable(z.string()).optional(),
|
|
92
|
+
}).transform((v) => {
|
|
93
|
+
return (0, primitives_js_1.remap)(v, {
|
|
94
|
+
displayName: "display_name",
|
|
95
|
+
});
|
|
96
|
+
});
|
|
97
|
+
/**
|
|
98
|
+
* @internal
|
|
99
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
100
|
+
*/
|
|
101
|
+
var BodyOrganizationsCreate$;
|
|
102
|
+
(function (BodyOrganizationsCreate$) {
|
|
103
|
+
/** @deprecated use `BodyOrganizationsCreate$inboundSchema` instead. */
|
|
104
|
+
BodyOrganizationsCreate$.inboundSchema = exports.BodyOrganizationsCreate$inboundSchema;
|
|
105
|
+
/** @deprecated use `BodyOrganizationsCreate$outboundSchema` instead. */
|
|
106
|
+
BodyOrganizationsCreate$.outboundSchema = exports.BodyOrganizationsCreate$outboundSchema;
|
|
107
|
+
})(BodyOrganizationsCreate$ || (exports.BodyOrganizationsCreate$ = BodyOrganizationsCreate$ = {}));
|
|
108
|
+
function bodyOrganizationsCreateToJSON(bodyOrganizationsCreate) {
|
|
109
|
+
return JSON.stringify(exports.BodyOrganizationsCreate$outboundSchema.parse(bodyOrganizationsCreate));
|
|
110
|
+
}
|
|
111
|
+
function bodyOrganizationsCreateFromJSON(jsonString) {
|
|
112
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.BodyOrganizationsCreate$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'BodyOrganizationsCreate' from JSON`);
|
|
113
|
+
}
|
|
114
|
+
//# sourceMappingURL=bodyorganizationscreate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bodyorganizationscreate.js","sourceRoot":"","sources":["../../src/models/components/bodyorganizationscreate.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAkFH,8EAQC;AAED,kFAQC;AAyDD,sEAMC;AAED,0EAQC;AA3KD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AACjD,mDAAsD;AA4BtD,gBAAgB;AACH,QAAA,yCAAyC,GAIlD,CAAC,CAAC,MAAM,CAAC;IACX,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC;QACf,CAAC,CAAC,UAAU,CAAC,CAAA,cAA0B,CAAA,CAAC;QACxC,CAAC,CAAC,UAAU,CAAC,IAAI,CAAC;QAClB,CAAC,CAAC,UAAU,CAAC,WAAW,CAAC;QACzB,CAAC,CAAC,UAAU,CAAC,UAAU,CAAC;KACzB,CAAC;CACH,CAAC,CAAC;AAQH,gBAAgB;AACH,QAAA,0CAA0C,GAInD,CAAC,CAAC,MAAM,CAAC;IACX,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC;QACf,CAAC,CAAC,UAAU,CAAC,CAAA,cAA0B,CAAA,CAAC;QACxC,CAAC,CAAC,UAAU,CAAC,IAAI,CAAC;QAClB,CAAC,CAAC,UAAU,CAAC,WAAW,CAAC;QACzB,CAAC,CAAC,UAAU,CAAC,UAAU,CAAC;KACzB,CAAC;CACH,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,4BAA4B,CAO5C;AAPD,WAAiB,4BAA4B;IAC3C,2EAA2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