@zuplo/runtime 5.1800.0 → 5.1801.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.
package/index.d.ts CHANGED
@@ -2326,26 +2326,6 @@ declare interface KeyValueStorePutOptions {
2326
2326
  expirationSecondsTtl?: number;
2327
2327
  }
2328
2328
 
2329
- /* Excluded from this release type: LoadSubscriptionInboundPolicy */
2330
-
2331
- /**
2332
- * The options for this policy.
2333
- */
2334
- export declare interface LoadSubscriptionInboundPolicyOptions {
2335
- /**
2336
- * Indicates if requests without subscription should be allowed or not.
2337
- */
2338
- allowRequestsWithoutSubscription?: boolean;
2339
- /**
2340
- * Indicates which subscription statuses should be allowed.
2341
- */
2342
- allowedSubscriptionStatuses?: ("active" | "inactive" | "incomplete" | "incomplete-expired" | "trialing" | "past-due" | "canceled" | "unpaid")[];
2343
- /**
2344
- * Indicates the bucket to be used, overrides the default one.
2345
- */
2346
- bucketId?: string;
2347
- }
2348
-
2349
2329
  /**
2350
2330
  * @beta
2351
2331
  */
@@ -2435,40 +2415,6 @@ export declare class MemoryZoneReadThroughCache<T = unknown> {
2435
2415
  put(key: string, data: T, ttlSeconds: number): void;
2436
2416
  }
2437
2417
 
2438
- /* Excluded from this release type: MeteringInboundPolicy */
2439
-
2440
- /**
2441
- * The options for this policy.
2442
- */
2443
- export declare interface MeteringInboundPolicyOptions {
2444
- /**
2445
- * Indicates if requests without subscription should be allowed or not..
2446
- */
2447
- allowRequestsWithoutSubscription?: boolean;
2448
- /**
2449
- * Indicates if requests over quota should be allowed or not.
2450
- */
2451
- allowRequestsOverQuota?: boolean;
2452
- /**
2453
- * Indicates the bucket to be used, overrides the default one.
2454
- */
2455
- bucketId?: string;
2456
- /**
2457
- * The meters to be used by the policy against the subscription quota.
2458
- */
2459
- meters: {
2460
- /**
2461
- * This interface was referenced by `undefined`'s JSON-Schema definition
2462
- * via the `patternProperty` "^.*$".
2463
- */
2464
- [k: string]: number;
2465
- };
2466
- /**
2467
- * A list of successful status codes and ranges "200-299, 304" that should trigger a metering call.
2468
- */
2469
- meterOnStatusCodes?: string | number[];
2470
- }
2471
-
2472
2418
  /* Excluded from this release type: MeteringPlugin */
2473
2419
 
2474
2420
  /* Excluded from this release type: MetricsData */
@@ -2571,6 +2517,44 @@ export declare interface MoesifInboundPolicyOptions {
2571
2517
  logResponseBody?: boolean;
2572
2518
  }
2573
2519
 
2520
+ /* Excluded from this release type: MonetizationInboundPolicy */
2521
+
2522
+ /**
2523
+ * The options for this policy.
2524
+ */
2525
+ export declare interface MonetizationInboundPolicyOptions {
2526
+ /**
2527
+ * Indicates if requests without subscription should be allowed or not.
2528
+ */
2529
+ allowRequestsWithoutSubscription?: boolean;
2530
+ /**
2531
+ * Indicates which subscription statuses should be allowed.
2532
+ */
2533
+ allowedSubscriptionStatuses?: ("active" | "inactive" | "incomplete" | "incomplete-expired" | "trialing" | "past-due" | "canceled" | "unpaid")[];
2534
+ /**
2535
+ * Indicates the bucket to be used, overrides the default one.
2536
+ */
2537
+ bucketId?: string;
2538
+ /**
2539
+ * Indicates if requests over quota should be allowed or not.
2540
+ */
2541
+ allowRequestsOverQuota?: boolean;
2542
+ /**
2543
+ * The meters to be used by the policy against the subscription quota.
2544
+ */
2545
+ meters: {
2546
+ /**
2547
+ * This interface was referenced by `undefined`'s JSON-Schema definition
2548
+ * via the `patternProperty` "^.*$".
2549
+ */
2550
+ [k: string]: number;
2551
+ };
2552
+ /**
2553
+ * A list of successful status codes and ranges "200-299, 304" that should trigger a metering call.
2554
+ */
2555
+ meterOnStatusCodes?: string | number[];
2556
+ }
2557
+
2574
2558
  declare interface NotFoundOptions {
2575
2559
  routesMatchedByPathOnly: RouteConfiguration[];
2576
2560
  }