cecon-interfaces 1.1.61 → 1.1.63

Sign up to get free protection for your applications and to get access to all the features.
Files changed (30) hide show
  1. package/dist/esm2022/index.mjs +2 -1
  2. package/dist/esm2022/member/entities/member.entity.mjs +1 -2
  3. package/dist/esm2022/pubsub/entities/index.mjs +2 -0
  4. package/dist/esm2022/pubsub/entities/subscription-change-status.entity.mjs +19 -0
  5. package/dist/esm2022/pubsub/enums/index.mjs +2 -0
  6. package/dist/esm2022/pubsub/enums/topics-type.enum.mjs +6 -0
  7. package/dist/esm2022/pubsub/index.mjs +4 -0
  8. package/dist/esm2022/pubsub/interfaces/i-subscription-change-status.mjs +2 -0
  9. package/dist/esm2022/pubsub/interfaces/index.mjs +2 -0
  10. package/dist/fesm2022/cecon-interfaces.mjs +26 -2
  11. package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
  12. package/dist/index.d.ts +1 -0
  13. package/dist/index.js +1 -0
  14. package/dist/member/entities/member.entity.d.ts +0 -1
  15. package/dist/package.json +1 -1
  16. package/dist/pubsub/entities/index.d.ts +1 -0
  17. package/dist/pubsub/entities/index.js +5 -0
  18. package/dist/pubsub/entities/subscription-change-status.entity.d.ts +10 -0
  19. package/dist/pubsub/entities/subscription-change-status.entity.js +23 -0
  20. package/dist/pubsub/enums/index.d.ts +1 -0
  21. package/dist/pubsub/enums/index.js +5 -0
  22. package/dist/pubsub/enums/topics-type.enum.d.ts +4 -0
  23. package/dist/pubsub/enums/topics-type.enum.js +8 -0
  24. package/dist/pubsub/index.d.ts +3 -0
  25. package/dist/pubsub/index.js +19 -0
  26. package/dist/pubsub/interfaces/i-subscription-change-status.d.ts +8 -0
  27. package/dist/pubsub/interfaces/i-subscription-change-status.js +2 -0
  28. package/dist/pubsub/interfaces/index.d.ts +1 -0
  29. package/dist/pubsub/interfaces/index.js +2 -0
  30. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -16,6 +16,7 @@ export * from './notification';
16
16
  export * from './order';
17
17
  export * from './partner';
18
18
  export * from './plan';
19
+ export * from './pubsub';
19
20
  export * from './purchases';
20
21
  export * from './resume';
21
22
  export * from './subscription';
package/dist/index.js CHANGED
@@ -32,6 +32,7 @@ __exportStar(require("./notification"), exports);
32
32
  __exportStar(require("./order"), exports);
33
33
  __exportStar(require("./partner"), exports);
34
34
  __exportStar(require("./plan"), exports);
35
+ __exportStar(require("./pubsub"), exports);
35
36
  __exportStar(require("./purchases"), exports);
36
37
  __exportStar(require("./resume"), exports);
37
38
  __exportStar(require("./subscription"), exports);
@@ -15,5 +15,4 @@ export declare class MemberEntity extends BaseEntity implements IMember {
15
15
  type: MemberTypeEnum;
16
16
  uid: string;
17
17
  constructor(data?: Partial<MemberEntity>);
18
- photoURL: string;
19
18
  }
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.1.61",
3
+ "version": "1.1.63",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -0,0 +1 @@
1
+ export { PubsubSubscriptionChangeStatusEntity } from './subscription-change-status.entity';
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PubsubSubscriptionChangeStatusEntity = void 0;
4
+ var subscription_change_status_entity_1 = require("./subscription-change-status.entity");
5
+ Object.defineProperty(exports, "PubsubSubscriptionChangeStatusEntity", { enumerable: true, get: function () { return subscription_change_status_entity_1.PubsubSubscriptionChangeStatusEntity; } });
@@ -0,0 +1,10 @@
1
+ import { ESubscriptionStatus } from '../../subscription';
2
+ import { EPubSubTopicType } from '../enums';
3
+ import { IPubsubSubscriptionChangeStatus } from '../interfaces';
4
+ export declare class PubsubSubscriptionChangeStatusEntity implements IPubsubSubscriptionChangeStatus {
5
+ afterStatus: ESubscriptionStatus | null;
6
+ beforeStatus: ESubscriptionStatus | null;
7
+ subscriptionId: string;
8
+ topicType: EPubSubTopicType | null;
9
+ constructor(data?: Partial<PubsubSubscriptionChangeStatusEntity>);
10
+ }
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PubsubSubscriptionChangeStatusEntity = void 0;
4
+ var PubsubSubscriptionChangeStatusEntity = /** @class */ (function () {
5
+ // #endregion Properties (4)
6
+ // #region Constructors (1)
7
+ function PubsubSubscriptionChangeStatusEntity(data) {
8
+ // #region Properties (4)
9
+ this.afterStatus = null;
10
+ this.beforeStatus = null;
11
+ this.subscriptionId = '';
12
+ this.topicType = null;
13
+ if (data) {
14
+ for (var key in data) {
15
+ if (data.hasOwnProperty(key) && key in this) {
16
+ this[key] = data[key];
17
+ }
18
+ }
19
+ }
20
+ }
21
+ return PubsubSubscriptionChangeStatusEntity;
22
+ }());
23
+ exports.PubsubSubscriptionChangeStatusEntity = PubsubSubscriptionChangeStatusEntity;
@@ -0,0 +1 @@
1
+ export { EPubSubTopicType } from './topics-type.enum';
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.EPubSubTopicType = void 0;
4
+ var topics_type_enum_1 = require("./topics-type.enum");
5
+ Object.defineProperty(exports, "EPubSubTopicType", { enumerable: true, get: function () { return topics_type_enum_1.EPubSubTopicType; } });
@@ -0,0 +1,4 @@
1
+ export declare enum EPubSubTopicType {
2
+ SUB_CHANGE_STATUS = "SUBSCRIPTION_CHANGE_STATUS",
3
+ OTHER = "OTHER"
4
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.EPubSubTopicType = void 0;
4
+ var EPubSubTopicType;
5
+ (function (EPubSubTopicType) {
6
+ EPubSubTopicType["SUB_CHANGE_STATUS"] = "SUBSCRIPTION_CHANGE_STATUS";
7
+ EPubSubTopicType["OTHER"] = "OTHER";
8
+ })(EPubSubTopicType || (exports.EPubSubTopicType = EPubSubTopicType = {}));
@@ -0,0 +1,3 @@
1
+ export * from './entities';
2
+ export * from './enums';
3
+ export * from './interfaces';
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./entities"), exports);
18
+ __exportStar(require("./enums"), exports);
19
+ __exportStar(require("./interfaces"), exports);
@@ -0,0 +1,8 @@
1
+ import { ESubscriptionStatus } from '../../subscription';
2
+ import { EPubSubTopicType } from '../enums';
3
+ export interface IPubsubSubscriptionChangeStatus {
4
+ afterStatus: ESubscriptionStatus | null;
5
+ beforeStatus: ESubscriptionStatus | null;
6
+ subscriptionId: string;
7
+ topicType: EPubSubTopicType | null;
8
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1 @@
1
+ export { IPubsubSubscriptionChangeStatus } from './i-subscription-change-status';
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.1.61",
3
+ "version": "1.1.63",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",