@usenotra/sdk 0.0.9 → 0.1.1
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 +20 -1
- package/dist/commonjs/funcs/content-create-brand-identity.d.ts +15 -0
- package/dist/commonjs/funcs/content-create-brand-identity.d.ts.map +1 -0
- package/dist/commonjs/funcs/content-create-brand-identity.js +117 -0
- package/dist/commonjs/funcs/content-create-brand-identity.js.map +1 -0
- 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-delete-post.js.map +1 -1
- package/dist/commonjs/funcs/content-get-brand-identity-generation.d.ts +15 -0
- package/dist/commonjs/funcs/content-get-brand-identity-generation.d.ts.map +1 -0
- package/dist/commonjs/funcs/content-get-brand-identity-generation.js +122 -0
- package/dist/commonjs/funcs/content-get-brand-identity-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-get-post.js.map +1 -1
- 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/funcs/content-update-brand-identity.d.ts +18 -0
- package/dist/commonjs/funcs/content-update-brand-identity.d.ts.map +1 -0
- package/dist/commonjs/funcs/content-update-brand-identity.js +126 -0
- package/dist/commonjs/funcs/content-update-brand-identity.js.map +1 -0
- package/dist/commonjs/funcs/content-update-post.js.map +1 -1
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/lib/config.js.map +1 -1
- 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/lib/sdks.d.ts.map +1 -1
- package/dist/commonjs/lib/sdks.js +8 -4
- package/dist/commonjs/lib/sdks.js.map +1 -1
- package/dist/commonjs/lib/url.d.ts.map +1 -1
- package/dist/commonjs/lib/url.js +4 -2
- package/dist/commonjs/lib/url.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-brand-identity.d.ts +70 -0
- package/dist/commonjs/models/operations/create-brand-identity.d.ts.map +1 -0
- package/dist/commonjs/models/operations/create-brand-identity.js +108 -0
- package/dist/commonjs/models/operations/create-brand-identity.js.map +1 -0
- 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-generation.d.ts +68 -0
- package/dist/commonjs/models/operations/get-brand-identity-generation.d.ts.map +1 -0
- package/dist/commonjs/models/operations/get-brand-identity-generation.js +107 -0
- package/dist/commonjs/models/operations/get-brand-identity-generation.js.map +1 -0
- package/dist/commonjs/models/operations/get-brand-identity.d.ts +51 -0
- package/dist/commonjs/models/operations/get-brand-identity.d.ts.map +1 -0
- package/dist/commonjs/models/operations/get-brand-identity.js +92 -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 +8 -0
- package/dist/commonjs/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/models/operations/index.js +8 -0
- package/dist/commonjs/models/operations/index.js.map +1 -1
- package/dist/commonjs/models/operations/list-brand-identities.d.ts +41 -0
- package/dist/commonjs/models/operations/list-brand-identities.d.ts.map +1 -0
- package/dist/commonjs/models/operations/list-brand-identities.js +84 -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-brand-identity.d.ts +139 -0
- package/dist/commonjs/models/operations/update-brand-identity.d.ts.map +1 -0
- package/dist/commonjs/models/operations/update-brand-identity.js +154 -0
- package/dist/commonjs/models/operations/update-brand-identity.js.map +1 -0
- 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 +35 -0
- package/dist/commonjs/sdk/content.d.ts.map +1 -1
- package/dist/commonjs/sdk/content.js +59 -0
- package/dist/commonjs/sdk/content.js.map +1 -1
- package/dist/esm/funcs/content-create-brand-identity.d.ts +15 -0
- package/dist/esm/funcs/content-create-brand-identity.d.ts.map +1 -0
- package/dist/esm/funcs/content-create-brand-identity.js +81 -0
- package/dist/esm/funcs/content-create-brand-identity.js.map +1 -0
- 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-delete-post.js.map +1 -1
- package/dist/esm/funcs/content-get-brand-identity-generation.d.ts +15 -0
- package/dist/esm/funcs/content-get-brand-identity-generation.d.ts.map +1 -0
- package/dist/esm/funcs/content-get-brand-identity-generation.js +86 -0
- package/dist/esm/funcs/content-get-brand-identity-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-get-post.js.map +1 -1
- 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/funcs/content-update-brand-identity.d.ts +18 -0
- package/dist/esm/funcs/content-update-brand-identity.d.ts.map +1 -0
- package/dist/esm/funcs/content-update-brand-identity.js +90 -0
- package/dist/esm/funcs/content-update-brand-identity.js.map +1 -0
- package/dist/esm/funcs/content-update-post.js.map +1 -1
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/lib/config.js.map +1 -1
- 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/lib/sdks.d.ts.map +1 -1
- package/dist/esm/lib/sdks.js +8 -4
- package/dist/esm/lib/sdks.js.map +1 -1
- package/dist/esm/lib/url.d.ts.map +1 -1
- package/dist/esm/lib/url.js +4 -2
- package/dist/esm/lib/url.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-brand-identity.d.ts +70 -0
- package/dist/esm/models/operations/create-brand-identity.d.ts.map +1 -0
- package/dist/esm/models/operations/create-brand-identity.js +68 -0
- package/dist/esm/models/operations/create-brand-identity.js.map +1 -0
- 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-generation.d.ts +68 -0
- package/dist/esm/models/operations/get-brand-identity-generation.d.ts.map +1 -0
- package/dist/esm/models/operations/get-brand-identity-generation.js +67 -0
- package/dist/esm/models/operations/get-brand-identity-generation.js.map +1 -0
- package/dist/esm/models/operations/get-brand-identity.d.ts +51 -0
- package/dist/esm/models/operations/get-brand-identity.d.ts.map +1 -0
- package/dist/esm/models/operations/get-brand-identity.js +52 -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 +8 -0
- package/dist/esm/models/operations/index.d.ts.map +1 -1
- package/dist/esm/models/operations/index.js +8 -0
- package/dist/esm/models/operations/index.js.map +1 -1
- package/dist/esm/models/operations/list-brand-identities.d.ts +41 -0
- package/dist/esm/models/operations/list-brand-identities.d.ts.map +1 -0
- package/dist/esm/models/operations/list-brand-identities.js +45 -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-brand-identity.d.ts +139 -0
- package/dist/esm/models/operations/update-brand-identity.d.ts.map +1 -0
- package/dist/esm/models/operations/update-brand-identity.js +113 -0
- package/dist/esm/models/operations/update-brand-identity.js.map +1 -0
- 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 +35 -0
- package/dist/esm/sdk/content.d.ts.map +1 -1
- package/dist/esm/sdk/content.js +59 -0
- package/dist/esm/sdk/content.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
* @generated-id: 3a526dc77340
|
|
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.CreateBrandIdentityResponse$inboundSchema = exports.CreateBrandIdentityJob$inboundSchema = exports.CreateBrandIdentityStep$inboundSchema = exports.CreateBrandIdentityStatus$inboundSchema = exports.CreateBrandIdentityOrganization$inboundSchema = exports.CreateBrandIdentityRequest$outboundSchema = exports.CreateBrandIdentityStep = exports.CreateBrandIdentityStatus = void 0;
|
|
41
|
+
exports.createBrandIdentityRequestToJSON = createBrandIdentityRequestToJSON;
|
|
42
|
+
exports.createBrandIdentityOrganizationFromJSON = createBrandIdentityOrganizationFromJSON;
|
|
43
|
+
exports.createBrandIdentityJobFromJSON = createBrandIdentityJobFromJSON;
|
|
44
|
+
exports.createBrandIdentityResponseFromJSON = createBrandIdentityResponseFromJSON;
|
|
45
|
+
const z = __importStar(require("zod/v4-mini"));
|
|
46
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
47
|
+
const openEnums = __importStar(require("../../types/enums.js"));
|
|
48
|
+
const types = __importStar(require("../../types/primitives.js"));
|
|
49
|
+
exports.CreateBrandIdentityStatus = {
|
|
50
|
+
Queued: "queued",
|
|
51
|
+
Running: "running",
|
|
52
|
+
Completed: "completed",
|
|
53
|
+
Failed: "failed",
|
|
54
|
+
};
|
|
55
|
+
exports.CreateBrandIdentityStep = {
|
|
56
|
+
Scraping: "scraping",
|
|
57
|
+
Extracting: "extracting",
|
|
58
|
+
Saving: "saving",
|
|
59
|
+
};
|
|
60
|
+
/** @internal */
|
|
61
|
+
exports.CreateBrandIdentityRequest$outboundSchema = z.object({
|
|
62
|
+
name: z.optional(z.string()),
|
|
63
|
+
websiteUrl: z.string(),
|
|
64
|
+
});
|
|
65
|
+
function createBrandIdentityRequestToJSON(createBrandIdentityRequest) {
|
|
66
|
+
return JSON.stringify(exports.CreateBrandIdentityRequest$outboundSchema.parse(createBrandIdentityRequest));
|
|
67
|
+
}
|
|
68
|
+
/** @internal */
|
|
69
|
+
exports.CreateBrandIdentityOrganization$inboundSchema = z.object({
|
|
70
|
+
id: types.string(),
|
|
71
|
+
slug: types.string(),
|
|
72
|
+
name: types.string(),
|
|
73
|
+
logo: types.nullable(types.string()),
|
|
74
|
+
});
|
|
75
|
+
function createBrandIdentityOrganizationFromJSON(jsonString) {
|
|
76
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CreateBrandIdentityOrganization$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateBrandIdentityOrganization' from JSON`);
|
|
77
|
+
}
|
|
78
|
+
/** @internal */
|
|
79
|
+
exports.CreateBrandIdentityStatus$inboundSchema = openEnums.inboundSchema(exports.CreateBrandIdentityStatus);
|
|
80
|
+
/** @internal */
|
|
81
|
+
exports.CreateBrandIdentityStep$inboundSchema = openEnums.inboundSchema(exports.CreateBrandIdentityStep);
|
|
82
|
+
/** @internal */
|
|
83
|
+
exports.CreateBrandIdentityJob$inboundSchema = z.object({
|
|
84
|
+
id: types.string(),
|
|
85
|
+
organizationId: types.string(),
|
|
86
|
+
brandIdentityId: types.string(),
|
|
87
|
+
status: exports.CreateBrandIdentityStatus$inboundSchema,
|
|
88
|
+
step: types.nullable(exports.CreateBrandIdentityStep$inboundSchema),
|
|
89
|
+
currentStep: types.number(),
|
|
90
|
+
totalSteps: types.number(),
|
|
91
|
+
workflowRunId: types.nullable(types.string()),
|
|
92
|
+
error: types.nullable(types.string()),
|
|
93
|
+
createdAt: types.string(),
|
|
94
|
+
updatedAt: types.string(),
|
|
95
|
+
completedAt: types.nullable(types.string()),
|
|
96
|
+
});
|
|
97
|
+
function createBrandIdentityJobFromJSON(jsonString) {
|
|
98
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CreateBrandIdentityJob$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateBrandIdentityJob' from JSON`);
|
|
99
|
+
}
|
|
100
|
+
/** @internal */
|
|
101
|
+
exports.CreateBrandIdentityResponse$inboundSchema = z.object({
|
|
102
|
+
organization: z.lazy(() => exports.CreateBrandIdentityOrganization$inboundSchema),
|
|
103
|
+
job: z.lazy(() => exports.CreateBrandIdentityJob$inboundSchema),
|
|
104
|
+
});
|
|
105
|
+
function createBrandIdentityResponseFromJSON(jsonString) {
|
|
106
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CreateBrandIdentityResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateBrandIdentityResponse' from JSON`);
|
|
107
|
+
}
|
|
108
|
+
//# sourceMappingURL=create-brand-identity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-brand-identity.js","sourceRoot":"","sources":["../../../../src/models/operations/create-brand-identity.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6EH,4EAMC;AAaD,0FAQC;AAiCD,wEAQC;AAWD,kFAQC;AAlKD,+CAAiC;AACjC,qDAAiD;AACjD,gEAAkD;AAGlD,iEAAmD;AAetC,QAAA,yBAAyB,GAAG;IACvC,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,SAAS;IAClB,SAAS,EAAE,WAAW;IACtB,MAAM,EAAE,QAAQ;CACR,CAAC;AAKE,QAAA,uBAAuB,GAAG;IACrC,QAAQ,EAAE,UAAU;IACpB,UAAU,EAAE,YAAY;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{ 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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EAAE,CAAC,CAAC,WAAW,CAC/D,uBAAuB,EACvB,OAAO,CAgBP,CAAC;AAEH,wBAAgB,+BAA+B,CAC7C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,uBAAuB,EAAE,kBAAkB,CAAC,CAM9D;AAED,gBAAgB;AAChB,eAAO,MAAM,0CAA0C,EAAE,CAAC,CAAC,WAAW,CACpE,4BAA4B,EAC5B,OAAO,CAIP,CAAC;AAEH,wBAAgB,oCAAoC,CAClD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,4BAA4B,EAAE,kBAAkB,CAAC,CAMnE"}
|
|
@@ -0,0 +1,223 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
* @generated-id: ccf209b5fa39
|
|
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.CreatePostGenerationResponse$inboundSchema = exports.CreatePostGenerationJob$inboundSchema = exports.CreatePostGenerationSource$inboundSchema = exports.CreatePostGenerationLookbackWindowResponse$inboundSchema = exports.CreatePostGenerationContentTypeResponse$inboundSchema = exports.CreatePostGenerationStatus$inboundSchema = exports.CreatePostGenerationOrganization$inboundSchema = exports.CreatePostGenerationRequest$outboundSchema = exports.SelectedItems$outboundSchema = exports.ReleaseTagNameUnion$outboundSchema = exports.ReleaseTagName$outboundSchema = exports.PullRequestNumber$outboundSchema = exports.DataPoints$outboundSchema = exports.CreatePostGenerationGithub$outboundSchema = exports.Repository$outboundSchema = exports.Integrations$outboundSchema = exports.LookbackWindowRequest$outboundSchema = exports.ContentTypeRequest$outboundSchema = exports.CreatePostGenerationSource = exports.CreatePostGenerationLookbackWindowResponse = exports.CreatePostGenerationContentTypeResponse = exports.CreatePostGenerationStatus = exports.LookbackWindowRequest = exports.ContentTypeRequest = void 0;
|
|
41
|
+
exports.integrationsToJSON = integrationsToJSON;
|
|
42
|
+
exports.repositoryToJSON = repositoryToJSON;
|
|
43
|
+
exports.createPostGenerationGithubToJSON = createPostGenerationGithubToJSON;
|
|
44
|
+
exports.dataPointsToJSON = dataPointsToJSON;
|
|
45
|
+
exports.pullRequestNumberToJSON = pullRequestNumberToJSON;
|
|
46
|
+
exports.releaseTagNameToJSON = releaseTagNameToJSON;
|
|
47
|
+
exports.releaseTagNameUnionToJSON = releaseTagNameUnionToJSON;
|
|
48
|
+
exports.selectedItemsToJSON = selectedItemsToJSON;
|
|
49
|
+
exports.createPostGenerationRequestToJSON = createPostGenerationRequestToJSON;
|
|
50
|
+
exports.createPostGenerationOrganizationFromJSON = createPostGenerationOrganizationFromJSON;
|
|
51
|
+
exports.createPostGenerationJobFromJSON = createPostGenerationJobFromJSON;
|
|
52
|
+
exports.createPostGenerationResponseFromJSON = createPostGenerationResponseFromJSON;
|
|
53
|
+
const z = __importStar(require("zod/v4-mini"));
|
|
54
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
55
|
+
const openEnums = __importStar(require("../../types/enums.js"));
|
|
56
|
+
const types = __importStar(require("../../types/primitives.js"));
|
|
57
|
+
const smart_union_js_1 = require("../../types/smart-union.js");
|
|
58
|
+
exports.ContentTypeRequest = {
|
|
59
|
+
Changelog: "changelog",
|
|
60
|
+
BlogPost: "blog_post",
|
|
61
|
+
LinkedinPost: "linkedin_post",
|
|
62
|
+
TwitterPost: "twitter_post",
|
|
63
|
+
};
|
|
64
|
+
exports.LookbackWindowRequest = {
|
|
65
|
+
CurrentDay: "current_day",
|
|
66
|
+
Yesterday: "yesterday",
|
|
67
|
+
Last7Days: "last_7_days",
|
|
68
|
+
Last14Days: "last_14_days",
|
|
69
|
+
Last30Days: "last_30_days",
|
|
70
|
+
};
|
|
71
|
+
exports.CreatePostGenerationStatus = {
|
|
72
|
+
Queued: "queued",
|
|
73
|
+
Running: "running",
|
|
74
|
+
Completed: "completed",
|
|
75
|
+
Failed: "failed",
|
|
76
|
+
};
|
|
77
|
+
exports.CreatePostGenerationContentTypeResponse = {
|
|
78
|
+
Changelog: "changelog",
|
|
79
|
+
BlogPost: "blog_post",
|
|
80
|
+
LinkedinPost: "linkedin_post",
|
|
81
|
+
TwitterPost: "twitter_post",
|
|
82
|
+
};
|
|
83
|
+
exports.CreatePostGenerationLookbackWindowResponse = {
|
|
84
|
+
CurrentDay: "current_day",
|
|
85
|
+
Yesterday: "yesterday",
|
|
86
|
+
Last7Days: "last_7_days",
|
|
87
|
+
Last14Days: "last_14_days",
|
|
88
|
+
Last30Days: "last_30_days",
|
|
89
|
+
};
|
|
90
|
+
exports.CreatePostGenerationSource = {
|
|
91
|
+
Api: "api",
|
|
92
|
+
Dashboard: "dashboard",
|
|
93
|
+
};
|
|
94
|
+
/** @internal */
|
|
95
|
+
exports.ContentTypeRequest$outboundSchema = z.enum(exports.ContentTypeRequest);
|
|
96
|
+
/** @internal */
|
|
97
|
+
exports.LookbackWindowRequest$outboundSchema = z.enum(exports.LookbackWindowRequest);
|
|
98
|
+
/** @internal */
|
|
99
|
+
exports.Integrations$outboundSchema = z.object({
|
|
100
|
+
github: z.optional(z.array(z.string())),
|
|
101
|
+
});
|
|
102
|
+
function integrationsToJSON(integrations) {
|
|
103
|
+
return JSON.stringify(exports.Integrations$outboundSchema.parse(integrations));
|
|
104
|
+
}
|
|
105
|
+
/** @internal */
|
|
106
|
+
exports.Repository$outboundSchema = z.object({
|
|
107
|
+
owner: z.string(),
|
|
108
|
+
repo: z.string(),
|
|
109
|
+
});
|
|
110
|
+
function repositoryToJSON(repository) {
|
|
111
|
+
return JSON.stringify(exports.Repository$outboundSchema.parse(repository));
|
|
112
|
+
}
|
|
113
|
+
/** @internal */
|
|
114
|
+
exports.CreatePostGenerationGithub$outboundSchema = z.object({
|
|
115
|
+
repositories: z.array(z.lazy(() => exports.Repository$outboundSchema)),
|
|
116
|
+
});
|
|
117
|
+
function createPostGenerationGithubToJSON(createPostGenerationGithub) {
|
|
118
|
+
return JSON.stringify(exports.CreatePostGenerationGithub$outboundSchema.parse(createPostGenerationGithub));
|
|
119
|
+
}
|
|
120
|
+
/** @internal */
|
|
121
|
+
exports.DataPoints$outboundSchema = z.object({
|
|
122
|
+
includePullRequests: z._default(z.boolean(), true),
|
|
123
|
+
includeCommits: z._default(z.boolean(), true),
|
|
124
|
+
includeReleases: z._default(z.boolean(), true),
|
|
125
|
+
includeLinearIssues: z._default(z.boolean(), false),
|
|
126
|
+
});
|
|
127
|
+
function dataPointsToJSON(dataPoints) {
|
|
128
|
+
return JSON.stringify(exports.DataPoints$outboundSchema.parse(dataPoints));
|
|
129
|
+
}
|
|
130
|
+
/** @internal */
|
|
131
|
+
exports.PullRequestNumber$outboundSchema = z.object({
|
|
132
|
+
repositoryId: z.string(),
|
|
133
|
+
number: z.number(),
|
|
134
|
+
});
|
|
135
|
+
function pullRequestNumberToJSON(pullRequestNumber) {
|
|
136
|
+
return JSON.stringify(exports.PullRequestNumber$outboundSchema.parse(pullRequestNumber));
|
|
137
|
+
}
|
|
138
|
+
/** @internal */
|
|
139
|
+
exports.ReleaseTagName$outboundSchema = z.object({
|
|
140
|
+
repositoryId: z.string(),
|
|
141
|
+
tagName: z.string(),
|
|
142
|
+
});
|
|
143
|
+
function releaseTagNameToJSON(releaseTagName) {
|
|
144
|
+
return JSON.stringify(exports.ReleaseTagName$outboundSchema.parse(releaseTagName));
|
|
145
|
+
}
|
|
146
|
+
/** @internal */
|
|
147
|
+
exports.ReleaseTagNameUnion$outboundSchema = (0, smart_union_js_1.smartUnion)([z.lazy(() => exports.ReleaseTagName$outboundSchema), z.string()]);
|
|
148
|
+
function releaseTagNameUnionToJSON(releaseTagNameUnion) {
|
|
149
|
+
return JSON.stringify(exports.ReleaseTagNameUnion$outboundSchema.parse(releaseTagNameUnion));
|
|
150
|
+
}
|
|
151
|
+
/** @internal */
|
|
152
|
+
exports.SelectedItems$outboundSchema = z.object({
|
|
153
|
+
commitShas: z.optional(z.array(z.string())),
|
|
154
|
+
pullRequestNumbers: z.optional(z.array(z.lazy(() => exports.PullRequestNumber$outboundSchema))),
|
|
155
|
+
releaseTagNames: z.optional(z.array((0, smart_union_js_1.smartUnion)([z.lazy(() => exports.ReleaseTagName$outboundSchema), z.string()]))),
|
|
156
|
+
});
|
|
157
|
+
function selectedItemsToJSON(selectedItems) {
|
|
158
|
+
return JSON.stringify(exports.SelectedItems$outboundSchema.parse(selectedItems));
|
|
159
|
+
}
|
|
160
|
+
/** @internal */
|
|
161
|
+
exports.CreatePostGenerationRequest$outboundSchema = z.object({
|
|
162
|
+
contentType: exports.ContentTypeRequest$outboundSchema,
|
|
163
|
+
lookbackWindow: z._default(exports.LookbackWindowRequest$outboundSchema, "last_7_days"),
|
|
164
|
+
brandVoiceId: z.optional(z.string()),
|
|
165
|
+
brandIdentityId: z.optional(z.nullable(z.string())),
|
|
166
|
+
repositoryIds: z.optional(z.array(z.string())),
|
|
167
|
+
integrations: z.optional(z.lazy(() => exports.Integrations$outboundSchema)),
|
|
168
|
+
github: z.optional(z.lazy(() => exports.CreatePostGenerationGithub$outboundSchema)),
|
|
169
|
+
dataPoints: z.optional(z.lazy(() => exports.DataPoints$outboundSchema)),
|
|
170
|
+
selectedItems: z.optional(z.lazy(() => exports.SelectedItems$outboundSchema)),
|
|
171
|
+
});
|
|
172
|
+
function createPostGenerationRequestToJSON(createPostGenerationRequest) {
|
|
173
|
+
return JSON.stringify(exports.CreatePostGenerationRequest$outboundSchema.parse(createPostGenerationRequest));
|
|
174
|
+
}
|
|
175
|
+
/** @internal */
|
|
176
|
+
exports.CreatePostGenerationOrganization$inboundSchema = z.object({
|
|
177
|
+
id: types.string(),
|
|
178
|
+
slug: types.string(),
|
|
179
|
+
name: types.string(),
|
|
180
|
+
logo: types.nullable(types.string()),
|
|
181
|
+
});
|
|
182
|
+
function createPostGenerationOrganizationFromJSON(jsonString) {
|
|
183
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CreatePostGenerationOrganization$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreatePostGenerationOrganization' from JSON`);
|
|
184
|
+
}
|
|
185
|
+
/** @internal */
|
|
186
|
+
exports.CreatePostGenerationStatus$inboundSchema = openEnums.inboundSchema(exports.CreatePostGenerationStatus);
|
|
187
|
+
/** @internal */
|
|
188
|
+
exports.CreatePostGenerationContentTypeResponse$inboundSchema = openEnums
|
|
189
|
+
.inboundSchema(exports.CreatePostGenerationContentTypeResponse);
|
|
190
|
+
/** @internal */
|
|
191
|
+
exports.CreatePostGenerationLookbackWindowResponse$inboundSchema = openEnums
|
|
192
|
+
.inboundSchema(exports.CreatePostGenerationLookbackWindowResponse);
|
|
193
|
+
/** @internal */
|
|
194
|
+
exports.CreatePostGenerationSource$inboundSchema = openEnums.inboundSchema(exports.CreatePostGenerationSource);
|
|
195
|
+
/** @internal */
|
|
196
|
+
exports.CreatePostGenerationJob$inboundSchema = z.object({
|
|
197
|
+
id: types.string(),
|
|
198
|
+
organizationId: types.string(),
|
|
199
|
+
status: exports.CreatePostGenerationStatus$inboundSchema,
|
|
200
|
+
contentType: exports.CreatePostGenerationContentTypeResponse$inboundSchema,
|
|
201
|
+
lookbackWindow: exports.CreatePostGenerationLookbackWindowResponse$inboundSchema,
|
|
202
|
+
repositoryIds: z.array(types.string()),
|
|
203
|
+
brandVoiceId: types.nullable(types.string()),
|
|
204
|
+
workflowRunId: types.nullable(types.string()),
|
|
205
|
+
postId: types.nullable(types.string()),
|
|
206
|
+
error: types.nullable(types.string()),
|
|
207
|
+
source: exports.CreatePostGenerationSource$inboundSchema,
|
|
208
|
+
createdAt: types.string(),
|
|
209
|
+
updatedAt: types.string(),
|
|
210
|
+
completedAt: types.nullable(types.string()),
|
|
211
|
+
});
|
|
212
|
+
function createPostGenerationJobFromJSON(jsonString) {
|
|
213
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CreatePostGenerationJob$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreatePostGenerationJob' from JSON`);
|
|
214
|
+
}
|
|
215
|
+
/** @internal */
|
|
216
|
+
exports.CreatePostGenerationResponse$inboundSchema = z.object({
|
|
217
|
+
organization: z.lazy(() => exports.CreatePostGenerationOrganization$inboundSchema),
|
|
218
|
+
job: z.lazy(() => exports.CreatePostGenerationJob$inboundSchema),
|
|
219
|
+
});
|
|
220
|
+
function createPostGenerationResponseFromJSON(jsonString) {
|
|
221
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CreatePostGenerationResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreatePostGenerationResponse' from JSON`);
|
|
222
|
+
}
|
|
223
|
+
//# sourceMappingURL=create-post-generation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-post-generation.js","sourceRoot":"","sources":["../../../../src/models/operations/create-post-generation.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4KH,gDAEC;AAiBD,4CAEC;AAeD,4EAMC;AAqBD,4CAEC;AAiBD,0DAMC;AAiBD,oDAEC;AAWD,8DAMC;AAyBD,kDAEC;AAkCD,8EAQC;AAaD,4FAQC;AA6CD,0EAQC;AAWD,oFAQC;AAxcD,+CAAiC;AACjC,qDAAiD;AACjD,gEAAkD;AAGlD,iEAAmD;AACnD,+DAAwD;AAG3C,QAAA,kBAAkB,GAAG;IAChC,SAAS,EAAE,WAAW;IACtB,QAAQ,EAAE,WAAW;IACrB,YAAY,EAAE,eAAe;IAC7B,WAAW,EAAE,cAAc;CACnB,CAAC;AAGE,QAAA,qBAAqB,GAAG;IACnC,UAAU,EAAE,aAAa;IACzB,SAAS,EAAE,WAAW;IACtB,SAAS,EAAE,aAAa;IACxB,UAAU,EAAE,cAAc;IAC1B,UAAU,EAAE,cAAc;CAClB,CAAC;AA4DE,QAAA,0BAA0B,GAAG;IACxC,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,SAAS;IAClB,SAAS,EAAE,WAAW;IACtB,MAAM,EAAE,QAAQ;CACR,CAAC;AAKE,QAAA,uCAAuC,GAAG;IACrD,SAAS,EAAE,WAAW;IACtB,QAAQ,EAAE,WAAW;IACrB,YAAY,EAAE,eAAe;IAC7B,WAAW,EAAE,cAAc;CACnB,CAAC;AAKE,QAAA,0CAA0C,GAAG;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B,CAC7C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,6CAAqC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACjE,qDAAqD,CACtD,CAAC;AACJ,CAAC;AAED,gBAAgB;AACH,QAAA,0CAA0C,GAGnD,CAAC,CAAC,MAAM,CAAC;IACX,YAAY,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,sDAA8C,CAAC;IAC1E,GAAG,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,6CAAqC,CAAC;CACzD,CAAC,CAAC;AAEH,SAAgB,oCAAoC,CAClD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,kDAA0C,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACtE,0DAA0D,CAC3D,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import * as z from "zod/v4-mini";
|
|
2
|
+
import { 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 type GetBrandIdentityGenerationRequest = {
|
|
6
|
+
jobId: string;
|
|
7
|
+
};
|
|
8
|
+
export type GetBrandIdentityGenerationOrganization = {
|
|
9
|
+
id: string;
|
|
10
|
+
slug: string;
|
|
11
|
+
name: string;
|
|
12
|
+
logo: string | null;
|
|
13
|
+
};
|
|
14
|
+
export declare const GetBrandIdentityGenerationStatus: {
|
|
15
|
+
readonly Queued: "queued";
|
|
16
|
+
readonly Running: "running";
|
|
17
|
+
readonly Completed: "completed";
|
|
18
|
+
readonly Failed: "failed";
|
|
19
|
+
};
|
|
20
|
+
export type GetBrandIdentityGenerationStatus = OpenEnum<typeof GetBrandIdentityGenerationStatus>;
|
|
21
|
+
export declare const GetBrandIdentityGenerationStep: {
|
|
22
|
+
readonly Scraping: "scraping";
|
|
23
|
+
readonly Extracting: "extracting";
|
|
24
|
+
readonly Saving: "saving";
|
|
25
|
+
};
|
|
26
|
+
export type GetBrandIdentityGenerationStep = OpenEnum<typeof GetBrandIdentityGenerationStep>;
|
|
27
|
+
export type GetBrandIdentityGenerationJob = {
|
|
28
|
+
id: string;
|
|
29
|
+
organizationId: string;
|
|
30
|
+
brandIdentityId: string;
|
|
31
|
+
status: GetBrandIdentityGenerationStatus;
|
|
32
|
+
step: GetBrandIdentityGenerationStep | null;
|
|
33
|
+
currentStep: number;
|
|
34
|
+
totalSteps: number;
|
|
35
|
+
workflowRunId: string | null;
|
|
36
|
+
error: string | null;
|
|
37
|
+
createdAt: string;
|
|
38
|
+
updatedAt: string;
|
|
39
|
+
completedAt: string | null;
|
|
40
|
+
};
|
|
41
|
+
/**
|
|
42
|
+
* Brand identity generation status fetched successfully
|
|
43
|
+
*/
|
|
44
|
+
export type GetBrandIdentityGenerationResponse = {
|
|
45
|
+
organization: GetBrandIdentityGenerationOrganization;
|
|
46
|
+
job: GetBrandIdentityGenerationJob;
|
|
47
|
+
};
|
|
48
|
+
/** @internal */
|
|
49
|
+
export type GetBrandIdentityGenerationRequest$Outbound = {
|
|
50
|
+
jobId: string;
|
|
51
|
+
};
|
|
52
|
+
/** @internal */
|
|
53
|
+
export declare const GetBrandIdentityGenerationRequest$outboundSchema: z.ZodMiniType<GetBrandIdentityGenerationRequest$Outbound, GetBrandIdentityGenerationRequest>;
|
|
54
|
+
export declare function getBrandIdentityGenerationRequestToJSON(getBrandIdentityGenerationRequest: GetBrandIdentityGenerationRequest): string;
|
|
55
|
+
/** @internal */
|
|
56
|
+
export declare const GetBrandIdentityGenerationOrganization$inboundSchema: z.ZodMiniType<GetBrandIdentityGenerationOrganization, unknown>;
|
|
57
|
+
export declare function getBrandIdentityGenerationOrganizationFromJSON(jsonString: string): SafeParseResult<GetBrandIdentityGenerationOrganization, SDKValidationError>;
|
|
58
|
+
/** @internal */
|
|
59
|
+
export declare const GetBrandIdentityGenerationStatus$inboundSchema: z.ZodMiniType<GetBrandIdentityGenerationStatus, unknown>;
|
|
60
|
+
/** @internal */
|
|
61
|
+
export declare const GetBrandIdentityGenerationStep$inboundSchema: z.ZodMiniType<GetBrandIdentityGenerationStep, unknown>;
|
|
62
|
+
/** @internal */
|
|
63
|
+
export declare const GetBrandIdentityGenerationJob$inboundSchema: z.ZodMiniType<GetBrandIdentityGenerationJob, unknown>;
|
|
64
|
+
export declare function getBrandIdentityGenerationJobFromJSON(jsonString: string): SafeParseResult<GetBrandIdentityGenerationJob, SDKValidationError>;
|
|
65
|
+
/** @internal */
|
|
66
|
+
export declare const GetBrandIdentityGenerationResponse$inboundSchema: z.ZodMiniType<GetBrandIdentityGenerationResponse, unknown>;
|
|
67
|
+
export declare function getBrandIdentityGenerationResponseFromJSON(jsonString: string): SafeParseResult<GetBrandIdentityGenerationResponse, SDKValidationError>;
|
|
68
|
+
//# sourceMappingURL=get-brand-identity-generation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-brand-identity-generation.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/get-brand-identity-generation.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAGjC,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAE9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAEvE,MAAM,MAAM,iCAAiC,GAAG;IAC9C,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,sCAAsC,GAAG;IACnD,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;I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