itrm-components 1.0.36-beta.3 → 1.0.36-beta.5

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +24 -1
  2. package/package.json +3 -3
package/dist/index.d.ts CHANGED
@@ -301,6 +301,7 @@ export declare interface IContactDetails {
301
301
  city?: string;
302
302
  department?: string;
303
303
  country?: string;
304
+ users?: string[];
304
305
  isVerified?: boolean;
305
306
  }
306
307
 
@@ -362,12 +363,22 @@ export declare interface IKey {
362
363
  publicKey?: string;
363
364
  secretKey?: string;
364
365
  signKey?: string;
365
- details?: Record<string, any>;
366
+ details?: IKeyDetails;
366
367
  updatedAt?: string;
367
368
  createdAt?: string;
368
369
  config?: AxiosRequestConfig;
369
370
  }
370
371
 
372
+ export declare interface IKeyDetails {
373
+ customName?: string;
374
+ whitelist?: string[];
375
+ webhooks?: {
376
+ targetUrl: string;
377
+ events: string[];
378
+ }[];
379
+ [key: string]: any;
380
+ }
381
+
371
382
  export declare interface IKindOfPerson {
372
383
  kindOfPersonId?: number;
373
384
  name?: string;
@@ -459,6 +470,18 @@ export declare interface IUserCredentials {
459
470
  config?: AxiosRequestConfig;
460
471
  }
461
472
 
473
+ export declare interface IWebhook {
474
+ webhookId?: number;
475
+ applicationId?: number;
476
+ applications?: IApplication;
477
+ eventName?: string;
478
+ eventTypes?: string[];
479
+ details?: any;
480
+ updatedAt?: string;
481
+ createdAt?: string;
482
+ config?: AxiosRequestConfig;
483
+ }
484
+
462
485
  export declare function listFormat(value: string): string;
463
486
 
464
487
  export declare function mapErrorCodeToHttpStatus(code: string): number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "itrm-components",
3
- "version": "1.0.36-beta.3",
3
+ "version": "1.0.36-beta.5",
4
4
  "type": "module",
5
5
  "main": "./dist/index.umd.js",
6
6
  "module": "./dist/index.es.js",
@@ -46,8 +46,8 @@
46
46
  "sass": "^1.94.2",
47
47
  "sass-loader": "^16.0.6",
48
48
  "typescript": "^5.9.3",
49
- "typescript-eslint": "^8.48.0",
50
- "vite": "^7.2.4",
49
+ "typescript-eslint": "^8.48.1",
50
+ "vite": "^7.2.6",
51
51
  "vite-plugin-dts": "^4.3.0"
52
52
  }
53
53
  }