@everymatrix/stage-dm-button 1.0.23 → 1.0.27

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/component-lib.js CHANGED
@@ -33145,7 +33145,7 @@ var TemplateService = class _TemplateService {
33145
33145
  templateChanged = new Subject();
33146
33146
  templatesList = signal(void 0);
33147
33147
  saveTemplate(templateName, templateDescription, params, reportId, templateId, isTemporary = true) {
33148
- const url = this.apiHandlerService.getACSBaseUrl("save_report_template", "ce");
33148
+ const url = this.apiHandlerService.getACSBaseUrl("save_report_template", "ubo");
33149
33149
  const body = {
33150
33150
  p_report_params: {
33151
33151
  p_user_id: this.sessionService.sessionData?.Username,
@@ -33167,7 +33167,7 @@ var TemplateService = class _TemplateService {
33167
33167
  }));
33168
33168
  }
33169
33169
  getTemplateById(reportId, templateId) {
33170
- const url = this.apiHandlerService.getACSBaseUrl("get_report_templates", "ce");
33170
+ const url = this.apiHandlerService.getACSBaseUrl("get_report_templates", "ubo");
33171
33171
  const body = {
33172
33172
  p_report_params: {
33173
33173
  p_user_id: this.sessionService.sessionData?.Username,
@@ -33187,7 +33187,7 @@ var TemplateService = class _TemplateService {
33187
33187
  }));
33188
33188
  }
33189
33189
  getAllTemplates(reportId) {
33190
- const url = this.apiHandlerService.getACSBaseUrl("get_report_templates", "ce");
33190
+ const url = this.apiHandlerService.getACSBaseUrl("get_report_templates", "ubo");
33191
33191
  const body = {
33192
33192
  p_report_params: {
33193
33193
  p_user_id: this.sessionService.sessionData?.Username,
@@ -33200,7 +33200,7 @@ var TemplateService = class _TemplateService {
33200
33200
  return this.apiHandlerService.Post(url, body);
33201
33201
  }
33202
33202
  deleteTemplate(templateId) {
33203
- const url = this.apiHandlerService.getACSBaseUrl("delete_report_template", "ce");
33203
+ const url = this.apiHandlerService.getACSBaseUrl("delete_report_template", "ubo");
33204
33204
  const body = {
33205
33205
  p_report_params: {
33206
33206
  p_environment: this.sessionService.sessionData?.Environment,
@@ -33358,7 +33358,7 @@ var SendingService = class _SendingService {
33358
33358
  { "id": "uuid", "name": "uuid" }
33359
33359
  ];
33360
33360
  getSchedules(reportId, templateId, domainId) {
33361
- const url = this.apiHandlerService.getACSBaseUrl("get_report_schedules", "ce");
33361
+ const url = this.apiHandlerService.getACSBaseUrl("get_report_schedules", "ubo");
33362
33362
  const body = {
33363
33363
  p_report_params: {
33364
33364
  p_user_id: this.sessionService.sessionData?.Username,
@@ -33467,7 +33467,7 @@ var SendingService = class _SendingService {
33467
33467
  }
33468
33468
  saveReportSchedule(template, formValue, reportBodyModel, scheduleInterval, currentSchedule) {
33469
33469
  const body = this.getRequestParamsToAirflow(template, formValue, reportBodyModel, scheduleInterval, currentSchedule);
33470
- const url = this.apiHandlerService.getACSBaseUrl("save_report_schedule", "ce");
33470
+ const url = this.apiHandlerService.getACSBaseUrl("save_report_schedule", "ubo");
33471
33471
  return this.apiHandlerService.Post(url, body).pipe(map((response) => {
33472
33472
  const result = response?.[0];
33473
33473
  if (result && result.successful !== "true") {
@@ -33485,7 +33485,7 @@ var SendingService = class _SendingService {
33485
33485
  p_schedule_id: scheduleId
33486
33486
  }
33487
33487
  };
33488
- const url = this.apiHandlerService.getACSBaseUrl("save_report_schedule", "ce");
33488
+ const url = this.apiHandlerService.getACSBaseUrl("save_report_schedule", "ubo");
33489
33489
  return this.apiHandlerService.Post(url, body);
33490
33490
  }
33491
33491
  convertToCron(sendOptions) {
package/main.js CHANGED
@@ -30761,7 +30761,7 @@ var TemplateService = class _TemplateService {
30761
30761
  templateChanged = new Subject();
30762
30762
  templatesList = signal(void 0);
30763
30763
  saveTemplate(templateName, templateDescription, params, reportId, templateId, isTemporary = true) {
30764
- const url = this.apiHandlerService.getACSBaseUrl("save_report_template", "ce");
30764
+ const url = this.apiHandlerService.getACSBaseUrl("save_report_template", "ubo");
30765
30765
  const body = {
30766
30766
  p_report_params: {
30767
30767
  p_user_id: this.sessionService.sessionData?.Username,
@@ -30783,7 +30783,7 @@ var TemplateService = class _TemplateService {
30783
30783
  }));
30784
30784
  }
30785
30785
  getTemplateById(reportId, templateId) {
30786
- const url = this.apiHandlerService.getACSBaseUrl("get_report_templates", "ce");
30786
+ const url = this.apiHandlerService.getACSBaseUrl("get_report_templates", "ubo");
30787
30787
  const body = {
30788
30788
  p_report_params: {
30789
30789
  p_user_id: this.sessionService.sessionData?.Username,
@@ -30803,7 +30803,7 @@ var TemplateService = class _TemplateService {
30803
30803
  }));
30804
30804
  }
30805
30805
  getAllTemplates(reportId) {
30806
- const url = this.apiHandlerService.getACSBaseUrl("get_report_templates", "ce");
30806
+ const url = this.apiHandlerService.getACSBaseUrl("get_report_templates", "ubo");
30807
30807
  const body = {
30808
30808
  p_report_params: {
30809
30809
  p_user_id: this.sessionService.sessionData?.Username,
@@ -30816,7 +30816,7 @@ var TemplateService = class _TemplateService {
30816
30816
  return this.apiHandlerService.Post(url, body);
30817
30817
  }
30818
30818
  deleteTemplate(templateId) {
30819
- const url = this.apiHandlerService.getACSBaseUrl("delete_report_template", "ce");
30819
+ const url = this.apiHandlerService.getACSBaseUrl("delete_report_template", "ubo");
30820
30820
  const body = {
30821
30821
  p_report_params: {
30822
30822
  p_environment: this.sessionService.sessionData?.Environment,
@@ -30974,7 +30974,7 @@ var SendingService = class _SendingService {
30974
30974
  { "id": "uuid", "name": "uuid" }
30975
30975
  ];
30976
30976
  getSchedules(reportId, templateId, domainId) {
30977
- const url = this.apiHandlerService.getACSBaseUrl("get_report_schedules", "ce");
30977
+ const url = this.apiHandlerService.getACSBaseUrl("get_report_schedules", "ubo");
30978
30978
  const body = {
30979
30979
  p_report_params: {
30980
30980
  p_user_id: this.sessionService.sessionData?.Username,
@@ -31083,7 +31083,7 @@ var SendingService = class _SendingService {
31083
31083
  }
31084
31084
  saveReportSchedule(template, formValue, reportBodyModel, scheduleInterval, currentSchedule) {
31085
31085
  const body = this.getRequestParamsToAirflow(template, formValue, reportBodyModel, scheduleInterval, currentSchedule);
31086
- const url = this.apiHandlerService.getACSBaseUrl("save_report_schedule", "ce");
31086
+ const url = this.apiHandlerService.getACSBaseUrl("save_report_schedule", "ubo");
31087
31087
  return this.apiHandlerService.Post(url, body).pipe(map((response) => {
31088
31088
  const result = response?.[0];
31089
31089
  if (result && result.successful !== "true") {
@@ -31101,7 +31101,7 @@ var SendingService = class _SendingService {
31101
31101
  p_schedule_id: scheduleId
31102
31102
  }
31103
31103
  };
31104
- const url = this.apiHandlerService.getACSBaseUrl("save_report_schedule", "ce");
31104
+ const url = this.apiHandlerService.getACSBaseUrl("save_report_schedule", "ubo");
31105
31105
  return this.apiHandlerService.Post(url, body);
31106
31106
  }
31107
31107
  convertToCron(sendOptions) {