@movmo_app/types 1.6.3 → 1.8.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/auth.d.ts CHANGED
@@ -14,6 +14,10 @@ export declare enum AuthenticationChallengeResponse {
14
14
  SMS_OTP_CODE = "SMS_OTP_CODE",
15
15
  EMAIL_OTP_CODE = "EMAIL_OTP_CODE"
16
16
  }
17
+ export declare enum OTPAction {
18
+ EMAILED = "emailed",
19
+ TEXTED = "texted"
20
+ }
17
21
  /**
18
22
  * Response from the login endpoint.
19
23
  */
package/dist/auth.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AuthenticationChallengeResponse = exports.AuthenticationChallengeName = exports.AuthenticationUserStatus = exports.AuthenticationUsernameType = void 0;
3
+ exports.OTPAction = exports.AuthenticationChallengeResponse = exports.AuthenticationChallengeName = exports.AuthenticationUserStatus = exports.AuthenticationUsernameType = void 0;
4
4
  var AuthenticationUsernameType;
5
5
  (function (AuthenticationUsernameType) {
6
6
  AuthenticationUsernameType["EMAIL"] = "email";
@@ -21,3 +21,8 @@ var AuthenticationChallengeResponse;
21
21
  AuthenticationChallengeResponse["SMS_OTP_CODE"] = "SMS_OTP_CODE";
22
22
  AuthenticationChallengeResponse["EMAIL_OTP_CODE"] = "EMAIL_OTP_CODE";
23
23
  })(AuthenticationChallengeResponse || (exports.AuthenticationChallengeResponse = AuthenticationChallengeResponse = {}));
24
+ var OTPAction;
25
+ (function (OTPAction) {
26
+ OTPAction["EMAILED"] = "emailed";
27
+ OTPAction["TEXTED"] = "texted";
28
+ })(OTPAction || (exports.OTPAction = OTPAction = {}));
package/dist/index.d.ts CHANGED
@@ -12,3 +12,4 @@ export * from './referrals';
12
12
  export * from './sessions';
13
13
  export * from './booking_passenger';
14
14
  export * from './movmo_flight_offer';
15
+ export * from './locale_preferences';
package/dist/index.js CHANGED
@@ -28,3 +28,4 @@ __exportStar(require("./referrals"), exports);
28
28
  __exportStar(require("./sessions"), exports);
29
29
  __exportStar(require("./booking_passenger"), exports);
30
30
  __exportStar(require("./movmo_flight_offer"), exports);
31
+ __exportStar(require("./locale_preferences"), exports);
@@ -0,0 +1,7 @@
1
+ export type LocalePreferences = {
2
+ user_id: string;
3
+ language_code: string;
4
+ region_code: string;
5
+ currency_code: string;
6
+ updated_at?: string;
7
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@movmo_app/types",
3
- "version": "1.6.3",
3
+ "version": "1.8.0",
4
4
  "description": "A collection of Movmo's types",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "scripts": {
8
8
  "build": "tsc",
9
- "test": "echo \"Error: no test specified\" && exit 1"
9
+ "test": "echo \"No tests yet\""
10
10
  },
11
11
  "keywords": [],
12
12
  "license": "ISC",