@curviate/cli 0.48.0 → 0.50.0-next.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.
Files changed (70) hide show
  1. package/CHANGELOG.md +72 -0
  2. package/README.md +47 -6
  3. package/dist/{account-WKQHMM7P.js → account-KGCGUYKF.js} +668 -116
  4. package/dist/analytics-HRAD4ABO.js +27 -0
  5. package/dist/beta-consent-364JI6IL.js +81 -0
  6. package/dist/billing-3SSVRS2Y.js +124 -0
  7. package/dist/{chunk-Q63IIPL2.js → chunk-25MO7BYN.js} +4 -4
  8. package/dist/{chunk-76SWLAZ6.js → chunk-2W4RN5ON.js} +59 -1
  9. package/dist/chunk-5S3MJVI5.js +22 -0
  10. package/dist/chunk-67S4JHZZ.js +339 -0
  11. package/dist/chunk-73DJ3KNE.js +54 -0
  12. package/dist/chunk-CQGDMARG.js +525 -0
  13. package/dist/{chunk-Y7K4UBFC.js → chunk-DOHBOYXN.js} +1 -1
  14. package/dist/{chunk-TSOIZBBU.js → chunk-DSGKYZDK.js} +1 -1
  15. package/dist/{chunk-YLSJ4HKU.js → chunk-ENBIMEKS.js} +26 -1
  16. package/dist/{chunk-LCGXJGPB.js → chunk-GHMRPX5H.js} +7 -1
  17. package/dist/chunk-GOICALYQ.js +28 -0
  18. package/dist/chunk-L4CIJT6F.js +144 -0
  19. package/dist/{chunk-PQWDDSV7.js → chunk-L7JH3W56.js} +1 -1
  20. package/dist/{chunk-YFXLXION.js → chunk-OE6YFYUM.js} +85 -10
  21. package/dist/chunk-PPGKQJKU.js +38 -0
  22. package/dist/{chunk-MKGVNDMJ.js → chunk-QM57YDJE.js} +13 -201
  23. package/dist/{chunk-CVMSQ3OF.js → chunk-RYWWSZUH.js} +17 -3
  24. package/dist/chunk-T6GBS5SS.js +58 -0
  25. package/dist/{chunk-AYKKXGTR.js → chunk-TE3WBPW6.js} +392 -14
  26. package/dist/chunk-UL53T4O6.js +52 -0
  27. package/dist/chunk-UWQPX4AE.js +20 -0
  28. package/dist/{chunk-OHXYFICP.js → chunk-YXVF5UST.js} +77 -4
  29. package/dist/cli.js +35 -17
  30. package/dist/{comment-7IQ6ZOJF.js → comment-5JKGNYOY.js} +90 -11
  31. package/dist/{company-RD7RDGSA.js → company-TXST2VXW.js} +65 -15
  32. package/dist/{config-EYBNYRGK.js → config-TVIQUVNK.js} +53 -4
  33. package/dist/{connect-HVXT67A6.js → connect-RBL6U4KV.js} +63 -18
  34. package/dist/contact-YAHC5QFX.js +32 -0
  35. package/dist/contact-groups-DKOIBC57.js +399 -0
  36. package/dist/contact-import-ITSJQV7K.js +336 -0
  37. package/dist/core-PWMJPPRG.js +46 -0
  38. package/dist/do-not-contact-WDYIBWYA.js +200 -0
  39. package/dist/{doctor-HUXQERLQ.js → doctor-F7JLPTED.js} +65 -11
  40. package/dist/{document-AUUCGST2.js → document-BHYAUJ6F.js} +1 -1
  41. package/dist/{draft-DFO22K6Q.js → draft-TDJJUXLH.js} +60 -14
  42. package/dist/enrollment-Q6UOKHPY.js +484 -0
  43. package/dist/{examples-64YT5V5K.js → examples-DQSVIIXZ.js} +2 -2
  44. package/dist/{exit-codes-AW6KHDDN.js → exit-codes-7DBETBDT.js} +1 -1
  45. package/dist/export-HIJSCJS6.js +96 -0
  46. package/dist/{feed-JWP6ANPI.js → feed-W56ZTA4Z.js} +13 -10
  47. package/dist/{group-SIQFJEZV.js → group-AUALYK5H.js} +18 -10
  48. package/dist/{inbox-MMIMCA5O.js → inbox-HLZR2ZPV.js} +31 -12
  49. package/dist/{inboxes-RND3D4C7.js → inboxes-IZTRD6FE.js} +14 -10
  50. package/dist/incoming-ULB2RNV4.js +218 -0
  51. package/dist/{job-ACFKBLFK.js → job-55IKS6LP.js} +65 -13
  52. package/dist/{login-ZOB5KVKQ.js → login-DPZ6CXNO.js} +13 -4
  53. package/dist/{message-OFK6UVXR.js → message-J44YKRDS.js} +9 -7
  54. package/dist/motion-SQI5F2EK.js +868 -0
  55. package/dist/network-K4QD7APQ.js +235 -0
  56. package/dist/{notification-KKGAZU7M.js → notification-SEDXZHXO.js} +38 -11
  57. package/dist/notifications-HGIBRUNQ.js +231 -0
  58. package/dist/{post-A5SBCFB2.js → post-L467SKIG.js} +92 -12
  59. package/dist/{profile-4SOOQZ4K.js → profile-A2N6RMR2.js} +79 -23
  60. package/dist/{recruiter-YN73STDP.js → recruiter-AR75RHBO.js} +132 -21
  61. package/dist/{sales-nav-JXF5RY2K.js → sales-nav-C2AYFXPV.js} +73 -18
  62. package/dist/{search-JAL242A2.js → search-Z4DZIG4X.js} +55 -23
  63. package/dist/{setup-WICWH4JG.js → setup-45BEVX6B.js} +69 -17
  64. package/dist/team-6QWY4IFP.js +450 -0
  65. package/dist/tier-2HS3BXDF.js +61 -0
  66. package/dist/unibox-DHUKG65Z.js +402 -0
  67. package/dist/{webhook-UGKVYWBC.js → webhook-Q53WUAI2.js} +273 -45
  68. package/package.json +2 -2
  69. package/dist/chunk-GQKC6E5K.js +0 -36
  70. package/dist/core-6XYGUNAY.js +0 -46
@@ -0,0 +1,27 @@
1
+ #!/usr/bin/env node
2
+ import {
3
+ GRAMMAR_ARGS,
4
+ WINDOW_ARGS,
5
+ analyticsCommand,
6
+ grammarParams,
7
+ renderOverview,
8
+ windowParams
9
+ } from "./chunk-67S4JHZZ.js";
10
+ import "./chunk-5S3MJVI5.js";
11
+ import "./chunk-PPGKQJKU.js";
12
+ import "./chunk-T6GBS5SS.js";
13
+ import "./chunk-NNV2OYEF.js";
14
+ import "./chunk-L4CIJT6F.js";
15
+ import "./chunk-QM57YDJE.js";
16
+ import "./chunk-YXVF5UST.js";
17
+ import "./chunk-RYWWSZUH.js";
18
+ import "./chunk-73DJ3KNE.js";
19
+ import "./chunk-ZYURL5VK.js";
20
+ export {
21
+ GRAMMAR_ARGS,
22
+ WINDOW_ARGS,
23
+ analyticsCommand,
24
+ grammarParams,
25
+ renderOverview,
26
+ windowParams
27
+ };
@@ -0,0 +1,81 @@
1
+ #!/usr/bin/env node
2
+ import {
3
+ fail,
4
+ outputOpts,
5
+ rootClient,
6
+ usage
7
+ } from "./chunk-T6GBS5SS.js";
8
+ import {
9
+ buildPreviewOutput
10
+ } from "./chunk-TCUYH5GO.js";
11
+ import {
12
+ renderSuccess
13
+ } from "./chunk-QM57YDJE.js";
14
+ import "./chunk-YXVF5UST.js";
15
+ import {
16
+ READ_SINGLE_FLAGS,
17
+ WRITE_SINGLE_FLAGS,
18
+ readOnly
19
+ } from "./chunk-RYWWSZUH.js";
20
+ import {
21
+ DESCRIPTIONS
22
+ } from "./chunk-73DJ3KNE.js";
23
+ import "./chunk-ZYURL5VK.js";
24
+
25
+ // src/commands/beta-consent.ts
26
+ import { defineCommand } from "citty";
27
+ async function runStatus(c, f) {
28
+ try {
29
+ renderSuccess(await c.tenant.beta.get(), outputOpts(f), process);
30
+ } catch (err) {
31
+ await fail(err, f);
32
+ }
33
+ }
34
+ async function runUpdate(c, f) {
35
+ if (f.enabled !== "true" && f.enabled !== "false") usage("--enabled takes true or false.");
36
+ const body = { beta_enabled: f.enabled === "true" };
37
+ if (f.preview) return void process.stdout.write(JSON.stringify(buildPreviewOutput({ method: "tenant.beta.set", args: {}, body })) + "\n");
38
+ try {
39
+ renderSuccess(await c.tenant.beta.set(body), outputOpts(f), process);
40
+ } catch (err) {
41
+ await fail(err, f);
42
+ }
43
+ }
44
+ var online = (fn) => async ({ args }) => {
45
+ const f = args;
46
+ await fn(await rootClient(f), f);
47
+ };
48
+ var statusCmd = defineCommand({
49
+ meta: { name: "status", description: "Whether beta operations run for your Team without --beta.", risk: "read", examples: ["curviate beta status"] },
50
+ args: readOnly(READ_SINGLE_FLAGS),
51
+ run: online(runStatus)
52
+ });
53
+ var updateCmd = defineCommand({
54
+ meta: {
55
+ name: "update",
56
+ description: "Turn the Team's beta consent on or off. Owners only. On: beta operations run without --beta for every key of the Team.",
57
+ risk: "write",
58
+ rules: {
59
+ changes: "Sets the Team's beta consent.",
60
+ visible_to: "Your Team.",
61
+ budget_rows: [],
62
+ retry: "Safe to repeat: the same setting again.",
63
+ undo: "Run it with the other value."
64
+ },
65
+ errors: { INSUFFICIENT_ROLE: "only an Owner can change it." },
66
+ examples: ["curviate beta update --enabled true"]
67
+ },
68
+ args: { ...WRITE_SINGLE_FLAGS, enabled: { type: "string", required: true, description: "true or false." } },
69
+ run: online(runUpdate)
70
+ });
71
+ var betaCommand = defineCommand({
72
+ meta: { name: "beta", description: DESCRIPTIONS.beta },
73
+ subCommands: { status: statusCmd, update: updateCmd },
74
+ async run() {
75
+ const { showHelp } = await import("./examples-DQSVIIXZ.js");
76
+ await showHelp(betaCommand, ["curviate", "beta"]);
77
+ }
78
+ });
79
+ export {
80
+ betaCommand
81
+ };
@@ -0,0 +1,124 @@
1
+ #!/usr/bin/env node
2
+ import {
3
+ writeAtomic
4
+ } from "./chunk-GOICALYQ.js";
5
+ import {
6
+ fail,
7
+ outputOpts,
8
+ rootClient,
9
+ usage
10
+ } from "./chunk-T6GBS5SS.js";
11
+ import {
12
+ intFlag
13
+ } from "./chunk-NNV2OYEF.js";
14
+ import {
15
+ pageDelayFromFlags,
16
+ readCursorFlag,
17
+ readMaxPagesFlag,
18
+ readablePage,
19
+ rejectPaginationModifiersWithoutAll,
20
+ streamAll
21
+ } from "./chunk-L4CIJT6F.js";
22
+ import {
23
+ renderSuccess,
24
+ writeNdjsonItem
25
+ } from "./chunk-QM57YDJE.js";
26
+ import {
27
+ downloadBinary
28
+ } from "./chunk-YXVF5UST.js";
29
+ import {
30
+ GLOBAL_FLAGS,
31
+ readOnly
32
+ } from "./chunk-RYWWSZUH.js";
33
+ import {
34
+ DESCRIPTIONS
35
+ } from "./chunk-73DJ3KNE.js";
36
+ import "./chunk-ZYURL5VK.js";
37
+
38
+ // src/commands/billing.ts
39
+ import { defineCommand } from "citty";
40
+ var online = (fn) => async ({ args }) => {
41
+ const f = args;
42
+ await fn(await rootClient(f), f);
43
+ };
44
+ async function runList(c, f) {
45
+ rejectPaginationModifiersWithoutAll(f, process);
46
+ const params = {};
47
+ if (f.limit !== void 0) params["limit"] = intFlag("limit", f.limit, 1, 100);
48
+ const cursor = readCursorFlag(f, process);
49
+ if (cursor) params["cursor"] = cursor;
50
+ try {
51
+ if (f.all) {
52
+ const page = (p) => c.billing.invoices.list(p);
53
+ for await (const item of streamAll(page, params, { maxPages: readMaxPagesFlag(f, process), out: process, pageDelayMs: pageDelayFromFlags(f) })) writeNdjsonItem(process, item, f.fields);
54
+ } else {
55
+ renderSuccess(readablePage(await c.billing.invoices.list(params)), outputOpts(f), process);
56
+ }
57
+ } catch (err) {
58
+ await fail(err, f);
59
+ }
60
+ }
61
+ async function runPdf(c, f) {
62
+ const number = String(f.number ?? "");
63
+ if (number.trim() === "") usage("the invoice number is empty. Take it from `curviate billing invoices`.");
64
+ if (f.output === void 0 || f.output.trim() === "") usage("-o <file> is required: the PDF is written there, or to stdout with -o - when stdout is not a terminal.");
65
+ if (f.output === "-" && process.stdout.isTTY) usage("-o - would write a PDF to the terminal. Pass a file name.");
66
+ let bytes;
67
+ try {
68
+ bytes = Buffer.from(await downloadBinary(() => c.billing.invoices.pdf(number)));
69
+ } catch (err) {
70
+ return fail(err, f);
71
+ }
72
+ if (f.output === "-") process.stdout.write(bytes);
73
+ else {
74
+ try {
75
+ writeAtomic(f.output, bytes);
76
+ } catch (err) {
77
+ usage(`-o: cannot write ${f.output}: ${err.code ?? "write error"}.`);
78
+ }
79
+ }
80
+ process.stderr.write(`Invoice ${number}: ${bytes.length} bytes${f.output === "-" ? "" : ` written to ${f.output}`}.
81
+ `);
82
+ }
83
+ var pdfCmd = defineCommand({
84
+ meta: {
85
+ name: "pdf",
86
+ description: "Download one invoice as a PDF, by its number from `curviate billing invoices`. Owners only. The file is written whole or not at all.",
87
+ risk: "read",
88
+ output: ["The PDF bytes, to -o <file> (replaced whole on success) or, with -o -, to stdout; a byte count on stderr."],
89
+ examples: ["curviate billing invoices pdf INV-0001 -o invoice.pdf"]
90
+ },
91
+ args: {
92
+ "api-key": GLOBAL_FLAGS["api-key"],
93
+ profile: GLOBAL_FLAGS.profile,
94
+ team: GLOBAL_FLAGS.team,
95
+ "base-url": GLOBAL_FLAGS["base-url"],
96
+ timeout: GLOBAL_FLAGS.timeout,
97
+ number: { type: "positional", description: "The invoice number, from the invoice list." },
98
+ output: { type: "string", alias: "o", required: true, description: "Write the PDF to this path, or - for stdout." }
99
+ },
100
+ run: online(runPdf)
101
+ });
102
+ var invoicesCmd = defineCommand({
103
+ meta: {
104
+ name: "invoices",
105
+ description: "List your Team's issued invoices, newest first: number, amount (in the currency's smallest unit), status and service period. No links: download a PDF by its number. Owners only.",
106
+ risk: "read",
107
+ output: ["`items` (number, created_at, period_start, period_end, total, currency, status) and a `cursor`; with --all, one invoice per line."],
108
+ examples: ["curviate billing invoices", "curviate billing invoices --json --limit 12"]
109
+ },
110
+ args: { ...readOnly(GLOBAL_FLAGS) },
111
+ subCommands: { pdf: pdfCmd },
112
+ run: online(runList)
113
+ });
114
+ var billingCommand = defineCommand({
115
+ meta: { name: "billing", description: DESCRIPTIONS.billing },
116
+ subCommands: { invoices: invoicesCmd },
117
+ async run() {
118
+ const { showHelp } = await import("./examples-DQSVIIXZ.js");
119
+ await showHelp(billingCommand, ["curviate", "billing"]);
120
+ }
121
+ });
122
+ export {
123
+ billingCommand
124
+ };
@@ -1,13 +1,13 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  readablePage
4
- } from "./chunk-MKGVNDMJ.js";
5
- import {
6
- getExitCode
7
- } from "./chunk-76SWLAZ6.js";
4
+ } from "./chunk-L4CIJT6F.js";
8
5
  import {
9
6
  assertNoStdinPlaceholder
10
7
  } from "./chunk-ZYURL5VK.js";
8
+ import {
9
+ getExitCode
10
+ } from "./chunk-2W4RN5ON.js";
11
11
 
12
12
  // src/lib/path-safety.ts
13
13
  var UNSAFE_CHARS = /[\u0000-\u0020\u007F/\\?#%]/;
@@ -30,11 +30,19 @@ var EXIT_CODE_MAP = {
30
30
  ACCOUNT_REQUIRED: 2,
31
31
  DRAFT_NOT_PUBLISHABLE: 2,
32
32
  SCHEDULE_CONFLICT: 2,
33
+ TEAM_REQUIRED: 2,
34
+ NOTHING_TO_REDELIVER: 2,
35
+ WEBHOOK_DISABLED: 2,
36
+ WEBHOOK_TEMPLATE_INVALID: 2,
33
37
  // Not found (4)
34
38
  RESOURCE_NOT_FOUND: 4,
35
39
  ACCOUNT_NOT_FOUND: 4,
36
40
  SUBSCRIPTION_NOT_FOUND: 4,
37
41
  SEAT_NOT_FOUND: 4,
42
+ EXPORT_EXPIRED: 4,
43
+ EXPORT_REMOVED: 4,
44
+ REDELIVERY_EXPIRED: 4,
45
+ INCOMING_URL_RETIRED: 4,
38
46
  // Entitlement (5), three independent refusals, see the note above
39
47
  NO_ACTIVE_SEAT: 5,
40
48
  LINKEDIN_FEATURE_NOT_SUBSCRIBED: 5,
@@ -50,6 +58,9 @@ var EXIT_CODE_MAP = {
50
58
  // 7: a publish of this Draft is in flight (or being settled); read it again
51
59
  // in a few seconds. A busy state, not a malformed request.
52
60
  DRAFT_PUBLISHING: 7,
61
+ EXPORT_IN_PROGRESS: 7,
62
+ EXPORT_NOT_READY: 7,
63
+ DELIVERY_IN_FLIGHT: 7,
53
64
  // Account / connection state (8)
54
65
  ACCOUNT_RESTRICTED: 8,
55
66
  RESOURCE_ACCESS_RESTRICTED: 8,
@@ -68,6 +79,7 @@ var EXIT_CODE_MAP = {
68
79
  // cannot land there, which is account/connection state. user_fixable, not
69
80
  // retryable as sent: pick a nearby country or allow fallback.
70
81
  CONNECTION_LOCATION_UNAVAILABLE: 8,
82
+ LINKEDIN_SIGN_IN_REQUIRED: 8,
71
83
  // Checkpoint flow (9)
72
84
  CHECKPOINT_NOT_FOUND: 9,
73
85
  CHECKPOINT_EXPIRED: 9,
@@ -78,11 +90,14 @@ var EXIT_CODE_MAP = {
78
90
  // Messaging window / recipient (10)
79
91
  MESSAGE_WINDOW_EXPIRED: 10,
80
92
  RECIPIENT_UNREACHABLE: 10,
93
+ CHAT_NOT_VISIBLE: 10,
94
+ DO_NOT_CONTACT: 10,
81
95
  // Billing (11)
82
96
  PAYMENT_REQUIRED: 11,
83
97
  PAYMENT_FAILED: 11,
84
98
  SUBSCRIPTION_BUSY: 11,
85
99
  SEAT_CANCELLED: 11,
100
+ SEAT_LENT: 11,
86
101
  // Account-safety budget (13), see the note above for why this is not 6
87
102
  BUDGET_EXHAUSTED: 13,
88
103
  // Nothing stored (14), A NEW BUCKET, and deliberately not 4.
@@ -156,7 +171,50 @@ var EXIT_CODE_MAP = {
156
171
  // takes the same bucket. Not 7, which tells the caller to retry with
157
172
  // backoff. Not 11, which tells the caller the tenant's billing is at fault,
158
173
  // and here it is not. The `--json` envelope still names the real code.
159
- STRIPE_DRIFT_DETECTED: 1
174
+ STRIPE_DRIFT_DETECTED: 1,
175
+ // Teams: the credential is valid, a person with the right
176
+ // role, or the Account's own person, must act first (5, never 3, which tells
177
+ // a script to rotate its key). The credential is another team's: 3. The
178
+ // rest never succeed as sent: 2. TIER_REQUIRED joins the entitlement bucket.
179
+ INSUFFICIENT_ROLE: 5,
180
+ ACCOUNT_NOT_SHARED: 5,
181
+ ACCOUNT_OWNER_ONLY: 5,
182
+ BILLING_OWNER_REQUIRED: 5,
183
+ LAST_OWNER: 5,
184
+ TIER_REQUIRED: 5,
185
+ TEAM_ACCESS_DENIED: 3,
186
+ DEFAULT_TEAM_PROTECTED: 2,
187
+ ALREADY_MEMBER: 2,
188
+ INVITE_ALREADY_PENDING: 2,
189
+ INVITE_NOT_PENDING: 2,
190
+ INVITE_LIMIT_REACHED: 2,
191
+ // 8: the request's state forbids it (connection state), not a usage error: the same input works on a pending one.
192
+ CONNECT_REQUEST_NOT_PENDING: 8,
193
+ CONNECT_REQUEST_IN_USE: 8,
194
+ LINKEDIN_ACCOUNT_MISMATCH: 8,
195
+ // Contacts: a cap or a name clash never succeeds as sent; a full import queue drains (6).
196
+ NAME_TAKEN: 2,
197
+ RESOURCE_IN_USE: 2,
198
+ CONTACT_LIMIT_REACHED: 2,
199
+ IMPORT_QUEUE_FULL: 6,
200
+ // Motions and Enrollments. Every refusal but one never succeeds as
201
+ // sent (2): fix the document, merge the newer Sequence, or pick another
202
+ // Enrollment or Account. STEP_IN_FLIGHT settles within a minute (7, the
203
+ // DRAFT_PUBLISHING precedent: read again, then retry).
204
+ SEQUENCE_INVALID: 2,
205
+ SEQUENCE_CONFLICT: 2,
206
+ MOTION_NOT_STARTABLE: 2,
207
+ MOTION_STATUS_CONFLICT: 2,
208
+ ENROLLMENT_NOT_ACTIVE: 2,
209
+ NOTHING_TO_RETRY: 2,
210
+ ACCOUNT_ALREADY_ENGAGED: 2,
211
+ ALREADY_ENROLLED_ON_ACCOUNT: 2,
212
+ KNOWN_CHAT: 2,
213
+ CONTACT_NOT_ENROLLABLE: 2,
214
+ CHAT_NOT_ONE_TO_ONE: 2,
215
+ STEP_IN_FLIGHT: 7,
216
+ // Client-side: no response within --timeout. Transient, as a refused connection is.
217
+ CLIENT_TIMEOUT: 7
160
218
  };
161
219
  function getExitCode(error) {
162
220
  if (typeof error === "string") return EXIT_CODE_MAP[error] ?? 1;
@@ -0,0 +1,22 @@
1
+ #!/usr/bin/env node
2
+
3
+ // src/lib/table.ts
4
+ var cell = (v) => v === null || v === void 0 || v === "" ? "-" : typeof v === "object" ? JSON.stringify(v) : String(v);
5
+ function table(head, rows) {
6
+ const cells = rows.map((r) => head.map((_, i) => cell(r[i])));
7
+ const w = head.map((h, i) => Math.max(h.length, ...cells.map((r) => r[i].length)));
8
+ return [head, ...cells].map((r) => r.map((c, i) => c.padEnd(w[i])).join(" ").trimEnd()).join("\n");
9
+ }
10
+ function rate(o, num, den) {
11
+ const r = o;
12
+ if (!r || typeof r !== "object") return "-";
13
+ const pct = typeof r["rate"] === "number" ? ` ${Math.round(r["rate"] * 100)}%` : "";
14
+ return `${cell(r[num])}/${cell(r[den])}${pct}`;
15
+ }
16
+ var print = (text) => void process.stdout.write(text + "\n");
17
+
18
+ export {
19
+ table,
20
+ rate,
21
+ print
22
+ };