@gofynd/fdk-client-javascript 3.0.0-beta.1 → 3.1.0-beta.1

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.
Files changed (83) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. package/sdk/application/Cart/CartApplicationClient.d.ts +14 -14
  4. package/sdk/application/Cart/CartApplicationClient.js +14 -14
  5. package/sdk/application/Content/ContentApplicationClient.d.ts +10 -0
  6. package/sdk/application/Content/ContentApplicationClient.js +53 -0
  7. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +6 -6
  8. package/sdk/application/FileStorage/FileStorageApplicationClient.js +3 -3
  9. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +34 -0
  10. package/sdk/application/Logistic/LogisticApplicationClient.js +136 -0
  11. package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +12 -12
  12. package/sdk/partner/FileStorage/FileStoragePartnerClient.js +12 -12
  13. package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +46 -33
  14. package/sdk/partner/FileStorage/FileStoragePartnerModel.js +41 -25
  15. package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +4 -4
  16. package/sdk/platform/Billing/BillingPlatformClient.d.ts +6 -397
  17. package/sdk/platform/Billing/BillingPlatformClient.js +77 -3215
  18. package/sdk/platform/Billing/BillingPlatformModel.d.ts +417 -3811
  19. package/sdk/platform/Billing/BillingPlatformModel.js +292 -2544
  20. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +12 -451
  21. package/sdk/platform/Billing/BillingPlatformValidator.js +8 -483
  22. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +34 -34
  23. package/sdk/platform/Cart/CartPlatformApplicationClient.js +34 -34
  24. package/sdk/platform/Cart/CartPlatformModel.d.ts +363 -29
  25. package/sdk/platform/Cart/CartPlatformModel.js +203 -31
  26. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +57 -57
  27. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +220 -200
  28. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +121 -91
  29. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +58 -46
  30. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +10 -51
  31. package/sdk/platform/Catalog/CatalogPlatformClient.js +79 -400
  32. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +22 -228
  33. package/sdk/platform/Catalog/CatalogPlatformModel.js +12 -163
  34. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +15 -61
  35. package/sdk/platform/Catalog/CatalogPlatformValidator.js +13 -65
  36. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +4 -8
  37. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +10 -14
  38. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +94 -30
  39. package/sdk/platform/Communication/CommunicationPlatformModel.js +110 -32
  40. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +33 -1
  41. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +62 -0
  42. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +11 -0
  43. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +5 -0
  44. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +12 -2
  45. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +5 -1
  46. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +6 -4
  47. package/sdk/platform/Content/ContentPlatformApplicationClient.js +12 -10
  48. package/sdk/platform/Content/ContentPlatformModel.d.ts +42 -12
  49. package/sdk/platform/Content/ContentPlatformModel.js +43 -13
  50. package/sdk/platform/Finance/FinancePlatformClient.d.ts +28 -28
  51. package/sdk/platform/Finance/FinancePlatformClient.js +28 -28
  52. package/sdk/platform/Order/OrderPlatformClient.d.ts +21 -21
  53. package/sdk/platform/Order/OrderPlatformClient.js +21 -21
  54. package/sdk/platform/Order/OrderPlatformModel.d.ts +1010 -80
  55. package/sdk/platform/Order/OrderPlatformModel.js +665 -70
  56. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +31 -4
  57. package/sdk/platform/Payment/PaymentPlatformModel.js +11 -4
  58. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +1 -1
  59. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +8 -0
  60. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +14 -0
  61. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +6 -0
  62. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +24 -0
  63. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +119 -0
  64. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +194 -23
  65. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +116 -22
  66. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +23 -1
  67. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +16 -0
  68. package/sdk/platform/Share/SharePlatformModel.d.ts +5 -0
  69. package/sdk/platform/Share/SharePlatformModel.js +2 -0
  70. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +10 -12
  71. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +45 -49
  72. package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +10 -10
  73. package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +12 -12
  74. package/sdk/public/PublicClient.d.ts +0 -2
  75. package/sdk/public/PublicClient.js +0 -4
  76. package/sdk/public/index.d.ts +0 -1
  77. package/sdk/public/index.js +0 -2
  78. package/sdk/public/Billing/BillingPublicClient.d.ts +0 -56
  79. package/sdk/public/Billing/BillingPublicClient.js +0 -397
  80. package/sdk/public/Billing/BillingPublicModel.d.ts +0 -919
  81. package/sdk/public/Billing/BillingPublicModel.js +0 -560
  82. package/sdk/public/Billing/BillingPublicValidator.d.ts +0 -43
  83. package/sdk/public/Billing/BillingPublicValidator.js +0 -50
@@ -4283,205 +4283,6 @@ class Catalog {
4283
4283
  return response;
4284
4284
  }
4285
4285
 
4286
- /**
4287
- * @param {CatalogPlatformApplicationValidator.GetAppicationProductsParam} arg
4288
- * - Arg object
4289
- *
4290
- * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
4291
- * @param {import("../PlatformAPIClient").Options} - Options
4292
- * @returns {Promise<CatalogPlatformModel.ApplicationProductListingResponse>}
4293
- * - Success response
4294
- *
4295
- * @name getAppicationProducts
4296
- * @summary: Get application products.
4297
- * @description: Retrieve products associated with the application. List all the products associated with a brand, collection or category in a requested sort order. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/getAppicationProducts/).
4298
- */
4299
- async getAppicationProducts(
4300
- {
4301
- q,
4302
- f,
4303
- c,
4304
- filters,
4305
- isDependent,
4306
- sortOn,
4307
- pageId,
4308
- pageSize,
4309
- pageNo,
4310
- pageType,
4311
- itemIds,
4312
- requestHeaders,
4313
- } = { requestHeaders: {} },
4314
- { responseHeaders } = { responseHeaders: false }
4315
- ) {
4316
- const {
4317
- error,
4318
- } = CatalogPlatformApplicationValidator.getAppicationProducts().validate(
4319
- {
4320
- q,
4321
- f,
4322
- c,
4323
- filters,
4324
- isDependent,
4325
- sortOn,
4326
- pageId,
4327
- pageSize,
4328
- pageNo,
4329
- pageType,
4330
- itemIds,
4331
- },
4332
- { abortEarly: false, allowUnknown: true }
4333
- );
4334
- if (error) {
4335
- return Promise.reject(new FDKClientValidationError(error));
4336
- }
4337
-
4338
- // Showing warrnings if extra unknown parameters are found
4339
- const {
4340
- error: warrning,
4341
- } = CatalogPlatformApplicationValidator.getAppicationProducts().validate(
4342
- {
4343
- q,
4344
- f,
4345
- c,
4346
- filters,
4347
- isDependent,
4348
- sortOn,
4349
- pageId,
4350
- pageSize,
4351
- pageNo,
4352
- pageType,
4353
- itemIds,
4354
- },
4355
- { abortEarly: false, allowUnknown: false }
4356
- );
4357
- if (warrning) {
4358
- Logger({
4359
- level: "WARN",
4360
- message: `Parameter Validation warrnings for platform > Catalog > getAppicationProducts \n ${warrning}`,
4361
- });
4362
- }
4363
-
4364
- const query_params = {};
4365
- query_params["q"] = q;
4366
- query_params["f"] = f;
4367
- query_params["c"] = c;
4368
- query_params["filters"] = filters;
4369
- query_params["is_dependent"] = isDependent;
4370
- query_params["sort_on"] = sortOn;
4371
- query_params["page_id"] = pageId;
4372
- query_params["page_size"] = pageSize;
4373
- query_params["page_no"] = pageNo;
4374
- query_params["page_type"] = pageType;
4375
- query_params["item_ids"] = itemIds;
4376
-
4377
- const response = await PlatformAPIClient.execute(
4378
- this.config,
4379
- "get",
4380
- `/service/platform/catalog/v1.0/company/${this.config.companyId}/application/${this.applicationId}/products`,
4381
- query_params,
4382
- undefined,
4383
- requestHeaders,
4384
- { responseHeaders }
4385
- );
4386
-
4387
- let responseData = response;
4388
- if (responseHeaders) {
4389
- responseData = response[0];
4390
- }
4391
-
4392
- const {
4393
- error: res_error,
4394
- } = CatalogPlatformModel.ApplicationProductListingResponse().validate(
4395
- responseData,
4396
- { abortEarly: false, allowUnknown: true }
4397
- );
4398
-
4399
- if (res_error) {
4400
- if (this.config.options.strictResponseCheck === true) {
4401
- return Promise.reject(new FDKResponseValidationError(res_error));
4402
- } else {
4403
- Logger({
4404
- level: "WARN",
4405
- message: `Response Validation Warnings for platform > Catalog > getAppicationProducts \n ${res_error}`,
4406
- });
4407
- }
4408
- }
4409
-
4410
- return response;
4411
- }
4412
-
4413
- /**
4414
- * @param {Object} arg - Arg object.
4415
- * @param {number} arg.companyId - A `company_id` is a unique identifier for
4416
- * a particular seller account.
4417
- * @param {string} arg.applicationId - A `application_id` is a unique
4418
- * identifier for a particular sale channel.
4419
- * @param {string} [arg.q] - The search query. This can be a partial or
4420
- * complete name of a either a product, brand or category
4421
- * @param {string} [arg.f] - The search filter parameters. All the parameter
4422
- * filtered from filter parameters will be passed in **f** parameter in
4423
- * this format. **?f=brand:voi-jeans||and:::category:t-shirts||shirts**
4424
- * @param {string} [arg.c] - The search filter parameters for collection
4425
- * items. All the parameter filtered from filter parameters will be passed
4426
- * in **c** parameter in this format.
4427
- * **?c=brand:in:voi-jeans|and:::category:nin:t-shirts|shirts**
4428
- * @param {boolean} [arg.filters] - Pass `filters` parameter to fetch the
4429
- * filter details. This flag is used to fetch all filters
4430
- * @param {boolean} [arg.isDependent] - This query parameter is used to get
4431
- * the dependent products in the listing.
4432
- * @param {string} [arg.sortOn] - The order to sort the list of products on.
4433
- * The supported sort parameters are popularity, price, redemption and
4434
- * discount in either ascending or descending order. See the supported
4435
- * values below.
4436
- * @param {number} [arg.pageSize] - Number of items to retrieve in each
4437
- * page. Default is 12.
4438
- * @param {string[]} [arg.itemIds] - Item Ids of product
4439
- * @returns {Paginator<CatalogPlatformModel.ApplicationProductListingResponse>}
4440
- * @summary: Get application products.
4441
- * @description: Retrieve products associated with the application. List all the products associated with a brand, collection or category in a requested sort order.
4442
- */
4443
- getAppicationProductsPaginator({
4444
- companyId,
4445
- applicationId,
4446
- q,
4447
- f,
4448
- c,
4449
- filters,
4450
- isDependent,
4451
- sortOn,
4452
- pageSize,
4453
- itemIds,
4454
- } = {}) {
4455
- const paginator = new Paginator();
4456
- const callback = async () => {
4457
- const pageId = paginator.nextId;
4458
- const pageNo = paginator.pageNo;
4459
- const pageType = "cursor";
4460
- const data = await this.getAppicationProducts({
4461
- companyId: companyId,
4462
- applicationId: applicationId,
4463
- q: q,
4464
- f: f,
4465
- c: c,
4466
- filters: filters,
4467
- isDependent: isDependent,
4468
- sortOn: sortOn,
4469
- pageId: pageId,
4470
- pageSize: pageSize,
4471
- pageNo: pageNo,
4472
- pageType: pageType,
4473
- itemIds: itemIds,
4474
- });
4475
- paginator.setPaginator({
4476
- hasNext: data.page.has_next ? true : false,
4477
- nextId: data.page.next_id,
4478
- });
4479
- return data;
4480
- };
4481
- paginator.setCallback(callback.bind(this));
4482
- return paginator;
4483
- }
4484
-
4485
4286
  /**
4486
4287
  * @param {CatalogPlatformApplicationValidator.GetApplicationBrandListingParam} arg
4487
4288
  * - Arg object
@@ -5216,6 +5017,205 @@ class Catalog {
5216
5017
  return response;
5217
5018
  }
5218
5019
 
5020
+ /**
5021
+ * @param {CatalogPlatformApplicationValidator.GetApplicationProductsParam} arg
5022
+ * - Arg object
5023
+ *
5024
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
5025
+ * @param {import("../PlatformAPIClient").Options} - Options
5026
+ * @returns {Promise<CatalogPlatformModel.ApplicationProductListingResponse>}
5027
+ * - Success response
5028
+ *
5029
+ * @name getApplicationProducts
5030
+ * @summary: Get application products.
5031
+ * @description: Retrieve products associated with the application. List all the products associated with a brand, collection or category in a requested sort order. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/getApplicationProducts/).
5032
+ */
5033
+ async getApplicationProducts(
5034
+ {
5035
+ q,
5036
+ f,
5037
+ c,
5038
+ filters,
5039
+ isDependent,
5040
+ sortOn,
5041
+ pageId,
5042
+ pageSize,
5043
+ pageNo,
5044
+ pageType,
5045
+ itemIds,
5046
+ requestHeaders,
5047
+ } = { requestHeaders: {} },
5048
+ { responseHeaders } = { responseHeaders: false }
5049
+ ) {
5050
+ const {
5051
+ error,
5052
+ } = CatalogPlatformApplicationValidator.getApplicationProducts().validate(
5053
+ {
5054
+ q,
5055
+ f,
5056
+ c,
5057
+ filters,
5058
+ isDependent,
5059
+ sortOn,
5060
+ pageId,
5061
+ pageSize,
5062
+ pageNo,
5063
+ pageType,
5064
+ itemIds,
5065
+ },
5066
+ { abortEarly: false, allowUnknown: true }
5067
+ );
5068
+ if (error) {
5069
+ return Promise.reject(new FDKClientValidationError(error));
5070
+ }
5071
+
5072
+ // Showing warrnings if extra unknown parameters are found
5073
+ const {
5074
+ error: warrning,
5075
+ } = CatalogPlatformApplicationValidator.getApplicationProducts().validate(
5076
+ {
5077
+ q,
5078
+ f,
5079
+ c,
5080
+ filters,
5081
+ isDependent,
5082
+ sortOn,
5083
+ pageId,
5084
+ pageSize,
5085
+ pageNo,
5086
+ pageType,
5087
+ itemIds,
5088
+ },
5089
+ { abortEarly: false, allowUnknown: false }
5090
+ );
5091
+ if (warrning) {
5092
+ Logger({
5093
+ level: "WARN",
5094
+ message: `Parameter Validation warrnings for platform > Catalog > getApplicationProducts \n ${warrning}`,
5095
+ });
5096
+ }
5097
+
5098
+ const query_params = {};
5099
+ query_params["q"] = q;
5100
+ query_params["f"] = f;
5101
+ query_params["c"] = c;
5102
+ query_params["filters"] = filters;
5103
+ query_params["is_dependent"] = isDependent;
5104
+ query_params["sort_on"] = sortOn;
5105
+ query_params["page_id"] = pageId;
5106
+ query_params["page_size"] = pageSize;
5107
+ query_params["page_no"] = pageNo;
5108
+ query_params["page_type"] = pageType;
5109
+ query_params["item_ids"] = itemIds;
5110
+
5111
+ const response = await PlatformAPIClient.execute(
5112
+ this.config,
5113
+ "get",
5114
+ `/service/platform/catalog/v1.0/company/${this.config.companyId}/application/${this.applicationId}/products`,
5115
+ query_params,
5116
+ undefined,
5117
+ requestHeaders,
5118
+ { responseHeaders }
5119
+ );
5120
+
5121
+ let responseData = response;
5122
+ if (responseHeaders) {
5123
+ responseData = response[0];
5124
+ }
5125
+
5126
+ const {
5127
+ error: res_error,
5128
+ } = CatalogPlatformModel.ApplicationProductListingResponse().validate(
5129
+ responseData,
5130
+ { abortEarly: false, allowUnknown: true }
5131
+ );
5132
+
5133
+ if (res_error) {
5134
+ if (this.config.options.strictResponseCheck === true) {
5135
+ return Promise.reject(new FDKResponseValidationError(res_error));
5136
+ } else {
5137
+ Logger({
5138
+ level: "WARN",
5139
+ message: `Response Validation Warnings for platform > Catalog > getApplicationProducts \n ${res_error}`,
5140
+ });
5141
+ }
5142
+ }
5143
+
5144
+ return response;
5145
+ }
5146
+
5147
+ /**
5148
+ * @param {Object} arg - Arg object.
5149
+ * @param {number} arg.companyId - A `company_id` is a unique identifier for
5150
+ * a particular seller account.
5151
+ * @param {string} arg.applicationId - A `application_id` is a unique
5152
+ * identifier for a particular sale channel.
5153
+ * @param {string} [arg.q] - The search query. This can be a partial or
5154
+ * complete name of a either a product, brand or category
5155
+ * @param {string} [arg.f] - The search filter parameters. All the parameter
5156
+ * filtered from filter parameters will be passed in **f** parameter in
5157
+ * this format. **?f=brand:voi-jeans||and:::category:t-shirts||shirts**
5158
+ * @param {string} [arg.c] - The search filter parameters for collection
5159
+ * items. All the parameter filtered from filter parameters will be passed
5160
+ * in **c** parameter in this format.
5161
+ * **?c=brand:in:voi-jeans|and:::category:nin:t-shirts|shirts**
5162
+ * @param {boolean} [arg.filters] - Pass `filters` parameter to fetch the
5163
+ * filter details. This flag is used to fetch all filters
5164
+ * @param {boolean} [arg.isDependent] - This query parameter is used to get
5165
+ * the dependent products in the listing.
5166
+ * @param {string} [arg.sortOn] - The order to sort the list of products on.
5167
+ * The supported sort parameters are popularity, price, redemption and
5168
+ * discount in either ascending or descending order. See the supported
5169
+ * values below.
5170
+ * @param {number} [arg.pageSize] - Number of items to retrieve in each
5171
+ * page. Default is 12.
5172
+ * @param {string[]} [arg.itemIds] - Item Ids of product
5173
+ * @returns {Paginator<CatalogPlatformModel.ApplicationProductListingResponse>}
5174
+ * @summary: Get application products.
5175
+ * @description: Retrieve products associated with the application. List all the products associated with a brand, collection or category in a requested sort order.
5176
+ */
5177
+ getApplicationProductsPaginator({
5178
+ companyId,
5179
+ applicationId,
5180
+ q,
5181
+ f,
5182
+ c,
5183
+ filters,
5184
+ isDependent,
5185
+ sortOn,
5186
+ pageSize,
5187
+ itemIds,
5188
+ } = {}) {
5189
+ const paginator = new Paginator();
5190
+ const callback = async () => {
5191
+ const pageId = paginator.nextId;
5192
+ const pageNo = paginator.pageNo;
5193
+ const pageType = "cursor";
5194
+ const data = await this.getApplicationProducts({
5195
+ companyId: companyId,
5196
+ applicationId: applicationId,
5197
+ q: q,
5198
+ f: f,
5199
+ c: c,
5200
+ filters: filters,
5201
+ isDependent: isDependent,
5202
+ sortOn: sortOn,
5203
+ pageId: pageId,
5204
+ pageSize: pageSize,
5205
+ pageNo: pageNo,
5206
+ pageType: pageType,
5207
+ itemIds: itemIds,
5208
+ });
5209
+ paginator.setPaginator({
5210
+ hasNext: data.page.has_next ? true : false,
5211
+ nextId: data.page.next_id,
5212
+ });
5213
+ return data;
5214
+ };
5215
+ paginator.setCallback(callback.bind(this));
5216
+ return paginator;
5217
+ }
5218
+
5219
5219
  /**
5220
5220
  * @param {CatalogPlatformApplicationValidator.GetAutocompleteConfigParam} arg
5221
5221
  * - Arg object
@@ -8034,7 +8034,9 @@ class Catalog {
8034
8034
  * @description: This API allows to poll job for adding products in price factory. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/pollPriceFactoryJobs/).
8035
8035
  */
8036
8036
  async pollPriceFactoryJobs(
8037
- { id, requestHeaders } = { requestHeaders: {} },
8037
+ { id, startDate, endDate, stage, isActive, q, type, requestHeaders } = {
8038
+ requestHeaders: {},
8039
+ },
8038
8040
  { responseHeaders } = { responseHeaders: false }
8039
8041
  ) {
8040
8042
  const {
@@ -8042,6 +8044,12 @@ class Catalog {
8042
8044
  } = CatalogPlatformApplicationValidator.pollPriceFactoryJobs().validate(
8043
8045
  {
8044
8046
  id,
8047
+ startDate,
8048
+ endDate,
8049
+ stage,
8050
+ isActive,
8051
+ q,
8052
+ type,
8045
8053
  },
8046
8054
  { abortEarly: false, allowUnknown: true }
8047
8055
  );
@@ -8055,6 +8063,12 @@ class Catalog {
8055
8063
  } = CatalogPlatformApplicationValidator.pollPriceFactoryJobs().validate(
8056
8064
  {
8057
8065
  id,
8066
+ startDate,
8067
+ endDate,
8068
+ stage,
8069
+ isActive,
8070
+ q,
8071
+ type,
8058
8072
  },
8059
8073
  { abortEarly: false, allowUnknown: false }
8060
8074
  );
@@ -8066,6 +8080,12 @@ class Catalog {
8066
8080
  }
8067
8081
 
8068
8082
  const query_params = {};
8083
+ query_params["start_date"] = startDate;
8084
+ query_params["end_date"] = endDate;
8085
+ query_params["stage"] = stage;
8086
+ query_params["is_active"] = isActive;
8087
+ query_params["q"] = q;
8088
+ query_params["type"] = type;
8069
8089
 
8070
8090
  const response = await PlatformAPIClient.execute(
8071
8091
  this.config,