epilot 0.1.0 → 0.1.2

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.
Files changed (108) hide show
  1. package/README.md +7 -345
  2. package/bin/epilot.js +5 -0
  3. package/package.json +7 -33
  4. package/definitions/access-token.json +0 -663
  5. package/definitions/address-suggestions.json +0 -582
  6. package/definitions/address.json +0 -578
  7. package/definitions/ai-agents.json +0 -1711
  8. package/definitions/app.json +0 -4443
  9. package/definitions/audit-logs.json +0 -305
  10. package/definitions/automation.json +0 -4815
  11. package/definitions/billing.json +0 -837
  12. package/definitions/blueprint-manifest.json +0 -3376
  13. package/definitions/consent.json +0 -344
  14. package/definitions/customer-portal.json +0 -15000
  15. package/definitions/dashboard.json +0 -484
  16. package/definitions/data-management.json +0 -962
  17. package/definitions/deduplication.json +0 -183
  18. package/definitions/design.json +0 -1423
  19. package/definitions/document.json +0 -758
  20. package/definitions/email-settings.json +0 -2627
  21. package/definitions/email-template.json +0 -1419
  22. package/definitions/entity-mapping.json +0 -1642
  23. package/definitions/entity.json +0 -10074
  24. package/definitions/environments.json +0 -363
  25. package/definitions/erp-integration.json +0 -5845
  26. package/definitions/event-catalog.json +0 -1051
  27. package/definitions/file.json +0 -2842
  28. package/definitions/iban.json +0 -132
  29. package/definitions/journey.json +0 -2341
  30. package/definitions/kanban.json +0 -929
  31. package/definitions/message.json +0 -2660
  32. package/definitions/metering.json +0 -2321
  33. package/definitions/notes.json +0 -1531
  34. package/definitions/notification.json +0 -1425
  35. package/definitions/organization.json +0 -629
  36. package/definitions/partner-directory.json +0 -1718
  37. package/definitions/permissions.json +0 -1480
  38. package/definitions/pricing-tier.json +0 -105
  39. package/definitions/pricing.json +0 -9884
  40. package/definitions/purpose.json +0 -524
  41. package/definitions/sandbox.json +0 -453
  42. package/definitions/submission.json +0 -313
  43. package/definitions/targeting.json +0 -1474
  44. package/definitions/template-variables.json +0 -1408
  45. package/definitions/user.json +0 -2408
  46. package/definitions/validation-rules.json +0 -1491
  47. package/definitions/webhooks.json +0 -1525
  48. package/definitions/workflow-definition.json +0 -3417
  49. package/definitions/workflow.json +0 -4106
  50. package/dist/access-token-OG5AR7UB.js +0 -51
  51. package/dist/address-QUSMK5GV.js +0 -51
  52. package/dist/address-suggestions-E5SQNUS5.js +0 -51
  53. package/dist/ai-agents-PM42SJY3.js +0 -51
  54. package/dist/app-YTM3XAJL.js +0 -51
  55. package/dist/audit-logs-NXP7GFKX.js +0 -51
  56. package/dist/auth-CCBTXH5U.js +0 -113
  57. package/dist/auth-login-2ZIXM47J.js +0 -137
  58. package/dist/auth-token-OS4BEEVZ.js +0 -43
  59. package/dist/automation-TDJASTEV.js +0 -51
  60. package/dist/billing-M4MRBLEK.js +0 -51
  61. package/dist/bin/epilot.js +0 -104
  62. package/dist/blueprint-manifest-NQL7NRMV.js +0 -51
  63. package/dist/chunk-57PPARIW.js +0 -715
  64. package/dist/chunk-5WUPDZ5D.js +0 -76
  65. package/dist/chunk-IST42ZNL.js +0 -78
  66. package/dist/chunk-RC3GCXCI.js +0 -76
  67. package/dist/chunk-TKZLQD2B.js +0 -72
  68. package/dist/chunk-UJ6TU34M.js +0 -56
  69. package/dist/completion-GRQM2FJQ.js +0 -168
  70. package/dist/consent-KQ7MJAS6.js +0 -51
  71. package/dist/customer-portal-VUVSKWAQ.js +0 -51
  72. package/dist/dashboard-GVR4XNGR.js +0 -51
  73. package/dist/data-management-2RD3DLOS.js +0 -51
  74. package/dist/deduplication-PY77EINR.js +0 -51
  75. package/dist/design-M4FP2K5R.js +0 -51
  76. package/dist/document-P4QA7LEZ.js +0 -51
  77. package/dist/email-settings-7HGGRCCM.js +0 -51
  78. package/dist/email-template-3HXQI4CH.js +0 -51
  79. package/dist/entity-XUESZBPJ.js +0 -51
  80. package/dist/entity-mapping-JBKWWBH2.js +0 -51
  81. package/dist/environments-KKOS7ONY.js +0 -51
  82. package/dist/erp-integration-YTOWHCAW.js +0 -51
  83. package/dist/event-catalog-UKLZUGC4.js +0 -51
  84. package/dist/file-IFZNZ547.js +0 -51
  85. package/dist/iban-X2IW2NWU.js +0 -51
  86. package/dist/interactive-46ICLQKL.js +0 -16
  87. package/dist/journey-JU6X2KMX.js +0 -51
  88. package/dist/kanban-VHUU44PM.js +0 -51
  89. package/dist/message-AOUWJ4YX.js +0 -51
  90. package/dist/metering-RDS3XBD5.js +0 -51
  91. package/dist/notes-WE2UC75B.js +0 -51
  92. package/dist/notification-FKFNBHYZ.js +0 -51
  93. package/dist/organization-LMNFF6BX.js +0 -51
  94. package/dist/partner-directory-IIZVQDXJ.js +0 -51
  95. package/dist/permissions-AYCMVM7Y.js +0 -51
  96. package/dist/pricing-PS26FWBS.js +0 -51
  97. package/dist/pricing-tier-FBXWQ6T3.js +0 -51
  98. package/dist/profile-5Q5YARG7.js +0 -135
  99. package/dist/purpose-HE4E4SVU.js +0 -51
  100. package/dist/sandbox-Z7BU4UAD.js +0 -51
  101. package/dist/submission-MWVDF2ZB.js +0 -51
  102. package/dist/targeting-7NM5GDJ6.js +0 -51
  103. package/dist/template-variables-AJAR7PAV.js +0 -51
  104. package/dist/user-A26XQXG3.js +0 -51
  105. package/dist/validation-rules-VZTISEG2.js +0 -51
  106. package/dist/webhooks-RXH67WZ3.js +0 -51
  107. package/dist/workflow-G4FUUGZQ.js +0 -51
  108. package/dist/workflow-definition-LJYLMMGD.js +0 -51
@@ -1,51 +0,0 @@
1
- #!/usr/bin/env node
2
- import {
3
- callApi
4
- } from "./chunk-57PPARIW.js";
5
- import "./chunk-5WUPDZ5D.js";
6
- import "./chunk-IST42ZNL.js";
7
- import "./chunk-RC3GCXCI.js";
8
- import "./chunk-TKZLQD2B.js";
9
-
10
- // src/commands/apis/pricing.ts
11
- import { defineCommand } from "citty";
12
- var pricing_default = defineCommand({
13
- meta: { name: "pricing", description: "Pricing API" },
14
- args: {
15
- operation: { type: "positional", description: "operationId to call", required: false },
16
- param: { type: "string", alias: "p", description: "Parameter key=value" },
17
- data: { type: "string", alias: "d", description: "Request body JSON" },
18
- header: { type: "string", alias: "H", description: "Custom header" },
19
- include: { type: "boolean", alias: "i", description: "Include response headers" },
20
- definition: { type: "string", description: "Override OpenAPI spec file/URL" },
21
- server: { type: "string", alias: "s", description: "Override server base URL" },
22
- profile: { type: "string", description: "Use a named profile" },
23
- token: { type: "string", alias: "t", description: "Bearer token" },
24
- json: { type: "boolean", description: "Output raw JSON" },
25
- verbose: { type: "boolean", alias: "v", description: "Verbose output" },
26
- interactive: { type: "boolean", description: "Interactive mode" },
27
- jsonata: { type: "string", description: "JSONata expression to transform response" },
28
- _ophelp: { type: "boolean", description: "Show operation help", required: false }
29
- },
30
- run: ({ args, rawArgs }) => {
31
- const positionalArgs = [];
32
- if (args.operation && rawArgs) {
33
- const opIdx = rawArgs.indexOf(args.operation);
34
- if (opIdx >= 0) {
35
- for (let i = opIdx + 1; i < rawArgs.length; i++) {
36
- const arg = rawArgs[i];
37
- if (arg.startsWith("-")) break;
38
- positionalArgs.push(arg);
39
- }
40
- }
41
- }
42
- return callApi("pricing", {
43
- ...args,
44
- help: !!args._ophelp,
45
- _args: positionalArgs
46
- });
47
- }
48
- });
49
- export {
50
- pricing_default as default
51
- };
@@ -1,51 +0,0 @@
1
- #!/usr/bin/env node
2
- import {
3
- callApi
4
- } from "./chunk-57PPARIW.js";
5
- import "./chunk-5WUPDZ5D.js";
6
- import "./chunk-IST42ZNL.js";
7
- import "./chunk-RC3GCXCI.js";
8
- import "./chunk-TKZLQD2B.js";
9
-
10
- // src/commands/apis/pricing-tier.ts
11
- import { defineCommand } from "citty";
12
- var pricing_tier_default = defineCommand({
13
- meta: { name: "pricing-tier", description: "Pricing Tier API" },
14
- args: {
15
- operation: { type: "positional", description: "operationId to call", required: false },
16
- param: { type: "string", alias: "p", description: "Parameter key=value" },
17
- data: { type: "string", alias: "d", description: "Request body JSON" },
18
- header: { type: "string", alias: "H", description: "Custom header" },
19
- include: { type: "boolean", alias: "i", description: "Include response headers" },
20
- definition: { type: "string", description: "Override OpenAPI spec file/URL" },
21
- server: { type: "string", alias: "s", description: "Override server base URL" },
22
- profile: { type: "string", description: "Use a named profile" },
23
- token: { type: "string", alias: "t", description: "Bearer token" },
24
- json: { type: "boolean", description: "Output raw JSON" },
25
- verbose: { type: "boolean", alias: "v", description: "Verbose output" },
26
- interactive: { type: "boolean", description: "Interactive mode" },
27
- jsonata: { type: "string", description: "JSONata expression to transform response" },
28
- _ophelp: { type: "boolean", description: "Show operation help", required: false }
29
- },
30
- run: ({ args, rawArgs }) => {
31
- const positionalArgs = [];
32
- if (args.operation && rawArgs) {
33
- const opIdx = rawArgs.indexOf(args.operation);
34
- if (opIdx >= 0) {
35
- for (let i = opIdx + 1; i < rawArgs.length; i++) {
36
- const arg = rawArgs[i];
37
- if (arg.startsWith("-")) break;
38
- positionalArgs.push(arg);
39
- }
40
- }
41
- }
42
- return callApi("pricing-tier", {
43
- ...args,
44
- help: !!args._ophelp,
45
- _args: positionalArgs
46
- });
47
- }
48
- });
49
- export {
50
- pricing_tier_default as default
51
- };
@@ -1,135 +0,0 @@
1
- #!/usr/bin/env node
2
- import {
3
- deleteProfile,
4
- listProfiles,
5
- loadProfiles,
6
- setActiveProfile,
7
- upsertProfile
8
- } from "./chunk-IST42ZNL.js";
9
- import {
10
- BOLD,
11
- DIM,
12
- GREEN,
13
- RED,
14
- RESET
15
- } from "./chunk-TKZLQD2B.js";
16
-
17
- // src/commands/profile.ts
18
- import { defineCommand } from "citty";
19
- var profile_default = defineCommand({
20
- meta: {
21
- name: "profile",
22
- description: "Manage profiles (server URLs, tokens, environments)"
23
- },
24
- subCommands: {
25
- list: defineCommand({
26
- meta: { name: "list", description: "List all profiles" },
27
- run: () => {
28
- const profiles = listProfiles();
29
- if (profiles.length === 0) {
30
- process.stdout.write(`No profiles configured.
31
- `);
32
- process.stdout.write(`Run ${BOLD}epilot profile create <name>${RESET} to create one.
33
- `);
34
- return;
35
- }
36
- for (const { name, profile, active } of profiles) {
37
- const marker = active ? `${GREEN}* ${RESET}` : " ";
38
- const server = profile.server ? ` ${DIM}server=${profile.server}${RESET}` : "";
39
- const token = profile.token ? ` ${DIM}token=***${RESET}` : "";
40
- const org = profile.org_id ? ` ${DIM}org=${profile.org_id}${RESET}` : "";
41
- process.stdout.write(`${marker}${BOLD}${name}${RESET}${server}${token}${org}
42
- `);
43
- }
44
- }
45
- }),
46
- create: defineCommand({
47
- meta: { name: "create", description: "Create or update a profile" },
48
- args: {
49
- name: { type: "positional", description: "Profile name", required: true },
50
- server: { type: "string", alias: "s", description: "Server base URL" },
51
- token: { type: "string", alias: "t", description: "Bearer token" }
52
- },
53
- run: ({ args }) => {
54
- upsertProfile(args.name, {
55
- name: args.name,
56
- server: args.server,
57
- token: args.token
58
- });
59
- process.stdout.write(`${GREEN}Profile "${args.name}" saved.${RESET}
60
- `);
61
- }
62
- }),
63
- use: defineCommand({
64
- meta: { name: "use", description: "Set the active profile" },
65
- args: {
66
- name: { type: "positional", description: "Profile name", required: true }
67
- },
68
- run: ({ args }) => {
69
- if (setActiveProfile(args.name)) {
70
- process.stdout.write(`${GREEN}Active profile set to "${args.name}".${RESET}
71
- `);
72
- } else {
73
- process.stderr.write(`${RED}Profile "${args.name}" not found.${RESET}
74
- `);
75
- process.exit(1);
76
- }
77
- }
78
- }),
79
- show: defineCommand({
80
- meta: { name: "show", description: "Show details of a profile" },
81
- args: {
82
- name: { type: "positional", description: "Profile name", required: true }
83
- },
84
- run: ({ args }) => {
85
- const config = loadProfiles();
86
- const profile = config.profiles[args.name];
87
- if (!profile) {
88
- process.stderr.write(`${RED}Profile "${args.name}" not found.${RESET}
89
- `);
90
- process.exit(1);
91
- }
92
- const active = config.active === args.name;
93
- process.stdout.write(`${BOLD}${args.name}${RESET}${active ? ` ${GREEN}(active)${RESET}` : ""}
94
- `);
95
- if (profile.server) process.stdout.write(` Server: ${profile.server}
96
- `);
97
- if (profile.token) process.stdout.write(` Token: ${profile.token.substring(0, 20)}...
98
- `);
99
- if (profile.org_id) process.stdout.write(` Org: ${profile.org_id}
100
- `);
101
- if (profile.user_id) process.stdout.write(` User: ${profile.user_id}
102
- `);
103
- if (profile.expires_at) process.stdout.write(` Expires: ${profile.expires_at}
104
- `);
105
- if (profile.headers) {
106
- process.stdout.write(` Headers:
107
- `);
108
- for (const [k, v] of Object.entries(profile.headers)) {
109
- process.stdout.write(` ${k}: ${v}
110
- `);
111
- }
112
- }
113
- }
114
- }),
115
- delete: defineCommand({
116
- meta: { name: "delete", description: "Delete a profile" },
117
- args: {
118
- name: { type: "positional", description: "Profile name", required: true }
119
- },
120
- run: ({ args }) => {
121
- if (deleteProfile(args.name)) {
122
- process.stdout.write(`${GREEN}Profile "${args.name}" deleted.${RESET}
123
- `);
124
- } else {
125
- process.stderr.write(`${RED}Profile "${args.name}" not found.${RESET}
126
- `);
127
- process.exit(1);
128
- }
129
- }
130
- })
131
- }
132
- });
133
- export {
134
- profile_default as default
135
- };
@@ -1,51 +0,0 @@
1
- #!/usr/bin/env node
2
- import {
3
- callApi
4
- } from "./chunk-57PPARIW.js";
5
- import "./chunk-5WUPDZ5D.js";
6
- import "./chunk-IST42ZNL.js";
7
- import "./chunk-RC3GCXCI.js";
8
- import "./chunk-TKZLQD2B.js";
9
-
10
- // src/commands/apis/purpose.ts
11
- import { defineCommand } from "citty";
12
- var purpose_default = defineCommand({
13
- meta: { name: "purpose", description: "Purpose API" },
14
- args: {
15
- operation: { type: "positional", description: "operationId to call", required: false },
16
- param: { type: "string", alias: "p", description: "Parameter key=value" },
17
- data: { type: "string", alias: "d", description: "Request body JSON" },
18
- header: { type: "string", alias: "H", description: "Custom header" },
19
- include: { type: "boolean", alias: "i", description: "Include response headers" },
20
- definition: { type: "string", description: "Override OpenAPI spec file/URL" },
21
- server: { type: "string", alias: "s", description: "Override server base URL" },
22
- profile: { type: "string", description: "Use a named profile" },
23
- token: { type: "string", alias: "t", description: "Bearer token" },
24
- json: { type: "boolean", description: "Output raw JSON" },
25
- verbose: { type: "boolean", alias: "v", description: "Verbose output" },
26
- interactive: { type: "boolean", description: "Interactive mode" },
27
- jsonata: { type: "string", description: "JSONata expression to transform response" },
28
- _ophelp: { type: "boolean", description: "Show operation help", required: false }
29
- },
30
- run: ({ args, rawArgs }) => {
31
- const positionalArgs = [];
32
- if (args.operation && rawArgs) {
33
- const opIdx = rawArgs.indexOf(args.operation);
34
- if (opIdx >= 0) {
35
- for (let i = opIdx + 1; i < rawArgs.length; i++) {
36
- const arg = rawArgs[i];
37
- if (arg.startsWith("-")) break;
38
- positionalArgs.push(arg);
39
- }
40
- }
41
- }
42
- return callApi("purpose", {
43
- ...args,
44
- help: !!args._ophelp,
45
- _args: positionalArgs
46
- });
47
- }
48
- });
49
- export {
50
- purpose_default as default
51
- };
@@ -1,51 +0,0 @@
1
- #!/usr/bin/env node
2
- import {
3
- callApi
4
- } from "./chunk-57PPARIW.js";
5
- import "./chunk-5WUPDZ5D.js";
6
- import "./chunk-IST42ZNL.js";
7
- import "./chunk-RC3GCXCI.js";
8
- import "./chunk-TKZLQD2B.js";
9
-
10
- // src/commands/apis/sandbox.ts
11
- import { defineCommand } from "citty";
12
- var sandbox_default = defineCommand({
13
- meta: { name: "sandbox", description: "Sandbox API" },
14
- args: {
15
- operation: { type: "positional", description: "operationId to call", required: false },
16
- param: { type: "string", alias: "p", description: "Parameter key=value" },
17
- data: { type: "string", alias: "d", description: "Request body JSON" },
18
- header: { type: "string", alias: "H", description: "Custom header" },
19
- include: { type: "boolean", alias: "i", description: "Include response headers" },
20
- definition: { type: "string", description: "Override OpenAPI spec file/URL" },
21
- server: { type: "string", alias: "s", description: "Override server base URL" },
22
- profile: { type: "string", description: "Use a named profile" },
23
- token: { type: "string", alias: "t", description: "Bearer token" },
24
- json: { type: "boolean", description: "Output raw JSON" },
25
- verbose: { type: "boolean", alias: "v", description: "Verbose output" },
26
- interactive: { type: "boolean", description: "Interactive mode" },
27
- jsonata: { type: "string", description: "JSONata expression to transform response" },
28
- _ophelp: { type: "boolean", description: "Show operation help", required: false }
29
- },
30
- run: ({ args, rawArgs }) => {
31
- const positionalArgs = [];
32
- if (args.operation && rawArgs) {
33
- const opIdx = rawArgs.indexOf(args.operation);
34
- if (opIdx >= 0) {
35
- for (let i = opIdx + 1; i < rawArgs.length; i++) {
36
- const arg = rawArgs[i];
37
- if (arg.startsWith("-")) break;
38
- positionalArgs.push(arg);
39
- }
40
- }
41
- }
42
- return callApi("sandbox", {
43
- ...args,
44
- help: !!args._ophelp,
45
- _args: positionalArgs
46
- });
47
- }
48
- });
49
- export {
50
- sandbox_default as default
51
- };
@@ -1,51 +0,0 @@
1
- #!/usr/bin/env node
2
- import {
3
- callApi
4
- } from "./chunk-57PPARIW.js";
5
- import "./chunk-5WUPDZ5D.js";
6
- import "./chunk-IST42ZNL.js";
7
- import "./chunk-RC3GCXCI.js";
8
- import "./chunk-TKZLQD2B.js";
9
-
10
- // src/commands/apis/submission.ts
11
- import { defineCommand } from "citty";
12
- var submission_default = defineCommand({
13
- meta: { name: "submission", description: "Submission API" },
14
- args: {
15
- operation: { type: "positional", description: "operationId to call", required: false },
16
- param: { type: "string", alias: "p", description: "Parameter key=value" },
17
- data: { type: "string", alias: "d", description: "Request body JSON" },
18
- header: { type: "string", alias: "H", description: "Custom header" },
19
- include: { type: "boolean", alias: "i", description: "Include response headers" },
20
- definition: { type: "string", description: "Override OpenAPI spec file/URL" },
21
- server: { type: "string", alias: "s", description: "Override server base URL" },
22
- profile: { type: "string", description: "Use a named profile" },
23
- token: { type: "string", alias: "t", description: "Bearer token" },
24
- json: { type: "boolean", description: "Output raw JSON" },
25
- verbose: { type: "boolean", alias: "v", description: "Verbose output" },
26
- interactive: { type: "boolean", description: "Interactive mode" },
27
- jsonata: { type: "string", description: "JSONata expression to transform response" },
28
- _ophelp: { type: "boolean", description: "Show operation help", required: false }
29
- },
30
- run: ({ args, rawArgs }) => {
31
- const positionalArgs = [];
32
- if (args.operation && rawArgs) {
33
- const opIdx = rawArgs.indexOf(args.operation);
34
- if (opIdx >= 0) {
35
- for (let i = opIdx + 1; i < rawArgs.length; i++) {
36
- const arg = rawArgs[i];
37
- if (arg.startsWith("-")) break;
38
- positionalArgs.push(arg);
39
- }
40
- }
41
- }
42
- return callApi("submission", {
43
- ...args,
44
- help: !!args._ophelp,
45
- _args: positionalArgs
46
- });
47
- }
48
- });
49
- export {
50
- submission_default as default
51
- };
@@ -1,51 +0,0 @@
1
- #!/usr/bin/env node
2
- import {
3
- callApi
4
- } from "./chunk-57PPARIW.js";
5
- import "./chunk-5WUPDZ5D.js";
6
- import "./chunk-IST42ZNL.js";
7
- import "./chunk-RC3GCXCI.js";
8
- import "./chunk-TKZLQD2B.js";
9
-
10
- // src/commands/apis/targeting.ts
11
- import { defineCommand } from "citty";
12
- var targeting_default = defineCommand({
13
- meta: { name: "targeting", description: "Targeting API" },
14
- args: {
15
- operation: { type: "positional", description: "operationId to call", required: false },
16
- param: { type: "string", alias: "p", description: "Parameter key=value" },
17
- data: { type: "string", alias: "d", description: "Request body JSON" },
18
- header: { type: "string", alias: "H", description: "Custom header" },
19
- include: { type: "boolean", alias: "i", description: "Include response headers" },
20
- definition: { type: "string", description: "Override OpenAPI spec file/URL" },
21
- server: { type: "string", alias: "s", description: "Override server base URL" },
22
- profile: { type: "string", description: "Use a named profile" },
23
- token: { type: "string", alias: "t", description: "Bearer token" },
24
- json: { type: "boolean", description: "Output raw JSON" },
25
- verbose: { type: "boolean", alias: "v", description: "Verbose output" },
26
- interactive: { type: "boolean", description: "Interactive mode" },
27
- jsonata: { type: "string", description: "JSONata expression to transform response" },
28
- _ophelp: { type: "boolean", description: "Show operation help", required: false }
29
- },
30
- run: ({ args, rawArgs }) => {
31
- const positionalArgs = [];
32
- if (args.operation && rawArgs) {
33
- const opIdx = rawArgs.indexOf(args.operation);
34
- if (opIdx >= 0) {
35
- for (let i = opIdx + 1; i < rawArgs.length; i++) {
36
- const arg = rawArgs[i];
37
- if (arg.startsWith("-")) break;
38
- positionalArgs.push(arg);
39
- }
40
- }
41
- }
42
- return callApi("targeting", {
43
- ...args,
44
- help: !!args._ophelp,
45
- _args: positionalArgs
46
- });
47
- }
48
- });
49
- export {
50
- targeting_default as default
51
- };
@@ -1,51 +0,0 @@
1
- #!/usr/bin/env node
2
- import {
3
- callApi
4
- } from "./chunk-57PPARIW.js";
5
- import "./chunk-5WUPDZ5D.js";
6
- import "./chunk-IST42ZNL.js";
7
- import "./chunk-RC3GCXCI.js";
8
- import "./chunk-TKZLQD2B.js";
9
-
10
- // src/commands/apis/template-variables.ts
11
- import { defineCommand } from "citty";
12
- var template_variables_default = defineCommand({
13
- meta: { name: "template-variables", description: "Template Variables API" },
14
- args: {
15
- operation: { type: "positional", description: "operationId to call", required: false },
16
- param: { type: "string", alias: "p", description: "Parameter key=value" },
17
- data: { type: "string", alias: "d", description: "Request body JSON" },
18
- header: { type: "string", alias: "H", description: "Custom header" },
19
- include: { type: "boolean", alias: "i", description: "Include response headers" },
20
- definition: { type: "string", description: "Override OpenAPI spec file/URL" },
21
- server: { type: "string", alias: "s", description: "Override server base URL" },
22
- profile: { type: "string", description: "Use a named profile" },
23
- token: { type: "string", alias: "t", description: "Bearer token" },
24
- json: { type: "boolean", description: "Output raw JSON" },
25
- verbose: { type: "boolean", alias: "v", description: "Verbose output" },
26
- interactive: { type: "boolean", description: "Interactive mode" },
27
- jsonata: { type: "string", description: "JSONata expression to transform response" },
28
- _ophelp: { type: "boolean", description: "Show operation help", required: false }
29
- },
30
- run: ({ args, rawArgs }) => {
31
- const positionalArgs = [];
32
- if (args.operation && rawArgs) {
33
- const opIdx = rawArgs.indexOf(args.operation);
34
- if (opIdx >= 0) {
35
- for (let i = opIdx + 1; i < rawArgs.length; i++) {
36
- const arg = rawArgs[i];
37
- if (arg.startsWith("-")) break;
38
- positionalArgs.push(arg);
39
- }
40
- }
41
- }
42
- return callApi("template-variables", {
43
- ...args,
44
- help: !!args._ophelp,
45
- _args: positionalArgs
46
- });
47
- }
48
- });
49
- export {
50
- template_variables_default as default
51
- };
@@ -1,51 +0,0 @@
1
- #!/usr/bin/env node
2
- import {
3
- callApi
4
- } from "./chunk-57PPARIW.js";
5
- import "./chunk-5WUPDZ5D.js";
6
- import "./chunk-IST42ZNL.js";
7
- import "./chunk-RC3GCXCI.js";
8
- import "./chunk-TKZLQD2B.js";
9
-
10
- // src/commands/apis/user.ts
11
- import { defineCommand } from "citty";
12
- var user_default = defineCommand({
13
- meta: { name: "user", description: "User API" },
14
- args: {
15
- operation: { type: "positional", description: "operationId to call", required: false },
16
- param: { type: "string", alias: "p", description: "Parameter key=value" },
17
- data: { type: "string", alias: "d", description: "Request body JSON" },
18
- header: { type: "string", alias: "H", description: "Custom header" },
19
- include: { type: "boolean", alias: "i", description: "Include response headers" },
20
- definition: { type: "string", description: "Override OpenAPI spec file/URL" },
21
- server: { type: "string", alias: "s", description: "Override server base URL" },
22
- profile: { type: "string", description: "Use a named profile" },
23
- token: { type: "string", alias: "t", description: "Bearer token" },
24
- json: { type: "boolean", description: "Output raw JSON" },
25
- verbose: { type: "boolean", alias: "v", description: "Verbose output" },
26
- interactive: { type: "boolean", description: "Interactive mode" },
27
- jsonata: { type: "string", description: "JSONata expression to transform response" },
28
- _ophelp: { type: "boolean", description: "Show operation help", required: false }
29
- },
30
- run: ({ args, rawArgs }) => {
31
- const positionalArgs = [];
32
- if (args.operation && rawArgs) {
33
- const opIdx = rawArgs.indexOf(args.operation);
34
- if (opIdx >= 0) {
35
- for (let i = opIdx + 1; i < rawArgs.length; i++) {
36
- const arg = rawArgs[i];
37
- if (arg.startsWith("-")) break;
38
- positionalArgs.push(arg);
39
- }
40
- }
41
- }
42
- return callApi("user", {
43
- ...args,
44
- help: !!args._ophelp,
45
- _args: positionalArgs
46
- });
47
- }
48
- });
49
- export {
50
- user_default as default
51
- };
@@ -1,51 +0,0 @@
1
- #!/usr/bin/env node
2
- import {
3
- callApi
4
- } from "./chunk-57PPARIW.js";
5
- import "./chunk-5WUPDZ5D.js";
6
- import "./chunk-IST42ZNL.js";
7
- import "./chunk-RC3GCXCI.js";
8
- import "./chunk-TKZLQD2B.js";
9
-
10
- // src/commands/apis/validation-rules.ts
11
- import { defineCommand } from "citty";
12
- var validation_rules_default = defineCommand({
13
- meta: { name: "validation-rules", description: "Validation Rules API" },
14
- args: {
15
- operation: { type: "positional", description: "operationId to call", required: false },
16
- param: { type: "string", alias: "p", description: "Parameter key=value" },
17
- data: { type: "string", alias: "d", description: "Request body JSON" },
18
- header: { type: "string", alias: "H", description: "Custom header" },
19
- include: { type: "boolean", alias: "i", description: "Include response headers" },
20
- definition: { type: "string", description: "Override OpenAPI spec file/URL" },
21
- server: { type: "string", alias: "s", description: "Override server base URL" },
22
- profile: { type: "string", description: "Use a named profile" },
23
- token: { type: "string", alias: "t", description: "Bearer token" },
24
- json: { type: "boolean", description: "Output raw JSON" },
25
- verbose: { type: "boolean", alias: "v", description: "Verbose output" },
26
- interactive: { type: "boolean", description: "Interactive mode" },
27
- jsonata: { type: "string", description: "JSONata expression to transform response" },
28
- _ophelp: { type: "boolean", description: "Show operation help", required: false }
29
- },
30
- run: ({ args, rawArgs }) => {
31
- const positionalArgs = [];
32
- if (args.operation && rawArgs) {
33
- const opIdx = rawArgs.indexOf(args.operation);
34
- if (opIdx >= 0) {
35
- for (let i = opIdx + 1; i < rawArgs.length; i++) {
36
- const arg = rawArgs[i];
37
- if (arg.startsWith("-")) break;
38
- positionalArgs.push(arg);
39
- }
40
- }
41
- }
42
- return callApi("validation-rules", {
43
- ...args,
44
- help: !!args._ophelp,
45
- _args: positionalArgs
46
- });
47
- }
48
- });
49
- export {
50
- validation_rules_default as default
51
- };
@@ -1,51 +0,0 @@
1
- #!/usr/bin/env node
2
- import {
3
- callApi
4
- } from "./chunk-57PPARIW.js";
5
- import "./chunk-5WUPDZ5D.js";
6
- import "./chunk-IST42ZNL.js";
7
- import "./chunk-RC3GCXCI.js";
8
- import "./chunk-TKZLQD2B.js";
9
-
10
- // src/commands/apis/webhooks.ts
11
- import { defineCommand } from "citty";
12
- var webhooks_default = defineCommand({
13
- meta: { name: "webhooks", description: "Webhooks" },
14
- args: {
15
- operation: { type: "positional", description: "operationId to call", required: false },
16
- param: { type: "string", alias: "p", description: "Parameter key=value" },
17
- data: { type: "string", alias: "d", description: "Request body JSON" },
18
- header: { type: "string", alias: "H", description: "Custom header" },
19
- include: { type: "boolean", alias: "i", description: "Include response headers" },
20
- definition: { type: "string", description: "Override OpenAPI spec file/URL" },
21
- server: { type: "string", alias: "s", description: "Override server base URL" },
22
- profile: { type: "string", description: "Use a named profile" },
23
- token: { type: "string", alias: "t", description: "Bearer token" },
24
- json: { type: "boolean", description: "Output raw JSON" },
25
- verbose: { type: "boolean", alias: "v", description: "Verbose output" },
26
- interactive: { type: "boolean", description: "Interactive mode" },
27
- jsonata: { type: "string", description: "JSONata expression to transform response" },
28
- _ophelp: { type: "boolean", description: "Show operation help", required: false }
29
- },
30
- run: ({ args, rawArgs }) => {
31
- const positionalArgs = [];
32
- if (args.operation && rawArgs) {
33
- const opIdx = rawArgs.indexOf(args.operation);
34
- if (opIdx >= 0) {
35
- for (let i = opIdx + 1; i < rawArgs.length; i++) {
36
- const arg = rawArgs[i];
37
- if (arg.startsWith("-")) break;
38
- positionalArgs.push(arg);
39
- }
40
- }
41
- }
42
- return callApi("webhooks", {
43
- ...args,
44
- help: !!args._ophelp,
45
- _args: positionalArgs
46
- });
47
- }
48
- });
49
- export {
50
- webhooks_default as default
51
- };