skapi-js 1.0.49 → 1.0.50
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/skapi.js +1 -1
- package/dist/skapi.js.map +1 -1
- package/dist/skapi.module.js +1 -1
- package/dist/skapi.module.js.map +1 -1
- package/js/Types.d.ts +8 -0
- package/js/main/skapi.d.ts +1 -1
- package/js/main/skapi.js +1 -1
- package/package.json +1 -1
package/js/Types.d.ts
CHANGED
|
@@ -122,6 +122,10 @@ export type UserAttributes = {
|
|
|
122
122
|
gender_public?: boolean;
|
|
123
123
|
birthdate_public?: boolean;
|
|
124
124
|
misc?: string;
|
|
125
|
+
picture?: string;
|
|
126
|
+
profile?: string;
|
|
127
|
+
website?: string;
|
|
128
|
+
nickname?: string;
|
|
125
129
|
};
|
|
126
130
|
export type UserProfile = {
|
|
127
131
|
service: string;
|
|
@@ -155,6 +159,10 @@ export type PublicUser = {
|
|
|
155
159
|
access_group: number;
|
|
156
160
|
user_id: string;
|
|
157
161
|
locale: string;
|
|
162
|
+
picture?: string;
|
|
163
|
+
profile?: string;
|
|
164
|
+
website?: string;
|
|
165
|
+
nickname?: string;
|
|
158
166
|
};
|
|
159
167
|
export type ProgressCallback = (e: {
|
|
160
168
|
status: 'upload' | 'download';
|
package/js/main/skapi.d.ts
CHANGED
|
@@ -158,7 +158,7 @@ export default class Skapi {
|
|
|
158
158
|
resendSignupConfirmation(redirect: string): Promise<'SUCCESS: Signup confirmation E-Mail has been sent.'>;
|
|
159
159
|
recoverAccount(redirect?: boolean | string): Promise<"SUCCESS: Recovery e-mail has been sent.">;
|
|
160
160
|
getUsers(params?: {
|
|
161
|
-
searchFor: 'user_id' | 'email' | 'phone_number' | 'locale' | 'name' | 'address' | 'gender' | 'birthdate';
|
|
161
|
+
searchFor: 'user_id' | 'email' | 'phone_number' | 'locale' | 'name' | 'address' | 'gender' | 'birthdate' | 'subscribers' | 'timestamp';
|
|
162
162
|
value: string | number | boolean;
|
|
163
163
|
condition?: '>' | '>=' | '=' | '<' | '<=' | '!=' | 'gt' | 'gte' | 'eq' | 'lt' | 'lte' | 'ne';
|
|
164
164
|
range?: string | number | boolean;
|
package/js/main/skapi.js
CHANGED