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.mjs CHANGED
@@ -15844,7 +15844,6 @@ var UniversalExportClient = class {
15844
15844
  try {
15845
15845
  const isDataArray = Array.isArray(request.dataSource);
15846
15846
  const requestBody = {
15847
- configId: request.configId,
15848
15847
  queryParams: request.queryParams,
15849
15848
  fieldMapping: request.fieldMapping,
15850
15849
  filters: request.filters,
@@ -15852,6 +15851,14 @@ var UniversalExportClient = class {
15852
15851
  pagination: request.pagination,
15853
15852
  customFileName: request.customFileName
15854
15853
  };
15854
+ if (typeof request.configId === "string") {
15855
+ requestBody.configId = request.configId;
15856
+ } else {
15857
+ requestBody.config = request.configId;
15858
+ if (request.configId?.id) {
15859
+ requestBody.configId = request.configId.id;
15860
+ }
15861
+ }
15855
15862
  if (isDataArray) {
15856
15863
  requestBody.data = request.dataSource;
15857
15864
  } else {