@drxsuperapp/sdk 1.1.72 → 1.1.74

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.
@@ -31,7 +31,8 @@ models/ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInner.ts
31
31
  models/ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerGamesInner.ts
32
32
  models/ApiPadelMatchesIdGet200ResponseResponseObjectStats.ts
33
33
  models/ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnections.ts
34
- models/ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValue.ts
34
+ models/ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatch.ts
35
+ models/ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchAnyOfValue.ts
35
36
  models/ApiPadelSeedGet200Response.ts
36
37
  models/index.ts
37
38
  runtime.ts
package/deploy.log CHANGED
@@ -25,7 +25,8 @@
25
25
  [main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_padel_matches_get_200_response_responseObject_items_inner. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_padel_matches_get_200_response_responseObject_items_inner=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_padel_matches_get_200_response_responseObject_items_inner=NewModel,ModelA=NewModelA in CLI).
26
26
  [main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_padel_matches_get_200_response_responseObject. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_padel_matches_get_200_response_responseObject=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_padel_matches_get_200_response_responseObject=NewModel,ModelA=NewModelA in CLI).
27
27
  [main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_padel_matches_get_200_response. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_padel_matches_get_200_response=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_padel_matches_get_200_response=NewModel,ModelA=NewModelA in CLI).
28
- [main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_padel_matches__id__get_200_response_responseObject_stats_match_value. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_padel_matches__id__get_200_response_responseObject_stats_match_value=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_padel_matches__id__get_200_response_responseObject_stats_match_value=NewModel,ModelA=NewModelA in CLI).
28
+ [main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_padel_matches__id__get_200_response_responseObject_stats_match_anyOf_value. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_padel_matches__id__get_200_response_responseObject_stats_match_anyOf_value=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_padel_matches__id__get_200_response_responseObject_stats_match_anyOf_value=NewModel,ModelA=NewModelA in CLI).
29
+ [main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_padel_matches__id__get_200_response_responseObject_stats_match. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_padel_matches__id__get_200_response_responseObject_stats_match=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_padel_matches__id__get_200_response_responseObject_stats_match=NewModel,ModelA=NewModelA in CLI).
29
30
  [main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_padel_matches__id__get_200_response_responseObject_stats_connections. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_padel_matches__id__get_200_response_responseObject_stats_connections=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_padel_matches__id__get_200_response_responseObject_stats_connections=NewModel,ModelA=NewModelA in CLI).
30
31
  [main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_padel_matches__id__get_200_response_responseObject_stats. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_padel_matches__id__get_200_response_responseObject_stats=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_padel_matches__id__get_200_response_responseObject_stats=NewModel,ModelA=NewModelA in CLI).
31
32
  [main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_padel_matches__id__get_200_response_responseObject_sets_sets_inner_games_inner. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_padel_matches__id__get_200_response_responseObject_sets_sets_inner_games_inner=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_padel_matches__id__get_200_response_responseObject_sets_sets_inner_games_inner=NewModel,ModelA=NewModelA in CLI).
@@ -64,7 +65,8 @@
64
65
  [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerGamesInner.ts
65
66
  [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiPadelMatchesIdGet200ResponseResponseObjectStats.ts
66
67
  [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnections.ts
67
- [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValue.ts
68
+ [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatch.ts
69
+ [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchAnyOfValue.ts
68
70
  [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiPadelSeedGet200Response.ts
69
71
  [main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/healthCheck. Renamed to auto-generated operationId: apiHealthCheckGet
70
72
  [main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/news. Renamed to auto-generated operationId: apiNewsGet
@@ -94,20 +96,21 @@
94
96
  # https://opencollective.com/openapi_generator/donate #
95
97
  ################################################################################
96
98
  ✅ SDK generated
97
- [master de175fd] VPS: Generated API SDK
98
- 1 file changed, 9 insertions(+), 12 deletions(-)
99
- To https://gitlab.com/drx-super/drx-sdk.git
100
- 616bbb0..de175fd master -> master
99
+ On branch master
100
+ Your branch is up to date with 'origin/master'.
101
+
102
+ nothing to commit, working tree clean
103
+ Everything up-to-date
101
104
  ✅ Changes committed and pushed
102
- v1.1.72
105
+ v1.1.74
103
106
  To https://gitlab.com/drx-super/drx-sdk.git
104
- de175fd..8fe56f6 master -> master
107
+ 81b3175..9ad86fe master -> master
105
108
  ✅ Version bumped
106
109
 
107
- > @drxsuperapp/sdk@1.1.72 prepublishOnly
110
+ > @drxsuperapp/sdk@1.1.74 prepublishOnly
108
111
  > npm run build
109
112
 
110
113
 
111
- > @drxsuperapp/sdk@1.1.72 build
114
+ > @drxsuperapp/sdk@1.1.74 build
112
115
  > tsc
113
116
 
@@ -78,7 +78,7 @@ export interface ApiPadelMatchesIdGet200ResponseResponseObject {
78
78
  * @type {ApiPadelMatchesGet200ResponseResponseObjectItemsInnerPlayers}
79
79
  * @memberof ApiPadelMatchesIdGet200ResponseResponseObject
80
80
  */
81
- players: ApiPadelMatchesGet200ResponseResponseObjectItemsInnerPlayers;
81
+ players?: ApiPadelMatchesGet200ResponseResponseObjectItemsInnerPlayers;
82
82
  /**
83
83
  *
84
84
  * @type {Date}
@@ -114,13 +114,13 @@ export interface ApiPadelMatchesIdGet200ResponseResponseObject {
114
114
  * @type {ApiPadelMatchesIdGet200ResponseResponseObjectStats}
115
115
  * @memberof ApiPadelMatchesIdGet200ResponseResponseObject
116
116
  */
117
- stats: ApiPadelMatchesIdGet200ResponseResponseObjectStats | null;
117
+ stats?: ApiPadelMatchesIdGet200ResponseResponseObjectStats | null;
118
118
  /**
119
119
  *
120
120
  * @type {ApiPadelMatchesIdGet200ResponseResponseObjectSets}
121
121
  * @memberof ApiPadelMatchesIdGet200ResponseResponseObject
122
122
  */
123
- sets: ApiPadelMatchesIdGet200ResponseResponseObjectSets | null;
123
+ sets?: ApiPadelMatchesIdGet200ResponseResponseObjectSets | null;
124
124
  /**
125
125
  *
126
126
  * @type {Date}
@@ -37,8 +37,6 @@ export function instanceOfApiPadelMatchesIdGet200ResponseResponseObject(value) {
37
37
  return false;
38
38
  if (!('score' in value) || value['score'] === undefined)
39
39
  return false;
40
- if (!('players' in value) || value['players'] === undefined)
41
- return false;
42
40
  if (!('playedAt' in value) || value['playedAt'] === undefined)
43
41
  return false;
44
42
  if (!('status' in value) || value['status'] === undefined)
@@ -49,10 +47,6 @@ export function instanceOfApiPadelMatchesIdGet200ResponseResponseObject(value) {
49
47
  return false;
50
48
  if (!('court' in value) || value['court'] === undefined)
51
49
  return false;
52
- if (!('stats' in value) || value['stats'] === undefined)
53
- return false;
54
- if (!('sets' in value) || value['sets'] === undefined)
55
- return false;
56
50
  if (!('createdAt' in value) || value['createdAt'] === undefined)
57
51
  return false;
58
52
  if (!('updatedAt' in value) || value['updatedAt'] === undefined)
@@ -76,14 +70,14 @@ export function ApiPadelMatchesIdGet200ResponseResponseObjectFromJSONTyped(json,
76
70
  'name': json['name'],
77
71
  'round': json['round'],
78
72
  'score': (json['score'] == null ? null : json['score'].map(ApiPadelMatchesGet200ResponseResponseObjectItemsInnerScoreInnerFromJSON)),
79
- 'players': ApiPadelMatchesGet200ResponseResponseObjectItemsInnerPlayersFromJSON(json['players']),
73
+ 'players': json['players'] == null ? undefined : ApiPadelMatchesGet200ResponseResponseObjectItemsInnerPlayersFromJSON(json['players']),
80
74
  'playedAt': (new Date(json['playedAt'])),
81
75
  'status': json['status'],
82
76
  'category': json['category'],
83
77
  'duration': json['duration'],
84
78
  'court': json['court'],
85
- 'stats': ApiPadelMatchesIdGet200ResponseResponseObjectStatsFromJSON(json['stats']),
86
- 'sets': ApiPadelMatchesIdGet200ResponseResponseObjectSetsFromJSON(json['sets']),
79
+ 'stats': json['stats'] == null ? undefined : ApiPadelMatchesIdGet200ResponseResponseObjectStatsFromJSON(json['stats']),
80
+ 'sets': json['sets'] == null ? undefined : ApiPadelMatchesIdGet200ResponseResponseObjectSetsFromJSON(json['sets']),
87
81
  'createdAt': (new Date(json['createdAt'])),
88
82
  'updatedAt': (new Date(json['updatedAt'])),
89
83
  };
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnections } from './ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnections';
13
- import type { ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValue } from './ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValue';
13
+ import type { ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatch } from './ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatch';
14
14
  /**
15
15
  *
16
16
  * @export
@@ -31,42 +31,34 @@ export interface ApiPadelMatchesIdGet200ResponseResponseObjectStats {
31
31
  self: string;
32
32
  /**
33
33
  *
34
- * @type {{ [key: string]: ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValue; }}
34
+ * @type {ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatch}
35
35
  * @memberof ApiPadelMatchesIdGet200ResponseResponseObjectStats
36
36
  */
37
- match?: {
38
- [key: string]: ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValue;
39
- };
37
+ match?: ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatch;
40
38
  /**
41
39
  *
42
- * @type {{ [key: string]: ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValue; }}
40
+ * @type {ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatch}
43
41
  * @memberof ApiPadelMatchesIdGet200ResponseResponseObjectStats
44
42
  */
45
- set1?: {
46
- [key: string]: ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValue;
47
- };
43
+ set1?: ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatch;
48
44
  /**
49
45
  *
50
- * @type {{ [key: string]: ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValue; }}
46
+ * @type {ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatch}
51
47
  * @memberof ApiPadelMatchesIdGet200ResponseResponseObjectStats
52
48
  */
53
- set2?: {
54
- [key: string]: ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValue;
55
- };
49
+ set2?: ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatch;
56
50
  /**
57
51
  *
58
- * @type {{ [key: string]: ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValue; }}
52
+ * @type {ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatch}
59
53
  * @memberof ApiPadelMatchesIdGet200ResponseResponseObjectStats
60
54
  */
61
- set3?: {
62
- [key: string]: ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValue;
63
- };
55
+ set3?: ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatch;
64
56
  /**
65
57
  *
66
58
  * @type {ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnections}
67
59
  * @memberof ApiPadelMatchesIdGet200ResponseResponseObjectStats
68
60
  */
69
- connections: ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnections;
61
+ connections?: ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnections;
70
62
  }
71
63
  /**
72
64
  * Check if a given object implements the ApiPadelMatchesIdGet200ResponseResponseObjectStats interface.
@@ -11,9 +11,8 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- import { mapValues } from '../runtime';
15
14
  import { ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnectionsFromJSON, ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnectionsToJSON, } from './ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnections';
16
- import { ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValueFromJSON, ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValueToJSON, } from './ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValue';
15
+ import { ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchFromJSON, ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchToJSON, } from './ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatch';
17
16
  /**
18
17
  * Check if a given object implements the ApiPadelMatchesIdGet200ResponseResponseObjectStats interface.
19
18
  */
@@ -22,8 +21,6 @@ export function instanceOfApiPadelMatchesIdGet200ResponseResponseObjectStats(val
22
21
  return false;
23
22
  if (!('self' in value) || value['self'] === undefined)
24
23
  return false;
25
- if (!('connections' in value) || value['connections'] === undefined)
26
- return false;
27
24
  return true;
28
25
  }
29
26
  export function ApiPadelMatchesIdGet200ResponseResponseObjectStatsFromJSON(json) {
@@ -36,11 +33,11 @@ export function ApiPadelMatchesIdGet200ResponseResponseObjectStatsFromJSONTyped(
36
33
  return {
37
34
  'id': json['id'],
38
35
  'self': json['self'],
39
- 'match': json['match'] == null ? undefined : (mapValues(json['match'], ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValueFromJSON)),
40
- 'set1': json['set_1'] == null ? undefined : (mapValues(json['set_1'], ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValueFromJSON)),
41
- 'set2': json['set_2'] == null ? undefined : (mapValues(json['set_2'], ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValueFromJSON)),
42
- 'set3': json['set_3'] == null ? undefined : (mapValues(json['set_3'], ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValueFromJSON)),
43
- 'connections': ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnectionsFromJSON(json['connections']),
36
+ 'match': json['match'] == null ? undefined : ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchFromJSON(json['match']),
37
+ 'set1': json['set_1'] == null ? undefined : ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchFromJSON(json['set_1']),
38
+ 'set2': json['set_2'] == null ? undefined : ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchFromJSON(json['set_2']),
39
+ 'set3': json['set_3'] == null ? undefined : ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchFromJSON(json['set_3']),
40
+ 'connections': json['connections'] == null ? undefined : ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnectionsFromJSON(json['connections']),
44
41
  };
45
42
  }
46
43
  export function ApiPadelMatchesIdGet200ResponseResponseObjectStatsToJSON(json) {
@@ -53,10 +50,10 @@ export function ApiPadelMatchesIdGet200ResponseResponseObjectStatsToJSONTyped(va
53
50
  return {
54
51
  'id': value['id'],
55
52
  'self': value['self'],
56
- 'match': value['match'] == null ? undefined : (mapValues(value['match'], ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValueToJSON)),
57
- 'set_1': value['set1'] == null ? undefined : (mapValues(value['set1'], ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValueToJSON)),
58
- 'set_2': value['set2'] == null ? undefined : (mapValues(value['set2'], ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValueToJSON)),
59
- 'set_3': value['set3'] == null ? undefined : (mapValues(value['set3'], ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValueToJSON)),
53
+ 'match': ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchToJSON(value['match']),
54
+ 'set_1': ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchToJSON(value['set1']),
55
+ 'set_2': ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchToJSON(value['set2']),
56
+ 'set_3': ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchToJSON(value['set3']),
60
57
  'connections': ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnectionsToJSON(value['connections']),
61
58
  };
62
59
  }
@@ -12,27 +12,27 @@
12
12
  /**
13
13
  *
14
14
  * @export
15
- * @interface ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValue
15
+ * @interface ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatch
16
16
  */
17
- export interface ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValue {
17
+ export interface ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatch {
18
18
  /**
19
19
  *
20
20
  * @type {string}
21
- * @memberof ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValue
21
+ * @memberof ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatch
22
22
  */
23
23
  team1: string;
24
24
  /**
25
25
  *
26
26
  * @type {string}
27
- * @memberof ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValue
27
+ * @memberof ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatch
28
28
  */
29
29
  team2: string;
30
30
  }
31
31
  /**
32
- * Check if a given object implements the ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValue interface.
32
+ * Check if a given object implements the ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatch interface.
33
33
  */
34
- export declare function instanceOfApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValue(value: object): value is ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValue;
35
- export declare function ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValueFromJSON(json: any): ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValue;
36
- export declare function ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValueFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValue;
37
- export declare function ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValueToJSON(json: any): ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValue;
38
- export declare function ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValueToJSONTyped(value?: ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValue | null, ignoreDiscriminator?: boolean): any;
34
+ export declare function instanceOfApiPadelMatchesIdGet200ResponseResponseObjectStatsMatch(value: object): value is ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatch;
35
+ export declare function ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchFromJSON(json: any): ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatch;
36
+ export declare function ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatch;
37
+ export declare function ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchToJSON(json: any): ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatch;
38
+ export declare function ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchToJSONTyped(value?: ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatch | null, ignoreDiscriminator?: boolean): any;
@@ -12,19 +12,19 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
  /**
15
- * Check if a given object implements the ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValue interface.
15
+ * Check if a given object implements the ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatch interface.
16
16
  */
17
- export function instanceOfApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValue(value) {
17
+ export function instanceOfApiPadelMatchesIdGet200ResponseResponseObjectStatsMatch(value) {
18
18
  if (!('team1' in value) || value['team1'] === undefined)
19
19
  return false;
20
20
  if (!('team2' in value) || value['team2'] === undefined)
21
21
  return false;
22
22
  return true;
23
23
  }
24
- export function ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValueFromJSON(json) {
25
- return ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValueFromJSONTyped(json, false);
24
+ export function ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchFromJSON(json) {
25
+ return ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchFromJSONTyped(json, false);
26
26
  }
27
- export function ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValueFromJSONTyped(json, ignoreDiscriminator) {
27
+ export function ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchFromJSONTyped(json, ignoreDiscriminator) {
28
28
  if (json == null) {
29
29
  return json;
30
30
  }
@@ -33,10 +33,10 @@ export function ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValueFrom
33
33
  'team2': json['team_2'],
34
34
  };
35
35
  }
36
- export function ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValueToJSON(json) {
37
- return ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValueToJSONTyped(json, false);
36
+ export function ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchToJSON(json) {
37
+ return ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchToJSONTyped(json, false);
38
38
  }
39
- export function ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValueToJSONTyped(value, ignoreDiscriminator = false) {
39
+ export function ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchToJSONTyped(value, ignoreDiscriminator = false) {
40
40
  if (value == null) {
41
41
  return value;
42
42
  }
@@ -0,0 +1,38 @@
1
+ /**
2
+ * DRX API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchAnyOfValue
16
+ */
17
+ export interface ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchAnyOfValue {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchAnyOfValue
22
+ */
23
+ team1: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchAnyOfValue
28
+ */
29
+ team2: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchAnyOfValue interface.
33
+ */
34
+ export declare function instanceOfApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchAnyOfValue(value: object): value is ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchAnyOfValue;
35
+ export declare function ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchAnyOfValueFromJSON(json: any): ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchAnyOfValue;
36
+ export declare function ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchAnyOfValueFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchAnyOfValue;
37
+ export declare function ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchAnyOfValueToJSON(json: any): ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchAnyOfValue;
38
+ export declare function ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchAnyOfValueToJSONTyped(value?: ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchAnyOfValue | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,47 @@
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
+ * Check if a given object implements the ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchAnyOfValue interface.
16
+ */
17
+ export function instanceOfApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchAnyOfValue(value) {
18
+ if (!('team1' in value) || value['team1'] === undefined)
19
+ return false;
20
+ if (!('team2' in value) || value['team2'] === undefined)
21
+ return false;
22
+ return true;
23
+ }
24
+ export function ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchAnyOfValueFromJSON(json) {
25
+ return ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchAnyOfValueFromJSONTyped(json, false);
26
+ }
27
+ export function ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchAnyOfValueFromJSONTyped(json, ignoreDiscriminator) {
28
+ if (json == null) {
29
+ return json;
30
+ }
31
+ return {
32
+ 'team1': json['team_1'],
33
+ 'team2': json['team_2'],
34
+ };
35
+ }
36
+ export function ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchAnyOfValueToJSON(json) {
37
+ return ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchAnyOfValueToJSONTyped(json, false);
38
+ }
39
+ export function ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchAnyOfValueToJSONTyped(value, ignoreDiscriminator = false) {
40
+ if (value == null) {
41
+ return value;
42
+ }
43
+ return {
44
+ 'team_1': value['team1'],
45
+ 'team_2': value['team2'],
46
+ };
47
+ }
@@ -26,5 +26,6 @@ export * from './ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInner';
26
26
  export * from './ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerGamesInner';
27
27
  export * from './ApiPadelMatchesIdGet200ResponseResponseObjectStats';
28
28
  export * from './ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnections';
29
- export * from './ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValue';
29
+ export * from './ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatch';
30
+ export * from './ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchAnyOfValue';
30
31
  export * from './ApiPadelSeedGet200Response';
@@ -28,5 +28,6 @@ export * from './ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInner';
28
28
  export * from './ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerGamesInner';
29
29
  export * from './ApiPadelMatchesIdGet200ResponseResponseObjectStats';
30
30
  export * from './ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnections';
31
- export * from './ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValue';
31
+ export * from './ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatch';
32
+ export * from './ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchAnyOfValue';
32
33
  export * from './ApiPadelSeedGet200Response';
@@ -107,7 +107,7 @@ export interface ApiPadelMatchesIdGet200ResponseResponseObject {
107
107
  * @type {ApiPadelMatchesGet200ResponseResponseObjectItemsInnerPlayers}
108
108
  * @memberof ApiPadelMatchesIdGet200ResponseResponseObject
109
109
  */
110
- players: ApiPadelMatchesGet200ResponseResponseObjectItemsInnerPlayers;
110
+ players?: ApiPadelMatchesGet200ResponseResponseObjectItemsInnerPlayers;
111
111
  /**
112
112
  *
113
113
  * @type {Date}
@@ -143,13 +143,13 @@ export interface ApiPadelMatchesIdGet200ResponseResponseObject {
143
143
  * @type {ApiPadelMatchesIdGet200ResponseResponseObjectStats}
144
144
  * @memberof ApiPadelMatchesIdGet200ResponseResponseObject
145
145
  */
146
- stats: ApiPadelMatchesIdGet200ResponseResponseObjectStats | null;
146
+ stats?: ApiPadelMatchesIdGet200ResponseResponseObjectStats | null;
147
147
  /**
148
148
  *
149
149
  * @type {ApiPadelMatchesIdGet200ResponseResponseObjectSets}
150
150
  * @memberof ApiPadelMatchesIdGet200ResponseResponseObject
151
151
  */
152
- sets: ApiPadelMatchesIdGet200ResponseResponseObjectSets | null;
152
+ sets?: ApiPadelMatchesIdGet200ResponseResponseObjectSets | null;
153
153
  /**
154
154
  *
155
155
  * @type {Date}
@@ -177,14 +177,11 @@ export function instanceOfApiPadelMatchesIdGet200ResponseResponseObject(value: o
177
177
  if (!('name' in value) || value['name'] === undefined) return false;
178
178
  if (!('round' in value) || value['round'] === undefined) return false;
179
179
  if (!('score' in value) || value['score'] === undefined) return false;
180
- if (!('players' in value) || value['players'] === undefined) return false;
181
180
  if (!('playedAt' in value) || value['playedAt'] === undefined) return false;
182
181
  if (!('status' in value) || value['status'] === undefined) return false;
183
182
  if (!('category' in value) || value['category'] === undefined) return false;
184
183
  if (!('duration' in value) || value['duration'] === undefined) return false;
185
184
  if (!('court' in value) || value['court'] === undefined) return false;
186
- if (!('stats' in value) || value['stats'] === undefined) return false;
187
- if (!('sets' in value) || value['sets'] === undefined) return false;
188
185
  if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
189
186
  if (!('updatedAt' in value) || value['updatedAt'] === undefined) return false;
190
187
  return true;
@@ -209,14 +206,14 @@ export function ApiPadelMatchesIdGet200ResponseResponseObjectFromJSONTyped(json:
209
206
  'name': json['name'],
210
207
  'round': json['round'],
211
208
  'score': (json['score'] == null ? null : (json['score'] as Array<any>).map(ApiPadelMatchesGet200ResponseResponseObjectItemsInnerScoreInnerFromJSON)),
212
- 'players': ApiPadelMatchesGet200ResponseResponseObjectItemsInnerPlayersFromJSON(json['players']),
209
+ 'players': json['players'] == null ? undefined : ApiPadelMatchesGet200ResponseResponseObjectItemsInnerPlayersFromJSON(json['players']),
213
210
  'playedAt': (new Date(json['playedAt'])),
214
211
  'status': json['status'],
215
212
  'category': json['category'],
216
213
  'duration': json['duration'],
217
214
  'court': json['court'],
218
- 'stats': ApiPadelMatchesIdGet200ResponseResponseObjectStatsFromJSON(json['stats']),
219
- 'sets': ApiPadelMatchesIdGet200ResponseResponseObjectSetsFromJSON(json['sets']),
215
+ 'stats': json['stats'] == null ? undefined : ApiPadelMatchesIdGet200ResponseResponseObjectStatsFromJSON(json['stats']),
216
+ 'sets': json['sets'] == null ? undefined : ApiPadelMatchesIdGet200ResponseResponseObjectSetsFromJSON(json['sets']),
220
217
  'createdAt': (new Date(json['createdAt'])),
221
218
  'updatedAt': (new Date(json['updatedAt'])),
222
219
  };
@@ -20,13 +20,13 @@ import {
20
20
  ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnectionsToJSON,
21
21
  ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnectionsToJSONTyped,
22
22
  } from './ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnections';
23
- import type { ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValue } from './ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValue';
23
+ import type { ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatch } from './ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatch';
24
24
  import {
25
- ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValueFromJSON,
26
- ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValueFromJSONTyped,
27
- ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValueToJSON,
28
- ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValueToJSONTyped,
29
- } from './ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValue';
25
+ ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchFromJSON,
26
+ ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchFromJSONTyped,
27
+ ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchToJSON,
28
+ ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchToJSONTyped,
29
+ } from './ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatch';
30
30
 
31
31
  /**
32
32
  *
@@ -48,34 +48,34 @@ export interface ApiPadelMatchesIdGet200ResponseResponseObjectStats {
48
48
  self: string;
49
49
  /**
50
50
  *
51
- * @type {{ [key: string]: ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValue; }}
51
+ * @type {ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatch}
52
52
  * @memberof ApiPadelMatchesIdGet200ResponseResponseObjectStats
53
53
  */
54
- match?: { [key: string]: ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValue; };
54
+ match?: ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatch;
55
55
  /**
56
56
  *
57
- * @type {{ [key: string]: ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValue; }}
57
+ * @type {ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatch}
58
58
  * @memberof ApiPadelMatchesIdGet200ResponseResponseObjectStats
59
59
  */
60
- set1?: { [key: string]: ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValue; };
60
+ set1?: ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatch;
61
61
  /**
62
62
  *
63
- * @type {{ [key: string]: ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValue; }}
63
+ * @type {ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatch}
64
64
  * @memberof ApiPadelMatchesIdGet200ResponseResponseObjectStats
65
65
  */
66
- set2?: { [key: string]: ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValue; };
66
+ set2?: ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatch;
67
67
  /**
68
68
  *
69
- * @type {{ [key: string]: ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValue; }}
69
+ * @type {ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatch}
70
70
  * @memberof ApiPadelMatchesIdGet200ResponseResponseObjectStats
71
71
  */
72
- set3?: { [key: string]: ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValue; };
72
+ set3?: ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatch;
73
73
  /**
74
74
  *
75
75
  * @type {ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnections}
76
76
  * @memberof ApiPadelMatchesIdGet200ResponseResponseObjectStats
77
77
  */
78
- connections: ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnections;
78
+ connections?: ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnections;
79
79
  }
80
80
 
81
81
  /**
@@ -84,7 +84,6 @@ export interface ApiPadelMatchesIdGet200ResponseResponseObjectStats {
84
84
  export function instanceOfApiPadelMatchesIdGet200ResponseResponseObjectStats(value: object): value is ApiPadelMatchesIdGet200ResponseResponseObjectStats {
85
85
  if (!('id' in value) || value['id'] === undefined) return false;
86
86
  if (!('self' in value) || value['self'] === undefined) return false;
87
- if (!('connections' in value) || value['connections'] === undefined) return false;
88
87
  return true;
89
88
  }
90
89
 
@@ -100,11 +99,11 @@ export function ApiPadelMatchesIdGet200ResponseResponseObjectStatsFromJSONTyped(
100
99
 
101
100
  'id': json['id'],
102
101
  'self': json['self'],
103
- 'match': json['match'] == null ? undefined : (mapValues(json['match'], ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValueFromJSON)),
104
- 'set1': json['set_1'] == null ? undefined : (mapValues(json['set_1'], ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValueFromJSON)),
105
- 'set2': json['set_2'] == null ? undefined : (mapValues(json['set_2'], ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValueFromJSON)),
106
- 'set3': json['set_3'] == null ? undefined : (mapValues(json['set_3'], ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValueFromJSON)),
107
- 'connections': ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnectionsFromJSON(json['connections']),
102
+ 'match': json['match'] == null ? undefined : ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchFromJSON(json['match']),
103
+ 'set1': json['set_1'] == null ? undefined : ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchFromJSON(json['set_1']),
104
+ 'set2': json['set_2'] == null ? undefined : ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchFromJSON(json['set_2']),
105
+ 'set3': json['set_3'] == null ? undefined : ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchFromJSON(json['set_3']),
106
+ 'connections': json['connections'] == null ? undefined : ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnectionsFromJSON(json['connections']),
108
107
  };
109
108
  }
110
109
 
@@ -121,10 +120,10 @@ export function ApiPadelMatchesIdGet200ResponseResponseObjectStatsToJSONTyped(va
121
120
 
122
121
  'id': value['id'],
123
122
  'self': value['self'],
124
- 'match': value['match'] == null ? undefined : (mapValues(value['match'], ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValueToJSON)),
125
- 'set_1': value['set1'] == null ? undefined : (mapValues(value['set1'], ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValueToJSON)),
126
- 'set_2': value['set2'] == null ? undefined : (mapValues(value['set2'], ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValueToJSON)),
127
- 'set_3': value['set3'] == null ? undefined : (mapValues(value['set3'], ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValueToJSON)),
123
+ 'match': ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchToJSON(value['match']),
124
+ 'set_1': ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchToJSON(value['set1']),
125
+ 'set_2': ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchToJSON(value['set2']),
126
+ 'set_3': ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchToJSON(value['set3']),
128
127
  'connections': ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnectionsToJSON(value['connections']),
129
128
  };
130
129
  }
@@ -0,0 +1,83 @@
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 { ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchAnyOfValue } from './ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchAnyOfValue';
17
+ import {
18
+ ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchAnyOfValueFromJSON,
19
+ ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchAnyOfValueFromJSONTyped,
20
+ ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchAnyOfValueToJSON,
21
+ ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchAnyOfValueToJSONTyped,
22
+ } from './ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchAnyOfValue';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatch
28
+ */
29
+ export interface ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatch {
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatch
34
+ */
35
+ team1: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatch
40
+ */
41
+ team2: string;
42
+ }
43
+
44
+ /**
45
+ * Check if a given object implements the ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatch interface.
46
+ */
47
+ export function instanceOfApiPadelMatchesIdGet200ResponseResponseObjectStatsMatch(value: object): value is ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatch {
48
+ if (!('team1' in value) || value['team1'] === undefined) return false;
49
+ if (!('team2' in value) || value['team2'] === undefined) return false;
50
+ return true;
51
+ }
52
+
53
+ export function ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchFromJSON(json: any): ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatch {
54
+ return ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchFromJSONTyped(json, false);
55
+ }
56
+
57
+ export function ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatch {
58
+ if (json == null) {
59
+ return json;
60
+ }
61
+ return {
62
+
63
+ 'team1': json['team_1'],
64
+ 'team2': json['team_2'],
65
+ };
66
+ }
67
+
68
+ export function ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchToJSON(json: any): ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatch {
69
+ return ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchToJSONTyped(json, false);
70
+ }
71
+
72
+ export function ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchToJSONTyped(value?: ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatch | null, ignoreDiscriminator: boolean = false): any {
73
+ if (value == null) {
74
+ return value;
75
+ }
76
+
77
+ return {
78
+
79
+ 'team_1': value['team1'],
80
+ 'team_2': value['team2'],
81
+ };
82
+ }
83
+
@@ -16,37 +16,37 @@ import { mapValues } from '../runtime';
16
16
  /**
17
17
  *
18
18
  * @export
19
- * @interface ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValue
19
+ * @interface ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchAnyOfValue
20
20
  */
21
- export interface ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValue {
21
+ export interface ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchAnyOfValue {
22
22
  /**
23
23
  *
24
24
  * @type {string}
25
- * @memberof ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValue
25
+ * @memberof ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchAnyOfValue
26
26
  */
27
27
  team1: string;
28
28
  /**
29
29
  *
30
30
  * @type {string}
31
- * @memberof ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValue
31
+ * @memberof ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchAnyOfValue
32
32
  */
33
33
  team2: string;
34
34
  }
35
35
 
36
36
  /**
37
- * Check if a given object implements the ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValue interface.
37
+ * Check if a given object implements the ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchAnyOfValue interface.
38
38
  */
39
- export function instanceOfApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValue(value: object): value is ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValue {
39
+ export function instanceOfApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchAnyOfValue(value: object): value is ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchAnyOfValue {
40
40
  if (!('team1' in value) || value['team1'] === undefined) return false;
41
41
  if (!('team2' in value) || value['team2'] === undefined) return false;
42
42
  return true;
43
43
  }
44
44
 
45
- export function ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValueFromJSON(json: any): ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValue {
46
- return ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValueFromJSONTyped(json, false);
45
+ export function ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchAnyOfValueFromJSON(json: any): ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchAnyOfValue {
46
+ return ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchAnyOfValueFromJSONTyped(json, false);
47
47
  }
48
48
 
49
- export function ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValueFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValue {
49
+ export function ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchAnyOfValueFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchAnyOfValue {
50
50
  if (json == null) {
51
51
  return json;
52
52
  }
@@ -57,11 +57,11 @@ export function ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValueFrom
57
57
  };
58
58
  }
59
59
 
60
- export function ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValueToJSON(json: any): ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValue {
61
- return ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValueToJSONTyped(json, false);
60
+ export function ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchAnyOfValueToJSON(json: any): ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchAnyOfValue {
61
+ return ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchAnyOfValueToJSONTyped(json, false);
62
62
  }
63
63
 
64
- export function ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValueToJSONTyped(value?: ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValue | null, ignoreDiscriminator: boolean = false): any {
64
+ export function ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchAnyOfValueToJSONTyped(value?: ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchAnyOfValue | null, ignoreDiscriminator: boolean = false): any {
65
65
  if (value == null) {
66
66
  return value;
67
67
  }
package/models/index.ts CHANGED
@@ -28,5 +28,6 @@ export * from './ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInner';
28
28
  export * from './ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerGamesInner';
29
29
  export * from './ApiPadelMatchesIdGet200ResponseResponseObjectStats';
30
30
  export * from './ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnections';
31
- export * from './ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValue';
31
+ export * from './ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatch';
32
+ export * from './ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchAnyOfValue';
32
33
  export * from './ApiPadelSeedGet200Response';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@drxsuperapp/sdk",
3
- "version": "1.1.72",
3
+ "version": "1.1.74",
4
4
  "main": "index.ts",
5
5
  "types": "index.ts",
6
6
  "scripts": {