Skip to content

Commit

Permalink
Feb 10 ESI Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Blacksmoke16 committed Feb 11, 2025
1 parent bf1ffd6 commit 1b47e7f
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 188 deletions.
4 changes: 2 additions & 2 deletions src/parser/shard.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: GESI

version: 9.2.1
version: 10.0.0

crystal: '>=0.34.0'

Expand All @@ -10,7 +10,7 @@ description: |
Google Sheets™ ESI Add-on
authors:
- George Dietrich <george@dietrich.app>
- George Dietrich <dev@dietrich.pub>

targets:
gesi:
Expand Down
2 changes: 1 addition & 1 deletion src/script/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gesi",
"version": "9.2.1",
"version": "10.0.0",
"description": "Google Sheets ESI Add-on",
"scripts": {
"test": "jest",
Expand Down
137 changes: 0 additions & 137 deletions src/script/src/endpoints.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ function getScopes(): string[] {
"esi-alliances.read_contacts.v1",
"esi-assets.read_assets.v1",
"esi-assets.read_corporation_assets.v1",
"esi-bookmarks.read_character_bookmarks.v1",
"esi-bookmarks.read_corporation_bookmarks.v1",
"esi-calendar.read_calendar_events.v1",
"esi-calendar.respond_calendar_events.v1",
"esi-characters.read_agents_research.v1",
Expand Down Expand Up @@ -494,72 +492,6 @@ function getEndpoints(): IEndpointList {
"summary": "Get blueprints",
"version": "v3"
},
"characters_character_bookmarks": {
"description": "A list of your character's personal bookmarks",
"headers": [
{
"name": "bookmark_id"
},
{
"name": "coordinates",
"sub_headers": [
"x",
"y",
"z"
]
},
{
"name": "created"
},
{
"name": "creator_id"
},
{
"name": "folder_id"
},
{
"name": "item",
"sub_headers": [
"item_id",
"type_id"
]
},
{
"name": "label"
},
{
"name": "location_id"
},
{
"name": "notes"
}
],
"method": "get",
"paginated": true,
"parameters": [],
"path": "/{version}/characters/{character_id}/bookmarks/",
"scope": "esi-bookmarks.read_character_bookmarks.v1",
"summary": "List bookmarks",
"version": "v2"
},
"characters_character_bookmarks_folders": {
"description": "A list of your character's personal bookmark folders",
"headers": [
{
"name": "folder_id"
},
{
"name": "name"
}
],
"method": "get",
"paginated": true,
"parameters": [],
"path": "/{version}/characters/{character_id}/bookmarks/folders/",
"scope": "esi-bookmarks.read_character_bookmarks.v1",
"summary": "List bookmark folders",
"version": "v2"
},
"characters_character_calendar": {
"description": "Get 50 event summaries from the calendar. If no from_event ID is given, the resource will return the next 50 chronological event summaries from now. If a from_event ID is specified, it will return the next 50 chronological event summaries from after that event",
"headers": [
Expand Down Expand Up @@ -2584,75 +2516,6 @@ function getEndpoints(): IEndpointList {
"summary": "Get corporation blueprints",
"version": "v3"
},
"corporations_corporation_bookmarks": {
"description": "A list of your corporation's bookmarks",
"headers": [
{
"name": "bookmark_id"
},
{
"name": "coordinates",
"sub_headers": [
"x",
"y",
"z"
]
},
{
"name": "created"
},
{
"name": "creator_id"
},
{
"name": "folder_id"
},
{
"name": "item",
"sub_headers": [
"item_id",
"type_id"
]
},
{
"name": "label"
},
{
"name": "location_id"
},
{
"name": "notes"
}
],
"method": "get",
"paginated": true,
"parameters": [],
"path": "/{version}/corporations/{corporation_id}/bookmarks/",
"scope": "esi-bookmarks.read_corporation_bookmarks.v1",
"summary": "List corporation bookmarks",
"version": "v1"
},
"corporations_corporation_bookmarks_folders": {
"description": "A list of your corporation's bookmark folders",
"headers": [
{
"name": "creator_id"
},
{
"name": "folder_id"
},
{
"name": "name"
}
],
"method": "get",
"paginated": true,
"parameters": [],
"path": "/{version}/corporations/{corporation_id}/bookmarks/folders/",
"scope": "esi-bookmarks.read_corporation_bookmarks.v1",
"summary": "List corporation bookmark folders",
"version": "v1"
},
"corporations_corporation_contacts": {
"description": "Return contacts of a corporation",
"headers": [
Expand Down
48 changes: 0 additions & 48 deletions src/script/src/functions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -174,30 +174,6 @@ function characters_character_blueprints(name?: string, show_column_headings: bo
return invoke('characters_character_blueprints', { name, show_column_headings, version });
}

/**
* A list of your character's personal bookmarks
*
* @param {string} name - Name of the character used for auth. Defaults to the first authenticated character.
* @param {boolean} show_column_headings - If column headings should be shown.
* @param {string} version - Which ESI version to use for the request.
* @customfunction
*/
function characters_character_bookmarks(name?: string, show_column_headings: boolean = true, version: string = "v2"): SheetsArray {
return invoke('characters_character_bookmarks', { name, show_column_headings, version });
}

/**
* A list of your character's personal bookmark folders
*
* @param {string} name - Name of the character used for auth. Defaults to the first authenticated character.
* @param {boolean} show_column_headings - If column headings should be shown.
* @param {string} version - Which ESI version to use for the request.
* @customfunction
*/
function characters_character_bookmarks_folders(name?: string, show_column_headings: boolean = true, version: string = "v2"): SheetsArray {
return invoke('characters_character_bookmarks_folders', { name, show_column_headings, version });
}

/**
* Get 50 event summaries from the calendar. If no from_event ID is given, the resource will return the next 50 chronological event summaries from now. If a from_event ID is specified, it will return the next 50 chronological event summaries from after that event
*
Expand Down Expand Up @@ -906,30 +882,6 @@ function corporations_corporation_blueprints(name?: string, show_column_headings
return invoke('corporations_corporation_blueprints', { name, show_column_headings, version });
}

/**
* A list of your corporation's bookmarks
*
* @param {string} name - Name of the character used for auth. Defaults to the first authenticated character.
* @param {boolean} show_column_headings - If column headings should be shown.
* @param {string} version - Which ESI version to use for the request.
* @customfunction
*/
function corporations_corporation_bookmarks(name?: string, show_column_headings: boolean = true, version: string = "v1"): SheetsArray {
return invoke('corporations_corporation_bookmarks', { name, show_column_headings, version });
}

/**
* A list of your corporation's bookmark folders
*
* @param {string} name - Name of the character used for auth. Defaults to the first authenticated character.
* @param {boolean} show_column_headings - If column headings should be shown.
* @param {string} version - Which ESI version to use for the request.
* @customfunction
*/
function corporations_corporation_bookmarks_folders(name?: string, show_column_headings: boolean = true, version: string = "v1"): SheetsArray {
return invoke('corporations_corporation_bookmarks_folders', { name, show_column_headings, version });
}

/**
* Return contacts of a corporation
*
Expand Down

0 comments on commit 1b47e7f

Please sign in to comment.