@shipstatic/types 0.1.5 → 0.1.7
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/index.d.ts +5 -3
- package/package.json +1 -1
- package/src/index.ts +5 -3
package/dist/index.d.ts
CHANGED
|
@@ -48,6 +48,8 @@ export interface Alias {
|
|
|
48
48
|
createdAt: number;
|
|
49
49
|
/** Unix timestamp (seconds) when alias was confirmed */
|
|
50
50
|
confirmedAt?: number;
|
|
51
|
+
/** Whether this was a create operation (true) or update operation (false). Optional - only present in set operations */
|
|
52
|
+
isCreate?: boolean;
|
|
51
53
|
}
|
|
52
54
|
/**
|
|
53
55
|
* Response for listing aliases
|
|
@@ -81,11 +83,11 @@ export interface Account {
|
|
|
81
83
|
name: string;
|
|
82
84
|
/** User profile picture URL */
|
|
83
85
|
picture?: string;
|
|
84
|
-
/** Account
|
|
85
|
-
|
|
86
|
+
/** Account plan status */
|
|
87
|
+
plan: 'free' | 'active' | 'suspended';
|
|
86
88
|
/** Unix timestamp (seconds) when account was created */
|
|
87
89
|
createdAt: number;
|
|
88
|
-
/** Unix timestamp (seconds) when
|
|
90
|
+
/** Unix timestamp (seconds) when plan started */
|
|
89
91
|
subscribedAt?: number;
|
|
90
92
|
/** Unix timestamp (seconds) when account was suspended */
|
|
91
93
|
suspendedAt?: number;
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -60,6 +60,8 @@ export interface Alias {
|
|
|
60
60
|
createdAt: number;
|
|
61
61
|
/** Unix timestamp (seconds) when alias was confirmed */
|
|
62
62
|
confirmedAt?: number;
|
|
63
|
+
/** Whether this was a create operation (true) or update operation (false). Optional - only present in set operations */
|
|
64
|
+
isCreate?: boolean;
|
|
63
65
|
}
|
|
64
66
|
|
|
65
67
|
/**
|
|
@@ -100,11 +102,11 @@ export interface Account {
|
|
|
100
102
|
name: string;
|
|
101
103
|
/** User profile picture URL */
|
|
102
104
|
picture?: string;
|
|
103
|
-
/** Account
|
|
104
|
-
|
|
105
|
+
/** Account plan status */
|
|
106
|
+
plan: 'free' | 'active' | 'suspended';
|
|
105
107
|
/** Unix timestamp (seconds) when account was created */
|
|
106
108
|
createdAt: number;
|
|
107
|
-
/** Unix timestamp (seconds) when
|
|
109
|
+
/** Unix timestamp (seconds) when plan started */
|
|
108
110
|
subscribedAt?: number;
|
|
109
111
|
/** Unix timestamp (seconds) when account was suspended */
|
|
110
112
|
suspendedAt?: number;
|