opticedge-types 1.0.5 → 1.0.6

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.
@@ -22,19 +22,19 @@ export interface BillingIssue {
22
22
  created_at: Date;
23
23
  updated_at: Date;
24
24
  }
25
- export type BillingIssueEmailResult = {
25
+ export type BillingIssuePushResult = {
26
26
  success: boolean;
27
27
  provider: 'fcm';
28
28
  info?: string;
29
29
  error?: string;
30
30
  };
31
- export type BillingIssuePushResult = {
31
+ export type BillingIssueEmailResult = {
32
32
  success: boolean;
33
33
  provider: 'sendgrid';
34
34
  info?: string;
35
35
  error?: string;
36
36
  };
37
37
  export type BillingIssueNotifyResult = {
38
- push?: BillingIssueEmailResult;
39
- email?: BillingIssuePushResult;
38
+ push?: BillingIssuePushResult;
39
+ email?: BillingIssueEmailResult;
40
40
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opticedge-types",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "Common type for opticedge",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/src/types/rc.ts CHANGED
@@ -28,14 +28,14 @@ export interface BillingIssue {
28
28
  updated_at: Date
29
29
  }
30
30
 
31
- export type BillingIssueEmailResult = {
31
+ export type BillingIssuePushResult = {
32
32
  success: boolean
33
33
  provider: 'fcm'
34
34
  info?: string
35
35
  error?: string
36
36
  }
37
37
 
38
- export type BillingIssuePushResult = {
38
+ export type BillingIssueEmailResult = {
39
39
  success: boolean
40
40
  provider: 'sendgrid'
41
41
  info?: string
@@ -43,6 +43,6 @@ export type BillingIssuePushResult = {
43
43
  }
44
44
 
45
45
  export type BillingIssueNotifyResult = {
46
- push?: BillingIssueEmailResult
47
- email?: BillingIssuePushResult
46
+ push?: BillingIssuePushResult
47
+ email?: BillingIssueEmailResult
48
48
  }