@naturali/sdk 0.211.7 → 0.211.9

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.
package/dist/index.cjs CHANGED
@@ -6130,7 +6130,8 @@ var Users = class {
6130
6130
  /**
6131
6131
  * Remove the saved card
6132
6132
  *
6133
- * Forgets the saved card and turns auto-recharge off.
6133
+ * Forgets the saved card and turns auto-recharge off. Refused while a paid plan is in effect or is the next plan, or a statement is not yet settled: move to Free first, and remove the card once Free is in effect and its last statement is paid.
6134
+ *
6134
6135
  */
6135
6136
  static deleteCurrentUserPaymentMethod(options) {
6136
6137
  return (options?.client ?? client).delete({
package/dist/index.d.cts CHANGED
@@ -31321,6 +31321,11 @@ type DeleteCurrentUserPaymentMethodErrors = {
31321
31321
  * The account has no saved card.
31322
31322
  */
31323
31323
  404: ErrorResponse;
31324
+ /**
31325
+ * A paid plan is in effect or next, or a statement is unsettled (`paid_plan_requires_card`); `details` carry `plan`, `next_plan` and `unpaid_statement`.
31326
+ *
31327
+ */
31328
+ 409: ErrorResponse;
31324
31329
  /**
31325
31330
  * Card payments are not available on this deployment (`payments_not_configured`).
31326
31331
  */
@@ -35392,7 +35397,8 @@ export declare class Users {
35392
35397
  /**
35393
35398
  * Remove the saved card
35394
35399
  *
35395
- * Forgets the saved card and turns auto-recharge off.
35400
+ * Forgets the saved card and turns auto-recharge off. Refused while a paid plan is in effect or is the next plan, or a statement is not yet settled: move to Free first, and remove the card once Free is in effect and its last statement is paid.
35401
+ *
35396
35402
  */
35397
35403
  static deleteCurrentUserPaymentMethod<ThrowOnError extends boolean = false>(options?: Options<DeleteCurrentUserPaymentMethodData, ThrowOnError>): RequestResult<DeleteCurrentUserPaymentMethodResponses, DeleteCurrentUserPaymentMethodErrors, ThrowOnError>;
35398
35404
  /**
package/dist/index.d.mts CHANGED
@@ -31321,6 +31321,11 @@ type DeleteCurrentUserPaymentMethodErrors = {
31321
31321
  * The account has no saved card.
31322
31322
  */
31323
31323
  404: ErrorResponse;
31324
+ /**
31325
+ * A paid plan is in effect or next, or a statement is unsettled (`paid_plan_requires_card`); `details` carry `plan`, `next_plan` and `unpaid_statement`.
31326
+ *
31327
+ */
31328
+ 409: ErrorResponse;
31324
31329
  /**
31325
31330
  * Card payments are not available on this deployment (`payments_not_configured`).
31326
31331
  */
@@ -35392,7 +35397,8 @@ export declare class Users {
35392
35397
  /**
35393
35398
  * Remove the saved card
35394
35399
  *
35395
- * Forgets the saved card and turns auto-recharge off.
35400
+ * Forgets the saved card and turns auto-recharge off. Refused while a paid plan is in effect or is the next plan, or a statement is not yet settled: move to Free first, and remove the card once Free is in effect and its last statement is paid.
35401
+ *
35396
35402
  */
35397
35403
  static deleteCurrentUserPaymentMethod<ThrowOnError extends boolean = false>(options?: Options<DeleteCurrentUserPaymentMethodData, ThrowOnError>): RequestResult<DeleteCurrentUserPaymentMethodResponses, DeleteCurrentUserPaymentMethodErrors, ThrowOnError>;
35398
35404
  /**
package/dist/index.mjs CHANGED
@@ -6129,7 +6129,8 @@ var Users = class {
6129
6129
  /**
6130
6130
  * Remove the saved card
6131
6131
  *
6132
- * Forgets the saved card and turns auto-recharge off.
6132
+ * Forgets the saved card and turns auto-recharge off. Refused while a paid plan is in effect or is the next plan, or a statement is not yet settled: move to Free first, and remove the card once Free is in effect and its last statement is paid.
6133
+ *
6133
6134
  */
6134
6135
  static deleteCurrentUserPaymentMethod(options) {
6135
6136
  return (options?.client ?? client).delete({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@naturali/sdk",
3
- "version": "0.211.7",
3
+ "version": "0.211.9",
4
4
  "description": "TypeScript SDK for the naturali.ai API, generated from its OpenAPI specs",
5
5
  "keywords": [
6
6
  "naturali",
@@ -38,7 +38,7 @@
38
38
  },
39
39
  "devDependencies": {
40
40
  "@hey-api/openapi-ts": "^0.99.0",
41
- "@naturali/api": "0.211.7",
41
+ "@naturali/api": "0.211.9",
42
42
  "@ttoss/openapi-codegen": "^0.10.0",
43
43
  "@types/node": "^26.5.1",
44
44
  "tsdown": "^0.23.0",