cecon-interfaces 1.3.8 → 1.3.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -19,5 +19,6 @@ export { PaymentTokenDataEntity } from './payment-token-data.entity';
19
19
  export { PaymentTokenEntity } from './payment-token.entity';
20
20
  export { PaymentWalletEntity } from './payment-wallet.entity';
21
21
  export { PaymentEntity } from './payment.entity';
22
+ export { QueryEntity } from './query.entity';
22
23
  export { RatingEntity } from './rating.entity';
23
24
  export { SponsorshipValueEntity } from './sponsorship-value.entity';
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SponsorshipValueEntity = exports.RatingEntity = exports.PaymentEntity = exports.PaymentWalletEntity = exports.PaymentTokenEntity = exports.PaymentTokenDataEntity = exports.PaymentProviderEntity = exports.PaymentProviderAgentEntity = exports.PaymentPixEntity = exports.PaymentMethodEntity = exports.PaymentMethodOptionEntity = exports.PaymentCashEntity = exports.PaymentCardEntity = exports.OriginEntity = exports.MobyoApiConfigEntity = exports.MessagerChannelEntity = exports.DeliveryAreaFixedEntity = exports.DeliveryAreaEntity = exports.CustomVariableEntity = exports.CoordsEntity = exports.CarouselImageEntity = exports.BaseEntity = exports.AddressEntity = void 0;
3
+ exports.SponsorshipValueEntity = exports.RatingEntity = exports.QueryEntity = exports.PaymentEntity = exports.PaymentWalletEntity = exports.PaymentTokenEntity = exports.PaymentTokenDataEntity = exports.PaymentProviderEntity = exports.PaymentProviderAgentEntity = exports.PaymentPixEntity = exports.PaymentMethodEntity = exports.PaymentMethodOptionEntity = exports.PaymentCashEntity = exports.PaymentCardEntity = exports.OriginEntity = exports.MobyoApiConfigEntity = exports.MessagerChannelEntity = exports.DeliveryAreaFixedEntity = exports.DeliveryAreaEntity = exports.CustomVariableEntity = exports.CoordsEntity = exports.CarouselImageEntity = exports.BaseEntity = exports.AddressEntity = void 0;
4
4
  var address_entity_1 = require("./address.entity");
5
5
  Object.defineProperty(exports, "AddressEntity", { enumerable: true, get: function () { return address_entity_1.AddressEntity; } });
6
6
  var base_entity_1 = require("./base.entity");
@@ -43,6 +43,8 @@ var payment_wallet_entity_1 = require("./payment-wallet.entity");
43
43
  Object.defineProperty(exports, "PaymentWalletEntity", { enumerable: true, get: function () { return payment_wallet_entity_1.PaymentWalletEntity; } });
44
44
  var payment_entity_1 = require("./payment.entity");
45
45
  Object.defineProperty(exports, "PaymentEntity", { enumerable: true, get: function () { return payment_entity_1.PaymentEntity; } });
46
+ var query_entity_1 = require("./query.entity");
47
+ Object.defineProperty(exports, "QueryEntity", { enumerable: true, get: function () { return query_entity_1.QueryEntity; } });
46
48
  var rating_entity_1 = require("./rating.entity");
47
49
  Object.defineProperty(exports, "RatingEntity", { enumerable: true, get: function () { return rating_entity_1.RatingEntity; } });
48
50
  var sponsorship_value_entity_1 = require("./sponsorship-value.entity");
@@ -0,0 +1,16 @@
1
+ import { IQuery } from '../interfaces/i-query';
2
+ export declare class QueryEntity implements IQuery {
3
+ apikey?: string | null | undefined;
4
+ companyId?: string | null | undefined;
5
+ containerId?: string | null | undefined;
6
+ dateField?: string | null | undefined;
7
+ endDate?: string | undefined;
8
+ filterBy?: 'startDate' | 'endDate' | 'none' | undefined;
9
+ lastDocId?: string | null | undefined;
10
+ limit: string;
11
+ query?: string | undefined;
12
+ sandbox?: '' | 'undefined' | 'true' | 'false' | 'null' | undefined;
13
+ startDate?: string | undefined;
14
+ status?: string | undefined;
15
+ constructor(data?: Partial<QueryEntity>);
16
+ }
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.QueryEntity = void 0;
4
+ var QueryEntity = /** @class */ (function () {
5
+ // #endregion Properties (12)
6
+ // #region Constructors (1)
7
+ function QueryEntity(data) {
8
+ // #region Properties (12)
9
+ this.apikey = null;
10
+ this.companyId = null;
11
+ this.containerId = null;
12
+ this.dateField = null;
13
+ this.endDate = undefined;
14
+ this.filterBy = undefined;
15
+ this.lastDocId = null;
16
+ this.limit = '100';
17
+ this.query = undefined;
18
+ this.sandbox = '';
19
+ this.startDate = undefined;
20
+ this.status = undefined;
21
+ if (data) {
22
+ for (var key in data) {
23
+ if (data.hasOwnProperty(key) && key in this) {
24
+ this[key] = data[key];
25
+ }
26
+ }
27
+ }
28
+ }
29
+ return QueryEntity;
30
+ }());
31
+ exports.QueryEntity = QueryEntity;
@@ -0,0 +1,14 @@
1
+ export interface IQuery {
2
+ apikey?: string | undefined | null;
3
+ companyId?: string | undefined | null;
4
+ containerId?: string | undefined | null;
5
+ dateField?: string | null | undefined;
6
+ endDate?: string;
7
+ filterBy?: 'startDate' | 'endDate' | 'none';
8
+ lastDocId?: string | undefined | null;
9
+ limit: string;
10
+ query?: string;
11
+ sandbox?: 'true' | 'false' | 'undefined' | 'null' | '';
12
+ startDate?: string;
13
+ status?: string;
14
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -19,5 +19,6 @@ export { IPaymentProviderAgent } from './i-payment-provider-agent';
19
19
  export { IPaymentToken } from './i-payment-token';
20
20
  export { IPaymentTokenData } from './i-payment-token-data';
21
21
  export { IPaymentWallet } from './i-payment-wallet';
22
+ export { IQuery } from './i-query';
22
23
  export { IRating } from './i-rating';
23
24
  export { ISponsorshipValue } from './i-sponsorship-value';
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.3.08",
3
+ "version": "1.3.09",
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.3.08",
3
+ "version": "1.3.09",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/readme.md CHANGED
@@ -3,5 +3,5 @@
3
3
  Compilar:
4
4
 
5
5
  npm run packagr
6
- npm run build
6
+ npm run buil
7
7
  npm publish