@keystrokehq/telnyx 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -0
- package/dist/action.cjs +21 -0
- package/dist/action.cjs.map +1 -0
- package/dist/action.mjs +21 -0
- package/dist/action.mjs.map +1 -0
- package/dist/actions/create-network.cjs +23 -0
- package/dist/actions/create-network.cjs.map +1 -0
- package/dist/actions/create-network.d.cts +9 -0
- package/dist/actions/create-network.d.cts.map +1 -0
- package/dist/actions/create-network.d.mts +9 -0
- package/dist/actions/create-network.d.mts.map +1 -0
- package/dist/actions/create-network.mjs +22 -0
- package/dist/actions/create-network.mjs.map +1 -0
- package/dist/actions/create-notification-channel.cjs +38 -0
- package/dist/actions/create-notification-channel.cjs.map +1 -0
- package/dist/actions/create-notification-channel.d.cts +9 -0
- package/dist/actions/create-notification-channel.d.cts.map +1 -0
- package/dist/actions/create-notification-channel.d.mts +9 -0
- package/dist/actions/create-notification-channel.d.mts.map +1 -0
- package/dist/actions/create-notification-channel.mjs +37 -0
- package/dist/actions/create-notification-channel.mjs.map +1 -0
- package/dist/actions/create-notification-profile.cjs +22 -0
- package/dist/actions/create-notification-profile.cjs.map +1 -0
- package/dist/actions/create-notification-profile.d.cts +9 -0
- package/dist/actions/create-notification-profile.d.cts.map +1 -0
- package/dist/actions/create-notification-profile.d.mts +9 -0
- package/dist/actions/create-notification-profile.d.mts.map +1 -0
- package/dist/actions/create-notification-profile.mjs +21 -0
- package/dist/actions/create-notification-profile.mjs.map +1 -0
- package/dist/actions/create-notification-setting.cjs +49 -0
- package/dist/actions/create-notification-setting.cjs.map +1 -0
- package/dist/actions/create-notification-setting.d.cts +9 -0
- package/dist/actions/create-notification-setting.d.cts.map +1 -0
- package/dist/actions/create-notification-setting.d.mts +9 -0
- package/dist/actions/create-notification-setting.d.mts.map +1 -0
- package/dist/actions/create-notification-setting.mjs +48 -0
- package/dist/actions/create-notification-setting.mjs.map +1 -0
- package/dist/actions/delete-network.cjs +23 -0
- package/dist/actions/delete-network.cjs.map +1 -0
- package/dist/actions/delete-network.d.cts +9 -0
- package/dist/actions/delete-network.d.cts.map +1 -0
- package/dist/actions/delete-network.d.mts +9 -0
- package/dist/actions/delete-network.d.mts.map +1 -0
- package/dist/actions/delete-network.mjs +22 -0
- package/dist/actions/delete-network.mjs.map +1 -0
- package/dist/actions/delete-notification-channel.cjs +25 -0
- package/dist/actions/delete-notification-channel.cjs.map +1 -0
- package/dist/actions/delete-notification-channel.d.cts +9 -0
- package/dist/actions/delete-notification-channel.d.cts.map +1 -0
- package/dist/actions/delete-notification-channel.d.mts +9 -0
- package/dist/actions/delete-notification-channel.d.mts.map +1 -0
- package/dist/actions/delete-notification-channel.mjs +24 -0
- package/dist/actions/delete-notification-channel.mjs.map +1 -0
- package/dist/actions/delete-notification-profile.cjs +22 -0
- package/dist/actions/delete-notification-profile.cjs.map +1 -0
- package/dist/actions/delete-notification-profile.d.cts +9 -0
- package/dist/actions/delete-notification-profile.d.cts.map +1 -0
- package/dist/actions/delete-notification-profile.d.mts +9 -0
- package/dist/actions/delete-notification-profile.d.mts.map +1 -0
- package/dist/actions/delete-notification-profile.mjs +21 -0
- package/dist/actions/delete-notification-profile.mjs.map +1 -0
- package/dist/actions/delete-notification-setting.cjs +41 -0
- package/dist/actions/delete-notification-setting.cjs.map +1 -0
- package/dist/actions/delete-notification-setting.d.cts +9 -0
- package/dist/actions/delete-notification-setting.d.cts.map +1 -0
- package/dist/actions/delete-notification-setting.d.mts +9 -0
- package/dist/actions/delete-notification-setting.d.mts.map +1 -0
- package/dist/actions/delete-notification-setting.mjs +40 -0
- package/dist/actions/delete-notification-setting.mjs.map +1 -0
- package/dist/actions/get-black-box-test-results.cjs +26 -0
- package/dist/actions/get-black-box-test-results.cjs.map +1 -0
- package/dist/actions/get-black-box-test-results.d.cts +9 -0
- package/dist/actions/get-black-box-test-results.d.cts.map +1 -0
- package/dist/actions/get-black-box-test-results.d.mts +9 -0
- package/dist/actions/get-black-box-test-results.d.mts.map +1 -0
- package/dist/actions/get-black-box-test-results.mjs +25 -0
- package/dist/actions/get-black-box-test-results.mjs.map +1 -0
- package/dist/actions/get-user-balance.cjs +25 -0
- package/dist/actions/get-user-balance.cjs.map +1 -0
- package/dist/actions/get-user-balance.d.cts +9 -0
- package/dist/actions/get-user-balance.d.cts.map +1 -0
- package/dist/actions/get-user-balance.d.mts +9 -0
- package/dist/actions/get-user-balance.d.mts.map +1 -0
- package/dist/actions/get-user-balance.mjs +24 -0
- package/dist/actions/get-user-balance.mjs.map +1 -0
- package/dist/actions/index.cjs +61 -0
- package/dist/actions/index.d.cts +31 -0
- package/dist/actions/index.d.mts +31 -0
- package/dist/actions/index.mjs +31 -0
- package/dist/actions/list-audit-logs.cjs +40 -0
- package/dist/actions/list-audit-logs.cjs.map +1 -0
- package/dist/actions/list-audit-logs.d.cts +9 -0
- package/dist/actions/list-audit-logs.d.cts.map +1 -0
- package/dist/actions/list-audit-logs.d.mts +9 -0
- package/dist/actions/list-audit-logs.d.mts.map +1 -0
- package/dist/actions/list-audit-logs.mjs +39 -0
- package/dist/actions/list-audit-logs.mjs.map +1 -0
- package/dist/actions/list-connections.cjs +45 -0
- package/dist/actions/list-connections.cjs.map +1 -0
- package/dist/actions/list-connections.d.cts +9 -0
- package/dist/actions/list-connections.d.cts.map +1 -0
- package/dist/actions/list-connections.d.mts +9 -0
- package/dist/actions/list-connections.d.mts.map +1 -0
- package/dist/actions/list-connections.mjs +44 -0
- package/dist/actions/list-connections.mjs.map +1 -0
- package/dist/actions/list-dynamic-emergency-endpoints.cjs +49 -0
- package/dist/actions/list-dynamic-emergency-endpoints.cjs.map +1 -0
- package/dist/actions/list-dynamic-emergency-endpoints.d.cts +9 -0
- package/dist/actions/list-dynamic-emergency-endpoints.d.cts.map +1 -0
- package/dist/actions/list-dynamic-emergency-endpoints.d.mts +9 -0
- package/dist/actions/list-dynamic-emergency-endpoints.d.mts.map +1 -0
- package/dist/actions/list-dynamic-emergency-endpoints.mjs +48 -0
- package/dist/actions/list-dynamic-emergency-endpoints.mjs.map +1 -0
- package/dist/actions/list-global-ip-health-check-types.cjs +21 -0
- package/dist/actions/list-global-ip-health-check-types.cjs.map +1 -0
- package/dist/actions/list-global-ip-health-check-types.d.cts +9 -0
- package/dist/actions/list-global-ip-health-check-types.d.cts.map +1 -0
- package/dist/actions/list-global-ip-health-check-types.d.mts +9 -0
- package/dist/actions/list-global-ip-health-check-types.d.mts.map +1 -0
- package/dist/actions/list-global-ip-health-check-types.mjs +20 -0
- package/dist/actions/list-global-ip-health-check-types.mjs.map +1 -0
- package/dist/actions/list-messaging-profiles.cjs +66 -0
- package/dist/actions/list-messaging-profiles.cjs.map +1 -0
- package/dist/actions/list-messaging-profiles.d.cts +9 -0
- package/dist/actions/list-messaging-profiles.d.cts.map +1 -0
- package/dist/actions/list-messaging-profiles.d.mts +9 -0
- package/dist/actions/list-messaging-profiles.d.mts.map +1 -0
- package/dist/actions/list-messaging-profiles.mjs +65 -0
- package/dist/actions/list-messaging-profiles.mjs.map +1 -0
- package/dist/actions/list-messaging-url-domains.cjs +44 -0
- package/dist/actions/list-messaging-url-domains.cjs.map +1 -0
- package/dist/actions/list-messaging-url-domains.d.cts +9 -0
- package/dist/actions/list-messaging-url-domains.d.cts.map +1 -0
- package/dist/actions/list-messaging-url-domains.d.mts +9 -0
- package/dist/actions/list-messaging-url-domains.d.mts.map +1 -0
- package/dist/actions/list-messaging-url-domains.mjs +43 -0
- package/dist/actions/list-messaging-url-domains.mjs.map +1 -0
- package/dist/actions/list-mobile-network-operators.cjs +43 -0
- package/dist/actions/list-mobile-network-operators.cjs.map +1 -0
- package/dist/actions/list-mobile-network-operators.d.cts +9 -0
- package/dist/actions/list-mobile-network-operators.d.cts.map +1 -0
- package/dist/actions/list-mobile-network-operators.d.mts +9 -0
- package/dist/actions/list-mobile-network-operators.d.mts.map +1 -0
- package/dist/actions/list-mobile-network-operators.mjs +42 -0
- package/dist/actions/list-mobile-network-operators.mjs.map +1 -0
- package/dist/actions/list-network-interfaces.cjs +54 -0
- package/dist/actions/list-network-interfaces.cjs.map +1 -0
- package/dist/actions/list-network-interfaces.d.cts +9 -0
- package/dist/actions/list-network-interfaces.d.cts.map +1 -0
- package/dist/actions/list-network-interfaces.d.mts +9 -0
- package/dist/actions/list-network-interfaces.d.mts.map +1 -0
- package/dist/actions/list-network-interfaces.mjs +53 -0
- package/dist/actions/list-network-interfaces.mjs.map +1 -0
- package/dist/actions/list-networks.cjs +36 -0
- package/dist/actions/list-networks.cjs.map +1 -0
- package/dist/actions/list-networks.d.cts +9 -0
- package/dist/actions/list-networks.d.cts.map +1 -0
- package/dist/actions/list-networks.d.mts +9 -0
- package/dist/actions/list-networks.d.mts.map +1 -0
- package/dist/actions/list-networks.mjs +35 -0
- package/dist/actions/list-networks.mjs.map +1 -0
- package/dist/actions/list-notification-channels.cjs +43 -0
- package/dist/actions/list-notification-channels.cjs.map +1 -0
- package/dist/actions/list-notification-channels.d.cts +9 -0
- package/dist/actions/list-notification-channels.d.cts.map +1 -0
- package/dist/actions/list-notification-channels.d.mts +9 -0
- package/dist/actions/list-notification-channels.d.mts.map +1 -0
- package/dist/actions/list-notification-channels.mjs +42 -0
- package/dist/actions/list-notification-channels.mjs.map +1 -0
- package/dist/actions/list-notification-event-conditions.cjs +54 -0
- package/dist/actions/list-notification-event-conditions.cjs.map +1 -0
- package/dist/actions/list-notification-event-conditions.d.cts +9 -0
- package/dist/actions/list-notification-event-conditions.d.cts.map +1 -0
- package/dist/actions/list-notification-event-conditions.d.mts +9 -0
- package/dist/actions/list-notification-event-conditions.d.mts.map +1 -0
- package/dist/actions/list-notification-event-conditions.mjs +53 -0
- package/dist/actions/list-notification-event-conditions.mjs.map +1 -0
- package/dist/actions/list-notification-events.cjs +24 -0
- package/dist/actions/list-notification-events.cjs.map +1 -0
- package/dist/actions/list-notification-events.d.cts +9 -0
- package/dist/actions/list-notification-events.d.cts.map +1 -0
- package/dist/actions/list-notification-events.d.mts +9 -0
- package/dist/actions/list-notification-events.d.mts.map +1 -0
- package/dist/actions/list-notification-events.mjs +23 -0
- package/dist/actions/list-notification-events.mjs.map +1 -0
- package/dist/actions/list-notification-profiles.cjs +34 -0
- package/dist/actions/list-notification-profiles.cjs.map +1 -0
- package/dist/actions/list-notification-profiles.d.cts +9 -0
- package/dist/actions/list-notification-profiles.d.cts.map +1 -0
- package/dist/actions/list-notification-profiles.d.mts +9 -0
- package/dist/actions/list-notification-profiles.d.mts.map +1 -0
- package/dist/actions/list-notification-profiles.mjs +33 -0
- package/dist/actions/list-notification-profiles.mjs.map +1 -0
- package/dist/actions/list-phone-numbers.cjs +57 -0
- package/dist/actions/list-phone-numbers.cjs.map +1 -0
- package/dist/actions/list-phone-numbers.d.cts +9 -0
- package/dist/actions/list-phone-numbers.d.cts.map +1 -0
- package/dist/actions/list-phone-numbers.d.mts +9 -0
- package/dist/actions/list-phone-numbers.d.mts.map +1 -0
- package/dist/actions/list-phone-numbers.mjs +56 -0
- package/dist/actions/list-phone-numbers.mjs.map +1 -0
- package/dist/actions/list-sso-authentication-providers.cjs +65 -0
- package/dist/actions/list-sso-authentication-providers.cjs.map +1 -0
- package/dist/actions/list-sso-authentication-providers.d.cts +9 -0
- package/dist/actions/list-sso-authentication-providers.d.cts.map +1 -0
- package/dist/actions/list-sso-authentication-providers.d.mts +9 -0
- package/dist/actions/list-sso-authentication-providers.d.mts.map +1 -0
- package/dist/actions/list-sso-authentication-providers.mjs +64 -0
- package/dist/actions/list-sso-authentication-providers.mjs.map +1 -0
- package/dist/actions/retrieve-network.cjs +25 -0
- package/dist/actions/retrieve-network.cjs.map +1 -0
- package/dist/actions/retrieve-network.d.cts +9 -0
- package/dist/actions/retrieve-network.d.cts.map +1 -0
- package/dist/actions/retrieve-network.d.mts +9 -0
- package/dist/actions/retrieve-network.d.mts.map +1 -0
- package/dist/actions/retrieve-network.mjs +24 -0
- package/dist/actions/retrieve-network.mjs.map +1 -0
- package/dist/actions/retrieve-notification-channel.cjs +25 -0
- package/dist/actions/retrieve-notification-channel.cjs.map +1 -0
- package/dist/actions/retrieve-notification-channel.d.cts +9 -0
- package/dist/actions/retrieve-notification-channel.d.cts.map +1 -0
- package/dist/actions/retrieve-notification-channel.d.mts +9 -0
- package/dist/actions/retrieve-notification-channel.d.mts.map +1 -0
- package/dist/actions/retrieve-notification-channel.mjs +24 -0
- package/dist/actions/retrieve-notification-channel.mjs.map +1 -0
- package/dist/actions/retrieve-notification-profile.cjs +26 -0
- package/dist/actions/retrieve-notification-profile.cjs.map +1 -0
- package/dist/actions/retrieve-notification-profile.d.cts +9 -0
- package/dist/actions/retrieve-notification-profile.d.cts.map +1 -0
- package/dist/actions/retrieve-notification-profile.d.mts +9 -0
- package/dist/actions/retrieve-notification-profile.d.mts.map +1 -0
- package/dist/actions/retrieve-notification-profile.mjs +25 -0
- package/dist/actions/retrieve-notification-profile.mjs.map +1 -0
- package/dist/actions/retrieve-notification-setting.cjs +41 -0
- package/dist/actions/retrieve-notification-setting.cjs.map +1 -0
- package/dist/actions/retrieve-notification-setting.d.cts +9 -0
- package/dist/actions/retrieve-notification-setting.d.cts.map +1 -0
- package/dist/actions/retrieve-notification-setting.d.mts +9 -0
- package/dist/actions/retrieve-notification-setting.d.mts.map +1 -0
- package/dist/actions/retrieve-notification-setting.mjs +40 -0
- package/dist/actions/retrieve-notification-setting.mjs.map +1 -0
- package/dist/actions/update-network.cjs +27 -0
- package/dist/actions/update-network.cjs.map +1 -0
- package/dist/actions/update-network.d.cts +9 -0
- package/dist/actions/update-network.d.cts.map +1 -0
- package/dist/actions/update-network.d.mts +9 -0
- package/dist/actions/update-network.d.mts.map +1 -0
- package/dist/actions/update-network.mjs +26 -0
- package/dist/actions/update-network.mjs.map +1 -0
- package/dist/app.cjs +9 -0
- package/dist/app.cjs.map +1 -0
- package/dist/app.d.cts +5 -0
- package/dist/app.d.cts.map +1 -0
- package/dist/app.d.mts +5 -0
- package/dist/app.d.mts.map +1 -0
- package/dist/app.mjs +10 -0
- package/dist/app.mjs.map +1 -0
- package/dist/catalog.cjs +15 -0
- package/dist/catalog.cjs.map +1 -0
- package/dist/catalog.d.cts +14 -0
- package/dist/catalog.d.cts.map +1 -0
- package/dist/catalog.d.mts +14 -0
- package/dist/catalog.d.mts.map +1 -0
- package/dist/catalog.mjs +15 -0
- package/dist/catalog.mjs.map +1 -0
- package/dist/execute.cjs +18 -0
- package/dist/execute.cjs.map +1 -0
- package/dist/execute.mjs +18 -0
- package/dist/execute.mjs.map +1 -0
- package/dist/index.cjs +66 -0
- package/dist/index.d.cts +33 -0
- package/dist/index.d.mts +33 -0
- package/dist/index.mjs +34 -0
- package/package.json +49 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-mobile-network-operators.mjs","names":[],"sources":["../../src/actions/list-mobile-network-operators.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const TelnyxListMobileNetworkOperatorsInput: z.ZodTypeAny = z.object({\n page_size: z.number().int().describe(\"Number of results per page (maximum 100).\").optional(),\n page_number: z.number().int().describe(\"Page number for pagination (starting at 1).\").optional(),\n country_code: z.string().describe(\"Filter operators by country code (ISO 3166-1 alpha-2).\").optional(),\n operator_name: z.string().describe(\"Filter operators by operator name.\").optional(),\n}).describe(\"Request parameters for listing mobile network operators.\");\nconst TelnyxListMobileNetworkOperators_MobileNetworkOperatorSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the mobile network operator.\"),\n mcc: z.string().describe(\"Mobile Country Code (MCC).\"),\n mnc: z.string().describe(\"Mobile Network Code (MNC).\"),\n name: z.string().describe(\"Name of the mobile network operator.\"),\n country_code: z.string().describe(\"Country code (ISO 3166-1 alpha-2).\"),\n}).describe(\"A mobile network operator resource.\");\nconst TelnyxListMobileNetworkOperators_ListMobileNetworkOperatorsMetaSchema: z.ZodTypeAny = z.object({\n page_size: z.number().int().describe(\"Number of results per page.\"),\n page_number: z.number().int().describe(\"Current page number.\"),\n total_pages: z.number().int().describe(\"Total number of pages available.\"),\n total_results: z.number().int().describe(\"Total number of results.\"),\n}).describe(\"Pagination metadata for list mobile network operators.\");\nconst TelnyxListMobileNetworkOperators_ListMobileNetworkOperatorsLinksSchema: z.ZodTypeAny = z.object({\n next: z.string().describe(\"URL to the next page.\").nullable().optional(),\n prev: z.string().describe(\"URL to the previous page.\").nullable().optional(),\n self: z.string().describe(\"URL to the current page.\").nullable().optional(),\n}).describe(\"Pagination links for list mobile network operators.\");\nexport const TelnyxListMobileNetworkOperatorsOutput: z.ZodTypeAny = z.object({\n data: z.array(TelnyxListMobileNetworkOperators_MobileNetworkOperatorSchema).describe(\"List of mobile network operators.\"),\n meta: TelnyxListMobileNetworkOperators_ListMobileNetworkOperatorsMetaSchema.nullable(),\n links: TelnyxListMobileNetworkOperators_ListMobileNetworkOperatorsLinksSchema.nullable(),\n}).describe(\"Response schema for listing mobile network operators.\");\n\nexport const telnyxListMobileNetworkOperators = action(\"TELNYX_LIST_MOBILE_NETWORK_OPERATORS\", {\n slug: \"telnyx-list-mobile-network-operators\",\n name: \"List Mobile Network Operators\",\n description: \"Tool to list available mobile network operators. Use when you need to discover operators optionally filtered by country code, operator name, or with pagination.\",\n input: TelnyxListMobileNetworkOperatorsInput,\n output: TelnyxListMobileNetworkOperatorsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAsD,EAAE,OAAO;CAC1E,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC3F,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC/F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACrG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACt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,CAAC,CAAC,SAAS,uDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/list-network-interfaces.ts
|
|
4
|
+
const TelnyxListNetworkInterfacesInput = zod.z.object({
|
|
5
|
+
page_size: zod.z.number().int().default(20).describe("Number of results per page. Default is 20. Must be between 1 and 250.").optional(),
|
|
6
|
+
network_id: zod.z.string().describe("Unique identifier (UUID) of the network to list interfaces for."),
|
|
7
|
+
filter_name: zod.z.string().describe("Filter results by interface name.").optional(),
|
|
8
|
+
filter_type: zod.z.string().describe("Filter results by interface type.").optional(),
|
|
9
|
+
page_number: zod.z.number().int().default(1).describe("Page number to load. Default is 1. Must be ≥ 1.").optional(),
|
|
10
|
+
filter_status: zod.z.enum([
|
|
11
|
+
"created",
|
|
12
|
+
"provisioning",
|
|
13
|
+
"provisioned",
|
|
14
|
+
"deleting"
|
|
15
|
+
]).describe("Filter results by interface status.").optional()
|
|
16
|
+
}).describe("Request parameters for listing network interfaces of a specific network.");
|
|
17
|
+
const TelnyxListNetworkInterfaces_RegionSchema = zod.z.object({
|
|
18
|
+
code: zod.z.string().describe("Region code."),
|
|
19
|
+
name: zod.z.string().describe("Region name."),
|
|
20
|
+
record_type: zod.z.string().describe("Type of the region record.")
|
|
21
|
+
}).describe("Region information for a network interface.");
|
|
22
|
+
const TelnyxListNetworkInterfaces_NetworkInterfaceSchema = zod.z.object({
|
|
23
|
+
id: zod.z.string().describe("Unique identifier for the interface."),
|
|
24
|
+
name: zod.z.string().describe("Name of the interface."),
|
|
25
|
+
type: zod.z.string().describe("Type of the interface."),
|
|
26
|
+
region: TelnyxListNetworkInterfaces_RegionSchema.nullable(),
|
|
27
|
+
status: zod.z.string().describe("Status of the interface."),
|
|
28
|
+
created_at: zod.z.string().describe("Timestamp when the interface was created."),
|
|
29
|
+
network_id: zod.z.string().describe("Identifier of the associated network."),
|
|
30
|
+
updated_at: zod.z.string().describe("Timestamp when the interface was last updated."),
|
|
31
|
+
record_type: zod.z.string().describe("Type of the interface record."),
|
|
32
|
+
region_code: zod.z.string().describe("Code of the region where the interface is located.")
|
|
33
|
+
}).describe("Data model for a network interface.");
|
|
34
|
+
const TelnyxListNetworkInterfaces_ListNetworkInterfacesMetaSchema = zod.z.object({
|
|
35
|
+
page_size: zod.z.number().int().describe("Number of results per page."),
|
|
36
|
+
page_number: zod.z.number().int().describe("Current page number."),
|
|
37
|
+
total_pages: zod.z.number().int().describe("Total number of pages."),
|
|
38
|
+
total_results: zod.z.number().int().describe("Total number of results.")
|
|
39
|
+
}).describe("Pagination metadata for listing network interfaces.");
|
|
40
|
+
const TelnyxListNetworkInterfacesOutput = zod.z.object({
|
|
41
|
+
data: zod.z.array(TelnyxListNetworkInterfaces_NetworkInterfaceSchema).describe("List of network interface objects."),
|
|
42
|
+
meta: TelnyxListNetworkInterfaces_ListNetworkInterfacesMetaSchema.nullable()
|
|
43
|
+
}).describe("Response schema for listing network interfaces of a network.");
|
|
44
|
+
const telnyxListNetworkInterfaces = require_action.action("TELNYX_LIST_NETWORK_INTERFACES", {
|
|
45
|
+
slug: "telnyx-list-network-interfaces",
|
|
46
|
+
name: "List Network Interfaces",
|
|
47
|
+
description: "Tool to list all network interfaces for a specified network. Use after retrieving a network's ID to enumerate its interfaces.",
|
|
48
|
+
input: TelnyxListNetworkInterfacesInput,
|
|
49
|
+
output: TelnyxListNetworkInterfacesOutput
|
|
50
|
+
});
|
|
51
|
+
//#endregion
|
|
52
|
+
exports.telnyxListNetworkInterfaces = telnyxListNetworkInterfaces;
|
|
53
|
+
|
|
54
|
+
//# sourceMappingURL=list-network-interfaces.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-network-interfaces.cjs","names":["z","action"],"sources":["../../src/actions/list-network-interfaces.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const TelnyxListNetworkInterfacesInput: z.ZodTypeAny = z.object({\n page_size: z.number().int().default(20).describe(\"Number of results per page. Default is 20. Must be between 1 and 250.\").optional(),\n network_id: z.string().describe(\"Unique identifier (UUID) of the network to list interfaces for.\"),\n filter_name: z.string().describe(\"Filter results by interface name.\").optional(),\n filter_type: z.string().describe(\"Filter results by interface type.\").optional(),\n page_number: z.number().int().default(1).describe(\"Page number to load. Default is 1. Must be ≥ 1.\").optional(),\n filter_status: z.enum([\"created\", \"provisioning\", \"provisioned\", \"deleting\"]).describe(\"Filter results by interface status.\").optional(),\n}).describe(\"Request parameters for listing network interfaces of a specific network.\");\nconst TelnyxListNetworkInterfaces_RegionSchema: z.ZodTypeAny = z.object({\n code: z.string().describe(\"Region code.\"),\n name: z.string().describe(\"Region name.\"),\n record_type: z.string().describe(\"Type of the region record.\"),\n}).describe(\"Region information for a network interface.\");\nconst TelnyxListNetworkInterfaces_NetworkInterfaceSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the interface.\"),\n name: z.string().describe(\"Name of the interface.\"),\n type: z.string().describe(\"Type of the interface.\"),\n region: TelnyxListNetworkInterfaces_RegionSchema.nullable(),\n status: z.string().describe(\"Status of the interface.\"),\n created_at: z.string().describe(\"Timestamp when the interface was created.\"),\n network_id: z.string().describe(\"Identifier of the associated network.\"),\n updated_at: z.string().describe(\"Timestamp when the interface was last updated.\"),\n record_type: z.string().describe(\"Type of the interface record.\"),\n region_code: z.string().describe(\"Code of the region where the interface is located.\"),\n}).describe(\"Data model for a network interface.\");\nconst TelnyxListNetworkInterfaces_ListNetworkInterfacesMetaSchema: z.ZodTypeAny = z.object({\n page_size: z.number().int().describe(\"Number of results per page.\"),\n page_number: z.number().int().describe(\"Current page number.\"),\n total_pages: z.number().int().describe(\"Total number of pages.\"),\n total_results: z.number().int().describe(\"Total number of results.\"),\n}).describe(\"Pagination metadata for listing network interfaces.\");\nexport const TelnyxListNetworkInterfacesOutput: z.ZodTypeAny = z.object({\n data: z.array(TelnyxListNetworkInterfaces_NetworkInterfaceSchema).describe(\"List of network interface objects.\"),\n meta: TelnyxListNetworkInterfaces_ListNetworkInterfacesMetaSchema.nullable(),\n}).describe(\"Response schema for listing network interfaces of a network.\");\n\nexport const telnyxListNetworkInterfaces = action(\"TELNYX_LIST_NETWORK_INTERFACES\", {\n slug: \"telnyx-list-network-interfaces\",\n name: \"List Network Interfaces\",\n description: \"Tool to list all network interfaces for a specified network. Use after retrieving a network's ID to enumerate its interfaces.\",\n input: TelnyxListNetworkInterfacesInput,\n output: TelnyxListNetworkInterfacesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CACnI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;CACjG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC/E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC/E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC9G,eAAeA,IAAAA,EAAE,KAAK;EAAC;EAAW;EAAgB;EAAe;CAAU,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;AACzI,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAM,2CAAyDA,IAAAA,EAAE,OAAO;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc;CACxC,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc;CACxC,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;A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AAS,8DAA8D;AAE1E,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-network-interfaces.d.ts
|
|
4
|
+
declare const TelnyxListNetworkInterfacesInput: z.ZodTypeAny;
|
|
5
|
+
declare const TelnyxListNetworkInterfacesOutput: z.ZodTypeAny;
|
|
6
|
+
declare const telnyxListNetworkInterfaces: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { telnyxListNetworkInterfaces };
|
|
9
|
+
//# sourceMappingURL=list-network-interfaces.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-network-interfaces.d.cts","names":[],"sources":["../../src/actions/list-network-interfaces.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAOsC;AAAA,cAwB1E,iCAAA,EAAmC,CAAA,CAAE,UAGyB;AAAA,cAE9D,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-network-interfaces.d.ts
|
|
4
|
+
declare const TelnyxListNetworkInterfacesInput: z.ZodTypeAny;
|
|
5
|
+
declare const TelnyxListNetworkInterfacesOutput: z.ZodTypeAny;
|
|
6
|
+
declare const telnyxListNetworkInterfaces: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { telnyxListNetworkInterfaces };
|
|
9
|
+
//# sourceMappingURL=list-network-interfaces.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-network-interfaces.d.mts","names":[],"sources":["../../src/actions/list-network-interfaces.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAOsC;AAAA,cAwB1E,iCAAA,EAAmC,CAAA,CAAE,UAGyB;AAAA,cAE9D,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/list-network-interfaces.ts
|
|
4
|
+
const TelnyxListNetworkInterfacesInput = z.object({
|
|
5
|
+
page_size: z.number().int().default(20).describe("Number of results per page. Default is 20. Must be between 1 and 250.").optional(),
|
|
6
|
+
network_id: z.string().describe("Unique identifier (UUID) of the network to list interfaces for."),
|
|
7
|
+
filter_name: z.string().describe("Filter results by interface name.").optional(),
|
|
8
|
+
filter_type: z.string().describe("Filter results by interface type.").optional(),
|
|
9
|
+
page_number: z.number().int().default(1).describe("Page number to load. Default is 1. Must be ≥ 1.").optional(),
|
|
10
|
+
filter_status: z.enum([
|
|
11
|
+
"created",
|
|
12
|
+
"provisioning",
|
|
13
|
+
"provisioned",
|
|
14
|
+
"deleting"
|
|
15
|
+
]).describe("Filter results by interface status.").optional()
|
|
16
|
+
}).describe("Request parameters for listing network interfaces of a specific network.");
|
|
17
|
+
const TelnyxListNetworkInterfaces_RegionSchema = z.object({
|
|
18
|
+
code: z.string().describe("Region code."),
|
|
19
|
+
name: z.string().describe("Region name."),
|
|
20
|
+
record_type: z.string().describe("Type of the region record.")
|
|
21
|
+
}).describe("Region information for a network interface.");
|
|
22
|
+
const TelnyxListNetworkInterfaces_NetworkInterfaceSchema = z.object({
|
|
23
|
+
id: z.string().describe("Unique identifier for the interface."),
|
|
24
|
+
name: z.string().describe("Name of the interface."),
|
|
25
|
+
type: z.string().describe("Type of the interface."),
|
|
26
|
+
region: TelnyxListNetworkInterfaces_RegionSchema.nullable(),
|
|
27
|
+
status: z.string().describe("Status of the interface."),
|
|
28
|
+
created_at: z.string().describe("Timestamp when the interface was created."),
|
|
29
|
+
network_id: z.string().describe("Identifier of the associated network."),
|
|
30
|
+
updated_at: z.string().describe("Timestamp when the interface was last updated."),
|
|
31
|
+
record_type: z.string().describe("Type of the interface record."),
|
|
32
|
+
region_code: z.string().describe("Code of the region where the interface is located.")
|
|
33
|
+
}).describe("Data model for a network interface.");
|
|
34
|
+
const TelnyxListNetworkInterfaces_ListNetworkInterfacesMetaSchema = z.object({
|
|
35
|
+
page_size: z.number().int().describe("Number of results per page."),
|
|
36
|
+
page_number: z.number().int().describe("Current page number."),
|
|
37
|
+
total_pages: z.number().int().describe("Total number of pages."),
|
|
38
|
+
total_results: z.number().int().describe("Total number of results.")
|
|
39
|
+
}).describe("Pagination metadata for listing network interfaces.");
|
|
40
|
+
const telnyxListNetworkInterfaces = action("TELNYX_LIST_NETWORK_INTERFACES", {
|
|
41
|
+
slug: "telnyx-list-network-interfaces",
|
|
42
|
+
name: "List Network Interfaces",
|
|
43
|
+
description: "Tool to list all network interfaces for a specified network. Use after retrieving a network's ID to enumerate its interfaces.",
|
|
44
|
+
input: TelnyxListNetworkInterfacesInput,
|
|
45
|
+
output: z.object({
|
|
46
|
+
data: z.array(TelnyxListNetworkInterfaces_NetworkInterfaceSchema).describe("List of network interface objects."),
|
|
47
|
+
meta: TelnyxListNetworkInterfaces_ListNetworkInterfacesMetaSchema.nullable()
|
|
48
|
+
}).describe("Response schema for listing network interfaces of a network.")
|
|
49
|
+
});
|
|
50
|
+
//#endregion
|
|
51
|
+
export { telnyxListNetworkInterfaces };
|
|
52
|
+
|
|
53
|
+
//# sourceMappingURL=list-network-interfaces.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-network-interfaces.mjs","names":[],"sources":["../../src/actions/list-network-interfaces.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const TelnyxListNetworkInterfacesInput: z.ZodTypeAny = z.object({\n page_size: z.number().int().default(20).describe(\"Number of results per page. Default is 20. Must be between 1 and 250.\").optional(),\n network_id: z.string().describe(\"Unique identifier (UUID) of the network to list interfaces for.\"),\n filter_name: z.string().describe(\"Filter results by interface name.\").optional(),\n filter_type: z.string().describe(\"Filter results by interface type.\").optional(),\n page_number: z.number().int().default(1).describe(\"Page number to load. Default is 1. Must be ≥ 1.\").optional(),\n filter_status: z.enum([\"created\", \"provisioning\", \"provisioned\", \"deleting\"]).describe(\"Filter results by interface status.\").optional(),\n}).describe(\"Request parameters for listing network interfaces of a specific network.\");\nconst TelnyxListNetworkInterfaces_RegionSchema: z.ZodTypeAny = z.object({\n code: z.string().describe(\"Region code.\"),\n name: z.string().describe(\"Region name.\"),\n record_type: z.string().describe(\"Type of the region record.\"),\n}).describe(\"Region information for a network interface.\");\nconst TelnyxListNetworkInterfaces_NetworkInterfaceSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the interface.\"),\n name: z.string().describe(\"Name of the interface.\"),\n type: z.string().describe(\"Type of the interface.\"),\n region: TelnyxListNetworkInterfaces_RegionSchema.nullable(),\n status: z.string().describe(\"Status of the interface.\"),\n created_at: z.string().describe(\"Timestamp when the interface was created.\"),\n network_id: z.string().describe(\"Identifier of the associated network.\"),\n updated_at: z.string().describe(\"Timestamp when the interface was last updated.\"),\n record_type: z.string().describe(\"Type of the interface record.\"),\n region_code: z.string().describe(\"Code of the region where the interface is located.\"),\n}).describe(\"Data model for a network interface.\");\nconst TelnyxListNetworkInterfaces_ListNetworkInterfacesMetaSchema: z.ZodTypeAny = z.object({\n page_size: z.number().int().describe(\"Number of results per page.\"),\n page_number: z.number().int().describe(\"Current page number.\"),\n total_pages: z.number().int().describe(\"Total number of pages.\"),\n total_results: z.number().int().describe(\"Total number of results.\"),\n}).describe(\"Pagination metadata for listing network interfaces.\");\nexport const TelnyxListNetworkInterfacesOutput: z.ZodTypeAny = z.object({\n data: z.array(TelnyxListNetworkInterfaces_NetworkInterfaceSchema).describe(\"List of network interface objects.\"),\n meta: TelnyxListNetworkInterfaces_ListNetworkInterfacesMetaSchema.nullable(),\n}).describe(\"Response schema for listing network interfaces of a network.\");\n\nexport const telnyxListNetworkInterfaces = action(\"TELNYX_LIST_NETWORK_INTERFACES\", {\n slug: \"telnyx-list-network-interfaces\",\n name: \"List Network Interfaces\",\n description: \"Tool to list all network interfaces for a specified network. Use after retrieving a network's ID to enumerate its interfaces.\",\n input: TelnyxListNetworkInterfacesInput,\n output: TelnyxListNetworkInterfacesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiD,EAAE,OAAO;CACrE,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CACnI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;CACjG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC/E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC/E,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC9G,eAAe,EAAE,KAAK;EAAC;EAAW;EAAgB;EAAe;CAAU,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;AACzI,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAM,2CAAyD,EAAE,OAAO;CACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc;CACxC,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc;CACxC,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
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/list-networks.ts
|
|
4
|
+
const TelnyxListNetworksInput = zod.z.object({
|
|
5
|
+
page_size: zod.z.number().int().default(20).describe("Size of the page. Default is 20. Must be ≥ 1.").optional(),
|
|
6
|
+
filter_name: zod.z.string().describe("Filter results by network name.").optional(),
|
|
7
|
+
page_number: zod.z.number().int().default(1).describe("Page number to load. Default is 1. Must be ≥ 1.").optional()
|
|
8
|
+
}).describe("Request parameters for listing networks in your account.");
|
|
9
|
+
const TelnyxListNetworks_NetworkSchema = zod.z.object({
|
|
10
|
+
id: zod.z.string().describe("Unique identifier for the network."),
|
|
11
|
+
name: zod.z.string().describe("Name of the network."),
|
|
12
|
+
created_at: zod.z.string().describe("ISO 8601 formatted creation timestamp."),
|
|
13
|
+
updated_at: zod.z.string().describe("ISO 8601 formatted last updated timestamp."),
|
|
14
|
+
record_type: zod.z.string().describe("Type of the record.")
|
|
15
|
+
}).describe("Data model for a single network resource.");
|
|
16
|
+
const TelnyxListNetworks_ListNetworksMetaSchema = zod.z.object({
|
|
17
|
+
page_size: zod.z.number().int().describe("Number of results per page."),
|
|
18
|
+
page_number: zod.z.number().int().describe("Current page number."),
|
|
19
|
+
total_pages: zod.z.number().int().describe("Total number of pages."),
|
|
20
|
+
total_results: zod.z.number().int().describe("Total number of results.")
|
|
21
|
+
}).describe("Pagination metadata for listing networks.");
|
|
22
|
+
const TelnyxListNetworksOutput = zod.z.object({
|
|
23
|
+
data: zod.z.array(TelnyxListNetworks_NetworkSchema).describe("List of network objects."),
|
|
24
|
+
meta: TelnyxListNetworks_ListNetworksMetaSchema.nullable()
|
|
25
|
+
}).describe("Response schema for listing networks.");
|
|
26
|
+
const telnyxListNetworks = require_action.action("TELNYX_LIST_NETWORKS", {
|
|
27
|
+
slug: "telnyx-list-networks",
|
|
28
|
+
name: "List Networks",
|
|
29
|
+
description: "Tool to list all networks in your account. Use when you need to retrieve networks with optional pagination and filtering.",
|
|
30
|
+
input: TelnyxListNetworksInput,
|
|
31
|
+
output: TelnyxListNetworksOutput
|
|
32
|
+
});
|
|
33
|
+
//#endregion
|
|
34
|
+
exports.telnyxListNetworks = telnyxListNetworks;
|
|
35
|
+
|
|
36
|
+
//# sourceMappingURL=list-networks.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-networks.cjs","names":["z","action"],"sources":["../../src/actions/list-networks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const TelnyxListNetworksInput: z.ZodTypeAny = z.object({\n page_size: z.number().int().default(20).describe(\"Size of the page. Default is 20. Must be ≥ 1.\").optional(),\n filter_name: z.string().describe(\"Filter results by network name.\").optional(),\n page_number: z.number().int().default(1).describe(\"Page number to load. Default is 1. Must be ≥ 1.\").optional(),\n}).describe(\"Request parameters for listing networks in your account.\");\nconst TelnyxListNetworks_NetworkSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the network.\"),\n name: z.string().describe(\"Name of the network.\"),\n created_at: z.string().describe(\"ISO 8601 formatted creation timestamp.\"),\n updated_at: z.string().describe(\"ISO 8601 formatted last updated timestamp.\"),\n record_type: z.string().describe(\"Type of the record.\"),\n}).describe(\"Data model for a single network resource.\");\nconst TelnyxListNetworks_ListNetworksMetaSchema: z.ZodTypeAny = z.object({\n page_size: z.number().int().describe(\"Number of results per page.\"),\n page_number: z.number().int().describe(\"Current page number.\"),\n total_pages: z.number().int().describe(\"Total number of pages.\"),\n total_results: z.number().int().describe(\"Total number of results.\"),\n}).describe(\"Pagination metadata for listing networks.\");\nexport const TelnyxListNetworksOutput: z.ZodTypeAny = z.object({\n data: z.array(TelnyxListNetworks_NetworkSchema).describe(\"List of network objects.\"),\n meta: TelnyxListNetworks_ListNetworksMetaSchema.nullable(),\n}).describe(\"Response schema for listing networks.\");\n\nexport const telnyxListNetworks = action(\"TELNYX_LIST_NETWORKS\", {\n slug: \"telnyx-list-networks\",\n name: \"List Networks\",\n description: \"Tool to list all networks in your account. Use when you need to retrieve networks with optional pagination and filtering.\",\n input: TelnyxListNetworksInput,\n output: TelnyxListNetworksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwCA,IAAAA,EAAE,OAAO;CAC5D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC3G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC7E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAM,mCAAiDA,IAAAA,EAAE,OAAO;CAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;CAChD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CACxE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CAC5E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;AACxD,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAM,4CAA0DA,IAAAA,EAAE,OAAO;CACvE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B;CAClE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB;CAC7D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB;CAC/D,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B;AACrE,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,0BAA0B;CACnF,MAAM,0CAA0C,SAAS;AAC3D,CAAC,CAAC,CAAC,SAAS,uCAAuC;AAEnD,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-networks.d.ts
|
|
4
|
+
declare const TelnyxListNetworksInput: z.ZodTypeAny;
|
|
5
|
+
declare const TelnyxListNetworksOutput: z.ZodTypeAny;
|
|
6
|
+
declare const telnyxListNetworks: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { telnyxListNetworks };
|
|
9
|
+
//# sourceMappingURL=list-networks.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-networks.d.cts","names":[],"sources":["../../src/actions/list-networks.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAI+B;AAAA,cAc1D,wBAAA,EAA0B,CAAA,CAAE,UAGW;AAAA,cAEvC,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-networks.d.ts
|
|
4
|
+
declare const TelnyxListNetworksInput: z.ZodTypeAny;
|
|
5
|
+
declare const TelnyxListNetworksOutput: z.ZodTypeAny;
|
|
6
|
+
declare const telnyxListNetworks: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { telnyxListNetworks };
|
|
9
|
+
//# sourceMappingURL=list-networks.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-networks.d.mts","names":[],"sources":["../../src/actions/list-networks.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAI+B;AAAA,cAc1D,wBAAA,EAA0B,CAAA,CAAE,UAGW;AAAA,cAEvC,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/list-networks.ts
|
|
4
|
+
const TelnyxListNetworksInput = z.object({
|
|
5
|
+
page_size: z.number().int().default(20).describe("Size of the page. Default is 20. Must be ≥ 1.").optional(),
|
|
6
|
+
filter_name: z.string().describe("Filter results by network name.").optional(),
|
|
7
|
+
page_number: z.number().int().default(1).describe("Page number to load. Default is 1. Must be ≥ 1.").optional()
|
|
8
|
+
}).describe("Request parameters for listing networks in your account.");
|
|
9
|
+
const TelnyxListNetworks_NetworkSchema = z.object({
|
|
10
|
+
id: z.string().describe("Unique identifier for the network."),
|
|
11
|
+
name: z.string().describe("Name of the network."),
|
|
12
|
+
created_at: z.string().describe("ISO 8601 formatted creation timestamp."),
|
|
13
|
+
updated_at: z.string().describe("ISO 8601 formatted last updated timestamp."),
|
|
14
|
+
record_type: z.string().describe("Type of the record.")
|
|
15
|
+
}).describe("Data model for a single network resource.");
|
|
16
|
+
const TelnyxListNetworks_ListNetworksMetaSchema = z.object({
|
|
17
|
+
page_size: z.number().int().describe("Number of results per page."),
|
|
18
|
+
page_number: z.number().int().describe("Current page number."),
|
|
19
|
+
total_pages: z.number().int().describe("Total number of pages."),
|
|
20
|
+
total_results: z.number().int().describe("Total number of results.")
|
|
21
|
+
}).describe("Pagination metadata for listing networks.");
|
|
22
|
+
const telnyxListNetworks = action("TELNYX_LIST_NETWORKS", {
|
|
23
|
+
slug: "telnyx-list-networks",
|
|
24
|
+
name: "List Networks",
|
|
25
|
+
description: "Tool to list all networks in your account. Use when you need to retrieve networks with optional pagination and filtering.",
|
|
26
|
+
input: TelnyxListNetworksInput,
|
|
27
|
+
output: z.object({
|
|
28
|
+
data: z.array(TelnyxListNetworks_NetworkSchema).describe("List of network objects."),
|
|
29
|
+
meta: TelnyxListNetworks_ListNetworksMetaSchema.nullable()
|
|
30
|
+
}).describe("Response schema for listing networks.")
|
|
31
|
+
});
|
|
32
|
+
//#endregion
|
|
33
|
+
export { telnyxListNetworks };
|
|
34
|
+
|
|
35
|
+
//# sourceMappingURL=list-networks.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-networks.mjs","names":[],"sources":["../../src/actions/list-networks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const TelnyxListNetworksInput: z.ZodTypeAny = z.object({\n page_size: z.number().int().default(20).describe(\"Size of the page. Default is 20. Must be ≥ 1.\").optional(),\n filter_name: z.string().describe(\"Filter results by network name.\").optional(),\n page_number: z.number().int().default(1).describe(\"Page number to load. Default is 1. Must be ≥ 1.\").optional(),\n}).describe(\"Request parameters for listing networks in your account.\");\nconst TelnyxListNetworks_NetworkSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the network.\"),\n name: z.string().describe(\"Name of the network.\"),\n created_at: z.string().describe(\"ISO 8601 formatted creation timestamp.\"),\n updated_at: z.string().describe(\"ISO 8601 formatted last updated timestamp.\"),\n record_type: z.string().describe(\"Type of the record.\"),\n}).describe(\"Data model for a single network resource.\");\nconst TelnyxListNetworks_ListNetworksMetaSchema: z.ZodTypeAny = z.object({\n page_size: z.number().int().describe(\"Number of results per page.\"),\n page_number: z.number().int().describe(\"Current page number.\"),\n total_pages: z.number().int().describe(\"Total number of pages.\"),\n total_results: z.number().int().describe(\"Total number of results.\"),\n}).describe(\"Pagination metadata for listing networks.\");\nexport const TelnyxListNetworksOutput: z.ZodTypeAny = z.object({\n data: z.array(TelnyxListNetworks_NetworkSchema).describe(\"List of network objects.\"),\n meta: TelnyxListNetworks_ListNetworksMetaSchema.nullable(),\n}).describe(\"Response schema for listing networks.\");\n\nexport const telnyxListNetworks = action(\"TELNYX_LIST_NETWORKS\", {\n slug: \"telnyx-list-networks\",\n name: \"List Networks\",\n description: \"Tool to list all networks in your account. Use when you need to retrieve networks with optional pagination and filtering.\",\n input: TelnyxListNetworksInput,\n output: TelnyxListNetworksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwC,EAAE,OAAO;CAC5D,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC3G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC7E,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAM,mCAAiD,EAAE,OAAO;CAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;CAChD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CACxE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CAC5E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;AACxD,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAM,4CAA0D,EAAE,OAAO;CACvE,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B;CAClE,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB;CAC7D,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB;CAC/D,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B;AACrE,CAAC,CAAC,CAAC,SAAS,2CAA2C;AAMvD,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVoD,EAAE,OAAO;EAC7D,MAAM,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,0BAA0B;EACnF,MAAM,0CAA0C,SAAS;CAC3D,CAAC,CAAC,CAAC,SAAS,uCAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/list-notification-channels.ts
|
|
4
|
+
const TelnyxListNotificationChannelsInput = zod.z.object({
|
|
5
|
+
page_size: zod.z.number().int().default(20).describe("Number of results per page. Defaults to 20; max is 100.").optional(),
|
|
6
|
+
page_number: zod.z.number().int().default(1).describe("Page number for pagination. Defaults to 1.").optional(),
|
|
7
|
+
filter_channel_type_id: zod.z.string().describe("Filter by the ID of the channel type. Possible values: 'webhook', 'sms', 'email', 'voice'.").optional()
|
|
8
|
+
}).describe("Request parameters for listing notification channels.");
|
|
9
|
+
const TelnyxListNotificationChannels_NotificationChannelSchema = zod.z.object({
|
|
10
|
+
id: zod.z.string().describe("A UUID identifying the notification channel."),
|
|
11
|
+
created_at: zod.z.string().describe("ISO 8601 date indicating when the resource was created."),
|
|
12
|
+
updated_at: zod.z.string().describe("ISO 8601 date indicating when the resource was updated."),
|
|
13
|
+
channel_type_id: zod.z.string().describe("The type of channel. Possible values: 'sms', 'voice', 'email', 'webhook'."),
|
|
14
|
+
channel_destination: zod.z.string().describe("The destination associated with the channel type."),
|
|
15
|
+
notification_profile_id: zod.z.string().describe("UUID reference to the associated notification profile.")
|
|
16
|
+
}).describe("Data model for a single notification channel.");
|
|
17
|
+
const TelnyxListNotificationChannels_ListNotificationChannelsMetaSchema = zod.z.object({
|
|
18
|
+
page_size: zod.z.number().int().describe("Number of results per page."),
|
|
19
|
+
page_number: zod.z.number().int().describe("Current page number."),
|
|
20
|
+
total_pages: zod.z.number().int().describe("Total number of pages."),
|
|
21
|
+
total_results: zod.z.number().int().describe("Total number of results.")
|
|
22
|
+
}).describe("Pagination metadata for listing notification channels.");
|
|
23
|
+
const TelnyxListNotificationChannels_PaginationLinksSchema = zod.z.object({
|
|
24
|
+
next: zod.z.string().describe("URL of the next page.").nullable().optional(),
|
|
25
|
+
prev: zod.z.string().describe("URL of the previous page.").nullable().optional(),
|
|
26
|
+
self: zod.z.string().describe("URL of this page.").nullable().optional()
|
|
27
|
+
}).describe("Pagination links for navigating list results.");
|
|
28
|
+
const TelnyxListNotificationChannelsOutput = zod.z.object({
|
|
29
|
+
data: zod.z.array(TelnyxListNotificationChannels_NotificationChannelSchema).describe("List of notification channel objects."),
|
|
30
|
+
meta: TelnyxListNotificationChannels_ListNotificationChannelsMetaSchema.nullable(),
|
|
31
|
+
links: TelnyxListNotificationChannels_PaginationLinksSchema.nullable()
|
|
32
|
+
}).describe("Response schema for listing notification channels.");
|
|
33
|
+
const telnyxListNotificationChannels = require_action.action("TELNYX_LIST_NOTIFICATION_CHANNELS", {
|
|
34
|
+
slug: "telnyx-list-notification-channels",
|
|
35
|
+
name: "List Notification Channels",
|
|
36
|
+
description: "Tool to list all notification channels. Use when you need to retrieve and paginate existing notification channels, optionally filtering by channel type.",
|
|
37
|
+
input: TelnyxListNotificationChannelsInput,
|
|
38
|
+
output: TelnyxListNotificationChannelsOutput
|
|
39
|
+
});
|
|
40
|
+
//#endregion
|
|
41
|
+
exports.telnyxListNotificationChannels = telnyxListNotificationChannels;
|
|
42
|
+
|
|
43
|
+
//# sourceMappingURL=list-notification-channels.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-notification-channels.cjs","names":["z","action"],"sources":["../../src/actions/list-notification-channels.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const TelnyxListNotificationChannelsInput: z.ZodTypeAny = z.object({\n page_size: z.number().int().default(20).describe(\"Number of results per page. Defaults to 20; max is 100.\").optional(),\n page_number: z.number().int().default(1).describe(\"Page number for pagination. Defaults to 1.\").optional(),\n filter_channel_type_id: z.string().describe(\"Filter by the ID of the channel type. Possible values: 'webhook', 'sms', 'email', 'voice'.\").optional(),\n}).describe(\"Request parameters for listing notification channels.\");\nconst TelnyxListNotificationChannels_NotificationChannelSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"A UUID identifying the notification channel.\"),\n created_at: z.string().describe(\"ISO 8601 date indicating when the resource was created.\"),\n updated_at: z.string().describe(\"ISO 8601 date indicating when the resource was updated.\"),\n channel_type_id: z.string().describe(\"The type of channel. Possible values: 'sms', 'voice', 'email', 'webhook'.\"),\n channel_destination: z.string().describe(\"The destination associated with the channel type.\"),\n notification_profile_id: z.string().describe(\"UUID reference to the associated notification profile.\"),\n}).describe(\"Data model for a single notification channel.\");\nconst TelnyxListNotificationChannels_ListNotificationChannelsMetaSchema: z.ZodTypeAny = z.object({\n page_size: z.number().int().describe(\"Number of results per page.\"),\n page_number: z.number().int().describe(\"Current page number.\"),\n total_pages: z.number().int().describe(\"Total number of pages.\"),\n total_results: z.number().int().describe(\"Total number of results.\"),\n}).describe(\"Pagination metadata for listing notification channels.\");\nconst TelnyxListNotificationChannels_PaginationLinksSchema: z.ZodTypeAny = z.object({\n next: z.string().describe(\"URL of the next page.\").nullable().optional(),\n prev: z.string().describe(\"URL of the previous page.\").nullable().optional(),\n self: z.string().describe(\"URL of this page.\").nullable().optional(),\n}).describe(\"Pagination links for navigating list results.\");\nexport const TelnyxListNotificationChannelsOutput: z.ZodTypeAny = z.object({\n data: z.array(TelnyxListNotificationChannels_NotificationChannelSchema).describe(\"List of notification channel objects.\"),\n meta: TelnyxListNotificationChannels_ListNotificationChannelsMetaSchema.nullable(),\n links: TelnyxListNotificationChannels_PaginationLinksSchema.nullable(),\n}).describe(\"Response schema for listing notification channels.\");\n\nexport const telnyxListNotificationChannels = action(\"TELNYX_LIST_NOTIFICATION_CHANNELS\", {\n slug: \"telnyx-list-notification-channels\",\n name: \"List Notification Channels\",\n description: \"Tool to list all notification channels. Use when you need to retrieve and paginate existing notification channels, optionally filtering by channel type.\",\n input: TelnyxListNotificationChannelsInput,\n output: TelnyxListNotificationChannelsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAoDA,IAAAA,EAAE,OAAO;CACxE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACrH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACzG,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;AACrJ,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,2DAAyEA,IAAAA,EAAE,OAAO;CACtF,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CACtE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CACzF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CACzF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E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C"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-notification-channels.d.ts
|
|
4
|
+
declare const TelnyxListNotificationChannelsInput: z.ZodTypeAny;
|
|
5
|
+
declare const TelnyxListNotificationChannelsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const telnyxListNotificationChannels: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { telnyxListNotificationChannels };
|
|
9
|
+
//# sourceMappingURL=list-notification-channels.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-notification-channels.d.cts","names":[],"sources":["../../src/actions/list-notification-channels.ts"],"mappings":";;;cAIa,mCAAA,EAAqC,CAAA,CAAE,UAIgB;AAAA,cAoBvD,oCAAA,EAAsC,CAAA,CAAE,UAIY;AAAA,cAEpD,8BAAA,gCAA8B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-notification-channels.d.ts
|
|
4
|
+
declare const TelnyxListNotificationChannelsInput: z.ZodTypeAny;
|
|
5
|
+
declare const TelnyxListNotificationChannelsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const telnyxListNotificationChannels: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { telnyxListNotificationChannels };
|
|
9
|
+
//# sourceMappingURL=list-notification-channels.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-notification-channels.d.mts","names":[],"sources":["../../src/actions/list-notification-channels.ts"],"mappings":";;;cAIa,mCAAA,EAAqC,CAAA,CAAE,UAIgB;AAAA,cAoBvD,oCAAA,EAAsC,CAAA,CAAE,UAIY;AAAA,cAEpD,8BAAA,gCAA8B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/list-notification-channels.ts
|
|
4
|
+
const TelnyxListNotificationChannelsInput = z.object({
|
|
5
|
+
page_size: z.number().int().default(20).describe("Number of results per page. Defaults to 20; max is 100.").optional(),
|
|
6
|
+
page_number: z.number().int().default(1).describe("Page number for pagination. Defaults to 1.").optional(),
|
|
7
|
+
filter_channel_type_id: z.string().describe("Filter by the ID of the channel type. Possible values: 'webhook', 'sms', 'email', 'voice'.").optional()
|
|
8
|
+
}).describe("Request parameters for listing notification channels.");
|
|
9
|
+
const TelnyxListNotificationChannels_NotificationChannelSchema = z.object({
|
|
10
|
+
id: z.string().describe("A UUID identifying the notification channel."),
|
|
11
|
+
created_at: z.string().describe("ISO 8601 date indicating when the resource was created."),
|
|
12
|
+
updated_at: z.string().describe("ISO 8601 date indicating when the resource was updated."),
|
|
13
|
+
channel_type_id: z.string().describe("The type of channel. Possible values: 'sms', 'voice', 'email', 'webhook'."),
|
|
14
|
+
channel_destination: z.string().describe("The destination associated with the channel type."),
|
|
15
|
+
notification_profile_id: z.string().describe("UUID reference to the associated notification profile.")
|
|
16
|
+
}).describe("Data model for a single notification channel.");
|
|
17
|
+
const TelnyxListNotificationChannels_ListNotificationChannelsMetaSchema = z.object({
|
|
18
|
+
page_size: z.number().int().describe("Number of results per page."),
|
|
19
|
+
page_number: z.number().int().describe("Current page number."),
|
|
20
|
+
total_pages: z.number().int().describe("Total number of pages."),
|
|
21
|
+
total_results: z.number().int().describe("Total number of results.")
|
|
22
|
+
}).describe("Pagination metadata for listing notification channels.");
|
|
23
|
+
const TelnyxListNotificationChannels_PaginationLinksSchema = z.object({
|
|
24
|
+
next: z.string().describe("URL of the next page.").nullable().optional(),
|
|
25
|
+
prev: z.string().describe("URL of the previous page.").nullable().optional(),
|
|
26
|
+
self: z.string().describe("URL of this page.").nullable().optional()
|
|
27
|
+
}).describe("Pagination links for navigating list results.");
|
|
28
|
+
const telnyxListNotificationChannels = action("TELNYX_LIST_NOTIFICATION_CHANNELS", {
|
|
29
|
+
slug: "telnyx-list-notification-channels",
|
|
30
|
+
name: "List Notification Channels",
|
|
31
|
+
description: "Tool to list all notification channels. Use when you need to retrieve and paginate existing notification channels, optionally filtering by channel type.",
|
|
32
|
+
input: TelnyxListNotificationChannelsInput,
|
|
33
|
+
output: z.object({
|
|
34
|
+
data: z.array(TelnyxListNotificationChannels_NotificationChannelSchema).describe("List of notification channel objects."),
|
|
35
|
+
meta: TelnyxListNotificationChannels_ListNotificationChannelsMetaSchema.nullable(),
|
|
36
|
+
links: TelnyxListNotificationChannels_PaginationLinksSchema.nullable()
|
|
37
|
+
}).describe("Response schema for listing notification channels.")
|
|
38
|
+
});
|
|
39
|
+
//#endregion
|
|
40
|
+
export { telnyxListNotificationChannels };
|
|
41
|
+
|
|
42
|
+
//# sourceMappingURL=list-notification-channels.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-notification-channels.mjs","names":[],"sources":["../../src/actions/list-notification-channels.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const TelnyxListNotificationChannelsInput: z.ZodTypeAny = z.object({\n page_size: z.number().int().default(20).describe(\"Number of results per page. Defaults to 20; max is 100.\").optional(),\n page_number: z.number().int().default(1).describe(\"Page number for pagination. Defaults to 1.\").optional(),\n filter_channel_type_id: z.string().describe(\"Filter by the ID of the channel type. Possible values: 'webhook', 'sms', 'email', 'voice'.\").optional(),\n}).describe(\"Request parameters for listing notification channels.\");\nconst TelnyxListNotificationChannels_NotificationChannelSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"A UUID identifying the notification channel.\"),\n created_at: z.string().describe(\"ISO 8601 date indicating when the resource was created.\"),\n updated_at: z.string().describe(\"ISO 8601 date indicating when the resource was updated.\"),\n channel_type_id: z.string().describe(\"The type of channel. Possible values: 'sms', 'voice', 'email', 'webhook'.\"),\n channel_destination: z.string().describe(\"The destination associated with the channel type.\"),\n notification_profile_id: z.string().describe(\"UUID reference to the associated notification profile.\"),\n}).describe(\"Data model for a single notification channel.\");\nconst TelnyxListNotificationChannels_ListNotificationChannelsMetaSchema: z.ZodTypeAny = z.object({\n page_size: z.number().int().describe(\"Number of results per page.\"),\n page_number: z.number().int().describe(\"Current page number.\"),\n total_pages: z.number().int().describe(\"Total number of pages.\"),\n total_results: z.number().int().describe(\"Total number of results.\"),\n}).describe(\"Pagination metadata for listing notification channels.\");\nconst TelnyxListNotificationChannels_PaginationLinksSchema: z.ZodTypeAny = z.object({\n next: z.string().describe(\"URL of the next page.\").nullable().optional(),\n prev: z.string().describe(\"URL of the previous page.\").nullable().optional(),\n self: z.string().describe(\"URL of this page.\").nullable().optional(),\n}).describe(\"Pagination links for navigating list results.\");\nexport const TelnyxListNotificationChannelsOutput: z.ZodTypeAny = z.object({\n data: z.array(TelnyxListNotificationChannels_NotificationChannelSchema).describe(\"List of notification channel objects.\"),\n meta: TelnyxListNotificationChannels_ListNotificationChannelsMetaSchema.nullable(),\n links: TelnyxListNotificationChannels_PaginationLinksSchema.nullable(),\n}).describe(\"Response schema for listing notification channels.\");\n\nexport const telnyxListNotificationChannels = action(\"TELNYX_LIST_NOTIFICATION_CHANNELS\", {\n slug: \"telnyx-list-notification-channels\",\n name: \"List Notification Channels\",\n description: \"Tool to list all notification channels. Use when you need to retrieve and paginate existing notification channels, optionally filtering by channel type.\",\n input: TelnyxListNotificationChannelsInput,\n output: TelnyxListNotificationChannelsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAoD,EAAE,O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,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrE,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAO3D,MAAa,iCAAiC,OAAO,qCAAqC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXgE,EAAE,OAAO;EACzE,MAAM,EAAE,MAAM,wDAAwD,CAAC,CAAC,SAAS,uCAAuC;EACxH,MAAM,kEAAkE,SAAS;EACjF,OAAO,qDAAqD,SAAS;CACvE,CAAC,CAAC,CAAC,SAAS,oDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/list-notification-event-conditions.ts
|
|
4
|
+
const TelnyxListNotificationEventConditionsInput = zod.z.object({
|
|
5
|
+
page_size: zod.z.number().int().default(20).describe("Number of results per page. Defaults to 20; max is 250.").optional(),
|
|
6
|
+
page_number: zod.z.number().int().default(1).describe("Page number for pagination. Defaults to 1.").optional(),
|
|
7
|
+
filter_associated_record_type_eq: zod.z.enum(["account", "phone_number"]).describe("Filter by associated record type. Allowed values: 'account', 'phone_number'.").optional()
|
|
8
|
+
}).describe("Request parameters for listing notification event conditions.");
|
|
9
|
+
const TelnyxListNotificationEventConditions_NotificationEventConditionParameterSchema = zod.z.object({
|
|
10
|
+
name: zod.z.string().describe("Name of the parameter."),
|
|
11
|
+
optional: zod.z.boolean().describe("Whether the parameter is optional."),
|
|
12
|
+
data_type: zod.z.string().describe("Data type of the parameter.")
|
|
13
|
+
}).describe("Parameter of a notification event condition.");
|
|
14
|
+
const TelnyxListNotificationEventConditions_NotificationEventConditionSchema = zod.z.object({
|
|
15
|
+
id: zod.z.string().describe("A UUID identifying the notification event condition."),
|
|
16
|
+
name: zod.z.string().describe("Name of the notification event condition."),
|
|
17
|
+
enabled: zod.z.boolean().describe("Whether the condition is enabled."),
|
|
18
|
+
created_at: zod.z.string().describe("ISO 8601 creation timestamp."),
|
|
19
|
+
parameters: zod.z.array(TelnyxListNotificationEventConditions_NotificationEventConditionParameterSchema).describe("List of parameters for the condition."),
|
|
20
|
+
updated_at: zod.z.string().describe("ISO 8601 last update timestamp."),
|
|
21
|
+
description: zod.z.string().describe("Description of the notification event condition."),
|
|
22
|
+
asynchronous: zod.z.boolean().describe("Whether the condition is processed asynchronously."),
|
|
23
|
+
supported_channels: zod.z.array(zod.z.string()).describe("List of supported channels for the condition."),
|
|
24
|
+
notification_event_id: zod.z.string().describe("UUID of the parent notification event."),
|
|
25
|
+
associated_record_type: zod.z.enum(["account", "phone_number"]).describe("Associated record type. Possible values: 'account', 'phone_number'."),
|
|
26
|
+
allow_multiple_channels: zod.z.boolean().describe("Whether multiple channels are allowed.")
|
|
27
|
+
}).describe("Data model for a notification event condition.");
|
|
28
|
+
const TelnyxListNotificationEventConditions_ListNotificationEventConditionsMetaSchema = zod.z.object({
|
|
29
|
+
page_size: zod.z.number().int().describe("Number of results per page."),
|
|
30
|
+
page_number: zod.z.number().int().describe("Current page number."),
|
|
31
|
+
total_pages: zod.z.number().int().describe("Total number of pages."),
|
|
32
|
+
total_results: zod.z.number().int().describe("Total number of results.")
|
|
33
|
+
}).describe("Pagination metadata for listing notification event conditions.");
|
|
34
|
+
const TelnyxListNotificationEventConditions_PaginationLinksSchema = zod.z.object({
|
|
35
|
+
next: zod.z.string().describe("URL of the next page.").nullable().optional(),
|
|
36
|
+
prev: zod.z.string().describe("URL of the previous page.").nullable().optional(),
|
|
37
|
+
self: zod.z.string().describe("URL of this page.").nullable().optional()
|
|
38
|
+
}).describe("Pagination links for navigating list results.");
|
|
39
|
+
const TelnyxListNotificationEventConditionsOutput = zod.z.object({
|
|
40
|
+
data: zod.z.array(TelnyxListNotificationEventConditions_NotificationEventConditionSchema).describe("List of notification event condition objects."),
|
|
41
|
+
meta: TelnyxListNotificationEventConditions_ListNotificationEventConditionsMetaSchema.nullable(),
|
|
42
|
+
links: TelnyxListNotificationEventConditions_PaginationLinksSchema.nullable().optional()
|
|
43
|
+
}).describe("Response schema for listing notification event conditions.");
|
|
44
|
+
const telnyxListNotificationEventConditions = require_action.action("TELNYX_LIST_NOTIFICATION_EVENT_CONDITIONS", {
|
|
45
|
+
slug: "telnyx-list-notification-event-conditions",
|
|
46
|
+
name: "List Notification Event Conditions",
|
|
47
|
+
description: "Tool to list all notification event conditions. Use when you need to retrieve and paginate notification event conditions, optionally filtering by associated record type.",
|
|
48
|
+
input: TelnyxListNotificationEventConditionsInput,
|
|
49
|
+
output: TelnyxListNotificationEventConditionsOutput
|
|
50
|
+
});
|
|
51
|
+
//#endregion
|
|
52
|
+
exports.telnyxListNotificationEventConditions = telnyxListNotificationEventConditions;
|
|
53
|
+
|
|
54
|
+
//# sourceMappingURL=list-notification-event-conditions.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-notification-event-conditions.cjs","names":["z","action"],"sources":["../../src/actions/list-notification-event-conditions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const TelnyxListNotificationEventConditionsInput: z.ZodTypeAny = z.object({\n page_size: z.number().int().default(20).describe(\"Number of results per page. Defaults to 20; max is 250.\").optional(),\n page_number: z.number().int().default(1).describe(\"Page number for pagination. Defaults to 1.\").optional(),\n filter_associated_record_type_eq: z.enum([\"account\", \"phone_number\"]).describe(\"Filter by associated record type. Allowed values: 'account', 'phone_number'.\").optional(),\n}).describe(\"Request parameters for listing notification event conditions.\");\nconst TelnyxListNotificationEventConditions_NotificationEventConditionParameterSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the parameter.\"),\n optional: z.boolean().describe(\"Whether the parameter is optional.\"),\n data_type: z.string().describe(\"Data type of the parameter.\"),\n}).describe(\"Parameter of a notification event condition.\");\nconst TelnyxListNotificationEventConditions_NotificationEventConditionSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"A UUID identifying the notification event condition.\"),\n name: z.string().describe(\"Name of the notification event condition.\"),\n enabled: z.boolean().describe(\"Whether the condition is enabled.\"),\n created_at: z.string().describe(\"ISO 8601 creation timestamp.\"),\n parameters: z.array(TelnyxListNotificationEventConditions_NotificationEventConditionParameterSchema).describe(\"List of parameters for the condition.\"),\n updated_at: z.string().describe(\"ISO 8601 last update timestamp.\"),\n description: z.string().describe(\"Description of the notification event condition.\"),\n asynchronous: z.boolean().describe(\"Whether the condition is processed asynchronously.\"),\n supported_channels: z.array(z.string()).describe(\"List of supported channels for the condition.\"),\n notification_event_id: z.string().describe(\"UUID of the parent notification event.\"),\n associated_record_type: z.enum([\"account\", \"phone_number\"]).describe(\"Associated record type. Possible values: 'account', 'phone_number'.\"),\n allow_multiple_channels: z.boolean().describe(\"Whether multiple channels are allowed.\"),\n}).describe(\"Data model for a notification event condition.\");\nconst TelnyxListNotificationEventConditions_ListNotificationEventConditionsMetaSchema: z.ZodTypeAny = z.object({\n page_size: z.number().int().describe(\"Number of results per page.\"),\n page_number: z.number().int().describe(\"Current page number.\"),\n total_pages: z.number().int().describe(\"Total number of pages.\"),\n total_results: z.number().int().describe(\"Total number of results.\"),\n}).describe(\"Pagination metadata for listing notification event conditions.\");\nconst TelnyxListNotificationEventConditions_PaginationLinksSchema: z.ZodTypeAny = z.object({\n next: z.string().describe(\"URL of the next page.\").nullable().optional(),\n prev: z.string().describe(\"URL of the previous page.\").nullable().optional(),\n self: z.string().describe(\"URL of this page.\").nullable().optional(),\n}).describe(\"Pagination links for navigating list results.\");\nexport const TelnyxListNotificationEventConditionsOutput: z.ZodTypeAny = z.object({\n data: z.array(TelnyxListNotificationEventConditions_NotificationEventConditionSchema).describe(\"List of notification event condition objects.\"),\n meta: TelnyxListNotificationEventConditions_ListNotificationEventConditionsMetaSchema.nullable(),\n links: TelnyxListNotificationEventConditions_PaginationLinksSchema.nullable().optional(),\n}).describe(\"Response schema for listing notification event conditions.\");\n\nexport const telnyxListNotificationEventConditions = action(\"TELNYX_LIST_NOTIFICATION_EVENT_CONDITIONS\", {\n slug: \"telnyx-list-notification-event-conditions\",\n name: \"List Notification Event Conditions\",\n description: \"Tool to list all notification event conditions. Use when you need to retrieve and paginate notification event conditions, optionally filtering by associated record type.\",\n input: TelnyxListNotificationEventConditionsInput,\n output: TelnyxListNotificationEventConditionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6CAA2DA,IAAAA,EAAE,OAAO;CAC/E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACrH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACzG,kCAAkCA,IAAAA,EAAE,KAAK,CAAC,WAAW,cAAc,CAAC,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;AAC1K,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,kFAAgGA,IAAAA,EAAE,OAAO;CAC7G,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CAClD,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC;CACnE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;AAC9D,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,yEAAuFA,IAAAA,EAAE,OAAO;CACpG,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CAC9E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACrE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC;CACjE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,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AAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrE,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAa,8CAA4DA,IAAAA,EAAE,OAAO;CAChF,MAAMA,IAAAA,EAAE,MAAM,sEAAsE,CAAC,CAAC,SAAS,+CAA+C;CAC9I,MAAM,gFAAgF,SAAS;CAC/F,OAAO,4DAA4D,SAAS,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,SAAS,4DAA4D;AAExE,MAAa,wCAAwCC,eAAAA,OAAO,6CAA6C;CACvG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-notification-event-conditions.d.ts
|
|
4
|
+
declare const TelnyxListNotificationEventConditionsInput: z.ZodTypeAny;
|
|
5
|
+
declare const TelnyxListNotificationEventConditionsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const telnyxListNotificationEventConditions: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { telnyxListNotificationEventConditions };
|
|
9
|
+
//# sourceMappingURL=list-notification-event-conditions.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-notification-event-conditions.d.cts","names":[],"sources":["../../src/actions/list-notification-event-conditions.ts"],"mappings":";;;cAIa,0CAAA,EAA4C,CAAA,CAAE,UAIiB;AAAA,cA+B/D,2CAAA,EAA6C,CAAA,CAAE,UAIa;AAAA,cAE5D,qCAAA,gCAAqC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-notification-event-conditions.d.ts
|
|
4
|
+
declare const TelnyxListNotificationEventConditionsInput: z.ZodTypeAny;
|
|
5
|
+
declare const TelnyxListNotificationEventConditionsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const telnyxListNotificationEventConditions: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { telnyxListNotificationEventConditions };
|
|
9
|
+
//# sourceMappingURL=list-notification-event-conditions.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-notification-event-conditions.d.mts","names":[],"sources":["../../src/actions/list-notification-event-conditions.ts"],"mappings":";;;cAIa,0CAAA,EAA4C,CAAA,CAAE,UAIiB;AAAA,cA+B/D,2CAAA,EAA6C,CAAA,CAAE,UAIa;AAAA,cAE5D,qCAAA,gCAAqC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|