@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.
@@ -6048,24 +6048,6 @@ var ProcessorCosts = class {
6048
6048
  }
6049
6049
  };
6050
6050
 
6051
- // src/resources/checkoutBrowserInfo.ts
6052
- var CheckoutBrowserInfo = class {
6053
- constructor(request) {
6054
- this.request = request;
6055
- }
6056
- /** Read the merchant's own setting and effective collection policy. */
6057
- async retrieve(merchantId) {
6058
- return this.request("GET", "/checkout-browser-info", { query: { merchant_id: merchantId } });
6059
- }
6060
- /** Replace the merchant setting. An admin refusal still wins; changes are audited. */
6061
- async update(merchantId, body) {
6062
- return this.request("PUT", "/checkout-browser-info", {
6063
- query: { merchant_id: merchantId },
6064
- body
6065
- });
6066
- }
6067
- };
6068
-
6069
6051
  // src/resources/checkoutMethods.ts
6070
6052
  var CheckoutMethods = class {
6071
6053
  constructor(request) {
@@ -7141,85 +7123,6 @@ var OperationLimits = class {
7141
7123
  }
7142
7124
  };
7143
7125
 
7144
- // src/resources/replayRetention.ts
7145
- var ReplayRetention = class {
7146
- constructor(request) {
7147
- this.request = request;
7148
- }
7149
- /**
7150
- * Every level that is set for the caller's merchant, plus the global level
7151
- * when one is set.
7152
- *
7153
- * `GET /replay-retention`
7154
- */
7155
- async list() {
7156
- return this.request("GET", "/replay-retention");
7157
- }
7158
- /**
7159
- * What applies to one shop's recordings, and which level decided.
7160
- *
7161
- * `GET /replay-retention/shops/{profileId}/effective`
7162
- */
7163
- async effective(profileId) {
7164
- return this.request(
7165
- "GET",
7166
- `/replay-retention/shops/${encodeURIComponent(profileId)}/effective`
7167
- );
7168
- }
7169
- /**
7170
- * Set the merchant-wide level.
7171
- *
7172
- * `PUT /replay-retention/merchant`
7173
- */
7174
- async setMerchant(params) {
7175
- return this.request("PUT", "/replay-retention/merchant", { body: params });
7176
- }
7177
- /**
7178
- * Hand the merchant-wide level back to the global one.
7179
- *
7180
- * `DELETE /replay-retention/merchant`
7181
- */
7182
- async clearMerchant() {
7183
- await this.request("DELETE", "/replay-retention/merchant");
7184
- }
7185
- /**
7186
- * Set one project's level.
7187
- *
7188
- * `PUT /replay-retention/projects/{projectId}`
7189
- */
7190
- async setProject(projectId, params) {
7191
- return this.request("PUT", `/replay-retention/projects/${encodeURIComponent(projectId)}`, {
7192
- body: params
7193
- });
7194
- }
7195
- /**
7196
- * Hand one project's level back to the merchant's.
7197
- *
7198
- * `DELETE /replay-retention/projects/{projectId}`
7199
- */
7200
- async clearProject(projectId) {
7201
- await this.request("DELETE", `/replay-retention/projects/${encodeURIComponent(projectId)}`);
7202
- }
7203
- /**
7204
- * Set one shop's level. A shop-scoped caller may set only its own shop.
7205
- *
7206
- * `PUT /replay-retention/shops/{profileId}`
7207
- */
7208
- async setShop(profileId, params) {
7209
- return this.request("PUT", `/replay-retention/shops/${encodeURIComponent(profileId)}`, {
7210
- body: params
7211
- });
7212
- }
7213
- /**
7214
- * Hand one shop's level back to its project's (or the merchant's).
7215
- *
7216
- * `DELETE /replay-retention/shops/{profileId}`
7217
- */
7218
- async clearShop(profileId) {
7219
- await this.request("DELETE", `/replay-retention/shops/${encodeURIComponent(profileId)}`);
7220
- }
7221
- };
7222
-
7223
7126
  // src/resources/settings.ts
7224
7127
  function projectQuery(query) {
7225
7128
  return query.project_id ? { project_id: query.project_id } : {};
@@ -7529,7 +7432,6 @@ var Delopay = class {
7529
7432
  this.audit = new Audit(request);
7530
7433
  this.settlement = new Settlement(request);
7531
7434
  this.operationLimits = new OperationLimits(request);
7532
- this.replayRetention = new ReplayRetention(request);
7533
7435
  this.settings = new Settings(request);
7534
7436
  this.risk = new Risk(request);
7535
7437
  this.subscriptions = new Subscriptions(request);
@@ -7546,7 +7448,6 @@ var Delopay = class {
7546
7448
  this.invoices = new Invoices(request);
7547
7449
  this.invoiceSettings = new InvoiceSettingsResource(request);
7548
7450
  this.processorCosts = new ProcessorCosts(request);
7549
- this.checkoutBrowserInfo = new CheckoutBrowserInfo(request);
7550
7451
  this.checkoutMethods = new CheckoutMethods(request);
7551
7452
  this.analytics = new Analytics(request);
7552
7453
  this.analyticsDashboard = new AnalyticsDashboard(request);
@@ -11553,7 +11454,6 @@ export {
11553
11454
  Audit,
11554
11455
  Settlement,
11555
11456
  OperationLimits,
11556
- ReplayRetention,
11557
11457
  Settings,
11558
11458
  Risk,
11559
11459
  Delopay,
@@ -11746,4 +11646,4 @@ export {
11746
11646
  decodeNativePanes,
11747
11647
  encodeNativePanes
11748
11648
  };
11749
- //# sourceMappingURL=chunk-B4ABMM47.js.map
11649
+ //# sourceMappingURL=chunk-IFP4THPD.js.map