@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,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 ListPatchNotes200Response
|
|
17
|
+
*/
|
|
18
|
+
export interface ListPatchNotes200Response {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<ListPatchNotes200ResponseItemsInner>}
|
|
22
|
+
* @memberof ListPatchNotes200Response
|
|
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 ListPatchNotes200Response
|
|
29
|
+
*/
|
|
30
|
+
nextCursor: string | null;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the ListPatchNotes200Response interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfListPatchNotes200Response(value: object): value is ListPatchNotes200Response;
|
|
36
|
+
export declare function ListPatchNotes200ResponseFromJSON(json: any): ListPatchNotes200Response;
|
|
37
|
+
export declare function ListPatchNotes200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListPatchNotes200Response;
|
|
38
|
+
export declare function ListPatchNotes200ResponseToJSON(value?: ListPatchNotes200Response | null): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Azisaba Graph API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.0.1
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfListPatchNotes200Response = instanceOfListPatchNotes200Response;
|
|
17
|
+
exports.ListPatchNotes200ResponseFromJSON = ListPatchNotes200ResponseFromJSON;
|
|
18
|
+
exports.ListPatchNotes200ResponseFromJSONTyped = ListPatchNotes200ResponseFromJSONTyped;
|
|
19
|
+
exports.ListPatchNotes200ResponseToJSON = ListPatchNotes200ResponseToJSON;
|
|
20
|
+
const ListPatchNotes200ResponseItemsInner_1 = require("./ListPatchNotes200ResponseItemsInner");
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ListPatchNotes200Response interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfListPatchNotes200Response(value) {
|
|
25
|
+
if (!('items' in value) || value['items'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('nextCursor' in value) || value['nextCursor'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function ListPatchNotes200ResponseFromJSON(json) {
|
|
32
|
+
return ListPatchNotes200ResponseFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function ListPatchNotes200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'items': (json['items'].map(ListPatchNotes200ResponseItemsInner_1.ListPatchNotes200ResponseItemsInnerFromJSON)),
|
|
40
|
+
'nextCursor': json['nextCursor'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function ListPatchNotes200ResponseToJSON(value) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'items': (value['items'].map(ListPatchNotes200ResponseItemsInner_1.ListPatchNotes200ResponseItemsInnerToJSON)),
|
|
49
|
+
'nextCursor': value['nextCursor'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -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,90 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Azisaba Graph API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.0.1
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.ListPatchNotes200ResponseItemsInnerCategoryEnum = exports.ListPatchNotes200ResponseItemsInnerTargetEnum = void 0;
|
|
17
|
+
exports.instanceOfListPatchNotes200ResponseItemsInner = instanceOfListPatchNotes200ResponseItemsInner;
|
|
18
|
+
exports.ListPatchNotes200ResponseItemsInnerFromJSON = ListPatchNotes200ResponseItemsInnerFromJSON;
|
|
19
|
+
exports.ListPatchNotes200ResponseItemsInnerFromJSONTyped = ListPatchNotes200ResponseItemsInnerFromJSONTyped;
|
|
20
|
+
exports.ListPatchNotes200ResponseItemsInnerToJSON = ListPatchNotes200ResponseItemsInnerToJSON;
|
|
21
|
+
/**
|
|
22
|
+
* @export
|
|
23
|
+
*/
|
|
24
|
+
exports.ListPatchNotes200ResponseItemsInnerTargetEnum = {
|
|
25
|
+
CreativePro: 'creativePro',
|
|
26
|
+
Frontier: 'frontier',
|
|
27
|
+
Life: 'life',
|
|
28
|
+
LeonGunWar2: 'leonGunWar2',
|
|
29
|
+
Sclat: 'sclat'
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* @export
|
|
33
|
+
*/
|
|
34
|
+
exports.ListPatchNotes200ResponseItemsInnerCategoryEnum = {
|
|
35
|
+
Balance: 'balance',
|
|
36
|
+
Feature: 'feature',
|
|
37
|
+
Fix: 'fix',
|
|
38
|
+
Improvement: 'improvement'
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* Check if a given object implements the ListPatchNotes200ResponseItemsInner interface.
|
|
42
|
+
*/
|
|
43
|
+
function instanceOfListPatchNotes200ResponseItemsInner(value) {
|
|
44
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
45
|
+
return false;
|
|
46
|
+
if (!('target' in value) || value['target'] === undefined)
|
|
47
|
+
return false;
|
|
48
|
+
if (!('category' in value) || value['category'] === undefined)
|
|
49
|
+
return false;
|
|
50
|
+
if (!('title' in value) || value['title'] === undefined)
|
|
51
|
+
return false;
|
|
52
|
+
if (!('body' in value) || value['body'] === undefined)
|
|
53
|
+
return false;
|
|
54
|
+
if (!('imageUrls' in value) || value['imageUrls'] === undefined)
|
|
55
|
+
return false;
|
|
56
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
57
|
+
return false;
|
|
58
|
+
return true;
|
|
59
|
+
}
|
|
60
|
+
function ListPatchNotes200ResponseItemsInnerFromJSON(json) {
|
|
61
|
+
return ListPatchNotes200ResponseItemsInnerFromJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
function ListPatchNotes200ResponseItemsInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
64
|
+
if (json == null) {
|
|
65
|
+
return json;
|
|
66
|
+
}
|
|
67
|
+
return {
|
|
68
|
+
'id': json['id'],
|
|
69
|
+
'target': json['target'],
|
|
70
|
+
'category': json['category'],
|
|
71
|
+
'title': json['title'],
|
|
72
|
+
'body': json['body'],
|
|
73
|
+
'imageUrls': json['imageUrls'],
|
|
74
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
function ListPatchNotes200ResponseItemsInnerToJSON(value) {
|
|
78
|
+
if (value == null) {
|
|
79
|
+
return value;
|
|
80
|
+
}
|
|
81
|
+
return {
|
|
82
|
+
'id': value['id'],
|
|
83
|
+
'target': value['target'],
|
|
84
|
+
'category': value['category'],
|
|
85
|
+
'title': value['title'],
|
|
86
|
+
'body': value['body'],
|
|
87
|
+
'imageUrls': value['imageUrls'],
|
|
88
|
+
'createdAt': ((value['createdAt']).toISOString()),
|
|
89
|
+
};
|
|
90
|
+
}
|
|
@@ -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,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Azisaba Graph API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.0.1
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfListPatchNotesResponse = instanceOfListPatchNotesResponse;
|
|
17
|
+
exports.ListPatchNotesResponseFromJSON = ListPatchNotesResponseFromJSON;
|
|
18
|
+
exports.ListPatchNotesResponseFromJSONTyped = ListPatchNotesResponseFromJSONTyped;
|
|
19
|
+
exports.ListPatchNotesResponseToJSON = ListPatchNotesResponseToJSON;
|
|
20
|
+
const ListPatchNotes200ResponseItemsInner_1 = require("./ListPatchNotes200ResponseItemsInner");
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ListPatchNotesResponse interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfListPatchNotesResponse(value) {
|
|
25
|
+
if (!('items' in value) || value['items'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('nextCursor' in value) || value['nextCursor'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function ListPatchNotesResponseFromJSON(json) {
|
|
32
|
+
return ListPatchNotesResponseFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function ListPatchNotesResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'items': (json['items'].map(ListPatchNotes200ResponseItemsInner_1.ListPatchNotes200ResponseItemsInnerFromJSON)),
|
|
40
|
+
'nextCursor': json['nextCursor'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function ListPatchNotesResponseToJSON(value) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'items': (value['items'].map(ListPatchNotes200ResponseItemsInner_1.ListPatchNotes200ResponseItemsInnerToJSON)),
|
|
49
|
+
'nextCursor': value['nextCursor'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -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,90 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Azisaba Graph API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.0.1
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.PatchNoteCategoryEnum = exports.PatchNoteTargetEnum = void 0;
|
|
17
|
+
exports.instanceOfPatchNote = instanceOfPatchNote;
|
|
18
|
+
exports.PatchNoteFromJSON = PatchNoteFromJSON;
|
|
19
|
+
exports.PatchNoteFromJSONTyped = PatchNoteFromJSONTyped;
|
|
20
|
+
exports.PatchNoteToJSON = PatchNoteToJSON;
|
|
21
|
+
/**
|
|
22
|
+
* @export
|
|
23
|
+
*/
|
|
24
|
+
exports.PatchNoteTargetEnum = {
|
|
25
|
+
CreativePro: 'creativePro',
|
|
26
|
+
Frontier: 'frontier',
|
|
27
|
+
Life: 'life',
|
|
28
|
+
LeonGunWar2: 'leonGunWar2',
|
|
29
|
+
Sclat: 'sclat'
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* @export
|
|
33
|
+
*/
|
|
34
|
+
exports.PatchNoteCategoryEnum = {
|
|
35
|
+
Balance: 'balance',
|
|
36
|
+
Feature: 'feature',
|
|
37
|
+
Fix: 'fix',
|
|
38
|
+
Improvement: 'improvement'
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* Check if a given object implements the PatchNote interface.
|
|
42
|
+
*/
|
|
43
|
+
function instanceOfPatchNote(value) {
|
|
44
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
45
|
+
return false;
|
|
46
|
+
if (!('target' in value) || value['target'] === undefined)
|
|
47
|
+
return false;
|
|
48
|
+
if (!('category' in value) || value['category'] === undefined)
|
|
49
|
+
return false;
|
|
50
|
+
if (!('title' in value) || value['title'] === undefined)
|
|
51
|
+
return false;
|
|
52
|
+
if (!('body' in value) || value['body'] === undefined)
|
|
53
|
+
return false;
|
|
54
|
+
if (!('imageUrls' in value) || value['imageUrls'] === undefined)
|
|
55
|
+
return false;
|
|
56
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
57
|
+
return false;
|
|
58
|
+
return true;
|
|
59
|
+
}
|
|
60
|
+
function PatchNoteFromJSON(json) {
|
|
61
|
+
return PatchNoteFromJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
function PatchNoteFromJSONTyped(json, ignoreDiscriminator) {
|
|
64
|
+
if (json == null) {
|
|
65
|
+
return json;
|
|
66
|
+
}
|
|
67
|
+
return {
|
|
68
|
+
'id': json['id'],
|
|
69
|
+
'target': json['target'],
|
|
70
|
+
'category': json['category'],
|
|
71
|
+
'title': json['title'],
|
|
72
|
+
'body': json['body'],
|
|
73
|
+
'imageUrls': json['imageUrls'],
|
|
74
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
function PatchNoteToJSON(value) {
|
|
78
|
+
if (value == null) {
|
|
79
|
+
return value;
|
|
80
|
+
}
|
|
81
|
+
return {
|
|
82
|
+
'id': value['id'],
|
|
83
|
+
'target': value['target'],
|
|
84
|
+
'category': value['category'],
|
|
85
|
+
'title': value['title'],
|
|
86
|
+
'body': value['body'],
|
|
87
|
+
'imageUrls': value['imageUrls'],
|
|
88
|
+
'createdAt': ((value['createdAt']).toISOString()),
|
|
89
|
+
};
|
|
90
|
+
}
|
|
@@ -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,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Azisaba Graph API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.0.1
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.PatchNoteCategory = void 0;
|
|
17
|
+
exports.instanceOfPatchNoteCategory = instanceOfPatchNoteCategory;
|
|
18
|
+
exports.PatchNoteCategoryFromJSON = PatchNoteCategoryFromJSON;
|
|
19
|
+
exports.PatchNoteCategoryFromJSONTyped = PatchNoteCategoryFromJSONTyped;
|
|
20
|
+
exports.PatchNoteCategoryToJSON = PatchNoteCategoryToJSON;
|
|
21
|
+
/**
|
|
22
|
+
* Category of the patch note.
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.PatchNoteCategory = {
|
|
26
|
+
Balance: 'balance',
|
|
27
|
+
Feature: 'feature',
|
|
28
|
+
Fix: 'fix',
|
|
29
|
+
Improvement: 'improvement'
|
|
30
|
+
};
|
|
31
|
+
function instanceOfPatchNoteCategory(value) {
|
|
32
|
+
for (const key in exports.PatchNoteCategory) {
|
|
33
|
+
if (Object.prototype.hasOwnProperty.call(exports.PatchNoteCategory, key)) {
|
|
34
|
+
if (exports.PatchNoteCategory[key] === value) {
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
return false;
|
|
40
|
+
}
|
|
41
|
+
function PatchNoteCategoryFromJSON(json) {
|
|
42
|
+
return PatchNoteCategoryFromJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function PatchNoteCategoryFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
+
return json;
|
|
46
|
+
}
|
|
47
|
+
function PatchNoteCategoryToJSON(value) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
@@ -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;
|