@delopay/sdk 0.371.0 → 0.373.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.
@@ -6998,6 +6998,91 @@ var ShopLabels = class {
6998
6998
  }
6999
6999
  };
7000
7000
 
7001
+ // src/resources/industries.ts
7002
+ var Industries = class {
7003
+ constructor(request) {
7004
+ this.request = request;
7005
+ }
7006
+ /**
7007
+ * The merchant's industry: the default its projects and shops inherit.
7008
+ *
7009
+ * `GET /industries/merchant`
7010
+ */
7011
+ async retrieveMerchant() {
7012
+ return this.request("GET", "/industries/merchant");
7013
+ }
7014
+ /**
7015
+ * Select the merchant's industry.
7016
+ *
7017
+ * `PUT /industries/merchant`
7018
+ */
7019
+ async setMerchant(params) {
7020
+ return this.request("PUT", "/industries/merchant", { body: params });
7021
+ }
7022
+ /**
7023
+ * Clear the merchant's industry.
7024
+ *
7025
+ * `DELETE /industries/merchant`
7026
+ */
7027
+ async clearMerchant() {
7028
+ return this.request("DELETE", "/industries/merchant");
7029
+ }
7030
+ /**
7031
+ * One project's industry.
7032
+ *
7033
+ * `GET /industries/projects/{projectId}`
7034
+ */
7035
+ async retrieveProject(projectId) {
7036
+ return this.request("GET", projectPath(projectId));
7037
+ }
7038
+ /**
7039
+ * Select one project's industry.
7040
+ *
7041
+ * `PUT /industries/projects/{projectId}`
7042
+ */
7043
+ async setProject(projectId, params) {
7044
+ return this.request("PUT", projectPath(projectId), { body: params });
7045
+ }
7046
+ /**
7047
+ * Clear one project's industry, so it inherits again.
7048
+ *
7049
+ * `DELETE /industries/projects/{projectId}`
7050
+ */
7051
+ async clearProject(projectId) {
7052
+ return this.request("DELETE", projectPath(projectId));
7053
+ }
7054
+ /**
7055
+ * One shop's industry.
7056
+ *
7057
+ * `GET /industries/shops/{profileId}`
7058
+ */
7059
+ async retrieveShop(profileId) {
7060
+ return this.request("GET", shopPath(profileId));
7061
+ }
7062
+ /**
7063
+ * Select one shop's industry.
7064
+ *
7065
+ * `PUT /industries/shops/{profileId}`
7066
+ */
7067
+ async setShop(profileId, params) {
7068
+ return this.request("PUT", shopPath(profileId), { body: params });
7069
+ }
7070
+ /**
7071
+ * Clear one shop's industry, so it inherits again.
7072
+ *
7073
+ * `DELETE /industries/shops/{profileId}`
7074
+ */
7075
+ async clearShop(profileId) {
7076
+ return this.request("DELETE", shopPath(profileId));
7077
+ }
7078
+ };
7079
+ function projectPath(projectId) {
7080
+ return `/industries/projects/${encodeURIComponent(projectId)}`;
7081
+ }
7082
+ function shopPath(profileId) {
7083
+ return `/industries/shops/${encodeURIComponent(profileId)}`;
7084
+ }
7085
+
7001
7086
  // src/resources/checkoutTemplates.ts
7002
7087
  var CheckoutTemplates = class {
7003
7088
  constructor(request) {
@@ -11038,6 +11123,7 @@ var Delopay = class {
11038
11123
  this.sellToRestrictions = new SellToRestrictions(request);
11039
11124
  this.buyerBlocklist = new BuyerBlocklist(request);
11040
11125
  this.shopLabels = new ShopLabels(request);
11126
+ this.industries = new Industries(request);
11041
11127
  this.checkoutTemplates = new CheckoutTemplates(request);
11042
11128
  this.buyerConversations = new BuyerConversations(request);
11043
11129
  this.buyerEvidence = new BuyerEvidenceReviews(request);
@@ -16813,6 +16899,7 @@ export {
16813
16899
  SellToRestrictions,
16814
16900
  BuyerBlocklist,
16815
16901
  ShopLabels,
16902
+ Industries,
16816
16903
  CheckoutTemplates,
16817
16904
  BuyerConversations,
16818
16905
  BuyerEvidenceReviews,
@@ -17090,4 +17177,4 @@ export {
17090
17177
  decodeNativePanes,
17091
17178
  encodeNativePanes
17092
17179
  };
17093
- //# sourceMappingURL=chunk-RD3HP3EY.js.map
17180
+ //# sourceMappingURL=chunk-EEG2P2VF.js.map