@geekapps/post-fastify 0.1.6 → 0.1.7
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 +6 -2
- package/package.json +1 -1
- package/src/index.ts +1 -0
- package/src/types.ts +6 -1
package/dist/index.d.ts
CHANGED
|
@@ -206,11 +206,15 @@ interface TemplateVariable {
|
|
|
206
206
|
name: string;
|
|
207
207
|
value: string;
|
|
208
208
|
}
|
|
209
|
+
interface ButtonVariables {
|
|
210
|
+
index: number;
|
|
211
|
+
variables: TemplateVariable[];
|
|
212
|
+
}
|
|
209
213
|
interface TemplateVariables {
|
|
210
214
|
header?: TemplateVariable[];
|
|
211
215
|
body?: TemplateVariable[];
|
|
212
216
|
footer?: TemplateVariable[];
|
|
213
|
-
buttons?:
|
|
217
|
+
buttons?: ButtonVariables[];
|
|
214
218
|
}
|
|
215
219
|
interface SendMessageInput {
|
|
216
220
|
type: MessageType;
|
|
@@ -552,4 +556,4 @@ declare module "fastify" {
|
|
|
552
556
|
}
|
|
553
557
|
declare const _default: FastifyPluginAsync<PostPluginOptions>;
|
|
554
558
|
|
|
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 };
|
|
559
|
+
export { type AreaCode, type AvailablePlan, type ButtonVariables, 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,11 +244,16 @@ export interface TemplateVariable {
|
|
|
244
244
|
value: string;
|
|
245
245
|
}
|
|
246
246
|
|
|
247
|
+
export interface ButtonVariables {
|
|
248
|
+
index: number;
|
|
249
|
+
variables: TemplateVariable[];
|
|
250
|
+
}
|
|
251
|
+
|
|
247
252
|
export interface TemplateVariables {
|
|
248
253
|
header?: TemplateVariable[];
|
|
249
254
|
body?: TemplateVariable[];
|
|
250
255
|
footer?: TemplateVariable[];
|
|
251
|
-
buttons?:
|
|
256
|
+
buttons?: ButtonVariables[];
|
|
252
257
|
}
|
|
253
258
|
|
|
254
259
|
export interface SendMessageInput {
|