orbitx-core-models 11.34.0 → 11.37.0
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/interfaces/macro.interface.d.ts +1 -0
- package/dist/interfaces/macro.interface.d.ts.map +1 -1
- package/dist/models/macro.model.d.ts.map +1 -1
- package/dist/models/macro.model.js +5 -1
- package/dist/models/subscription.model.d.ts.map +1 -1
- package/dist/models/subscription.model.js +0 -3
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"macro.interface.d.ts","sourceRoot":"","sources":["../../src/interfaces/macro.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAEjC,MAAM,MAAM,WAAW,GACnB,MAAM,GACN,qBAAqB,GACrB,aAAa,GACb,SAAS,GACT,eAAe,GACf,UAAU,CAAC;AAEf,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,SAAS,GAAG,UAAU,CAAC;AAExD,MAAM,WAAW,OAAO;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,WAAW,CAAC;IACpB,OAAO,CAAC,EAAE,KAAK,CAAC,QAAQ,GAAG,IAAI,CAAC;CACjC;AAED,MAAM,WAAW,MAAM;IACrB,GAAG,CAAC,EAAE,KAAK,CAAC,QAAQ,CAAC;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,SAAS,CAAC;IAChB,MAAM,EAAE,WAAW,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,OAAO,CAAC,EAAE,OAAO,EAAE,CAAC;IACpB,QAAQ,CAAC,EAAE,KAAK,CAAC,QAAQ,CAAC;IAC1B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,SAAS,CAAC,EAAE,IAAI,CAAC;IACjB,SAAS,CAAC,EAAE,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"macro.interface.d.ts","sourceRoot":"","sources":["../../src/interfaces/macro.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAEjC,MAAM,MAAM,WAAW,GACnB,MAAM,GACN,qBAAqB,GACrB,aAAa,GACb,SAAS,GACT,eAAe,GACf,UAAU,CAAC;AAEf,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,SAAS,GAAG,UAAU,CAAC;AAExD,MAAM,WAAW,OAAO;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,WAAW,CAAC;IACpB,OAAO,CAAC,EAAE,KAAK,CAAC,QAAQ,GAAG,IAAI,CAAC;CACjC;AAED,MAAM,WAAW,MAAM;IACrB,GAAG,CAAC,EAAE,KAAK,CAAC,QAAQ,CAAC;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,SAAS,CAAC;IAChB,MAAM,EAAE,WAAW,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,OAAO,CAAC,EAAE,OAAO,EAAE,CAAC;IACpB,QAAQ,CAAC,EAAE,KAAK,CAAC,QAAQ,CAAC;IAC1B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,SAAS,CAAC,EAAE,IAAI,CAAC;IACjB,SAAS,CAAC,EAAE,IAAI,CAAC;IACjB,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"macro.model.d.ts","sourceRoot":"","sources":["../../src/models/macro.model.ts"],"names":[],"mappings":"AAAA,OAAO,QAAoB,MAAM,UAAU,CAAC;AAC5C,OAAO,EAAE,MAAM,EAAW,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"macro.model.d.ts","sourceRoot":"","sources":["../../src/models/macro.model.ts"],"names":[],"mappings":"AAAA,OAAO,QAAoB,MAAM,UAAU,CAAC;AAC5C,OAAO,EAAE,MAAM,EAAW,MAAM,+BAA+B,CAAC;AAsFhE,eAAO,MAAM,KAAK;;;;OAA+C,CAAC;AAClE,eAAe,KAAK,CAAC"}
|
|
@@ -71,7 +71,7 @@ const macroSchema = new mongoose_1.Schema({
|
|
|
71
71
|
},
|
|
72
72
|
type: {
|
|
73
73
|
type: String,
|
|
74
|
-
enum: ["Text", "Consent", "Calendar"],
|
|
74
|
+
enum: ["Text", "Consent", "Calendar", "SelfServeAppointment"], // 🚨 ADDED HERE
|
|
75
75
|
required: [true, "Macro type is required"],
|
|
76
76
|
default: "Text",
|
|
77
77
|
},
|
|
@@ -109,6 +109,10 @@ const macroSchema = new mongoose_1.Schema({
|
|
|
109
109
|
type: Boolean,
|
|
110
110
|
default: false,
|
|
111
111
|
},
|
|
112
|
+
appointmentUrl: {
|
|
113
|
+
type: String,
|
|
114
|
+
required: false,
|
|
115
|
+
},
|
|
112
116
|
}, { timestamps: true });
|
|
113
117
|
exports.Macro = mongoose_1.default.model("Macro", macroSchema);
|
|
114
118
|
exports.default = exports.Macro;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscription.model.d.ts","sourceRoot":"","sources":["../../src/models/subscription.model.ts"],"names":[],"mappings":"AAAA,OAAO,QAAoB,MAAM,UAAU,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;
|
|
1
|
+
{"version":3,"file":"subscription.model.d.ts","sourceRoot":"","sources":["../../src/models/subscription.model.ts"],"names":[],"mappings":"AAAA,OAAO,QAAoB,MAAM,UAAU,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AAiIrE,eAAO,MAAM,YAAY;;;;OAGxB,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -45,17 +45,14 @@ const subscriptionSchema = new mongoose_1.Schema({
|
|
|
45
45
|
product: {
|
|
46
46
|
type: mongoose_1.Schema.Types.ObjectId,
|
|
47
47
|
ref: "Product",
|
|
48
|
-
required: [true, "Product ID is required"],
|
|
49
48
|
},
|
|
50
49
|
plan: {
|
|
51
50
|
type: mongoose_1.Schema.Types.ObjectId,
|
|
52
51
|
ref: "Plan",
|
|
53
|
-
required: [true, "Plan ID is required"],
|
|
54
52
|
},
|
|
55
53
|
planOption: {
|
|
56
54
|
type: mongoose_1.Schema.Types.ObjectId,
|
|
57
55
|
ref: "PlanOption",
|
|
58
|
-
required: [true, "Plan option is required"],
|
|
59
56
|
},
|
|
60
57
|
subId: {
|
|
61
58
|
type: String,
|