planvortex 0.24.0 → 0.25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -2
- package/dist/{index-C91ZeTR-.d.cts → index-CVJ6ace_.d.cts} +142 -19
- package/dist/{index-C91ZeTR-.d.ts → index-CVJ6ace_.d.ts} +142 -19
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/webhooks/index.cjs +11 -0
- package/dist/webhooks/index.cjs.map +1 -1
- package/dist/webhooks/index.d.cts +1 -1
- package/dist/webhooks/index.d.ts +1 -1
- package/dist/webhooks/index.js +10 -1
- package/dist/webhooks/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { P as Paginated, S as SocialNetwork, C as ConnectLink, a as ConnectResult, E as EnableResult, b as ConnectSession, A as Account, c as AccountMetrics, D as Destination, d as PublishSettings, e as PersistentMenu, f as Dashboard, M as MetricName, g as DashboardMetricsResult, h as PublicationsSummaryResult, T as TopPublicationsResult, i as PublicationsStatsResult, j as PlanUse, k as Publication, l as AiPlanResultsSort, m as PlannerTemplateName, n as AiPlanCreateRequest, o as AiPlanCreateResult, p as AiPlan, q as AiPlanResults, r as ClientApp, s as ClientAppInput, t as SocialCapabilities, u as CommentActions, v as SocialLimits, w as PublicationLimits, x as AspectRatiosByNetwork, y as PlannerTemplate, z as CommentNetwork, B as Comment, F as CommentThread, G as CommentReplyResult, H as ContactExtraData, I as Contact, J as ContactCreate, K as ContactUpdate, L as IntegrationProviderName, N as IntegrationProvider, O as Integration, Q as IntegrationConnectRequest, R as IntegrationUpdate, U as IntegrationPickerConfig, V as IntegrationCatalogPage, W as MessageTemplate, X as Conversation, Y as ConversationTotals, Z as Message, _ as MessageInput, $ as ConversationRead, a0 as Client, a1 as Organization, a2 as AiSettings, a3 as ClientWithOrganizations, a4 as AccountSelection, a5 as PlanData, a6 as PlanUseData, a7 as ConnectToken, a8 as AiContext, a9 as SocialCredentialsInput, aa as Product, ab as ProductInput, ac as ProductCatalog, ad as ProductCatalogInput, ae as PublicationInput, af as PublicationState, ag as PublicationStats, ah as PublicationStatsHistory, ai as Upload } from './index-
|
|
2
|
-
export { aj as AccountError, ak as AccountMetricRow, al as AccountStateChange, am as AccountWebhookChangeBase, an as AccountWithError, ao as AiImageOrigin, ap as AiPlanCostEstimate, aq as AiPlanDestination, ar as AiPlanError, as as AiPlanNotice, at as AiPlanOptions, au as AiPlanOptionsInput, av as AiPlanResult, aw as AiPlanResultsGroup, ax as AiPlanResultsTemplateGroup, ay as AiPlanSource, az as AiPlanSourceImageInput, aA as AiPlanSourceInput, aB as AiPlanSourceProduct, aC as AiPlanState, aD as ApiErrorBody, aE as AspectRatios, aF as AuthError, aG as ClientPlan, aH as CommentAuthor, aI as CommentChange, aJ as ConnectSessionAccount, aK as ContactChannel, aL as ContactError, aM as DashboardAiPlanRef, aN as DashboardPublicationRef, aO as DashboardRange, aP as EngagementBase, aQ as FileError, aR as FileFormat, aS as FileProperties, aT as FileType, aU as IntegrationCatalogProduct, aV as IntegrationConfig, aW as IntegrationError, aX as IntegrationErrorChange, aY as IntegrationFormField, aZ as MessageChange, a_ as MessageEchoChange, a$ as MessageOptions, b0 as MessageType, b1 as MessagingError, b2 as MetricRow, b3 as NO_ERROR_CODE, b4 as OpenApiComponents, b5 as OpenApiOperations, b6 as OpenApiPaths, b7 as OpenApiWebhooks, b8 as OpenEnum, b9 as OrganizationError, ba as PLANVORTEX_ERROR_RANGES, bb as PlanLimitError, bc as PlanVortexAuthenticationError, bd as PlanVortexConfigError, be as PlanVortexConnectionError, bf as PlanVortexError, bg as PlanVortexErrorOptions, bh as PlanVortexErrorRange, bi as PlannerTemplateField, bj as PlannerTemplateFieldType, bk as ProductError, bl as PublicationAiGenerated, bm as PublicationDestination, bn as PublicationError, bo as PublicationErrorDetail, bp as PublicationMetrics, bq as PublicationPending, br as PublicationStatsPoint, bs as PublicationType, bt as PublicationsSummary, bu as RssConfig, bv as SocialAuthorizationMethod, bw as SocialCredentials, bx as SocialIdentifier, by as SocialIdentifierInput, bz as SocialLimitsMap, bA as TOKEN_ERROR_CODES, bB as TopPublication, bC as UnknownWebhookChange, bD as UserError, bE as WebhookAlgorithm, bF as WebhookChange, bG as WebhookEvent, bH as WithAccount, bI as WithPublication, bJ as WooCommerceConnectRequest, bK as account, bL as accountId, bM as errorFamilyForCode, bN as isPlanVortexError, bO as isTokenError, bP as messageContact, bQ as messageContactId, bR as messageDirection, bS as messageFileIds, bT as messageFiles, bU as publication, bV as publicationId } from './index-
|
|
1
|
+
import { P as Paginated, S as SocialNetwork, C as ConnectLink, a as ConnectResult, E as EnableResult, b as ConnectSession, A as Account, c as AccountMetrics, D as Destination, d as PublishSettings, e as PersistentMenu, f as Dashboard, M as MetricName, g as DashboardMetricsResult, h as PublicationsSummaryResult, T as TopPublicationsResult, i as PublicationsStatsResult, j as PlanUse, k as Publication, l as AiPlanResultsSort, m as PlannerTemplateName, n as AiPlanCreateRequest, o as AiPlanCreateResult, p as AiPlan, q as AiPlanResults, r as ClientApp, s as ClientAppInput, t as SocialCapabilities, u as CommentActions, v as SocialLimits, w as PublicationLimits, x as AspectRatiosByNetwork, y as PlannerTemplate, z as CommentNetwork, B as Comment, F as CommentThread, G as CommentReplyResult, H as ContactExtraData, I as Contact, J as ContactCreate, K as ContactUpdate, L as IntegrationProviderName, N as IntegrationProvider, O as Integration, Q as IntegrationConnectRequest, R as IntegrationUpdate, U as IntegrationPickerConfig, V as IntegrationCatalogPage, W as MessageTemplate, X as Conversation, Y as ConversationTotals, Z as Message, _ as MessageInput, $ as ConversationRead, a0 as Client, a1 as Organization, a2 as AiSettings, a3 as ClientWithOrganizations, a4 as AccountSelection, a5 as PlanData, a6 as PlanUseData, a7 as ConnectToken, a8 as AiContext, a9 as SocialCredentialsInput, aa as Product, ab as ProductInput, ac as ProductCatalog, ad as ProductCatalogInput, ae as PublicationInput, af as PublicationState, ag as PublicationStats, ah as PublicationStatsHistory, ai as Upload } from './index-CVJ6ace_.cjs';
|
|
2
|
+
export { aj as AccountError, ak as AccountMetricRow, al as AccountStateChange, am as AccountWebhookChangeBase, an as AccountWithError, ao as AiImageOrigin, ap as AiPlanCostEstimate, aq as AiPlanDestination, ar as AiPlanError, as as AiPlanNotice, at as AiPlanOptions, au as AiPlanOptionsInput, av as AiPlanResult, aw as AiPlanResultsGroup, ax as AiPlanResultsTemplateGroup, ay as AiPlanSource, az as AiPlanSourceImageInput, aA as AiPlanSourceInput, aB as AiPlanSourceProduct, aC as AiPlanState, aD as ApiErrorBody, aE as AspectRatios, aF as AuthError, aG as ClientPlan, aH as CommentAuthor, aI as CommentChange, aJ as ConnectSessionAccount, aK as ContactChannel, aL as ContactError, aM as DashboardAiPlanRef, aN as DashboardPublicationRef, aO as DashboardRange, aP as EngagementBase, aQ as FileError, aR as FileFormat, aS as FileProperties, aT as FileType, aU as IntegrationCatalogProduct, aV as IntegrationConfig, aW as IntegrationError, aX as IntegrationErrorChange, aY as IntegrationFormField, aZ as MessageChange, a_ as MessageEchoChange, a$ as MessageOptions, b0 as MessageType, b1 as MessagingError, b2 as MetricRow, b3 as NO_ERROR_CODE, b4 as OpenApiComponents, b5 as OpenApiOperations, b6 as OpenApiPaths, b7 as OpenApiWebhooks, b8 as OpenEnum, b9 as OrganizationError, ba as PLANVORTEX_ERROR_RANGES, bb as PlanLimitError, bc as PlanVortexAuthenticationError, bd as PlanVortexConfigError, be as PlanVortexConnectionError, bf as PlanVortexError, bg as PlanVortexErrorOptions, bh as PlanVortexErrorRange, bi as PlannerTemplateField, bj as PlannerTemplateFieldType, bk as ProductError, bl as PublicationAiGenerated, bm as PublicationDestination, bn as PublicationError, bo as PublicationErrorDetail, bp as PublicationMetrics, bq as PublicationPending, br as PublicationStatsPoint, bs as PublicationType, bt as PublicationsSummary, bu as RssConfig, bv as SocialAuthorizationMethod, bw as SocialCredentials, bx as SocialIdentifier, by as SocialIdentifierInput, bz as SocialLimitsMap, bA as TOKEN_ERROR_CODES, bB as TopPublication, bC as UnknownWebhookChange, bD as UserError, bE as WebhookAlgorithm, bF as WebhookChange, bG as WebhookEvent, bH as WithAccount, bI as WithPublication, bJ as WooCommerceConnectRequest, bK as account, bL as accountId, bM as errorFamilyForCode, bN as isPlanVortexError, bO as isTokenError, bP as messageContact, bQ as messageContactId, bR as messageDirection, bS as messageFileIds, bT as messageFiles, bU as publication, bV as publicationId } from './index-CVJ6ace_.cjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Las dos constantes que todo lo demás necesita. Viven aparte de `index.ts` para que `client.ts`
|
|
@@ -15,7 +15,7 @@ declare const PLANVORTEX_API_URL = "https://api.planvortex.com/v1.0.0";
|
|
|
15
15
|
* de ejecución obliga a empaquetarlo y se rompe distinto en ESM y en CJS. La mantiene sincronizada
|
|
16
16
|
* un test.
|
|
17
17
|
*/
|
|
18
|
-
declare const VERSION = "0.
|
|
18
|
+
declare const VERSION = "0.25.0";
|
|
19
19
|
|
|
20
20
|
/** `fetch` con la firma que usamos. Se puede sustituir en tests o para meter un proxy. */
|
|
21
21
|
type FetchLike = (input: string, init: RequestInit) => Promise<Response>;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { P as Paginated, S as SocialNetwork, C as ConnectLink, a as ConnectResult, E as EnableResult, b as ConnectSession, A as Account, c as AccountMetrics, D as Destination, d as PublishSettings, e as PersistentMenu, f as Dashboard, M as MetricName, g as DashboardMetricsResult, h as PublicationsSummaryResult, T as TopPublicationsResult, i as PublicationsStatsResult, j as PlanUse, k as Publication, l as AiPlanResultsSort, m as PlannerTemplateName, n as AiPlanCreateRequest, o as AiPlanCreateResult, p as AiPlan, q as AiPlanResults, r as ClientApp, s as ClientAppInput, t as SocialCapabilities, u as CommentActions, v as SocialLimits, w as PublicationLimits, x as AspectRatiosByNetwork, y as PlannerTemplate, z as CommentNetwork, B as Comment, F as CommentThread, G as CommentReplyResult, H as ContactExtraData, I as Contact, J as ContactCreate, K as ContactUpdate, L as IntegrationProviderName, N as IntegrationProvider, O as Integration, Q as IntegrationConnectRequest, R as IntegrationUpdate, U as IntegrationPickerConfig, V as IntegrationCatalogPage, W as MessageTemplate, X as Conversation, Y as ConversationTotals, Z as Message, _ as MessageInput, $ as ConversationRead, a0 as Client, a1 as Organization, a2 as AiSettings, a3 as ClientWithOrganizations, a4 as AccountSelection, a5 as PlanData, a6 as PlanUseData, a7 as ConnectToken, a8 as AiContext, a9 as SocialCredentialsInput, aa as Product, ab as ProductInput, ac as ProductCatalog, ad as ProductCatalogInput, ae as PublicationInput, af as PublicationState, ag as PublicationStats, ah as PublicationStatsHistory, ai as Upload } from './index-
|
|
2
|
-
export { aj as AccountError, ak as AccountMetricRow, al as AccountStateChange, am as AccountWebhookChangeBase, an as AccountWithError, ao as AiImageOrigin, ap as AiPlanCostEstimate, aq as AiPlanDestination, ar as AiPlanError, as as AiPlanNotice, at as AiPlanOptions, au as AiPlanOptionsInput, av as AiPlanResult, aw as AiPlanResultsGroup, ax as AiPlanResultsTemplateGroup, ay as AiPlanSource, az as AiPlanSourceImageInput, aA as AiPlanSourceInput, aB as AiPlanSourceProduct, aC as AiPlanState, aD as ApiErrorBody, aE as AspectRatios, aF as AuthError, aG as ClientPlan, aH as CommentAuthor, aI as CommentChange, aJ as ConnectSessionAccount, aK as ContactChannel, aL as ContactError, aM as DashboardAiPlanRef, aN as DashboardPublicationRef, aO as DashboardRange, aP as EngagementBase, aQ as FileError, aR as FileFormat, aS as FileProperties, aT as FileType, aU as IntegrationCatalogProduct, aV as IntegrationConfig, aW as IntegrationError, aX as IntegrationErrorChange, aY as IntegrationFormField, aZ as MessageChange, a_ as MessageEchoChange, a$ as MessageOptions, b0 as MessageType, b1 as MessagingError, b2 as MetricRow, b3 as NO_ERROR_CODE, b4 as OpenApiComponents, b5 as OpenApiOperations, b6 as OpenApiPaths, b7 as OpenApiWebhooks, b8 as OpenEnum, b9 as OrganizationError, ba as PLANVORTEX_ERROR_RANGES, bb as PlanLimitError, bc as PlanVortexAuthenticationError, bd as PlanVortexConfigError, be as PlanVortexConnectionError, bf as PlanVortexError, bg as PlanVortexErrorOptions, bh as PlanVortexErrorRange, bi as PlannerTemplateField, bj as PlannerTemplateFieldType, bk as ProductError, bl as PublicationAiGenerated, bm as PublicationDestination, bn as PublicationError, bo as PublicationErrorDetail, bp as PublicationMetrics, bq as PublicationPending, br as PublicationStatsPoint, bs as PublicationType, bt as PublicationsSummary, bu as RssConfig, bv as SocialAuthorizationMethod, bw as SocialCredentials, bx as SocialIdentifier, by as SocialIdentifierInput, bz as SocialLimitsMap, bA as TOKEN_ERROR_CODES, bB as TopPublication, bC as UnknownWebhookChange, bD as UserError, bE as WebhookAlgorithm, bF as WebhookChange, bG as WebhookEvent, bH as WithAccount, bI as WithPublication, bJ as WooCommerceConnectRequest, bK as account, bL as accountId, bM as errorFamilyForCode, bN as isPlanVortexError, bO as isTokenError, bP as messageContact, bQ as messageContactId, bR as messageDirection, bS as messageFileIds, bT as messageFiles, bU as publication, bV as publicationId } from './index-
|
|
1
|
+
import { P as Paginated, S as SocialNetwork, C as ConnectLink, a as ConnectResult, E as EnableResult, b as ConnectSession, A as Account, c as AccountMetrics, D as Destination, d as PublishSettings, e as PersistentMenu, f as Dashboard, M as MetricName, g as DashboardMetricsResult, h as PublicationsSummaryResult, T as TopPublicationsResult, i as PublicationsStatsResult, j as PlanUse, k as Publication, l as AiPlanResultsSort, m as PlannerTemplateName, n as AiPlanCreateRequest, o as AiPlanCreateResult, p as AiPlan, q as AiPlanResults, r as ClientApp, s as ClientAppInput, t as SocialCapabilities, u as CommentActions, v as SocialLimits, w as PublicationLimits, x as AspectRatiosByNetwork, y as PlannerTemplate, z as CommentNetwork, B as Comment, F as CommentThread, G as CommentReplyResult, H as ContactExtraData, I as Contact, J as ContactCreate, K as ContactUpdate, L as IntegrationProviderName, N as IntegrationProvider, O as Integration, Q as IntegrationConnectRequest, R as IntegrationUpdate, U as IntegrationPickerConfig, V as IntegrationCatalogPage, W as MessageTemplate, X as Conversation, Y as ConversationTotals, Z as Message, _ as MessageInput, $ as ConversationRead, a0 as Client, a1 as Organization, a2 as AiSettings, a3 as ClientWithOrganizations, a4 as AccountSelection, a5 as PlanData, a6 as PlanUseData, a7 as ConnectToken, a8 as AiContext, a9 as SocialCredentialsInput, aa as Product, ab as ProductInput, ac as ProductCatalog, ad as ProductCatalogInput, ae as PublicationInput, af as PublicationState, ag as PublicationStats, ah as PublicationStatsHistory, ai as Upload } from './index-CVJ6ace_.js';
|
|
2
|
+
export { aj as AccountError, ak as AccountMetricRow, al as AccountStateChange, am as AccountWebhookChangeBase, an as AccountWithError, ao as AiImageOrigin, ap as AiPlanCostEstimate, aq as AiPlanDestination, ar as AiPlanError, as as AiPlanNotice, at as AiPlanOptions, au as AiPlanOptionsInput, av as AiPlanResult, aw as AiPlanResultsGroup, ax as AiPlanResultsTemplateGroup, ay as AiPlanSource, az as AiPlanSourceImageInput, aA as AiPlanSourceInput, aB as AiPlanSourceProduct, aC as AiPlanState, aD as ApiErrorBody, aE as AspectRatios, aF as AuthError, aG as ClientPlan, aH as CommentAuthor, aI as CommentChange, aJ as ConnectSessionAccount, aK as ContactChannel, aL as ContactError, aM as DashboardAiPlanRef, aN as DashboardPublicationRef, aO as DashboardRange, aP as EngagementBase, aQ as FileError, aR as FileFormat, aS as FileProperties, aT as FileType, aU as IntegrationCatalogProduct, aV as IntegrationConfig, aW as IntegrationError, aX as IntegrationErrorChange, aY as IntegrationFormField, aZ as MessageChange, a_ as MessageEchoChange, a$ as MessageOptions, b0 as MessageType, b1 as MessagingError, b2 as MetricRow, b3 as NO_ERROR_CODE, b4 as OpenApiComponents, b5 as OpenApiOperations, b6 as OpenApiPaths, b7 as OpenApiWebhooks, b8 as OpenEnum, b9 as OrganizationError, ba as PLANVORTEX_ERROR_RANGES, bb as PlanLimitError, bc as PlanVortexAuthenticationError, bd as PlanVortexConfigError, be as PlanVortexConnectionError, bf as PlanVortexError, bg as PlanVortexErrorOptions, bh as PlanVortexErrorRange, bi as PlannerTemplateField, bj as PlannerTemplateFieldType, bk as ProductError, bl as PublicationAiGenerated, bm as PublicationDestination, bn as PublicationError, bo as PublicationErrorDetail, bp as PublicationMetrics, bq as PublicationPending, br as PublicationStatsPoint, bs as PublicationType, bt as PublicationsSummary, bu as RssConfig, bv as SocialAuthorizationMethod, bw as SocialCredentials, bx as SocialIdentifier, by as SocialIdentifierInput, bz as SocialLimitsMap, bA as TOKEN_ERROR_CODES, bB as TopPublication, bC as UnknownWebhookChange, bD as UserError, bE as WebhookAlgorithm, bF as WebhookChange, bG as WebhookEvent, bH as WithAccount, bI as WithPublication, bJ as WooCommerceConnectRequest, bK as account, bL as accountId, bM as errorFamilyForCode, bN as isPlanVortexError, bO as isTokenError, bP as messageContact, bQ as messageContactId, bR as messageDirection, bS as messageFileIds, bT as messageFiles, bU as publication, bV as publicationId } from './index-CVJ6ace_.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Las dos constantes que todo lo demás necesita. Viven aparte de `index.ts` para que `client.ts`
|
|
@@ -15,7 +15,7 @@ declare const PLANVORTEX_API_URL = "https://api.planvortex.com/v1.0.0";
|
|
|
15
15
|
* de ejecución obliga a empaquetarlo y se rompe distinto en ESM y en CJS. La mantiene sincronizada
|
|
16
16
|
* un test.
|
|
17
17
|
*/
|
|
18
|
-
declare const VERSION = "0.
|
|
18
|
+
declare const VERSION = "0.25.0";
|
|
19
19
|
|
|
20
20
|
/** `fetch` con la firma que usamos. Se puede sustituir en tests o para meter un proxy. */
|
|
21
21
|
type FetchLike = (input: string, init: RequestInit) => Promise<Response>;
|