@nimee/shared-types 1.0.275 → 1.0.276

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.
@@ -36,6 +36,11 @@ export interface ICountryProviderRule {
36
36
  export interface ISMSProviderConfig {
37
37
  countryRules: ICountryProviderRule[];
38
38
  }
39
+ export interface IInactivityConfig {
40
+ enabled: boolean;
41
+ timeoutMinutes: number;
42
+ warningMinutes: number;
43
+ }
39
44
  export declare enum MainPageEnum {
40
45
  PRIVATE_CLUB = "private_club",
41
46
  DEFAULT = "default"
@@ -143,4 +148,5 @@ export interface IMarketPlace {
143
148
  invoiceDocType?: InvoiceDocTypeEnum;
144
149
  shouldForce2fa?: boolean;
145
150
  twoFaIntervalMinutes?: number;
151
+ inactivityConfig?: IInactivityConfig;
146
152
  }
@@ -1 +1 @@
1
- {"version":3,"file":"marketPlace.js","sourceRoot":"","sources":["../../src/account/marketPlace.ts"],"names":[],"mappings":";;;AAQA,IAAY,aAKX;AALD,WAAY,aAAa;IACvB,sCAAqB,CAAA;IACrB,kCAAiB,CAAA;IACjB,sDAAqC,CAAA;IACrC,8BAAa,CAAA;AACf,CAAC,EALW,aAAa,6BAAb,aAAa,QAKxB;AAED,IAAY,YAKX;AALD,WAAY,YAAY;IACtB,6CAA6B,CAAA;IAC7B,iCAAiB,CAAA;IACjB,iCAAiB,CAAA;IACjB,6BAAa,CAAA;AACf,CAAC,EALW,YAAY,4BAAZ,YAAY,QAKvB;AA4BD,uEAAuE;AACvE,IAAY,YAGX;AAHD,WAAY,YAAY;IACtB,6CAA6B,CAAA;IAC7B,mCAAmB,CAAA;AACrB,CAAC,EAHW,YAAY,4BAAZ,YAAY,QAGvB"}
1
+ {"version":3,"file":"marketPlace.js","sourceRoot":"","sources":["../../src/account/marketPlace.ts"],"names":[],"mappings":";;;AAQA,IAAY,aAKX;AALD,WAAY,aAAa;IACvB,sCAAqB,CAAA;IACrB,kCAAiB,CAAA;IACjB,sDAAqC,CAAA;IACrC,8BAAa,CAAA;AACf,CAAC,EALW,aAAa,6BAAb,aAAa,QAKxB;AAED,IAAY,YAKX;AALD,WAAY,YAAY;IACtB,6CAA6B,CAAA;IAC7B,iCAAiB,CAAA;IACjB,iCAAiB,CAAA;IACjB,6BAAa,CAAA;AACf,CAAC,EALW,YAAY,4BAAZ,YAAY,QAKvB;AAkCD,uEAAuE;AACvE,IAAY,YAGX;AAHD,WAAY,YAAY;IACtB,6CAA6B,CAAA;IAC7B,mCAAmB,CAAA;AACrB,CAAC,EAHW,YAAY,4BAAZ,YAAY,QAGvB"}
@@ -74,4 +74,5 @@ export interface IChargeModel {
74
74
  createdBy?: string;
75
75
  description?: string;
76
76
  endUser?: string;
77
+ refundReason?: string;
77
78
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nimee/shared-types",
3
- "version": "1.0.275",
3
+ "version": "1.0.276",
4
4
  "description": "Types and interfaces that any service can access if needed",
5
5
  "main": "dist/index.js",
6
6
  "author": "dan goldberg",
@@ -46,6 +46,12 @@ export interface ISMSProviderConfig {
46
46
  countryRules: ICountryProviderRule[];
47
47
  }
48
48
 
49
+ export interface IInactivityConfig {
50
+ enabled: boolean;
51
+ timeoutMinutes: number;
52
+ warningMinutes: number;
53
+ }
54
+
49
55
  // MainPage enum holds the possible values for the main page of the app
50
56
  export enum MainPageEnum {
51
57
  PRIVATE_CLUB = "private_club",
@@ -155,4 +161,5 @@ export interface IMarketPlace {
155
161
  invoiceDocType?: InvoiceDocTypeEnum;
156
162
  shouldForce2fa?: boolean;
157
163
  twoFaIntervalMinutes?: number; // Grace period after 2FA verification. 0 or undefined = every login
164
+ inactivityConfig?: IInactivityConfig;
158
165
  }
@@ -83,4 +83,5 @@ export interface IChargeModel {
83
83
  createdBy?: string;
84
84
  description?: string;
85
85
  endUser?: string;
86
+ refundReason?: string;
86
87
  }