@postpeer/node 0.5.0 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +48 -0
- package/api-promise.d.mts +1 -0
- package/api-promise.d.mts.map +1 -1
- package/api-promise.d.ts +1 -0
- package/api-promise.d.ts.map +1 -1
- package/api-promise.js.map +1 -1
- package/api-promise.mjs +1 -0
- package/api-promise.mjs.map +1 -1
- package/client.d.mts +5 -5
- package/client.d.mts.map +1 -1
- package/client.d.ts +5 -5
- package/client.d.ts.map +1 -1
- package/client.js +75 -19
- package/client.js.map +1 -1
- package/client.mjs +77 -21
- package/client.mjs.map +1 -1
- package/core/api-promise.d.mts.map +1 -1
- package/core/api-promise.d.ts.map +1 -1
- package/core/api-promise.js.map +1 -1
- package/core/api-promise.mjs.map +1 -1
- package/core/error.d.mts.map +1 -1
- package/core/error.d.ts.map +1 -1
- package/core/error.js +2 -2
- package/core/error.js.map +1 -1
- package/core/error.mjs +2 -2
- package/core/error.mjs.map +1 -1
- package/core/resource.d.mts.map +1 -1
- package/core/resource.d.ts.map +1 -1
- package/core/uploads.d.mts.map +1 -1
- package/core/uploads.d.ts.map +1 -1
- package/core/uploads.mjs.map +1 -1
- package/error.d.mts +1 -0
- package/error.d.mts.map +1 -1
- package/error.d.ts +1 -0
- package/error.d.ts.map +1 -1
- package/error.js.map +1 -1
- package/error.mjs +1 -0
- package/error.mjs.map +1 -1
- package/index.d.mts +1 -1
- package/index.d.mts.map +1 -1
- package/index.d.ts +1 -1
- package/index.d.ts.map +1 -1
- package/index.js.map +1 -1
- package/index.mjs +1 -1
- package/index.mjs.map +1 -1
- package/internal/builtin-types.d.mts +5 -5
- package/internal/builtin-types.d.mts.map +1 -1
- package/internal/builtin-types.d.ts +5 -5
- package/internal/builtin-types.d.ts.map +1 -1
- package/internal/detect-platform.d.mts.map +1 -1
- package/internal/detect-platform.d.ts.map +1 -1
- package/internal/detect-platform.js.map +1 -1
- package/internal/detect-platform.mjs.map +1 -1
- package/internal/errors.js +6 -5
- package/internal/errors.js.map +1 -1
- package/internal/errors.mjs +6 -5
- package/internal/errors.mjs.map +1 -1
- package/internal/headers.js +2 -2
- package/internal/headers.js.map +1 -1
- package/internal/headers.mjs +2 -2
- package/internal/headers.mjs.map +1 -1
- package/internal/parse.d.mts.map +1 -1
- package/internal/parse.d.ts.map +1 -1
- package/internal/parse.js +7 -1
- package/internal/parse.js.map +1 -1
- package/internal/parse.mjs +7 -1
- package/internal/parse.mjs.map +1 -1
- package/internal/qs/formats.d.mts.map +1 -1
- package/internal/qs/formats.d.ts.map +1 -1
- package/internal/qs/index.d.mts +2 -2
- package/internal/qs/index.d.mts.map +1 -1
- package/internal/qs/index.d.ts +2 -2
- package/internal/qs/index.d.ts.map +1 -1
- package/internal/qs/index.mjs.map +1 -1
- package/internal/qs/stringify.d.mts.map +1 -1
- package/internal/qs/stringify.d.ts.map +1 -1
- package/internal/qs/stringify.mjs.map +1 -1
- package/internal/qs/utils.d.mts.map +1 -1
- package/internal/qs/utils.d.ts.map +1 -1
- package/internal/qs/utils.js +1 -2
- package/internal/qs/utils.js.map +1 -1
- package/internal/qs/utils.mjs +1 -2
- package/internal/qs/utils.mjs.map +1 -1
- package/internal/request-options.d.mts.map +1 -1
- package/internal/request-options.d.ts.map +1 -1
- package/internal/request-options.js.map +1 -1
- package/internal/request-options.mjs.map +1 -1
- package/internal/shim-types.d.mts.map +1 -1
- package/internal/shim-types.d.ts.map +1 -1
- package/internal/shims.d.mts +6 -0
- package/internal/shims.d.mts.map +1 -1
- package/internal/shims.d.ts +6 -0
- package/internal/shims.d.ts.map +1 -1
- package/internal/shims.js.map +1 -1
- package/internal/shims.mjs.map +1 -1
- package/internal/to-file.d.mts.map +1 -1
- package/internal/to-file.d.ts.map +1 -1
- package/internal/to-file.js.map +1 -1
- package/internal/to-file.mjs.map +1 -1
- package/internal/types.d.mts +17 -11
- package/internal/types.d.mts.map +1 -1
- package/internal/types.d.ts +17 -11
- package/internal/types.d.ts.map +1 -1
- package/internal/uploads.d.mts.map +1 -1
- package/internal/uploads.d.ts.map +1 -1
- package/internal/uploads.mjs.map +1 -1
- package/internal/utils/base64.mjs.map +1 -1
- package/internal/utils/log.d.mts.map +1 -1
- package/internal/utils/log.d.ts.map +1 -1
- package/internal/utils/log.js +11 -2
- package/internal/utils/log.js.map +1 -1
- package/internal/utils/log.mjs +11 -2
- package/internal/utils/log.mjs.map +1 -1
- package/internal/utils/path.mjs.map +1 -1
- package/internal/utils/query.js.map +1 -1
- package/internal/utils/query.mjs.map +1 -1
- package/internal/utils/uuid.d.mts.map +1 -1
- package/internal/utils/uuid.d.ts.map +1 -1
- package/internal/utils/uuid.js +2 -4
- package/internal/utils/uuid.js.map +1 -1
- package/internal/utils/uuid.mjs +2 -4
- package/internal/utils/uuid.mjs.map +1 -1
- package/internal/utils/values.mjs.map +1 -1
- package/internal/utils.d.mts.map +1 -1
- package/internal/utils.d.ts.map +1 -1
- package/internal/utils.mjs.map +1 -1
- package/package.json +1 -1
- package/resource.d.mts +1 -0
- package/resource.d.mts.map +1 -1
- package/resource.d.ts +1 -0
- package/resource.d.ts.map +1 -1
- package/resource.js.map +1 -1
- package/resource.mjs +1 -0
- package/resource.mjs.map +1 -1
- package/resources/connect/connect.d.mts +9 -4
- package/resources/connect/connect.d.mts.map +1 -1
- package/resources/connect/connect.d.ts +9 -4
- package/resources/connect/connect.d.ts.map +1 -1
- package/resources/connect/connect.js.map +1 -1
- package/resources/connect/connect.mjs +1 -1
- package/resources/connect/connect.mjs.map +1 -1
- package/resources/connect/index.d.mts +1 -1
- package/resources/connect/index.d.mts.map +1 -1
- package/resources/connect/index.d.ts +1 -1
- package/resources/connect/index.d.ts.map +1 -1
- package/resources/connect/index.js +0 -2
- package/resources/connect/index.js.map +1 -1
- package/resources/connect/index.mjs +1 -3
- package/resources/connect/index.mjs.map +1 -1
- package/resources/connect/integrations.d.mts +35 -4
- package/resources/connect/integrations.d.mts.map +1 -1
- package/resources/connect/integrations.d.ts +35 -4
- package/resources/connect/integrations.d.ts.map +1 -1
- package/resources/connect/integrations.js +3 -3
- package/resources/connect/integrations.js.map +1 -1
- package/resources/connect/integrations.mjs +3 -3
- package/resources/connect/integrations.mjs.map +1 -1
- package/resources/connect.d.mts.map +1 -1
- package/resources/connect.d.ts.map +1 -1
- package/resources/connect.mjs.map +1 -1
- package/resources/health.d.mts +1 -1
- package/resources/health.d.mts.map +1 -1
- package/resources/health.d.ts +1 -1
- package/resources/health.d.ts.map +1 -1
- package/resources/health.mjs.map +1 -1
- package/resources/index.d.mts +1 -1
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +1 -1
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +0 -5
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -6
- package/resources/index.mjs.map +1 -1
- package/resources/media.d.mts.map +1 -1
- package/resources/media.d.ts.map +1 -1
- package/resources/media.mjs.map +1 -1
- package/resources/platforms.d.mts +1 -1
- package/resources/platforms.d.mts.map +1 -1
- package/resources/platforms.d.ts +1 -1
- package/resources/platforms.d.ts.map +1 -1
- package/resources/platforms.mjs.map +1 -1
- package/resources/posts/index.d.mts +2 -2
- package/resources/posts/index.d.mts.map +1 -1
- package/resources/posts/index.d.ts +2 -2
- package/resources/posts/index.d.ts.map +1 -1
- package/resources/posts/index.js +0 -2
- package/resources/posts/index.js.map +1 -1
- package/resources/posts/index.mjs +2 -4
- package/resources/posts/index.mjs.map +1 -1
- package/resources/posts/posts.d.mts +36 -8
- package/resources/posts/posts.d.mts.map +1 -1
- package/resources/posts/posts.d.ts +36 -8
- package/resources/posts/posts.d.ts.map +1 -1
- package/resources/posts/posts.js.map +1 -1
- package/resources/posts/posts.mjs +1 -1
- package/resources/posts/posts.mjs.map +1 -1
- package/resources/posts/scheduled.d.mts +20 -4
- package/resources/posts/scheduled.d.mts.map +1 -1
- package/resources/posts/scheduled.d.ts +20 -4
- package/resources/posts/scheduled.d.ts.map +1 -1
- package/resources/posts/scheduled.js +4 -3
- package/resources/posts/scheduled.js.map +1 -1
- package/resources/posts/scheduled.mjs +4 -3
- package/resources/posts/scheduled.mjs.map +1 -1
- package/resources/posts.d.mts.map +1 -1
- package/resources/posts.d.ts.map +1 -1
- package/resources/posts.mjs.map +1 -1
- package/resources.d.mts.map +1 -1
- package/resources.d.ts.map +1 -1
- package/resources.mjs.map +1 -1
- package/src/api-promise.ts +1 -1
- package/src/client.ts +180 -79
- package/src/core/api-promise.ts +7 -2
- package/src/core/error.ts +22 -24
- package/src/error.ts +1 -1
- package/src/index.ts +15 -1
- package/src/internal/builtin-types.ts +14 -9
- package/src/internal/detect-platform.ts +5 -1
- package/src/internal/errors.ts +7 -7
- package/src/internal/headers.ts +2 -2
- package/src/internal/parse.ts +10 -2
- package/src/internal/qs/utils.ts +1 -4
- package/src/internal/request-options.ts +1 -5
- package/src/internal/shim-types.ts +2 -2
- package/src/internal/shims.ts +3 -1
- package/src/internal/to-file.ts +7 -7
- package/src/internal/types.ts +20 -16
- package/src/internal/utils/log.ts +32 -8
- package/src/internal/utils/query.ts +1 -1
- package/src/internal/utils/uuid.ts +3 -5
- package/src/resource.ts +1 -1
- package/src/resources/connect/connect.ts +29 -4
- package/src/resources/connect/index.ts +7 -2
- package/src/resources/connect/integrations.ts +66 -5
- package/src/resources/health.ts +1 -1
- package/src/resources/index.ts +14 -5
- package/src/resources/media.ts +1 -4
- package/src/resources/platforms.ts +11 -4
- package/src/resources/posts/index.ts +18 -2
- package/src/resources/posts/posts.ts +102 -10
- package/src/resources/posts/scheduled.ts +43 -6
- package/src/uploads.ts +1 -1
- package/src/version.ts +1 -1
- package/uploads.d.mts +1 -0
- package/uploads.d.mts.map +1 -1
- package/uploads.d.ts +1 -0
- package/uploads.d.ts.map +1 -1
- package/uploads.js.map +1 -1
- package/uploads.mjs +1 -0
- package/uploads.mjs.map +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.js.map +1 -1
- package/version.mjs +1 -1
- package/version.mjs.map +1 -1
package/internal/utils/uuid.mjs
CHANGED
|
@@ -9,9 +9,7 @@ export let uuid4 = function () {
|
|
|
9
9
|
return crypto.randomUUID();
|
|
10
10
|
}
|
|
11
11
|
const u8 = new Uint8Array(1);
|
|
12
|
-
const randomByte = crypto
|
|
13
|
-
|
|
14
|
-
: () => (Math.random() * 0xff) & 0xff;
|
|
15
|
-
return "10000000-1000-4000-8000-100000000000".replace(/[018]/g, (c) => (+c ^ (randomByte() & (15 >> (+c / 4)))).toString(16));
|
|
12
|
+
const randomByte = crypto ? () => crypto.getRandomValues(u8)[0] : () => (Math.random() * 0xff) & 0xff;
|
|
13
|
+
return '10000000-1000-4000-8000-100000000000'.replace(/[018]/g, (c) => (+c ^ (randomByte() & (15 >> (+c / 4)))).toString(16));
|
|
16
14
|
};
|
|
17
15
|
//# sourceMappingURL=uuid.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"uuid.mjs","sourceRoot":"","sources":["../../src/internal/utils/uuid.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF;;GAEG;AACH,MAAM,CAAC,IAAI,KAAK,GAAG;IACjB,MAAM,EAAE,MAAM,EAAE,GAAG,UAAiB,CAAC;IACrC,IAAI,MAAM,EAAE,UAAU,EAAE,CAAC;QACvB,KAAK,GAAG,MAAM,CAAC,UAAU,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QACvC,OAAO,MAAM,CAAC,UAAU,EAAE,CAAC;IAC7B,CAAC;IACD,MAAM,EAAE,GAAG,IAAI,UAAU,CAAC,CAAC,CAAC,CAAC;IAC7B,MAAM,UAAU,GAAG,MAAM
|
|
1
|
+
{"version":3,"file":"uuid.mjs","sourceRoot":"","sources":["../../src/internal/utils/uuid.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF;;GAEG;AACH,MAAM,CAAC,IAAI,KAAK,GAAG;IACjB,MAAM,EAAE,MAAM,EAAE,GAAG,UAAiB,CAAC;IACrC,IAAI,MAAM,EAAE,UAAU,EAAE,CAAC;QACvB,KAAK,GAAG,MAAM,CAAC,UAAU,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QACvC,OAAO,MAAM,CAAC,UAAU,EAAE,CAAC;IAC7B,CAAC;IACD,MAAM,EAAE,GAAG,IAAI,UAAU,CAAC,CAAC,CAAC,CAAC;IAC7B,MAAM,UAAU,GAAG,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,eAAe,CAAC,EAAE,CAAC,CAAC,CAAC,CAAE,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,IAAI,CAAC,MAAM,EAAE,GAAG,IAAI,CAAC,GAAG,IAAI,CAAC;IACvG,OAAO,sCAAsC,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CACpE,CAAC,CAAC,CAAC,GAAG,CAAC,UAAU,EAAE,GAAG,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,EAAE,CAAC,CACtD,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"values.mjs","sourceRoot":"","sources":["../../src/internal/utils/values.ts"],"names":[],"mappings":"AAAA,sFAAsF;
|
|
1
|
+
{"version":3,"file":"values.mjs","sourceRoot":"","sources":["../../src/internal/utils/values.ts"],"names":[],"mappings":"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"}
|
package/internal/utils.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.mts","sourceRoot":"","sources":["../src/internal/utils.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"utils.d.mts","sourceRoot":"","sources":["../src/internal/utils.ts"],"names":[],"mappings":"AAEA,mCAA+B;AAC/B,mCAA+B;AAC/B,gCAA4B;AAC5B,gCAA4B;AAC5B,iCAA6B;AAC7B,kCAA8B;AAC9B,kCAA8B"}
|
package/internal/utils.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../src/internal/utils.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../src/internal/utils.ts"],"names":[],"mappings":"AAEA,kCAA+B;AAC/B,kCAA+B;AAC/B,+BAA4B;AAC5B,+BAA4B;AAC5B,gCAA6B;AAC7B,iCAA8B;AAC9B,iCAA8B"}
|
package/internal/utils.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.mjs","sourceRoot":"","sources":["../src/internal/utils.ts"],"names":[],"mappings":"AAAA,sFAAsF"}
|
|
1
|
+
{"version":3,"file":"utils.mjs","sourceRoot":"","sources":["../src/internal/utils.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,mCAA+B;AAC/B,mCAA+B;AAC/B,gCAA4B;AAC5B,gCAA4B;AAC5B,iCAA6B;AAC7B,kCAA8B;AAC9B,kCAA8B"}
|
package/package.json
CHANGED
package/resource.d.mts
CHANGED
package/resource.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resource.d.mts","sourceRoot":"","sources":["src/resource.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"resource.d.mts","sourceRoot":"","sources":["src/resource.ts"],"names":[],"mappings":"AAAA,sDAAsD;AACtD,oCAAgC"}
|
package/resource.d.ts
CHANGED
package/resource.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resource.d.ts","sourceRoot":"","sources":["src/resource.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"resource.d.ts","sourceRoot":"","sources":["src/resource.ts"],"names":[],"mappings":"AAAA,sDAAsD;AACtD,mCAAgC"}
|
package/resource.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resource.js","sourceRoot":"","sources":["src/resource.ts"],"names":[],"mappings":";;;AAAA,sDAAsD;AACtD,
|
|
1
|
+
{"version":3,"file":"resource.js","sourceRoot":"","sources":["src/resource.ts"],"names":[],"mappings":";;;AAAA,sDAAsD;AACtD,6DAAgC"}
|
package/resource.mjs
CHANGED
package/resource.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resource.mjs","sourceRoot":"","sources":["src/resource.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"resource.mjs","sourceRoot":"","sources":["src/resource.ts"],"names":[],"mappings":"AAAA,sDAAsD;AACtD,oCAAgC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { APIResource } from "../../core/resource.mjs";
|
|
2
2
|
import * as IntegrationsAPI from "./integrations.mjs";
|
|
3
|
-
import { IntegrationDisconnectResponse, IntegrationListResponse, Integrations } from "./integrations.mjs";
|
|
3
|
+
import { IntegrationDisconnectResponse, IntegrationListParams, IntegrationListResponse, Integrations } from "./integrations.mjs";
|
|
4
4
|
import { APIPromise } from "../../core/api-promise.mjs";
|
|
5
5
|
import { RequestOptions } from "../../internal/request-options.mjs";
|
|
6
6
|
export declare class Connect extends APIResource {
|
|
@@ -8,19 +8,24 @@ export declare class Connect extends APIResource {
|
|
|
8
8
|
/**
|
|
9
9
|
* Get OAuth URL for a platform
|
|
10
10
|
*/
|
|
11
|
-
getOAuthURL(platform: 'twitter' | 'instagram' | 'youtube' | 'tiktok' | 'pinterest' | 'linkedin', query?: ConnectGetOAuthURLParams | null | undefined, options?: RequestOptions): APIPromise<ConnectGetOAuthURLResponse>;
|
|
11
|
+
getOAuthURL(platform: 'twitter' | 'instagram' | 'youtube' | 'tiktok' | 'pinterest' | 'linkedin' | 'bluesky' | 'facebook' | 'threads', query?: ConnectGetOAuthURLParams | null | undefined, options?: RequestOptions): APIPromise<ConnectGetOAuthURLResponse>;
|
|
12
12
|
}
|
|
13
13
|
export interface ConnectGetOAuthURLResponse {
|
|
14
14
|
url: string;
|
|
15
15
|
}
|
|
16
16
|
export interface ConnectGetOAuthURLParams {
|
|
17
|
+
/**
|
|
18
|
+
* Profile to associate the resulting integration with. Must belong to the same
|
|
19
|
+
* project. Omit to connect without a profile.
|
|
20
|
+
*/
|
|
21
|
+
profileId?: string;
|
|
17
22
|
/**
|
|
18
23
|
* URL to redirect to after a successful connection
|
|
19
24
|
*/
|
|
20
25
|
redirectUri?: string;
|
|
21
26
|
}
|
|
22
27
|
export declare namespace Connect {
|
|
23
|
-
export { type ConnectGetOAuthURLResponse as ConnectGetOAuthURLResponse, type ConnectGetOAuthURLParams as ConnectGetOAuthURLParams };
|
|
24
|
-
export { Integrations as Integrations, type IntegrationListResponse as IntegrationListResponse, type IntegrationDisconnectResponse as IntegrationDisconnectResponse };
|
|
28
|
+
export { type ConnectGetOAuthURLResponse as ConnectGetOAuthURLResponse, type ConnectGetOAuthURLParams as ConnectGetOAuthURLParams, };
|
|
29
|
+
export { Integrations as Integrations, type IntegrationListResponse as IntegrationListResponse, type IntegrationDisconnectResponse as IntegrationDisconnectResponse, type IntegrationListParams as IntegrationListParams, };
|
|
25
30
|
}
|
|
26
31
|
//# sourceMappingURL=connect.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connect.d.mts","sourceRoot":"","sources":["../../src/resources/connect/connect.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"connect.d.mts","sourceRoot":"","sources":["../../src/resources/connect/connect.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,eAAe,2BAAuB;AAClD,OAAO,EACL,6BAA6B,EAC7B,qBAAqB,EACrB,uBAAuB,EACvB,YAAY,EACb,2BAAuB;AACxB,OAAO,EAAE,UAAU,EAAE,mCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAGhE,qBAAa,OAAQ,SAAQ,WAAW;IACtC,YAAY,EAAE,eAAe,CAAC,YAAY,CAAkD;IAE5F;;OAEG;IACH,WAAW,CACT,QAAQ,EACJ,SAAS,GACT,WAAW,GACX,SAAS,GACT,QAAQ,GACR,WAAW,GACX,UAAU,GACV,SAAS,GACT,UAAU,GACV,SAAS,EACb,KAAK,GAAE,wBAAwB,GAAG,IAAI,GAAG,SAAc,EACvD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,0BAA0B,CAAC;CAG1C;AAED,MAAM,WAAW,0BAA0B;IACzC,GAAG,EAAE,MAAM,CAAC;CACb;AAED,MAAM,WAAW,wBAAwB;IACvC;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAID,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;IAEF,OAAO,EACL,YAAY,IAAI,YAAY,EAC5B,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,qBAAqB,IAAI,qBAAqB,GACpD,CAAC;CACH"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { APIResource } from "../../core/resource.js";
|
|
2
2
|
import * as IntegrationsAPI from "./integrations.js";
|
|
3
|
-
import { IntegrationDisconnectResponse, IntegrationListResponse, Integrations } from "./integrations.js";
|
|
3
|
+
import { IntegrationDisconnectResponse, IntegrationListParams, IntegrationListResponse, Integrations } from "./integrations.js";
|
|
4
4
|
import { APIPromise } from "../../core/api-promise.js";
|
|
5
5
|
import { RequestOptions } from "../../internal/request-options.js";
|
|
6
6
|
export declare class Connect extends APIResource {
|
|
@@ -8,19 +8,24 @@ export declare class Connect extends APIResource {
|
|
|
8
8
|
/**
|
|
9
9
|
* Get OAuth URL for a platform
|
|
10
10
|
*/
|
|
11
|
-
getOAuthURL(platform: 'twitter' | 'instagram' | 'youtube' | 'tiktok' | 'pinterest' | 'linkedin', query?: ConnectGetOAuthURLParams | null | undefined, options?: RequestOptions): APIPromise<ConnectGetOAuthURLResponse>;
|
|
11
|
+
getOAuthURL(platform: 'twitter' | 'instagram' | 'youtube' | 'tiktok' | 'pinterest' | 'linkedin' | 'bluesky' | 'facebook' | 'threads', query?: ConnectGetOAuthURLParams | null | undefined, options?: RequestOptions): APIPromise<ConnectGetOAuthURLResponse>;
|
|
12
12
|
}
|
|
13
13
|
export interface ConnectGetOAuthURLResponse {
|
|
14
14
|
url: string;
|
|
15
15
|
}
|
|
16
16
|
export interface ConnectGetOAuthURLParams {
|
|
17
|
+
/**
|
|
18
|
+
* Profile to associate the resulting integration with. Must belong to the same
|
|
19
|
+
* project. Omit to connect without a profile.
|
|
20
|
+
*/
|
|
21
|
+
profileId?: string;
|
|
17
22
|
/**
|
|
18
23
|
* URL to redirect to after a successful connection
|
|
19
24
|
*/
|
|
20
25
|
redirectUri?: string;
|
|
21
26
|
}
|
|
22
27
|
export declare namespace Connect {
|
|
23
|
-
export { type ConnectGetOAuthURLResponse as ConnectGetOAuthURLResponse, type ConnectGetOAuthURLParams as ConnectGetOAuthURLParams };
|
|
24
|
-
export { Integrations as Integrations, type IntegrationListResponse as IntegrationListResponse, type IntegrationDisconnectResponse as IntegrationDisconnectResponse };
|
|
28
|
+
export { type ConnectGetOAuthURLResponse as ConnectGetOAuthURLResponse, type ConnectGetOAuthURLParams as ConnectGetOAuthURLParams, };
|
|
29
|
+
export { Integrations as Integrations, type IntegrationListResponse as IntegrationListResponse, type IntegrationDisconnectResponse as IntegrationDisconnectResponse, type IntegrationListParams as IntegrationListParams, };
|
|
25
30
|
}
|
|
26
31
|
//# sourceMappingURL=connect.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connect.d.ts","sourceRoot":"","sources":["../../src/resources/connect/connect.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"connect.d.ts","sourceRoot":"","sources":["../../src/resources/connect/connect.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,KAAK,eAAe,0BAAuB;AAClD,OAAO,EACL,6BAA6B,EAC7B,qBAAqB,EACrB,uBAAuB,EACvB,YAAY,EACb,0BAAuB;AACxB,OAAO,EAAE,UAAU,EAAE,kCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAGhE,qBAAa,OAAQ,SAAQ,WAAW;IACtC,YAAY,EAAE,eAAe,CAAC,YAAY,CAAkD;IAE5F;;OAEG;IACH,WAAW,CACT,QAAQ,EACJ,SAAS,GACT,WAAW,GACX,SAAS,GACT,QAAQ,GACR,WAAW,GACX,UAAU,GACV,SAAS,GACT,UAAU,GACV,SAAS,EACb,KAAK,GAAE,wBAAwB,GAAG,IAAI,GAAG,SAAc,EACvD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,0BAA0B,CAAC;CAG1C;AAED,MAAM,WAAW,0BAA0B;IACzC,GAAG,EAAE,MAAM,CAAC;CACb;AAED,MAAM,WAAW,wBAAwB;IACvC;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAID,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;IAEF,OAAO,EACL,YAAY,IAAI,YAAY,EAC5B,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,qBAAqB,IAAI,qBAAqB,GACpD,CAAC;CACH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connect.js","sourceRoot":"","sources":["../../src/resources/connect/connect.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,2EAAkD;AAClD,
|
|
1
|
+
{"version":3,"file":"connect.js","sourceRoot":"","sources":["../../src/resources/connect/connect.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,2EAAkD;AAClD,oDAKwB;AAGxB,uDAAiD;AAEjD,MAAa,OAAQ,SAAQ,sBAAW;IAAxC;;QACE,iBAAY,GAAiC,IAAI,eAAe,CAAC,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAqB9F,CAAC;IAnBC;;OAEG;IACH,WAAW,CACT,QASa,EACb,QAAqD,EAAE,EACvD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,eAAe,QAAQ,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChF,CAAC;CACF;AAtBD,0BAsBC;AAmBD,OAAO,CAAC,YAAY,GAAG,2BAAY,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
import { APIResource } from "../../core/resource.mjs";
|
|
3
3
|
import * as IntegrationsAPI from "./integrations.mjs";
|
|
4
|
-
import { Integrations } from "./integrations.mjs";
|
|
4
|
+
import { Integrations, } from "./integrations.mjs";
|
|
5
5
|
import { path } from "../../internal/utils/path.mjs";
|
|
6
6
|
export class Connect extends APIResource {
|
|
7
7
|
constructor() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connect.mjs","sourceRoot":"","sources":["../../src/resources/connect/connect.ts"],"names":[],"mappings":"AAAA,sFAAsF;
|
|
1
|
+
{"version":3,"file":"connect.mjs","sourceRoot":"","sources":["../../src/resources/connect/connect.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,eAAe,2BAAuB;AAClD,OAAO,EAIL,YAAY,GACb,2BAAuB;AAGxB,OAAO,EAAE,IAAI,EAAE,sCAAkC;AAEjD,MAAM,OAAO,OAAQ,SAAQ,WAAW;IAAxC;;QACE,iBAAY,GAAiC,IAAI,eAAe,CAAC,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAqB9F,CAAC;IAnBC;;OAEG;IACH,WAAW,CACT,QASa,EACb,QAAqD,EAAE,EACvD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,eAAe,QAAQ,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChF,CAAC;CACF;AAmBD,OAAO,CAAC,YAAY,GAAG,YAAY,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { Connect, type ConnectGetOAuthURLResponse, type ConnectGetOAuthURLParams } from "./connect.mjs";
|
|
2
|
-
export { Integrations, type IntegrationListResponse, type IntegrationDisconnectResponse } from "./integrations.mjs";
|
|
2
|
+
export { Integrations, type IntegrationListResponse, type IntegrationDisconnectResponse, type IntegrationListParams, } from "./integrations.mjs";
|
|
3
3
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/connect/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/connect/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,KAAK,0BAA0B,EAAE,KAAK,wBAAwB,EAAE,sBAAkB;AACpG,OAAO,EACL,YAAY,EACZ,KAAK,uBAAuB,EAC5B,KAAK,6BAA6B,EAClC,KAAK,qBAAqB,GAC3B,2BAAuB"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { Connect, type ConnectGetOAuthURLResponse, type ConnectGetOAuthURLParams } from "./connect.js";
|
|
2
|
-
export { Integrations, type IntegrationListResponse, type IntegrationDisconnectResponse } from "./integrations.js";
|
|
2
|
+
export { Integrations, type IntegrationListResponse, type IntegrationDisconnectResponse, type IntegrationListParams, } from "./integrations.js";
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/connect/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/connect/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,KAAK,0BAA0B,EAAE,KAAK,wBAAwB,EAAE,qBAAkB;AACpG,OAAO,EACL,YAAY,EACZ,KAAK,uBAAuB,EAC5B,KAAK,6BAA6B,EAClC,KAAK,qBAAqB,GAC3B,0BAAuB"}
|
|
@@ -4,8 +4,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
4
4
|
exports.Integrations = exports.Connect = void 0;
|
|
5
5
|
var connect_1 = require("./connect.js");
|
|
6
6
|
Object.defineProperty(exports, "Connect", { enumerable: true, get: function () { return connect_1.Connect; } });
|
|
7
|
-
;
|
|
8
7
|
var integrations_1 = require("./integrations.js");
|
|
9
8
|
Object.defineProperty(exports, "Integrations", { enumerable: true, get: function () { return integrations_1.Integrations; } });
|
|
10
|
-
;
|
|
11
9
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/connect/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wCAAoG;AAA3F,kGAAA,OAAO,OAAA;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/connect/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wCAAoG;AAA3F,kGAAA,OAAO,OAAA;AAChB,kDAKwB;AAJtB,4GAAA,YAAY,OAAA"}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
export { Connect } from "./connect.mjs";
|
|
3
|
-
;
|
|
4
|
-
export { Integrations } from "./integrations.mjs";
|
|
5
|
-
;
|
|
3
|
+
export { Integrations, } from "./integrations.mjs";
|
|
6
4
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/connect/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/connect/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,OAAO,EAAkE,sBAAkB;AACpG,OAAO,EACL,YAAY,GAIb,2BAAuB"}
|
|
@@ -3,9 +3,9 @@ import { APIPromise } from "../../core/api-promise.mjs";
|
|
|
3
3
|
import { RequestOptions } from "../../internal/request-options.mjs";
|
|
4
4
|
export declare class Integrations extends APIResource {
|
|
5
5
|
/**
|
|
6
|
-
* List
|
|
6
|
+
* List integrations connected to this project
|
|
7
7
|
*/
|
|
8
|
-
list(options?: RequestOptions): APIPromise<IntegrationListResponse>;
|
|
8
|
+
list(query?: IntegrationListParams | null | undefined, options?: RequestOptions): APIPromise<IntegrationListResponse>;
|
|
9
9
|
/**
|
|
10
10
|
* Disconnect a platform integration
|
|
11
11
|
*/
|
|
@@ -14,6 +14,10 @@ export declare class Integrations extends APIResource {
|
|
|
14
14
|
export interface IntegrationListResponse {
|
|
15
15
|
integrations: Array<IntegrationListResponse.Integration>;
|
|
16
16
|
success: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Total matched integrations across all pages
|
|
19
|
+
*/
|
|
20
|
+
total: number;
|
|
17
21
|
}
|
|
18
22
|
export declare namespace IntegrationListResponse {
|
|
19
23
|
interface Integration {
|
|
@@ -30,18 +34,45 @@ export declare namespace IntegrationListResponse {
|
|
|
30
34
|
* Profile image URL for the connected account, or null if unavailable
|
|
31
35
|
*/
|
|
32
36
|
imageUrl: string | null;
|
|
33
|
-
platform: 'twitter' | 'instagram' | 'youtube' | 'tiktok' | 'pinterest' | 'linkedin';
|
|
37
|
+
platform: 'twitter' | 'instagram' | 'youtube' | 'tiktok' | 'pinterest' | 'linkedin' | 'bluesky' | 'facebook' | 'threads';
|
|
34
38
|
/**
|
|
35
39
|
* The user ID on the platform, or null if not yet retrieved
|
|
36
40
|
*/
|
|
37
41
|
platformUserId: string | null;
|
|
42
|
+
/**
|
|
43
|
+
* Profile this integration belongs to, or null if it was connected without a
|
|
44
|
+
* profile
|
|
45
|
+
*/
|
|
46
|
+
profileId: string | null;
|
|
38
47
|
}
|
|
39
48
|
}
|
|
40
49
|
export interface IntegrationDisconnectResponse {
|
|
41
50
|
message: string;
|
|
42
51
|
success: boolean;
|
|
43
52
|
}
|
|
53
|
+
export interface IntegrationListParams {
|
|
54
|
+
/**
|
|
55
|
+
* Page size (max 100)
|
|
56
|
+
*/
|
|
57
|
+
limit?: number;
|
|
58
|
+
/**
|
|
59
|
+
* Number of integrations to skip
|
|
60
|
+
*/
|
|
61
|
+
offset?: number;
|
|
62
|
+
platform?: 'twitter' | 'instagram' | 'youtube' | 'tiktok' | 'pinterest' | 'linkedin' | 'bluesky' | 'facebook' | 'threads';
|
|
63
|
+
/**
|
|
64
|
+
* Filter to integrations belonging to this profile. Pass "null" (literal string)
|
|
65
|
+
* to filter to integrations with no profile.
|
|
66
|
+
*/
|
|
67
|
+
profileId?: string;
|
|
68
|
+
/**
|
|
69
|
+
* Case-insensitive search across the connected account name (displayName) and the
|
|
70
|
+
* platform user ID.
|
|
71
|
+
*/
|
|
72
|
+
q?: string;
|
|
73
|
+
sort?: 'asc' | 'desc';
|
|
74
|
+
}
|
|
44
75
|
export declare namespace Integrations {
|
|
45
|
-
export { type IntegrationListResponse as IntegrationListResponse, type IntegrationDisconnectResponse as IntegrationDisconnectResponse };
|
|
76
|
+
export { type IntegrationListResponse as IntegrationListResponse, type IntegrationDisconnectResponse as IntegrationDisconnectResponse, type IntegrationListParams as IntegrationListParams, };
|
|
46
77
|
}
|
|
47
78
|
//# sourceMappingURL=integrations.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"integrations.d.mts","sourceRoot":"","sources":["../../src/resources/connect/integrations.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"integrations.d.mts","sourceRoot":"","sources":["../../src/resources/connect/integrations.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,mCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAGhE,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;OAEG;IACH,IAAI,CACF,KAAK,GAAE,qBAAqB,GAAG,IAAI,GAAG,SAAc,EACpD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,uBAAuB,CAAC;IAItC;;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;IAEjB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACf;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,EACJ,SAAS,GACT,WAAW,GACX,SAAS,GACT,QAAQ,GACR,WAAW,GACX,UAAU,GACV,SAAS,GACT,UAAU,GACV,SAAS,CAAC;QAEd;;WAEG;QACH,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;QAE9B;;;WAGG;QACH,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;KAC1B;CACF;AAED,MAAM,WAAW,6BAA6B;IAC5C,OAAO,EAAE,MAAM,CAAC;IAEhB,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,QAAQ,CAAC,EACL,SAAS,GACT,WAAW,GACX,SAAS,GACT,QAAQ,GACR,WAAW,GACX,UAAU,GACV,SAAS,GACT,UAAU,GACV,SAAS,CAAC;IAEd;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;OAGG;IACH,CAAC,CAAC,EAAE,MAAM,CAAC;IAEX,IAAI,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC;CACvB;AAED,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,qBAAqB,IAAI,qBAAqB,GACpD,CAAC;CACH"}
|
|
@@ -3,9 +3,9 @@ import { APIPromise } from "../../core/api-promise.js";
|
|
|
3
3
|
import { RequestOptions } from "../../internal/request-options.js";
|
|
4
4
|
export declare class Integrations extends APIResource {
|
|
5
5
|
/**
|
|
6
|
-
* List
|
|
6
|
+
* List integrations connected to this project
|
|
7
7
|
*/
|
|
8
|
-
list(options?: RequestOptions): APIPromise<IntegrationListResponse>;
|
|
8
|
+
list(query?: IntegrationListParams | null | undefined, options?: RequestOptions): APIPromise<IntegrationListResponse>;
|
|
9
9
|
/**
|
|
10
10
|
* Disconnect a platform integration
|
|
11
11
|
*/
|
|
@@ -14,6 +14,10 @@ export declare class Integrations extends APIResource {
|
|
|
14
14
|
export interface IntegrationListResponse {
|
|
15
15
|
integrations: Array<IntegrationListResponse.Integration>;
|
|
16
16
|
success: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Total matched integrations across all pages
|
|
19
|
+
*/
|
|
20
|
+
total: number;
|
|
17
21
|
}
|
|
18
22
|
export declare namespace IntegrationListResponse {
|
|
19
23
|
interface Integration {
|
|
@@ -30,18 +34,45 @@ export declare namespace IntegrationListResponse {
|
|
|
30
34
|
* Profile image URL for the connected account, or null if unavailable
|
|
31
35
|
*/
|
|
32
36
|
imageUrl: string | null;
|
|
33
|
-
platform: 'twitter' | 'instagram' | 'youtube' | 'tiktok' | 'pinterest' | 'linkedin';
|
|
37
|
+
platform: 'twitter' | 'instagram' | 'youtube' | 'tiktok' | 'pinterest' | 'linkedin' | 'bluesky' | 'facebook' | 'threads';
|
|
34
38
|
/**
|
|
35
39
|
* The user ID on the platform, or null if not yet retrieved
|
|
36
40
|
*/
|
|
37
41
|
platformUserId: string | null;
|
|
42
|
+
/**
|
|
43
|
+
* Profile this integration belongs to, or null if it was connected without a
|
|
44
|
+
* profile
|
|
45
|
+
*/
|
|
46
|
+
profileId: string | null;
|
|
38
47
|
}
|
|
39
48
|
}
|
|
40
49
|
export interface IntegrationDisconnectResponse {
|
|
41
50
|
message: string;
|
|
42
51
|
success: boolean;
|
|
43
52
|
}
|
|
53
|
+
export interface IntegrationListParams {
|
|
54
|
+
/**
|
|
55
|
+
* Page size (max 100)
|
|
56
|
+
*/
|
|
57
|
+
limit?: number;
|
|
58
|
+
/**
|
|
59
|
+
* Number of integrations to skip
|
|
60
|
+
*/
|
|
61
|
+
offset?: number;
|
|
62
|
+
platform?: 'twitter' | 'instagram' | 'youtube' | 'tiktok' | 'pinterest' | 'linkedin' | 'bluesky' | 'facebook' | 'threads';
|
|
63
|
+
/**
|
|
64
|
+
* Filter to integrations belonging to this profile. Pass "null" (literal string)
|
|
65
|
+
* to filter to integrations with no profile.
|
|
66
|
+
*/
|
|
67
|
+
profileId?: string;
|
|
68
|
+
/**
|
|
69
|
+
* Case-insensitive search across the connected account name (displayName) and the
|
|
70
|
+
* platform user ID.
|
|
71
|
+
*/
|
|
72
|
+
q?: string;
|
|
73
|
+
sort?: 'asc' | 'desc';
|
|
74
|
+
}
|
|
44
75
|
export declare namespace Integrations {
|
|
45
|
-
export { type IntegrationListResponse as IntegrationListResponse, type IntegrationDisconnectResponse as IntegrationDisconnectResponse };
|
|
76
|
+
export { type IntegrationListResponse as IntegrationListResponse, type IntegrationDisconnectResponse as IntegrationDisconnectResponse, type IntegrationListParams as IntegrationListParams, };
|
|
46
77
|
}
|
|
47
78
|
//# sourceMappingURL=integrations.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"integrations.d.ts","sourceRoot":"","sources":["../../src/resources/connect/integrations.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"integrations.d.ts","sourceRoot":"","sources":["../../src/resources/connect/integrations.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,kCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAGhE,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;OAEG;IACH,IAAI,CACF,KAAK,GAAE,qBAAqB,GAAG,IAAI,GAAG,SAAc,EACpD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,uBAAuB,CAAC;IAItC;;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;IAEjB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACf;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,EACJ,SAAS,GACT,WAAW,GACX,SAAS,GACT,QAAQ,GACR,WAAW,GACX,UAAU,GACV,SAAS,GACT,UAAU,GACV,SAAS,CAAC;QAEd;;WAEG;QACH,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;QAE9B;;;WAGG;QACH,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;KAC1B;CACF;AAED,MAAM,WAAW,6BAA6B;IAC5C,OAAO,EAAE,MAAM,CAAC;IAEhB,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,QAAQ,CAAC,EACL,SAAS,GACT,WAAW,GACX,SAAS,GACT,QAAQ,GACR,WAAW,GACX,UAAU,GACV,SAAS,GACT,UAAU,GACV,SAAS,CAAC;IAEd;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;OAGG;IACH,CAAC,CAAC,EAAE,MAAM,CAAC;IAEX,IAAI,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC;CACvB;AAED,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,qBAAqB,IAAI,qBAAqB,GACpD,CAAC;CACH"}
|
|
@@ -6,10 +6,10 @@ const resource_1 = require("../../core/resource.js");
|
|
|
6
6
|
const path_1 = require("../../internal/utils/path.js");
|
|
7
7
|
class Integrations extends resource_1.APIResource {
|
|
8
8
|
/**
|
|
9
|
-
* List
|
|
9
|
+
* List integrations connected to this project
|
|
10
10
|
*/
|
|
11
|
-
list(options) {
|
|
12
|
-
return this._client.get('/v1/connect/integrations', options);
|
|
11
|
+
list(query = {}, options) {
|
|
12
|
+
return this._client.get('/v1/connect/integrations', { query, ...options });
|
|
13
13
|
}
|
|
14
14
|
/**
|
|
15
15
|
* Disconnect a platform integration
|
|
@@ -1 +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,
|
|
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,CACF,QAAkD,EAAE,EACpD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,0BAA0B,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7E,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;AAjBD,oCAiBC"}
|
|
@@ -3,10 +3,10 @@ import { APIResource } from "../../core/resource.mjs";
|
|
|
3
3
|
import { path } from "../../internal/utils/path.mjs";
|
|
4
4
|
export class Integrations extends APIResource {
|
|
5
5
|
/**
|
|
6
|
-
* List
|
|
6
|
+
* List integrations connected to this project
|
|
7
7
|
*/
|
|
8
|
-
list(options) {
|
|
9
|
-
return this._client.get('/v1/connect/integrations', options);
|
|
8
|
+
list(query = {}, options) {
|
|
9
|
+
return this._client.get('/v1/connect/integrations', { query, ...options });
|
|
10
10
|
}
|
|
11
11
|
/**
|
|
12
12
|
* Disconnect a platform integration
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"integrations.mjs","sourceRoot":"","sources":["../../src/resources/connect/integrations.ts"],"names":[],"mappings":"AAAA,sFAAsF;
|
|
1
|
+
{"version":3,"file":"integrations.mjs","sourceRoot":"","sources":["../../src/resources/connect/integrations.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAGlD,OAAO,EAAE,IAAI,EAAE,sCAAkC;AAEjD,MAAM,OAAO,YAAa,SAAQ,WAAW;IAC3C;;OAEG;IACH,IAAI,CACF,QAAkD,EAAE,EACpD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,0BAA0B,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7E,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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connect.d.mts","sourceRoot":"","sources":["../src/resources/connect.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"connect.d.mts","sourceRoot":"","sources":["../src/resources/connect.ts"],"names":[],"mappings":"AAEA,oCAAgC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connect.d.ts","sourceRoot":"","sources":["../src/resources/connect.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"connect.d.ts","sourceRoot":"","sources":["../src/resources/connect.ts"],"names":[],"mappings":"AAEA,mCAAgC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connect.mjs","sourceRoot":"","sources":["../src/resources/connect.ts"],"names":[],"mappings":"AAAA,sFAAsF"}
|
|
1
|
+
{"version":3,"file":"connect.mjs","sourceRoot":"","sources":["../src/resources/connect.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,oCAAgC"}
|
package/resources/health.d.mts
CHANGED
|
@@ -18,6 +18,6 @@ export interface HealthVerifyAccessKeyResponse {
|
|
|
18
18
|
ok: boolean;
|
|
19
19
|
}
|
|
20
20
|
export declare namespace Health {
|
|
21
|
-
export { type HealthCheckResponse as HealthCheckResponse, type HealthVerifyAccessKeyResponse as HealthVerifyAccessKeyResponse };
|
|
21
|
+
export { type HealthCheckResponse as HealthCheckResponse, type HealthVerifyAccessKeyResponse as HealthVerifyAccessKeyResponse, };
|
|
22
22
|
}
|
|
23
23
|
//# sourceMappingURL=health.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"health.d.mts","sourceRoot":"","sources":["../src/resources/health.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"health.d.mts","sourceRoot":"","sources":["../src/resources/health.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,gCAA4B;AACjD,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAE7D,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"}
|
package/resources/health.d.ts
CHANGED
|
@@ -18,6 +18,6 @@ export interface HealthVerifyAccessKeyResponse {
|
|
|
18
18
|
ok: boolean;
|
|
19
19
|
}
|
|
20
20
|
export declare namespace Health {
|
|
21
|
-
export { type HealthCheckResponse as HealthCheckResponse, type HealthVerifyAccessKeyResponse as HealthVerifyAccessKeyResponse };
|
|
21
|
+
export { type HealthCheckResponse as HealthCheckResponse, type HealthVerifyAccessKeyResponse as HealthVerifyAccessKeyResponse, };
|
|
22
22
|
}
|
|
23
23
|
//# sourceMappingURL=health.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"health.d.ts","sourceRoot":"","sources":["../src/resources/health.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"health.d.ts","sourceRoot":"","sources":["../src/resources/health.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,+BAA4B;AACjD,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAE7D,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"}
|
package/resources/health.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"health.mjs","sourceRoot":"","sources":["../src/resources/health.ts"],"names":[],"mappings":"AAAA,sFAAsF;
|
|
1
|
+
{"version":3,"file":"health.mjs","sourceRoot":"","sources":["../src/resources/health.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAI/C,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"}
|
package/resources/index.d.mts
CHANGED
|
@@ -2,5 +2,5 @@ export { Connect, type ConnectGetOAuthURLResponse, type ConnectGetOAuthURLParams
|
|
|
2
2
|
export { Health, type HealthCheckResponse, type HealthVerifyAccessKeyResponse } from "./health.mjs";
|
|
3
3
|
export { Media, type MediaUploadResponse, type MediaUploadParams } from "./media.mjs";
|
|
4
4
|
export { Platforms, type PlatformListResponse } from "./platforms.mjs";
|
|
5
|
-
export { Posts, type Status, type PostCreateResponse, type PostRetrieveResponse, type PostListResponse, type PostDeleteResponse, type PostCreateParams, type PostListParams } from "./posts/posts.mjs";
|
|
5
|
+
export { Posts, type Status, type PostCreateResponse, type PostRetrieveResponse, type PostListResponse, type PostDeleteResponse, type PostCreateParams, type PostListParams, } from "./posts/posts.mjs";
|
|
6
6
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,KAAK,0BAA0B,EAAE,KAAK,wBAAwB,EAAE,8BAA0B;AAC5G,OAAO,EAAE,MAAM,EAAE,KAAK,mBAAmB,EAAE,KAAK,6BAA6B,EAAE,qBAAiB;AAChG,OAAO,EAAE,KAAK,EAAE,KAAK,mBAAmB,EAAE,KAAK,iBAAiB,EAAE,oBAAgB;AAClF,OAAO,EAAE,SAAS,EAAE,KAAK,oBAAoB,EAAE,wBAAoB;AACnE,OAAO,EACL,KAAK,EACL,KAAK,MAAM,EACX,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,cAAc,GACpB,0BAAsB"}
|
package/resources/index.d.ts
CHANGED
|
@@ -2,5 +2,5 @@ export { Connect, type ConnectGetOAuthURLResponse, type ConnectGetOAuthURLParams
|
|
|
2
2
|
export { Health, type HealthCheckResponse, type HealthVerifyAccessKeyResponse } from "./health.js";
|
|
3
3
|
export { Media, type MediaUploadResponse, type MediaUploadParams } from "./media.js";
|
|
4
4
|
export { Platforms, type PlatformListResponse } from "./platforms.js";
|
|
5
|
-
export { Posts, type Status, type PostCreateResponse, type PostRetrieveResponse, type PostListResponse, type PostDeleteResponse, type PostCreateParams, type PostListParams } from "./posts/posts.js";
|
|
5
|
+
export { Posts, type Status, type PostCreateResponse, type PostRetrieveResponse, type PostListResponse, type PostDeleteResponse, type PostCreateParams, type PostListParams, } from "./posts/posts.js";
|
|
6
6
|
//# sourceMappingURL=index.d.ts.map
|
package/resources/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,KAAK,0BAA0B,EAAE,KAAK,wBAAwB,EAAE,6BAA0B;AAC5G,OAAO,EAAE,MAAM,EAAE,KAAK,mBAAmB,EAAE,KAAK,6BAA6B,EAAE,oBAAiB;AAChG,OAAO,EAAE,KAAK,EAAE,KAAK,mBAAmB,EAAE,KAAK,iBAAiB,EAAE,mBAAgB;AAClF,OAAO,EAAE,SAAS,EAAE,KAAK,oBAAoB,EAAE,uBAAoB;AACnE,OAAO,EACL,KAAK,EACL,KAAK,MAAM,EACX,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,cAAc,GACpB,yBAAsB"}
|
package/resources/index.js
CHANGED
|
@@ -4,17 +4,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
4
4
|
exports.Posts = exports.Platforms = exports.Media = exports.Health = exports.Connect = void 0;
|
|
5
5
|
var connect_1 = require("./connect/connect.js");
|
|
6
6
|
Object.defineProperty(exports, "Connect", { enumerable: true, get: function () { return connect_1.Connect; } });
|
|
7
|
-
;
|
|
8
7
|
var health_1 = require("./health.js");
|
|
9
8
|
Object.defineProperty(exports, "Health", { enumerable: true, get: function () { return health_1.Health; } });
|
|
10
|
-
;
|
|
11
9
|
var media_1 = require("./media.js");
|
|
12
10
|
Object.defineProperty(exports, "Media", { enumerable: true, get: function () { return media_1.Media; } });
|
|
13
|
-
;
|
|
14
11
|
var platforms_1 = require("./platforms.js");
|
|
15
12
|
Object.defineProperty(exports, "Platforms", { enumerable: true, get: function () { return platforms_1.Platforms; } });
|
|
16
|
-
;
|
|
17
13
|
var posts_1 = require("./posts/posts.js");
|
|
18
14
|
Object.defineProperty(exports, "Posts", { enumerable: true, get: function () { return posts_1.Posts; } });
|
|
19
|
-
;
|
|
20
15
|
//# sourceMappingURL=index.js.map
|
package/resources/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,gDAA4G;AAAnG,kGAAA,OAAO,OAAA;
|
|
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,0CASuB;AARrB,8FAAA,KAAK,OAAA"}
|