@sendly/cli 3.4.0 → 3.5.1
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/dist/commands/sms/batch.d.ts +31 -2
- package/dist/commands/sms/batch.js +305 -214
- package/dist/commands/status.js +119 -42
- package/dist/lib/api-client.d.ts +13 -0
- package/dist/lib/api-client.js +76 -1
- package/dist/lib/base-command.js +8 -2
- package/oclif.manifest.json +41 -14
- package/package.json +2 -4
|
@@ -9,10 +9,39 @@ export default class SmsBatch extends AuthenticatedCommand {
|
|
|
9
9
|
from: import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
10
10
|
type: import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
11
11
|
"dry-run": import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
|
|
12
|
+
reuse: import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
13
|
+
history: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
|
|
12
14
|
json: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
|
|
13
15
|
quiet: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
|
|
14
16
|
};
|
|
15
17
|
run(): Promise<void>;
|
|
16
|
-
|
|
17
|
-
|
|
18
|
+
/**
|
|
19
|
+
* Show batch upload history
|
|
20
|
+
*/
|
|
21
|
+
private showHistory;
|
|
22
|
+
/**
|
|
23
|
+
* Re-use a previous batch upload
|
|
24
|
+
*/
|
|
25
|
+
private reuseBatch;
|
|
26
|
+
/**
|
|
27
|
+
* Send to inline recipients (--to flag)
|
|
28
|
+
* This path doesn't upload to Supabase since it's just a few numbers
|
|
29
|
+
*/
|
|
30
|
+
private sendInlineRecipients;
|
|
31
|
+
/**
|
|
32
|
+
* Upload CSV to Supabase and send
|
|
33
|
+
*/
|
|
34
|
+
private uploadAndSend;
|
|
35
|
+
/**
|
|
36
|
+
* Preview or send the batch
|
|
37
|
+
*/
|
|
38
|
+
private previewOrSend;
|
|
39
|
+
/**
|
|
40
|
+
* Show batch preview (dry-run mode)
|
|
41
|
+
*/
|
|
42
|
+
private showPreview;
|
|
43
|
+
/**
|
|
44
|
+
* Format bytes to human readable string
|
|
45
|
+
*/
|
|
46
|
+
private formatBytes;
|
|
18
47
|
}
|