@revolugo/common 7.2.2-alpha.12 → 7.2.2-alpha.14

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@revolugo/common",
3
- "version": "7.2.2-alpha.12",
3
+ "version": "7.2.2-alpha.14",
4
4
  "private": false,
5
5
  "description": "Revolugo common",
6
6
  "author": "Revolugo",
@@ -14,18 +14,18 @@ export enum RevolutEnv {
14
14
  }
15
15
 
16
16
  export enum StripeEnv {
17
+ Local = 'local',
17
18
  Production = 'live',
18
19
  Sandbox = 'sandbox',
19
20
  Staging = 'staging',
20
- Local = 'local',
21
21
  }
22
22
 
23
23
  export enum Environment {
24
+ CiCd = 'CI-CD',
25
+ Local = 'LOCAL',
24
26
  Production = 'LIVE',
25
27
  Sandbox = 'SANDBOX',
26
28
  Staging = 'STAGING',
27
- CiCd = 'CI-CD',
28
- Local = 'LOCAL',
29
29
  }
30
30
 
31
31
  export enum NodeEnv {
@@ -42,12 +42,12 @@ export enum LogLevel {
42
42
  Error = 50,
43
43
  }
44
44
  export enum BookingEnvironment {
45
+ // DEVELOPMENT: do NOT book hotel, do NOT send confirmation email
46
+ Development = 'development',
45
47
  // PRODUCTION: actually book hotel, send confirmation email
46
48
  Production = 'production',
47
49
  // SANDBOX: do NOT book hotel, still send confirmation email
48
50
  Sandbox = 'sandbox',
49
- // DEVELOPMENT: do NOT book hotel, do NOT send confirmation email
50
- Development = 'development',
51
51
  }
52
52
 
53
53
  /* @__PURE__ */
@@ -223,10 +223,10 @@ export enum BookingApiPayLaterEnum {
223
223
  type BookingApiPayLater = `${BookingApiPayLaterEnum}`
224
224
 
225
225
  export enum BookingStatusEnum {
226
- Cx = 'bkg-cx',
226
+ Af = 'bkg-af',
227
227
  Cf = 'bkg-cf',
228
228
  Created = 'bkg-created',
229
- Af = 'bkg-af',
229
+ Cx = 'bkg-cx',
230
230
  Ip = 'bkg-ip',
231
231
  Pc = 'bkg-pc',
232
232
  Pp = 'bkg-pp',
@@ -1,8 +1,8 @@
1
1
  import type { PayLaterStatus } from '../booking.ts'
2
2
 
3
3
  export enum PaymentMethodNameEnum {
4
- CreditCard = 'CREDIT_CARD',
5
4
  Coupon = 'COUPON',
5
+ CreditCard = 'CREDIT_CARD',
6
6
  DepositAccount = 'DEPOSIT_ACCOUNT',
7
7
  PayLater = 'PAY_LATER',
8
8
  }
@@ -4,8 +4,8 @@ export enum Order {
4
4
  }
5
5
 
6
6
  export enum PaginationMode {
7
- StartingAfter = 'STARTING_AFTER',
8
7
  EndingBefore = 'ENDING_BEFORE',
8
+ StartingAfter = 'STARTING_AFTER',
9
9
  }
10
10
 
11
11
  export interface IPaginationOptions {
@@ -11,10 +11,10 @@ export enum PaymentAssociationResourceType {
11
11
  }
12
12
 
13
13
  export enum PaymentProvider {
14
- Stripe = 'STRIPE',
15
- Qonto = 'QONTO',
16
14
  IbanFirst = 'IBANFIRST',
15
+ Qonto = 'QONTO',
17
16
  Revolut = 'REVOLUT',
17
+ Stripe = 'STRIPE',
18
18
  }
19
19
 
20
20
  export enum PublicPaymentMethod {
@@ -25,6 +25,6 @@ export enum PublicPaymentMethod {
25
25
 
26
26
  export enum PublicPaymentStatus {
27
27
  Confirmed = 'confirmed',
28
- Pending = 'pending',
29
28
  Failed = 'failed',
29
+ Pending = 'pending',
30
30
  }
@@ -1,12 +1,12 @@
1
1
  export enum Severity {
2
- Info = 'info',
3
- Success = 'success',
4
- Warn = 'warn',
2
+ Contrast = 'contrast',
3
+ Danger = 'danger',
4
+ Error = 'error',
5
5
  Help = 'help',
6
+ Info = 'info',
6
7
  Primary = 'primary',
7
8
  Secondary = 'secondary',
9
+ Success = 'success',
8
10
  Tertiary = 'tertiary',
9
- Danger = 'danger',
10
- Error = 'error',
11
- Contrast = 'contrast',
11
+ Warn = 'warn',
12
12
  }