orb-billing 2.6.0 → 2.7.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.
@@ -226,12 +226,10 @@ export class Events extends APIResource {
226
226
  * We validate the following:
227
227
  *
228
228
  * - Exactly one of `customer_id` and `external_customer_id` should be specified.
229
- * - If specified, `customer_id` must identify a Customer resource within Orb. We
230
- * do not support sending events for customers that have not been provisioned.
231
- * Similarly, if specified, `external_customer_id` must be an identifier that is
232
- * associated with an Orb Customer resource. Note: During our initial integration
233
- * period, this enforcement will be temporarily turned into a warning to ensure
234
- * smooth customer migration.
229
+ * - If the `customer_id` is specified, the customer in Orb must exist.
230
+ * - If the `external_customer_id` is specified, the customer in Orb does not need
231
+ * to exist. Events will be attributed to any future customers with the
232
+ * `external_customer_id` on subscription creation.
235
233
  * - `timestamp` must conform to ISO 8601 and represent a timestamp at most 1 hour
236
234
  * in the future. This timestamp should be sent in UTC timezone (no timezone
237
235
  * offset).
@@ -241,7 +239,9 @@ export class Events extends APIResource {
241
239
  * Orb's idempotency guarantees allow you to implement safe retry logic in the
242
240
  * event of network or machine failures, ensuring data fidelity. Each event in the
243
241
  * request payload is associated with an idempotency key, and Orb guarantees that a
244
- * single idempotency key will be successfully ingested at most once.
242
+ * single idempotency key will be successfully ingested at most once. Note that
243
+ * when Orb encounters events with duplicate idempotency keys and differing event
244
+ * bodies in a batch of events, the entire batch will be rejected.
245
245
  *
246
246
  * - Successful responses return a 200 HTTP status code. The response contains
247
247
  * information about previously processed events.
@@ -6,10 +6,7 @@ export {
6
6
  AlertListParams,
7
7
  AlertCreateForCustomerParams,
8
8
  AlertCreateForExternalCustomerParams,
9
- AlertCreateForPlanParams,
10
9
  AlertCreateForSubscriptionParams,
11
- AlertDisableParams,
12
- AlertEnableParams,
13
10
  AlertsPage,
14
11
  Alerts,
15
12
  } from './alerts';
@@ -2087,7 +2087,7 @@ export interface SubscriptionCreateParams {
2087
2087
 
2088
2088
  net_terms?: number | null;
2089
2089
 
2090
- per_credit_overage_amount?: string | null;
2090
+ per_credit_overage_amount?: number | null;
2091
2091
 
2092
2092
  /**
2093
2093
  * The plan that the given subscription should be switched to. Note that either
@@ -4827,7 +4827,7 @@ export interface SubscriptionSchedulePlanChangeParams {
4827
4827
  */
4828
4828
  invoicing_threshold?: string | null;
4829
4829
 
4830
- per_credit_overage_amount?: string | null;
4830
+ per_credit_overage_amount?: number | null;
4831
4831
 
4832
4832
  /**
4833
4833
  * The plan that the given subscription should be switched to. Note that either
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '2.6.0'; // x-release-please-version
1
+ export const VERSION = '2.7.0'; // x-release-please-version
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "2.6.0";
1
+ export declare const VERSION = "2.7.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '2.6.0'; // x-release-please-version
4
+ exports.VERSION = '2.7.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '2.6.0'; // x-release-please-version
1
+ export const VERSION = '2.7.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map