@distilled.cloud/mailchimp 1.0.0-rc.19 → 1.0.0-rc.21

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.
@@ -3,7 +3,8 @@ import * as C from "@distilled.cloud/core/category";
3
3
  // AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/spec-mirror-mailchimp). Do not edit.
4
4
  import * as S from "@distilled.cloud/core/schema-lite";
5
5
  import * as __L from "@distilled.cloud/core/schema-lite";
6
- import { MailchimpTransactionalError, UnknownMailchimpError } from "../errors.ts";
6
+ import type * as Redacted from "effect/Redacted";
7
+ import { MailchimpServiceErrors } from "../errors.ts";
7
8
  import {
8
9
  MailchimpTransactionalProtocol,
9
10
  type MailchimpTransactionalOpError,
@@ -33,6 +34,8 @@ export class BadRequest
33
34
  /*@__PURE__*/ S.TaggedError<BadRequest>()("BadRequest", {
34
35
  code: S.Number,
35
36
  message: S.String,
37
+ body: /*@__PURE__*/ S.optional(S.Unknown),
38
+ headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
36
39
  }).pipe(C.withBadRequestError),
37
40
  [{ status: 400 }],
38
41
  ) {}
@@ -42,6 +45,8 @@ export class Forbidden
42
45
  /*@__PURE__*/ S.TaggedError<Forbidden>()("Forbidden", {
43
46
  code: S.Number,
44
47
  message: S.String,
48
+ body: /*@__PURE__*/ S.optional(S.Unknown),
49
+ headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
45
50
  }).pipe(C.withAuthError),
46
51
  [{ status: 403 }],
47
52
  ) {}
@@ -51,6 +56,8 @@ export class NotFound
51
56
  /*@__PURE__*/ S.TaggedError<NotFound>()("NotFound", {
52
57
  code: S.Number,
53
58
  message: S.String,
59
+ body: /*@__PURE__*/ S.optional(S.Unknown),
60
+ headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
54
61
  }).pipe(C.withBadRequestError),
55
62
  [{ status: 404 }],
56
63
  ) {}
@@ -60,6 +67,8 @@ export class PaymentRequired
60
67
  /*@__PURE__*/ S.TaggedError<PaymentRequired>()("PaymentRequired", {
61
68
  code: S.Number,
62
69
  message: S.String,
70
+ body: /*@__PURE__*/ S.optional(S.Unknown),
71
+ headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
63
72
  }).pipe(C.withQuotaError),
64
73
  [{ status: 402 }],
65
74
  ) {}
@@ -69,6 +78,8 @@ export class UnprocessableEntity
69
78
  /*@__PURE__*/ S.TaggedError<UnprocessableEntity>()("UnprocessableEntity", {
70
79
  code: S.Number,
71
80
  message: S.String,
81
+ body: /*@__PURE__*/ S.optional(S.Unknown),
82
+ headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
72
83
  }).pipe(C.withBadRequestError),
73
84
  [{ status: 422 }],
74
85
  ) {}
@@ -362,7 +373,7 @@ export interface AddWebhookResponse {
362
373
  /** a description of the webhook */
363
374
  description?: string | null | undefined;
364
375
  /** the key used to requests for this webhook */
365
- auth_key?: string | null | undefined;
376
+ auth_key?: string | Redacted.Redacted<string> | null | undefined;
366
377
  /** The message events that will be posted to the hook */
367
378
  events?: AddWebhookResponseEventsList | null | undefined;
368
379
  /** the date and time that the webhook was created as a UTC string in YYYY-MM-DD HH:MM:SS format */
@@ -847,7 +858,7 @@ export interface DeleteWebhookResponse {
847
858
  /** a description of the webhook */
848
859
  description?: string | null | undefined;
849
860
  /** the key used to requests for this webhook */
850
- auth_key?: string | null | undefined;
861
+ auth_key?: string | Redacted.Redacted<string> | null | undefined;
851
862
  /** The message events that will be posted to the hook */
852
863
  events?: DeleteWebhookResponseEventsList | null | undefined;
853
864
  /** the date and time that the webhook was created as a UTC string in YYYY-MM-DD HH:MM:SS format */
@@ -1903,7 +1914,7 @@ export interface GetWebhookResponse {
1903
1914
  /** a description of the webhook */
1904
1915
  description?: string | null | undefined;
1905
1916
  /** the key used to requests for this webhook */
1906
- auth_key?: string | null | undefined;
1917
+ auth_key?: string | Redacted.Redacted<string> | null | undefined;
1907
1918
  /** The message events that will be posted to the hook */
1908
1919
  events?: GetWebhookResponseEventsList | null | undefined;
1909
1920
  /** the date and time that the webhook was created as a UTC string in YYYY-MM-DD HH:MM:SS format */
@@ -2361,7 +2372,7 @@ export interface ListWebhooksResponseBodyItem {
2361
2372
  /** a description of the webhook */
2362
2373
  description?: string | null | undefined;
2363
2374
  /** the key used to requests for this webhook */
2364
- auth_key?: string | null | undefined;
2375
+ auth_key?: string | Redacted.Redacted<string> | null | undefined;
2365
2376
  /** The message events that will be posted to the hook */
2366
2377
  events?: ListWebhooksResponseBodyItemEventsList | null | undefined;
2367
2378
  /** the date and time that the webhook was created as a UTC string in YYYY-MM-DD HH:MM:SS format */
@@ -3677,7 +3688,7 @@ export interface UpdateWebhookResponse {
3677
3688
  /** a description of the webhook */
3678
3689
  description?: string | null | undefined;
3679
3690
  /** the key used to requests for this webhook */
3680
- auth_key?: string | null | undefined;
3691
+ auth_key?: string | Redacted.Redacted<string> | null | undefined;
3681
3692
  /** The message events that will be posted to the hook */
3682
3693
  events?: UpdateWebhookResponseEventsList | null | undefined;
3683
3694
  /** the date and time that the webhook was created as a UTC string in YYYY-MM-DD HH:MM:SS format */
@@ -3715,7 +3726,8 @@ export const addAllowlistEntry: API.OperationMethod<
3715
3726
  > = /*@__PURE__*/ API.make(() => ({
3716
3727
  input: __S(1024, __c64, 0) as any as S.Schema<AddAllowlistEntryRequest>,
3717
3728
  output: __S(1040, __c65, 0) as any as S.Schema<AddAllowlistEntryResponse>,
3718
- errors: [UnprocessableEntity, MailchimpTransactionalError, UnknownMailchimpError],
3729
+ errors: [UnprocessableEntity],
3730
+ serviceErrors: MailchimpServiceErrors,
3719
3731
  protocol: MailchimpTransactionalProtocol,
3720
3732
  retry: Retry.Retry,
3721
3733
  telemetry: TELEMETRY,
@@ -3732,7 +3744,8 @@ export const addInboundDomain: API.OperationMethod<
3732
3744
  > = /*@__PURE__*/ API.make(() => ({
3733
3745
  input: __S(1232, __c77, 0) as any as S.Schema<AddInboundDomainRequest>,
3734
3746
  output: __S(1248, __c78, 0) as any as S.Schema<AddInboundDomainResponse>,
3735
- errors: [MailchimpTransactionalError, UnknownMailchimpError],
3747
+ errors: [],
3748
+ serviceErrors: MailchimpServiceErrors,
3736
3749
  protocol: MailchimpTransactionalProtocol,
3737
3750
  retry: Retry.Retry,
3738
3751
  telemetry: TELEMETRY,
@@ -3749,7 +3762,8 @@ export const addInboundRoute: API.OperationMethod<
3749
3762
  > = /*@__PURE__*/ API.make(() => ({
3750
3763
  input: __S(1456, __c91, 0) as any as S.Schema<AddInboundRouteRequest>,
3751
3764
  output: __S(1472, __c92, 0) as any as S.Schema<AddInboundRouteResponse>,
3752
- errors: [NotFound, MailchimpTransactionalError, UnknownMailchimpError],
3765
+ errors: [NotFound],
3766
+ serviceErrors: MailchimpServiceErrors,
3753
3767
  protocol: MailchimpTransactionalProtocol,
3754
3768
  retry: Retry.Retry,
3755
3769
  telemetry: TELEMETRY,
@@ -3766,7 +3780,8 @@ export const addMetadataField: API.OperationMethod<
3766
3780
  > = /*@__PURE__*/ API.make(() => ({
3767
3781
  input: __S(1648, __c103, 0) as any as S.Schema<AddMetadataFieldRequest>,
3768
3782
  output: __S(1664, __c104, 0) as any as S.Schema<AddMetadataFieldResponse>,
3769
- errors: [UnprocessableEntity, MailchimpTransactionalError, UnknownMailchimpError],
3783
+ errors: [UnprocessableEntity],
3784
+ serviceErrors: MailchimpServiceErrors,
3770
3785
  protocol: MailchimpTransactionalProtocol,
3771
3786
  retry: Retry.Retry,
3772
3787
  telemetry: TELEMETRY,
@@ -3783,7 +3798,8 @@ export const addReject: API.OperationMethod<
3783
3798
  > = /*@__PURE__*/ API.make(() => ({
3784
3799
  input: __S(1904, __c119, 0) as any as S.Schema<AddRejectRequest>,
3785
3800
  output: __S(1040, __c65, 0) as any as S.Schema<AddRejectResponse>,
3786
- errors: [NotFound, UnprocessableEntity, MailchimpTransactionalError, UnknownMailchimpError],
3801
+ errors: [NotFound, UnprocessableEntity],
3802
+ serviceErrors: MailchimpServiceErrors,
3787
3803
  protocol: MailchimpTransactionalProtocol,
3788
3804
  retry: Retry.Retry,
3789
3805
  telemetry: TELEMETRY,
@@ -3800,7 +3816,8 @@ export const addSenderDomain: API.OperationMethod<
3800
3816
  > = /*@__PURE__*/ API.make(() => ({
3801
3817
  input: __S(0, __c0, 0) as any as S.Schema<AddSenderDomainRequest>,
3802
3818
  output: __S(1, __c0, 1) as any as S.Schema<AddSenderDomainResponse>,
3803
- errors: [MailchimpTransactionalError, UnknownMailchimpError],
3819
+ errors: [],
3820
+ serviceErrors: MailchimpServiceErrors,
3804
3821
  protocol: MailchimpTransactionalProtocol,
3805
3822
  retry: Retry.Retry,
3806
3823
  telemetry: TELEMETRY,
@@ -3817,7 +3834,8 @@ export const addSmsReject: API.OperationMethod<
3817
3834
  > = /*@__PURE__*/ API.make(() => ({
3818
3835
  input: __S(96, __c6, 0) as any as S.Schema<AddSmsRejectRequest>,
3819
3836
  output: __S(97, __c6, 1) as any as S.Schema<AddSmsRejectResponse>,
3820
- errors: [NotFound, UnprocessableEntity, MailchimpTransactionalError, UnknownMailchimpError],
3837
+ errors: [NotFound, UnprocessableEntity],
3838
+ serviceErrors: MailchimpServiceErrors,
3821
3839
  protocol: MailchimpTransactionalProtocol,
3822
3840
  retry: Retry.Retry,
3823
3841
  telemetry: TELEMETRY,
@@ -3834,7 +3852,8 @@ export const addSubaccount: API.OperationMethod<
3834
3852
  > = /*@__PURE__*/ API.make(() => ({
3835
3853
  input: __S(112, __c7, 0) as any as S.Schema<AddSubaccountRequest>,
3836
3854
  output: __S(128, __c8, 0) as any as S.Schema<AddSubaccountResponse>,
3837
- errors: [UnprocessableEntity, MailchimpTransactionalError, UnknownMailchimpError],
3855
+ errors: [UnprocessableEntity],
3856
+ serviceErrors: MailchimpServiceErrors,
3838
3857
  protocol: MailchimpTransactionalProtocol,
3839
3858
  retry: Retry.Retry,
3840
3859
  telemetry: TELEMETRY,
@@ -3851,7 +3870,8 @@ export const addTemplate: API.OperationMethod<
3851
3870
  > = /*@__PURE__*/ API.make(() => ({
3852
3871
  input: __S(144, __c9, 0) as any as S.Schema<AddTemplateRequest>,
3853
3872
  output: __S(176, __c11, 0) as any as S.Schema<AddTemplateResponse>,
3854
- errors: [UnprocessableEntity, MailchimpTransactionalError, UnknownMailchimpError],
3873
+ errors: [UnprocessableEntity],
3874
+ serviceErrors: MailchimpServiceErrors,
3855
3875
  protocol: MailchimpTransactionalProtocol,
3856
3876
  retry: Retry.Retry,
3857
3877
  telemetry: TELEMETRY,
@@ -3868,7 +3888,8 @@ export const addTrackingDomain: API.OperationMethod<
3868
3888
  > = /*@__PURE__*/ API.make(() => ({
3869
3889
  input: __S(192, __c12, 0) as any as S.Schema<AddTrackingDomainRequest>,
3870
3890
  output: __S(208, __c13, 0) as any as S.Schema<AddTrackingDomainResponse>,
3871
- errors: [BadRequest, MailchimpTransactionalError, UnknownMailchimpError],
3891
+ errors: [BadRequest],
3892
+ serviceErrors: MailchimpServiceErrors,
3872
3893
  protocol: MailchimpTransactionalProtocol,
3873
3894
  retry: Retry.Retry,
3874
3895
  telemetry: TELEMETRY,
@@ -3885,7 +3906,8 @@ export const addWebhook: API.OperationMethod<
3885
3906
  > = /*@__PURE__*/ API.make(() => ({
3886
3907
  input: __S(224, __c14, 0) as any as S.Schema<AddWebhookRequest>,
3887
3908
  output: __S(256, __c16, 0) as any as S.Schema<AddWebhookResponse>,
3888
- errors: [MailchimpTransactionalError, UnknownMailchimpError],
3909
+ errors: [],
3910
+ serviceErrors: MailchimpServiceErrors,
3889
3911
  protocol: MailchimpTransactionalProtocol,
3890
3912
  retry: Retry.Retry,
3891
3913
  telemetry: TELEMETRY,
@@ -3902,7 +3924,8 @@ export const cancelIpWarmup: API.OperationMethod<
3902
3924
  > = /*@__PURE__*/ API.make(() => ({
3903
3925
  input: __S(272, __c17, 0) as any as S.Schema<CancelIpWarmupRequest>,
3904
3926
  output: __S(290, __c18, 2) as any as S.Schema<CancelIpWarmupResponse>,
3905
- errors: [NotFound, MailchimpTransactionalError, UnknownMailchimpError],
3927
+ errors: [NotFound],
3928
+ serviceErrors: MailchimpServiceErrors,
3906
3929
  protocol: MailchimpTransactionalProtocol,
3907
3930
  retry: Retry.Retry,
3908
3931
  telemetry: TELEMETRY,
@@ -3919,7 +3942,8 @@ export const cancelScheduledMessage: API.OperationMethod<
3919
3942
  > = /*@__PURE__*/ API.make(() => ({
3920
3943
  input: __S(304, __c19, 0) as any as S.Schema<CancelScheduledMessageRequest>,
3921
3944
  output: __S(322, __c20, 2) as any as S.Schema<CancelScheduledMessageResponse>,
3922
- errors: [NotFound, MailchimpTransactionalError, UnknownMailchimpError],
3945
+ errors: [NotFound],
3946
+ serviceErrors: MailchimpServiceErrors,
3923
3947
  protocol: MailchimpTransactionalProtocol,
3924
3948
  retry: Retry.Retry,
3925
3949
  telemetry: TELEMETRY,
@@ -3936,7 +3960,8 @@ export const checkInboundDomain: API.OperationMethod<
3936
3960
  > = /*@__PURE__*/ API.make(() => ({
3937
3961
  input: __S(336, __c21, 0) as any as S.Schema<CheckInboundDomainRequest>,
3938
3962
  output: __S(1248, __c78, 0) as any as S.Schema<CheckInboundDomainResponse>,
3939
- errors: [NotFound, MailchimpTransactionalError, UnknownMailchimpError],
3963
+ errors: [NotFound],
3964
+ serviceErrors: MailchimpServiceErrors,
3940
3965
  protocol: MailchimpTransactionalProtocol,
3941
3966
  retry: Retry.Retry,
3942
3967
  telemetry: TELEMETRY,
@@ -3953,7 +3978,8 @@ export const checkIpCustomDns: API.OperationMethod<
3953
3978
  > = /*@__PURE__*/ API.make(() => ({
3954
3979
  input: __S(352, __c22, 0) as any as S.Schema<CheckIpCustomDnsRequest>,
3955
3980
  output: __S(353, __c22, 1) as any as S.Schema<CheckIpCustomDnsResponse>,
3956
- errors: [NotFound, MailchimpTransactionalError, UnknownMailchimpError],
3981
+ errors: [NotFound],
3982
+ serviceErrors: MailchimpServiceErrors,
3957
3983
  protocol: MailchimpTransactionalProtocol,
3958
3984
  retry: Retry.Retry,
3959
3985
  telemetry: TELEMETRY,
@@ -3970,7 +3996,8 @@ export const checkSenderDomain: API.OperationMethod<
3970
3996
  > = /*@__PURE__*/ API.make(() => ({
3971
3997
  input: __S(368, __c23, 0) as any as S.Schema<CheckSenderDomainRequest>,
3972
3998
  output: __S(385, __c24, 1) as any as S.Schema<CheckSenderDomainResponse>,
3973
- errors: [MailchimpTransactionalError, UnknownMailchimpError],
3999
+ errors: [],
4000
+ serviceErrors: MailchimpServiceErrors,
3974
4001
  protocol: MailchimpTransactionalProtocol,
3975
4002
  retry: Retry.Retry,
3976
4003
  telemetry: TELEMETRY,
@@ -3987,7 +4014,8 @@ export const checkTrackingDomain: API.OperationMethod<
3987
4014
  > = /*@__PURE__*/ API.make(() => ({
3988
4015
  input: __S(400, __c25, 0) as any as S.Schema<CheckTrackingDomainRequest>,
3989
4016
  output: __S(208, __c13, 0) as any as S.Schema<CheckTrackingDomainResponse>,
3990
- errors: [NotFound, MailchimpTransactionalError, UnknownMailchimpError],
4017
+ errors: [NotFound],
4018
+ serviceErrors: MailchimpServiceErrors,
3991
4019
  protocol: MailchimpTransactionalProtocol,
3992
4020
  retry: Retry.Retry,
3993
4021
  telemetry: TELEMETRY,
@@ -4004,7 +4032,8 @@ export const createIpPool: API.OperationMethod<
4004
4032
  > = /*@__PURE__*/ API.make(() => ({
4005
4033
  input: __S(416, __c26, 0) as any as S.Schema<CreateIpPoolRequest>,
4006
4034
  output: __S(432, __c27, 0) as any as S.Schema<CreateIpPoolResponse>,
4007
- errors: [MailchimpTransactionalError, UnknownMailchimpError],
4035
+ errors: [],
4036
+ serviceErrors: MailchimpServiceErrors,
4008
4037
  protocol: MailchimpTransactionalProtocol,
4009
4038
  retry: Retry.Retry,
4010
4039
  telemetry: TELEMETRY,
@@ -4021,7 +4050,8 @@ export const deleteAllowlistEntry: API.OperationMethod<
4021
4050
  > = /*@__PURE__*/ API.make(() => ({
4022
4051
  input: __S(464, __c29, 0) as any as S.Schema<DeleteAllowlistEntryRequest>,
4023
4052
  output: __S(465, __c29, 1) as any as S.Schema<DeleteAllowlistEntryResponse>,
4024
- errors: [UnprocessableEntity, MailchimpTransactionalError, UnknownMailchimpError],
4053
+ errors: [UnprocessableEntity],
4054
+ serviceErrors: MailchimpServiceErrors,
4025
4055
  protocol: MailchimpTransactionalProtocol,
4026
4056
  retry: Retry.Retry,
4027
4057
  telemetry: TELEMETRY,
@@ -4038,7 +4068,8 @@ export const deleteInboundDomain: API.OperationMethod<
4038
4068
  > = /*@__PURE__*/ API.make(() => ({
4039
4069
  input: __S(480, __c30, 0) as any as S.Schema<DeleteInboundDomainRequest>,
4040
4070
  output: __S(1248, __c78, 0) as any as S.Schema<DeleteInboundDomainResponse>,
4041
- errors: [NotFound, MailchimpTransactionalError, UnknownMailchimpError],
4071
+ errors: [NotFound],
4072
+ serviceErrors: MailchimpServiceErrors,
4042
4073
  protocol: MailchimpTransactionalProtocol,
4043
4074
  retry: Retry.Retry,
4044
4075
  telemetry: TELEMETRY,
@@ -4055,7 +4086,8 @@ export const deleteInboundRoute: API.OperationMethod<
4055
4086
  > = /*@__PURE__*/ API.make(() => ({
4056
4087
  input: __S(496, __c31, 0) as any as S.Schema<DeleteInboundRouteRequest>,
4057
4088
  output: __S(1472, __c92, 0) as any as S.Schema<DeleteInboundRouteResponse>,
4058
- errors: [NotFound, MailchimpTransactionalError, UnknownMailchimpError],
4089
+ errors: [NotFound],
4090
+ serviceErrors: MailchimpServiceErrors,
4059
4091
  protocol: MailchimpTransactionalProtocol,
4060
4092
  retry: Retry.Retry,
4061
4093
  telemetry: TELEMETRY,
@@ -4072,7 +4104,8 @@ export const deleteIp: API.OperationMethod<
4072
4104
  > = /*@__PURE__*/ API.make(() => ({
4073
4105
  input: __S(512, __c32, 0) as any as S.Schema<DeleteIpRequest>,
4074
4106
  output: __S(513, __c32, 1) as any as S.Schema<DeleteIpResponse>,
4075
- errors: [MailchimpTransactionalError, UnknownMailchimpError],
4107
+ errors: [],
4108
+ serviceErrors: MailchimpServiceErrors,
4076
4109
  protocol: MailchimpTransactionalProtocol,
4077
4110
  retry: Retry.Retry,
4078
4111
  telemetry: TELEMETRY,
@@ -4089,7 +4122,8 @@ export const deleteIpPool: API.OperationMethod<
4089
4122
  > = /*@__PURE__*/ API.make(() => ({
4090
4123
  input: __S(528, __c33, 0) as any as S.Schema<DeleteIpPoolRequest>,
4091
4124
  output: __S(529, __c33, 1) as any as S.Schema<DeleteIpPoolResponse>,
4092
- errors: [BadRequest, NotFound, MailchimpTransactionalError, UnknownMailchimpError],
4125
+ errors: [BadRequest, NotFound],
4126
+ serviceErrors: MailchimpServiceErrors,
4093
4127
  protocol: MailchimpTransactionalProtocol,
4094
4128
  retry: Retry.Retry,
4095
4129
  telemetry: TELEMETRY,
@@ -4106,7 +4140,8 @@ export const deleteMetadataField: API.OperationMethod<
4106
4140
  > = /*@__PURE__*/ API.make(() => ({
4107
4141
  input: __S(544, __c34, 0) as any as S.Schema<DeleteMetadataFieldRequest>,
4108
4142
  output: __S(1664, __c104, 0) as any as S.Schema<DeleteMetadataFieldResponse>,
4109
- errors: [NotFound, MailchimpTransactionalError, UnknownMailchimpError],
4143
+ errors: [NotFound],
4144
+ serviceErrors: MailchimpServiceErrors,
4110
4145
  protocol: MailchimpTransactionalProtocol,
4111
4146
  retry: Retry.Retry,
4112
4147
  telemetry: TELEMETRY,
@@ -4123,7 +4158,8 @@ export const deleteReject: API.OperationMethod<
4123
4158
  > = /*@__PURE__*/ API.make(() => ({
4124
4159
  input: __S(560, __c35, 0) as any as S.Schema<DeleteRejectRequest>,
4125
4160
  output: __S(561, __c35, 1) as any as S.Schema<DeleteRejectResponse>,
4126
- errors: [NotFound, UnprocessableEntity, MailchimpTransactionalError, UnknownMailchimpError],
4161
+ errors: [NotFound, UnprocessableEntity],
4162
+ serviceErrors: MailchimpServiceErrors,
4127
4163
  protocol: MailchimpTransactionalProtocol,
4128
4164
  retry: Retry.Retry,
4129
4165
  telemetry: TELEMETRY,
@@ -4140,7 +4176,8 @@ export const deleteSenderDomain: API.OperationMethod<
4140
4176
  > = /*@__PURE__*/ API.make(() => ({
4141
4177
  input: __S(576, __c36, 0) as any as S.Schema<DeleteSenderDomainRequest>,
4142
4178
  output: __S(385, __c24, 1) as any as S.Schema<DeleteSenderDomainResponse>,
4143
- errors: [Forbidden, NotFound, MailchimpTransactionalError, UnknownMailchimpError],
4179
+ errors: [Forbidden, NotFound],
4180
+ serviceErrors: MailchimpServiceErrors,
4144
4181
  protocol: MailchimpTransactionalProtocol,
4145
4182
  retry: Retry.Retry,
4146
4183
  telemetry: TELEMETRY,
@@ -4157,7 +4194,8 @@ export const deleteSmsReject: API.OperationMethod<
4157
4194
  > = /*@__PURE__*/ API.make(() => ({
4158
4195
  input: __S(592, __c37, 0) as any as S.Schema<DeleteSmsRejectRequest>,
4159
4196
  output: __S(593, __c37, 1) as any as S.Schema<DeleteSmsRejectResponse>,
4160
- errors: [NotFound, UnprocessableEntity, MailchimpTransactionalError, UnknownMailchimpError],
4197
+ errors: [NotFound, UnprocessableEntity],
4198
+ serviceErrors: MailchimpServiceErrors,
4161
4199
  protocol: MailchimpTransactionalProtocol,
4162
4200
  retry: Retry.Retry,
4163
4201
  telemetry: TELEMETRY,
@@ -4174,7 +4212,8 @@ export const deleteSubaccount: API.OperationMethod<
4174
4212
  > = /*@__PURE__*/ API.make(() => ({
4175
4213
  input: __S(608, __c38, 0) as any as S.Schema<DeleteSubaccountRequest>,
4176
4214
  output: __S(128, __c8, 0) as any as S.Schema<DeleteSubaccountResponse>,
4177
- errors: [NotFound, MailchimpTransactionalError, UnknownMailchimpError],
4215
+ errors: [NotFound],
4216
+ serviceErrors: MailchimpServiceErrors,
4178
4217
  protocol: MailchimpTransactionalProtocol,
4179
4218
  retry: Retry.Retry,
4180
4219
  telemetry: TELEMETRY,
@@ -4191,7 +4230,8 @@ export const deleteTag: API.OperationMethod<
4191
4230
  > = /*@__PURE__*/ API.make(() => ({
4192
4231
  input: __S(624, __c39, 0) as any as S.Schema<DeleteTagRequest>,
4193
4232
  output: __S(640, __c40, 0) as any as S.Schema<DeleteTagResponse>,
4194
- errors: [BadRequest, MailchimpTransactionalError, UnknownMailchimpError],
4233
+ errors: [BadRequest],
4234
+ serviceErrors: MailchimpServiceErrors,
4195
4235
  protocol: MailchimpTransactionalProtocol,
4196
4236
  retry: Retry.Retry,
4197
4237
  telemetry: TELEMETRY,
@@ -4208,7 +4248,8 @@ export const deleteTemplate: API.OperationMethod<
4208
4248
  > = /*@__PURE__*/ API.make(() => ({
4209
4249
  input: __S(656, __c41, 0) as any as S.Schema<DeleteTemplateRequest>,
4210
4250
  output: __S(176, __c11, 0) as any as S.Schema<DeleteTemplateResponse>,
4211
- errors: [NotFound, MailchimpTransactionalError, UnknownMailchimpError],
4251
+ errors: [NotFound],
4252
+ serviceErrors: MailchimpServiceErrors,
4212
4253
  protocol: MailchimpTransactionalProtocol,
4213
4254
  retry: Retry.Retry,
4214
4255
  telemetry: TELEMETRY,
@@ -4225,7 +4266,8 @@ export const deleteTrackingDomain: API.OperationMethod<
4225
4266
  > = /*@__PURE__*/ API.make(() => ({
4226
4267
  input: __S(672, __c42, 0) as any as S.Schema<DeleteTrackingDomainRequest>,
4227
4268
  output: __S(674, __c42, 2) as any as S.Schema<DeleteTrackingDomainResponse>,
4228
- errors: [Forbidden, NotFound, MailchimpTransactionalError, UnknownMailchimpError],
4269
+ errors: [Forbidden, NotFound],
4270
+ serviceErrors: MailchimpServiceErrors,
4229
4271
  protocol: MailchimpTransactionalProtocol,
4230
4272
  retry: Retry.Retry,
4231
4273
  telemetry: TELEMETRY,
@@ -4242,7 +4284,8 @@ export const deleteWebhook: API.OperationMethod<
4242
4284
  > = /*@__PURE__*/ API.make(() => ({
4243
4285
  input: __S(688, __c43, 0) as any as S.Schema<DeleteWebhookRequest>,
4244
4286
  output: __S(256, __c16, 0) as any as S.Schema<DeleteWebhookResponse>,
4245
- errors: [NotFound, MailchimpTransactionalError, UnknownMailchimpError],
4287
+ errors: [NotFound],
4288
+ serviceErrors: MailchimpServiceErrors,
4246
4289
  protocol: MailchimpTransactionalProtocol,
4247
4290
  retry: Retry.Retry,
4248
4291
  telemetry: TELEMETRY,
@@ -4259,7 +4302,8 @@ export const exportActivity: API.OperationMethod<
4259
4302
  > = /*@__PURE__*/ API.make(() => ({
4260
4303
  input: __S(704, __c44, 0) as any as S.Schema<ExportActivityRequest>,
4261
4304
  output: __S(720, __c45, 0) as any as S.Schema<ExportActivityResponse>,
4262
- errors: [MailchimpTransactionalError, UnknownMailchimpError],
4305
+ errors: [],
4306
+ serviceErrors: MailchimpServiceErrors,
4263
4307
  protocol: MailchimpTransactionalProtocol,
4264
4308
  retry: Retry.Retry,
4265
4309
  telemetry: TELEMETRY,
@@ -4276,7 +4320,8 @@ export const exportAllowlist: API.OperationMethod<
4276
4320
  > = /*@__PURE__*/ API.make(() => ({
4277
4321
  input: __S(736, __c46, 0) as any as S.Schema<ExportAllowlistRequest>,
4278
4322
  output: __S(720, __c45, 0) as any as S.Schema<ExportAllowlistResponse>,
4279
- errors: [MailchimpTransactionalError, UnknownMailchimpError],
4323
+ errors: [],
4324
+ serviceErrors: MailchimpServiceErrors,
4280
4325
  protocol: MailchimpTransactionalProtocol,
4281
4326
  retry: Retry.Retry,
4282
4327
  telemetry: TELEMETRY,
@@ -4293,7 +4338,8 @@ export const exportRejects: API.OperationMethod<
4293
4338
  > = /*@__PURE__*/ API.make(() => ({
4294
4339
  input: __S(752, __c47, 0) as any as S.Schema<ExportRejectsRequest>,
4295
4340
  output: __S(720, __c45, 0) as any as S.Schema<ExportRejectsResponse>,
4296
- errors: [MailchimpTransactionalError, UnknownMailchimpError],
4341
+ errors: [],
4342
+ serviceErrors: MailchimpServiceErrors,
4297
4343
  protocol: MailchimpTransactionalProtocol,
4298
4344
  retry: Retry.Retry,
4299
4345
  telemetry: TELEMETRY,
@@ -4310,7 +4356,8 @@ export const exportWhitelist: API.OperationMethod<
4310
4356
  > = /*@__PURE__*/ API.make(() => ({
4311
4357
  input: __S(768, __c48, 0) as any as S.Schema<ExportWhitelistRequest>,
4312
4358
  output: __S(720, __c45, 0) as any as S.Schema<ExportWhitelistResponse>,
4313
- errors: [MailchimpTransactionalError, UnknownMailchimpError],
4359
+ errors: [],
4360
+ serviceErrors: MailchimpServiceErrors,
4314
4361
  protocol: MailchimpTransactionalProtocol,
4315
4362
  retry: Retry.Retry,
4316
4363
  telemetry: TELEMETRY,
@@ -4327,7 +4374,8 @@ export const getAllTagsTimeSeries: API.OperationMethod<
4327
4374
  > = /*@__PURE__*/ API.make(() => ({
4328
4375
  input: __S(784, __c49, 0) as any as S.Schema<GetAllTagsTimeSeriesRequest>,
4329
4376
  output: __S(802, __c50, 2) as any as S.Schema<GetAllTagsTimeSeriesResponse>,
4330
- errors: [MailchimpTransactionalError, UnknownMailchimpError],
4377
+ errors: [],
4378
+ serviceErrors: MailchimpServiceErrors,
4331
4379
  protocol: MailchimpTransactionalProtocol,
4332
4380
  retry: Retry.Retry,
4333
4381
  telemetry: TELEMETRY,
@@ -4344,7 +4392,8 @@ export const getExport: API.OperationMethod<
4344
4392
  > = /*@__PURE__*/ API.make(() => ({
4345
4393
  input: __S(816, __c51, 0) as any as S.Schema<GetExportRequest>,
4346
4394
  output: __S(720, __c45, 0) as any as S.Schema<GetExportResponse>,
4347
- errors: [NotFound, MailchimpTransactionalError, UnknownMailchimpError],
4395
+ errors: [NotFound],
4396
+ serviceErrors: MailchimpServiceErrors,
4348
4397
  protocol: MailchimpTransactionalProtocol,
4349
4398
  retry: Retry.Retry,
4350
4399
  telemetry: TELEMETRY,
@@ -4361,7 +4410,8 @@ export const getIp: API.OperationMethod<
4361
4410
  > = /*@__PURE__*/ API.make(() => ({
4362
4411
  input: __S(832, __c52, 0) as any as S.Schema<GetIpRequest>,
4363
4412
  output: __S(290, __c18, 2) as any as S.Schema<GetIpResponse>,
4364
- errors: [MailchimpTransactionalError, UnknownMailchimpError],
4413
+ errors: [],
4414
+ serviceErrors: MailchimpServiceErrors,
4365
4415
  protocol: MailchimpTransactionalProtocol,
4366
4416
  retry: Retry.Retry,
4367
4417
  telemetry: TELEMETRY,
@@ -4378,7 +4428,8 @@ export const getIpPool: API.OperationMethod<
4378
4428
  > = /*@__PURE__*/ API.make(() => ({
4379
4429
  input: __S(848, __c53, 0) as any as S.Schema<GetIpPoolRequest>,
4380
4430
  output: __S(432, __c27, 0) as any as S.Schema<GetIpPoolResponse>,
4381
- errors: [NotFound, MailchimpTransactionalError, UnknownMailchimpError],
4431
+ errors: [NotFound],
4432
+ serviceErrors: MailchimpServiceErrors,
4382
4433
  protocol: MailchimpTransactionalProtocol,
4383
4434
  retry: Retry.Retry,
4384
4435
  telemetry: TELEMETRY,
@@ -4395,7 +4446,8 @@ export const getMcTemplate: API.OperationMethod<
4395
4446
  > = /*@__PURE__*/ API.make(() => ({
4396
4447
  input: __S(864, __c54, 0) as any as S.Schema<GetMcTemplateRequest>,
4397
4448
  output: __S(880, __c55, 0) as any as S.Schema<GetMcTemplateResponse>,
4398
- errors: [NotFound, MailchimpTransactionalError, UnknownMailchimpError],
4449
+ errors: [NotFound],
4450
+ serviceErrors: MailchimpServiceErrors,
4399
4451
  protocol: MailchimpTransactionalProtocol,
4400
4452
  retry: Retry.Retry,
4401
4453
  telemetry: TELEMETRY,
@@ -4412,7 +4464,8 @@ export const getMcTemplateTimeSeries: API.OperationMethod<
4412
4464
  > = /*@__PURE__*/ API.make(() => ({
4413
4465
  input: __S(896, __c56, 0) as any as S.Schema<GetMcTemplateTimeSeriesRequest>,
4414
4466
  output: __S(802, __c50, 2) as any as S.Schema<GetMcTemplateTimeSeriesResponse>,
4415
- errors: [NotFound, MailchimpTransactionalError, UnknownMailchimpError],
4467
+ errors: [NotFound],
4468
+ serviceErrors: MailchimpServiceErrors,
4416
4469
  protocol: MailchimpTransactionalProtocol,
4417
4470
  retry: Retry.Retry,
4418
4471
  telemetry: TELEMETRY,
@@ -4429,7 +4482,8 @@ export const getMessage: API.OperationMethod<
4429
4482
  > = /*@__PURE__*/ API.make(() => ({
4430
4483
  input: __S(912, __c57, 0) as any as S.Schema<GetMessageRequest>,
4431
4484
  output: __S(915, __c57, 3) as any as S.Schema<GetMessageResponse>,
4432
- errors: [NotFound, MailchimpTransactionalError, UnknownMailchimpError],
4485
+ errors: [NotFound],
4486
+ serviceErrors: MailchimpServiceErrors,
4433
4487
  protocol: MailchimpTransactionalProtocol,
4434
4488
  retry: Retry.Retry,
4435
4489
  telemetry: TELEMETRY,
@@ -4446,7 +4500,8 @@ export const getMessageContent: API.OperationMethod<
4446
4500
  > = /*@__PURE__*/ API.make(() => ({
4447
4501
  input: __S(944, __c59, 0) as any as S.Schema<GetMessageContentRequest>,
4448
4502
  output: __S(945, __c59, 1) as any as S.Schema<GetMessageContentResponse>,
4449
- errors: [NotFound, MailchimpTransactionalError, UnknownMailchimpError],
4503
+ errors: [NotFound],
4504
+ serviceErrors: MailchimpServiceErrors,
4450
4505
  protocol: MailchimpTransactionalProtocol,
4451
4506
  retry: Retry.Retry,
4452
4507
  telemetry: TELEMETRY,
@@ -4463,7 +4518,8 @@ export const getSender: API.OperationMethod<
4463
4518
  > = /*@__PURE__*/ API.make(() => ({
4464
4519
  input: __S(976, __c61, 0) as any as S.Schema<GetSenderRequest>,
4465
4520
  output: __S(977, __c61, 1) as any as S.Schema<GetSenderResponse>,
4466
- errors: [NotFound, MailchimpTransactionalError, UnknownMailchimpError],
4521
+ errors: [NotFound],
4522
+ serviceErrors: MailchimpServiceErrors,
4467
4523
  protocol: MailchimpTransactionalProtocol,
4468
4524
  retry: Retry.Retry,
4469
4525
  telemetry: TELEMETRY,
@@ -4480,7 +4536,8 @@ export const getSenderTimeSeries: API.OperationMethod<
4480
4536
  > = /*@__PURE__*/ API.make(() => ({
4481
4537
  input: __S(1056, __c66, 0) as any as S.Schema<GetSenderTimeSeriesRequest>,
4482
4538
  output: __S(1074, __c67, 2) as any as S.Schema<GetSenderTimeSeriesResponse>,
4483
- errors: [NotFound, MailchimpTransactionalError, UnknownMailchimpError],
4539
+ errors: [NotFound],
4540
+ serviceErrors: MailchimpServiceErrors,
4484
4541
  protocol: MailchimpTransactionalProtocol,
4485
4542
  retry: Retry.Retry,
4486
4543
  telemetry: TELEMETRY,
@@ -4497,7 +4554,8 @@ export const getSubaccount: API.OperationMethod<
4497
4554
  > = /*@__PURE__*/ API.make(() => ({
4498
4555
  input: __S(1088, __c68, 0) as any as S.Schema<GetSubaccountRequest>,
4499
4556
  output: __S(1089, __c68, 1) as any as S.Schema<GetSubaccountResponse>,
4500
- errors: [NotFound, MailchimpTransactionalError, UnknownMailchimpError],
4557
+ errors: [NotFound],
4558
+ serviceErrors: MailchimpServiceErrors,
4501
4559
  protocol: MailchimpTransactionalProtocol,
4502
4560
  retry: Retry.Retry,
4503
4561
  telemetry: TELEMETRY,
@@ -4514,7 +4572,8 @@ export const getTag: API.OperationMethod<
4514
4572
  > = /*@__PURE__*/ API.make(() => ({
4515
4573
  input: __S(1104, __c69, 0) as any as S.Schema<GetTagRequest>,
4516
4574
  output: __S(1105, __c69, 1) as any as S.Schema<GetTagResponse>,
4517
- errors: [BadRequest, MailchimpTransactionalError, UnknownMailchimpError],
4575
+ errors: [BadRequest],
4576
+ serviceErrors: MailchimpServiceErrors,
4518
4577
  protocol: MailchimpTransactionalProtocol,
4519
4578
  retry: Retry.Retry,
4520
4579
  telemetry: TELEMETRY,
@@ -4531,7 +4590,8 @@ export const getTagTimeSeries: API.OperationMethod<
4531
4590
  > = /*@__PURE__*/ API.make(() => ({
4532
4591
  input: __S(1120, __c70, 0) as any as S.Schema<GetTagTimeSeriesRequest>,
4533
4592
  output: __S(802, __c50, 2) as any as S.Schema<GetTagTimeSeriesResponse>,
4534
- errors: [BadRequest, MailchimpTransactionalError, UnknownMailchimpError],
4593
+ errors: [BadRequest],
4594
+ serviceErrors: MailchimpServiceErrors,
4535
4595
  protocol: MailchimpTransactionalProtocol,
4536
4596
  retry: Retry.Retry,
4537
4597
  telemetry: TELEMETRY,
@@ -4548,7 +4608,8 @@ export const getTemplate: API.OperationMethod<
4548
4608
  > = /*@__PURE__*/ API.make(() => ({
4549
4609
  input: __S(1136, __c71, 0) as any as S.Schema<GetTemplateRequest>,
4550
4610
  output: __S(176, __c11, 0) as any as S.Schema<GetTemplateResponse>,
4551
- errors: [NotFound, MailchimpTransactionalError, UnknownMailchimpError],
4611
+ errors: [NotFound],
4612
+ serviceErrors: MailchimpServiceErrors,
4552
4613
  protocol: MailchimpTransactionalProtocol,
4553
4614
  retry: Retry.Retry,
4554
4615
  telemetry: TELEMETRY,
@@ -4565,7 +4626,8 @@ export const getTemplateTimeSeries: API.OperationMethod<
4565
4626
  > = /*@__PURE__*/ API.make(() => ({
4566
4627
  input: __S(1152, __c72, 0) as any as S.Schema<GetTemplateTimeSeriesRequest>,
4567
4628
  output: __S(1074, __c67, 2) as any as S.Schema<GetTemplateTimeSeriesResponse>,
4568
- errors: [NotFound, MailchimpTransactionalError, UnknownMailchimpError],
4629
+ errors: [NotFound],
4630
+ serviceErrors: MailchimpServiceErrors,
4569
4631
  protocol: MailchimpTransactionalProtocol,
4570
4632
  retry: Retry.Retry,
4571
4633
  telemetry: TELEMETRY,
@@ -4582,7 +4644,8 @@ export const getUser: API.OperationMethod<
4582
4644
  > = /*@__PURE__*/ API.make(() => ({
4583
4645
  input: __S(1168, __c73, 0) as any as S.Schema<GetUserRequest>,
4584
4646
  output: __S(1170, __c73, 2) as any as S.Schema<GetUserResponse>,
4585
- errors: [MailchimpTransactionalError, UnknownMailchimpError],
4647
+ errors: [],
4648
+ serviceErrors: MailchimpServiceErrors,
4586
4649
  protocol: MailchimpTransactionalProtocol,
4587
4650
  retry: Retry.Retry,
4588
4651
  telemetry: TELEMETRY,
@@ -4599,7 +4662,8 @@ export const getWebhook: API.OperationMethod<
4599
4662
  > = /*@__PURE__*/ API.make(() => ({
4600
4663
  input: __S(1184, __c74, 0) as any as S.Schema<GetWebhookRequest>,
4601
4664
  output: __S(256, __c16, 0) as any as S.Schema<GetWebhookResponse>,
4602
- errors: [NotFound, MailchimpTransactionalError, UnknownMailchimpError],
4665
+ errors: [NotFound],
4666
+ serviceErrors: MailchimpServiceErrors,
4603
4667
  protocol: MailchimpTransactionalProtocol,
4604
4668
  retry: Retry.Retry,
4605
4669
  telemetry: TELEMETRY,
@@ -4616,7 +4680,8 @@ export const listAllowlistEntries: API.OperationMethod<
4616
4680
  > = /*@__PURE__*/ API.make(() => ({
4617
4681
  input: __S(1200, __c75, 0) as any as S.Schema<ListAllowlistEntriesRequest>,
4618
4682
  output: __S(1203, __c75, 3) as any as S.Schema<ListAllowlistEntriesResponse>,
4619
- errors: [MailchimpTransactionalError, UnknownMailchimpError],
4683
+ errors: [],
4684
+ serviceErrors: MailchimpServiceErrors,
4620
4685
  protocol: MailchimpTransactionalProtocol,
4621
4686
  retry: Retry.Retry,
4622
4687
  telemetry: TELEMETRY,
@@ -4633,7 +4698,8 @@ export const listExports: API.OperationMethod<
4633
4698
  > = /*@__PURE__*/ API.make(() => ({
4634
4699
  input: __S(1216, __c76, 0) as any as S.Schema<ListExportsRequest>,
4635
4700
  output: __S(1218, __c76, 2) as any as S.Schema<ListExportsResponse>,
4636
- errors: [MailchimpTransactionalError, UnknownMailchimpError],
4701
+ errors: [],
4702
+ serviceErrors: MailchimpServiceErrors,
4637
4703
  protocol: MailchimpTransactionalProtocol,
4638
4704
  retry: Retry.Retry,
4639
4705
  telemetry: TELEMETRY,
@@ -4650,7 +4716,8 @@ export const listInboundDomains: API.OperationMethod<
4650
4716
  > = /*@__PURE__*/ API.make(() => ({
4651
4717
  input: __S(1264, __c79, 0) as any as S.Schema<ListInboundDomainsRequest>,
4652
4718
  output: __S(1266, __c79, 2) as any as S.Schema<ListInboundDomainsResponse>,
4653
- errors: [MailchimpTransactionalError, UnknownMailchimpError],
4719
+ errors: [],
4720
+ serviceErrors: MailchimpServiceErrors,
4654
4721
  protocol: MailchimpTransactionalProtocol,
4655
4722
  retry: Retry.Retry,
4656
4723
  telemetry: TELEMETRY,
@@ -4667,7 +4734,8 @@ export const listInboundRoutes: API.OperationMethod<
4667
4734
  > = /*@__PURE__*/ API.make(() => ({
4668
4735
  input: __S(1280, __c80, 0) as any as S.Schema<ListInboundRoutesRequest>,
4669
4736
  output: __S(1282, __c80, 2) as any as S.Schema<ListInboundRoutesResponse>,
4670
- errors: [NotFound, MailchimpTransactionalError, UnknownMailchimpError],
4737
+ errors: [NotFound],
4738
+ serviceErrors: MailchimpServiceErrors,
4671
4739
  protocol: MailchimpTransactionalProtocol,
4672
4740
  retry: Retry.Retry,
4673
4741
  telemetry: TELEMETRY,
@@ -4684,7 +4752,8 @@ export const listIpPools: API.OperationMethod<
4684
4752
  > = /*@__PURE__*/ API.make(() => ({
4685
4753
  input: __S(1296, __c81, 0) as any as S.Schema<ListIpPoolsRequest>,
4686
4754
  output: __S(1298, __c81, 2) as any as S.Schema<ListIpPoolsResponse>,
4687
- errors: [MailchimpTransactionalError, UnknownMailchimpError],
4755
+ errors: [],
4756
+ serviceErrors: MailchimpServiceErrors,
4688
4757
  protocol: MailchimpTransactionalProtocol,
4689
4758
  retry: Retry.Retry,
4690
4759
  telemetry: TELEMETRY,
@@ -4701,7 +4770,8 @@ export const listIps: API.OperationMethod<
4701
4770
  > = /*@__PURE__*/ API.make(() => ({
4702
4771
  input: __S(1312, __c82, 0) as any as S.Schema<ListIpsRequest>,
4703
4772
  output: __S(1313, __c82, 1) as any as S.Schema<ListIpsResponse>,
4704
- errors: [MailchimpTransactionalError, UnknownMailchimpError],
4773
+ errors: [],
4774
+ serviceErrors: MailchimpServiceErrors,
4705
4775
  protocol: MailchimpTransactionalProtocol,
4706
4776
  retry: Retry.Retry,
4707
4777
  telemetry: TELEMETRY,
@@ -4718,7 +4788,8 @@ export const listMcTemplates: API.OperationMethod<
4718
4788
  > = /*@__PURE__*/ API.make(() => ({
4719
4789
  input: __S(1328, __c83, 0) as any as S.Schema<ListMcTemplatesRequest>,
4720
4790
  output: __S(1330, __c83, 2) as any as S.Schema<ListMcTemplatesResponse>,
4721
- errors: [MailchimpTransactionalError, UnknownMailchimpError],
4791
+ errors: [],
4792
+ serviceErrors: MailchimpServiceErrors,
4722
4793
  protocol: MailchimpTransactionalProtocol,
4723
4794
  retry: Retry.Retry,
4724
4795
  telemetry: TELEMETRY,
@@ -4735,7 +4806,8 @@ export const listMetadataFields: API.OperationMethod<
4735
4806
  > = /*@__PURE__*/ API.make(() => ({
4736
4807
  input: __S(1344, __c84, 0) as any as S.Schema<ListMetadataFieldsRequest>,
4737
4808
  output: __S(1346, __c84, 2) as any as S.Schema<ListMetadataFieldsResponse>,
4738
- errors: [MailchimpTransactionalError, UnknownMailchimpError],
4809
+ errors: [],
4810
+ serviceErrors: MailchimpServiceErrors,
4739
4811
  protocol: MailchimpTransactionalProtocol,
4740
4812
  retry: Retry.Retry,
4741
4813
  telemetry: TELEMETRY,
@@ -4752,7 +4824,8 @@ export const listRejects: API.OperationMethod<
4752
4824
  > = /*@__PURE__*/ API.make(() => ({
4753
4825
  input: __S(1360, __c85, 0) as any as S.Schema<ListRejectsRequest>,
4754
4826
  output: __S(1363, __c85, 3) as any as S.Schema<ListRejectsResponse>,
4755
- errors: [NotFound, MailchimpTransactionalError, UnknownMailchimpError],
4827
+ errors: [NotFound],
4828
+ serviceErrors: MailchimpServiceErrors,
4756
4829
  protocol: MailchimpTransactionalProtocol,
4757
4830
  retry: Retry.Retry,
4758
4831
  telemetry: TELEMETRY,
@@ -4769,7 +4842,8 @@ export const listScheduledMessages: API.OperationMethod<
4769
4842
  > = /*@__PURE__*/ API.make(() => ({
4770
4843
  input: __S(1392, __c87, 0) as any as S.Schema<ListScheduledMessagesRequest>,
4771
4844
  output: __S(322, __c20, 2) as any as S.Schema<ListScheduledMessagesResponse>,
4772
- errors: [MailchimpTransactionalError, UnknownMailchimpError],
4845
+ errors: [],
4846
+ serviceErrors: MailchimpServiceErrors,
4773
4847
  protocol: MailchimpTransactionalProtocol,
4774
4848
  retry: Retry.Retry,
4775
4849
  telemetry: TELEMETRY,
@@ -4786,7 +4860,8 @@ export const listSenderDomains: API.OperationMethod<
4786
4860
  > = /*@__PURE__*/ API.make(() => ({
4787
4861
  input: __S(1408, __c88, 0) as any as S.Schema<ListSenderDomainsRequest>,
4788
4862
  output: __S(1410, __c88, 2) as any as S.Schema<ListSenderDomainsResponse>,
4789
- errors: [MailchimpTransactionalError, UnknownMailchimpError],
4863
+ errors: [],
4864
+ serviceErrors: MailchimpServiceErrors,
4790
4865
  protocol: MailchimpTransactionalProtocol,
4791
4866
  retry: Retry.Retry,
4792
4867
  telemetry: TELEMETRY,
@@ -4803,7 +4878,8 @@ export const listSenders: API.OperationMethod<
4803
4878
  > = /*@__PURE__*/ API.make(() => ({
4804
4879
  input: __S(1424, __c89, 0) as any as S.Schema<ListSendersRequest>,
4805
4880
  output: __S(1441, __c90, 1) as any as S.Schema<ListSendersResponse>,
4806
- errors: [MailchimpTransactionalError, UnknownMailchimpError],
4881
+ errors: [],
4882
+ serviceErrors: MailchimpServiceErrors,
4807
4883
  protocol: MailchimpTransactionalProtocol,
4808
4884
  retry: Retry.Retry,
4809
4885
  telemetry: TELEMETRY,
@@ -4820,7 +4896,8 @@ export const listSmsRejects: API.OperationMethod<
4820
4896
  > = /*@__PURE__*/ API.make(() => ({
4821
4897
  input: __S(1488, __c93, 0) as any as S.Schema<ListSmsRejectsRequest>,
4822
4898
  output: __S(1491, __c93, 3) as any as S.Schema<ListSmsRejectsResponse>,
4823
- errors: [UnprocessableEntity, MailchimpTransactionalError, UnknownMailchimpError],
4899
+ errors: [UnprocessableEntity],
4900
+ serviceErrors: MailchimpServiceErrors,
4824
4901
  protocol: MailchimpTransactionalProtocol,
4825
4902
  retry: Retry.Retry,
4826
4903
  telemetry: TELEMETRY,
@@ -4837,7 +4914,8 @@ export const listSubaccounts: API.OperationMethod<
4837
4914
  > = /*@__PURE__*/ API.make(() => ({
4838
4915
  input: __S(1504, __c94, 0) as any as S.Schema<ListSubaccountsRequest>,
4839
4916
  output: __S(1506, __c94, 2) as any as S.Schema<ListSubaccountsResponse>,
4840
- errors: [MailchimpTransactionalError, UnknownMailchimpError],
4917
+ errors: [],
4918
+ serviceErrors: MailchimpServiceErrors,
4841
4919
  protocol: MailchimpTransactionalProtocol,
4842
4920
  retry: Retry.Retry,
4843
4921
  telemetry: TELEMETRY,
@@ -4854,7 +4932,8 @@ export const listTags: API.OperationMethod<
4854
4932
  > = /*@__PURE__*/ API.make(() => ({
4855
4933
  input: __S(1520, __c95, 0) as any as S.Schema<ListTagsRequest>,
4856
4934
  output: __S(1522, __c95, 2) as any as S.Schema<ListTagsResponse>,
4857
- errors: [MailchimpTransactionalError, UnknownMailchimpError],
4935
+ errors: [],
4936
+ serviceErrors: MailchimpServiceErrors,
4858
4937
  protocol: MailchimpTransactionalProtocol,
4859
4938
  retry: Retry.Retry,
4860
4939
  telemetry: TELEMETRY,
@@ -4871,7 +4950,8 @@ export const listTemplates: API.OperationMethod<
4871
4950
  > = /*@__PURE__*/ API.make(() => ({
4872
4951
  input: __S(1536, __c96, 0) as any as S.Schema<ListTemplatesRequest>,
4873
4952
  output: __S(1538, __c96, 2) as any as S.Schema<ListTemplatesResponse>,
4874
- errors: [MailchimpTransactionalError, UnknownMailchimpError],
4953
+ errors: [],
4954
+ serviceErrors: MailchimpServiceErrors,
4875
4955
  protocol: MailchimpTransactionalProtocol,
4876
4956
  retry: Retry.Retry,
4877
4957
  telemetry: TELEMETRY,
@@ -4888,7 +4968,8 @@ export const listTrackingDomains: API.OperationMethod<
4888
4968
  > = /*@__PURE__*/ API.make(() => ({
4889
4969
  input: __S(1552, __c97, 0) as any as S.Schema<ListTrackingDomainsRequest>,
4890
4970
  output: __S(1554, __c97, 2) as any as S.Schema<ListTrackingDomainsResponse>,
4891
- errors: [MailchimpTransactionalError, UnknownMailchimpError],
4971
+ errors: [],
4972
+ serviceErrors: MailchimpServiceErrors,
4892
4973
  protocol: MailchimpTransactionalProtocol,
4893
4974
  retry: Retry.Retry,
4894
4975
  telemetry: TELEMETRY,
@@ -4905,7 +4986,8 @@ export const listUserSenders: API.OperationMethod<
4905
4986
  > = /*@__PURE__*/ API.make(() => ({
4906
4987
  input: __S(1568, __c98, 0) as any as S.Schema<ListUserSendersRequest>,
4907
4988
  output: __S(1441, __c90, 1) as any as S.Schema<ListUserSendersResponse>,
4908
- errors: [MailchimpTransactionalError, UnknownMailchimpError],
4989
+ errors: [],
4990
+ serviceErrors: MailchimpServiceErrors,
4909
4991
  protocol: MailchimpTransactionalProtocol,
4910
4992
  retry: Retry.Retry,
4911
4993
  telemetry: TELEMETRY,
@@ -4922,7 +5004,8 @@ export const listWebhooks: API.OperationMethod<
4922
5004
  > = /*@__PURE__*/ API.make(() => ({
4923
5005
  input: __S(1584, __c99, 0) as any as S.Schema<ListWebhooksRequest>,
4924
5006
  output: __S(1586, __c99, 2) as any as S.Schema<ListWebhooksResponse>,
4925
- errors: [MailchimpTransactionalError, UnknownMailchimpError],
5007
+ errors: [],
5008
+ serviceErrors: MailchimpServiceErrors,
4926
5009
  protocol: MailchimpTransactionalProtocol,
4927
5010
  retry: Retry.Retry,
4928
5011
  telemetry: TELEMETRY,
@@ -4939,7 +5022,8 @@ export const parseMessage: API.OperationMethod<
4939
5022
  > = /*@__PURE__*/ API.make(() => ({
4940
5023
  input: __S(1600, __c100, 0) as any as S.Schema<ParseMessageRequest>,
4941
5024
  output: __S(1604, __c100, 4) as any as S.Schema<ParseMessageResponse>,
4942
- errors: [UnprocessableEntity, MailchimpTransactionalError, UnknownMailchimpError],
5025
+ errors: [UnprocessableEntity],
5026
+ serviceErrors: MailchimpServiceErrors,
4943
5027
  protocol: MailchimpTransactionalProtocol,
4944
5028
  retry: Retry.Retry,
4945
5029
  telemetry: TELEMETRY,
@@ -4956,7 +5040,8 @@ export const pauseSubaccount: API.OperationMethod<
4956
5040
  > = /*@__PURE__*/ API.make(() => ({
4957
5041
  input: __S(1616, __c101, 0) as any as S.Schema<PauseSubaccountRequest>,
4958
5042
  output: __S(128, __c8, 0) as any as S.Schema<PauseSubaccountResponse>,
4959
- errors: [NotFound, MailchimpTransactionalError, UnknownMailchimpError],
5043
+ errors: [NotFound],
5044
+ serviceErrors: MailchimpServiceErrors,
4960
5045
  protocol: MailchimpTransactionalProtocol,
4961
5046
  retry: Retry.Retry,
4962
5047
  telemetry: TELEMETRY,
@@ -4973,7 +5058,8 @@ export const ping: API.OperationMethod<
4973
5058
  > = /*@__PURE__*/ API.make(() => ({
4974
5059
  input: __S(1632, __c102, 0) as any as S.Schema<PingRequest>,
4975
5060
  output: __S(1633, __c102, 1) as any as S.Schema<PingResponse>,
4976
- errors: [MailchimpTransactionalError, UnknownMailchimpError],
5061
+ errors: [],
5062
+ serviceErrors: MailchimpServiceErrors,
4977
5063
  protocol: MailchimpTransactionalProtocol,
4978
5064
  retry: Retry.Retry,
4979
5065
  telemetry: TELEMETRY,
@@ -4990,7 +5076,8 @@ export const ping2: API.OperationMethod<
4990
5076
  > = /*@__PURE__*/ API.make(() => ({
4991
5077
  input: __S(1680, __c105, 0) as any as S.Schema<Ping2Request>,
4992
5078
  output: __S(1681, __c105, 1) as any as S.Schema<Ping2Response>,
4993
- errors: [MailchimpTransactionalError, UnknownMailchimpError],
5079
+ errors: [],
5080
+ serviceErrors: MailchimpServiceErrors,
4994
5081
  protocol: MailchimpTransactionalProtocol,
4995
5082
  retry: Retry.Retry,
4996
5083
  telemetry: TELEMETRY,
@@ -5007,7 +5094,8 @@ export const provisionIp: API.OperationMethod<
5007
5094
  > = /*@__PURE__*/ API.make(() => ({
5008
5095
  input: __S(1696, __c106, 0) as any as S.Schema<ProvisionIpRequest>,
5009
5096
  output: __S(1697, __c106, 1) as any as S.Schema<ProvisionIpResponse>,
5010
- errors: [PaymentRequired, NotFound, MailchimpTransactionalError, UnknownMailchimpError],
5097
+ errors: [PaymentRequired, NotFound],
5098
+ serviceErrors: MailchimpServiceErrors,
5011
5099
  protocol: MailchimpTransactionalProtocol,
5012
5100
  retry: Retry.Retry,
5013
5101
  telemetry: TELEMETRY,
@@ -5024,7 +5112,8 @@ export const publishTemplate: API.OperationMethod<
5024
5112
  > = /*@__PURE__*/ API.make(() => ({
5025
5113
  input: __S(1712, __c107, 0) as any as S.Schema<PublishTemplateRequest>,
5026
5114
  output: __S(176, __c11, 0) as any as S.Schema<PublishTemplateResponse>,
5027
- errors: [NotFound, MailchimpTransactionalError, UnknownMailchimpError],
5115
+ errors: [NotFound],
5116
+ serviceErrors: MailchimpServiceErrors,
5028
5117
  protocol: MailchimpTransactionalProtocol,
5029
5118
  retry: Retry.Retry,
5030
5119
  telemetry: TELEMETRY,
@@ -5041,7 +5130,8 @@ export const renderMcTemplate: API.OperationMethod<
5041
5130
  > = /*@__PURE__*/ API.make(() => ({
5042
5131
  input: __S(1728, __c108, 0) as any as S.Schema<RenderMcTemplateRequest>,
5043
5132
  output: __S(1744, __c109, 0) as any as S.Schema<RenderMcTemplateResponse>,
5044
- errors: [NotFound, UnprocessableEntity, MailchimpTransactionalError, UnknownMailchimpError],
5133
+ errors: [NotFound, UnprocessableEntity],
5134
+ serviceErrors: MailchimpServiceErrors,
5045
5135
  protocol: MailchimpTransactionalProtocol,
5046
5136
  retry: Retry.Retry,
5047
5137
  telemetry: TELEMETRY,
@@ -5058,7 +5148,8 @@ export const renderTemplate: API.OperationMethod<
5058
5148
  > = /*@__PURE__*/ API.make(() => ({
5059
5149
  input: __S(1778, __c111, 2) as any as S.Schema<RenderTemplateRequest>,
5060
5150
  output: __S(1744, __c109, 0) as any as S.Schema<RenderTemplateResponse>,
5061
- errors: [NotFound, MailchimpTransactionalError, UnknownMailchimpError],
5151
+ errors: [NotFound],
5152
+ serviceErrors: MailchimpServiceErrors,
5062
5153
  protocol: MailchimpTransactionalProtocol,
5063
5154
  retry: Retry.Retry,
5064
5155
  telemetry: TELEMETRY,
@@ -5075,7 +5166,8 @@ export const rescheduleMessage: API.OperationMethod<
5075
5166
  > = /*@__PURE__*/ API.make(() => ({
5076
5167
  input: __S(1792, __c112, 0) as any as S.Schema<RescheduleMessageRequest>,
5077
5168
  output: __S(322, __c20, 2) as any as S.Schema<RescheduleMessageResponse>,
5078
- errors: [NotFound, MailchimpTransactionalError, UnknownMailchimpError],
5169
+ errors: [NotFound],
5170
+ serviceErrors: MailchimpServiceErrors,
5079
5171
  protocol: MailchimpTransactionalProtocol,
5080
5172
  retry: Retry.Retry,
5081
5173
  telemetry: TELEMETRY,
@@ -5092,7 +5184,8 @@ export const resumeSubaccount: API.OperationMethod<
5092
5184
  > = /*@__PURE__*/ API.make(() => ({
5093
5185
  input: __S(1808, __c113, 0) as any as S.Schema<ResumeSubaccountRequest>,
5094
5186
  output: __S(128, __c8, 0) as any as S.Schema<ResumeSubaccountResponse>,
5095
- errors: [NotFound, MailchimpTransactionalError, UnknownMailchimpError],
5187
+ errors: [NotFound],
5188
+ serviceErrors: MailchimpServiceErrors,
5096
5189
  protocol: MailchimpTransactionalProtocol,
5097
5190
  retry: Retry.Retry,
5098
5191
  telemetry: TELEMETRY,
@@ -5109,7 +5202,8 @@ export const searchMessages: API.OperationMethod<
5109
5202
  > = /*@__PURE__*/ API.make(() => ({
5110
5203
  input: __S(1824, __c114, 0) as any as S.Schema<SearchMessagesRequest>,
5111
5204
  output: __S(1827, __c114, 3) as any as S.Schema<SearchMessagesResponse>,
5112
- errors: [MailchimpTransactionalError, UnknownMailchimpError],
5205
+ errors: [],
5206
+ serviceErrors: MailchimpServiceErrors,
5113
5207
  protocol: MailchimpTransactionalProtocol,
5114
5208
  retry: Retry.Retry,
5115
5209
  telemetry: TELEMETRY,
@@ -5126,7 +5220,8 @@ export const searchMessagesTimeSeries: API.OperationMethod<
5126
5220
  > = /*@__PURE__*/ API.make(() => ({
5127
5221
  input: __S(1840, __c115, 0) as any as S.Schema<SearchMessagesTimeSeriesRequest>,
5128
5222
  output: __S(802, __c50, 2) as any as S.Schema<SearchMessagesTimeSeriesResponse>,
5129
- errors: [MailchimpTransactionalError, UnknownMailchimpError],
5223
+ errors: [],
5224
+ serviceErrors: MailchimpServiceErrors,
5130
5225
  protocol: MailchimpTransactionalProtocol,
5131
5226
  retry: Retry.Retry,
5132
5227
  telemetry: TELEMETRY,
@@ -5143,7 +5238,8 @@ export const sendMcTemplate: API.OperationMethod<
5143
5238
  > = /*@__PURE__*/ API.make(() => ({
5144
5239
  input: __S(1856, __c116, 0) as any as S.Schema<SendMcTemplateRequest>,
5145
5240
  output: __S(1874, __c117, 2) as any as S.Schema<SendMcTemplateResponse>,
5146
- errors: [PaymentRequired, NotFound, MailchimpTransactionalError, UnknownMailchimpError],
5241
+ errors: [PaymentRequired, NotFound],
5242
+ serviceErrors: MailchimpServiceErrors,
5147
5243
  protocol: MailchimpTransactionalProtocol,
5148
5244
  retry: Retry.Retry,
5149
5245
  telemetry: TELEMETRY,
@@ -5160,7 +5256,8 @@ export const sendMessage: API.OperationMethod<
5160
5256
  > = /*@__PURE__*/ API.make(() => ({
5161
5257
  input: __S(1920, __c120, 0) as any as S.Schema<SendMessageRequest>,
5162
5258
  output: __S(1874, __c117, 2) as any as S.Schema<SendMessageResponse>,
5163
- errors: [PaymentRequired, NotFound, MailchimpTransactionalError, UnknownMailchimpError],
5259
+ errors: [PaymentRequired, NotFound],
5260
+ serviceErrors: MailchimpServiceErrors,
5164
5261
  protocol: MailchimpTransactionalProtocol,
5165
5262
  retry: Retry.Retry,
5166
5263
  telemetry: TELEMETRY,
@@ -5177,7 +5274,8 @@ export const sendRawInbound: API.OperationMethod<
5177
5274
  > = /*@__PURE__*/ API.make(() => ({
5178
5275
  input: __S(1936, __c121, 0) as any as S.Schema<SendRawInboundRequest>,
5179
5276
  output: __S(1939, __c121, 3) as any as S.Schema<SendRawInboundResponse>,
5180
- errors: [NotFound, MailchimpTransactionalError, UnknownMailchimpError],
5277
+ errors: [NotFound],
5278
+ serviceErrors: MailchimpServiceErrors,
5181
5279
  protocol: MailchimpTransactionalProtocol,
5182
5280
  retry: Retry.Retry,
5183
5281
  telemetry: TELEMETRY,
@@ -5194,7 +5292,8 @@ export const sendRawMessage: API.OperationMethod<
5194
5292
  > = /*@__PURE__*/ API.make(() => ({
5195
5293
  input: __S(1952, __c122, 0) as any as S.Schema<SendRawMessageRequest>,
5196
5294
  output: __S(1874, __c117, 2) as any as S.Schema<SendRawMessageResponse>,
5197
- errors: [PaymentRequired, NotFound, MailchimpTransactionalError, UnknownMailchimpError],
5295
+ errors: [PaymentRequired, NotFound],
5296
+ serviceErrors: MailchimpServiceErrors,
5198
5297
  protocol: MailchimpTransactionalProtocol,
5199
5298
  retry: Retry.Retry,
5200
5299
  telemetry: TELEMETRY,
@@ -5211,7 +5310,8 @@ export const sendSms: API.OperationMethod<
5211
5310
  > = /*@__PURE__*/ API.make(() => ({
5212
5311
  input: __S(1970, __c123, 2) as any as S.Schema<SendSmsRequest>,
5213
5312
  output: __S(1973, __c123, 5) as any as S.Schema<SendSmsResponse>,
5214
- errors: [NotFound, MailchimpTransactionalError, UnknownMailchimpError],
5313
+ errors: [NotFound],
5314
+ serviceErrors: MailchimpServiceErrors,
5215
5315
  protocol: MailchimpTransactionalProtocol,
5216
5316
  retry: Retry.Retry,
5217
5317
  telemetry: TELEMETRY,
@@ -5228,7 +5328,8 @@ export const sendTemplate: API.OperationMethod<
5228
5328
  > = /*@__PURE__*/ API.make(() => ({
5229
5329
  input: __S(1984, __c124, 0) as any as S.Schema<SendTemplateRequest>,
5230
5330
  output: __S(1874, __c117, 2) as any as S.Schema<SendTemplateResponse>,
5231
- errors: [PaymentRequired, NotFound, MailchimpTransactionalError, UnknownMailchimpError],
5331
+ errors: [PaymentRequired, NotFound],
5332
+ serviceErrors: MailchimpServiceErrors,
5232
5333
  protocol: MailchimpTransactionalProtocol,
5233
5334
  retry: Retry.Retry,
5234
5335
  telemetry: TELEMETRY,
@@ -5245,7 +5346,8 @@ export const setIpCustomDns: API.OperationMethod<
5245
5346
  > = /*@__PURE__*/ API.make(() => ({
5246
5347
  input: __S(2000, __c125, 0) as any as S.Schema<SetIpCustomDnsRequest>,
5247
5348
  output: __S(290, __c18, 2) as any as S.Schema<SetIpCustomDnsResponse>,
5248
- errors: [BadRequest, NotFound, MailchimpTransactionalError, UnknownMailchimpError],
5349
+ errors: [BadRequest, NotFound],
5350
+ serviceErrors: MailchimpServiceErrors,
5249
5351
  protocol: MailchimpTransactionalProtocol,
5250
5352
  retry: Retry.Retry,
5251
5353
  telemetry: TELEMETRY,
@@ -5262,7 +5364,8 @@ export const setIpPool: API.OperationMethod<
5262
5364
  > = /*@__PURE__*/ API.make(() => ({
5263
5365
  input: __S(2016, __c126, 0) as any as S.Schema<SetIpPoolRequest>,
5264
5366
  output: __S(290, __c18, 2) as any as S.Schema<SetIpPoolResponse>,
5265
- errors: [BadRequest, NotFound, MailchimpTransactionalError, UnknownMailchimpError],
5367
+ errors: [BadRequest, NotFound],
5368
+ serviceErrors: MailchimpServiceErrors,
5266
5369
  protocol: MailchimpTransactionalProtocol,
5267
5370
  retry: Retry.Retry,
5268
5371
  telemetry: TELEMETRY,
@@ -5279,7 +5382,8 @@ export const startIpWarmup: API.OperationMethod<
5279
5382
  > = /*@__PURE__*/ API.make(() => ({
5280
5383
  input: __S(2032, __c127, 0) as any as S.Schema<StartIpWarmupRequest>,
5281
5384
  output: __S(290, __c18, 2) as any as S.Schema<StartIpWarmupResponse>,
5282
- errors: [NotFound, MailchimpTransactionalError, UnknownMailchimpError],
5385
+ errors: [NotFound],
5386
+ serviceErrors: MailchimpServiceErrors,
5283
5387
  protocol: MailchimpTransactionalProtocol,
5284
5388
  retry: Retry.Retry,
5285
5389
  telemetry: TELEMETRY,
@@ -5296,7 +5400,8 @@ export const updateInboundRoute: API.OperationMethod<
5296
5400
  > = /*@__PURE__*/ API.make(() => ({
5297
5401
  input: __S(2048, __c128, 0) as any as S.Schema<UpdateInboundRouteRequest>,
5298
5402
  output: __S(1472, __c92, 0) as any as S.Schema<UpdateInboundRouteResponse>,
5299
- errors: [NotFound, MailchimpTransactionalError, UnknownMailchimpError],
5403
+ errors: [NotFound],
5404
+ serviceErrors: MailchimpServiceErrors,
5300
5405
  protocol: MailchimpTransactionalProtocol,
5301
5406
  retry: Retry.Retry,
5302
5407
  telemetry: TELEMETRY,
@@ -5313,7 +5418,8 @@ export const updateMetadataField: API.OperationMethod<
5313
5418
  > = /*@__PURE__*/ API.make(() => ({
5314
5419
  input: __S(2064, __c129, 0) as any as S.Schema<UpdateMetadataFieldRequest>,
5315
5420
  output: __S(1664, __c104, 0) as any as S.Schema<UpdateMetadataFieldResponse>,
5316
- errors: [NotFound, MailchimpTransactionalError, UnknownMailchimpError],
5421
+ errors: [NotFound],
5422
+ serviceErrors: MailchimpServiceErrors,
5317
5423
  protocol: MailchimpTransactionalProtocol,
5318
5424
  retry: Retry.Retry,
5319
5425
  telemetry: TELEMETRY,
@@ -5330,7 +5436,8 @@ export const updateSubaccount: API.OperationMethod<
5330
5436
  > = /*@__PURE__*/ API.make(() => ({
5331
5437
  input: __S(32, __c2, 0) as any as S.Schema<UpdateSubaccountRequest>,
5332
5438
  output: __S(128, __c8, 0) as any as S.Schema<UpdateSubaccountResponse>,
5333
- errors: [NotFound, MailchimpTransactionalError, UnknownMailchimpError],
5439
+ errors: [NotFound],
5440
+ serviceErrors: MailchimpServiceErrors,
5334
5441
  protocol: MailchimpTransactionalProtocol,
5335
5442
  retry: Retry.Retry,
5336
5443
  telemetry: TELEMETRY,
@@ -5347,7 +5454,8 @@ export const updateTemplate: API.OperationMethod<
5347
5454
  > = /*@__PURE__*/ API.make(() => ({
5348
5455
  input: __S(48, __c3, 0) as any as S.Schema<UpdateTemplateRequest>,
5349
5456
  output: __S(176, __c11, 0) as any as S.Schema<UpdateTemplateResponse>,
5350
- errors: [NotFound, MailchimpTransactionalError, UnknownMailchimpError],
5457
+ errors: [NotFound],
5458
+ serviceErrors: MailchimpServiceErrors,
5351
5459
  protocol: MailchimpTransactionalProtocol,
5352
5460
  retry: Retry.Retry,
5353
5461
  telemetry: TELEMETRY,
@@ -5364,7 +5472,8 @@ export const updateWebhook: API.OperationMethod<
5364
5472
  > = /*@__PURE__*/ API.make(() => ({
5365
5473
  input: __S(64, __c4, 0) as any as S.Schema<UpdateWebhookRequest>,
5366
5474
  output: __S(256, __c16, 0) as any as S.Schema<UpdateWebhookResponse>,
5367
- errors: [NotFound, MailchimpTransactionalError, UnknownMailchimpError],
5475
+ errors: [NotFound],
5476
+ serviceErrors: MailchimpServiceErrors,
5368
5477
  protocol: MailchimpTransactionalProtocol,
5369
5478
  retry: Retry.Retry,
5370
5479
  telemetry: TELEMETRY,
@@ -5381,7 +5490,8 @@ export const verifySenderDomain: API.OperationMethod<
5381
5490
  > = /*@__PURE__*/ API.make(() => ({
5382
5491
  input: __S(80, __c5, 0) as any as S.Schema<VerifySenderDomainRequest>,
5383
5492
  output: __S(81, __c5, 1) as any as S.Schema<VerifySenderDomainResponse>,
5384
- errors: [MailchimpTransactionalError, UnknownMailchimpError],
5493
+ errors: [],
5494
+ serviceErrors: MailchimpServiceErrors,
5385
5495
  protocol: MailchimpTransactionalProtocol,
5386
5496
  retry: Retry.Retry,
5387
5497
  telemetry: TELEMETRY,
@@ -5638,7 +5748,7 @@ function __c16(j: number): any {
5638
5748
  id: S.optional(S.NullOr(S.Number)),
5639
5749
  url: S.optional(S.NullOr(S.String)),
5640
5750
  description: S.optional(S.NullOr(S.String)),
5641
- auth_key: S.optional(S.NullOr(S.String)),
5751
+ auth_key: S.optional(S.NullOr(S.String).pipe(T.SensitiveValue({}))),
5642
5752
  events: S.optional(S.NullOr(__S(240, __c15, 0))),
5643
5753
  created_at: S.optional(S.NullOr(S.String)),
5644
5754
  last_sent_at: S.optional(S.NullOr(S.String)),