@openmeter/sdk 1.0.0-beta-62f6e694a8cf → 1.0.0-beta-2b65f39811c2

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.
@@ -258,7 +258,7 @@ class BillingCustomers {
258
258
  * @returns The created customer override
259
259
  */
260
260
  async createOverride(id, body, options) {
261
- const resp = await this.client.POST('/api/v1/billing/customers/{customerId}', {
261
+ const resp = await this.client.PUT('/api/v1/billing/customers/{customerId}', {
262
262
  body,
263
263
  params: { path: { customerId: id } },
264
264
  ...options,
@@ -469,11 +469,10 @@ export declare class BillingCustomers {
469
469
  * @returns The created customer override
470
470
  */
471
471
  createOverride(id: operations['upsertBillingProfileCustomerOverride']['parameters']['path']['customerId'], body: BillingProfileCustomerOverrideCreate, options?: RequestOptions): Promise<{
472
- readonly createdAt: Date;
473
- readonly updatedAt: Date;
474
- readonly deletedAt?: Date;
475
- workflow?: import("./schemas.cjs").components["schemas"]["BillingProfileCustomerWorkflowOverride"];
476
- billingProfile?: string;
472
+ customerOverride?: import("./schemas.cjs").components["schemas"]["BillingProfileCustomerOverride"];
473
+ baseBillingProfileId: string;
474
+ customerProfile?: import("./schemas.cjs").components["schemas"]["BillingCustomerProfile"];
475
+ customer?: import("./schemas.cjs").components["schemas"]["Customer"];
477
476
  }>;
478
477
  /**
479
478
  * Get a customer override
@@ -482,11 +481,10 @@ export declare class BillingCustomers {
482
481
  * @returns The customer override
483
482
  */
484
483
  getOverride(id: operations['getBillingProfileCustomerOverride']['parameters']['path']['customerId'], options?: RequestOptions): Promise<{
485
- readonly createdAt: Date;
486
- readonly updatedAt: Date;
487
- readonly deletedAt?: Date;
488
- workflow?: import("./schemas.cjs").components["schemas"]["BillingProfileCustomerWorkflowOverride"];
489
- billingProfile?: string;
484
+ customerOverride?: import("./schemas.cjs").components["schemas"]["BillingProfileCustomerOverride"];
485
+ baseBillingProfileId: string;
486
+ customerProfile?: import("./schemas.cjs").components["schemas"]["BillingCustomerProfile"];
487
+ customer?: import("./schemas.cjs").components["schemas"]["Customer"];
490
488
  }>;
491
489
  /**
492
490
  * List customer overrides
@@ -498,7 +496,7 @@ export declare class BillingCustomers {
498
496
  totalCount: number;
499
497
  page: number;
500
498
  pageSize: number;
501
- items: import("./schemas.cjs").components["schemas"]["BillingProfileCustomerOverride"][];
499
+ items: import("./schemas.cjs").components["schemas"]["BillingProfileCustomerOverrideWithDetails"][];
502
500
  }>;
503
501
  /**
504
502
  * Delete a customer override
@@ -1 +1 @@
1
- {"version":3,"file":"billing.js","sourceRoot":"","sources":["../../../../src/client/billing.ts"],"names":[],"mappings":";;;AAAA,yCAA8C;AAc9C;;GAEG;AACH,MAAa,OAAO;IAKE;IAJb,QAAQ,CAAiB;IACzB,QAAQ,CAAiB;IACzB,SAAS,CAAkB;IAElC,YAAoB,MAA4C;QAA5C,WAAM,GAAN,MAAM,CAAsC;QAC9D,IAAI,CAAC,QAAQ,GAAG,IAAI,eAAe,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;QAChD,IAAI,CAAC,QAAQ,GAAG,IAAI,eAAe,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;QAChD,IAAI,CAAC,SAAS,GAAG,IAAI,gBAAgB,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;IACpD,CAAC;CACF;AAVD,0BAUC;AAED;;GAEG;AACH,MAAa,eAAe;IACN;IAApB,YAAoB,MAA4C;QAA5C,WAAM,GAAN,MAAM,CAAsC;IAAG,CAAC;IAEpE;;;;;OAKG;IACI,KAAK,CAAC,MAAM,CACjB,cAAoC,EACpC,OAAwB;QAExB,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,0BAA0B,EAAE;YAC9D,IAAI,EAAE,cAAc;YACpB,GAAG,OAAO;SACX,CAAC,CAAA;QAEF,OAAO,IAAA,4BAAiB,EAAC,IAAI,CAAC,CAAA;IAChC,CAAC;IAED;;;;;OAKG;IACI,KAAK,CAAC,GAAG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EAAuF,EACvF,OAAwB;QAExB,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,GAAG,CAChC,wCAAwC,EACxC;YACE,MAAM,EAAE,EAAE,IAAI,EAAE,EAAE,UAAU,EAAE,EAAE,EAAE,EAAE;YACpC,GAAG,OAAO;SACX,CACF,CAAA;QAED,OAAO,IAAA,4BAAiB,EAAC,IAAI,CAAC,CAAA;IAChC,CAAC;IAED;;;;;OAKG;IACI,KAAK,CAAC,aAAa,CACxB,KAAgF,EAChF,OAAwB;QAExB,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,2BAA2B,EAAE;YAC9D,MAAM,EAAE,EAAE,KAAK,EAAE;YACjB,GAAG,OAAO;SACX,CAAC,CAAA;QAEF,OAAO,IAAA,4BAAiB,EAAC,IAAI,CAAC,CAAA;IAChC,CAAC;IAED;;;;;OAKG;IACI,KAAK,CAAC,cAAc,CACzB,EAA0F,EAC1F,OAAwB;QAExB,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,MAAM,CACnC,wCAAwC,EACxC;YACE,MAAM,EAAE,EAAE,IAAI,EAAE,EAAE,UAAU,EAAE,EAAE,EAAE,EAAE;YACpC,GAAG,OAAO;SACX,CACF,CAAA;QAED,OAAO,IAAA,4BAAiB,EAAC,IAAI,CAAC,CAAA;IAChC,CAAC;CACF;AAtFD,4CAsFC"}
@@ -236,10 +236,10 @@ export declare class Entitlements {
236
236
  currentUsagePeriod?: import("./schemas.cjs").components["schemas"]["Period"];
237
237
  usagePeriod?: import("./schemas.cjs").components["schemas"]["RecurringPeriod"];
238
238
  } & {
239
- readonly id: string;
240
239
  readonly createdAt: Date;
241
240
  readonly updatedAt: Date;
242
241
  type: import("./schemas.cjs").components["schemas"]["EntitlementType"];
242
+ readonly id: string;
243
243
  activeFrom: Date;
244
244
  subjectKey: string;
245
245
  featureKey: string;
@@ -119,12 +119,12 @@ export interface paths {
119
119
  * @description Get a customer override by customer id.
120
120
  */
121
121
  get: operations['getBillingProfileCustomerOverride'];
122
- put?: never;
123
122
  /**
124
123
  * Create a new or update a customer override
125
124
  * @description Create a new or update an existing customer override.
126
125
  */
127
- post: operations['upsertBillingProfileCustomerOverride'];
126
+ put: operations['upsertBillingProfileCustomerOverride'];
127
+ post?: never;
128
128
  /**
129
129
  * Delete a customer override
130
130
  * @description Delete a customer override by customer id.
@@ -1646,6 +1646,7 @@ export interface paths {
1646
1646
  /**
1647
1647
  * Cancel subscription
1648
1648
  * @description Cancels the subscription.
1649
+ * Will result in a scheduling conflict if there are other subscriptions scheduled to start after the cancellation time.
1649
1650
  */
1650
1651
  post: operations['cancelSubscription'];
1651
1652
  delete?: never;
@@ -1697,6 +1698,27 @@ export interface paths {
1697
1698
  patch?: never;
1698
1699
  trace?: never;
1699
1700
  };
1701
+ '/api/v1/subscriptions/{subscriptionId}/restore': {
1702
+ parameters: {
1703
+ query?: never;
1704
+ header?: never;
1705
+ path?: never;
1706
+ cookie?: never;
1707
+ };
1708
+ get?: never;
1709
+ put?: never;
1710
+ /**
1711
+ * Restore subscription
1712
+ * @description Restores a canceled subscription.
1713
+ * Any subscription scheduled to start later will be deleted and this subscription will be continued indefinitely.
1714
+ */
1715
+ post: operations['restoreSubscription'];
1716
+ delete?: never;
1717
+ options?: never;
1718
+ head?: never;
1719
+ patch?: never;
1720
+ trace?: never;
1721
+ };
1700
1722
  '/api/v1/subscriptions/{subscriptionId}/unschedule-cancelation': {
1701
1723
  parameters: {
1702
1724
  query?: never;
@@ -1852,6 +1874,21 @@ export interface components {
1852
1874
  */
1853
1875
  readonly balanceAtStart: number;
1854
1876
  };
1877
+ /** @description Customer specific merged profile.
1878
+ *
1879
+ * This profile is calculated from the customer override and the billing profile it references or the default.
1880
+ *
1881
+ * Thus this does not have any kind of resource fields, only the calculated values. */
1882
+ BillingCustomerProfile: {
1883
+ /** @description The name and contact information for the supplier this billing profile represents */
1884
+ readonly supplier: components['schemas']['BillingParty'];
1885
+ /** @description The billing workflow settings for this profile */
1886
+ readonly workflow: components['schemas']['BillingWorkflow'];
1887
+ /** @description The applications used by this billing profile.
1888
+ *
1889
+ * Expand settings govern if this includes the whole app object or just the ID references. */
1890
+ readonly apps: components['schemas']['BillingProfileAppsOrReference'];
1891
+ };
1855
1892
  /** @description InvoiceLineCharge represents an amount added to the line, and will be applied before taxes. */
1856
1893
  BillingLineCharge: {
1857
1894
  /**
@@ -2027,7 +2064,7 @@ export interface components {
2027
2064
  /** @description The apps used by this billing profile. */
2028
2065
  apps: components['schemas']['BillingProfileAppsCreate'];
2029
2066
  };
2030
- /** @description Customer specific workflow overrides. */
2067
+ /** @description Customer override values. */
2031
2068
  BillingProfileCustomerOverride: {
2032
2069
  /**
2033
2070
  * Creation Time
@@ -2043,27 +2080,21 @@ export interface components {
2043
2080
  * @example 2024-01-01T01:01:01.001Z
2044
2081
  */
2045
2082
  readonly updatedAt: Date;
2046
- /**
2047
- * Deletion Time
2048
- * Format: date-time
2049
- * @description Timestamp of when the resource was permanently deleted.
2050
- * @example 2024-01-01T01:01:01.001Z
2051
- */
2052
- readonly deletedAt?: Date;
2053
- /** @description The details of the overrides active for this specific customer. */
2054
- workflow?: components['schemas']['BillingProfileCustomerWorkflowOverride'];
2055
2083
  /**
2056
2084
  * @description The billing profile this override is associated with.
2057
2085
  *
2058
- * If not provided, the default billing profile is chosen if available.
2086
+ * If empty the default profile is looked up dynamically.
2059
2087
  * @example 01G65Z755AFWAKHE12NY0CQ9FH
2060
2088
  */
2061
- billingProfile?: string;
2089
+ billingProfileId?: string;
2090
+ /**
2091
+ * @description The customer id this override is associated with.
2092
+ * @example 01G65Z755AFWAKHE12NY0CQ9FH
2093
+ */
2094
+ customerId: string;
2062
2095
  };
2063
2096
  /** @description Payload for creating a new or updating an existing customer override. */
2064
2097
  BillingProfileCustomerOverrideCreate: {
2065
- /** @description The details of the overrides active for this specific customer. */
2066
- workflow?: components['schemas']['BillingProfileCustomerWorkflowOverrideCreate'];
2067
2098
  /**
2068
2099
  * @description The billing profile this override is associated with.
2069
2100
  *
@@ -2072,13 +2103,37 @@ export interface components {
2072
2103
  */
2073
2104
  billingProfile?: string;
2074
2105
  };
2106
+ /**
2107
+ * @description CustomerOverrideExpand specifies the parts of the profile to expand.
2108
+ * @enum {string}
2109
+ */
2110
+ BillingProfileCustomerOverrideExpand: 'apps' | 'customer';
2075
2111
  /**
2076
2112
  * @description Order by options for customers.
2077
2113
  * @enum {string}
2078
2114
  */
2079
- BillingProfileCustomerOverrideOrderBy: 'id';
2115
+ BillingProfileCustomerOverrideOrderBy: 'customerId' | 'customerName' | 'customerKey' | 'customerPrimaryEmail' | 'customerCreatedAt';
2116
+ /** @description Customer specific workflow overrides. */
2117
+ BillingProfileCustomerOverrideWithDetails: {
2118
+ /** @description The customer override values.
2119
+ *
2120
+ * If empty the merged values are calculated based on the default profile. */
2121
+ customerOverride?: components['schemas']['BillingProfileCustomerOverride'];
2122
+ /**
2123
+ * @description The billing profile the customerProfile is associated with at the time of query.
2124
+ *
2125
+ * customerOverride contains the explicit mapping set in the customer override object. If that is
2126
+ * empty, then the baseBillingProfileId is the default profile.
2127
+ * @example 01G65Z755AFWAKHE12NY0CQ9FH
2128
+ */
2129
+ baseBillingProfileId: string;
2130
+ /** @description Merged billing profile with the customer specific overrides. */
2131
+ customerProfile?: components['schemas']['BillingCustomerProfile'];
2132
+ /** @description The customer this override belongs to. */
2133
+ customer?: components['schemas']['Customer'];
2134
+ };
2080
2135
  /** @description Paginated response */
2081
- BillingProfileCustomerOverridePaginatedResponse: {
2136
+ BillingProfileCustomerOverrideWithDetailsPaginatedResponse: {
2082
2137
  /**
2083
2138
  * @description The items in the current page.
2084
2139
  * @example 500
@@ -2095,37 +2150,13 @@ export interface components {
2095
2150
  */
2096
2151
  pageSize: number;
2097
2152
  /** @description The items in the current page. */
2098
- items: components['schemas']['BillingProfileCustomerOverride'][];
2099
- };
2100
- /** @description Customer specific workflow overrides. */
2101
- BillingProfileCustomerWorkflowOverride: {
2102
- /** @description The collection settings for this workflow */
2103
- collection?: components['schemas']['BillingWorkflowCollectionSettings'];
2104
- /** @description The invoicing settings for this workflow */
2105
- invoicing?: components['schemas']['BillingWorkflowInvoicingSettings'];
2106
- /** @description The payment settings for this workflow */
2107
- payment?: components['schemas']['BillingWorkflowPaymentSettings'];
2108
- /** @description The tax app used for this workflow */
2109
- readonly taxApp: components['schemas']['App'];
2110
- /** @description The invoicing app used for this workflow */
2111
- readonly invoicingApp: components['schemas']['App'];
2112
- /** @description The payment app used for this workflow */
2113
- readonly paymentApp: components['schemas']['App'];
2114
- };
2115
- /** @description Resource create operation model. */
2116
- BillingProfileCustomerWorkflowOverrideCreate: {
2117
- /** @description The collection settings for this workflow */
2118
- collection?: components['schemas']['BillingWorkflowCollectionSettings'];
2119
- /** @description The invoicing settings for this workflow */
2120
- invoicing?: components['schemas']['BillingWorkflowInvoicingSettings'];
2121
- /** @description The payment settings for this workflow */
2122
- payment?: components['schemas']['BillingWorkflowPaymentSettings'];
2153
+ items: components['schemas']['BillingProfileCustomerOverrideWithDetails'][];
2123
2154
  };
2124
2155
  /**
2125
2156
  * @description BillingProfileExpand details what profile fields to expand
2126
2157
  * @enum {string}
2127
2158
  */
2128
- BillingProfileExpand: 'apps' | '*';
2159
+ BillingProfileExpand: 'apps';
2129
2160
  /**
2130
2161
  * @description BillingProfileOrderBy specifies the ordering options for profiles
2131
2162
  * @enum {string}
@@ -4157,7 +4188,7 @@ export interface components {
4157
4188
  * @description InvoiceExpand specifies the parts of the invoice to expand in the list output.
4158
4189
  * @enum {string}
4159
4190
  */
4160
- InvoiceExpand: '*' | 'lines' | 'preceding' | 'workflow.apps';
4191
+ InvoiceExpand: 'lines' | 'preceding' | 'workflow.apps';
4161
4192
  /**
4162
4193
  * @description InvoiceFlatFeeCategory determines if the flat fee is a regular fee due to use due to a
4163
4194
  * commitment.
@@ -7654,6 +7685,24 @@ export interface components {
7654
7685
  'BillingProfileCustomerOverrideOrderByOrdering.order': components['schemas']['SortOrder'];
7655
7686
  /** @description The order by field. */
7656
7687
  'BillingProfileCustomerOverrideOrderByOrdering.orderBy': components['schemas']['BillingProfileCustomerOverrideOrderBy'];
7688
+ /** @description Filter by billing profile. */
7689
+ 'BillingProfileListCustomerOverridesParams.billingProfile': string[];
7690
+ /** @description Filter by customer id. */
7691
+ 'BillingProfileListCustomerOverridesParams.customerId': string[];
7692
+ /** @description Filter by customer key */
7693
+ 'BillingProfileListCustomerOverridesParams.customerKey': string;
7694
+ /** @description Filter by customer name. */
7695
+ 'BillingProfileListCustomerOverridesParams.customerName': string;
7696
+ /** @description Filter by customer primary email */
7697
+ 'BillingProfileListCustomerOverridesParams.customerPrimaryEmail': string;
7698
+ /** @description Expand the response with additional details. */
7699
+ 'BillingProfileListCustomerOverridesParams.expand': components['schemas']['BillingProfileCustomerOverrideExpand'][];
7700
+ /** @description Include customers without customer overrides.
7701
+ *
7702
+ * If set to false only the customers specifically associated with a billing profile will be returned.
7703
+ *
7704
+ * If set to true, in case of the default billing profile, all customers will be returned. */
7705
+ 'BillingProfileListCustomerOverridesParams.includeAllCustomers': boolean;
7657
7706
  /** @description The order direction. */
7658
7707
  'BillingProfileOrderByOrdering.order': components['schemas']['SortOrder'];
7659
7708
  /** @description The order by field. */
@@ -7812,6 +7861,7 @@ export type AppStatus = components['schemas']['AppStatus'];
7812
7861
  export type AppType = components['schemas']['AppType'];
7813
7862
  export type BadRequestProblemResponse = components['schemas']['BadRequestProblemResponse'];
7814
7863
  export type BalanceHistoryWindow = components['schemas']['BalanceHistoryWindow'];
7864
+ export type BillingCustomerProfile = components['schemas']['BillingCustomerProfile'];
7815
7865
  export type BillingLineCharge = components['schemas']['BillingLineCharge'];
7816
7866
  export type BillingParty = components['schemas']['BillingParty'];
7817
7867
  export type BillingPartyReplaceUpdate = components['schemas']['BillingPartyReplaceUpdate'];
@@ -7824,10 +7874,10 @@ export type BillingProfileAppsOrReference = components['schemas']['BillingProfil
7824
7874
  export type BillingProfileCreate = components['schemas']['BillingProfileCreate'];
7825
7875
  export type BillingProfileCustomerOverride = components['schemas']['BillingProfileCustomerOverride'];
7826
7876
  export type BillingProfileCustomerOverrideCreate = components['schemas']['BillingProfileCustomerOverrideCreate'];
7877
+ export type BillingProfileCustomerOverrideExpand = components['schemas']['BillingProfileCustomerOverrideExpand'];
7827
7878
  export type BillingProfileCustomerOverrideOrderBy = components['schemas']['BillingProfileCustomerOverrideOrderBy'];
7828
- export type BillingProfileCustomerOverridePaginatedResponse = components['schemas']['BillingProfileCustomerOverridePaginatedResponse'];
7829
- export type BillingProfileCustomerWorkflowOverride = components['schemas']['BillingProfileCustomerWorkflowOverride'];
7830
- export type BillingProfileCustomerWorkflowOverrideCreate = components['schemas']['BillingProfileCustomerWorkflowOverrideCreate'];
7879
+ export type BillingProfileCustomerOverrideWithDetails = components['schemas']['BillingProfileCustomerOverrideWithDetails'];
7880
+ export type BillingProfileCustomerOverrideWithDetailsPaginatedResponse = components['schemas']['BillingProfileCustomerOverrideWithDetailsPaginatedResponse'];
7831
7881
  export type BillingProfileExpand = components['schemas']['BillingProfileExpand'];
7832
7882
  export type BillingProfileOrderBy = components['schemas']['BillingProfileOrderBy'];
7833
7883
  export type BillingProfilePaginatedResponse = components['schemas']['BillingProfilePaginatedResponse'];
@@ -8097,6 +8147,13 @@ export type WindowSize = components['schemas']['WindowSize'];
8097
8147
  export type WindowedBalanceHistory = components['schemas']['WindowedBalanceHistory'];
8098
8148
  export type ParameterBillingProfileCustomerOverrideOrderByOrderingOrder = components['parameters']['BillingProfileCustomerOverrideOrderByOrdering.order'];
8099
8149
  export type ParameterBillingProfileCustomerOverrideOrderByOrderingOrderBy = components['parameters']['BillingProfileCustomerOverrideOrderByOrdering.orderBy'];
8150
+ export type ParameterBillingProfileListCustomerOverridesParamsBillingProfile = components['parameters']['BillingProfileListCustomerOverridesParams.billingProfile'];
8151
+ export type ParameterBillingProfileListCustomerOverridesParamsCustomerId = components['parameters']['BillingProfileListCustomerOverridesParams.customerId'];
8152
+ export type ParameterBillingProfileListCustomerOverridesParamsCustomerKey = components['parameters']['BillingProfileListCustomerOverridesParams.customerKey'];
8153
+ export type ParameterBillingProfileListCustomerOverridesParamsCustomerName = components['parameters']['BillingProfileListCustomerOverridesParams.customerName'];
8154
+ export type ParameterBillingProfileListCustomerOverridesParamsCustomerPrimaryEmail = components['parameters']['BillingProfileListCustomerOverridesParams.customerPrimaryEmail'];
8155
+ export type ParameterBillingProfileListCustomerOverridesParamsExpand = components['parameters']['BillingProfileListCustomerOverridesParams.expand'];
8156
+ export type ParameterBillingProfileListCustomerOverridesParamsIncludeAllCustomers = components['parameters']['BillingProfileListCustomerOverridesParams.includeAllCustomers'];
8100
8157
  export type ParameterBillingProfileOrderByOrderingOrder = components['parameters']['BillingProfileOrderByOrdering.order'];
8101
8158
  export type ParameterBillingProfileOrderByOrderingOrderBy = components['parameters']['BillingProfileOrderByOrdering.orderBy'];
8102
8159
  export type ParameterCustomerOrderByOrderingOrder = components['parameters']['CustomerOrderByOrdering.order'];
@@ -8660,7 +8717,28 @@ export interface operations {
8660
8717
  listBillingProfileCustomerOverrides: {
8661
8718
  parameters: {
8662
8719
  query?: {
8663
- billingProfile?: string[];
8720
+ /** @description Filter by billing profile. */
8721
+ billingProfile?: components['parameters']['BillingProfileListCustomerOverridesParams.billingProfile'];
8722
+ /** @description Include customers without customer overrides.
8723
+ *
8724
+ * If set to false only the customers specifically associated with a billing profile will be returned.
8725
+ *
8726
+ * If set to true, in case of the default billing profile, all customers will be returned. */
8727
+ includeAllCustomers?: components['parameters']['BillingProfileListCustomerOverridesParams.includeAllCustomers'];
8728
+ /** @description Filter by customer id. */
8729
+ customerId?: components['parameters']['BillingProfileListCustomerOverridesParams.customerId'];
8730
+ /** @description Filter by customer name. */
8731
+ customerName?: components['parameters']['BillingProfileListCustomerOverridesParams.customerName'];
8732
+ /** @description Filter by customer key */
8733
+ customerKey?: components['parameters']['BillingProfileListCustomerOverridesParams.customerKey'];
8734
+ /** @description Filter by customer primary email */
8735
+ customerPrimaryEmail?: components['parameters']['BillingProfileListCustomerOverridesParams.customerPrimaryEmail'];
8736
+ /** @description Expand the response with additional details. */
8737
+ expand?: components['parameters']['BillingProfileListCustomerOverridesParams.expand'];
8738
+ /** @description The order direction. */
8739
+ order?: components['parameters']['BillingProfileCustomerOverrideOrderByOrdering.order'];
8740
+ /** @description The order by field. */
8741
+ orderBy?: components['parameters']['BillingProfileCustomerOverrideOrderByOrdering.orderBy'];
8664
8742
  /** @description Start date-time in RFC 3339 format.
8665
8743
  *
8666
8744
  * Inclusive. */
@@ -8669,18 +8747,6 @@ export interface operations {
8669
8747
  *
8670
8748
  * Default is 100. */
8671
8749
  pageSize?: components['parameters']['Pagination.pageSize'];
8672
- /** @description Number of items to skip.
8673
- *
8674
- * Default is 0. */
8675
- offset?: components['parameters']['LimitOffset.offset'];
8676
- /** @description Number of items to return.
8677
- *
8678
- * Default is 100. */
8679
- limit?: components['parameters']['LimitOffset.limit'];
8680
- /** @description The order direction. */
8681
- order?: components['parameters']['BillingProfileCustomerOverrideOrderByOrdering.order'];
8682
- /** @description The order by field. */
8683
- orderBy?: components['parameters']['BillingProfileCustomerOverrideOrderByOrdering.orderBy'];
8684
8750
  };
8685
8751
  header?: never;
8686
8752
  path?: never;
@@ -8694,7 +8760,7 @@ export interface operations {
8694
8760
  [name: string]: unknown;
8695
8761
  };
8696
8762
  content: {
8697
- 'application/json': components['schemas']['BillingProfileCustomerOverridePaginatedResponse'];
8763
+ 'application/json': components['schemas']['BillingProfileCustomerOverrideWithDetailsPaginatedResponse'];
8698
8764
  };
8699
8765
  };
8700
8766
  /** @description The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing). */
@@ -8755,7 +8821,9 @@ export interface operations {
8755
8821
  };
8756
8822
  getBillingProfileCustomerOverride: {
8757
8823
  parameters: {
8758
- query?: never;
8824
+ query?: {
8825
+ expand?: components['schemas']['BillingProfileCustomerOverrideExpand'][];
8826
+ };
8759
8827
  header?: never;
8760
8828
  path: {
8761
8829
  customerId: string;
@@ -8770,7 +8838,7 @@ export interface operations {
8770
8838
  [name: string]: unknown;
8771
8839
  };
8772
8840
  content: {
8773
- 'application/json': components['schemas']['BillingProfileCustomerOverride'];
8841
+ 'application/json': components['schemas']['BillingProfileCustomerOverrideWithDetails'];
8774
8842
  };
8775
8843
  };
8776
8844
  /** @description The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing). */
@@ -8859,16 +8927,7 @@ export interface operations {
8859
8927
  [name: string]: unknown;
8860
8928
  };
8861
8929
  content: {
8862
- 'application/json': components['schemas']['BillingProfileCustomerOverride'] | components['schemas']['BillingProfileCustomerOverride'];
8863
- };
8864
- };
8865
- /** @description The request has succeeded and a new resource has been created as a result. */
8866
- 201: {
8867
- headers: {
8868
- [name: string]: unknown;
8869
- };
8870
- content: {
8871
- 'application/json': components['schemas']['BillingProfileCustomerOverride'];
8930
+ 'application/json': components['schemas']['BillingProfileCustomerOverrideWithDetails'];
8872
8931
  };
8873
8932
  };
8874
8933
  /** @description The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing). */
@@ -9124,14 +9183,6 @@ export interface operations {
9124
9183
  *
9125
9184
  * Default is 100. */
9126
9185
  pageSize?: components['parameters']['Pagination.pageSize'];
9127
- /** @description Number of items to skip.
9128
- *
9129
- * Default is 0. */
9130
- offset?: components['parameters']['LimitOffset.offset'];
9131
- /** @description Number of items to return.
9132
- *
9133
- * Default is 100. */
9134
- limit?: components['parameters']['LimitOffset.limit'];
9135
9186
  /** @description The order direction. */
9136
9187
  order?: components['parameters']['InvoiceOrderByOrdering.order'];
9137
9188
  /** @description The order by field. */
@@ -10066,14 +10117,6 @@ export interface operations {
10066
10117
  *
10067
10118
  * Default is 100. */
10068
10119
  pageSize?: components['parameters']['Pagination.pageSize'];
10069
- /** @description Number of items to skip.
10070
- *
10071
- * Default is 0. */
10072
- offset?: components['parameters']['LimitOffset.offset'];
10073
- /** @description Number of items to return.
10074
- *
10075
- * Default is 100. */
10076
- limit?: components['parameters']['LimitOffset.limit'];
10077
10120
  /** @description The order direction. */
10078
10121
  order?: components['parameters']['BillingProfileOrderByOrdering.order'];
10079
10122
  /** @description The order by field. */
@@ -17527,6 +17570,91 @@ export interface operations {
17527
17570
  };
17528
17571
  };
17529
17572
  };
17573
+ restoreSubscription: {
17574
+ parameters: {
17575
+ query?: never;
17576
+ header?: never;
17577
+ path: {
17578
+ subscriptionId: string;
17579
+ };
17580
+ cookie?: never;
17581
+ };
17582
+ requestBody?: never;
17583
+ responses: {
17584
+ /** @description The request has succeeded. */
17585
+ 200: {
17586
+ headers: {
17587
+ [name: string]: unknown;
17588
+ };
17589
+ content: {
17590
+ 'application/json': components['schemas']['Subscription'];
17591
+ };
17592
+ };
17593
+ /** @description The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing). */
17594
+ 400: {
17595
+ headers: {
17596
+ [name: string]: unknown;
17597
+ };
17598
+ content: {
17599
+ 'application/problem+json': components['schemas']['BadRequestProblemResponse'];
17600
+ };
17601
+ };
17602
+ /** @description The request has not been applied because it lacks valid authentication credentials for the target resource. */
17603
+ 401: {
17604
+ headers: {
17605
+ [name: string]: unknown;
17606
+ };
17607
+ content: {
17608
+ 'application/problem+json': components['schemas']['UnauthorizedProblemResponse'];
17609
+ };
17610
+ };
17611
+ /** @description The server understood the request but refuses to authorize it. */
17612
+ 403: {
17613
+ headers: {
17614
+ [name: string]: unknown;
17615
+ };
17616
+ content: {
17617
+ 'application/problem+json': components['schemas']['ForbiddenProblemResponse'];
17618
+ };
17619
+ };
17620
+ /** @description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists. */
17621
+ 404: {
17622
+ headers: {
17623
+ [name: string]: unknown;
17624
+ };
17625
+ content: {
17626
+ 'application/problem+json': components['schemas']['NotFoundProblemResponse'];
17627
+ };
17628
+ };
17629
+ /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
17630
+ 500: {
17631
+ headers: {
17632
+ [name: string]: unknown;
17633
+ };
17634
+ content: {
17635
+ 'application/problem+json': components['schemas']['InternalServerErrorProblemResponse'];
17636
+ };
17637
+ };
17638
+ /** @description The server is currently unable to handle the request due to a temporary overload or scheduled maintenance, which will likely be alleviated after some delay. */
17639
+ 503: {
17640
+ headers: {
17641
+ [name: string]: unknown;
17642
+ };
17643
+ content: {
17644
+ 'application/problem+json': components['schemas']['ServiceUnavailableProblemResponse'];
17645
+ };
17646
+ };
17647
+ /** @description An unexpected error response. */
17648
+ default: {
17649
+ headers: {
17650
+ [name: string]: unknown;
17651
+ };
17652
+ content: {
17653
+ 'application/problem+json': components['schemas']['UnexpectedProblemResponse'];
17654
+ };
17655
+ };
17656
+ };
17657
+ };
17530
17658
  unscheduleCancelation: {
17531
17659
  parameters: {
17532
17660
  query?: never;