@forteplatforms/sdk 1.0.504 → 1.0.507

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.
@@ -118,6 +118,18 @@ export interface PaymentObject {
118
118
  * @memberof PaymentObject
119
119
  */
120
120
  stripeStatus?: string | null;
121
+ /**
122
+ *
123
+ * @type {string}
124
+ * @memberof PaymentObject
125
+ */
126
+ lastPaymentErrorMessage?: string | null;
127
+ /**
128
+ *
129
+ * @type {string}
130
+ * @memberof PaymentObject
131
+ */
132
+ lastPaymentErrorCode?: string | null;
121
133
  /**
122
134
  *
123
135
  * @type {string}
@@ -92,6 +92,8 @@ function PaymentObjectFromJSONTyped(json, ignoreDiscriminator) {
92
92
  'supportedPaymentMethods': (json['supportedPaymentMethods'].map(PaymentMethodType_1.PaymentMethodTypeFromJSON)),
93
93
  'stripePaymentIntentId': json['stripePaymentIntentId'],
94
94
  'stripeStatus': json['stripeStatus'] == null ? undefined : json['stripeStatus'],
95
+ 'lastPaymentErrorMessage': json['lastPaymentErrorMessage'] == null ? undefined : json['lastPaymentErrorMessage'],
96
+ 'lastPaymentErrorCode': json['lastPaymentErrorCode'] == null ? undefined : json['lastPaymentErrorCode'],
95
97
  'stripeTaxCalculationId': json['stripeTaxCalculationId'] == null ? undefined : json['stripeTaxCalculationId'],
96
98
  'stripeTaxTransactionId': json['stripeTaxTransactionId'] == null ? undefined : json['stripeTaxTransactionId'],
97
99
  'subscriptionId': json['subscriptionId'] == null ? undefined : json['subscriptionId'],
@@ -128,6 +130,8 @@ function PaymentObjectToJSONTyped(value, ignoreDiscriminator) {
128
130
  'supportedPaymentMethods': (value['supportedPaymentMethods'].map(PaymentMethodType_1.PaymentMethodTypeToJSON)),
129
131
  'stripePaymentIntentId': value['stripePaymentIntentId'],
130
132
  'stripeStatus': value['stripeStatus'],
133
+ 'lastPaymentErrorMessage': value['lastPaymentErrorMessage'],
134
+ 'lastPaymentErrorCode': value['lastPaymentErrorCode'],
131
135
  'stripeTaxCalculationId': value['stripeTaxCalculationId'],
132
136
  'stripeTaxTransactionId': value['stripeTaxTransactionId'],
133
137
  'subscriptionId': value['subscriptionId'],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forteplatforms/sdk",
3
- "version": "1.0.504",
3
+ "version": "1.0.507",
4
4
  "description": "Official TypeScript SDK for Forte Platforms",
5
5
  "author": "Forte Platforms <support@forteplatforms.com>",
6
6
  "repository": {