@vindentech/api-client 1.8.0-next.2 → 2.0.0-next.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.
@@ -5509,6 +5509,7 @@ export interface CreateProductDto {
5509
5509
  * @maxLength 255
5510
5510
  */
5511
5511
  name: string;
5512
+ /** The product's category (GET /v1/categories). Staff only: an organization user who sends one gets 403. */
5512
5513
  categoryId?: number;
5513
5514
  /** Place the product in this folder of the same organization; omit for the root. */
5514
5515
  folderId?: string;
@@ -5541,7 +5542,11 @@ export interface UpdateProductDto {
5541
5542
  * @nullable
5542
5543
  */
5543
5544
  name?: string | null;
5544
- categoryId?: number;
5545
+ /**
5546
+ * Move the product to this category (GET /v1/categories); explicit null clears it. Staff only: an organization user whose patch carries the field, null included, gets 403.
5547
+ * @nullable
5548
+ */
5549
+ categoryId?: number | null;
5545
5550
  /**
5546
5551
  * Move the item into this folder (same organization). Explicit null moves it back to the storage root; omit to leave the folder unchanged.
5547
5552
  * @nullable
@@ -8829,11 +8834,6 @@ export interface TenantBillingConfigDto {
8829
8834
  defaultPaymentTermId: string | null;
8830
8835
  /** @nullable */
8831
8836
  defaultBillingFrequencyId: string | null;
8832
- /**
8833
- * Not read. Whether a saved card is charged on an invoice's due date is decided by the payment method (`defaultPaymentMethodId`, or the account's own) and its `isAutoChargeable`.
8834
- * @deprecated
8835
- */
8836
- autoChargeEnabled: boolean;
8837
8837
  requiresPricingApproval: boolean;
8838
8838
  /**
8839
8839
  * The tenant's own legal-entity registration number (e.g. Swedish orgnummer).
@@ -8860,11 +8860,6 @@ export interface UpdateTenantBillingConfigDto {
8860
8860
  defaultPaymentMethodId?: string;
8861
8861
  defaultPaymentTermId?: string;
8862
8862
  defaultBillingFrequencyId?: string;
8863
- /**
8864
- * Not read. Whether a saved card is charged on an invoice's due date is decided by the payment method (`defaultPaymentMethodId`, or the account's own) and its `isAutoChargeable`.
8865
- * @deprecated
8866
- */
8867
- autoChargeEnabled?: boolean;
8868
8863
  requiresPricingApproval?: boolean;
8869
8864
  /** The tenant's own legal-entity registration number (e.g. Swedish orgnummer). */
8870
8865
  corporateIdentityNumber?: string;
@@ -8891,12 +8886,6 @@ export interface CustomerSubscriptionConfigDto {
8891
8886
  billingAccountId: string;
8892
8887
  /** @nullable */
8893
8888
  billingFrequencyId: string | null;
8894
- /**
8895
- * Not read. Whether a saved card is charged on an invoice's due date is decided by the billing account's payment method (`paymentMethodId` on the account, else the tenant default) and its `isAutoChargeable`.
8896
- * @deprecated
8897
- * @nullable
8898
- */
8899
- autoChargeEnabled: boolean | null;
8900
8889
  /** @nullable */
8901
8890
  bindingPlanId: string | null;
8902
8891
  /**
@@ -8930,11 +8919,6 @@ export interface CreateCustomerSubscriptionConfigDto {
8930
8919
  billingAccountId: string;
8931
8920
  billingFrequencyId?: string;
8932
8921
  bindingPlanId?: string;
8933
- /**
8934
- * Not read. Whether a saved card is charged on an invoice's due date is decided by the billing account's payment method (`paymentMethodId` on the account, else the tenant default) and its `isAutoChargeable`.
8935
- * @deprecated
8936
- */
8937
- autoChargeEnabled?: boolean;
8938
8922
  /** Bigint volume (>= 0). */
8939
8923
  volume?: number;
8940
8924
  /** Bigint billable volume (>= 0). */
@@ -8949,11 +8933,6 @@ export interface CreateCustomerSubscriptionConfigDto {
8949
8933
  export interface UpdateCustomerSubscriptionConfigDto {
8950
8934
  billingFrequencyId?: string;
8951
8935
  bindingPlanId?: string;
8952
- /**
8953
- * Not read. Whether a saved card is charged on an invoice's due date is decided by the billing account's payment method (`paymentMethodId` on the account, else the tenant default) and its `isAutoChargeable`.
8954
- * @deprecated
8955
- */
8956
- autoChargeEnabled?: boolean;
8957
8936
  /** Bigint volume (>= 0). */
8958
8937
  volume?: number;
8959
8938
  /** Bigint billable volume (>= 0). */