@scoreboardmax/api-types 1.0.35 → 1.0.37

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.cjs CHANGED
@@ -154,6 +154,7 @@ var ErrorCode;
154
154
  ErrorCode["InsufficientResourcePermissions"] = "InsufficientResourcePermissions";
155
155
  ErrorCode["InsufficientResourceItemPermissions"] = "InsufficientResourceItemPermissions";
156
156
  ErrorCode["InvalidAuthType"] = "InvalidAuthType";
157
+ ErrorCode["InvalidCaptchaToken"] = "InvalidCaptchaToken";
157
158
  ErrorCode["InvalidColorFormat"] = "InvalidColorFormat";
158
159
  ErrorCode["InvalidDate"] = "InvalidDate";
159
160
  ErrorCode["InvalidInput"] = "InvalidInput";
@@ -225,8 +226,6 @@ var OAuthAction;
225
226
  OAuthAction["NewUserCreated"] = "new_user_created";
226
227
  OAuthAction["ExistingUserSignedIn"] = "existing_user_signed_in";
227
228
  OAuthAction["ProviderLinkedAndSignedIn"] = "provider_linked_and_signed_in";
228
- OAuthAction["RequiresUserDecision"] = "requires_user_decision";
229
- OAuthAction["NewAccountForExistingUser"] = "new_account_for_existing_user";
230
229
  })(OAuthAction || (exports.OAuthAction = OAuthAction = {}));
231
230
  var OAuthProvider;
232
231
  (function (OAuthProvider) {
package/dist/index.d.ts CHANGED
@@ -120,6 +120,7 @@ export declare enum ErrorCode {
120
120
  InsufficientResourcePermissions = "InsufficientResourcePermissions",
121
121
  InsufficientResourceItemPermissions = "InsufficientResourceItemPermissions",
122
122
  InvalidAuthType = "InvalidAuthType",
123
+ InvalidCaptchaToken = "InvalidCaptchaToken",
123
124
  InvalidColorFormat = "InvalidColorFormat",
124
125
  InvalidDate = "InvalidDate",
125
126
  InvalidInput = "InvalidInput",
@@ -183,9 +184,7 @@ export declare enum MetaMessageType {
183
184
  export declare enum OAuthAction {
184
185
  NewUserCreated = "new_user_created",
185
186
  ExistingUserSignedIn = "existing_user_signed_in",
186
- ProviderLinkedAndSignedIn = "provider_linked_and_signed_in",
187
- RequiresUserDecision = "requires_user_decision",
188
- NewAccountForExistingUser = "new_account_for_existing_user"
187
+ ProviderLinkedAndSignedIn = "provider_linked_and_signed_in"
189
188
  }
190
189
  export declare enum OAuthProvider {
191
190
  Google = "google"
@@ -708,6 +707,7 @@ export interface NewAccountRequest {
708
707
  email: string;
709
708
  password: string;
710
709
  name?: string;
710
+ captchaToken?: string;
711
711
  }
712
712
  export interface NumberInput extends BaseInput {
713
713
  type: "number";
@@ -716,9 +716,6 @@ export interface NumberInput extends BaseInput {
716
716
  max?: number;
717
717
  step?: number;
718
718
  }
719
- export interface OAuthBindingRequest {
720
- messageCipher: string;
721
- }
722
719
  export interface OAuthRequest {
723
720
  code: string;
724
721
  redirectUri: string;
@@ -730,7 +727,6 @@ export interface OAuthResponse {
730
727
  oAuthProviderId: string;
731
728
  oAuthProviderEmail: string;
732
729
  oAuthProviderName: string;
733
- messageCipher?: string;
734
730
  dateNow: string;
735
731
  action: OAuthAction;
736
732
  }
package/dist/index.mjs CHANGED
@@ -145,6 +145,7 @@ export var ErrorCode;
145
145
  ErrorCode["InsufficientResourcePermissions"] = "InsufficientResourcePermissions";
146
146
  ErrorCode["InsufficientResourceItemPermissions"] = "InsufficientResourceItemPermissions";
147
147
  ErrorCode["InvalidAuthType"] = "InvalidAuthType";
148
+ ErrorCode["InvalidCaptchaToken"] = "InvalidCaptchaToken";
148
149
  ErrorCode["InvalidColorFormat"] = "InvalidColorFormat";
149
150
  ErrorCode["InvalidDate"] = "InvalidDate";
150
151
  ErrorCode["InvalidInput"] = "InvalidInput";
@@ -216,8 +217,6 @@ export var OAuthAction;
216
217
  OAuthAction["NewUserCreated"] = "new_user_created";
217
218
  OAuthAction["ExistingUserSignedIn"] = "existing_user_signed_in";
218
219
  OAuthAction["ProviderLinkedAndSignedIn"] = "provider_linked_and_signed_in";
219
- OAuthAction["RequiresUserDecision"] = "requires_user_decision";
220
- OAuthAction["NewAccountForExistingUser"] = "new_account_for_existing_user";
221
220
  })(OAuthAction || (OAuthAction = {}));
222
221
  export var OAuthProvider;
223
222
  (function (OAuthProvider) {
package/dist/internal.cjs CHANGED
@@ -173,6 +173,7 @@ var ErrorCode;
173
173
  ErrorCode["InsufficientResourcePermissions"] = "InsufficientResourcePermissions";
174
174
  ErrorCode["InsufficientResourceItemPermissions"] = "InsufficientResourceItemPermissions";
175
175
  ErrorCode["InvalidAuthType"] = "InvalidAuthType";
176
+ ErrorCode["InvalidCaptchaToken"] = "InvalidCaptchaToken";
176
177
  ErrorCode["InvalidColorFormat"] = "InvalidColorFormat";
177
178
  ErrorCode["InvalidDate"] = "InvalidDate";
178
179
  ErrorCode["InvalidInput"] = "InvalidInput";
@@ -244,8 +245,6 @@ var OAuthAction;
244
245
  OAuthAction["NewUserCreated"] = "new_user_created";
245
246
  OAuthAction["ExistingUserSignedIn"] = "existing_user_signed_in";
246
247
  OAuthAction["ProviderLinkedAndSignedIn"] = "provider_linked_and_signed_in";
247
- OAuthAction["RequiresUserDecision"] = "requires_user_decision";
248
- OAuthAction["NewAccountForExistingUser"] = "new_account_for_existing_user";
249
248
  })(OAuthAction || (exports.OAuthAction = OAuthAction = {}));
250
249
  var OAuthProvider;
251
250
  (function (OAuthProvider) {
@@ -127,6 +127,7 @@ export declare enum ErrorCode {
127
127
  InsufficientResourcePermissions = "InsufficientResourcePermissions",
128
128
  InsufficientResourceItemPermissions = "InsufficientResourceItemPermissions",
129
129
  InvalidAuthType = "InvalidAuthType",
130
+ InvalidCaptchaToken = "InvalidCaptchaToken",
130
131
  InvalidColorFormat = "InvalidColorFormat",
131
132
  InvalidDate = "InvalidDate",
132
133
  InvalidInput = "InvalidInput",
@@ -190,9 +191,7 @@ export declare enum MetaMessageType {
190
191
  export declare enum OAuthAction {
191
192
  NewUserCreated = "new_user_created",
192
193
  ExistingUserSignedIn = "existing_user_signed_in",
193
- ProviderLinkedAndSignedIn = "provider_linked_and_signed_in",
194
- RequiresUserDecision = "requires_user_decision",
195
- NewAccountForExistingUser = "new_account_for_existing_user"
194
+ ProviderLinkedAndSignedIn = "provider_linked_and_signed_in"
196
195
  }
197
196
  export declare enum OAuthProvider {
198
197
  Google = "google"
@@ -726,6 +725,7 @@ export interface NewAccountRequest {
726
725
  email: string;
727
726
  password: string;
728
727
  name?: string;
728
+ captchaToken?: string;
729
729
  }
730
730
  export interface NumberInput extends BaseInput {
731
731
  type: "number";
@@ -734,9 +734,6 @@ export interface NumberInput extends BaseInput {
734
734
  max?: number;
735
735
  step?: number;
736
736
  }
737
- export interface OAuthBindingRequest {
738
- messageCipher: string;
739
- }
740
737
  export interface OAuthRequest {
741
738
  code: string;
742
739
  redirectUri: string;
@@ -748,7 +745,6 @@ export interface OAuthResponse {
748
745
  oAuthProviderId: string;
749
746
  oAuthProviderEmail: string;
750
747
  oAuthProviderName: string;
751
- messageCipher?: string;
752
748
  dateNow: string;
753
749
  action: OAuthAction;
754
750
  }
package/dist/internal.mjs CHANGED
@@ -160,6 +160,7 @@ export var ErrorCode;
160
160
  ErrorCode["InsufficientResourcePermissions"] = "InsufficientResourcePermissions";
161
161
  ErrorCode["InsufficientResourceItemPermissions"] = "InsufficientResourceItemPermissions";
162
162
  ErrorCode["InvalidAuthType"] = "InvalidAuthType";
163
+ ErrorCode["InvalidCaptchaToken"] = "InvalidCaptchaToken";
163
164
  ErrorCode["InvalidColorFormat"] = "InvalidColorFormat";
164
165
  ErrorCode["InvalidDate"] = "InvalidDate";
165
166
  ErrorCode["InvalidInput"] = "InvalidInput";
@@ -231,8 +232,6 @@ export var OAuthAction;
231
232
  OAuthAction["NewUserCreated"] = "new_user_created";
232
233
  OAuthAction["ExistingUserSignedIn"] = "existing_user_signed_in";
233
234
  OAuthAction["ProviderLinkedAndSignedIn"] = "provider_linked_and_signed_in";
234
- OAuthAction["RequiresUserDecision"] = "requires_user_decision";
235
- OAuthAction["NewAccountForExistingUser"] = "new_account_for_existing_user";
236
235
  })(OAuthAction || (OAuthAction = {}));
237
236
  export var OAuthProvider;
238
237
  (function (OAuthProvider) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scoreboardmax/api-types",
3
- "version": "1.0.35",
3
+ "version": "1.0.37",
4
4
  "description": "TypeScript definitions for ScoreboardMax API",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",