@azisaba/graph 0.1.0-rc.1
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/.openapi-generator/FILES +19 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/README.md +46 -0
- package/dist/apis/PatchNotesApi.d.ts +178 -0
- package/dist/apis/PatchNotesApi.js +233 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +19 -0
- package/dist/esm/apis/PatchNotesApi.d.ts +178 -0
- package/dist/esm/apis/PatchNotesApi.js +229 -0
- package/dist/esm/apis/index.d.ts +1 -0
- package/dist/esm/apis/index.js +3 -0
- package/dist/esm/index.d.ts +3 -0
- package/dist/esm/index.js +5 -0
- package/dist/esm/models/CreatePatchNoteBody.d.ts +76 -0
- package/dist/esm/models/CreatePatchNoteBody.js +73 -0
- package/dist/esm/models/ListPatchNotes200Response.d.ts +38 -0
- package/dist/esm/models/ListPatchNotes200Response.js +45 -0
- package/dist/esm/models/ListPatchNotes200ResponseItemsInner.d.ts +88 -0
- package/dist/esm/models/ListPatchNotes200ResponseItemsInner.js +83 -0
- package/dist/esm/models/ListPatchNotesResponse.d.ts +38 -0
- package/dist/esm/models/ListPatchNotesResponse.js +45 -0
- package/dist/esm/models/PatchNote.d.ts +88 -0
- package/dist/esm/models/PatchNote.js +83 -0
- package/dist/esm/models/PatchNoteCategory.d.ts +26 -0
- package/dist/esm/models/PatchNoteCategory.js +42 -0
- package/dist/esm/models/PatchNoteTarget.d.ts +27 -0
- package/dist/esm/models/PatchNoteTarget.js +43 -0
- package/dist/esm/models/index.d.ts +7 -0
- package/dist/esm/models/index.js +9 -0
- package/dist/esm/runtime.d.ts +181 -0
- package/dist/esm/runtime.js +326 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +21 -0
- package/dist/models/CreatePatchNoteBody.d.ts +76 -0
- package/dist/models/CreatePatchNoteBody.js +80 -0
- package/dist/models/ListPatchNotes200Response.d.ts +38 -0
- package/dist/models/ListPatchNotes200Response.js +51 -0
- package/dist/models/ListPatchNotes200ResponseItemsInner.d.ts +88 -0
- package/dist/models/ListPatchNotes200ResponseItemsInner.js +90 -0
- package/dist/models/ListPatchNotesResponse.d.ts +38 -0
- package/dist/models/ListPatchNotesResponse.js +51 -0
- package/dist/models/PatchNote.d.ts +88 -0
- package/dist/models/PatchNote.js +90 -0
- package/dist/models/PatchNoteCategory.d.ts +26 -0
- package/dist/models/PatchNoteCategory.js +49 -0
- package/dist/models/PatchNoteTarget.d.ts +27 -0
- package/dist/models/PatchNoteTarget.js +50 -0
- package/dist/models/index.d.ts +7 -0
- package/dist/models/index.js +25 -0
- package/dist/runtime.d.ts +181 -0
- package/dist/runtime.js +341 -0
- package/package.json +21 -0
- package/src/apis/PatchNotesApi.ts +375 -0
- package/src/apis/index.ts +3 -0
- package/src/index.ts +5 -0
- package/src/models/CreatePatchNoteBody.ts +121 -0
- package/src/models/ListPatchNotes200Response.ts +77 -0
- package/src/models/ListPatchNotes200ResponseItemsInner.ts +140 -0
- package/src/models/ListPatchNotesResponse.ts +77 -0
- package/src/models/PatchNote.ts +140 -0
- package/src/models/PatchNoteCategory.ts +51 -0
- package/src/models/PatchNoteTarget.ts +52 -0
- package/src/models/index.ts +9 -0
- package/src/runtime.ts +426 -0
- package/tsconfig.esm.json +7 -0
- package/tsconfig.json +16 -0
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Azisaba Graph API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.0.1
|
|
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 ListPatchNotes200ResponseItemsInner
|
|
20
|
+
*/
|
|
21
|
+
export interface ListPatchNotes200ResponseItemsInner {
|
|
22
|
+
/**
|
|
23
|
+
* Unique identifier for the patch note.
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof ListPatchNotes200ResponseItemsInner
|
|
26
|
+
*/
|
|
27
|
+
id: string;
|
|
28
|
+
/**
|
|
29
|
+
* Target of the patch note.
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof ListPatchNotes200ResponseItemsInner
|
|
32
|
+
*/
|
|
33
|
+
target: ListPatchNotes200ResponseItemsInnerTargetEnum;
|
|
34
|
+
/**
|
|
35
|
+
* Category of the patch note.
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof ListPatchNotes200ResponseItemsInner
|
|
38
|
+
*/
|
|
39
|
+
category: ListPatchNotes200ResponseItemsInnerCategoryEnum;
|
|
40
|
+
/**
|
|
41
|
+
* Title of the patch note.
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof ListPatchNotes200ResponseItemsInner
|
|
44
|
+
*/
|
|
45
|
+
title: string;
|
|
46
|
+
/**
|
|
47
|
+
* Body text of the patch note.
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof ListPatchNotes200ResponseItemsInner
|
|
50
|
+
*/
|
|
51
|
+
body: string;
|
|
52
|
+
/**
|
|
53
|
+
* URLs of images attached to the patch note.
|
|
54
|
+
* @type {Array<string>}
|
|
55
|
+
* @memberof ListPatchNotes200ResponseItemsInner
|
|
56
|
+
*/
|
|
57
|
+
imageUrls: Array<string>;
|
|
58
|
+
/**
|
|
59
|
+
* Date and time when the patch note was created.
|
|
60
|
+
* @type {Date}
|
|
61
|
+
* @memberof ListPatchNotes200ResponseItemsInner
|
|
62
|
+
*/
|
|
63
|
+
createdAt: Date;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* @export
|
|
69
|
+
*/
|
|
70
|
+
export const ListPatchNotes200ResponseItemsInnerTargetEnum = {
|
|
71
|
+
CreativePro: 'creativePro',
|
|
72
|
+
Frontier: 'frontier',
|
|
73
|
+
Life: 'life',
|
|
74
|
+
LeonGunWar2: 'leonGunWar2',
|
|
75
|
+
Sclat: 'sclat'
|
|
76
|
+
} as const;
|
|
77
|
+
export type ListPatchNotes200ResponseItemsInnerTargetEnum = typeof ListPatchNotes200ResponseItemsInnerTargetEnum[keyof typeof ListPatchNotes200ResponseItemsInnerTargetEnum];
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* @export
|
|
81
|
+
*/
|
|
82
|
+
export const ListPatchNotes200ResponseItemsInnerCategoryEnum = {
|
|
83
|
+
Balance: 'balance',
|
|
84
|
+
Feature: 'feature',
|
|
85
|
+
Fix: 'fix',
|
|
86
|
+
Improvement: 'improvement'
|
|
87
|
+
} as const;
|
|
88
|
+
export type ListPatchNotes200ResponseItemsInnerCategoryEnum = typeof ListPatchNotes200ResponseItemsInnerCategoryEnum[keyof typeof ListPatchNotes200ResponseItemsInnerCategoryEnum];
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* Check if a given object implements the ListPatchNotes200ResponseItemsInner interface.
|
|
93
|
+
*/
|
|
94
|
+
export function instanceOfListPatchNotes200ResponseItemsInner(value: object): value is ListPatchNotes200ResponseItemsInner {
|
|
95
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
96
|
+
if (!('target' in value) || value['target'] === undefined) return false;
|
|
97
|
+
if (!('category' in value) || value['category'] === undefined) return false;
|
|
98
|
+
if (!('title' in value) || value['title'] === undefined) return false;
|
|
99
|
+
if (!('body' in value) || value['body'] === undefined) return false;
|
|
100
|
+
if (!('imageUrls' in value) || value['imageUrls'] === undefined) return false;
|
|
101
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
|
|
102
|
+
return true;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
export function ListPatchNotes200ResponseItemsInnerFromJSON(json: any): ListPatchNotes200ResponseItemsInner {
|
|
106
|
+
return ListPatchNotes200ResponseItemsInnerFromJSONTyped(json, false);
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
export function ListPatchNotes200ResponseItemsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListPatchNotes200ResponseItemsInner {
|
|
110
|
+
if (json == null) {
|
|
111
|
+
return json;
|
|
112
|
+
}
|
|
113
|
+
return {
|
|
114
|
+
|
|
115
|
+
'id': json['id'],
|
|
116
|
+
'target': json['target'],
|
|
117
|
+
'category': json['category'],
|
|
118
|
+
'title': json['title'],
|
|
119
|
+
'body': json['body'],
|
|
120
|
+
'imageUrls': json['imageUrls'],
|
|
121
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
122
|
+
};
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
export function ListPatchNotes200ResponseItemsInnerToJSON(value?: ListPatchNotes200ResponseItemsInner | null): any {
|
|
126
|
+
if (value == null) {
|
|
127
|
+
return value;
|
|
128
|
+
}
|
|
129
|
+
return {
|
|
130
|
+
|
|
131
|
+
'id': value['id'],
|
|
132
|
+
'target': value['target'],
|
|
133
|
+
'category': value['category'],
|
|
134
|
+
'title': value['title'],
|
|
135
|
+
'body': value['body'],
|
|
136
|
+
'imageUrls': value['imageUrls'],
|
|
137
|
+
'createdAt': ((value['createdAt']).toISOString()),
|
|
138
|
+
};
|
|
139
|
+
}
|
|
140
|
+
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Azisaba Graph API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.0.1
|
|
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 { ListPatchNotes200ResponseItemsInner } from './ListPatchNotes200ResponseItemsInner';
|
|
17
|
+
import {
|
|
18
|
+
ListPatchNotes200ResponseItemsInnerFromJSON,
|
|
19
|
+
ListPatchNotes200ResponseItemsInnerFromJSONTyped,
|
|
20
|
+
ListPatchNotes200ResponseItemsInnerToJSON,
|
|
21
|
+
} from './ListPatchNotes200ResponseItemsInner';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @export
|
|
26
|
+
* @interface ListPatchNotesResponse
|
|
27
|
+
*/
|
|
28
|
+
export interface ListPatchNotesResponse {
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {Array<ListPatchNotes200ResponseItemsInner>}
|
|
32
|
+
* @memberof ListPatchNotesResponse
|
|
33
|
+
*/
|
|
34
|
+
items: Array<ListPatchNotes200ResponseItemsInner>;
|
|
35
|
+
/**
|
|
36
|
+
* Cursor for retrieving the next page, or null if no more results are available.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof ListPatchNotesResponse
|
|
39
|
+
*/
|
|
40
|
+
nextCursor: string | null;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the ListPatchNotesResponse interface.
|
|
45
|
+
*/
|
|
46
|
+
export function instanceOfListPatchNotesResponse(value: object): value is ListPatchNotesResponse {
|
|
47
|
+
if (!('items' in value) || value['items'] === undefined) return false;
|
|
48
|
+
if (!('nextCursor' in value) || value['nextCursor'] === undefined) return false;
|
|
49
|
+
return true;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function ListPatchNotesResponseFromJSON(json: any): ListPatchNotesResponse {
|
|
53
|
+
return ListPatchNotesResponseFromJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function ListPatchNotesResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListPatchNotesResponse {
|
|
57
|
+
if (json == null) {
|
|
58
|
+
return json;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
|
|
62
|
+
'items': ((json['items'] as Array<any>).map(ListPatchNotes200ResponseItemsInnerFromJSON)),
|
|
63
|
+
'nextCursor': json['nextCursor'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export function ListPatchNotesResponseToJSON(value?: ListPatchNotesResponse | null): any {
|
|
68
|
+
if (value == null) {
|
|
69
|
+
return value;
|
|
70
|
+
}
|
|
71
|
+
return {
|
|
72
|
+
|
|
73
|
+
'items': ((value['items'] as Array<any>).map(ListPatchNotes200ResponseItemsInnerToJSON)),
|
|
74
|
+
'nextCursor': value['nextCursor'],
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Azisaba Graph API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.0.1
|
|
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 PatchNote
|
|
20
|
+
*/
|
|
21
|
+
export interface PatchNote {
|
|
22
|
+
/**
|
|
23
|
+
* Unique identifier for the patch note.
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof PatchNote
|
|
26
|
+
*/
|
|
27
|
+
id: string;
|
|
28
|
+
/**
|
|
29
|
+
* Target of the patch note.
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof PatchNote
|
|
32
|
+
*/
|
|
33
|
+
target: PatchNoteTargetEnum;
|
|
34
|
+
/**
|
|
35
|
+
* Category of the patch note.
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof PatchNote
|
|
38
|
+
*/
|
|
39
|
+
category: PatchNoteCategoryEnum;
|
|
40
|
+
/**
|
|
41
|
+
* Title of the patch note.
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof PatchNote
|
|
44
|
+
*/
|
|
45
|
+
title: string;
|
|
46
|
+
/**
|
|
47
|
+
* Body text of the patch note.
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof PatchNote
|
|
50
|
+
*/
|
|
51
|
+
body: string;
|
|
52
|
+
/**
|
|
53
|
+
* URLs of images attached to the patch note.
|
|
54
|
+
* @type {Array<string>}
|
|
55
|
+
* @memberof PatchNote
|
|
56
|
+
*/
|
|
57
|
+
imageUrls: Array<string>;
|
|
58
|
+
/**
|
|
59
|
+
* Date and time when the patch note was created.
|
|
60
|
+
* @type {Date}
|
|
61
|
+
* @memberof PatchNote
|
|
62
|
+
*/
|
|
63
|
+
createdAt: Date;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* @export
|
|
69
|
+
*/
|
|
70
|
+
export const PatchNoteTargetEnum = {
|
|
71
|
+
CreativePro: 'creativePro',
|
|
72
|
+
Frontier: 'frontier',
|
|
73
|
+
Life: 'life',
|
|
74
|
+
LeonGunWar2: 'leonGunWar2',
|
|
75
|
+
Sclat: 'sclat'
|
|
76
|
+
} as const;
|
|
77
|
+
export type PatchNoteTargetEnum = typeof PatchNoteTargetEnum[keyof typeof PatchNoteTargetEnum];
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* @export
|
|
81
|
+
*/
|
|
82
|
+
export const PatchNoteCategoryEnum = {
|
|
83
|
+
Balance: 'balance',
|
|
84
|
+
Feature: 'feature',
|
|
85
|
+
Fix: 'fix',
|
|
86
|
+
Improvement: 'improvement'
|
|
87
|
+
} as const;
|
|
88
|
+
export type PatchNoteCategoryEnum = typeof PatchNoteCategoryEnum[keyof typeof PatchNoteCategoryEnum];
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* Check if a given object implements the PatchNote interface.
|
|
93
|
+
*/
|
|
94
|
+
export function instanceOfPatchNote(value: object): value is PatchNote {
|
|
95
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
96
|
+
if (!('target' in value) || value['target'] === undefined) return false;
|
|
97
|
+
if (!('category' in value) || value['category'] === undefined) return false;
|
|
98
|
+
if (!('title' in value) || value['title'] === undefined) return false;
|
|
99
|
+
if (!('body' in value) || value['body'] === undefined) return false;
|
|
100
|
+
if (!('imageUrls' in value) || value['imageUrls'] === undefined) return false;
|
|
101
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
|
|
102
|
+
return true;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
export function PatchNoteFromJSON(json: any): PatchNote {
|
|
106
|
+
return PatchNoteFromJSONTyped(json, false);
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
export function PatchNoteFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchNote {
|
|
110
|
+
if (json == null) {
|
|
111
|
+
return json;
|
|
112
|
+
}
|
|
113
|
+
return {
|
|
114
|
+
|
|
115
|
+
'id': json['id'],
|
|
116
|
+
'target': json['target'],
|
|
117
|
+
'category': json['category'],
|
|
118
|
+
'title': json['title'],
|
|
119
|
+
'body': json['body'],
|
|
120
|
+
'imageUrls': json['imageUrls'],
|
|
121
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
122
|
+
};
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
export function PatchNoteToJSON(value?: PatchNote | null): any {
|
|
126
|
+
if (value == null) {
|
|
127
|
+
return value;
|
|
128
|
+
}
|
|
129
|
+
return {
|
|
130
|
+
|
|
131
|
+
'id': value['id'],
|
|
132
|
+
'target': value['target'],
|
|
133
|
+
'category': value['category'],
|
|
134
|
+
'title': value['title'],
|
|
135
|
+
'body': value['body'],
|
|
136
|
+
'imageUrls': value['imageUrls'],
|
|
137
|
+
'createdAt': ((value['createdAt']).toISOString()),
|
|
138
|
+
};
|
|
139
|
+
}
|
|
140
|
+
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Azisaba Graph API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.0.1
|
|
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
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Category of the patch note.
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
export const PatchNoteCategory = {
|
|
21
|
+
Balance: 'balance',
|
|
22
|
+
Feature: 'feature',
|
|
23
|
+
Fix: 'fix',
|
|
24
|
+
Improvement: 'improvement'
|
|
25
|
+
} as const;
|
|
26
|
+
export type PatchNoteCategory = typeof PatchNoteCategory[keyof typeof PatchNoteCategory];
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
export function instanceOfPatchNoteCategory(value: any): boolean {
|
|
30
|
+
for (const key in PatchNoteCategory) {
|
|
31
|
+
if (Object.prototype.hasOwnProperty.call(PatchNoteCategory, key)) {
|
|
32
|
+
if (PatchNoteCategory[key as keyof typeof PatchNoteCategory] === value) {
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
return false;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export function PatchNoteCategoryFromJSON(json: any): PatchNoteCategory {
|
|
41
|
+
return PatchNoteCategoryFromJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export function PatchNoteCategoryFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchNoteCategory {
|
|
45
|
+
return json as PatchNoteCategory;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export function PatchNoteCategoryToJSON(value?: PatchNoteCategory | null): any {
|
|
49
|
+
return value as any;
|
|
50
|
+
}
|
|
51
|
+
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Azisaba Graph API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.0.1
|
|
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
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Target of the patch note.
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
export const PatchNoteTarget = {
|
|
21
|
+
CreativePro: 'creativePro',
|
|
22
|
+
Frontier: 'frontier',
|
|
23
|
+
Life: 'life',
|
|
24
|
+
LeonGunWar2: 'leonGunWar2',
|
|
25
|
+
Sclat: 'sclat'
|
|
26
|
+
} as const;
|
|
27
|
+
export type PatchNoteTarget = typeof PatchNoteTarget[keyof typeof PatchNoteTarget];
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
export function instanceOfPatchNoteTarget(value: any): boolean {
|
|
31
|
+
for (const key in PatchNoteTarget) {
|
|
32
|
+
if (Object.prototype.hasOwnProperty.call(PatchNoteTarget, key)) {
|
|
33
|
+
if (PatchNoteTarget[key as keyof typeof PatchNoteTarget] === value) {
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
return false;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export function PatchNoteTargetFromJSON(json: any): PatchNoteTarget {
|
|
42
|
+
return PatchNoteTargetFromJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function PatchNoteTargetFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchNoteTarget {
|
|
46
|
+
return json as PatchNoteTarget;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function PatchNoteTargetToJSON(value?: PatchNoteTarget | null): any {
|
|
50
|
+
return value as any;
|
|
51
|
+
}
|
|
52
|
+
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
export * from './CreatePatchNoteBody';
|
|
4
|
+
export * from './ListPatchNotes200Response';
|
|
5
|
+
export * from './ListPatchNotes200ResponseItemsInner';
|
|
6
|
+
export * from './ListPatchNotesResponse';
|
|
7
|
+
export * from './PatchNote';
|
|
8
|
+
export * from './PatchNoteCategory';
|
|
9
|
+
export * from './PatchNoteTarget';
|