@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,88 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Azisaba Graph API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.1
|
|
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 ListPatchNotes200ResponseItemsInner
|
|
16
|
+
*/
|
|
17
|
+
export interface ListPatchNotes200ResponseItemsInner {
|
|
18
|
+
/**
|
|
19
|
+
* Unique identifier for the patch note.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ListPatchNotes200ResponseItemsInner
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
* Target of the patch note.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ListPatchNotes200ResponseItemsInner
|
|
28
|
+
*/
|
|
29
|
+
target: ListPatchNotes200ResponseItemsInnerTargetEnum;
|
|
30
|
+
/**
|
|
31
|
+
* Category of the patch note.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ListPatchNotes200ResponseItemsInner
|
|
34
|
+
*/
|
|
35
|
+
category: ListPatchNotes200ResponseItemsInnerCategoryEnum;
|
|
36
|
+
/**
|
|
37
|
+
* Title of the patch note.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ListPatchNotes200ResponseItemsInner
|
|
40
|
+
*/
|
|
41
|
+
title: string;
|
|
42
|
+
/**
|
|
43
|
+
* Body text of the patch note.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof ListPatchNotes200ResponseItemsInner
|
|
46
|
+
*/
|
|
47
|
+
body: string;
|
|
48
|
+
/**
|
|
49
|
+
* URLs of images attached to the patch note.
|
|
50
|
+
* @type {Array<string>}
|
|
51
|
+
* @memberof ListPatchNotes200ResponseItemsInner
|
|
52
|
+
*/
|
|
53
|
+
imageUrls: Array<string>;
|
|
54
|
+
/**
|
|
55
|
+
* Date and time when the patch note was created.
|
|
56
|
+
* @type {Date}
|
|
57
|
+
* @memberof ListPatchNotes200ResponseItemsInner
|
|
58
|
+
*/
|
|
59
|
+
createdAt: Date;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* @export
|
|
63
|
+
*/
|
|
64
|
+
export declare const ListPatchNotes200ResponseItemsInnerTargetEnum: {
|
|
65
|
+
readonly CreativePro: "creativePro";
|
|
66
|
+
readonly Frontier: "frontier";
|
|
67
|
+
readonly Life: "life";
|
|
68
|
+
readonly LeonGunWar2: "leonGunWar2";
|
|
69
|
+
readonly Sclat: "sclat";
|
|
70
|
+
};
|
|
71
|
+
export type ListPatchNotes200ResponseItemsInnerTargetEnum = typeof ListPatchNotes200ResponseItemsInnerTargetEnum[keyof typeof ListPatchNotes200ResponseItemsInnerTargetEnum];
|
|
72
|
+
/**
|
|
73
|
+
* @export
|
|
74
|
+
*/
|
|
75
|
+
export declare const ListPatchNotes200ResponseItemsInnerCategoryEnum: {
|
|
76
|
+
readonly Balance: "balance";
|
|
77
|
+
readonly Feature: "feature";
|
|
78
|
+
readonly Fix: "fix";
|
|
79
|
+
readonly Improvement: "improvement";
|
|
80
|
+
};
|
|
81
|
+
export type ListPatchNotes200ResponseItemsInnerCategoryEnum = typeof ListPatchNotes200ResponseItemsInnerCategoryEnum[keyof typeof ListPatchNotes200ResponseItemsInnerCategoryEnum];
|
|
82
|
+
/**
|
|
83
|
+
* Check if a given object implements the ListPatchNotes200ResponseItemsInner interface.
|
|
84
|
+
*/
|
|
85
|
+
export declare function instanceOfListPatchNotes200ResponseItemsInner(value: object): value is ListPatchNotes200ResponseItemsInner;
|
|
86
|
+
export declare function ListPatchNotes200ResponseItemsInnerFromJSON(json: any): ListPatchNotes200ResponseItemsInner;
|
|
87
|
+
export declare function ListPatchNotes200ResponseItemsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListPatchNotes200ResponseItemsInner;
|
|
88
|
+
export declare function ListPatchNotes200ResponseItemsInnerToJSON(value?: ListPatchNotes200ResponseItemsInner | null): any;
|
|
@@ -0,0 +1,83 @@
|
|
|
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
|
+
* @export
|
|
16
|
+
*/
|
|
17
|
+
export const ListPatchNotes200ResponseItemsInnerTargetEnum = {
|
|
18
|
+
CreativePro: 'creativePro',
|
|
19
|
+
Frontier: 'frontier',
|
|
20
|
+
Life: 'life',
|
|
21
|
+
LeonGunWar2: 'leonGunWar2',
|
|
22
|
+
Sclat: 'sclat'
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* @export
|
|
26
|
+
*/
|
|
27
|
+
export const ListPatchNotes200ResponseItemsInnerCategoryEnum = {
|
|
28
|
+
Balance: 'balance',
|
|
29
|
+
Feature: 'feature',
|
|
30
|
+
Fix: 'fix',
|
|
31
|
+
Improvement: 'improvement'
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the ListPatchNotes200ResponseItemsInner interface.
|
|
35
|
+
*/
|
|
36
|
+
export function instanceOfListPatchNotes200ResponseItemsInner(value) {
|
|
37
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
if (!('target' in value) || value['target'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
if (!('category' in value) || value['category'] === undefined)
|
|
42
|
+
return false;
|
|
43
|
+
if (!('title' in value) || value['title'] === undefined)
|
|
44
|
+
return false;
|
|
45
|
+
if (!('body' in value) || value['body'] === undefined)
|
|
46
|
+
return false;
|
|
47
|
+
if (!('imageUrls' in value) || value['imageUrls'] === undefined)
|
|
48
|
+
return false;
|
|
49
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
50
|
+
return false;
|
|
51
|
+
return true;
|
|
52
|
+
}
|
|
53
|
+
export function ListPatchNotes200ResponseItemsInnerFromJSON(json) {
|
|
54
|
+
return ListPatchNotes200ResponseItemsInnerFromJSONTyped(json, false);
|
|
55
|
+
}
|
|
56
|
+
export function ListPatchNotes200ResponseItemsInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
57
|
+
if (json == null) {
|
|
58
|
+
return json;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
'id': json['id'],
|
|
62
|
+
'target': json['target'],
|
|
63
|
+
'category': json['category'],
|
|
64
|
+
'title': json['title'],
|
|
65
|
+
'body': json['body'],
|
|
66
|
+
'imageUrls': json['imageUrls'],
|
|
67
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
export function ListPatchNotes200ResponseItemsInnerToJSON(value) {
|
|
71
|
+
if (value == null) {
|
|
72
|
+
return value;
|
|
73
|
+
}
|
|
74
|
+
return {
|
|
75
|
+
'id': value['id'],
|
|
76
|
+
'target': value['target'],
|
|
77
|
+
'category': value['category'],
|
|
78
|
+
'title': value['title'],
|
|
79
|
+
'body': value['body'],
|
|
80
|
+
'imageUrls': value['imageUrls'],
|
|
81
|
+
'createdAt': ((value['createdAt']).toISOString()),
|
|
82
|
+
};
|
|
83
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Azisaba Graph API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.1
|
|
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
|
+
import type { ListPatchNotes200ResponseItemsInner } from './ListPatchNotes200ResponseItemsInner';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ListPatchNotesResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface ListPatchNotesResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<ListPatchNotes200ResponseItemsInner>}
|
|
22
|
+
* @memberof ListPatchNotesResponse
|
|
23
|
+
*/
|
|
24
|
+
items: Array<ListPatchNotes200ResponseItemsInner>;
|
|
25
|
+
/**
|
|
26
|
+
* Cursor for retrieving the next page, or null if no more results are available.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ListPatchNotesResponse
|
|
29
|
+
*/
|
|
30
|
+
nextCursor: string | null;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the ListPatchNotesResponse interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfListPatchNotesResponse(value: object): value is ListPatchNotesResponse;
|
|
36
|
+
export declare function ListPatchNotesResponseFromJSON(json: any): ListPatchNotesResponse;
|
|
37
|
+
export declare function ListPatchNotesResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListPatchNotesResponse;
|
|
38
|
+
export declare function ListPatchNotesResponseToJSON(value?: ListPatchNotesResponse | null): any;
|
|
@@ -0,0 +1,45 @@
|
|
|
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
|
+
import { ListPatchNotes200ResponseItemsInnerFromJSON, ListPatchNotes200ResponseItemsInnerToJSON, } from './ListPatchNotes200ResponseItemsInner';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the ListPatchNotesResponse interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfListPatchNotesResponse(value) {
|
|
19
|
+
if (!('items' in value) || value['items'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('nextCursor' in value) || value['nextCursor'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
return true;
|
|
24
|
+
}
|
|
25
|
+
export function ListPatchNotesResponseFromJSON(json) {
|
|
26
|
+
return ListPatchNotesResponseFromJSONTyped(json, false);
|
|
27
|
+
}
|
|
28
|
+
export function ListPatchNotesResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
+
if (json == null) {
|
|
30
|
+
return json;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
'items': (json['items'].map(ListPatchNotes200ResponseItemsInnerFromJSON)),
|
|
34
|
+
'nextCursor': json['nextCursor'],
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
export function ListPatchNotesResponseToJSON(value) {
|
|
38
|
+
if (value == null) {
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'items': (value['items'].map(ListPatchNotes200ResponseItemsInnerToJSON)),
|
|
43
|
+
'nextCursor': value['nextCursor'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Azisaba Graph API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.1
|
|
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 PatchNote
|
|
16
|
+
*/
|
|
17
|
+
export interface PatchNote {
|
|
18
|
+
/**
|
|
19
|
+
* Unique identifier for the patch note.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PatchNote
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
* Target of the patch note.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PatchNote
|
|
28
|
+
*/
|
|
29
|
+
target: PatchNoteTargetEnum;
|
|
30
|
+
/**
|
|
31
|
+
* Category of the patch note.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof PatchNote
|
|
34
|
+
*/
|
|
35
|
+
category: PatchNoteCategoryEnum;
|
|
36
|
+
/**
|
|
37
|
+
* Title of the patch note.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof PatchNote
|
|
40
|
+
*/
|
|
41
|
+
title: string;
|
|
42
|
+
/**
|
|
43
|
+
* Body text of the patch note.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof PatchNote
|
|
46
|
+
*/
|
|
47
|
+
body: string;
|
|
48
|
+
/**
|
|
49
|
+
* URLs of images attached to the patch note.
|
|
50
|
+
* @type {Array<string>}
|
|
51
|
+
* @memberof PatchNote
|
|
52
|
+
*/
|
|
53
|
+
imageUrls: Array<string>;
|
|
54
|
+
/**
|
|
55
|
+
* Date and time when the patch note was created.
|
|
56
|
+
* @type {Date}
|
|
57
|
+
* @memberof PatchNote
|
|
58
|
+
*/
|
|
59
|
+
createdAt: Date;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* @export
|
|
63
|
+
*/
|
|
64
|
+
export declare const PatchNoteTargetEnum: {
|
|
65
|
+
readonly CreativePro: "creativePro";
|
|
66
|
+
readonly Frontier: "frontier";
|
|
67
|
+
readonly Life: "life";
|
|
68
|
+
readonly LeonGunWar2: "leonGunWar2";
|
|
69
|
+
readonly Sclat: "sclat";
|
|
70
|
+
};
|
|
71
|
+
export type PatchNoteTargetEnum = typeof PatchNoteTargetEnum[keyof typeof PatchNoteTargetEnum];
|
|
72
|
+
/**
|
|
73
|
+
* @export
|
|
74
|
+
*/
|
|
75
|
+
export declare const PatchNoteCategoryEnum: {
|
|
76
|
+
readonly Balance: "balance";
|
|
77
|
+
readonly Feature: "feature";
|
|
78
|
+
readonly Fix: "fix";
|
|
79
|
+
readonly Improvement: "improvement";
|
|
80
|
+
};
|
|
81
|
+
export type PatchNoteCategoryEnum = typeof PatchNoteCategoryEnum[keyof typeof PatchNoteCategoryEnum];
|
|
82
|
+
/**
|
|
83
|
+
* Check if a given object implements the PatchNote interface.
|
|
84
|
+
*/
|
|
85
|
+
export declare function instanceOfPatchNote(value: object): value is PatchNote;
|
|
86
|
+
export declare function PatchNoteFromJSON(json: any): PatchNote;
|
|
87
|
+
export declare function PatchNoteFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchNote;
|
|
88
|
+
export declare function PatchNoteToJSON(value?: PatchNote | null): any;
|
|
@@ -0,0 +1,83 @@
|
|
|
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
|
+
* @export
|
|
16
|
+
*/
|
|
17
|
+
export const PatchNoteTargetEnum = {
|
|
18
|
+
CreativePro: 'creativePro',
|
|
19
|
+
Frontier: 'frontier',
|
|
20
|
+
Life: 'life',
|
|
21
|
+
LeonGunWar2: 'leonGunWar2',
|
|
22
|
+
Sclat: 'sclat'
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* @export
|
|
26
|
+
*/
|
|
27
|
+
export const PatchNoteCategoryEnum = {
|
|
28
|
+
Balance: 'balance',
|
|
29
|
+
Feature: 'feature',
|
|
30
|
+
Fix: 'fix',
|
|
31
|
+
Improvement: 'improvement'
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the PatchNote interface.
|
|
35
|
+
*/
|
|
36
|
+
export function instanceOfPatchNote(value) {
|
|
37
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
if (!('target' in value) || value['target'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
if (!('category' in value) || value['category'] === undefined)
|
|
42
|
+
return false;
|
|
43
|
+
if (!('title' in value) || value['title'] === undefined)
|
|
44
|
+
return false;
|
|
45
|
+
if (!('body' in value) || value['body'] === undefined)
|
|
46
|
+
return false;
|
|
47
|
+
if (!('imageUrls' in value) || value['imageUrls'] === undefined)
|
|
48
|
+
return false;
|
|
49
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
50
|
+
return false;
|
|
51
|
+
return true;
|
|
52
|
+
}
|
|
53
|
+
export function PatchNoteFromJSON(json) {
|
|
54
|
+
return PatchNoteFromJSONTyped(json, false);
|
|
55
|
+
}
|
|
56
|
+
export function PatchNoteFromJSONTyped(json, ignoreDiscriminator) {
|
|
57
|
+
if (json == null) {
|
|
58
|
+
return json;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
'id': json['id'],
|
|
62
|
+
'target': json['target'],
|
|
63
|
+
'category': json['category'],
|
|
64
|
+
'title': json['title'],
|
|
65
|
+
'body': json['body'],
|
|
66
|
+
'imageUrls': json['imageUrls'],
|
|
67
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
export function PatchNoteToJSON(value) {
|
|
71
|
+
if (value == null) {
|
|
72
|
+
return value;
|
|
73
|
+
}
|
|
74
|
+
return {
|
|
75
|
+
'id': value['id'],
|
|
76
|
+
'target': value['target'],
|
|
77
|
+
'category': value['category'],
|
|
78
|
+
'title': value['title'],
|
|
79
|
+
'body': value['body'],
|
|
80
|
+
'imageUrls': value['imageUrls'],
|
|
81
|
+
'createdAt': ((value['createdAt']).toISOString()),
|
|
82
|
+
};
|
|
83
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Azisaba Graph API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.1
|
|
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
|
+
* Category of the patch note.
|
|
14
|
+
* @export
|
|
15
|
+
*/
|
|
16
|
+
export declare const PatchNoteCategory: {
|
|
17
|
+
readonly Balance: "balance";
|
|
18
|
+
readonly Feature: "feature";
|
|
19
|
+
readonly Fix: "fix";
|
|
20
|
+
readonly Improvement: "improvement";
|
|
21
|
+
};
|
|
22
|
+
export type PatchNoteCategory = typeof PatchNoteCategory[keyof typeof PatchNoteCategory];
|
|
23
|
+
export declare function instanceOfPatchNoteCategory(value: any): boolean;
|
|
24
|
+
export declare function PatchNoteCategoryFromJSON(json: any): PatchNoteCategory;
|
|
25
|
+
export declare function PatchNoteCategoryFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchNoteCategory;
|
|
26
|
+
export declare function PatchNoteCategoryToJSON(value?: PatchNoteCategory | null): any;
|
|
@@ -0,0 +1,42 @@
|
|
|
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
|
+
* Category of the patch note.
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export const PatchNoteCategory = {
|
|
19
|
+
Balance: 'balance',
|
|
20
|
+
Feature: 'feature',
|
|
21
|
+
Fix: 'fix',
|
|
22
|
+
Improvement: 'improvement'
|
|
23
|
+
};
|
|
24
|
+
export function instanceOfPatchNoteCategory(value) {
|
|
25
|
+
for (const key in PatchNoteCategory) {
|
|
26
|
+
if (Object.prototype.hasOwnProperty.call(PatchNoteCategory, key)) {
|
|
27
|
+
if (PatchNoteCategory[key] === value) {
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
return false;
|
|
33
|
+
}
|
|
34
|
+
export function PatchNoteCategoryFromJSON(json) {
|
|
35
|
+
return PatchNoteCategoryFromJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function PatchNoteCategoryFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
export function PatchNoteCategoryToJSON(value) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Azisaba Graph API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.1
|
|
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
|
+
* Target of the patch note.
|
|
14
|
+
* @export
|
|
15
|
+
*/
|
|
16
|
+
export declare const PatchNoteTarget: {
|
|
17
|
+
readonly CreativePro: "creativePro";
|
|
18
|
+
readonly Frontier: "frontier";
|
|
19
|
+
readonly Life: "life";
|
|
20
|
+
readonly LeonGunWar2: "leonGunWar2";
|
|
21
|
+
readonly Sclat: "sclat";
|
|
22
|
+
};
|
|
23
|
+
export type PatchNoteTarget = typeof PatchNoteTarget[keyof typeof PatchNoteTarget];
|
|
24
|
+
export declare function instanceOfPatchNoteTarget(value: any): boolean;
|
|
25
|
+
export declare function PatchNoteTargetFromJSON(json: any): PatchNoteTarget;
|
|
26
|
+
export declare function PatchNoteTargetFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchNoteTarget;
|
|
27
|
+
export declare function PatchNoteTargetToJSON(value?: PatchNoteTarget | null): any;
|
|
@@ -0,0 +1,43 @@
|
|
|
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
|
+
* Target of the patch note.
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export const PatchNoteTarget = {
|
|
19
|
+
CreativePro: 'creativePro',
|
|
20
|
+
Frontier: 'frontier',
|
|
21
|
+
Life: 'life',
|
|
22
|
+
LeonGunWar2: 'leonGunWar2',
|
|
23
|
+
Sclat: 'sclat'
|
|
24
|
+
};
|
|
25
|
+
export function instanceOfPatchNoteTarget(value) {
|
|
26
|
+
for (const key in PatchNoteTarget) {
|
|
27
|
+
if (Object.prototype.hasOwnProperty.call(PatchNoteTarget, key)) {
|
|
28
|
+
if (PatchNoteTarget[key] === value) {
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
return false;
|
|
34
|
+
}
|
|
35
|
+
export function PatchNoteTargetFromJSON(json) {
|
|
36
|
+
return PatchNoteTargetFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
export function PatchNoteTargetFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
return json;
|
|
40
|
+
}
|
|
41
|
+
export function PatchNoteTargetToJSON(value) {
|
|
42
|
+
return value;
|
|
43
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export * from './CreatePatchNoteBody';
|
|
2
|
+
export * from './ListPatchNotes200Response';
|
|
3
|
+
export * from './ListPatchNotes200ResponseItemsInner';
|
|
4
|
+
export * from './ListPatchNotesResponse';
|
|
5
|
+
export * from './PatchNote';
|
|
6
|
+
export * from './PatchNoteCategory';
|
|
7
|
+
export * from './PatchNoteTarget';
|
|
@@ -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';
|