@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,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/delete-network.d.ts
|
|
4
|
+
declare const TelnyxDeleteNetworkInput: z.ZodTypeAny;
|
|
5
|
+
declare const TelnyxDeleteNetworkOutput: z.ZodTypeAny;
|
|
6
|
+
declare const telnyxDeleteNetwork: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { telnyxDeleteNetwork };
|
|
9
|
+
//# sourceMappingURL=delete-network.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-network.d.mts","names":[],"sources":["../../src/actions/delete-network.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAEsB;AAAA,cAQlD,yBAAA,EAA2B,CAAA,CAAE,UAEY;AAAA,cAEzC,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/delete-network.ts
|
|
4
|
+
const TelnyxDeleteNetworkInput = z.object({ network_id: z.string().describe("Unique identifier for the network to delete.") }).describe("Request parameters for deleting a network by ID.");
|
|
5
|
+
const TelnyxDeleteNetwork_DeleteNetworkResponseDataSchema = z.object({
|
|
6
|
+
id: z.string().describe("Unique identifier for the network."),
|
|
7
|
+
name: z.string().describe("Name of the network."),
|
|
8
|
+
created_at: z.string().describe("ISO 8601 timestamp when the network was created."),
|
|
9
|
+
updated_at: z.string().describe("ISO 8601 timestamp when the network was last updated."),
|
|
10
|
+
record_type: z.string().describe("Record type of the resource.")
|
|
11
|
+
}).describe("Data model for delete network response.");
|
|
12
|
+
const telnyxDeleteNetwork = action("TELNYX_DELETE_NETWORK", {
|
|
13
|
+
slug: "telnyx-delete-network",
|
|
14
|
+
name: "Delete Network",
|
|
15
|
+
description: "Tool to delete a network by ID. Use when you have obtained the network's identifier and need to remove it permanently.",
|
|
16
|
+
input: TelnyxDeleteNetworkInput,
|
|
17
|
+
output: z.object({ data: TelnyxDeleteNetwork_DeleteNetworkResponseDataSchema.nullable().optional() }).describe("Response schema for deleting a network.")
|
|
18
|
+
});
|
|
19
|
+
//#endregion
|
|
20
|
+
export { telnyxDeleteNetwork };
|
|
21
|
+
|
|
22
|
+
//# sourceMappingURL=delete-network.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-network.mjs","names":[],"sources":["../../src/actions/delete-network.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const TelnyxDeleteNetworkInput: z.ZodTypeAny = z.object({\n network_id: z.string().describe(\"Unique identifier for the network to delete.\"),\n}).describe(\"Request parameters for deleting a network by ID.\");\nconst TelnyxDeleteNetwork_DeleteNetworkResponseDataSchema: 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 timestamp when the network was created.\"),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the network was last updated.\"),\n record_type: z.string().describe(\"Record type of the resource.\"),\n}).describe(\"Data model for delete network response.\");\nexport const TelnyxDeleteNetworkOutput: z.ZodTypeAny = z.object({\n data: TelnyxDeleteNetwork_DeleteNetworkResponseDataSchema.nullable().optional(),\n}).describe(\"Response schema for deleting a network.\");\n\nexport const telnyxDeleteNetwork = action(\"TELNYX_DELETE_NETWORK\", {\n slug: \"telnyx-delete-network\",\n name: \"Delete Network\",\n description: \"Tool to delete a network by ID. Use when you have obtained the network's identifier and need to remove it permanently.\",\n input: TelnyxDeleteNetworkInput,\n output: TelnyxDeleteNetworkOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyC,EAAE,OAAO,EAC7D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,EAChF,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,sDAAoE,EAAE,OAAO;CACjF,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;CAChD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CAClF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACvF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;AACjE,CAAC,CAAC,CAAC,SAAS,yCAAyC;AAKrD,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATqD,EAAE,OAAO,EAC9D,MAAM,oDAAoD,SAAS,CAAC,CAAC,SAAS,EAChF,CAAC,CAAC,CAAC,SAAS,yCAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/delete-notification-channel.ts
|
|
4
|
+
const TelnyxDeleteNotificationChannelInput = zod.z.object({ notification_channel_id: zod.z.string().describe("Unique identifier for the notification channel to delete.") }).describe("Request parameters for deleting a notification channel by ID.");
|
|
5
|
+
const TelnyxDeleteNotificationChannel_DeleteNotificationChannelResponseDataSchema = zod.z.object({
|
|
6
|
+
id: zod.z.string().describe("Unique identifier of the deleted notification channel."),
|
|
7
|
+
created_at: zod.z.string().describe("ISO 8601 timestamp when the notification channel was created."),
|
|
8
|
+
updated_at: zod.z.string().describe("ISO 8601 timestamp when the notification channel was last updated."),
|
|
9
|
+
record_type: zod.z.string().describe("Record type of the resource, e.g. 'notification_channel'."),
|
|
10
|
+
channel_type_id: zod.z.string().describe("Type of the notification channel (e.g., 'sms', 'voice', 'email', 'webhook')."),
|
|
11
|
+
channel_destination: zod.z.string().describe("Destination for the notification channel (e.g., webhook URL, email address, or phone number)."),
|
|
12
|
+
notification_profile_id: zod.z.string().describe("UUID of the Notification Profile this channel belongs to.")
|
|
13
|
+
}).describe("Data model for delete notification channel response.");
|
|
14
|
+
const TelnyxDeleteNotificationChannelOutput = zod.z.object({ data: TelnyxDeleteNotificationChannel_DeleteNotificationChannelResponseDataSchema.nullable().optional() }).describe("Response schema for deleting a notification channel.");
|
|
15
|
+
const telnyxDeleteNotificationChannel = require_action.action("TELNYX_DELETE_NOTIFICATION_CHANNEL", {
|
|
16
|
+
slug: "telnyx-delete-notification-channel",
|
|
17
|
+
name: "Delete Notification Channel",
|
|
18
|
+
description: "Tool to delete a notification channel by ID. Use when you have the channel's identifier and need to remove it permanently.",
|
|
19
|
+
input: TelnyxDeleteNotificationChannelInput,
|
|
20
|
+
output: TelnyxDeleteNotificationChannelOutput
|
|
21
|
+
});
|
|
22
|
+
//#endregion
|
|
23
|
+
exports.telnyxDeleteNotificationChannel = telnyxDeleteNotificationChannel;
|
|
24
|
+
|
|
25
|
+
//# sourceMappingURL=delete-notification-channel.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-notification-channel.cjs","names":["z","action"],"sources":["../../src/actions/delete-notification-channel.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const TelnyxDeleteNotificationChannelInput: z.ZodTypeAny = z.object({\n notification_channel_id: z.string().describe(\"Unique identifier for the notification channel to delete.\"),\n}).describe(\"Request parameters for deleting a notification channel by ID.\");\nconst TelnyxDeleteNotificationChannel_DeleteNotificationChannelResponseDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the deleted notification channel.\"),\n created_at: z.string().describe(\"ISO 8601 timestamp when the notification channel was created.\"),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the notification channel was last updated.\"),\n record_type: z.string().describe(\"Record type of the resource, e.g. 'notification_channel'.\"),\n channel_type_id: z.string().describe(\"Type of the notification channel (e.g., 'sms', 'voice', 'email', 'webhook').\"),\n channel_destination: z.string().describe(\"Destination for the notification channel (e.g., webhook URL, email address, or phone number).\"),\n notification_profile_id: z.string().describe(\"UUID of the Notification Profile this channel belongs to.\"),\n}).describe(\"Data model for delete notification channel response.\");\nexport const TelnyxDeleteNotificationChannelOutput: z.ZodTypeAny = z.object({\n data: TelnyxDeleteNotificationChannel_DeleteNotificationChannelResponseDataSchema.nullable().optional(),\n}).describe(\"Response schema for deleting a notification channel.\");\n\nexport const telnyxDeleteNotificationChannel = action(\"TELNYX_DELETE_NOTIFICATION_CHANNEL\", {\n slug: \"telnyx-delete-notification-channel\",\n name: \"Delete Notification Channel\",\n description: \"Tool to delete a notification channel by ID. Use when you have the channel's identifier and need to remove it permanently.\",\n input: TelnyxDeleteNotificationChannelInput,\n output: TelnyxDeleteNotificationChannelOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAqDA,IAAAA,EAAE,OAAO,EACzE,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,EAC1G,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,8EAA4FA,IAAAA,EAAE,OAAO;CACzG,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CAChF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;CAC/F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;CACpG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CAC5F,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E;CACnH,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F;CACxI,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;AAC1G,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,wCAAsDA,IAAAA,EAAE,OAAO,EAC1E,MAAM,4EAA4E,SAAS,CAAC,CAAC,SAAS,EACxG,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAElE,MAAa,kCAAkCC,eAAAA,OAAO,sCAAsC;CAC1F,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/delete-notification-channel.d.ts
|
|
4
|
+
declare const TelnyxDeleteNotificationChannelInput: z.ZodTypeAny;
|
|
5
|
+
declare const TelnyxDeleteNotificationChannelOutput: z.ZodTypeAny;
|
|
6
|
+
declare const telnyxDeleteNotificationChannel: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { telnyxDeleteNotificationChannel };
|
|
9
|
+
//# sourceMappingURL=delete-notification-channel.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-notification-channel.d.cts","names":[],"sources":["../../src/actions/delete-notification-channel.ts"],"mappings":";;;cAIa,oCAAA,EAAsC,CAAA,CAAE,UAEuB;AAAA,cAU/D,qCAAA,EAAuC,CAAA,CAAE,UAEa;AAAA,cAEtD,+BAAA,gCAA+B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/delete-notification-channel.d.ts
|
|
4
|
+
declare const TelnyxDeleteNotificationChannelInput: z.ZodTypeAny;
|
|
5
|
+
declare const TelnyxDeleteNotificationChannelOutput: z.ZodTypeAny;
|
|
6
|
+
declare const telnyxDeleteNotificationChannel: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { telnyxDeleteNotificationChannel };
|
|
9
|
+
//# sourceMappingURL=delete-notification-channel.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-notification-channel.d.mts","names":[],"sources":["../../src/actions/delete-notification-channel.ts"],"mappings":";;;cAIa,oCAAA,EAAsC,CAAA,CAAE,UAEuB;AAAA,cAU/D,qCAAA,EAAuC,CAAA,CAAE,UAEa;AAAA,cAEtD,+BAAA,gCAA+B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/delete-notification-channel.ts
|
|
4
|
+
const TelnyxDeleteNotificationChannelInput = z.object({ notification_channel_id: z.string().describe("Unique identifier for the notification channel to delete.") }).describe("Request parameters for deleting a notification channel by ID.");
|
|
5
|
+
const TelnyxDeleteNotificationChannel_DeleteNotificationChannelResponseDataSchema = z.object({
|
|
6
|
+
id: z.string().describe("Unique identifier of the deleted notification channel."),
|
|
7
|
+
created_at: z.string().describe("ISO 8601 timestamp when the notification channel was created."),
|
|
8
|
+
updated_at: z.string().describe("ISO 8601 timestamp when the notification channel was last updated."),
|
|
9
|
+
record_type: z.string().describe("Record type of the resource, e.g. 'notification_channel'."),
|
|
10
|
+
channel_type_id: z.string().describe("Type of the notification channel (e.g., 'sms', 'voice', 'email', 'webhook')."),
|
|
11
|
+
channel_destination: z.string().describe("Destination for the notification channel (e.g., webhook URL, email address, or phone number)."),
|
|
12
|
+
notification_profile_id: z.string().describe("UUID of the Notification Profile this channel belongs to.")
|
|
13
|
+
}).describe("Data model for delete notification channel response.");
|
|
14
|
+
const telnyxDeleteNotificationChannel = action("TELNYX_DELETE_NOTIFICATION_CHANNEL", {
|
|
15
|
+
slug: "telnyx-delete-notification-channel",
|
|
16
|
+
name: "Delete Notification Channel",
|
|
17
|
+
description: "Tool to delete a notification channel by ID. Use when you have the channel's identifier and need to remove it permanently.",
|
|
18
|
+
input: TelnyxDeleteNotificationChannelInput,
|
|
19
|
+
output: z.object({ data: TelnyxDeleteNotificationChannel_DeleteNotificationChannelResponseDataSchema.nullable().optional() }).describe("Response schema for deleting a notification channel.")
|
|
20
|
+
});
|
|
21
|
+
//#endregion
|
|
22
|
+
export { telnyxDeleteNotificationChannel };
|
|
23
|
+
|
|
24
|
+
//# sourceMappingURL=delete-notification-channel.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-notification-channel.mjs","names":[],"sources":["../../src/actions/delete-notification-channel.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const TelnyxDeleteNotificationChannelInput: z.ZodTypeAny = z.object({\n notification_channel_id: z.string().describe(\"Unique identifier for the notification channel to delete.\"),\n}).describe(\"Request parameters for deleting a notification channel by ID.\");\nconst TelnyxDeleteNotificationChannel_DeleteNotificationChannelResponseDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the deleted notification channel.\"),\n created_at: z.string().describe(\"ISO 8601 timestamp when the notification channel was created.\"),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the notification channel was last updated.\"),\n record_type: z.string().describe(\"Record type of the resource, e.g. 'notification_channel'.\"),\n channel_type_id: z.string().describe(\"Type of the notification channel (e.g., 'sms', 'voice', 'email', 'webhook').\"),\n channel_destination: z.string().describe(\"Destination for the notification channel (e.g., webhook URL, email address, or phone number).\"),\n notification_profile_id: z.string().describe(\"UUID of the Notification Profile this channel belongs to.\"),\n}).describe(\"Data model for delete notification channel response.\");\nexport const TelnyxDeleteNotificationChannelOutput: z.ZodTypeAny = z.object({\n data: TelnyxDeleteNotificationChannel_DeleteNotificationChannelResponseDataSchema.nullable().optional(),\n}).describe(\"Response schema for deleting a notification channel.\");\n\nexport const telnyxDeleteNotificationChannel = action(\"TELNYX_DELETE_NOTIFICATION_CHANNEL\", {\n slug: \"telnyx-delete-notification-channel\",\n name: \"Delete Notification Channel\",\n description: \"Tool to delete a notification channel by ID. Use when you have the channel's identifier and need to remove it permanently.\",\n input: TelnyxDeleteNotificationChannelInput,\n output: TelnyxDeleteNotificationChannelOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAqD,EAAE,OAAO,EACzE,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,EAC1G,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,8EAA4F,EAAE,OAAO;CACzG,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CAChF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;CAC/F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;CACpG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CAC5F,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E;CACnH,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F;CACxI,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;AAC1G,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAKlE,MAAa,kCAAkC,OAAO,sCAAsC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATiE,EAAE,OAAO,EAC1E,MAAM,4EAA4E,SAAS,CAAC,CAAC,SAAS,EACxG,CAAC,CAAC,CAAC,SAAS,sDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/delete-notification-profile.ts
|
|
4
|
+
const TelnyxDeleteNotificationProfileInput = zod.z.object({ notification_profile_id: zod.z.string().describe("Unique identifier for the notification profile to delete.") }).describe("Request parameters for deleting a notification profile by ID.");
|
|
5
|
+
const TelnyxDeleteNotificationProfile_DeleteNotificationProfileResponseDataSchema = zod.z.object({
|
|
6
|
+
id: zod.z.string().describe("Unique identifier for the deleted notification profile."),
|
|
7
|
+
name: zod.z.string().describe("Name of the notification profile."),
|
|
8
|
+
created_at: zod.z.string().describe("ISO 8601 timestamp when the notification profile was created."),
|
|
9
|
+
updated_at: zod.z.string().describe("ISO 8601 timestamp when the notification profile was last updated.")
|
|
10
|
+
}).describe("Data model for delete notification profile response.");
|
|
11
|
+
const TelnyxDeleteNotificationProfileOutput = zod.z.object({ data: TelnyxDeleteNotificationProfile_DeleteNotificationProfileResponseDataSchema.nullable().optional() }).describe("Response schema for deleting a notification profile.");
|
|
12
|
+
const telnyxDeleteNotificationProfile = require_action.action("TELNYX_DELETE_NOTIFICATION_PROFILE", {
|
|
13
|
+
slug: "telnyx-delete-notification-profile",
|
|
14
|
+
name: "Delete Notification Profile",
|
|
15
|
+
description: "Tool to delete a notification profile by ID. Use when you have the profile's identifier and need to remove it permanently.",
|
|
16
|
+
input: TelnyxDeleteNotificationProfileInput,
|
|
17
|
+
output: TelnyxDeleteNotificationProfileOutput
|
|
18
|
+
});
|
|
19
|
+
//#endregion
|
|
20
|
+
exports.telnyxDeleteNotificationProfile = telnyxDeleteNotificationProfile;
|
|
21
|
+
|
|
22
|
+
//# sourceMappingURL=delete-notification-profile.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-notification-profile.cjs","names":["z","action"],"sources":["../../src/actions/delete-notification-profile.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const TelnyxDeleteNotificationProfileInput: z.ZodTypeAny = z.object({\n notification_profile_id: z.string().describe(\"Unique identifier for the notification profile to delete.\"),\n}).describe(\"Request parameters for deleting a notification profile by ID.\");\nconst TelnyxDeleteNotificationProfile_DeleteNotificationProfileResponseDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the deleted notification profile.\"),\n name: z.string().describe(\"Name of the notification profile.\"),\n created_at: z.string().describe(\"ISO 8601 timestamp when the notification profile was created.\"),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the notification profile was last updated.\"),\n}).describe(\"Data model for delete notification profile response.\");\nexport const TelnyxDeleteNotificationProfileOutput: z.ZodTypeAny = z.object({\n data: TelnyxDeleteNotificationProfile_DeleteNotificationProfileResponseDataSchema.nullable().optional(),\n}).describe(\"Response schema for deleting a notification profile.\");\n\nexport const telnyxDeleteNotificationProfile = action(\"TELNYX_DELETE_NOTIFICATION_PROFILE\", {\n slug: \"telnyx-delete-notification-profile\",\n name: \"Delete Notification Profile\",\n description: \"Tool to delete a notification profile by ID. Use when you have the profile's identifier and need to remove it permanently.\",\n input: TelnyxDeleteNotificationProfileInput,\n output: TelnyxDeleteNotificationProfileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAqDA,IAAAA,EAAE,OAAO,EACzE,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,EAC1G,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,8EAA4FA,IAAAA,EAAE,OAAO;CACzG,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CACjF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAC7D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;CAC/F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;AACtG,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,wCAAsDA,IAAAA,EAAE,OAAO,EAC1E,MAAM,4EAA4E,SAAS,CAAC,CAAC,SAAS,EACxG,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAElE,MAAa,kCAAkCC,eAAAA,OAAO,sCAAsC;CAC1F,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/delete-notification-profile.d.ts
|
|
4
|
+
declare const TelnyxDeleteNotificationProfileInput: z.ZodTypeAny;
|
|
5
|
+
declare const TelnyxDeleteNotificationProfileOutput: z.ZodTypeAny;
|
|
6
|
+
declare const telnyxDeleteNotificationProfile: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { telnyxDeleteNotificationProfile };
|
|
9
|
+
//# sourceMappingURL=delete-notification-profile.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-notification-profile.d.cts","names":[],"sources":["../../src/actions/delete-notification-profile.ts"],"mappings":";;;cAIa,oCAAA,EAAsC,CAAA,CAAE,UAEuB;AAAA,cAO/D,qCAAA,EAAuC,CAAA,CAAE,UAEa;AAAA,cAEtD,+BAAA,gCAA+B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/delete-notification-profile.d.ts
|
|
4
|
+
declare const TelnyxDeleteNotificationProfileInput: z.ZodTypeAny;
|
|
5
|
+
declare const TelnyxDeleteNotificationProfileOutput: z.ZodTypeAny;
|
|
6
|
+
declare const telnyxDeleteNotificationProfile: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { telnyxDeleteNotificationProfile };
|
|
9
|
+
//# sourceMappingURL=delete-notification-profile.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-notification-profile.d.mts","names":[],"sources":["../../src/actions/delete-notification-profile.ts"],"mappings":";;;cAIa,oCAAA,EAAsC,CAAA,CAAE,UAEuB;AAAA,cAO/D,qCAAA,EAAuC,CAAA,CAAE,UAEa;AAAA,cAEtD,+BAAA,gCAA+B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/delete-notification-profile.ts
|
|
4
|
+
const TelnyxDeleteNotificationProfileInput = z.object({ notification_profile_id: z.string().describe("Unique identifier for the notification profile to delete.") }).describe("Request parameters for deleting a notification profile by ID.");
|
|
5
|
+
const TelnyxDeleteNotificationProfile_DeleteNotificationProfileResponseDataSchema = z.object({
|
|
6
|
+
id: z.string().describe("Unique identifier for the deleted notification profile."),
|
|
7
|
+
name: z.string().describe("Name of the notification profile."),
|
|
8
|
+
created_at: z.string().describe("ISO 8601 timestamp when the notification profile was created."),
|
|
9
|
+
updated_at: z.string().describe("ISO 8601 timestamp when the notification profile was last updated.")
|
|
10
|
+
}).describe("Data model for delete notification profile response.");
|
|
11
|
+
const telnyxDeleteNotificationProfile = action("TELNYX_DELETE_NOTIFICATION_PROFILE", {
|
|
12
|
+
slug: "telnyx-delete-notification-profile",
|
|
13
|
+
name: "Delete Notification Profile",
|
|
14
|
+
description: "Tool to delete a notification profile by ID. Use when you have the profile's identifier and need to remove it permanently.",
|
|
15
|
+
input: TelnyxDeleteNotificationProfileInput,
|
|
16
|
+
output: z.object({ data: TelnyxDeleteNotificationProfile_DeleteNotificationProfileResponseDataSchema.nullable().optional() }).describe("Response schema for deleting a notification profile.")
|
|
17
|
+
});
|
|
18
|
+
//#endregion
|
|
19
|
+
export { telnyxDeleteNotificationProfile };
|
|
20
|
+
|
|
21
|
+
//# sourceMappingURL=delete-notification-profile.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-notification-profile.mjs","names":[],"sources":["../../src/actions/delete-notification-profile.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const TelnyxDeleteNotificationProfileInput: z.ZodTypeAny = z.object({\n notification_profile_id: z.string().describe(\"Unique identifier for the notification profile to delete.\"),\n}).describe(\"Request parameters for deleting a notification profile by ID.\");\nconst TelnyxDeleteNotificationProfile_DeleteNotificationProfileResponseDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the deleted notification profile.\"),\n name: z.string().describe(\"Name of the notification profile.\"),\n created_at: z.string().describe(\"ISO 8601 timestamp when the notification profile was created.\"),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the notification profile was last updated.\"),\n}).describe(\"Data model for delete notification profile response.\");\nexport const TelnyxDeleteNotificationProfileOutput: z.ZodTypeAny = z.object({\n data: TelnyxDeleteNotificationProfile_DeleteNotificationProfileResponseDataSchema.nullable().optional(),\n}).describe(\"Response schema for deleting a notification profile.\");\n\nexport const telnyxDeleteNotificationProfile = action(\"TELNYX_DELETE_NOTIFICATION_PROFILE\", {\n slug: \"telnyx-delete-notification-profile\",\n name: \"Delete Notification Profile\",\n description: \"Tool to delete a notification profile by ID. Use when you have the profile's identifier and need to remove it permanently.\",\n input: TelnyxDeleteNotificationProfileInput,\n output: TelnyxDeleteNotificationProfileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAqD,EAAE,OAAO,EACzE,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,EAC1G,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,8EAA4F,EAAE,OAAO;CACzG,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CACjF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAC7D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;CAC/F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;AACtG,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAKlE,MAAa,kCAAkC,OAAO,sCAAsC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATiE,EAAE,OAAO,EAC1E,MAAM,4EAA4E,SAAS,CAAC,CAAC,SAAS,EACxG,CAAC,CAAC,CAAC,SAAS,sDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/delete-notification-setting.ts
|
|
4
|
+
const TelnyxDeleteNotificationSettingInput = zod.z.object({ notification_setting_id: zod.z.string().describe("Unique identifier for the notification setting to delete.") }).describe("Request parameters for deleting a notification setting by ID.");
|
|
5
|
+
const TelnyxDeleteNotificationSetting_NotificationSettingParameterSchema = zod.z.object({
|
|
6
|
+
name: zod.z.string().describe("Name of the notification parameter."),
|
|
7
|
+
value: zod.z.string().describe("Value of the notification parameter.")
|
|
8
|
+
}).describe("A single parameter within a notification setting.");
|
|
9
|
+
const TelnyxDeleteNotificationSetting_DeleteNotificationSettingResponseDataSchema = zod.z.object({
|
|
10
|
+
id: zod.z.string().describe("UUID of the deleted notification setting."),
|
|
11
|
+
status: zod.z.enum([
|
|
12
|
+
"enabled",
|
|
13
|
+
"enable-received",
|
|
14
|
+
"enable-pending",
|
|
15
|
+
"enable-submitted",
|
|
16
|
+
"delete-received",
|
|
17
|
+
"delete-pending",
|
|
18
|
+
"delete-submitted",
|
|
19
|
+
"deleted"
|
|
20
|
+
]).describe("Current status of the notification setting."),
|
|
21
|
+
created_at: zod.z.string().describe("ISO 8601 timestamp when the notification setting was created."),
|
|
22
|
+
parameters: zod.z.array(TelnyxDeleteNotificationSetting_NotificationSettingParameterSchema).describe("Additional parameters for the notification setting."),
|
|
23
|
+
updated_at: zod.z.string().describe("ISO 8601 timestamp when the notification setting was last updated."),
|
|
24
|
+
associated_record_type: zod.z.string().describe("Type of record associated with the notification setting."),
|
|
25
|
+
notification_channel_id: zod.z.string().describe("UUID reference to the associated Notification Channel."),
|
|
26
|
+
notification_profile_id: zod.z.string().describe("UUID reference to the associated Notification Profile."),
|
|
27
|
+
associated_record_type_value: zod.z.string().describe("Value of the associated record type."),
|
|
28
|
+
notification_event_condition_id: zod.z.string().describe("UUID reference to the associated Notification Event Condition.")
|
|
29
|
+
}).describe("Data model for delete notification setting response.");
|
|
30
|
+
const TelnyxDeleteNotificationSettingOutput = zod.z.object({ data: TelnyxDeleteNotificationSetting_DeleteNotificationSettingResponseDataSchema.nullable().optional() }).describe("Response schema for deleting a notification setting.");
|
|
31
|
+
const telnyxDeleteNotificationSetting = require_action.action("TELNYX_DELETE_NOTIFICATION_SETTING", {
|
|
32
|
+
slug: "telnyx-delete-notification-setting",
|
|
33
|
+
name: "Delete Notification Setting",
|
|
34
|
+
description: "Tool to delete a notification setting by ID. Use when you need to permanently remove an existing notification setting before reconfiguration.",
|
|
35
|
+
input: TelnyxDeleteNotificationSettingInput,
|
|
36
|
+
output: TelnyxDeleteNotificationSettingOutput
|
|
37
|
+
});
|
|
38
|
+
//#endregion
|
|
39
|
+
exports.telnyxDeleteNotificationSetting = telnyxDeleteNotificationSetting;
|
|
40
|
+
|
|
41
|
+
//# sourceMappingURL=delete-notification-setting.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-notification-setting.cjs","names":["z","action"],"sources":["../../src/actions/delete-notification-setting.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const TelnyxDeleteNotificationSettingInput: z.ZodTypeAny = z.object({\n notification_setting_id: z.string().describe(\"Unique identifier for the notification setting to delete.\"),\n}).describe(\"Request parameters for deleting a notification setting by ID.\");\nconst TelnyxDeleteNotificationSetting_NotificationSettingParameterSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the notification parameter.\"),\n value: z.string().describe(\"Value of the notification parameter.\"),\n}).describe(\"A single parameter within a notification setting.\");\nconst TelnyxDeleteNotificationSetting_DeleteNotificationSettingResponseDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"UUID of the deleted notification setting.\"),\n status: z.enum([\"enabled\", \"enable-received\", \"enable-pending\", \"enable-submitted\", \"delete-received\", \"delete-pending\", \"delete-submitted\", \"deleted\"]).describe(\"Current status of the notification setting.\"),\n created_at: z.string().describe(\"ISO 8601 timestamp when the notification setting was created.\"),\n parameters: z.array(TelnyxDeleteNotificationSetting_NotificationSettingParameterSchema).describe(\"Additional parameters for the notification setting.\"),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the notification setting was last updated.\"),\n associated_record_type: z.string().describe(\"Type of record associated with the notification setting.\"),\n notification_channel_id: z.string().describe(\"UUID reference to the associated Notification Channel.\"),\n notification_profile_id: z.string().describe(\"UUID reference to the associated Notification Profile.\"),\n associated_record_type_value: z.string().describe(\"Value of the associated record type.\"),\n notification_event_condition_id: z.string().describe(\"UUID reference to the associated Notification Event Condition.\"),\n}).describe(\"Data model for delete notification setting response.\");\nexport const TelnyxDeleteNotificationSettingOutput: z.ZodTypeAny = z.object({\n data: TelnyxDeleteNotificationSetting_DeleteNotificationSettingResponseDataSchema.nullable().optional(),\n}).describe(\"Response schema for deleting a notification setting.\");\n\nexport const telnyxDeleteNotificationSetting = action(\"TELNYX_DELETE_NOTIFICATION_SETTING\", {\n slug: \"telnyx-delete-notification-setting\",\n name: \"Delete Notification Setting\",\n description: \"Tool to delete a notification setting by ID. Use when you need to permanently remove an existing notification setting before reconfiguration.\",\n input: TelnyxDeleteNotificationSettingInput,\n output: TelnyxDeleteNotificationSettingOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAqDA,IAAAA,EAAE,OAAO,EACzE,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,EAC1G,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,qEAAmFA,IAAAA,EAAE,OAAO;CAChG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;AACnE,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,8EAA4FA,IAAAA,EAAE,OAAO;CACzG,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACnE,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAW;EAAmB;EAAkB;EAAoB;EAAmB;EAAkB;EAAoB;CAAS,CAAC,CAAC,CAAC,SAAS,6CAA6C;CAC/M,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;CAC/F,YAAYA,IAAAA,EAAE,MAAM,kEAAkE,CAAC,CAAC,SAAS,qDAAqD;CACtJ,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;CACpG,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CACtG,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CACrG,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CACrG,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CACxF,iCAAiCA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;AACvH,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,wCAAsDA,IAAAA,EAAE,OAAO,EAC1E,MAAM,4EAA4E,SAAS,CAAC,CAAC,SAAS,EACxG,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAElE,MAAa,kCAAkCC,eAAAA,OAAO,sCAAsC;CAC1F,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/delete-notification-setting.d.ts
|
|
4
|
+
declare const TelnyxDeleteNotificationSettingInput: z.ZodTypeAny;
|
|
5
|
+
declare const TelnyxDeleteNotificationSettingOutput: z.ZodTypeAny;
|
|
6
|
+
declare const telnyxDeleteNotificationSetting: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { telnyxDeleteNotificationSetting };
|
|
9
|
+
//# sourceMappingURL=delete-notification-setting.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-notification-setting.d.cts","names":[],"sources":["../../src/actions/delete-notification-setting.ts"],"mappings":";;;cAIa,oCAAA,EAAsC,CAAA,CAAE,UAEuB;AAAA,cAiB/D,qCAAA,EAAuC,CAAA,CAAE,UAEa;AAAA,cAEtD,+BAAA,gCAA+B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/delete-notification-setting.d.ts
|
|
4
|
+
declare const TelnyxDeleteNotificationSettingInput: z.ZodTypeAny;
|
|
5
|
+
declare const TelnyxDeleteNotificationSettingOutput: z.ZodTypeAny;
|
|
6
|
+
declare const telnyxDeleteNotificationSetting: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { telnyxDeleteNotificationSetting };
|
|
9
|
+
//# sourceMappingURL=delete-notification-setting.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-notification-setting.d.mts","names":[],"sources":["../../src/actions/delete-notification-setting.ts"],"mappings":";;;cAIa,oCAAA,EAAsC,CAAA,CAAE,UAEuB;AAAA,cAiB/D,qCAAA,EAAuC,CAAA,CAAE,UAEa;AAAA,cAEtD,+BAAA,gCAA+B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/delete-notification-setting.ts
|
|
4
|
+
const TelnyxDeleteNotificationSettingInput = z.object({ notification_setting_id: z.string().describe("Unique identifier for the notification setting to delete.") }).describe("Request parameters for deleting a notification setting by ID.");
|
|
5
|
+
const TelnyxDeleteNotificationSetting_NotificationSettingParameterSchema = z.object({
|
|
6
|
+
name: z.string().describe("Name of the notification parameter."),
|
|
7
|
+
value: z.string().describe("Value of the notification parameter.")
|
|
8
|
+
}).describe("A single parameter within a notification setting.");
|
|
9
|
+
const TelnyxDeleteNotificationSetting_DeleteNotificationSettingResponseDataSchema = z.object({
|
|
10
|
+
id: z.string().describe("UUID of the deleted notification setting."),
|
|
11
|
+
status: z.enum([
|
|
12
|
+
"enabled",
|
|
13
|
+
"enable-received",
|
|
14
|
+
"enable-pending",
|
|
15
|
+
"enable-submitted",
|
|
16
|
+
"delete-received",
|
|
17
|
+
"delete-pending",
|
|
18
|
+
"delete-submitted",
|
|
19
|
+
"deleted"
|
|
20
|
+
]).describe("Current status of the notification setting."),
|
|
21
|
+
created_at: z.string().describe("ISO 8601 timestamp when the notification setting was created."),
|
|
22
|
+
parameters: z.array(TelnyxDeleteNotificationSetting_NotificationSettingParameterSchema).describe("Additional parameters for the notification setting."),
|
|
23
|
+
updated_at: z.string().describe("ISO 8601 timestamp when the notification setting was last updated."),
|
|
24
|
+
associated_record_type: z.string().describe("Type of record associated with the notification setting."),
|
|
25
|
+
notification_channel_id: z.string().describe("UUID reference to the associated Notification Channel."),
|
|
26
|
+
notification_profile_id: z.string().describe("UUID reference to the associated Notification Profile."),
|
|
27
|
+
associated_record_type_value: z.string().describe("Value of the associated record type."),
|
|
28
|
+
notification_event_condition_id: z.string().describe("UUID reference to the associated Notification Event Condition.")
|
|
29
|
+
}).describe("Data model for delete notification setting response.");
|
|
30
|
+
const telnyxDeleteNotificationSetting = action("TELNYX_DELETE_NOTIFICATION_SETTING", {
|
|
31
|
+
slug: "telnyx-delete-notification-setting",
|
|
32
|
+
name: "Delete Notification Setting",
|
|
33
|
+
description: "Tool to delete a notification setting by ID. Use when you need to permanently remove an existing notification setting before reconfiguration.",
|
|
34
|
+
input: TelnyxDeleteNotificationSettingInput,
|
|
35
|
+
output: z.object({ data: TelnyxDeleteNotificationSetting_DeleteNotificationSettingResponseDataSchema.nullable().optional() }).describe("Response schema for deleting a notification setting.")
|
|
36
|
+
});
|
|
37
|
+
//#endregion
|
|
38
|
+
export { telnyxDeleteNotificationSetting };
|
|
39
|
+
|
|
40
|
+
//# sourceMappingURL=delete-notification-setting.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-notification-setting.mjs","names":[],"sources":["../../src/actions/delete-notification-setting.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const TelnyxDeleteNotificationSettingInput: z.ZodTypeAny = z.object({\n notification_setting_id: z.string().describe(\"Unique identifier for the notification setting to delete.\"),\n}).describe(\"Request parameters for deleting a notification setting by ID.\");\nconst TelnyxDeleteNotificationSetting_NotificationSettingParameterSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the notification parameter.\"),\n value: z.string().describe(\"Value of the notification parameter.\"),\n}).describe(\"A single parameter within a notification setting.\");\nconst TelnyxDeleteNotificationSetting_DeleteNotificationSettingResponseDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"UUID of the deleted notification setting.\"),\n status: z.enum([\"enabled\", \"enable-received\", \"enable-pending\", \"enable-submitted\", \"delete-received\", \"delete-pending\", \"delete-submitted\", \"deleted\"]).describe(\"Current status of the notification setting.\"),\n created_at: z.string().describe(\"ISO 8601 timestamp when the notification setting was created.\"),\n parameters: z.array(TelnyxDeleteNotificationSetting_NotificationSettingParameterSchema).describe(\"Additional parameters for the notification setting.\"),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the notification setting was last updated.\"),\n associated_record_type: z.string().describe(\"Type of record associated with the notification setting.\"),\n notification_channel_id: z.string().describe(\"UUID reference to the associated Notification Channel.\"),\n notification_profile_id: z.string().describe(\"UUID reference to the associated Notification Profile.\"),\n associated_record_type_value: z.string().describe(\"Value of the associated record type.\"),\n notification_event_condition_id: z.string().describe(\"UUID reference to the associated Notification Event Condition.\"),\n}).describe(\"Data model for delete notification setting response.\");\nexport const TelnyxDeleteNotificationSettingOutput: z.ZodTypeAny = z.object({\n data: TelnyxDeleteNotificationSetting_DeleteNotificationSettingResponseDataSchema.nullable().optional(),\n}).describe(\"Response schema for deleting a notification setting.\");\n\nexport const telnyxDeleteNotificationSetting = action(\"TELNYX_DELETE_NOTIFICATION_SETTING\", {\n slug: \"telnyx-delete-notification-setting\",\n name: \"Delete Notification Setting\",\n description: \"Tool to delete a notification setting by ID. Use when you need to permanently remove an existing notification setting before reconfiguration.\",\n input: TelnyxDeleteNotificationSettingInput,\n output: TelnyxDeleteNotificationSettingOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAqD,EAAE,OAAO,EACzE,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,EAC1G,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,qEAAmF,EAAE,OAAO;CAChG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAC/D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;AACnE,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,8EAA4F,EAAE,OAAO;CACzG,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACnE,QAAQ,EAAE,KAAK;EAAC;EAAW;EAAmB;EAAkB;EAAoB;EAAmB;EAAkB;EAAoB;CAAS,CAAC,CAAC,CAAC,SAAS,6CAA6C;CAC/M,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;CAC/F,YAAY,EAAE,MAAM,kEAAkE,CAAC,CAAC,SAAS,qDAAqD;CACtJ,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;CACpG,wBAAwB,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CACtG,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CACrG,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CACrG,8BAA8B,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CACxF,iCAAiC,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;AACvH,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAKlE,MAAa,kCAAkC,OAAO,sCAAsC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATiE,EAAE,OAAO,EAC1E,MAAM,4EAA4E,SAAS,CAAC,CAAC,SAAS,EACxG,CAAC,CAAC,CAAC,SAAS,sDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-black-box-test-results.ts
|
|
4
|
+
const TelnyxGetBlackBoxTestResultsInput = zod.z.object({ filter: zod.z.object({ product: zod.z.string().describe("Filter results for a specific product.").optional() }).describe("Filter parameters for black box test results.").optional() }).describe("Request parameters for retrieving black box test results.");
|
|
5
|
+
const TelnyxGetBlackBoxTestResults_BlackBoxTestSchema = zod.z.object({
|
|
6
|
+
id: zod.z.string().describe("The name of the black box test."),
|
|
7
|
+
result: zod.z.number().describe("The average result of the black box test over the last hour."),
|
|
8
|
+
record_type: zod.z.string().describe("Identifies the object type. Always 'black_box_test'.")
|
|
9
|
+
}).describe("Individual black box test within a test group.");
|
|
10
|
+
const TelnyxGetBlackBoxTestResults_BlackBoxTestResultSchema = zod.z.object({
|
|
11
|
+
product: zod.z.string().describe("The product associated with the black box test group."),
|
|
12
|
+
record_type: zod.z.string().describe("Identifies the object type. Always 'black_box_test_result'."),
|
|
13
|
+
black_box_tests: zod.z.array(TelnyxGetBlackBoxTestResults_BlackBoxTestSchema).describe("List of individual black box tests for the product.")
|
|
14
|
+
}).describe("Black box test result group for a specific product.");
|
|
15
|
+
const TelnyxGetBlackBoxTestResultsOutput = zod.z.object({ data: zod.z.array(TelnyxGetBlackBoxTestResults_BlackBoxTestResultSchema).describe("List of black box test result groups.") }).describe("Response schema for retrieving black box test results.");
|
|
16
|
+
const telnyxGetBlackBoxTestResults = require_action.action("TELNYX_GET_BLACK_BOX_TEST_RESULTS", {
|
|
17
|
+
slug: "telnyx-get-black-box-test-results",
|
|
18
|
+
name: "Get Black Box Test Results",
|
|
19
|
+
description: "Tool to retrieve black box test results from Telnyx SETI Observability. Use when you need to check service health and test results, optionally filtering by product.",
|
|
20
|
+
input: TelnyxGetBlackBoxTestResultsInput,
|
|
21
|
+
output: TelnyxGetBlackBoxTestResultsOutput
|
|
22
|
+
});
|
|
23
|
+
//#endregion
|
|
24
|
+
exports.telnyxGetBlackBoxTestResults = telnyxGetBlackBoxTestResults;
|
|
25
|
+
|
|
26
|
+
//# sourceMappingURL=get-black-box-test-results.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-black-box-test-results.cjs","names":["z","action"],"sources":["../../src/actions/get-black-box-test-results.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const TelnyxGetBlackBoxTestResultsInput: z.ZodTypeAny = z.object({\n filter: z.object({\n product: z.string().describe(\"Filter results for a specific product.\").optional(),\n}).describe(\"Filter parameters for black box test results.\").optional(),\n}).describe(\"Request parameters for retrieving black box test results.\");\nconst TelnyxGetBlackBoxTestResults_BlackBoxTestSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The name of the black box test.\"),\n result: z.number().describe(\"The average result of the black box test over the last hour.\"),\n record_type: z.string().describe(\"Identifies the object type. Always 'black_box_test'.\"),\n}).describe(\"Individual black box test within a test group.\");\nconst TelnyxGetBlackBoxTestResults_BlackBoxTestResultSchema: z.ZodTypeAny = z.object({\n product: z.string().describe(\"The product associated with the black box test group.\"),\n record_type: z.string().describe(\"Identifies the object type. Always 'black_box_test_result'.\"),\n black_box_tests: z.array(TelnyxGetBlackBoxTestResults_BlackBoxTestSchema).describe(\"List of individual black box tests for the product.\"),\n}).describe(\"Black box test result group for a specific product.\");\nexport const TelnyxGetBlackBoxTestResultsOutput: z.ZodTypeAny = z.object({\n data: z.array(TelnyxGetBlackBoxTestResults_BlackBoxTestResultSchema).describe(\"List of black box test result groups.\"),\n}).describe(\"Response schema for retrieving black box test results.\");\n\nexport const telnyxGetBlackBoxTestResults = action(\"TELNYX_GET_BLACK_BOX_TEST_RESULTS\", {\n slug: \"telnyx-get-black-box-test-results\",\n name: \"Get Black Box Test Results\",\n description: \"Tool to retrieve black box test results from Telnyx SETI Observability. Use when you need to check service health and test results, optionally filtering by product.\",\n input: TelnyxGetBlackBoxTestResultsInput,\n output: TelnyxGetBlackBoxTestResultsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkDA,IAAAA,EAAE,OAAO,EACtE,QAAQA,IAAAA,EAAE,OAAO,EACjB,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,EAClF,CAAC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,EACtE,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,kDAAgEA,IAAAA,EAAE,OAAO;CAC7E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CACzD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;CAC1F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;AACzF,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAM,wDAAsEA,IAAAA,EAAE,OAAO;CACnF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACpF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;CAC9F,iBAAiBA,IAAAA,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,qDAAqD;AAC1I,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAa,qCAAmDA,IAAAA,EAAE,OAAO,EACvE,MAAMA,IAAAA,EAAE,MAAM,qDAAqD,CAAC,CAAC,SAAS,uCAAuC,EACvH,CAAC,CAAC,CAAC,SAAS,wDAAwD;AAEpE,MAAa,+BAA+BC,eAAAA,OAAO,qCAAqC;CACtF,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/get-black-box-test-results.d.ts
|
|
4
|
+
declare const TelnyxGetBlackBoxTestResultsInput: z.ZodTypeAny;
|
|
5
|
+
declare const TelnyxGetBlackBoxTestResultsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const telnyxGetBlackBoxTestResults: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { telnyxGetBlackBoxTestResults };
|
|
9
|
+
//# sourceMappingURL=get-black-box-test-results.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-black-box-test-results.d.cts","names":[],"sources":["../../src/actions/get-black-box-test-results.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAIsB;AAAA,cAW3D,kCAAA,EAAoC,CAAA,CAAE,UAEkB;AAAA,cAExD,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-black-box-test-results.d.ts
|
|
4
|
+
declare const TelnyxGetBlackBoxTestResultsInput: z.ZodTypeAny;
|
|
5
|
+
declare const TelnyxGetBlackBoxTestResultsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const telnyxGetBlackBoxTestResults: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { telnyxGetBlackBoxTestResults };
|
|
9
|
+
//# sourceMappingURL=get-black-box-test-results.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-black-box-test-results.d.mts","names":[],"sources":["../../src/actions/get-black-box-test-results.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAIsB;AAAA,cAW3D,kCAAA,EAAoC,CAAA,CAAE,UAEkB;AAAA,cAExD,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-black-box-test-results.ts
|
|
4
|
+
const TelnyxGetBlackBoxTestResultsInput = z.object({ filter: z.object({ product: z.string().describe("Filter results for a specific product.").optional() }).describe("Filter parameters for black box test results.").optional() }).describe("Request parameters for retrieving black box test results.");
|
|
5
|
+
const TelnyxGetBlackBoxTestResults_BlackBoxTestSchema = z.object({
|
|
6
|
+
id: z.string().describe("The name of the black box test."),
|
|
7
|
+
result: z.number().describe("The average result of the black box test over the last hour."),
|
|
8
|
+
record_type: z.string().describe("Identifies the object type. Always 'black_box_test'.")
|
|
9
|
+
}).describe("Individual black box test within a test group.");
|
|
10
|
+
const TelnyxGetBlackBoxTestResults_BlackBoxTestResultSchema = z.object({
|
|
11
|
+
product: z.string().describe("The product associated with the black box test group."),
|
|
12
|
+
record_type: z.string().describe("Identifies the object type. Always 'black_box_test_result'."),
|
|
13
|
+
black_box_tests: z.array(TelnyxGetBlackBoxTestResults_BlackBoxTestSchema).describe("List of individual black box tests for the product.")
|
|
14
|
+
}).describe("Black box test result group for a specific product.");
|
|
15
|
+
const telnyxGetBlackBoxTestResults = action("TELNYX_GET_BLACK_BOX_TEST_RESULTS", {
|
|
16
|
+
slug: "telnyx-get-black-box-test-results",
|
|
17
|
+
name: "Get Black Box Test Results",
|
|
18
|
+
description: "Tool to retrieve black box test results from Telnyx SETI Observability. Use when you need to check service health and test results, optionally filtering by product.",
|
|
19
|
+
input: TelnyxGetBlackBoxTestResultsInput,
|
|
20
|
+
output: z.object({ data: z.array(TelnyxGetBlackBoxTestResults_BlackBoxTestResultSchema).describe("List of black box test result groups.") }).describe("Response schema for retrieving black box test results.")
|
|
21
|
+
});
|
|
22
|
+
//#endregion
|
|
23
|
+
export { telnyxGetBlackBoxTestResults };
|
|
24
|
+
|
|
25
|
+
//# sourceMappingURL=get-black-box-test-results.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-black-box-test-results.mjs","names":[],"sources":["../../src/actions/get-black-box-test-results.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const TelnyxGetBlackBoxTestResultsInput: z.ZodTypeAny = z.object({\n filter: z.object({\n product: z.string().describe(\"Filter results for a specific product.\").optional(),\n}).describe(\"Filter parameters for black box test results.\").optional(),\n}).describe(\"Request parameters for retrieving black box test results.\");\nconst TelnyxGetBlackBoxTestResults_BlackBoxTestSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The name of the black box test.\"),\n result: z.number().describe(\"The average result of the black box test over the last hour.\"),\n record_type: z.string().describe(\"Identifies the object type. Always 'black_box_test'.\"),\n}).describe(\"Individual black box test within a test group.\");\nconst TelnyxGetBlackBoxTestResults_BlackBoxTestResultSchema: z.ZodTypeAny = z.object({\n product: z.string().describe(\"The product associated with the black box test group.\"),\n record_type: z.string().describe(\"Identifies the object type. Always 'black_box_test_result'.\"),\n black_box_tests: z.array(TelnyxGetBlackBoxTestResults_BlackBoxTestSchema).describe(\"List of individual black box tests for the product.\"),\n}).describe(\"Black box test result group for a specific product.\");\nexport const TelnyxGetBlackBoxTestResultsOutput: z.ZodTypeAny = z.object({\n data: z.array(TelnyxGetBlackBoxTestResults_BlackBoxTestResultSchema).describe(\"List of black box test result groups.\"),\n}).describe(\"Response schema for retrieving black box test results.\");\n\nexport const telnyxGetBlackBoxTestResults = action(\"TELNYX_GET_BLACK_BOX_TEST_RESULTS\", {\n slug: \"telnyx-get-black-box-test-results\",\n name: \"Get Black Box Test Results\",\n description: \"Tool to retrieve black box test results from Telnyx SETI Observability. Use when you need to check service health and test results, optionally filtering by product.\",\n input: TelnyxGetBlackBoxTestResultsInput,\n output: TelnyxGetBlackBoxTestResultsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkD,EAAE,OAAO,EACtE,QAAQ,EAAE,OAAO,EACjB,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,EAClF,CAAC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,EACtE,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,kDAAgE,EAAE,OAAO;CAC7E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CACzD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;CAC1F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;AACzF,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAM,wDAAsE,EAAE,OAAO;CACnF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACpF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;CAC9F,iBAAiB,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,qDAAqD;AAC1I,CAAC,CAAC,CAAC,SAAS,qDAAqD;AAKjE,MAAa,+BAA+B,OAAO,qCAAqC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT8D,EAAE,OAAO,EACvE,MAAM,EAAE,MAAM,qDAAqD,CAAC,CAAC,SAAS,uCAAuC,EACvH,CAAC,CAAC,CAAC,SAAS,wDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-user-balance.ts
|
|
4
|
+
const TelnyxGetUserBalanceInput = zod.z.object({}).describe("Request model for retrieving the current user account balance. No parameters required.");
|
|
5
|
+
const TelnyxGetUserBalance_GetUserBalanceResponseDataSchema = zod.z.object({
|
|
6
|
+
frozen: zod.z.string().describe("Amount frozen in the account."),
|
|
7
|
+
balance: zod.z.string().describe("The account balance."),
|
|
8
|
+
pending: zod.z.string().describe("Amount pending in the account."),
|
|
9
|
+
currency: zod.z.string().describe("Three-letter ISO currency code (e.g., 'USD')."),
|
|
10
|
+
record_type: zod.z.string().describe("Type of the record returned, typically 'balance'."),
|
|
11
|
+
credit_limit: zod.z.string().describe("The credit limit for the account."),
|
|
12
|
+
available_credit: zod.z.string().describe("The available credit in the account.")
|
|
13
|
+
});
|
|
14
|
+
const TelnyxGetUserBalanceOutput = zod.z.object({ data: TelnyxGetUserBalance_GetUserBalanceResponseDataSchema.nullable() });
|
|
15
|
+
const telnyxGetUserBalance = require_action.action("TELNYX_GET_USER_BALANCE", {
|
|
16
|
+
slug: "telnyx-get-user-balance",
|
|
17
|
+
name: "Get User Balance",
|
|
18
|
+
description: "Tool to retrieve the current user account balance and credit details. Use after authenticating your account to check available balance.",
|
|
19
|
+
input: TelnyxGetUserBalanceInput,
|
|
20
|
+
output: TelnyxGetUserBalanceOutput
|
|
21
|
+
});
|
|
22
|
+
//#endregion
|
|
23
|
+
exports.telnyxGetUserBalance = telnyxGetUserBalance;
|
|
24
|
+
|
|
25
|
+
//# sourceMappingURL=get-user-balance.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-user-balance.cjs","names":["z","action"],"sources":["../../src/actions/get-user-balance.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const TelnyxGetUserBalanceInput: z.ZodTypeAny = z.object({}).describe(\"Request model for retrieving the current user account balance. No parameters required.\");\nconst TelnyxGetUserBalance_GetUserBalanceResponseDataSchema: z.ZodTypeAny = z.object({\n frozen: z.string().describe(\"Amount frozen in the account.\"),\n balance: z.string().describe(\"The account balance.\"),\n pending: z.string().describe(\"Amount pending in the account.\"),\n currency: z.string().describe(\"Three-letter ISO currency code (e.g., 'USD').\"),\n record_type: z.string().describe(\"Type of the record returned, typically 'balance'.\"),\n credit_limit: z.string().describe(\"The credit limit for the account.\"),\n available_credit: z.string().describe(\"The available credit in the account.\"),\n});\nexport const TelnyxGetUserBalanceOutput: z.ZodTypeAny = z.object({\n data: TelnyxGetUserBalance_GetUserBalanceResponseDataSchema.nullable(),\n});\n\nexport const telnyxGetUserBalance = action(\"TELNYX_GET_USER_BALANCE\", {\n slug: \"telnyx-get-user-balance\",\n name: \"Get User Balance\",\n description: \"Tool to retrieve the current user account balance and credit details. Use after authenticating your account to check available balance.\",\n input: TelnyxGetUserBalanceInput,\n output: TelnyxGetUserBalanceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0CA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wFAAwF;AACrK,MAAM,wDAAsEA,IAAAA,EAAE,OAAO;CACnF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CAC3D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;CACnD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC7D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAC7E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CACpF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CACrE,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;AAC9E,CAAC;AACD,MAAa,6BAA2CA,IAAAA,EAAE,OAAO,EAC/D,MAAM,sDAAsD,SAAS,EACvE,CAAC;AAED,MAAa,uBAAuBC,eAAAA,OAAO,2BAA2B;CACpE,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/get-user-balance.d.ts
|
|
4
|
+
declare const TelnyxGetUserBalanceInput: z.ZodTypeAny;
|
|
5
|
+
declare const TelnyxGetUserBalanceOutput: z.ZodTypeAny;
|
|
6
|
+
declare const telnyxGetUserBalance: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { telnyxGetUserBalance };
|
|
9
|
+
//# sourceMappingURL=get-user-balance.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-user-balance.d.cts","names":[],"sources":["../../src/actions/get-user-balance.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAA4H;AAAA,cAUzJ,0BAAA,EAA4B,CAAA,CAAE,UAEzC;AAAA,cAEW,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-user-balance.d.ts
|
|
4
|
+
declare const TelnyxGetUserBalanceInput: z.ZodTypeAny;
|
|
5
|
+
declare const TelnyxGetUserBalanceOutput: z.ZodTypeAny;
|
|
6
|
+
declare const telnyxGetUserBalance: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { telnyxGetUserBalance };
|
|
9
|
+
//# sourceMappingURL=get-user-balance.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-user-balance.d.mts","names":[],"sources":["../../src/actions/get-user-balance.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAA4H;AAAA,cAUzJ,0BAAA,EAA4B,CAAA,CAAE,UAEzC;AAAA,cAEW,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-user-balance.ts
|
|
4
|
+
const TelnyxGetUserBalanceInput = z.object({}).describe("Request model for retrieving the current user account balance. No parameters required.");
|
|
5
|
+
const TelnyxGetUserBalance_GetUserBalanceResponseDataSchema = z.object({
|
|
6
|
+
frozen: z.string().describe("Amount frozen in the account."),
|
|
7
|
+
balance: z.string().describe("The account balance."),
|
|
8
|
+
pending: z.string().describe("Amount pending in the account."),
|
|
9
|
+
currency: z.string().describe("Three-letter ISO currency code (e.g., 'USD')."),
|
|
10
|
+
record_type: z.string().describe("Type of the record returned, typically 'balance'."),
|
|
11
|
+
credit_limit: z.string().describe("The credit limit for the account."),
|
|
12
|
+
available_credit: z.string().describe("The available credit in the account.")
|
|
13
|
+
});
|
|
14
|
+
const telnyxGetUserBalance = action("TELNYX_GET_USER_BALANCE", {
|
|
15
|
+
slug: "telnyx-get-user-balance",
|
|
16
|
+
name: "Get User Balance",
|
|
17
|
+
description: "Tool to retrieve the current user account balance and credit details. Use after authenticating your account to check available balance.",
|
|
18
|
+
input: TelnyxGetUserBalanceInput,
|
|
19
|
+
output: z.object({ data: TelnyxGetUserBalance_GetUserBalanceResponseDataSchema.nullable() })
|
|
20
|
+
});
|
|
21
|
+
//#endregion
|
|
22
|
+
export { telnyxGetUserBalance };
|
|
23
|
+
|
|
24
|
+
//# sourceMappingURL=get-user-balance.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-user-balance.mjs","names":[],"sources":["../../src/actions/get-user-balance.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const TelnyxGetUserBalanceInput: z.ZodTypeAny = z.object({}).describe(\"Request model for retrieving the current user account balance. No parameters required.\");\nconst TelnyxGetUserBalance_GetUserBalanceResponseDataSchema: z.ZodTypeAny = z.object({\n frozen: z.string().describe(\"Amount frozen in the account.\"),\n balance: z.string().describe(\"The account balance.\"),\n pending: z.string().describe(\"Amount pending in the account.\"),\n currency: z.string().describe(\"Three-letter ISO currency code (e.g., 'USD').\"),\n record_type: z.string().describe(\"Type of the record returned, typically 'balance'.\"),\n credit_limit: z.string().describe(\"The credit limit for the account.\"),\n available_credit: z.string().describe(\"The available credit in the account.\"),\n});\nexport const TelnyxGetUserBalanceOutput: z.ZodTypeAny = z.object({\n data: TelnyxGetUserBalance_GetUserBalanceResponseDataSchema.nullable(),\n});\n\nexport const telnyxGetUserBalance = action(\"TELNYX_GET_USER_BALANCE\", {\n slug: \"telnyx-get-user-balance\",\n name: \"Get User Balance\",\n description: \"Tool to retrieve the current user account balance and credit details. Use after authenticating your account to check available balance.\",\n input: TelnyxGetUserBalanceInput,\n output: TelnyxGetUserBalanceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wFAAwF;AACrK,MAAM,wDAAsE,EAAE,OAAO;CACnF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CAC3D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;CACnD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC7D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAC7E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CACpF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CACrE,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;AAC9E,CAAC;AAKD,MAAa,uBAAuB,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATsD,EAAE,OAAO,EAC/D,MAAM,sDAAsD,SAAS,EACvE,CAOU;AACV,CAAC"}
|