@openmeter/client 1.0.0-beta-779bf2e0617c → 1.0.0-beta-a8548c4a1759

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-779bf2e0617c";
1
+ export declare const SDK_VERSION = "1.0.0-beta-a8548c4a1759";
@@ -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-779bf2e0617c';
5
+ export const SDK_VERSION = '1.0.0-beta-a8548c4a1759';
@@ -4167,6 +4167,9 @@ export declare const customerData: z.ZodObject<{
4167
4167
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4168
4168
  }, z.core.$strip>>>;
4169
4169
  }, z.core.$strip>>;
4170
+ effectiveBillingProfile: z.ZodObject<{
4171
+ id: z.ZodString;
4172
+ }, z.core.$strip>;
4170
4173
  }, z.core.$strip>;
4171
4174
  export declare const upsertCustomerBillingDataRequest: z.ZodObject<{
4172
4175
  billingProfile: z.ZodOptional<z.ZodObject<{
@@ -19670,6 +19673,9 @@ export declare const getCustomerBillingResponse: z.ZodObject<{
19670
19673
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
19671
19674
  }, z.core.$strip>>>;
19672
19675
  }, z.core.$strip>>;
19676
+ effectiveBillingProfile: z.ZodObject<{
19677
+ id: z.ZodString;
19678
+ }, z.core.$strip>;
19673
19679
  }, z.core.$strip>;
19674
19680
  export declare const updateCustomerBillingPathParams: z.ZodObject<{
19675
19681
  customerId: z.ZodString;
@@ -19703,6 +19709,9 @@ export declare const updateCustomerBillingResponse: z.ZodObject<{
19703
19709
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
19704
19710
  }, z.core.$strip>>>;
19705
19711
  }, z.core.$strip>>;
19712
+ effectiveBillingProfile: z.ZodObject<{
19713
+ id: z.ZodString;
19714
+ }, z.core.$strip>;
19706
19715
  }, z.core.$strip>;
19707
19716
  export declare const updateCustomerBillingAppDataPathParams: z.ZodObject<{
19708
19717
  customerId: z.ZodString;
@@ -41231,6 +41240,9 @@ export declare const customerDataWire: z.ZodObject<{
41231
41240
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
41232
41241
  }, z.core.$strict>>>;
41233
41242
  }, z.core.$strict>>;
41243
+ effective_billing_profile: z.ZodObject<{
41244
+ id: z.ZodString;
41245
+ }, z.core.$strict>;
41234
41246
  }, z.core.$strict>;
41235
41247
  export declare const upsertCustomerBillingDataRequestWire: z.ZodObject<{
41236
41248
  billing_profile: z.ZodOptional<z.ZodObject<{
@@ -56725,6 +56737,9 @@ export declare const getCustomerBillingResponseWire: z.ZodObject<{
56725
56737
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
56726
56738
  }, z.core.$strict>>>;
56727
56739
  }, z.core.$strict>>;
56740
+ effective_billing_profile: z.ZodObject<{
56741
+ id: z.ZodString;
56742
+ }, z.core.$strict>;
56728
56743
  }, z.core.$strict>;
56729
56744
  export declare const updateCustomerBillingPathParamsWire: z.ZodObject<{
56730
56745
  customerId: z.ZodString;
@@ -56758,6 +56773,9 @@ export declare const updateCustomerBillingResponseWire: z.ZodObject<{
56758
56773
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
56759
56774
  }, z.core.$strict>>>;
56760
56775
  }, z.core.$strict>>;
56776
+ effective_billing_profile: z.ZodObject<{
56777
+ id: z.ZodString;
56778
+ }, z.core.$strict>;
56761
56779
  }, z.core.$strict>;
56762
56780
  export declare const updateCustomerBillingAppDataPathParamsWire: z.ZodObject<{
56763
56781
  customerId: z.ZodString;
@@ -4262,6 +4262,7 @@ export const customerData = z
4262
4262
  .object({
4263
4263
  billingProfile: profileReference.optional(),
4264
4264
  appData: appCustomerData.optional(),
4265
+ effectiveBillingProfile: profileReference,
4265
4266
  })
4266
4267
  .describe('Billing customer data.');
4267
4268
  export const upsertCustomerBillingDataRequest = z
@@ -11466,6 +11467,7 @@ export const customerDataWire = z
11466
11467
  .strictObject({
11467
11468
  billing_profile: profileReferenceWire.optional(),
11468
11469
  app_data: appCustomerDataWire.optional(),
11470
+ effective_billing_profile: profileReferenceWire,
11469
11471
  })
11470
11472
  .describe('Billing customer data.');
11471
11473
  export const upsertCustomerBillingDataRequestWire = z
@@ -4493,18 +4493,23 @@ export interface NotificationEventDeliveryStatus {
4493
4493
  /** Billing customer data. */
4494
4494
  export interface CustomerData {
4495
4495
  /**
4496
- * The billing profile for the customer.
4496
+ * The billing profile explicitly selected for the customer.
4497
4497
  *
4498
4498
  * If not provided, the default billing profile will be used.
4499
4499
  */
4500
4500
  billingProfile?: ProfileReference;
4501
4501
  /** App customer data. */
4502
4502
  appData?: AppCustomerData;
4503
+ /**
4504
+ * The effective billing profile for the customer. Uses the explicitly selected
4505
+ * billing profile when pinned, otherwise the current default billing profile.
4506
+ */
4507
+ effectiveBillingProfile: ProfileReference;
4503
4508
  }
4504
4509
  /** CustomerBillingData upsert request. */
4505
4510
  export interface UpsertCustomerBillingDataRequest {
4506
4511
  /**
4507
- * The billing profile for the customer.
4512
+ * The billing profile explicitly selected for the customer.
4508
4513
  *
4509
4514
  * If not provided, the default billing profile will be used.
4510
4515
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openmeter/client",
3
- "version": "1.0.0-beta-779bf2e0617c",
3
+ "version": "1.0.0-beta-a8548c4a1759",
4
4
  "description": "Official TypeScript SDK for the OpenMeter API — usage metering and billing",
5
5
  "keywords": [
6
6
  "openmeter",