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.
- package/dist/esm2022/index.mjs +2 -1
- package/dist/esm2022/member/entities/member.entity.mjs +1 -2
- package/dist/esm2022/pubsub/entities/index.mjs +2 -0
- package/dist/esm2022/pubsub/entities/subscription-change-status.entity.mjs +19 -0
- package/dist/esm2022/pubsub/enums/index.mjs +2 -0
- package/dist/esm2022/pubsub/enums/topics-type.enum.mjs +6 -0
- package/dist/esm2022/pubsub/index.mjs +4 -0
- package/dist/esm2022/pubsub/interfaces/i-subscription-change-status.mjs +2 -0
- package/dist/esm2022/pubsub/interfaces/index.mjs +2 -0
- package/dist/fesm2022/cecon-interfaces.mjs +26 -2
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/member/entities/member.entity.d.ts +0 -1
- package/dist/package.json +1 -1
- package/dist/pubsub/entities/index.d.ts +1 -0
- package/dist/pubsub/entities/index.js +5 -0
- package/dist/pubsub/entities/subscription-change-status.entity.d.ts +10 -0
- package/dist/pubsub/entities/subscription-change-status.entity.js +23 -0
- package/dist/pubsub/enums/index.d.ts +1 -0
- package/dist/pubsub/enums/index.js +5 -0
- package/dist/pubsub/enums/topics-type.enum.d.ts +4 -0
- package/dist/pubsub/enums/topics-type.enum.js +8 -0
- package/dist/pubsub/index.d.ts +3 -0
- package/dist/pubsub/index.js +19 -0
- package/dist/pubsub/interfaces/i-subscription-change-status.d.ts +8 -0
- package/dist/pubsub/interfaces/i-subscription-change-status.js +2 -0
- package/dist/pubsub/interfaces/index.d.ts +1 -0
- package/dist/pubsub/interfaces/index.js +2 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
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);
|
package/dist/package.json
CHANGED
@@ -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,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,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 @@
|
|
1
|
+
export { IPubsubSubscriptionChangeStatus } from './i-subscription-change-status';
|