Skip to content

Commit fe2ce85

Browse files
feat(api): manual updates
1 parent e2d96f6 commit fe2ce85

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+117
-114
lines changed

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 40
22
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sent%2Fsent-dm-294831f61f7890b2cdb89d181f26297732387d5e1288f446c0138e46fb1a4608.yml
33
openapi_spec_hash: a7f20451621ee678fbe09ff7a297b3ea
4-
config_hash: 497506d9e2e66cd0573bd9c1f1242462
4+
config_hash: 478a49d5520c8bb64b43272de11c2872

src/Sentdm.Tests/Models/Contacts/ApiResponseOfContactTest.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public void FieldRoundtrip_Works()
6464
RegionCode = "region_code",
6565
UpdatedAt = DateTimeOffset.Parse("2019-12-27T18:11:19.117Z"),
6666
};
67-
ApiError expectedError = new()
67+
ErrorDetail expectedError = new()
6868
{
6969
Code = "code",
7070
Details = new Dictionary<string, IReadOnlyList<string>>() { { "foo", ["string"] } },
@@ -194,7 +194,7 @@ public void FieldRoundtripThroughSerialization_Works()
194194
RegionCode = "region_code",
195195
UpdatedAt = DateTimeOffset.Parse("2019-12-27T18:11:19.117Z"),
196196
};
197-
ApiError expectedError = new()
197+
ErrorDetail expectedError = new()
198198
{
199199
Code = "code",
200200
Details = new Dictionary<string, IReadOnlyList<string>>() { { "foo", ["string"] } },

src/Sentdm.Tests/Models/Contacts/ContactListResponseTest.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ public void FieldRoundtrip_Works()
9494
TotalPages = 0,
9595
},
9696
};
97-
Webhooks::ApiError expectedError = new()
97+
Webhooks::ErrorDetail expectedError = new()
9898
{
9999
Code = "code",
100100
Details = new Dictionary<string, IReadOnlyList<string>>() { { "foo", ["string"] } },
@@ -269,7 +269,7 @@ public void FieldRoundtripThroughSerialization_Works()
269269
TotalPages = 0,
270270
},
271271
};
272-
Webhooks::ApiError expectedError = new()
272+
Webhooks::ErrorDetail expectedError = new()
273273
{
274274
Code = "code",
275275
Details = new Dictionary<string, IReadOnlyList<string>>() { { "foo", ["string"] } },

src/Sentdm.Tests/Models/Me/MeRetrieveResponseTest.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ public void FieldRoundtrip_Works()
146146
Status = "status",
147147
Type = "type",
148148
};
149-
Webhooks::ApiError expectedError = new()
149+
Webhooks::ErrorDetail expectedError = new()
150150
{
151151
Code = "code",
152152
Details = new Dictionary<string, IReadOnlyList<string>>() { { "foo", ["string"] } },
@@ -399,7 +399,7 @@ public void FieldRoundtripThroughSerialization_Works()
399399
Status = "status",
400400
Type = "type",
401401
};
402-
Webhooks::ApiError expectedError = new()
402+
Webhooks::ErrorDetail expectedError = new()
403403
{
404404
Code = "code",
405405
Details = new Dictionary<string, IReadOnlyList<string>>() { { "foo", ["string"] } },

src/Sentdm.Tests/Models/Messages/MessageRetrieveActivitiesResponseTest.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public void FieldRoundtrip_Works()
6060
],
6161
MessageID = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
6262
};
63-
Webhooks::ApiError expectedError = new()
63+
Webhooks::ErrorDetail expectedError = new()
6464
{
6565
Code = "code",
6666
Details = new Dictionary<string, IReadOnlyList<string>>() { { "foo", ["string"] } },
@@ -184,7 +184,7 @@ public void FieldRoundtripThroughSerialization_Works()
184184
],
185185
MessageID = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
186186
};
187-
Webhooks::ApiError expectedError = new()
187+
Webhooks::ErrorDetail expectedError = new()
188188
{
189189
Code = "code",
190190
Details = new Dictionary<string, IReadOnlyList<string>>() { { "foo", ["string"] } },

src/Sentdm.Tests/Models/Messages/MessageRetrieveStatusResponseTest.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ public void FieldRoundtrip_Works()
9696
TemplateID = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
9797
TemplateName = "template_name",
9898
};
99-
Webhooks::ApiError expectedError = new()
99+
Webhooks::ErrorDetail expectedError = new()
100100
{
101101
Code = "code",
102102
Details = new Dictionary<string, IReadOnlyList<string>>() { { "foo", ["string"] } },
@@ -274,7 +274,7 @@ public void FieldRoundtripThroughSerialization_Works()
274274
TemplateID = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
275275
TemplateName = "template_name",
276276
};
277-
Webhooks::ApiError expectedError = new()
277+
Webhooks::ErrorDetail expectedError = new()
278278
{
279279
Code = "code",
280280
Details = new Dictionary<string, IReadOnlyList<string>>() { { "foo", ["string"] } },

src/Sentdm.Tests/Models/Messages/MessageSendResponseTest.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public void FieldRoundtrip_Works()
6262
TemplateID = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
6363
TemplateName = "template_name",
6464
};
65-
ApiError expectedError = new()
65+
ErrorDetail expectedError = new()
6666
{
6767
Code = "code",
6868
Details = new Dictionary<string, IReadOnlyList<string>>() { { "foo", ["string"] } },
@@ -189,7 +189,7 @@ public void FieldRoundtripThroughSerialization_Works()
189189
TemplateID = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
190190
TemplateName = "template_name",
191191
};
192-
ApiError expectedError = new()
192+
ErrorDetail expectedError = new()
193193
{
194194
Code = "code",
195195
Details = new Dictionary<string, IReadOnlyList<string>>() { { "foo", ["string"] } },

src/Sentdm.Tests/Models/Numbers/NumberLookupResponseTest.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public void FieldRoundtrip_Works()
5454
MobileNetworkCode = "mobile_network_code",
5555
PhoneNumber = "phone_number",
5656
};
57-
Webhooks::ApiError expectedError = new()
57+
Webhooks::ErrorDetail expectedError = new()
5858
{
5959
Code = "code",
6060
Details = new Dictionary<string, IReadOnlyList<string>>() { { "foo", ["string"] } },
@@ -169,7 +169,7 @@ public void FieldRoundtripThroughSerialization_Works()
169169
MobileNetworkCode = "mobile_network_code",
170170
PhoneNumber = "phone_number",
171171
};
172-
Webhooks::ApiError expectedError = new()
172+
Webhooks::ErrorDetail expectedError = new()
173173
{
174174
Code = "code",
175175
Details = new Dictionary<string, IReadOnlyList<string>>() { { "foo", ["string"] } },

src/Sentdm.Tests/Models/Profiles/ApiResponseOfProfileDetailTest.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ public void FieldRoundtrip_Works()
192192
WabaID = "waba_id",
193193
WhatsappPhoneNumber = "whatsapp_phone_number",
194194
};
195-
ApiError expectedError = new()
195+
ErrorDetail expectedError = new()
196196
{
197197
Code = "code",
198198
Details = new Dictionary<string, IReadOnlyList<string>>() { { "foo", ["string"] } },
@@ -514,7 +514,7 @@ public void FieldRoundtripThroughSerialization_Works()
514514
WabaID = "waba_id",
515515
WhatsappPhoneNumber = "whatsapp_phone_number",
516516
};
517-
ApiError expectedError = new()
517+
ErrorDetail expectedError = new()
518518
{
519519
Code = "code",
520520
Details = new Dictionary<string, IReadOnlyList<string>>() { { "foo", ["string"] } },

src/Sentdm.Tests/Models/Profiles/Campaigns/ApiResponseOfTcrCampaignWithUseCasesTest.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ public void FieldRoundtrip_Works()
122122
},
123123
],
124124
};
125-
ApiError expectedError = new()
125+
ErrorDetail expectedError = new()
126126
{
127127
Code = "code",
128128
Details = new Dictionary<string, IReadOnlyList<string>>() { { "foo", ["string"] } },
@@ -339,7 +339,7 @@ public void FieldRoundtripThroughSerialization_Works()
339339
},
340340
],
341341
};
342-
ApiError expectedError = new()
342+
ErrorDetail expectedError = new()
343343
{
344344
Code = "code",
345345
Details = new Dictionary<string, IReadOnlyList<string>>() { { "foo", ["string"] } },

0 commit comments

Comments
 (0)