@geekapps/post-fastify 0.1.7 → 0.1.9
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.ts +2 -6
- package/package.json +1 -1
- package/src/index.ts +0 -1
- package/src/types.ts +1 -6
package/dist/index.d.ts
CHANGED
|
@@ -206,15 +206,11 @@ interface TemplateVariable {
|
|
|
206
206
|
name: string;
|
|
207
207
|
value: string;
|
|
208
208
|
}
|
|
209
|
-
interface ButtonVariables {
|
|
210
|
-
index: number;
|
|
211
|
-
variables: TemplateVariable[];
|
|
212
|
-
}
|
|
213
209
|
interface TemplateVariables {
|
|
214
210
|
header?: TemplateVariable[];
|
|
215
211
|
body?: TemplateVariable[];
|
|
216
212
|
footer?: TemplateVariable[];
|
|
217
|
-
buttons?:
|
|
213
|
+
buttons?: TemplateVariable[];
|
|
218
214
|
}
|
|
219
215
|
interface SendMessageInput {
|
|
220
216
|
type: MessageType;
|
|
@@ -556,4 +552,4 @@ declare module "fastify" {
|
|
|
556
552
|
}
|
|
557
553
|
declare const _default: FastifyPluginAsync<PostPluginOptions>;
|
|
558
554
|
|
|
559
|
-
export { type AreaCode, type AvailablePlan, type
|
|
555
|
+
export { type AreaCode, type AvailablePlan, type ConnectWabaInput, type ConnectWhatsappNumberInput, type CreateDomainInput, type CreateDomainResult, type CreateTemplateInput, type CreateWebhookInput, type CreateWhatsappTemplateInput, type DnsRecord, type DomainStatus, type DomainType, DomainsResource, HistoryResource, type ListHistoryParams, type ManagedNumber, type ManagedNumberStatus, ManagedNumbersResource, type MessageLog, type MessageLogDetail, type MessageStatus, type MessageTemplate, type MessageType, MessagesResource, type OrgDomain, type OrgPlan, type OrgUsage, type OrgWaba, type OrgWebhook, type OrgWebhookWithSecret, type PaginatedResult, type PhoneNumberStatusResult, type PlanTier, PlansResource, type PlansResult, PostApiError, PostClient, type PostPluginOptions, type RegisterWhatsappNumberInput, type RotateSecretResult, type SaveDraftInput, type SendMessageInput, type SendMessageResult, type SmtpConfig, SmtpResource, type StatisticsParams, StatisticsResource, type StatisticsResult, type SyncWhatsappTemplatesResult, type TemplateVariable, type TemplateVariables, TemplatesResource, type UpdatePlanInput, type UpdateTemplateInput, type UpdateWebhookInput, type UpdateWhatsappProfileInput, type UpdateWhatsappTemplateInput, type UpsertSmtpConfigInput, type WabaStatus, type WebhookDelivery, type WebhookEvent, WebhooksResource, type WhatsappNumber, type WhatsappNumberProfile, type WhatsappNumberStatus, WhatsappNumbersResource, type WhatsappTemplate, type WhatsappTemplateCategory, type WhatsappTemplateStatus, WhatsappTemplatesResource, _default as postPlugin };
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
package/src/types.ts
CHANGED
|
@@ -244,16 +244,11 @@ export interface TemplateVariable {
|
|
|
244
244
|
value: string;
|
|
245
245
|
}
|
|
246
246
|
|
|
247
|
-
export interface ButtonVariables {
|
|
248
|
-
index: number;
|
|
249
|
-
variables: TemplateVariable[];
|
|
250
|
-
}
|
|
251
|
-
|
|
252
247
|
export interface TemplateVariables {
|
|
253
248
|
header?: TemplateVariable[];
|
|
254
249
|
body?: TemplateVariable[];
|
|
255
250
|
footer?: TemplateVariable[];
|
|
256
|
-
buttons?:
|
|
251
|
+
buttons?: TemplateVariable[];
|
|
257
252
|
}
|
|
258
253
|
|
|
259
254
|
export interface SendMessageInput {
|