@openmeter/client 1.0.0-beta-471c6cd3d433 → 1.0.0-beta-a175676db126

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.
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.0.0-beta-471c6cd3d433";
1
+ export declare const SDK_VERSION = "1.0.0-beta-a175676db126";
@@ -2,4 +2,4 @@
2
2
  // The committed value is a dev placeholder. The publish flow
3
3
  // (`make -C api/spec publish-aip-sdk`) stamps the real release version here
4
4
  // before `pnpm publish`, after `pnpm version` updates package.json.
5
- export const SDK_VERSION = '1.0.0-beta-471c6cd3d433';
5
+ export const SDK_VERSION = '1.0.0-beta-a175676db126';
@@ -1706,24 +1706,24 @@ export declare const entitlementAccessQueryError: z.ZodObject<{
1706
1706
  customer: z.ZodOptional<z.ZodString>;
1707
1707
  }, z.core.$strip>;
1708
1708
  export declare const appCustomerData: z.ZodObject<{
1709
- stripe: z.ZodOptional<z.ZodObject<{
1709
+ stripe: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1710
1710
  customerId: z.ZodOptional<z.ZodString>;
1711
1711
  defaultPaymentMethodId: z.ZodOptional<z.ZodString>;
1712
1712
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1713
- }, z.core.$strip>>;
1714
- externalInvoicing: z.ZodOptional<z.ZodObject<{
1713
+ }, z.core.$strip>>>;
1714
+ externalInvoicing: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1715
1715
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1716
- }, z.core.$strip>>;
1716
+ }, z.core.$strip>>>;
1717
1717
  }, z.core.$strip>;
1718
1718
  export declare const upsertAppCustomerDataRequest: z.ZodObject<{
1719
- stripe: z.ZodOptional<z.ZodObject<{
1719
+ stripe: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1720
1720
  customerId: z.ZodOptional<z.ZodString>;
1721
1721
  defaultPaymentMethodId: z.ZodOptional<z.ZodString>;
1722
1722
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1723
- }, z.core.$strip>>;
1724
- externalInvoicing: z.ZodOptional<z.ZodObject<{
1723
+ }, z.core.$strip>>>;
1724
+ externalInvoicing: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1725
1725
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1726
- }, z.core.$strip>>;
1726
+ }, z.core.$strip>>>;
1727
1727
  }, z.core.$strip>;
1728
1728
  export declare const creditAdjustment: z.ZodObject<{
1729
1729
  name: z.ZodString;
@@ -3204,14 +3204,14 @@ export declare const customerData: z.ZodObject<{
3204
3204
  id: z.ZodString;
3205
3205
  }, z.core.$strip>>;
3206
3206
  appData: z.ZodOptional<z.ZodObject<{
3207
- stripe: z.ZodOptional<z.ZodObject<{
3207
+ stripe: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3208
3208
  customerId: z.ZodOptional<z.ZodString>;
3209
3209
  defaultPaymentMethodId: z.ZodOptional<z.ZodString>;
3210
3210
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3211
- }, z.core.$strip>>;
3212
- externalInvoicing: z.ZodOptional<z.ZodObject<{
3211
+ }, z.core.$strip>>>;
3212
+ externalInvoicing: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3213
3213
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3214
- }, z.core.$strip>>;
3214
+ }, z.core.$strip>>>;
3215
3215
  }, z.core.$strip>>;
3216
3216
  }, z.core.$strip>;
3217
3217
  export declare const upsertCustomerBillingDataRequest: z.ZodObject<{
@@ -3219,14 +3219,14 @@ export declare const upsertCustomerBillingDataRequest: z.ZodObject<{
3219
3219
  id: z.ZodString;
3220
3220
  }, z.core.$strip>>;
3221
3221
  appData: z.ZodOptional<z.ZodObject<{
3222
- stripe: z.ZodOptional<z.ZodObject<{
3222
+ stripe: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3223
3223
  customerId: z.ZodOptional<z.ZodString>;
3224
3224
  defaultPaymentMethodId: z.ZodOptional<z.ZodString>;
3225
3225
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3226
- }, z.core.$strip>>;
3227
- externalInvoicing: z.ZodOptional<z.ZodObject<{
3226
+ }, z.core.$strip>>>;
3227
+ externalInvoicing: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3228
3228
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3229
- }, z.core.$strip>>;
3229
+ }, z.core.$strip>>>;
3230
3230
  }, z.core.$strip>>;
3231
3231
  }, z.core.$strip>;
3232
3232
  export declare const creditBalances: z.ZodObject<{
@@ -17063,14 +17063,14 @@ export declare const getCustomerBillingResponse: z.ZodObject<{
17063
17063
  id: z.ZodString;
17064
17064
  }, z.core.$strip>>;
17065
17065
  appData: z.ZodOptional<z.ZodObject<{
17066
- stripe: z.ZodOptional<z.ZodObject<{
17066
+ stripe: z.ZodOptional<z.ZodNullable<z.ZodObject<{
17067
17067
  customerId: z.ZodOptional<z.ZodString>;
17068
17068
  defaultPaymentMethodId: z.ZodOptional<z.ZodString>;
17069
17069
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
17070
- }, z.core.$strip>>;
17071
- externalInvoicing: z.ZodOptional<z.ZodObject<{
17070
+ }, z.core.$strip>>>;
17071
+ externalInvoicing: z.ZodOptional<z.ZodNullable<z.ZodObject<{
17072
17072
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
17073
- }, z.core.$strip>>;
17073
+ }, z.core.$strip>>>;
17074
17074
  }, z.core.$strip>>;
17075
17075
  }, z.core.$strip>;
17076
17076
  export declare const updateCustomerBillingPathParams: z.ZodObject<{
@@ -17081,14 +17081,14 @@ export declare const updateCustomerBillingBody: z.ZodObject<{
17081
17081
  id: z.ZodString;
17082
17082
  }, z.core.$strip>>;
17083
17083
  appData: z.ZodOptional<z.ZodObject<{
17084
- stripe: z.ZodOptional<z.ZodObject<{
17084
+ stripe: z.ZodOptional<z.ZodNullable<z.ZodObject<{
17085
17085
  customerId: z.ZodOptional<z.ZodString>;
17086
17086
  defaultPaymentMethodId: z.ZodOptional<z.ZodString>;
17087
17087
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
17088
- }, z.core.$strip>>;
17089
- externalInvoicing: z.ZodOptional<z.ZodObject<{
17088
+ }, z.core.$strip>>>;
17089
+ externalInvoicing: z.ZodOptional<z.ZodNullable<z.ZodObject<{
17090
17090
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
17091
- }, z.core.$strip>>;
17091
+ }, z.core.$strip>>>;
17092
17092
  }, z.core.$strip>>;
17093
17093
  }, z.core.$strip>;
17094
17094
  export declare const updateCustomerBillingResponse: z.ZodObject<{
@@ -17096,38 +17096,38 @@ export declare const updateCustomerBillingResponse: z.ZodObject<{
17096
17096
  id: z.ZodString;
17097
17097
  }, z.core.$strip>>;
17098
17098
  appData: z.ZodOptional<z.ZodObject<{
17099
- stripe: z.ZodOptional<z.ZodObject<{
17099
+ stripe: z.ZodOptional<z.ZodNullable<z.ZodObject<{
17100
17100
  customerId: z.ZodOptional<z.ZodString>;
17101
17101
  defaultPaymentMethodId: z.ZodOptional<z.ZodString>;
17102
17102
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
17103
- }, z.core.$strip>>;
17104
- externalInvoicing: z.ZodOptional<z.ZodObject<{
17103
+ }, z.core.$strip>>>;
17104
+ externalInvoicing: z.ZodOptional<z.ZodNullable<z.ZodObject<{
17105
17105
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
17106
- }, z.core.$strip>>;
17106
+ }, z.core.$strip>>>;
17107
17107
  }, z.core.$strip>>;
17108
17108
  }, z.core.$strip>;
17109
17109
  export declare const updateCustomerBillingAppDataPathParams: z.ZodObject<{
17110
17110
  customerId: z.ZodString;
17111
17111
  }, z.core.$strip>;
17112
17112
  export declare const updateCustomerBillingAppDataBody: z.ZodObject<{
17113
- stripe: z.ZodOptional<z.ZodObject<{
17113
+ stripe: z.ZodOptional<z.ZodNullable<z.ZodObject<{
17114
17114
  customerId: z.ZodOptional<z.ZodString>;
17115
17115
  defaultPaymentMethodId: z.ZodOptional<z.ZodString>;
17116
17116
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
17117
- }, z.core.$strip>>;
17118
- externalInvoicing: z.ZodOptional<z.ZodObject<{
17117
+ }, z.core.$strip>>>;
17118
+ externalInvoicing: z.ZodOptional<z.ZodNullable<z.ZodObject<{
17119
17119
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
17120
- }, z.core.$strip>>;
17120
+ }, z.core.$strip>>>;
17121
17121
  }, z.core.$strip>;
17122
17122
  export declare const updateCustomerBillingAppDataResponse: z.ZodObject<{
17123
- stripe: z.ZodOptional<z.ZodObject<{
17123
+ stripe: z.ZodOptional<z.ZodNullable<z.ZodObject<{
17124
17124
  customerId: z.ZodOptional<z.ZodString>;
17125
17125
  defaultPaymentMethodId: z.ZodOptional<z.ZodString>;
17126
17126
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
17127
- }, z.core.$strip>>;
17128
- externalInvoicing: z.ZodOptional<z.ZodObject<{
17127
+ }, z.core.$strip>>>;
17128
+ externalInvoicing: z.ZodOptional<z.ZodNullable<z.ZodObject<{
17129
17129
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
17130
- }, z.core.$strip>>;
17130
+ }, z.core.$strip>>>;
17131
17131
  }, z.core.$strip>;
17132
17132
  export declare const createCustomerStripeCheckoutSessionPathParams: z.ZodObject<{
17133
17133
  customerId: z.ZodString;
@@ -31684,24 +31684,24 @@ export declare const entitlementAccessQueryErrorWire: z.ZodObject<{
31684
31684
  customer: z.ZodOptional<z.ZodString>;
31685
31685
  }, z.core.$strict>;
31686
31686
  export declare const appCustomerDataWire: z.ZodObject<{
31687
- stripe: z.ZodOptional<z.ZodObject<{
31687
+ stripe: z.ZodOptional<z.ZodNullable<z.ZodObject<{
31688
31688
  customer_id: z.ZodOptional<z.ZodString>;
31689
31689
  default_payment_method_id: z.ZodOptional<z.ZodString>;
31690
31690
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
31691
- }, z.core.$strict>>;
31692
- external_invoicing: z.ZodOptional<z.ZodObject<{
31691
+ }, z.core.$strict>>>;
31692
+ external_invoicing: z.ZodOptional<z.ZodNullable<z.ZodObject<{
31693
31693
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
31694
- }, z.core.$strict>>;
31694
+ }, z.core.$strict>>>;
31695
31695
  }, z.core.$strict>;
31696
31696
  export declare const upsertAppCustomerDataRequestWire: z.ZodObject<{
31697
- stripe: z.ZodOptional<z.ZodObject<{
31697
+ stripe: z.ZodOptional<z.ZodNullable<z.ZodObject<{
31698
31698
  customer_id: z.ZodOptional<z.ZodString>;
31699
31699
  default_payment_method_id: z.ZodOptional<z.ZodString>;
31700
31700
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
31701
- }, z.core.$strict>>;
31702
- external_invoicing: z.ZodOptional<z.ZodObject<{
31701
+ }, z.core.$strict>>>;
31702
+ external_invoicing: z.ZodOptional<z.ZodNullable<z.ZodObject<{
31703
31703
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
31704
- }, z.core.$strict>>;
31704
+ }, z.core.$strict>>>;
31705
31705
  }, z.core.$strict>;
31706
31706
  export declare const creditAdjustmentWire: z.ZodObject<{
31707
31707
  name: z.ZodString;
@@ -33182,14 +33182,14 @@ export declare const customerDataWire: z.ZodObject<{
33182
33182
  id: z.ZodString;
33183
33183
  }, z.core.$strict>>;
33184
33184
  app_data: z.ZodOptional<z.ZodObject<{
33185
- stripe: z.ZodOptional<z.ZodObject<{
33185
+ stripe: z.ZodOptional<z.ZodNullable<z.ZodObject<{
33186
33186
  customer_id: z.ZodOptional<z.ZodString>;
33187
33187
  default_payment_method_id: z.ZodOptional<z.ZodString>;
33188
33188
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
33189
- }, z.core.$strict>>;
33190
- external_invoicing: z.ZodOptional<z.ZodObject<{
33189
+ }, z.core.$strict>>>;
33190
+ external_invoicing: z.ZodOptional<z.ZodNullable<z.ZodObject<{
33191
33191
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
33192
- }, z.core.$strict>>;
33192
+ }, z.core.$strict>>>;
33193
33193
  }, z.core.$strict>>;
33194
33194
  }, z.core.$strict>;
33195
33195
  export declare const upsertCustomerBillingDataRequestWire: z.ZodObject<{
@@ -33197,14 +33197,14 @@ export declare const upsertCustomerBillingDataRequestWire: z.ZodObject<{
33197
33197
  id: z.ZodString;
33198
33198
  }, z.core.$strict>>;
33199
33199
  app_data: z.ZodOptional<z.ZodObject<{
33200
- stripe: z.ZodOptional<z.ZodObject<{
33200
+ stripe: z.ZodOptional<z.ZodNullable<z.ZodObject<{
33201
33201
  customer_id: z.ZodOptional<z.ZodString>;
33202
33202
  default_payment_method_id: z.ZodOptional<z.ZodString>;
33203
33203
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
33204
- }, z.core.$strict>>;
33205
- external_invoicing: z.ZodOptional<z.ZodObject<{
33204
+ }, z.core.$strict>>>;
33205
+ external_invoicing: z.ZodOptional<z.ZodNullable<z.ZodObject<{
33206
33206
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
33207
- }, z.core.$strict>>;
33207
+ }, z.core.$strict>>>;
33208
33208
  }, z.core.$strict>>;
33209
33209
  }, z.core.$strict>;
33210
33210
  export declare const creditBalancesWire: z.ZodObject<{
@@ -47032,14 +47032,14 @@ export declare const getCustomerBillingResponseWire: z.ZodObject<{
47032
47032
  id: z.ZodString;
47033
47033
  }, z.core.$strict>>;
47034
47034
  app_data: z.ZodOptional<z.ZodObject<{
47035
- stripe: z.ZodOptional<z.ZodObject<{
47035
+ stripe: z.ZodOptional<z.ZodNullable<z.ZodObject<{
47036
47036
  customer_id: z.ZodOptional<z.ZodString>;
47037
47037
  default_payment_method_id: z.ZodOptional<z.ZodString>;
47038
47038
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
47039
- }, z.core.$strict>>;
47040
- external_invoicing: z.ZodOptional<z.ZodObject<{
47039
+ }, z.core.$strict>>>;
47040
+ external_invoicing: z.ZodOptional<z.ZodNullable<z.ZodObject<{
47041
47041
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
47042
- }, z.core.$strict>>;
47042
+ }, z.core.$strict>>>;
47043
47043
  }, z.core.$strict>>;
47044
47044
  }, z.core.$strict>;
47045
47045
  export declare const updateCustomerBillingPathParamsWire: z.ZodObject<{
@@ -47050,14 +47050,14 @@ export declare const updateCustomerBillingBodyWire: z.ZodObject<{
47050
47050
  id: z.ZodString;
47051
47051
  }, z.core.$strict>>;
47052
47052
  app_data: z.ZodOptional<z.ZodObject<{
47053
- stripe: z.ZodOptional<z.ZodObject<{
47053
+ stripe: z.ZodOptional<z.ZodNullable<z.ZodObject<{
47054
47054
  customer_id: z.ZodOptional<z.ZodString>;
47055
47055
  default_payment_method_id: z.ZodOptional<z.ZodString>;
47056
47056
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
47057
- }, z.core.$strict>>;
47058
- external_invoicing: z.ZodOptional<z.ZodObject<{
47057
+ }, z.core.$strict>>>;
47058
+ external_invoicing: z.ZodOptional<z.ZodNullable<z.ZodObject<{
47059
47059
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
47060
- }, z.core.$strict>>;
47060
+ }, z.core.$strict>>>;
47061
47061
  }, z.core.$strict>>;
47062
47062
  }, z.core.$strict>;
47063
47063
  export declare const updateCustomerBillingResponseWire: z.ZodObject<{
@@ -47065,38 +47065,38 @@ export declare const updateCustomerBillingResponseWire: z.ZodObject<{
47065
47065
  id: z.ZodString;
47066
47066
  }, z.core.$strict>>;
47067
47067
  app_data: z.ZodOptional<z.ZodObject<{
47068
- stripe: z.ZodOptional<z.ZodObject<{
47068
+ stripe: z.ZodOptional<z.ZodNullable<z.ZodObject<{
47069
47069
  customer_id: z.ZodOptional<z.ZodString>;
47070
47070
  default_payment_method_id: z.ZodOptional<z.ZodString>;
47071
47071
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
47072
- }, z.core.$strict>>;
47073
- external_invoicing: z.ZodOptional<z.ZodObject<{
47072
+ }, z.core.$strict>>>;
47073
+ external_invoicing: z.ZodOptional<z.ZodNullable<z.ZodObject<{
47074
47074
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
47075
- }, z.core.$strict>>;
47075
+ }, z.core.$strict>>>;
47076
47076
  }, z.core.$strict>>;
47077
47077
  }, z.core.$strict>;
47078
47078
  export declare const updateCustomerBillingAppDataPathParamsWire: z.ZodObject<{
47079
47079
  customerId: z.ZodString;
47080
47080
  }, z.core.$strip>;
47081
47081
  export declare const updateCustomerBillingAppDataBodyWire: z.ZodObject<{
47082
- stripe: z.ZodOptional<z.ZodObject<{
47082
+ stripe: z.ZodOptional<z.ZodNullable<z.ZodObject<{
47083
47083
  customer_id: z.ZodOptional<z.ZodString>;
47084
47084
  default_payment_method_id: z.ZodOptional<z.ZodString>;
47085
47085
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
47086
- }, z.core.$strict>>;
47087
- external_invoicing: z.ZodOptional<z.ZodObject<{
47086
+ }, z.core.$strict>>>;
47087
+ external_invoicing: z.ZodOptional<z.ZodNullable<z.ZodObject<{
47088
47088
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
47089
- }, z.core.$strict>>;
47089
+ }, z.core.$strict>>>;
47090
47090
  }, z.core.$strict>;
47091
47091
  export declare const updateCustomerBillingAppDataResponseWire: z.ZodObject<{
47092
- stripe: z.ZodOptional<z.ZodObject<{
47092
+ stripe: z.ZodOptional<z.ZodNullable<z.ZodObject<{
47093
47093
  customer_id: z.ZodOptional<z.ZodString>;
47094
47094
  default_payment_method_id: z.ZodOptional<z.ZodString>;
47095
47095
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
47096
- }, z.core.$strict>>;
47097
- external_invoicing: z.ZodOptional<z.ZodObject<{
47096
+ }, z.core.$strict>>>;
47097
+ external_invoicing: z.ZodOptional<z.ZodNullable<z.ZodObject<{
47098
47098
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
47099
- }, z.core.$strict>>;
47099
+ }, z.core.$strict>>>;
47100
47100
  }, z.core.$strict>;
47101
47101
  export declare const createCustomerStripeCheckoutSessionPathParamsWire: z.ZodObject<{
47102
47102
  customerId: z.ZodString;
@@ -2488,14 +2488,26 @@ export const entitlementAccessQueryError = z
2488
2488
  .describe('Query error within a partially successful entitlement access query response.');
2489
2489
  export const appCustomerData = z
2490
2490
  .object({
2491
- stripe: appCustomerDataStripe.optional(),
2492
- externalInvoicing: appCustomerDataExternalInvoicing.optional(),
2491
+ stripe: appCustomerDataStripe
2492
+ .nullable()
2493
+ .optional()
2494
+ .describe('Used if the customer has a linked Stripe app. Set to `null` to remove the Stripe data of the customer; omit to leave it unchanged.'),
2495
+ externalInvoicing: appCustomerDataExternalInvoicing
2496
+ .nullable()
2497
+ .optional()
2498
+ .describe('Used if the customer has a linked external invoicing app. Set to `null` to remove the external invoicing data of the customer; omit to leave it unchanged.'),
2493
2499
  })
2494
2500
  .describe('App customer data.');
2495
2501
  export const upsertAppCustomerDataRequest = z
2496
2502
  .object({
2497
- stripe: appCustomerDataStripe.optional(),
2498
- externalInvoicing: appCustomerDataExternalInvoicing.optional(),
2503
+ stripe: appCustomerDataStripe
2504
+ .nullable()
2505
+ .optional()
2506
+ .describe('Used if the customer has a linked Stripe app. Set to `null` to remove the Stripe data of the customer; omit to leave it unchanged.'),
2507
+ externalInvoicing: appCustomerDataExternalInvoicing
2508
+ .nullable()
2509
+ .optional()
2510
+ .describe('Used if the customer has a linked external invoicing app. Set to `null` to remove the external invoicing data of the customer; omit to leave it unchanged.'),
2499
2511
  })
2500
2512
  .describe('AppCustomerData upsert request.');
2501
2513
  export const creditAdjustment = z
@@ -8167,14 +8179,26 @@ export const entitlementAccessQueryErrorWire = z
8167
8179
  .describe('Query error within a partially successful entitlement access query response.');
8168
8180
  export const appCustomerDataWire = z
8169
8181
  .strictObject({
8170
- stripe: appCustomerDataStripeWire.optional(),
8171
- external_invoicing: appCustomerDataExternalInvoicingWire.optional(),
8182
+ stripe: appCustomerDataStripeWire
8183
+ .nullable()
8184
+ .optional()
8185
+ .describe('Used if the customer has a linked Stripe app. Set to `null` to remove the Stripe data of the customer; omit to leave it unchanged.'),
8186
+ external_invoicing: appCustomerDataExternalInvoicingWire
8187
+ .nullable()
8188
+ .optional()
8189
+ .describe('Used if the customer has a linked external invoicing app. Set to `null` to remove the external invoicing data of the customer; omit to leave it unchanged.'),
8172
8190
  })
8173
8191
  .describe('App customer data.');
8174
8192
  export const upsertAppCustomerDataRequestWire = z
8175
8193
  .strictObject({
8176
- stripe: appCustomerDataStripeWire.optional(),
8177
- external_invoicing: appCustomerDataExternalInvoicingWire.optional(),
8194
+ stripe: appCustomerDataStripeWire
8195
+ .nullable()
8196
+ .optional()
8197
+ .describe('Used if the customer has a linked Stripe app. Set to `null` to remove the Stripe data of the customer; omit to leave it unchanged.'),
8198
+ external_invoicing: appCustomerDataExternalInvoicingWire
8199
+ .nullable()
8200
+ .optional()
8201
+ .describe('Used if the customer has a linked external invoicing app. Set to `null` to remove the external invoicing data of the customer; omit to leave it unchanged.'),
8178
8202
  })
8179
8203
  .describe('AppCustomerData upsert request.');
8180
8204
  export const creditAdjustmentWire = z
@@ -2231,17 +2231,37 @@ export interface EntitlementAccessQueryError {
2231
2231
  }
2232
2232
  /** App customer data. */
2233
2233
  export interface AppCustomerData {
2234
- /** Used if the customer has a linked Stripe app. */
2235
- stripe?: AppCustomerDataStripe;
2236
- /** Used if the customer has a linked external invoicing app. */
2237
- externalInvoicing?: AppCustomerDataExternalInvoicing;
2234
+ /**
2235
+ * Used if the customer has a linked Stripe app.
2236
+ *
2237
+ * Set to `null` to remove the Stripe data of the customer; omit to leave it
2238
+ * unchanged.
2239
+ */
2240
+ stripe?: AppCustomerDataStripe | null;
2241
+ /**
2242
+ * Used if the customer has a linked external invoicing app.
2243
+ *
2244
+ * Set to `null` to remove the external invoicing data of the customer; omit to
2245
+ * leave it unchanged.
2246
+ */
2247
+ externalInvoicing?: AppCustomerDataExternalInvoicing | null;
2238
2248
  }
2239
2249
  /** AppCustomerData upsert request. */
2240
2250
  export interface UpsertAppCustomerDataRequest {
2241
- /** Used if the customer has a linked Stripe app. */
2242
- stripe?: AppCustomerDataStripe;
2243
- /** Used if the customer has a linked external invoicing app. */
2244
- externalInvoicing?: AppCustomerDataExternalInvoicing;
2251
+ /**
2252
+ * Used if the customer has a linked Stripe app.
2253
+ *
2254
+ * Set to `null` to remove the Stripe data of the customer; omit to leave it
2255
+ * unchanged.
2256
+ */
2257
+ stripe?: AppCustomerDataStripe | null;
2258
+ /**
2259
+ * Used if the customer has a linked external invoicing app.
2260
+ *
2261
+ * Set to `null` to remove the external invoicing data of the customer; omit to
2262
+ * leave it unchanged.
2263
+ */
2264
+ externalInvoicing?: AppCustomerDataExternalInvoicing | null;
2245
2265
  }
2246
2266
  /**
2247
2267
  * A credit adjustment can be used to make manual adjustments to a customer's
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openmeter/client",
3
- "version": "1.0.0-beta-471c6cd3d433",
3
+ "version": "1.0.0-beta-a175676db126",
4
4
  "description": "Official TypeScript SDK for the OpenMeter API — usage metering and billing",
5
5
  "keywords": [
6
6
  "openmeter",