planvortex 0.8.0 → 0.9.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/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, A as Account, b as AccountMetrics, c as PersistentMenu, d as Publication, e as AiPlanCreateRequest, f as AiPlanCreateResult, g as AiPlan, h as ClientApp, i as ClientAppInput, j as SocialCapabilities, k as CommentActions, l as SocialLimits, m as PublicationLimits, n as AspectRatiosByNetwork, o as PlannerTemplate, p as CommentNetwork, q as Comment, r as CommentThread, s as CommentReplyResult, t as ContactExtraData, u as Contact, v as ContactCreate, w as ContactUpdate, D as Dashboard, M as MetricName, x as DashboardMetricsResult, y as PublicationsSummaryResult, T as TopPublicationsResult, z as PublicationsStatsResult, B as PlanUse, I as IntegrationProviderName, F as IntegrationProvider, G as Integration, H as IntegrationConnectRequest, J as IntegrationUpdate, K as IntegrationPickerConfig, L as MessageTemplate, N as Conversation, O as ConversationTotals, Q as Message, R as MessageInput, U as Client, V as Organization, W as AiSettings, X as ClientWithOrganizations, Y as PlanData, Z as PlanUseData, _ as ConnectToken, $ as AiContext, a0 as SocialCredentialsInput, a1 as Product, a2 as ProductInput, a3 as ProductCatalog, a4 as ProductCatalogInput, a5 as PublicationInput, a6 as PublicationState, a7 as PublicationStats, a8 as PublicationStatsHistory, a9 as Upload } from './index-DteI6Aqt.cjs';
2
- export { aa as AccountError, ab as AccountMetricRow, ac as AccountStateChange, ad as AccountWebhookChangeBase, ae as AccountWithError, af as AiPlanCostEstimate, ag as AiPlanError, ah as AiPlanNotice, ai as AiPlanOptions, aj as AiPlanOptionsInput, ak as AiPlanSource, al as AiPlanSourceImageInput, am as AiPlanSourceInput, an as AiPlanSourceProduct, ao as AiPlanState, ap as ApiErrorBody, aq as AspectRatios, ar as AuthError, as as ClientPlan, at as CommentAuthor, au as CommentChange, av as ContactChannel, aw as ContactError, ax as DashboardAiPlanRef, ay as DashboardPublicationRef, az as DashboardRange, aA as EngagementBase, aB as FileError, aC as FileFormat, aD as FileProperties, aE as FileType, aF as IntegrationError, aG as IntegrationErrorChange, aH as MessageChange, aI as MessageOptions, aJ as MessageType, aK as MessagingError, aL as MetricRow, aM as NO_ERROR_CODE, aN as OpenApiComponents, aO as OpenApiOperations, aP as OpenApiPaths, aQ as OpenApiWebhooks, aR as OpenEnum, aS as OrganizationError, aT as PLANVORTEX_ERROR_RANGES, aU as PlanLimitError, aV as PlanVortexAuthenticationError, aW as PlanVortexConfigError, aX as PlanVortexConnectionError, aY as PlanVortexError, aZ as PlanVortexErrorOptions, a_ as PlanVortexErrorRange, a$ as PlannerTemplateField, b0 as PlannerTemplateFieldType, b1 as PlannerTemplateName, b2 as ProductError, b3 as PublicationError, b4 as PublicationErrorDetail, b5 as PublicationMetrics, b6 as PublicationStatsPoint, b7 as PublicationType, b8 as PublicationsSummary, b9 as RssConfig, ba as SocialAuthorizationMethod, bb as SocialCredentials, bc as SocialIdentifier, bd as SocialIdentifierInput, be as SocialLimitsMap, bf as TOKEN_ERROR_CODES, bg as TopPublication, bh as UnknownWebhookChange, bi as UserError, bj as WebhookAlgorithm, bk as WebhookChange, bl as WebhookEvent, bm as WithAccount, bn as WithPublication, bo as account, bp as accountId, bq as errorFamilyForCode, br as isPlanVortexError, bs as isTokenError, bt as messageContact, bu as messageContactId, bv as messageDirection, bw as messageFileIds, bx as messageFiles, by as publication, bz as publicationId } from './index-DteI6Aqt.cjs';
1
+ import { P as Paginated, S as SocialNetwork, C as ConnectLink, a as ConnectResult, E as EnableResult, A as Account, b as AccountMetrics, c as PersistentMenu, d as Publication, e as AiPlanCreateRequest, f as AiPlanCreateResult, g as AiPlan, h as ClientApp, i as ClientAppInput, j as SocialCapabilities, k as CommentActions, l as SocialLimits, m as PublicationLimits, n as AspectRatiosByNetwork, o as PlannerTemplate, p as CommentNetwork, q as Comment, r as CommentThread, s as CommentReplyResult, t as ContactExtraData, u as Contact, v as ContactCreate, w as ContactUpdate, D as Dashboard, M as MetricName, x as DashboardMetricsResult, y as PublicationsSummaryResult, T as TopPublicationsResult, z as PublicationsStatsResult, B as PlanUse, I as IntegrationProviderName, F as IntegrationProvider, G as Integration, H as IntegrationConnectRequest, J as IntegrationUpdate, K as IntegrationPickerConfig, L as MessageTemplate, N as Conversation, O as ConversationTotals, Q as Message, R as MessageInput, U as Client, V as Organization, W as AiSettings, X as ClientWithOrganizations, Y as PlanData, Z as PlanUseData, _ as ConnectToken, $ as AiContext, a0 as SocialCredentialsInput, a1 as Product, a2 as ProductInput, a3 as ProductCatalog, a4 as ProductCatalogInput, a5 as PublicationInput, a6 as PublicationState, a7 as PublicationStats, a8 as PublicationStatsHistory, a9 as Upload } from './index-Cgvnq4LI.cjs';
2
+ export { aa as AccountError, ab as AccountMetricRow, ac as AccountStateChange, ad as AccountWebhookChangeBase, ae as AccountWithError, af as AiPlanCostEstimate, ag as AiPlanError, ah as AiPlanNotice, ai as AiPlanOptions, aj as AiPlanOptionsInput, ak as AiPlanSource, al as AiPlanSourceImageInput, am as AiPlanSourceInput, an as AiPlanSourceProduct, ao as AiPlanState, ap as ApiErrorBody, aq as AspectRatios, ar as AuthError, as as ClientPlan, at as CommentAuthor, au as CommentChange, av as ContactChannel, aw as ContactError, ax as DashboardAiPlanRef, ay as DashboardPublicationRef, az as DashboardRange, aA as EngagementBase, aB as FileError, aC as FileFormat, aD as FileProperties, aE as FileType, aF as IntegrationError, aG as IntegrationErrorChange, aH as MessageChange, aI as MessageOptions, aJ as MessageType, aK as MessagingError, aL as MetricRow, aM as NO_ERROR_CODE, aN as OpenApiComponents, aO as OpenApiOperations, aP as OpenApiPaths, aQ as OpenApiWebhooks, aR as OpenEnum, aS as OrganizationError, aT as PLANVORTEX_ERROR_RANGES, aU as PlanLimitError, aV as PlanVortexAuthenticationError, aW as PlanVortexConfigError, aX as PlanVortexConnectionError, aY as PlanVortexError, aZ as PlanVortexErrorOptions, a_ as PlanVortexErrorRange, a$ as PlannerTemplateField, b0 as PlannerTemplateFieldType, b1 as PlannerTemplateName, b2 as ProductError, b3 as PublicationError, b4 as PublicationErrorDetail, b5 as PublicationMetrics, b6 as PublicationStatsPoint, b7 as PublicationType, b8 as PublicationsSummary, b9 as RssConfig, ba as SocialAuthorizationMethod, bb as SocialCredentials, bc as SocialIdentifier, bd as SocialIdentifierInput, be as SocialLimitsMap, bf as TOKEN_ERROR_CODES, bg as TopPublication, bh as UnknownWebhookChange, bi as UserError, bj as WebhookAlgorithm, bk as WebhookChange, bl as WebhookEvent, bm as WithAccount, bn as WithPublication, bo as account, bp as accountId, bq as errorFamilyForCode, br as isPlanVortexError, bs as isTokenError, bt as messageContact, bu as messageContactId, bv as messageDirection, bw as messageFileIds, bx as messageFiles, by as publication, bz as publicationId } from './index-Cgvnq4LI.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.8.0";
18
+ declare const VERSION = "0.9.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, A as Account, b as AccountMetrics, c as PersistentMenu, d as Publication, e as AiPlanCreateRequest, f as AiPlanCreateResult, g as AiPlan, h as ClientApp, i as ClientAppInput, j as SocialCapabilities, k as CommentActions, l as SocialLimits, m as PublicationLimits, n as AspectRatiosByNetwork, o as PlannerTemplate, p as CommentNetwork, q as Comment, r as CommentThread, s as CommentReplyResult, t as ContactExtraData, u as Contact, v as ContactCreate, w as ContactUpdate, D as Dashboard, M as MetricName, x as DashboardMetricsResult, y as PublicationsSummaryResult, T as TopPublicationsResult, z as PublicationsStatsResult, B as PlanUse, I as IntegrationProviderName, F as IntegrationProvider, G as Integration, H as IntegrationConnectRequest, J as IntegrationUpdate, K as IntegrationPickerConfig, L as MessageTemplate, N as Conversation, O as ConversationTotals, Q as Message, R as MessageInput, U as Client, V as Organization, W as AiSettings, X as ClientWithOrganizations, Y as PlanData, Z as PlanUseData, _ as ConnectToken, $ as AiContext, a0 as SocialCredentialsInput, a1 as Product, a2 as ProductInput, a3 as ProductCatalog, a4 as ProductCatalogInput, a5 as PublicationInput, a6 as PublicationState, a7 as PublicationStats, a8 as PublicationStatsHistory, a9 as Upload } from './index-DteI6Aqt.js';
2
- export { aa as AccountError, ab as AccountMetricRow, ac as AccountStateChange, ad as AccountWebhookChangeBase, ae as AccountWithError, af as AiPlanCostEstimate, ag as AiPlanError, ah as AiPlanNotice, ai as AiPlanOptions, aj as AiPlanOptionsInput, ak as AiPlanSource, al as AiPlanSourceImageInput, am as AiPlanSourceInput, an as AiPlanSourceProduct, ao as AiPlanState, ap as ApiErrorBody, aq as AspectRatios, ar as AuthError, as as ClientPlan, at as CommentAuthor, au as CommentChange, av as ContactChannel, aw as ContactError, ax as DashboardAiPlanRef, ay as DashboardPublicationRef, az as DashboardRange, aA as EngagementBase, aB as FileError, aC as FileFormat, aD as FileProperties, aE as FileType, aF as IntegrationError, aG as IntegrationErrorChange, aH as MessageChange, aI as MessageOptions, aJ as MessageType, aK as MessagingError, aL as MetricRow, aM as NO_ERROR_CODE, aN as OpenApiComponents, aO as OpenApiOperations, aP as OpenApiPaths, aQ as OpenApiWebhooks, aR as OpenEnum, aS as OrganizationError, aT as PLANVORTEX_ERROR_RANGES, aU as PlanLimitError, aV as PlanVortexAuthenticationError, aW as PlanVortexConfigError, aX as PlanVortexConnectionError, aY as PlanVortexError, aZ as PlanVortexErrorOptions, a_ as PlanVortexErrorRange, a$ as PlannerTemplateField, b0 as PlannerTemplateFieldType, b1 as PlannerTemplateName, b2 as ProductError, b3 as PublicationError, b4 as PublicationErrorDetail, b5 as PublicationMetrics, b6 as PublicationStatsPoint, b7 as PublicationType, b8 as PublicationsSummary, b9 as RssConfig, ba as SocialAuthorizationMethod, bb as SocialCredentials, bc as SocialIdentifier, bd as SocialIdentifierInput, be as SocialLimitsMap, bf as TOKEN_ERROR_CODES, bg as TopPublication, bh as UnknownWebhookChange, bi as UserError, bj as WebhookAlgorithm, bk as WebhookChange, bl as WebhookEvent, bm as WithAccount, bn as WithPublication, bo as account, bp as accountId, bq as errorFamilyForCode, br as isPlanVortexError, bs as isTokenError, bt as messageContact, bu as messageContactId, bv as messageDirection, bw as messageFileIds, bx as messageFiles, by as publication, bz as publicationId } from './index-DteI6Aqt.js';
1
+ import { P as Paginated, S as SocialNetwork, C as ConnectLink, a as ConnectResult, E as EnableResult, A as Account, b as AccountMetrics, c as PersistentMenu, d as Publication, e as AiPlanCreateRequest, f as AiPlanCreateResult, g as AiPlan, h as ClientApp, i as ClientAppInput, j as SocialCapabilities, k as CommentActions, l as SocialLimits, m as PublicationLimits, n as AspectRatiosByNetwork, o as PlannerTemplate, p as CommentNetwork, q as Comment, r as CommentThread, s as CommentReplyResult, t as ContactExtraData, u as Contact, v as ContactCreate, w as ContactUpdate, D as Dashboard, M as MetricName, x as DashboardMetricsResult, y as PublicationsSummaryResult, T as TopPublicationsResult, z as PublicationsStatsResult, B as PlanUse, I as IntegrationProviderName, F as IntegrationProvider, G as Integration, H as IntegrationConnectRequest, J as IntegrationUpdate, K as IntegrationPickerConfig, L as MessageTemplate, N as Conversation, O as ConversationTotals, Q as Message, R as MessageInput, U as Client, V as Organization, W as AiSettings, X as ClientWithOrganizations, Y as PlanData, Z as PlanUseData, _ as ConnectToken, $ as AiContext, a0 as SocialCredentialsInput, a1 as Product, a2 as ProductInput, a3 as ProductCatalog, a4 as ProductCatalogInput, a5 as PublicationInput, a6 as PublicationState, a7 as PublicationStats, a8 as PublicationStatsHistory, a9 as Upload } from './index-Cgvnq4LI.js';
2
+ export { aa as AccountError, ab as AccountMetricRow, ac as AccountStateChange, ad as AccountWebhookChangeBase, ae as AccountWithError, af as AiPlanCostEstimate, ag as AiPlanError, ah as AiPlanNotice, ai as AiPlanOptions, aj as AiPlanOptionsInput, ak as AiPlanSource, al as AiPlanSourceImageInput, am as AiPlanSourceInput, an as AiPlanSourceProduct, ao as AiPlanState, ap as ApiErrorBody, aq as AspectRatios, ar as AuthError, as as ClientPlan, at as CommentAuthor, au as CommentChange, av as ContactChannel, aw as ContactError, ax as DashboardAiPlanRef, ay as DashboardPublicationRef, az as DashboardRange, aA as EngagementBase, aB as FileError, aC as FileFormat, aD as FileProperties, aE as FileType, aF as IntegrationError, aG as IntegrationErrorChange, aH as MessageChange, aI as MessageOptions, aJ as MessageType, aK as MessagingError, aL as MetricRow, aM as NO_ERROR_CODE, aN as OpenApiComponents, aO as OpenApiOperations, aP as OpenApiPaths, aQ as OpenApiWebhooks, aR as OpenEnum, aS as OrganizationError, aT as PLANVORTEX_ERROR_RANGES, aU as PlanLimitError, aV as PlanVortexAuthenticationError, aW as PlanVortexConfigError, aX as PlanVortexConnectionError, aY as PlanVortexError, aZ as PlanVortexErrorOptions, a_ as PlanVortexErrorRange, a$ as PlannerTemplateField, b0 as PlannerTemplateFieldType, b1 as PlannerTemplateName, b2 as ProductError, b3 as PublicationError, b4 as PublicationErrorDetail, b5 as PublicationMetrics, b6 as PublicationStatsPoint, b7 as PublicationType, b8 as PublicationsSummary, b9 as RssConfig, ba as SocialAuthorizationMethod, bb as SocialCredentials, bc as SocialIdentifier, bd as SocialIdentifierInput, be as SocialLimitsMap, bf as TOKEN_ERROR_CODES, bg as TopPublication, bh as UnknownWebhookChange, bi as UserError, bj as WebhookAlgorithm, bk as WebhookChange, bl as WebhookEvent, bm as WithAccount, bn as WithPublication, bo as account, bp as accountId, bq as errorFamilyForCode, br as isPlanVortexError, bs as isTokenError, bt as messageContact, bu as messageContactId, bv as messageDirection, bw as messageFileIds, bx as messageFiles, by as publication, bz as publicationId } from './index-Cgvnq4LI.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.8.0";
18
+ declare const VERSION = "0.9.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.js CHANGED
@@ -4,7 +4,7 @@ import { basename } from 'path';
4
4
 
5
5
  // src/version.ts
6
6
  var PLANVORTEX_API_URL = "https://api.planvortex.com/v1.0.0";
7
- var VERSION = "0.8.0";
7
+ var VERSION = "0.9.0";
8
8
 
9
9
  // src/core/auth.ts
10
10
  var TOKEN_REFRESH_MARGIN_MS = 6e4;