diff --git a/ShipEngineSDK/Enums/ErrorCode.cs b/ShipEngineSDK/Enums/ErrorCode.cs
index 26fdc481..4322e7a7 100644
--- a/ShipEngineSDK/Enums/ErrorCode.cs
+++ b/ShipEngineSDK/Enums/ErrorCode.cs
@@ -261,5 +261,17 @@ public enum ErrorCode
///
[EnumMember(Value = "webhook_event_type_conflict")]
WebhookEventTypeConflict,
+
+ ///
+ /// Funding source isnt properly configured and can't be used.
+ ///
+ [EnumMember(Value = "funding_source_missing_configuration")]
+ FundingSourceMissingConfiguration,
+
+ ///
+ /// There was an unexpected problem with a funding source.
+ ///
+ [EnumMember(Value = "funding_source_error")]
+ FundingSourceError,
}
}
\ No newline at end of file
diff --git a/ShipEngineSDK/Enums/ErrorType.cs b/ShipEngineSDK/Enums/ErrorType.cs
index 03ba95b2..beed585d 100644
--- a/ShipEngineSDK/Enums/ErrorType.cs
+++ b/ShipEngineSDK/Enums/ErrorType.cs
@@ -41,6 +41,18 @@ public enum ErrorType
/// An unknown or unexpected error occurred in our system. Or an error occurred that has not yet been assigned a specific error_type. If you receive persistent system errors, then please contact our support or check our API status page to see if there's a known issue.
/// /
[EnumMember(Value = "system")]
- System
+ System,
+
+ ///
+ /// General wallet error type.
+ /// /
+ [EnumMember(Value = "wallet")]
+ Wallet,
+
+ ///
+ /// General funding sources error type.
+ /// /
+ [EnumMember(Value = "funding_sources")]
+ FundingSources
}
}
\ No newline at end of file
diff --git a/ShipEngineSDK/PublicAPI.Shipped.txt b/ShipEngineSDK/PublicAPI.Shipped.txt
index 470c837f..fcf163a3 100644
--- a/ShipEngineSDK/PublicAPI.Shipped.txt
+++ b/ShipEngineSDK/PublicAPI.Shipped.txt
@@ -872,6 +872,8 @@ ShipEngineSDK.ErrorCode.Unspecified = 35 -> ShipEngineSDK.ErrorCode
ShipEngineSDK.ErrorCode.VerificationFailure = 36 -> ShipEngineSDK.ErrorCode
ShipEngineSDK.ErrorCode.WarehouseConflict = 37 -> ShipEngineSDK.ErrorCode
ShipEngineSDK.ErrorCode.WebhookEventTypeConflict = 38 -> ShipEngineSDK.ErrorCode
+ShipEngineSDK.ErrorCode.FundingSourceMissingConfiguration = 39 -> ShipEngineSDK.ErrorCode
+ShipEngineSDK.ErrorCode.FundingSourceError = 40 -> ShipEngineSDK.ErrorCode
ShipEngineSDK.ErrorSource
ShipEngineSDK.ErrorSource.Carrier = 1 -> ShipEngineSDK.ErrorSource
ShipEngineSDK.ErrorSource.OrderSource = 2 -> ShipEngineSDK.ErrorSource
diff --git a/ShipEngineSDK/PublicAPI.Unshipped.txt b/ShipEngineSDK/PublicAPI.Unshipped.txt
index c5d7f171..cf4f1cec 100644
--- a/ShipEngineSDK/PublicAPI.Unshipped.txt
+++ b/ShipEngineSDK/PublicAPI.Unshipped.txt
@@ -433,6 +433,8 @@ ShipEngineSDK.Enums.ErrorCode.Unspecified = 35 -> ShipEngineSDK.Enums.ErrorCode
ShipEngineSDK.Enums.ErrorCode.VerificationFailure = 36 -> ShipEngineSDK.Enums.ErrorCode
ShipEngineSDK.Enums.ErrorCode.WarehouseConflict = 37 -> ShipEngineSDK.Enums.ErrorCode
ShipEngineSDK.Enums.ErrorCode.WebhookEventTypeConflict = 38 -> ShipEngineSDK.Enums.ErrorCode
+ShipEngineSDK.Enums.ErrorCode.FundingSourceMissingConfiguration = 39 -> ShipEngineSDK.Enums.ErrorCode
+ShipEngineSDK.Enums.ErrorCode.FundingSourceError = 40 -> ShipEngineSDK.Enums.ErrorCode
ShipEngineSDK.Enums.ErrorSource
ShipEngineSDK.Enums.ErrorSource.Carrier = 1 -> ShipEngineSDK.Enums.ErrorSource
ShipEngineSDK.Enums.ErrorSource.OrderSource = 2 -> ShipEngineSDK.Enums.ErrorSource
@@ -5718,6 +5720,8 @@ static ShipEngineSDK.Model.ErrorCode.Unspecified.get -> ShipEngineSDK.Model.Erro
static ShipEngineSDK.Model.ErrorCode.VerificationFailure.get -> ShipEngineSDK.Model.ErrorCode!
static ShipEngineSDK.Model.ErrorCode.WarehouseConflict.get -> ShipEngineSDK.Model.ErrorCode!
static ShipEngineSDK.Model.ErrorCode.WebhookEventTypeConflict.get -> ShipEngineSDK.Model.ErrorCode!
+static ShipEngineSDK.Model.ErrorCode.FundingSourceMissingConfiguration.get -> ShipEngineSDK.Model.ErrorCode!
+static ShipEngineSDK.Model.ErrorCode.FundingSourceError.get -> ShipEngineSDK.Model.ErrorCode!
static ShipEngineSDK.Model.ErrorSource.Carrier.get -> ShipEngineSDK.Model.ErrorSource!
static ShipEngineSDK.Model.ErrorSource.OrderSource.get -> ShipEngineSDK.Model.ErrorSource!
static ShipEngineSDK.Model.ErrorSource.Shipengine.get -> ShipEngineSDK.Model.ErrorSource!
diff --git a/generation/swagger.json b/generation/swagger.json
index ca870b7f..ae758397 100644
--- a/generation/swagger.json
+++ b/generation/swagger.json
@@ -5641,7 +5641,9 @@
"validation",
"security",
"system",
- "integrations"
+ "integrations",
+ "wallet",
+ "funding_sources"
],
"description": "The type of error\n"
},
@@ -5691,7 +5693,9 @@
"incompatible_paired_labels",
"invalid_charge_event",
"invalid_object",
- "no_rates_returned"
+ "no_rates_returned",
+ "funding_source_missing_configuration",
+ "funding_source_error"
],
"description": "The error code specified for the failed API Call"
},