@usenotra/sdk 0.0.9 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -1
- package/dist/commonjs/funcs/content-create-post-generation.d.ts +15 -0
- package/dist/commonjs/funcs/content-create-post-generation.d.ts.map +1 -0
- package/dist/commonjs/funcs/content-create-post-generation.js +117 -0
- package/dist/commonjs/funcs/content-create-post-generation.js.map +1 -0
- package/dist/commonjs/funcs/content-get-brand-identity.d.ts +15 -0
- package/dist/commonjs/funcs/content-get-brand-identity.d.ts.map +1 -0
- package/dist/commonjs/funcs/content-get-brand-identity.js +122 -0
- package/dist/commonjs/funcs/content-get-brand-identity.js.map +1 -0
- package/dist/commonjs/funcs/content-get-post-generation.d.ts +15 -0
- package/dist/commonjs/funcs/content-get-post-generation.d.ts.map +1 -0
- package/dist/commonjs/funcs/content-get-post-generation.js +122 -0
- package/dist/commonjs/funcs/content-get-post-generation.js.map +1 -0
- package/dist/commonjs/funcs/content-list-brand-identities.d.ts +15 -0
- package/dist/commonjs/funcs/content-list-brand-identities.d.ts.map +1 -0
- package/dist/commonjs/funcs/content-list-brand-identities.js +106 -0
- package/dist/commonjs/funcs/content-list-brand-identities.js.map +1 -0
- package/dist/commonjs/funcs/content-list-integrations.d.ts +15 -0
- package/dist/commonjs/funcs/content-list-integrations.d.ts.map +1 -0
- package/dist/commonjs/funcs/content-list-integrations.js +106 -0
- package/dist/commonjs/funcs/content-list-integrations.js.map +1 -0
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/lib/files.d.ts +13 -0
- package/dist/commonjs/lib/files.d.ts.map +1 -1
- package/dist/commonjs/lib/files.js +19 -0
- package/dist/commonjs/lib/files.js.map +1 -1
- package/dist/commonjs/models/errors/create-post-generation.d.ts +26 -0
- package/dist/commonjs/models/errors/create-post-generation.d.ts.map +1 -0
- package/dist/commonjs/models/errors/create-post-generation.js +75 -0
- package/dist/commonjs/models/errors/create-post-generation.js.map +1 -0
- package/dist/commonjs/models/errors/index.d.ts +1 -0
- package/dist/commonjs/models/errors/index.d.ts.map +1 -1
- package/dist/commonjs/models/errors/index.js +1 -0
- package/dist/commonjs/models/errors/index.js.map +1 -1
- package/dist/commonjs/models/operations/create-post-generation.d.ts +215 -0
- package/dist/commonjs/models/operations/create-post-generation.d.ts.map +1 -0
- package/dist/commonjs/models/operations/create-post-generation.js +223 -0
- package/dist/commonjs/models/operations/create-post-generation.js.map +1 -0
- package/dist/commonjs/models/operations/get-brand-identity.d.ts +41 -0
- package/dist/commonjs/models/operations/get-brand-identity.d.ts.map +1 -0
- package/dist/commonjs/models/operations/get-brand-identity.js +82 -0
- package/dist/commonjs/models/operations/get-brand-identity.js.map +1 -0
- package/dist/commonjs/models/operations/get-post-generation.d.ts +105 -0
- package/dist/commonjs/models/operations/get-post-generation.d.ts.map +1 -0
- package/dist/commonjs/models/operations/get-post-generation.js +140 -0
- package/dist/commonjs/models/operations/get-post-generation.js.map +1 -0
- package/dist/commonjs/models/operations/index.d.ts +5 -0
- package/dist/commonjs/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/models/operations/index.js +5 -0
- package/dist/commonjs/models/operations/index.js.map +1 -1
- package/dist/commonjs/models/operations/list-brand-identities.d.ts +31 -0
- package/dist/commonjs/models/operations/list-brand-identities.d.ts.map +1 -0
- package/dist/commonjs/models/operations/list-brand-identities.js +74 -0
- package/dist/commonjs/models/operations/list-brand-identities.js.map +1 -0
- package/dist/commonjs/models/operations/list-integrations.d.ts +35 -0
- package/dist/commonjs/models/operations/list-integrations.d.ts.map +1 -0
- package/dist/commonjs/models/operations/list-integrations.js +78 -0
- package/dist/commonjs/models/operations/list-integrations.js.map +1 -0
- package/dist/commonjs/models/operations/list-posts.d.ts +12 -12
- package/dist/commonjs/models/operations/list-posts.d.ts.map +1 -1
- package/dist/commonjs/models/operations/list-posts.js +12 -12
- package/dist/commonjs/models/operations/list-posts.js.map +1 -1
- package/dist/commonjs/models/operations/update-post.d.ts +4 -4
- package/dist/commonjs/models/operations/update-post.d.ts.map +1 -1
- package/dist/commonjs/models/operations/update-post.js +4 -4
- package/dist/commonjs/models/operations/update-post.js.map +1 -1
- package/dist/commonjs/sdk/content.d.ts +20 -0
- package/dist/commonjs/sdk/content.d.ts.map +1 -1
- package/dist/commonjs/sdk/content.js +35 -0
- package/dist/commonjs/sdk/content.js.map +1 -1
- package/dist/esm/funcs/content-create-post-generation.d.ts +15 -0
- package/dist/esm/funcs/content-create-post-generation.d.ts.map +1 -0
- package/dist/esm/funcs/content-create-post-generation.js +81 -0
- package/dist/esm/funcs/content-create-post-generation.js.map +1 -0
- package/dist/esm/funcs/content-get-brand-identity.d.ts +15 -0
- package/dist/esm/funcs/content-get-brand-identity.d.ts.map +1 -0
- package/dist/esm/funcs/content-get-brand-identity.js +86 -0
- package/dist/esm/funcs/content-get-brand-identity.js.map +1 -0
- package/dist/esm/funcs/content-get-post-generation.d.ts +15 -0
- package/dist/esm/funcs/content-get-post-generation.d.ts.map +1 -0
- package/dist/esm/funcs/content-get-post-generation.js +86 -0
- package/dist/esm/funcs/content-get-post-generation.js.map +1 -0
- package/dist/esm/funcs/content-list-brand-identities.d.ts +15 -0
- package/dist/esm/funcs/content-list-brand-identities.d.ts.map +1 -0
- package/dist/esm/funcs/content-list-brand-identities.js +70 -0
- package/dist/esm/funcs/content-list-brand-identities.js.map +1 -0
- package/dist/esm/funcs/content-list-integrations.d.ts +15 -0
- package/dist/esm/funcs/content-list-integrations.d.ts.map +1 -0
- package/dist/esm/funcs/content-list-integrations.js +70 -0
- package/dist/esm/funcs/content-list-integrations.js.map +1 -0
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/lib/files.d.ts +13 -0
- package/dist/esm/lib/files.d.ts.map +1 -1
- package/dist/esm/lib/files.js +18 -0
- package/dist/esm/lib/files.js.map +1 -1
- package/dist/esm/models/errors/create-post-generation.d.ts +26 -0
- package/dist/esm/models/errors/create-post-generation.d.ts.map +1 -0
- package/dist/esm/models/errors/create-post-generation.js +38 -0
- package/dist/esm/models/errors/create-post-generation.js.map +1 -0
- package/dist/esm/models/errors/index.d.ts +1 -0
- package/dist/esm/models/errors/index.d.ts.map +1 -1
- package/dist/esm/models/errors/index.js +1 -0
- package/dist/esm/models/errors/index.js.map +1 -1
- package/dist/esm/models/operations/create-post-generation.d.ts +215 -0
- package/dist/esm/models/operations/create-post-generation.d.ts.map +1 -0
- package/dist/esm/models/operations/create-post-generation.js +175 -0
- package/dist/esm/models/operations/create-post-generation.js.map +1 -0
- package/dist/esm/models/operations/get-brand-identity.d.ts +41 -0
- package/dist/esm/models/operations/get-brand-identity.d.ts.map +1 -0
- package/dist/esm/models/operations/get-brand-identity.js +42 -0
- package/dist/esm/models/operations/get-brand-identity.js.map +1 -0
- package/dist/esm/models/operations/get-post-generation.d.ts +105 -0
- package/dist/esm/models/operations/get-post-generation.d.ts.map +1 -0
- package/dist/esm/models/operations/get-post-generation.js +100 -0
- package/dist/esm/models/operations/get-post-generation.js.map +1 -0
- package/dist/esm/models/operations/index.d.ts +5 -0
- package/dist/esm/models/operations/index.d.ts.map +1 -1
- package/dist/esm/models/operations/index.js +5 -0
- package/dist/esm/models/operations/index.js.map +1 -1
- package/dist/esm/models/operations/list-brand-identities.d.ts +31 -0
- package/dist/esm/models/operations/list-brand-identities.d.ts.map +1 -0
- package/dist/esm/models/operations/list-brand-identities.js +35 -0
- package/dist/esm/models/operations/list-brand-identities.js.map +1 -0
- package/dist/esm/models/operations/list-integrations.d.ts +35 -0
- package/dist/esm/models/operations/list-integrations.d.ts.map +1 -0
- package/dist/esm/models/operations/list-integrations.js +39 -0
- package/dist/esm/models/operations/list-integrations.js.map +1 -0
- package/dist/esm/models/operations/list-posts.d.ts +12 -12
- package/dist/esm/models/operations/list-posts.d.ts.map +1 -1
- package/dist/esm/models/operations/list-posts.js +11 -11
- package/dist/esm/models/operations/list-posts.js.map +1 -1
- package/dist/esm/models/operations/update-post.d.ts +4 -4
- package/dist/esm/models/operations/update-post.d.ts.map +1 -1
- package/dist/esm/models/operations/update-post.js +3 -3
- package/dist/esm/models/operations/update-post.js.map +1 -1
- package/dist/esm/sdk/content.d.ts +20 -0
- package/dist/esm/sdk/content.d.ts.map +1 -1
- package/dist/esm/sdk/content.js +35 -0
- package/dist/esm/sdk/content.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { NotraCore } from "../core.js";
|
|
2
|
+
import { RequestOptions } from "../lib/sdks.js";
|
|
3
|
+
import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/http-client-errors.js";
|
|
4
|
+
import * as errors from "../models/errors/index.js";
|
|
5
|
+
import { NotraError } from "../models/errors/notra-error.js";
|
|
6
|
+
import { ResponseValidationError } from "../models/errors/response-validation-error.js";
|
|
7
|
+
import { SDKValidationError } from "../models/errors/sdk-validation-error.js";
|
|
8
|
+
import * as operations from "../models/operations/index.js";
|
|
9
|
+
import { APIPromise } from "../types/async.js";
|
|
10
|
+
import { Result } from "../types/fp.js";
|
|
11
|
+
/**
|
|
12
|
+
* List available integrations
|
|
13
|
+
*/
|
|
14
|
+
export declare function contentListIntegrations(client: NotraCore, options?: RequestOptions): APIPromise<Result<operations.ListIntegrationsResponse, errors.ErrorResponse | NotraError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
15
|
+
//# sourceMappingURL=content-list-integrations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"content-list-integrations.d.ts","sourceRoot":"","sources":["../../../src/funcs/content-list-integrations.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAGvC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,wCAAwC,CAAC;AAChD,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAC7D,OAAO,EAAE,uBAAuB,EAAE,MAAM,+CAA+C,CAAC;AACxF,OAAO,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AAC9E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;GAEG;AACH,wBAAgB,uBAAuB,CACrC,MAAM,EAAE,SAAS,EACjB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,UAAU,CAAC,wBAAwB,EACjC,MAAM,CAAC,aAAa,GACpB,UAAU,GACV,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAKA"}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
* @generated-id: 9628c4219e6a
|
|
5
|
+
*/
|
|
6
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7
|
+
if (k2 === undefined) k2 = k;
|
|
8
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
9
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
10
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
11
|
+
}
|
|
12
|
+
Object.defineProperty(o, k2, desc);
|
|
13
|
+
}) : (function(o, m, k, k2) {
|
|
14
|
+
if (k2 === undefined) k2 = k;
|
|
15
|
+
o[k2] = m[k];
|
|
16
|
+
}));
|
|
17
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
18
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
19
|
+
}) : function(o, v) {
|
|
20
|
+
o["default"] = v;
|
|
21
|
+
});
|
|
22
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
23
|
+
var ownKeys = function(o) {
|
|
24
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
25
|
+
var ar = [];
|
|
26
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
27
|
+
return ar;
|
|
28
|
+
};
|
|
29
|
+
return ownKeys(o);
|
|
30
|
+
};
|
|
31
|
+
return function (mod) {
|
|
32
|
+
if (mod && mod.__esModule) return mod;
|
|
33
|
+
var result = {};
|
|
34
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
35
|
+
__setModuleDefault(result, mod);
|
|
36
|
+
return result;
|
|
37
|
+
};
|
|
38
|
+
})();
|
|
39
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40
|
+
exports.contentListIntegrations = contentListIntegrations;
|
|
41
|
+
const M = __importStar(require("../lib/matchers.js"));
|
|
42
|
+
const primitives_js_1 = require("../lib/primitives.js");
|
|
43
|
+
const security_js_1 = require("../lib/security.js");
|
|
44
|
+
const url_js_1 = require("../lib/url.js");
|
|
45
|
+
const errors = __importStar(require("../models/errors/index.js"));
|
|
46
|
+
const operations = __importStar(require("../models/operations/index.js"));
|
|
47
|
+
const async_js_1 = require("../types/async.js");
|
|
48
|
+
/**
|
|
49
|
+
* List available integrations
|
|
50
|
+
*/
|
|
51
|
+
function contentListIntegrations(client, options) {
|
|
52
|
+
return new async_js_1.APIPromise($do(client, options));
|
|
53
|
+
}
|
|
54
|
+
async function $do(client, options) {
|
|
55
|
+
const path = (0, url_js_1.pathToFunc)("/v1/integrations")();
|
|
56
|
+
const headers = new Headers((0, primitives_js_1.compactMap)({
|
|
57
|
+
Accept: "application/json",
|
|
58
|
+
}));
|
|
59
|
+
const secConfig = await (0, security_js_1.extractSecurity)(client._options.bearerAuth);
|
|
60
|
+
const securityInput = secConfig == null ? {} : { bearerAuth: secConfig };
|
|
61
|
+
const requestSecurity = (0, security_js_1.resolveGlobalSecurity)(securityInput);
|
|
62
|
+
const context = {
|
|
63
|
+
options: client._options,
|
|
64
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
65
|
+
operationID: "listIntegrations",
|
|
66
|
+
oAuth2Scopes: null,
|
|
67
|
+
resolvedSecurity: requestSecurity,
|
|
68
|
+
securitySource: client._options.bearerAuth,
|
|
69
|
+
retryConfig: options?.retries
|
|
70
|
+
|| client._options.retryConfig
|
|
71
|
+
|| { strategy: "none" },
|
|
72
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
|
73
|
+
};
|
|
74
|
+
const requestRes = client._createRequest(context, {
|
|
75
|
+
security: requestSecurity,
|
|
76
|
+
method: "GET",
|
|
77
|
+
baseURL: options?.serverURL,
|
|
78
|
+
path: path,
|
|
79
|
+
headers: headers,
|
|
80
|
+
userAgent: client._options.userAgent,
|
|
81
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
82
|
+
}, options);
|
|
83
|
+
if (!requestRes.ok) {
|
|
84
|
+
return [requestRes, { status: "invalid" }];
|
|
85
|
+
}
|
|
86
|
+
const req = requestRes.value;
|
|
87
|
+
const doResult = await client._do(req, {
|
|
88
|
+
context,
|
|
89
|
+
errorCodes: ["401", "403", "404", "4XX", "503", "5XX"],
|
|
90
|
+
retryConfig: context.retryConfig,
|
|
91
|
+
retryCodes: context.retryCodes,
|
|
92
|
+
});
|
|
93
|
+
if (!doResult.ok) {
|
|
94
|
+
return [doResult, { status: "request-error", request: req }];
|
|
95
|
+
}
|
|
96
|
+
const response = doResult.value;
|
|
97
|
+
const responseFields = {
|
|
98
|
+
HttpMeta: { Response: response, Request: req },
|
|
99
|
+
};
|
|
100
|
+
const [result] = await M.match(M.json(200, operations.ListIntegrationsResponse$inboundSchema), M.jsonErr([401, 403, 404], errors.ErrorResponse$inboundSchema), M.jsonErr(503, errors.ErrorResponse$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, req, { extraFields: responseFields });
|
|
101
|
+
if (!result.ok) {
|
|
102
|
+
return [result, { status: "complete", request: req, response }];
|
|
103
|
+
}
|
|
104
|
+
return [result, { status: "complete", request: req, response }];
|
|
105
|
+
}
|
|
106
|
+
//# sourceMappingURL=content-list-integrations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"content-list-integrations.js","sourceRoot":"","sources":["../../../src/funcs/content-list-integrations.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0BH,0DAqBC;AA5CD,sDAAwC;AACxC,wDAAkD;AAElD,oDAA4E;AAC5E,0CAA2C;AAQ3C,kEAAoD;AAIpD,0EAA4D;AAC5D,gDAAwD;AAGxD;;GAEG;AACH,SAAgB,uBAAuB,CACrC,MAAiB,EACjB,OAAwB;IAexB,OAAO,IAAI,qBAAU,CAAC,GAAG,CACvB,MAAM,EACN,OAAO,CACR,CAAC,CAAC;AACL,CAAC;AAED,KAAK,UAAU,GAAG,CAChB,MAAiB,EACjB,OAAwB;IAkBxB,MAAM,IAAI,GAAG,IAAA,mBAAU,EAAC,kBAAkB,CAAC,EAAE,CAAC;IAE9C,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,UAAU,CAAC,CAAC;IACpE,MAAM,aAAa,GAAG,SAAS,I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UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;AAClE,CAAC"}
|
|
@@ -31,8 +31,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
|
31
31
|
export declare const SDK_METADATA: {
|
|
32
32
|
readonly language: "typescript";
|
|
33
33
|
readonly openapiDocVersion: "1.0.0";
|
|
34
|
-
readonly sdkVersion: "0.0
|
|
35
|
-
readonly genVersion: "2.866.
|
|
36
|
-
readonly userAgent: "speakeasy-sdk/typescript 0.0
|
|
34
|
+
readonly sdkVersion: "0.1.0";
|
|
35
|
+
readonly genVersion: "2.866.2";
|
|
36
|
+
readonly userAgent: "speakeasy-sdk/typescript 0.1.0 2.866.2 1.0.0 @usenotra/sdk";
|
|
37
37
|
};
|
|
38
38
|
//# sourceMappingURL=config.d.ts.map
|
|
@@ -32,8 +32,8 @@ function serverURLFromOptions(options) {
|
|
|
32
32
|
exports.SDK_METADATA = {
|
|
33
33
|
language: "typescript",
|
|
34
34
|
openapiDocVersion: "1.0.0",
|
|
35
|
-
sdkVersion: "0.0
|
|
36
|
-
genVersion: "2.866.
|
|
37
|
-
userAgent: "speakeasy-sdk/typescript 0.0
|
|
35
|
+
sdkVersion: "0.1.0",
|
|
36
|
+
genVersion: "2.866.2",
|
|
37
|
+
userAgent: "speakeasy-sdk/typescript 0.1.0 2.866.2 1.0.0 @usenotra/sdk",
|
|
38
38
|
};
|
|
39
39
|
//# sourceMappingURL=config.js.map
|
|
@@ -10,4 +10,17 @@ export declare function readableStreamToArrayBuffer(readable: ReadableStream<Uin
|
|
|
10
10
|
* Returns null if the extension is not recognized.
|
|
11
11
|
*/
|
|
12
12
|
export declare function getContentTypeFromFileName(fileName: string): string | null;
|
|
13
|
+
/**
|
|
14
|
+
* Creates a Blob from file content with the given MIME type.
|
|
15
|
+
*
|
|
16
|
+
* Node.js Buffers are Uint8Array subclasses that may share a pooled
|
|
17
|
+
* ArrayBuffer (byteOffset > 0, byteLength < buffer.byteLength). Passing
|
|
18
|
+
* such a Buffer directly to `new Blob([buf])` can include the entire
|
|
19
|
+
* underlying pool on some runtimes, producing a Blob with extra bytes
|
|
20
|
+
* that corrupts multipart uploads.
|
|
21
|
+
*
|
|
22
|
+
* Copying into a standalone Uint8Array ensures the Blob receives only the
|
|
23
|
+
* intended bytes regardless of runtime behaviour.
|
|
24
|
+
*/
|
|
25
|
+
export declare function bytesToBlob(content: Uint8Array<ArrayBufferLike> | ArrayBuffer | Blob | string, contentType: string): Blob;
|
|
13
26
|
//# sourceMappingURL=files.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"files.d.ts","sourceRoot":"","sources":["../../../src/lib/files.ts"],"names":[],"mappings":"AAKA;;;;;GAKG;AACH,wBAAsB,2BAA2B,CAC/C,QAAQ,EAAE,cAAc,CAAC,UAAU,CAAC,GACnC,OAAO,CAAC,WAAW,CAAC,CA2BtB;AAED;;;GAGG;AACH,wBAAgB,0BAA0B,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAoC1E"}
|
|
1
|
+
{"version":3,"file":"files.d.ts","sourceRoot":"","sources":["../../../src/lib/files.ts"],"names":[],"mappings":"AAKA;;;;;GAKG;AACH,wBAAsB,2BAA2B,CAC/C,QAAQ,EAAE,cAAc,CAAC,UAAU,CAAC,GACnC,OAAO,CAAC,WAAW,CAAC,CA2BtB;AAED;;;GAGG;AACH,wBAAgB,0BAA0B,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAoC1E;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,WAAW,CACzB,OAAO,EAAE,UAAU,CAAC,eAAe,CAAC,GAAG,WAAW,GAAG,IAAI,GAAG,MAAM,EAClE,WAAW,EAAE,MAAM,GAClB,IAAI,CAKN"}
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
7
|
exports.readableStreamToArrayBuffer = readableStreamToArrayBuffer;
|
|
8
8
|
exports.getContentTypeFromFileName = getContentTypeFromFileName;
|
|
9
|
+
exports.bytesToBlob = bytesToBlob;
|
|
9
10
|
/**
|
|
10
11
|
* Consumes a stream and returns a concatenated array buffer. Useful in
|
|
11
12
|
* situations where we need to read the whole file because it forms part of a
|
|
@@ -75,4 +76,22 @@ function getContentTypeFromFileName(fileName) {
|
|
|
75
76
|
};
|
|
76
77
|
return mimeTypes[ext] || null;
|
|
77
78
|
}
|
|
79
|
+
/**
|
|
80
|
+
* Creates a Blob from file content with the given MIME type.
|
|
81
|
+
*
|
|
82
|
+
* Node.js Buffers are Uint8Array subclasses that may share a pooled
|
|
83
|
+
* ArrayBuffer (byteOffset > 0, byteLength < buffer.byteLength). Passing
|
|
84
|
+
* such a Buffer directly to `new Blob([buf])` can include the entire
|
|
85
|
+
* underlying pool on some runtimes, producing a Blob with extra bytes
|
|
86
|
+
* that corrupts multipart uploads.
|
|
87
|
+
*
|
|
88
|
+
* Copying into a standalone Uint8Array ensures the Blob receives only the
|
|
89
|
+
* intended bytes regardless of runtime behaviour.
|
|
90
|
+
*/
|
|
91
|
+
function bytesToBlob(content, contentType) {
|
|
92
|
+
if (content instanceof Uint8Array) {
|
|
93
|
+
return new Blob([new Uint8Array(content)], { type: contentType });
|
|
94
|
+
}
|
|
95
|
+
return new Blob([content], { type: contentType });
|
|
96
|
+
}
|
|
78
97
|
//# sourceMappingURL=files.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"files.js","sourceRoot":"","sources":["../../../src/lib/files.ts"],"names":[],"mappings":";AAAA;;;GAGG;;AAQH,kEA6BC;AAMD,gEAoCC;
|
|
1
|
+
{"version":3,"file":"files.js","sourceRoot":"","sources":["../../../src/lib/files.ts"],"names":[],"mappings":";AAAA;;;GAGG;;AAQH,kEA6BC;AAMD,gEAoCC;AAcD,kCAQC;AAnGD;;;;;GAKG;AACI,KAAK,UAAU,2BAA2B,CAC/C,QAAoC;IAEpC,MA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AAG,EAAE,iBAAiB;QACtB,GAAG,EAAE,WAAW;QAChB,GAAG,EAAE,YAAY;QACjB,IAAI,EAAE,YAAY;QAClB,GAAG,EAAE,WAAW;QAChB,GAAG,EAAE,eAAe;QACpB,EAAE,EAAE,wBAAwB;QAC5B,GAAG,EAAE,UAAU;QACf,GAAG,EAAE,iBAAiB;QACtB,GAAG,EAAE,mBAAmB;QACxB,EAAE,EAAE,kBAAkB;QACtB,GAAG,EAAE,WAAW;QAChB,GAAG,EAAE,YAAY;QACjB,GAAG,EAAE,WAAW;QAChB,IAAI,EAAE,YAAY;QAClB,GAAG,EAAE,cAAc;QACnB,IAAI,EAAE,WAAW;QACjB,KAAK,EAAE,YAAY;QACnB,GAAG,EAAE,UAAU;QACf,GAAG,EAAE,UAAU;KAChB,CAAC;IAEF,OAAO,SAAS,CAAC,GAAG,CAAC,IAAI,IAAI,CAAC;AAChC,CAAC;AAED;;;;;;;;;;;GAWG;AACH,SAAgB,WAAW,CACzB,OAAkE,EAClE,WAAmB;IAEnB,IAAI,OAAO,YAAY,UAAU,EAAE,CAAC;QAClC,OAAO,IAAI,IAAI,CAAC,CAAC,IAAI,UAAU,CAAC,OAAO,CAAC,CAAC,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC,CAAC;IACpE,CAAC;IACD,OAAO,IAAI,IAAI,CAAC,CAAC,OAAmB,CAAC,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC,CAAC;AAChE,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import * as z from "zod/v4-mini";
|
|
2
|
+
import { NotraError } from "./notra-error.js";
|
|
3
|
+
/**
|
|
4
|
+
* Content generation is unavailable
|
|
5
|
+
*/
|
|
6
|
+
export type ServiceUnavailableErrorData = {
|
|
7
|
+
error: string;
|
|
8
|
+
jobId?: string | undefined;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Content generation is unavailable
|
|
12
|
+
*/
|
|
13
|
+
export declare class ServiceUnavailableError extends NotraError {
|
|
14
|
+
error: string;
|
|
15
|
+
jobId?: string | undefined;
|
|
16
|
+
/** The original data that was passed to this error instance. */
|
|
17
|
+
data$: ServiceUnavailableErrorData;
|
|
18
|
+
constructor(err: ServiceUnavailableErrorData, httpMeta: {
|
|
19
|
+
response: Response;
|
|
20
|
+
request: Request;
|
|
21
|
+
body: string;
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
/** @internal */
|
|
25
|
+
export declare const ServiceUnavailableError$inboundSchema: z.ZodMiniType<ServiceUnavailableError, unknown>;
|
|
26
|
+
//# sourceMappingURL=create-post-generation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-post-generation.d.ts","sourceRoot":"","sources":["../../../../src/models/errors/create-post-generation.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAE9C;;GAEG;AACH,MAAM,MAAM,2BAA2B,GAAG;IACxC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC5B,CAAC;AAEF;;GAEG;AACH,qBAAa,uBAAwB,SAAQ,UAAU;IACrD,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAE3B,gEAAgE;IAChE,KAAK,EAAE,2BAA2B,CAAC;gBAGjC,GAAG,EAAE,2BAA2B,EAChC,QAAQ,EAAE;QAAE,QAAQ,EAAE,QAAQ,CAAC;QAAC,OAAO,EAAE,OAAO,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE;CAYnE;AAED,gBAAgB;AAChB,eAAO,MAAM,qCAAqC,EAAE,CAAC,CAAC,WAAW,CAC/D,uBAAuB,EACvB,OAAO,CAgBR,CAAC"}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
* @generated-id: 7dbce1fca443
|
|
5
|
+
*/
|
|
6
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7
|
+
if (k2 === undefined) k2 = k;
|
|
8
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
9
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
10
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
11
|
+
}
|
|
12
|
+
Object.defineProperty(o, k2, desc);
|
|
13
|
+
}) : (function(o, m, k, k2) {
|
|
14
|
+
if (k2 === undefined) k2 = k;
|
|
15
|
+
o[k2] = m[k];
|
|
16
|
+
}));
|
|
17
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
18
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
19
|
+
}) : function(o, v) {
|
|
20
|
+
o["default"] = v;
|
|
21
|
+
});
|
|
22
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
23
|
+
var ownKeys = function(o) {
|
|
24
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
25
|
+
var ar = [];
|
|
26
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
27
|
+
return ar;
|
|
28
|
+
};
|
|
29
|
+
return ownKeys(o);
|
|
30
|
+
};
|
|
31
|
+
return function (mod) {
|
|
32
|
+
if (mod && mod.__esModule) return mod;
|
|
33
|
+
var result = {};
|
|
34
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
35
|
+
__setModuleDefault(result, mod);
|
|
36
|
+
return result;
|
|
37
|
+
};
|
|
38
|
+
})();
|
|
39
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40
|
+
exports.ServiceUnavailableError$inboundSchema = exports.ServiceUnavailableError = void 0;
|
|
41
|
+
const z = __importStar(require("zod/v4-mini"));
|
|
42
|
+
const types = __importStar(require("../../types/primitives.js"));
|
|
43
|
+
const notra_error_js_1 = require("./notra-error.js");
|
|
44
|
+
/**
|
|
45
|
+
* Content generation is unavailable
|
|
46
|
+
*/
|
|
47
|
+
class ServiceUnavailableError extends notra_error_js_1.NotraError {
|
|
48
|
+
constructor(err, httpMeta) {
|
|
49
|
+
const message = "message" in err && typeof err.message === "string"
|
|
50
|
+
? err.message
|
|
51
|
+
: `API error occurred: ${JSON.stringify(err)}`;
|
|
52
|
+
super(message, httpMeta);
|
|
53
|
+
this.data$ = err;
|
|
54
|
+
this.error = err.error;
|
|
55
|
+
if (err.jobId != null)
|
|
56
|
+
this.jobId = err.jobId;
|
|
57
|
+
this.name = "ServiceUnavailableError";
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
exports.ServiceUnavailableError = ServiceUnavailableError;
|
|
61
|
+
/** @internal */
|
|
62
|
+
exports.ServiceUnavailableError$inboundSchema = z.pipe(z.object({
|
|
63
|
+
error: types.string(),
|
|
64
|
+
jobId: types.optional(types.string()),
|
|
65
|
+
request$: z.custom(x => x instanceof Request),
|
|
66
|
+
response$: z.custom(x => x instanceof Response),
|
|
67
|
+
body$: z.string(),
|
|
68
|
+
}), z.transform((v) => {
|
|
69
|
+
return new ServiceUnavailableError(v, {
|
|
70
|
+
request: v.request$,
|
|
71
|
+
response: v.response$,
|
|
72
|
+
body: v.body$,
|
|
73
|
+
});
|
|
74
|
+
}));
|
|
75
|
+
//# sourceMappingURL=create-post-generation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-post-generation.js","sourceRoot":"","sources":["../../../../src/models/errors/create-post-generation.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,+CAAiC;AACjC,iEAAmD;AACnD,qDAA8C;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AC,KAAK;KACd,CAAC,CAAC;AACL,CAAC,CAAC,CACH,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/models/errors/index.ts"],"names":[],"mappings":"AAKA,cAAc,qBAAqB,CAAC;AACpC,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,kBAAkB,CAAC;AACjC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,2BAA2B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/models/errors/index.ts"],"names":[],"mappings":"AAKA,cAAc,6BAA6B,CAAC;AAC5C,cAAc,qBAAqB,CAAC;AACpC,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,kBAAkB,CAAC;AACjC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,2BAA2B,CAAC"}
|
|
@@ -18,6 +18,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
18
18
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
19
19
|
};
|
|
20
20
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
|
+
__exportStar(require("./create-post-generation.js"), exports);
|
|
21
22
|
__exportStar(require("./error-response.js"), exports);
|
|
22
23
|
__exportStar(require("./http-client-errors.js"), exports);
|
|
23
24
|
__exportStar(require("./notra-default-error.js"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/errors/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;;;;;;;;;;;;;;AAEH,sDAAoC;AACpC,0DAAwC;AACxC,2DAAyC;AACzC,mDAAiC;AACjC,iEAA+C;AAC/C,4DAA0C"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/errors/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;;;;;;;;;;;;;;AAEH,8DAA4C;AAC5C,sDAAoC;AACpC,0DAAwC;AACxC,2DAAyC;AACzC,mDAAiC;AACjC,iEAA+C;AAC/C,4DAA0C"}
|
|
@@ -0,0 +1,215 @@
|
|
|
1
|
+
import * as z from "zod/v4-mini";
|
|
2
|
+
import { ClosedEnum, OpenEnum } from "../../types/enums.js";
|
|
3
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
4
|
+
import { SDKValidationError } from "../errors/sdk-validation-error.js";
|
|
5
|
+
export declare const ContentTypeRequest: {
|
|
6
|
+
readonly Changelog: "changelog";
|
|
7
|
+
readonly BlogPost: "blog_post";
|
|
8
|
+
readonly LinkedinPost: "linkedin_post";
|
|
9
|
+
readonly TwitterPost: "twitter_post";
|
|
10
|
+
};
|
|
11
|
+
export type ContentTypeRequest = ClosedEnum<typeof ContentTypeRequest>;
|
|
12
|
+
export declare const LookbackWindowRequest: {
|
|
13
|
+
readonly CurrentDay: "current_day";
|
|
14
|
+
readonly Yesterday: "yesterday";
|
|
15
|
+
readonly Last7Days: "last_7_days";
|
|
16
|
+
readonly Last14Days: "last_14_days";
|
|
17
|
+
readonly Last30Days: "last_30_days";
|
|
18
|
+
};
|
|
19
|
+
export type LookbackWindowRequest = ClosedEnum<typeof LookbackWindowRequest>;
|
|
20
|
+
export type Integrations = {
|
|
21
|
+
github?: Array<string> | undefined;
|
|
22
|
+
};
|
|
23
|
+
export type Repository = {
|
|
24
|
+
owner: string;
|
|
25
|
+
repo: string;
|
|
26
|
+
};
|
|
27
|
+
export type CreatePostGenerationGithub = {
|
|
28
|
+
repositories: Array<Repository>;
|
|
29
|
+
};
|
|
30
|
+
export type DataPoints = {
|
|
31
|
+
includePullRequests?: boolean | undefined;
|
|
32
|
+
includeCommits?: boolean | undefined;
|
|
33
|
+
includeReleases?: boolean | undefined;
|
|
34
|
+
includeLinearIssues?: boolean | undefined;
|
|
35
|
+
};
|
|
36
|
+
export type PullRequestNumber = {
|
|
37
|
+
repositoryId: string;
|
|
38
|
+
number: number;
|
|
39
|
+
};
|
|
40
|
+
export type ReleaseTagName = {
|
|
41
|
+
repositoryId: string;
|
|
42
|
+
tagName: string;
|
|
43
|
+
};
|
|
44
|
+
export type ReleaseTagNameUnion = ReleaseTagName | string;
|
|
45
|
+
export type SelectedItems = {
|
|
46
|
+
commitShas?: Array<string> | undefined;
|
|
47
|
+
pullRequestNumbers?: Array<PullRequestNumber> | undefined;
|
|
48
|
+
releaseTagNames?: Array<ReleaseTagName | string> | undefined;
|
|
49
|
+
};
|
|
50
|
+
export type CreatePostGenerationRequest = {
|
|
51
|
+
contentType: ContentTypeRequest;
|
|
52
|
+
lookbackWindow?: LookbackWindowRequest | undefined;
|
|
53
|
+
brandVoiceId?: string | undefined;
|
|
54
|
+
brandIdentityId?: string | null | undefined;
|
|
55
|
+
repositoryIds?: Array<string> | undefined;
|
|
56
|
+
integrations?: Integrations | undefined;
|
|
57
|
+
github?: CreatePostGenerationGithub | undefined;
|
|
58
|
+
dataPoints?: DataPoints | undefined;
|
|
59
|
+
selectedItems?: SelectedItems | undefined;
|
|
60
|
+
};
|
|
61
|
+
export type CreatePostGenerationOrganization = {
|
|
62
|
+
id: string;
|
|
63
|
+
slug: string;
|
|
64
|
+
name: string;
|
|
65
|
+
logo: string | null;
|
|
66
|
+
};
|
|
67
|
+
export declare const CreatePostGenerationStatus: {
|
|
68
|
+
readonly Queued: "queued";
|
|
69
|
+
readonly Running: "running";
|
|
70
|
+
readonly Completed: "completed";
|
|
71
|
+
readonly Failed: "failed";
|
|
72
|
+
};
|
|
73
|
+
export type CreatePostGenerationStatus = OpenEnum<typeof CreatePostGenerationStatus>;
|
|
74
|
+
export declare const CreatePostGenerationContentTypeResponse: {
|
|
75
|
+
readonly Changelog: "changelog";
|
|
76
|
+
readonly BlogPost: "blog_post";
|
|
77
|
+
readonly LinkedinPost: "linkedin_post";
|
|
78
|
+
readonly TwitterPost: "twitter_post";
|
|
79
|
+
};
|
|
80
|
+
export type CreatePostGenerationContentTypeResponse = OpenEnum<typeof CreatePostGenerationContentTypeResponse>;
|
|
81
|
+
export declare const CreatePostGenerationLookbackWindowResponse: {
|
|
82
|
+
readonly CurrentDay: "current_day";
|
|
83
|
+
readonly Yesterday: "yesterday";
|
|
84
|
+
readonly Last7Days: "last_7_days";
|
|
85
|
+
readonly Last14Days: "last_14_days";
|
|
86
|
+
readonly Last30Days: "last_30_days";
|
|
87
|
+
};
|
|
88
|
+
export type CreatePostGenerationLookbackWindowResponse = OpenEnum<typeof CreatePostGenerationLookbackWindowResponse>;
|
|
89
|
+
export declare const CreatePostGenerationSource: {
|
|
90
|
+
readonly Api: "api";
|
|
91
|
+
readonly Dashboard: "dashboard";
|
|
92
|
+
};
|
|
93
|
+
export type CreatePostGenerationSource = OpenEnum<typeof CreatePostGenerationSource>;
|
|
94
|
+
export type CreatePostGenerationJob = {
|
|
95
|
+
id: string;
|
|
96
|
+
organizationId: string;
|
|
97
|
+
status: CreatePostGenerationStatus;
|
|
98
|
+
contentType: CreatePostGenerationContentTypeResponse;
|
|
99
|
+
lookbackWindow: CreatePostGenerationLookbackWindowResponse;
|
|
100
|
+
repositoryIds: Array<string>;
|
|
101
|
+
brandVoiceId: string | null;
|
|
102
|
+
workflowRunId: string | null;
|
|
103
|
+
postId: string | null;
|
|
104
|
+
error: string | null;
|
|
105
|
+
source: CreatePostGenerationSource;
|
|
106
|
+
createdAt: string;
|
|
107
|
+
updatedAt: string;
|
|
108
|
+
completedAt: string | null;
|
|
109
|
+
};
|
|
110
|
+
/**
|
|
111
|
+
* Post generation queued successfully
|
|
112
|
+
*/
|
|
113
|
+
export type CreatePostGenerationResponse = {
|
|
114
|
+
organization: CreatePostGenerationOrganization;
|
|
115
|
+
job: CreatePostGenerationJob;
|
|
116
|
+
};
|
|
117
|
+
/** @internal */
|
|
118
|
+
export declare const ContentTypeRequest$outboundSchema: z.ZodMiniEnum<typeof ContentTypeRequest>;
|
|
119
|
+
/** @internal */
|
|
120
|
+
export declare const LookbackWindowRequest$outboundSchema: z.ZodMiniEnum<typeof LookbackWindowRequest>;
|
|
121
|
+
/** @internal */
|
|
122
|
+
export type Integrations$Outbound = {
|
|
123
|
+
github?: Array<string> | undefined;
|
|
124
|
+
};
|
|
125
|
+
/** @internal */
|
|
126
|
+
export declare const Integrations$outboundSchema: z.ZodMiniType<Integrations$Outbound, Integrations>;
|
|
127
|
+
export declare function integrationsToJSON(integrations: Integrations): string;
|
|
128
|
+
/** @internal */
|
|
129
|
+
export type Repository$Outbound = {
|
|
130
|
+
owner: string;
|
|
131
|
+
repo: string;
|
|
132
|
+
};
|
|
133
|
+
/** @internal */
|
|
134
|
+
export declare const Repository$outboundSchema: z.ZodMiniType<Repository$Outbound, Repository>;
|
|
135
|
+
export declare function repositoryToJSON(repository: Repository): string;
|
|
136
|
+
/** @internal */
|
|
137
|
+
export type CreatePostGenerationGithub$Outbound = {
|
|
138
|
+
repositories: Array<Repository$Outbound>;
|
|
139
|
+
};
|
|
140
|
+
/** @internal */
|
|
141
|
+
export declare const CreatePostGenerationGithub$outboundSchema: z.ZodMiniType<CreatePostGenerationGithub$Outbound, CreatePostGenerationGithub>;
|
|
142
|
+
export declare function createPostGenerationGithubToJSON(createPostGenerationGithub: CreatePostGenerationGithub): string;
|
|
143
|
+
/** @internal */
|
|
144
|
+
export type DataPoints$Outbound = {
|
|
145
|
+
includePullRequests: boolean;
|
|
146
|
+
includeCommits: boolean;
|
|
147
|
+
includeReleases: boolean;
|
|
148
|
+
includeLinearIssues: boolean;
|
|
149
|
+
};
|
|
150
|
+
/** @internal */
|
|
151
|
+
export declare const DataPoints$outboundSchema: z.ZodMiniType<DataPoints$Outbound, DataPoints>;
|
|
152
|
+
export declare function dataPointsToJSON(dataPoints: DataPoints): string;
|
|
153
|
+
/** @internal */
|
|
154
|
+
export type PullRequestNumber$Outbound = {
|
|
155
|
+
repositoryId: string;
|
|
156
|
+
number: number;
|
|
157
|
+
};
|
|
158
|
+
/** @internal */
|
|
159
|
+
export declare const PullRequestNumber$outboundSchema: z.ZodMiniType<PullRequestNumber$Outbound, PullRequestNumber>;
|
|
160
|
+
export declare function pullRequestNumberToJSON(pullRequestNumber: PullRequestNumber): string;
|
|
161
|
+
/** @internal */
|
|
162
|
+
export type ReleaseTagName$Outbound = {
|
|
163
|
+
repositoryId: string;
|
|
164
|
+
tagName: string;
|
|
165
|
+
};
|
|
166
|
+
/** @internal */
|
|
167
|
+
export declare const ReleaseTagName$outboundSchema: z.ZodMiniType<ReleaseTagName$Outbound, ReleaseTagName>;
|
|
168
|
+
export declare function releaseTagNameToJSON(releaseTagName: ReleaseTagName): string;
|
|
169
|
+
/** @internal */
|
|
170
|
+
export type ReleaseTagNameUnion$Outbound = ReleaseTagName$Outbound | string;
|
|
171
|
+
/** @internal */
|
|
172
|
+
export declare const ReleaseTagNameUnion$outboundSchema: z.ZodMiniType<ReleaseTagNameUnion$Outbound, ReleaseTagNameUnion>;
|
|
173
|
+
export declare function releaseTagNameUnionToJSON(releaseTagNameUnion: ReleaseTagNameUnion): string;
|
|
174
|
+
/** @internal */
|
|
175
|
+
export type SelectedItems$Outbound = {
|
|
176
|
+
commitShas?: Array<string> | undefined;
|
|
177
|
+
pullRequestNumbers?: Array<PullRequestNumber$Outbound> | undefined;
|
|
178
|
+
releaseTagNames?: Array<ReleaseTagName$Outbound | string> | undefined;
|
|
179
|
+
};
|
|
180
|
+
/** @internal */
|
|
181
|
+
export declare const SelectedItems$outboundSchema: z.ZodMiniType<SelectedItems$Outbound, SelectedItems>;
|
|
182
|
+
export declare function selectedItemsToJSON(selectedItems: SelectedItems): string;
|
|
183
|
+
/** @internal */
|
|
184
|
+
export type CreatePostGenerationRequest$Outbound = {
|
|
185
|
+
contentType: string;
|
|
186
|
+
lookbackWindow: string;
|
|
187
|
+
brandVoiceId?: string | undefined;
|
|
188
|
+
brandIdentityId?: string | null | undefined;
|
|
189
|
+
repositoryIds?: Array<string> | undefined;
|
|
190
|
+
integrations?: Integrations$Outbound | undefined;
|
|
191
|
+
github?: CreatePostGenerationGithub$Outbound | undefined;
|
|
192
|
+
dataPoints?: DataPoints$Outbound | undefined;
|
|
193
|
+
selectedItems?: SelectedItems$Outbound | undefined;
|
|
194
|
+
};
|
|
195
|
+
/** @internal */
|
|
196
|
+
export declare const CreatePostGenerationRequest$outboundSchema: z.ZodMiniType<CreatePostGenerationRequest$Outbound, CreatePostGenerationRequest>;
|
|
197
|
+
export declare function createPostGenerationRequestToJSON(createPostGenerationRequest: CreatePostGenerationRequest): string;
|
|
198
|
+
/** @internal */
|
|
199
|
+
export declare const CreatePostGenerationOrganization$inboundSchema: z.ZodMiniType<CreatePostGenerationOrganization, unknown>;
|
|
200
|
+
export declare function createPostGenerationOrganizationFromJSON(jsonString: string): SafeParseResult<CreatePostGenerationOrganization, SDKValidationError>;
|
|
201
|
+
/** @internal */
|
|
202
|
+
export declare const CreatePostGenerationStatus$inboundSchema: z.ZodMiniType<CreatePostGenerationStatus, unknown>;
|
|
203
|
+
/** @internal */
|
|
204
|
+
export declare const CreatePostGenerationContentTypeResponse$inboundSchema: z.ZodMiniType<CreatePostGenerationContentTypeResponse, unknown>;
|
|
205
|
+
/** @internal */
|
|
206
|
+
export declare const CreatePostGenerationLookbackWindowResponse$inboundSchema: z.ZodMiniType<CreatePostGenerationLookbackWindowResponse, unknown>;
|
|
207
|
+
/** @internal */
|
|
208
|
+
export declare const CreatePostGenerationSource$inboundSchema: z.ZodMiniType<CreatePostGenerationSource, unknown>;
|
|
209
|
+
/** @internal */
|
|
210
|
+
export declare const CreatePostGenerationJob$inboundSchema: z.ZodMiniType<CreatePostGenerationJob, unknown>;
|
|
211
|
+
export declare function createPostGenerationJobFromJSON(jsonString: string): SafeParseResult<CreatePostGenerationJob, SDKValidationError>;
|
|
212
|
+
/** @internal */
|
|
213
|
+
export declare const CreatePostGenerationResponse$inboundSchema: z.ZodMiniType<CreatePostGenerationResponse, unknown>;
|
|
214
|
+
export declare function createPostGenerationResponseFromJSON(jsonString: string): SafeParseResult<CreatePostGenerationResponse, SDKValidationError>;
|
|
215
|
+
//# sourceMappingURL=create-post-generation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-post-generation.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/create-post-generation.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAGjC,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAG9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAEvE,eAAO,MAAM,kBAAkB;;;;;CAKrB,CAAC;AACX,MAAM,MAAM,kBAAkB,GAAG,UAAU,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAEvE,eAAO,MAAM,qBAAqB;;;;;;CAMxB,CAAC;AACX,MAAM,MAAM,qBAAqB,GAAG,UAAU,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAE7E,MAAM,MAAM,YAAY,GAAG;IACzB,MAAM,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;CACpC,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG;IACvC,YAAY,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC;CACjC,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG;IACvB,mBAAmB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC1C,cAAc,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACrC,eAAe,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACtC,mBAAmB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CAC3C,CAAC;AAEF,M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