cecon-interfaces 1.4.21 → 1.4.23

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. package/dist/campaign/entities/campaign-rule.entity.d.ts +8 -0
  2. package/dist/campaign/entities/campaign-rule.entity.js +21 -0
  3. package/dist/campaign/entities/campaign-sponsorship.entity.d.ts +6 -0
  4. package/dist/campaign/entities/campaign-sponsorship.entity.js +19 -0
  5. package/dist/campaign/entities/campaign.entity.d.ts +16 -7
  6. package/dist/campaign/entities/campaign.entity.js +15 -8
  7. package/dist/campaign/entities/index.d.ts +2 -0
  8. package/dist/campaign/entities/index.js +5 -1
  9. package/dist/campaign/enums/e-campaign-status.enum.d.ts +0 -1
  10. package/dist/campaign/enums/e-campaign-status.enum.js +0 -1
  11. package/dist/campaign/enums/index.d.ts +2 -0
  12. package/dist/campaign/enums/index.js +5 -1
  13. package/dist/campaign/enums/rule-types.enum.d.ts +13 -0
  14. package/dist/campaign/enums/rule-types.enum.js +17 -0
  15. package/dist/campaign/enums/target-types.enum.d.ts +6 -0
  16. package/dist/campaign/enums/target-types.enum.js +10 -0
  17. package/dist/campaign/interfaces/i-campaign-rule.d.ts +7 -0
  18. package/dist/campaign/interfaces/i-campaign-rule.js +2 -0
  19. package/dist/campaign/interfaces/i-campaign-sponsorship.d.ts +4 -0
  20. package/dist/campaign/interfaces/i-campaign-sponsorship.js +2 -0
  21. package/dist/campaign/interfaces/i-campaign.d.ts +17 -5
  22. package/dist/campaign/interfaces/index.d.ts +2 -0
  23. package/dist/esm2022/campaign/entities/campaign-rule.entity.mjs +17 -0
  24. package/dist/esm2022/campaign/entities/campaign-sponsorship.entity.mjs +15 -0
  25. package/dist/esm2022/campaign/entities/campaign.entity.mjs +17 -10
  26. package/dist/esm2022/campaign/entities/index.mjs +3 -1
  27. package/dist/esm2022/campaign/enums/e-campaign-status.enum.mjs +1 -2
  28. package/dist/esm2022/campaign/enums/index.mjs +3 -1
  29. package/dist/esm2022/campaign/enums/rule-types.enum.mjs +15 -0
  30. package/dist/esm2022/campaign/enums/target-types.enum.mjs +8 -0
  31. package/dist/esm2022/campaign/interfaces/i-campaign-rule.mjs +2 -0
  32. package/dist/esm2022/campaign/interfaces/i-campaign-sponsorship.mjs +2 -0
  33. package/dist/esm2022/campaign/interfaces/i-campaign.mjs +1 -1
  34. package/dist/esm2022/campaign/interfaces/index.mjs +1 -1
  35. package/dist/esm2022/mobyo/company-settings/entities/wa-server.entity.mjs +5 -5
  36. package/dist/esm2022/mobyo/company-settings/interfaces/i-wa-server.mjs +1 -1
  37. package/dist/esm2022/mobyo/mobyo-api/interfaces/i-menu-schedule-v2.mjs +1 -1
  38. package/dist/fesm2022/cecon-interfaces.mjs +73 -14
  39. package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
  40. package/dist/mobyo/company-settings/entities/wa-server.entity.d.ts +2 -2
  41. package/dist/mobyo/company-settings/entities/wa-server.entity.js +4 -4
  42. package/dist/mobyo/company-settings/interfaces/i-wa-server.d.ts +2 -2
  43. package/dist/mobyo/mobyo-api/interfaces/i-menu-schedule-v2.d.ts +2 -2
  44. package/dist/package.json +1 -1
  45. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  import { ICompanySettingsWaServer } from '../interfaces';
2
2
  export declare class CompanySettingsWaServerEntity implements ICompanySettingsWaServer {
3
- deliveryMenuUrl: string;
4
- indoorMenuUrl: string;
3
+ deliveryMenuUrl: string | null;
4
+ indoorMenuUrl: string | null;
5
5
  instanceName: string;
6
6
  serverId: string;
7
7
  constructor(data?: ICompanySettingsWaServer);
@@ -6,15 +6,15 @@ var CompanySettingsWaServerEntity = /** @class */ (function () {
6
6
  // #region Constructors (1)
7
7
  function CompanySettingsWaServerEntity(data) {
8
8
  // #region Properties (4)
9
- this.deliveryMenuUrl = '';
10
- this.indoorMenuUrl = '';
9
+ this.deliveryMenuUrl = null;
10
+ this.indoorMenuUrl = null;
11
11
  this.instanceName = '';
12
12
  this.serverId = '';
13
13
  if (data) {
14
14
  this.serverId = data.serverId || '';
15
15
  this.instanceName = data.instanceName || '';
16
- this.deliveryMenuUrl = data.deliveryMenuUrl || '';
17
- this.indoorMenuUrl = data.indoorMenuUrl || '';
16
+ this.deliveryMenuUrl = data.deliveryMenuUrl || null;
17
+ this.indoorMenuUrl = data.indoorMenuUrl || null;
18
18
  }
19
19
  }
20
20
  return CompanySettingsWaServerEntity;
@@ -1,6 +1,6 @@
1
1
  export interface ICompanySettingsWaServer {
2
2
  serverId: string;
3
3
  instanceName: string;
4
- deliveryMenuUrl: string;
5
- indoorMenuUrl: string;
4
+ deliveryMenuUrl: string | null;
5
+ indoorMenuUrl: string | null;
6
6
  }
@@ -6,6 +6,6 @@ export interface IMenuScheduleV2 {
6
6
  thu: boolean;
7
7
  tue: boolean;
8
8
  wed: boolean;
9
- startAt: string;
10
- endAt: string;
9
+ startAt: string | Date;
10
+ endAt: string | Date;
11
11
  }
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.4.21",
3
+ "version": "1.4.23",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.4.21",
3
+ "version": "1.4.23",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",