@postpeer/node 0.3.2
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/CHANGELOG.md +64 -0
- package/LICENSE +201 -0
- package/README.md +363 -0
- package/api-promise.d.mts +2 -0
- package/api-promise.d.mts.map +1 -0
- package/api-promise.d.ts +2 -0
- package/api-promise.d.ts.map +1 -0
- package/api-promise.js +6 -0
- package/api-promise.js.map +1 -0
- package/api-promise.mjs +2 -0
- package/api-promise.mjs.map +1 -0
- package/client.d.mts +190 -0
- package/client.d.mts.map +1 -0
- package/client.d.ts +190 -0
- package/client.d.ts.map +1 -0
- package/client.js +474 -0
- package/client.js.map +1 -0
- package/client.mjs +470 -0
- package/client.mjs.map +1 -0
- package/core/api-promise.d.mts +46 -0
- package/core/api-promise.d.mts.map +1 -0
- package/core/api-promise.d.ts +46 -0
- package/core/api-promise.d.ts.map +1 -0
- package/core/api-promise.js +74 -0
- package/core/api-promise.js.map +1 -0
- package/core/api-promise.mjs +70 -0
- package/core/api-promise.mjs.map +1 -0
- package/core/error.d.mts +46 -0
- package/core/error.d.mts.map +1 -0
- package/core/error.d.ts +46 -0
- package/core/error.d.ts.map +1 -0
- package/core/error.js +113 -0
- package/core/error.js.map +1 -0
- package/core/error.mjs +97 -0
- package/core/error.mjs.map +1 -0
- package/core/resource.d.mts +6 -0
- package/core/resource.d.mts.map +1 -0
- package/core/resource.d.ts +6 -0
- package/core/resource.d.ts.map +1 -0
- package/core/resource.js +11 -0
- package/core/resource.js.map +1 -0
- package/core/resource.mjs +7 -0
- package/core/resource.mjs.map +1 -0
- package/core/uploads.d.mts +3 -0
- package/core/uploads.d.mts.map +1 -0
- package/core/uploads.d.ts +3 -0
- package/core/uploads.d.ts.map +1 -0
- package/core/uploads.js +6 -0
- package/core/uploads.js.map +1 -0
- package/core/uploads.mjs +2 -0
- package/core/uploads.mjs.map +1 -0
- package/error.d.mts +2 -0
- package/error.d.mts.map +1 -0
- package/error.d.ts +2 -0
- package/error.d.ts.map +1 -0
- package/error.js +6 -0
- package/error.js.map +1 -0
- package/error.mjs +2 -0
- package/error.mjs.map +1 -0
- package/index.d.mts +6 -0
- package/index.d.mts.map +1 -0
- package/index.d.ts +6 -0
- package/index.d.ts.map +1 -0
- package/index.js +30 -0
- package/index.js.map +1 -0
- package/index.mjs +7 -0
- package/index.mjs.map +1 -0
- package/internal/builtin-types.d.mts +73 -0
- package/internal/builtin-types.d.mts.map +1 -0
- package/internal/builtin-types.d.ts +73 -0
- package/internal/builtin-types.d.ts.map +1 -0
- package/internal/builtin-types.js +4 -0
- package/internal/builtin-types.js.map +1 -0
- package/internal/builtin-types.mjs +3 -0
- package/internal/builtin-types.mjs.map +1 -0
- package/internal/detect-platform.d.mts +15 -0
- package/internal/detect-platform.d.mts.map +1 -0
- package/internal/detect-platform.d.ts +15 -0
- package/internal/detect-platform.d.ts.map +1 -0
- package/internal/detect-platform.js +162 -0
- package/internal/detect-platform.js.map +1 -0
- package/internal/detect-platform.mjs +157 -0
- package/internal/detect-platform.mjs.map +1 -0
- package/internal/errors.d.mts +3 -0
- package/internal/errors.d.mts.map +1 -0
- package/internal/errors.d.ts +3 -0
- package/internal/errors.d.ts.map +1 -0
- package/internal/errors.js +41 -0
- package/internal/errors.js.map +1 -0
- package/internal/errors.mjs +36 -0
- package/internal/errors.mjs.map +1 -0
- package/internal/headers.d.mts +20 -0
- package/internal/headers.d.mts.map +1 -0
- package/internal/headers.d.ts +20 -0
- package/internal/headers.d.ts.map +1 -0
- package/internal/headers.js +79 -0
- package/internal/headers.js.map +1 -0
- package/internal/headers.mjs +74 -0
- package/internal/headers.mjs.map +1 -0
- package/internal/parse.d.mts +12 -0
- package/internal/parse.d.mts.map +1 -0
- package/internal/parse.d.ts +12 -0
- package/internal/parse.d.ts.map +1 -0
- package/internal/parse.js +40 -0
- package/internal/parse.js.map +1 -0
- package/internal/parse.mjs +37 -0
- package/internal/parse.mjs.map +1 -0
- package/internal/qs/formats.d.mts +7 -0
- package/internal/qs/formats.d.mts.map +1 -0
- package/internal/qs/formats.d.ts +7 -0
- package/internal/qs/formats.d.ts.map +1 -0
- package/internal/qs/formats.js +13 -0
- package/internal/qs/formats.js.map +1 -0
- package/internal/qs/formats.mjs +9 -0
- package/internal/qs/formats.mjs.map +1 -0
- package/internal/qs/index.d.mts +10 -0
- package/internal/qs/index.d.mts.map +1 -0
- package/internal/qs/index.d.ts +10 -0
- package/internal/qs/index.d.ts.map +1 -0
- package/internal/qs/index.js +14 -0
- package/internal/qs/index.js.map +1 -0
- package/internal/qs/index.mjs +10 -0
- package/internal/qs/index.mjs.map +1 -0
- package/internal/qs/stringify.d.mts +3 -0
- package/internal/qs/stringify.d.mts.map +1 -0
- package/internal/qs/stringify.d.ts +3 -0
- package/internal/qs/stringify.d.ts.map +1 -0
- package/internal/qs/stringify.js +277 -0
- package/internal/qs/stringify.js.map +1 -0
- package/internal/qs/stringify.mjs +274 -0
- package/internal/qs/stringify.mjs.map +1 -0
- package/internal/qs/types.d.mts +57 -0
- package/internal/qs/types.d.mts.map +1 -0
- package/internal/qs/types.d.ts +57 -0
- package/internal/qs/types.d.ts.map +1 -0
- package/internal/qs/types.js +3 -0
- package/internal/qs/types.js.map +1 -0
- package/internal/qs/types.mjs +2 -0
- package/internal/qs/types.mjs.map +1 -0
- package/internal/qs/utils.d.mts +15 -0
- package/internal/qs/utils.d.mts.map +1 -0
- package/internal/qs/utils.d.ts +15 -0
- package/internal/qs/utils.d.ts.map +1 -0
- package/internal/qs/utils.js +230 -0
- package/internal/qs/utils.js.map +1 -0
- package/internal/qs/utils.mjs +217 -0
- package/internal/qs/utils.mjs.map +1 -0
- package/internal/request-options.d.mts +75 -0
- package/internal/request-options.d.mts.map +1 -0
- package/internal/request-options.d.ts +75 -0
- package/internal/request-options.d.ts.map +1 -0
- package/internal/request-options.js +14 -0
- package/internal/request-options.js.map +1 -0
- package/internal/request-options.mjs +10 -0
- package/internal/request-options.mjs.map +1 -0
- package/internal/shim-types.d.mts +17 -0
- package/internal/shim-types.d.mts.map +1 -0
- package/internal/shim-types.d.ts +17 -0
- package/internal/shim-types.d.ts.map +1 -0
- package/internal/shim-types.js +4 -0
- package/internal/shim-types.js.map +1 -0
- package/internal/shim-types.mjs +3 -0
- package/internal/shim-types.mjs.map +1 -0
- package/internal/shims.d.mts +20 -0
- package/internal/shims.d.mts.map +1 -0
- package/internal/shims.d.ts +20 -0
- package/internal/shims.d.ts.map +1 -0
- package/internal/shims.js +92 -0
- package/internal/shims.js.map +1 -0
- package/internal/shims.mjs +85 -0
- package/internal/shims.mjs.map +1 -0
- package/internal/to-file.d.mts +45 -0
- package/internal/to-file.d.mts.map +1 -0
- package/internal/to-file.d.ts +45 -0
- package/internal/to-file.d.ts.map +1 -0
- package/internal/to-file.js +91 -0
- package/internal/to-file.js.map +1 -0
- package/internal/to-file.mjs +88 -0
- package/internal/to-file.mjs.map +1 -0
- package/internal/tslib.js +81 -0
- package/internal/tslib.mjs +17 -0
- package/internal/types.d.mts +69 -0
- package/internal/types.d.mts.map +1 -0
- package/internal/types.d.ts +69 -0
- package/internal/types.d.ts.map +1 -0
- package/internal/types.js +4 -0
- package/internal/types.js.map +1 -0
- package/internal/types.mjs +3 -0
- package/internal/types.mjs.map +1 -0
- package/internal/uploads.d.mts +42 -0
- package/internal/uploads.d.mts.map +1 -0
- package/internal/uploads.d.ts +42 -0
- package/internal/uploads.d.ts.map +1 -0
- package/internal/uploads.js +141 -0
- package/internal/uploads.js.map +1 -0
- package/internal/uploads.mjs +131 -0
- package/internal/uploads.mjs.map +1 -0
- package/internal/utils/base64.d.mts +3 -0
- package/internal/utils/base64.d.mts.map +1 -0
- package/internal/utils/base64.d.ts +3 -0
- package/internal/utils/base64.d.ts.map +1 -0
- package/internal/utils/base64.js +38 -0
- package/internal/utils/base64.js.map +1 -0
- package/internal/utils/base64.mjs +33 -0
- package/internal/utils/base64.mjs.map +1 -0
- package/internal/utils/bytes.d.mts +4 -0
- package/internal/utils/bytes.d.mts.map +1 -0
- package/internal/utils/bytes.d.ts +4 -0
- package/internal/utils/bytes.d.ts.map +1 -0
- package/internal/utils/bytes.js +31 -0
- package/internal/utils/bytes.js.map +1 -0
- package/internal/utils/bytes.mjs +26 -0
- package/internal/utils/bytes.mjs.map +1 -0
- package/internal/utils/env.d.mts +9 -0
- package/internal/utils/env.d.mts.map +1 -0
- package/internal/utils/env.d.ts +9 -0
- package/internal/utils/env.d.ts.map +1 -0
- package/internal/utils/env.js +22 -0
- package/internal/utils/env.js.map +1 -0
- package/internal/utils/env.mjs +18 -0
- package/internal/utils/env.mjs.map +1 -0
- package/internal/utils/log.d.mts +37 -0
- package/internal/utils/log.d.mts.map +1 -0
- package/internal/utils/log.d.ts +37 -0
- package/internal/utils/log.d.ts.map +1 -0
- package/internal/utils/log.js +86 -0
- package/internal/utils/log.js.map +1 -0
- package/internal/utils/log.mjs +80 -0
- package/internal/utils/log.mjs.map +1 -0
- package/internal/utils/path.d.mts +15 -0
- package/internal/utils/path.d.mts.map +1 -0
- package/internal/utils/path.d.ts +15 -0
- package/internal/utils/path.d.ts.map +1 -0
- package/internal/utils/path.js +79 -0
- package/internal/utils/path.js.map +1 -0
- package/internal/utils/path.mjs +74 -0
- package/internal/utils/path.mjs.map +1 -0
- package/internal/utils/query.d.mts +2 -0
- package/internal/utils/query.d.mts.map +1 -0
- package/internal/utils/query.d.ts +2 -0
- package/internal/utils/query.d.ts.map +1 -0
- package/internal/utils/query.js +10 -0
- package/internal/utils/query.js.map +1 -0
- package/internal/utils/query.mjs +6 -0
- package/internal/utils/query.mjs.map +1 -0
- package/internal/utils/sleep.d.mts +2 -0
- package/internal/utils/sleep.d.mts.map +1 -0
- package/internal/utils/sleep.d.ts +2 -0
- package/internal/utils/sleep.d.ts.map +1 -0
- package/internal/utils/sleep.js +7 -0
- package/internal/utils/sleep.js.map +1 -0
- package/internal/utils/sleep.mjs +3 -0
- package/internal/utils/sleep.mjs.map +1 -0
- package/internal/utils/uuid.d.mts +5 -0
- package/internal/utils/uuid.d.mts.map +1 -0
- package/internal/utils/uuid.d.ts +5 -0
- package/internal/utils/uuid.d.ts.map +1 -0
- package/internal/utils/uuid.js +19 -0
- package/internal/utils/uuid.js.map +1 -0
- package/internal/utils/uuid.mjs +15 -0
- package/internal/utils/uuid.mjs.map +1 -0
- package/internal/utils/values.d.mts +18 -0
- package/internal/utils/values.d.mts.map +1 -0
- package/internal/utils/values.d.ts +18 -0
- package/internal/utils/values.d.ts.map +1 -0
- package/internal/utils/values.js +112 -0
- package/internal/utils/values.js.map +1 -0
- package/internal/utils/values.mjs +94 -0
- package/internal/utils/values.mjs.map +1 -0
- package/internal/utils.d.mts +8 -0
- package/internal/utils.d.mts.map +1 -0
- package/internal/utils.d.ts +8 -0
- package/internal/utils.d.ts.map +1 -0
- package/internal/utils.js +12 -0
- package/internal/utils.js.map +1 -0
- package/internal/utils.mjs +9 -0
- package/internal/utils.mjs.map +1 -0
- package/package.json +143 -0
- package/resource.d.mts +2 -0
- package/resource.d.mts.map +1 -0
- package/resource.d.ts +2 -0
- package/resource.d.ts.map +1 -0
- package/resource.js +6 -0
- package/resource.js.map +1 -0
- package/resource.mjs +2 -0
- package/resource.mjs.map +1 -0
- package/resources/connect/connect.d.mts +26 -0
- package/resources/connect/connect.d.mts.map +1 -0
- package/resources/connect/connect.d.ts +26 -0
- package/resources/connect/connect.d.ts.map +1 -0
- package/resources/connect/connect.js +24 -0
- package/resources/connect/connect.js.map +1 -0
- package/resources/connect/connect.mjs +19 -0
- package/resources/connect/connect.mjs.map +1 -0
- package/resources/connect/index.d.mts +3 -0
- package/resources/connect/index.d.mts.map +1 -0
- package/resources/connect/index.d.ts +3 -0
- package/resources/connect/index.d.ts.map +1 -0
- package/resources/connect/index.js +9 -0
- package/resources/connect/index.js.map +1 -0
- package/resources/connect/index.mjs +4 -0
- package/resources/connect/index.mjs.map +1 -0
- package/resources/connect/integrations.d.mts +47 -0
- package/resources/connect/integrations.d.mts.map +1 -0
- package/resources/connect/integrations.d.ts +47 -0
- package/resources/connect/integrations.d.ts.map +1 -0
- package/resources/connect/integrations.js +22 -0
- package/resources/connect/integrations.js.map +1 -0
- package/resources/connect/integrations.mjs +18 -0
- package/resources/connect/integrations.mjs.map +1 -0
- package/resources/connect.d.mts +2 -0
- package/resources/connect.d.mts.map +1 -0
- package/resources/connect.d.ts +2 -0
- package/resources/connect.d.ts.map +1 -0
- package/resources/connect.js +6 -0
- package/resources/connect.js.map +1 -0
- package/resources/connect.mjs +3 -0
- package/resources/connect.mjs.map +1 -0
- package/resources/health.d.mts +23 -0
- package/resources/health.d.mts.map +1 -0
- package/resources/health.d.ts +23 -0
- package/resources/health.d.ts.map +1 -0
- package/resources/health.js +21 -0
- package/resources/health.js.map +1 -0
- package/resources/health.mjs +17 -0
- package/resources/health.mjs.map +1 -0
- package/resources/index.d.mts +6 -0
- package/resources/index.d.mts.map +1 -0
- package/resources/index.d.ts +6 -0
- package/resources/index.d.ts.map +1 -0
- package/resources/index.js +15 -0
- package/resources/index.js.map +1 -0
- package/resources/index.mjs +7 -0
- package/resources/index.mjs.map +1 -0
- package/resources/media.d.mts +27 -0
- package/resources/media.d.mts.map +1 -0
- package/resources/media.d.ts +27 -0
- package/resources/media.d.ts.map +1 -0
- package/resources/media.js +15 -0
- package/resources/media.js.map +1 -0
- package/resources/media.mjs +11 -0
- package/resources/media.mjs.map +1 -0
- package/resources/platforms.d.mts +22 -0
- package/resources/platforms.d.mts.map +1 -0
- package/resources/platforms.d.ts +22 -0
- package/resources/platforms.d.ts.map +1 -0
- package/resources/platforms.js +15 -0
- package/resources/platforms.js.map +1 -0
- package/resources/platforms.mjs +11 -0
- package/resources/platforms.mjs.map +1 -0
- package/resources/posts/index.d.mts +3 -0
- package/resources/posts/index.d.mts.map +1 -0
- package/resources/posts/index.d.ts +3 -0
- package/resources/posts/index.d.ts.map +1 -0
- package/resources/posts/index.js +9 -0
- package/resources/posts/index.js.map +1 -0
- package/resources/posts/index.mjs +4 -0
- package/resources/posts/index.mjs.map +1 -0
- package/resources/posts/posts.d.mts +437 -0
- package/resources/posts/posts.d.mts.map +1 -0
- package/resources/posts/posts.d.ts +437 -0
- package/resources/posts/posts.d.ts.map +1 -0
- package/resources/posts/posts.js +69 -0
- package/resources/posts/posts.js.map +1 -0
- package/resources/posts/posts.mjs +64 -0
- package/resources/posts/posts.mjs.map +1 -0
- package/resources/posts/scheduled.d.mts +111 -0
- package/resources/posts/scheduled.d.mts.map +1 -0
- package/resources/posts/scheduled.d.ts +111 -0
- package/resources/posts/scheduled.d.ts.map +1 -0
- package/resources/posts/scheduled.js +48 -0
- package/resources/posts/scheduled.js.map +1 -0
- package/resources/posts/scheduled.mjs +44 -0
- package/resources/posts/scheduled.mjs.map +1 -0
- package/resources/posts.d.mts +2 -0
- package/resources/posts.d.mts.map +1 -0
- package/resources/posts.d.ts +2 -0
- package/resources/posts.d.ts.map +1 -0
- package/resources/posts.js +6 -0
- package/resources/posts.js.map +1 -0
- package/resources/posts.mjs +3 -0
- package/resources/posts.mjs.map +1 -0
- package/resources.d.mts +2 -0
- package/resources.d.mts.map +1 -0
- package/resources.d.ts +2 -0
- package/resources.d.ts.map +1 -0
- package/resources.js +5 -0
- package/resources.js.map +1 -0
- package/resources.mjs +2 -0
- package/resources.mjs.map +1 -0
- package/src/api-promise.ts +2 -0
- package/src/client.ts +779 -0
- package/src/core/README.md +3 -0
- package/src/core/api-promise.ts +92 -0
- package/src/core/error.ts +130 -0
- package/src/core/resource.ts +11 -0
- package/src/core/uploads.ts +2 -0
- package/src/error.ts +2 -0
- package/src/index.ts +22 -0
- package/src/internal/README.md +3 -0
- package/src/internal/builtin-types.ts +93 -0
- package/src/internal/detect-platform.ts +196 -0
- package/src/internal/errors.ts +33 -0
- package/src/internal/headers.ts +97 -0
- package/src/internal/parse.ts +56 -0
- package/src/internal/qs/LICENSE.md +13 -0
- package/src/internal/qs/README.md +3 -0
- package/src/internal/qs/formats.ts +10 -0
- package/src/internal/qs/index.ts +13 -0
- package/src/internal/qs/stringify.ts +385 -0
- package/src/internal/qs/types.ts +71 -0
- package/src/internal/qs/utils.ts +265 -0
- package/src/internal/request-options.ts +91 -0
- package/src/internal/shim-types.ts +26 -0
- package/src/internal/shims.ts +107 -0
- package/src/internal/to-file.ts +154 -0
- package/src/internal/types.ts +95 -0
- package/src/internal/uploads.ts +187 -0
- package/src/internal/utils/base64.ts +40 -0
- package/src/internal/utils/bytes.ts +32 -0
- package/src/internal/utils/env.ts +18 -0
- package/src/internal/utils/log.ts +127 -0
- package/src/internal/utils/path.ts +88 -0
- package/src/internal/utils/query.ts +7 -0
- package/src/internal/utils/sleep.ts +3 -0
- package/src/internal/utils/uuid.ts +17 -0
- package/src/internal/utils/values.ts +105 -0
- package/src/internal/utils.ts +9 -0
- package/src/lib/.keep +4 -0
- package/src/resource.ts +2 -0
- package/src/resources/connect/connect.ts +49 -0
- package/src/resources/connect/index.ts +8 -0
- package/src/resources/connect/integrations.ts +69 -0
- package/src/resources/connect.ts +3 -0
- package/src/resources/health.ts +36 -0
- package/src/resources/index.ts +17 -0
- package/src/resources/media.ts +38 -0
- package/src/resources/platforms.ts +30 -0
- package/src/resources/posts/index.ts +20 -0
- package/src/resources/posts/posts.ts +582 -0
- package/src/resources/posts/scheduled.ts +153 -0
- package/src/resources/posts.ts +3 -0
- package/src/resources.ts +1 -0
- package/src/tsconfig.json +11 -0
- package/src/uploads.ts +2 -0
- package/src/version.ts +1 -0
- package/uploads.d.mts +2 -0
- package/uploads.d.mts.map +1 -0
- package/uploads.d.ts +2 -0
- package/uploads.d.ts.map +1 -0
- package/uploads.js +6 -0
- package/uploads.js.map +1 -0
- package/uploads.mjs +2 -0
- package/uploads.mjs.map +1 -0
- package/version.d.mts +2 -0
- package/version.d.mts.map +1 -0
- package/version.d.ts +2 -0
- package/version.d.ts.map +1 -0
- package/version.js +5 -0
- package/version.js.map +1 -0
- package/version.mjs +2 -0
- package/version.mjs.map +1 -0
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { APIResource } from "../../core/resource.mjs";
|
|
2
|
+
import { APIPromise } from "../../core/api-promise.mjs";
|
|
3
|
+
import { RequestOptions } from "../../internal/request-options.mjs";
|
|
4
|
+
export declare class Integrations extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* List all integrations connected to this project
|
|
7
|
+
*/
|
|
8
|
+
list(options?: RequestOptions): APIPromise<IntegrationListResponse>;
|
|
9
|
+
/**
|
|
10
|
+
* Disconnect a platform integration
|
|
11
|
+
*/
|
|
12
|
+
disconnect(id: string, options?: RequestOptions): APIPromise<IntegrationDisconnectResponse>;
|
|
13
|
+
}
|
|
14
|
+
export interface IntegrationListResponse {
|
|
15
|
+
integrations: Array<IntegrationListResponse.Integration>;
|
|
16
|
+
success: boolean;
|
|
17
|
+
}
|
|
18
|
+
export declare namespace IntegrationListResponse {
|
|
19
|
+
interface Integration {
|
|
20
|
+
/**
|
|
21
|
+
* Use this as accountId when creating posts
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
createdAt: string;
|
|
25
|
+
/**
|
|
26
|
+
* Display name of the connected account (e.g. @handle or channel name)
|
|
27
|
+
*/
|
|
28
|
+
displayName: string | null;
|
|
29
|
+
/**
|
|
30
|
+
* Profile image URL for the connected account, or null if unavailable
|
|
31
|
+
*/
|
|
32
|
+
imageUrl: string | null;
|
|
33
|
+
platform: 'twitter' | 'instagram' | 'youtube' | 'tiktok' | 'pinterest' | 'linkedin';
|
|
34
|
+
/**
|
|
35
|
+
* The user ID on the platform, or null if not yet retrieved
|
|
36
|
+
*/
|
|
37
|
+
platformUserId: string | null;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
export interface IntegrationDisconnectResponse {
|
|
41
|
+
message: string;
|
|
42
|
+
success: boolean;
|
|
43
|
+
}
|
|
44
|
+
export declare namespace Integrations {
|
|
45
|
+
export { type IntegrationListResponse as IntegrationListResponse, type IntegrationDisconnectResponse as IntegrationDisconnectResponse, };
|
|
46
|
+
}
|
|
47
|
+
//# sourceMappingURL=integrations.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"integrations.d.mts","sourceRoot":"","sources":["../../src/resources/connect/integrations.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;OAEG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,uBAAuB,CAAC;IAInE;;OAEG;IACH,UAAU,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,6BAA6B,CAAC;CAG5F;AAED,MAAM,WAAW,uBAAuB;IACtC,YAAY,EAAE,KAAK,CAAC,uBAAuB,CAAC,WAAW,CAAC,CAAC;IAEzD,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,yBAAiB,uBAAuB,CAAC;IACvC,UAAiB,WAAW;QAC1B;;WAEG;QACH,EAAE,EAAE,MAAM,CAAC;QAEX,SAAS,EAAE,MAAM,CAAC;QAElB;;WAEG;QACH,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;QAE3B;;WAEG;QACH,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;QAExB,QAAQ,EAAE,SAAS,GAAG,WAAW,GAAG,SAAS,GAAG,QAAQ,GAAG,WAAW,GAAG,UAAU,CAAC;QAEpF;;WAEG;QACH,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;KAC/B;CACF;AAED,MAAM,WAAW,6BAA6B;IAC5C,OAAO,EAAE,MAAM,CAAC;IAEhB,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,6BAA6B,IAAI,6BAA6B,GACpE,CAAC;CACH"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { APIResource } from "../../core/resource.js";
|
|
2
|
+
import { APIPromise } from "../../core/api-promise.js";
|
|
3
|
+
import { RequestOptions } from "../../internal/request-options.js";
|
|
4
|
+
export declare class Integrations extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* List all integrations connected to this project
|
|
7
|
+
*/
|
|
8
|
+
list(options?: RequestOptions): APIPromise<IntegrationListResponse>;
|
|
9
|
+
/**
|
|
10
|
+
* Disconnect a platform integration
|
|
11
|
+
*/
|
|
12
|
+
disconnect(id: string, options?: RequestOptions): APIPromise<IntegrationDisconnectResponse>;
|
|
13
|
+
}
|
|
14
|
+
export interface IntegrationListResponse {
|
|
15
|
+
integrations: Array<IntegrationListResponse.Integration>;
|
|
16
|
+
success: boolean;
|
|
17
|
+
}
|
|
18
|
+
export declare namespace IntegrationListResponse {
|
|
19
|
+
interface Integration {
|
|
20
|
+
/**
|
|
21
|
+
* Use this as accountId when creating posts
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
createdAt: string;
|
|
25
|
+
/**
|
|
26
|
+
* Display name of the connected account (e.g. @handle or channel name)
|
|
27
|
+
*/
|
|
28
|
+
displayName: string | null;
|
|
29
|
+
/**
|
|
30
|
+
* Profile image URL for the connected account, or null if unavailable
|
|
31
|
+
*/
|
|
32
|
+
imageUrl: string | null;
|
|
33
|
+
platform: 'twitter' | 'instagram' | 'youtube' | 'tiktok' | 'pinterest' | 'linkedin';
|
|
34
|
+
/**
|
|
35
|
+
* The user ID on the platform, or null if not yet retrieved
|
|
36
|
+
*/
|
|
37
|
+
platformUserId: string | null;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
export interface IntegrationDisconnectResponse {
|
|
41
|
+
message: string;
|
|
42
|
+
success: boolean;
|
|
43
|
+
}
|
|
44
|
+
export declare namespace Integrations {
|
|
45
|
+
export { type IntegrationListResponse as IntegrationListResponse, type IntegrationDisconnectResponse as IntegrationDisconnectResponse, };
|
|
46
|
+
}
|
|
47
|
+
//# sourceMappingURL=integrations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"integrations.d.ts","sourceRoot":"","sources":["../../src/resources/connect/integrations.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;OAEG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,uBAAuB,CAAC;IAInE;;OAEG;IACH,UAAU,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,6BAA6B,CAAC;CAG5F;AAED,MAAM,WAAW,uBAAuB;IACtC,YAAY,EAAE,KAAK,CAAC,uBAAuB,CAAC,WAAW,CAAC,CAAC;IAEzD,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,yBAAiB,uBAAuB,CAAC;IACvC,UAAiB,WAAW;QAC1B;;WAEG;QACH,EAAE,EAAE,MAAM,CAAC;QAEX,SAAS,EAAE,MAAM,CAAC;QAElB;;WAEG;QACH,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;QAE3B;;WAEG;QACH,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;QAExB,QAAQ,EAAE,SAAS,GAAG,WAAW,GAAG,SAAS,GAAG,QAAQ,GAAG,WAAW,GAAG,UAAU,CAAC;QAEpF;;WAEG;QACH,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;KAC/B;CACF;AAED,MAAM,WAAW,6BAA6B;IAC5C,OAAO,EAAE,MAAM,CAAC;IAEhB,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,6BAA6B,IAAI,6BAA6B,GACpE,CAAC;CACH"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Integrations = void 0;
|
|
5
|
+
const resource_1 = require("../../core/resource.js");
|
|
6
|
+
const path_1 = require("../../internal/utils/path.js");
|
|
7
|
+
class Integrations extends resource_1.APIResource {
|
|
8
|
+
/**
|
|
9
|
+
* List all integrations connected to this project
|
|
10
|
+
*/
|
|
11
|
+
list(options) {
|
|
12
|
+
return this._client.get('/v1/connect/integrations', options);
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Disconnect a platform integration
|
|
16
|
+
*/
|
|
17
|
+
disconnect(id, options) {
|
|
18
|
+
return this._client.delete((0, path_1.path) `/v1/connect/integrations/${id}`, options);
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
exports.Integrations = Integrations;
|
|
22
|
+
//# sourceMappingURL=integrations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"integrations.js","sourceRoot":"","sources":["../../src/resources/connect/integrations.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAGlD,uDAAiD;AAEjD,MAAa,YAAa,SAAQ,sBAAW;IAC3C;;OAEG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,0BAA0B,EAAE,OAAO,CAAC,CAAC;IAC/D,CAAC;IAED;;OAEG;IACH,UAAU,CAAC,EAAU,EAAE,OAAwB;QAC7C,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,4BAA4B,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAC5E,CAAC;CACF;AAdD,oCAcC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../../core/resource.mjs";
|
|
3
|
+
import { path } from "../../internal/utils/path.mjs";
|
|
4
|
+
export class Integrations extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* List all integrations connected to this project
|
|
7
|
+
*/
|
|
8
|
+
list(options) {
|
|
9
|
+
return this._client.get('/v1/connect/integrations', options);
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Disconnect a platform integration
|
|
13
|
+
*/
|
|
14
|
+
disconnect(id, options) {
|
|
15
|
+
return this._client.delete(path `/v1/connect/integrations/${id}`, options);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=integrations.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"integrations.mjs","sourceRoot":"","sources":["../../src/resources/connect/integrations.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,YAAa,SAAQ,WAAW;IAC3C;;OAEG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,0BAA0B,EAAE,OAAO,CAAC,CAAC;IAC/D,CAAC;IAED;;OAEG;IACH,UAAU,CAAC,EAAU,EAAE,OAAwB;QAC7C,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,4BAA4B,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAC5E,CAAC;CACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connect.d.mts","sourceRoot":"","sources":["../src/resources/connect.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connect.d.ts","sourceRoot":"","sources":["../src/resources/connect.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
const tslib_1 = require("../internal/tslib.js");
|
|
5
|
+
tslib_1.__exportStar(require("./connect/index.js"), exports);
|
|
6
|
+
//# sourceMappingURL=connect.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connect.js","sourceRoot":"","sources":["../src/resources/connect.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,6DAAgC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connect.mjs","sourceRoot":"","sources":["../src/resources/connect.ts"],"names":[],"mappings":"AAAA,sFAAsF"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.mjs";
|
|
2
|
+
import { APIPromise } from "../core/api-promise.mjs";
|
|
3
|
+
import { RequestOptions } from "../internal/request-options.mjs";
|
|
4
|
+
export declare class Health extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Health check
|
|
7
|
+
*/
|
|
8
|
+
check(options?: RequestOptions): APIPromise<HealthCheckResponse>;
|
|
9
|
+
/**
|
|
10
|
+
* Verify that the provided access key is valid
|
|
11
|
+
*/
|
|
12
|
+
verifyAccessKey(options?: RequestOptions): APIPromise<HealthVerifyAccessKeyResponse>;
|
|
13
|
+
}
|
|
14
|
+
export interface HealthCheckResponse {
|
|
15
|
+
ok: boolean;
|
|
16
|
+
}
|
|
17
|
+
export interface HealthVerifyAccessKeyResponse {
|
|
18
|
+
ok: boolean;
|
|
19
|
+
}
|
|
20
|
+
export declare namespace Health {
|
|
21
|
+
export { type HealthCheckResponse as HealthCheckResponse, type HealthVerifyAccessKeyResponse as HealthVerifyAccessKeyResponse, };
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=health.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"health.d.mts","sourceRoot":"","sources":["../src/resources/health.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,MAAO,SAAQ,WAAW;IACrC;;OAEG;IACH,KAAK,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,mBAAmB,CAAC;IAIhE;;OAEG;IACH,eAAe,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,6BAA6B,CAAC;CAGrF;AAED,MAAM,WAAW,mBAAmB;IAClC,EAAE,EAAE,OAAO,CAAC;CACb;AAED,MAAM,WAAW,6BAA6B;IAC5C,EAAE,EAAE,OAAO,CAAC;CACb;AAED,MAAM,CAAC,OAAO,WAAW,MAAM,CAAC;IAC9B,OAAO,EACL,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,6BAA6B,IAAI,6BAA6B,GACpE,CAAC;CACH"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.js";
|
|
2
|
+
import { APIPromise } from "../core/api-promise.js";
|
|
3
|
+
import { RequestOptions } from "../internal/request-options.js";
|
|
4
|
+
export declare class Health extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Health check
|
|
7
|
+
*/
|
|
8
|
+
check(options?: RequestOptions): APIPromise<HealthCheckResponse>;
|
|
9
|
+
/**
|
|
10
|
+
* Verify that the provided access key is valid
|
|
11
|
+
*/
|
|
12
|
+
verifyAccessKey(options?: RequestOptions): APIPromise<HealthVerifyAccessKeyResponse>;
|
|
13
|
+
}
|
|
14
|
+
export interface HealthCheckResponse {
|
|
15
|
+
ok: boolean;
|
|
16
|
+
}
|
|
17
|
+
export interface HealthVerifyAccessKeyResponse {
|
|
18
|
+
ok: boolean;
|
|
19
|
+
}
|
|
20
|
+
export declare namespace Health {
|
|
21
|
+
export { type HealthCheckResponse as HealthCheckResponse, type HealthVerifyAccessKeyResponse as HealthVerifyAccessKeyResponse, };
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=health.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"health.d.ts","sourceRoot":"","sources":["../src/resources/health.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,MAAO,SAAQ,WAAW;IACrC;;OAEG;IACH,KAAK,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,mBAAmB,CAAC;IAIhE;;OAEG;IACH,eAAe,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,6BAA6B,CAAC;CAGrF;AAED,MAAM,WAAW,mBAAmB;IAClC,EAAE,EAAE,OAAO,CAAC;CACb;AAED,MAAM,WAAW,6BAA6B;IAC5C,EAAE,EAAE,OAAO,CAAC;CACb;AAED,MAAM,CAAC,OAAO,WAAW,MAAM,CAAC;IAC9B,OAAO,EACL,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,6BAA6B,IAAI,6BAA6B,GACpE,CAAC;CACH"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Health = void 0;
|
|
5
|
+
const resource_1 = require("../core/resource.js");
|
|
6
|
+
class Health extends resource_1.APIResource {
|
|
7
|
+
/**
|
|
8
|
+
* Health check
|
|
9
|
+
*/
|
|
10
|
+
check(options) {
|
|
11
|
+
return this._client.get('/v1/health', options);
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Verify that the provided access key is valid
|
|
15
|
+
*/
|
|
16
|
+
verifyAccessKey(options) {
|
|
17
|
+
return this._client.get('/v1/health/auth', options);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
exports.Health = Health;
|
|
21
|
+
//# sourceMappingURL=health.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"health.js","sourceRoot":"","sources":["../src/resources/health.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C,MAAa,MAAO,SAAQ,sBAAW;IACrC;;OAEG;IACH,KAAK,CAAC,OAAwB;QAC5B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,YAAY,EAAE,OAAO,CAAC,CAAC;IACjD,CAAC;IAED;;OAEG;IACH,eAAe,CAAC,OAAwB;QACtC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,iBAAiB,EAAE,OAAO,CAAC,CAAC;IACtD,CAAC;CACF;AAdD,wBAcC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../core/resource.mjs";
|
|
3
|
+
export class Health extends APIResource {
|
|
4
|
+
/**
|
|
5
|
+
* Health check
|
|
6
|
+
*/
|
|
7
|
+
check(options) {
|
|
8
|
+
return this._client.get('/v1/health', options);
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Verify that the provided access key is valid
|
|
12
|
+
*/
|
|
13
|
+
verifyAccessKey(options) {
|
|
14
|
+
return this._client.get('/v1/health/auth', options);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=health.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"health.mjs","sourceRoot":"","sources":["../src/resources/health.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAItB,MAAM,OAAO,MAAO,SAAQ,WAAW;IACrC;;OAEG;IACH,KAAK,CAAC,OAAwB;QAC5B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,YAAY,EAAE,OAAO,CAAC,CAAC;IACjD,CAAC;IAED;;OAEG;IACH,eAAe,CAAC,OAAwB;QACtC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,iBAAiB,EAAE,OAAO,CAAC,CAAC;IACtD,CAAC;CACF"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { Connect, type ConnectGetOAuthURLResponse, type ConnectGetOAuthURLParams } from "./connect/connect.mjs";
|
|
2
|
+
export { Health, type HealthCheckResponse, type HealthVerifyAccessKeyResponse } from "./health.mjs";
|
|
3
|
+
export { Media, type MediaUploadResponse, type MediaUploadParams } from "./media.mjs";
|
|
4
|
+
export { Platforms, type PlatformListResponse } from "./platforms.mjs";
|
|
5
|
+
export { Posts, type PostSummary, type Status, type PostCreateResponse, type PostRetrieveResponse, type PostListResponse, type PostDeleteResponse, type PostCreateParams, type PostListParams, } from "./posts/posts.mjs";
|
|
6
|
+
//# sourceMappingURL=index.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EAAE,OAAO,EAAE,KAAK,0BAA0B,EAAE,KAAK,wBAAwB,EAAE;OAC3E,EAAE,MAAM,EAAE,KAAK,mBAAmB,EAAE,KAAK,6BAA6B,EAAE;OACxE,EAAE,KAAK,EAAE,KAAK,mBAAmB,EAAE,KAAK,iBAAiB,EAAE;OAC3D,EAAE,SAAS,EAAE,KAAK,oBAAoB,EAAE;OACxC,EACL,KAAK,EACL,KAAK,WAAW,EAChB,KAAK,MAAM,EACX,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,cAAc,GACpB"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { Connect, type ConnectGetOAuthURLResponse, type ConnectGetOAuthURLParams } from "./connect/connect.js";
|
|
2
|
+
export { Health, type HealthCheckResponse, type HealthVerifyAccessKeyResponse } from "./health.js";
|
|
3
|
+
export { Media, type MediaUploadResponse, type MediaUploadParams } from "./media.js";
|
|
4
|
+
export { Platforms, type PlatformListResponse } from "./platforms.js";
|
|
5
|
+
export { Posts, type PostSummary, type Status, type PostCreateResponse, type PostRetrieveResponse, type PostListResponse, type PostDeleteResponse, type PostCreateParams, type PostListParams, } from "./posts/posts.js";
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EAAE,OAAO,EAAE,KAAK,0BAA0B,EAAE,KAAK,wBAAwB,EAAE;OAC3E,EAAE,MAAM,EAAE,KAAK,mBAAmB,EAAE,KAAK,6BAA6B,EAAE;OACxE,EAAE,KAAK,EAAE,KAAK,mBAAmB,EAAE,KAAK,iBAAiB,EAAE;OAC3D,EAAE,SAAS,EAAE,KAAK,oBAAoB,EAAE;OACxC,EACL,KAAK,EACL,KAAK,WAAW,EAChB,KAAK,MAAM,EACX,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,cAAc,GACpB"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Posts = exports.Platforms = exports.Media = exports.Health = exports.Connect = void 0;
|
|
5
|
+
var connect_1 = require("./connect/connect.js");
|
|
6
|
+
Object.defineProperty(exports, "Connect", { enumerable: true, get: function () { return connect_1.Connect; } });
|
|
7
|
+
var health_1 = require("./health.js");
|
|
8
|
+
Object.defineProperty(exports, "Health", { enumerable: true, get: function () { return health_1.Health; } });
|
|
9
|
+
var media_1 = require("./media.js");
|
|
10
|
+
Object.defineProperty(exports, "Media", { enumerable: true, get: function () { return media_1.Media; } });
|
|
11
|
+
var platforms_1 = require("./platforms.js");
|
|
12
|
+
Object.defineProperty(exports, "Platforms", { enumerable: true, get: function () { return platforms_1.Platforms; } });
|
|
13
|
+
var posts_1 = require("./posts/posts.js");
|
|
14
|
+
Object.defineProperty(exports, "Posts", { enumerable: true, get: function () { return posts_1.Posts; } });
|
|
15
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,gDAA4G;AAAnG,kGAAA,OAAO,OAAA;AAChB,sCAAgG;AAAvF,gGAAA,MAAM,OAAA;AACf,oCAAkF;AAAzE,8FAAA,KAAK,OAAA;AACd,4CAAmE;AAA1D,sGAAA,SAAS,OAAA;AAClB,0CAUuB;AATrB,8FAAA,KAAK,OAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
export { Connect } from "./connect/connect.mjs";
|
|
3
|
+
export { Health } from "./health.mjs";
|
|
4
|
+
export { Media } from "./media.mjs";
|
|
5
|
+
export { Platforms } from "./platforms.mjs";
|
|
6
|
+
export { Posts, } from "./posts/posts.mjs";
|
|
7
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,OAAO,EAAkE;OAC3E,EAAE,MAAM,EAAgE;OACxE,EAAE,KAAK,EAAoD;OAC3D,EAAE,SAAS,EAA6B;OACxC,EACL,KAAK,GASN"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.mjs";
|
|
2
|
+
import { APIPromise } from "../core/api-promise.mjs";
|
|
3
|
+
import { RequestOptions } from "../internal/request-options.mjs";
|
|
4
|
+
export declare class Media extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Get a presigned S3 URL to upload a media file
|
|
7
|
+
*/
|
|
8
|
+
upload(body: MediaUploadParams, options?: RequestOptions): APIPromise<MediaUploadResponse>;
|
|
9
|
+
}
|
|
10
|
+
export interface MediaUploadResponse {
|
|
11
|
+
data: MediaUploadResponse.Data;
|
|
12
|
+
success: boolean;
|
|
13
|
+
}
|
|
14
|
+
export declare namespace MediaUploadResponse {
|
|
15
|
+
interface Data {
|
|
16
|
+
publicUrl: string;
|
|
17
|
+
uploadUrl: string;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
export interface MediaUploadParams {
|
|
21
|
+
filename: string;
|
|
22
|
+
mimeType: string;
|
|
23
|
+
}
|
|
24
|
+
export declare namespace Media {
|
|
25
|
+
export { type MediaUploadResponse as MediaUploadResponse, type MediaUploadParams as MediaUploadParams };
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=media.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"media.d.mts","sourceRoot":"","sources":["../src/resources/media.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,KAAM,SAAQ,WAAW;IACpC;;OAEG;IACH,MAAM,CAAC,IAAI,EAAE,iBAAiB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,mBAAmB,CAAC;CAG3F;AAED,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,mBAAmB,CAAC,IAAI,CAAC;IAE/B,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,yBAAiB,mBAAmB,CAAC;IACnC,UAAiB,IAAI;QACnB,SAAS,EAAE,MAAM,CAAC;QAElB,SAAS,EAAE,MAAM,CAAC;KACnB;CACF;AAED,MAAM,WAAW,iBAAiB;IAChC,QAAQ,EAAE,MAAM,CAAC;IAEjB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EAAE,KAAK,mBAAmB,IAAI,mBAAmB,EAAE,KAAK,iBAAiB,IAAI,iBAAiB,EAAE,CAAC;CACzG"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.js";
|
|
2
|
+
import { APIPromise } from "../core/api-promise.js";
|
|
3
|
+
import { RequestOptions } from "../internal/request-options.js";
|
|
4
|
+
export declare class Media extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Get a presigned S3 URL to upload a media file
|
|
7
|
+
*/
|
|
8
|
+
upload(body: MediaUploadParams, options?: RequestOptions): APIPromise<MediaUploadResponse>;
|
|
9
|
+
}
|
|
10
|
+
export interface MediaUploadResponse {
|
|
11
|
+
data: MediaUploadResponse.Data;
|
|
12
|
+
success: boolean;
|
|
13
|
+
}
|
|
14
|
+
export declare namespace MediaUploadResponse {
|
|
15
|
+
interface Data {
|
|
16
|
+
publicUrl: string;
|
|
17
|
+
uploadUrl: string;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
export interface MediaUploadParams {
|
|
21
|
+
filename: string;
|
|
22
|
+
mimeType: string;
|
|
23
|
+
}
|
|
24
|
+
export declare namespace Media {
|
|
25
|
+
export { type MediaUploadResponse as MediaUploadResponse, type MediaUploadParams as MediaUploadParams };
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=media.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"media.d.ts","sourceRoot":"","sources":["../src/resources/media.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,KAAM,SAAQ,WAAW;IACpC;;OAEG;IACH,MAAM,CAAC,IAAI,EAAE,iBAAiB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,mBAAmB,CAAC;CAG3F;AAED,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,mBAAmB,CAAC,IAAI,CAAC;IAE/B,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,yBAAiB,mBAAmB,CAAC;IACnC,UAAiB,IAAI;QACnB,SAAS,EAAE,MAAM,CAAC;QAElB,SAAS,EAAE,MAAM,CAAC;KACnB;CACF;AAED,MAAM,WAAW,iBAAiB;IAChC,QAAQ,EAAE,MAAM,CAAC;IAEjB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EAAE,KAAK,mBAAmB,IAAI,mBAAmB,EAAE,KAAK,iBAAiB,IAAI,iBAAiB,EAAE,CAAC;CACzG"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Media = void 0;
|
|
5
|
+
const resource_1 = require("../core/resource.js");
|
|
6
|
+
class Media extends resource_1.APIResource {
|
|
7
|
+
/**
|
|
8
|
+
* Get a presigned S3 URL to upload a media file
|
|
9
|
+
*/
|
|
10
|
+
upload(body, options) {
|
|
11
|
+
return this._client.post('/v1/media/upload', { body, ...options });
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
exports.Media = Media;
|
|
15
|
+
//# sourceMappingURL=media.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"media.js","sourceRoot":"","sources":["../src/resources/media.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C,MAAa,KAAM,SAAQ,sBAAW;IACpC;;OAEG;IACH,MAAM,CAAC,IAAuB,EAAE,OAAwB;QACtD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,kBAAkB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrE,CAAC;CACF;AAPD,sBAOC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../core/resource.mjs";
|
|
3
|
+
export class Media extends APIResource {
|
|
4
|
+
/**
|
|
5
|
+
* Get a presigned S3 URL to upload a media file
|
|
6
|
+
*/
|
|
7
|
+
upload(body, options) {
|
|
8
|
+
return this._client.post('/v1/media/upload', { body, ...options });
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=media.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"media.mjs","sourceRoot":"","sources":["../src/resources/media.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAItB,MAAM,OAAO,KAAM,SAAQ,WAAW;IACpC;;OAEG;IACH,MAAM,CAAC,IAAuB,EAAE,OAAwB;QACtD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,kBAAkB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrE,CAAC;CACF"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.mjs";
|
|
2
|
+
import { APIPromise } from "../core/api-promise.mjs";
|
|
3
|
+
import { RequestOptions } from "../internal/request-options.mjs";
|
|
4
|
+
export declare class Platforms extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* List available platforms and their status
|
|
7
|
+
*/
|
|
8
|
+
list(options?: RequestOptions): APIPromise<PlatformListResponse>;
|
|
9
|
+
}
|
|
10
|
+
export interface PlatformListResponse {
|
|
11
|
+
platforms: Array<PlatformListResponse.Platform>;
|
|
12
|
+
}
|
|
13
|
+
export declare namespace PlatformListResponse {
|
|
14
|
+
interface Platform {
|
|
15
|
+
name: 'twitter' | 'instagram' | 'youtube' | 'tiktok' | 'pinterest' | 'linkedin';
|
|
16
|
+
status: 'prod' | 'beta' | 'dev';
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
export declare namespace Platforms {
|
|
20
|
+
export { type PlatformListResponse as PlatformListResponse };
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=platforms.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"platforms.d.mts","sourceRoot":"","sources":["../src/resources/platforms.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,SAAU,SAAQ,WAAW;IACxC;;OAEG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,oBAAoB,CAAC;CAGjE;AAED,MAAM,WAAW,oBAAoB;IACnC,SAAS,EAAE,KAAK,CAAC,oBAAoB,CAAC,QAAQ,CAAC,CAAC;CACjD;AAED,yBAAiB,oBAAoB,CAAC;IACpC,UAAiB,QAAQ;QACvB,IAAI,EAAE,SAAS,GAAG,WAAW,GAAG,SAAS,GAAG,QAAQ,GAAG,WAAW,GAAG,UAAU,CAAC;QAEhF,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,KAAK,CAAC;KACjC;CACF;AAED,MAAM,CAAC,OAAO,WAAW,SAAS,CAAC;IACjC,OAAO,EAAE,KAAK,oBAAoB,IAAI,oBAAoB,EAAE,CAAC;CAC9D"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.js";
|
|
2
|
+
import { APIPromise } from "../core/api-promise.js";
|
|
3
|
+
import { RequestOptions } from "../internal/request-options.js";
|
|
4
|
+
export declare class Platforms extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* List available platforms and their status
|
|
7
|
+
*/
|
|
8
|
+
list(options?: RequestOptions): APIPromise<PlatformListResponse>;
|
|
9
|
+
}
|
|
10
|
+
export interface PlatformListResponse {
|
|
11
|
+
platforms: Array<PlatformListResponse.Platform>;
|
|
12
|
+
}
|
|
13
|
+
export declare namespace PlatformListResponse {
|
|
14
|
+
interface Platform {
|
|
15
|
+
name: 'twitter' | 'instagram' | 'youtube' | 'tiktok' | 'pinterest' | 'linkedin';
|
|
16
|
+
status: 'prod' | 'beta' | 'dev';
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
export declare namespace Platforms {
|
|
20
|
+
export { type PlatformListResponse as PlatformListResponse };
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=platforms.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"platforms.d.ts","sourceRoot":"","sources":["../src/resources/platforms.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,SAAU,SAAQ,WAAW;IACxC;;OAEG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,oBAAoB,CAAC;CAGjE;AAED,MAAM,WAAW,oBAAoB;IACnC,SAAS,EAAE,KAAK,CAAC,oBAAoB,CAAC,QAAQ,CAAC,CAAC;CACjD;AAED,yBAAiB,oBAAoB,CAAC;IACpC,UAAiB,QAAQ;QACvB,IAAI,EAAE,SAAS,GAAG,WAAW,GAAG,SAAS,GAAG,QAAQ,GAAG,WAAW,GAAG,UAAU,CAAC;QAEhF,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,KAAK,CAAC;KACjC;CACF;AAED,MAAM,CAAC,OAAO,WAAW,SAAS,CAAC;IACjC,OAAO,EAAE,KAAK,oBAAoB,IAAI,oBAAoB,EAAE,CAAC;CAC9D"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Platforms = void 0;
|
|
5
|
+
const resource_1 = require("../core/resource.js");
|
|
6
|
+
class Platforms extends resource_1.APIResource {
|
|
7
|
+
/**
|
|
8
|
+
* List available platforms and their status
|
|
9
|
+
*/
|
|
10
|
+
list(options) {
|
|
11
|
+
return this._client.get('/v1/platforms', options);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
exports.Platforms = Platforms;
|
|
15
|
+
//# sourceMappingURL=platforms.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"platforms.js","sourceRoot":"","sources":["../src/resources/platforms.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C,MAAa,SAAU,SAAQ,sBAAW;IACxC;;OAEG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,eAAe,EAAE,OAAO,CAAC,CAAC;IACpD,CAAC;CACF;AAPD,8BAOC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../core/resource.mjs";
|
|
3
|
+
export class Platforms extends APIResource {
|
|
4
|
+
/**
|
|
5
|
+
* List available platforms and their status
|
|
6
|
+
*/
|
|
7
|
+
list(options) {
|
|
8
|
+
return this._client.get('/v1/platforms', options);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=platforms.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"platforms.mjs","sourceRoot":"","sources":["../src/resources/platforms.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAItB,MAAM,OAAO,SAAU,SAAQ,WAAW;IACxC;;OAEG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,eAAe,EAAE,OAAO,CAAC,CAAC;IACpD,CAAC;CACF"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { Posts, type PostSummary, type Status, type PostCreateResponse, type PostRetrieveResponse, type PostListResponse, type PostDeleteResponse, type PostCreateParams, type PostListParams, } from "./posts.mjs";
|
|
2
|
+
export { Scheduled, type ScheduledListResponse, type ScheduledCancelResponse, type ScheduledRescheduleResponse, type ScheduledRescheduleParams, } from "./scheduled.mjs";
|
|
3
|
+
//# sourceMappingURL=index.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/posts/index.ts"],"names":[],"mappings":"OAEO,EACL,KAAK,EACL,KAAK,WAAW,EAChB,KAAK,MAAM,EACX,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,cAAc,GACpB;OACM,EACL,SAAS,EACT,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,2BAA2B,EAChC,KAAK,yBAAyB,GAC/B"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { Posts, type PostSummary, type Status, type PostCreateResponse, type PostRetrieveResponse, type PostListResponse, type PostDeleteResponse, type PostCreateParams, type PostListParams, } from "./posts.js";
|
|
2
|
+
export { Scheduled, type ScheduledListResponse, type ScheduledCancelResponse, type ScheduledRescheduleResponse, type ScheduledRescheduleParams, } from "./scheduled.js";
|
|
3
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/posts/index.ts"],"names":[],"mappings":"OAEO,EACL,KAAK,EACL,KAAK,WAAW,EAChB,KAAK,MAAM,EACX,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,cAAc,GACpB;OACM,EACL,SAAS,EACT,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,2BAA2B,EAChC,KAAK,yBAAyB,GAC/B"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Scheduled = exports.Posts = void 0;
|
|
5
|
+
var posts_1 = require("./posts.js");
|
|
6
|
+
Object.defineProperty(exports, "Posts", { enumerable: true, get: function () { return posts_1.Posts; } });
|
|
7
|
+
var scheduled_1 = require("./scheduled.js");
|
|
8
|
+
Object.defineProperty(exports, "Scheduled", { enumerable: true, get: function () { return scheduled_1.Scheduled; } });
|
|
9
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/posts/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,oCAUiB;AATf,8FAAA,KAAK,OAAA;AAUP,4CAMqB;AALnB,sGAAA,SAAS,OAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/posts/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,KAAK,GASN;OACM,EACL,SAAS,GAKV"}
|