@keystrokehq/plain 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/add-customer-to-group.cjs +56 -0
- package/dist/actions/add-customer-to-group.cjs.map +1 -0
- package/dist/actions/add-customer-to-group.d.cts +9 -0
- package/dist/actions/add-customer-to-group.d.cts.map +1 -0
- package/dist/actions/add-customer-to-group.d.mts +9 -0
- package/dist/actions/add-customer-to-group.d.mts.map +1 -0
- package/dist/actions/add-customer-to-group.mjs +55 -0
- package/dist/actions/add-customer-to-group.mjs.map +1 -0
- package/dist/actions/create-customer-group.cjs +45 -0
- package/dist/actions/create-customer-group.cjs.map +1 -0
- package/dist/actions/create-customer-group.d.cts +9 -0
- package/dist/actions/create-customer-group.d.cts.map +1 -0
- package/dist/actions/create-customer-group.d.mts +9 -0
- package/dist/actions/create-customer-group.d.mts.map +1 -0
- package/dist/actions/create-customer-group.mjs +44 -0
- package/dist/actions/create-customer-group.mjs.map +1 -0
- package/dist/actions/create-thread.cjs +52 -0
- package/dist/actions/create-thread.cjs.map +1 -0
- package/dist/actions/create-thread.d.cts +9 -0
- package/dist/actions/create-thread.d.cts.map +1 -0
- package/dist/actions/create-thread.d.mts +9 -0
- package/dist/actions/create-thread.d.mts.map +1 -0
- package/dist/actions/create-thread.mjs +51 -0
- package/dist/actions/create-thread.mjs.map +1 -0
- package/dist/actions/delete-customer.cjs +27 -0
- package/dist/actions/delete-customer.cjs.map +1 -0
- package/dist/actions/delete-customer.d.cts +9 -0
- package/dist/actions/delete-customer.d.cts.map +1 -0
- package/dist/actions/delete-customer.d.mts +9 -0
- package/dist/actions/delete-customer.d.mts.map +1 -0
- package/dist/actions/delete-customer.mjs +26 -0
- package/dist/actions/delete-customer.mjs.map +1 -0
- package/dist/actions/delete-user.cjs +27 -0
- package/dist/actions/delete-user.cjs.map +1 -0
- package/dist/actions/delete-user.d.cts +9 -0
- package/dist/actions/delete-user.d.cts.map +1 -0
- package/dist/actions/delete-user.d.mts +9 -0
- package/dist/actions/delete-user.d.mts.map +1 -0
- package/dist/actions/delete-user.mjs +26 -0
- package/dist/actions/delete-user.mjs.map +1 -0
- package/dist/actions/fetch-company.cjs +33 -0
- package/dist/actions/fetch-company.cjs.map +1 -0
- package/dist/actions/fetch-company.d.cts +9 -0
- package/dist/actions/fetch-company.d.cts.map +1 -0
- package/dist/actions/fetch-company.d.mts +9 -0
- package/dist/actions/fetch-company.d.mts.map +1 -0
- package/dist/actions/fetch-company.mjs +32 -0
- package/dist/actions/fetch-company.mjs.map +1 -0
- package/dist/actions/fetch-issues.cjs +34 -0
- package/dist/actions/fetch-issues.cjs.map +1 -0
- package/dist/actions/fetch-issues.d.cts +9 -0
- package/dist/actions/fetch-issues.d.cts.map +1 -0
- package/dist/actions/fetch-issues.d.mts +9 -0
- package/dist/actions/fetch-issues.d.mts.map +1 -0
- package/dist/actions/fetch-issues.mjs +33 -0
- package/dist/actions/fetch-issues.mjs.map +1 -0
- package/dist/actions/fetch-tier.cjs +31 -0
- package/dist/actions/fetch-tier.cjs.map +1 -0
- package/dist/actions/fetch-tier.d.cts +9 -0
- package/dist/actions/fetch-tier.d.cts.map +1 -0
- package/dist/actions/fetch-tier.d.mts +9 -0
- package/dist/actions/fetch-tier.d.mts.map +1 -0
- package/dist/actions/fetch-tier.mjs +30 -0
- package/dist/actions/fetch-tier.mjs.map +1 -0
- package/dist/actions/get-customer-by-email.cjs +31 -0
- package/dist/actions/get-customer-by-email.cjs.map +1 -0
- package/dist/actions/get-customer-by-email.d.cts +9 -0
- package/dist/actions/get-customer-by-email.d.cts.map +1 -0
- package/dist/actions/get-customer-by-email.d.mts +9 -0
- package/dist/actions/get-customer-by-email.d.mts.map +1 -0
- package/dist/actions/get-customer-by-email.mjs +30 -0
- package/dist/actions/get-customer-by-email.mjs.map +1 -0
- package/dist/actions/get-customer-by-id.cjs +22 -0
- package/dist/actions/get-customer-by-id.cjs.map +1 -0
- package/dist/actions/get-customer-by-id.d.cts +9 -0
- package/dist/actions/get-customer-by-id.d.cts.map +1 -0
- package/dist/actions/get-customer-by-id.d.mts +9 -0
- package/dist/actions/get-customer-by-id.d.mts.map +1 -0
- package/dist/actions/get-customer-by-id.mjs +19 -0
- package/dist/actions/get-customer-by-id.mjs.map +1 -0
- package/dist/actions/get-customers.cjs +55 -0
- package/dist/actions/get-customers.cjs.map +1 -0
- package/dist/actions/get-customers.d.cts +9 -0
- package/dist/actions/get-customers.d.cts.map +1 -0
- package/dist/actions/get-customers.d.mts +9 -0
- package/dist/actions/get-customers.d.mts.map +1 -0
- package/dist/actions/get-customers.mjs +54 -0
- package/dist/actions/get-customers.mjs.map +1 -0
- package/dist/actions/get-thread-by-id.cjs +62 -0
- package/dist/actions/get-thread-by-id.cjs.map +1 -0
- package/dist/actions/get-thread-by-id.d.cts +9 -0
- package/dist/actions/get-thread-by-id.d.cts.map +1 -0
- package/dist/actions/get-thread-by-id.d.mts +9 -0
- package/dist/actions/get-thread-by-id.d.mts.map +1 -0
- package/dist/actions/get-thread-by-id.mjs +61 -0
- package/dist/actions/get-thread-by-id.mjs.map +1 -0
- package/dist/actions/get-user-by-id.cjs +27 -0
- package/dist/actions/get-user-by-id.cjs.map +1 -0
- package/dist/actions/get-user-by-id.d.cts +9 -0
- package/dist/actions/get-user-by-id.d.cts.map +1 -0
- package/dist/actions/get-user-by-id.d.mts +9 -0
- package/dist/actions/get-user-by-id.d.mts.map +1 -0
- package/dist/actions/get-user-by-id.mjs +26 -0
- package/dist/actions/get-user-by-id.mjs.map +1 -0
- package/dist/actions/index.cjs +45 -0
- package/dist/actions/index.d.cts +23 -0
- package/dist/actions/index.d.mts +23 -0
- package/dist/actions/index.mjs +23 -0
- package/dist/actions/list-customer-groups.cjs +45 -0
- package/dist/actions/list-customer-groups.cjs.map +1 -0
- package/dist/actions/list-customer-groups.d.cts +9 -0
- package/dist/actions/list-customer-groups.d.cts.map +1 -0
- package/dist/actions/list-customer-groups.d.mts +9 -0
- package/dist/actions/list-customer-groups.d.mts.map +1 -0
- package/dist/actions/list-customer-groups.mjs +44 -0
- package/dist/actions/list-customer-groups.mjs.map +1 -0
- package/dist/actions/list-tiers.cjs +41 -0
- package/dist/actions/list-tiers.cjs.map +1 -0
- package/dist/actions/list-tiers.d.cts +9 -0
- package/dist/actions/list-tiers.d.cts.map +1 -0
- package/dist/actions/list-tiers.d.mts +9 -0
- package/dist/actions/list-tiers.d.mts.map +1 -0
- package/dist/actions/list-tiers.mjs +40 -0
- package/dist/actions/list-tiers.mjs.map +1 -0
- package/dist/actions/query-threads.cjs +43 -0
- package/dist/actions/query-threads.cjs.map +1 -0
- package/dist/actions/query-threads.d.cts +9 -0
- package/dist/actions/query-threads.d.cts.map +1 -0
- package/dist/actions/query-threads.d.mts +9 -0
- package/dist/actions/query-threads.d.mts.map +1 -0
- package/dist/actions/query-threads.mjs +42 -0
- package/dist/actions/query-threads.mjs.map +1 -0
- package/dist/actions/remove-customer-from-group.cjs +41 -0
- package/dist/actions/remove-customer-from-group.cjs.map +1 -0
- package/dist/actions/remove-customer-from-group.d.cts +9 -0
- package/dist/actions/remove-customer-from-group.d.cts.map +1 -0
- package/dist/actions/remove-customer-from-group.d.mts +9 -0
- package/dist/actions/remove-customer-from-group.d.mts.map +1 -0
- package/dist/actions/remove-customer-from-group.mjs +40 -0
- package/dist/actions/remove-customer-from-group.mjs.map +1 -0
- package/dist/actions/run-graphql-query.cjs +34 -0
- package/dist/actions/run-graphql-query.cjs.map +1 -0
- package/dist/actions/run-graphql-query.d.cts +9 -0
- package/dist/actions/run-graphql-query.d.cts.map +1 -0
- package/dist/actions/run-graphql-query.d.mts +9 -0
- package/dist/actions/run-graphql-query.d.mts.map +1 -0
- package/dist/actions/run-graphql-query.mjs +33 -0
- package/dist/actions/run-graphql-query.mjs.map +1 -0
- package/dist/actions/send-message.cjs +37 -0
- package/dist/actions/send-message.cjs.map +1 -0
- package/dist/actions/send-message.d.cts +9 -0
- package/dist/actions/send-message.d.cts.map +1 -0
- package/dist/actions/send-message.d.mts +9 -0
- package/dist/actions/send-message.d.mts.map +1 -0
- package/dist/actions/send-message.mjs +36 -0
- package/dist/actions/send-message.mjs.map +1 -0
- package/dist/actions/update-company.cjs +45 -0
- package/dist/actions/update-company.cjs.map +1 -0
- package/dist/actions/update-company.d.cts +9 -0
- package/dist/actions/update-company.d.cts.map +1 -0
- package/dist/actions/update-company.d.mts +9 -0
- package/dist/actions/update-company.d.mts.map +1 -0
- package/dist/actions/update-company.mjs +44 -0
- package/dist/actions/update-company.mjs.map +1 -0
- package/dist/actions/update-thread.cjs +39 -0
- package/dist/actions/update-thread.cjs.map +1 -0
- package/dist/actions/update-thread.d.cts +9 -0
- package/dist/actions/update-thread.d.cts.map +1 -0
- package/dist/actions/update-thread.d.mts +9 -0
- package/dist/actions/update-thread.d.mts.map +1 -0
- package/dist/actions/update-thread.mjs +38 -0
- package/dist/actions/update-thread.mjs.map +1 -0
- package/dist/actions/upsert-customer.cjs +82 -0
- package/dist/actions/upsert-customer.cjs.map +1 -0
- package/dist/actions/upsert-customer.d.cts +9 -0
- package/dist/actions/upsert-customer.d.cts.map +1 -0
- package/dist/actions/upsert-customer.d.mts +9 -0
- package/dist/actions/upsert-customer.d.mts.map +1 -0
- package/dist/actions/upsert-customer.mjs +81 -0
- package/dist/actions/upsert-customer.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 +50 -0
- package/dist/index.d.cts +25 -0
- package/dist/index.d.mts +25 -0
- package/dist/index.mjs +26 -0
- package/package.json +49 -0
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_add_customer_to_group = require("./add-customer-to-group.cjs");
|
|
3
|
+
const require_create_customer_group = require("./create-customer-group.cjs");
|
|
4
|
+
const require_create_thread = require("./create-thread.cjs");
|
|
5
|
+
const require_delete_customer = require("./delete-customer.cjs");
|
|
6
|
+
const require_delete_user = require("./delete-user.cjs");
|
|
7
|
+
const require_fetch_company = require("./fetch-company.cjs");
|
|
8
|
+
const require_fetch_issues = require("./fetch-issues.cjs");
|
|
9
|
+
const require_fetch_tier = require("./fetch-tier.cjs");
|
|
10
|
+
const require_get_customer_by_email = require("./get-customer-by-email.cjs");
|
|
11
|
+
const require_get_customer_by_id = require("./get-customer-by-id.cjs");
|
|
12
|
+
const require_get_customers = require("./get-customers.cjs");
|
|
13
|
+
const require_get_thread_by_id = require("./get-thread-by-id.cjs");
|
|
14
|
+
const require_get_user_by_id = require("./get-user-by-id.cjs");
|
|
15
|
+
const require_list_customer_groups = require("./list-customer-groups.cjs");
|
|
16
|
+
const require_list_tiers = require("./list-tiers.cjs");
|
|
17
|
+
const require_query_threads = require("./query-threads.cjs");
|
|
18
|
+
const require_remove_customer_from_group = require("./remove-customer-from-group.cjs");
|
|
19
|
+
const require_run_graphql_query = require("./run-graphql-query.cjs");
|
|
20
|
+
const require_send_message = require("./send-message.cjs");
|
|
21
|
+
const require_update_company = require("./update-company.cjs");
|
|
22
|
+
const require_update_thread = require("./update-thread.cjs");
|
|
23
|
+
const require_upsert_customer = require("./upsert-customer.cjs");
|
|
24
|
+
exports.plainAddCustomerToGroup = require_add_customer_to_group.plainAddCustomerToGroup;
|
|
25
|
+
exports.plainCreateCustomerGroup = require_create_customer_group.plainCreateCustomerGroup;
|
|
26
|
+
exports.plainCreateThread = require_create_thread.plainCreateThread;
|
|
27
|
+
exports.plainDeleteCustomer = require_delete_customer.plainDeleteCustomer;
|
|
28
|
+
exports.plainDeleteUser = require_delete_user.plainDeleteUser;
|
|
29
|
+
exports.plainFetchCompany = require_fetch_company.plainFetchCompany;
|
|
30
|
+
exports.plainFetchIssues = require_fetch_issues.plainFetchIssues;
|
|
31
|
+
exports.plainFetchTier = require_fetch_tier.plainFetchTier;
|
|
32
|
+
exports.plainGetCustomerByEmail = require_get_customer_by_email.plainGetCustomerByEmail;
|
|
33
|
+
exports.plainGetCustomerById = require_get_customer_by_id.plainGetCustomerById;
|
|
34
|
+
exports.plainGetCustomers = require_get_customers.plainGetCustomers;
|
|
35
|
+
exports.plainGetThreadById = require_get_thread_by_id.plainGetThreadById;
|
|
36
|
+
exports.plainGetUserById = require_get_user_by_id.plainGetUserById;
|
|
37
|
+
exports.plainListCustomerGroups = require_list_customer_groups.plainListCustomerGroups;
|
|
38
|
+
exports.plainListTiers = require_list_tiers.plainListTiers;
|
|
39
|
+
exports.plainQueryThreads = require_query_threads.plainQueryThreads;
|
|
40
|
+
exports.plainRemoveCustomerFromGroup = require_remove_customer_from_group.plainRemoveCustomerFromGroup;
|
|
41
|
+
exports.plainRunGraphqlQuery = require_run_graphql_query.plainRunGraphqlQuery;
|
|
42
|
+
exports.plainSendMessage = require_send_message.plainSendMessage;
|
|
43
|
+
exports.plainUpdateCompany = require_update_company.plainUpdateCompany;
|
|
44
|
+
exports.plainUpdateThread = require_update_thread.plainUpdateThread;
|
|
45
|
+
exports.plainUpsertCustomer = require_upsert_customer.plainUpsertCustomer;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { plainAddCustomerToGroup } from "./add-customer-to-group.cjs";
|
|
2
|
+
import { plainCreateCustomerGroup } from "./create-customer-group.cjs";
|
|
3
|
+
import { plainCreateThread } from "./create-thread.cjs";
|
|
4
|
+
import { plainDeleteCustomer } from "./delete-customer.cjs";
|
|
5
|
+
import { plainDeleteUser } from "./delete-user.cjs";
|
|
6
|
+
import { plainFetchCompany } from "./fetch-company.cjs";
|
|
7
|
+
import { plainFetchIssues } from "./fetch-issues.cjs";
|
|
8
|
+
import { plainFetchTier } from "./fetch-tier.cjs";
|
|
9
|
+
import { plainGetCustomerByEmail } from "./get-customer-by-email.cjs";
|
|
10
|
+
import { plainGetCustomerById } from "./get-customer-by-id.cjs";
|
|
11
|
+
import { plainGetCustomers } from "./get-customers.cjs";
|
|
12
|
+
import { plainGetThreadById } from "./get-thread-by-id.cjs";
|
|
13
|
+
import { plainGetUserById } from "./get-user-by-id.cjs";
|
|
14
|
+
import { plainListCustomerGroups } from "./list-customer-groups.cjs";
|
|
15
|
+
import { plainListTiers } from "./list-tiers.cjs";
|
|
16
|
+
import { plainQueryThreads } from "./query-threads.cjs";
|
|
17
|
+
import { plainRemoveCustomerFromGroup } from "./remove-customer-from-group.cjs";
|
|
18
|
+
import { plainRunGraphqlQuery } from "./run-graphql-query.cjs";
|
|
19
|
+
import { plainSendMessage } from "./send-message.cjs";
|
|
20
|
+
import { plainUpdateCompany } from "./update-company.cjs";
|
|
21
|
+
import { plainUpdateThread } from "./update-thread.cjs";
|
|
22
|
+
import { plainUpsertCustomer } from "./upsert-customer.cjs";
|
|
23
|
+
export { plainAddCustomerToGroup, plainCreateCustomerGroup, plainCreateThread, plainDeleteCustomer, plainDeleteUser, plainFetchCompany, plainFetchIssues, plainFetchTier, plainGetCustomerByEmail, plainGetCustomerById, plainGetCustomers, plainGetThreadById, plainGetUserById, plainListCustomerGroups, plainListTiers, plainQueryThreads, plainRemoveCustomerFromGroup, plainRunGraphqlQuery, plainSendMessage, plainUpdateCompany, plainUpdateThread, plainUpsertCustomer };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { plainAddCustomerToGroup } from "./add-customer-to-group.mjs";
|
|
2
|
+
import { plainCreateCustomerGroup } from "./create-customer-group.mjs";
|
|
3
|
+
import { plainCreateThread } from "./create-thread.mjs";
|
|
4
|
+
import { plainDeleteCustomer } from "./delete-customer.mjs";
|
|
5
|
+
import { plainDeleteUser } from "./delete-user.mjs";
|
|
6
|
+
import { plainFetchCompany } from "./fetch-company.mjs";
|
|
7
|
+
import { plainFetchIssues } from "./fetch-issues.mjs";
|
|
8
|
+
import { plainFetchTier } from "./fetch-tier.mjs";
|
|
9
|
+
import { plainGetCustomerByEmail } from "./get-customer-by-email.mjs";
|
|
10
|
+
import { plainGetCustomerById } from "./get-customer-by-id.mjs";
|
|
11
|
+
import { plainGetCustomers } from "./get-customers.mjs";
|
|
12
|
+
import { plainGetThreadById } from "./get-thread-by-id.mjs";
|
|
13
|
+
import { plainGetUserById } from "./get-user-by-id.mjs";
|
|
14
|
+
import { plainListCustomerGroups } from "./list-customer-groups.mjs";
|
|
15
|
+
import { plainListTiers } from "./list-tiers.mjs";
|
|
16
|
+
import { plainQueryThreads } from "./query-threads.mjs";
|
|
17
|
+
import { plainRemoveCustomerFromGroup } from "./remove-customer-from-group.mjs";
|
|
18
|
+
import { plainRunGraphqlQuery } from "./run-graphql-query.mjs";
|
|
19
|
+
import { plainSendMessage } from "./send-message.mjs";
|
|
20
|
+
import { plainUpdateCompany } from "./update-company.mjs";
|
|
21
|
+
import { plainUpdateThread } from "./update-thread.mjs";
|
|
22
|
+
import { plainUpsertCustomer } from "./upsert-customer.mjs";
|
|
23
|
+
export { plainAddCustomerToGroup, plainCreateCustomerGroup, plainCreateThread, plainDeleteCustomer, plainDeleteUser, plainFetchCompany, plainFetchIssues, plainFetchTier, plainGetCustomerByEmail, plainGetCustomerById, plainGetCustomers, plainGetThreadById, plainGetUserById, plainListCustomerGroups, plainListTiers, plainQueryThreads, plainRemoveCustomerFromGroup, plainRunGraphqlQuery, plainSendMessage, plainUpdateCompany, plainUpdateThread, plainUpsertCustomer };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { plainAddCustomerToGroup } from "./add-customer-to-group.mjs";
|
|
2
|
+
import { plainCreateCustomerGroup } from "./create-customer-group.mjs";
|
|
3
|
+
import { plainCreateThread } from "./create-thread.mjs";
|
|
4
|
+
import { plainDeleteCustomer } from "./delete-customer.mjs";
|
|
5
|
+
import { plainDeleteUser } from "./delete-user.mjs";
|
|
6
|
+
import { plainFetchCompany } from "./fetch-company.mjs";
|
|
7
|
+
import { plainFetchIssues } from "./fetch-issues.mjs";
|
|
8
|
+
import { plainFetchTier } from "./fetch-tier.mjs";
|
|
9
|
+
import { plainGetCustomerByEmail } from "./get-customer-by-email.mjs";
|
|
10
|
+
import { plainGetCustomerById } from "./get-customer-by-id.mjs";
|
|
11
|
+
import { plainGetCustomers } from "./get-customers.mjs";
|
|
12
|
+
import { plainGetThreadById } from "./get-thread-by-id.mjs";
|
|
13
|
+
import { plainGetUserById } from "./get-user-by-id.mjs";
|
|
14
|
+
import { plainListCustomerGroups } from "./list-customer-groups.mjs";
|
|
15
|
+
import { plainListTiers } from "./list-tiers.mjs";
|
|
16
|
+
import { plainQueryThreads } from "./query-threads.mjs";
|
|
17
|
+
import { plainRemoveCustomerFromGroup } from "./remove-customer-from-group.mjs";
|
|
18
|
+
import { plainRunGraphqlQuery } from "./run-graphql-query.mjs";
|
|
19
|
+
import { plainSendMessage } from "./send-message.mjs";
|
|
20
|
+
import { plainUpdateCompany } from "./update-company.mjs";
|
|
21
|
+
import { plainUpdateThread } from "./update-thread.mjs";
|
|
22
|
+
import { plainUpsertCustomer } from "./upsert-customer.mjs";
|
|
23
|
+
export { plainAddCustomerToGroup, plainCreateCustomerGroup, plainCreateThread, plainDeleteCustomer, plainDeleteUser, plainFetchCompany, plainFetchIssues, plainFetchTier, plainGetCustomerByEmail, plainGetCustomerById, plainGetCustomers, plainGetThreadById, plainGetUserById, plainListCustomerGroups, plainListTiers, plainQueryThreads, plainRemoveCustomerFromGroup, plainRunGraphqlQuery, plainSendMessage, plainUpdateCompany, plainUpdateThread, plainUpsertCustomer };
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/list-customer-groups.ts
|
|
4
|
+
const PlainListCustomerGroupsInput = zod.z.object({
|
|
5
|
+
last: zod.z.number().int().describe("Number of groups to fetch before the 'before' cursor. Must be ≥ 1.").optional(),
|
|
6
|
+
after: zod.z.string().describe("Cursor for forward pagination. Use with 'first'.").optional(),
|
|
7
|
+
first: zod.z.number().int().describe("Number of groups to fetch after the 'after' cursor. Must be ≥ 1.").optional(),
|
|
8
|
+
before: zod.z.string().describe("Cursor for backward pagination. Use with 'last'.").optional(),
|
|
9
|
+
filters: zod.z.object({ externalIds: zod.z.array(zod.z.string()).describe("Only returns groups with these external IDs.").optional() }).describe("Filters to apply when fetching customer groups.").optional()
|
|
10
|
+
}).describe("Request parameters for listing customer groups.");
|
|
11
|
+
const PlainListCustomerGroups_CustomerGroupNodeSchema = zod.z.object({
|
|
12
|
+
id: zod.z.string().describe("Unique identifier of the customer group."),
|
|
13
|
+
key: zod.z.string().describe("Key of the customer group."),
|
|
14
|
+
name: zod.z.string().describe("Name of the customer group."),
|
|
15
|
+
color: zod.z.string().describe("Hex color code assigned to the group."),
|
|
16
|
+
createdAt: zod.z.string().describe("ISO8601 timestamp when the group was created."),
|
|
17
|
+
updatedAt: zod.z.string().describe("ISO8601 timestamp when the group was last updated."),
|
|
18
|
+
externalId: zod.z.string().describe("External ID of the group.").nullable().optional()
|
|
19
|
+
});
|
|
20
|
+
const PlainListCustomerGroups_CustomerGroupEdgeSchema = zod.z.object({
|
|
21
|
+
node: PlainListCustomerGroups_CustomerGroupNodeSchema.nullable(),
|
|
22
|
+
cursor: zod.z.string().describe("Cursor for pagination.")
|
|
23
|
+
});
|
|
24
|
+
const PlainListCustomerGroups_PageInfoSchema = zod.z.object({
|
|
25
|
+
endCursor: zod.z.string().nullable().optional(),
|
|
26
|
+
hasNextPage: zod.z.boolean(),
|
|
27
|
+
startCursor: zod.z.string().nullable().optional(),
|
|
28
|
+
hasPreviousPage: zod.z.boolean()
|
|
29
|
+
});
|
|
30
|
+
const PlainListCustomerGroups_CustomerGroupsConnectionSchema = zod.z.object({
|
|
31
|
+
edges: zod.z.array(PlainListCustomerGroups_CustomerGroupEdgeSchema),
|
|
32
|
+
pageInfo: PlainListCustomerGroups_PageInfoSchema.nullable()
|
|
33
|
+
});
|
|
34
|
+
const PlainListCustomerGroupsOutput = zod.z.object({ customerGroups: PlainListCustomerGroups_CustomerGroupsConnectionSchema.nullable() });
|
|
35
|
+
const plainListCustomerGroups = require_action.action("PLAIN_LIST_CUSTOMER_GROUPS", {
|
|
36
|
+
slug: "plain-list-customer-groups",
|
|
37
|
+
name: "List Customer Groups",
|
|
38
|
+
description: "Tool to list all customer groups. Use when you need to retrieve group metadata with optional pagination or filters.",
|
|
39
|
+
input: PlainListCustomerGroupsInput,
|
|
40
|
+
output: PlainListCustomerGroupsOutput
|
|
41
|
+
});
|
|
42
|
+
//#endregion
|
|
43
|
+
exports.plainListCustomerGroups = plainListCustomerGroups;
|
|
44
|
+
|
|
45
|
+
//# sourceMappingURL=list-customer-groups.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-customer-groups.cjs","names":["z","action"],"sources":["../../src/actions/list-customer-groups.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlainListCustomerGroupsInput: z.ZodTypeAny = z.object({\n last: z.number().int().describe(\"Number of groups to fetch before the 'before' cursor. Must be ≥ 1.\").optional(),\n after: z.string().describe(\"Cursor for forward pagination. Use with 'first'.\").optional(),\n first: z.number().int().describe(\"Number of groups to fetch after the 'after' cursor. Must be ≥ 1.\").optional(),\n before: z.string().describe(\"Cursor for backward pagination. Use with 'last'.\").optional(),\n filters: z.object({\n externalIds: z.array(z.string()).describe(\"Only returns groups with these external IDs.\").optional(),\n}).describe(\"Filters to apply when fetching customer groups.\").optional(),\n}).describe(\"Request parameters for listing customer groups.\");\nconst PlainListCustomerGroups_CustomerGroupNodeSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the customer group.\"),\n key: z.string().describe(\"Key of the customer group.\"),\n name: z.string().describe(\"Name of the customer group.\"),\n color: z.string().describe(\"Hex color code assigned to the group.\"),\n createdAt: z.string().describe(\"ISO8601 timestamp when the group was created.\"),\n updatedAt: z.string().describe(\"ISO8601 timestamp when the group was last updated.\"),\n externalId: z.string().describe(\"External ID of the group.\").nullable().optional(),\n});\nconst PlainListCustomerGroups_CustomerGroupEdgeSchema: z.ZodTypeAny = z.object({\n node: PlainListCustomerGroups_CustomerGroupNodeSchema.nullable(),\n cursor: z.string().describe(\"Cursor for pagination.\"),\n});\nconst PlainListCustomerGroups_PageInfoSchema: z.ZodTypeAny = z.object({\n endCursor: z.string().nullable().optional(),\n hasNextPage: z.boolean(),\n startCursor: z.string().nullable().optional(),\n hasPreviousPage: z.boolean(),\n});\nconst PlainListCustomerGroups_CustomerGroupsConnectionSchema: z.ZodTypeAny = z.object({\n edges: z.array(PlainListCustomerGroups_CustomerGroupEdgeSchema),\n pageInfo: PlainListCustomerGroups_PageInfoSchema.nullable(),\n});\nexport const PlainListCustomerGroupsOutput: z.ZodTypeAny = z.object({\n customerGroups: PlainListCustomerGroups_CustomerGroupsConnectionSchema.nullable(),\n});\n\nexport const plainListCustomerGroups = action(\"PLAIN_LIST_CUSTOMER_GROUPS\", {\n slug: \"plain-list-customer-groups\",\n name: \"List Customer Groups\",\n description: \"Tool to list all customer groups. Use when you need to retrieve group metadata with optional pagination or filters.\",\n input: PlainListCustomerGroupsInput,\n output: PlainListCustomerGroupsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAC/G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACxF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC9G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACzF,SAASA,IAAAA,EAAE,OAAO,EAClB,aAAaA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,EACrG,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;AACxE,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,kDAAgEA,IAAAA,EAAE,OAAO;CAC7E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CAClE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CAClE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAC9E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;CACnF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnF,CAAC;AACD,MAAM,kDAAgEA,IAAAA,EAAE,OAAO;CAC7E,MAAM,gDAAgD,SAAS;CAC/D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;AACtD,CAAC;AACD,MAAM,yCAAuDA,IAAAA,EAAE,OAAO;CACpE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1C,aAAaA,IAAAA,EAAE,QAAQ;CACvB,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5C,iBAAiBA,IAAAA,EAAE,QAAQ;AAC7B,CAAC;AACD,MAAM,yDAAuEA,IAAAA,EAAE,OAAO;CACpF,OAAOA,IAAAA,EAAE,MAAM,+CAA+C;CAC9D,UAAU,uCAAuC,SAAS;AAC5D,CAAC;AACD,MAAa,gCAA8CA,IAAAA,EAAE,OAAO,EAClE,gBAAgB,uDAAuD,SAAS,EAClF,CAAC;AAED,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,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-customer-groups.d.ts
|
|
4
|
+
declare const PlainListCustomerGroupsInput: z.ZodTypeAny;
|
|
5
|
+
declare const PlainListCustomerGroupsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const plainListCustomerGroups: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { plainListCustomerGroups };
|
|
9
|
+
//# sourceMappingURL=list-customer-groups.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-customer-groups.d.cts","names":[],"sources":["../../src/actions/list-customer-groups.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAQiB;AAAA,cAwBjD,6BAAA,EAA+B,CAAA,CAAE,UAE5C;AAAA,cAEW,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-customer-groups.d.ts
|
|
4
|
+
declare const PlainListCustomerGroupsInput: z.ZodTypeAny;
|
|
5
|
+
declare const PlainListCustomerGroupsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const plainListCustomerGroups: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { plainListCustomerGroups };
|
|
9
|
+
//# sourceMappingURL=list-customer-groups.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-customer-groups.d.mts","names":[],"sources":["../../src/actions/list-customer-groups.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAQiB;AAAA,cAwBjD,6BAAA,EAA+B,CAAA,CAAE,UAE5C;AAAA,cAEW,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/list-customer-groups.ts
|
|
4
|
+
const PlainListCustomerGroupsInput = z.object({
|
|
5
|
+
last: z.number().int().describe("Number of groups to fetch before the 'before' cursor. Must be ≥ 1.").optional(),
|
|
6
|
+
after: z.string().describe("Cursor for forward pagination. Use with 'first'.").optional(),
|
|
7
|
+
first: z.number().int().describe("Number of groups to fetch after the 'after' cursor. Must be ≥ 1.").optional(),
|
|
8
|
+
before: z.string().describe("Cursor for backward pagination. Use with 'last'.").optional(),
|
|
9
|
+
filters: z.object({ externalIds: z.array(z.string()).describe("Only returns groups with these external IDs.").optional() }).describe("Filters to apply when fetching customer groups.").optional()
|
|
10
|
+
}).describe("Request parameters for listing customer groups.");
|
|
11
|
+
const PlainListCustomerGroups_CustomerGroupNodeSchema = z.object({
|
|
12
|
+
id: z.string().describe("Unique identifier of the customer group."),
|
|
13
|
+
key: z.string().describe("Key of the customer group."),
|
|
14
|
+
name: z.string().describe("Name of the customer group."),
|
|
15
|
+
color: z.string().describe("Hex color code assigned to the group."),
|
|
16
|
+
createdAt: z.string().describe("ISO8601 timestamp when the group was created."),
|
|
17
|
+
updatedAt: z.string().describe("ISO8601 timestamp when the group was last updated."),
|
|
18
|
+
externalId: z.string().describe("External ID of the group.").nullable().optional()
|
|
19
|
+
});
|
|
20
|
+
const PlainListCustomerGroups_CustomerGroupEdgeSchema = z.object({
|
|
21
|
+
node: PlainListCustomerGroups_CustomerGroupNodeSchema.nullable(),
|
|
22
|
+
cursor: z.string().describe("Cursor for pagination.")
|
|
23
|
+
});
|
|
24
|
+
const PlainListCustomerGroups_PageInfoSchema = z.object({
|
|
25
|
+
endCursor: z.string().nullable().optional(),
|
|
26
|
+
hasNextPage: z.boolean(),
|
|
27
|
+
startCursor: z.string().nullable().optional(),
|
|
28
|
+
hasPreviousPage: z.boolean()
|
|
29
|
+
});
|
|
30
|
+
const PlainListCustomerGroups_CustomerGroupsConnectionSchema = z.object({
|
|
31
|
+
edges: z.array(PlainListCustomerGroups_CustomerGroupEdgeSchema),
|
|
32
|
+
pageInfo: PlainListCustomerGroups_PageInfoSchema.nullable()
|
|
33
|
+
});
|
|
34
|
+
const plainListCustomerGroups = action("PLAIN_LIST_CUSTOMER_GROUPS", {
|
|
35
|
+
slug: "plain-list-customer-groups",
|
|
36
|
+
name: "List Customer Groups",
|
|
37
|
+
description: "Tool to list all customer groups. Use when you need to retrieve group metadata with optional pagination or filters.",
|
|
38
|
+
input: PlainListCustomerGroupsInput,
|
|
39
|
+
output: z.object({ customerGroups: PlainListCustomerGroups_CustomerGroupsConnectionSchema.nullable() })
|
|
40
|
+
});
|
|
41
|
+
//#endregion
|
|
42
|
+
export { plainListCustomerGroups };
|
|
43
|
+
|
|
44
|
+
//# sourceMappingURL=list-customer-groups.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-customer-groups.mjs","names":[],"sources":["../../src/actions/list-customer-groups.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlainListCustomerGroupsInput: z.ZodTypeAny = z.object({\n last: z.number().int().describe(\"Number of groups to fetch before the 'before' cursor. Must be ≥ 1.\").optional(),\n after: z.string().describe(\"Cursor for forward pagination. Use with 'first'.\").optional(),\n first: z.number().int().describe(\"Number of groups to fetch after the 'after' cursor. Must be ≥ 1.\").optional(),\n before: z.string().describe(\"Cursor for backward pagination. Use with 'last'.\").optional(),\n filters: z.object({\n externalIds: z.array(z.string()).describe(\"Only returns groups with these external IDs.\").optional(),\n}).describe(\"Filters to apply when fetching customer groups.\").optional(),\n}).describe(\"Request parameters for listing customer groups.\");\nconst PlainListCustomerGroups_CustomerGroupNodeSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the customer group.\"),\n key: z.string().describe(\"Key of the customer group.\"),\n name: z.string().describe(\"Name of the customer group.\"),\n color: z.string().describe(\"Hex color code assigned to the group.\"),\n createdAt: z.string().describe(\"ISO8601 timestamp when the group was created.\"),\n updatedAt: z.string().describe(\"ISO8601 timestamp when the group was last updated.\"),\n externalId: z.string().describe(\"External ID of the group.\").nullable().optional(),\n});\nconst PlainListCustomerGroups_CustomerGroupEdgeSchema: z.ZodTypeAny = z.object({\n node: PlainListCustomerGroups_CustomerGroupNodeSchema.nullable(),\n cursor: z.string().describe(\"Cursor for pagination.\"),\n});\nconst PlainListCustomerGroups_PageInfoSchema: z.ZodTypeAny = z.object({\n endCursor: z.string().nullable().optional(),\n hasNextPage: z.boolean(),\n startCursor: z.string().nullable().optional(),\n hasPreviousPage: z.boolean(),\n});\nconst PlainListCustomerGroups_CustomerGroupsConnectionSchema: z.ZodTypeAny = z.object({\n edges: z.array(PlainListCustomerGroups_CustomerGroupEdgeSchema),\n pageInfo: PlainListCustomerGroups_PageInfoSchema.nullable(),\n});\nexport const PlainListCustomerGroupsOutput: z.ZodTypeAny = z.object({\n customerGroups: PlainListCustomerGroups_CustomerGroupsConnectionSchema.nullable(),\n});\n\nexport const plainListCustomerGroups = action(\"PLAIN_LIST_CUSTOMER_GROUPS\", {\n slug: \"plain-list-customer-groups\",\n name: \"List Customer Groups\",\n description: \"Tool to list all customer groups. Use when you need to retrieve group metadata with optional pagination or filters.\",\n input: PlainListCustomerGroupsInput,\n output: PlainListCustomerGroupsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6C,EAAE,OAAO;CACjE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAC/G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACxF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC9G,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACzF,SAAS,EAAE,OAAO,EAClB,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,EACrG,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;AACxE,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,kDAAgE,EAAE,OAAO;CAC7E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CAClE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CAClE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAC9E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;CACnF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnF,CAAC;AACD,MAAM,kDAAgE,EAAE,OAAO;CAC7E,MAAM,gDAAgD,SAAS;CAC/D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;AACtD,CAAC;AACD,MAAM,yCAAuD,EAAE,OAAO;CACpE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1C,aAAa,EAAE,QAAQ;CACvB,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5C,iBAAiB,EAAE,QAAQ;AAC7B,CAAC;AACD,MAAM,yDAAuE,EAAE,OAAO;CACpF,OAAO,EAAE,MAAM,+CAA+C;CAC9D,UAAU,uCAAuC,SAAS;AAC5D,CAAC;AAKD,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATyD,EAAE,OAAO,EAClE,gBAAgB,uDAAuD,SAAS,EAClF,CAOU;AACV,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/list-tiers.ts
|
|
4
|
+
const PlainListTiersInput = zod.z.object({
|
|
5
|
+
last: zod.z.number().int().describe("Number of items to fetch in backward pagination; must be ≥ 1.").optional(),
|
|
6
|
+
after: zod.z.string().describe("Cursor for forward pagination, used together with 'first'.").optional(),
|
|
7
|
+
first: zod.z.number().int().describe("Number of items to fetch in forward pagination; must be ≥ 1.").optional(),
|
|
8
|
+
before: zod.z.string().describe("Cursor for backward pagination, used together with 'last'.").optional()
|
|
9
|
+
}).describe("Request parameters for listing tiers. You must supply at least one of 'first' or 'last'\nto paginate forward or backward through the result set.");
|
|
10
|
+
const PlainListTiers_TierNodeSchema = zod.z.object({
|
|
11
|
+
id: zod.z.string().describe("Unique identifier of the tier."),
|
|
12
|
+
name: zod.z.string().describe("Name of the tier.").nullable().optional(),
|
|
13
|
+
externalId: zod.z.string().describe("External identifier for the tier, if any.").nullable().optional(),
|
|
14
|
+
defaultPriority: zod.z.number().int().describe("Default priority level of the tier.").nullable().optional()
|
|
15
|
+
});
|
|
16
|
+
const PlainListTiers_TierEdgeSchema = zod.z.object({
|
|
17
|
+
node: PlainListTiers_TierNodeSchema.nullable(),
|
|
18
|
+
cursor: zod.z.string().describe("Pagination cursor for this edge.")
|
|
19
|
+
});
|
|
20
|
+
const PlainListTiers_PageInfoSchema = zod.z.object({
|
|
21
|
+
endCursor: zod.z.string().describe("Cursor corresponding to the last result in the current page.").nullable().optional(),
|
|
22
|
+
hasNextPage: zod.z.boolean().describe("Whether there is a next page of results."),
|
|
23
|
+
startCursor: zod.z.string().describe("Cursor corresponding to the first result in the current page.").nullable().optional(),
|
|
24
|
+
hasPreviousPage: zod.z.boolean().describe("Whether there is a previous page of results.")
|
|
25
|
+
});
|
|
26
|
+
const PlainListTiers_TiersConnectionSchema = zod.z.object({
|
|
27
|
+
edges: zod.z.array(PlainListTiers_TierEdgeSchema).describe("List of tier edges for pagination."),
|
|
28
|
+
pageInfo: PlainListTiers_PageInfoSchema.nullable()
|
|
29
|
+
});
|
|
30
|
+
const PlainListTiersOutput = zod.z.object({ tiers: PlainListTiers_TiersConnectionSchema.nullable() }).describe("Response schema for listing tiers with pagination.");
|
|
31
|
+
const plainListTiers = require_action.action("PLAIN_LIST_TIERS", {
|
|
32
|
+
slug: "plain-list-tiers",
|
|
33
|
+
name: "List Tiers",
|
|
34
|
+
description: "Tool to retrieve a list of tiers with pagination. Use when you need to browse available tiers after determining pagination cursors. Example: 'List tiers with first=25'.",
|
|
35
|
+
input: PlainListTiersInput,
|
|
36
|
+
output: PlainListTiersOutput
|
|
37
|
+
});
|
|
38
|
+
//#endregion
|
|
39
|
+
exports.plainListTiers = plainListTiers;
|
|
40
|
+
|
|
41
|
+
//# sourceMappingURL=list-tiers.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-tiers.cjs","names":["z","action"],"sources":["../../src/actions/list-tiers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlainListTiersInput: z.ZodTypeAny = z.object({\n last: z.number().int().describe(\"Number of items to fetch in backward pagination; must be ≥ 1.\").optional(),\n after: z.string().describe(\"Cursor for forward pagination, used together with 'first'.\").optional(),\n first: z.number().int().describe(\"Number of items to fetch in forward pagination; must be ≥ 1.\").optional(),\n before: z.string().describe(\"Cursor for backward pagination, used together with 'last'.\").optional(),\n}).describe(\"Request parameters for listing tiers. You must supply at least one of 'first' or 'last'\\nto paginate forward or backward through the result set.\");\nconst PlainListTiers_TierNodeSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the tier.\"),\n name: z.string().describe(\"Name of the tier.\").nullable().optional(),\n externalId: z.string().describe(\"External identifier for the tier, if any.\").nullable().optional(),\n defaultPriority: z.number().int().describe(\"Default priority level of the tier.\").nullable().optional(),\n});\nconst PlainListTiers_TierEdgeSchema: z.ZodTypeAny = z.object({\n node: PlainListTiers_TierNodeSchema.nullable(),\n cursor: z.string().describe(\"Pagination cursor for this edge.\"),\n});\nconst PlainListTiers_PageInfoSchema: z.ZodTypeAny = z.object({\n endCursor: z.string().describe(\"Cursor corresponding to the last result in the current page.\").nullable().optional(),\n hasNextPage: z.boolean().describe(\"Whether there is a next page of results.\"),\n startCursor: z.string().describe(\"Cursor corresponding to the first result in the current page.\").nullable().optional(),\n hasPreviousPage: z.boolean().describe(\"Whether there is a previous page of results.\"),\n});\nconst PlainListTiers_TiersConnectionSchema: z.ZodTypeAny = z.object({\n edges: z.array(PlainListTiers_TierEdgeSchema).describe(\"List of tier edges for pagination.\"),\n pageInfo: PlainListTiers_PageInfoSchema.nullable(),\n});\nexport const PlainListTiersOutput: z.ZodTypeAny = z.object({\n tiers: PlainListTiers_TiersConnectionSchema.nullable(),\n}).describe(\"Response schema for listing tiers with pagination.\");\n\nexport const plainListTiers = action(\"PLAIN_LIST_TIERS\", {\n slug: \"plain-list-tiers\",\n name: \"List Tiers\",\n description: \"Tool to retrieve a list of tiers with pagination. Use when you need to browse available tiers after determining pagination cursors. Example: 'List tiers with first=25'.\",\n input: PlainListTiersInput,\n output: PlainListTiersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAoCA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC1G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CAClG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CAC1G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,SAAS,kJAAkJ;AAC9J,MAAM,gCAA8CA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxG,CAAC;AACD,MAAM,gCAA8CA,IAAAA,EAAE,OAAO;CAC3D,MAAM,8BAA8B,SAAS;CAC7C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;AAChE,CAAC;AACD,MAAM,gCAA8CA,IAAAA,EAAE,OAAO;CAC3D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C;CAC5E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8CAA8C;AACtF,CAAC;AACD,MAAM,uCAAqDA,IAAAA,EAAE,OAAO;CAClE,OAAOA,IAAAA,EAAE,MAAM,6BAA6B,CAAC,CAAC,SAAS,oCAAoC;CAC3F,UAAU,8BAA8B,SAAS;AACnD,CAAC;AACD,MAAa,uBAAqCA,IAAAA,EAAE,OAAO,EACzD,OAAO,qCAAqC,SAAS,EACvD,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAEhE,MAAa,iBAAiBC,eAAAA,OAAO,oBAAoB;CACvD,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-tiers.d.ts
|
|
4
|
+
declare const PlainListTiersInput: z.ZodTypeAny;
|
|
5
|
+
declare const PlainListTiersOutput: z.ZodTypeAny;
|
|
6
|
+
declare const plainListTiers: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { plainListTiers };
|
|
9
|
+
//# sourceMappingURL=list-tiers.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-tiers.d.cts","names":[],"sources":["../../src/actions/list-tiers.ts"],"mappings":";;;cAIa,mBAAA,EAAqB,CAAA,CAAE,UAK2H;AAAA,cAqBlJ,oBAAA,EAAsB,CAAA,CAAE,UAE4B;AAAA,cAEpD,cAAA,gCAAc,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-tiers.d.ts
|
|
4
|
+
declare const PlainListTiersInput: z.ZodTypeAny;
|
|
5
|
+
declare const PlainListTiersOutput: z.ZodTypeAny;
|
|
6
|
+
declare const plainListTiers: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { plainListTiers };
|
|
9
|
+
//# sourceMappingURL=list-tiers.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-tiers.d.mts","names":[],"sources":["../../src/actions/list-tiers.ts"],"mappings":";;;cAIa,mBAAA,EAAqB,CAAA,CAAE,UAK2H;AAAA,cAqBlJ,oBAAA,EAAsB,CAAA,CAAE,UAE4B;AAAA,cAEpD,cAAA,gCAAc,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/list-tiers.ts
|
|
4
|
+
const PlainListTiersInput = z.object({
|
|
5
|
+
last: z.number().int().describe("Number of items to fetch in backward pagination; must be ≥ 1.").optional(),
|
|
6
|
+
after: z.string().describe("Cursor for forward pagination, used together with 'first'.").optional(),
|
|
7
|
+
first: z.number().int().describe("Number of items to fetch in forward pagination; must be ≥ 1.").optional(),
|
|
8
|
+
before: z.string().describe("Cursor for backward pagination, used together with 'last'.").optional()
|
|
9
|
+
}).describe("Request parameters for listing tiers. You must supply at least one of 'first' or 'last'\nto paginate forward or backward through the result set.");
|
|
10
|
+
const PlainListTiers_TierNodeSchema = z.object({
|
|
11
|
+
id: z.string().describe("Unique identifier of the tier."),
|
|
12
|
+
name: z.string().describe("Name of the tier.").nullable().optional(),
|
|
13
|
+
externalId: z.string().describe("External identifier for the tier, if any.").nullable().optional(),
|
|
14
|
+
defaultPriority: z.number().int().describe("Default priority level of the tier.").nullable().optional()
|
|
15
|
+
});
|
|
16
|
+
const PlainListTiers_TierEdgeSchema = z.object({
|
|
17
|
+
node: PlainListTiers_TierNodeSchema.nullable(),
|
|
18
|
+
cursor: z.string().describe("Pagination cursor for this edge.")
|
|
19
|
+
});
|
|
20
|
+
const PlainListTiers_PageInfoSchema = z.object({
|
|
21
|
+
endCursor: z.string().describe("Cursor corresponding to the last result in the current page.").nullable().optional(),
|
|
22
|
+
hasNextPage: z.boolean().describe("Whether there is a next page of results."),
|
|
23
|
+
startCursor: z.string().describe("Cursor corresponding to the first result in the current page.").nullable().optional(),
|
|
24
|
+
hasPreviousPage: z.boolean().describe("Whether there is a previous page of results.")
|
|
25
|
+
});
|
|
26
|
+
const PlainListTiers_TiersConnectionSchema = z.object({
|
|
27
|
+
edges: z.array(PlainListTiers_TierEdgeSchema).describe("List of tier edges for pagination."),
|
|
28
|
+
pageInfo: PlainListTiers_PageInfoSchema.nullable()
|
|
29
|
+
});
|
|
30
|
+
const plainListTiers = action("PLAIN_LIST_TIERS", {
|
|
31
|
+
slug: "plain-list-tiers",
|
|
32
|
+
name: "List Tiers",
|
|
33
|
+
description: "Tool to retrieve a list of tiers with pagination. Use when you need to browse available tiers after determining pagination cursors. Example: 'List tiers with first=25'.",
|
|
34
|
+
input: PlainListTiersInput,
|
|
35
|
+
output: z.object({ tiers: PlainListTiers_TiersConnectionSchema.nullable() }).describe("Response schema for listing tiers with pagination.")
|
|
36
|
+
});
|
|
37
|
+
//#endregion
|
|
38
|
+
export { plainListTiers };
|
|
39
|
+
|
|
40
|
+
//# sourceMappingURL=list-tiers.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-tiers.mjs","names":[],"sources":["../../src/actions/list-tiers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlainListTiersInput: z.ZodTypeAny = z.object({\n last: z.number().int().describe(\"Number of items to fetch in backward pagination; must be ≥ 1.\").optional(),\n after: z.string().describe(\"Cursor for forward pagination, used together with 'first'.\").optional(),\n first: z.number().int().describe(\"Number of items to fetch in forward pagination; must be ≥ 1.\").optional(),\n before: z.string().describe(\"Cursor for backward pagination, used together with 'last'.\").optional(),\n}).describe(\"Request parameters for listing tiers. You must supply at least one of 'first' or 'last'\\nto paginate forward or backward through the result set.\");\nconst PlainListTiers_TierNodeSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the tier.\"),\n name: z.string().describe(\"Name of the tier.\").nullable().optional(),\n externalId: z.string().describe(\"External identifier for the tier, if any.\").nullable().optional(),\n defaultPriority: z.number().int().describe(\"Default priority level of the tier.\").nullable().optional(),\n});\nconst PlainListTiers_TierEdgeSchema: z.ZodTypeAny = z.object({\n node: PlainListTiers_TierNodeSchema.nullable(),\n cursor: z.string().describe(\"Pagination cursor for this edge.\"),\n});\nconst PlainListTiers_PageInfoSchema: z.ZodTypeAny = z.object({\n endCursor: z.string().describe(\"Cursor corresponding to the last result in the current page.\").nullable().optional(),\n hasNextPage: z.boolean().describe(\"Whether there is a next page of results.\"),\n startCursor: z.string().describe(\"Cursor corresponding to the first result in the current page.\").nullable().optional(),\n hasPreviousPage: z.boolean().describe(\"Whether there is a previous page of results.\"),\n});\nconst PlainListTiers_TiersConnectionSchema: z.ZodTypeAny = z.object({\n edges: z.array(PlainListTiers_TierEdgeSchema).describe(\"List of tier edges for pagination.\"),\n pageInfo: PlainListTiers_PageInfoSchema.nullable(),\n});\nexport const PlainListTiersOutput: z.ZodTypeAny = z.object({\n tiers: PlainListTiers_TiersConnectionSchema.nullable(),\n}).describe(\"Response schema for listing tiers with pagination.\");\n\nexport const plainListTiers = action(\"PLAIN_LIST_TIERS\", {\n slug: \"plain-list-tiers\",\n name: \"List Tiers\",\n description: \"Tool to retrieve a list of tiers with pagination. Use when you need to browse available tiers after determining pagination cursors. Example: 'List tiers with first=25'.\",\n input: PlainListTiersInput,\n output: PlainListTiersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAoC,EAAE,OAAO;CACxD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC1G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CAClG,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CAC1G,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,SAAS,kJAAkJ;AAC9J,MAAM,gCAA8C,EAAE,OAAO;CAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxG,CAAC;AACD,MAAM,gCAA8C,EAAE,OAAO;CAC3D,MAAM,8BAA8B,SAAS;CAC7C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;AAChE,CAAC;AACD,MAAM,gCAA8C,EAAE,OAAO;CAC3D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C;CAC5E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,iBAAiB,EAAE,QAAQ,CAAC,CAAC,SAAS,8CAA8C;AACtF,CAAC;AACD,MAAM,uCAAqD,EAAE,OAAO;CAClE,OAAO,EAAE,MAAM,6BAA6B,CAAC,CAAC,SAAS,oCAAoC;CAC3F,UAAU,8BAA8B,SAAS;AACnD,CAAC;AAKD,MAAa,iBAAiB,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATgD,EAAE,OAAO,EACzD,OAAO,qCAAqC,SAAS,EACvD,CAAC,CAAC,CAAC,SAAS,oDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/query-threads.ts
|
|
4
|
+
const PlainQueryThreadsInput = zod.z.object({
|
|
5
|
+
cursor: zod.z.string().describe("Cursor for pagination returned by a previous call. Omit for first page. Use the cursor from each response to fetch the next page; omitting it resets to the first page.").optional(),
|
|
6
|
+
statuses: zod.z.array(zod.z.string()).describe("Filter threads by status. Supported values: TODO, SNOOZED, DONE.").optional()
|
|
7
|
+
});
|
|
8
|
+
const PlainQueryThreads_ThreadNodeSchema = zod.z.object({
|
|
9
|
+
id: zod.z.string().describe("Unique ID of the thread."),
|
|
10
|
+
ref: zod.z.string().describe("Human-readable reference of the thread."),
|
|
11
|
+
title: zod.z.string().describe("Title of the thread."),
|
|
12
|
+
status: zod.z.string().describe("Current status of the thread."),
|
|
13
|
+
priority: zod.z.number().int().describe("Priority level of the thread.").nullable().optional(),
|
|
14
|
+
createdAt: zod.z.object({}).describe("Creation timestamp object with iso8601 field."),
|
|
15
|
+
updatedAt: zod.z.object({}).describe("Last update timestamp object with iso8601 field.")
|
|
16
|
+
});
|
|
17
|
+
const PlainQueryThreads_ThreadEdgeSchema = zod.z.object({
|
|
18
|
+
node: PlainQueryThreads_ThreadNodeSchema.nullable(),
|
|
19
|
+
cursor: zod.z.string().describe("Cursor for this edge.")
|
|
20
|
+
});
|
|
21
|
+
const PlainQueryThreads_PageInfoSchema = zod.z.object({
|
|
22
|
+
endCursor: zod.z.string().describe("Cursor of the last item in this page.").nullable().optional(),
|
|
23
|
+
hasNextPage: zod.z.boolean().describe("True if there's a next page."),
|
|
24
|
+
startCursor: zod.z.string().describe("Cursor of the first item in this page.").nullable().optional(),
|
|
25
|
+
hasPreviousPage: zod.z.boolean().describe("True if there's a previous page.")
|
|
26
|
+
});
|
|
27
|
+
const PlainQueryThreads_ThreadsSchema = zod.z.object({
|
|
28
|
+
edges: zod.z.array(PlainQueryThreads_ThreadEdgeSchema).describe("List of thread edges."),
|
|
29
|
+
pageInfo: PlainQueryThreads_PageInfoSchema.nullable(),
|
|
30
|
+
totalCount: zod.z.number().int().describe("Total number of threads.")
|
|
31
|
+
});
|
|
32
|
+
const PlainQueryThreadsOutput = zod.z.object({ threads: PlainQueryThreads_ThreadsSchema.nullable() });
|
|
33
|
+
const plainQueryThreads = require_action.action("PLAIN_QUERY_THREADS", {
|
|
34
|
+
slug: "plain-query-threads",
|
|
35
|
+
name: "List Threads",
|
|
36
|
+
description: "Tool to retrieve a paginated list of threads. Use when you need to list threads with optional status filtering.",
|
|
37
|
+
input: PlainQueryThreadsInput,
|
|
38
|
+
output: PlainQueryThreadsOutput
|
|
39
|
+
});
|
|
40
|
+
//#endregion
|
|
41
|
+
exports.plainQueryThreads = plainQueryThreads;
|
|
42
|
+
|
|
43
|
+
//# sourceMappingURL=query-threads.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"query-threads.cjs","names":["z","action"],"sources":["../../src/actions/query-threads.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlainQueryThreadsInput: z.ZodTypeAny = z.object({\n cursor: z.string().describe(\"Cursor for pagination returned by a previous call. Omit for first page. Use the cursor from each response to fetch the next page; omitting it resets to the first page.\").optional(),\n statuses: z.array(z.string()).describe(\"Filter threads by status. Supported values: TODO, SNOOZED, DONE.\").optional(),\n});\nconst PlainQueryThreads_ThreadNodeSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique ID of the thread.\"),\n ref: z.string().describe(\"Human-readable reference of the thread.\"),\n title: z.string().describe(\"Title of the thread.\"),\n status: z.string().describe(\"Current status of the thread.\"),\n priority: z.number().int().describe(\"Priority level of the thread.\").nullable().optional(),\n createdAt: z.object({}).describe(\"Creation timestamp object with iso8601 field.\"),\n updatedAt: z.object({}).describe(\"Last update timestamp object with iso8601 field.\"),\n});\nconst PlainQueryThreads_ThreadEdgeSchema: z.ZodTypeAny = z.object({\n node: PlainQueryThreads_ThreadNodeSchema.nullable(),\n cursor: z.string().describe(\"Cursor for this edge.\"),\n});\nconst PlainQueryThreads_PageInfoSchema: z.ZodTypeAny = z.object({\n endCursor: z.string().describe(\"Cursor of the last item in this page.\").nullable().optional(),\n hasNextPage: z.boolean().describe(\"True if there's a next page.\"),\n startCursor: z.string().describe(\"Cursor of the first item in this page.\").nullable().optional(),\n hasPreviousPage: z.boolean().describe(\"True if there's a previous page.\"),\n});\nconst PlainQueryThreads_ThreadsSchema: z.ZodTypeAny = z.object({\n edges: z.array(PlainQueryThreads_ThreadEdgeSchema).describe(\"List of thread edges.\"),\n pageInfo: PlainQueryThreads_PageInfoSchema.nullable(),\n totalCount: z.number().int().describe(\"Total number of threads.\"),\n});\nexport const PlainQueryThreadsOutput: z.ZodTypeAny = z.object({\n threads: PlainQueryThreads_ThreadsSchema.nullable(),\n});\n\nexport const plainQueryThreads = action(\"PLAIN_QUERY_THREADS\", {\n slug: \"plain-query-threads\",\n name: \"List Threads\",\n description: \"Tool to retrieve a paginated list of threads. Use when you need to list threads with optional status filtering.\",\n input: PlainQueryThreadsInput,\n output: PlainQueryThreadsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAuCA,IAAAA,EAAE,OAAO;CAC3D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yKAAyK,CAAC,CAAC,SAAS;CAChN,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;AACtH,CAAC;AACD,MAAM,qCAAmDA,IAAAA,EAAE,OAAO;CAChE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CAClD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CAClE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;CACjD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CAC3D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+CAA+C;CAChF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kDAAkD;AACrF,CAAC;AACD,MAAM,qCAAmDA,IAAAA,EAAE,OAAO;CAChE,MAAM,mCAAmC,SAAS;CAClD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;AACrD,CAAC;AACD,MAAM,mCAAiDA,IAAAA,EAAE,OAAO;CAC9D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8BAA8B;CAChE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC;AAC1E,CAAC;AACD,MAAM,kCAAgDA,IAAAA,EAAE,OAAO;CAC7D,OAAOA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,uBAAuB;CACnF,UAAU,iCAAiC,SAAS;CACpD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B;AAClE,CAAC;AACD,MAAa,0BAAwCA,IAAAA,EAAE,OAAO,EAC5D,SAAS,gCAAgC,SAAS,EACpD,CAAC;AAED,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,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/query-threads.d.ts
|
|
4
|
+
declare const PlainQueryThreadsInput: z.ZodTypeAny;
|
|
5
|
+
declare const PlainQueryThreadsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const plainQueryThreads: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { plainQueryThreads };
|
|
9
|
+
//# sourceMappingURL=query-threads.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"query-threads.d.cts","names":[],"sources":["../../src/actions/query-threads.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAGrC;AAAA,cAyBW,uBAAA,EAAyB,CAAA,CAAE,UAEtC;AAAA,cAEW,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/query-threads.d.ts
|
|
4
|
+
declare const PlainQueryThreadsInput: z.ZodTypeAny;
|
|
5
|
+
declare const PlainQueryThreadsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const plainQueryThreads: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { plainQueryThreads };
|
|
9
|
+
//# sourceMappingURL=query-threads.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"query-threads.d.mts","names":[],"sources":["../../src/actions/query-threads.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAGrC;AAAA,cAyBW,uBAAA,EAAyB,CAAA,CAAE,UAEtC;AAAA,cAEW,iBAAA,gCAAiB,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/query-threads.ts
|
|
4
|
+
const PlainQueryThreadsInput = z.object({
|
|
5
|
+
cursor: z.string().describe("Cursor for pagination returned by a previous call. Omit for first page. Use the cursor from each response to fetch the next page; omitting it resets to the first page.").optional(),
|
|
6
|
+
statuses: z.array(z.string()).describe("Filter threads by status. Supported values: TODO, SNOOZED, DONE.").optional()
|
|
7
|
+
});
|
|
8
|
+
const PlainQueryThreads_ThreadNodeSchema = z.object({
|
|
9
|
+
id: z.string().describe("Unique ID of the thread."),
|
|
10
|
+
ref: z.string().describe("Human-readable reference of the thread."),
|
|
11
|
+
title: z.string().describe("Title of the thread."),
|
|
12
|
+
status: z.string().describe("Current status of the thread."),
|
|
13
|
+
priority: z.number().int().describe("Priority level of the thread.").nullable().optional(),
|
|
14
|
+
createdAt: z.object({}).describe("Creation timestamp object with iso8601 field."),
|
|
15
|
+
updatedAt: z.object({}).describe("Last update timestamp object with iso8601 field.")
|
|
16
|
+
});
|
|
17
|
+
const PlainQueryThreads_ThreadEdgeSchema = z.object({
|
|
18
|
+
node: PlainQueryThreads_ThreadNodeSchema.nullable(),
|
|
19
|
+
cursor: z.string().describe("Cursor for this edge.")
|
|
20
|
+
});
|
|
21
|
+
const PlainQueryThreads_PageInfoSchema = z.object({
|
|
22
|
+
endCursor: z.string().describe("Cursor of the last item in this page.").nullable().optional(),
|
|
23
|
+
hasNextPage: z.boolean().describe("True if there's a next page."),
|
|
24
|
+
startCursor: z.string().describe("Cursor of the first item in this page.").nullable().optional(),
|
|
25
|
+
hasPreviousPage: z.boolean().describe("True if there's a previous page.")
|
|
26
|
+
});
|
|
27
|
+
const PlainQueryThreads_ThreadsSchema = z.object({
|
|
28
|
+
edges: z.array(PlainQueryThreads_ThreadEdgeSchema).describe("List of thread edges."),
|
|
29
|
+
pageInfo: PlainQueryThreads_PageInfoSchema.nullable(),
|
|
30
|
+
totalCount: z.number().int().describe("Total number of threads.")
|
|
31
|
+
});
|
|
32
|
+
const plainQueryThreads = action("PLAIN_QUERY_THREADS", {
|
|
33
|
+
slug: "plain-query-threads",
|
|
34
|
+
name: "List Threads",
|
|
35
|
+
description: "Tool to retrieve a paginated list of threads. Use when you need to list threads with optional status filtering.",
|
|
36
|
+
input: PlainQueryThreadsInput,
|
|
37
|
+
output: z.object({ threads: PlainQueryThreads_ThreadsSchema.nullable() })
|
|
38
|
+
});
|
|
39
|
+
//#endregion
|
|
40
|
+
export { plainQueryThreads };
|
|
41
|
+
|
|
42
|
+
//# sourceMappingURL=query-threads.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"query-threads.mjs","names":[],"sources":["../../src/actions/query-threads.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlainQueryThreadsInput: z.ZodTypeAny = z.object({\n cursor: z.string().describe(\"Cursor for pagination returned by a previous call. Omit for first page. Use the cursor from each response to fetch the next page; omitting it resets to the first page.\").optional(),\n statuses: z.array(z.string()).describe(\"Filter threads by status. Supported values: TODO, SNOOZED, DONE.\").optional(),\n});\nconst PlainQueryThreads_ThreadNodeSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique ID of the thread.\"),\n ref: z.string().describe(\"Human-readable reference of the thread.\"),\n title: z.string().describe(\"Title of the thread.\"),\n status: z.string().describe(\"Current status of the thread.\"),\n priority: z.number().int().describe(\"Priority level of the thread.\").nullable().optional(),\n createdAt: z.object({}).describe(\"Creation timestamp object with iso8601 field.\"),\n updatedAt: z.object({}).describe(\"Last update timestamp object with iso8601 field.\"),\n});\nconst PlainQueryThreads_ThreadEdgeSchema: z.ZodTypeAny = z.object({\n node: PlainQueryThreads_ThreadNodeSchema.nullable(),\n cursor: z.string().describe(\"Cursor for this edge.\"),\n});\nconst PlainQueryThreads_PageInfoSchema: z.ZodTypeAny = z.object({\n endCursor: z.string().describe(\"Cursor of the last item in this page.\").nullable().optional(),\n hasNextPage: z.boolean().describe(\"True if there's a next page.\"),\n startCursor: z.string().describe(\"Cursor of the first item in this page.\").nullable().optional(),\n hasPreviousPage: z.boolean().describe(\"True if there's a previous page.\"),\n});\nconst PlainQueryThreads_ThreadsSchema: z.ZodTypeAny = z.object({\n edges: z.array(PlainQueryThreads_ThreadEdgeSchema).describe(\"List of thread edges.\"),\n pageInfo: PlainQueryThreads_PageInfoSchema.nullable(),\n totalCount: z.number().int().describe(\"Total number of threads.\"),\n});\nexport const PlainQueryThreadsOutput: z.ZodTypeAny = z.object({\n threads: PlainQueryThreads_ThreadsSchema.nullable(),\n});\n\nexport const plainQueryThreads = action(\"PLAIN_QUERY_THREADS\", {\n slug: \"plain-query-threads\",\n name: \"List Threads\",\n description: \"Tool to retrieve a paginated list of threads. Use when you need to list threads with optional status filtering.\",\n input: PlainQueryThreadsInput,\n output: PlainQueryThreadsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAuC,EAAE,OAAO;CAC3D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yKAAyK,CAAC,CAAC,SAAS;CAChN,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;AACtH,CAAC;AACD,MAAM,qCAAmD,EAAE,OAAO;CAChE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CAClD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CAClE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;CACjD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CAC3D,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,WAAW,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+CAA+C;CAChF,WAAW,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kDAAkD;AACrF,CAAC;AACD,MAAM,qCAAmD,EAAE,OAAO;CAChE,MAAM,mCAAmC,SAAS;CAClD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;AACrD,CAAC;AACD,MAAM,mCAAiD,EAAE,OAAO;CAC9D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,8BAA8B;CAChE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,iBAAiB,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC;AAC1E,CAAC;AACD,MAAM,kCAAgD,EAAE,OAAO;CAC7D,OAAO,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,uBAAuB;CACnF,UAAU,iCAAiC,SAAS;CACpD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B;AAClE,CAAC;AAKD,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATmD,EAAE,OAAO,EAC5D,SAAS,gCAAgC,SAAS,EACpD,CAOU;AACV,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/remove-customer-from-group.ts
|
|
4
|
+
const PlainRemoveCustomerFromGroupInput = zod.z.object({
|
|
5
|
+
customerId: zod.z.string().describe("Plain customer ID (format: 'c_01ABC...') of the customer to remove from groups."),
|
|
6
|
+
customerGroupIdentifiers: zod.z.array(zod.z.object({
|
|
7
|
+
customerGroupId: zod.z.string().describe("Plain internal ID of the customer group (e.g., 'cg_01ABC...').").optional(),
|
|
8
|
+
customerGroupKey: zod.z.string().describe("Unique key of the customer group (e.g., 'premium_tier').").optional()
|
|
9
|
+
})).describe("List of customer group identifiers to remove the customer from. Must contain at least one identifier. Each identifier must specify either customerGroupId or customerGroupKey.")
|
|
10
|
+
});
|
|
11
|
+
const PlainRemoveCustomerFromGroup_MutationFieldErrorSchema = zod.z.object({
|
|
12
|
+
type: zod.z.enum([
|
|
13
|
+
"VALIDATION",
|
|
14
|
+
"REQUIRED",
|
|
15
|
+
"NOT_FOUND"
|
|
16
|
+
]).describe("Type of field error."),
|
|
17
|
+
field: zod.z.string().describe("Name of the field where error occurred."),
|
|
18
|
+
message: zod.z.string().describe("Technical error message.")
|
|
19
|
+
});
|
|
20
|
+
const PlainRemoveCustomerFromGroup_MutationErrorSchema = zod.z.object({
|
|
21
|
+
code: zod.z.string().describe("Fixed error code from the API."),
|
|
22
|
+
type: zod.z.enum([
|
|
23
|
+
"VALIDATION",
|
|
24
|
+
"FORBIDDEN",
|
|
25
|
+
"INTERNAL"
|
|
26
|
+
]).describe("Type of error."),
|
|
27
|
+
fields: zod.z.array(PlainRemoveCustomerFromGroup_MutationFieldErrorSchema).describe("List of field-specific errors, if any.").nullable().optional(),
|
|
28
|
+
message: zod.z.string().describe("Technical error message.")
|
|
29
|
+
});
|
|
30
|
+
const PlainRemoveCustomerFromGroupOutput = zod.z.object({ error: PlainRemoveCustomerFromGroup_MutationErrorSchema.nullable().optional() });
|
|
31
|
+
const plainRemoveCustomerFromGroup = require_action.action("PLAIN_REMOVE_CUSTOMER_FROM_GROUP", {
|
|
32
|
+
slug: "plain-remove-customer-from-group",
|
|
33
|
+
name: "Remove Customer From Group",
|
|
34
|
+
description: "Removes a customer from one or more customer groups in Plain. Use this action to revoke customer group memberships. The customer must be a member of the specified group(s) - attempting to remove a customer from a group they're not in will result in an error. Groups can be identified by either their Plain internal ID (customerGroupId) or their unique key (customerGroupKey). Common use cases: - Downgrade customer tier (e.g., remove from premium_tier group) - Remove customer from beta access groups - Clean up group memberships after customer status changes",
|
|
35
|
+
input: PlainRemoveCustomerFromGroupInput,
|
|
36
|
+
output: PlainRemoveCustomerFromGroupOutput
|
|
37
|
+
});
|
|
38
|
+
//#endregion
|
|
39
|
+
exports.plainRemoveCustomerFromGroup = plainRemoveCustomerFromGroup;
|
|
40
|
+
|
|
41
|
+
//# sourceMappingURL=remove-customer-from-group.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"remove-customer-from-group.cjs","names":["z","action"],"sources":["../../src/actions/remove-customer-from-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlainRemoveCustomerFromGroupInput: z.ZodTypeAny = z.object({\n customerId: z.string().describe(\"Plain customer ID (format: 'c_01ABC...') of the customer to remove from groups.\"),\n customerGroupIdentifiers: z.array(z.object({\n customerGroupId: z.string().describe(\"Plain internal ID of the customer group (e.g., 'cg_01ABC...').\").optional(),\n customerGroupKey: z.string().describe(\"Unique key of the customer group (e.g., 'premium_tier').\").optional(),\n})).describe(\"List of customer group identifiers to remove the customer from. Must contain at least one identifier. Each identifier must specify either customerGroupId or customerGroupKey.\"),\n});\nconst PlainRemoveCustomerFromGroup_MutationFieldErrorSchema: z.ZodTypeAny = z.object({\n type: z.enum([\"VALIDATION\", \"REQUIRED\", \"NOT_FOUND\"]).describe(\"Type of field error.\"),\n field: z.string().describe(\"Name of the field where error occurred.\"),\n message: z.string().describe(\"Technical error message.\"),\n});\nconst PlainRemoveCustomerFromGroup_MutationErrorSchema: z.ZodTypeAny = z.object({\n code: z.string().describe(\"Fixed error code from the API.\"),\n type: z.enum([\"VALIDATION\", \"FORBIDDEN\", \"INTERNAL\"]).describe(\"Type of error.\"),\n fields: z.array(PlainRemoveCustomerFromGroup_MutationFieldErrorSchema).describe(\"List of field-specific errors, if any.\").nullable().optional(),\n message: z.string().describe(\"Technical error message.\"),\n});\nexport const PlainRemoveCustomerFromGroupOutput: z.ZodTypeAny = z.object({\n error: PlainRemoveCustomerFromGroup_MutationErrorSchema.nullable().optional(),\n});\n\nexport const plainRemoveCustomerFromGroup = action(\"PLAIN_REMOVE_CUSTOMER_FROM_GROUP\", {\n slug: \"plain-remove-customer-from-group\",\n name: \"Remove Customer From Group\",\n description: \"Removes a customer from one or more customer groups in Plain. Use this action to revoke customer group memberships. The customer must be a member of the specified group(s) - attempting to remove a customer from a group they're not in will result in an error. Groups can be identified by either their Plain internal ID (customerGroupId) or their unique key (customerGroupKey). Common use cases: - Downgrade customer tier (e.g., remove from premium_tier group) - Remove customer from beta access groups - Clean up group memberships after customer status changes\",\n input: PlainRemoveCustomerFromGroupInput,\n output: PlainRemoveCustomerFromGroupOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkDA,IAAAA,EAAE,OAAO;CACtE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF;CACjH,0BAA0BA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC3C,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;EAChH,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC7G,CAAC,CAAC,CAAC,CAAC,SAAS,gLAAgL;AAC7L,CAAC;AACD,MAAM,wDAAsEA,IAAAA,EAAE,OAAO;CACnF,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAc;EAAY;CAAW,CAAC,CAAC,CAAC,SAAS,sBAAsB;CACrF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACpE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;AACzD,CAAC;AACD,MAAM,mDAAiEA,IAAAA,EAAE,OAAO;CAC9E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC1D,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAc;EAAa;CAAU,CAAC,CAAC,CAAC,SAAS,gBAAgB;CAC/E,QAAQA,IAAAA,EAAE,MAAM,qDAAqD,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9I,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;AACzD,CAAC;AACD,MAAa,qCAAmDA,IAAAA,EAAE,OAAO,EACvE,OAAO,iDAAiD,SAAS,CAAC,CAAC,SAAS,EAC9E,CAAC;AAED,MAAa,+BAA+BC,eAAAA,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|