@gambulls-org/gambulls-apis 3.0.95 → 3.0.96

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 (72) hide show
  1. package/.idea/gambulls-apis.iml +11 -11
  2. package/.idea/modules.xml +7 -7
  3. package/.idea/vcs.xml +5 -5
  4. package/.openapi-generator/FILES +457 -454
  5. package/.openapi-generator-ignore +23 -23
  6. package/README.md +19 -19
  7. package/api.ts +10356 -10356
  8. package/apis/AdminAffiliateApi.js +17 -7
  9. package/apis/AdminAppConfigApi.js +17 -7
  10. package/apis/AdminAuthApi.js +17 -7
  11. package/apis/AdminBonusApi.js +17 -7
  12. package/apis/AdminCategoryApi.js +17 -7
  13. package/apis/AdminChatApi.js +17 -7
  14. package/apis/AdminDashboardApi.js +17 -7
  15. package/apis/AdminExchangeApi.js +17 -7
  16. package/apis/AdminGamesApi.js +17 -7
  17. package/apis/AdminGroupApi.js +17 -7
  18. package/apis/AdminLoyaltyApi.js +17 -7
  19. package/apis/AdminManagementApi.js +17 -7
  20. package/apis/AdminMenuApi.js +17 -7
  21. package/apis/AdminPaymentSystemApi.js +17 -7
  22. package/apis/AdminPinnedMessageApi.js +17 -7
  23. package/apis/AdminPolicyApi.js +17 -7
  24. package/apis/AdminProvidersApi.js +17 -7
  25. package/apis/AdminUserManagementApi.js +17 -7
  26. package/apis/AuthApi.js +17 -7
  27. package/apis/CMSApi.js +17 -7
  28. package/apis/CronDataCleanupApi.js +17 -7
  29. package/apis/HealthCheckApi.js +17 -7
  30. package/apis/PublicGamesApi.js +95 -8
  31. package/apis/PublicGamesApi.ts +95 -0
  32. package/apis/PublicPolicyApi.js +17 -7
  33. package/apis/RGSApi.js +17 -7
  34. package/apis/RGSV2Api.js +17 -7
  35. package/apis/TatumApi.js +17 -7
  36. package/apis/TestForNonProductionOnlyApi.js +17 -7
  37. package/apis/UserAffiliateApi.js +17 -7
  38. package/apis/UserAvatarApi.js +17 -7
  39. package/apis/UserBalanceApi.js +17 -7
  40. package/apis/UserBonusApi.js +17 -7
  41. package/apis/UserDepositApi.js +17 -7
  42. package/apis/UserDocumentApi.js +17 -7
  43. package/apis/UserGamesApi.js +17 -7
  44. package/apis/UserLoyaltyApi.js +17 -7
  45. package/apis/UserModeratorApi.js +17 -7
  46. package/apis/UserNotificationApi.js +17 -7
  47. package/apis/UserPreferencesApi.js +17 -7
  48. package/apis/UserProfileApi.js +17 -7
  49. package/apis/UserResponsibleGamingApi.js +17 -7
  50. package/apis/UserStatisticApi.js +17 -7
  51. package/apis/UserTippingApi.js +17 -7
  52. package/apis/UserTransactionHistoryApi.js +17 -7
  53. package/apis/UserWithdrawalApi.js +17 -7
  54. package/base.ts +86 -86
  55. package/common.ts +150 -150
  56. package/configuration.ts +110 -110
  57. package/git_push.sh +57 -57
  58. package/hooks.json +8 -8
  59. package/models/ApiCronDataCleanupTriggerPost200ResponseResponseObject.js +15 -3
  60. package/models/ApiCronDataCleanupTriggerPost200ResponseResponseObject.ts +44 -3
  61. package/models/ApiPublicGamesSeoGet200Response.js +61 -0
  62. package/models/ApiPublicGamesSeoGet200Response.ts +100 -0
  63. package/models/ApiPublicGamesSeoGet200ResponseResponseObject.js +67 -0
  64. package/models/ApiPublicGamesSeoGet200ResponseResponseObject.ts +110 -0
  65. package/models/ApiPublicGamesSeoGet200ResponseResponseObjectItemsInner.js +78 -0
  66. package/models/ApiPublicGamesSeoGet200ResponseResponseObjectItemsInner.ts +129 -0
  67. package/models/index.js +3 -0
  68. package/models/index.ts +3 -0
  69. package/openapitools.json +7 -7
  70. package/package.json +26 -26
  71. package/tsconfig.json +108 -108
  72. package/workflow.sh +40 -40
@@ -22,12 +22,14 @@ exports.ApiCronDataCleanupTriggerPost200ResponseResponseObjectToJSONTyped = ApiC
22
22
  * Check if a given object implements the ApiCronDataCleanupTriggerPost200ResponseResponseObject interface.
23
23
  */
24
24
  function instanceOfApiCronDataCleanupTriggerPost200ResponseResponseObject(value) {
25
- if (!('recordsToDelete' in value) || value['recordsToDelete'] === undefined)
26
- return false;
27
25
  if (!('cutoffDate' in value) || value['cutoffDate'] === undefined)
28
26
  return false;
29
27
  if (!('safetyCheckPassed' in value) || value['safetyCheckPassed'] === undefined)
30
28
  return false;
29
+ if (!('deletionPercentage' in value) || value['deletionPercentage'] === undefined)
30
+ return false;
31
+ if (!('totalRecords' in value) || value['totalRecords'] === undefined)
32
+ return false;
31
33
  if (!('executed' in value) || value['executed'] === undefined)
32
34
  return false;
33
35
  if (!('message' in value) || value['message'] === undefined)
@@ -42,9 +44,14 @@ function ApiCronDataCleanupTriggerPost200ResponseResponseObjectFromJSONTyped(jso
42
44
  return json;
43
45
  }
44
46
  return {
45
- 'recordsToDelete': json['recordsToDelete'],
47
+ 'recordsToDelete': json['recordsToDelete'] == null ? undefined : json['recordsToDelete'],
48
+ 'totalDeleted': json['totalDeleted'] == null ? undefined : json['totalDeleted'],
49
+ 'batchCount': json['batchCount'] == null ? undefined : json['batchCount'],
50
+ 'duration': json['duration'] == null ? undefined : json['duration'],
46
51
  'cutoffDate': json['cutoffDate'],
47
52
  'safetyCheckPassed': json['safetyCheckPassed'],
53
+ 'deletionPercentage': json['deletionPercentage'],
54
+ 'totalRecords': json['totalRecords'],
48
55
  'executed': json['executed'],
49
56
  'message': json['message'],
50
57
  };
@@ -58,8 +65,13 @@ function ApiCronDataCleanupTriggerPost200ResponseResponseObjectToJSONTyped(value
58
65
  }
59
66
  return {
60
67
  'recordsToDelete': value['recordsToDelete'],
68
+ 'totalDeleted': value['totalDeleted'],
69
+ 'batchCount': value['batchCount'],
70
+ 'duration': value['duration'],
61
71
  'cutoffDate': value['cutoffDate'],
62
72
  'safetyCheckPassed': value['safetyCheckPassed'],
73
+ 'deletionPercentage': value['deletionPercentage'],
74
+ 'totalRecords': value['totalRecords'],
63
75
  'executed': value['executed'],
64
76
  'message': value['message'],
65
77
  };
@@ -24,7 +24,25 @@ export interface ApiCronDataCleanupTriggerPost200ResponseResponseObject {
24
24
  * @type {number}
25
25
  * @memberof ApiCronDataCleanupTriggerPost200ResponseResponseObject
26
26
  */
27
- recordsToDelete: number;
27
+ recordsToDelete?: number;
28
+ /**
29
+ *
30
+ * @type {number}
31
+ * @memberof ApiCronDataCleanupTriggerPost200ResponseResponseObject
32
+ */
33
+ totalDeleted?: number;
34
+ /**
35
+ *
36
+ * @type {number}
37
+ * @memberof ApiCronDataCleanupTriggerPost200ResponseResponseObject
38
+ */
39
+ batchCount?: number;
40
+ /**
41
+ *
42
+ * @type {number}
43
+ * @memberof ApiCronDataCleanupTriggerPost200ResponseResponseObject
44
+ */
45
+ duration?: number;
28
46
  /**
29
47
  *
30
48
  * @type {string}
@@ -37,6 +55,18 @@ export interface ApiCronDataCleanupTriggerPost200ResponseResponseObject {
37
55
  * @memberof ApiCronDataCleanupTriggerPost200ResponseResponseObject
38
56
  */
39
57
  safetyCheckPassed: boolean;
58
+ /**
59
+ *
60
+ * @type {number}
61
+ * @memberof ApiCronDataCleanupTriggerPost200ResponseResponseObject
62
+ */
63
+ deletionPercentage: number;
64
+ /**
65
+ *
66
+ * @type {number}
67
+ * @memberof ApiCronDataCleanupTriggerPost200ResponseResponseObject
68
+ */
69
+ totalRecords: number;
40
70
  /**
41
71
  *
42
72
  * @type {boolean}
@@ -55,9 +85,10 @@ export interface ApiCronDataCleanupTriggerPost200ResponseResponseObject {
55
85
  * Check if a given object implements the ApiCronDataCleanupTriggerPost200ResponseResponseObject interface.
56
86
  */
57
87
  export function instanceOfApiCronDataCleanupTriggerPost200ResponseResponseObject(value: object): value is ApiCronDataCleanupTriggerPost200ResponseResponseObject {
58
- if (!('recordsToDelete' in value) || value['recordsToDelete'] === undefined) return false;
59
88
  if (!('cutoffDate' in value) || value['cutoffDate'] === undefined) return false;
60
89
  if (!('safetyCheckPassed' in value) || value['safetyCheckPassed'] === undefined) return false;
90
+ if (!('deletionPercentage' in value) || value['deletionPercentage'] === undefined) return false;
91
+ if (!('totalRecords' in value) || value['totalRecords'] === undefined) return false;
61
92
  if (!('executed' in value) || value['executed'] === undefined) return false;
62
93
  if (!('message' in value) || value['message'] === undefined) return false;
63
94
  return true;
@@ -73,9 +104,14 @@ export function ApiCronDataCleanupTriggerPost200ResponseResponseObjectFromJSONTy
73
104
  }
74
105
  return {
75
106
 
76
- 'recordsToDelete': json['recordsToDelete'],
107
+ 'recordsToDelete': json['recordsToDelete'] == null ? undefined : json['recordsToDelete'],
108
+ 'totalDeleted': json['totalDeleted'] == null ? undefined : json['totalDeleted'],
109
+ 'batchCount': json['batchCount'] == null ? undefined : json['batchCount'],
110
+ 'duration': json['duration'] == null ? undefined : json['duration'],
77
111
  'cutoffDate': json['cutoffDate'],
78
112
  'safetyCheckPassed': json['safetyCheckPassed'],
113
+ 'deletionPercentage': json['deletionPercentage'],
114
+ 'totalRecords': json['totalRecords'],
79
115
  'executed': json['executed'],
80
116
  'message': json['message'],
81
117
  };
@@ -93,8 +129,13 @@ export function ApiCronDataCleanupTriggerPost200ResponseResponseObjectFromJSONTy
93
129
  return {
94
130
 
95
131
  'recordsToDelete': value['recordsToDelete'],
132
+ 'totalDeleted': value['totalDeleted'],
133
+ 'batchCount': value['batchCount'],
134
+ 'duration': value['duration'],
96
135
  'cutoffDate': value['cutoffDate'],
97
136
  'safetyCheckPassed': value['safetyCheckPassed'],
137
+ 'deletionPercentage': value['deletionPercentage'],
138
+ 'totalRecords': value['totalRecords'],
98
139
  'executed': value['executed'],
99
140
  'message': value['message'],
100
141
  };
@@ -0,0 +1,61 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Swagger API
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfApiPublicGamesSeoGet200Response = instanceOfApiPublicGamesSeoGet200Response;
17
+ exports.ApiPublicGamesSeoGet200ResponseFromJSON = ApiPublicGamesSeoGet200ResponseFromJSON;
18
+ exports.ApiPublicGamesSeoGet200ResponseFromJSONTyped = ApiPublicGamesSeoGet200ResponseFromJSONTyped;
19
+ exports.ApiPublicGamesSeoGet200ResponseToJSON = ApiPublicGamesSeoGet200ResponseToJSON;
20
+ exports.ApiPublicGamesSeoGet200ResponseToJSONTyped = ApiPublicGamesSeoGet200ResponseToJSONTyped;
21
+ const ApiPublicGamesSeoGet200ResponseResponseObject_1 = require("./ApiPublicGamesSeoGet200ResponseResponseObject");
22
+ /**
23
+ * Check if a given object implements the ApiPublicGamesSeoGet200Response interface.
24
+ */
25
+ function instanceOfApiPublicGamesSeoGet200Response(value) {
26
+ if (!('success' in value) || value['success'] === undefined)
27
+ return false;
28
+ if (!('message' in value) || value['message'] === undefined)
29
+ return false;
30
+ if (!('statusCode' in value) || value['statusCode'] === undefined)
31
+ return false;
32
+ return true;
33
+ }
34
+ function ApiPublicGamesSeoGet200ResponseFromJSON(json) {
35
+ return ApiPublicGamesSeoGet200ResponseFromJSONTyped(json, false);
36
+ }
37
+ function ApiPublicGamesSeoGet200ResponseFromJSONTyped(json, ignoreDiscriminator) {
38
+ if (json == null) {
39
+ return json;
40
+ }
41
+ return {
42
+ 'success': json['success'],
43
+ 'message': json['message'],
44
+ 'responseObject': json['responseObject'] == null ? undefined : (0, ApiPublicGamesSeoGet200ResponseResponseObject_1.ApiPublicGamesSeoGet200ResponseResponseObjectFromJSON)(json['responseObject']),
45
+ 'statusCode': json['statusCode'],
46
+ };
47
+ }
48
+ function ApiPublicGamesSeoGet200ResponseToJSON(json) {
49
+ return ApiPublicGamesSeoGet200ResponseToJSONTyped(json, false);
50
+ }
51
+ function ApiPublicGamesSeoGet200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
52
+ if (value == null) {
53
+ return value;
54
+ }
55
+ return {
56
+ 'success': value['success'],
57
+ 'message': value['message'],
58
+ 'responseObject': (0, ApiPublicGamesSeoGet200ResponseResponseObject_1.ApiPublicGamesSeoGet200ResponseResponseObjectToJSON)(value['responseObject']),
59
+ 'statusCode': value['statusCode'],
60
+ };
61
+ }
@@ -0,0 +1,100 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Swagger 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 { ApiPublicGamesSeoGet200ResponseResponseObject } from './ApiPublicGamesSeoGet200ResponseResponseObject';
17
+ import {
18
+ ApiPublicGamesSeoGet200ResponseResponseObjectFromJSON,
19
+ ApiPublicGamesSeoGet200ResponseResponseObjectFromJSONTyped,
20
+ ApiPublicGamesSeoGet200ResponseResponseObjectToJSON,
21
+ ApiPublicGamesSeoGet200ResponseResponseObjectToJSONTyped,
22
+ } from './ApiPublicGamesSeoGet200ResponseResponseObject';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface ApiPublicGamesSeoGet200Response
28
+ */
29
+ export interface ApiPublicGamesSeoGet200Response {
30
+ /**
31
+ *
32
+ * @type {boolean}
33
+ * @memberof ApiPublicGamesSeoGet200Response
34
+ */
35
+ success: boolean;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof ApiPublicGamesSeoGet200Response
40
+ */
41
+ message: string;
42
+ /**
43
+ *
44
+ * @type {ApiPublicGamesSeoGet200ResponseResponseObject}
45
+ * @memberof ApiPublicGamesSeoGet200Response
46
+ */
47
+ responseObject?: ApiPublicGamesSeoGet200ResponseResponseObject;
48
+ /**
49
+ *
50
+ * @type {number}
51
+ * @memberof ApiPublicGamesSeoGet200Response
52
+ */
53
+ statusCode: number;
54
+ }
55
+
56
+ /**
57
+ * Check if a given object implements the ApiPublicGamesSeoGet200Response interface.
58
+ */
59
+ export function instanceOfApiPublicGamesSeoGet200Response(value: object): value is ApiPublicGamesSeoGet200Response {
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 ApiPublicGamesSeoGet200ResponseFromJSON(json: any): ApiPublicGamesSeoGet200Response {
67
+ return ApiPublicGamesSeoGet200ResponseFromJSONTyped(json, false);
68
+ }
69
+
70
+ export function ApiPublicGamesSeoGet200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiPublicGamesSeoGet200Response {
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 : ApiPublicGamesSeoGet200ResponseResponseObjectFromJSON(json['responseObject']),
79
+ 'statusCode': json['statusCode'],
80
+ };
81
+ }
82
+
83
+ export function ApiPublicGamesSeoGet200ResponseToJSON(json: any): ApiPublicGamesSeoGet200Response {
84
+ return ApiPublicGamesSeoGet200ResponseToJSONTyped(json, false);
85
+ }
86
+
87
+ export function ApiPublicGamesSeoGet200ResponseToJSONTyped(value?: ApiPublicGamesSeoGet200Response | 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': ApiPublicGamesSeoGet200ResponseResponseObjectToJSON(value['responseObject']),
97
+ 'statusCode': value['statusCode'],
98
+ };
99
+ }
100
+
@@ -0,0 +1,67 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Swagger API
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfApiPublicGamesSeoGet200ResponseResponseObject = instanceOfApiPublicGamesSeoGet200ResponseResponseObject;
17
+ exports.ApiPublicGamesSeoGet200ResponseResponseObjectFromJSON = ApiPublicGamesSeoGet200ResponseResponseObjectFromJSON;
18
+ exports.ApiPublicGamesSeoGet200ResponseResponseObjectFromJSONTyped = ApiPublicGamesSeoGet200ResponseResponseObjectFromJSONTyped;
19
+ exports.ApiPublicGamesSeoGet200ResponseResponseObjectToJSON = ApiPublicGamesSeoGet200ResponseResponseObjectToJSON;
20
+ exports.ApiPublicGamesSeoGet200ResponseResponseObjectToJSONTyped = ApiPublicGamesSeoGet200ResponseResponseObjectToJSONTyped;
21
+ const ApiPublicGamesSeoGet200ResponseResponseObjectItemsInner_1 = require("./ApiPublicGamesSeoGet200ResponseResponseObjectItemsInner");
22
+ /**
23
+ * Check if a given object implements the ApiPublicGamesSeoGet200ResponseResponseObject interface.
24
+ */
25
+ function instanceOfApiPublicGamesSeoGet200ResponseResponseObject(value) {
26
+ if (!('items' in value) || value['items'] === undefined)
27
+ return false;
28
+ if (!('currentPage' in value) || value['currentPage'] === undefined)
29
+ return false;
30
+ if (!('totalItems' in value) || value['totalItems'] === undefined)
31
+ return false;
32
+ if (!('totalPages' in value) || value['totalPages'] === undefined)
33
+ return false;
34
+ if (!('pageSize' in value) || value['pageSize'] === undefined)
35
+ return false;
36
+ return true;
37
+ }
38
+ function ApiPublicGamesSeoGet200ResponseResponseObjectFromJSON(json) {
39
+ return ApiPublicGamesSeoGet200ResponseResponseObjectFromJSONTyped(json, false);
40
+ }
41
+ function ApiPublicGamesSeoGet200ResponseResponseObjectFromJSONTyped(json, ignoreDiscriminator) {
42
+ if (json == null) {
43
+ return json;
44
+ }
45
+ return {
46
+ 'items': (json['items'].map(ApiPublicGamesSeoGet200ResponseResponseObjectItemsInner_1.ApiPublicGamesSeoGet200ResponseResponseObjectItemsInnerFromJSON)),
47
+ 'currentPage': json['currentPage'],
48
+ 'totalItems': json['totalItems'],
49
+ 'totalPages': json['totalPages'],
50
+ 'pageSize': json['pageSize'],
51
+ };
52
+ }
53
+ function ApiPublicGamesSeoGet200ResponseResponseObjectToJSON(json) {
54
+ return ApiPublicGamesSeoGet200ResponseResponseObjectToJSONTyped(json, false);
55
+ }
56
+ function ApiPublicGamesSeoGet200ResponseResponseObjectToJSONTyped(value, ignoreDiscriminator = false) {
57
+ if (value == null) {
58
+ return value;
59
+ }
60
+ return {
61
+ 'items': (value['items'].map(ApiPublicGamesSeoGet200ResponseResponseObjectItemsInner_1.ApiPublicGamesSeoGet200ResponseResponseObjectItemsInnerToJSON)),
62
+ 'currentPage': value['currentPage'],
63
+ 'totalItems': value['totalItems'],
64
+ 'totalPages': value['totalPages'],
65
+ 'pageSize': value['pageSize'],
66
+ };
67
+ }
@@ -0,0 +1,110 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Swagger 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 { ApiPublicGamesSeoGet200ResponseResponseObjectItemsInner } from './ApiPublicGamesSeoGet200ResponseResponseObjectItemsInner';
17
+ import {
18
+ ApiPublicGamesSeoGet200ResponseResponseObjectItemsInnerFromJSON,
19
+ ApiPublicGamesSeoGet200ResponseResponseObjectItemsInnerFromJSONTyped,
20
+ ApiPublicGamesSeoGet200ResponseResponseObjectItemsInnerToJSON,
21
+ ApiPublicGamesSeoGet200ResponseResponseObjectItemsInnerToJSONTyped,
22
+ } from './ApiPublicGamesSeoGet200ResponseResponseObjectItemsInner';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface ApiPublicGamesSeoGet200ResponseResponseObject
28
+ */
29
+ export interface ApiPublicGamesSeoGet200ResponseResponseObject {
30
+ /**
31
+ *
32
+ * @type {Array<ApiPublicGamesSeoGet200ResponseResponseObjectItemsInner>}
33
+ * @memberof ApiPublicGamesSeoGet200ResponseResponseObject
34
+ */
35
+ items: Array<ApiPublicGamesSeoGet200ResponseResponseObjectItemsInner>;
36
+ /**
37
+ *
38
+ * @type {number}
39
+ * @memberof ApiPublicGamesSeoGet200ResponseResponseObject
40
+ */
41
+ currentPage: number;
42
+ /**
43
+ *
44
+ * @type {number}
45
+ * @memberof ApiPublicGamesSeoGet200ResponseResponseObject
46
+ */
47
+ totalItems: number;
48
+ /**
49
+ *
50
+ * @type {number}
51
+ * @memberof ApiPublicGamesSeoGet200ResponseResponseObject
52
+ */
53
+ totalPages: number;
54
+ /**
55
+ *
56
+ * @type {number}
57
+ * @memberof ApiPublicGamesSeoGet200ResponseResponseObject
58
+ */
59
+ pageSize: number;
60
+ }
61
+
62
+ /**
63
+ * Check if a given object implements the ApiPublicGamesSeoGet200ResponseResponseObject interface.
64
+ */
65
+ export function instanceOfApiPublicGamesSeoGet200ResponseResponseObject(value: object): value is ApiPublicGamesSeoGet200ResponseResponseObject {
66
+ if (!('items' in value) || value['items'] === undefined) return false;
67
+ if (!('currentPage' in value) || value['currentPage'] === undefined) return false;
68
+ if (!('totalItems' in value) || value['totalItems'] === undefined) return false;
69
+ if (!('totalPages' in value) || value['totalPages'] === undefined) return false;
70
+ if (!('pageSize' in value) || value['pageSize'] === undefined) return false;
71
+ return true;
72
+ }
73
+
74
+ export function ApiPublicGamesSeoGet200ResponseResponseObjectFromJSON(json: any): ApiPublicGamesSeoGet200ResponseResponseObject {
75
+ return ApiPublicGamesSeoGet200ResponseResponseObjectFromJSONTyped(json, false);
76
+ }
77
+
78
+ export function ApiPublicGamesSeoGet200ResponseResponseObjectFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiPublicGamesSeoGet200ResponseResponseObject {
79
+ if (json == null) {
80
+ return json;
81
+ }
82
+ return {
83
+
84
+ 'items': ((json['items'] as Array<any>).map(ApiPublicGamesSeoGet200ResponseResponseObjectItemsInnerFromJSON)),
85
+ 'currentPage': json['currentPage'],
86
+ 'totalItems': json['totalItems'],
87
+ 'totalPages': json['totalPages'],
88
+ 'pageSize': json['pageSize'],
89
+ };
90
+ }
91
+
92
+ export function ApiPublicGamesSeoGet200ResponseResponseObjectToJSON(json: any): ApiPublicGamesSeoGet200ResponseResponseObject {
93
+ return ApiPublicGamesSeoGet200ResponseResponseObjectToJSONTyped(json, false);
94
+ }
95
+
96
+ export function ApiPublicGamesSeoGet200ResponseResponseObjectToJSONTyped(value?: ApiPublicGamesSeoGet200ResponseResponseObject | null, ignoreDiscriminator: boolean = false): any {
97
+ if (value == null) {
98
+ return value;
99
+ }
100
+
101
+ return {
102
+
103
+ 'items': ((value['items'] as Array<any>).map(ApiPublicGamesSeoGet200ResponseResponseObjectItemsInnerToJSON)),
104
+ 'currentPage': value['currentPage'],
105
+ 'totalItems': value['totalItems'],
106
+ 'totalPages': value['totalPages'],
107
+ 'pageSize': value['pageSize'],
108
+ };
109
+ }
110
+
@@ -0,0 +1,78 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Swagger API
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfApiPublicGamesSeoGet200ResponseResponseObjectItemsInner = instanceOfApiPublicGamesSeoGet200ResponseResponseObjectItemsInner;
17
+ exports.ApiPublicGamesSeoGet200ResponseResponseObjectItemsInnerFromJSON = ApiPublicGamesSeoGet200ResponseResponseObjectItemsInnerFromJSON;
18
+ exports.ApiPublicGamesSeoGet200ResponseResponseObjectItemsInnerFromJSONTyped = ApiPublicGamesSeoGet200ResponseResponseObjectItemsInnerFromJSONTyped;
19
+ exports.ApiPublicGamesSeoGet200ResponseResponseObjectItemsInnerToJSON = ApiPublicGamesSeoGet200ResponseResponseObjectItemsInnerToJSON;
20
+ exports.ApiPublicGamesSeoGet200ResponseResponseObjectItemsInnerToJSONTyped = ApiPublicGamesSeoGet200ResponseResponseObjectItemsInnerToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the ApiPublicGamesSeoGet200ResponseResponseObjectItemsInner interface.
23
+ */
24
+ function instanceOfApiPublicGamesSeoGet200ResponseResponseObjectItemsInner(value) {
25
+ if (!('id' in value) || value['id'] === undefined)
26
+ return false;
27
+ if (!('name' in value) || value['name'] === undefined)
28
+ return false;
29
+ if (!('slug' in value) || value['slug'] === undefined)
30
+ return false;
31
+ if (!('iconImageUrl' in value) || value['iconImageUrl'] === undefined)
32
+ return false;
33
+ if (!('backgroundImageUrl' in value) || value['backgroundImageUrl'] === undefined)
34
+ return false;
35
+ if (!('iconHorizontalUrl' in value) || value['iconHorizontalUrl'] === undefined)
36
+ return false;
37
+ if (!('iconVerticalUrl' in value) || value['iconVerticalUrl'] === undefined)
38
+ return false;
39
+ if (!('alternativeImageUrl' in value) || value['alternativeImageUrl'] === undefined)
40
+ return false;
41
+ return true;
42
+ }
43
+ function ApiPublicGamesSeoGet200ResponseResponseObjectItemsInnerFromJSON(json) {
44
+ return ApiPublicGamesSeoGet200ResponseResponseObjectItemsInnerFromJSONTyped(json, false);
45
+ }
46
+ function ApiPublicGamesSeoGet200ResponseResponseObjectItemsInnerFromJSONTyped(json, ignoreDiscriminator) {
47
+ if (json == null) {
48
+ return json;
49
+ }
50
+ return {
51
+ 'id': json['id'],
52
+ 'name': json['name'],
53
+ 'slug': json['slug'],
54
+ 'iconImageUrl': json['iconImageUrl'],
55
+ 'backgroundImageUrl': json['backgroundImageUrl'],
56
+ 'iconHorizontalUrl': json['iconHorizontalUrl'],
57
+ 'iconVerticalUrl': json['iconVerticalUrl'],
58
+ 'alternativeImageUrl': json['alternativeImageUrl'],
59
+ };
60
+ }
61
+ function ApiPublicGamesSeoGet200ResponseResponseObjectItemsInnerToJSON(json) {
62
+ return ApiPublicGamesSeoGet200ResponseResponseObjectItemsInnerToJSONTyped(json, false);
63
+ }
64
+ function ApiPublicGamesSeoGet200ResponseResponseObjectItemsInnerToJSONTyped(value, ignoreDiscriminator = false) {
65
+ if (value == null) {
66
+ return value;
67
+ }
68
+ return {
69
+ 'id': value['id'],
70
+ 'name': value['name'],
71
+ 'slug': value['slug'],
72
+ 'iconImageUrl': value['iconImageUrl'],
73
+ 'backgroundImageUrl': value['backgroundImageUrl'],
74
+ 'iconHorizontalUrl': value['iconHorizontalUrl'],
75
+ 'iconVerticalUrl': value['iconVerticalUrl'],
76
+ 'alternativeImageUrl': value['alternativeImageUrl'],
77
+ };
78
+ }
@@ -0,0 +1,129 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Swagger 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
+ /**
17
+ *
18
+ * @export
19
+ * @interface ApiPublicGamesSeoGet200ResponseResponseObjectItemsInner
20
+ */
21
+ export interface ApiPublicGamesSeoGet200ResponseResponseObjectItemsInner {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof ApiPublicGamesSeoGet200ResponseResponseObjectItemsInner
26
+ */
27
+ id: string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof ApiPublicGamesSeoGet200ResponseResponseObjectItemsInner
32
+ */
33
+ name: string;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof ApiPublicGamesSeoGet200ResponseResponseObjectItemsInner
38
+ */
39
+ slug: string;
40
+ /**
41
+ *
42
+ * @type {string}
43
+ * @memberof ApiPublicGamesSeoGet200ResponseResponseObjectItemsInner
44
+ */
45
+ iconImageUrl: string | null;
46
+ /**
47
+ *
48
+ * @type {string}
49
+ * @memberof ApiPublicGamesSeoGet200ResponseResponseObjectItemsInner
50
+ */
51
+ backgroundImageUrl: string | null;
52
+ /**
53
+ *
54
+ * @type {string}
55
+ * @memberof ApiPublicGamesSeoGet200ResponseResponseObjectItemsInner
56
+ */
57
+ iconHorizontalUrl: string | null;
58
+ /**
59
+ *
60
+ * @type {string}
61
+ * @memberof ApiPublicGamesSeoGet200ResponseResponseObjectItemsInner
62
+ */
63
+ iconVerticalUrl: string | null;
64
+ /**
65
+ *
66
+ * @type {string}
67
+ * @memberof ApiPublicGamesSeoGet200ResponseResponseObjectItemsInner
68
+ */
69
+ alternativeImageUrl: string | null;
70
+ }
71
+
72
+ /**
73
+ * Check if a given object implements the ApiPublicGamesSeoGet200ResponseResponseObjectItemsInner interface.
74
+ */
75
+ export function instanceOfApiPublicGamesSeoGet200ResponseResponseObjectItemsInner(value: object): value is ApiPublicGamesSeoGet200ResponseResponseObjectItemsInner {
76
+ if (!('id' in value) || value['id'] === undefined) return false;
77
+ if (!('name' in value) || value['name'] === undefined) return false;
78
+ if (!('slug' in value) || value['slug'] === undefined) return false;
79
+ if (!('iconImageUrl' in value) || value['iconImageUrl'] === undefined) return false;
80
+ if (!('backgroundImageUrl' in value) || value['backgroundImageUrl'] === undefined) return false;
81
+ if (!('iconHorizontalUrl' in value) || value['iconHorizontalUrl'] === undefined) return false;
82
+ if (!('iconVerticalUrl' in value) || value['iconVerticalUrl'] === undefined) return false;
83
+ if (!('alternativeImageUrl' in value) || value['alternativeImageUrl'] === undefined) return false;
84
+ return true;
85
+ }
86
+
87
+ export function ApiPublicGamesSeoGet200ResponseResponseObjectItemsInnerFromJSON(json: any): ApiPublicGamesSeoGet200ResponseResponseObjectItemsInner {
88
+ return ApiPublicGamesSeoGet200ResponseResponseObjectItemsInnerFromJSONTyped(json, false);
89
+ }
90
+
91
+ export function ApiPublicGamesSeoGet200ResponseResponseObjectItemsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiPublicGamesSeoGet200ResponseResponseObjectItemsInner {
92
+ if (json == null) {
93
+ return json;
94
+ }
95
+ return {
96
+
97
+ 'id': json['id'],
98
+ 'name': json['name'],
99
+ 'slug': json['slug'],
100
+ 'iconImageUrl': json['iconImageUrl'],
101
+ 'backgroundImageUrl': json['backgroundImageUrl'],
102
+ 'iconHorizontalUrl': json['iconHorizontalUrl'],
103
+ 'iconVerticalUrl': json['iconVerticalUrl'],
104
+ 'alternativeImageUrl': json['alternativeImageUrl'],
105
+ };
106
+ }
107
+
108
+ export function ApiPublicGamesSeoGet200ResponseResponseObjectItemsInnerToJSON(json: any): ApiPublicGamesSeoGet200ResponseResponseObjectItemsInner {
109
+ return ApiPublicGamesSeoGet200ResponseResponseObjectItemsInnerToJSONTyped(json, false);
110
+ }
111
+
112
+ export function ApiPublicGamesSeoGet200ResponseResponseObjectItemsInnerToJSONTyped(value?: ApiPublicGamesSeoGet200ResponseResponseObjectItemsInner | null, ignoreDiscriminator: boolean = false): any {
113
+ if (value == null) {
114
+ return value;
115
+ }
116
+
117
+ return {
118
+
119
+ 'id': value['id'],
120
+ 'name': value['name'],
121
+ 'slug': value['slug'],
122
+ 'iconImageUrl': value['iconImageUrl'],
123
+ 'backgroundImageUrl': value['backgroundImageUrl'],
124
+ 'iconHorizontalUrl': value['iconHorizontalUrl'],
125
+ 'iconVerticalUrl': value['iconVerticalUrl'],
126
+ 'alternativeImageUrl': value['alternativeImageUrl'],
127
+ };
128
+ }
129
+