@platform-modules/foreign-ministry 1.2.11 → 1.2.13
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/dist/index.d.ts +0 -1
- package/dist/index.js +1 -3
- package/dist/models/DiplomaticClubSubscriptionMasterModel.d.ts +2 -6
- package/dist/models/DiplomaticClubSubscriptionMasterModel.js +3 -8
- package/package.json +1 -1
- package/src/index.ts +0 -1
- package/src/models/DiplomaticClubSubscriptionMasterModel.ts +3 -8
package/dist/index.d.ts
CHANGED
|
@@ -158,7 +158,6 @@ export * from './models/UserEducationDetailsModel';
|
|
|
158
158
|
export { ProfileUpdateRequestStatus } from './models/ProfileUpdateRequestsModel';
|
|
159
159
|
export * from './models/DiplomaticTitlesMasterModel';
|
|
160
160
|
export { TitleCategory } from './models/DiplomaticTitlesMasterModel';
|
|
161
|
-
export { SubscriptionType } from './models/DiplomaticClubSubscriptionMasterModel';
|
|
162
161
|
export * from './models/CountryMasterModel';
|
|
163
162
|
export * from './models/NationalityMasterModel';
|
|
164
163
|
export * from './models/OfficeMasterModel';
|
package/dist/index.js
CHANGED
|
@@ -14,7 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.
|
|
17
|
+
exports.TitleCategory = exports.ProfileUpdateRequestStatus = exports.StayAfterHoursTransactionStatus = exports.StayAfterHoursTransaction = exports.StayAfterHoursBalance = exports.EarlyCheckoutTransactionStatus = exports.EarlyCheckoutTransaction = exports.EarlyCheckoutFrequency = exports.EarlyCheckoutConfiguration = exports.EarlyCheckoutBalance = exports.LeaveTransactionStatus = exports.LeaveTransaction = exports.LeaveConfigurationGrades = exports.enumFrequency = exports.LeaveConfiguration = void 0;
|
|
18
18
|
__exportStar(require("./models/user"), exports);
|
|
19
19
|
__exportStar(require("./models/role"), exports);
|
|
20
20
|
__exportStar(require("./models/user-sessions"), exports);
|
|
@@ -190,8 +190,6 @@ Object.defineProperty(exports, "ProfileUpdateRequestStatus", { enumerable: true,
|
|
|
190
190
|
__exportStar(require("./models/DiplomaticTitlesMasterModel"), exports);
|
|
191
191
|
var DiplomaticTitlesMasterModel_1 = require("./models/DiplomaticTitlesMasterModel");
|
|
192
192
|
Object.defineProperty(exports, "TitleCategory", { enumerable: true, get: function () { return DiplomaticTitlesMasterModel_1.TitleCategory; } });
|
|
193
|
-
var DiplomaticClubSubscriptionMasterModel_1 = require("./models/DiplomaticClubSubscriptionMasterModel");
|
|
194
|
-
Object.defineProperty(exports, "SubscriptionType", { enumerable: true, get: function () { return DiplomaticClubSubscriptionMasterModel_1.SubscriptionType; } });
|
|
195
193
|
__exportStar(require("./models/CountryMasterModel"), exports);
|
|
196
194
|
__exportStar(require("./models/NationalityMasterModel"), exports);
|
|
197
195
|
__exportStar(require("./models/OfficeMasterModel"), exports);
|
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
import { BaseModel } from './BaseModel';
|
|
2
|
-
export declare enum SubscriptionType {
|
|
3
|
-
SINGLE = "Single",
|
|
4
|
-
FAMILY = "Family"
|
|
5
|
-
}
|
|
6
2
|
export declare class DiplomaticClubSubscriptionMaster extends BaseModel {
|
|
7
|
-
subscription_type:
|
|
3
|
+
subscription_type: string | null;
|
|
8
4
|
subscription_amount: number;
|
|
9
5
|
currency: string | null;
|
|
10
|
-
constructor(subscription_type:
|
|
6
|
+
constructor(subscription_type: string, subscription_amount: number, currency?: string | null);
|
|
11
7
|
}
|
|
@@ -9,14 +9,9 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.DiplomaticClubSubscriptionMaster =
|
|
12
|
+
exports.DiplomaticClubSubscriptionMaster = void 0;
|
|
13
13
|
const typeorm_1 = require("typeorm");
|
|
14
14
|
const BaseModel_1 = require("./BaseModel");
|
|
15
|
-
var SubscriptionType;
|
|
16
|
-
(function (SubscriptionType) {
|
|
17
|
-
SubscriptionType["SINGLE"] = "Single";
|
|
18
|
-
SubscriptionType["FAMILY"] = "Family";
|
|
19
|
-
})(SubscriptionType || (exports.SubscriptionType = SubscriptionType = {}));
|
|
20
15
|
let DiplomaticClubSubscriptionMaster = class DiplomaticClubSubscriptionMaster extends BaseModel_1.BaseModel {
|
|
21
16
|
constructor(subscription_type, subscription_amount, currency) {
|
|
22
17
|
super();
|
|
@@ -27,8 +22,8 @@ let DiplomaticClubSubscriptionMaster = class DiplomaticClubSubscriptionMaster ex
|
|
|
27
22
|
};
|
|
28
23
|
exports.DiplomaticClubSubscriptionMaster = DiplomaticClubSubscriptionMaster;
|
|
29
24
|
__decorate([
|
|
30
|
-
(0, typeorm_1.Column)({ type: '
|
|
31
|
-
__metadata("design:type",
|
|
25
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 100, nullable: true }),
|
|
26
|
+
__metadata("design:type", Object)
|
|
32
27
|
], DiplomaticClubSubscriptionMaster.prototype, "subscription_type", void 0);
|
|
33
28
|
__decorate([
|
|
34
29
|
(0, typeorm_1.Column)({ type: 'decimal', precision: 10, scale: 2 }),
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -158,7 +158,6 @@ export * from './models/UserEducationDetailsModel';
|
|
|
158
158
|
export { ProfileUpdateRequestStatus } from './models/ProfileUpdateRequestsModel';
|
|
159
159
|
export * from './models/DiplomaticTitlesMasterModel';
|
|
160
160
|
export { TitleCategory } from './models/DiplomaticTitlesMasterModel';
|
|
161
|
-
export { SubscriptionType } from './models/DiplomaticClubSubscriptionMasterModel';
|
|
162
161
|
export * from './models/CountryMasterModel';
|
|
163
162
|
export * from './models/NationalityMasterModel';
|
|
164
163
|
export * from './models/OfficeMasterModel';
|
|
@@ -1,15 +1,10 @@
|
|
|
1
1
|
import { Column, Entity } from "typeorm";
|
|
2
2
|
import { BaseModel } from './BaseModel';
|
|
3
3
|
|
|
4
|
-
export enum SubscriptionType {
|
|
5
|
-
SINGLE = "Single",
|
|
6
|
-
FAMILY = "Family"
|
|
7
|
-
}
|
|
8
|
-
|
|
9
4
|
@Entity({ name: 'diplomatic_club_subscription_master' })
|
|
10
5
|
export class DiplomaticClubSubscriptionMaster extends BaseModel {
|
|
11
|
-
@Column({ type: '
|
|
12
|
-
subscription_type:
|
|
6
|
+
@Column({ type: 'varchar', length: 100, nullable: true })
|
|
7
|
+
subscription_type: string | null; // Type: Single or Family
|
|
13
8
|
|
|
14
9
|
@Column({ type: 'decimal', precision: 10, scale: 2 })
|
|
15
10
|
subscription_amount: number;
|
|
@@ -18,7 +13,7 @@ export class DiplomaticClubSubscriptionMaster extends BaseModel {
|
|
|
18
13
|
currency: string | null;
|
|
19
14
|
|
|
20
15
|
constructor(
|
|
21
|
-
subscription_type:
|
|
16
|
+
subscription_type: string,
|
|
22
17
|
subscription_amount: number,
|
|
23
18
|
currency?: string | null,
|
|
24
19
|
) {
|