sm-types 1.6.8 → 1.7.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/common/index.d.ts +18 -0
- package/common/index.js +7 -0
- package/package.json +1 -1
- package/sm-airlines/index.d.ts +1 -0
package/common/index.d.ts
CHANGED
|
@@ -25,3 +25,21 @@ export type AllowedClasses = {
|
|
|
25
25
|
name: CabinClassName;
|
|
26
26
|
value: CabinClass;
|
|
27
27
|
};
|
|
28
|
+
export declare const CABIN_CLASS_TYPES: {
|
|
29
|
+
readonly ECONOMY: {
|
|
30
|
+
readonly name: "Econômica";
|
|
31
|
+
readonly value: "economy";
|
|
32
|
+
};
|
|
33
|
+
readonly PREMIUM_ECONOMY: {
|
|
34
|
+
readonly name: "Econômica premium";
|
|
35
|
+
readonly value: "premium_economy";
|
|
36
|
+
};
|
|
37
|
+
readonly BUSINESS: {
|
|
38
|
+
readonly name: "Business";
|
|
39
|
+
readonly value: "business";
|
|
40
|
+
};
|
|
41
|
+
readonly FIRST: {
|
|
42
|
+
readonly name: "Primeira classe";
|
|
43
|
+
readonly value: "first";
|
|
44
|
+
};
|
|
45
|
+
};
|
package/common/index.js
CHANGED
|
@@ -14,4 +14,11 @@ 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.CABIN_CLASS_TYPES = void 0;
|
|
17
18
|
__exportStar(require("./enums"), exports);
|
|
19
|
+
exports.CABIN_CLASS_TYPES = {
|
|
20
|
+
ECONOMY: { name: 'Econômica', value: 'economy' },
|
|
21
|
+
PREMIUM_ECONOMY: { name: 'Econômica premium', value: 'premium_economy' },
|
|
22
|
+
BUSINESS: { name: 'Business', value: 'business' },
|
|
23
|
+
FIRST: { name: 'Primeira classe', value: 'first' },
|
|
24
|
+
};
|
package/package.json
CHANGED