sa2kit 1.6.100 → 1.6.101

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.js CHANGED
@@ -15873,7 +15873,6 @@ var UniversalExportClient = class {
15873
15873
  try {
15874
15874
  const isDataArray = Array.isArray(request.dataSource);
15875
15875
  const requestBody = {
15876
- configId: request.configId,
15877
15876
  queryParams: request.queryParams,
15878
15877
  fieldMapping: request.fieldMapping,
15879
15878
  filters: request.filters,
@@ -15881,6 +15880,14 @@ var UniversalExportClient = class {
15881
15880
  pagination: request.pagination,
15882
15881
  customFileName: request.customFileName
15883
15882
  };
15883
+ if (typeof request.configId === "string") {
15884
+ requestBody.configId = request.configId;
15885
+ } else {
15886
+ requestBody.config = request.configId;
15887
+ if (request.configId?.id) {
15888
+ requestBody.configId = request.configId.id;
15889
+ }
15890
+ }
15884
15891
  if (isDataArray) {
15885
15892
  requestBody.data = request.dataSource;
15886
15893
  } else {