@sendmux/cli 1.6.0 → 1.7.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.
@@ -7647,10 +7647,136 @@
7647
7647
  "upload-attachment.js"
7648
7648
  ]
7649
7649
  },
7650
- "management:activate-provider": {
7650
+ "profiles:list": {
7651
7651
  "aliases": [],
7652
7652
  "args": {},
7653
- "description": "Activate a sending account",
7653
+ "description": "List local Sendmux CLI profiles.",
7654
+ "flags": {
7655
+ "json": {
7656
+ "description": "Format output as json.",
7657
+ "helpGroup": "GLOBAL",
7658
+ "name": "json",
7659
+ "allowNo": false,
7660
+ "type": "boolean"
7661
+ },
7662
+ "verbose": {
7663
+ "description": "Include masked API key prefixes.",
7664
+ "name": "verbose",
7665
+ "allowNo": false,
7666
+ "type": "boolean"
7667
+ }
7668
+ },
7669
+ "hasDynamicHelp": false,
7670
+ "hiddenAliases": [],
7671
+ "id": "profiles:list",
7672
+ "pluginAlias": "@sendmux/cli",
7673
+ "pluginName": "@sendmux/cli",
7674
+ "pluginType": "core",
7675
+ "strict": true,
7676
+ "enableJsonFlag": true,
7677
+ "isESM": true,
7678
+ "relativePath": [
7679
+ "dist",
7680
+ "commands",
7681
+ "profiles",
7682
+ "list.js"
7683
+ ]
7684
+ },
7685
+ "profiles:set": {
7686
+ "aliases": [],
7687
+ "args": {
7688
+ "name": {
7689
+ "description": "Profile name.",
7690
+ "name": "name",
7691
+ "required": true
7692
+ }
7693
+ },
7694
+ "description": "Create or update a local Sendmux CLI profile.",
7695
+ "flags": {
7696
+ "json": {
7697
+ "description": "Format output as json.",
7698
+ "helpGroup": "GLOBAL",
7699
+ "name": "json",
7700
+ "allowNo": false,
7701
+ "type": "boolean"
7702
+ },
7703
+ "api-key": {
7704
+ "description": "Sendmux API key. Defaults to SENDMUX_API_KEY.",
7705
+ "name": "api-key",
7706
+ "required": false,
7707
+ "hasDynamicHelp": false,
7708
+ "multiple": false,
7709
+ "type": "option"
7710
+ },
7711
+ "base-url": {
7712
+ "description": "Optional API base URL override for this profile.",
7713
+ "name": "base-url",
7714
+ "hasDynamicHelp": false,
7715
+ "multiple": false,
7716
+ "type": "option"
7717
+ },
7718
+ "default": {
7719
+ "description": "Make this the default profile.",
7720
+ "name": "default",
7721
+ "allowNo": false,
7722
+ "type": "boolean"
7723
+ }
7724
+ },
7725
+ "hasDynamicHelp": false,
7726
+ "hiddenAliases": [],
7727
+ "id": "profiles:set",
7728
+ "pluginAlias": "@sendmux/cli",
7729
+ "pluginName": "@sendmux/cli",
7730
+ "pluginType": "core",
7731
+ "strict": true,
7732
+ "enableJsonFlag": true,
7733
+ "isESM": true,
7734
+ "relativePath": [
7735
+ "dist",
7736
+ "commands",
7737
+ "profiles",
7738
+ "set.js"
7739
+ ]
7740
+ },
7741
+ "profiles:show": {
7742
+ "aliases": [],
7743
+ "args": {
7744
+ "name": {
7745
+ "description": "Profile name. Defaults to the configured default profile.",
7746
+ "name": "name",
7747
+ "required": false
7748
+ }
7749
+ },
7750
+ "description": "Show a local Sendmux CLI profile without revealing its key.",
7751
+ "flags": {
7752
+ "json": {
7753
+ "description": "Format output as json.",
7754
+ "helpGroup": "GLOBAL",
7755
+ "name": "json",
7756
+ "allowNo": false,
7757
+ "type": "boolean"
7758
+ }
7759
+ },
7760
+ "hasDynamicHelp": false,
7761
+ "hiddenAliases": [],
7762
+ "id": "profiles:show",
7763
+ "pluginAlias": "@sendmux/cli",
7764
+ "pluginName": "@sendmux/cli",
7765
+ "pluginType": "core",
7766
+ "strict": true,
7767
+ "enableJsonFlag": true,
7768
+ "isESM": true,
7769
+ "relativePath": [
7770
+ "dist",
7771
+ "commands",
7772
+ "profiles",
7773
+ "show.js"
7774
+ ]
7775
+ },
7776
+ "sending:complete-attachment-upload": {
7777
+ "aliases": [],
7778
+ "args": {},
7779
+ "description": "Upload bytes to an attachment upload URL",
7654
7780
  "flags": {
7655
7781
  "json": {
7656
7782
  "description": "Format output as json.",
@@ -7770,56 +7896,64 @@
7770
7896
  },
7771
7897
  "hasDynamicHelp": false,
7772
7898
  "hiddenAliases": [],
7773
- "id": "management:activate-provider",
7899
+ "id": "sending:complete-attachment-upload",
7774
7900
  "pluginAlias": "@sendmux/cli",
7775
7901
  "pluginName": "@sendmux/cli",
7776
7902
  "pluginType": "core",
7777
7903
  "strict": true,
7778
7904
  "enableJsonFlag": true,
7779
7905
  "operation": {
7780
- "bodyKind": "none",
7781
- "command": "management:activate-provider",
7782
- "description": "Activate a sending account",
7906
+ "bodyKind": "binary",
7907
+ "command": "sending:complete-attachment-upload",
7908
+ "description": "Upload bytes to an attachment upload URL",
7783
7909
  "headerParams": [
7784
7910
  {
7785
- "name": "Idempotency-Key",
7786
- "required": false,
7911
+ "name": "X-Sendmux-Upload-Token",
7912
+ "required": true,
7787
7913
  "schema": {
7788
- "type": "string",
7789
- "maxLength": 255
7914
+ "type": "string"
7915
+ }
7916
+ },
7917
+ {
7918
+ "name": "Content-Length",
7919
+ "required": true,
7920
+ "schema": {
7921
+ "type": "integer",
7922
+ "minimum": 1
7790
7923
  }
7791
7924
  }
7792
7925
  ],
7793
- "method": "post",
7794
- "operationId": "managementActivateProvider",
7795
- "path": "/providers/{public_id}/activate",
7926
+ "method": "put",
7927
+ "operationId": "sendingCompleteAttachmentUpload",
7928
+ "path": "/emails/attachment-uploads/{upload_id}",
7796
7929
  "pathParams": [
7797
7930
  {
7798
- "name": "public_id",
7931
+ "name": "upload_id",
7799
7932
  "required": true,
7800
7933
  "schema": {
7801
- "type": "string"
7934
+ "type": "string",
7935
+ "pattern": "^upl_[a-z0-9]{24}$"
7802
7936
  }
7803
7937
  }
7804
7938
  ],
7805
7939
  "queryParams": [],
7806
7940
  "responseKind": "json",
7807
- "requestBodyRequired": false,
7808
- "requiredKeyKind": "root",
7809
- "surface": "management"
7941
+ "requestBodyRequired": true,
7942
+ "requiredKeyKind": "none",
7943
+ "surface": "sending"
7810
7944
  },
7811
7945
  "isESM": true,
7812
7946
  "relativePath": [
7813
7947
  "dist",
7814
7948
  "commands",
7815
- "management",
7816
- "activate-provider.js"
7949
+ "sending",
7950
+ "complete-attachment-upload.js"
7817
7951
  ]
7818
7952
  },
7819
- "management:cancel-shared-amazon-ses-limit-request": {
7953
+ "sending:create-attachment-upload": {
7820
7954
  "aliases": [],
7821
7955
  "args": {},
7822
- "description": "Cancel a shared Amazon SES daily limit request",
7956
+ "description": "Create an attachment upload URL",
7823
7957
  "flags": {
7824
7958
  "json": {
7825
7959
  "description": "Format output as json.",
@@ -7939,47 +8073,48 @@
7939
8073
  },
7940
8074
  "hasDynamicHelp": false,
7941
8075
  "hiddenAliases": [],
7942
- "id": "management:cancel-shared-amazon-ses-limit-request",
8076
+ "id": "sending:create-attachment-upload",
7943
8077
  "pluginAlias": "@sendmux/cli",
7944
8078
  "pluginName": "@sendmux/cli",
7945
8079
  "pluginType": "core",
7946
8080
  "strict": true,
7947
8081
  "enableJsonFlag": true,
7948
8082
  "operation": {
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": [
8083
+ "bodyKind": "json",
8084
+ "command": "sending:create-attachment-upload",
8085
+ "description": "Create an attachment upload URL",
8086
+ "headerParams": [
7957
8087
  {
7958
- "name": "request_id",
7959
- "required": true,
8088
+ "name": "Idempotency-Key",
8089
+ "required": false,
7960
8090
  "schema": {
7961
- "type": "string"
8091
+ "type": "string",
8092
+ "maxLength": 255
7962
8093
  }
7963
8094
  }
7964
8095
  ],
8096
+ "method": "post",
8097
+ "operationId": "sendingCreateAttachmentUpload",
8098
+ "path": "/emails/attachment-uploads",
8099
+ "pathParams": [],
7965
8100
  "queryParams": [],
7966
8101
  "responseKind": "json",
7967
- "requestBodyRequired": false,
7968
- "requiredKeyKind": "root",
7969
- "surface": "management"
8102
+ "requestBodyRequired": true,
8103
+ "requiredKeyKind": "sending",
8104
+ "surface": "sending"
7970
8105
  },
7971
8106
  "isESM": true,
7972
8107
  "relativePath": [
7973
8108
  "dist",
7974
8109
  "commands",
7975
- "management",
7976
- "cancel-shared-amazon-ses-limit-request.js"
8110
+ "sending",
8111
+ "create-attachment-upload.js"
7977
8112
  ]
7978
8113
  },
7979
- "management:check-mailbox-availability": {
8114
+ "sending:get-attachment": {
7980
8115
  "aliases": [],
7981
8116
  "args": {},
7982
- "description": "Check mailbox address availability",
8117
+ "description": "Get attachment metadata",
7983
8118
  "flags": {
7984
8119
  "json": {
7985
8120
  "description": "Format output as json.",
@@ -8099,7 +8234,7 @@
8099
8234
  },
8100
8235
  "hasDynamicHelp": false,
8101
8236
  "hiddenAliases": [],
8102
- "id": "management:check-mailbox-availability",
8237
+ "id": "sending:get-attachment",
8103
8238
  "pluginAlias": "@sendmux/cli",
8104
8239
  "pluginName": "@sendmux/cli",
8105
8240
  "pluginType": "core",
@@ -8107,39 +8242,40 @@
8107
8242
  "enableJsonFlag": true,
8108
8243
  "operation": {
8109
8244
  "bodyKind": "none",
8110
- "command": "management:check-mailbox-availability",
8111
- "description": "Check mailbox address availability",
8245
+ "command": "sending:get-attachment",
8246
+ "description": "Get attachment metadata",
8112
8247
  "headerParams": [],
8113
8248
  "method": "get",
8114
- "operationId": "managementCheckMailboxAvailability",
8115
- "path": "/mailboxes/availability",
8116
- "pathParams": [],
8117
- "queryParams": [
8249
+ "operationId": "sendingGetAttachment",
8250
+ "path": "/emails/attachments/{attachment_id}",
8251
+ "pathParams": [
8118
8252
  {
8119
- "name": "email",
8253
+ "name": "attachment_id",
8120
8254
  "required": true,
8121
8255
  "schema": {
8122
- "type": "string"
8256
+ "type": "string",
8257
+ "pattern": "^att_[a-z0-9]{24}$"
8123
8258
  }
8124
8259
  }
8125
8260
  ],
8261
+ "queryParams": [],
8126
8262
  "responseKind": "json",
8127
8263
  "requestBodyRequired": false,
8128
- "requiredKeyKind": "root",
8129
- "surface": "management"
8264
+ "requiredKeyKind": "sending",
8265
+ "surface": "sending"
8130
8266
  },
8131
8267
  "isESM": true,
8132
8268
  "relativePath": [
8133
8269
  "dist",
8134
8270
  "commands",
8135
- "management",
8136
- "check-mailbox-availability.js"
8271
+ "sending",
8272
+ "get-attachment.js"
8137
8273
  ]
8138
8274
  },
8139
- "management:create-domain": {
8275
+ "sending:get-connection": {
8140
8276
  "aliases": [],
8141
8277
  "args": {},
8142
- "description": "Add a mailbox domain",
8278
+ "description": "Get Sending connection",
8143
8279
  "flags": {
8144
8280
  "json": {
8145
8281
  "description": "Format output as json.",
@@ -8259,48 +8395,47 @@
8259
8395
  },
8260
8396
  "hasDynamicHelp": false,
8261
8397
  "hiddenAliases": [],
8262
- "id": "management:create-domain",
8398
+ "id": "sending:get-connection",
8263
8399
  "pluginAlias": "@sendmux/cli",
8264
8400
  "pluginName": "@sendmux/cli",
8265
8401
  "pluginType": "core",
8266
8402
  "strict": true,
8267
8403
  "enableJsonFlag": true,
8268
8404
  "operation": {
8269
- "bodyKind": "json",
8270
- "command": "management:create-domain",
8271
- "description": "Add a mailbox domain",
8405
+ "bodyKind": "none",
8406
+ "command": "sending:get-connection",
8407
+ "description": "Get Sending connection",
8272
8408
  "headerParams": [
8273
8409
  {
8274
- "name": "Idempotency-Key",
8410
+ "name": "If-None-Match",
8275
8411
  "required": false,
8276
8412
  "schema": {
8277
- "type": "string",
8278
- "maxLength": 255
8413
+ "type": "string"
8279
8414
  }
8280
8415
  }
8281
8416
  ],
8282
- "method": "post",
8283
- "operationId": "managementCreateDomain",
8284
- "path": "/domains",
8417
+ "method": "get",
8418
+ "operationId": "sendingGetConnection",
8419
+ "path": "/me",
8285
8420
  "pathParams": [],
8286
8421
  "queryParams": [],
8287
8422
  "responseKind": "json",
8288
8423
  "requestBodyRequired": false,
8289
- "requiredKeyKind": "root",
8290
- "surface": "management"
8424
+ "requiredKeyKind": "sending",
8425
+ "surface": "sending"
8291
8426
  },
8292
8427
  "isESM": true,
8293
8428
  "relativePath": [
8294
8429
  "dist",
8295
8430
  "commands",
8296
- "management",
8297
- "create-domain.js"
8431
+ "sending",
8432
+ "get-connection.js"
8298
8433
  ]
8299
8434
  },
8300
- "management:create-mailbox-key": {
8435
+ "sending:get-open-api-spec": {
8301
8436
  "aliases": [],
8302
8437
  "args": {},
8303
- "description": "Create a mailbox API key",
8438
+ "description": "OpenAPI 3.1 specification",
8304
8439
  "flags": {
8305
8440
  "json": {
8306
8441
  "description": "Format output as json.",
@@ -8420,56 +8555,47 @@
8420
8555
  },
8421
8556
  "hasDynamicHelp": false,
8422
8557
  "hiddenAliases": [],
8423
- "id": "management:create-mailbox-key",
8558
+ "id": "sending:get-open-api-spec",
8424
8559
  "pluginAlias": "@sendmux/cli",
8425
8560
  "pluginName": "@sendmux/cli",
8426
8561
  "pluginType": "core",
8427
8562
  "strict": true,
8428
8563
  "enableJsonFlag": true,
8429
8564
  "operation": {
8430
- "bodyKind": "json",
8431
- "command": "management:create-mailbox-key",
8432
- "description": "Create a mailbox API key",
8565
+ "bodyKind": "none",
8566
+ "command": "sending:get-open-api-spec",
8567
+ "description": "OpenAPI 3.1 specification",
8433
8568
  "headerParams": [
8434
8569
  {
8435
- "name": "Idempotency-Key",
8570
+ "name": "If-None-Match",
8436
8571
  "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,
8450
8572
  "schema": {
8451
8573
  "type": "string"
8452
8574
  }
8453
8575
  }
8454
8576
  ],
8577
+ "method": "get",
8578
+ "operationId": "sendingGetOpenApiSpec",
8579
+ "path": "/openapi.json",
8580
+ "pathParams": [],
8455
8581
  "queryParams": [],
8456
8582
  "responseKind": "json",
8457
8583
  "requestBodyRequired": false,
8458
- "requiredKeyKind": "root",
8459
- "surface": "management"
8584
+ "requiredKeyKind": "none",
8585
+ "surface": "sending"
8460
8586
  },
8461
8587
  "isESM": true,
8462
8588
  "relativePath": [
8463
8589
  "dist",
8464
8590
  "commands",
8465
- "management",
8466
- "create-mailbox-key.js"
8591
+ "sending",
8592
+ "get-open-api-spec.js"
8467
8593
  ]
8468
8594
  },
8469
- "management:create-mailbox": {
8595
+ "sending:send": {
8470
8596
  "aliases": [],
8471
8597
  "args": {},
8472
- "description": "Create a mailbox",
8598
+ "description": "Send a single email",
8473
8599
  "flags": {
8474
8600
  "json": {
8475
8601
  "description": "Format output as json.",
@@ -8589,7 +8715,7 @@
8589
8715
  },
8590
8716
  "hasDynamicHelp": false,
8591
8717
  "hiddenAliases": [],
8592
- "id": "management:create-mailbox",
8718
+ "id": "sending:send",
8593
8719
  "pluginAlias": "@sendmux/cli",
8594
8720
  "pluginName": "@sendmux/cli",
8595
8721
  "pluginType": "core",
@@ -8597,8 +8723,8 @@
8597
8723
  "enableJsonFlag": true,
8598
8724
  "operation": {
8599
8725
  "bodyKind": "json",
8600
- "command": "management:create-mailbox",
8601
- "description": "Create a mailbox",
8726
+ "command": "sending:send",
8727
+ "description": "Send a single email",
8602
8728
  "headerParams": [
8603
8729
  {
8604
8730
  "name": "Idempotency-Key",
@@ -8610,27 +8736,27 @@
8610
8736
  }
8611
8737
  ],
8612
8738
  "method": "post",
8613
- "operationId": "managementCreateMailbox",
8614
- "path": "/mailboxes",
8739
+ "operationId": "sendingSendEmail",
8740
+ "path": "/emails/send",
8615
8741
  "pathParams": [],
8616
8742
  "queryParams": [],
8617
8743
  "responseKind": "json",
8618
- "requestBodyRequired": false,
8619
- "requiredKeyKind": "root",
8620
- "surface": "management"
8744
+ "requestBodyRequired": true,
8745
+ "requiredKeyKind": "sending",
8746
+ "surface": "sending"
8621
8747
  },
8622
8748
  "isESM": true,
8623
8749
  "relativePath": [
8624
8750
  "dist",
8625
8751
  "commands",
8626
- "management",
8627
- "create-mailbox.js"
8752
+ "sending",
8753
+ "send.js"
8628
8754
  ]
8629
8755
  },
8630
- "management:create-provider": {
8756
+ "sending:upload-attachment": {
8631
8757
  "aliases": [],
8632
8758
  "args": {},
8633
- "description": "Create an SMTP sending account",
8759
+ "description": "Upload an attachment",
8634
8760
  "flags": {
8635
8761
  "json": {
8636
8762
  "description": "Format output as json.",
@@ -8750,16 +8876,16 @@
8750
8876
  },
8751
8877
  "hasDynamicHelp": false,
8752
8878
  "hiddenAliases": [],
8753
- "id": "management:create-provider",
8879
+ "id": "sending:upload-attachment",
8754
8880
  "pluginAlias": "@sendmux/cli",
8755
8881
  "pluginName": "@sendmux/cli",
8756
8882
  "pluginType": "core",
8757
8883
  "strict": true,
8758
8884
  "enableJsonFlag": true,
8759
8885
  "operation": {
8760
- "bodyKind": "json",
8761
- "command": "management:create-provider",
8762
- "description": "Create an SMTP sending account",
8886
+ "bodyKind": "binary",
8887
+ "command": "sending:upload-attachment",
8888
+ "description": "Upload an attachment",
8763
8889
  "headerParams": [
8764
8890
  {
8765
8891
  "name": "Idempotency-Key",
@@ -8768,30 +8894,56 @@
8768
8894
  "type": "string",
8769
8895
  "maxLength": 255
8770
8896
  }
8897
+ },
8898
+ {
8899
+ "name": "Content-Length",
8900
+ "required": true,
8901
+ "schema": {
8902
+ "type": "integer",
8903
+ "minimum": 1
8904
+ }
8771
8905
  }
8772
8906
  ],
8773
8907
  "method": "post",
8774
- "operationId": "managementCreateProvider",
8775
- "path": "/providers",
8908
+ "operationId": "sendingUploadAttachment",
8909
+ "path": "/emails/attachments",
8776
8910
  "pathParams": [],
8777
- "queryParams": [],
8911
+ "queryParams": [
8912
+ {
8913
+ "name": "filename",
8914
+ "required": true,
8915
+ "schema": {
8916
+ "type": "string",
8917
+ "minLength": 1,
8918
+ "maxLength": 255
8919
+ }
8920
+ },
8921
+ {
8922
+ "name": "content_type",
8923
+ "required": false,
8924
+ "schema": {
8925
+ "type": "string",
8926
+ "maxLength": 255
8927
+ }
8928
+ }
8929
+ ],
8778
8930
  "responseKind": "json",
8779
- "requestBodyRequired": false,
8780
- "requiredKeyKind": "root",
8781
- "surface": "management"
8931
+ "requestBodyRequired": true,
8932
+ "requiredKeyKind": "sending",
8933
+ "surface": "sending"
8782
8934
  },
8783
8935
  "isESM": true,
8784
8936
  "relativePath": [
8785
8937
  "dist",
8786
8938
  "commands",
8787
- "management",
8788
- "create-provider.js"
8939
+ "sending",
8940
+ "upload-attachment.js"
8789
8941
  ]
8790
8942
  },
8791
- "management:create-shared-amazon-ses-limit-request": {
8943
+ "management:activate-provider": {
8792
8944
  "aliases": [],
8793
8945
  "args": {},
8794
- "description": "Request a shared Amazon SES daily limit increase",
8946
+ "description": "Activate a sending account",
8795
8947
  "flags": {
8796
8948
  "json": {
8797
8949
  "description": "Format output as json.",
@@ -8911,7 +9063,7 @@
8911
9063
  },
8912
9064
  "hasDynamicHelp": false,
8913
9065
  "hiddenAliases": [],
8914
- "id": "management:create-shared-amazon-ses-limit-request",
9066
+ "id": "management:activate-provider",
8915
9067
  "pluginAlias": "@sendmux/cli",
8916
9068
  "pluginName": "@sendmux/cli",
8917
9069
  "pluginType": "core",
@@ -8919,8 +9071,8 @@
8919
9071
  "enableJsonFlag": true,
8920
9072
  "operation": {
8921
9073
  "bodyKind": "none",
8922
- "command": "management:create-shared-amazon-ses-limit-request",
8923
- "description": "Request a shared Amazon SES daily limit increase",
9074
+ "command": "management:activate-provider",
9075
+ "description": "Activate a sending account",
8924
9076
  "headerParams": [
8925
9077
  {
8926
9078
  "name": "Idempotency-Key",
@@ -8932,9 +9084,17 @@
8932
9084
  }
8933
9085
  ],
8934
9086
  "method": "post",
8935
- "operationId": "managementCreateSharedAmazonSesLimitRequest",
8936
- "path": "/providers/shared-amazon-ses-limit-request",
8937
- "pathParams": [],
9087
+ "operationId": "managementActivateProvider",
9088
+ "path": "/providers/{public_id}/activate",
9089
+ "pathParams": [
9090
+ {
9091
+ "name": "public_id",
9092
+ "required": true,
9093
+ "schema": {
9094
+ "type": "string"
9095
+ }
9096
+ }
9097
+ ],
8938
9098
  "queryParams": [],
8939
9099
  "responseKind": "json",
8940
9100
  "requestBodyRequired": false,
@@ -8946,13 +9106,13 @@
8946
9106
  "dist",
8947
9107
  "commands",
8948
9108
  "management",
8949
- "create-shared-amazon-ses-limit-request.js"
9109
+ "activate-provider.js"
8950
9110
  ]
8951
9111
  },
8952
- "management:create-webhook": {
9112
+ "management:cancel-shared-amazon-ses-limit-request": {
8953
9113
  "aliases": [],
8954
9114
  "args": {},
8955
- "description": "Create a webhook subscription",
9115
+ "description": "Cancel a shared Amazon SES daily limit request",
8956
9116
  "flags": {
8957
9117
  "json": {
8958
9118
  "description": "Format output as json.",
@@ -9072,30 +9232,29 @@
9072
9232
  },
9073
9233
  "hasDynamicHelp": false,
9074
9234
  "hiddenAliases": [],
9075
- "id": "management:create-webhook",
9235
+ "id": "management:cancel-shared-amazon-ses-limit-request",
9076
9236
  "pluginAlias": "@sendmux/cli",
9077
9237
  "pluginName": "@sendmux/cli",
9078
9238
  "pluginType": "core",
9079
9239
  "strict": true,
9080
9240
  "enableJsonFlag": true,
9081
9241
  "operation": {
9082
- "bodyKind": "json",
9083
- "command": "management:create-webhook",
9084
- "description": "Create a webhook subscription",
9085
- "headerParams": [
9242
+ "bodyKind": "none",
9243
+ "command": "management:cancel-shared-amazon-ses-limit-request",
9244
+ "description": "Cancel a shared Amazon SES daily limit request",
9245
+ "headerParams": [],
9246
+ "method": "delete",
9247
+ "operationId": "managementCancelSharedAmazonSesLimitRequest",
9248
+ "path": "/providers/shared-amazon-ses-limit-request/{request_id}",
9249
+ "pathParams": [
9086
9250
  {
9087
- "name": "Idempotency-Key",
9088
- "required": false,
9251
+ "name": "request_id",
9252
+ "required": true,
9089
9253
  "schema": {
9090
- "type": "string",
9091
- "maxLength": 255
9254
+ "type": "string"
9092
9255
  }
9093
9256
  }
9094
9257
  ],
9095
- "method": "post",
9096
- "operationId": "managementCreateWebhook",
9097
- "path": "/webhooks",
9098
- "pathParams": [],
9099
9258
  "queryParams": [],
9100
9259
  "responseKind": "json",
9101
9260
  "requestBodyRequired": false,
@@ -9107,13 +9266,13 @@
9107
9266
  "dist",
9108
9267
  "commands",
9109
9268
  "management",
9110
- "create-webhook.js"
9269
+ "cancel-shared-amazon-ses-limit-request.js"
9111
9270
  ]
9112
9271
  },
9113
- "management:deactivate-provider": {
9272
+ "management:check-mailbox-availability": {
9114
9273
  "aliases": [],
9115
9274
  "args": {},
9116
- "description": "Deactivate a sending account",
9275
+ "description": "Check mailbox address availability",
9117
9276
  "flags": {
9118
9277
  "json": {
9119
9278
  "description": "Format output as json.",
@@ -9233,7 +9392,7 @@
9233
9392
  },
9234
9393
  "hasDynamicHelp": false,
9235
9394
  "hiddenAliases": [],
9236
- "id": "management:deactivate-provider",
9395
+ "id": "management:check-mailbox-availability",
9237
9396
  "pluginAlias": "@sendmux/cli",
9238
9397
  "pluginName": "@sendmux/cli",
9239
9398
  "pluginType": "core",
@@ -9241,31 +9400,22 @@
9241
9400
  "enableJsonFlag": true,
9242
9401
  "operation": {
9243
9402
  "bodyKind": "none",
9244
- "command": "management:deactivate-provider",
9245
- "description": "Deactivate a sending account",
9246
- "headerParams": [
9247
- {
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": [
9403
+ "command": "management:check-mailbox-availability",
9404
+ "description": "Check mailbox address availability",
9405
+ "headerParams": [],
9406
+ "method": "get",
9407
+ "operationId": "managementCheckMailboxAvailability",
9408
+ "path": "/mailboxes/availability",
9409
+ "pathParams": [],
9410
+ "queryParams": [
9260
9411
  {
9261
- "name": "public_id",
9412
+ "name": "email",
9262
9413
  "required": true,
9263
9414
  "schema": {
9264
9415
  "type": "string"
9265
9416
  }
9266
9417
  }
9267
9418
  ],
9268
- "queryParams": [],
9269
9419
  "responseKind": "json",
9270
9420
  "requestBodyRequired": false,
9271
9421
  "requiredKeyKind": "root",
@@ -9276,13 +9426,13 @@
9276
9426
  "dist",
9277
9427
  "commands",
9278
9428
  "management",
9279
- "deactivate-provider.js"
9429
+ "check-mailbox-availability.js"
9280
9430
  ]
9281
9431
  },
9282
- "management:delete-domain": {
9432
+ "management:create-domain": {
9283
9433
  "aliases": [],
9284
9434
  "args": {},
9285
- "description": "Delete a mailbox domain",
9435
+ "description": "Add a mailbox domain",
9286
9436
  "flags": {
9287
9437
  "json": {
9288
9438
  "description": "Format output as json.",
@@ -9402,29 +9552,30 @@
9402
9552
  },
9403
9553
  "hasDynamicHelp": false,
9404
9554
  "hiddenAliases": [],
9405
- "id": "management:delete-domain",
9555
+ "id": "management:create-domain",
9406
9556
  "pluginAlias": "@sendmux/cli",
9407
9557
  "pluginName": "@sendmux/cli",
9408
9558
  "pluginType": "core",
9409
9559
  "strict": true,
9410
9560
  "enableJsonFlag": true,
9411
9561
  "operation": {
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": [
9562
+ "bodyKind": "json",
9563
+ "command": "management:create-domain",
9564
+ "description": "Add a mailbox domain",
9565
+ "headerParams": [
9420
9566
  {
9421
- "name": "public_id",
9422
- "required": true,
9567
+ "name": "Idempotency-Key",
9568
+ "required": false,
9423
9569
  "schema": {
9424
- "type": "string"
9570
+ "type": "string",
9571
+ "maxLength": 255
9425
9572
  }
9426
9573
  }
9427
9574
  ],
9575
+ "method": "post",
9576
+ "operationId": "managementCreateDomain",
9577
+ "path": "/domains",
9578
+ "pathParams": [],
9428
9579
  "queryParams": [],
9429
9580
  "responseKind": "json",
9430
9581
  "requestBodyRequired": false,
@@ -9436,13 +9587,13 @@
9436
9587
  "dist",
9437
9588
  "commands",
9438
9589
  "management",
9439
- "delete-domain.js"
9590
+ "create-domain.js"
9440
9591
  ]
9441
9592
  },
9442
- "management:delete-mailbox-key": {
9593
+ "management:create-mailbox-key": {
9443
9594
  "aliases": [],
9444
9595
  "args": {},
9445
- "description": "Revoke a mailbox API key",
9596
+ "description": "Create a mailbox API key",
9446
9597
  "flags": {
9447
9598
  "json": {
9448
9599
  "description": "Format output as json.",
@@ -9562,30 +9713,32 @@
9562
9713
  },
9563
9714
  "hasDynamicHelp": false,
9564
9715
  "hiddenAliases": [],
9565
- "id": "management:delete-mailbox-key",
9716
+ "id": "management:create-mailbox-key",
9566
9717
  "pluginAlias": "@sendmux/cli",
9567
9718
  "pluginName": "@sendmux/cli",
9568
9719
  "pluginType": "core",
9569
9720
  "strict": true,
9570
9721
  "enableJsonFlag": true,
9571
9722
  "operation": {
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": [
9723
+ "bodyKind": "json",
9724
+ "command": "management:create-mailbox-key",
9725
+ "description": "Create a mailbox API key",
9726
+ "headerParams": [
9580
9727
  {
9581
- "name": "public_id",
9582
- "required": true,
9728
+ "name": "Idempotency-Key",
9729
+ "required": false,
9583
9730
  "schema": {
9584
- "type": "string"
9731
+ "type": "string",
9732
+ "maxLength": 255
9585
9733
  }
9586
- },
9734
+ }
9735
+ ],
9736
+ "method": "post",
9737
+ "operationId": "managementCreateMailboxKey",
9738
+ "path": "/mailboxes/{public_id}/keys",
9739
+ "pathParams": [
9587
9740
  {
9588
- "name": "key_id",
9741
+ "name": "public_id",
9589
9742
  "required": true,
9590
9743
  "schema": {
9591
9744
  "type": "string"
@@ -9603,13 +9756,13 @@
9603
9756
  "dist",
9604
9757
  "commands",
9605
9758
  "management",
9606
- "delete-mailbox-key.js"
9759
+ "create-mailbox-key.js"
9607
9760
  ]
9608
9761
  },
9609
- "management:delete-mailbox": {
9762
+ "management:create-mailbox": {
9610
9763
  "aliases": [],
9611
9764
  "args": {},
9612
- "description": "Delete a mailbox",
9765
+ "description": "Create a mailbox",
9613
9766
  "flags": {
9614
9767
  "json": {
9615
9768
  "description": "Format output as json.",
@@ -9729,29 +9882,30 @@
9729
9882
  },
9730
9883
  "hasDynamicHelp": false,
9731
9884
  "hiddenAliases": [],
9732
- "id": "management:delete-mailbox",
9885
+ "id": "management:create-mailbox",
9733
9886
  "pluginAlias": "@sendmux/cli",
9734
9887
  "pluginName": "@sendmux/cli",
9735
9888
  "pluginType": "core",
9736
9889
  "strict": true,
9737
9890
  "enableJsonFlag": true,
9738
9891
  "operation": {
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": [
9892
+ "bodyKind": "json",
9893
+ "command": "management:create-mailbox",
9894
+ "description": "Create a mailbox",
9895
+ "headerParams": [
9747
9896
  {
9748
- "name": "public_id",
9749
- "required": true,
9897
+ "name": "Idempotency-Key",
9898
+ "required": false,
9750
9899
  "schema": {
9751
- "type": "string"
9900
+ "type": "string",
9901
+ "maxLength": 255
9752
9902
  }
9753
9903
  }
9754
9904
  ],
9905
+ "method": "post",
9906
+ "operationId": "managementCreateMailbox",
9907
+ "path": "/mailboxes",
9908
+ "pathParams": [],
9755
9909
  "queryParams": [],
9756
9910
  "responseKind": "json",
9757
9911
  "requestBodyRequired": false,
@@ -9763,13 +9917,13 @@
9763
9917
  "dist",
9764
9918
  "commands",
9765
9919
  "management",
9766
- "delete-mailbox.js"
9920
+ "create-mailbox.js"
9767
9921
  ]
9768
9922
  },
9769
- "management:delete-provider": {
9923
+ "management:create-provider": {
9770
9924
  "aliases": [],
9771
9925
  "args": {},
9772
- "description": "Delete a sending account",
9926
+ "description": "Create an SMTP sending account",
9773
9927
  "flags": {
9774
9928
  "json": {
9775
9929
  "description": "Format output as json.",
@@ -9889,29 +10043,30 @@
9889
10043
  },
9890
10044
  "hasDynamicHelp": false,
9891
10045
  "hiddenAliases": [],
9892
- "id": "management:delete-provider",
10046
+ "id": "management:create-provider",
9893
10047
  "pluginAlias": "@sendmux/cli",
9894
10048
  "pluginName": "@sendmux/cli",
9895
10049
  "pluginType": "core",
9896
10050
  "strict": true,
9897
10051
  "enableJsonFlag": true,
9898
10052
  "operation": {
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": [
10053
+ "bodyKind": "json",
10054
+ "command": "management:create-provider",
10055
+ "description": "Create an SMTP sending account",
10056
+ "headerParams": [
9907
10057
  {
9908
- "name": "public_id",
9909
- "required": true,
10058
+ "name": "Idempotency-Key",
10059
+ "required": false,
9910
10060
  "schema": {
9911
- "type": "string"
10061
+ "type": "string",
10062
+ "maxLength": 255
9912
10063
  }
9913
10064
  }
9914
10065
  ],
10066
+ "method": "post",
10067
+ "operationId": "managementCreateProvider",
10068
+ "path": "/providers",
10069
+ "pathParams": [],
9915
10070
  "queryParams": [],
9916
10071
  "responseKind": "json",
9917
10072
  "requestBodyRequired": false,
@@ -9923,13 +10078,13 @@
9923
10078
  "dist",
9924
10079
  "commands",
9925
10080
  "management",
9926
- "delete-provider.js"
10081
+ "create-provider.js"
9927
10082
  ]
9928
10083
  },
9929
- "management:delete-webhook": {
10084
+ "management:create-shared-amazon-ses-limit-request": {
9930
10085
  "aliases": [],
9931
10086
  "args": {},
9932
- "description": "Delete a webhook subscription",
10087
+ "description": "Request a shared Amazon SES daily limit increase",
9933
10088
  "flags": {
9934
10089
  "json": {
9935
10090
  "description": "Format output as json.",
@@ -10049,7 +10204,7 @@
10049
10204
  },
10050
10205
  "hasDynamicHelp": false,
10051
10206
  "hiddenAliases": [],
10052
- "id": "management:delete-webhook",
10207
+ "id": "management:create-shared-amazon-ses-limit-request",
10053
10208
  "pluginAlias": "@sendmux/cli",
10054
10209
  "pluginName": "@sendmux/cli",
10055
10210
  "pluginType": "core",
@@ -10057,21 +10212,22 @@
10057
10212
  "enableJsonFlag": true,
10058
10213
  "operation": {
10059
10214
  "bodyKind": "none",
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": [
10215
+ "command": "management:create-shared-amazon-ses-limit-request",
10216
+ "description": "Request a shared Amazon SES daily limit increase",
10217
+ "headerParams": [
10067
10218
  {
10068
- "name": "public_id",
10069
- "required": true,
10219
+ "name": "Idempotency-Key",
10220
+ "required": false,
10070
10221
  "schema": {
10071
- "type": "string"
10222
+ "type": "string",
10223
+ "maxLength": 255
10072
10224
  }
10073
10225
  }
10074
10226
  ],
10227
+ "method": "post",
10228
+ "operationId": "managementCreateSharedAmazonSesLimitRequest",
10229
+ "path": "/providers/shared-amazon-ses-limit-request",
10230
+ "pathParams": [],
10075
10231
  "queryParams": [],
10076
10232
  "responseKind": "json",
10077
10233
  "requestBodyRequired": false,
@@ -10083,13 +10239,13 @@
10083
10239
  "dist",
10084
10240
  "commands",
10085
10241
  "management",
10086
- "delete-webhook.js"
10242
+ "create-shared-amazon-ses-limit-request.js"
10087
10243
  ]
10088
10244
  },
10089
- "management:get-connection": {
10245
+ "management:create-webhook": {
10090
10246
  "aliases": [],
10091
10247
  "args": {},
10092
- "description": "Get Management connection",
10248
+ "description": "Create a webhook subscription",
10093
10249
  "flags": {
10094
10250
  "json": {
10095
10251
  "description": "Format output as json.",
@@ -10209,28 +10365,29 @@
10209
10365
  },
10210
10366
  "hasDynamicHelp": false,
10211
10367
  "hiddenAliases": [],
10212
- "id": "management:get-connection",
10368
+ "id": "management:create-webhook",
10213
10369
  "pluginAlias": "@sendmux/cli",
10214
10370
  "pluginName": "@sendmux/cli",
10215
10371
  "pluginType": "core",
10216
10372
  "strict": true,
10217
10373
  "enableJsonFlag": true,
10218
10374
  "operation": {
10219
- "bodyKind": "none",
10220
- "command": "management:get-connection",
10221
- "description": "Get Management connection",
10375
+ "bodyKind": "json",
10376
+ "command": "management:create-webhook",
10377
+ "description": "Create a webhook subscription",
10222
10378
  "headerParams": [
10223
10379
  {
10224
- "name": "If-None-Match",
10380
+ "name": "Idempotency-Key",
10225
10381
  "required": false,
10226
10382
  "schema": {
10227
- "type": "string"
10383
+ "type": "string",
10384
+ "maxLength": 255
10228
10385
  }
10229
10386
  }
10230
10387
  ],
10231
- "method": "get",
10232
- "operationId": "managementGetConnection",
10233
- "path": "/me",
10388
+ "method": "post",
10389
+ "operationId": "managementCreateWebhook",
10390
+ "path": "/webhooks",
10234
10391
  "pathParams": [],
10235
10392
  "queryParams": [],
10236
10393
  "responseKind": "json",
@@ -10243,13 +10400,13 @@
10243
10400
  "dist",
10244
10401
  "commands",
10245
10402
  "management",
10246
- "get-connection.js"
10403
+ "create-webhook.js"
10247
10404
  ]
10248
10405
  },
10249
- "management:get-delivery-payload": {
10406
+ "management:deactivate-provider": {
10250
10407
  "aliases": [],
10251
10408
  "args": {},
10252
- "description": "Get a webhook delivery payload",
10409
+ "description": "Deactivate a sending account",
10253
10410
  "flags": {
10254
10411
  "json": {
10255
10412
  "description": "Format output as json.",
@@ -10369,7 +10526,7 @@
10369
10526
  },
10370
10527
  "hasDynamicHelp": false,
10371
10528
  "hiddenAliases": [],
10372
- "id": "management:get-delivery-payload",
10529
+ "id": "management:deactivate-provider",
10373
10530
  "pluginAlias": "@sendmux/cli",
10374
10531
  "pluginName": "@sendmux/cli",
10375
10532
  "pluginType": "core",
@@ -10377,22 +10534,24 @@
10377
10534
  "enableJsonFlag": true,
10378
10535
  "operation": {
10379
10536
  "bodyKind": "none",
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": [
10537
+ "command": "management:deactivate-provider",
10538
+ "description": "Deactivate a sending account",
10539
+ "headerParams": [
10387
10540
  {
10388
- "name": "public_id",
10389
- "required": true,
10541
+ "name": "Idempotency-Key",
10542
+ "required": false,
10390
10543
  "schema": {
10391
- "type": "string"
10544
+ "type": "string",
10545
+ "maxLength": 255
10392
10546
  }
10393
- },
10547
+ }
10548
+ ],
10549
+ "method": "post",
10550
+ "operationId": "managementDeactivateProvider",
10551
+ "path": "/providers/{public_id}/deactivate",
10552
+ "pathParams": [
10394
10553
  {
10395
- "name": "delivery_id",
10554
+ "name": "public_id",
10396
10555
  "required": true,
10397
10556
  "schema": {
10398
10557
  "type": "string"
@@ -10410,13 +10569,13 @@
10410
10569
  "dist",
10411
10570
  "commands",
10412
10571
  "management",
10413
- "get-delivery-payload.js"
10572
+ "deactivate-provider.js"
10414
10573
  ]
10415
10574
  },
10416
- "management:get-domain-filters": {
10575
+ "management:delete-domain": {
10417
10576
  "aliases": [],
10418
10577
  "args": {},
10419
- "description": "Get domain-wide sender filters",
10578
+ "description": "Delete a mailbox domain",
10420
10579
  "flags": {
10421
10580
  "json": {
10422
10581
  "description": "Format output as json.",
@@ -10536,7 +10695,7 @@
10536
10695
  },
10537
10696
  "hasDynamicHelp": false,
10538
10697
  "hiddenAliases": [],
10539
- "id": "management:get-domain-filters",
10698
+ "id": "management:delete-domain",
10540
10699
  "pluginAlias": "@sendmux/cli",
10541
10700
  "pluginName": "@sendmux/cli",
10542
10701
  "pluginType": "core",
@@ -10544,20 +10703,12 @@
10544
10703
  "enableJsonFlag": true,
10545
10704
  "operation": {
10546
10705
  "bodyKind": "none",
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",
10706
+ "command": "management:delete-domain",
10707
+ "description": "Delete a mailbox domain",
10708
+ "headerParams": [],
10709
+ "method": "delete",
10710
+ "operationId": "managementDeleteDomain",
10711
+ "path": "/domains/{public_id}",
10561
10712
  "pathParams": [
10562
10713
  {
10563
10714
  "name": "public_id",
@@ -10578,13 +10729,13 @@
10578
10729
  "dist",
10579
10730
  "commands",
10580
10731
  "management",
10581
- "get-domain-filters.js"
10732
+ "delete-domain.js"
10582
10733
  ]
10583
10734
  },
10584
- "management:get-domain-zone-file": {
10735
+ "management:delete-mailbox-key": {
10585
10736
  "aliases": [],
10586
10737
  "args": {},
10587
- "description": "Download a domain as a zone file",
10738
+ "description": "Revoke a mailbox API key",
10588
10739
  "flags": {
10589
10740
  "json": {
10590
10741
  "description": "Format output as json.",
@@ -10704,7 +10855,7 @@
10704
10855
  },
10705
10856
  "hasDynamicHelp": false,
10706
10857
  "hiddenAliases": [],
10707
- "id": "management:get-domain-zone-file",
10858
+ "id": "management:delete-mailbox-key",
10708
10859
  "pluginAlias": "@sendmux/cli",
10709
10860
  "pluginName": "@sendmux/cli",
10710
10861
  "pluginType": "core",
@@ -10712,12 +10863,12 @@
10712
10863
  "enableJsonFlag": true,
10713
10864
  "operation": {
10714
10865
  "bodyKind": "none",
10715
- "command": "management:get-domain-zone-file",
10716
- "description": "Download a domain as a zone file",
10866
+ "command": "management:delete-mailbox-key",
10867
+ "description": "Revoke a mailbox API key",
10717
10868
  "headerParams": [],
10718
- "method": "get",
10719
- "operationId": "managementGetDomainZoneFile",
10720
- "path": "/domains/{public_id}/zone-file",
10869
+ "method": "delete",
10870
+ "operationId": "managementDeleteMailboxKey",
10871
+ "path": "/mailboxes/{public_id}/keys/{key_id}",
10721
10872
  "pathParams": [
10722
10873
  {
10723
10874
  "name": "public_id",
@@ -10725,10 +10876,17 @@
10725
10876
  "schema": {
10726
10877
  "type": "string"
10727
10878
  }
10879
+ },
10880
+ {
10881
+ "name": "key_id",
10882
+ "required": true,
10883
+ "schema": {
10884
+ "type": "string"
10885
+ }
10728
10886
  }
10729
10887
  ],
10730
10888
  "queryParams": [],
10731
- "responseKind": "text",
10889
+ "responseKind": "json",
10732
10890
  "requestBodyRequired": false,
10733
10891
  "requiredKeyKind": "root",
10734
10892
  "surface": "management"
@@ -10738,13 +10896,13 @@
10738
10896
  "dist",
10739
10897
  "commands",
10740
10898
  "management",
10741
- "get-domain-zone-file.js"
10899
+ "delete-mailbox-key.js"
10742
10900
  ]
10743
10901
  },
10744
- "management:get-email-log": {
10902
+ "management:delete-mailbox": {
10745
10903
  "aliases": [],
10746
10904
  "args": {},
10747
- "description": "Get delivery log",
10905
+ "description": "Delete a mailbox",
10748
10906
  "flags": {
10749
10907
  "json": {
10750
10908
  "description": "Format output as json.",
@@ -10864,7 +11022,7 @@
10864
11022
  },
10865
11023
  "hasDynamicHelp": false,
10866
11024
  "hiddenAliases": [],
10867
- "id": "management:get-email-log",
11025
+ "id": "management:delete-mailbox",
10868
11026
  "pluginAlias": "@sendmux/cli",
10869
11027
  "pluginName": "@sendmux/cli",
10870
11028
  "pluginType": "core",
@@ -10872,20 +11030,12 @@
10872
11030
  "enableJsonFlag": true,
10873
11031
  "operation": {
10874
11032
  "bodyKind": "none",
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}",
11033
+ "command": "management:delete-mailbox",
11034
+ "description": "Delete a mailbox",
11035
+ "headerParams": [],
11036
+ "method": "delete",
11037
+ "operationId": "managementDeleteMailbox",
11038
+ "path": "/mailboxes/{public_id}",
10889
11039
  "pathParams": [
10890
11040
  {
10891
11041
  "name": "public_id",
@@ -10906,13 +11056,13 @@
10906
11056
  "dist",
10907
11057
  "commands",
10908
11058
  "management",
10909
- "get-email-log.js"
11059
+ "delete-mailbox.js"
10910
11060
  ]
10911
11061
  },
10912
- "management:get-email-metrics": {
11062
+ "management:delete-provider": {
10913
11063
  "aliases": [],
10914
11064
  "args": {},
10915
- "description": "Get email metrics",
11065
+ "description": "Delete a sending account",
10916
11066
  "flags": {
10917
11067
  "json": {
10918
11068
  "description": "Format output as json.",
@@ -11032,7 +11182,7 @@
11032
11182
  },
11033
11183
  "hasDynamicHelp": false,
11034
11184
  "hiddenAliases": [],
11035
- "id": "management:get-email-metrics",
11185
+ "id": "management:delete-provider",
11036
11186
  "pluginAlias": "@sendmux/cli",
11037
11187
  "pluginName": "@sendmux/cli",
11038
11188
  "pluginType": "core",
@@ -11040,59 +11190,22 @@
11040
11190
  "enableJsonFlag": true,
11041
11191
  "operation": {
11042
11192
  "bodyKind": "none",
11043
- "command": "management:get-email-metrics",
11044
- "description": "Get email metrics",
11193
+ "command": "management:delete-provider",
11194
+ "description": "Delete a sending account",
11045
11195
  "headerParams": [],
11046
- "method": "get",
11047
- "operationId": "managementGetEmailMetrics",
11048
- "path": "/emails/metrics",
11049
- "pathParams": [],
11050
- "queryParams": [
11051
- {
11052
- "name": "window",
11053
- "required": false,
11054
- "schema": {
11055
- "type": "string",
11056
- "enum": [
11057
- "24h",
11058
- "7d",
11059
- "30d"
11060
- ]
11061
- }
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
- },
11196
+ "method": "delete",
11197
+ "operationId": "managementDeleteProvider",
11198
+ "path": "/providers/{public_id}",
11199
+ "pathParams": [
11088
11200
  {
11089
- "name": "provider_id",
11090
- "required": false,
11201
+ "name": "public_id",
11202
+ "required": true,
11091
11203
  "schema": {
11092
11204
  "type": "string"
11093
11205
  }
11094
11206
  }
11095
11207
  ],
11208
+ "queryParams": [],
11096
11209
  "responseKind": "json",
11097
11210
  "requestBodyRequired": false,
11098
11211
  "requiredKeyKind": "root",
@@ -11103,13 +11216,13 @@
11103
11216
  "dist",
11104
11217
  "commands",
11105
11218
  "management",
11106
- "get-email-metrics.js"
11219
+ "delete-provider.js"
11107
11220
  ]
11108
11221
  },
11109
- "management:get-inbox-log": {
11222
+ "management:delete-webhook": {
11110
11223
  "aliases": [],
11111
11224
  "args": {},
11112
- "description": "Get incoming log",
11225
+ "description": "Delete a webhook subscription",
11113
11226
  "flags": {
11114
11227
  "json": {
11115
11228
  "description": "Format output as json.",
@@ -11229,7 +11342,7 @@
11229
11342
  },
11230
11343
  "hasDynamicHelp": false,
11231
11344
  "hiddenAliases": [],
11232
- "id": "management:get-inbox-log",
11345
+ "id": "management:delete-webhook",
11233
11346
  "pluginAlias": "@sendmux/cli",
11234
11347
  "pluginName": "@sendmux/cli",
11235
11348
  "pluginType": "core",
@@ -11237,12 +11350,12 @@
11237
11350
  "enableJsonFlag": true,
11238
11351
  "operation": {
11239
11352
  "bodyKind": "none",
11240
- "command": "management:get-inbox-log",
11241
- "description": "Get incoming log",
11353
+ "command": "management:delete-webhook",
11354
+ "description": "Delete a webhook subscription",
11242
11355
  "headerParams": [],
11243
- "method": "get",
11244
- "operationId": "managementGetInboxLog",
11245
- "path": "/inboxes/logs/{public_id}",
11356
+ "method": "delete",
11357
+ "operationId": "managementDeleteWebhook",
11358
+ "path": "/webhooks/{public_id}",
11246
11359
  "pathParams": [
11247
11360
  {
11248
11361
  "name": "public_id",
@@ -11263,13 +11376,13 @@
11263
11376
  "dist",
11264
11377
  "commands",
11265
11378
  "management",
11266
- "get-inbox-log.js"
11379
+ "delete-webhook.js"
11267
11380
  ]
11268
11381
  },
11269
- "management:get-mailbox-filters": {
11382
+ "management:get-connection": {
11270
11383
  "aliases": [],
11271
11384
  "args": {},
11272
- "description": "Get mailbox sender filters",
11385
+ "description": "Get Management connection",
11273
11386
  "flags": {
11274
11387
  "json": {
11275
11388
  "description": "Format output as json.",
@@ -11389,7 +11502,7 @@
11389
11502
  },
11390
11503
  "hasDynamicHelp": false,
11391
11504
  "hiddenAliases": [],
11392
- "id": "management:get-mailbox-filters",
11505
+ "id": "management:get-connection",
11393
11506
  "pluginAlias": "@sendmux/cli",
11394
11507
  "pluginName": "@sendmux/cli",
11395
11508
  "pluginType": "core",
@@ -11397,8 +11510,8 @@
11397
11510
  "enableJsonFlag": true,
11398
11511
  "operation": {
11399
11512
  "bodyKind": "none",
11400
- "command": "management:get-mailbox-filters",
11401
- "description": "Get mailbox sender filters",
11513
+ "command": "management:get-connection",
11514
+ "description": "Get Management connection",
11402
11515
  "headerParams": [
11403
11516
  {
11404
11517
  "name": "If-None-Match",
@@ -11409,17 +11522,9 @@
11409
11522
  }
11410
11523
  ],
11411
11524
  "method": "get",
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
- ],
11525
+ "operationId": "managementGetConnection",
11526
+ "path": "/me",
11527
+ "pathParams": [],
11423
11528
  "queryParams": [],
11424
11529
  "responseKind": "json",
11425
11530
  "requestBodyRequired": false,
@@ -11431,13 +11536,13 @@
11431
11536
  "dist",
11432
11537
  "commands",
11433
11538
  "management",
11434
- "get-mailbox-filters.js"
11539
+ "get-connection.js"
11435
11540
  ]
11436
11541
  },
11437
- "management:get-mailbox": {
11542
+ "management:get-delivery-payload": {
11438
11543
  "aliases": [],
11439
11544
  "args": {},
11440
- "description": "Get a mailbox",
11545
+ "description": "Get a webhook delivery payload",
11441
11546
  "flags": {
11442
11547
  "json": {
11443
11548
  "description": "Format output as json.",
@@ -11557,7 +11662,7 @@
11557
11662
  },
11558
11663
  "hasDynamicHelp": false,
11559
11664
  "hiddenAliases": [],
11560
- "id": "management:get-mailbox",
11665
+ "id": "management:get-delivery-payload",
11561
11666
  "pluginAlias": "@sendmux/cli",
11562
11667
  "pluginName": "@sendmux/cli",
11563
11668
  "pluginType": "core",
@@ -11565,23 +11670,22 @@
11565
11670
  "enableJsonFlag": true,
11566
11671
  "operation": {
11567
11672
  "bodyKind": "none",
11568
- "command": "management:get-mailbox",
11569
- "description": "Get a mailbox",
11570
- "headerParams": [
11673
+ "command": "management:get-delivery-payload",
11674
+ "description": "Get a webhook delivery payload",
11675
+ "headerParams": [],
11676
+ "method": "get",
11677
+ "operationId": "managementGetDeliveryPayload",
11678
+ "path": "/webhooks/{public_id}/deliveries/{delivery_id}/payload",
11679
+ "pathParams": [
11571
11680
  {
11572
- "name": "If-None-Match",
11573
- "required": false,
11681
+ "name": "public_id",
11682
+ "required": true,
11574
11683
  "schema": {
11575
11684
  "type": "string"
11576
11685
  }
11577
- }
11578
- ],
11579
- "method": "get",
11580
- "operationId": "managementGetMailbox",
11581
- "path": "/mailboxes/{public_id}",
11582
- "pathParams": [
11686
+ },
11583
11687
  {
11584
- "name": "public_id",
11688
+ "name": "delivery_id",
11585
11689
  "required": true,
11586
11690
  "schema": {
11587
11691
  "type": "string"
@@ -11599,13 +11703,13 @@
11599
11703
  "dist",
11600
11704
  "commands",
11601
11705
  "management",
11602
- "get-mailbox.js"
11706
+ "get-delivery-payload.js"
11603
11707
  ]
11604
11708
  },
11605
- "management:get-provider-limits": {
11709
+ "management:get-domain-filters": {
11606
11710
  "aliases": [],
11607
11711
  "args": {},
11608
- "description": "Get sending account limits",
11712
+ "description": "Get domain-wide sender filters",
11609
11713
  "flags": {
11610
11714
  "json": {
11611
11715
  "description": "Format output as json.",
@@ -11725,7 +11829,7 @@
11725
11829
  },
11726
11830
  "hasDynamicHelp": false,
11727
11831
  "hiddenAliases": [],
11728
- "id": "management:get-provider-limits",
11832
+ "id": "management:get-domain-filters",
11729
11833
  "pluginAlias": "@sendmux/cli",
11730
11834
  "pluginName": "@sendmux/cli",
11731
11835
  "pluginType": "core",
@@ -11733,13 +11837,29 @@
11733
11837
  "enableJsonFlag": true,
11734
11838
  "operation": {
11735
11839
  "bodyKind": "none",
11736
- "command": "management:get-provider-limits",
11737
- "description": "Get sending account limits",
11738
- "headerParams": [],
11840
+ "command": "management:get-domain-filters",
11841
+ "description": "Get domain-wide sender filters",
11842
+ "headerParams": [
11843
+ {
11844
+ "name": "If-None-Match",
11845
+ "required": false,
11846
+ "schema": {
11847
+ "type": "string"
11848
+ }
11849
+ }
11850
+ ],
11739
11851
  "method": "get",
11740
- "operationId": "managementGetProviderLimits",
11741
- "path": "/providers/limits",
11742
- "pathParams": [],
11852
+ "operationId": "managementGetDomainFilters",
11853
+ "path": "/domains/{public_id}/filters",
11854
+ "pathParams": [
11855
+ {
11856
+ "name": "public_id",
11857
+ "required": true,
11858
+ "schema": {
11859
+ "type": "string"
11860
+ }
11861
+ }
11862
+ ],
11743
11863
  "queryParams": [],
11744
11864
  "responseKind": "json",
11745
11865
  "requestBodyRequired": false,
@@ -11751,13 +11871,13 @@
11751
11871
  "dist",
11752
11872
  "commands",
11753
11873
  "management",
11754
- "get-provider-limits.js"
11874
+ "get-domain-filters.js"
11755
11875
  ]
11756
11876
  },
11757
- "management:get-provider-stats": {
11877
+ "management:get-domain-zone-file": {
11758
11878
  "aliases": [],
11759
11879
  "args": {},
11760
- "description": "Get sending account statistics",
11880
+ "description": "Download a domain as a zone file",
11761
11881
  "flags": {
11762
11882
  "json": {
11763
11883
  "description": "Format output as json.",
@@ -11877,7 +11997,7 @@
11877
11997
  },
11878
11998
  "hasDynamicHelp": false,
11879
11999
  "hiddenAliases": [],
11880
- "id": "management:get-provider-stats",
12000
+ "id": "management:get-domain-zone-file",
11881
12001
  "pluginAlias": "@sendmux/cli",
11882
12002
  "pluginName": "@sendmux/cli",
11883
12003
  "pluginType": "core",
@@ -11885,15 +12005,23 @@
11885
12005
  "enableJsonFlag": true,
11886
12006
  "operation": {
11887
12007
  "bodyKind": "none",
11888
- "command": "management:get-provider-stats",
11889
- "description": "Get sending account statistics",
12008
+ "command": "management:get-domain-zone-file",
12009
+ "description": "Download a domain as a zone file",
11890
12010
  "headerParams": [],
11891
12011
  "method": "get",
11892
- "operationId": "managementGetProviderStats",
11893
- "path": "/providers/stats",
11894
- "pathParams": [],
12012
+ "operationId": "managementGetDomainZoneFile",
12013
+ "path": "/domains/{public_id}/zone-file",
12014
+ "pathParams": [
12015
+ {
12016
+ "name": "public_id",
12017
+ "required": true,
12018
+ "schema": {
12019
+ "type": "string"
12020
+ }
12021
+ }
12022
+ ],
11895
12023
  "queryParams": [],
11896
- "responseKind": "json",
12024
+ "responseKind": "text",
11897
12025
  "requestBodyRequired": false,
11898
12026
  "requiredKeyKind": "root",
11899
12027
  "surface": "management"
@@ -11903,13 +12031,13 @@
11903
12031
  "dist",
11904
12032
  "commands",
11905
12033
  "management",
11906
- "get-provider-stats.js"
12034
+ "get-domain-zone-file.js"
11907
12035
  ]
11908
12036
  },
11909
- "management:get-provider-usage": {
12037
+ "management:get-email-log": {
11910
12038
  "aliases": [],
11911
12039
  "args": {},
11912
- "description": "Get sending account usage",
12040
+ "description": "Get delivery log",
11913
12041
  "flags": {
11914
12042
  "json": {
11915
12043
  "description": "Format output as json.",
@@ -12029,7 +12157,7 @@
12029
12157
  },
12030
12158
  "hasDynamicHelp": false,
12031
12159
  "hiddenAliases": [],
12032
- "id": "management:get-provider-usage",
12160
+ "id": "management:get-email-log",
12033
12161
  "pluginAlias": "@sendmux/cli",
12034
12162
  "pluginName": "@sendmux/cli",
12035
12163
  "pluginType": "core",
@@ -12037,13 +12165,29 @@
12037
12165
  "enableJsonFlag": true,
12038
12166
  "operation": {
12039
12167
  "bodyKind": "none",
12040
- "command": "management:get-provider-usage",
12041
- "description": "Get sending account usage",
12042
- "headerParams": [],
12168
+ "command": "management:get-email-log",
12169
+ "description": "Get delivery log",
12170
+ "headerParams": [
12171
+ {
12172
+ "name": "If-None-Match",
12173
+ "required": false,
12174
+ "schema": {
12175
+ "type": "string"
12176
+ }
12177
+ }
12178
+ ],
12043
12179
  "method": "get",
12044
- "operationId": "managementGetProviderUsage",
12045
- "path": "/providers/usage",
12046
- "pathParams": [],
12180
+ "operationId": "managementGetEmailLog",
12181
+ "path": "/emails/logs/{public_id}",
12182
+ "pathParams": [
12183
+ {
12184
+ "name": "public_id",
12185
+ "required": true,
12186
+ "schema": {
12187
+ "type": "string"
12188
+ }
12189
+ }
12190
+ ],
12047
12191
  "queryParams": [],
12048
12192
  "responseKind": "json",
12049
12193
  "requestBodyRequired": false,
@@ -12055,13 +12199,13 @@
12055
12199
  "dist",
12056
12200
  "commands",
12057
12201
  "management",
12058
- "get-provider-usage.js"
12202
+ "get-email-log.js"
12059
12203
  ]
12060
12204
  },
12061
- "management:get-provider": {
12205
+ "management:get-email-metrics": {
12062
12206
  "aliases": [],
12063
12207
  "args": {},
12064
- "description": "Get a sending account",
12208
+ "description": "Get email metrics",
12065
12209
  "flags": {
12066
12210
  "json": {
12067
12211
  "description": "Format output as json.",
@@ -12181,7 +12325,7 @@
12181
12325
  },
12182
12326
  "hasDynamicHelp": false,
12183
12327
  "hiddenAliases": [],
12184
- "id": "management:get-provider",
12328
+ "id": "management:get-email-metrics",
12185
12329
  "pluginAlias": "@sendmux/cli",
12186
12330
  "pluginName": "@sendmux/cli",
12187
12331
  "pluginType": "core",
@@ -12189,30 +12333,59 @@
12189
12333
  "enableJsonFlag": true,
12190
12334
  "operation": {
12191
12335
  "bodyKind": "none",
12192
- "command": "management:get-provider",
12193
- "description": "Get a sending account",
12194
- "headerParams": [
12336
+ "command": "management:get-email-metrics",
12337
+ "description": "Get email metrics",
12338
+ "headerParams": [],
12339
+ "method": "get",
12340
+ "operationId": "managementGetEmailMetrics",
12341
+ "path": "/emails/metrics",
12342
+ "pathParams": [],
12343
+ "queryParams": [
12195
12344
  {
12196
- "name": "If-None-Match",
12345
+ "name": "window",
12346
+ "required": false,
12347
+ "schema": {
12348
+ "type": "string",
12349
+ "enum": [
12350
+ "24h",
12351
+ "7d",
12352
+ "30d"
12353
+ ]
12354
+ }
12355
+ },
12356
+ {
12357
+ "name": "from_date",
12197
12358
  "required": false,
12198
12359
  "schema": {
12199
12360
  "type": "string"
12200
12361
  }
12201
- }
12202
- ],
12203
- "method": "get",
12204
- "operationId": "managementGetProvider",
12205
- "path": "/providers/{public_id}",
12206
- "pathParams": [
12362
+ },
12207
12363
  {
12208
- "name": "public_id",
12209
- "required": true,
12364
+ "name": "to_date",
12365
+ "required": false,
12366
+ "schema": {
12367
+ "type": "string"
12368
+ }
12369
+ },
12370
+ {
12371
+ "name": "granularity",
12372
+ "required": false,
12373
+ "schema": {
12374
+ "type": "string",
12375
+ "enum": [
12376
+ "hourly",
12377
+ "daily"
12378
+ ]
12379
+ }
12380
+ },
12381
+ {
12382
+ "name": "provider_id",
12383
+ "required": false,
12210
12384
  "schema": {
12211
12385
  "type": "string"
12212
12386
  }
12213
12387
  }
12214
12388
  ],
12215
- "queryParams": [],
12216
12389
  "responseKind": "json",
12217
12390
  "requestBodyRequired": false,
12218
12391
  "requiredKeyKind": "root",
@@ -12223,13 +12396,13 @@
12223
12396
  "dist",
12224
12397
  "commands",
12225
12398
  "management",
12226
- "get-provider.js"
12399
+ "get-email-metrics.js"
12227
12400
  ]
12228
12401
  },
12229
- "management:get-shared-amazon-ses-limit-request": {
12402
+ "management:get-inbox-log": {
12230
12403
  "aliases": [],
12231
12404
  "args": {},
12232
- "description": "Get shared Amazon SES limit request state",
12405
+ "description": "Get incoming log",
12233
12406
  "flags": {
12234
12407
  "json": {
12235
12408
  "description": "Format output as json.",
@@ -12349,7 +12522,7 @@
12349
12522
  },
12350
12523
  "hasDynamicHelp": false,
12351
12524
  "hiddenAliases": [],
12352
- "id": "management:get-shared-amazon-ses-limit-request",
12525
+ "id": "management:get-inbox-log",
12353
12526
  "pluginAlias": "@sendmux/cli",
12354
12527
  "pluginName": "@sendmux/cli",
12355
12528
  "pluginType": "core",
@@ -12357,13 +12530,21 @@
12357
12530
  "enableJsonFlag": true,
12358
12531
  "operation": {
12359
12532
  "bodyKind": "none",
12360
- "command": "management:get-shared-amazon-ses-limit-request",
12361
- "description": "Get shared Amazon SES limit request state",
12533
+ "command": "management:get-inbox-log",
12534
+ "description": "Get incoming log",
12362
12535
  "headerParams": [],
12363
12536
  "method": "get",
12364
- "operationId": "managementGetSharedAmazonSesLimitRequest",
12365
- "path": "/providers/shared-amazon-ses-limit-request",
12366
- "pathParams": [],
12537
+ "operationId": "managementGetInboxLog",
12538
+ "path": "/inboxes/logs/{public_id}",
12539
+ "pathParams": [
12540
+ {
12541
+ "name": "public_id",
12542
+ "required": true,
12543
+ "schema": {
12544
+ "type": "string"
12545
+ }
12546
+ }
12547
+ ],
12367
12548
  "queryParams": [],
12368
12549
  "responseKind": "json",
12369
12550
  "requestBodyRequired": false,
@@ -12375,13 +12556,13 @@
12375
12556
  "dist",
12376
12557
  "commands",
12377
12558
  "management",
12378
- "get-shared-amazon-ses-limit-request.js"
12559
+ "get-inbox-log.js"
12379
12560
  ]
12380
12561
  },
12381
- "management:get-spend-summary": {
12562
+ "management:get-mailbox-filters": {
12382
12563
  "aliases": [],
12383
12564
  "args": {},
12384
- "description": "Get spend summary",
12565
+ "description": "Get mailbox sender filters",
12385
12566
  "flags": {
12386
12567
  "json": {
12387
12568
  "description": "Format output as json.",
@@ -12501,7 +12682,7 @@
12501
12682
  },
12502
12683
  "hasDynamicHelp": false,
12503
12684
  "hiddenAliases": [],
12504
- "id": "management:get-spend-summary",
12685
+ "id": "management:get-mailbox-filters",
12505
12686
  "pluginAlias": "@sendmux/cli",
12506
12687
  "pluginName": "@sendmux/cli",
12507
12688
  "pluginType": "core",
@@ -12509,27 +12690,30 @@
12509
12690
  "enableJsonFlag": true,
12510
12691
  "operation": {
12511
12692
  "bodyKind": "none",
12512
- "command": "management:get-spend-summary",
12513
- "description": "Get spend summary",
12514
- "headerParams": [],
12515
- "method": "get",
12516
- "operationId": "managementGetSpendSummary",
12517
- "path": "/billing/summary",
12518
- "pathParams": [],
12519
- "queryParams": [
12693
+ "command": "management:get-mailbox-filters",
12694
+ "description": "Get mailbox sender filters",
12695
+ "headerParams": [
12520
12696
  {
12521
- "name": "days",
12697
+ "name": "If-None-Match",
12522
12698
  "required": false,
12523
12699
  "schema": {
12524
- "type": "string",
12525
- "enum": [
12526
- "7",
12527
- "30",
12528
- "90"
12529
- ]
12700
+ "type": "string"
12701
+ }
12702
+ }
12703
+ ],
12704
+ "method": "get",
12705
+ "operationId": "managementGetMailboxFilters",
12706
+ "path": "/mailboxes/{public_id}/filters",
12707
+ "pathParams": [
12708
+ {
12709
+ "name": "public_id",
12710
+ "required": true,
12711
+ "schema": {
12712
+ "type": "string"
12530
12713
  }
12531
12714
  }
12532
12715
  ],
12716
+ "queryParams": [],
12533
12717
  "responseKind": "json",
12534
12718
  "requestBodyRequired": false,
12535
12719
  "requiredKeyKind": "root",
@@ -12540,13 +12724,13 @@
12540
12724
  "dist",
12541
12725
  "commands",
12542
12726
  "management",
12543
- "get-spend-summary.js"
12727
+ "get-mailbox-filters.js"
12544
12728
  ]
12545
12729
  },
12546
- "management:get-webhook": {
12730
+ "management:get-mailbox": {
12547
12731
  "aliases": [],
12548
12732
  "args": {},
12549
- "description": "Get a webhook subscription",
12733
+ "description": "Get a mailbox",
12550
12734
  "flags": {
12551
12735
  "json": {
12552
12736
  "description": "Format output as json.",
@@ -12666,7 +12850,7 @@
12666
12850
  },
12667
12851
  "hasDynamicHelp": false,
12668
12852
  "hiddenAliases": [],
12669
- "id": "management:get-webhook",
12853
+ "id": "management:get-mailbox",
12670
12854
  "pluginAlias": "@sendmux/cli",
12671
12855
  "pluginName": "@sendmux/cli",
12672
12856
  "pluginType": "core",
@@ -12674,8 +12858,8 @@
12674
12858
  "enableJsonFlag": true,
12675
12859
  "operation": {
12676
12860
  "bodyKind": "none",
12677
- "command": "management:get-webhook",
12678
- "description": "Get a webhook subscription",
12861
+ "command": "management:get-mailbox",
12862
+ "description": "Get a mailbox",
12679
12863
  "headerParams": [
12680
12864
  {
12681
12865
  "name": "If-None-Match",
@@ -12686,8 +12870,8 @@
12686
12870
  }
12687
12871
  ],
12688
12872
  "method": "get",
12689
- "operationId": "managementGetWebhook",
12690
- "path": "/webhooks/{public_id}",
12873
+ "operationId": "managementGetMailbox",
12874
+ "path": "/mailboxes/{public_id}",
12691
12875
  "pathParams": [
12692
12876
  {
12693
12877
  "name": "public_id",
@@ -12708,13 +12892,13 @@
12708
12892
  "dist",
12709
12893
  "commands",
12710
12894
  "management",
12711
- "get-webhook.js"
12895
+ "get-mailbox.js"
12712
12896
  ]
12713
12897
  },
12714
- "management:list-balance": {
12898
+ "management:get-provider-limits": {
12715
12899
  "aliases": [],
12716
12900
  "args": {},
12717
- "description": "Get current balance",
12901
+ "description": "Get sending account limits",
12718
12902
  "flags": {
12719
12903
  "json": {
12720
12904
  "description": "Format output as json.",
@@ -12834,7 +13018,7 @@
12834
13018
  },
12835
13019
  "hasDynamicHelp": false,
12836
13020
  "hiddenAliases": [],
12837
- "id": "management:list-balance",
13021
+ "id": "management:get-provider-limits",
12838
13022
  "pluginAlias": "@sendmux/cli",
12839
13023
  "pluginName": "@sendmux/cli",
12840
13024
  "pluginType": "core",
@@ -12842,12 +13026,12 @@
12842
13026
  "enableJsonFlag": true,
12843
13027
  "operation": {
12844
13028
  "bodyKind": "none",
12845
- "command": "management:list-balance",
12846
- "description": "Get current balance",
13029
+ "command": "management:get-provider-limits",
13030
+ "description": "Get sending account limits",
12847
13031
  "headerParams": [],
12848
13032
  "method": "get",
12849
- "operationId": "managementListBalance",
12850
- "path": "/billing/balance",
13033
+ "operationId": "managementGetProviderLimits",
13034
+ "path": "/providers/limits",
12851
13035
  "pathParams": [],
12852
13036
  "queryParams": [],
12853
13037
  "responseKind": "json",
@@ -12860,13 +13044,13 @@
12860
13044
  "dist",
12861
13045
  "commands",
12862
13046
  "management",
12863
- "list-balance.js"
13047
+ "get-provider-limits.js"
12864
13048
  ]
12865
13049
  },
12866
- "management:list-delivery": {
13050
+ "management:get-provider-stats": {
12867
13051
  "aliases": [],
12868
13052
  "args": {},
12869
- "description": "List webhook delivery attempts",
13053
+ "description": "Get sending account statistics",
12870
13054
  "flags": {
12871
13055
  "json": {
12872
13056
  "description": "Format output as json.",
@@ -12986,7 +13170,7 @@
12986
13170
  },
12987
13171
  "hasDynamicHelp": false,
12988
13172
  "hiddenAliases": [],
12989
- "id": "management:list-delivery",
13173
+ "id": "management:get-provider-stats",
12990
13174
  "pluginAlias": "@sendmux/cli",
12991
13175
  "pluginName": "@sendmux/cli",
12992
13176
  "pluginType": "core",
@@ -12994,69 +13178,14 @@
12994
13178
  "enableJsonFlag": true,
12995
13179
  "operation": {
12996
13180
  "bodyKind": "none",
12997
- "command": "management:list-delivery",
12998
- "description": "List webhook delivery attempts",
13181
+ "command": "management:get-provider-stats",
13182
+ "description": "Get sending account statistics",
12999
13183
  "headerParams": [],
13000
13184
  "method": "get",
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
- ],
13185
+ "operationId": "managementGetProviderStats",
13186
+ "path": "/providers/stats",
13187
+ "pathParams": [],
13188
+ "queryParams": [],
13060
13189
  "responseKind": "json",
13061
13190
  "requestBodyRequired": false,
13062
13191
  "requiredKeyKind": "root",
@@ -13067,13 +13196,13 @@
13067
13196
  "dist",
13068
13197
  "commands",
13069
13198
  "management",
13070
- "list-delivery.js"
13199
+ "get-provider-stats.js"
13071
13200
  ]
13072
13201
  },
13073
- "management:list-email-logs": {
13202
+ "management:get-provider-usage": {
13074
13203
  "aliases": [],
13075
13204
  "args": {},
13076
- "description": "List delivery logs",
13205
+ "description": "Get sending account usage",
13077
13206
  "flags": {
13078
13207
  "json": {
13079
13208
  "description": "Format output as json.",
@@ -13193,7 +13322,7 @@
13193
13322
  },
13194
13323
  "hasDynamicHelp": false,
13195
13324
  "hiddenAliases": [],
13196
- "id": "management:list-email-logs",
13325
+ "id": "management:get-provider-usage",
13197
13326
  "pluginAlias": "@sendmux/cli",
13198
13327
  "pluginName": "@sendmux/cli",
13199
13328
  "pluginType": "core",
@@ -13201,72 +13330,14 @@
13201
13330
  "enableJsonFlag": true,
13202
13331
  "operation": {
13203
13332
  "bodyKind": "none",
13204
- "command": "management:list-email-logs",
13205
- "description": "List delivery logs",
13333
+ "command": "management:get-provider-usage",
13334
+ "description": "Get sending account usage",
13206
13335
  "headerParams": [],
13207
13336
  "method": "get",
13208
- "operationId": "managementListEmailLogs",
13209
- "path": "/emails/logs",
13337
+ "operationId": "managementGetProviderUsage",
13338
+ "path": "/providers/usage",
13210
13339
  "pathParams": [],
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
- ],
13340
+ "queryParams": [],
13270
13341
  "responseKind": "json",
13271
13342
  "requestBodyRequired": false,
13272
13343
  "requiredKeyKind": "root",
@@ -13277,13 +13348,13 @@
13277
13348
  "dist",
13278
13349
  "commands",
13279
13350
  "management",
13280
- "list-email-logs.js"
13351
+ "get-provider-usage.js"
13281
13352
  ]
13282
13353
  },
13283
- "management:list-inbox-logs": {
13354
+ "management:get-provider": {
13284
13355
  "aliases": [],
13285
13356
  "args": {},
13286
- "description": "List incoming logs",
13357
+ "description": "Get a sending account",
13287
13358
  "flags": {
13288
13359
  "json": {
13289
13360
  "description": "Format output as json.",
@@ -13403,7 +13474,7 @@
13403
13474
  },
13404
13475
  "hasDynamicHelp": false,
13405
13476
  "hiddenAliases": [],
13406
- "id": "management:list-inbox-logs",
13477
+ "id": "management:get-provider",
13407
13478
  "pluginAlias": "@sendmux/cli",
13408
13479
  "pluginName": "@sendmux/cli",
13409
13480
  "pluginType": "core",
@@ -13411,70 +13482,30 @@
13411
13482
  "enableJsonFlag": true,
13412
13483
  "operation": {
13413
13484
  "bodyKind": "none",
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": [
13422
- {
13423
- "name": "limit",
13424
- "required": false,
13425
- "schema": {
13426
- "type": "integer",
13427
- "minimum": 1,
13428
- "maximum": 100
13429
- }
13430
- },
13431
- {
13432
- "name": "cursor",
13433
- "required": false,
13434
- "schema": {
13435
- "type": "string"
13436
- }
13437
- },
13438
- {
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
- },
13485
+ "command": "management:get-provider",
13486
+ "description": "Get a sending account",
13487
+ "headerParams": [
13463
13488
  {
13464
- "name": "to_date",
13489
+ "name": "If-None-Match",
13465
13490
  "required": false,
13466
13491
  "schema": {
13467
13492
  "type": "string"
13468
13493
  }
13469
- },
13494
+ }
13495
+ ],
13496
+ "method": "get",
13497
+ "operationId": "managementGetProvider",
13498
+ "path": "/providers/{public_id}",
13499
+ "pathParams": [
13470
13500
  {
13471
- "name": "search",
13472
- "required": false,
13501
+ "name": "public_id",
13502
+ "required": true,
13473
13503
  "schema": {
13474
13504
  "type": "string"
13475
13505
  }
13476
13506
  }
13477
13507
  ],
13508
+ "queryParams": [],
13478
13509
  "responseKind": "json",
13479
13510
  "requestBodyRequired": false,
13480
13511
  "requiredKeyKind": "root",
@@ -13485,13 +13516,13 @@
13485
13516
  "dist",
13486
13517
  "commands",
13487
13518
  "management",
13488
- "list-inbox-logs.js"
13519
+ "get-provider.js"
13489
13520
  ]
13490
13521
  },
13491
- "management:list-transactions": {
13522
+ "management:get-shared-amazon-ses-limit-request": {
13492
13523
  "aliases": [],
13493
13524
  "args": {},
13494
- "description": "List transactions",
13525
+ "description": "Get shared Amazon SES limit request state",
13495
13526
  "flags": {
13496
13527
  "json": {
13497
13528
  "description": "Format output as json.",
@@ -13611,7 +13642,7 @@
13611
13642
  },
13612
13643
  "hasDynamicHelp": false,
13613
13644
  "hiddenAliases": [],
13614
- "id": "management:list-transactions",
13645
+ "id": "management:get-shared-amazon-ses-limit-request",
13615
13646
  "pluginAlias": "@sendmux/cli",
13616
13647
  "pluginName": "@sendmux/cli",
13617
13648
  "pluginType": "core",
@@ -13619,45 +13650,14 @@
13619
13650
  "enableJsonFlag": true,
13620
13651
  "operation": {
13621
13652
  "bodyKind": "none",
13622
- "command": "management:list-transactions",
13623
- "description": "List transactions",
13653
+ "command": "management:get-shared-amazon-ses-limit-request",
13654
+ "description": "Get shared Amazon SES limit request state",
13624
13655
  "headerParams": [],
13625
13656
  "method": "get",
13626
- "operationId": "managementListTransactions",
13627
- "path": "/billing/transactions",
13657
+ "operationId": "managementGetSharedAmazonSesLimitRequest",
13658
+ "path": "/providers/shared-amazon-ses-limit-request",
13628
13659
  "pathParams": [],
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
- ],
13660
+ "queryParams": [],
13661
13661
  "responseKind": "json",
13662
13662
  "requestBodyRequired": false,
13663
13663
  "requiredKeyKind": "root",
@@ -13668,13 +13668,13 @@
13668
13668
  "dist",
13669
13669
  "commands",
13670
13670
  "management",
13671
- "list-transactions.js"
13671
+ "get-shared-amazon-ses-limit-request.js"
13672
13672
  ]
13673
13673
  },
13674
- "management:list-webhooks": {
13674
+ "management:get-spend-summary": {
13675
13675
  "aliases": [],
13676
13676
  "args": {},
13677
- "description": "List webhook subscriptions",
13677
+ "description": "Get spend summary",
13678
13678
  "flags": {
13679
13679
  "json": {
13680
13680
  "description": "Format output as json.",
@@ -13794,7 +13794,7 @@
13794
13794
  },
13795
13795
  "hasDynamicHelp": false,
13796
13796
  "hiddenAliases": [],
13797
- "id": "management:list-webhooks",
13797
+ "id": "management:get-spend-summary",
13798
13798
  "pluginAlias": "@sendmux/cli",
13799
13799
  "pluginName": "@sendmux/cli",
13800
13800
  "pluginType": "core",
@@ -13802,28 +13802,24 @@
13802
13802
  "enableJsonFlag": true,
13803
13803
  "operation": {
13804
13804
  "bodyKind": "none",
13805
- "command": "management:list-webhooks",
13806
- "description": "List webhook subscriptions",
13805
+ "command": "management:get-spend-summary",
13806
+ "description": "Get spend summary",
13807
13807
  "headerParams": [],
13808
13808
  "method": "get",
13809
- "operationId": "managementListWebhooks",
13810
- "path": "/webhooks",
13809
+ "operationId": "managementGetSpendSummary",
13810
+ "path": "/billing/summary",
13811
13811
  "pathParams": [],
13812
13812
  "queryParams": [
13813
13813
  {
13814
- "name": "cursor",
13815
- "required": false,
13816
- "schema": {
13817
- "type": "string"
13818
- }
13819
- },
13820
- {
13821
- "name": "limit",
13814
+ "name": "days",
13822
13815
  "required": false,
13823
13816
  "schema": {
13824
- "type": "integer",
13825
- "minimum": 1,
13826
- "maximum": 100
13817
+ "type": "string",
13818
+ "enum": [
13819
+ "7",
13820
+ "30",
13821
+ "90"
13822
+ ]
13827
13823
  }
13828
13824
  }
13829
13825
  ],
@@ -13837,13 +13833,13 @@
13837
13833
  "dist",
13838
13834
  "commands",
13839
13835
  "management",
13840
- "list-webhooks.js"
13836
+ "get-spend-summary.js"
13841
13837
  ]
13842
13838
  },
13843
- "management:request-sending-account-limit-increase": {
13839
+ "management:get-webhook": {
13844
13840
  "aliases": [],
13845
13841
  "args": {},
13846
- "description": "Request a sending account limit increase",
13842
+ "description": "Get a webhook subscription",
13847
13843
  "flags": {
13848
13844
  "json": {
13849
13845
  "description": "Format output as json.",
@@ -13963,7 +13959,7 @@
13963
13959
  },
13964
13960
  "hasDynamicHelp": false,
13965
13961
  "hiddenAliases": [],
13966
- "id": "management:request-sending-account-limit-increase",
13962
+ "id": "management:get-webhook",
13967
13963
  "pluginAlias": "@sendmux/cli",
13968
13964
  "pluginName": "@sendmux/cli",
13969
13965
  "pluginType": "core",
@@ -13971,22 +13967,29 @@
13971
13967
  "enableJsonFlag": true,
13972
13968
  "operation": {
13973
13969
  "bodyKind": "none",
13974
- "command": "management:request-sending-account-limit-increase",
13975
- "description": "Request a sending account limit increase",
13970
+ "command": "management:get-webhook",
13971
+ "description": "Get a webhook subscription",
13976
13972
  "headerParams": [
13977
13973
  {
13978
- "name": "Idempotency-Key",
13974
+ "name": "If-None-Match",
13979
13975
  "required": false,
13980
13976
  "schema": {
13981
- "type": "string",
13982
- "maxLength": 255
13977
+ "type": "string"
13978
+ }
13979
+ }
13980
+ ],
13981
+ "method": "get",
13982
+ "operationId": "managementGetWebhook",
13983
+ "path": "/webhooks/{public_id}",
13984
+ "pathParams": [
13985
+ {
13986
+ "name": "public_id",
13987
+ "required": true,
13988
+ "schema": {
13989
+ "type": "string"
13983
13990
  }
13984
13991
  }
13985
13992
  ],
13986
- "method": "post",
13987
- "operationId": "managementRequestSendingAccountLimitIncrease",
13988
- "path": "/providers/limits/sending-accounts/request-increase",
13989
- "pathParams": [],
13990
13993
  "queryParams": [],
13991
13994
  "responseKind": "json",
13992
13995
  "requestBodyRequired": false,
@@ -13998,13 +14001,13 @@
13998
14001
  "dist",
13999
14002
  "commands",
14000
14003
  "management",
14001
- "request-sending-account-limit-increase.js"
14004
+ "get-webhook.js"
14002
14005
  ]
14003
14006
  },
14004
- "management:resume-mailbox": {
14007
+ "management:list-balance": {
14005
14008
  "aliases": [],
14006
14009
  "args": {},
14007
- "description": "Resume a mailbox",
14010
+ "description": "Get current balance",
14008
14011
  "flags": {
14009
14012
  "json": {
14010
14013
  "description": "Format output as json.",
@@ -14124,7 +14127,7 @@
14124
14127
  },
14125
14128
  "hasDynamicHelp": false,
14126
14129
  "hiddenAliases": [],
14127
- "id": "management:resume-mailbox",
14130
+ "id": "management:list-balance",
14128
14131
  "pluginAlias": "@sendmux/cli",
14129
14132
  "pluginName": "@sendmux/cli",
14130
14133
  "pluginType": "core",
@@ -14132,30 +14135,13 @@
14132
14135
  "enableJsonFlag": true,
14133
14136
  "operation": {
14134
14137
  "bodyKind": "none",
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
- ],
14138
+ "command": "management:list-balance",
14139
+ "description": "Get current balance",
14140
+ "headerParams": [],
14141
+ "method": "get",
14142
+ "operationId": "managementListBalance",
14143
+ "path": "/billing/balance",
14144
+ "pathParams": [],
14159
14145
  "queryParams": [],
14160
14146
  "responseKind": "json",
14161
14147
  "requestBodyRequired": false,
@@ -14167,13 +14153,13 @@
14167
14153
  "dist",
14168
14154
  "commands",
14169
14155
  "management",
14170
- "resume-mailbox.js"
14156
+ "list-balance.js"
14171
14157
  ]
14172
14158
  },
14173
- "management:rotate-webhook-secret": {
14159
+ "management:list-delivery": {
14174
14160
  "aliases": [],
14175
14161
  "args": {},
14176
- "description": "Rotate the signing secret",
14162
+ "description": "List webhook delivery attempts",
14177
14163
  "flags": {
14178
14164
  "json": {
14179
14165
  "description": "Format output as json.",
@@ -14293,7 +14279,7 @@
14293
14279
  },
14294
14280
  "hasDynamicHelp": false,
14295
14281
  "hiddenAliases": [],
14296
- "id": "management:rotate-webhook-secret",
14282
+ "id": "management:list-delivery",
14297
14283
  "pluginAlias": "@sendmux/cli",
14298
14284
  "pluginName": "@sendmux/cli",
14299
14285
  "pluginType": "core",
@@ -14301,31 +14287,69 @@
14301
14287
  "enableJsonFlag": true,
14302
14288
  "operation": {
14303
14289
  "bodyKind": "none",
14304
- "command": "management:rotate-webhook-secret",
14305
- "description": "Rotate the signing secret",
14306
- "headerParams": [
14290
+ "command": "management:list-delivery",
14291
+ "description": "List webhook delivery attempts",
14292
+ "headerParams": [],
14293
+ "method": "get",
14294
+ "operationId": "managementListDelivery",
14295
+ "path": "/webhooks/{public_id}/deliveries",
14296
+ "pathParams": [
14307
14297
  {
14308
- "name": "Idempotency-Key",
14309
- "required": false,
14298
+ "name": "public_id",
14299
+ "required": true,
14310
14300
  "schema": {
14311
- "type": "string",
14312
- "maxLength": 255
14301
+ "type": "string"
14313
14302
  }
14314
14303
  }
14315
14304
  ],
14316
- "method": "post",
14317
- "operationId": "managementRotateWebhookSecret",
14318
- "path": "/webhooks/{public_id}/rotate-secret",
14319
- "pathParams": [
14305
+ "queryParams": [
14320
14306
  {
14321
- "name": "public_id",
14322
- "required": true,
14307
+ "name": "cursor",
14308
+ "required": false,
14323
14309
  "schema": {
14324
14310
  "type": "string"
14325
14311
  }
14312
+ },
14313
+ {
14314
+ "name": "limit",
14315
+ "required": false,
14316
+ "schema": {
14317
+ "type": "integer",
14318
+ "minimum": 1,
14319
+ "maximum": 100
14320
+ }
14321
+ },
14322
+ {
14323
+ "name": "event_type",
14324
+ "required": false,
14325
+ "schema": {
14326
+ "type": "string",
14327
+ "enum": [
14328
+ "message.delivered",
14329
+ "message.bounced",
14330
+ "message.complained",
14331
+ "message.rejected",
14332
+ "message.delivery_delayed",
14333
+ "message.received",
14334
+ "message.received.spam",
14335
+ "sendmux.test"
14336
+ ]
14337
+ }
14338
+ },
14339
+ {
14340
+ "name": "result",
14341
+ "required": false,
14342
+ "schema": {
14343
+ "type": "string",
14344
+ "enum": [
14345
+ "success",
14346
+ "retrying",
14347
+ "failed",
14348
+ "permanent_failure"
14349
+ ]
14350
+ }
14326
14351
  }
14327
14352
  ],
14328
- "queryParams": [],
14329
14353
  "responseKind": "json",
14330
14354
  "requestBodyRequired": false,
14331
14355
  "requiredKeyKind": "root",
@@ -14336,13 +14360,13 @@
14336
14360
  "dist",
14337
14361
  "commands",
14338
14362
  "management",
14339
- "rotate-webhook-secret.js"
14363
+ "list-delivery.js"
14340
14364
  ]
14341
14365
  },
14342
- "management:set-domain-filters": {
14366
+ "management:list-email-logs": {
14343
14367
  "aliases": [],
14344
14368
  "args": {},
14345
- "description": "Replace domain-wide sender filters",
14369
+ "description": "List delivery logs",
14346
14370
  "flags": {
14347
14371
  "json": {
14348
14372
  "description": "Format output as json.",
@@ -14462,38 +14486,80 @@
14462
14486
  },
14463
14487
  "hasDynamicHelp": false,
14464
14488
  "hiddenAliases": [],
14465
- "id": "management:set-domain-filters",
14489
+ "id": "management:list-email-logs",
14466
14490
  "pluginAlias": "@sendmux/cli",
14467
14491
  "pluginName": "@sendmux/cli",
14468
14492
  "pluginType": "core",
14469
14493
  "strict": true,
14470
14494
  "enableJsonFlag": true,
14471
14495
  "operation": {
14472
- "bodyKind": "json",
14473
- "command": "management:set-domain-filters",
14474
- "description": "Replace domain-wide sender filters",
14475
- "headerParams": [
14496
+ "bodyKind": "none",
14497
+ "command": "management:list-email-logs",
14498
+ "description": "List delivery logs",
14499
+ "headerParams": [],
14500
+ "method": "get",
14501
+ "operationId": "managementListEmailLogs",
14502
+ "path": "/emails/logs",
14503
+ "pathParams": [],
14504
+ "queryParams": [
14505
+ {
14506
+ "name": "limit",
14507
+ "required": false,
14508
+ "schema": {
14509
+ "type": "integer",
14510
+ "minimum": 1,
14511
+ "maximum": 100
14512
+ }
14513
+ },
14476
14514
  {
14477
- "name": "If-Match",
14515
+ "name": "cursor",
14478
14516
  "required": false,
14479
14517
  "schema": {
14480
14518
  "type": "string"
14481
14519
  }
14482
- }
14483
- ],
14484
- "method": "put",
14485
- "operationId": "managementSetDomainFilters",
14486
- "path": "/domains/{public_id}/filters",
14487
- "pathParams": [
14520
+ },
14488
14521
  {
14489
- "name": "public_id",
14490
- "required": true,
14522
+ "name": "status",
14523
+ "required": false,
14524
+ "schema": {
14525
+ "type": "string",
14526
+ "enum": [
14527
+ "pending",
14528
+ "sent",
14529
+ "failed",
14530
+ "rejected"
14531
+ ]
14532
+ }
14533
+ },
14534
+ {
14535
+ "name": "from_date",
14536
+ "required": false,
14537
+ "schema": {
14538
+ "type": "string"
14539
+ }
14540
+ },
14541
+ {
14542
+ "name": "to_date",
14543
+ "required": false,
14544
+ "schema": {
14545
+ "type": "string"
14546
+ }
14547
+ },
14548
+ {
14549
+ "name": "provider_id",
14550
+ "required": false,
14551
+ "schema": {
14552
+ "type": "string"
14553
+ }
14554
+ },
14555
+ {
14556
+ "name": "search",
14557
+ "required": false,
14491
14558
  "schema": {
14492
14559
  "type": "string"
14493
14560
  }
14494
14561
  }
14495
14562
  ],
14496
- "queryParams": [],
14497
14563
  "responseKind": "json",
14498
14564
  "requestBodyRequired": false,
14499
14565
  "requiredKeyKind": "root",
@@ -14504,13 +14570,13 @@
14504
14570
  "dist",
14505
14571
  "commands",
14506
14572
  "management",
14507
- "set-domain-filters.js"
14573
+ "list-email-logs.js"
14508
14574
  ]
14509
14575
  },
14510
- "management:set-mailbox-filters": {
14576
+ "management:list-inbox-logs": {
14511
14577
  "aliases": [],
14512
14578
  "args": {},
14513
- "description": "Replace mailbox sender filters",
14579
+ "description": "List incoming logs",
14514
14580
  "flags": {
14515
14581
  "json": {
14516
14582
  "description": "Format output as json.",
@@ -14630,38 +14696,78 @@
14630
14696
  },
14631
14697
  "hasDynamicHelp": false,
14632
14698
  "hiddenAliases": [],
14633
- "id": "management:set-mailbox-filters",
14699
+ "id": "management:list-inbox-logs",
14634
14700
  "pluginAlias": "@sendmux/cli",
14635
14701
  "pluginName": "@sendmux/cli",
14636
14702
  "pluginType": "core",
14637
14703
  "strict": true,
14638
14704
  "enableJsonFlag": true,
14639
14705
  "operation": {
14640
- "bodyKind": "json",
14641
- "command": "management:set-mailbox-filters",
14642
- "description": "Replace mailbox sender filters",
14643
- "headerParams": [
14706
+ "bodyKind": "none",
14707
+ "command": "management:list-inbox-logs",
14708
+ "description": "List incoming logs",
14709
+ "headerParams": [],
14710
+ "method": "get",
14711
+ "operationId": "managementListInboxLogs",
14712
+ "path": "/inboxes/logs",
14713
+ "pathParams": [],
14714
+ "queryParams": [
14644
14715
  {
14645
- "name": "If-Match",
14716
+ "name": "limit",
14717
+ "required": false,
14718
+ "schema": {
14719
+ "type": "integer",
14720
+ "minimum": 1,
14721
+ "maximum": 100
14722
+ }
14723
+ },
14724
+ {
14725
+ "name": "cursor",
14646
14726
  "required": false,
14647
14727
  "schema": {
14648
14728
  "type": "string"
14649
14729
  }
14650
- }
14651
- ],
14652
- "method": "put",
14653
- "operationId": "managementSetMailboxFilters",
14654
- "path": "/mailboxes/{public_id}/filters",
14655
- "pathParams": [
14730
+ },
14656
14731
  {
14657
- "name": "public_id",
14658
- "required": true,
14732
+ "name": "mailbox_id",
14733
+ "required": false,
14734
+ "schema": {
14735
+ "type": "string"
14736
+ }
14737
+ },
14738
+ {
14739
+ "name": "event_type",
14740
+ "required": false,
14741
+ "schema": {
14742
+ "type": "string",
14743
+ "enum": [
14744
+ "message.received",
14745
+ "message.received.spam"
14746
+ ]
14747
+ }
14748
+ },
14749
+ {
14750
+ "name": "from_date",
14751
+ "required": false,
14752
+ "schema": {
14753
+ "type": "string"
14754
+ }
14755
+ },
14756
+ {
14757
+ "name": "to_date",
14758
+ "required": false,
14759
+ "schema": {
14760
+ "type": "string"
14761
+ }
14762
+ },
14763
+ {
14764
+ "name": "search",
14765
+ "required": false,
14659
14766
  "schema": {
14660
14767
  "type": "string"
14661
14768
  }
14662
14769
  }
14663
14770
  ],
14664
- "queryParams": [],
14665
14771
  "responseKind": "json",
14666
14772
  "requestBodyRequired": false,
14667
14773
  "requiredKeyKind": "root",
@@ -14672,13 +14778,13 @@
14672
14778
  "dist",
14673
14779
  "commands",
14674
14780
  "management",
14675
- "set-mailbox-filters.js"
14781
+ "list-inbox-logs.js"
14676
14782
  ]
14677
14783
  },
14678
- "management:suspend-mailbox": {
14784
+ "management:list-transactions": {
14679
14785
  "aliases": [],
14680
14786
  "args": {},
14681
- "description": "Suspend a mailbox",
14787
+ "description": "List transactions",
14682
14788
  "flags": {
14683
14789
  "json": {
14684
14790
  "description": "Format output as json.",
@@ -14798,7 +14904,7 @@
14798
14904
  },
14799
14905
  "hasDynamicHelp": false,
14800
14906
  "hiddenAliases": [],
14801
- "id": "management:suspend-mailbox",
14907
+ "id": "management:list-transactions",
14802
14908
  "pluginAlias": "@sendmux/cli",
14803
14909
  "pluginName": "@sendmux/cli",
14804
14910
  "pluginType": "core",
@@ -14806,31 +14912,45 @@
14806
14912
  "enableJsonFlag": true,
14807
14913
  "operation": {
14808
14914
  "bodyKind": "none",
14809
- "command": "management:suspend-mailbox",
14810
- "description": "Suspend a mailbox",
14811
- "headerParams": [
14915
+ "command": "management:list-transactions",
14916
+ "description": "List transactions",
14917
+ "headerParams": [],
14918
+ "method": "get",
14919
+ "operationId": "managementListTransactions",
14920
+ "path": "/billing/transactions",
14921
+ "pathParams": [],
14922
+ "queryParams": [
14812
14923
  {
14813
- "name": "Idempotency-Key",
14924
+ "name": "cursor",
14814
14925
  "required": false,
14815
14926
  "schema": {
14816
- "type": "string",
14817
- "maxLength": 255
14927
+ "type": "string"
14818
14928
  }
14819
- }
14820
- ],
14821
- "method": "post",
14822
- "operationId": "managementSuspendMailbox",
14823
- "path": "/mailboxes/{public_id}/suspend",
14824
- "pathParams": [
14929
+ },
14825
14930
  {
14826
- "name": "public_id",
14827
- "required": true,
14931
+ "name": "limit",
14932
+ "required": false,
14828
14933
  "schema": {
14829
- "type": "string"
14934
+ "type": "integer",
14935
+ "minimum": 1,
14936
+ "maximum": 100
14937
+ }
14938
+ },
14939
+ {
14940
+ "name": "type",
14941
+ "required": false,
14942
+ "schema": {
14943
+ "type": "string",
14944
+ "enum": [
14945
+ "PURCHASE",
14946
+ "USAGE",
14947
+ "AUTO_TOPUP",
14948
+ "REFUND",
14949
+ "ADJUSTMENT"
14950
+ ]
14830
14951
  }
14831
14952
  }
14832
14953
  ],
14833
- "queryParams": [],
14834
14954
  "responseKind": "json",
14835
14955
  "requestBodyRequired": false,
14836
14956
  "requiredKeyKind": "root",
@@ -14841,13 +14961,13 @@
14841
14961
  "dist",
14842
14962
  "commands",
14843
14963
  "management",
14844
- "suspend-mailbox.js"
14964
+ "list-transactions.js"
14845
14965
  ]
14846
14966
  },
14847
- "management:test-provider": {
14967
+ "management:list-webhooks": {
14848
14968
  "aliases": [],
14849
14969
  "args": {},
14850
- "description": "Test an SMTP sending account",
14970
+ "description": "List webhook subscriptions",
14851
14971
  "flags": {
14852
14972
  "json": {
14853
14973
  "description": "Format output as json.",
@@ -14967,7 +15087,7 @@
14967
15087
  },
14968
15088
  "hasDynamicHelp": false,
14969
15089
  "hiddenAliases": [],
14970
- "id": "management:test-provider",
15090
+ "id": "management:list-webhooks",
14971
15091
  "pluginAlias": "@sendmux/cli",
14972
15092
  "pluginName": "@sendmux/cli",
14973
15093
  "pluginType": "core",
@@ -14975,31 +15095,31 @@
14975
15095
  "enableJsonFlag": true,
14976
15096
  "operation": {
14977
15097
  "bodyKind": "none",
14978
- "command": "management:test-provider",
14979
- "description": "Test an SMTP sending account",
14980
- "headerParams": [
15098
+ "command": "management:list-webhooks",
15099
+ "description": "List webhook subscriptions",
15100
+ "headerParams": [],
15101
+ "method": "get",
15102
+ "operationId": "managementListWebhooks",
15103
+ "path": "/webhooks",
15104
+ "pathParams": [],
15105
+ "queryParams": [
14981
15106
  {
14982
- "name": "Idempotency-Key",
15107
+ "name": "cursor",
14983
15108
  "required": false,
14984
15109
  "schema": {
14985
- "type": "string",
14986
- "maxLength": 255
15110
+ "type": "string"
14987
15111
  }
14988
- }
14989
- ],
14990
- "method": "post",
14991
- "operationId": "managementTestProvider",
14992
- "path": "/providers/{public_id}/test",
14993
- "pathParams": [
15112
+ },
14994
15113
  {
14995
- "name": "public_id",
14996
- "required": true,
15114
+ "name": "limit",
15115
+ "required": false,
14997
15116
  "schema": {
14998
- "type": "string"
15117
+ "type": "integer",
15118
+ "minimum": 1,
15119
+ "maximum": 100
14999
15120
  }
15000
15121
  }
15001
15122
  ],
15002
- "queryParams": [],
15003
15123
  "responseKind": "json",
15004
15124
  "requestBodyRequired": false,
15005
15125
  "requiredKeyKind": "root",
@@ -15010,13 +15130,13 @@
15010
15130
  "dist",
15011
15131
  "commands",
15012
15132
  "management",
15013
- "test-provider.js"
15133
+ "list-webhooks.js"
15014
15134
  ]
15015
15135
  },
15016
- "management:test-webhook": {
15136
+ "management:request-sending-account-limit-increase": {
15017
15137
  "aliases": [],
15018
15138
  "args": {},
15019
- "description": "Send a synthetic test event",
15139
+ "description": "Request a sending account limit increase",
15020
15140
  "flags": {
15021
15141
  "json": {
15022
15142
  "description": "Format output as json.",
@@ -15136,7 +15256,7 @@
15136
15256
  },
15137
15257
  "hasDynamicHelp": false,
15138
15258
  "hiddenAliases": [],
15139
- "id": "management:test-webhook",
15259
+ "id": "management:request-sending-account-limit-increase",
15140
15260
  "pluginAlias": "@sendmux/cli",
15141
15261
  "pluginName": "@sendmux/cli",
15142
15262
  "pluginType": "core",
@@ -15144,8 +15264,8 @@
15144
15264
  "enableJsonFlag": true,
15145
15265
  "operation": {
15146
15266
  "bodyKind": "none",
15147
- "command": "management:test-webhook",
15148
- "description": "Send a synthetic test event",
15267
+ "command": "management:request-sending-account-limit-increase",
15268
+ "description": "Request a sending account limit increase",
15149
15269
  "headerParams": [
15150
15270
  {
15151
15271
  "name": "Idempotency-Key",
@@ -15157,17 +15277,9 @@
15157
15277
  }
15158
15278
  ],
15159
15279
  "method": "post",
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
- ],
15280
+ "operationId": "managementRequestSendingAccountLimitIncrease",
15281
+ "path": "/providers/limits/sending-accounts/request-increase",
15282
+ "pathParams": [],
15171
15283
  "queryParams": [],
15172
15284
  "responseKind": "json",
15173
15285
  "requestBodyRequired": false,
@@ -15179,13 +15291,13 @@
15179
15291
  "dist",
15180
15292
  "commands",
15181
15293
  "management",
15182
- "test-webhook.js"
15294
+ "request-sending-account-limit-increase.js"
15183
15295
  ]
15184
15296
  },
15185
- "management:update-domain": {
15297
+ "management:resume-mailbox": {
15186
15298
  "aliases": [],
15187
15299
  "args": {},
15188
- "description": "Update a mailbox domain",
15300
+ "description": "Resume a mailbox",
15189
15301
  "flags": {
15190
15302
  "json": {
15191
15303
  "description": "Format output as json.",
@@ -15305,28 +15417,29 @@
15305
15417
  },
15306
15418
  "hasDynamicHelp": false,
15307
15419
  "hiddenAliases": [],
15308
- "id": "management:update-domain",
15420
+ "id": "management:resume-mailbox",
15309
15421
  "pluginAlias": "@sendmux/cli",
15310
15422
  "pluginName": "@sendmux/cli",
15311
15423
  "pluginType": "core",
15312
15424
  "strict": true,
15313
15425
  "enableJsonFlag": true,
15314
15426
  "operation": {
15315
- "bodyKind": "json",
15316
- "command": "management:update-domain",
15317
- "description": "Update a mailbox domain",
15427
+ "bodyKind": "none",
15428
+ "command": "management:resume-mailbox",
15429
+ "description": "Resume a mailbox",
15318
15430
  "headerParams": [
15319
15431
  {
15320
- "name": "If-Match",
15432
+ "name": "Idempotency-Key",
15321
15433
  "required": false,
15322
15434
  "schema": {
15323
- "type": "string"
15435
+ "type": "string",
15436
+ "maxLength": 255
15324
15437
  }
15325
15438
  }
15326
15439
  ],
15327
- "method": "patch",
15328
- "operationId": "managementUpdateDomain",
15329
- "path": "/domains/{public_id}",
15440
+ "method": "post",
15441
+ "operationId": "managementResumeMailbox",
15442
+ "path": "/mailboxes/{public_id}/resume",
15330
15443
  "pathParams": [
15331
15444
  {
15332
15445
  "name": "public_id",
@@ -15347,13 +15460,13 @@
15347
15460
  "dist",
15348
15461
  "commands",
15349
15462
  "management",
15350
- "update-domain.js"
15463
+ "resume-mailbox.js"
15351
15464
  ]
15352
15465
  },
15353
- "management:update-mailbox": {
15466
+ "management:rotate-webhook-secret": {
15354
15467
  "aliases": [],
15355
15468
  "args": {},
15356
- "description": "Update a mailbox",
15469
+ "description": "Rotate the signing secret",
15357
15470
  "flags": {
15358
15471
  "json": {
15359
15472
  "description": "Format output as json.",
@@ -15473,28 +15586,29 @@
15473
15586
  },
15474
15587
  "hasDynamicHelp": false,
15475
15588
  "hiddenAliases": [],
15476
- "id": "management:update-mailbox",
15589
+ "id": "management:rotate-webhook-secret",
15477
15590
  "pluginAlias": "@sendmux/cli",
15478
15591
  "pluginName": "@sendmux/cli",
15479
15592
  "pluginType": "core",
15480
15593
  "strict": true,
15481
15594
  "enableJsonFlag": true,
15482
15595
  "operation": {
15483
- "bodyKind": "json",
15484
- "command": "management:update-mailbox",
15485
- "description": "Update a mailbox",
15596
+ "bodyKind": "none",
15597
+ "command": "management:rotate-webhook-secret",
15598
+ "description": "Rotate the signing secret",
15486
15599
  "headerParams": [
15487
15600
  {
15488
- "name": "If-Match",
15601
+ "name": "Idempotency-Key",
15489
15602
  "required": false,
15490
15603
  "schema": {
15491
- "type": "string"
15604
+ "type": "string",
15605
+ "maxLength": 255
15492
15606
  }
15493
15607
  }
15494
15608
  ],
15495
- "method": "patch",
15496
- "operationId": "managementUpdateMailbox",
15497
- "path": "/mailboxes/{public_id}",
15609
+ "method": "post",
15610
+ "operationId": "managementRotateWebhookSecret",
15611
+ "path": "/webhooks/{public_id}/rotate-secret",
15498
15612
  "pathParams": [
15499
15613
  {
15500
15614
  "name": "public_id",
@@ -15515,13 +15629,13 @@
15515
15629
  "dist",
15516
15630
  "commands",
15517
15631
  "management",
15518
- "update-mailbox.js"
15632
+ "rotate-webhook-secret.js"
15519
15633
  ]
15520
15634
  },
15521
- "management:update-provider": {
15635
+ "management:set-domain-filters": {
15522
15636
  "aliases": [],
15523
15637
  "args": {},
15524
- "description": "Update a sending account",
15638
+ "description": "Replace domain-wide sender filters",
15525
15639
  "flags": {
15526
15640
  "json": {
15527
15641
  "description": "Format output as json.",
@@ -15641,7 +15755,7 @@
15641
15755
  },
15642
15756
  "hasDynamicHelp": false,
15643
15757
  "hiddenAliases": [],
15644
- "id": "management:update-provider",
15758
+ "id": "management:set-domain-filters",
15645
15759
  "pluginAlias": "@sendmux/cli",
15646
15760
  "pluginName": "@sendmux/cli",
15647
15761
  "pluginType": "core",
@@ -15649,8 +15763,8 @@
15649
15763
  "enableJsonFlag": true,
15650
15764
  "operation": {
15651
15765
  "bodyKind": "json",
15652
- "command": "management:update-provider",
15653
- "description": "Update a sending account",
15766
+ "command": "management:set-domain-filters",
15767
+ "description": "Replace domain-wide sender filters",
15654
15768
  "headerParams": [
15655
15769
  {
15656
15770
  "name": "If-Match",
@@ -15660,9 +15774,9 @@
15660
15774
  }
15661
15775
  }
15662
15776
  ],
15663
- "method": "patch",
15664
- "operationId": "managementUpdateProvider",
15665
- "path": "/providers/{public_id}",
15777
+ "method": "put",
15778
+ "operationId": "managementSetDomainFilters",
15779
+ "path": "/domains/{public_id}/filters",
15666
15780
  "pathParams": [
15667
15781
  {
15668
15782
  "name": "public_id",
@@ -15683,13 +15797,13 @@
15683
15797
  "dist",
15684
15798
  "commands",
15685
15799
  "management",
15686
- "update-provider.js"
15800
+ "set-domain-filters.js"
15687
15801
  ]
15688
15802
  },
15689
- "management:update-webhook": {
15803
+ "management:set-mailbox-filters": {
15690
15804
  "aliases": [],
15691
15805
  "args": {},
15692
- "description": "Update a webhook subscription",
15806
+ "description": "Replace mailbox sender filters",
15693
15807
  "flags": {
15694
15808
  "json": {
15695
15809
  "description": "Format output as json.",
@@ -15809,7 +15923,7 @@
15809
15923
  },
15810
15924
  "hasDynamicHelp": false,
15811
15925
  "hiddenAliases": [],
15812
- "id": "management:update-webhook",
15926
+ "id": "management:set-mailbox-filters",
15813
15927
  "pluginAlias": "@sendmux/cli",
15814
15928
  "pluginName": "@sendmux/cli",
15815
15929
  "pluginType": "core",
@@ -15817,8 +15931,8 @@
15817
15931
  "enableJsonFlag": true,
15818
15932
  "operation": {
15819
15933
  "bodyKind": "json",
15820
- "command": "management:update-webhook",
15821
- "description": "Update a webhook subscription",
15934
+ "command": "management:set-mailbox-filters",
15935
+ "description": "Replace mailbox sender filters",
15822
15936
  "headerParams": [
15823
15937
  {
15824
15938
  "name": "If-Match",
@@ -15828,9 +15942,9 @@
15828
15942
  }
15829
15943
  }
15830
15944
  ],
15831
- "method": "patch",
15832
- "operationId": "managementUpdateWebhook",
15833
- "path": "/webhooks/{public_id}",
15945
+ "method": "put",
15946
+ "operationId": "managementSetMailboxFilters",
15947
+ "path": "/mailboxes/{public_id}/filters",
15834
15948
  "pathParams": [
15835
15949
  {
15836
15950
  "name": "public_id",
@@ -15851,13 +15965,13 @@
15851
15965
  "dist",
15852
15966
  "commands",
15853
15967
  "management",
15854
- "update-webhook.js"
15968
+ "set-mailbox-filters.js"
15855
15969
  ]
15856
15970
  },
15857
- "management:verify-domain": {
15971
+ "management:suspend-mailbox": {
15858
15972
  "aliases": [],
15859
15973
  "args": {},
15860
- "description": "Verify a mailbox domain",
15974
+ "description": "Suspend a mailbox",
15861
15975
  "flags": {
15862
15976
  "json": {
15863
15977
  "description": "Format output as json.",
@@ -15977,7 +16091,7 @@
15977
16091
  },
15978
16092
  "hasDynamicHelp": false,
15979
16093
  "hiddenAliases": [],
15980
- "id": "management:verify-domain",
16094
+ "id": "management:suspend-mailbox",
15981
16095
  "pluginAlias": "@sendmux/cli",
15982
16096
  "pluginName": "@sendmux/cli",
15983
16097
  "pluginType": "core",
@@ -15985,12 +16099,21 @@
15985
16099
  "enableJsonFlag": true,
15986
16100
  "operation": {
15987
16101
  "bodyKind": "none",
15988
- "command": "management:verify-domain",
15989
- "description": "Verify a mailbox domain",
15990
- "headerParams": [],
16102
+ "command": "management:suspend-mailbox",
16103
+ "description": "Suspend a mailbox",
16104
+ "headerParams": [
16105
+ {
16106
+ "name": "Idempotency-Key",
16107
+ "required": false,
16108
+ "schema": {
16109
+ "type": "string",
16110
+ "maxLength": 255
16111
+ }
16112
+ }
16113
+ ],
15991
16114
  "method": "post",
15992
- "operationId": "managementVerifyDomain",
15993
- "path": "/domains/{public_id}/verify",
16115
+ "operationId": "managementSuspendMailbox",
16116
+ "path": "/mailboxes/{public_id}/suspend",
15994
16117
  "pathParams": [
15995
16118
  {
15996
16119
  "name": "public_id",
@@ -16011,139 +16134,13 @@
16011
16134
  "dist",
16012
16135
  "commands",
16013
16136
  "management",
16014
- "verify-domain.js"
16015
- ]
16016
- },
16017
- "profiles:list": {
16018
- "aliases": [],
16019
- "args": {},
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"
16137
+ "suspend-mailbox.js"
16141
16138
  ]
16142
16139
  },
16143
- "sending:complete-attachment-upload": {
16140
+ "management:test-provider": {
16144
16141
  "aliases": [],
16145
16142
  "args": {},
16146
- "description": "Upload bytes to an attachment upload URL",
16143
+ "description": "Test an SMTP sending account",
16147
16144
  "flags": {
16148
16145
  "json": {
16149
16146
  "description": "Format output as json.",
@@ -16263,64 +16260,56 @@
16263
16260
  },
16264
16261
  "hasDynamicHelp": false,
16265
16262
  "hiddenAliases": [],
16266
- "id": "sending:complete-attachment-upload",
16263
+ "id": "management:test-provider",
16267
16264
  "pluginAlias": "@sendmux/cli",
16268
16265
  "pluginName": "@sendmux/cli",
16269
16266
  "pluginType": "core",
16270
16267
  "strict": true,
16271
16268
  "enableJsonFlag": true,
16272
16269
  "operation": {
16273
- "bodyKind": "binary",
16274
- "command": "sending:complete-attachment-upload",
16275
- "description": "Upload bytes to an attachment upload URL",
16270
+ "bodyKind": "none",
16271
+ "command": "management:test-provider",
16272
+ "description": "Test an SMTP sending account",
16276
16273
  "headerParams": [
16277
16274
  {
16278
- "name": "X-Sendmux-Upload-Token",
16279
- "required": true,
16280
- "schema": {
16281
- "type": "string"
16282
- }
16283
- },
16284
- {
16285
- "name": "Content-Length",
16286
- "required": true,
16275
+ "name": "Idempotency-Key",
16276
+ "required": false,
16287
16277
  "schema": {
16288
- "type": "integer",
16289
- "minimum": 1
16278
+ "type": "string",
16279
+ "maxLength": 255
16290
16280
  }
16291
16281
  }
16292
16282
  ],
16293
- "method": "put",
16294
- "operationId": "sendingCompleteAttachmentUpload",
16295
- "path": "/emails/attachment-uploads/{upload_id}",
16283
+ "method": "post",
16284
+ "operationId": "managementTestProvider",
16285
+ "path": "/providers/{public_id}/test",
16296
16286
  "pathParams": [
16297
16287
  {
16298
- "name": "upload_id",
16288
+ "name": "public_id",
16299
16289
  "required": true,
16300
16290
  "schema": {
16301
- "type": "string",
16302
- "pattern": "^upl_[a-z0-9]{24}$"
16291
+ "type": "string"
16303
16292
  }
16304
16293
  }
16305
16294
  ],
16306
16295
  "queryParams": [],
16307
16296
  "responseKind": "json",
16308
- "requestBodyRequired": true,
16309
- "requiredKeyKind": "none",
16310
- "surface": "sending"
16297
+ "requestBodyRequired": false,
16298
+ "requiredKeyKind": "root",
16299
+ "surface": "management"
16311
16300
  },
16312
16301
  "isESM": true,
16313
16302
  "relativePath": [
16314
16303
  "dist",
16315
16304
  "commands",
16316
- "sending",
16317
- "complete-attachment-upload.js"
16305
+ "management",
16306
+ "test-provider.js"
16318
16307
  ]
16319
16308
  },
16320
- "sending:create-attachment-upload": {
16309
+ "management:test-webhook": {
16321
16310
  "aliases": [],
16322
16311
  "args": {},
16323
- "description": "Create an attachment upload URL",
16312
+ "description": "Send a synthetic test event",
16324
16313
  "flags": {
16325
16314
  "json": {
16326
16315
  "description": "Format output as json.",
@@ -16440,16 +16429,16 @@
16440
16429
  },
16441
16430
  "hasDynamicHelp": false,
16442
16431
  "hiddenAliases": [],
16443
- "id": "sending:create-attachment-upload",
16432
+ "id": "management:test-webhook",
16444
16433
  "pluginAlias": "@sendmux/cli",
16445
16434
  "pluginName": "@sendmux/cli",
16446
16435
  "pluginType": "core",
16447
16436
  "strict": true,
16448
16437
  "enableJsonFlag": true,
16449
16438
  "operation": {
16450
- "bodyKind": "json",
16451
- "command": "sending:create-attachment-upload",
16452
- "description": "Create an attachment upload URL",
16439
+ "bodyKind": "none",
16440
+ "command": "management:test-webhook",
16441
+ "description": "Send a synthetic test event",
16453
16442
  "headerParams": [
16454
16443
  {
16455
16444
  "name": "Idempotency-Key",
@@ -16461,27 +16450,35 @@
16461
16450
  }
16462
16451
  ],
16463
16452
  "method": "post",
16464
- "operationId": "sendingCreateAttachmentUpload",
16465
- "path": "/emails/attachment-uploads",
16466
- "pathParams": [],
16453
+ "operationId": "managementTestWebhook",
16454
+ "path": "/webhooks/{public_id}/test",
16455
+ "pathParams": [
16456
+ {
16457
+ "name": "public_id",
16458
+ "required": true,
16459
+ "schema": {
16460
+ "type": "string"
16461
+ }
16462
+ }
16463
+ ],
16467
16464
  "queryParams": [],
16468
16465
  "responseKind": "json",
16469
- "requestBodyRequired": true,
16470
- "requiredKeyKind": "sending",
16471
- "surface": "sending"
16466
+ "requestBodyRequired": false,
16467
+ "requiredKeyKind": "root",
16468
+ "surface": "management"
16472
16469
  },
16473
16470
  "isESM": true,
16474
16471
  "relativePath": [
16475
16472
  "dist",
16476
16473
  "commands",
16477
- "sending",
16478
- "create-attachment-upload.js"
16474
+ "management",
16475
+ "test-webhook.js"
16479
16476
  ]
16480
16477
  },
16481
- "sending:get-attachment": {
16478
+ "management:update-domain": {
16482
16479
  "aliases": [],
16483
16480
  "args": {},
16484
- "description": "Get attachment metadata",
16481
+ "description": "Update a mailbox domain",
16485
16482
  "flags": {
16486
16483
  "json": {
16487
16484
  "description": "Format output as json.",
@@ -16601,48 +16598,55 @@
16601
16598
  },
16602
16599
  "hasDynamicHelp": false,
16603
16600
  "hiddenAliases": [],
16604
- "id": "sending:get-attachment",
16601
+ "id": "management:update-domain",
16605
16602
  "pluginAlias": "@sendmux/cli",
16606
16603
  "pluginName": "@sendmux/cli",
16607
16604
  "pluginType": "core",
16608
16605
  "strict": true,
16609
16606
  "enableJsonFlag": true,
16610
16607
  "operation": {
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}",
16608
+ "bodyKind": "json",
16609
+ "command": "management:update-domain",
16610
+ "description": "Update a mailbox domain",
16611
+ "headerParams": [
16612
+ {
16613
+ "name": "If-Match",
16614
+ "required": false,
16615
+ "schema": {
16616
+ "type": "string"
16617
+ }
16618
+ }
16619
+ ],
16620
+ "method": "patch",
16621
+ "operationId": "managementUpdateDomain",
16622
+ "path": "/domains/{public_id}",
16618
16623
  "pathParams": [
16619
16624
  {
16620
- "name": "attachment_id",
16625
+ "name": "public_id",
16621
16626
  "required": true,
16622
16627
  "schema": {
16623
- "type": "string",
16624
- "pattern": "^att_[a-z0-9]{24}$"
16628
+ "type": "string"
16625
16629
  }
16626
16630
  }
16627
16631
  ],
16628
16632
  "queryParams": [],
16629
16633
  "responseKind": "json",
16630
16634
  "requestBodyRequired": false,
16631
- "requiredKeyKind": "sending",
16632
- "surface": "sending"
16635
+ "requiredKeyKind": "root",
16636
+ "surface": "management"
16633
16637
  },
16634
16638
  "isESM": true,
16635
16639
  "relativePath": [
16636
16640
  "dist",
16637
16641
  "commands",
16638
- "sending",
16639
- "get-attachment.js"
16642
+ "management",
16643
+ "update-domain.js"
16640
16644
  ]
16641
16645
  },
16642
- "sending:get-connection": {
16646
+ "management:update-mailbox": {
16643
16647
  "aliases": [],
16644
16648
  "args": {},
16645
- "description": "Get Sending connection",
16649
+ "description": "Update a mailbox",
16646
16650
  "flags": {
16647
16651
  "json": {
16648
16652
  "description": "Format output as json.",
@@ -16762,47 +16766,55 @@
16762
16766
  },
16763
16767
  "hasDynamicHelp": false,
16764
16768
  "hiddenAliases": [],
16765
- "id": "sending:get-connection",
16769
+ "id": "management:update-mailbox",
16766
16770
  "pluginAlias": "@sendmux/cli",
16767
16771
  "pluginName": "@sendmux/cli",
16768
16772
  "pluginType": "core",
16769
16773
  "strict": true,
16770
16774
  "enableJsonFlag": true,
16771
16775
  "operation": {
16772
- "bodyKind": "none",
16773
- "command": "sending:get-connection",
16774
- "description": "Get Sending connection",
16776
+ "bodyKind": "json",
16777
+ "command": "management:update-mailbox",
16778
+ "description": "Update a mailbox",
16775
16779
  "headerParams": [
16776
16780
  {
16777
- "name": "If-None-Match",
16781
+ "name": "If-Match",
16778
16782
  "required": false,
16779
16783
  "schema": {
16780
16784
  "type": "string"
16781
16785
  }
16782
16786
  }
16783
16787
  ],
16784
- "method": "get",
16785
- "operationId": "sendingGetConnection",
16786
- "path": "/me",
16787
- "pathParams": [],
16788
+ "method": "patch",
16789
+ "operationId": "managementUpdateMailbox",
16790
+ "path": "/mailboxes/{public_id}",
16791
+ "pathParams": [
16792
+ {
16793
+ "name": "public_id",
16794
+ "required": true,
16795
+ "schema": {
16796
+ "type": "string"
16797
+ }
16798
+ }
16799
+ ],
16788
16800
  "queryParams": [],
16789
16801
  "responseKind": "json",
16790
16802
  "requestBodyRequired": false,
16791
- "requiredKeyKind": "sending",
16792
- "surface": "sending"
16803
+ "requiredKeyKind": "root",
16804
+ "surface": "management"
16793
16805
  },
16794
16806
  "isESM": true,
16795
16807
  "relativePath": [
16796
16808
  "dist",
16797
16809
  "commands",
16798
- "sending",
16799
- "get-connection.js"
16810
+ "management",
16811
+ "update-mailbox.js"
16800
16812
  ]
16801
16813
  },
16802
- "sending:get-open-api-spec": {
16814
+ "management:update-provider": {
16803
16815
  "aliases": [],
16804
16816
  "args": {},
16805
- "description": "OpenAPI 3.1 specification",
16817
+ "description": "Update a sending account",
16806
16818
  "flags": {
16807
16819
  "json": {
16808
16820
  "description": "Format output as json.",
@@ -16922,47 +16934,55 @@
16922
16934
  },
16923
16935
  "hasDynamicHelp": false,
16924
16936
  "hiddenAliases": [],
16925
- "id": "sending:get-open-api-spec",
16937
+ "id": "management:update-provider",
16926
16938
  "pluginAlias": "@sendmux/cli",
16927
16939
  "pluginName": "@sendmux/cli",
16928
16940
  "pluginType": "core",
16929
16941
  "strict": true,
16930
16942
  "enableJsonFlag": true,
16931
16943
  "operation": {
16932
- "bodyKind": "none",
16933
- "command": "sending:get-open-api-spec",
16934
- "description": "OpenAPI 3.1 specification",
16944
+ "bodyKind": "json",
16945
+ "command": "management:update-provider",
16946
+ "description": "Update a sending account",
16935
16947
  "headerParams": [
16936
16948
  {
16937
- "name": "If-None-Match",
16949
+ "name": "If-Match",
16938
16950
  "required": false,
16939
16951
  "schema": {
16940
16952
  "type": "string"
16941
16953
  }
16942
16954
  }
16943
16955
  ],
16944
- "method": "get",
16945
- "operationId": "sendingGetOpenApiSpec",
16946
- "path": "/openapi.json",
16947
- "pathParams": [],
16956
+ "method": "patch",
16957
+ "operationId": "managementUpdateProvider",
16958
+ "path": "/providers/{public_id}",
16959
+ "pathParams": [
16960
+ {
16961
+ "name": "public_id",
16962
+ "required": true,
16963
+ "schema": {
16964
+ "type": "string"
16965
+ }
16966
+ }
16967
+ ],
16948
16968
  "queryParams": [],
16949
16969
  "responseKind": "json",
16950
16970
  "requestBodyRequired": false,
16951
- "requiredKeyKind": "none",
16952
- "surface": "sending"
16971
+ "requiredKeyKind": "root",
16972
+ "surface": "management"
16953
16973
  },
16954
16974
  "isESM": true,
16955
16975
  "relativePath": [
16956
16976
  "dist",
16957
16977
  "commands",
16958
- "sending",
16959
- "get-open-api-spec.js"
16978
+ "management",
16979
+ "update-provider.js"
16960
16980
  ]
16961
16981
  },
16962
- "sending:send": {
16982
+ "management:update-webhook": {
16963
16983
  "aliases": [],
16964
16984
  "args": {},
16965
- "description": "Send a single email",
16985
+ "description": "Update a webhook subscription",
16966
16986
  "flags": {
16967
16987
  "json": {
16968
16988
  "description": "Format output as json.",
@@ -17082,7 +17102,7 @@
17082
17102
  },
17083
17103
  "hasDynamicHelp": false,
17084
17104
  "hiddenAliases": [],
17085
- "id": "sending:send",
17105
+ "id": "management:update-webhook",
17086
17106
  "pluginAlias": "@sendmux/cli",
17087
17107
  "pluginName": "@sendmux/cli",
17088
17108
  "pluginType": "core",
@@ -17090,40 +17110,47 @@
17090
17110
  "enableJsonFlag": true,
17091
17111
  "operation": {
17092
17112
  "bodyKind": "json",
17093
- "command": "sending:send",
17094
- "description": "Send a single email",
17113
+ "command": "management:update-webhook",
17114
+ "description": "Update a webhook subscription",
17095
17115
  "headerParams": [
17096
17116
  {
17097
- "name": "Idempotency-Key",
17117
+ "name": "If-Match",
17098
17118
  "required": false,
17099
17119
  "schema": {
17100
- "type": "string",
17101
- "maxLength": 255
17120
+ "type": "string"
17121
+ }
17122
+ }
17123
+ ],
17124
+ "method": "patch",
17125
+ "operationId": "managementUpdateWebhook",
17126
+ "path": "/webhooks/{public_id}",
17127
+ "pathParams": [
17128
+ {
17129
+ "name": "public_id",
17130
+ "required": true,
17131
+ "schema": {
17132
+ "type": "string"
17102
17133
  }
17103
17134
  }
17104
17135
  ],
17105
- "method": "post",
17106
- "operationId": "sendingSendEmail",
17107
- "path": "/emails/send",
17108
- "pathParams": [],
17109
17136
  "queryParams": [],
17110
17137
  "responseKind": "json",
17111
- "requestBodyRequired": true,
17112
- "requiredKeyKind": "sending",
17113
- "surface": "sending"
17138
+ "requestBodyRequired": false,
17139
+ "requiredKeyKind": "root",
17140
+ "surface": "management"
17114
17141
  },
17115
17142
  "isESM": true,
17116
17143
  "relativePath": [
17117
17144
  "dist",
17118
17145
  "commands",
17119
- "sending",
17120
- "send.js"
17146
+ "management",
17147
+ "update-webhook.js"
17121
17148
  ]
17122
17149
  },
17123
- "sending:upload-attachment": {
17150
+ "management:verify-domain": {
17124
17151
  "aliases": [],
17125
17152
  "args": {},
17126
- "description": "Upload an attachment",
17153
+ "description": "Verify a mailbox domain",
17127
17154
  "flags": {
17128
17155
  "json": {
17129
17156
  "description": "Format output as json.",
@@ -17243,68 +17270,41 @@
17243
17270
  },
17244
17271
  "hasDynamicHelp": false,
17245
17272
  "hiddenAliases": [],
17246
- "id": "sending:upload-attachment",
17273
+ "id": "management:verify-domain",
17247
17274
  "pluginAlias": "@sendmux/cli",
17248
17275
  "pluginName": "@sendmux/cli",
17249
17276
  "pluginType": "core",
17250
17277
  "strict": true,
17251
17278
  "enableJsonFlag": true,
17252
17279
  "operation": {
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": [
17280
+ "bodyKind": "none",
17281
+ "command": "management:verify-domain",
17282
+ "description": "Verify a mailbox domain",
17283
+ "headerParams": [],
17284
+ "method": "post",
17285
+ "operationId": "managementVerifyDomain",
17286
+ "path": "/domains/{public_id}/verify",
17287
+ "pathParams": [
17279
17288
  {
17280
- "name": "filename",
17289
+ "name": "public_id",
17281
17290
  "required": true,
17282
17291
  "schema": {
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
17292
+ "type": "string"
17294
17293
  }
17295
17294
  }
17296
17295
  ],
17296
+ "queryParams": [],
17297
17297
  "responseKind": "json",
17298
- "requestBodyRequired": true,
17299
- "requiredKeyKind": "sending",
17300
- "surface": "sending"
17298
+ "requestBodyRequired": false,
17299
+ "requiredKeyKind": "root",
17300
+ "surface": "management"
17301
17301
  },
17302
17302
  "isESM": true,
17303
17303
  "relativePath": [
17304
17304
  "dist",
17305
17305
  "commands",
17306
- "sending",
17307
- "upload-attachment.js"
17306
+ "management",
17307
+ "verify-domain.js"
17308
17308
  ]
17309
17309
  },
17310
17310
  "mailbox:folders:list": {
@@ -18168,10 +18168,10 @@
18168
18168
  "list.js"
18169
18169
  ]
18170
18170
  },
18171
- "management:domains:get": {
18171
+ "sending:send:batch": {
18172
18172
  "aliases": [],
18173
18173
  "args": {},
18174
- "description": "Get a mailbox domain",
18174
+ "description": "Send a batch of emails",
18175
18175
  "flags": {
18176
18176
  "json": {
18177
18177
  "description": "Format output as json.",
@@ -18291,56 +18291,49 @@
18291
18291
  },
18292
18292
  "hasDynamicHelp": false,
18293
18293
  "hiddenAliases": [],
18294
- "id": "management:domains:get",
18294
+ "id": "sending:send:batch",
18295
18295
  "pluginAlias": "@sendmux/cli",
18296
18296
  "pluginName": "@sendmux/cli",
18297
18297
  "pluginType": "core",
18298
18298
  "strict": true,
18299
18299
  "enableJsonFlag": true,
18300
18300
  "operation": {
18301
- "bodyKind": "none",
18302
- "command": "management:domains:get",
18303
- "description": "Get a mailbox domain",
18301
+ "bodyKind": "json",
18302
+ "command": "sending:send:batch",
18303
+ "description": "Send a batch of emails",
18304
18304
  "headerParams": [
18305
18305
  {
18306
- "name": "If-None-Match",
18306
+ "name": "Idempotency-Key",
18307
18307
  "required": false,
18308
18308
  "schema": {
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"
18309
+ "type": "string",
18310
+ "maxLength": 255
18322
18311
  }
18323
18312
  }
18324
18313
  ],
18314
+ "method": "post",
18315
+ "operationId": "sendingSendEmailBatch",
18316
+ "path": "/emails/send/batch",
18317
+ "pathParams": [],
18325
18318
  "queryParams": [],
18326
18319
  "responseKind": "json",
18327
- "requestBodyRequired": false,
18328
- "requiredKeyKind": "root",
18329
- "surface": "management"
18320
+ "requestBodyRequired": true,
18321
+ "requiredKeyKind": "sending",
18322
+ "surface": "sending"
18330
18323
  },
18331
18324
  "isESM": true,
18332
18325
  "relativePath": [
18333
18326
  "dist",
18334
18327
  "commands",
18335
- "management",
18336
- "domains",
18337
- "get.js"
18328
+ "sending",
18329
+ "send",
18330
+ "batch.js"
18338
18331
  ]
18339
18332
  },
18340
- "management:domains:list": {
18333
+ "management:domains:get": {
18341
18334
  "aliases": [],
18342
18335
  "args": {},
18343
- "description": "List mailbox domains",
18336
+ "description": "Get a mailbox domain",
18344
18337
  "flags": {
18345
18338
  "json": {
18346
18339
  "description": "Format output as json.",
@@ -18460,7 +18453,7 @@
18460
18453
  },
18461
18454
  "hasDynamicHelp": false,
18462
18455
  "hiddenAliases": [],
18463
- "id": "management:domains:list",
18456
+ "id": "management:domains:get",
18464
18457
  "pluginAlias": "@sendmux/cli",
18465
18458
  "pluginName": "@sendmux/cli",
18466
18459
  "pluginType": "core",
@@ -18468,31 +18461,30 @@
18468
18461
  "enableJsonFlag": true,
18469
18462
  "operation": {
18470
18463
  "bodyKind": "none",
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": [
18464
+ "command": "management:domains:get",
18465
+ "description": "Get a mailbox domain",
18466
+ "headerParams": [
18479
18467
  {
18480
- "name": "cursor",
18468
+ "name": "If-None-Match",
18481
18469
  "required": false,
18482
18470
  "schema": {
18483
18471
  "type": "string"
18484
18472
  }
18485
- },
18473
+ }
18474
+ ],
18475
+ "method": "get",
18476
+ "operationId": "managementGetDomain",
18477
+ "path": "/domains/{public_id}",
18478
+ "pathParams": [
18486
18479
  {
18487
- "name": "limit",
18488
- "required": false,
18480
+ "name": "public_id",
18481
+ "required": true,
18489
18482
  "schema": {
18490
- "type": "integer",
18491
- "minimum": 1,
18492
- "maximum": 100
18483
+ "type": "string"
18493
18484
  }
18494
18485
  }
18495
18486
  ],
18487
+ "queryParams": [],
18496
18488
  "responseKind": "json",
18497
18489
  "requestBodyRequired": false,
18498
18490
  "requiredKeyKind": "root",
@@ -18504,13 +18496,13 @@
18504
18496
  "commands",
18505
18497
  "management",
18506
18498
  "domains",
18507
- "list.js"
18499
+ "get.js"
18508
18500
  ]
18509
18501
  },
18510
- "management:mailboxes:list": {
18502
+ "management:domains:list": {
18511
18503
  "aliases": [],
18512
18504
  "args": {},
18513
- "description": "List mailboxes",
18505
+ "description": "List mailbox domains",
18514
18506
  "flags": {
18515
18507
  "json": {
18516
18508
  "description": "Format output as json.",
@@ -18630,7 +18622,7 @@
18630
18622
  },
18631
18623
  "hasDynamicHelp": false,
18632
18624
  "hiddenAliases": [],
18633
- "id": "management:mailboxes:list",
18625
+ "id": "management:domains:list",
18634
18626
  "pluginAlias": "@sendmux/cli",
18635
18627
  "pluginName": "@sendmux/cli",
18636
18628
  "pluginType": "core",
@@ -18638,12 +18630,12 @@
18638
18630
  "enableJsonFlag": true,
18639
18631
  "operation": {
18640
18632
  "bodyKind": "none",
18641
- "command": "management:mailboxes:list",
18642
- "description": "List mailboxes",
18633
+ "command": "management:domains:list",
18634
+ "description": "List mailbox domains",
18643
18635
  "headerParams": [],
18644
18636
  "method": "get",
18645
- "operationId": "managementListMailboxes",
18646
- "path": "/mailboxes",
18637
+ "operationId": "managementListDomains",
18638
+ "path": "/domains",
18647
18639
  "pathParams": [],
18648
18640
  "queryParams": [
18649
18641
  {
@@ -18661,16 +18653,6 @@
18661
18653
  "minimum": 1,
18662
18654
  "maximum": 100
18663
18655
  }
18664
- },
18665
- {
18666
- "name": "include_deleted",
18667
- "required": false,
18668
- "schema": {
18669
- "type": "string",
18670
- "enum": [
18671
- "true"
18672
- ]
18673
- }
18674
18656
  }
18675
18657
  ],
18676
18658
  "responseKind": "json",
@@ -18683,14 +18665,14 @@
18683
18665
  "dist",
18684
18666
  "commands",
18685
18667
  "management",
18686
- "mailboxes",
18668
+ "domains",
18687
18669
  "list.js"
18688
18670
  ]
18689
18671
  },
18690
- "management:providers:list": {
18672
+ "management:mailboxes:list": {
18691
18673
  "aliases": [],
18692
18674
  "args": {},
18693
- "description": "List sending accounts",
18675
+ "description": "List mailboxes",
18694
18676
  "flags": {
18695
18677
  "json": {
18696
18678
  "description": "Format output as json.",
@@ -18810,7 +18792,7 @@
18810
18792
  },
18811
18793
  "hasDynamicHelp": false,
18812
18794
  "hiddenAliases": [],
18813
- "id": "management:providers:list",
18795
+ "id": "management:mailboxes:list",
18814
18796
  "pluginAlias": "@sendmux/cli",
18815
18797
  "pluginName": "@sendmux/cli",
18816
18798
  "pluginType": "core",
@@ -18818,12 +18800,12 @@
18818
18800
  "enableJsonFlag": true,
18819
18801
  "operation": {
18820
18802
  "bodyKind": "none",
18821
- "command": "management:providers:list",
18822
- "description": "List sending accounts",
18803
+ "command": "management:mailboxes:list",
18804
+ "description": "List mailboxes",
18823
18805
  "headerParams": [],
18824
18806
  "method": "get",
18825
- "operationId": "managementListProviders",
18826
- "path": "/providers",
18807
+ "operationId": "managementListMailboxes",
18808
+ "path": "/mailboxes",
18827
18809
  "pathParams": [],
18828
18810
  "queryParams": [
18829
18811
  {
@@ -18834,39 +18816,23 @@
18834
18816
  }
18835
18817
  },
18836
18818
  {
18837
- "name": "status",
18819
+ "name": "limit",
18838
18820
  "required": false,
18839
18821
  "schema": {
18840
- "type": "string",
18841
- "enum": [
18842
- "active",
18843
- "inactive",
18844
- "error",
18845
- "pending"
18846
- ]
18822
+ "type": "integer",
18823
+ "minimum": 1,
18824
+ "maximum": 100
18847
18825
  }
18848
18826
  },
18849
18827
  {
18850
- "name": "type",
18828
+ "name": "include_deleted",
18851
18829
  "required": false,
18852
18830
  "schema": {
18853
18831
  "type": "string",
18854
18832
  "enum": [
18855
- "smtp",
18856
- "gmail_api",
18857
- "outlook_api",
18858
- "amazon_ses"
18833
+ "true"
18859
18834
  ]
18860
18835
  }
18861
- },
18862
- {
18863
- "name": "limit",
18864
- "required": false,
18865
- "schema": {
18866
- "type": "integer",
18867
- "minimum": 1,
18868
- "maximum": 100
18869
- }
18870
18836
  }
18871
18837
  ],
18872
18838
  "responseKind": "json",
@@ -18879,14 +18845,14 @@
18879
18845
  "dist",
18880
18846
  "commands",
18881
18847
  "management",
18882
- "providers",
18848
+ "mailboxes",
18883
18849
  "list.js"
18884
18850
  ]
18885
18851
  },
18886
- "sending:send:batch": {
18852
+ "management:providers:list": {
18887
18853
  "aliases": [],
18888
18854
  "args": {},
18889
- "description": "Send a batch of emails",
18855
+ "description": "List sending accounts",
18890
18856
  "flags": {
18891
18857
  "json": {
18892
18858
  "description": "Format output as json.",
@@ -19006,45 +18972,79 @@
19006
18972
  },
19007
18973
  "hasDynamicHelp": false,
19008
18974
  "hiddenAliases": [],
19009
- "id": "sending:send:batch",
18975
+ "id": "management:providers:list",
19010
18976
  "pluginAlias": "@sendmux/cli",
19011
18977
  "pluginName": "@sendmux/cli",
19012
18978
  "pluginType": "core",
19013
18979
  "strict": true,
19014
18980
  "enableJsonFlag": true,
19015
18981
  "operation": {
19016
- "bodyKind": "json",
19017
- "command": "sending:send:batch",
19018
- "description": "Send a batch of emails",
19019
- "headerParams": [
18982
+ "bodyKind": "none",
18983
+ "command": "management:providers:list",
18984
+ "description": "List sending accounts",
18985
+ "headerParams": [],
18986
+ "method": "get",
18987
+ "operationId": "managementListProviders",
18988
+ "path": "/providers",
18989
+ "pathParams": [],
18990
+ "queryParams": [
19020
18991
  {
19021
- "name": "Idempotency-Key",
18992
+ "name": "cursor",
18993
+ "required": false,
18994
+ "schema": {
18995
+ "type": "string"
18996
+ }
18997
+ },
18998
+ {
18999
+ "name": "status",
19022
19000
  "required": false,
19023
19001
  "schema": {
19024
19002
  "type": "string",
19025
- "maxLength": 255
19003
+ "enum": [
19004
+ "active",
19005
+ "inactive",
19006
+ "error",
19007
+ "pending"
19008
+ ]
19009
+ }
19010
+ },
19011
+ {
19012
+ "name": "type",
19013
+ "required": false,
19014
+ "schema": {
19015
+ "type": "string",
19016
+ "enum": [
19017
+ "smtp",
19018
+ "gmail_api",
19019
+ "outlook_api",
19020
+ "amazon_ses"
19021
+ ]
19022
+ }
19023
+ },
19024
+ {
19025
+ "name": "limit",
19026
+ "required": false,
19027
+ "schema": {
19028
+ "type": "integer",
19029
+ "minimum": 1,
19030
+ "maximum": 100
19026
19031
  }
19027
19032
  }
19028
19033
  ],
19029
- "method": "post",
19030
- "operationId": "sendingSendEmailBatch",
19031
- "path": "/emails/send/batch",
19032
- "pathParams": [],
19033
- "queryParams": [],
19034
19034
  "responseKind": "json",
19035
- "requestBodyRequired": true,
19036
- "requiredKeyKind": "sending",
19037
- "surface": "sending"
19035
+ "requestBodyRequired": false,
19036
+ "requiredKeyKind": "root",
19037
+ "surface": "management"
19038
19038
  },
19039
19039
  "isESM": true,
19040
19040
  "relativePath": [
19041
19041
  "dist",
19042
19042
  "commands",
19043
- "sending",
19044
- "send",
19045
- "batch.js"
19043
+ "management",
19044
+ "providers",
19045
+ "list.js"
19046
19046
  ]
19047
19047
  }
19048
19048
  },
19049
- "version": "1.6.0"
19049
+ "version": "1.7.0"
19050
19050
  }