@vindentech/api-client 0.3.0-next.87 → 0.3.0-next.88

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.
@@ -8127,8 +8127,6 @@ export interface BillingAccountDto {
8127
8127
  tenantId: string;
8128
8128
  organizationId: string;
8129
8129
  /** @nullable */
8130
- email: string | null;
8131
- /** @nullable */
8132
8130
  companyName: string | null;
8133
8131
  /** Customer type enum (company / private). */
8134
8132
  customerType: string;
@@ -8138,8 +8136,16 @@ export interface BillingAccountDto {
8138
8136
  lastName: string | null;
8139
8137
  /** @nullable */
8140
8138
  corporateIdentityNumber: string | null;
8141
- /** @nullable */
8139
+ /**
8140
+ * Recipient override set by staff. Null when unset: the invoices then follow the owner's profile email (personal organization) or the organization's contact email (business).
8141
+ * @nullable
8142
+ */
8142
8143
  invoiceEmail: string | null;
8144
+ /**
8145
+ * Where this account's invoices are sent, resolved and read-only: `invoiceEmail` when set, else the owner's profile email for a personal organization, else the organization's contact email for a business. Null when none of them is set.
8146
+ * @nullable
8147
+ */
8148
+ invoiceRecipientEmail: string | null;
8143
8149
  /** @nullable */
8144
8150
  invoiceEmailCc: string | null;
8145
8151
  /** @nullable */
@@ -8175,14 +8181,16 @@ export declare const CreateBillingAccountDtoCustomerType: {
8175
8181
  export interface CreateBillingAccountDto {
8176
8182
  organizationId: string;
8177
8183
  customerType: CreateBillingAccountDtoCustomerType;
8178
- email?: string;
8179
8184
  companyName?: string;
8180
8185
  firstName?: string;
8181
8186
  lastName?: string;
8182
8187
  personalIdentityNumber?: string;
8183
8188
  corporateIdentityNumber?: string;
8189
+ /** Recipient override. Leave unset for the invoices to follow the owner's profile email (personal organization) or the organization's contact email (business). */
8184
8190
  invoiceEmail?: string;
8191
+ /** Copied on invoices sent through Fortnox. Stripe has no copy recipient. */
8185
8192
  invoiceEmailCc?: string;
8193
+ /** Blind-copied on invoices sent through Fortnox. Stripe has no copy recipient. */
8186
8194
  invoiceEmailBcc?: string;
8187
8195
  invoiceAddressLine1?: string;
8188
8196
  invoiceAddressLine2?: string;
@@ -8204,15 +8212,26 @@ export declare const UpdateBillingAccountDtoCustomerType: {
8204
8212
  };
8205
8213
  export interface UpdateBillingAccountDto {
8206
8214
  customerType?: UpdateBillingAccountDtoCustomerType;
8207
- email?: string;
8208
8215
  companyName?: string;
8209
8216
  firstName?: string;
8210
8217
  lastName?: string;
8211
8218
  personalIdentityNumber?: string;
8212
8219
  corporateIdentityNumber?: string;
8213
- invoiceEmail?: string;
8214
- invoiceEmailCc?: string;
8215
- invoiceEmailBcc?: string;
8220
+ /**
8221
+ * Recipient override. `null` clears it, so the invoices follow the owner's profile email (personal organization) or the organization's contact email (business). An empty string is rejected.
8222
+ * @nullable
8223
+ */
8224
+ invoiceEmail?: string | null;
8225
+ /**
8226
+ * Copied on invoices sent through Fortnox. Stripe has no copy recipient. `null` clears it.
8227
+ * @nullable
8228
+ */
8229
+ invoiceEmailCc?: string | null;
8230
+ /**
8231
+ * Blind-copied on invoices sent through Fortnox. Stripe has no copy recipient. `null` clears it.
8232
+ * @nullable
8233
+ */
8234
+ invoiceEmailBcc?: string | null;
8216
8235
  invoiceAddressLine1?: string;
8217
8236
  invoiceAddressLine2?: string;
8218
8237
  invoiceZipCode?: string;
@@ -10056,13 +10075,24 @@ export interface InvoiceDetailsDto {
10056
10075
  billingAccountId: string;
10057
10076
  organizationId: string;
10058
10077
  /**
10059
- * Primary invoice recipient.
10078
+ * Recipient override, set only by staff. Null when unset: see `invoiceRecipientEmail` for where invoices go.
10060
10079
  * @nullable
10061
10080
  */
10062
10081
  invoiceEmail: string | null;
10063
- /** @nullable */
10082
+ /**
10083
+ * Where this organization's invoices are sent, resolved and read-only: the staff override when set, else the owner's profile email for a personal organization (so it follows the address the identity provider holds), else the organization's contact email for a business. Null when none of them is set.
10084
+ * @nullable
10085
+ */
10086
+ invoiceRecipientEmail: string | null;
10087
+ /**
10088
+ * Copied on invoices sent through Fortnox. Stripe has no copy recipient.
10089
+ * @nullable
10090
+ */
10064
10091
  invoiceEmailCc: string | null;
10065
- /** @nullable */
10092
+ /**
10093
+ * Blind-copied on invoices sent through Fortnox. Stripe has no copy recipient.
10094
+ * @nullable
10095
+ */
10066
10096
  invoiceEmailBcc: string | null;
10067
10097
  /** @nullable */
10068
10098
  invoiceAddressLine1: string | null;
@@ -12199,7 +12229,7 @@ export interface SenderIdentityDetailDto {
12199
12229
  isDefault: boolean;
12200
12230
  createdAt: string;
12201
12231
  updatedAt: string;
12202
- /** DKIM/DNS records to publish for an email identity. Empty until the SES read lands with the verify command in the write slice. */
12232
+ /** DKIM/DNS records to publish for an email identity. Always empty for now: nothing reads them from SES yet. */
12203
12233
  dnsRecords: SenderDnsRecordDto[];
12204
12234
  }
12205
12235
  export type CreateSenderIdentityDtoChannel = typeof CreateSenderIdentityDtoChannel[keyof typeof CreateSenderIdentityDtoChannel];