@botpress/client 2.7.0 → 2.8.0

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.d.ts CHANGED
@@ -16560,7 +16560,7 @@ interface GetAutoRechargeSettingsResponse {
16560
16560
  addonId?: string;
16561
16561
  chunkSize?: number | null;
16562
16562
  maxAmount?: number | null;
16563
- disabledReason?: string;
16563
+ disabledReason?: "payment_failed" | "disabled_by_plan";
16564
16564
  };
16565
16565
  };
16566
16566
  }
@@ -16595,7 +16595,7 @@ interface SetAutoRechargeSettingsResponse {
16595
16595
  addonId?: string;
16596
16596
  chunkSize?: number | null;
16597
16597
  maxAmount?: number | null;
16598
- disabledReason?: string;
16598
+ disabledReason?: "payment_failed" | "disabled_by_plan";
16599
16599
  };
16600
16600
  };
16601
16601
  }
@@ -16662,6 +16662,7 @@ interface CreateCreditGrantRequestBody {
16662
16662
  */
16663
16663
  amount: number;
16664
16664
  feature: "ai_spend";
16665
+ idempotencyKey?: string;
16665
16666
  }
16666
16667
  type CreateCreditGrantInput = CreateCreditGrantRequestBody & CreateCreditGrantRequestHeaders & CreateCreditGrantRequestQuery & CreateCreditGrantRequestParams;
16667
16668
  interface CreateCreditGrantResponse {