@keystrokehq/sms_alert 0.1.4 → 0.1.6
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/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/change-password.cjs +1 -0
- package/dist/actions/change-password.cjs.map +1 -1
- package/dist/actions/change-password.d.cts +4 -6
- package/dist/actions/change-password.d.cts.map +1 -1
- package/dist/actions/change-password.d.mts +4 -6
- package/dist/actions/change-password.d.mts.map +1 -1
- package/dist/actions/change-password.mjs +1 -0
- package/dist/actions/change-password.mjs.map +1 -1
- package/dist/actions/get-balance-check.cjs +1 -0
- package/dist/actions/get-balance-check.cjs.map +1 -1
- package/dist/actions/get-balance-check.d.cts +3 -1
- package/dist/actions/get-balance-check.d.cts.map +1 -1
- package/dist/actions/get-balance-check.d.mts +3 -1
- package/dist/actions/get-balance-check.d.mts.map +1 -1
- package/dist/actions/get-balance-check.mjs +1 -0
- package/dist/actions/get-balance-check.mjs.map +1 -1
- package/dist/actions/get-delivery-report.cjs +1 -0
- package/dist/actions/get-delivery-report.cjs.map +1 -1
- package/dist/actions/get-delivery-report.d.cts +3 -6
- package/dist/actions/get-delivery-report.d.cts.map +1 -1
- package/dist/actions/get-delivery-report.d.mts +3 -6
- package/dist/actions/get-delivery-report.d.mts.map +1 -1
- package/dist/actions/get-delivery-report.mjs +1 -0
- package/dist/actions/get-delivery-report.mjs.map +1 -1
- package/dist/actions/get-group-detail.cjs +1 -0
- package/dist/actions/get-group-detail.cjs.map +1 -1
- package/dist/actions/get-group-detail.d.cts +3 -3
- package/dist/actions/get-group-detail.d.cts.map +1 -1
- package/dist/actions/get-group-detail.d.mts +3 -3
- package/dist/actions/get-group-detail.d.mts.map +1 -1
- package/dist/actions/get-group-detail.mjs +1 -0
- package/dist/actions/get-group-detail.mjs.map +1 -1
- package/dist/actions/get-group-list.cjs +1 -0
- package/dist/actions/get-group-list.cjs.map +1 -1
- package/dist/actions/get-group-list.d.cts +3 -1
- package/dist/actions/get-group-list.d.cts.map +1 -1
- package/dist/actions/get-group-list.d.mts +3 -1
- package/dist/actions/get-group-list.d.mts.map +1 -1
- package/dist/actions/get-group-list.mjs +1 -0
- package/dist/actions/get-group-list.mjs.map +1 -1
- package/dist/actions/get-sender-id-list.cjs +1 -0
- package/dist/actions/get-sender-id-list.cjs.map +1 -1
- package/dist/actions/get-sender-id-list.d.cts +3 -1
- package/dist/actions/get-sender-id-list.d.cts.map +1 -1
- package/dist/actions/get-sender-id-list.d.mts +3 -1
- package/dist/actions/get-sender-id-list.d.mts.map +1 -1
- package/dist/actions/get-sender-id-list.mjs +1 -0
- package/dist/actions/get-sender-id-list.mjs.map +1 -1
- package/dist/actions/get-template-list.cjs +1 -0
- package/dist/actions/get-template-list.cjs.map +1 -1
- package/dist/actions/get-template-list.d.cts +3 -3
- package/dist/actions/get-template-list.d.cts.map +1 -1
- package/dist/actions/get-template-list.d.mts +3 -3
- package/dist/actions/get-template-list.d.mts.map +1 -1
- package/dist/actions/get-template-list.mjs +1 -0
- package/dist/actions/get-template-list.mjs.map +1 -1
- package/dist/actions/get-user-profile.cjs +1 -0
- package/dist/actions/get-user-profile.cjs.map +1 -1
- package/dist/actions/get-user-profile.d.cts +3 -1
- package/dist/actions/get-user-profile.d.cts.map +1 -1
- package/dist/actions/get-user-profile.d.mts +3 -1
- package/dist/actions/get-user-profile.d.mts.map +1 -1
- package/dist/actions/get-user-profile.mjs +1 -0
- package/dist/actions/get-user-profile.mjs.map +1 -1
- package/dist/actions/post-create-contact.cjs +1 -0
- package/dist/actions/post-create-contact.cjs.map +1 -1
- package/dist/actions/post-create-contact.d.cts +3 -5
- package/dist/actions/post-create-contact.d.cts.map +1 -1
- package/dist/actions/post-create-contact.d.mts +3 -5
- package/dist/actions/post-create-contact.d.mts.map +1 -1
- package/dist/actions/post-create-contact.mjs +1 -0
- package/dist/actions/post-create-contact.mjs.map +1 -1
- package/dist/actions/post-create-group.cjs +1 -0
- package/dist/actions/post-create-group.cjs.map +1 -1
- package/dist/actions/post-create-group.d.cts +3 -3
- package/dist/actions/post-create-group.d.cts.map +1 -1
- package/dist/actions/post-create-group.d.mts +3 -3
- package/dist/actions/post-create-group.d.mts.map +1 -1
- package/dist/actions/post-create-group.mjs +1 -0
- package/dist/actions/post-create-group.mjs.map +1 -1
- package/dist/actions/post-create-short-url.cjs +1 -0
- package/dist/actions/post-create-short-url.cjs.map +1 -1
- package/dist/actions/post-create-short-url.d.cts +3 -4
- package/dist/actions/post-create-short-url.d.cts.map +1 -1
- package/dist/actions/post-create-short-url.d.mts +3 -4
- package/dist/actions/post-create-short-url.d.mts.map +1 -1
- package/dist/actions/post-create-short-url.mjs +1 -0
- package/dist/actions/post-create-short-url.mjs.map +1 -1
- package/dist/actions/post-create-template.cjs +1 -0
- package/dist/actions/post-create-template.cjs.map +1 -1
- package/dist/actions/post-create-template.d.cts +3 -4
- package/dist/actions/post-create-template.d.cts.map +1 -1
- package/dist/actions/post-create-template.d.mts +3 -4
- package/dist/actions/post-create-template.d.mts.map +1 -1
- package/dist/actions/post-create-template.mjs +1 -0
- package/dist/actions/post-create-template.mjs.map +1 -1
- package/dist/actions/post-delete-contact.cjs +1 -0
- package/dist/actions/post-delete-contact.cjs.map +1 -1
- package/dist/actions/post-delete-contact.d.cts +3 -3
- package/dist/actions/post-delete-contact.d.cts.map +1 -1
- package/dist/actions/post-delete-contact.d.mts +3 -3
- package/dist/actions/post-delete-contact.d.mts.map +1 -1
- package/dist/actions/post-delete-contact.mjs +1 -0
- package/dist/actions/post-delete-contact.mjs.map +1 -1
- package/dist/actions/post-delete-group.cjs +1 -0
- package/dist/actions/post-delete-group.cjs.map +1 -1
- package/dist/actions/post-delete-group.d.cts +3 -3
- package/dist/actions/post-delete-group.d.cts.map +1 -1
- package/dist/actions/post-delete-group.d.mts +3 -3
- package/dist/actions/post-delete-group.d.mts.map +1 -1
- package/dist/actions/post-delete-group.mjs +1 -0
- package/dist/actions/post-delete-group.mjs.map +1 -1
- package/dist/actions/post-delete-short-url.cjs +1 -0
- package/dist/actions/post-delete-short-url.cjs.map +1 -1
- package/dist/actions/post-delete-short-url.d.cts +3 -3
- package/dist/actions/post-delete-short-url.d.cts.map +1 -1
- package/dist/actions/post-delete-short-url.d.mts +3 -3
- package/dist/actions/post-delete-short-url.d.mts.map +1 -1
- package/dist/actions/post-delete-short-url.mjs +1 -0
- package/dist/actions/post-delete-short-url.mjs.map +1 -1
- package/dist/actions/post-delete-template.cjs +1 -0
- package/dist/actions/post-delete-template.cjs.map +1 -1
- package/dist/actions/post-delete-template.d.cts +3 -3
- package/dist/actions/post-delete-template.d.cts.map +1 -1
- package/dist/actions/post-delete-template.d.mts +3 -3
- package/dist/actions/post-delete-template.d.mts.map +1 -1
- package/dist/actions/post-delete-template.mjs +1 -0
- package/dist/actions/post-delete-template.mjs.map +1 -1
- package/dist/actions/post-edit-contact.cjs +1 -0
- package/dist/actions/post-edit-contact.cjs.map +1 -1
- package/dist/actions/post-edit-contact.d.cts +3 -7
- package/dist/actions/post-edit-contact.d.cts.map +1 -1
- package/dist/actions/post-edit-contact.d.mts +3 -7
- package/dist/actions/post-edit-contact.d.mts.map +1 -1
- package/dist/actions/post-edit-contact.mjs +1 -0
- package/dist/actions/post-edit-contact.mjs.map +1 -1
- package/dist/actions/post-edit-group.cjs +1 -0
- package/dist/actions/post-edit-group.cjs.map +1 -1
- package/dist/actions/post-edit-group.d.cts +3 -4
- package/dist/actions/post-edit-group.d.cts.map +1 -1
- package/dist/actions/post-edit-group.d.mts +3 -4
- package/dist/actions/post-edit-group.d.mts.map +1 -1
- package/dist/actions/post-edit-group.mjs +1 -0
- package/dist/actions/post-edit-group.mjs.map +1 -1
- package/dist/actions/post-edit-profile.cjs +1 -0
- package/dist/actions/post-edit-profile.cjs.map +1 -1
- package/dist/actions/post-edit-profile.d.cts +4 -12
- package/dist/actions/post-edit-profile.d.cts.map +1 -1
- package/dist/actions/post-edit-profile.d.mts +4 -12
- package/dist/actions/post-edit-profile.d.mts.map +1 -1
- package/dist/actions/post-edit-profile.mjs +1 -0
- package/dist/actions/post-edit-profile.mjs.map +1 -1
- package/dist/actions/post-edit-template.cjs +1 -0
- package/dist/actions/post-edit-template.cjs.map +1 -1
- package/dist/actions/post-edit-template.d.cts +3 -5
- package/dist/actions/post-edit-template.d.cts.map +1 -1
- package/dist/actions/post-edit-template.d.mts +3 -5
- package/dist/actions/post-edit-template.d.mts.map +1 -1
- package/dist/actions/post-edit-template.mjs +1 -0
- package/dist/actions/post-edit-template.mjs.map +1 -1
- package/dist/actions/post-generate-otp.cjs +1 -0
- package/dist/actions/post-generate-otp.cjs.map +1 -1
- package/dist/actions/post-generate-otp.d.cts +3 -5
- package/dist/actions/post-generate-otp.d.cts.map +1 -1
- package/dist/actions/post-generate-otp.d.mts +3 -5
- package/dist/actions/post-generate-otp.d.mts.map +1 -1
- package/dist/actions/post-generate-otp.mjs +1 -0
- package/dist/actions/post-generate-otp.mjs.map +1 -1
- package/dist/actions/post-sent-sms-report.cjs +1 -0
- package/dist/actions/post-sent-sms-report.cjs.map +1 -1
- package/dist/actions/post-sent-sms-report.d.cts +3 -6
- package/dist/actions/post-sent-sms-report.d.cts.map +1 -1
- package/dist/actions/post-sent-sms-report.d.mts +3 -6
- package/dist/actions/post-sent-sms-report.d.mts.map +1 -1
- package/dist/actions/post-sent-sms-report.mjs +1 -0
- package/dist/actions/post-sent-sms-report.mjs.map +1 -1
- package/dist/actions/send-sms-xml.cjs +1 -0
- package/dist/actions/send-sms-xml.cjs.map +1 -1
- package/dist/actions/send-sms-xml.d.cts +3 -11
- package/dist/actions/send-sms-xml.d.cts.map +1 -1
- package/dist/actions/send-sms-xml.d.mts +3 -11
- package/dist/actions/send-sms-xml.d.mts.map +1 -1
- package/dist/actions/send-sms-xml.mjs +1 -0
- package/dist/actions/send-sms-xml.mjs.map +1 -1
- package/dist/app.cjs +5 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +7 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +7 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +3 -2
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-sender-id-list.mjs","names":[],"sources":["../../src/actions/get-sender-id-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertGetSenderIdListInput = z.object({}).describe(\"Empty request model. Uses configured API key from metadata.\");\nconst SmsAlertGetSenderIdList_SenderItemSchema = z.object({\n sender: z.string().describe(\"The sender ID.\").nullable(),\n}).passthrough();\nconst SmsAlertGetSenderIdList_DescriptionItemSchema = z.object({\n desc: z.string().describe(\"Description message.\").nullable(),\n}).passthrough();\nexport const SmsAlertGetSenderIdListOutput = z.object({\n sender: z.array(SmsAlertGetSenderIdList_SenderItemSchema).describe(\"List of sender ID objects. Only present when status is 'success'.\").nullable().optional(),\n status: z.string().describe(\"API call status (e.g., 'success' or 'error').\").nullable(),\n description: SmsAlertGetSenderIdList_DescriptionItemSchema.nullable().optional(),\n}).passthrough();\n\nexport const smsAlertGetSenderIdList = action(\"SMS_ALERT_GET_SENDER_ID_LIST\", {\n slug: \"sms_alert-get-sender-id-list\",\n name: \"Get Sender ID List\",\n description: \"Tool to fetch the list of available sender IDs. Use when you need to retrieve all sender IDs associated with your account. Use after configuring your API key.\",\n input: SmsAlertGetSenderIdListInput,\n output: SmsAlertGetSenderIdListOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-sender-id-list.mjs","names":[],"sources":["../../src/actions/get-sender-id-list.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { smsAlert } from \"../app\";\n\nexport const SmsAlertGetSenderIdListInput = z.object({}).describe(\"Empty request model. Uses configured API key from metadata.\");\nconst SmsAlertGetSenderIdList_SenderItemSchema = z.object({\n sender: z.string().describe(\"The sender ID.\").nullable(),\n}).passthrough();\nconst SmsAlertGetSenderIdList_DescriptionItemSchema = z.object({\n desc: z.string().describe(\"Description message.\").nullable(),\n}).passthrough();\nexport const SmsAlertGetSenderIdListOutput = z.object({\n sender: z.array(SmsAlertGetSenderIdList_SenderItemSchema).describe(\"List of sender ID objects. Only present when status is 'success'.\").nullable().optional(),\n status: z.string().describe(\"API call status (e.g., 'success' or 'error').\").nullable(),\n description: SmsAlertGetSenderIdList_DescriptionItemSchema.nullable().optional(),\n}).passthrough();\n\nexport const smsAlertGetSenderIdList: AppAction<\n typeof SmsAlertGetSenderIdListInput,\n typeof SmsAlertGetSenderIdListOutput,\n typeof smsAlert.credential\n> = action(\"SMS_ALERT_GET_SENDER_ID_LIST\", {\n slug: \"sms_alert-get-sender-id-list\",\n name: \"Get Sender ID List\",\n description: \"Tool to fetch the list of available sender IDs. Use when you need to retrieve all sender IDs associated with your account. Use after configuring your API key.\",\n input: SmsAlertGetSenderIdListInput,\n output: SmsAlertGetSenderIdListOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6DAA6D;AAC/H,MAAM,2CAA2C,EAAE,OAAO,EACxD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,EACzD,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,gDAAgD,EAAE,OAAO,EAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,EAC7D,CAAC,CAAC,CAAC,YAAY;AAOf,MAAa,0BAIT,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAf2C,EAAE,OAAO;EACpD,QAAQ,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5J,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACtF,aAAa,8CAA8C,SAAS,CAAC,CAAC,SAAS;CACjF,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-template-list.cjs","names":["z","action"],"sources":["../../src/actions/get-template-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertGetTemplateListInput = z.object({\n template_type: z.string().describe(\"Filter templates by type, e.g., 'transactional' or 'promotional'.\").optional(),\n}).describe(\"Request model for GET_TEMPLATE_LIST action.\");\nconst SmsAlertGetTemplateList_SmsTemplateSchema = z.object({\n id: z.string().describe(\"Unique ID of the template.\").nullable(),\n title: z.string().describe(\"Name/title of the template.\").nullable(),\n active: z.boolean().describe(\"Whether the template is active.\").nullable(),\n template: z.string().describe(\"Content/text of the template.\").nullable(),\n creationdate: z.string().describe(\"Date and time when the template was created.\").nullable(),\n}).passthrough().describe(\"Model representing SMS template details.\");\nconst SmsAlertGetTemplateList_TemplateWrapperSchema = z.object({\n Smstemplate: SmsAlertGetTemplateList_SmsTemplateSchema.nullable(),\n}).passthrough().describe(\"Wrapper containing the SMS template object.\");\nexport const SmsAlertGetTemplateListOutput = z.object({\n status: z.string().describe(\"API call status, 'success' or 'error'.\").nullable(),\n description: z.array(SmsAlertGetTemplateList_TemplateWrapperSchema).describe(\"List of SMS template wrapper objects.\"),\n}).passthrough().describe(\"Response model for GET_TEMPLATE_LIST action.\");\n\nexport const smsAlertGetTemplateList = action(\"SMS_ALERT_GET_TEMPLATE_LIST\", {\n slug: \"sms_alert-get-template-list\",\n name: \"Get SMS Template List\",\n description: \"Tool to retrieve list of SMS templates from your SmsAlert account. Use when you need to display or manage your SMSAlert templates.\",\n input: SmsAlertGetTemplateListInput,\n output: SmsAlertGetTemplateListOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-template-list.cjs","names":["z","action"],"sources":["../../src/actions/get-template-list.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { smsAlert } from \"../app\";\n\nexport const SmsAlertGetTemplateListInput = z.object({\n template_type: z.string().describe(\"Filter templates by type, e.g., 'transactional' or 'promotional'.\").optional(),\n}).describe(\"Request model for GET_TEMPLATE_LIST action.\");\nconst SmsAlertGetTemplateList_SmsTemplateSchema = z.object({\n id: z.string().describe(\"Unique ID of the template.\").nullable(),\n title: z.string().describe(\"Name/title of the template.\").nullable(),\n active: z.boolean().describe(\"Whether the template is active.\").nullable(),\n template: z.string().describe(\"Content/text of the template.\").nullable(),\n creationdate: z.string().describe(\"Date and time when the template was created.\").nullable(),\n}).passthrough().describe(\"Model representing SMS template details.\");\nconst SmsAlertGetTemplateList_TemplateWrapperSchema = z.object({\n Smstemplate: SmsAlertGetTemplateList_SmsTemplateSchema.nullable(),\n}).passthrough().describe(\"Wrapper containing the SMS template object.\");\nexport const SmsAlertGetTemplateListOutput = z.object({\n status: z.string().describe(\"API call status, 'success' or 'error'.\").nullable(),\n description: z.array(SmsAlertGetTemplateList_TemplateWrapperSchema).describe(\"List of SMS template wrapper objects.\"),\n}).passthrough().describe(\"Response model for GET_TEMPLATE_LIST action.\");\n\nexport const smsAlertGetTemplateList: AppAction<\n typeof SmsAlertGetTemplateListInput,\n typeof SmsAlertGetTemplateListOutput,\n typeof smsAlert.credential\n> = action(\"SMS_ALERT_GET_TEMPLATE_LIST\", {\n slug: \"sms_alert-get-template-list\",\n name: \"Get SMS Template List\",\n description: \"Tool to retrieve list of SMS templates from your SmsAlert account. Use when you need to display or manage your SMSAlert templates.\",\n input: SmsAlertGetTemplateListInput,\n output: SmsAlertGetTemplateListOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,EACnH,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACnE,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACzE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACxE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAM,gDAAgDA,IAAAA,EAAE,OAAO,EAC7D,aAAa,0CAA0C,SAAS,EAClE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC/E,aAAaA,IAAAA,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,uCAAuC;AACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,0BAITC,eAAAA,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { smsAlert } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-template-list.d.ts
|
|
@@ -16,9 +18,7 @@ declare const SmsAlertGetTemplateListOutput: z.ZodObject<{
|
|
|
16
18
|
}, z.core.$loose>>;
|
|
17
19
|
}, z.core.$loose>>;
|
|
18
20
|
}, z.core.$loose>;
|
|
19
|
-
declare const smsAlertGetTemplateList:
|
|
20
|
-
template_type?: string | undefined;
|
|
21
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
21
|
+
declare const smsAlertGetTemplateList: AppAction<typeof SmsAlertGetTemplateListInput, typeof SmsAlertGetTemplateListOutput, typeof smsAlert.credential>;
|
|
22
22
|
//#endregion
|
|
23
23
|
export { smsAlertGetTemplateList };
|
|
24
24
|
//# sourceMappingURL=get-template-list.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-template-list.d.cts","names":[],"sources":["../../src/actions/get-template-list.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-template-list.d.cts","names":[],"sources":["../../src/actions/get-template-list.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAa5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAK7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { smsAlert } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-template-list.d.ts
|
|
@@ -16,9 +18,7 @@ declare const SmsAlertGetTemplateListOutput: z.ZodObject<{
|
|
|
16
18
|
}, z.core.$loose>>;
|
|
17
19
|
}, z.core.$loose>>;
|
|
18
20
|
}, z.core.$loose>;
|
|
19
|
-
declare const smsAlertGetTemplateList:
|
|
20
|
-
template_type?: string | undefined;
|
|
21
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
21
|
+
declare const smsAlertGetTemplateList: AppAction<typeof SmsAlertGetTemplateListInput, typeof SmsAlertGetTemplateListOutput, typeof smsAlert.credential>;
|
|
22
22
|
//#endregion
|
|
23
23
|
export { smsAlertGetTemplateList };
|
|
24
24
|
//# sourceMappingURL=get-template-list.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-template-list.d.mts","names":[],"sources":["../../src/actions/get-template-list.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-template-list.d.mts","names":[],"sources":["../../src/actions/get-template-list.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAa5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAK7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-template-list.mjs","names":[],"sources":["../../src/actions/get-template-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertGetTemplateListInput = z.object({\n template_type: z.string().describe(\"Filter templates by type, e.g., 'transactional' or 'promotional'.\").optional(),\n}).describe(\"Request model for GET_TEMPLATE_LIST action.\");\nconst SmsAlertGetTemplateList_SmsTemplateSchema = z.object({\n id: z.string().describe(\"Unique ID of the template.\").nullable(),\n title: z.string().describe(\"Name/title of the template.\").nullable(),\n active: z.boolean().describe(\"Whether the template is active.\").nullable(),\n template: z.string().describe(\"Content/text of the template.\").nullable(),\n creationdate: z.string().describe(\"Date and time when the template was created.\").nullable(),\n}).passthrough().describe(\"Model representing SMS template details.\");\nconst SmsAlertGetTemplateList_TemplateWrapperSchema = z.object({\n Smstemplate: SmsAlertGetTemplateList_SmsTemplateSchema.nullable(),\n}).passthrough().describe(\"Wrapper containing the SMS template object.\");\nexport const SmsAlertGetTemplateListOutput = z.object({\n status: z.string().describe(\"API call status, 'success' or 'error'.\").nullable(),\n description: z.array(SmsAlertGetTemplateList_TemplateWrapperSchema).describe(\"List of SMS template wrapper objects.\"),\n}).passthrough().describe(\"Response model for GET_TEMPLATE_LIST action.\");\n\nexport const smsAlertGetTemplateList = action(\"SMS_ALERT_GET_TEMPLATE_LIST\", {\n slug: \"sms_alert-get-template-list\",\n name: \"Get SMS Template List\",\n description: \"Tool to retrieve list of SMS templates from your SmsAlert account. Use when you need to display or manage your SMSAlert templates.\",\n input: SmsAlertGetTemplateListInput,\n output: SmsAlertGetTemplateListOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-template-list.mjs","names":[],"sources":["../../src/actions/get-template-list.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { smsAlert } from \"../app\";\n\nexport const SmsAlertGetTemplateListInput = z.object({\n template_type: z.string().describe(\"Filter templates by type, e.g., 'transactional' or 'promotional'.\").optional(),\n}).describe(\"Request model for GET_TEMPLATE_LIST action.\");\nconst SmsAlertGetTemplateList_SmsTemplateSchema = z.object({\n id: z.string().describe(\"Unique ID of the template.\").nullable(),\n title: z.string().describe(\"Name/title of the template.\").nullable(),\n active: z.boolean().describe(\"Whether the template is active.\").nullable(),\n template: z.string().describe(\"Content/text of the template.\").nullable(),\n creationdate: z.string().describe(\"Date and time when the template was created.\").nullable(),\n}).passthrough().describe(\"Model representing SMS template details.\");\nconst SmsAlertGetTemplateList_TemplateWrapperSchema = z.object({\n Smstemplate: SmsAlertGetTemplateList_SmsTemplateSchema.nullable(),\n}).passthrough().describe(\"Wrapper containing the SMS template object.\");\nexport const SmsAlertGetTemplateListOutput = z.object({\n status: z.string().describe(\"API call status, 'success' or 'error'.\").nullable(),\n description: z.array(SmsAlertGetTemplateList_TemplateWrapperSchema).describe(\"List of SMS template wrapper objects.\"),\n}).passthrough().describe(\"Response model for GET_TEMPLATE_LIST action.\");\n\nexport const smsAlertGetTemplateList: AppAction<\n typeof SmsAlertGetTemplateListInput,\n typeof SmsAlertGetTemplateListOutput,\n typeof smsAlert.credential\n> = action(\"SMS_ALERT_GET_TEMPLATE_LIST\", {\n slug: \"sms_alert-get-template-list\",\n name: \"Get SMS Template List\",\n description: \"Tool to retrieve list of SMS templates from your SmsAlert account. Use when you need to display or manage your SMSAlert templates.\",\n input: SmsAlertGetTemplateListInput,\n output: SmsAlertGetTemplateListOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+B,EAAE,OAAO,EACnD,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,EACnH,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAM,4CAA4C,EAAE,OAAO;CACzD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC/D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACnE,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACzE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACxE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAM,gDAAgD,EAAE,OAAO,EAC7D,aAAa,0CAA0C,SAAS,EAClE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAMvE,MAAa,0BAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAd2C,EAAE,OAAO;EACpD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EAC/E,aAAa,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,uCAAuC;CACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user-profile.cjs","names":["z","action"],"sources":["../../src/actions/get-user-profile.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertGetUserProfileInput = z.object({}).describe(\"Empty request model for GET_USER_PROFILE. Uses configured API key from metadata for authentication.\");\nconst SmsAlertGetUserProfile_UserProfileDescriptionSchema = z.object({\n id: z.string().describe(\"User account identifier\").nullable().optional(),\n emailid: z.string().describe(\"Registered email address\").nullable().optional(),\n lastname: z.string().describe(\"User's last name\").nullable().optional(),\n username: z.string().describe(\"Login username\").nullable().optional(),\n firstname: z.string().describe(\"User's first name\").nullable().optional(),\n parent_id: z.string().describe(\"Parent account ID\").nullable().optional(),\n expirydate: z.string().describe(\"Account expiration date\").nullable().optional(),\n kyc_status: z.number().int().describe(\"KYC verification status (0 or 1)\").nullable().optional(),\n android_push: z.number().int().describe(\"Android push notification enabled (0 or 1)\").nullable().optional(),\n mobilenumber: z.string().describe(\"Registered mobile number\").nullable().optional(),\n allowedprefix: z.string().describe(\"Allowed prefixes (JSON array string)\").nullable().optional(),\n mobile_verified: z.number().int().describe(\"Mobile verification status (0 or 1)\").nullable().optional(),\n two_factor_auth: z.number().int().describe(\"Two-factor authentication enabled (0 or 1)\").nullable().optional(),\n}).passthrough().describe(\"User profile details returned from the API.\");\nexport const SmsAlertGetUserProfileOutput = z.object({\n status: z.string().describe(\"API call status (e.g., 'success' or 'error')\").nullable(),\n description: z.union([SmsAlertGetUserProfile_UserProfileDescriptionSchema, z.string()]),\n}).passthrough().describe(\"Response schema for user profile endpoint.\");\n\nexport const smsAlertGetUserProfile = action(\"SMS_ALERT_GET_USER_PROFILE\", {\n slug: \"sms_alert-get-user-profile\",\n name: \"Get User Profile\",\n description: \"Tool to retrieve user login and profile information. Returns account details including balance, sender IDs, and account status. Use after configuring your API key to fetch complete user profile.\",\n input: SmsAlertGetUserProfileInput,\n output: SmsAlertGetUserProfileOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-user-profile.cjs","names":["z","action"],"sources":["../../src/actions/get-user-profile.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { smsAlert } from \"../app\";\n\nexport const SmsAlertGetUserProfileInput = z.object({}).describe(\"Empty request model for GET_USER_PROFILE. Uses configured API key from metadata for authentication.\");\nconst SmsAlertGetUserProfile_UserProfileDescriptionSchema = z.object({\n id: z.string().describe(\"User account identifier\").nullable().optional(),\n emailid: z.string().describe(\"Registered email address\").nullable().optional(),\n lastname: z.string().describe(\"User's last name\").nullable().optional(),\n username: z.string().describe(\"Login username\").nullable().optional(),\n firstname: z.string().describe(\"User's first name\").nullable().optional(),\n parent_id: z.string().describe(\"Parent account ID\").nullable().optional(),\n expirydate: z.string().describe(\"Account expiration date\").nullable().optional(),\n kyc_status: z.number().int().describe(\"KYC verification status (0 or 1)\").nullable().optional(),\n android_push: z.number().int().describe(\"Android push notification enabled (0 or 1)\").nullable().optional(),\n mobilenumber: z.string().describe(\"Registered mobile number\").nullable().optional(),\n allowedprefix: z.string().describe(\"Allowed prefixes (JSON array string)\").nullable().optional(),\n mobile_verified: z.number().int().describe(\"Mobile verification status (0 or 1)\").nullable().optional(),\n two_factor_auth: z.number().int().describe(\"Two-factor authentication enabled (0 or 1)\").nullable().optional(),\n}).passthrough().describe(\"User profile details returned from the API.\");\nexport const SmsAlertGetUserProfileOutput = z.object({\n status: z.string().describe(\"API call status (e.g., 'success' or 'error')\").nullable(),\n description: z.union([SmsAlertGetUserProfile_UserProfileDescriptionSchema, z.string()]),\n}).passthrough().describe(\"Response schema for user profile endpoint.\");\n\nexport const smsAlertGetUserProfile: AppAction<\n typeof SmsAlertGetUserProfileInput,\n typeof SmsAlertGetUserProfileOutput,\n typeof smsAlert.credential\n> = action(\"SMS_ALERT_GET_USER_PROFILE\", {\n slug: \"sms_alert-get-user-profile\",\n name: \"Get User Profile\",\n description: \"Tool to retrieve user login and profile information. Returns account details including balance, sender IDs, and account status. Use after configuring your API key to fetch complete user profile.\",\n input: SmsAlertGetUserProfileInput,\n output: SmsAlertGetUserProfileOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qGAAqG;AACtK,MAAM,sDAAsDA,IAAAA,EAAE,OAAO;CACnE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACrF,aAAaA,IAAAA,EAAE,MAAM,CAAC,qDAAqDA,IAAAA,EAAE,OAAO,CAAC,CAAC;AACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,yBAITC,eAAAA,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { smsAlert } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-user-profile.d.ts
|
|
@@ -20,7 +22,7 @@ declare const SmsAlertGetUserProfileOutput: z.ZodObject<{
|
|
|
20
22
|
two_factor_auth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
23
|
}, z.core.$loose>, z.ZodString]>;
|
|
22
24
|
}, z.core.$loose>;
|
|
23
|
-
declare const smsAlertGetUserProfile:
|
|
25
|
+
declare const smsAlertGetUserProfile: AppAction<typeof SmsAlertGetUserProfileInput, typeof SmsAlertGetUserProfileOutput, typeof smsAlert.credential>;
|
|
24
26
|
//#endregion
|
|
25
27
|
export { smsAlertGetUserProfile };
|
|
26
28
|
//# sourceMappingURL=get-user-profile.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user-profile.d.cts","names":[],"sources":["../../src/actions/get-user-profile.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-user-profile.d.cts","names":[],"sources":["../../src/actions/get-user-profile.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAgB3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAK5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { smsAlert } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-user-profile.d.ts
|
|
@@ -20,7 +22,7 @@ declare const SmsAlertGetUserProfileOutput: z.ZodObject<{
|
|
|
20
22
|
two_factor_auth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
23
|
}, z.core.$loose>, z.ZodString]>;
|
|
22
24
|
}, z.core.$loose>;
|
|
23
|
-
declare const smsAlertGetUserProfile:
|
|
25
|
+
declare const smsAlertGetUserProfile: AppAction<typeof SmsAlertGetUserProfileInput, typeof SmsAlertGetUserProfileOutput, typeof smsAlert.credential>;
|
|
24
26
|
//#endregion
|
|
25
27
|
export { smsAlertGetUserProfile };
|
|
26
28
|
//# sourceMappingURL=get-user-profile.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user-profile.d.mts","names":[],"sources":["../../src/actions/get-user-profile.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-user-profile.d.mts","names":[],"sources":["../../src/actions/get-user-profile.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAgB3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAK5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user-profile.mjs","names":[],"sources":["../../src/actions/get-user-profile.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertGetUserProfileInput = z.object({}).describe(\"Empty request model for GET_USER_PROFILE. Uses configured API key from metadata for authentication.\");\nconst SmsAlertGetUserProfile_UserProfileDescriptionSchema = z.object({\n id: z.string().describe(\"User account identifier\").nullable().optional(),\n emailid: z.string().describe(\"Registered email address\").nullable().optional(),\n lastname: z.string().describe(\"User's last name\").nullable().optional(),\n username: z.string().describe(\"Login username\").nullable().optional(),\n firstname: z.string().describe(\"User's first name\").nullable().optional(),\n parent_id: z.string().describe(\"Parent account ID\").nullable().optional(),\n expirydate: z.string().describe(\"Account expiration date\").nullable().optional(),\n kyc_status: z.number().int().describe(\"KYC verification status (0 or 1)\").nullable().optional(),\n android_push: z.number().int().describe(\"Android push notification enabled (0 or 1)\").nullable().optional(),\n mobilenumber: z.string().describe(\"Registered mobile number\").nullable().optional(),\n allowedprefix: z.string().describe(\"Allowed prefixes (JSON array string)\").nullable().optional(),\n mobile_verified: z.number().int().describe(\"Mobile verification status (0 or 1)\").nullable().optional(),\n two_factor_auth: z.number().int().describe(\"Two-factor authentication enabled (0 or 1)\").nullable().optional(),\n}).passthrough().describe(\"User profile details returned from the API.\");\nexport const SmsAlertGetUserProfileOutput = z.object({\n status: z.string().describe(\"API call status (e.g., 'success' or 'error')\").nullable(),\n description: z.union([SmsAlertGetUserProfile_UserProfileDescriptionSchema, z.string()]),\n}).passthrough().describe(\"Response schema for user profile endpoint.\");\n\nexport const smsAlertGetUserProfile = action(\"SMS_ALERT_GET_USER_PROFILE\", {\n slug: \"sms_alert-get-user-profile\",\n name: \"Get User Profile\",\n description: \"Tool to retrieve user login and profile information. Returns account details including balance, sender IDs, and account status. Use after configuring your API key to fetch complete user profile.\",\n input: SmsAlertGetUserProfileInput,\n output: SmsAlertGetUserProfileOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-user-profile.mjs","names":[],"sources":["../../src/actions/get-user-profile.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { smsAlert } from \"../app\";\n\nexport const SmsAlertGetUserProfileInput = z.object({}).describe(\"Empty request model for GET_USER_PROFILE. Uses configured API key from metadata for authentication.\");\nconst SmsAlertGetUserProfile_UserProfileDescriptionSchema = z.object({\n id: z.string().describe(\"User account identifier\").nullable().optional(),\n emailid: z.string().describe(\"Registered email address\").nullable().optional(),\n lastname: z.string().describe(\"User's last name\").nullable().optional(),\n username: z.string().describe(\"Login username\").nullable().optional(),\n firstname: z.string().describe(\"User's first name\").nullable().optional(),\n parent_id: z.string().describe(\"Parent account ID\").nullable().optional(),\n expirydate: z.string().describe(\"Account expiration date\").nullable().optional(),\n kyc_status: z.number().int().describe(\"KYC verification status (0 or 1)\").nullable().optional(),\n android_push: z.number().int().describe(\"Android push notification enabled (0 or 1)\").nullable().optional(),\n mobilenumber: z.string().describe(\"Registered mobile number\").nullable().optional(),\n allowedprefix: z.string().describe(\"Allowed prefixes (JSON array string)\").nullable().optional(),\n mobile_verified: z.number().int().describe(\"Mobile verification status (0 or 1)\").nullable().optional(),\n two_factor_auth: z.number().int().describe(\"Two-factor authentication enabled (0 or 1)\").nullable().optional(),\n}).passthrough().describe(\"User profile details returned from the API.\");\nexport const SmsAlertGetUserProfileOutput = z.object({\n status: z.string().describe(\"API call status (e.g., 'success' or 'error')\").nullable(),\n description: z.union([SmsAlertGetUserProfile_UserProfileDescriptionSchema, z.string()]),\n}).passthrough().describe(\"Response schema for user profile endpoint.\");\n\nexport const smsAlertGetUserProfile: AppAction<\n typeof SmsAlertGetUserProfileInput,\n typeof SmsAlertGetUserProfileOutput,\n typeof smsAlert.credential\n> = action(\"SMS_ALERT_GET_USER_PROFILE\", {\n slug: \"sms_alert-get-user-profile\",\n name: \"Get User Profile\",\n description: \"Tool to retrieve user login and profile information. Returns account details including balance, sender IDs, and account status. Use after configuring your API key to fetch complete user profile.\",\n input: SmsAlertGetUserProfileInput,\n output: SmsAlertGetUserProfileOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qGAAqG;AACtK,MAAM,sDAAsD,EAAE,OAAO;CACnE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAMvE,MAAa,yBAIT,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAd0C,EAAE,OAAO;EACnD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACrF,aAAa,EAAE,MAAM,CAAC,qDAAqD,EAAE,OAAO,CAAC,CAAC;CACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post-create-contact.cjs","names":["z","action"],"sources":["../../src/actions/post-create-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertPostCreateContactInput = z.object({\n name: z.string().describe(\"Full name of the contact\"),\n group: z.string().describe(\"Name of the group to which the contact(s) will be added\"),\n mobile: z.string().describe(\"Mobile number(s) as a 10-digit string, comma-separated for multiple contacts\"),\n});\nconst SmsAlertPostCreateContact_ErrorDescriptionSchema = z.object({\n desc: z.string().describe(\"Detailed error description\").nullable(),\n}).passthrough().describe(\"Nested error description object for contact creation failures.\");\nexport const SmsAlertPostCreateContactOutput = z.object({\n type: z.enum([\"success\", \"error\"]).describe(\"Indicates whether the operation succeeded or failed\").nullable(),\n message: z.union([z.string(), SmsAlertPostCreateContact_ErrorDescriptionSchema]),\n}).passthrough();\n\nexport const smsAlertPostCreateContact = action(\"SMS_ALERT_POST_CREATE_CONTACT\", {\n slug: \"sms_alert-post-create-contact\",\n name: \"Create New Contact\",\n description: \"Create New Contact\",\n input: SmsAlertPostCreateContactInput,\n output: SmsAlertPostCreateContactOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"post-create-contact.cjs","names":["z","action"],"sources":["../../src/actions/post-create-contact.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { smsAlert } from \"../app\";\n\nexport const SmsAlertPostCreateContactInput = z.object({\n name: z.string().describe(\"Full name of the contact\"),\n group: z.string().describe(\"Name of the group to which the contact(s) will be added\"),\n mobile: z.string().describe(\"Mobile number(s) as a 10-digit string, comma-separated for multiple contacts\"),\n});\nconst SmsAlertPostCreateContact_ErrorDescriptionSchema = z.object({\n desc: z.string().describe(\"Detailed error description\").nullable(),\n}).passthrough().describe(\"Nested error description object for contact creation failures.\");\nexport const SmsAlertPostCreateContactOutput = z.object({\n type: z.enum([\"success\", \"error\"]).describe(\"Indicates whether the operation succeeded or failed\").nullable(),\n message: z.union([z.string(), SmsAlertPostCreateContact_ErrorDescriptionSchema]),\n}).passthrough();\n\nexport const smsAlertPostCreateContact: AppAction<\n typeof SmsAlertPostCreateContactInput,\n typeof SmsAlertPostCreateContactOutput,\n typeof smsAlert.credential\n> = action(\"SMS_ALERT_POST_CREATE_CONTACT\", {\n slug: \"sms_alert-post-create-contact\",\n name: \"Create New Contact\",\n description: \"Create New Contact\",\n input: SmsAlertPostCreateContactInput,\n output: SmsAlertPostCreateContactOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CACpD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CACpF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E;AAC5G,CAAC;AACD,MAAM,mDAAmDA,IAAAA,EAAE,OAAO,EAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,EACnE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAAgE;AAC1F,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,KAAK,CAAC,WAAW,OAAO,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC5G,SAASA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAG,gDAAgD,CAAC;AACjF,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,4BAITC,eAAAA,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { smsAlert } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/post-create-contact.d.ts
|
|
@@ -15,11 +17,7 @@ declare const SmsAlertPostCreateContactOutput: z.ZodObject<{
|
|
|
15
17
|
desc: z.ZodNullable<z.ZodString>;
|
|
16
18
|
}, z.core.$loose>]>;
|
|
17
19
|
}, z.core.$loose>;
|
|
18
|
-
declare const smsAlertPostCreateContact:
|
|
19
|
-
name: string;
|
|
20
|
-
group: string;
|
|
21
|
-
mobile: string;
|
|
22
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
20
|
+
declare const smsAlertPostCreateContact: AppAction<typeof SmsAlertPostCreateContactInput, typeof SmsAlertPostCreateContactOutput, typeof smsAlert.credential>;
|
|
23
21
|
//#endregion
|
|
24
22
|
export { smsAlertPostCreateContact };
|
|
25
23
|
//# sourceMappingURL=post-create-contact.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post-create-contact.d.cts","names":[],"sources":["../../src/actions/post-create-contact.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"post-create-contact.d.cts","names":[],"sources":["../../src/actions/post-create-contact.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;cAQ9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;cAK/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { smsAlert } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/post-create-contact.d.ts
|
|
@@ -15,11 +17,7 @@ declare const SmsAlertPostCreateContactOutput: z.ZodObject<{
|
|
|
15
17
|
desc: z.ZodNullable<z.ZodString>;
|
|
16
18
|
}, z.core.$loose>]>;
|
|
17
19
|
}, z.core.$loose>;
|
|
18
|
-
declare const smsAlertPostCreateContact:
|
|
19
|
-
name: string;
|
|
20
|
-
group: string;
|
|
21
|
-
mobile: string;
|
|
22
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
20
|
+
declare const smsAlertPostCreateContact: AppAction<typeof SmsAlertPostCreateContactInput, typeof SmsAlertPostCreateContactOutput, typeof smsAlert.credential>;
|
|
23
21
|
//#endregion
|
|
24
22
|
export { smsAlertPostCreateContact };
|
|
25
23
|
//# sourceMappingURL=post-create-contact.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post-create-contact.d.mts","names":[],"sources":["../../src/actions/post-create-contact.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"post-create-contact.d.mts","names":[],"sources":["../../src/actions/post-create-contact.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;cAQ9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;cAK/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post-create-contact.mjs","names":[],"sources":["../../src/actions/post-create-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertPostCreateContactInput = z.object({\n name: z.string().describe(\"Full name of the contact\"),\n group: z.string().describe(\"Name of the group to which the contact(s) will be added\"),\n mobile: z.string().describe(\"Mobile number(s) as a 10-digit string, comma-separated for multiple contacts\"),\n});\nconst SmsAlertPostCreateContact_ErrorDescriptionSchema = z.object({\n desc: z.string().describe(\"Detailed error description\").nullable(),\n}).passthrough().describe(\"Nested error description object for contact creation failures.\");\nexport const SmsAlertPostCreateContactOutput = z.object({\n type: z.enum([\"success\", \"error\"]).describe(\"Indicates whether the operation succeeded or failed\").nullable(),\n message: z.union([z.string(), SmsAlertPostCreateContact_ErrorDescriptionSchema]),\n}).passthrough();\n\nexport const smsAlertPostCreateContact = action(\"SMS_ALERT_POST_CREATE_CONTACT\", {\n slug: \"sms_alert-post-create-contact\",\n name: \"Create New Contact\",\n description: \"Create New Contact\",\n input: SmsAlertPostCreateContactInput,\n output: SmsAlertPostCreateContactOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"post-create-contact.mjs","names":[],"sources":["../../src/actions/post-create-contact.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { smsAlert } from \"../app\";\n\nexport const SmsAlertPostCreateContactInput = z.object({\n name: z.string().describe(\"Full name of the contact\"),\n group: z.string().describe(\"Name of the group to which the contact(s) will be added\"),\n mobile: z.string().describe(\"Mobile number(s) as a 10-digit string, comma-separated for multiple contacts\"),\n});\nconst SmsAlertPostCreateContact_ErrorDescriptionSchema = z.object({\n desc: z.string().describe(\"Detailed error description\").nullable(),\n}).passthrough().describe(\"Nested error description object for contact creation failures.\");\nexport const SmsAlertPostCreateContactOutput = z.object({\n type: z.enum([\"success\", \"error\"]).describe(\"Indicates whether the operation succeeded or failed\").nullable(),\n message: z.union([z.string(), SmsAlertPostCreateContact_ErrorDescriptionSchema]),\n}).passthrough();\n\nexport const smsAlertPostCreateContact: AppAction<\n typeof SmsAlertPostCreateContactInput,\n typeof SmsAlertPostCreateContactOutput,\n typeof smsAlert.credential\n> = action(\"SMS_ALERT_POST_CREATE_CONTACT\", {\n slug: \"sms_alert-post-create-contact\",\n name: \"Create New Contact\",\n description: \"Create New Contact\",\n input: SmsAlertPostCreateContactInput,\n output: SmsAlertPostCreateContactOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiC,EAAE,OAAO;CACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CACpD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CACpF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E;AAC5G,CAAC;AACD,MAAM,mDAAmD,EAAE,OAAO,EAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,EACnE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAAgE;AAM1F,MAAa,4BAIT,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAd6C,EAAE,OAAO;EACtD,MAAM,EAAE,KAAK,CAAC,WAAW,OAAO,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;EAC5G,SAAS,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,gDAAgD,CAAC;CACjF,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post-create-group.cjs","names":["z","action"],"sources":["../../src/actions/post-create-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertPostCreateGroupInput = z.object({\n name: z.string().describe(\"Name of the group to create. Only letters, numbers, hyphens, and underscores are allowed. Spaces are not permitted.\"),\n}).describe(\"Request schema for creating a new contact group.\");\nconst SmsAlertPostCreateGroup_ErrorDescriptionSchema = z.object({\n desc: z.string().describe(\"Detailed error description\").nullable(),\n}).passthrough().describe(\"Nested error description object for group creation failures.\");\nexport const SmsAlertPostCreateGroupOutput = z.object({\n status: z.enum([\"success\", \"error\"]).describe(\"Indicates whether the operation succeeded or failed\").nullable(),\n description: z.union([z.string(), SmsAlertPostCreateGroup_ErrorDescriptionSchema]),\n}).passthrough().describe(\"Response schema for create group endpoint.\");\n\nexport const smsAlertPostCreateGroup = action(\"SMS_ALERT_POST_CREATE_GROUP\", {\n slug: \"sms_alert-post-create-group\",\n name: \"Create New Group\",\n description: \"Tool to create a new contact group. Use when needing to organize contacts into a new group.\",\n input: SmsAlertPostCreateGroupInput,\n output: SmsAlertPostCreateGroupOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"post-create-group.cjs","names":["z","action"],"sources":["../../src/actions/post-create-group.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { smsAlert } from \"../app\";\n\nexport const SmsAlertPostCreateGroupInput = z.object({\n name: z.string().describe(\"Name of the group to create. Only letters, numbers, hyphens, and underscores are allowed. Spaces are not permitted.\"),\n}).describe(\"Request schema for creating a new contact group.\");\nconst SmsAlertPostCreateGroup_ErrorDescriptionSchema = z.object({\n desc: z.string().describe(\"Detailed error description\").nullable(),\n}).passthrough().describe(\"Nested error description object for group creation failures.\");\nexport const SmsAlertPostCreateGroupOutput = z.object({\n status: z.enum([\"success\", \"error\"]).describe(\"Indicates whether the operation succeeded or failed\").nullable(),\n description: z.union([z.string(), SmsAlertPostCreateGroup_ErrorDescriptionSchema]),\n}).passthrough().describe(\"Response schema for create group endpoint.\");\n\nexport const smsAlertPostCreateGroup: AppAction<\n typeof SmsAlertPostCreateGroupInput,\n typeof SmsAlertPostCreateGroupOutput,\n typeof smsAlert.credential\n> = action(\"SMS_ALERT_POST_CREATE_GROUP\", {\n slug: \"sms_alert-post-create-group\",\n name: \"Create New Group\",\n description: \"Tool to create a new contact group. Use when needing to organize contacts into a new group.\",\n input: SmsAlertPostCreateGroupInput,\n output: SmsAlertPostCreateGroupOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH,EACjJ,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,iDAAiDA,IAAAA,EAAE,OAAO,EAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,EACnE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAA8D;AACxF,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,QAAQA,IAAAA,EAAE,KAAK,CAAC,WAAW,OAAO,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC9G,aAAaA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAG,8CAA8C,CAAC;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,0BAITC,eAAAA,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { smsAlert } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/post-create-group.d.ts
|
|
@@ -13,9 +15,7 @@ declare const SmsAlertPostCreateGroupOutput: z.ZodObject<{
|
|
|
13
15
|
desc: z.ZodNullable<z.ZodString>;
|
|
14
16
|
}, z.core.$loose>]>;
|
|
15
17
|
}, z.core.$loose>;
|
|
16
|
-
declare const smsAlertPostCreateGroup:
|
|
17
|
-
name: string;
|
|
18
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
18
|
+
declare const smsAlertPostCreateGroup: AppAction<typeof SmsAlertPostCreateGroupInput, typeof SmsAlertPostCreateGroupOutput, typeof smsAlert.credential>;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { smsAlertPostCreateGroup };
|
|
21
21
|
//# sourceMappingURL=post-create-group.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post-create-group.d.cts","names":[],"sources":["../../src/actions/post-create-group.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"post-create-group.d.cts","names":[],"sources":["../../src/actions/post-create-group.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAM5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;cAK7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { smsAlert } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/post-create-group.d.ts
|
|
@@ -13,9 +15,7 @@ declare const SmsAlertPostCreateGroupOutput: z.ZodObject<{
|
|
|
13
15
|
desc: z.ZodNullable<z.ZodString>;
|
|
14
16
|
}, z.core.$loose>]>;
|
|
15
17
|
}, z.core.$loose>;
|
|
16
|
-
declare const smsAlertPostCreateGroup:
|
|
17
|
-
name: string;
|
|
18
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
18
|
+
declare const smsAlertPostCreateGroup: AppAction<typeof SmsAlertPostCreateGroupInput, typeof SmsAlertPostCreateGroupOutput, typeof smsAlert.credential>;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { smsAlertPostCreateGroup };
|
|
21
21
|
//# sourceMappingURL=post-create-group.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post-create-group.d.mts","names":[],"sources":["../../src/actions/post-create-group.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"post-create-group.d.mts","names":[],"sources":["../../src/actions/post-create-group.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAM5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;cAK7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post-create-group.mjs","names":[],"sources":["../../src/actions/post-create-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertPostCreateGroupInput = z.object({\n name: z.string().describe(\"Name of the group to create. Only letters, numbers, hyphens, and underscores are allowed. Spaces are not permitted.\"),\n}).describe(\"Request schema for creating a new contact group.\");\nconst SmsAlertPostCreateGroup_ErrorDescriptionSchema = z.object({\n desc: z.string().describe(\"Detailed error description\").nullable(),\n}).passthrough().describe(\"Nested error description object for group creation failures.\");\nexport const SmsAlertPostCreateGroupOutput = z.object({\n status: z.enum([\"success\", \"error\"]).describe(\"Indicates whether the operation succeeded or failed\").nullable(),\n description: z.union([z.string(), SmsAlertPostCreateGroup_ErrorDescriptionSchema]),\n}).passthrough().describe(\"Response schema for create group endpoint.\");\n\nexport const smsAlertPostCreateGroup = action(\"SMS_ALERT_POST_CREATE_GROUP\", {\n slug: \"sms_alert-post-create-group\",\n name: \"Create New Group\",\n description: \"Tool to create a new contact group. Use when needing to organize contacts into a new group.\",\n input: SmsAlertPostCreateGroupInput,\n output: SmsAlertPostCreateGroupOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"post-create-group.mjs","names":[],"sources":["../../src/actions/post-create-group.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { smsAlert } from \"../app\";\n\nexport const SmsAlertPostCreateGroupInput = z.object({\n name: z.string().describe(\"Name of the group to create. Only letters, numbers, hyphens, and underscores are allowed. Spaces are not permitted.\"),\n}).describe(\"Request schema for creating a new contact group.\");\nconst SmsAlertPostCreateGroup_ErrorDescriptionSchema = z.object({\n desc: z.string().describe(\"Detailed error description\").nullable(),\n}).passthrough().describe(\"Nested error description object for group creation failures.\");\nexport const SmsAlertPostCreateGroupOutput = z.object({\n status: z.enum([\"success\", \"error\"]).describe(\"Indicates whether the operation succeeded or failed\").nullable(),\n description: z.union([z.string(), SmsAlertPostCreateGroup_ErrorDescriptionSchema]),\n}).passthrough().describe(\"Response schema for create group endpoint.\");\n\nexport const smsAlertPostCreateGroup: AppAction<\n typeof SmsAlertPostCreateGroupInput,\n typeof SmsAlertPostCreateGroupOutput,\n typeof smsAlert.credential\n> = action(\"SMS_ALERT_POST_CREATE_GROUP\", {\n slug: \"sms_alert-post-create-group\",\n name: \"Create New Group\",\n description: \"Tool to create a new contact group. Use when needing to organize contacts into a new group.\",\n input: SmsAlertPostCreateGroupInput,\n output: SmsAlertPostCreateGroupOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+B,EAAE,OAAO,EACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH,EACjJ,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,iDAAiD,EAAE,OAAO,EAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,EACnE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAA8D;AAMxF,MAAa,0BAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAd2C,EAAE,OAAO;EACpD,QAAQ,EAAE,KAAK,CAAC,WAAW,OAAO,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;EAC9G,aAAa,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,8CAA8C,CAAC;CACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post-create-short-url.cjs","names":["z","action"],"sources":["../../src/actions/post-create-short-url.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertPostCreateShortUrlInput = z.object({\n url: z.string().describe(\"The original long URL to shorten\"),\n alias: z.string().describe(\"Custom alias for the short URL; omit or set to null for system-generated alias\").optional(),\n}).describe(\"Request model to create a short URL for a given long URL.\");\nexport const SmsAlertPostCreateShortUrlOutput = z.object({\n alias: z.string().describe(\"The alias used for the short URL (custom or system-generated)\").nullable().optional(),\n status: z.string().describe(\"Indicates whether the operation succeeded ('success') or failed\").nullable(),\n message: z.string().describe(\"Additional message or error detail from the API\").nullable().optional(),\n short_url: z.string().describe(\"The generated shortened URL\").nullable(),\n}).passthrough().describe(\"Response model for create short URL endpoint.\");\n\nexport const smsAlertPostCreateShortUrl = action(\"SMS_ALERT_POST_CREATE_SHORT_URL\", {\n slug: \"sms_alert-post-create-short-url\",\n name: \"Create Short URL\",\n description: \"Tool to create a short URL for a given long URL. Use when you need to shorten a URL before sharing.\",\n input: SmsAlertPostCreateShortUrlInput,\n output: SmsAlertPostCreateShortUrlOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"post-create-short-url.cjs","names":["z","action"],"sources":["../../src/actions/post-create-short-url.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { smsAlert } from \"../app\";\n\nexport const SmsAlertPostCreateShortUrlInput = z.object({\n url: z.string().describe(\"The original long URL to shorten\"),\n alias: z.string().describe(\"Custom alias for the short URL; omit or set to null for system-generated alias\").optional(),\n}).describe(\"Request model to create a short URL for a given long URL.\");\nexport const SmsAlertPostCreateShortUrlOutput = z.object({\n alias: z.string().describe(\"The alias used for the short URL (custom or system-generated)\").nullable().optional(),\n status: z.string().describe(\"Indicates whether the operation succeeded ('success') or failed\").nullable(),\n message: z.string().describe(\"Additional message or error detail from the API\").nullable().optional(),\n short_url: z.string().describe(\"The generated shortened URL\").nullable(),\n}).passthrough().describe(\"Response model for create short URL endpoint.\");\n\nexport const smsAlertPostCreateShortUrl: AppAction<\n typeof SmsAlertPostCreateShortUrlInput,\n typeof SmsAlertPostCreateShortUrlOutput,\n typeof smsAlert.credential\n> = action(\"SMS_ALERT_POST_CREATE_SHORT_URL\", {\n slug: \"sms_alert-post-create-short-url\",\n name: \"Create Short URL\",\n description: \"Tool to create a short URL for a given long URL. Use when you need to shorten a URL before sharing.\",\n input: SmsAlertPostCreateShortUrlInput,\n output: SmsAlertPostCreateShortUrlOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC3D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACxG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;AACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAEzE,MAAa,6BAITC,eAAAA,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { smsAlert } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/post-create-short-url.d.ts
|
|
@@ -11,10 +13,7 @@ declare const SmsAlertPostCreateShortUrlOutput: z.ZodObject<{
|
|
|
11
13
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
14
|
short_url: z.ZodNullable<z.ZodString>;
|
|
13
15
|
}, z.core.$loose>;
|
|
14
|
-
declare const smsAlertPostCreateShortUrl:
|
|
15
|
-
url: string;
|
|
16
|
-
alias?: string | undefined;
|
|
17
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
16
|
+
declare const smsAlertPostCreateShortUrl: AppAction<typeof SmsAlertPostCreateShortUrlInput, typeof SmsAlertPostCreateShortUrlOutput, typeof smsAlert.credential>;
|
|
18
17
|
//#endregion
|
|
19
18
|
export { smsAlertPostCreateShortUrl };
|
|
20
19
|
//# sourceMappingURL=post-create-short-url.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post-create-short-url.d.cts","names":[],"sources":["../../src/actions/post-create-short-url.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"post-create-short-url.d.cts","names":[],"sources":["../../src/actions/post-create-short-url.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAI/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;cAOhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { smsAlert } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/post-create-short-url.d.ts
|
|
@@ -11,10 +13,7 @@ declare const SmsAlertPostCreateShortUrlOutput: z.ZodObject<{
|
|
|
11
13
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
14
|
short_url: z.ZodNullable<z.ZodString>;
|
|
13
15
|
}, z.core.$loose>;
|
|
14
|
-
declare const smsAlertPostCreateShortUrl:
|
|
15
|
-
url: string;
|
|
16
|
-
alias?: string | undefined;
|
|
17
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
16
|
+
declare const smsAlertPostCreateShortUrl: AppAction<typeof SmsAlertPostCreateShortUrlInput, typeof SmsAlertPostCreateShortUrlOutput, typeof smsAlert.credential>;
|
|
18
17
|
//#endregion
|
|
19
18
|
export { smsAlertPostCreateShortUrl };
|
|
20
19
|
//# sourceMappingURL=post-create-short-url.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post-create-short-url.d.mts","names":[],"sources":["../../src/actions/post-create-short-url.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"post-create-short-url.d.mts","names":[],"sources":["../../src/actions/post-create-short-url.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAI/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;cAOhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post-create-short-url.mjs","names":[],"sources":["../../src/actions/post-create-short-url.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertPostCreateShortUrlInput = z.object({\n url: z.string().describe(\"The original long URL to shorten\"),\n alias: z.string().describe(\"Custom alias for the short URL; omit or set to null for system-generated alias\").optional(),\n}).describe(\"Request model to create a short URL for a given long URL.\");\nexport const SmsAlertPostCreateShortUrlOutput = z.object({\n alias: z.string().describe(\"The alias used for the short URL (custom or system-generated)\").nullable().optional(),\n status: z.string().describe(\"Indicates whether the operation succeeded ('success') or failed\").nullable(),\n message: z.string().describe(\"Additional message or error detail from the API\").nullable().optional(),\n short_url: z.string().describe(\"The generated shortened URL\").nullable(),\n}).passthrough().describe(\"Response model for create short URL endpoint.\");\n\nexport const smsAlertPostCreateShortUrl = action(\"SMS_ALERT_POST_CREATE_SHORT_URL\", {\n slug: \"sms_alert-post-create-short-url\",\n name: \"Create Short URL\",\n description: \"Tool to create a short URL for a given long URL. Use when you need to shorten a URL before sharing.\",\n input: SmsAlertPostCreateShortUrlInput,\n output: SmsAlertPostCreateShortUrlOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"post-create-short-url.mjs","names":[],"sources":["../../src/actions/post-create-short-url.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { smsAlert } from \"../app\";\n\nexport const SmsAlertPostCreateShortUrlInput = z.object({\n url: z.string().describe(\"The original long URL to shorten\"),\n alias: z.string().describe(\"Custom alias for the short URL; omit or set to null for system-generated alias\").optional(),\n}).describe(\"Request model to create a short URL for a given long URL.\");\nexport const SmsAlertPostCreateShortUrlOutput = z.object({\n alias: z.string().describe(\"The alias used for the short URL (custom or system-generated)\").nullable().optional(),\n status: z.string().describe(\"Indicates whether the operation succeeded ('success') or failed\").nullable(),\n message: z.string().describe(\"Additional message or error detail from the API\").nullable().optional(),\n short_url: z.string().describe(\"The generated shortened URL\").nullable(),\n}).passthrough().describe(\"Response model for create short URL endpoint.\");\n\nexport const smsAlertPostCreateShortUrl: AppAction<\n typeof SmsAlertPostCreateShortUrlInput,\n typeof SmsAlertPostCreateShortUrlOutput,\n typeof smsAlert.credential\n> = action(\"SMS_ALERT_POST_CREATE_SHORT_URL\", {\n slug: \"sms_alert-post-create-short-url\",\n name: \"Create Short URL\",\n description: \"Tool to create a short URL for a given long URL. Use when you need to shorten a URL before sharing.\",\n input: SmsAlertPostCreateShortUrlInput,\n output: SmsAlertPostCreateShortUrlOutput,\n});\n"],"mappings":";;;AAiBA,MAAa,6BAIT,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnB6C,EAAE,OAAO;EACtD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;EAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CACxH,CAAC,CAAC,CAAC,SAAS,2DAgBH;CACP,QAhB8C,EAAE,OAAO;EACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;EACxG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post-create-template.cjs","names":["z","action"],"sources":["../../src/actions/post-create-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertPostCreateTemplateInput = z.object({\n name: z.string().describe(\"Name of the SMS template\"),\n text: z.string().describe(\"Text content of the SMS template Some regions require regulatory pre-approval of template content and associated sender IDs before use; ensure content complies with local requirements for the target region.\"),\n}).describe(\"Request schema for creating a new SMS template.\");\nexport const SmsAlertPostCreateTemplateOutput = z.object({\n status: z.enum([\"success\", \"error\"]).describe(\"Indicates whether the operation succeeded ('success') or failed ('error')\").nullable(),\n description: z.string().describe(\"Provides additional information about the request outcome\").nullable(),\n}).passthrough().describe(\"Response schema for create template endpoint.\");\n\nexport const smsAlertPostCreateTemplate = action(\"SMS_ALERT_POST_CREATE_TEMPLATE\", {\n slug: \"sms_alert-post-create-template\",\n name: \"Create SMS Template\",\n description: \"Tool to create a new SMS template. Use when you need to define reusable message content.\",\n input: SmsAlertPostCreateTemplateInput,\n output: SmsAlertPostCreateTemplateOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"post-create-template.cjs","names":["z","action"],"sources":["../../src/actions/post-create-template.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { smsAlert } from \"../app\";\n\nexport const SmsAlertPostCreateTemplateInput = z.object({\n name: z.string().describe(\"Name of the SMS template\"),\n text: z.string().describe(\"Text content of the SMS template Some regions require regulatory pre-approval of template content and associated sender IDs before use; ensure content complies with local requirements for the target region.\"),\n}).describe(\"Request schema for creating a new SMS template.\");\nexport const SmsAlertPostCreateTemplateOutput = z.object({\n status: z.enum([\"success\", \"error\"]).describe(\"Indicates whether the operation succeeded ('success') or failed ('error')\").nullable(),\n description: z.string().describe(\"Provides additional information about the request outcome\").nullable(),\n}).passthrough().describe(\"Response schema for create template endpoint.\");\n\nexport const smsAlertPostCreateTemplate: AppAction<\n typeof SmsAlertPostCreateTemplateInput,\n typeof SmsAlertPostCreateTemplateOutput,\n typeof smsAlert.credential\n> = action(\"SMS_ALERT_POST_CREATE_TEMPLATE\", {\n slug: \"sms_alert-post-create-template\",\n name: \"Create SMS Template\",\n description: \"Tool to create a new SMS template. Use when you need to define reusable message content.\",\n input: SmsAlertPostCreateTemplateInput,\n output: SmsAlertPostCreateTemplateOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gNAAgN;AAC5O,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,QAAQA,IAAAA,EAAE,KAAK,CAAC,WAAW,OAAO,CAAC,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CACpI,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAEzE,MAAa,6BAITC,eAAAA,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { smsAlert } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/post-create-template.d.ts
|
|
@@ -12,10 +14,7 @@ declare const SmsAlertPostCreateTemplateOutput: z.ZodObject<{
|
|
|
12
14
|
}>>;
|
|
13
15
|
description: z.ZodNullable<z.ZodString>;
|
|
14
16
|
}, z.core.$loose>;
|
|
15
|
-
declare const smsAlertPostCreateTemplate:
|
|
16
|
-
name: string;
|
|
17
|
-
text: string;
|
|
18
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
17
|
+
declare const smsAlertPostCreateTemplate: AppAction<typeof SmsAlertPostCreateTemplateInput, typeof SmsAlertPostCreateTemplateOutput, typeof smsAlert.credential>;
|
|
19
18
|
//#endregion
|
|
20
19
|
export { smsAlertPostCreateTemplate };
|
|
21
20
|
//# sourceMappingURL=post-create-template.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post-create-template.d.cts","names":[],"sources":["../../src/actions/post-create-template.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"post-create-template.d.cts","names":[],"sources":["../../src/actions/post-create-template.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAI/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;cAKhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { smsAlert } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/post-create-template.d.ts
|
|
@@ -12,10 +14,7 @@ declare const SmsAlertPostCreateTemplateOutput: z.ZodObject<{
|
|
|
12
14
|
}>>;
|
|
13
15
|
description: z.ZodNullable<z.ZodString>;
|
|
14
16
|
}, z.core.$loose>;
|
|
15
|
-
declare const smsAlertPostCreateTemplate:
|
|
16
|
-
name: string;
|
|
17
|
-
text: string;
|
|
18
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
17
|
+
declare const smsAlertPostCreateTemplate: AppAction<typeof SmsAlertPostCreateTemplateInput, typeof SmsAlertPostCreateTemplateOutput, typeof smsAlert.credential>;
|
|
19
18
|
//#endregion
|
|
20
19
|
export { smsAlertPostCreateTemplate };
|
|
21
20
|
//# sourceMappingURL=post-create-template.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post-create-template.d.mts","names":[],"sources":["../../src/actions/post-create-template.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"post-create-template.d.mts","names":[],"sources":["../../src/actions/post-create-template.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAI/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;cAKhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post-create-template.mjs","names":[],"sources":["../../src/actions/post-create-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertPostCreateTemplateInput = z.object({\n name: z.string().describe(\"Name of the SMS template\"),\n text: z.string().describe(\"Text content of the SMS template Some regions require regulatory pre-approval of template content and associated sender IDs before use; ensure content complies with local requirements for the target region.\"),\n}).describe(\"Request schema for creating a new SMS template.\");\nexport const SmsAlertPostCreateTemplateOutput = z.object({\n status: z.enum([\"success\", \"error\"]).describe(\"Indicates whether the operation succeeded ('success') or failed ('error')\").nullable(),\n description: z.string().describe(\"Provides additional information about the request outcome\").nullable(),\n}).passthrough().describe(\"Response schema for create template endpoint.\");\n\nexport const smsAlertPostCreateTemplate = action(\"SMS_ALERT_POST_CREATE_TEMPLATE\", {\n slug: \"sms_alert-post-create-template\",\n name: \"Create SMS Template\",\n description: \"Tool to create a new SMS template. Use when you need to define reusable message content.\",\n input: SmsAlertPostCreateTemplateInput,\n output: SmsAlertPostCreateTemplateOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"post-create-template.mjs","names":[],"sources":["../../src/actions/post-create-template.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { smsAlert } from \"../app\";\n\nexport const SmsAlertPostCreateTemplateInput = z.object({\n name: z.string().describe(\"Name of the SMS template\"),\n text: z.string().describe(\"Text content of the SMS template Some regions require regulatory pre-approval of template content and associated sender IDs before use; ensure content complies with local requirements for the target region.\"),\n}).describe(\"Request schema for creating a new SMS template.\");\nexport const SmsAlertPostCreateTemplateOutput = z.object({\n status: z.enum([\"success\", \"error\"]).describe(\"Indicates whether the operation succeeded ('success') or failed ('error')\").nullable(),\n description: z.string().describe(\"Provides additional information about the request outcome\").nullable(),\n}).passthrough().describe(\"Response schema for create template endpoint.\");\n\nexport const smsAlertPostCreateTemplate: AppAction<\n typeof SmsAlertPostCreateTemplateInput,\n typeof SmsAlertPostCreateTemplateOutput,\n typeof smsAlert.credential\n> = action(\"SMS_ALERT_POST_CREATE_TEMPLATE\", {\n slug: \"sms_alert-post-create-template\",\n name: \"Create SMS Template\",\n description: \"Tool to create a new SMS template. Use when you need to define reusable message content.\",\n input: SmsAlertPostCreateTemplateInput,\n output: SmsAlertPostCreateTemplateOutput,\n});\n"],"mappings":";;;AAeA,MAAa,6BAIT,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjB6C,EAAE,OAAO;EACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;EACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gNAAgN;CAC5O,CAAC,CAAC,CAAC,SAAS,iDAcH;CACP,QAd8C,EAAE,OAAO;EACvD,QAAQ,EAAE,KAAK,CAAC,WAAW,OAAO,CAAC,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;EACpI,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAWhB;AACV,CAAC"}
|