@sendmux/cli 1.5.0 → 1.6.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 (37) hide show
  1. package/README.md +26 -3
  2. package/dist/base-command.d.ts +11 -4
  3. package/dist/base-command.d.ts.map +1 -1
  4. package/dist/base-command.js +24 -1
  5. package/dist/commands/auth/login.d.ts +14 -0
  6. package/dist/commands/auth/login.d.ts.map +1 -0
  7. package/dist/commands/auth/login.js +36 -0
  8. package/dist/commands/auth/logout.d.ts +9 -0
  9. package/dist/commands/auth/logout.d.ts.map +1 -0
  10. package/dist/commands/auth/logout.js +22 -0
  11. package/dist/commands/mailbox/stream-events.d.ts +6 -6
  12. package/dist/commands/profiles/list.d.ts.map +1 -1
  13. package/dist/commands/profiles/list.js +3 -1
  14. package/dist/commands/profiles/set.d.ts.map +1 -1
  15. package/dist/commands/profiles/set.js +4 -1
  16. package/dist/commands/profiles/show.d.ts.map +1 -1
  17. package/dist/commands/profiles/show.js +25 -23
  18. package/dist/generated/operations.d.ts +6 -6
  19. package/dist/generated/operations.js +7 -7
  20. package/dist/index.d.ts +1 -1
  21. package/dist/index.d.ts.map +1 -1
  22. package/dist/oauth-http.d.ts +18 -0
  23. package/dist/oauth-http.d.ts.map +1 -0
  24. package/dist/oauth-http.js +113 -0
  25. package/dist/oauth-login.d.ts +13 -0
  26. package/dist/oauth-login.d.ts.map +1 -0
  27. package/dist/oauth-login.js +236 -0
  28. package/dist/oauth-profile.d.ts +6 -0
  29. package/dist/oauth-profile.d.ts.map +1 -0
  30. package/dist/oauth-profile.js +123 -0
  31. package/dist/operation-runner.d.ts.map +1 -1
  32. package/dist/operation-runner.js +1 -1
  33. package/dist/profiles.d.ts +23 -1
  34. package/dist/profiles.d.ts.map +1 -1
  35. package/dist/profiles.js +4 -1
  36. package/oclif.manifest.json +1459 -1368
  37. package/package.json +2 -2
@@ -113,51 +113,16 @@
113
113
  "register.js"
114
114
  ]
115
115
  },
116
- "profiles:list": {
117
- "aliases": [],
118
- "args": {},
119
- "description": "List local Sendmux CLI profiles.",
120
- "flags": {
121
- "json": {
122
- "description": "Format output as json.",
123
- "helpGroup": "GLOBAL",
124
- "name": "json",
125
- "allowNo": false,
126
- "type": "boolean"
127
- },
128
- "verbose": {
129
- "description": "Include masked API key prefixes.",
130
- "name": "verbose",
131
- "allowNo": false,
132
- "type": "boolean"
133
- }
134
- },
135
- "hasDynamicHelp": false,
136
- "hiddenAliases": [],
137
- "id": "profiles:list",
138
- "pluginAlias": "@sendmux/cli",
139
- "pluginName": "@sendmux/cli",
140
- "pluginType": "core",
141
- "strict": true,
142
- "enableJsonFlag": true,
143
- "isESM": true,
144
- "relativePath": [
145
- "dist",
146
- "commands",
147
- "profiles",
148
- "list.js"
149
- ]
150
- },
151
- "profiles:set": {
116
+ "auth:login": {
152
117
  "aliases": [],
153
118
  "args": {
154
119
  "name": {
155
- "description": "Profile name.",
120
+ "description": "New profile name.",
156
121
  "name": "name",
157
122
  "required": true
158
123
  }
159
124
  },
160
- "description": "Create or update a local Sendmux CLI profile.",
125
+ "description": "Sign in through the browser and save an OAuth profile.",
161
126
  "flags": {
162
127
  "json": {
163
128
  "description": "Format output as json.",
@@ -166,31 +131,32 @@
166
131
  "allowNo": false,
167
132
  "type": "boolean"
168
133
  },
169
- "api-key": {
170
- "description": "Sendmux API key. Defaults to SENDMUX_API_KEY.",
171
- "name": "api-key",
172
- "required": false,
134
+ "issuer": {
135
+ "description": "Sendmux authorization-server issuer.",
136
+ "name": "issuer",
137
+ "default": "https://app.sendmux.ai",
173
138
  "hasDynamicHelp": false,
174
139
  "multiple": false,
175
140
  "type": "option"
176
141
  },
177
- "base-url": {
178
- "description": "Optional API base URL override for this profile.",
179
- "name": "base-url",
142
+ "scope": {
143
+ "description": "Permission to request. Repeat for multiple scopes.",
144
+ "name": "scope",
145
+ "required": true,
180
146
  "hasDynamicHelp": false,
181
- "multiple": false,
147
+ "multiple": true,
182
148
  "type": "option"
183
149
  },
184
- "default": {
185
- "description": "Make this the default profile.",
186
- "name": "default",
150
+ "no-browser": {
151
+ "description": "Print the authorization URL without opening a browser.",
152
+ "name": "no-browser",
187
153
  "allowNo": false,
188
154
  "type": "boolean"
189
155
  }
190
156
  },
191
157
  "hasDynamicHelp": false,
192
158
  "hiddenAliases": [],
193
- "id": "profiles:set",
159
+ "id": "auth:login",
194
160
  "pluginAlias": "@sendmux/cli",
195
161
  "pluginName": "@sendmux/cli",
196
162
  "pluginType": "core",
@@ -200,20 +166,19 @@
200
166
  "relativePath": [
201
167
  "dist",
202
168
  "commands",
203
- "profiles",
204
- "set.js"
169
+ "auth",
170
+ "login.js"
205
171
  ]
206
172
  },
207
- "profiles:show": {
173
+ "auth:logout": {
208
174
  "aliases": [],
209
175
  "args": {
210
176
  "name": {
211
- "description": "Profile name. Defaults to the configured default profile.",
212
- "name": "name",
213
- "required": false
177
+ "description": "OAuth profile name. Defaults to the configured profile.",
178
+ "name": "name"
214
179
  }
215
180
  },
216
- "description": "Show a local Sendmux CLI profile without revealing its key.",
181
+ "description": "Revoke an OAuth connection and remove its local profile.",
217
182
  "flags": {
218
183
  "json": {
219
184
  "description": "Format output as json.",
@@ -225,7 +190,7 @@
225
190
  },
226
191
  "hasDynamicHelp": false,
227
192
  "hiddenAliases": [],
228
- "id": "profiles:show",
193
+ "id": "auth:logout",
229
194
  "pluginAlias": "@sendmux/cli",
230
195
  "pluginName": "@sendmux/cli",
231
196
  "pluginType": "core",
@@ -235,8 +200,8 @@
235
200
  "relativePath": [
236
201
  "dist",
237
202
  "commands",
238
- "profiles",
239
- "show.js"
203
+ "auth",
204
+ "logout.js"
240
205
  ]
241
206
  },
242
207
  "mailbox:batch-delete-messages": {
@@ -6950,6 +6915,13 @@
6950
6915
  "path": "/mailbox/events",
6951
6916
  "pathParams": [],
6952
6917
  "queryParams": [
6918
+ {
6919
+ "name": "mailbox_id",
6920
+ "required": false,
6921
+ "schema": {
6922
+ "type": "string"
6923
+ }
6924
+ },
6953
6925
  {
6954
6926
  "name": "event_types",
6955
6927
  "required": false,
@@ -6981,13 +6953,6 @@
6981
6953
  "minimum": 30,
6982
6954
  "maximum": 3600
6983
6955
  }
6984
- },
6985
- {
6986
- "name": "mailbox_id",
6987
- "required": false,
6988
- "schema": {
6989
- "type": "string"
6990
- }
6991
6956
  }
6992
6957
  ],
6993
6958
  "responseKind": "json",
@@ -7682,10 +7647,10 @@
7682
7647
  "upload-attachment.js"
7683
7648
  ]
7684
7649
  },
7685
- "sending:complete-attachment-upload": {
7650
+ "management:activate-provider": {
7686
7651
  "aliases": [],
7687
7652
  "args": {},
7688
- "description": "Upload bytes to an attachment upload URL",
7653
+ "description": "Activate a sending account",
7689
7654
  "flags": {
7690
7655
  "json": {
7691
7656
  "description": "Format output as json.",
@@ -7805,64 +7770,56 @@
7805
7770
  },
7806
7771
  "hasDynamicHelp": false,
7807
7772
  "hiddenAliases": [],
7808
- "id": "sending:complete-attachment-upload",
7773
+ "id": "management:activate-provider",
7809
7774
  "pluginAlias": "@sendmux/cli",
7810
7775
  "pluginName": "@sendmux/cli",
7811
7776
  "pluginType": "core",
7812
7777
  "strict": true,
7813
7778
  "enableJsonFlag": true,
7814
7779
  "operation": {
7815
- "bodyKind": "binary",
7816
- "command": "sending:complete-attachment-upload",
7817
- "description": "Upload bytes to an attachment upload URL",
7780
+ "bodyKind": "none",
7781
+ "command": "management:activate-provider",
7782
+ "description": "Activate a sending account",
7818
7783
  "headerParams": [
7819
7784
  {
7820
- "name": "X-Sendmux-Upload-Token",
7821
- "required": true,
7822
- "schema": {
7823
- "type": "string"
7824
- }
7825
- },
7826
- {
7827
- "name": "Content-Length",
7828
- "required": true,
7785
+ "name": "Idempotency-Key",
7786
+ "required": false,
7829
7787
  "schema": {
7830
- "type": "integer",
7831
- "minimum": 1
7788
+ "type": "string",
7789
+ "maxLength": 255
7832
7790
  }
7833
7791
  }
7834
7792
  ],
7835
- "method": "put",
7836
- "operationId": "sendingCompleteAttachmentUpload",
7837
- "path": "/emails/attachment-uploads/{upload_id}",
7793
+ "method": "post",
7794
+ "operationId": "managementActivateProvider",
7795
+ "path": "/providers/{public_id}/activate",
7838
7796
  "pathParams": [
7839
7797
  {
7840
- "name": "upload_id",
7798
+ "name": "public_id",
7841
7799
  "required": true,
7842
7800
  "schema": {
7843
- "type": "string",
7844
- "pattern": "^upl_[a-z0-9]{24}$"
7801
+ "type": "string"
7845
7802
  }
7846
7803
  }
7847
7804
  ],
7848
7805
  "queryParams": [],
7849
7806
  "responseKind": "json",
7850
- "requestBodyRequired": true,
7851
- "requiredKeyKind": "none",
7852
- "surface": "sending"
7807
+ "requestBodyRequired": false,
7808
+ "requiredKeyKind": "root",
7809
+ "surface": "management"
7853
7810
  },
7854
7811
  "isESM": true,
7855
7812
  "relativePath": [
7856
7813
  "dist",
7857
7814
  "commands",
7858
- "sending",
7859
- "complete-attachment-upload.js"
7815
+ "management",
7816
+ "activate-provider.js"
7860
7817
  ]
7861
7818
  },
7862
- "sending:create-attachment-upload": {
7819
+ "management:cancel-shared-amazon-ses-limit-request": {
7863
7820
  "aliases": [],
7864
7821
  "args": {},
7865
- "description": "Create an attachment upload URL",
7822
+ "description": "Cancel a shared Amazon SES daily limit request",
7866
7823
  "flags": {
7867
7824
  "json": {
7868
7825
  "description": "Format output as json.",
@@ -7982,48 +7939,47 @@
7982
7939
  },
7983
7940
  "hasDynamicHelp": false,
7984
7941
  "hiddenAliases": [],
7985
- "id": "sending:create-attachment-upload",
7942
+ "id": "management:cancel-shared-amazon-ses-limit-request",
7986
7943
  "pluginAlias": "@sendmux/cli",
7987
7944
  "pluginName": "@sendmux/cli",
7988
7945
  "pluginType": "core",
7989
7946
  "strict": true,
7990
7947
  "enableJsonFlag": true,
7991
7948
  "operation": {
7992
- "bodyKind": "json",
7993
- "command": "sending:create-attachment-upload",
7994
- "description": "Create an attachment upload URL",
7995
- "headerParams": [
7949
+ "bodyKind": "none",
7950
+ "command": "management:cancel-shared-amazon-ses-limit-request",
7951
+ "description": "Cancel a shared Amazon SES daily limit request",
7952
+ "headerParams": [],
7953
+ "method": "delete",
7954
+ "operationId": "managementCancelSharedAmazonSesLimitRequest",
7955
+ "path": "/providers/shared-amazon-ses-limit-request/{request_id}",
7956
+ "pathParams": [
7996
7957
  {
7997
- "name": "Idempotency-Key",
7998
- "required": false,
7958
+ "name": "request_id",
7959
+ "required": true,
7999
7960
  "schema": {
8000
- "type": "string",
8001
- "maxLength": 255
7961
+ "type": "string"
8002
7962
  }
8003
7963
  }
8004
7964
  ],
8005
- "method": "post",
8006
- "operationId": "sendingCreateAttachmentUpload",
8007
- "path": "/emails/attachment-uploads",
8008
- "pathParams": [],
8009
7965
  "queryParams": [],
8010
7966
  "responseKind": "json",
8011
- "requestBodyRequired": true,
8012
- "requiredKeyKind": "sending",
8013
- "surface": "sending"
7967
+ "requestBodyRequired": false,
7968
+ "requiredKeyKind": "root",
7969
+ "surface": "management"
8014
7970
  },
8015
7971
  "isESM": true,
8016
7972
  "relativePath": [
8017
7973
  "dist",
8018
7974
  "commands",
8019
- "sending",
8020
- "create-attachment-upload.js"
7975
+ "management",
7976
+ "cancel-shared-amazon-ses-limit-request.js"
8021
7977
  ]
8022
7978
  },
8023
- "sending:get-attachment": {
7979
+ "management:check-mailbox-availability": {
8024
7980
  "aliases": [],
8025
7981
  "args": {},
8026
- "description": "Get attachment metadata",
7982
+ "description": "Check mailbox address availability",
8027
7983
  "flags": {
8028
7984
  "json": {
8029
7985
  "description": "Format output as json.",
@@ -8143,7 +8099,7 @@
8143
8099
  },
8144
8100
  "hasDynamicHelp": false,
8145
8101
  "hiddenAliases": [],
8146
- "id": "sending:get-attachment",
8102
+ "id": "management:check-mailbox-availability",
8147
8103
  "pluginAlias": "@sendmux/cli",
8148
8104
  "pluginName": "@sendmux/cli",
8149
8105
  "pluginType": "core",
@@ -8151,40 +8107,39 @@
8151
8107
  "enableJsonFlag": true,
8152
8108
  "operation": {
8153
8109
  "bodyKind": "none",
8154
- "command": "sending:get-attachment",
8155
- "description": "Get attachment metadata",
8110
+ "command": "management:check-mailbox-availability",
8111
+ "description": "Check mailbox address availability",
8156
8112
  "headerParams": [],
8157
8113
  "method": "get",
8158
- "operationId": "sendingGetAttachment",
8159
- "path": "/emails/attachments/{attachment_id}",
8160
- "pathParams": [
8114
+ "operationId": "managementCheckMailboxAvailability",
8115
+ "path": "/mailboxes/availability",
8116
+ "pathParams": [],
8117
+ "queryParams": [
8161
8118
  {
8162
- "name": "attachment_id",
8119
+ "name": "email",
8163
8120
  "required": true,
8164
8121
  "schema": {
8165
- "type": "string",
8166
- "pattern": "^att_[a-z0-9]{24}$"
8122
+ "type": "string"
8167
8123
  }
8168
8124
  }
8169
8125
  ],
8170
- "queryParams": [],
8171
8126
  "responseKind": "json",
8172
8127
  "requestBodyRequired": false,
8173
- "requiredKeyKind": "sending",
8174
- "surface": "sending"
8128
+ "requiredKeyKind": "root",
8129
+ "surface": "management"
8175
8130
  },
8176
8131
  "isESM": true,
8177
8132
  "relativePath": [
8178
8133
  "dist",
8179
8134
  "commands",
8180
- "sending",
8181
- "get-attachment.js"
8135
+ "management",
8136
+ "check-mailbox-availability.js"
8182
8137
  ]
8183
8138
  },
8184
- "sending:get-connection": {
8139
+ "management:create-domain": {
8185
8140
  "aliases": [],
8186
8141
  "args": {},
8187
- "description": "Get Sending connection",
8142
+ "description": "Add a mailbox domain",
8188
8143
  "flags": {
8189
8144
  "json": {
8190
8145
  "description": "Format output as json.",
@@ -8304,47 +8259,48 @@
8304
8259
  },
8305
8260
  "hasDynamicHelp": false,
8306
8261
  "hiddenAliases": [],
8307
- "id": "sending:get-connection",
8262
+ "id": "management:create-domain",
8308
8263
  "pluginAlias": "@sendmux/cli",
8309
8264
  "pluginName": "@sendmux/cli",
8310
8265
  "pluginType": "core",
8311
8266
  "strict": true,
8312
8267
  "enableJsonFlag": true,
8313
8268
  "operation": {
8314
- "bodyKind": "none",
8315
- "command": "sending:get-connection",
8316
- "description": "Get Sending connection",
8269
+ "bodyKind": "json",
8270
+ "command": "management:create-domain",
8271
+ "description": "Add a mailbox domain",
8317
8272
  "headerParams": [
8318
8273
  {
8319
- "name": "If-None-Match",
8274
+ "name": "Idempotency-Key",
8320
8275
  "required": false,
8321
8276
  "schema": {
8322
- "type": "string"
8277
+ "type": "string",
8278
+ "maxLength": 255
8323
8279
  }
8324
8280
  }
8325
8281
  ],
8326
- "method": "get",
8327
- "operationId": "sendingGetConnection",
8328
- "path": "/me",
8282
+ "method": "post",
8283
+ "operationId": "managementCreateDomain",
8284
+ "path": "/domains",
8329
8285
  "pathParams": [],
8330
8286
  "queryParams": [],
8331
8287
  "responseKind": "json",
8332
8288
  "requestBodyRequired": false,
8333
- "requiredKeyKind": "sending",
8334
- "surface": "sending"
8289
+ "requiredKeyKind": "root",
8290
+ "surface": "management"
8335
8291
  },
8336
8292
  "isESM": true,
8337
8293
  "relativePath": [
8338
8294
  "dist",
8339
8295
  "commands",
8340
- "sending",
8341
- "get-connection.js"
8296
+ "management",
8297
+ "create-domain.js"
8342
8298
  ]
8343
8299
  },
8344
- "sending:get-open-api-spec": {
8300
+ "management:create-mailbox-key": {
8345
8301
  "aliases": [],
8346
8302
  "args": {},
8347
- "description": "OpenAPI 3.1 specification",
8303
+ "description": "Create a mailbox API key",
8348
8304
  "flags": {
8349
8305
  "json": {
8350
8306
  "description": "Format output as json.",
@@ -8464,47 +8420,56 @@
8464
8420
  },
8465
8421
  "hasDynamicHelp": false,
8466
8422
  "hiddenAliases": [],
8467
- "id": "sending:get-open-api-spec",
8423
+ "id": "management:create-mailbox-key",
8468
8424
  "pluginAlias": "@sendmux/cli",
8469
8425
  "pluginName": "@sendmux/cli",
8470
8426
  "pluginType": "core",
8471
8427
  "strict": true,
8472
8428
  "enableJsonFlag": true,
8473
8429
  "operation": {
8474
- "bodyKind": "none",
8475
- "command": "sending:get-open-api-spec",
8476
- "description": "OpenAPI 3.1 specification",
8430
+ "bodyKind": "json",
8431
+ "command": "management:create-mailbox-key",
8432
+ "description": "Create a mailbox API key",
8477
8433
  "headerParams": [
8478
8434
  {
8479
- "name": "If-None-Match",
8435
+ "name": "Idempotency-Key",
8480
8436
  "required": false,
8437
+ "schema": {
8438
+ "type": "string",
8439
+ "maxLength": 255
8440
+ }
8441
+ }
8442
+ ],
8443
+ "method": "post",
8444
+ "operationId": "managementCreateMailboxKey",
8445
+ "path": "/mailboxes/{public_id}/keys",
8446
+ "pathParams": [
8447
+ {
8448
+ "name": "public_id",
8449
+ "required": true,
8481
8450
  "schema": {
8482
8451
  "type": "string"
8483
8452
  }
8484
8453
  }
8485
8454
  ],
8486
- "method": "get",
8487
- "operationId": "sendingGetOpenApiSpec",
8488
- "path": "/openapi.json",
8489
- "pathParams": [],
8490
8455
  "queryParams": [],
8491
8456
  "responseKind": "json",
8492
8457
  "requestBodyRequired": false,
8493
- "requiredKeyKind": "none",
8494
- "surface": "sending"
8458
+ "requiredKeyKind": "root",
8459
+ "surface": "management"
8495
8460
  },
8496
8461
  "isESM": true,
8497
8462
  "relativePath": [
8498
8463
  "dist",
8499
8464
  "commands",
8500
- "sending",
8501
- "get-open-api-spec.js"
8465
+ "management",
8466
+ "create-mailbox-key.js"
8502
8467
  ]
8503
8468
  },
8504
- "sending:send": {
8469
+ "management:create-mailbox": {
8505
8470
  "aliases": [],
8506
8471
  "args": {},
8507
- "description": "Send a single email",
8472
+ "description": "Create a mailbox",
8508
8473
  "flags": {
8509
8474
  "json": {
8510
8475
  "description": "Format output as json.",
@@ -8624,7 +8589,7 @@
8624
8589
  },
8625
8590
  "hasDynamicHelp": false,
8626
8591
  "hiddenAliases": [],
8627
- "id": "sending:send",
8592
+ "id": "management:create-mailbox",
8628
8593
  "pluginAlias": "@sendmux/cli",
8629
8594
  "pluginName": "@sendmux/cli",
8630
8595
  "pluginType": "core",
@@ -8632,8 +8597,8 @@
8632
8597
  "enableJsonFlag": true,
8633
8598
  "operation": {
8634
8599
  "bodyKind": "json",
8635
- "command": "sending:send",
8636
- "description": "Send a single email",
8600
+ "command": "management:create-mailbox",
8601
+ "description": "Create a mailbox",
8637
8602
  "headerParams": [
8638
8603
  {
8639
8604
  "name": "Idempotency-Key",
@@ -8645,27 +8610,27 @@
8645
8610
  }
8646
8611
  ],
8647
8612
  "method": "post",
8648
- "operationId": "sendingSendEmail",
8649
- "path": "/emails/send",
8613
+ "operationId": "managementCreateMailbox",
8614
+ "path": "/mailboxes",
8650
8615
  "pathParams": [],
8651
8616
  "queryParams": [],
8652
8617
  "responseKind": "json",
8653
- "requestBodyRequired": true,
8654
- "requiredKeyKind": "sending",
8655
- "surface": "sending"
8618
+ "requestBodyRequired": false,
8619
+ "requiredKeyKind": "root",
8620
+ "surface": "management"
8656
8621
  },
8657
8622
  "isESM": true,
8658
8623
  "relativePath": [
8659
8624
  "dist",
8660
8625
  "commands",
8661
- "sending",
8662
- "send.js"
8626
+ "management",
8627
+ "create-mailbox.js"
8663
8628
  ]
8664
8629
  },
8665
- "sending:upload-attachment": {
8630
+ "management:create-provider": {
8666
8631
  "aliases": [],
8667
8632
  "args": {},
8668
- "description": "Upload an attachment",
8633
+ "description": "Create an SMTP sending account",
8669
8634
  "flags": {
8670
8635
  "json": {
8671
8636
  "description": "Format output as json.",
@@ -8785,16 +8750,16 @@
8785
8750
  },
8786
8751
  "hasDynamicHelp": false,
8787
8752
  "hiddenAliases": [],
8788
- "id": "sending:upload-attachment",
8753
+ "id": "management:create-provider",
8789
8754
  "pluginAlias": "@sendmux/cli",
8790
8755
  "pluginName": "@sendmux/cli",
8791
8756
  "pluginType": "core",
8792
8757
  "strict": true,
8793
8758
  "enableJsonFlag": true,
8794
8759
  "operation": {
8795
- "bodyKind": "binary",
8796
- "command": "sending:upload-attachment",
8797
- "description": "Upload an attachment",
8760
+ "bodyKind": "json",
8761
+ "command": "management:create-provider",
8762
+ "description": "Create an SMTP sending account",
8798
8763
  "headerParams": [
8799
8764
  {
8800
8765
  "name": "Idempotency-Key",
@@ -8803,56 +8768,30 @@
8803
8768
  "type": "string",
8804
8769
  "maxLength": 255
8805
8770
  }
8806
- },
8807
- {
8808
- "name": "Content-Length",
8809
- "required": true,
8810
- "schema": {
8811
- "type": "integer",
8812
- "minimum": 1
8813
- }
8814
8771
  }
8815
8772
  ],
8816
8773
  "method": "post",
8817
- "operationId": "sendingUploadAttachment",
8818
- "path": "/emails/attachments",
8774
+ "operationId": "managementCreateProvider",
8775
+ "path": "/providers",
8819
8776
  "pathParams": [],
8820
- "queryParams": [
8821
- {
8822
- "name": "filename",
8823
- "required": true,
8824
- "schema": {
8825
- "type": "string",
8826
- "minLength": 1,
8827
- "maxLength": 255
8828
- }
8829
- },
8830
- {
8831
- "name": "content_type",
8832
- "required": false,
8833
- "schema": {
8834
- "type": "string",
8835
- "maxLength": 255
8836
- }
8837
- }
8838
- ],
8777
+ "queryParams": [],
8839
8778
  "responseKind": "json",
8840
- "requestBodyRequired": true,
8841
- "requiredKeyKind": "sending",
8842
- "surface": "sending"
8779
+ "requestBodyRequired": false,
8780
+ "requiredKeyKind": "root",
8781
+ "surface": "management"
8843
8782
  },
8844
8783
  "isESM": true,
8845
8784
  "relativePath": [
8846
8785
  "dist",
8847
8786
  "commands",
8848
- "sending",
8849
- "upload-attachment.js"
8787
+ "management",
8788
+ "create-provider.js"
8850
8789
  ]
8851
8790
  },
8852
- "management:activate-provider": {
8791
+ "management:create-shared-amazon-ses-limit-request": {
8853
8792
  "aliases": [],
8854
8793
  "args": {},
8855
- "description": "Activate a sending account",
8794
+ "description": "Request a shared Amazon SES daily limit increase",
8856
8795
  "flags": {
8857
8796
  "json": {
8858
8797
  "description": "Format output as json.",
@@ -8972,7 +8911,7 @@
8972
8911
  },
8973
8912
  "hasDynamicHelp": false,
8974
8913
  "hiddenAliases": [],
8975
- "id": "management:activate-provider",
8914
+ "id": "management:create-shared-amazon-ses-limit-request",
8976
8915
  "pluginAlias": "@sendmux/cli",
8977
8916
  "pluginName": "@sendmux/cli",
8978
8917
  "pluginType": "core",
@@ -8980,8 +8919,8 @@
8980
8919
  "enableJsonFlag": true,
8981
8920
  "operation": {
8982
8921
  "bodyKind": "none",
8983
- "command": "management:activate-provider",
8984
- "description": "Activate a sending account",
8922
+ "command": "management:create-shared-amazon-ses-limit-request",
8923
+ "description": "Request a shared Amazon SES daily limit increase",
8985
8924
  "headerParams": [
8986
8925
  {
8987
8926
  "name": "Idempotency-Key",
@@ -8993,17 +8932,9 @@
8993
8932
  }
8994
8933
  ],
8995
8934
  "method": "post",
8996
- "operationId": "managementActivateProvider",
8997
- "path": "/providers/{public_id}/activate",
8998
- "pathParams": [
8999
- {
9000
- "name": "public_id",
9001
- "required": true,
9002
- "schema": {
9003
- "type": "string"
9004
- }
9005
- }
9006
- ],
8935
+ "operationId": "managementCreateSharedAmazonSesLimitRequest",
8936
+ "path": "/providers/shared-amazon-ses-limit-request",
8937
+ "pathParams": [],
9007
8938
  "queryParams": [],
9008
8939
  "responseKind": "json",
9009
8940
  "requestBodyRequired": false,
@@ -9015,13 +8946,13 @@
9015
8946
  "dist",
9016
8947
  "commands",
9017
8948
  "management",
9018
- "activate-provider.js"
8949
+ "create-shared-amazon-ses-limit-request.js"
9019
8950
  ]
9020
8951
  },
9021
- "management:cancel-shared-amazon-ses-limit-request": {
8952
+ "management:create-webhook": {
9022
8953
  "aliases": [],
9023
8954
  "args": {},
9024
- "description": "Cancel a shared Amazon SES daily limit request",
8955
+ "description": "Create a webhook subscription",
9025
8956
  "flags": {
9026
8957
  "json": {
9027
8958
  "description": "Format output as json.",
@@ -9141,29 +9072,30 @@
9141
9072
  },
9142
9073
  "hasDynamicHelp": false,
9143
9074
  "hiddenAliases": [],
9144
- "id": "management:cancel-shared-amazon-ses-limit-request",
9075
+ "id": "management:create-webhook",
9145
9076
  "pluginAlias": "@sendmux/cli",
9146
9077
  "pluginName": "@sendmux/cli",
9147
9078
  "pluginType": "core",
9148
9079
  "strict": true,
9149
9080
  "enableJsonFlag": true,
9150
9081
  "operation": {
9151
- "bodyKind": "none",
9152
- "command": "management:cancel-shared-amazon-ses-limit-request",
9153
- "description": "Cancel a shared Amazon SES daily limit request",
9154
- "headerParams": [],
9155
- "method": "delete",
9156
- "operationId": "managementCancelSharedAmazonSesLimitRequest",
9157
- "path": "/providers/shared-amazon-ses-limit-request/{request_id}",
9158
- "pathParams": [
9082
+ "bodyKind": "json",
9083
+ "command": "management:create-webhook",
9084
+ "description": "Create a webhook subscription",
9085
+ "headerParams": [
9159
9086
  {
9160
- "name": "request_id",
9161
- "required": true,
9087
+ "name": "Idempotency-Key",
9088
+ "required": false,
9162
9089
  "schema": {
9163
- "type": "string"
9090
+ "type": "string",
9091
+ "maxLength": 255
9164
9092
  }
9165
9093
  }
9166
9094
  ],
9095
+ "method": "post",
9096
+ "operationId": "managementCreateWebhook",
9097
+ "path": "/webhooks",
9098
+ "pathParams": [],
9167
9099
  "queryParams": [],
9168
9100
  "responseKind": "json",
9169
9101
  "requestBodyRequired": false,
@@ -9175,13 +9107,13 @@
9175
9107
  "dist",
9176
9108
  "commands",
9177
9109
  "management",
9178
- "cancel-shared-amazon-ses-limit-request.js"
9110
+ "create-webhook.js"
9179
9111
  ]
9180
9112
  },
9181
- "management:check-mailbox-availability": {
9113
+ "management:deactivate-provider": {
9182
9114
  "aliases": [],
9183
9115
  "args": {},
9184
- "description": "Check mailbox address availability",
9116
+ "description": "Deactivate a sending account",
9185
9117
  "flags": {
9186
9118
  "json": {
9187
9119
  "description": "Format output as json.",
@@ -9301,7 +9233,7 @@
9301
9233
  },
9302
9234
  "hasDynamicHelp": false,
9303
9235
  "hiddenAliases": [],
9304
- "id": "management:check-mailbox-availability",
9236
+ "id": "management:deactivate-provider",
9305
9237
  "pluginAlias": "@sendmux/cli",
9306
9238
  "pluginName": "@sendmux/cli",
9307
9239
  "pluginType": "core",
@@ -9309,22 +9241,31 @@
9309
9241
  "enableJsonFlag": true,
9310
9242
  "operation": {
9311
9243
  "bodyKind": "none",
9312
- "command": "management:check-mailbox-availability",
9313
- "description": "Check mailbox address availability",
9314
- "headerParams": [],
9315
- "method": "get",
9316
- "operationId": "managementCheckMailboxAvailability",
9317
- "path": "/mailboxes/availability",
9318
- "pathParams": [],
9319
- "queryParams": [
9244
+ "command": "management:deactivate-provider",
9245
+ "description": "Deactivate a sending account",
9246
+ "headerParams": [
9320
9247
  {
9321
- "name": "email",
9248
+ "name": "Idempotency-Key",
9249
+ "required": false,
9250
+ "schema": {
9251
+ "type": "string",
9252
+ "maxLength": 255
9253
+ }
9254
+ }
9255
+ ],
9256
+ "method": "post",
9257
+ "operationId": "managementDeactivateProvider",
9258
+ "path": "/providers/{public_id}/deactivate",
9259
+ "pathParams": [
9260
+ {
9261
+ "name": "public_id",
9322
9262
  "required": true,
9323
9263
  "schema": {
9324
9264
  "type": "string"
9325
9265
  }
9326
9266
  }
9327
9267
  ],
9268
+ "queryParams": [],
9328
9269
  "responseKind": "json",
9329
9270
  "requestBodyRequired": false,
9330
9271
  "requiredKeyKind": "root",
@@ -9335,13 +9276,13 @@
9335
9276
  "dist",
9336
9277
  "commands",
9337
9278
  "management",
9338
- "check-mailbox-availability.js"
9279
+ "deactivate-provider.js"
9339
9280
  ]
9340
9281
  },
9341
- "management:create-domain": {
9282
+ "management:delete-domain": {
9342
9283
  "aliases": [],
9343
9284
  "args": {},
9344
- "description": "Add a mailbox domain",
9285
+ "description": "Delete a mailbox domain",
9345
9286
  "flags": {
9346
9287
  "json": {
9347
9288
  "description": "Format output as json.",
@@ -9461,30 +9402,29 @@
9461
9402
  },
9462
9403
  "hasDynamicHelp": false,
9463
9404
  "hiddenAliases": [],
9464
- "id": "management:create-domain",
9405
+ "id": "management:delete-domain",
9465
9406
  "pluginAlias": "@sendmux/cli",
9466
9407
  "pluginName": "@sendmux/cli",
9467
9408
  "pluginType": "core",
9468
9409
  "strict": true,
9469
9410
  "enableJsonFlag": true,
9470
9411
  "operation": {
9471
- "bodyKind": "json",
9472
- "command": "management:create-domain",
9473
- "description": "Add a mailbox domain",
9474
- "headerParams": [
9412
+ "bodyKind": "none",
9413
+ "command": "management:delete-domain",
9414
+ "description": "Delete a mailbox domain",
9415
+ "headerParams": [],
9416
+ "method": "delete",
9417
+ "operationId": "managementDeleteDomain",
9418
+ "path": "/domains/{public_id}",
9419
+ "pathParams": [
9475
9420
  {
9476
- "name": "Idempotency-Key",
9477
- "required": false,
9421
+ "name": "public_id",
9422
+ "required": true,
9478
9423
  "schema": {
9479
- "type": "string",
9480
- "maxLength": 255
9424
+ "type": "string"
9481
9425
  }
9482
9426
  }
9483
9427
  ],
9484
- "method": "post",
9485
- "operationId": "managementCreateDomain",
9486
- "path": "/domains",
9487
- "pathParams": [],
9488
9428
  "queryParams": [],
9489
9429
  "responseKind": "json",
9490
9430
  "requestBodyRequired": false,
@@ -9496,13 +9436,13 @@
9496
9436
  "dist",
9497
9437
  "commands",
9498
9438
  "management",
9499
- "create-domain.js"
9439
+ "delete-domain.js"
9500
9440
  ]
9501
9441
  },
9502
- "management:create-mailbox-key": {
9442
+ "management:delete-mailbox-key": {
9503
9443
  "aliases": [],
9504
9444
  "args": {},
9505
- "description": "Create a mailbox API key",
9445
+ "description": "Revoke a mailbox API key",
9506
9446
  "flags": {
9507
9447
  "json": {
9508
9448
  "description": "Format output as json.",
@@ -9622,32 +9562,30 @@
9622
9562
  },
9623
9563
  "hasDynamicHelp": false,
9624
9564
  "hiddenAliases": [],
9625
- "id": "management:create-mailbox-key",
9565
+ "id": "management:delete-mailbox-key",
9626
9566
  "pluginAlias": "@sendmux/cli",
9627
9567
  "pluginName": "@sendmux/cli",
9628
9568
  "pluginType": "core",
9629
9569
  "strict": true,
9630
9570
  "enableJsonFlag": true,
9631
9571
  "operation": {
9632
- "bodyKind": "json",
9633
- "command": "management:create-mailbox-key",
9634
- "description": "Create a mailbox API key",
9635
- "headerParams": [
9572
+ "bodyKind": "none",
9573
+ "command": "management:delete-mailbox-key",
9574
+ "description": "Revoke a mailbox API key",
9575
+ "headerParams": [],
9576
+ "method": "delete",
9577
+ "operationId": "managementDeleteMailboxKey",
9578
+ "path": "/mailboxes/{public_id}/keys/{key_id}",
9579
+ "pathParams": [
9636
9580
  {
9637
- "name": "Idempotency-Key",
9638
- "required": false,
9581
+ "name": "public_id",
9582
+ "required": true,
9639
9583
  "schema": {
9640
- "type": "string",
9641
- "maxLength": 255
9584
+ "type": "string"
9642
9585
  }
9643
- }
9644
- ],
9645
- "method": "post",
9646
- "operationId": "managementCreateMailboxKey",
9647
- "path": "/mailboxes/{public_id}/keys",
9648
- "pathParams": [
9586
+ },
9649
9587
  {
9650
- "name": "public_id",
9588
+ "name": "key_id",
9651
9589
  "required": true,
9652
9590
  "schema": {
9653
9591
  "type": "string"
@@ -9665,13 +9603,13 @@
9665
9603
  "dist",
9666
9604
  "commands",
9667
9605
  "management",
9668
- "create-mailbox-key.js"
9606
+ "delete-mailbox-key.js"
9669
9607
  ]
9670
9608
  },
9671
- "management:create-mailbox": {
9609
+ "management:delete-mailbox": {
9672
9610
  "aliases": [],
9673
9611
  "args": {},
9674
- "description": "Create a mailbox",
9612
+ "description": "Delete a mailbox",
9675
9613
  "flags": {
9676
9614
  "json": {
9677
9615
  "description": "Format output as json.",
@@ -9791,30 +9729,29 @@
9791
9729
  },
9792
9730
  "hasDynamicHelp": false,
9793
9731
  "hiddenAliases": [],
9794
- "id": "management:create-mailbox",
9732
+ "id": "management:delete-mailbox",
9795
9733
  "pluginAlias": "@sendmux/cli",
9796
9734
  "pluginName": "@sendmux/cli",
9797
9735
  "pluginType": "core",
9798
9736
  "strict": true,
9799
9737
  "enableJsonFlag": true,
9800
9738
  "operation": {
9801
- "bodyKind": "json",
9802
- "command": "management:create-mailbox",
9803
- "description": "Create a mailbox",
9804
- "headerParams": [
9805
- {
9806
- "name": "Idempotency-Key",
9807
- "required": false,
9739
+ "bodyKind": "none",
9740
+ "command": "management:delete-mailbox",
9741
+ "description": "Delete a mailbox",
9742
+ "headerParams": [],
9743
+ "method": "delete",
9744
+ "operationId": "managementDeleteMailbox",
9745
+ "path": "/mailboxes/{public_id}",
9746
+ "pathParams": [
9747
+ {
9748
+ "name": "public_id",
9749
+ "required": true,
9808
9750
  "schema": {
9809
- "type": "string",
9810
- "maxLength": 255
9751
+ "type": "string"
9811
9752
  }
9812
9753
  }
9813
9754
  ],
9814
- "method": "post",
9815
- "operationId": "managementCreateMailbox",
9816
- "path": "/mailboxes",
9817
- "pathParams": [],
9818
9755
  "queryParams": [],
9819
9756
  "responseKind": "json",
9820
9757
  "requestBodyRequired": false,
@@ -9826,13 +9763,13 @@
9826
9763
  "dist",
9827
9764
  "commands",
9828
9765
  "management",
9829
- "create-mailbox.js"
9766
+ "delete-mailbox.js"
9830
9767
  ]
9831
9768
  },
9832
- "management:create-provider": {
9769
+ "management:delete-provider": {
9833
9770
  "aliases": [],
9834
9771
  "args": {},
9835
- "description": "Create an SMTP sending account",
9772
+ "description": "Delete a sending account",
9836
9773
  "flags": {
9837
9774
  "json": {
9838
9775
  "description": "Format output as json.",
@@ -9952,30 +9889,29 @@
9952
9889
  },
9953
9890
  "hasDynamicHelp": false,
9954
9891
  "hiddenAliases": [],
9955
- "id": "management:create-provider",
9892
+ "id": "management:delete-provider",
9956
9893
  "pluginAlias": "@sendmux/cli",
9957
9894
  "pluginName": "@sendmux/cli",
9958
9895
  "pluginType": "core",
9959
9896
  "strict": true,
9960
9897
  "enableJsonFlag": true,
9961
9898
  "operation": {
9962
- "bodyKind": "json",
9963
- "command": "management:create-provider",
9964
- "description": "Create an SMTP sending account",
9965
- "headerParams": [
9899
+ "bodyKind": "none",
9900
+ "command": "management:delete-provider",
9901
+ "description": "Delete a sending account",
9902
+ "headerParams": [],
9903
+ "method": "delete",
9904
+ "operationId": "managementDeleteProvider",
9905
+ "path": "/providers/{public_id}",
9906
+ "pathParams": [
9966
9907
  {
9967
- "name": "Idempotency-Key",
9968
- "required": false,
9908
+ "name": "public_id",
9909
+ "required": true,
9969
9910
  "schema": {
9970
- "type": "string",
9971
- "maxLength": 255
9911
+ "type": "string"
9972
9912
  }
9973
9913
  }
9974
9914
  ],
9975
- "method": "post",
9976
- "operationId": "managementCreateProvider",
9977
- "path": "/providers",
9978
- "pathParams": [],
9979
9915
  "queryParams": [],
9980
9916
  "responseKind": "json",
9981
9917
  "requestBodyRequired": false,
@@ -9987,13 +9923,13 @@
9987
9923
  "dist",
9988
9924
  "commands",
9989
9925
  "management",
9990
- "create-provider.js"
9926
+ "delete-provider.js"
9991
9927
  ]
9992
9928
  },
9993
- "management:create-shared-amazon-ses-limit-request": {
9929
+ "management:delete-webhook": {
9994
9930
  "aliases": [],
9995
9931
  "args": {},
9996
- "description": "Request a shared Amazon SES daily limit increase",
9932
+ "description": "Delete a webhook subscription",
9997
9933
  "flags": {
9998
9934
  "json": {
9999
9935
  "description": "Format output as json.",
@@ -10113,7 +10049,7 @@
10113
10049
  },
10114
10050
  "hasDynamicHelp": false,
10115
10051
  "hiddenAliases": [],
10116
- "id": "management:create-shared-amazon-ses-limit-request",
10052
+ "id": "management:delete-webhook",
10117
10053
  "pluginAlias": "@sendmux/cli",
10118
10054
  "pluginName": "@sendmux/cli",
10119
10055
  "pluginType": "core",
@@ -10121,22 +10057,21 @@
10121
10057
  "enableJsonFlag": true,
10122
10058
  "operation": {
10123
10059
  "bodyKind": "none",
10124
- "command": "management:create-shared-amazon-ses-limit-request",
10125
- "description": "Request a shared Amazon SES daily limit increase",
10126
- "headerParams": [
10060
+ "command": "management:delete-webhook",
10061
+ "description": "Delete a webhook subscription",
10062
+ "headerParams": [],
10063
+ "method": "delete",
10064
+ "operationId": "managementDeleteWebhook",
10065
+ "path": "/webhooks/{public_id}",
10066
+ "pathParams": [
10127
10067
  {
10128
- "name": "Idempotency-Key",
10129
- "required": false,
10068
+ "name": "public_id",
10069
+ "required": true,
10130
10070
  "schema": {
10131
- "type": "string",
10132
- "maxLength": 255
10071
+ "type": "string"
10133
10072
  }
10134
10073
  }
10135
10074
  ],
10136
- "method": "post",
10137
- "operationId": "managementCreateSharedAmazonSesLimitRequest",
10138
- "path": "/providers/shared-amazon-ses-limit-request",
10139
- "pathParams": [],
10140
10075
  "queryParams": [],
10141
10076
  "responseKind": "json",
10142
10077
  "requestBodyRequired": false,
@@ -10148,13 +10083,13 @@
10148
10083
  "dist",
10149
10084
  "commands",
10150
10085
  "management",
10151
- "create-shared-amazon-ses-limit-request.js"
10086
+ "delete-webhook.js"
10152
10087
  ]
10153
10088
  },
10154
- "management:create-webhook": {
10089
+ "management:get-connection": {
10155
10090
  "aliases": [],
10156
10091
  "args": {},
10157
- "description": "Create a webhook subscription",
10092
+ "description": "Get Management connection",
10158
10093
  "flags": {
10159
10094
  "json": {
10160
10095
  "description": "Format output as json.",
@@ -10274,29 +10209,28 @@
10274
10209
  },
10275
10210
  "hasDynamicHelp": false,
10276
10211
  "hiddenAliases": [],
10277
- "id": "management:create-webhook",
10212
+ "id": "management:get-connection",
10278
10213
  "pluginAlias": "@sendmux/cli",
10279
10214
  "pluginName": "@sendmux/cli",
10280
10215
  "pluginType": "core",
10281
10216
  "strict": true,
10282
10217
  "enableJsonFlag": true,
10283
10218
  "operation": {
10284
- "bodyKind": "json",
10285
- "command": "management:create-webhook",
10286
- "description": "Create a webhook subscription",
10219
+ "bodyKind": "none",
10220
+ "command": "management:get-connection",
10221
+ "description": "Get Management connection",
10287
10222
  "headerParams": [
10288
10223
  {
10289
- "name": "Idempotency-Key",
10224
+ "name": "If-None-Match",
10290
10225
  "required": false,
10291
10226
  "schema": {
10292
- "type": "string",
10293
- "maxLength": 255
10227
+ "type": "string"
10294
10228
  }
10295
10229
  }
10296
10230
  ],
10297
- "method": "post",
10298
- "operationId": "managementCreateWebhook",
10299
- "path": "/webhooks",
10231
+ "method": "get",
10232
+ "operationId": "managementGetConnection",
10233
+ "path": "/me",
10300
10234
  "pathParams": [],
10301
10235
  "queryParams": [],
10302
10236
  "responseKind": "json",
@@ -10309,13 +10243,13 @@
10309
10243
  "dist",
10310
10244
  "commands",
10311
10245
  "management",
10312
- "create-webhook.js"
10246
+ "get-connection.js"
10313
10247
  ]
10314
10248
  },
10315
- "management:deactivate-provider": {
10249
+ "management:get-delivery-payload": {
10316
10250
  "aliases": [],
10317
10251
  "args": {},
10318
- "description": "Deactivate a sending account",
10252
+ "description": "Get a webhook delivery payload",
10319
10253
  "flags": {
10320
10254
  "json": {
10321
10255
  "description": "Format output as json.",
@@ -10435,7 +10369,7 @@
10435
10369
  },
10436
10370
  "hasDynamicHelp": false,
10437
10371
  "hiddenAliases": [],
10438
- "id": "management:deactivate-provider",
10372
+ "id": "management:get-delivery-payload",
10439
10373
  "pluginAlias": "@sendmux/cli",
10440
10374
  "pluginName": "@sendmux/cli",
10441
10375
  "pluginType": "core",
@@ -10443,24 +10377,22 @@
10443
10377
  "enableJsonFlag": true,
10444
10378
  "operation": {
10445
10379
  "bodyKind": "none",
10446
- "command": "management:deactivate-provider",
10447
- "description": "Deactivate a sending account",
10448
- "headerParams": [
10380
+ "command": "management:get-delivery-payload",
10381
+ "description": "Get a webhook delivery payload",
10382
+ "headerParams": [],
10383
+ "method": "get",
10384
+ "operationId": "managementGetDeliveryPayload",
10385
+ "path": "/webhooks/{public_id}/deliveries/{delivery_id}/payload",
10386
+ "pathParams": [
10449
10387
  {
10450
- "name": "Idempotency-Key",
10451
- "required": false,
10388
+ "name": "public_id",
10389
+ "required": true,
10452
10390
  "schema": {
10453
- "type": "string",
10454
- "maxLength": 255
10391
+ "type": "string"
10455
10392
  }
10456
- }
10457
- ],
10458
- "method": "post",
10459
- "operationId": "managementDeactivateProvider",
10460
- "path": "/providers/{public_id}/deactivate",
10461
- "pathParams": [
10393
+ },
10462
10394
  {
10463
- "name": "public_id",
10395
+ "name": "delivery_id",
10464
10396
  "required": true,
10465
10397
  "schema": {
10466
10398
  "type": "string"
@@ -10478,13 +10410,13 @@
10478
10410
  "dist",
10479
10411
  "commands",
10480
10412
  "management",
10481
- "deactivate-provider.js"
10413
+ "get-delivery-payload.js"
10482
10414
  ]
10483
10415
  },
10484
- "management:delete-domain": {
10416
+ "management:get-domain-filters": {
10485
10417
  "aliases": [],
10486
10418
  "args": {},
10487
- "description": "Delete a mailbox domain",
10419
+ "description": "Get domain-wide sender filters",
10488
10420
  "flags": {
10489
10421
  "json": {
10490
10422
  "description": "Format output as json.",
@@ -10604,7 +10536,7 @@
10604
10536
  },
10605
10537
  "hasDynamicHelp": false,
10606
10538
  "hiddenAliases": [],
10607
- "id": "management:delete-domain",
10539
+ "id": "management:get-domain-filters",
10608
10540
  "pluginAlias": "@sendmux/cli",
10609
10541
  "pluginName": "@sendmux/cli",
10610
10542
  "pluginType": "core",
@@ -10612,12 +10544,20 @@
10612
10544
  "enableJsonFlag": true,
10613
10545
  "operation": {
10614
10546
  "bodyKind": "none",
10615
- "command": "management:delete-domain",
10616
- "description": "Delete a mailbox domain",
10617
- "headerParams": [],
10618
- "method": "delete",
10619
- "operationId": "managementDeleteDomain",
10620
- "path": "/domains/{public_id}",
10547
+ "command": "management:get-domain-filters",
10548
+ "description": "Get domain-wide sender filters",
10549
+ "headerParams": [
10550
+ {
10551
+ "name": "If-None-Match",
10552
+ "required": false,
10553
+ "schema": {
10554
+ "type": "string"
10555
+ }
10556
+ }
10557
+ ],
10558
+ "method": "get",
10559
+ "operationId": "managementGetDomainFilters",
10560
+ "path": "/domains/{public_id}/filters",
10621
10561
  "pathParams": [
10622
10562
  {
10623
10563
  "name": "public_id",
@@ -10638,13 +10578,13 @@
10638
10578
  "dist",
10639
10579
  "commands",
10640
10580
  "management",
10641
- "delete-domain.js"
10581
+ "get-domain-filters.js"
10642
10582
  ]
10643
10583
  },
10644
- "management:delete-mailbox-key": {
10584
+ "management:get-domain-zone-file": {
10645
10585
  "aliases": [],
10646
10586
  "args": {},
10647
- "description": "Revoke a mailbox API key",
10587
+ "description": "Download a domain as a zone file",
10648
10588
  "flags": {
10649
10589
  "json": {
10650
10590
  "description": "Format output as json.",
@@ -10764,7 +10704,7 @@
10764
10704
  },
10765
10705
  "hasDynamicHelp": false,
10766
10706
  "hiddenAliases": [],
10767
- "id": "management:delete-mailbox-key",
10707
+ "id": "management:get-domain-zone-file",
10768
10708
  "pluginAlias": "@sendmux/cli",
10769
10709
  "pluginName": "@sendmux/cli",
10770
10710
  "pluginType": "core",
@@ -10772,12 +10712,12 @@
10772
10712
  "enableJsonFlag": true,
10773
10713
  "operation": {
10774
10714
  "bodyKind": "none",
10775
- "command": "management:delete-mailbox-key",
10776
- "description": "Revoke a mailbox API key",
10715
+ "command": "management:get-domain-zone-file",
10716
+ "description": "Download a domain as a zone file",
10777
10717
  "headerParams": [],
10778
- "method": "delete",
10779
- "operationId": "managementDeleteMailboxKey",
10780
- "path": "/mailboxes/{public_id}/keys/{key_id}",
10718
+ "method": "get",
10719
+ "operationId": "managementGetDomainZoneFile",
10720
+ "path": "/domains/{public_id}/zone-file",
10781
10721
  "pathParams": [
10782
10722
  {
10783
10723
  "name": "public_id",
@@ -10785,17 +10725,10 @@
10785
10725
  "schema": {
10786
10726
  "type": "string"
10787
10727
  }
10788
- },
10789
- {
10790
- "name": "key_id",
10791
- "required": true,
10792
- "schema": {
10793
- "type": "string"
10794
- }
10795
10728
  }
10796
10729
  ],
10797
10730
  "queryParams": [],
10798
- "responseKind": "json",
10731
+ "responseKind": "text",
10799
10732
  "requestBodyRequired": false,
10800
10733
  "requiredKeyKind": "root",
10801
10734
  "surface": "management"
@@ -10805,13 +10738,13 @@
10805
10738
  "dist",
10806
10739
  "commands",
10807
10740
  "management",
10808
- "delete-mailbox-key.js"
10741
+ "get-domain-zone-file.js"
10809
10742
  ]
10810
10743
  },
10811
- "management:delete-mailbox": {
10744
+ "management:get-email-log": {
10812
10745
  "aliases": [],
10813
10746
  "args": {},
10814
- "description": "Delete a mailbox",
10747
+ "description": "Get delivery log",
10815
10748
  "flags": {
10816
10749
  "json": {
10817
10750
  "description": "Format output as json.",
@@ -10931,7 +10864,7 @@
10931
10864
  },
10932
10865
  "hasDynamicHelp": false,
10933
10866
  "hiddenAliases": [],
10934
- "id": "management:delete-mailbox",
10867
+ "id": "management:get-email-log",
10935
10868
  "pluginAlias": "@sendmux/cli",
10936
10869
  "pluginName": "@sendmux/cli",
10937
10870
  "pluginType": "core",
@@ -10939,12 +10872,20 @@
10939
10872
  "enableJsonFlag": true,
10940
10873
  "operation": {
10941
10874
  "bodyKind": "none",
10942
- "command": "management:delete-mailbox",
10943
- "description": "Delete a mailbox",
10944
- "headerParams": [],
10945
- "method": "delete",
10946
- "operationId": "managementDeleteMailbox",
10947
- "path": "/mailboxes/{public_id}",
10875
+ "command": "management:get-email-log",
10876
+ "description": "Get delivery log",
10877
+ "headerParams": [
10878
+ {
10879
+ "name": "If-None-Match",
10880
+ "required": false,
10881
+ "schema": {
10882
+ "type": "string"
10883
+ }
10884
+ }
10885
+ ],
10886
+ "method": "get",
10887
+ "operationId": "managementGetEmailLog",
10888
+ "path": "/emails/logs/{public_id}",
10948
10889
  "pathParams": [
10949
10890
  {
10950
10891
  "name": "public_id",
@@ -10965,13 +10906,13 @@
10965
10906
  "dist",
10966
10907
  "commands",
10967
10908
  "management",
10968
- "delete-mailbox.js"
10909
+ "get-email-log.js"
10969
10910
  ]
10970
10911
  },
10971
- "management:delete-provider": {
10912
+ "management:get-email-metrics": {
10972
10913
  "aliases": [],
10973
10914
  "args": {},
10974
- "description": "Delete a sending account",
10915
+ "description": "Get email metrics",
10975
10916
  "flags": {
10976
10917
  "json": {
10977
10918
  "description": "Format output as json.",
@@ -11091,7 +11032,7 @@
11091
11032
  },
11092
11033
  "hasDynamicHelp": false,
11093
11034
  "hiddenAliases": [],
11094
- "id": "management:delete-provider",
11035
+ "id": "management:get-email-metrics",
11095
11036
  "pluginAlias": "@sendmux/cli",
11096
11037
  "pluginName": "@sendmux/cli",
11097
11038
  "pluginType": "core",
@@ -11099,22 +11040,59 @@
11099
11040
  "enableJsonFlag": true,
11100
11041
  "operation": {
11101
11042
  "bodyKind": "none",
11102
- "command": "management:delete-provider",
11103
- "description": "Delete a sending account",
11043
+ "command": "management:get-email-metrics",
11044
+ "description": "Get email metrics",
11104
11045
  "headerParams": [],
11105
- "method": "delete",
11106
- "operationId": "managementDeleteProvider",
11107
- "path": "/providers/{public_id}",
11108
- "pathParams": [
11046
+ "method": "get",
11047
+ "operationId": "managementGetEmailMetrics",
11048
+ "path": "/emails/metrics",
11049
+ "pathParams": [],
11050
+ "queryParams": [
11109
11051
  {
11110
- "name": "public_id",
11111
- "required": true,
11052
+ "name": "window",
11053
+ "required": false,
11112
11054
  "schema": {
11113
- "type": "string"
11055
+ "type": "string",
11056
+ "enum": [
11057
+ "24h",
11058
+ "7d",
11059
+ "30d"
11060
+ ]
11114
11061
  }
11115
- }
11116
- ],
11117
- "queryParams": [],
11062
+ },
11063
+ {
11064
+ "name": "from_date",
11065
+ "required": false,
11066
+ "schema": {
11067
+ "type": "string"
11068
+ }
11069
+ },
11070
+ {
11071
+ "name": "to_date",
11072
+ "required": false,
11073
+ "schema": {
11074
+ "type": "string"
11075
+ }
11076
+ },
11077
+ {
11078
+ "name": "granularity",
11079
+ "required": false,
11080
+ "schema": {
11081
+ "type": "string",
11082
+ "enum": [
11083
+ "hourly",
11084
+ "daily"
11085
+ ]
11086
+ }
11087
+ },
11088
+ {
11089
+ "name": "provider_id",
11090
+ "required": false,
11091
+ "schema": {
11092
+ "type": "string"
11093
+ }
11094
+ }
11095
+ ],
11118
11096
  "responseKind": "json",
11119
11097
  "requestBodyRequired": false,
11120
11098
  "requiredKeyKind": "root",
@@ -11125,13 +11103,13 @@
11125
11103
  "dist",
11126
11104
  "commands",
11127
11105
  "management",
11128
- "delete-provider.js"
11106
+ "get-email-metrics.js"
11129
11107
  ]
11130
11108
  },
11131
- "management:delete-webhook": {
11109
+ "management:get-inbox-log": {
11132
11110
  "aliases": [],
11133
11111
  "args": {},
11134
- "description": "Delete a webhook subscription",
11112
+ "description": "Get incoming log",
11135
11113
  "flags": {
11136
11114
  "json": {
11137
11115
  "description": "Format output as json.",
@@ -11251,7 +11229,7 @@
11251
11229
  },
11252
11230
  "hasDynamicHelp": false,
11253
11231
  "hiddenAliases": [],
11254
- "id": "management:delete-webhook",
11232
+ "id": "management:get-inbox-log",
11255
11233
  "pluginAlias": "@sendmux/cli",
11256
11234
  "pluginName": "@sendmux/cli",
11257
11235
  "pluginType": "core",
@@ -11259,12 +11237,12 @@
11259
11237
  "enableJsonFlag": true,
11260
11238
  "operation": {
11261
11239
  "bodyKind": "none",
11262
- "command": "management:delete-webhook",
11263
- "description": "Delete a webhook subscription",
11240
+ "command": "management:get-inbox-log",
11241
+ "description": "Get incoming log",
11264
11242
  "headerParams": [],
11265
- "method": "delete",
11266
- "operationId": "managementDeleteWebhook",
11267
- "path": "/webhooks/{public_id}",
11243
+ "method": "get",
11244
+ "operationId": "managementGetInboxLog",
11245
+ "path": "/inboxes/logs/{public_id}",
11268
11246
  "pathParams": [
11269
11247
  {
11270
11248
  "name": "public_id",
@@ -11285,13 +11263,13 @@
11285
11263
  "dist",
11286
11264
  "commands",
11287
11265
  "management",
11288
- "delete-webhook.js"
11266
+ "get-inbox-log.js"
11289
11267
  ]
11290
11268
  },
11291
- "management:get-connection": {
11269
+ "management:get-mailbox-filters": {
11292
11270
  "aliases": [],
11293
11271
  "args": {},
11294
- "description": "Get Management connection",
11272
+ "description": "Get mailbox sender filters",
11295
11273
  "flags": {
11296
11274
  "json": {
11297
11275
  "description": "Format output as json.",
@@ -11411,7 +11389,7 @@
11411
11389
  },
11412
11390
  "hasDynamicHelp": false,
11413
11391
  "hiddenAliases": [],
11414
- "id": "management:get-connection",
11392
+ "id": "management:get-mailbox-filters",
11415
11393
  "pluginAlias": "@sendmux/cli",
11416
11394
  "pluginName": "@sendmux/cli",
11417
11395
  "pluginType": "core",
@@ -11419,8 +11397,8 @@
11419
11397
  "enableJsonFlag": true,
11420
11398
  "operation": {
11421
11399
  "bodyKind": "none",
11422
- "command": "management:get-connection",
11423
- "description": "Get Management connection",
11400
+ "command": "management:get-mailbox-filters",
11401
+ "description": "Get mailbox sender filters",
11424
11402
  "headerParams": [
11425
11403
  {
11426
11404
  "name": "If-None-Match",
@@ -11431,9 +11409,17 @@
11431
11409
  }
11432
11410
  ],
11433
11411
  "method": "get",
11434
- "operationId": "managementGetConnection",
11435
- "path": "/me",
11436
- "pathParams": [],
11412
+ "operationId": "managementGetMailboxFilters",
11413
+ "path": "/mailboxes/{public_id}/filters",
11414
+ "pathParams": [
11415
+ {
11416
+ "name": "public_id",
11417
+ "required": true,
11418
+ "schema": {
11419
+ "type": "string"
11420
+ }
11421
+ }
11422
+ ],
11437
11423
  "queryParams": [],
11438
11424
  "responseKind": "json",
11439
11425
  "requestBodyRequired": false,
@@ -11445,13 +11431,13 @@
11445
11431
  "dist",
11446
11432
  "commands",
11447
11433
  "management",
11448
- "get-connection.js"
11434
+ "get-mailbox-filters.js"
11449
11435
  ]
11450
11436
  },
11451
- "management:get-delivery-payload": {
11437
+ "management:get-mailbox": {
11452
11438
  "aliases": [],
11453
11439
  "args": {},
11454
- "description": "Get a webhook delivery payload",
11440
+ "description": "Get a mailbox",
11455
11441
  "flags": {
11456
11442
  "json": {
11457
11443
  "description": "Format output as json.",
@@ -11571,7 +11557,7 @@
11571
11557
  },
11572
11558
  "hasDynamicHelp": false,
11573
11559
  "hiddenAliases": [],
11574
- "id": "management:get-delivery-payload",
11560
+ "id": "management:get-mailbox",
11575
11561
  "pluginAlias": "@sendmux/cli",
11576
11562
  "pluginName": "@sendmux/cli",
11577
11563
  "pluginType": "core",
@@ -11579,22 +11565,23 @@
11579
11565
  "enableJsonFlag": true,
11580
11566
  "operation": {
11581
11567
  "bodyKind": "none",
11582
- "command": "management:get-delivery-payload",
11583
- "description": "Get a webhook delivery payload",
11584
- "headerParams": [],
11585
- "method": "get",
11586
- "operationId": "managementGetDeliveryPayload",
11587
- "path": "/webhooks/{public_id}/deliveries/{delivery_id}/payload",
11588
- "pathParams": [
11568
+ "command": "management:get-mailbox",
11569
+ "description": "Get a mailbox",
11570
+ "headerParams": [
11589
11571
  {
11590
- "name": "public_id",
11591
- "required": true,
11572
+ "name": "If-None-Match",
11573
+ "required": false,
11592
11574
  "schema": {
11593
11575
  "type": "string"
11594
11576
  }
11595
- },
11577
+ }
11578
+ ],
11579
+ "method": "get",
11580
+ "operationId": "managementGetMailbox",
11581
+ "path": "/mailboxes/{public_id}",
11582
+ "pathParams": [
11596
11583
  {
11597
- "name": "delivery_id",
11584
+ "name": "public_id",
11598
11585
  "required": true,
11599
11586
  "schema": {
11600
11587
  "type": "string"
@@ -11612,13 +11599,13 @@
11612
11599
  "dist",
11613
11600
  "commands",
11614
11601
  "management",
11615
- "get-delivery-payload.js"
11602
+ "get-mailbox.js"
11616
11603
  ]
11617
11604
  },
11618
- "management:get-domain-filters": {
11605
+ "management:get-provider-limits": {
11619
11606
  "aliases": [],
11620
11607
  "args": {},
11621
- "description": "Get domain-wide sender filters",
11608
+ "description": "Get sending account limits",
11622
11609
  "flags": {
11623
11610
  "json": {
11624
11611
  "description": "Format output as json.",
@@ -11738,7 +11725,7 @@
11738
11725
  },
11739
11726
  "hasDynamicHelp": false,
11740
11727
  "hiddenAliases": [],
11741
- "id": "management:get-domain-filters",
11728
+ "id": "management:get-provider-limits",
11742
11729
  "pluginAlias": "@sendmux/cli",
11743
11730
  "pluginName": "@sendmux/cli",
11744
11731
  "pluginType": "core",
@@ -11746,29 +11733,13 @@
11746
11733
  "enableJsonFlag": true,
11747
11734
  "operation": {
11748
11735
  "bodyKind": "none",
11749
- "command": "management:get-domain-filters",
11750
- "description": "Get domain-wide sender filters",
11751
- "headerParams": [
11752
- {
11753
- "name": "If-None-Match",
11754
- "required": false,
11755
- "schema": {
11756
- "type": "string"
11757
- }
11758
- }
11759
- ],
11736
+ "command": "management:get-provider-limits",
11737
+ "description": "Get sending account limits",
11738
+ "headerParams": [],
11760
11739
  "method": "get",
11761
- "operationId": "managementGetDomainFilters",
11762
- "path": "/domains/{public_id}/filters",
11763
- "pathParams": [
11764
- {
11765
- "name": "public_id",
11766
- "required": true,
11767
- "schema": {
11768
- "type": "string"
11769
- }
11770
- }
11771
- ],
11740
+ "operationId": "managementGetProviderLimits",
11741
+ "path": "/providers/limits",
11742
+ "pathParams": [],
11772
11743
  "queryParams": [],
11773
11744
  "responseKind": "json",
11774
11745
  "requestBodyRequired": false,
@@ -11780,13 +11751,13 @@
11780
11751
  "dist",
11781
11752
  "commands",
11782
11753
  "management",
11783
- "get-domain-filters.js"
11754
+ "get-provider-limits.js"
11784
11755
  ]
11785
11756
  },
11786
- "management:get-domain-zone-file": {
11757
+ "management:get-provider-stats": {
11787
11758
  "aliases": [],
11788
11759
  "args": {},
11789
- "description": "Download a domain as a zone file",
11760
+ "description": "Get sending account statistics",
11790
11761
  "flags": {
11791
11762
  "json": {
11792
11763
  "description": "Format output as json.",
@@ -11906,7 +11877,7 @@
11906
11877
  },
11907
11878
  "hasDynamicHelp": false,
11908
11879
  "hiddenAliases": [],
11909
- "id": "management:get-domain-zone-file",
11880
+ "id": "management:get-provider-stats",
11910
11881
  "pluginAlias": "@sendmux/cli",
11911
11882
  "pluginName": "@sendmux/cli",
11912
11883
  "pluginType": "core",
@@ -11914,23 +11885,15 @@
11914
11885
  "enableJsonFlag": true,
11915
11886
  "operation": {
11916
11887
  "bodyKind": "none",
11917
- "command": "management:get-domain-zone-file",
11918
- "description": "Download a domain as a zone file",
11888
+ "command": "management:get-provider-stats",
11889
+ "description": "Get sending account statistics",
11919
11890
  "headerParams": [],
11920
11891
  "method": "get",
11921
- "operationId": "managementGetDomainZoneFile",
11922
- "path": "/domains/{public_id}/zone-file",
11923
- "pathParams": [
11924
- {
11925
- "name": "public_id",
11926
- "required": true,
11927
- "schema": {
11928
- "type": "string"
11929
- }
11930
- }
11931
- ],
11892
+ "operationId": "managementGetProviderStats",
11893
+ "path": "/providers/stats",
11894
+ "pathParams": [],
11932
11895
  "queryParams": [],
11933
- "responseKind": "text",
11896
+ "responseKind": "json",
11934
11897
  "requestBodyRequired": false,
11935
11898
  "requiredKeyKind": "root",
11936
11899
  "surface": "management"
@@ -11940,13 +11903,13 @@
11940
11903
  "dist",
11941
11904
  "commands",
11942
11905
  "management",
11943
- "get-domain-zone-file.js"
11906
+ "get-provider-stats.js"
11944
11907
  ]
11945
11908
  },
11946
- "management:get-email-log": {
11909
+ "management:get-provider-usage": {
11947
11910
  "aliases": [],
11948
11911
  "args": {},
11949
- "description": "Get delivery log",
11912
+ "description": "Get sending account usage",
11950
11913
  "flags": {
11951
11914
  "json": {
11952
11915
  "description": "Format output as json.",
@@ -12066,7 +12029,7 @@
12066
12029
  },
12067
12030
  "hasDynamicHelp": false,
12068
12031
  "hiddenAliases": [],
12069
- "id": "management:get-email-log",
12032
+ "id": "management:get-provider-usage",
12070
12033
  "pluginAlias": "@sendmux/cli",
12071
12034
  "pluginName": "@sendmux/cli",
12072
12035
  "pluginType": "core",
@@ -12074,29 +12037,13 @@
12074
12037
  "enableJsonFlag": true,
12075
12038
  "operation": {
12076
12039
  "bodyKind": "none",
12077
- "command": "management:get-email-log",
12078
- "description": "Get delivery log",
12079
- "headerParams": [
12080
- {
12081
- "name": "If-None-Match",
12082
- "required": false,
12083
- "schema": {
12084
- "type": "string"
12085
- }
12086
- }
12087
- ],
12040
+ "command": "management:get-provider-usage",
12041
+ "description": "Get sending account usage",
12042
+ "headerParams": [],
12088
12043
  "method": "get",
12089
- "operationId": "managementGetEmailLog",
12090
- "path": "/emails/logs/{public_id}",
12091
- "pathParams": [
12092
- {
12093
- "name": "public_id",
12094
- "required": true,
12095
- "schema": {
12096
- "type": "string"
12097
- }
12098
- }
12099
- ],
12044
+ "operationId": "managementGetProviderUsage",
12045
+ "path": "/providers/usage",
12046
+ "pathParams": [],
12100
12047
  "queryParams": [],
12101
12048
  "responseKind": "json",
12102
12049
  "requestBodyRequired": false,
@@ -12108,13 +12055,13 @@
12108
12055
  "dist",
12109
12056
  "commands",
12110
12057
  "management",
12111
- "get-email-log.js"
12058
+ "get-provider-usage.js"
12112
12059
  ]
12113
12060
  },
12114
- "management:get-email-metrics": {
12061
+ "management:get-provider": {
12115
12062
  "aliases": [],
12116
12063
  "args": {},
12117
- "description": "Get email metrics",
12064
+ "description": "Get a sending account",
12118
12065
  "flags": {
12119
12066
  "json": {
12120
12067
  "description": "Format output as json.",
@@ -12234,7 +12181,7 @@
12234
12181
  },
12235
12182
  "hasDynamicHelp": false,
12236
12183
  "hiddenAliases": [],
12237
- "id": "management:get-email-metrics",
12184
+ "id": "management:get-provider",
12238
12185
  "pluginAlias": "@sendmux/cli",
12239
12186
  "pluginName": "@sendmux/cli",
12240
12187
  "pluginType": "core",
@@ -12242,59 +12189,30 @@
12242
12189
  "enableJsonFlag": true,
12243
12190
  "operation": {
12244
12191
  "bodyKind": "none",
12245
- "command": "management:get-email-metrics",
12246
- "description": "Get email metrics",
12247
- "headerParams": [],
12248
- "method": "get",
12249
- "operationId": "managementGetEmailMetrics",
12250
- "path": "/emails/metrics",
12251
- "pathParams": [],
12252
- "queryParams": [
12253
- {
12254
- "name": "window",
12255
- "required": false,
12256
- "schema": {
12257
- "type": "string",
12258
- "enum": [
12259
- "24h",
12260
- "7d",
12261
- "30d"
12262
- ]
12263
- }
12264
- },
12192
+ "command": "management:get-provider",
12193
+ "description": "Get a sending account",
12194
+ "headerParams": [
12265
12195
  {
12266
- "name": "from_date",
12196
+ "name": "If-None-Match",
12267
12197
  "required": false,
12268
12198
  "schema": {
12269
12199
  "type": "string"
12270
12200
  }
12271
- },
12201
+ }
12202
+ ],
12203
+ "method": "get",
12204
+ "operationId": "managementGetProvider",
12205
+ "path": "/providers/{public_id}",
12206
+ "pathParams": [
12272
12207
  {
12273
- "name": "to_date",
12274
- "required": false,
12275
- "schema": {
12276
- "type": "string"
12277
- }
12278
- },
12279
- {
12280
- "name": "granularity",
12281
- "required": false,
12282
- "schema": {
12283
- "type": "string",
12284
- "enum": [
12285
- "hourly",
12286
- "daily"
12287
- ]
12288
- }
12289
- },
12290
- {
12291
- "name": "provider_id",
12292
- "required": false,
12208
+ "name": "public_id",
12209
+ "required": true,
12293
12210
  "schema": {
12294
12211
  "type": "string"
12295
12212
  }
12296
12213
  }
12297
12214
  ],
12215
+ "queryParams": [],
12298
12216
  "responseKind": "json",
12299
12217
  "requestBodyRequired": false,
12300
12218
  "requiredKeyKind": "root",
@@ -12305,13 +12223,13 @@
12305
12223
  "dist",
12306
12224
  "commands",
12307
12225
  "management",
12308
- "get-email-metrics.js"
12226
+ "get-provider.js"
12309
12227
  ]
12310
12228
  },
12311
- "management:get-inbox-log": {
12229
+ "management:get-shared-amazon-ses-limit-request": {
12312
12230
  "aliases": [],
12313
12231
  "args": {},
12314
- "description": "Get incoming log",
12232
+ "description": "Get shared Amazon SES limit request state",
12315
12233
  "flags": {
12316
12234
  "json": {
12317
12235
  "description": "Format output as json.",
@@ -12431,7 +12349,7 @@
12431
12349
  },
12432
12350
  "hasDynamicHelp": false,
12433
12351
  "hiddenAliases": [],
12434
- "id": "management:get-inbox-log",
12352
+ "id": "management:get-shared-amazon-ses-limit-request",
12435
12353
  "pluginAlias": "@sendmux/cli",
12436
12354
  "pluginName": "@sendmux/cli",
12437
12355
  "pluginType": "core",
@@ -12439,21 +12357,13 @@
12439
12357
  "enableJsonFlag": true,
12440
12358
  "operation": {
12441
12359
  "bodyKind": "none",
12442
- "command": "management:get-inbox-log",
12443
- "description": "Get incoming log",
12360
+ "command": "management:get-shared-amazon-ses-limit-request",
12361
+ "description": "Get shared Amazon SES limit request state",
12444
12362
  "headerParams": [],
12445
12363
  "method": "get",
12446
- "operationId": "managementGetInboxLog",
12447
- "path": "/inboxes/logs/{public_id}",
12448
- "pathParams": [
12449
- {
12450
- "name": "public_id",
12451
- "required": true,
12452
- "schema": {
12453
- "type": "string"
12454
- }
12455
- }
12456
- ],
12364
+ "operationId": "managementGetSharedAmazonSesLimitRequest",
12365
+ "path": "/providers/shared-amazon-ses-limit-request",
12366
+ "pathParams": [],
12457
12367
  "queryParams": [],
12458
12368
  "responseKind": "json",
12459
12369
  "requestBodyRequired": false,
@@ -12465,13 +12375,13 @@
12465
12375
  "dist",
12466
12376
  "commands",
12467
12377
  "management",
12468
- "get-inbox-log.js"
12378
+ "get-shared-amazon-ses-limit-request.js"
12469
12379
  ]
12470
12380
  },
12471
- "management:get-mailbox-filters": {
12381
+ "management:get-spend-summary": {
12472
12382
  "aliases": [],
12473
12383
  "args": {},
12474
- "description": "Get mailbox sender filters",
12384
+ "description": "Get spend summary",
12475
12385
  "flags": {
12476
12386
  "json": {
12477
12387
  "description": "Format output as json.",
@@ -12591,7 +12501,7 @@
12591
12501
  },
12592
12502
  "hasDynamicHelp": false,
12593
12503
  "hiddenAliases": [],
12594
- "id": "management:get-mailbox-filters",
12504
+ "id": "management:get-spend-summary",
12595
12505
  "pluginAlias": "@sendmux/cli",
12596
12506
  "pluginName": "@sendmux/cli",
12597
12507
  "pluginType": "core",
@@ -12599,30 +12509,27 @@
12599
12509
  "enableJsonFlag": true,
12600
12510
  "operation": {
12601
12511
  "bodyKind": "none",
12602
- "command": "management:get-mailbox-filters",
12603
- "description": "Get mailbox sender filters",
12604
- "headerParams": [
12605
- {
12606
- "name": "If-None-Match",
12607
- "required": false,
12608
- "schema": {
12609
- "type": "string"
12610
- }
12611
- }
12612
- ],
12512
+ "command": "management:get-spend-summary",
12513
+ "description": "Get spend summary",
12514
+ "headerParams": [],
12613
12515
  "method": "get",
12614
- "operationId": "managementGetMailboxFilters",
12615
- "path": "/mailboxes/{public_id}/filters",
12616
- "pathParams": [
12516
+ "operationId": "managementGetSpendSummary",
12517
+ "path": "/billing/summary",
12518
+ "pathParams": [],
12519
+ "queryParams": [
12617
12520
  {
12618
- "name": "public_id",
12619
- "required": true,
12521
+ "name": "days",
12522
+ "required": false,
12620
12523
  "schema": {
12621
- "type": "string"
12524
+ "type": "string",
12525
+ "enum": [
12526
+ "7",
12527
+ "30",
12528
+ "90"
12529
+ ]
12622
12530
  }
12623
12531
  }
12624
12532
  ],
12625
- "queryParams": [],
12626
12533
  "responseKind": "json",
12627
12534
  "requestBodyRequired": false,
12628
12535
  "requiredKeyKind": "root",
@@ -12633,13 +12540,13 @@
12633
12540
  "dist",
12634
12541
  "commands",
12635
12542
  "management",
12636
- "get-mailbox-filters.js"
12543
+ "get-spend-summary.js"
12637
12544
  ]
12638
12545
  },
12639
- "management:get-mailbox": {
12546
+ "management:get-webhook": {
12640
12547
  "aliases": [],
12641
12548
  "args": {},
12642
- "description": "Get a mailbox",
12549
+ "description": "Get a webhook subscription",
12643
12550
  "flags": {
12644
12551
  "json": {
12645
12552
  "description": "Format output as json.",
@@ -12759,7 +12666,7 @@
12759
12666
  },
12760
12667
  "hasDynamicHelp": false,
12761
12668
  "hiddenAliases": [],
12762
- "id": "management:get-mailbox",
12669
+ "id": "management:get-webhook",
12763
12670
  "pluginAlias": "@sendmux/cli",
12764
12671
  "pluginName": "@sendmux/cli",
12765
12672
  "pluginType": "core",
@@ -12767,8 +12674,8 @@
12767
12674
  "enableJsonFlag": true,
12768
12675
  "operation": {
12769
12676
  "bodyKind": "none",
12770
- "command": "management:get-mailbox",
12771
- "description": "Get a mailbox",
12677
+ "command": "management:get-webhook",
12678
+ "description": "Get a webhook subscription",
12772
12679
  "headerParams": [
12773
12680
  {
12774
12681
  "name": "If-None-Match",
@@ -12779,8 +12686,8 @@
12779
12686
  }
12780
12687
  ],
12781
12688
  "method": "get",
12782
- "operationId": "managementGetMailbox",
12783
- "path": "/mailboxes/{public_id}",
12689
+ "operationId": "managementGetWebhook",
12690
+ "path": "/webhooks/{public_id}",
12784
12691
  "pathParams": [
12785
12692
  {
12786
12693
  "name": "public_id",
@@ -12801,13 +12708,13 @@
12801
12708
  "dist",
12802
12709
  "commands",
12803
12710
  "management",
12804
- "get-mailbox.js"
12711
+ "get-webhook.js"
12805
12712
  ]
12806
12713
  },
12807
- "management:get-provider-limits": {
12714
+ "management:list-balance": {
12808
12715
  "aliases": [],
12809
12716
  "args": {},
12810
- "description": "Get sending account limits",
12717
+ "description": "Get current balance",
12811
12718
  "flags": {
12812
12719
  "json": {
12813
12720
  "description": "Format output as json.",
@@ -12927,7 +12834,7 @@
12927
12834
  },
12928
12835
  "hasDynamicHelp": false,
12929
12836
  "hiddenAliases": [],
12930
- "id": "management:get-provider-limits",
12837
+ "id": "management:list-balance",
12931
12838
  "pluginAlias": "@sendmux/cli",
12932
12839
  "pluginName": "@sendmux/cli",
12933
12840
  "pluginType": "core",
@@ -12935,12 +12842,12 @@
12935
12842
  "enableJsonFlag": true,
12936
12843
  "operation": {
12937
12844
  "bodyKind": "none",
12938
- "command": "management:get-provider-limits",
12939
- "description": "Get sending account limits",
12845
+ "command": "management:list-balance",
12846
+ "description": "Get current balance",
12940
12847
  "headerParams": [],
12941
12848
  "method": "get",
12942
- "operationId": "managementGetProviderLimits",
12943
- "path": "/providers/limits",
12849
+ "operationId": "managementListBalance",
12850
+ "path": "/billing/balance",
12944
12851
  "pathParams": [],
12945
12852
  "queryParams": [],
12946
12853
  "responseKind": "json",
@@ -12953,13 +12860,13 @@
12953
12860
  "dist",
12954
12861
  "commands",
12955
12862
  "management",
12956
- "get-provider-limits.js"
12863
+ "list-balance.js"
12957
12864
  ]
12958
12865
  },
12959
- "management:get-provider-stats": {
12866
+ "management:list-delivery": {
12960
12867
  "aliases": [],
12961
12868
  "args": {},
12962
- "description": "Get sending account statistics",
12869
+ "description": "List webhook delivery attempts",
12963
12870
  "flags": {
12964
12871
  "json": {
12965
12872
  "description": "Format output as json.",
@@ -13079,7 +12986,7 @@
13079
12986
  },
13080
12987
  "hasDynamicHelp": false,
13081
12988
  "hiddenAliases": [],
13082
- "id": "management:get-provider-stats",
12989
+ "id": "management:list-delivery",
13083
12990
  "pluginAlias": "@sendmux/cli",
13084
12991
  "pluginName": "@sendmux/cli",
13085
12992
  "pluginType": "core",
@@ -13087,14 +12994,69 @@
13087
12994
  "enableJsonFlag": true,
13088
12995
  "operation": {
13089
12996
  "bodyKind": "none",
13090
- "command": "management:get-provider-stats",
13091
- "description": "Get sending account statistics",
12997
+ "command": "management:list-delivery",
12998
+ "description": "List webhook delivery attempts",
13092
12999
  "headerParams": [],
13093
13000
  "method": "get",
13094
- "operationId": "managementGetProviderStats",
13095
- "path": "/providers/stats",
13096
- "pathParams": [],
13097
- "queryParams": [],
13001
+ "operationId": "managementListDelivery",
13002
+ "path": "/webhooks/{public_id}/deliveries",
13003
+ "pathParams": [
13004
+ {
13005
+ "name": "public_id",
13006
+ "required": true,
13007
+ "schema": {
13008
+ "type": "string"
13009
+ }
13010
+ }
13011
+ ],
13012
+ "queryParams": [
13013
+ {
13014
+ "name": "cursor",
13015
+ "required": false,
13016
+ "schema": {
13017
+ "type": "string"
13018
+ }
13019
+ },
13020
+ {
13021
+ "name": "limit",
13022
+ "required": false,
13023
+ "schema": {
13024
+ "type": "integer",
13025
+ "minimum": 1,
13026
+ "maximum": 100
13027
+ }
13028
+ },
13029
+ {
13030
+ "name": "event_type",
13031
+ "required": false,
13032
+ "schema": {
13033
+ "type": "string",
13034
+ "enum": [
13035
+ "message.delivered",
13036
+ "message.bounced",
13037
+ "message.complained",
13038
+ "message.rejected",
13039
+ "message.delivery_delayed",
13040
+ "message.received",
13041
+ "message.received.spam",
13042
+ "sendmux.test"
13043
+ ]
13044
+ }
13045
+ },
13046
+ {
13047
+ "name": "result",
13048
+ "required": false,
13049
+ "schema": {
13050
+ "type": "string",
13051
+ "enum": [
13052
+ "success",
13053
+ "retrying",
13054
+ "failed",
13055
+ "permanent_failure"
13056
+ ]
13057
+ }
13058
+ }
13059
+ ],
13098
13060
  "responseKind": "json",
13099
13061
  "requestBodyRequired": false,
13100
13062
  "requiredKeyKind": "root",
@@ -13105,13 +13067,13 @@
13105
13067
  "dist",
13106
13068
  "commands",
13107
13069
  "management",
13108
- "get-provider-stats.js"
13070
+ "list-delivery.js"
13109
13071
  ]
13110
13072
  },
13111
- "management:get-provider-usage": {
13073
+ "management:list-email-logs": {
13112
13074
  "aliases": [],
13113
13075
  "args": {},
13114
- "description": "Get sending account usage",
13076
+ "description": "List delivery logs",
13115
13077
  "flags": {
13116
13078
  "json": {
13117
13079
  "description": "Format output as json.",
@@ -13231,7 +13193,7 @@
13231
13193
  },
13232
13194
  "hasDynamicHelp": false,
13233
13195
  "hiddenAliases": [],
13234
- "id": "management:get-provider-usage",
13196
+ "id": "management:list-email-logs",
13235
13197
  "pluginAlias": "@sendmux/cli",
13236
13198
  "pluginName": "@sendmux/cli",
13237
13199
  "pluginType": "core",
@@ -13239,62 +13201,120 @@
13239
13201
  "enableJsonFlag": true,
13240
13202
  "operation": {
13241
13203
  "bodyKind": "none",
13242
- "command": "management:get-provider-usage",
13243
- "description": "Get sending account usage",
13204
+ "command": "management:list-email-logs",
13205
+ "description": "List delivery logs",
13244
13206
  "headerParams": [],
13245
13207
  "method": "get",
13246
- "operationId": "managementGetProviderUsage",
13247
- "path": "/providers/usage",
13208
+ "operationId": "managementListEmailLogs",
13209
+ "path": "/emails/logs",
13248
13210
  "pathParams": [],
13249
- "queryParams": [],
13250
- "responseKind": "json",
13251
- "requestBodyRequired": false,
13252
- "requiredKeyKind": "root",
13253
- "surface": "management"
13254
- },
13255
- "isESM": true,
13256
- "relativePath": [
13257
- "dist",
13258
- "commands",
13259
- "management",
13260
- "get-provider-usage.js"
13261
- ]
13262
- },
13263
- "management:get-provider": {
13264
- "aliases": [],
13265
- "args": {},
13266
- "description": "Get a sending account",
13267
- "flags": {
13268
- "json": {
13269
- "description": "Format output as json.",
13270
- "helpGroup": "GLOBAL",
13271
- "name": "json",
13272
- "allowNo": false,
13273
- "type": "boolean"
13274
- },
13275
- "api-key": {
13276
- "description": "Sendmux API key. Defaults to SENDMUX_API_KEY.",
13277
- "helpGroup": "GLOBAL",
13278
- "name": "api-key",
13279
- "hasDynamicHelp": false,
13280
- "multiple": false,
13281
- "type": "option"
13282
- },
13283
- "base-url": {
13284
- "description": "Override the API base URL. Defaults to the SDK surface default or SENDMUX_BASE_URL.",
13285
- "helpGroup": "GLOBAL",
13286
- "name": "base-url",
13287
- "hasDynamicHelp": false,
13288
- "multiple": false,
13289
- "type": "option"
13290
- },
13291
- "profile": {
13292
- "char": "p",
13293
- "description": "Profile name from the local Sendmux CLI config. Defaults to SENDMUX_PROFILE or the configured default profile.",
13294
- "helpGroup": "GLOBAL",
13295
- "name": "profile",
13296
- "hasDynamicHelp": false,
13297
- "multiple": false,
13211
+ "queryParams": [
13212
+ {
13213
+ "name": "limit",
13214
+ "required": false,
13215
+ "schema": {
13216
+ "type": "integer",
13217
+ "minimum": 1,
13218
+ "maximum": 100
13219
+ }
13220
+ },
13221
+ {
13222
+ "name": "cursor",
13223
+ "required": false,
13224
+ "schema": {
13225
+ "type": "string"
13226
+ }
13227
+ },
13228
+ {
13229
+ "name": "status",
13230
+ "required": false,
13231
+ "schema": {
13232
+ "type": "string",
13233
+ "enum": [
13234
+ "pending",
13235
+ "sent",
13236
+ "failed",
13237
+ "rejected"
13238
+ ]
13239
+ }
13240
+ },
13241
+ {
13242
+ "name": "from_date",
13243
+ "required": false,
13244
+ "schema": {
13245
+ "type": "string"
13246
+ }
13247
+ },
13248
+ {
13249
+ "name": "to_date",
13250
+ "required": false,
13251
+ "schema": {
13252
+ "type": "string"
13253
+ }
13254
+ },
13255
+ {
13256
+ "name": "provider_id",
13257
+ "required": false,
13258
+ "schema": {
13259
+ "type": "string"
13260
+ }
13261
+ },
13262
+ {
13263
+ "name": "search",
13264
+ "required": false,
13265
+ "schema": {
13266
+ "type": "string"
13267
+ }
13268
+ }
13269
+ ],
13270
+ "responseKind": "json",
13271
+ "requestBodyRequired": false,
13272
+ "requiredKeyKind": "root",
13273
+ "surface": "management"
13274
+ },
13275
+ "isESM": true,
13276
+ "relativePath": [
13277
+ "dist",
13278
+ "commands",
13279
+ "management",
13280
+ "list-email-logs.js"
13281
+ ]
13282
+ },
13283
+ "management:list-inbox-logs": {
13284
+ "aliases": [],
13285
+ "args": {},
13286
+ "description": "List incoming logs",
13287
+ "flags": {
13288
+ "json": {
13289
+ "description": "Format output as json.",
13290
+ "helpGroup": "GLOBAL",
13291
+ "name": "json",
13292
+ "allowNo": false,
13293
+ "type": "boolean"
13294
+ },
13295
+ "api-key": {
13296
+ "description": "Sendmux API key. Defaults to SENDMUX_API_KEY.",
13297
+ "helpGroup": "GLOBAL",
13298
+ "name": "api-key",
13299
+ "hasDynamicHelp": false,
13300
+ "multiple": false,
13301
+ "type": "option"
13302
+ },
13303
+ "base-url": {
13304
+ "description": "Override the API base URL. Defaults to the SDK surface default or SENDMUX_BASE_URL.",
13305
+ "helpGroup": "GLOBAL",
13306
+ "name": "base-url",
13307
+ "hasDynamicHelp": false,
13308
+ "multiple": false,
13309
+ "type": "option"
13310
+ },
13311
+ "profile": {
13312
+ "char": "p",
13313
+ "description": "Profile name from the local Sendmux CLI config. Defaults to SENDMUX_PROFILE or the configured default profile.",
13314
+ "helpGroup": "GLOBAL",
13315
+ "name": "profile",
13316
+ "hasDynamicHelp": false,
13317
+ "multiple": false,
13298
13318
  "type": "option"
13299
13319
  },
13300
13320
  "attach": {
@@ -13383,7 +13403,7 @@
13383
13403
  },
13384
13404
  "hasDynamicHelp": false,
13385
13405
  "hiddenAliases": [],
13386
- "id": "management:get-provider",
13406
+ "id": "management:list-inbox-logs",
13387
13407
  "pluginAlias": "@sendmux/cli",
13388
13408
  "pluginName": "@sendmux/cli",
13389
13409
  "pluginType": "core",
@@ -13391,30 +13411,70 @@
13391
13411
  "enableJsonFlag": true,
13392
13412
  "operation": {
13393
13413
  "bodyKind": "none",
13394
- "command": "management:get-provider",
13395
- "description": "Get a sending account",
13396
- "headerParams": [
13414
+ "command": "management:list-inbox-logs",
13415
+ "description": "List incoming logs",
13416
+ "headerParams": [],
13417
+ "method": "get",
13418
+ "operationId": "managementListInboxLogs",
13419
+ "path": "/inboxes/logs",
13420
+ "pathParams": [],
13421
+ "queryParams": [
13397
13422
  {
13398
- "name": "If-None-Match",
13423
+ "name": "limit",
13424
+ "required": false,
13425
+ "schema": {
13426
+ "type": "integer",
13427
+ "minimum": 1,
13428
+ "maximum": 100
13429
+ }
13430
+ },
13431
+ {
13432
+ "name": "cursor",
13399
13433
  "required": false,
13400
13434
  "schema": {
13401
13435
  "type": "string"
13402
13436
  }
13403
- }
13404
- ],
13405
- "method": "get",
13406
- "operationId": "managementGetProvider",
13407
- "path": "/providers/{public_id}",
13408
- "pathParams": [
13437
+ },
13409
13438
  {
13410
- "name": "public_id",
13411
- "required": true,
13439
+ "name": "mailbox_id",
13440
+ "required": false,
13441
+ "schema": {
13442
+ "type": "string"
13443
+ }
13444
+ },
13445
+ {
13446
+ "name": "event_type",
13447
+ "required": false,
13448
+ "schema": {
13449
+ "type": "string",
13450
+ "enum": [
13451
+ "message.received",
13452
+ "message.received.spam"
13453
+ ]
13454
+ }
13455
+ },
13456
+ {
13457
+ "name": "from_date",
13458
+ "required": false,
13459
+ "schema": {
13460
+ "type": "string"
13461
+ }
13462
+ },
13463
+ {
13464
+ "name": "to_date",
13465
+ "required": false,
13466
+ "schema": {
13467
+ "type": "string"
13468
+ }
13469
+ },
13470
+ {
13471
+ "name": "search",
13472
+ "required": false,
13412
13473
  "schema": {
13413
13474
  "type": "string"
13414
13475
  }
13415
13476
  }
13416
13477
  ],
13417
- "queryParams": [],
13418
13478
  "responseKind": "json",
13419
13479
  "requestBodyRequired": false,
13420
13480
  "requiredKeyKind": "root",
@@ -13425,13 +13485,13 @@
13425
13485
  "dist",
13426
13486
  "commands",
13427
13487
  "management",
13428
- "get-provider.js"
13488
+ "list-inbox-logs.js"
13429
13489
  ]
13430
13490
  },
13431
- "management:get-shared-amazon-ses-limit-request": {
13491
+ "management:list-transactions": {
13432
13492
  "aliases": [],
13433
13493
  "args": {},
13434
- "description": "Get shared Amazon SES limit request state",
13494
+ "description": "List transactions",
13435
13495
  "flags": {
13436
13496
  "json": {
13437
13497
  "description": "Format output as json.",
@@ -13551,7 +13611,7 @@
13551
13611
  },
13552
13612
  "hasDynamicHelp": false,
13553
13613
  "hiddenAliases": [],
13554
- "id": "management:get-shared-amazon-ses-limit-request",
13614
+ "id": "management:list-transactions",
13555
13615
  "pluginAlias": "@sendmux/cli",
13556
13616
  "pluginName": "@sendmux/cli",
13557
13617
  "pluginType": "core",
@@ -13559,14 +13619,45 @@
13559
13619
  "enableJsonFlag": true,
13560
13620
  "operation": {
13561
13621
  "bodyKind": "none",
13562
- "command": "management:get-shared-amazon-ses-limit-request",
13563
- "description": "Get shared Amazon SES limit request state",
13622
+ "command": "management:list-transactions",
13623
+ "description": "List transactions",
13564
13624
  "headerParams": [],
13565
13625
  "method": "get",
13566
- "operationId": "managementGetSharedAmazonSesLimitRequest",
13567
- "path": "/providers/shared-amazon-ses-limit-request",
13626
+ "operationId": "managementListTransactions",
13627
+ "path": "/billing/transactions",
13568
13628
  "pathParams": [],
13569
- "queryParams": [],
13629
+ "queryParams": [
13630
+ {
13631
+ "name": "cursor",
13632
+ "required": false,
13633
+ "schema": {
13634
+ "type": "string"
13635
+ }
13636
+ },
13637
+ {
13638
+ "name": "limit",
13639
+ "required": false,
13640
+ "schema": {
13641
+ "type": "integer",
13642
+ "minimum": 1,
13643
+ "maximum": 100
13644
+ }
13645
+ },
13646
+ {
13647
+ "name": "type",
13648
+ "required": false,
13649
+ "schema": {
13650
+ "type": "string",
13651
+ "enum": [
13652
+ "PURCHASE",
13653
+ "USAGE",
13654
+ "AUTO_TOPUP",
13655
+ "REFUND",
13656
+ "ADJUSTMENT"
13657
+ ]
13658
+ }
13659
+ }
13660
+ ],
13570
13661
  "responseKind": "json",
13571
13662
  "requestBodyRequired": false,
13572
13663
  "requiredKeyKind": "root",
@@ -13577,13 +13668,13 @@
13577
13668
  "dist",
13578
13669
  "commands",
13579
13670
  "management",
13580
- "get-shared-amazon-ses-limit-request.js"
13671
+ "list-transactions.js"
13581
13672
  ]
13582
13673
  },
13583
- "management:get-spend-summary": {
13674
+ "management:list-webhooks": {
13584
13675
  "aliases": [],
13585
13676
  "args": {},
13586
- "description": "Get spend summary",
13677
+ "description": "List webhook subscriptions",
13587
13678
  "flags": {
13588
13679
  "json": {
13589
13680
  "description": "Format output as json.",
@@ -13703,7 +13794,7 @@
13703
13794
  },
13704
13795
  "hasDynamicHelp": false,
13705
13796
  "hiddenAliases": [],
13706
- "id": "management:get-spend-summary",
13797
+ "id": "management:list-webhooks",
13707
13798
  "pluginAlias": "@sendmux/cli",
13708
13799
  "pluginName": "@sendmux/cli",
13709
13800
  "pluginType": "core",
@@ -13711,24 +13802,28 @@
13711
13802
  "enableJsonFlag": true,
13712
13803
  "operation": {
13713
13804
  "bodyKind": "none",
13714
- "command": "management:get-spend-summary",
13715
- "description": "Get spend summary",
13805
+ "command": "management:list-webhooks",
13806
+ "description": "List webhook subscriptions",
13716
13807
  "headerParams": [],
13717
13808
  "method": "get",
13718
- "operationId": "managementGetSpendSummary",
13719
- "path": "/billing/summary",
13809
+ "operationId": "managementListWebhooks",
13810
+ "path": "/webhooks",
13720
13811
  "pathParams": [],
13721
13812
  "queryParams": [
13722
13813
  {
13723
- "name": "days",
13814
+ "name": "cursor",
13724
13815
  "required": false,
13725
13816
  "schema": {
13726
- "type": "string",
13727
- "enum": [
13728
- "7",
13729
- "30",
13730
- "90"
13731
- ]
13817
+ "type": "string"
13818
+ }
13819
+ },
13820
+ {
13821
+ "name": "limit",
13822
+ "required": false,
13823
+ "schema": {
13824
+ "type": "integer",
13825
+ "minimum": 1,
13826
+ "maximum": 100
13732
13827
  }
13733
13828
  }
13734
13829
  ],
@@ -13742,13 +13837,13 @@
13742
13837
  "dist",
13743
13838
  "commands",
13744
13839
  "management",
13745
- "get-spend-summary.js"
13840
+ "list-webhooks.js"
13746
13841
  ]
13747
13842
  },
13748
- "management:get-webhook": {
13843
+ "management:request-sending-account-limit-increase": {
13749
13844
  "aliases": [],
13750
13845
  "args": {},
13751
- "description": "Get a webhook subscription",
13846
+ "description": "Request a sending account limit increase",
13752
13847
  "flags": {
13753
13848
  "json": {
13754
13849
  "description": "Format output as json.",
@@ -13868,7 +13963,7 @@
13868
13963
  },
13869
13964
  "hasDynamicHelp": false,
13870
13965
  "hiddenAliases": [],
13871
- "id": "management:get-webhook",
13966
+ "id": "management:request-sending-account-limit-increase",
13872
13967
  "pluginAlias": "@sendmux/cli",
13873
13968
  "pluginName": "@sendmux/cli",
13874
13969
  "pluginType": "core",
@@ -13876,29 +13971,22 @@
13876
13971
  "enableJsonFlag": true,
13877
13972
  "operation": {
13878
13973
  "bodyKind": "none",
13879
- "command": "management:get-webhook",
13880
- "description": "Get a webhook subscription",
13974
+ "command": "management:request-sending-account-limit-increase",
13975
+ "description": "Request a sending account limit increase",
13881
13976
  "headerParams": [
13882
13977
  {
13883
- "name": "If-None-Match",
13978
+ "name": "Idempotency-Key",
13884
13979
  "required": false,
13885
13980
  "schema": {
13886
- "type": "string"
13887
- }
13888
- }
13889
- ],
13890
- "method": "get",
13891
- "operationId": "managementGetWebhook",
13892
- "path": "/webhooks/{public_id}",
13893
- "pathParams": [
13894
- {
13895
- "name": "public_id",
13896
- "required": true,
13897
- "schema": {
13898
- "type": "string"
13981
+ "type": "string",
13982
+ "maxLength": 255
13899
13983
  }
13900
13984
  }
13901
13985
  ],
13986
+ "method": "post",
13987
+ "operationId": "managementRequestSendingAccountLimitIncrease",
13988
+ "path": "/providers/limits/sending-accounts/request-increase",
13989
+ "pathParams": [],
13902
13990
  "queryParams": [],
13903
13991
  "responseKind": "json",
13904
13992
  "requestBodyRequired": false,
@@ -13910,13 +13998,13 @@
13910
13998
  "dist",
13911
13999
  "commands",
13912
14000
  "management",
13913
- "get-webhook.js"
14001
+ "request-sending-account-limit-increase.js"
13914
14002
  ]
13915
14003
  },
13916
- "management:list-balance": {
14004
+ "management:resume-mailbox": {
13917
14005
  "aliases": [],
13918
14006
  "args": {},
13919
- "description": "Get current balance",
14007
+ "description": "Resume a mailbox",
13920
14008
  "flags": {
13921
14009
  "json": {
13922
14010
  "description": "Format output as json.",
@@ -14036,7 +14124,7 @@
14036
14124
  },
14037
14125
  "hasDynamicHelp": false,
14038
14126
  "hiddenAliases": [],
14039
- "id": "management:list-balance",
14127
+ "id": "management:resume-mailbox",
14040
14128
  "pluginAlias": "@sendmux/cli",
14041
14129
  "pluginName": "@sendmux/cli",
14042
14130
  "pluginType": "core",
@@ -14044,13 +14132,30 @@
14044
14132
  "enableJsonFlag": true,
14045
14133
  "operation": {
14046
14134
  "bodyKind": "none",
14047
- "command": "management:list-balance",
14048
- "description": "Get current balance",
14049
- "headerParams": [],
14050
- "method": "get",
14051
- "operationId": "managementListBalance",
14052
- "path": "/billing/balance",
14053
- "pathParams": [],
14135
+ "command": "management:resume-mailbox",
14136
+ "description": "Resume a mailbox",
14137
+ "headerParams": [
14138
+ {
14139
+ "name": "Idempotency-Key",
14140
+ "required": false,
14141
+ "schema": {
14142
+ "type": "string",
14143
+ "maxLength": 255
14144
+ }
14145
+ }
14146
+ ],
14147
+ "method": "post",
14148
+ "operationId": "managementResumeMailbox",
14149
+ "path": "/mailboxes/{public_id}/resume",
14150
+ "pathParams": [
14151
+ {
14152
+ "name": "public_id",
14153
+ "required": true,
14154
+ "schema": {
14155
+ "type": "string"
14156
+ }
14157
+ }
14158
+ ],
14054
14159
  "queryParams": [],
14055
14160
  "responseKind": "json",
14056
14161
  "requestBodyRequired": false,
@@ -14062,13 +14167,13 @@
14062
14167
  "dist",
14063
14168
  "commands",
14064
14169
  "management",
14065
- "list-balance.js"
14170
+ "resume-mailbox.js"
14066
14171
  ]
14067
14172
  },
14068
- "management:list-delivery": {
14173
+ "management:rotate-webhook-secret": {
14069
14174
  "aliases": [],
14070
14175
  "args": {},
14071
- "description": "List webhook delivery attempts",
14176
+ "description": "Rotate the signing secret",
14072
14177
  "flags": {
14073
14178
  "json": {
14074
14179
  "description": "Format output as json.",
@@ -14188,7 +14293,7 @@
14188
14293
  },
14189
14294
  "hasDynamicHelp": false,
14190
14295
  "hiddenAliases": [],
14191
- "id": "management:list-delivery",
14296
+ "id": "management:rotate-webhook-secret",
14192
14297
  "pluginAlias": "@sendmux/cli",
14193
14298
  "pluginName": "@sendmux/cli",
14194
14299
  "pluginType": "core",
@@ -14196,69 +14301,31 @@
14196
14301
  "enableJsonFlag": true,
14197
14302
  "operation": {
14198
14303
  "bodyKind": "none",
14199
- "command": "management:list-delivery",
14200
- "description": "List webhook delivery attempts",
14201
- "headerParams": [],
14202
- "method": "get",
14203
- "operationId": "managementListDelivery",
14204
- "path": "/webhooks/{public_id}/deliveries",
14205
- "pathParams": [
14304
+ "command": "management:rotate-webhook-secret",
14305
+ "description": "Rotate the signing secret",
14306
+ "headerParams": [
14206
14307
  {
14207
- "name": "public_id",
14208
- "required": true,
14308
+ "name": "Idempotency-Key",
14309
+ "required": false,
14209
14310
  "schema": {
14210
- "type": "string"
14311
+ "type": "string",
14312
+ "maxLength": 255
14211
14313
  }
14212
14314
  }
14213
14315
  ],
14214
- "queryParams": [
14316
+ "method": "post",
14317
+ "operationId": "managementRotateWebhookSecret",
14318
+ "path": "/webhooks/{public_id}/rotate-secret",
14319
+ "pathParams": [
14215
14320
  {
14216
- "name": "cursor",
14217
- "required": false,
14321
+ "name": "public_id",
14322
+ "required": true,
14218
14323
  "schema": {
14219
14324
  "type": "string"
14220
14325
  }
14221
- },
14222
- {
14223
- "name": "limit",
14224
- "required": false,
14225
- "schema": {
14226
- "type": "integer",
14227
- "minimum": 1,
14228
- "maximum": 100
14229
- }
14230
- },
14231
- {
14232
- "name": "event_type",
14233
- "required": false,
14234
- "schema": {
14235
- "type": "string",
14236
- "enum": [
14237
- "message.delivered",
14238
- "message.bounced",
14239
- "message.complained",
14240
- "message.rejected",
14241
- "message.delivery_delayed",
14242
- "message.received",
14243
- "message.received.spam",
14244
- "sendmux.test"
14245
- ]
14246
- }
14247
- },
14248
- {
14249
- "name": "result",
14250
- "required": false,
14251
- "schema": {
14252
- "type": "string",
14253
- "enum": [
14254
- "success",
14255
- "retrying",
14256
- "failed",
14257
- "permanent_failure"
14258
- ]
14259
- }
14260
14326
  }
14261
14327
  ],
14328
+ "queryParams": [],
14262
14329
  "responseKind": "json",
14263
14330
  "requestBodyRequired": false,
14264
14331
  "requiredKeyKind": "root",
@@ -14269,13 +14336,13 @@
14269
14336
  "dist",
14270
14337
  "commands",
14271
14338
  "management",
14272
- "list-delivery.js"
14339
+ "rotate-webhook-secret.js"
14273
14340
  ]
14274
14341
  },
14275
- "management:list-email-logs": {
14342
+ "management:set-domain-filters": {
14276
14343
  "aliases": [],
14277
14344
  "args": {},
14278
- "description": "List delivery logs",
14345
+ "description": "Replace domain-wide sender filters",
14279
14346
  "flags": {
14280
14347
  "json": {
14281
14348
  "description": "Format output as json.",
@@ -14366,109 +14433,67 @@
14366
14433
  "type": "option"
14367
14434
  },
14368
14435
  "if-none-match": {
14369
- "description": "Set the If-None-Match header.",
14370
- "name": "if-none-match",
14371
- "hasDynamicHelp": false,
14372
- "multiple": false,
14373
- "type": "option"
14374
- },
14375
- "path": {
14376
- "description": "Path parameter as name=value. Repeat for multiple path parameters.",
14377
- "name": "path",
14378
- "hasDynamicHelp": false,
14379
- "multiple": true,
14380
- "type": "option"
14381
- },
14382
- "query": {
14383
- "description": "Query parameter as name=value. Repeat for multiple query parameters.",
14384
- "name": "query",
14385
- "hasDynamicHelp": false,
14386
- "multiple": true,
14387
- "type": "option"
14388
- },
14389
- "via-presigned": {
14390
- "description": "For mailbox:upload-attachment --file, mint a short-lived upload URL and PUT the file without sending an API key.",
14391
- "name": "via-presigned",
14392
- "allowNo": false,
14393
- "type": "boolean"
14394
- }
14395
- },
14396
- "hasDynamicHelp": false,
14397
- "hiddenAliases": [],
14398
- "id": "management:list-email-logs",
14399
- "pluginAlias": "@sendmux/cli",
14400
- "pluginName": "@sendmux/cli",
14401
- "pluginType": "core",
14402
- "strict": true,
14403
- "enableJsonFlag": true,
14404
- "operation": {
14405
- "bodyKind": "none",
14406
- "command": "management:list-email-logs",
14407
- "description": "List delivery logs",
14408
- "headerParams": [],
14409
- "method": "get",
14410
- "operationId": "managementListEmailLogs",
14411
- "path": "/emails/logs",
14412
- "pathParams": [],
14413
- "queryParams": [
14414
- {
14415
- "name": "limit",
14416
- "required": false,
14417
- "schema": {
14418
- "type": "integer",
14419
- "minimum": 1,
14420
- "maximum": 100
14421
- }
14422
- },
14423
- {
14424
- "name": "cursor",
14425
- "required": false,
14426
- "schema": {
14427
- "type": "string"
14428
- }
14429
- },
14430
- {
14431
- "name": "status",
14432
- "required": false,
14433
- "schema": {
14434
- "type": "string",
14435
- "enum": [
14436
- "pending",
14437
- "sent",
14438
- "failed",
14439
- "rejected"
14440
- ]
14441
- }
14442
- },
14443
- {
14444
- "name": "from_date",
14445
- "required": false,
14446
- "schema": {
14447
- "type": "string"
14448
- }
14449
- },
14450
- {
14451
- "name": "to_date",
14452
- "required": false,
14453
- "schema": {
14454
- "type": "string"
14455
- }
14456
- },
14436
+ "description": "Set the If-None-Match header.",
14437
+ "name": "if-none-match",
14438
+ "hasDynamicHelp": false,
14439
+ "multiple": false,
14440
+ "type": "option"
14441
+ },
14442
+ "path": {
14443
+ "description": "Path parameter as name=value. Repeat for multiple path parameters.",
14444
+ "name": "path",
14445
+ "hasDynamicHelp": false,
14446
+ "multiple": true,
14447
+ "type": "option"
14448
+ },
14449
+ "query": {
14450
+ "description": "Query parameter as name=value. Repeat for multiple query parameters.",
14451
+ "name": "query",
14452
+ "hasDynamicHelp": false,
14453
+ "multiple": true,
14454
+ "type": "option"
14455
+ },
14456
+ "via-presigned": {
14457
+ "description": "For mailbox:upload-attachment --file, mint a short-lived upload URL and PUT the file without sending an API key.",
14458
+ "name": "via-presigned",
14459
+ "allowNo": false,
14460
+ "type": "boolean"
14461
+ }
14462
+ },
14463
+ "hasDynamicHelp": false,
14464
+ "hiddenAliases": [],
14465
+ "id": "management:set-domain-filters",
14466
+ "pluginAlias": "@sendmux/cli",
14467
+ "pluginName": "@sendmux/cli",
14468
+ "pluginType": "core",
14469
+ "strict": true,
14470
+ "enableJsonFlag": true,
14471
+ "operation": {
14472
+ "bodyKind": "json",
14473
+ "command": "management:set-domain-filters",
14474
+ "description": "Replace domain-wide sender filters",
14475
+ "headerParams": [
14457
14476
  {
14458
- "name": "provider_id",
14477
+ "name": "If-Match",
14459
14478
  "required": false,
14460
14479
  "schema": {
14461
14480
  "type": "string"
14462
14481
  }
14463
- },
14482
+ }
14483
+ ],
14484
+ "method": "put",
14485
+ "operationId": "managementSetDomainFilters",
14486
+ "path": "/domains/{public_id}/filters",
14487
+ "pathParams": [
14464
14488
  {
14465
- "name": "search",
14466
- "required": false,
14489
+ "name": "public_id",
14490
+ "required": true,
14467
14491
  "schema": {
14468
14492
  "type": "string"
14469
14493
  }
14470
14494
  }
14471
14495
  ],
14496
+ "queryParams": [],
14472
14497
  "responseKind": "json",
14473
14498
  "requestBodyRequired": false,
14474
14499
  "requiredKeyKind": "root",
@@ -14479,13 +14504,13 @@
14479
14504
  "dist",
14480
14505
  "commands",
14481
14506
  "management",
14482
- "list-email-logs.js"
14507
+ "set-domain-filters.js"
14483
14508
  ]
14484
14509
  },
14485
- "management:list-inbox-logs": {
14510
+ "management:set-mailbox-filters": {
14486
14511
  "aliases": [],
14487
14512
  "args": {},
14488
- "description": "List incoming logs",
14513
+ "description": "Replace mailbox sender filters",
14489
14514
  "flags": {
14490
14515
  "json": {
14491
14516
  "description": "Format output as json.",
@@ -14605,78 +14630,38 @@
14605
14630
  },
14606
14631
  "hasDynamicHelp": false,
14607
14632
  "hiddenAliases": [],
14608
- "id": "management:list-inbox-logs",
14633
+ "id": "management:set-mailbox-filters",
14609
14634
  "pluginAlias": "@sendmux/cli",
14610
14635
  "pluginName": "@sendmux/cli",
14611
14636
  "pluginType": "core",
14612
14637
  "strict": true,
14613
14638
  "enableJsonFlag": true,
14614
14639
  "operation": {
14615
- "bodyKind": "none",
14616
- "command": "management:list-inbox-logs",
14617
- "description": "List incoming logs",
14618
- "headerParams": [],
14619
- "method": "get",
14620
- "operationId": "managementListInboxLogs",
14621
- "path": "/inboxes/logs",
14622
- "pathParams": [],
14623
- "queryParams": [
14624
- {
14625
- "name": "limit",
14626
- "required": false,
14627
- "schema": {
14628
- "type": "integer",
14629
- "minimum": 1,
14630
- "maximum": 100
14631
- }
14632
- },
14633
- {
14634
- "name": "cursor",
14635
- "required": false,
14636
- "schema": {
14637
- "type": "string"
14638
- }
14639
- },
14640
- {
14641
- "name": "mailbox_id",
14642
- "required": false,
14643
- "schema": {
14644
- "type": "string"
14645
- }
14646
- },
14647
- {
14648
- "name": "event_type",
14649
- "required": false,
14650
- "schema": {
14651
- "type": "string",
14652
- "enum": [
14653
- "message.received",
14654
- "message.received.spam"
14655
- ]
14656
- }
14657
- },
14658
- {
14659
- "name": "from_date",
14660
- "required": false,
14661
- "schema": {
14662
- "type": "string"
14663
- }
14664
- },
14640
+ "bodyKind": "json",
14641
+ "command": "management:set-mailbox-filters",
14642
+ "description": "Replace mailbox sender filters",
14643
+ "headerParams": [
14665
14644
  {
14666
- "name": "to_date",
14645
+ "name": "If-Match",
14667
14646
  "required": false,
14668
14647
  "schema": {
14669
14648
  "type": "string"
14670
14649
  }
14671
- },
14650
+ }
14651
+ ],
14652
+ "method": "put",
14653
+ "operationId": "managementSetMailboxFilters",
14654
+ "path": "/mailboxes/{public_id}/filters",
14655
+ "pathParams": [
14672
14656
  {
14673
- "name": "search",
14674
- "required": false,
14657
+ "name": "public_id",
14658
+ "required": true,
14675
14659
  "schema": {
14676
14660
  "type": "string"
14677
14661
  }
14678
14662
  }
14679
14663
  ],
14664
+ "queryParams": [],
14680
14665
  "responseKind": "json",
14681
14666
  "requestBodyRequired": false,
14682
14667
  "requiredKeyKind": "root",
@@ -14687,13 +14672,13 @@
14687
14672
  "dist",
14688
14673
  "commands",
14689
14674
  "management",
14690
- "list-inbox-logs.js"
14675
+ "set-mailbox-filters.js"
14691
14676
  ]
14692
14677
  },
14693
- "management:list-transactions": {
14678
+ "management:suspend-mailbox": {
14694
14679
  "aliases": [],
14695
14680
  "args": {},
14696
- "description": "List transactions",
14681
+ "description": "Suspend a mailbox",
14697
14682
  "flags": {
14698
14683
  "json": {
14699
14684
  "description": "Format output as json.",
@@ -14813,7 +14798,7 @@
14813
14798
  },
14814
14799
  "hasDynamicHelp": false,
14815
14800
  "hiddenAliases": [],
14816
- "id": "management:list-transactions",
14801
+ "id": "management:suspend-mailbox",
14817
14802
  "pluginAlias": "@sendmux/cli",
14818
14803
  "pluginName": "@sendmux/cli",
14819
14804
  "pluginType": "core",
@@ -14821,45 +14806,31 @@
14821
14806
  "enableJsonFlag": true,
14822
14807
  "operation": {
14823
14808
  "bodyKind": "none",
14824
- "command": "management:list-transactions",
14825
- "description": "List transactions",
14826
- "headerParams": [],
14827
- "method": "get",
14828
- "operationId": "managementListTransactions",
14829
- "path": "/billing/transactions",
14830
- "pathParams": [],
14831
- "queryParams": [
14832
- {
14833
- "name": "cursor",
14834
- "required": false,
14835
- "schema": {
14836
- "type": "string"
14837
- }
14838
- },
14809
+ "command": "management:suspend-mailbox",
14810
+ "description": "Suspend a mailbox",
14811
+ "headerParams": [
14839
14812
  {
14840
- "name": "limit",
14813
+ "name": "Idempotency-Key",
14841
14814
  "required": false,
14842
14815
  "schema": {
14843
- "type": "integer",
14844
- "minimum": 1,
14845
- "maximum": 100
14816
+ "type": "string",
14817
+ "maxLength": 255
14846
14818
  }
14847
- },
14819
+ }
14820
+ ],
14821
+ "method": "post",
14822
+ "operationId": "managementSuspendMailbox",
14823
+ "path": "/mailboxes/{public_id}/suspend",
14824
+ "pathParams": [
14848
14825
  {
14849
- "name": "type",
14850
- "required": false,
14826
+ "name": "public_id",
14827
+ "required": true,
14851
14828
  "schema": {
14852
- "type": "string",
14853
- "enum": [
14854
- "PURCHASE",
14855
- "USAGE",
14856
- "AUTO_TOPUP",
14857
- "REFUND",
14858
- "ADJUSTMENT"
14859
- ]
14829
+ "type": "string"
14860
14830
  }
14861
14831
  }
14862
14832
  ],
14833
+ "queryParams": [],
14863
14834
  "responseKind": "json",
14864
14835
  "requestBodyRequired": false,
14865
14836
  "requiredKeyKind": "root",
@@ -14870,13 +14841,13 @@
14870
14841
  "dist",
14871
14842
  "commands",
14872
14843
  "management",
14873
- "list-transactions.js"
14844
+ "suspend-mailbox.js"
14874
14845
  ]
14875
14846
  },
14876
- "management:list-webhooks": {
14847
+ "management:test-provider": {
14877
14848
  "aliases": [],
14878
14849
  "args": {},
14879
- "description": "List webhook subscriptions",
14850
+ "description": "Test an SMTP sending account",
14880
14851
  "flags": {
14881
14852
  "json": {
14882
14853
  "description": "Format output as json.",
@@ -14996,7 +14967,7 @@
14996
14967
  },
14997
14968
  "hasDynamicHelp": false,
14998
14969
  "hiddenAliases": [],
14999
- "id": "management:list-webhooks",
14970
+ "id": "management:test-provider",
15000
14971
  "pluginAlias": "@sendmux/cli",
15001
14972
  "pluginName": "@sendmux/cli",
15002
14973
  "pluginType": "core",
@@ -15004,31 +14975,31 @@
15004
14975
  "enableJsonFlag": true,
15005
14976
  "operation": {
15006
14977
  "bodyKind": "none",
15007
- "command": "management:list-webhooks",
15008
- "description": "List webhook subscriptions",
15009
- "headerParams": [],
15010
- "method": "get",
15011
- "operationId": "managementListWebhooks",
15012
- "path": "/webhooks",
15013
- "pathParams": [],
15014
- "queryParams": [
14978
+ "command": "management:test-provider",
14979
+ "description": "Test an SMTP sending account",
14980
+ "headerParams": [
15015
14981
  {
15016
- "name": "cursor",
14982
+ "name": "Idempotency-Key",
15017
14983
  "required": false,
15018
14984
  "schema": {
15019
- "type": "string"
14985
+ "type": "string",
14986
+ "maxLength": 255
15020
14987
  }
15021
- },
14988
+ }
14989
+ ],
14990
+ "method": "post",
14991
+ "operationId": "managementTestProvider",
14992
+ "path": "/providers/{public_id}/test",
14993
+ "pathParams": [
15022
14994
  {
15023
- "name": "limit",
15024
- "required": false,
14995
+ "name": "public_id",
14996
+ "required": true,
15025
14997
  "schema": {
15026
- "type": "integer",
15027
- "minimum": 1,
15028
- "maximum": 100
14998
+ "type": "string"
15029
14999
  }
15030
15000
  }
15031
15001
  ],
15002
+ "queryParams": [],
15032
15003
  "responseKind": "json",
15033
15004
  "requestBodyRequired": false,
15034
15005
  "requiredKeyKind": "root",
@@ -15039,13 +15010,13 @@
15039
15010
  "dist",
15040
15011
  "commands",
15041
15012
  "management",
15042
- "list-webhooks.js"
15013
+ "test-provider.js"
15043
15014
  ]
15044
15015
  },
15045
- "management:request-sending-account-limit-increase": {
15016
+ "management:test-webhook": {
15046
15017
  "aliases": [],
15047
15018
  "args": {},
15048
- "description": "Request a sending account limit increase",
15019
+ "description": "Send a synthetic test event",
15049
15020
  "flags": {
15050
15021
  "json": {
15051
15022
  "description": "Format output as json.",
@@ -15165,7 +15136,7 @@
15165
15136
  },
15166
15137
  "hasDynamicHelp": false,
15167
15138
  "hiddenAliases": [],
15168
- "id": "management:request-sending-account-limit-increase",
15139
+ "id": "management:test-webhook",
15169
15140
  "pluginAlias": "@sendmux/cli",
15170
15141
  "pluginName": "@sendmux/cli",
15171
15142
  "pluginType": "core",
@@ -15173,8 +15144,8 @@
15173
15144
  "enableJsonFlag": true,
15174
15145
  "operation": {
15175
15146
  "bodyKind": "none",
15176
- "command": "management:request-sending-account-limit-increase",
15177
- "description": "Request a sending account limit increase",
15147
+ "command": "management:test-webhook",
15148
+ "description": "Send a synthetic test event",
15178
15149
  "headerParams": [
15179
15150
  {
15180
15151
  "name": "Idempotency-Key",
@@ -15186,9 +15157,17 @@
15186
15157
  }
15187
15158
  ],
15188
15159
  "method": "post",
15189
- "operationId": "managementRequestSendingAccountLimitIncrease",
15190
- "path": "/providers/limits/sending-accounts/request-increase",
15191
- "pathParams": [],
15160
+ "operationId": "managementTestWebhook",
15161
+ "path": "/webhooks/{public_id}/test",
15162
+ "pathParams": [
15163
+ {
15164
+ "name": "public_id",
15165
+ "required": true,
15166
+ "schema": {
15167
+ "type": "string"
15168
+ }
15169
+ }
15170
+ ],
15192
15171
  "queryParams": [],
15193
15172
  "responseKind": "json",
15194
15173
  "requestBodyRequired": false,
@@ -15200,13 +15179,13 @@
15200
15179
  "dist",
15201
15180
  "commands",
15202
15181
  "management",
15203
- "request-sending-account-limit-increase.js"
15182
+ "test-webhook.js"
15204
15183
  ]
15205
15184
  },
15206
- "management:resume-mailbox": {
15185
+ "management:update-domain": {
15207
15186
  "aliases": [],
15208
15187
  "args": {},
15209
- "description": "Resume a mailbox",
15188
+ "description": "Update a mailbox domain",
15210
15189
  "flags": {
15211
15190
  "json": {
15212
15191
  "description": "Format output as json.",
@@ -15326,29 +15305,28 @@
15326
15305
  },
15327
15306
  "hasDynamicHelp": false,
15328
15307
  "hiddenAliases": [],
15329
- "id": "management:resume-mailbox",
15308
+ "id": "management:update-domain",
15330
15309
  "pluginAlias": "@sendmux/cli",
15331
15310
  "pluginName": "@sendmux/cli",
15332
15311
  "pluginType": "core",
15333
15312
  "strict": true,
15334
15313
  "enableJsonFlag": true,
15335
15314
  "operation": {
15336
- "bodyKind": "none",
15337
- "command": "management:resume-mailbox",
15338
- "description": "Resume a mailbox",
15315
+ "bodyKind": "json",
15316
+ "command": "management:update-domain",
15317
+ "description": "Update a mailbox domain",
15339
15318
  "headerParams": [
15340
15319
  {
15341
- "name": "Idempotency-Key",
15320
+ "name": "If-Match",
15342
15321
  "required": false,
15343
15322
  "schema": {
15344
- "type": "string",
15345
- "maxLength": 255
15323
+ "type": "string"
15346
15324
  }
15347
15325
  }
15348
15326
  ],
15349
- "method": "post",
15350
- "operationId": "managementResumeMailbox",
15351
- "path": "/mailboxes/{public_id}/resume",
15327
+ "method": "patch",
15328
+ "operationId": "managementUpdateDomain",
15329
+ "path": "/domains/{public_id}",
15352
15330
  "pathParams": [
15353
15331
  {
15354
15332
  "name": "public_id",
@@ -15369,13 +15347,13 @@
15369
15347
  "dist",
15370
15348
  "commands",
15371
15349
  "management",
15372
- "resume-mailbox.js"
15350
+ "update-domain.js"
15373
15351
  ]
15374
15352
  },
15375
- "management:rotate-webhook-secret": {
15353
+ "management:update-mailbox": {
15376
15354
  "aliases": [],
15377
15355
  "args": {},
15378
- "description": "Rotate the signing secret",
15356
+ "description": "Update a mailbox",
15379
15357
  "flags": {
15380
15358
  "json": {
15381
15359
  "description": "Format output as json.",
@@ -15495,29 +15473,28 @@
15495
15473
  },
15496
15474
  "hasDynamicHelp": false,
15497
15475
  "hiddenAliases": [],
15498
- "id": "management:rotate-webhook-secret",
15476
+ "id": "management:update-mailbox",
15499
15477
  "pluginAlias": "@sendmux/cli",
15500
15478
  "pluginName": "@sendmux/cli",
15501
15479
  "pluginType": "core",
15502
15480
  "strict": true,
15503
15481
  "enableJsonFlag": true,
15504
15482
  "operation": {
15505
- "bodyKind": "none",
15506
- "command": "management:rotate-webhook-secret",
15507
- "description": "Rotate the signing secret",
15483
+ "bodyKind": "json",
15484
+ "command": "management:update-mailbox",
15485
+ "description": "Update a mailbox",
15508
15486
  "headerParams": [
15509
15487
  {
15510
- "name": "Idempotency-Key",
15488
+ "name": "If-Match",
15511
15489
  "required": false,
15512
15490
  "schema": {
15513
- "type": "string",
15514
- "maxLength": 255
15491
+ "type": "string"
15515
15492
  }
15516
15493
  }
15517
15494
  ],
15518
- "method": "post",
15519
- "operationId": "managementRotateWebhookSecret",
15520
- "path": "/webhooks/{public_id}/rotate-secret",
15495
+ "method": "patch",
15496
+ "operationId": "managementUpdateMailbox",
15497
+ "path": "/mailboxes/{public_id}",
15521
15498
  "pathParams": [
15522
15499
  {
15523
15500
  "name": "public_id",
@@ -15538,13 +15515,13 @@
15538
15515
  "dist",
15539
15516
  "commands",
15540
15517
  "management",
15541
- "rotate-webhook-secret.js"
15518
+ "update-mailbox.js"
15542
15519
  ]
15543
15520
  },
15544
- "management:set-domain-filters": {
15521
+ "management:update-provider": {
15545
15522
  "aliases": [],
15546
15523
  "args": {},
15547
- "description": "Replace domain-wide sender filters",
15524
+ "description": "Update a sending account",
15548
15525
  "flags": {
15549
15526
  "json": {
15550
15527
  "description": "Format output as json.",
@@ -15664,7 +15641,7 @@
15664
15641
  },
15665
15642
  "hasDynamicHelp": false,
15666
15643
  "hiddenAliases": [],
15667
- "id": "management:set-domain-filters",
15644
+ "id": "management:update-provider",
15668
15645
  "pluginAlias": "@sendmux/cli",
15669
15646
  "pluginName": "@sendmux/cli",
15670
15647
  "pluginType": "core",
@@ -15672,8 +15649,8 @@
15672
15649
  "enableJsonFlag": true,
15673
15650
  "operation": {
15674
15651
  "bodyKind": "json",
15675
- "command": "management:set-domain-filters",
15676
- "description": "Replace domain-wide sender filters",
15652
+ "command": "management:update-provider",
15653
+ "description": "Update a sending account",
15677
15654
  "headerParams": [
15678
15655
  {
15679
15656
  "name": "If-Match",
@@ -15683,9 +15660,9 @@
15683
15660
  }
15684
15661
  }
15685
15662
  ],
15686
- "method": "put",
15687
- "operationId": "managementSetDomainFilters",
15688
- "path": "/domains/{public_id}/filters",
15663
+ "method": "patch",
15664
+ "operationId": "managementUpdateProvider",
15665
+ "path": "/providers/{public_id}",
15689
15666
  "pathParams": [
15690
15667
  {
15691
15668
  "name": "public_id",
@@ -15706,13 +15683,13 @@
15706
15683
  "dist",
15707
15684
  "commands",
15708
15685
  "management",
15709
- "set-domain-filters.js"
15686
+ "update-provider.js"
15710
15687
  ]
15711
15688
  },
15712
- "management:set-mailbox-filters": {
15689
+ "management:update-webhook": {
15713
15690
  "aliases": [],
15714
15691
  "args": {},
15715
- "description": "Replace mailbox sender filters",
15692
+ "description": "Update a webhook subscription",
15716
15693
  "flags": {
15717
15694
  "json": {
15718
15695
  "description": "Format output as json.",
@@ -15832,7 +15809,7 @@
15832
15809
  },
15833
15810
  "hasDynamicHelp": false,
15834
15811
  "hiddenAliases": [],
15835
- "id": "management:set-mailbox-filters",
15812
+ "id": "management:update-webhook",
15836
15813
  "pluginAlias": "@sendmux/cli",
15837
15814
  "pluginName": "@sendmux/cli",
15838
15815
  "pluginType": "core",
@@ -15840,8 +15817,8 @@
15840
15817
  "enableJsonFlag": true,
15841
15818
  "operation": {
15842
15819
  "bodyKind": "json",
15843
- "command": "management:set-mailbox-filters",
15844
- "description": "Replace mailbox sender filters",
15820
+ "command": "management:update-webhook",
15821
+ "description": "Update a webhook subscription",
15845
15822
  "headerParams": [
15846
15823
  {
15847
15824
  "name": "If-Match",
@@ -15851,9 +15828,9 @@
15851
15828
  }
15852
15829
  }
15853
15830
  ],
15854
- "method": "put",
15855
- "operationId": "managementSetMailboxFilters",
15856
- "path": "/mailboxes/{public_id}/filters",
15831
+ "method": "patch",
15832
+ "operationId": "managementUpdateWebhook",
15833
+ "path": "/webhooks/{public_id}",
15857
15834
  "pathParams": [
15858
15835
  {
15859
15836
  "name": "public_id",
@@ -15874,13 +15851,13 @@
15874
15851
  "dist",
15875
15852
  "commands",
15876
15853
  "management",
15877
- "set-mailbox-filters.js"
15854
+ "update-webhook.js"
15878
15855
  ]
15879
15856
  },
15880
- "management:suspend-mailbox": {
15857
+ "management:verify-domain": {
15881
15858
  "aliases": [],
15882
15859
  "args": {},
15883
- "description": "Suspend a mailbox",
15860
+ "description": "Verify a mailbox domain",
15884
15861
  "flags": {
15885
15862
  "json": {
15886
15863
  "description": "Format output as json.",
@@ -16000,7 +15977,7 @@
16000
15977
  },
16001
15978
  "hasDynamicHelp": false,
16002
15979
  "hiddenAliases": [],
16003
- "id": "management:suspend-mailbox",
15980
+ "id": "management:verify-domain",
16004
15981
  "pluginAlias": "@sendmux/cli",
16005
15982
  "pluginName": "@sendmux/cli",
16006
15983
  "pluginType": "core",
@@ -16008,21 +15985,12 @@
16008
15985
  "enableJsonFlag": true,
16009
15986
  "operation": {
16010
15987
  "bodyKind": "none",
16011
- "command": "management:suspend-mailbox",
16012
- "description": "Suspend a mailbox",
16013
- "headerParams": [
16014
- {
16015
- "name": "Idempotency-Key",
16016
- "required": false,
16017
- "schema": {
16018
- "type": "string",
16019
- "maxLength": 255
16020
- }
16021
- }
16022
- ],
15988
+ "command": "management:verify-domain",
15989
+ "description": "Verify a mailbox domain",
15990
+ "headerParams": [],
16023
15991
  "method": "post",
16024
- "operationId": "managementSuspendMailbox",
16025
- "path": "/mailboxes/{public_id}/suspend",
15992
+ "operationId": "managementVerifyDomain",
15993
+ "path": "/domains/{public_id}/verify",
16026
15994
  "pathParams": [
16027
15995
  {
16028
15996
  "name": "public_id",
@@ -16043,13 +16011,139 @@
16043
16011
  "dist",
16044
16012
  "commands",
16045
16013
  "management",
16046
- "suspend-mailbox.js"
16014
+ "verify-domain.js"
16047
16015
  ]
16048
16016
  },
16049
- "management:test-provider": {
16017
+ "profiles:list": {
16050
16018
  "aliases": [],
16051
16019
  "args": {},
16052
- "description": "Test an SMTP sending account",
16020
+ "description": "List local Sendmux CLI profiles.",
16021
+ "flags": {
16022
+ "json": {
16023
+ "description": "Format output as json.",
16024
+ "helpGroup": "GLOBAL",
16025
+ "name": "json",
16026
+ "allowNo": false,
16027
+ "type": "boolean"
16028
+ },
16029
+ "verbose": {
16030
+ "description": "Include masked API key prefixes.",
16031
+ "name": "verbose",
16032
+ "allowNo": false,
16033
+ "type": "boolean"
16034
+ }
16035
+ },
16036
+ "hasDynamicHelp": false,
16037
+ "hiddenAliases": [],
16038
+ "id": "profiles:list",
16039
+ "pluginAlias": "@sendmux/cli",
16040
+ "pluginName": "@sendmux/cli",
16041
+ "pluginType": "core",
16042
+ "strict": true,
16043
+ "enableJsonFlag": true,
16044
+ "isESM": true,
16045
+ "relativePath": [
16046
+ "dist",
16047
+ "commands",
16048
+ "profiles",
16049
+ "list.js"
16050
+ ]
16051
+ },
16052
+ "profiles:set": {
16053
+ "aliases": [],
16054
+ "args": {
16055
+ "name": {
16056
+ "description": "Profile name.",
16057
+ "name": "name",
16058
+ "required": true
16059
+ }
16060
+ },
16061
+ "description": "Create or update a local Sendmux CLI profile.",
16062
+ "flags": {
16063
+ "json": {
16064
+ "description": "Format output as json.",
16065
+ "helpGroup": "GLOBAL",
16066
+ "name": "json",
16067
+ "allowNo": false,
16068
+ "type": "boolean"
16069
+ },
16070
+ "api-key": {
16071
+ "description": "Sendmux API key. Defaults to SENDMUX_API_KEY.",
16072
+ "name": "api-key",
16073
+ "required": false,
16074
+ "hasDynamicHelp": false,
16075
+ "multiple": false,
16076
+ "type": "option"
16077
+ },
16078
+ "base-url": {
16079
+ "description": "Optional API base URL override for this profile.",
16080
+ "name": "base-url",
16081
+ "hasDynamicHelp": false,
16082
+ "multiple": false,
16083
+ "type": "option"
16084
+ },
16085
+ "default": {
16086
+ "description": "Make this the default profile.",
16087
+ "name": "default",
16088
+ "allowNo": false,
16089
+ "type": "boolean"
16090
+ }
16091
+ },
16092
+ "hasDynamicHelp": false,
16093
+ "hiddenAliases": [],
16094
+ "id": "profiles:set",
16095
+ "pluginAlias": "@sendmux/cli",
16096
+ "pluginName": "@sendmux/cli",
16097
+ "pluginType": "core",
16098
+ "strict": true,
16099
+ "enableJsonFlag": true,
16100
+ "isESM": true,
16101
+ "relativePath": [
16102
+ "dist",
16103
+ "commands",
16104
+ "profiles",
16105
+ "set.js"
16106
+ ]
16107
+ },
16108
+ "profiles:show": {
16109
+ "aliases": [],
16110
+ "args": {
16111
+ "name": {
16112
+ "description": "Profile name. Defaults to the configured default profile.",
16113
+ "name": "name",
16114
+ "required": false
16115
+ }
16116
+ },
16117
+ "description": "Show a local Sendmux CLI profile without revealing its key.",
16118
+ "flags": {
16119
+ "json": {
16120
+ "description": "Format output as json.",
16121
+ "helpGroup": "GLOBAL",
16122
+ "name": "json",
16123
+ "allowNo": false,
16124
+ "type": "boolean"
16125
+ }
16126
+ },
16127
+ "hasDynamicHelp": false,
16128
+ "hiddenAliases": [],
16129
+ "id": "profiles:show",
16130
+ "pluginAlias": "@sendmux/cli",
16131
+ "pluginName": "@sendmux/cli",
16132
+ "pluginType": "core",
16133
+ "strict": true,
16134
+ "enableJsonFlag": true,
16135
+ "isESM": true,
16136
+ "relativePath": [
16137
+ "dist",
16138
+ "commands",
16139
+ "profiles",
16140
+ "show.js"
16141
+ ]
16142
+ },
16143
+ "sending:complete-attachment-upload": {
16144
+ "aliases": [],
16145
+ "args": {},
16146
+ "description": "Upload bytes to an attachment upload URL",
16053
16147
  "flags": {
16054
16148
  "json": {
16055
16149
  "description": "Format output as json.",
@@ -16169,56 +16263,64 @@
16169
16263
  },
16170
16264
  "hasDynamicHelp": false,
16171
16265
  "hiddenAliases": [],
16172
- "id": "management:test-provider",
16266
+ "id": "sending:complete-attachment-upload",
16173
16267
  "pluginAlias": "@sendmux/cli",
16174
16268
  "pluginName": "@sendmux/cli",
16175
16269
  "pluginType": "core",
16176
16270
  "strict": true,
16177
16271
  "enableJsonFlag": true,
16178
16272
  "operation": {
16179
- "bodyKind": "none",
16180
- "command": "management:test-provider",
16181
- "description": "Test an SMTP sending account",
16273
+ "bodyKind": "binary",
16274
+ "command": "sending:complete-attachment-upload",
16275
+ "description": "Upload bytes to an attachment upload URL",
16182
16276
  "headerParams": [
16183
16277
  {
16184
- "name": "Idempotency-Key",
16185
- "required": false,
16278
+ "name": "X-Sendmux-Upload-Token",
16279
+ "required": true,
16280
+ "schema": {
16281
+ "type": "string"
16282
+ }
16283
+ },
16284
+ {
16285
+ "name": "Content-Length",
16286
+ "required": true,
16186
16287
  "schema": {
16187
- "type": "string",
16188
- "maxLength": 255
16288
+ "type": "integer",
16289
+ "minimum": 1
16189
16290
  }
16190
16291
  }
16191
16292
  ],
16192
- "method": "post",
16193
- "operationId": "managementTestProvider",
16194
- "path": "/providers/{public_id}/test",
16293
+ "method": "put",
16294
+ "operationId": "sendingCompleteAttachmentUpload",
16295
+ "path": "/emails/attachment-uploads/{upload_id}",
16195
16296
  "pathParams": [
16196
16297
  {
16197
- "name": "public_id",
16298
+ "name": "upload_id",
16198
16299
  "required": true,
16199
16300
  "schema": {
16200
- "type": "string"
16301
+ "type": "string",
16302
+ "pattern": "^upl_[a-z0-9]{24}$"
16201
16303
  }
16202
16304
  }
16203
16305
  ],
16204
16306
  "queryParams": [],
16205
16307
  "responseKind": "json",
16206
- "requestBodyRequired": false,
16207
- "requiredKeyKind": "root",
16208
- "surface": "management"
16308
+ "requestBodyRequired": true,
16309
+ "requiredKeyKind": "none",
16310
+ "surface": "sending"
16209
16311
  },
16210
16312
  "isESM": true,
16211
16313
  "relativePath": [
16212
16314
  "dist",
16213
16315
  "commands",
16214
- "management",
16215
- "test-provider.js"
16316
+ "sending",
16317
+ "complete-attachment-upload.js"
16216
16318
  ]
16217
16319
  },
16218
- "management:test-webhook": {
16320
+ "sending:create-attachment-upload": {
16219
16321
  "aliases": [],
16220
16322
  "args": {},
16221
- "description": "Send a synthetic test event",
16323
+ "description": "Create an attachment upload URL",
16222
16324
  "flags": {
16223
16325
  "json": {
16224
16326
  "description": "Format output as json.",
@@ -16338,16 +16440,16 @@
16338
16440
  },
16339
16441
  "hasDynamicHelp": false,
16340
16442
  "hiddenAliases": [],
16341
- "id": "management:test-webhook",
16443
+ "id": "sending:create-attachment-upload",
16342
16444
  "pluginAlias": "@sendmux/cli",
16343
16445
  "pluginName": "@sendmux/cli",
16344
16446
  "pluginType": "core",
16345
16447
  "strict": true,
16346
16448
  "enableJsonFlag": true,
16347
16449
  "operation": {
16348
- "bodyKind": "none",
16349
- "command": "management:test-webhook",
16350
- "description": "Send a synthetic test event",
16450
+ "bodyKind": "json",
16451
+ "command": "sending:create-attachment-upload",
16452
+ "description": "Create an attachment upload URL",
16351
16453
  "headerParams": [
16352
16454
  {
16353
16455
  "name": "Idempotency-Key",
@@ -16359,35 +16461,27 @@
16359
16461
  }
16360
16462
  ],
16361
16463
  "method": "post",
16362
- "operationId": "managementTestWebhook",
16363
- "path": "/webhooks/{public_id}/test",
16364
- "pathParams": [
16365
- {
16366
- "name": "public_id",
16367
- "required": true,
16368
- "schema": {
16369
- "type": "string"
16370
- }
16371
- }
16372
- ],
16464
+ "operationId": "sendingCreateAttachmentUpload",
16465
+ "path": "/emails/attachment-uploads",
16466
+ "pathParams": [],
16373
16467
  "queryParams": [],
16374
16468
  "responseKind": "json",
16375
- "requestBodyRequired": false,
16376
- "requiredKeyKind": "root",
16377
- "surface": "management"
16469
+ "requestBodyRequired": true,
16470
+ "requiredKeyKind": "sending",
16471
+ "surface": "sending"
16378
16472
  },
16379
16473
  "isESM": true,
16380
16474
  "relativePath": [
16381
16475
  "dist",
16382
16476
  "commands",
16383
- "management",
16384
- "test-webhook.js"
16477
+ "sending",
16478
+ "create-attachment-upload.js"
16385
16479
  ]
16386
16480
  },
16387
- "management:update-domain": {
16481
+ "sending:get-attachment": {
16388
16482
  "aliases": [],
16389
16483
  "args": {},
16390
- "description": "Update a mailbox domain",
16484
+ "description": "Get attachment metadata",
16391
16485
  "flags": {
16392
16486
  "json": {
16393
16487
  "description": "Format output as json.",
@@ -16507,55 +16601,48 @@
16507
16601
  },
16508
16602
  "hasDynamicHelp": false,
16509
16603
  "hiddenAliases": [],
16510
- "id": "management:update-domain",
16604
+ "id": "sending:get-attachment",
16511
16605
  "pluginAlias": "@sendmux/cli",
16512
16606
  "pluginName": "@sendmux/cli",
16513
16607
  "pluginType": "core",
16514
16608
  "strict": true,
16515
16609
  "enableJsonFlag": true,
16516
16610
  "operation": {
16517
- "bodyKind": "json",
16518
- "command": "management:update-domain",
16519
- "description": "Update a mailbox domain",
16520
- "headerParams": [
16521
- {
16522
- "name": "If-Match",
16523
- "required": false,
16524
- "schema": {
16525
- "type": "string"
16526
- }
16527
- }
16528
- ],
16529
- "method": "patch",
16530
- "operationId": "managementUpdateDomain",
16531
- "path": "/domains/{public_id}",
16611
+ "bodyKind": "none",
16612
+ "command": "sending:get-attachment",
16613
+ "description": "Get attachment metadata",
16614
+ "headerParams": [],
16615
+ "method": "get",
16616
+ "operationId": "sendingGetAttachment",
16617
+ "path": "/emails/attachments/{attachment_id}",
16532
16618
  "pathParams": [
16533
16619
  {
16534
- "name": "public_id",
16620
+ "name": "attachment_id",
16535
16621
  "required": true,
16536
16622
  "schema": {
16537
- "type": "string"
16623
+ "type": "string",
16624
+ "pattern": "^att_[a-z0-9]{24}$"
16538
16625
  }
16539
16626
  }
16540
16627
  ],
16541
16628
  "queryParams": [],
16542
16629
  "responseKind": "json",
16543
16630
  "requestBodyRequired": false,
16544
- "requiredKeyKind": "root",
16545
- "surface": "management"
16631
+ "requiredKeyKind": "sending",
16632
+ "surface": "sending"
16546
16633
  },
16547
16634
  "isESM": true,
16548
16635
  "relativePath": [
16549
16636
  "dist",
16550
16637
  "commands",
16551
- "management",
16552
- "update-domain.js"
16638
+ "sending",
16639
+ "get-attachment.js"
16553
16640
  ]
16554
16641
  },
16555
- "management:update-mailbox": {
16642
+ "sending:get-connection": {
16556
16643
  "aliases": [],
16557
16644
  "args": {},
16558
- "description": "Update a mailbox",
16645
+ "description": "Get Sending connection",
16559
16646
  "flags": {
16560
16647
  "json": {
16561
16648
  "description": "Format output as json.",
@@ -16675,55 +16762,47 @@
16675
16762
  },
16676
16763
  "hasDynamicHelp": false,
16677
16764
  "hiddenAliases": [],
16678
- "id": "management:update-mailbox",
16765
+ "id": "sending:get-connection",
16679
16766
  "pluginAlias": "@sendmux/cli",
16680
16767
  "pluginName": "@sendmux/cli",
16681
16768
  "pluginType": "core",
16682
16769
  "strict": true,
16683
16770
  "enableJsonFlag": true,
16684
16771
  "operation": {
16685
- "bodyKind": "json",
16686
- "command": "management:update-mailbox",
16687
- "description": "Update a mailbox",
16772
+ "bodyKind": "none",
16773
+ "command": "sending:get-connection",
16774
+ "description": "Get Sending connection",
16688
16775
  "headerParams": [
16689
16776
  {
16690
- "name": "If-Match",
16777
+ "name": "If-None-Match",
16691
16778
  "required": false,
16692
16779
  "schema": {
16693
16780
  "type": "string"
16694
16781
  }
16695
16782
  }
16696
16783
  ],
16697
- "method": "patch",
16698
- "operationId": "managementUpdateMailbox",
16699
- "path": "/mailboxes/{public_id}",
16700
- "pathParams": [
16701
- {
16702
- "name": "public_id",
16703
- "required": true,
16704
- "schema": {
16705
- "type": "string"
16706
- }
16707
- }
16708
- ],
16784
+ "method": "get",
16785
+ "operationId": "sendingGetConnection",
16786
+ "path": "/me",
16787
+ "pathParams": [],
16709
16788
  "queryParams": [],
16710
16789
  "responseKind": "json",
16711
16790
  "requestBodyRequired": false,
16712
- "requiredKeyKind": "root",
16713
- "surface": "management"
16791
+ "requiredKeyKind": "sending",
16792
+ "surface": "sending"
16714
16793
  },
16715
16794
  "isESM": true,
16716
16795
  "relativePath": [
16717
16796
  "dist",
16718
16797
  "commands",
16719
- "management",
16720
- "update-mailbox.js"
16798
+ "sending",
16799
+ "get-connection.js"
16721
16800
  ]
16722
16801
  },
16723
- "management:update-provider": {
16802
+ "sending:get-open-api-spec": {
16724
16803
  "aliases": [],
16725
16804
  "args": {},
16726
- "description": "Update a sending account",
16805
+ "description": "OpenAPI 3.1 specification",
16727
16806
  "flags": {
16728
16807
  "json": {
16729
16808
  "description": "Format output as json.",
@@ -16843,55 +16922,47 @@
16843
16922
  },
16844
16923
  "hasDynamicHelp": false,
16845
16924
  "hiddenAliases": [],
16846
- "id": "management:update-provider",
16925
+ "id": "sending:get-open-api-spec",
16847
16926
  "pluginAlias": "@sendmux/cli",
16848
16927
  "pluginName": "@sendmux/cli",
16849
16928
  "pluginType": "core",
16850
16929
  "strict": true,
16851
16930
  "enableJsonFlag": true,
16852
16931
  "operation": {
16853
- "bodyKind": "json",
16854
- "command": "management:update-provider",
16855
- "description": "Update a sending account",
16932
+ "bodyKind": "none",
16933
+ "command": "sending:get-open-api-spec",
16934
+ "description": "OpenAPI 3.1 specification",
16856
16935
  "headerParams": [
16857
16936
  {
16858
- "name": "If-Match",
16937
+ "name": "If-None-Match",
16859
16938
  "required": false,
16860
16939
  "schema": {
16861
16940
  "type": "string"
16862
16941
  }
16863
16942
  }
16864
16943
  ],
16865
- "method": "patch",
16866
- "operationId": "managementUpdateProvider",
16867
- "path": "/providers/{public_id}",
16868
- "pathParams": [
16869
- {
16870
- "name": "public_id",
16871
- "required": true,
16872
- "schema": {
16873
- "type": "string"
16874
- }
16875
- }
16876
- ],
16944
+ "method": "get",
16945
+ "operationId": "sendingGetOpenApiSpec",
16946
+ "path": "/openapi.json",
16947
+ "pathParams": [],
16877
16948
  "queryParams": [],
16878
16949
  "responseKind": "json",
16879
16950
  "requestBodyRequired": false,
16880
- "requiredKeyKind": "root",
16881
- "surface": "management"
16951
+ "requiredKeyKind": "none",
16952
+ "surface": "sending"
16882
16953
  },
16883
16954
  "isESM": true,
16884
16955
  "relativePath": [
16885
16956
  "dist",
16886
16957
  "commands",
16887
- "management",
16888
- "update-provider.js"
16958
+ "sending",
16959
+ "get-open-api-spec.js"
16889
16960
  ]
16890
16961
  },
16891
- "management:update-webhook": {
16962
+ "sending:send": {
16892
16963
  "aliases": [],
16893
16964
  "args": {},
16894
- "description": "Update a webhook subscription",
16965
+ "description": "Send a single email",
16895
16966
  "flags": {
16896
16967
  "json": {
16897
16968
  "description": "Format output as json.",
@@ -17011,7 +17082,7 @@
17011
17082
  },
17012
17083
  "hasDynamicHelp": false,
17013
17084
  "hiddenAliases": [],
17014
- "id": "management:update-webhook",
17085
+ "id": "sending:send",
17015
17086
  "pluginAlias": "@sendmux/cli",
17016
17087
  "pluginName": "@sendmux/cli",
17017
17088
  "pluginType": "core",
@@ -17019,47 +17090,40 @@
17019
17090
  "enableJsonFlag": true,
17020
17091
  "operation": {
17021
17092
  "bodyKind": "json",
17022
- "command": "management:update-webhook",
17023
- "description": "Update a webhook subscription",
17093
+ "command": "sending:send",
17094
+ "description": "Send a single email",
17024
17095
  "headerParams": [
17025
17096
  {
17026
- "name": "If-Match",
17097
+ "name": "Idempotency-Key",
17027
17098
  "required": false,
17028
17099
  "schema": {
17029
- "type": "string"
17030
- }
17031
- }
17032
- ],
17033
- "method": "patch",
17034
- "operationId": "managementUpdateWebhook",
17035
- "path": "/webhooks/{public_id}",
17036
- "pathParams": [
17037
- {
17038
- "name": "public_id",
17039
- "required": true,
17040
- "schema": {
17041
- "type": "string"
17100
+ "type": "string",
17101
+ "maxLength": 255
17042
17102
  }
17043
17103
  }
17044
17104
  ],
17105
+ "method": "post",
17106
+ "operationId": "sendingSendEmail",
17107
+ "path": "/emails/send",
17108
+ "pathParams": [],
17045
17109
  "queryParams": [],
17046
17110
  "responseKind": "json",
17047
- "requestBodyRequired": false,
17048
- "requiredKeyKind": "root",
17049
- "surface": "management"
17111
+ "requestBodyRequired": true,
17112
+ "requiredKeyKind": "sending",
17113
+ "surface": "sending"
17050
17114
  },
17051
17115
  "isESM": true,
17052
17116
  "relativePath": [
17053
17117
  "dist",
17054
17118
  "commands",
17055
- "management",
17056
- "update-webhook.js"
17119
+ "sending",
17120
+ "send.js"
17057
17121
  ]
17058
17122
  },
17059
- "management:verify-domain": {
17123
+ "sending:upload-attachment": {
17060
17124
  "aliases": [],
17061
17125
  "args": {},
17062
- "description": "Verify a mailbox domain",
17126
+ "description": "Upload an attachment",
17063
17127
  "flags": {
17064
17128
  "json": {
17065
17129
  "description": "Format output as json.",
@@ -17179,41 +17243,68 @@
17179
17243
  },
17180
17244
  "hasDynamicHelp": false,
17181
17245
  "hiddenAliases": [],
17182
- "id": "management:verify-domain",
17246
+ "id": "sending:upload-attachment",
17183
17247
  "pluginAlias": "@sendmux/cli",
17184
17248
  "pluginName": "@sendmux/cli",
17185
17249
  "pluginType": "core",
17186
17250
  "strict": true,
17187
17251
  "enableJsonFlag": true,
17188
17252
  "operation": {
17189
- "bodyKind": "none",
17190
- "command": "management:verify-domain",
17191
- "description": "Verify a mailbox domain",
17192
- "headerParams": [],
17193
- "method": "post",
17194
- "operationId": "managementVerifyDomain",
17195
- "path": "/domains/{public_id}/verify",
17196
- "pathParams": [
17253
+ "bodyKind": "binary",
17254
+ "command": "sending:upload-attachment",
17255
+ "description": "Upload an attachment",
17256
+ "headerParams": [
17257
+ {
17258
+ "name": "Idempotency-Key",
17259
+ "required": false,
17260
+ "schema": {
17261
+ "type": "string",
17262
+ "maxLength": 255
17263
+ }
17264
+ },
17265
+ {
17266
+ "name": "Content-Length",
17267
+ "required": true,
17268
+ "schema": {
17269
+ "type": "integer",
17270
+ "minimum": 1
17271
+ }
17272
+ }
17273
+ ],
17274
+ "method": "post",
17275
+ "operationId": "sendingUploadAttachment",
17276
+ "path": "/emails/attachments",
17277
+ "pathParams": [],
17278
+ "queryParams": [
17197
17279
  {
17198
- "name": "public_id",
17280
+ "name": "filename",
17199
17281
  "required": true,
17200
17282
  "schema": {
17201
- "type": "string"
17283
+ "type": "string",
17284
+ "minLength": 1,
17285
+ "maxLength": 255
17286
+ }
17287
+ },
17288
+ {
17289
+ "name": "content_type",
17290
+ "required": false,
17291
+ "schema": {
17292
+ "type": "string",
17293
+ "maxLength": 255
17202
17294
  }
17203
17295
  }
17204
17296
  ],
17205
- "queryParams": [],
17206
17297
  "responseKind": "json",
17207
- "requestBodyRequired": false,
17208
- "requiredKeyKind": "root",
17209
- "surface": "management"
17298
+ "requestBodyRequired": true,
17299
+ "requiredKeyKind": "sending",
17300
+ "surface": "sending"
17210
17301
  },
17211
17302
  "isESM": true,
17212
17303
  "relativePath": [
17213
17304
  "dist",
17214
17305
  "commands",
17215
- "management",
17216
- "verify-domain.js"
17306
+ "sending",
17307
+ "upload-attachment.js"
17217
17308
  ]
17218
17309
  },
17219
17310
  "mailbox:folders:list": {
@@ -18077,10 +18168,10 @@
18077
18168
  "list.js"
18078
18169
  ]
18079
18170
  },
18080
- "sending:send:batch": {
18171
+ "management:domains:get": {
18081
18172
  "aliases": [],
18082
18173
  "args": {},
18083
- "description": "Send a batch of emails",
18174
+ "description": "Get a mailbox domain",
18084
18175
  "flags": {
18085
18176
  "json": {
18086
18177
  "description": "Format output as json.",
@@ -18200,49 +18291,56 @@
18200
18291
  },
18201
18292
  "hasDynamicHelp": false,
18202
18293
  "hiddenAliases": [],
18203
- "id": "sending:send:batch",
18294
+ "id": "management:domains:get",
18204
18295
  "pluginAlias": "@sendmux/cli",
18205
18296
  "pluginName": "@sendmux/cli",
18206
18297
  "pluginType": "core",
18207
18298
  "strict": true,
18208
18299
  "enableJsonFlag": true,
18209
18300
  "operation": {
18210
- "bodyKind": "json",
18211
- "command": "sending:send:batch",
18212
- "description": "Send a batch of emails",
18301
+ "bodyKind": "none",
18302
+ "command": "management:domains:get",
18303
+ "description": "Get a mailbox domain",
18213
18304
  "headerParams": [
18214
18305
  {
18215
- "name": "Idempotency-Key",
18306
+ "name": "If-None-Match",
18216
18307
  "required": false,
18217
18308
  "schema": {
18218
- "type": "string",
18219
- "maxLength": 255
18309
+ "type": "string"
18310
+ }
18311
+ }
18312
+ ],
18313
+ "method": "get",
18314
+ "operationId": "managementGetDomain",
18315
+ "path": "/domains/{public_id}",
18316
+ "pathParams": [
18317
+ {
18318
+ "name": "public_id",
18319
+ "required": true,
18320
+ "schema": {
18321
+ "type": "string"
18220
18322
  }
18221
18323
  }
18222
18324
  ],
18223
- "method": "post",
18224
- "operationId": "sendingSendEmailBatch",
18225
- "path": "/emails/send/batch",
18226
- "pathParams": [],
18227
18325
  "queryParams": [],
18228
18326
  "responseKind": "json",
18229
- "requestBodyRequired": true,
18230
- "requiredKeyKind": "sending",
18231
- "surface": "sending"
18327
+ "requestBodyRequired": false,
18328
+ "requiredKeyKind": "root",
18329
+ "surface": "management"
18232
18330
  },
18233
18331
  "isESM": true,
18234
18332
  "relativePath": [
18235
18333
  "dist",
18236
18334
  "commands",
18237
- "sending",
18238
- "send",
18239
- "batch.js"
18335
+ "management",
18336
+ "domains",
18337
+ "get.js"
18240
18338
  ]
18241
18339
  },
18242
- "management:domains:get": {
18340
+ "management:domains:list": {
18243
18341
  "aliases": [],
18244
18342
  "args": {},
18245
- "description": "Get a mailbox domain",
18343
+ "description": "List mailbox domains",
18246
18344
  "flags": {
18247
18345
  "json": {
18248
18346
  "description": "Format output as json.",
@@ -18362,7 +18460,7 @@
18362
18460
  },
18363
18461
  "hasDynamicHelp": false,
18364
18462
  "hiddenAliases": [],
18365
- "id": "management:domains:get",
18463
+ "id": "management:domains:list",
18366
18464
  "pluginAlias": "@sendmux/cli",
18367
18465
  "pluginName": "@sendmux/cli",
18368
18466
  "pluginType": "core",
@@ -18370,30 +18468,31 @@
18370
18468
  "enableJsonFlag": true,
18371
18469
  "operation": {
18372
18470
  "bodyKind": "none",
18373
- "command": "management:domains:get",
18374
- "description": "Get a mailbox domain",
18375
- "headerParams": [
18471
+ "command": "management:domains:list",
18472
+ "description": "List mailbox domains",
18473
+ "headerParams": [],
18474
+ "method": "get",
18475
+ "operationId": "managementListDomains",
18476
+ "path": "/domains",
18477
+ "pathParams": [],
18478
+ "queryParams": [
18376
18479
  {
18377
- "name": "If-None-Match",
18480
+ "name": "cursor",
18378
18481
  "required": false,
18379
18482
  "schema": {
18380
18483
  "type": "string"
18381
18484
  }
18382
- }
18383
- ],
18384
- "method": "get",
18385
- "operationId": "managementGetDomain",
18386
- "path": "/domains/{public_id}",
18387
- "pathParams": [
18485
+ },
18388
18486
  {
18389
- "name": "public_id",
18390
- "required": true,
18487
+ "name": "limit",
18488
+ "required": false,
18391
18489
  "schema": {
18392
- "type": "string"
18490
+ "type": "integer",
18491
+ "minimum": 1,
18492
+ "maximum": 100
18393
18493
  }
18394
18494
  }
18395
18495
  ],
18396
- "queryParams": [],
18397
18496
  "responseKind": "json",
18398
18497
  "requestBodyRequired": false,
18399
18498
  "requiredKeyKind": "root",
@@ -18405,13 +18504,13 @@
18405
18504
  "commands",
18406
18505
  "management",
18407
18506
  "domains",
18408
- "get.js"
18507
+ "list.js"
18409
18508
  ]
18410
18509
  },
18411
- "management:domains:list": {
18510
+ "management:mailboxes:list": {
18412
18511
  "aliases": [],
18413
18512
  "args": {},
18414
- "description": "List mailbox domains",
18513
+ "description": "List mailboxes",
18415
18514
  "flags": {
18416
18515
  "json": {
18417
18516
  "description": "Format output as json.",
@@ -18531,7 +18630,7 @@
18531
18630
  },
18532
18631
  "hasDynamicHelp": false,
18533
18632
  "hiddenAliases": [],
18534
- "id": "management:domains:list",
18633
+ "id": "management:mailboxes:list",
18535
18634
  "pluginAlias": "@sendmux/cli",
18536
18635
  "pluginName": "@sendmux/cli",
18537
18636
  "pluginType": "core",
@@ -18539,12 +18638,12 @@
18539
18638
  "enableJsonFlag": true,
18540
18639
  "operation": {
18541
18640
  "bodyKind": "none",
18542
- "command": "management:domains:list",
18543
- "description": "List mailbox domains",
18641
+ "command": "management:mailboxes:list",
18642
+ "description": "List mailboxes",
18544
18643
  "headerParams": [],
18545
18644
  "method": "get",
18546
- "operationId": "managementListDomains",
18547
- "path": "/domains",
18645
+ "operationId": "managementListMailboxes",
18646
+ "path": "/mailboxes",
18548
18647
  "pathParams": [],
18549
18648
  "queryParams": [
18550
18649
  {
@@ -18562,6 +18661,16 @@
18562
18661
  "minimum": 1,
18563
18662
  "maximum": 100
18564
18663
  }
18664
+ },
18665
+ {
18666
+ "name": "include_deleted",
18667
+ "required": false,
18668
+ "schema": {
18669
+ "type": "string",
18670
+ "enum": [
18671
+ "true"
18672
+ ]
18673
+ }
18565
18674
  }
18566
18675
  ],
18567
18676
  "responseKind": "json",
@@ -18574,14 +18683,14 @@
18574
18683
  "dist",
18575
18684
  "commands",
18576
18685
  "management",
18577
- "domains",
18686
+ "mailboxes",
18578
18687
  "list.js"
18579
18688
  ]
18580
18689
  },
18581
- "management:mailboxes:list": {
18690
+ "management:providers:list": {
18582
18691
  "aliases": [],
18583
18692
  "args": {},
18584
- "description": "List mailboxes",
18693
+ "description": "List sending accounts",
18585
18694
  "flags": {
18586
18695
  "json": {
18587
18696
  "description": "Format output as json.",
@@ -18701,7 +18810,7 @@
18701
18810
  },
18702
18811
  "hasDynamicHelp": false,
18703
18812
  "hiddenAliases": [],
18704
- "id": "management:mailboxes:list",
18813
+ "id": "management:providers:list",
18705
18814
  "pluginAlias": "@sendmux/cli",
18706
18815
  "pluginName": "@sendmux/cli",
18707
18816
  "pluginType": "core",
@@ -18709,12 +18818,12 @@
18709
18818
  "enableJsonFlag": true,
18710
18819
  "operation": {
18711
18820
  "bodyKind": "none",
18712
- "command": "management:mailboxes:list",
18713
- "description": "List mailboxes",
18821
+ "command": "management:providers:list",
18822
+ "description": "List sending accounts",
18714
18823
  "headerParams": [],
18715
18824
  "method": "get",
18716
- "operationId": "managementListMailboxes",
18717
- "path": "/mailboxes",
18825
+ "operationId": "managementListProviders",
18826
+ "path": "/providers",
18718
18827
  "pathParams": [],
18719
18828
  "queryParams": [
18720
18829
  {
@@ -18725,23 +18834,39 @@
18725
18834
  }
18726
18835
  },
18727
18836
  {
18728
- "name": "limit",
18837
+ "name": "status",
18729
18838
  "required": false,
18730
18839
  "schema": {
18731
- "type": "integer",
18732
- "minimum": 1,
18733
- "maximum": 100
18840
+ "type": "string",
18841
+ "enum": [
18842
+ "active",
18843
+ "inactive",
18844
+ "error",
18845
+ "pending"
18846
+ ]
18734
18847
  }
18735
18848
  },
18736
18849
  {
18737
- "name": "include_deleted",
18850
+ "name": "type",
18738
18851
  "required": false,
18739
18852
  "schema": {
18740
18853
  "type": "string",
18741
18854
  "enum": [
18742
- "true"
18855
+ "smtp",
18856
+ "gmail_api",
18857
+ "outlook_api",
18858
+ "amazon_ses"
18743
18859
  ]
18744
18860
  }
18861
+ },
18862
+ {
18863
+ "name": "limit",
18864
+ "required": false,
18865
+ "schema": {
18866
+ "type": "integer",
18867
+ "minimum": 1,
18868
+ "maximum": 100
18869
+ }
18745
18870
  }
18746
18871
  ],
18747
18872
  "responseKind": "json",
@@ -18754,14 +18879,14 @@
18754
18879
  "dist",
18755
18880
  "commands",
18756
18881
  "management",
18757
- "mailboxes",
18882
+ "providers",
18758
18883
  "list.js"
18759
18884
  ]
18760
18885
  },
18761
- "management:providers:list": {
18886
+ "sending:send:batch": {
18762
18887
  "aliases": [],
18763
18888
  "args": {},
18764
- "description": "List sending accounts",
18889
+ "description": "Send a batch of emails",
18765
18890
  "flags": {
18766
18891
  "json": {
18767
18892
  "description": "Format output as json.",
@@ -18881,79 +19006,45 @@
18881
19006
  },
18882
19007
  "hasDynamicHelp": false,
18883
19008
  "hiddenAliases": [],
18884
- "id": "management:providers:list",
19009
+ "id": "sending:send:batch",
18885
19010
  "pluginAlias": "@sendmux/cli",
18886
19011
  "pluginName": "@sendmux/cli",
18887
19012
  "pluginType": "core",
18888
19013
  "strict": true,
18889
19014
  "enableJsonFlag": true,
18890
19015
  "operation": {
18891
- "bodyKind": "none",
18892
- "command": "management:providers:list",
18893
- "description": "List sending accounts",
18894
- "headerParams": [],
18895
- "method": "get",
18896
- "operationId": "managementListProviders",
18897
- "path": "/providers",
18898
- "pathParams": [],
18899
- "queryParams": [
18900
- {
18901
- "name": "cursor",
18902
- "required": false,
18903
- "schema": {
18904
- "type": "string"
18905
- }
18906
- },
18907
- {
18908
- "name": "status",
18909
- "required": false,
18910
- "schema": {
18911
- "type": "string",
18912
- "enum": [
18913
- "active",
18914
- "inactive",
18915
- "error",
18916
- "pending"
18917
- ]
18918
- }
18919
- },
19016
+ "bodyKind": "json",
19017
+ "command": "sending:send:batch",
19018
+ "description": "Send a batch of emails",
19019
+ "headerParams": [
18920
19020
  {
18921
- "name": "type",
19021
+ "name": "Idempotency-Key",
18922
19022
  "required": false,
18923
19023
  "schema": {
18924
19024
  "type": "string",
18925
- "enum": [
18926
- "smtp",
18927
- "gmail_api",
18928
- "outlook_api",
18929
- "amazon_ses"
18930
- ]
18931
- }
18932
- },
18933
- {
18934
- "name": "limit",
18935
- "required": false,
18936
- "schema": {
18937
- "type": "integer",
18938
- "minimum": 1,
18939
- "maximum": 100
19025
+ "maxLength": 255
18940
19026
  }
18941
19027
  }
18942
19028
  ],
19029
+ "method": "post",
19030
+ "operationId": "sendingSendEmailBatch",
19031
+ "path": "/emails/send/batch",
19032
+ "pathParams": [],
19033
+ "queryParams": [],
18943
19034
  "responseKind": "json",
18944
- "requestBodyRequired": false,
18945
- "requiredKeyKind": "root",
18946
- "surface": "management"
19035
+ "requestBodyRequired": true,
19036
+ "requiredKeyKind": "sending",
19037
+ "surface": "sending"
18947
19038
  },
18948
19039
  "isESM": true,
18949
19040
  "relativePath": [
18950
19041
  "dist",
18951
19042
  "commands",
18952
- "management",
18953
- "providers",
18954
- "list.js"
19043
+ "sending",
19044
+ "send",
19045
+ "batch.js"
18955
19046
  ]
18956
19047
  }
18957
19048
  },
18958
- "version": "1.5.0"
19049
+ "version": "1.6.0"
18959
19050
  }