feeef 0.6.5 → 0.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.
package/build/index.js CHANGED
@@ -1463,6 +1463,37 @@ var FeedbackRepository = class extends ModelRepository {
1463
1463
  }
1464
1464
  };
1465
1465
 
1466
+ // src/feeef/repositories/product_landing_page_templates.ts
1467
+ var ProductLandingPageTemplatesRepository = class extends ModelRepository {
1468
+ /**
1469
+ * Creates a new instance of ProductLandingPageTemplatesRepository class.
1470
+ * @param client - The AxiosInstance used for making HTTP requests.
1471
+ */
1472
+ constructor(client) {
1473
+ super("product_landing_page_templates", client);
1474
+ }
1475
+ };
1476
+
1477
+ // src/feeef/repositories/product_landing_pages.ts
1478
+ var ProductLandingPagesRepository = class extends ModelRepository {
1479
+ /**
1480
+ * Creates a new instance of ProductLandingPagesRepository class.
1481
+ * @param client - The AxiosInstance used for making HTTP requests.
1482
+ */
1483
+ constructor(client) {
1484
+ super("product_landing_pages", client);
1485
+ }
1486
+ /**
1487
+ * Lists product landing pages with optional filtering.
1488
+ * @param options - The options for listing product landing pages.
1489
+ * @returns A Promise that resolves to a list of ProductLandingPage entities.
1490
+ */
1491
+ async list(options) {
1492
+ const params = { ...options?.params };
1493
+ return super.list({ params });
1494
+ }
1495
+ };
1496
+
1466
1497
  // src/core/entities/order.ts
1467
1498
  var OrderStatus = /* @__PURE__ */ ((OrderStatus2) => {
1468
1499
  OrderStatus2["draft"] = "draft";
@@ -2926,6 +2957,14 @@ var FeeeF = class {
2926
2957
  * The repository for managing products.
2927
2958
  */
2928
2959
  products;
2960
+ /**
2961
+ * The repository for managing product landing pages.
2962
+ */
2963
+ productLandingPages;
2964
+ /**
2965
+ * The repository for managing product landing page templates.
2966
+ */
2967
+ productLandingPageTemplates;
2929
2968
  /**
2930
2969
  * The repository for managing users.
2931
2970
  */
@@ -3011,6 +3050,8 @@ var FeeeF = class {
3011
3050
  this.client.defaults.headers.common["X-Requested-With"] = "XMLHttpRequest";
3012
3051
  this.stores = new StoreRepository(this.client);
3013
3052
  this.products = new ProductRepository(this.client);
3053
+ this.productLandingPages = new ProductLandingPagesRepository(this.client);
3054
+ this.productLandingPageTemplates = new ProductLandingPageTemplatesRepository(this.client);
3014
3055
  this.users = new UserRepository(this.client);
3015
3056
  this.orders = new OrderRepository(this.client);
3016
3057
  this.deposits = new DepositRepository(this.client);
@@ -3284,7 +3325,7 @@ var TiktokPixelEvent = /* @__PURE__ */ ((TiktokPixelEvent2) => {
3284
3325
  function generatePublicIntegrationsDataPaymentMethod(data) {
3285
3326
  if (!data) return data;
3286
3327
  return {
3287
- methodId: data.methodId,
3328
+ methodIds: data.methodIds,
3288
3329
  enabled: data.enabled
3289
3330
  };
3290
3331
  }