@drxsuperapp/sdk 1.1.217 → 1.1.219

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 (39) hide show
  1. package/.openapi-generator/FILES +7 -0
  2. package/apis/AuthenticationApi.ts +153 -0
  3. package/apis/EsportApi.ts +52 -0
  4. package/deploy.log +31 -22
  5. package/dist/apis/AuthenticationApi.d.ts +40 -1
  6. package/dist/apis/AuthenticationApi.js +106 -1
  7. package/dist/apis/EsportApi.d.ts +12 -1
  8. package/dist/apis/EsportApi.js +35 -1
  9. package/dist/models/ApiAuthForgotPasswordChangePasswordPost200Response.d.ts +51 -0
  10. package/dist/models/ApiAuthForgotPasswordChangePasswordPost200Response.js +54 -0
  11. package/dist/models/ApiAuthForgotPasswordChangePasswordPost200ResponseResponseObject.d.ts +38 -0
  12. package/dist/models/ApiAuthForgotPasswordChangePasswordPost200ResponseResponseObject.js +47 -0
  13. package/dist/models/ApiAuthForgotPasswordChangePasswordPostRequest.d.ts +44 -0
  14. package/dist/models/ApiAuthForgotPasswordChangePasswordPostRequest.js +51 -0
  15. package/dist/models/ApiAuthForgotPasswordRequestPostRequest.d.ts +32 -0
  16. package/dist/models/ApiAuthForgotPasswordRequestPostRequest.js +43 -0
  17. package/dist/models/ApiAuthForgotPasswordVerifyOtpPost200Response.d.ts +51 -0
  18. package/dist/models/ApiAuthForgotPasswordVerifyOtpPost200Response.js +54 -0
  19. package/dist/models/ApiAuthForgotPasswordVerifyOtpPost200ResponseResponseObject.d.ts +44 -0
  20. package/dist/models/ApiAuthForgotPasswordVerifyOtpPost200ResponseResponseObject.js +49 -0
  21. package/dist/models/ApiAuthRegisterCompletePostRequest.d.ts +2 -2
  22. package/dist/models/ApiAuthRegisterCompletePostRequest.js +4 -2
  23. package/dist/models/ApiAuthRegisterStartPostRequest.d.ts +6 -0
  24. package/dist/models/ApiAuthRegisterStartPostRequest.js +2 -0
  25. package/dist/models/ApiEsportMatchesIdGet200Response.d.ts +51 -0
  26. package/dist/models/ApiEsportMatchesIdGet200Response.js +54 -0
  27. package/dist/models/index.d.ts +7 -0
  28. package/dist/models/index.js +7 -0
  29. package/models/ApiAuthForgotPasswordChangePasswordPost200Response.ts +100 -0
  30. package/models/ApiAuthForgotPasswordChangePasswordPost200ResponseResponseObject.ts +75 -0
  31. package/models/ApiAuthForgotPasswordChangePasswordPostRequest.ts +84 -0
  32. package/models/ApiAuthForgotPasswordRequestPostRequest.ts +66 -0
  33. package/models/ApiAuthForgotPasswordVerifyOtpPost200Response.ts +100 -0
  34. package/models/ApiAuthForgotPasswordVerifyOtpPost200ResponseResponseObject.ts +83 -0
  35. package/models/ApiAuthRegisterCompletePostRequest.ts +5 -4
  36. package/models/ApiAuthRegisterStartPostRequest.ts +8 -0
  37. package/models/ApiEsportMatchesIdGet200Response.ts +100 -0
  38. package/models/index.ts +7 -0
  39. package/package.json +1 -1
@@ -30,13 +30,13 @@ export interface ApiAuthRegisterCompletePostRequest {
30
30
  * @type {string}
31
31
  * @memberof ApiAuthRegisterCompletePostRequest
32
32
  */
33
- password: string;
33
+ otp: string;
34
34
  /**
35
35
  *
36
36
  * @type {string}
37
37
  * @memberof ApiAuthRegisterCompletePostRequest
38
38
  */
39
- affiliateCode?: string;
39
+ password: string;
40
40
  }
41
41
 
42
42
  /**
@@ -44,6 +44,7 @@ export interface ApiAuthRegisterCompletePostRequest {
44
44
  */
45
45
  export function instanceOfApiAuthRegisterCompletePostRequest(value: object): value is ApiAuthRegisterCompletePostRequest {
46
46
  if (!('email' in value) || value['email'] === undefined) return false;
47
+ if (!('otp' in value) || value['otp'] === undefined) return false;
47
48
  if (!('password' in value) || value['password'] === undefined) return false;
48
49
  return true;
49
50
  }
@@ -59,8 +60,8 @@ export function ApiAuthRegisterCompletePostRequestFromJSONTyped(json: any, ignor
59
60
  return {
60
61
 
61
62
  'email': json['email'],
63
+ 'otp': json['otp'],
62
64
  'password': json['password'],
63
- 'affiliateCode': json['affiliateCode'] == null ? undefined : json['affiliateCode'],
64
65
  };
65
66
  }
66
67
 
@@ -76,8 +77,8 @@ export function ApiAuthRegisterCompletePostRequestToJSONTyped(value?: ApiAuthReg
76
77
  return {
77
78
 
78
79
  'email': value['email'],
80
+ 'otp': value['otp'],
79
81
  'password': value['password'],
80
- 'affiliateCode': value['affiliateCode'],
81
82
  };
82
83
  }
83
84
 
@@ -37,6 +37,12 @@ export interface ApiAuthRegisterStartPostRequest {
37
37
  * @memberof ApiAuthRegisterStartPostRequest
38
38
  */
39
39
  fullName: string;
40
+ /**
41
+ *
42
+ * @type {string}
43
+ * @memberof ApiAuthRegisterStartPostRequest
44
+ */
45
+ affiliateCode?: string;
40
46
  }
41
47
 
42
48
  /**
@@ -62,6 +68,7 @@ export function ApiAuthRegisterStartPostRequestFromJSONTyped(json: any, ignoreDi
62
68
  'username': json['username'],
63
69
  'email': json['email'],
64
70
  'fullName': json['fullName'],
71
+ 'affiliateCode': json['affiliateCode'] == null ? undefined : json['affiliateCode'],
65
72
  };
66
73
  }
67
74
 
@@ -79,6 +86,7 @@ export function ApiAuthRegisterStartPostRequestToJSONTyped(value?: ApiAuthRegist
79
86
  'username': value['username'],
80
87
  'email': value['email'],
81
88
  'fullName': value['fullName'],
89
+ 'affiliateCode': value['affiliateCode'],
82
90
  };
83
91
  }
84
92
 
@@ -0,0 +1,100 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * DRX API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ import type { ApiEsportMatchesGet200ResponseResponseObjectItemsInner } from './ApiEsportMatchesGet200ResponseResponseObjectItemsInner';
17
+ import {
18
+ ApiEsportMatchesGet200ResponseResponseObjectItemsInnerFromJSON,
19
+ ApiEsportMatchesGet200ResponseResponseObjectItemsInnerFromJSONTyped,
20
+ ApiEsportMatchesGet200ResponseResponseObjectItemsInnerToJSON,
21
+ ApiEsportMatchesGet200ResponseResponseObjectItemsInnerToJSONTyped,
22
+ } from './ApiEsportMatchesGet200ResponseResponseObjectItemsInner';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface ApiEsportMatchesIdGet200Response
28
+ */
29
+ export interface ApiEsportMatchesIdGet200Response {
30
+ /**
31
+ *
32
+ * @type {boolean}
33
+ * @memberof ApiEsportMatchesIdGet200Response
34
+ */
35
+ success: boolean;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof ApiEsportMatchesIdGet200Response
40
+ */
41
+ message: string;
42
+ /**
43
+ *
44
+ * @type {ApiEsportMatchesGet200ResponseResponseObjectItemsInner}
45
+ * @memberof ApiEsportMatchesIdGet200Response
46
+ */
47
+ responseObject?: ApiEsportMatchesGet200ResponseResponseObjectItemsInner;
48
+ /**
49
+ *
50
+ * @type {number}
51
+ * @memberof ApiEsportMatchesIdGet200Response
52
+ */
53
+ statusCode: number;
54
+ }
55
+
56
+ /**
57
+ * Check if a given object implements the ApiEsportMatchesIdGet200Response interface.
58
+ */
59
+ export function instanceOfApiEsportMatchesIdGet200Response(value: object): value is ApiEsportMatchesIdGet200Response {
60
+ if (!('success' in value) || value['success'] === undefined) return false;
61
+ if (!('message' in value) || value['message'] === undefined) return false;
62
+ if (!('statusCode' in value) || value['statusCode'] === undefined) return false;
63
+ return true;
64
+ }
65
+
66
+ export function ApiEsportMatchesIdGet200ResponseFromJSON(json: any): ApiEsportMatchesIdGet200Response {
67
+ return ApiEsportMatchesIdGet200ResponseFromJSONTyped(json, false);
68
+ }
69
+
70
+ export function ApiEsportMatchesIdGet200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiEsportMatchesIdGet200Response {
71
+ if (json == null) {
72
+ return json;
73
+ }
74
+ return {
75
+
76
+ 'success': json['success'],
77
+ 'message': json['message'],
78
+ 'responseObject': json['responseObject'] == null ? undefined : ApiEsportMatchesGet200ResponseResponseObjectItemsInnerFromJSON(json['responseObject']),
79
+ 'statusCode': json['statusCode'],
80
+ };
81
+ }
82
+
83
+ export function ApiEsportMatchesIdGet200ResponseToJSON(json: any): ApiEsportMatchesIdGet200Response {
84
+ return ApiEsportMatchesIdGet200ResponseToJSONTyped(json, false);
85
+ }
86
+
87
+ export function ApiEsportMatchesIdGet200ResponseToJSONTyped(value?: ApiEsportMatchesIdGet200Response | null, ignoreDiscriminator: boolean = false): any {
88
+ if (value == null) {
89
+ return value;
90
+ }
91
+
92
+ return {
93
+
94
+ 'success': value['success'],
95
+ 'message': value['message'],
96
+ 'responseObject': ApiEsportMatchesGet200ResponseResponseObjectItemsInnerToJSON(value['responseObject']),
97
+ 'statusCode': value['statusCode'],
98
+ };
99
+ }
100
+
package/models/index.ts CHANGED
@@ -1,5 +1,11 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
+ export * from './ApiAuthForgotPasswordChangePasswordPost200Response';
4
+ export * from './ApiAuthForgotPasswordChangePasswordPost200ResponseResponseObject';
5
+ export * from './ApiAuthForgotPasswordChangePasswordPostRequest';
6
+ export * from './ApiAuthForgotPasswordRequestPostRequest';
7
+ export * from './ApiAuthForgotPasswordVerifyOtpPost200Response';
8
+ export * from './ApiAuthForgotPasswordVerifyOtpPost200ResponseResponseObject';
3
9
  export * from './ApiAuthLoginPost200Response';
4
10
  export * from './ApiAuthLoginPost200ResponseResponseObject';
5
11
  export * from './ApiAuthLoginPost200ResponseResponseObjectUser';
@@ -26,6 +32,7 @@ export * from './ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsIn
26
32
  export * from './ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInnerTeam';
27
33
  export * from './ApiEsportMatchesGet200ResponseResponseObjectItemsInnerStreamsListInner';
28
34
  export * from './ApiEsportMatchesGetFilterParameter';
35
+ export * from './ApiEsportMatchesIdGet200Response';
29
36
  export * from './ApiEsportVideogamesGet200Response';
30
37
  export * from './ApiEsportVideogamesGet200ResponseResponseObjectInner';
31
38
  export * from './ApiHealthCheckGet200Response';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@drxsuperapp/sdk",
3
- "version": "1.1.217",
3
+ "version": "1.1.219",
4
4
  "main": "index.ts",
5
5
  "types": "index.ts",
6
6
  "scripts": {