@dimmi/api 0.1.0 → 0.2.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/dist/schema.d.ts +155 -0
- package/package.json +1 -1
package/dist/schema.d.ts
CHANGED
|
@@ -3927,6 +3927,46 @@ export interface paths {
|
|
|
3927
3927
|
patch?: never;
|
|
3928
3928
|
trace?: never;
|
|
3929
3929
|
};
|
|
3930
|
+
"/email-sending": {
|
|
3931
|
+
parameters: {
|
|
3932
|
+
query?: never;
|
|
3933
|
+
header?: never;
|
|
3934
|
+
path?: never;
|
|
3935
|
+
cookie?: never;
|
|
3936
|
+
};
|
|
3937
|
+
/**
|
|
3938
|
+
* Read whether the workspace may send email
|
|
3939
|
+
* @description Reads whether email sending is paused, why, and the bounce and complaint counts it is judged by. Returns whether sending is paused, the reason, the last week's counts and the rates that pause it.
|
|
3940
|
+
*/
|
|
3941
|
+
get: operations["email-sending.show"];
|
|
3942
|
+
put?: never;
|
|
3943
|
+
post?: never;
|
|
3944
|
+
delete?: never;
|
|
3945
|
+
options?: never;
|
|
3946
|
+
head?: never;
|
|
3947
|
+
patch?: never;
|
|
3948
|
+
trace?: never;
|
|
3949
|
+
};
|
|
3950
|
+
"/email-sending/resumptions": {
|
|
3951
|
+
parameters: {
|
|
3952
|
+
query?: never;
|
|
3953
|
+
header?: never;
|
|
3954
|
+
path?: never;
|
|
3955
|
+
cookie?: never;
|
|
3956
|
+
};
|
|
3957
|
+
get?: never;
|
|
3958
|
+
put?: never;
|
|
3959
|
+
/**
|
|
3960
|
+
* Resume email sending
|
|
3961
|
+
* @description Lets a paused workspace send email again and forgets its counts. Takes an owner or an admin. Returns the workspace's standing as a sender as it is now.
|
|
3962
|
+
*/
|
|
3963
|
+
post: operations["email-sending.resumptions.store"];
|
|
3964
|
+
delete?: never;
|
|
3965
|
+
options?: never;
|
|
3966
|
+
head?: never;
|
|
3967
|
+
patch?: never;
|
|
3968
|
+
trace?: never;
|
|
3969
|
+
};
|
|
3930
3970
|
"/email-signatures": {
|
|
3931
3971
|
parameters: {
|
|
3932
3972
|
query?: never;
|
|
@@ -17456,6 +17496,60 @@ export interface components {
|
|
|
17456
17496
|
/** @description The API address that returns the domain's records as a BIND zone file, to import at a DNS host. */
|
|
17457
17497
|
zone_file: string;
|
|
17458
17498
|
};
|
|
17499
|
+
EmailSending: {
|
|
17500
|
+
/**
|
|
17501
|
+
* Format: double
|
|
17502
|
+
* @description The share of the window's emails that may bounce for good before bulk sending pauses, from 0 to 1. Zero means bounces never pause it.
|
|
17503
|
+
*/
|
|
17504
|
+
bounce_pause_rate: number;
|
|
17505
|
+
/**
|
|
17506
|
+
* Format: int64
|
|
17507
|
+
* @description How many emails sent in the window were reported as spam.
|
|
17508
|
+
*/
|
|
17509
|
+
complained: number;
|
|
17510
|
+
/**
|
|
17511
|
+
* Format: double
|
|
17512
|
+
* @description The share of the window's emails that may be reported as spam before bulk sending pauses, from 0 to 1. Zero means complaints never pause it.
|
|
17513
|
+
*/
|
|
17514
|
+
complaint_pause_rate: number;
|
|
17515
|
+
/**
|
|
17516
|
+
* Format: int64
|
|
17517
|
+
* @description How many emails sent in the window bounced for good, such as to an address that does not exist.
|
|
17518
|
+
*/
|
|
17519
|
+
hard_bounced: number;
|
|
17520
|
+
/**
|
|
17521
|
+
* Format: int64
|
|
17522
|
+
* @description How many emails the window must hold before the workspace is judged.
|
|
17523
|
+
*/
|
|
17524
|
+
minimum_sent: number;
|
|
17525
|
+
/** @description The kind of record this is, the same for every record of its kind, such as article. */
|
|
17526
|
+
object: string;
|
|
17527
|
+
/**
|
|
17528
|
+
* Format: date-time
|
|
17529
|
+
* @description When bulk sending was paused, as a UTC time. Null while it is active.
|
|
17530
|
+
*/
|
|
17531
|
+
paused_at: string | null;
|
|
17532
|
+
/**
|
|
17533
|
+
* @description Why bulk sending paused: bounce_rate or complaint_rate. Null while it is active.
|
|
17534
|
+
* @enum {string|null}
|
|
17535
|
+
*/
|
|
17536
|
+
paused_reason: "bounce_rate" | "complaint_rate" | null;
|
|
17537
|
+
/**
|
|
17538
|
+
* Format: int64
|
|
17539
|
+
* @description How many customer emails the workspace sent in the window.
|
|
17540
|
+
*/
|
|
17541
|
+
sent: number;
|
|
17542
|
+
/**
|
|
17543
|
+
* @description Whether the workspace may send bulk email: active, or paused, when broadcasts, series and rating emails wait while replies still send.
|
|
17544
|
+
* @enum {string}
|
|
17545
|
+
*/
|
|
17546
|
+
status: "active" | "paused";
|
|
17547
|
+
/**
|
|
17548
|
+
* Format: int64
|
|
17549
|
+
* @description How many days of sending the counts cover.
|
|
17550
|
+
*/
|
|
17551
|
+
window_days: number;
|
|
17552
|
+
};
|
|
17459
17553
|
EmailSignature: {
|
|
17460
17554
|
/** @description The signature's text, in short Markdown with links and emphasis only, up to 2000 characters. */
|
|
17461
17555
|
body: string;
|
|
@@ -22147,6 +22241,9 @@ export interface components {
|
|
|
22147
22241
|
ResourceEmailDomain: {
|
|
22148
22242
|
data: components["schemas"]["EmailDomain"];
|
|
22149
22243
|
};
|
|
22244
|
+
ResourceEmailSending: {
|
|
22245
|
+
data: components["schemas"]["EmailSending"];
|
|
22246
|
+
};
|
|
22150
22247
|
ResourceEmailSignature: {
|
|
22151
22248
|
data: components["schemas"]["EmailSignature"];
|
|
22152
22249
|
};
|
|
@@ -37590,6 +37687,64 @@ export interface operations {
|
|
|
37590
37687
|
};
|
|
37591
37688
|
};
|
|
37592
37689
|
};
|
|
37690
|
+
"email-sending.show": {
|
|
37691
|
+
parameters: {
|
|
37692
|
+
query?: never;
|
|
37693
|
+
header?: never;
|
|
37694
|
+
path?: never;
|
|
37695
|
+
cookie?: never;
|
|
37696
|
+
};
|
|
37697
|
+
requestBody?: never;
|
|
37698
|
+
responses: {
|
|
37699
|
+
/** @description OK */
|
|
37700
|
+
200: {
|
|
37701
|
+
headers: {
|
|
37702
|
+
[name: string]: unknown;
|
|
37703
|
+
};
|
|
37704
|
+
content: {
|
|
37705
|
+
"application/json": components["schemas"]["ResourceEmailSending"];
|
|
37706
|
+
};
|
|
37707
|
+
};
|
|
37708
|
+
/** @description Error */
|
|
37709
|
+
default: {
|
|
37710
|
+
headers: {
|
|
37711
|
+
[name: string]: unknown;
|
|
37712
|
+
};
|
|
37713
|
+
content: {
|
|
37714
|
+
"application/json": components["schemas"]["ResponseError"];
|
|
37715
|
+
};
|
|
37716
|
+
};
|
|
37717
|
+
};
|
|
37718
|
+
};
|
|
37719
|
+
"email-sending.resumptions.store": {
|
|
37720
|
+
parameters: {
|
|
37721
|
+
query?: never;
|
|
37722
|
+
header?: never;
|
|
37723
|
+
path?: never;
|
|
37724
|
+
cookie?: never;
|
|
37725
|
+
};
|
|
37726
|
+
requestBody?: never;
|
|
37727
|
+
responses: {
|
|
37728
|
+
/** @description Created */
|
|
37729
|
+
201: {
|
|
37730
|
+
headers: {
|
|
37731
|
+
[name: string]: unknown;
|
|
37732
|
+
};
|
|
37733
|
+
content: {
|
|
37734
|
+
"application/json": components["schemas"]["ResourceEmailSending"];
|
|
37735
|
+
};
|
|
37736
|
+
};
|
|
37737
|
+
/** @description Error */
|
|
37738
|
+
default: {
|
|
37739
|
+
headers: {
|
|
37740
|
+
[name: string]: unknown;
|
|
37741
|
+
};
|
|
37742
|
+
content: {
|
|
37743
|
+
"application/json": components["schemas"]["ResponseError"];
|
|
37744
|
+
};
|
|
37745
|
+
};
|
|
37746
|
+
};
|
|
37747
|
+
};
|
|
37593
37748
|
"email-signatures.index": {
|
|
37594
37749
|
parameters: {
|
|
37595
37750
|
query?: {
|