@delopay/sdk 0.209.0 → 0.210.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/dist/index.cjs CHANGED
@@ -104,7 +104,6 @@ __export(index_exports, {
104
104
  Products: () => Products,
105
105
  RTL_CHECKOUT_LOCALES: () => RTL_CHECKOUT_LOCALES,
106
106
  Regions: () => Regions,
107
- ReplayRetention: () => ReplayRetention,
108
107
  Risk: () => Risk,
109
108
  SECTION_ALIASES: () => SECTION_ALIASES,
110
109
  STRIPE_FALLBACK_PANE_CATALOG: () => STRIPE_FALLBACK_PANE_CATALOG,
@@ -6293,24 +6292,6 @@ var ProcessorCosts = class {
6293
6292
  }
6294
6293
  };
6295
6294
 
6296
- // src/resources/checkoutBrowserInfo.ts
6297
- var CheckoutBrowserInfo = class {
6298
- constructor(request) {
6299
- this.request = request;
6300
- }
6301
- /** Read the merchant's own setting and effective collection policy. */
6302
- async retrieve(merchantId) {
6303
- return this.request("GET", "/checkout-browser-info", { query: { merchant_id: merchantId } });
6304
- }
6305
- /** Replace the merchant setting. An admin refusal still wins; changes are audited. */
6306
- async update(merchantId, body) {
6307
- return this.request("PUT", "/checkout-browser-info", {
6308
- query: { merchant_id: merchantId },
6309
- body
6310
- });
6311
- }
6312
- };
6313
-
6314
6295
  // src/resources/checkoutMethods.ts
6315
6296
  var CheckoutMethods = class {
6316
6297
  constructor(request) {
@@ -7386,85 +7367,6 @@ var OperationLimits = class {
7386
7367
  }
7387
7368
  };
7388
7369
 
7389
- // src/resources/replayRetention.ts
7390
- var ReplayRetention = class {
7391
- constructor(request) {
7392
- this.request = request;
7393
- }
7394
- /**
7395
- * Every level that is set for the caller's merchant, plus the global level
7396
- * when one is set.
7397
- *
7398
- * `GET /replay-retention`
7399
- */
7400
- async list() {
7401
- return this.request("GET", "/replay-retention");
7402
- }
7403
- /**
7404
- * What applies to one shop's recordings, and which level decided.
7405
- *
7406
- * `GET /replay-retention/shops/{profileId}/effective`
7407
- */
7408
- async effective(profileId) {
7409
- return this.request(
7410
- "GET",
7411
- `/replay-retention/shops/${encodeURIComponent(profileId)}/effective`
7412
- );
7413
- }
7414
- /**
7415
- * Set the merchant-wide level.
7416
- *
7417
- * `PUT /replay-retention/merchant`
7418
- */
7419
- async setMerchant(params) {
7420
- return this.request("PUT", "/replay-retention/merchant", { body: params });
7421
- }
7422
- /**
7423
- * Hand the merchant-wide level back to the global one.
7424
- *
7425
- * `DELETE /replay-retention/merchant`
7426
- */
7427
- async clearMerchant() {
7428
- await this.request("DELETE", "/replay-retention/merchant");
7429
- }
7430
- /**
7431
- * Set one project's level.
7432
- *
7433
- * `PUT /replay-retention/projects/{projectId}`
7434
- */
7435
- async setProject(projectId, params) {
7436
- return this.request("PUT", `/replay-retention/projects/${encodeURIComponent(projectId)}`, {
7437
- body: params
7438
- });
7439
- }
7440
- /**
7441
- * Hand one project's level back to the merchant's.
7442
- *
7443
- * `DELETE /replay-retention/projects/{projectId}`
7444
- */
7445
- async clearProject(projectId) {
7446
- await this.request("DELETE", `/replay-retention/projects/${encodeURIComponent(projectId)}`);
7447
- }
7448
- /**
7449
- * Set one shop's level. A shop-scoped caller may set only its own shop.
7450
- *
7451
- * `PUT /replay-retention/shops/{profileId}`
7452
- */
7453
- async setShop(profileId, params) {
7454
- return this.request("PUT", `/replay-retention/shops/${encodeURIComponent(profileId)}`, {
7455
- body: params
7456
- });
7457
- }
7458
- /**
7459
- * Hand one shop's level back to its project's (or the merchant's).
7460
- *
7461
- * `DELETE /replay-retention/shops/{profileId}`
7462
- */
7463
- async clearShop(profileId) {
7464
- await this.request("DELETE", `/replay-retention/shops/${encodeURIComponent(profileId)}`);
7465
- }
7466
- };
7467
-
7468
7370
  // src/resources/settings.ts
7469
7371
  function projectQuery(query) {
7470
7372
  return query.project_id ? { project_id: query.project_id } : {};
@@ -7774,7 +7676,6 @@ var Delopay = class {
7774
7676
  this.audit = new Audit(request);
7775
7677
  this.settlement = new Settlement(request);
7776
7678
  this.operationLimits = new OperationLimits(request);
7777
- this.replayRetention = new ReplayRetention(request);
7778
7679
  this.settings = new Settings(request);
7779
7680
  this.risk = new Risk(request);
7780
7681
  this.subscriptions = new Subscriptions(request);
@@ -7791,7 +7692,6 @@ var Delopay = class {
7791
7692
  this.invoices = new Invoices(request);
7792
7693
  this.invoiceSettings = new InvoiceSettingsResource(request);
7793
7694
  this.processorCosts = new ProcessorCosts(request);
7794
- this.checkoutBrowserInfo = new CheckoutBrowserInfo(request);
7795
7695
  this.checkoutMethods = new CheckoutMethods(request);
7796
7696
  this.analytics = new Analytics(request);
7797
7697
  this.analyticsDashboard = new AnalyticsDashboard(request);
@@ -11853,7 +11753,6 @@ var encodeNativePanes = encodePanes;
11853
11753
  Products,
11854
11754
  RTL_CHECKOUT_LOCALES,
11855
11755
  Regions,
11856
- ReplayRetention,
11857
11756
  Risk,
11858
11757
  SECTION_ALIASES,
11859
11758
  STRIPE_FALLBACK_PANE_CATALOG,