@usenotra/sdk 0.0.6 → 0.0.7

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.
Files changed (58) hide show
  1. package/README.md +3 -1
  2. package/dist/commonjs/funcs/content-delete-post.d.ts +15 -0
  3. package/dist/commonjs/funcs/content-delete-post.d.ts.map +1 -0
  4. package/dist/commonjs/funcs/content-delete-post.js +122 -0
  5. package/dist/commonjs/funcs/content-delete-post.js.map +1 -0
  6. package/dist/commonjs/funcs/content-get-post.js +0 -5
  7. package/dist/commonjs/funcs/content-get-post.js.map +1 -1
  8. package/dist/commonjs/lib/config.d.ts +3 -3
  9. package/dist/commonjs/lib/config.js +3 -3
  10. package/dist/commonjs/models/operations/delete-post.d.ts +23 -0
  11. package/dist/commonjs/models/operations/delete-post.d.ts.map +1 -0
  12. package/dist/commonjs/models/operations/delete-post.js +60 -0
  13. package/dist/commonjs/models/operations/delete-post.js.map +1 -0
  14. package/dist/commonjs/models/operations/get-post.d.ts +5 -65
  15. package/dist/commonjs/models/operations/get-post.d.ts.map +1 -1
  16. package/dist/commonjs/models/operations/get-post.js +4 -59
  17. package/dist/commonjs/models/operations/get-post.js.map +1 -1
  18. package/dist/commonjs/models/operations/index.d.ts +1 -0
  19. package/dist/commonjs/models/operations/index.d.ts.map +1 -1
  20. package/dist/commonjs/models/operations/index.js +1 -0
  21. package/dist/commonjs/models/operations/index.js.map +1 -1
  22. package/dist/commonjs/models/operations/list-posts.d.ts +22 -22
  23. package/dist/commonjs/models/operations/list-posts.d.ts.map +1 -1
  24. package/dist/commonjs/models/operations/list-posts.js +25 -25
  25. package/dist/commonjs/models/operations/list-posts.js.map +1 -1
  26. package/dist/commonjs/sdk/content.d.ts +4 -0
  27. package/dist/commonjs/sdk/content.d.ts.map +1 -1
  28. package/dist/commonjs/sdk/content.js +7 -0
  29. package/dist/commonjs/sdk/content.js.map +1 -1
  30. package/dist/esm/funcs/content-delete-post.d.ts +15 -0
  31. package/dist/esm/funcs/content-delete-post.d.ts.map +1 -0
  32. package/dist/esm/funcs/content-delete-post.js +86 -0
  33. package/dist/esm/funcs/content-delete-post.js.map +1 -0
  34. package/dist/esm/funcs/content-get-post.js +1 -6
  35. package/dist/esm/funcs/content-get-post.js.map +1 -1
  36. package/dist/esm/lib/config.d.ts +3 -3
  37. package/dist/esm/lib/config.js +3 -3
  38. package/dist/esm/models/operations/delete-post.d.ts +23 -0
  39. package/dist/esm/models/operations/delete-post.d.ts.map +1 -0
  40. package/dist/esm/models/operations/delete-post.js +22 -0
  41. package/dist/esm/models/operations/delete-post.js.map +1 -0
  42. package/dist/esm/models/operations/get-post.d.ts +5 -65
  43. package/dist/esm/models/operations/get-post.d.ts.map +1 -1
  44. package/dist/esm/models/operations/get-post.js +3 -56
  45. package/dist/esm/models/operations/get-post.js.map +1 -1
  46. package/dist/esm/models/operations/index.d.ts +1 -0
  47. package/dist/esm/models/operations/index.d.ts.map +1 -1
  48. package/dist/esm/models/operations/index.js +1 -0
  49. package/dist/esm/models/operations/index.js.map +1 -1
  50. package/dist/esm/models/operations/list-posts.d.ts +22 -22
  51. package/dist/esm/models/operations/list-posts.d.ts.map +1 -1
  52. package/dist/esm/models/operations/list-posts.js +22 -22
  53. package/dist/esm/models/operations/list-posts.js.map +1 -1
  54. package/dist/esm/sdk/content.d.ts +4 -0
  55. package/dist/esm/sdk/content.d.ts.map +1 -1
  56. package/dist/esm/sdk/content.js +7 -0
  57. package/dist/esm/sdk/content.js.map +1 -1
  58. package/package.json +1 -1
package/README.md CHANGED
@@ -136,6 +136,7 @@ run();
136
136
 
137
137
  * [listPosts](docs/sdks/content/README.md#listposts) - List posts
138
138
  * [getPost](docs/sdks/content/README.md#getpost) - Get a single post
139
+ * [deletePost](docs/sdks/content/README.md#deletepost) - Delete a single post
139
140
 
140
141
  </details>
141
142
  <!-- End Available Resources and Operations [operations] -->
@@ -155,6 +156,7 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
155
156
 
156
157
  <summary>Available standalone functions</summary>
157
158
 
159
+ - [`contentDeletePost`](docs/sdks/content/README.md#deletepost) - Delete a single post
158
160
  - [`contentGetPost`](docs/sdks/content/README.md#getpost) - Get a single post
159
161
  - [`contentListPosts`](docs/sdks/content/README.md#listposts) - List posts
160
162
 
@@ -275,7 +277,7 @@ run();
275
277
  ### Error Classes
276
278
  **Primary errors:**
277
279
  * [`NotraError`](./src/models/errors/notra-error.ts): The base class for HTTP error responses.
278
- * [`ErrorResponse`](./src/models/errors/error-response.ts): Invalid path params or query.
280
+ * [`ErrorResponse`](./src/models/errors/error-response.ts): Generic error.
279
281
 
280
282
  <details><summary>Less common errors (6)</summary>
281
283
 
@@ -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
+ * Delete a single post
13
+ */
14
+ export declare function contentDeletePost(client: NotraCore, request: operations.DeletePostRequest, options?: RequestOptions): APIPromise<Result<operations.DeletePostResponse, errors.ErrorResponse | NotraError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
15
+ //# sourceMappingURL=content-delete-post.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"content-delete-post.d.ts","sourceRoot":"","sources":["../../../src/funcs/content-delete-post.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAKvC,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,iBAAiB,CAC/B,MAAM,EAAE,SAAS,EACjB,OAAO,EAAE,UAAU,CAAC,iBAAiB,EACrC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,UAAU,CAAC,kBAAkB,EAC3B,MAAM,CAAC,aAAa,GACpB,UAAU,GACV,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAMA"}
@@ -0,0 +1,122 @@
1
+ "use strict";
2
+ /*
3
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
+ * @generated-id: fda0df7f5a63
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.contentDeletePost = contentDeletePost;
41
+ const z = __importStar(require("zod/v4-mini"));
42
+ const encodings_js_1 = require("../lib/encodings.js");
43
+ const M = __importStar(require("../lib/matchers.js"));
44
+ const primitives_js_1 = require("../lib/primitives.js");
45
+ const schemas_js_1 = require("../lib/schemas.js");
46
+ const security_js_1 = require("../lib/security.js");
47
+ const url_js_1 = require("../lib/url.js");
48
+ const errors = __importStar(require("../models/errors/index.js"));
49
+ const operations = __importStar(require("../models/operations/index.js"));
50
+ const async_js_1 = require("../types/async.js");
51
+ /**
52
+ * Delete a single post
53
+ */
54
+ function contentDeletePost(client, request, options) {
55
+ return new async_js_1.APIPromise($do(client, request, options));
56
+ }
57
+ async function $do(client, request, options) {
58
+ const parsed = (0, schemas_js_1.safeParse)(request, (value) => z.parse(operations.DeletePostRequest$outboundSchema, value), "Input validation failed");
59
+ if (!parsed.ok) {
60
+ return [parsed, { status: "invalid" }];
61
+ }
62
+ const payload = parsed.value;
63
+ const body = null;
64
+ const pathParams = {
65
+ postId: (0, encodings_js_1.encodeSimple)("postId", payload.postId, {
66
+ explode: false,
67
+ charEncoding: "percent",
68
+ }),
69
+ };
70
+ const path = (0, url_js_1.pathToFunc)("/v1/posts/{postId}")(pathParams);
71
+ const headers = new Headers((0, primitives_js_1.compactMap)({
72
+ Accept: "application/json",
73
+ }));
74
+ const secConfig = await (0, security_js_1.extractSecurity)(client._options.bearerAuth);
75
+ const securityInput = secConfig == null ? {} : { bearerAuth: secConfig };
76
+ const requestSecurity = (0, security_js_1.resolveGlobalSecurity)(securityInput);
77
+ const context = {
78
+ options: client._options,
79
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
80
+ operationID: "deletePost",
81
+ oAuth2Scopes: null,
82
+ resolvedSecurity: requestSecurity,
83
+ securitySource: client._options.bearerAuth,
84
+ retryConfig: options?.retries
85
+ || client._options.retryConfig
86
+ || { strategy: "none" },
87
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
88
+ };
89
+ const requestRes = client._createRequest(context, {
90
+ security: requestSecurity,
91
+ method: "DELETE",
92
+ baseURL: options?.serverURL,
93
+ path: path,
94
+ headers: headers,
95
+ body: body,
96
+ userAgent: client._options.userAgent,
97
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
98
+ }, options);
99
+ if (!requestRes.ok) {
100
+ return [requestRes, { status: "invalid" }];
101
+ }
102
+ const req = requestRes.value;
103
+ const doResult = await client._do(req, {
104
+ context,
105
+ errorCodes: ["400", "401", "403", "404", "4XX", "503", "5XX"],
106
+ retryConfig: context.retryConfig,
107
+ retryCodes: context.retryCodes,
108
+ });
109
+ if (!doResult.ok) {
110
+ return [doResult, { status: "request-error", request: req }];
111
+ }
112
+ const response = doResult.value;
113
+ const responseFields = {
114
+ HttpMeta: { Response: response, Request: req },
115
+ };
116
+ const [result] = await M.match(M.json(200, operations.DeletePostResponse$inboundSchema), M.jsonErr([400, 401, 403, 404], errors.ErrorResponse$inboundSchema), M.jsonErr(503, errors.ErrorResponse$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, req, { extraFields: responseFields });
117
+ if (!result.ok) {
118
+ return [result, { status: "complete", request: req, response }];
119
+ }
120
+ return [result, { status: "complete", request: req, response }];
121
+ }
122
+ //# sourceMappingURL=content-delete-post.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"content-delete-post.js","sourceRoot":"","sources":["../../../src/funcs/content-delete-post.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6BH,8CAuBC;AAlDD,+CAAiC;AAEjC,sDAAmD;AACnD,sDAAwC;AACxC,wDAAkD;AAClD,kDAA8C;AAE9C,oDAA4E;AAC5E,0CAA2C;AAQ3C,kEAAoD;AAIpD,0EAA4D;AAC5D,gDAAwD;AAGxD;;GAEG;AACH,SAAgB,iBAAiB,CAC/B,MAAiB,EACjB,OAAqC,EACrC,OAAwB;IAexB,OAAO,IAAI,qBAAU,CAAC,GAAG,CACvB,MAAM,EACN,OAAO,EACP,OAAO,CACR,CAAC,CAAC;AACL,CAAC;AAED,KAAK,UAAU,GAAG,CAChB,MAAiB,EACjB,OAAqC,EACrC,OAAwB;IAkBxB,MAAM,MAAM,GAAG,IAAA,sBAAS,EACtB,OAAO,EACP,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,gCAAgC,EAAE,KAAK,CAAC,EACtE,yBAAyB,CAC1B,CAAC;IACF,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,CAAC,CAAC;IACzC,CAAC;IACD,MAAM,OAAO,GAAG,MAAM,CAAC,KAAK,CAAC;IAC7B,MAAM,IAAI,GAAG,IAAI,CAAC;IAElB,MAAM,UAAU,GAAG;QACjB,MAAM,EAAE,IAAA,2BAAY,EAAC,QAAQ,EAAE,OAAO,CAAC,MAAM,EAAE;YAC7C,OAAO,EAAE,KAAK;YACd,YAAY,EAAE,SAAS;SACxB,CAAC;KACH,C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CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,EACb,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CACd,CAAC,QAAQ,EAAE,GAAG,EAAE,EAAE,WAAW,EAAE,cAAc,EAAE,CAAC,CAAC;IAClD,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;IAClE,CAAC;IAED,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;AAClE,CAAC"}
@@ -68,10 +68,6 @@ async function $do(client, request, options) {
68
68
  }),
69
69
  };
70
70
  const path = (0, url_js_1.pathToFunc)("/v1/posts/{postId}")(pathParams);
71
- const query = (0, encodings_js_1.encodeFormQuery)({
72
- "contentType": payload.contentType,
73
- "status": payload.status,
74
- });
75
71
  const headers = new Headers((0, primitives_js_1.compactMap)({
76
72
  Accept: "application/json",
77
73
  }));
@@ -96,7 +92,6 @@ async function $do(client, request, options) {
96
92
  baseURL: options?.serverURL,
97
93
  path: path,
98
94
  headers: headers,
99
- query: query,
100
95
  body: body,
101
96
  userAgent: client._options.userAgent,
102
97
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
@@ -1 +1 @@
1
- {"version":3,"file":"content-get-post.js","sourceRoot":"","sources":["../../../src/funcs/content-get-post.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6BH,wCAuBC;AAlDD,+CAAiC;AAEjC,sDAAoE;AACpE,sDAAwC;AACxC,wDAAkD;AAClD,kDAA8C;AAE9C,oDAA4E;AAC5E,0CAA2C;AAQ3C,kEAAoD;AAIpD,0EAA4D;AAC5D,gDAAwD;AAGxD;;GAEG;AACH,SAAgB,cAAc,CAC5B,MAAiB,EACj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CACd,CAAC,QAAQ,EAAE,GAAG,EAAE,EAAE,WAAW,EAAE,cAAc,EAAE,CAAC,CAAC;IAClD,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;IAClE,CAAC;IAED,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,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.6";
35
- readonly genVersion: "2.862.0";
36
- readonly userAgent: "speakeasy-sdk/typescript 0.0.6 2.862.0 1.0.0 @usenotra/sdk";
34
+ readonly sdkVersion: "0.0.7";
35
+ readonly genVersion: "2.865.2";
36
+ readonly userAgent: "speakeasy-sdk/typescript 0.0.7 2.865.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.6",
36
- genVersion: "2.862.0",
37
- userAgent: "speakeasy-sdk/typescript 0.0.6 2.862.0 1.0.0 @usenotra/sdk",
35
+ sdkVersion: "0.0.7",
36
+ genVersion: "2.865.2",
37
+ userAgent: "speakeasy-sdk/typescript 0.0.7 2.865.2 1.0.0 @usenotra/sdk",
38
38
  };
39
39
  //# sourceMappingURL=config.js.map
@@ -0,0 +1,23 @@
1
+ import * as z from "zod/v4-mini";
2
+ import { Result as SafeParseResult } from "../../types/fp.js";
3
+ import { SDKValidationError } from "../errors/sdk-validation-error.js";
4
+ export type DeletePostRequest = {
5
+ postId: string;
6
+ };
7
+ /**
8
+ * Post deleted successfully
9
+ */
10
+ export type DeletePostResponse = {
11
+ id: string;
12
+ };
13
+ /** @internal */
14
+ export type DeletePostRequest$Outbound = {
15
+ postId: string;
16
+ };
17
+ /** @internal */
18
+ export declare const DeletePostRequest$outboundSchema: z.ZodMiniType<DeletePostRequest$Outbound, DeletePostRequest>;
19
+ export declare function deletePostRequestToJSON(deletePostRequest: DeletePostRequest): string;
20
+ /** @internal */
21
+ export declare const DeletePostResponse$inboundSchema: z.ZodMiniType<DeletePostResponse, unknown>;
22
+ export declare function deletePostResponseFromJSON(jsonString: string): SafeParseResult<DeletePostResponse, SDKValidationError>;
23
+ //# sourceMappingURL=delete-post.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-post.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/delete-post.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAE9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAEvE,MAAM,MAAM,iBAAiB,GAAG;IAC9B,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAC/B,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,0BAA0B,GAAG;IACvC,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,WAAW,CAC1D,0BAA0B,EAC1B,iBAAiB,CAGjB,CAAC;AAEH,wBAAgB,uBAAuB,CACrC,iBAAiB,EAAE,iBAAiB,GACnC,MAAM,CAIR;AAED,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,WAAW,CAC1D,kBAAkB,EAClB,OAAO,CAGP,CAAC;AAEH,wBAAgB,0BAA0B,CACxC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,kBAAkB,EAAE,kBAAkB,CAAC,CAMzD"}
@@ -0,0 +1,60 @@
1
+ "use strict";
2
+ /*
3
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
+ * @generated-id: 2d3c4c4d46f8
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.DeletePostResponse$inboundSchema = exports.DeletePostRequest$outboundSchema = void 0;
41
+ exports.deletePostRequestToJSON = deletePostRequestToJSON;
42
+ exports.deletePostResponseFromJSON = deletePostResponseFromJSON;
43
+ const z = __importStar(require("zod/v4-mini"));
44
+ const schemas_js_1 = require("../../lib/schemas.js");
45
+ const types = __importStar(require("../../types/primitives.js"));
46
+ /** @internal */
47
+ exports.DeletePostRequest$outboundSchema = z.object({
48
+ postId: z.string(),
49
+ });
50
+ function deletePostRequestToJSON(deletePostRequest) {
51
+ return JSON.stringify(exports.DeletePostRequest$outboundSchema.parse(deletePostRequest));
52
+ }
53
+ /** @internal */
54
+ exports.DeletePostResponse$inboundSchema = z.object({
55
+ id: types.string(),
56
+ });
57
+ function deletePostResponseFromJSON(jsonString) {
58
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DeletePostResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeletePostResponse' from JSON`);
59
+ }
60
+ //# sourceMappingURL=delete-post.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-post.js","sourceRoot":"","sources":["../../../../src/models/operations/delete-post.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgCH,0DAMC;AAUD,gEAQC;AAtDD,+CAAiC;AACjC,qDAAiD;AAEjD,iEAAmD;AAmBnD,gBAAgB;AACH,QAAA,gCAAgC,GAGzC,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;CACnB,CAAC,CAAC;AAEH,SAAgB,uBAAuB,CACrC,iBAAoC;IAEpC,OAAO,IAAI,CAAC,SAAS,CACnB,wCAAgC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAC1D,CAAC;AACJ,CAAC;AAED,gBAAgB;AACH,QAAA,gCAAgC,GAGzC,CAAC,CAAC,MAAM,CAAC;IACX,EAAE,EAAE,KAAK,CAAC,MAAM,EAAE;CACnB,CAAC,CAAC;AAEH,SAAgB,0BAA0B,CACxC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,wCAAgC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC5D,gDAAgD,CACjD,CAAC;AACJ,CAAC"}
@@ -1,55 +1,15 @@
1
1
  import * as z from "zod/v4-mini";
2
- import { ClosedEnum, OpenEnum } from "../../types/enums.js";
2
+ import { OpenEnum } from "../../types/enums.js";
3
3
  import { Result as SafeParseResult } from "../../types/fp.js";
4
4
  import { SDKValidationError } from "../errors/sdk-validation-error.js";
5
- export declare const GetPostStatusQueryParamEnum2: {
6
- readonly Draft: "draft";
7
- readonly Published: "published";
8
- };
9
- export type GetPostStatusQueryParamEnum2 = ClosedEnum<typeof GetPostStatusQueryParamEnum2>;
10
- export declare const GetPostStatusQueryParamEnum1: {
11
- readonly Draft: "draft";
12
- readonly Published: "published";
13
- };
14
- export type GetPostStatusQueryParamEnum1 = ClosedEnum<typeof GetPostStatusQueryParamEnum1>;
15
- /**
16
- * Filter by status. Repeat the query param to pass multiple values.
17
- */
18
- export type GetPostStatusUnion = GetPostStatusQueryParamEnum1 | Array<GetPostStatusQueryParamEnum2>;
19
- export declare const GetPostContentTypeEnum2: {
20
- readonly Changelog: "changelog";
21
- readonly LinkedinPost: "linkedin_post";
22
- readonly TwitterPost: "twitter_post";
23
- readonly BlogPost: "blog_post";
24
- };
25
- export type GetPostContentTypeEnum2 = ClosedEnum<typeof GetPostContentTypeEnum2>;
26
- export declare const GetPostContentTypeEnum1: {
27
- readonly Changelog: "changelog";
28
- readonly LinkedinPost: "linkedin_post";
29
- readonly TwitterPost: "twitter_post";
30
- readonly BlogPost: "blog_post";
31
- };
32
- export type GetPostContentTypeEnum1 = ClosedEnum<typeof GetPostContentTypeEnum1>;
33
- /**
34
- * Filter by content type. Repeat the query param to pass multiple values.
35
- */
36
- export type GetPostContentTypeUnion = GetPostContentTypeEnum1 | Array<GetPostContentTypeEnum2>;
37
5
  export type GetPostRequest = {
38
6
  postId: string;
39
- /**
40
- * Filter by status. Repeat the query param to pass multiple values.
41
- */
42
- status?: GetPostStatusQueryParamEnum1 | Array<GetPostStatusQueryParamEnum2> | undefined;
43
- /**
44
- * Filter by content type. Repeat the query param to pass multiple values.
45
- */
46
- contentType?: GetPostContentTypeEnum1 | Array<GetPostContentTypeEnum2> | undefined;
47
7
  };
48
- export declare const GetPostStatusResponse: {
8
+ export declare const GetPostStatus: {
49
9
  readonly Draft: "draft";
50
10
  readonly Published: "published";
51
11
  };
52
- export type GetPostStatusResponse = OpenEnum<typeof GetPostStatusResponse>;
12
+ export type GetPostStatus = OpenEnum<typeof GetPostStatus>;
53
13
  export type GetPostPost = {
54
14
  id: string;
55
15
  title: string;
@@ -58,7 +18,7 @@ export type GetPostPost = {
58
18
  recommendations: string | null;
59
19
  contentType: string;
60
20
  sourceMetadata?: any | undefined;
61
- status: GetPostStatusResponse;
21
+ status: GetPostStatus;
62
22
  createdAt: string;
63
23
  updatedAt: string;
64
24
  };
@@ -69,34 +29,14 @@ export type GetPostResponse = {
69
29
  post: GetPostPost | null;
70
30
  };
71
31
  /** @internal */
72
- export declare const GetPostStatusQueryParamEnum2$outboundSchema: z.ZodMiniEnum<typeof GetPostStatusQueryParamEnum2>;
73
- /** @internal */
74
- export declare const GetPostStatusQueryParamEnum1$outboundSchema: z.ZodMiniEnum<typeof GetPostStatusQueryParamEnum1>;
75
- /** @internal */
76
- export type GetPostStatusUnion$Outbound = string | Array<string>;
77
- /** @internal */
78
- export declare const GetPostStatusUnion$outboundSchema: z.ZodMiniType<GetPostStatusUnion$Outbound, GetPostStatusUnion>;
79
- export declare function getPostStatusUnionToJSON(getPostStatusUnion: GetPostStatusUnion): string;
80
- /** @internal */
81
- export declare const GetPostContentTypeEnum2$outboundSchema: z.ZodMiniEnum<typeof GetPostContentTypeEnum2>;
82
- /** @internal */
83
- export declare const GetPostContentTypeEnum1$outboundSchema: z.ZodMiniEnum<typeof GetPostContentTypeEnum1>;
84
- /** @internal */
85
- export type GetPostContentTypeUnion$Outbound = string | Array<string>;
86
- /** @internal */
87
- export declare const GetPostContentTypeUnion$outboundSchema: z.ZodMiniType<GetPostContentTypeUnion$Outbound, GetPostContentTypeUnion>;
88
- export declare function getPostContentTypeUnionToJSON(getPostContentTypeUnion: GetPostContentTypeUnion): string;
89
- /** @internal */
90
32
  export type GetPostRequest$Outbound = {
91
33
  postId: string;
92
- status?: string | Array<string> | undefined;
93
- contentType?: string | Array<string> | undefined;
94
34
  };
95
35
  /** @internal */
96
36
  export declare const GetPostRequest$outboundSchema: z.ZodMiniType<GetPostRequest$Outbound, GetPostRequest>;
97
37
  export declare function getPostRequestToJSON(getPostRequest: GetPostRequest): string;
98
38
  /** @internal */
99
- export declare const GetPostStatusResponse$inboundSchema: z.ZodMiniType<GetPostStatusResponse, unknown>;
39
+ export declare const GetPostStatus$inboundSchema: z.ZodMiniType<GetPostStatus, unknown>;
100
40
  /** @internal */
101
41
  export declare const GetPostPost$inboundSchema: z.ZodMiniType<GetPostPost, unknown>;
102
42
  export declare function getPostPostFromJSON(jsonString: string): SafeParseResult<GetPostPost, SDKValidationError>;
@@ -1 +1 @@
1
- {"version":3,"file":"get-post.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/get-post.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,4BAA4B;;;CAG/B,CAAC;AACX,MAAM,MAAM,4BAA4B,GAAG,UAAU,CACnD,OAAO,4BAA4B,CACpC,CAAC;AAEF,eAAO,MAAM,4BAA4B;;;CAG/B,CAAC;AACX,MAAM,MAAM,4BAA4B,GAAG,UAAU,CACnD,OAAO,4BAA4B,CACpC,CAAC;AAEF;;GAEG;AACH,MAAM,M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AAE,MAAM,CAAC;IACjB,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,GAAG,GAAG,SAAS,CAAC;IACjC,MAAM,EAAE,aAAa,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B,IAAI,EAAE,WAAW,GAAG,IAAI,CAAC;CAC1B,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,uBAAuB,GAAG;IACpC,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,6BAA6B,EAAE,CAAC,CAAC,WAAW,CACvD,uBAAuB,EACvB,cAAc,CAGd,CAAC;AAEH,wBAAgB,oBAAoB,CAAC,cAAc,EAAE,cAAc,GAAG,MAAM,CAE3E;AAED,gBAAgB;AAChB,eAAO,MAAM,2BAA2B,EAAE,CAAC,CAAC,WAAW,CACrD,aAAa,EACb,OAAO,CACiC,CAAC;AAE3C,gBAAgB;AAChB,eAAO,MAAM,yBAAyB,EAAE,CAAC,CAAC,WAAW,CAAC,WAAW,EAAE,OAAO,CAYtE,CAAC;AAEL,wBAAgB,mBAAmB,CACjC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,WAAW,EAAE,kBAAkB,CAAC,CAMlD;AAED,gBAAgB;AAChB,eAAO,MAAM,6BAA6B,EAAE,CAAC,CAAC,WAAW,CACvD,eAAe,EACf,OAAO,CAGP,CAAC;AAEH,wBAAgB,uBAAuB,CACrC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,eAAe,EAAE,kBAAkB,CAAC,CAMtD"}
@@ -37,9 +37,7 @@ var __importStar = (this && this.__importStar) || (function () {
37
37
  };
38
38
  })();
39
39
  Object.defineProperty(exports, "__esModule", { value: true });
40
- exports.GetPostResponse$inboundSchema = exports.GetPostPost$inboundSchema = exports.GetPostStatusResponse$inboundSchema = exports.GetPostRequest$outboundSchema = exports.GetPostContentTypeUnion$outboundSchema = exports.GetPostContentTypeEnum1$outboundSchema = exports.GetPostContentTypeEnum2$outboundSchema = exports.GetPostStatusUnion$outboundSchema = exports.GetPostStatusQueryParamEnum1$outboundSchema = exports.GetPostStatusQueryParamEnum2$outboundSchema = exports.GetPostStatusResponse = exports.GetPostContentTypeEnum1 = exports.GetPostContentTypeEnum2 = exports.GetPostStatusQueryParamEnum1 = exports.GetPostStatusQueryParamEnum2 = void 0;
41
- exports.getPostStatusUnionToJSON = getPostStatusUnionToJSON;
42
- exports.getPostContentTypeUnionToJSON = getPostContentTypeUnionToJSON;
40
+ exports.GetPostResponse$inboundSchema = exports.GetPostPost$inboundSchema = exports.GetPostStatus$inboundSchema = exports.GetPostRequest$outboundSchema = exports.GetPostStatus = void 0;
43
41
  exports.getPostRequestToJSON = getPostRequestToJSON;
44
42
  exports.getPostPostFromJSON = getPostPostFromJSON;
45
43
  exports.getPostResponseFromJSON = getPostResponseFromJSON;
@@ -47,72 +45,19 @@ const z = __importStar(require("zod/v4-mini"));
47
45
  const schemas_js_1 = require("../../lib/schemas.js");
48
46
  const openEnums = __importStar(require("../../types/enums.js"));
49
47
  const types = __importStar(require("../../types/primitives.js"));
50
- const smart_union_js_1 = require("../../types/smart-union.js");
51
- exports.GetPostStatusQueryParamEnum2 = {
48
+ exports.GetPostStatus = {
52
49
  Draft: "draft",
53
50
  Published: "published",
54
51
  };
55
- exports.GetPostStatusQueryParamEnum1 = {
56
- Draft: "draft",
57
- Published: "published",
58
- };
59
- exports.GetPostContentTypeEnum2 = {
60
- Changelog: "changelog",
61
- LinkedinPost: "linkedin_post",
62
- TwitterPost: "twitter_post",
63
- BlogPost: "blog_post",
64
- };
65
- exports.GetPostContentTypeEnum1 = {
66
- Changelog: "changelog",
67
- LinkedinPost: "linkedin_post",
68
- TwitterPost: "twitter_post",
69
- BlogPost: "blog_post",
70
- };
71
- exports.GetPostStatusResponse = {
72
- Draft: "draft",
73
- Published: "published",
74
- };
75
- /** @internal */
76
- exports.GetPostStatusQueryParamEnum2$outboundSchema = z.enum(exports.GetPostStatusQueryParamEnum2);
77
- /** @internal */
78
- exports.GetPostStatusQueryParamEnum1$outboundSchema = z.enum(exports.GetPostStatusQueryParamEnum1);
79
- /** @internal */
80
- exports.GetPostStatusUnion$outboundSchema = (0, smart_union_js_1.smartUnion)([
81
- exports.GetPostStatusQueryParamEnum1$outboundSchema,
82
- z.array(exports.GetPostStatusQueryParamEnum2$outboundSchema),
83
- ]);
84
- function getPostStatusUnionToJSON(getPostStatusUnion) {
85
- return JSON.stringify(exports.GetPostStatusUnion$outboundSchema.parse(getPostStatusUnion));
86
- }
87
- /** @internal */
88
- exports.GetPostContentTypeEnum2$outboundSchema = z.enum(exports.GetPostContentTypeEnum2);
89
- /** @internal */
90
- exports.GetPostContentTypeEnum1$outboundSchema = z.enum(exports.GetPostContentTypeEnum1);
91
- /** @internal */
92
- exports.GetPostContentTypeUnion$outboundSchema = (0, smart_union_js_1.smartUnion)([
93
- exports.GetPostContentTypeEnum1$outboundSchema,
94
- z.array(exports.GetPostContentTypeEnum2$outboundSchema),
95
- ]);
96
- function getPostContentTypeUnionToJSON(getPostContentTypeUnion) {
97
- return JSON.stringify(exports.GetPostContentTypeUnion$outboundSchema.parse(getPostContentTypeUnion));
98
- }
99
52
  /** @internal */
100
53
  exports.GetPostRequest$outboundSchema = z.object({
101
54
  postId: z.string(),
102
- status: z.optional((0, smart_union_js_1.smartUnion)([
103
- exports.GetPostStatusQueryParamEnum1$outboundSchema,
104
- z.array(exports.GetPostStatusQueryParamEnum2$outboundSchema),
105
- ])),
106
- contentType: z.optional((0, smart_union_js_1.smartUnion)([
107
- exports.GetPostContentTypeEnum1$outboundSchema,
108
- z.array(exports.GetPostContentTypeEnum2$outboundSchema),
109
- ])),
110
55
  });
111
56
  function getPostRequestToJSON(getPostRequest) {
112
57
  return JSON.stringify(exports.GetPostRequest$outboundSchema.parse(getPostRequest));
113
58
  }
114
59
  /** @internal */
115
- exports.GetPostStatusResponse$inboundSchema = openEnums.inboundSchema(exports.GetPostStatusResponse);
60
+ exports.GetPostStatus$inboundSchema = openEnums.inboundSchema(exports.GetPostStatus);
116
61
  /** @internal */
117
62
  exports.GetPostPost$inboundSchema = z
118
63
  .object({
@@ -123,7 +68,7 @@ exports.GetPostPost$inboundSchema = z
123
68
  recommendations: types.nullable(types.string()),
124
69
  contentType: types.string(),
125
70
  sourceMetadata: types.optional(z.any()),
126
- status: exports.GetPostStatusResponse$inboundSchema,
71
+ status: exports.GetPostStatus$inboundSchema,
127
72
  createdAt: types.string(),
128
73
  updatedAt: types.string(),
129
74
  });
@@ -1 +1 @@
1
- {"version":3,"file":"get-post.js","sourceRoot":"","sources":["../../../../src/models/operations/get-post.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+HH,4DAMC;AAwBD,sEAMC;AA6BD,oDAEC;AAuBD,kDAQC;AAUD,0DAQC;AAjPD,+CAAiC;AACjC,qDAAiD;AACjD,gEAAkD;AAGlD,iEAAmD;AACnD,+DAAwD;AAG3C,QAAA,4BAA4B,GAAG;IAC1C,KAAK,EAAE,OAAO;IACd,SAAS,EAAE,WAAW;CACd,CAAC;AAKE,QAAA,4BAA4B,GAAG;IAC1C,KAAK,EAAE,OAAO;IACd,SAAS,EAAE,WAAW;CACd,CAAC;AAYE,QAAA,uBAAuB,GAAG;IACrC,SAAS,EAAE,WAAW;IACtB,YAAY,EAAE,eAAe;IAC7B,WAAW,EAAE,cAAc;IAC3B,QAAQ,EAAE,WAAW;CACb,CAAC;AAKE,QAAA,uBAAuB,GAAG;IACrC,SAAS,EAAE,WAAW;IACtB,YAAY,EAAE,eAAe;IAC7B,WAAW,EAAE,cAAc;IAC3B,QAAQ,EAAE,WAAW;CACb,CAAC;AA8BE,QAAA,qBAAqB,GAAG;IACnC,KAAK,EAAE,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AAC;IAC/C,WAAW,EAAE,KAAK,CAAC,MAAM,EAAE;IAC3B,cAAc,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC;IACvC,MAAM,EAAE,mCAA2B;IACnC,SAAS,EAAE,KAAK,CAAC,MAAM,EAAE;IACzB,SAAS,EAAE,KAAK,CAAC,MAAM,EAAE;CAC1B,CAAC,CAAC;AAEL,SAAgB,mBAAmB,CACjC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,iCAAyB,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACrD,yCAAyC,CAC1C,CAAC;AACJ,CAAC;AAED,gBAAgB;AACH,QAAA,6BAA6B,GAGtC,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,iCAAyB,CAAC,CAAC;CAC9D,CAAC,CAAC;AAEH,SAAgB,uBAAuB,CACrC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,qCAA6B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACzD,6CAA6C,CAC9C,CAAC;AACJ,CAAC"}
@@ -1,3 +1,4 @@
1
+ export * from "./delete-post.js";
1
2
  export * from "./get-post.js";
2
3
  export * from "./list-posts.js";
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/index.ts"],"names":[],"mappings":"AAKA,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/index.ts"],"names":[],"mappings":"AAKA,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,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("./delete-post.js"), exports);
21
22
  __exportStar(require("./get-post.js"), exports);
22
23
  __exportStar(require("./list-posts.js"), exports);
23
24
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/operations/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;;;;;;;;;;;;;;AAEH,gDAA8B;AAC9B,kDAAgC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/operations/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;;;;;;;;;;;;;;AAEH,mDAAiC;AACjC,gDAA8B;AAC9B,kDAAgC"}