@lgriffin/esi.ts 6.0.0 → 6.1.0

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.
Files changed (52) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/README.md +224 -152
  3. package/dist/clients/ContactsClient.d.ts +6 -4
  4. package/dist/clients/ContactsClient.d.ts.map +1 -1
  5. package/dist/clients/ContactsClient.js +9 -7
  6. package/dist/clients/FleetClient.d.ts +2 -2
  7. package/dist/clients/FleetClient.d.ts.map +1 -1
  8. package/dist/clients/FleetClient.js +8 -2
  9. package/dist/clients/SovereigntyClient.d.ts +1 -1
  10. package/dist/clients/SovereigntyClient.d.ts.map +1 -1
  11. package/dist/clients/UiClient.d.ts +11 -9
  12. package/dist/clients/UiClient.d.ts.map +1 -1
  13. package/dist/clients/UiClient.js +15 -13
  14. package/dist/core/endpoints/EndpointDefinition.d.ts +12 -4
  15. package/dist/core/endpoints/EndpointDefinition.d.ts.map +1 -1
  16. package/dist/core/endpoints/assetEndpoints.d.ts +1 -0
  17. package/dist/core/endpoints/assetEndpoints.d.ts.map +1 -1
  18. package/dist/core/endpoints/contactEndpoints.d.ts +11 -3
  19. package/dist/core/endpoints/contactEndpoints.d.ts.map +1 -1
  20. package/dist/core/endpoints/contactEndpoints.js +5 -3
  21. package/dist/core/endpoints/factionEndpoints.d.ts +2 -2
  22. package/dist/core/endpoints/fittingEndpoints.d.ts +1 -1
  23. package/dist/core/endpoints/freelanceJobsEndpoints.d.ts +8 -8
  24. package/dist/core/endpoints/mailEndpoints.d.ts +2 -0
  25. package/dist/core/endpoints/mailEndpoints.d.ts.map +1 -1
  26. package/dist/core/endpoints/sovereigntyEndpoints.d.ts +30 -16
  27. package/dist/core/endpoints/sovereigntyEndpoints.d.ts.map +1 -1
  28. package/dist/core/endpoints/sovereigntyEndpoints.js +1 -1
  29. package/dist/core/endpoints/uiEndpoints.d.ts +14 -4
  30. package/dist/core/endpoints/uiEndpoints.d.ts.map +1 -1
  31. package/dist/core/endpoints/uiEndpoints.js +8 -4
  32. package/dist/core/endpoints/universeEndpoints.d.ts +1 -1
  33. package/dist/schemas/assets.d.ts +1 -0
  34. package/dist/schemas/assets.d.ts.map +1 -1
  35. package/dist/schemas/assets.js +1 -1
  36. package/dist/schemas/faction-warfare.d.ts +2 -2
  37. package/dist/schemas/faction-warfare.js +2 -2
  38. package/dist/schemas/fittings.d.ts +1 -1
  39. package/dist/schemas/fittings.js +1 -1
  40. package/dist/schemas/freelance-jobs.d.ts +8 -8
  41. package/dist/schemas/freelance-jobs.js +5 -5
  42. package/dist/schemas/mail.d.ts +1 -0
  43. package/dist/schemas/mail.d.ts.map +1 -1
  44. package/dist/schemas/mail.js +1 -0
  45. package/dist/schemas/sovereignty.d.ts +28 -14
  46. package/dist/schemas/sovereignty.d.ts.map +1 -1
  47. package/dist/schemas/sovereignty.js +35 -8
  48. package/dist/schemas/universe.d.ts +1 -1
  49. package/dist/schemas/universe.js +1 -1
  50. package/dist/testing/TestDataFactory.d.ts.map +1 -1
  51. package/dist/testing/TestDataFactory.js +16 -10
  52. package/package.json +15 -1
@@ -1 +1 @@
1
- {"version":3,"file":"SovereigntyClient.d.ts","sourceRoot":"","sources":["../../src/clients/SovereigntyClient.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,oBAAoB,EAAE,MAAM,wCAAwC,CAAC;AAC9E,OAAO,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAEhF,qBAAa,iBAAkB,SAAQ,aAAa,CAClD,OAAO,oBAAoB,CAC5B;gBACa,MAAM,EAAE,SAAS;IAI7B;;;;OAIG;IACH,uBAAuB,IAAI,OAAO,CAAC,mBAAmB,EAAE,CAAC;IAIzD;;;;OAIG;IACH,qBAAqB,IAAI,OAAO,CAAC,iBAAiB,EAAE,CAAC;CAGtD"}
1
+ {"version":3,"file":"SovereigntyClient.d.ts","sourceRoot":"","sources":["../../src/clients/SovereigntyClient.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,oBAAoB,EAAE,MAAM,wCAAwC,CAAC;AAC9E,OAAO,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAEhF,qBAAa,iBAAkB,SAAQ,aAAa,CAClD,OAAO,oBAAoB,CAC5B;gBACa,MAAM,EAAE,SAAS;IAI7B;;;;OAIG;IACH,uBAAuB,IAAI,OAAO,CAAC,mBAAmB,EAAE,CAAC;IAIzD;;;;OAIG;IACH,qBAAqB,IAAI,OAAO,CAAC,iBAAiB,CAAC;CAGpD"}
@@ -6,35 +6,37 @@ export declare class UiClient extends BaseEsiClient<typeof uiEndpoints> {
6
6
  /**
7
7
  * Sets a solar system as an autopilot waypoint in the EVE client.
8
8
  *
9
- * @param body - The waypoint configuration including destination, whether to add to beginning, and whether to clear other waypoints
9
+ * @param destinationId - The solar system, station, or structure ID to set as waypoint
10
+ * @param addToBeginning - Whether to add the waypoint to the beginning of the route
11
+ * @param clearOtherWaypoints - Whether to clear existing waypoints first
10
12
  * @requires Authentication
11
13
  */
12
- setAutopilotWaypoint(body: object): Promise<void>;
14
+ setAutopilotWaypoint(destinationId: number, addToBeginning: boolean, clearOtherWaypoints: boolean): Promise<void>;
13
15
  /**
14
16
  * Opens the contract window for a specific contract in the EVE client.
15
17
  *
16
- * @param body - The contract details including the contract ID to display
18
+ * @param contractId - The contract ID to display
17
19
  * @requires Authentication
18
20
  */
19
- openContractWindow(body: object): Promise<void>;
21
+ openContractWindow(contractId: number): Promise<void>;
20
22
  /**
21
23
  * Opens the information window for a specific entity in the EVE client.
22
24
  *
23
- * @param body - The target entity details including the target ID to display
25
+ * @param targetId - The character, corporation, alliance, or type ID to display
24
26
  * @requires Authentication
25
27
  */
26
- openInformationWindow(body: object): Promise<void>;
28
+ openInformationWindow(targetId: number): Promise<void>;
27
29
  /**
28
30
  * Opens the market details window for a specific type in the EVE client.
29
31
  *
30
- * @param body - The market item details including the type ID to display
32
+ * @param typeId - The inventory type ID to display market details for
31
33
  * @requires Authentication
32
34
  */
33
- openMarketDetailsWindow(body: object): Promise<void>;
35
+ openMarketDetailsWindow(typeId: number): Promise<void>;
34
36
  /**
35
37
  * Opens the new mail composition window in the EVE client with pre-filled fields.
36
38
  *
37
- * @param body - The mail details including recipients, subject, and body text
39
+ * @param body - The mail details including recipients (integer array), subject, and body text
38
40
  * @requires Authentication
39
41
  */
40
42
  openNewMailWindow(body: object): Promise<void>;
@@ -1 +1 @@
1
- {"version":3,"file":"UiClient.d.ts","sourceRoot":"","sources":["../../src/clients/UiClient.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAE5D,qBAAa,QAAS,SAAQ,aAAa,CAAC,OAAO,WAAW,CAAC;gBACjD,MAAM,EAAE,SAAS;IAI7B;;;;;OAKG;IACH,oBAAoB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAIjD;;;;;OAKG;IACH,kBAAkB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAI/C;;;;;OAKG;IACH,qBAAqB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAIlD;;;;;OAKG;IACH,uBAAuB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAIpD;;;;;OAKG;IACH,iBAAiB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;CAG/C"}
1
+ {"version":3,"file":"UiClient.d.ts","sourceRoot":"","sources":["../../src/clients/UiClient.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAE5D,qBAAa,QAAS,SAAQ,aAAa,CAAC,OAAO,WAAW,CAAC;gBACjD,MAAM,EAAE,SAAS;IAI7B;;;;;;;OAOG;IACH,oBAAoB,CAClB,aAAa,EAAE,MAAM,EACrB,cAAc,EAAE,OAAO,EACvB,mBAAmB,EAAE,OAAO,GAC3B,OAAO,CAAC,IAAI,CAAC;IAQhB;;;;;OAKG;IACH,kBAAkB,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAIrD;;;;;OAKG;IACH,qBAAqB,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAItD;;;;;OAKG;IACH,uBAAuB,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAItD;;;;;OAKG;IACH,iBAAiB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;CAG/C"}
@@ -10,43 +10,45 @@ class UiClient extends BaseEsiClient_1.BaseEsiClient {
10
10
  /**
11
11
  * Sets a solar system as an autopilot waypoint in the EVE client.
12
12
  *
13
- * @param body - The waypoint configuration including destination, whether to add to beginning, and whether to clear other waypoints
13
+ * @param destinationId - The solar system, station, or structure ID to set as waypoint
14
+ * @param addToBeginning - Whether to add the waypoint to the beginning of the route
15
+ * @param clearOtherWaypoints - Whether to clear existing waypoints first
14
16
  * @requires Authentication
15
17
  */
16
- setAutopilotWaypoint(body) {
17
- return this.api.setAutopilotWaypoint(body);
18
+ setAutopilotWaypoint(destinationId, addToBeginning, clearOtherWaypoints) {
19
+ return this.api.setAutopilotWaypoint(destinationId, addToBeginning, clearOtherWaypoints);
18
20
  }
19
21
  /**
20
22
  * Opens the contract window for a specific contract in the EVE client.
21
23
  *
22
- * @param body - The contract details including the contract ID to display
24
+ * @param contractId - The contract ID to display
23
25
  * @requires Authentication
24
26
  */
25
- openContractWindow(body) {
26
- return this.api.openContractWindow(body);
27
+ openContractWindow(contractId) {
28
+ return this.api.openContractWindow(contractId);
27
29
  }
28
30
  /**
29
31
  * Opens the information window for a specific entity in the EVE client.
30
32
  *
31
- * @param body - The target entity details including the target ID to display
33
+ * @param targetId - The character, corporation, alliance, or type ID to display
32
34
  * @requires Authentication
33
35
  */
34
- openInformationWindow(body) {
35
- return this.api.openInformationWindow(body);
36
+ openInformationWindow(targetId) {
37
+ return this.api.openInformationWindow(targetId);
36
38
  }
37
39
  /**
38
40
  * Opens the market details window for a specific type in the EVE client.
39
41
  *
40
- * @param body - The market item details including the type ID to display
42
+ * @param typeId - The inventory type ID to display market details for
41
43
  * @requires Authentication
42
44
  */
43
- openMarketDetailsWindow(body) {
44
- return this.api.openMarketDetailsWindow(body);
45
+ openMarketDetailsWindow(typeId) {
46
+ return this.api.openMarketDetailsWindow(typeId);
45
47
  }
46
48
  /**
47
49
  * Opens the new mail composition window in the EVE client with pre-filled fields.
48
50
  *
49
- * @param body - The mail details including recipients, subject, and body text
51
+ * @param body - The mail details including recipients (integer array), subject, and body text
50
52
  * @requires Authentication
51
53
  */
52
54
  openNewMailWindow(body) {
@@ -38,16 +38,24 @@ export type EndpointArgs<D> = D extends {
38
38
  pathParams: infer P extends readonly string[];
39
39
  } ? D extends {
40
40
  bodyBuilder: (...args: infer BA) => unknown;
41
- } ? [...PathParamArgs<P>, ...BA] : D extends {
41
+ } ? D extends {
42
+ queryParams: Record<string, string>;
43
+ } ? [
44
+ ...PathParamArgs<P>,
45
+ ...(string | number | boolean | undefined)[],
46
+ ...BA
47
+ ] : [...PathParamArgs<P>, ...BA] : D extends {
42
48
  hasBody: true;
43
49
  } ? [...PathParamArgs<P>, body: object] : D extends {
44
50
  queryParams: Record<string, string>;
45
- } ? [...PathParamArgs<P>, ...(string | number | undefined)[]] : PathParamArgs<P> : D extends {
51
+ } ? [...PathParamArgs<P>, ...(string | number | boolean | undefined)[]] : PathParamArgs<P> : D extends {
46
52
  bodyBuilder: (...args: infer BA) => unknown;
47
- } ? BA : D extends {
53
+ } ? D extends {
54
+ queryParams: Record<string, string>;
55
+ } ? [...(string | number | boolean | undefined)[], ...BA] : BA : D extends {
48
56
  hasBody: true;
49
57
  } ? [body: object] : D extends {
50
58
  queryParams: Record<string, string>;
51
- } ? (string | number | undefined)[] : [];
59
+ } ? (string | number | boolean | undefined)[] : [];
52
60
  export {};
53
61
  //# sourceMappingURL=EndpointDefinition.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"EndpointDefinition.d.ts","sourceRoot":"","sources":["../../../src/core/endpoints/EndpointDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,MAAM,UAAU,GAAG,KAAK,GAAG,MAAM,GAAG,KAAK,GAAG,QAAQ,CAAC;AAE3D,MAAM,WAAW,eAAe;IAC9B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,kBAAkB;IACjC,qEAAqE;IACrE,IAAI,EAAE,MAAM,CAAC;IACb,kBAAkB;IAClB,MAAM,EAAE,UAAU,CAAC;IACnB,kDAAkD;IAClD,YAAY,EAAE,OAAO,CAAC;IACtB,qDAAqD;IACrD,UAAU,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAC/B,6EAA6E;IAC7E,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACrC,wEAAwE;IACxE,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,mFAAmF;IAEnF,WAAW,CAAC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CAAC,CAAC,GACtB,CAAC,SAAS;IAAE,WAAW,EAAE,CAAC,GAAG,IAAI,EAAE,MAAM,EAAE,KAAK,OAAO,CAAA;CAAE,GACvD,CAAC,SAAS;IAAE,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CAAE,GAC/C,CAAC,GAAG,CAAC,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC,EAAE,EAAE,GAAG,EAAE,CAAC,GACrD,EAAE,GACJ,CAAC,SAAS;IAAE,OAAO,EAAE,IAAI,CAAA;CAAE,GACzB,CAAC,IAAI,EAAE,MAAM,CAAC,GACd,CAAC,SAAS;IAAE,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CAAE,GAC/C,CAAC,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC,EAAE,GACzC,EAAE,CAAC"}
@@ -14,6 +14,7 @@ export declare const assetEndpoints: {
14
14
  other: "other";
15
15
  solar_system: "solar_system";
16
16
  station: "station";
17
+ item: "item";
17
18
  }>;
18
19
  location_flag: z.ZodString;
19
20
  is_singleton: z.ZodBoolean;
@@ -1 +1 @@
1
- {"version":3,"file":"assetEndpoints.d.ts","sourceRoot":"","sources":["../../../src/core/endpoints/assetEndpoints.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAmBA,MAAM,EAAE;;;;;;;;;;;;;;;wCAQR,MAAM,EAAE;;;;;;;;;;;wCAQR,MAAM,EAAE;;;;;;;wCAOR,MAAM,EAAE;;CAEH,CAAC"}
1
+ {"version":3,"file":"assetEndpoints.d.ts","sourceRoot":"","sources":["../../../src/core/endpoints/assetEndpoints.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAmBA,MAAM,EAAE;;;;;;;;;;;;;;;wCAQR,MAAM,EAAE;;;;;;;;;;;wCAQR,MAAM,EAAE;;;;;;;wCAOR,MAAM,EAAE;;CAEH,CAAC"}
@@ -89,21 +89,29 @@ export declare const contactEndpoints: {
89
89
  readonly method: "POST";
90
90
  readonly requiresAuth: true;
91
91
  readonly pathParams: readonly ["characterId"];
92
- readonly hasBody: true;
92
+ readonly queryParams: {
93
+ readonly standing: "standing";
94
+ };
95
+ readonly bodyBuilder: (contactIds: number[]) => number[];
93
96
  };
94
97
  readonly editContacts: {
95
98
  readonly path: "characters/{characterId}/contacts";
96
99
  readonly method: "PUT";
97
100
  readonly requiresAuth: true;
98
101
  readonly pathParams: readonly ["characterId"];
99
- readonly hasBody: true;
102
+ readonly queryParams: {
103
+ readonly standing: "standing";
104
+ };
105
+ readonly bodyBuilder: (contactIds: number[]) => number[];
100
106
  };
101
107
  readonly deleteCharacterContacts: {
102
108
  readonly path: "characters/{characterId}/contacts";
103
109
  readonly method: "DELETE";
104
110
  readonly requiresAuth: true;
105
111
  readonly pathParams: readonly ["characterId"];
106
- readonly bodyBuilder: (contactIds: number[]) => number[];
112
+ readonly queryParams: {
113
+ readonly contactIds: "contact_ids";
114
+ };
107
115
  };
108
116
  };
109
117
  //# sourceMappingURL=contactEndpoints.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"contactEndpoints.d.ts","sourceRoot":"","sources":["../../../src/core/endpoints/contactEndpoints.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2CA8DC,MAAM,EAAE;;CAEN,CAAC"}
1
+ {"version":3,"file":"contactEndpoints.d.ts","sourceRoot":"","sources":["../../../src/core/endpoints/contactEndpoints.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2CAiDC,MAAM,EAAE;;;;;;;;;;2CAQR,MAAM,EAAE;;;;;;;;;;;CASN,CAAC"}
@@ -51,20 +51,22 @@ exports.contactEndpoints = {
51
51
  method: 'POST',
52
52
  requiresAuth: true,
53
53
  pathParams: ['characterId'],
54
- hasBody: true,
54
+ queryParams: { standing: 'standing' },
55
+ bodyBuilder: (contactIds) => contactIds,
55
56
  },
56
57
  editContacts: {
57
58
  path: 'characters/{characterId}/contacts',
58
59
  method: 'PUT',
59
60
  requiresAuth: true,
60
61
  pathParams: ['characterId'],
61
- hasBody: true,
62
+ queryParams: { standing: 'standing' },
63
+ bodyBuilder: (contactIds) => contactIds,
62
64
  },
63
65
  deleteCharacterContacts: {
64
66
  path: 'characters/{characterId}/contacts',
65
67
  method: 'DELETE',
66
68
  requiresAuth: true,
67
69
  pathParams: ['characterId'],
68
- bodyBuilder: (contactIds) => contactIds,
70
+ queryParams: { contactIds: 'contact_ids' },
69
71
  },
70
72
  };
@@ -191,8 +191,8 @@ export declare const factionEndpoints: {
191
191
  readonly method: "GET";
192
192
  readonly requiresAuth: false;
193
193
  readonly responseSchema: z.ZodArray<z.ZodObject<{
194
- aggressor_id: z.ZodNumber;
195
- defender_id: z.ZodNumber;
194
+ faction_id: z.ZodNumber;
195
+ against_id: z.ZodNumber;
196
196
  }, z.core.$loose>>;
197
197
  };
198
198
  };
@@ -12,7 +12,7 @@ export declare const fittingEndpoints: {
12
12
  ship_type_id: z.ZodNumber;
13
13
  items: z.ZodArray<z.ZodObject<{
14
14
  type_id: z.ZodNumber;
15
- flag: z.ZodNumber;
15
+ flag: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
16
16
  quantity: z.ZodNumber;
17
17
  }, z.core.$loose>>;
18
18
  }, z.core.$loose>>;
@@ -9,10 +9,10 @@ export declare const freelanceJobsEndpoints: {
9
9
  readonly after: "after";
10
10
  };
11
11
  readonly responseSchema: z.ZodObject<{
12
- cursor: z.ZodObject<{
12
+ cursor: z.ZodOptional<z.ZodObject<{
13
13
  before: z.ZodNullable<z.ZodString>;
14
14
  after: z.ZodNullable<z.ZodString>;
15
- }, z.core.$loose>;
15
+ }, z.core.$loose>>;
16
16
  freelance_jobs: z.ZodArray<z.ZodObject<{
17
17
  id: z.ZodString;
18
18
  name: z.ZodString;
@@ -70,8 +70,8 @@ export declare const freelanceJobsEndpoints: {
70
70
  }, z.core.$loose>;
71
71
  contribution: z.ZodObject<{
72
72
  max_committed_participants: z.ZodNumber;
73
- reward_per_contribution: z.ZodNumber;
74
- submission_multiplier: z.ZodNumber;
73
+ reward_per_contribution: z.ZodOptional<z.ZodNumber>;
74
+ submission_multiplier: z.ZodOptional<z.ZodNumber>;
75
75
  }, z.core.$loose>;
76
76
  access_and_visibility: z.ZodObject<{
77
77
  acl_protected: z.ZodBoolean;
@@ -92,10 +92,10 @@ export declare const freelanceJobsEndpoints: {
92
92
  readonly after: "after";
93
93
  };
94
94
  readonly responseSchema: z.ZodObject<{
95
- cursor: z.ZodObject<{
95
+ cursor: z.ZodOptional<z.ZodObject<{
96
96
  before: z.ZodNullable<z.ZodString>;
97
97
  after: z.ZodNullable<z.ZodString>;
98
- }, z.core.$loose>;
98
+ }, z.core.$loose>>;
99
99
  freelance_jobs: z.ZodArray<z.ZodObject<{
100
100
  id: z.ZodString;
101
101
  name: z.ZodString;
@@ -135,10 +135,10 @@ export declare const freelanceJobsEndpoints: {
135
135
  readonly after: "after";
136
136
  };
137
137
  readonly responseSchema: z.ZodObject<{
138
- cursor: z.ZodObject<{
138
+ cursor: z.ZodOptional<z.ZodObject<{
139
139
  before: z.ZodNullable<z.ZodString>;
140
140
  after: z.ZodNullable<z.ZodString>;
141
- }, z.core.$loose>;
141
+ }, z.core.$loose>>;
142
142
  freelance_jobs: z.ZodArray<z.ZodObject<{
143
143
  id: z.ZodString;
144
144
  name: z.ZodString;
@@ -12,6 +12,7 @@ export declare const mailEndpoints: {
12
12
  timestamp: z.ZodOptional<z.ZodString>;
13
13
  labels: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
14
14
  is_read: z.ZodOptional<z.ZodBoolean>;
15
+ body: z.ZodOptional<z.ZodString>;
15
16
  recipients: z.ZodOptional<z.ZodArray<z.ZodObject<{
16
17
  recipient_id: z.ZodNumber;
17
18
  recipient_type: z.ZodEnum<{
@@ -42,6 +43,7 @@ export declare const mailEndpoints: {
42
43
  timestamp: z.ZodOptional<z.ZodString>;
43
44
  labels: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
44
45
  is_read: z.ZodOptional<z.ZodBoolean>;
46
+ body: z.ZodOptional<z.ZodString>;
45
47
  recipients: z.ZodOptional<z.ZodArray<z.ZodObject<{
46
48
  recipient_id: z.ZodNumber;
47
49
  recipient_type: z.ZodEnum<{
@@ -1 +1 @@
1
- {"version":3,"file":"mailEndpoints.d.ts","sourceRoot":"","sources":["../../../src/core/endpoints/mailEndpoints.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4DM,CAAC"}
1
+ {"version":3,"file":"mailEndpoints.d.ts","sourceRoot":"","sources":["../../../src/core/endpoints/mailEndpoints.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4DM,CAAC"}
@@ -29,22 +29,36 @@ export declare const sovereigntyEndpoints: {
29
29
  readonly path: "sovereignty/systems";
30
30
  readonly method: "GET";
31
31
  readonly requiresAuth: false;
32
- readonly responseSchema: z.ZodArray<z.ZodObject<{
33
- system_id: z.ZodNumber;
34
- alliance_id: z.ZodOptional<z.ZodNumber>;
35
- corporation_id: z.ZodOptional<z.ZodNumber>;
36
- faction_id: z.ZodOptional<z.ZodNumber>;
37
- military_index: z.ZodOptional<z.ZodNumber>;
38
- industry_index: z.ZodOptional<z.ZodNumber>;
39
- strategic_index: z.ZodOptional<z.ZodNumber>;
40
- structures: z.ZodOptional<z.ZodArray<z.ZodObject<{
41
- structure_id: z.ZodNumber;
42
- structure_type_id: z.ZodNumber;
43
- vulnerability_occupancy_level: z.ZodOptional<z.ZodNumber>;
44
- vulnerable_start_time: z.ZodOptional<z.ZodString>;
45
- vulnerable_end_time: z.ZodOptional<z.ZodString>;
46
- }, z.core.$loose>>>;
47
- }, z.core.$loose>>;
32
+ readonly responseSchema: z.ZodObject<{
33
+ solar_systems: z.ZodArray<z.ZodObject<{
34
+ solar_system_id: z.ZodNumber;
35
+ claim: z.ZodObject<{
36
+ alliance: z.ZodOptional<z.ZodObject<{
37
+ alliance_id: z.ZodNumber;
38
+ corporation_id: z.ZodOptional<z.ZodNumber>;
39
+ claimed_since: z.ZodOptional<z.ZodString>;
40
+ sovereignty_hub: z.ZodOptional<z.ZodObject<{
41
+ id: z.ZodNumber;
42
+ vulnerability_window: z.ZodOptional<z.ZodObject<{
43
+ start: z.ZodString;
44
+ end: z.ZodString;
45
+ }, z.core.$loose>>;
46
+ }, z.core.$loose>>;
47
+ is_capital_system: z.ZodOptional<z.ZodBoolean>;
48
+ development: z.ZodOptional<z.ZodObject<{
49
+ activity_defense_multiplier: z.ZodOptional<z.ZodNumber>;
50
+ military_level: z.ZodOptional<z.ZodNumber>;
51
+ industrial_level: z.ZodOptional<z.ZodNumber>;
52
+ strategic_level: z.ZodOptional<z.ZodNumber>;
53
+ }, z.core.$loose>>;
54
+ }, z.core.$loose>>;
55
+ faction: z.ZodOptional<z.ZodObject<{
56
+ faction_id: z.ZodNumber;
57
+ }, z.core.$loose>>;
58
+ unclaimed: z.ZodOptional<z.ZodBoolean>;
59
+ }, z.core.$loose>;
60
+ }, z.core.$loose>>;
61
+ }, z.core.$loose>;
48
62
  };
49
63
  };
50
64
  //# sourceMappingURL=sovereigntyEndpoints.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sovereigntyEndpoints.d.ts","sourceRoot":"","sources":["../../../src/core/endpoints/sovereigntyEndpoints.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAaD,CAAC"}
1
+ {"version":3,"file":"sovereigntyEndpoints.d.ts","sourceRoot":"","sources":["../../../src/core/endpoints/sovereigntyEndpoints.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAaD,CAAC"}
@@ -14,6 +14,6 @@ exports.sovereigntyEndpoints = {
14
14
  path: 'sovereignty/systems',
15
15
  method: 'GET',
16
16
  requiresAuth: false,
17
- responseSchema: zod_1.z.array(sovereignty_1.SovereigntySystemSchema),
17
+ responseSchema: sovereignty_1.SovereigntySystemSchema,
18
18
  },
19
19
  };
@@ -3,25 +3,35 @@ export declare const uiEndpoints: {
3
3
  readonly path: "ui/autopilot/waypoint";
4
4
  readonly method: "POST";
5
5
  readonly requiresAuth: true;
6
- readonly hasBody: true;
6
+ readonly queryParams: {
7
+ readonly destinationId: "destination_id";
8
+ readonly addToBeginning: "add_to_beginning";
9
+ readonly clearOtherWaypoints: "clear_other_waypoints";
10
+ };
7
11
  };
8
12
  readonly openContractWindow: {
9
13
  readonly path: "ui/openwindow/contract";
10
14
  readonly method: "POST";
11
15
  readonly requiresAuth: true;
12
- readonly hasBody: true;
16
+ readonly queryParams: {
17
+ readonly contractId: "contract_id";
18
+ };
13
19
  };
14
20
  readonly openInformationWindow: {
15
21
  readonly path: "ui/openwindow/information";
16
22
  readonly method: "POST";
17
23
  readonly requiresAuth: true;
18
- readonly hasBody: true;
24
+ readonly queryParams: {
25
+ readonly targetId: "target_id";
26
+ };
19
27
  };
20
28
  readonly openMarketDetailsWindow: {
21
29
  readonly path: "ui/openwindow/marketdetails";
22
30
  readonly method: "POST";
23
31
  readonly requiresAuth: true;
24
- readonly hasBody: true;
32
+ readonly queryParams: {
33
+ readonly typeId: "type_id";
34
+ };
25
35
  };
26
36
  readonly openNewMailWindow: {
27
37
  readonly path: "ui/openwindow/newmail";
@@ -1 +1 @@
1
- {"version":3,"file":"uiEndpoints.d.ts","sourceRoot":"","sources":["../../../src/core/endpoints/uiEndpoints.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+BQ,CAAC"}
1
+ {"version":3,"file":"uiEndpoints.d.ts","sourceRoot":"","sources":["../../../src/core/endpoints/uiEndpoints.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmCQ,CAAC"}
@@ -6,25 +6,29 @@ exports.uiEndpoints = {
6
6
  path: 'ui/autopilot/waypoint',
7
7
  method: 'POST',
8
8
  requiresAuth: true,
9
- hasBody: true,
9
+ queryParams: {
10
+ destinationId: 'destination_id',
11
+ addToBeginning: 'add_to_beginning',
12
+ clearOtherWaypoints: 'clear_other_waypoints',
13
+ },
10
14
  },
11
15
  openContractWindow: {
12
16
  path: 'ui/openwindow/contract',
13
17
  method: 'POST',
14
18
  requiresAuth: true,
15
- hasBody: true,
19
+ queryParams: { contractId: 'contract_id' },
16
20
  },
17
21
  openInformationWindow: {
18
22
  path: 'ui/openwindow/information',
19
23
  method: 'POST',
20
24
  requiresAuth: true,
21
- hasBody: true,
25
+ queryParams: { targetId: 'target_id' },
22
26
  },
23
27
  openMarketDetailsWindow: {
24
28
  path: 'ui/openwindow/marketdetails',
25
29
  method: 'POST',
26
30
  requiresAuth: true,
27
- hasBody: true,
31
+ queryParams: { typeId: 'type_id' },
28
32
  },
29
33
  openNewMailWindow: {
30
34
  path: 'ui/openwindow/newmail',
@@ -38,7 +38,7 @@ export declare const universeEndpoints: {
38
38
  description: z.ZodString;
39
39
  race_id: z.ZodNumber;
40
40
  corporation_id: z.ZodNumber;
41
- ship_type_id: z.ZodNumber;
41
+ ship_type_id: z.ZodNullable<z.ZodNumber>;
42
42
  charisma: z.ZodNumber;
43
43
  intelligence: z.ZodNumber;
44
44
  memory: z.ZodNumber;
@@ -8,6 +8,7 @@ export declare const CharacterAssetSchema: z.ZodObject<{
8
8
  other: "other";
9
9
  solar_system: "solar_system";
10
10
  station: "station";
11
+ item: "item";
11
12
  }>;
12
13
  location_flag: z.ZodString;
13
14
  is_singleton: z.ZodBoolean;
@@ -1 +1 @@
1
- {"version":3,"file":"assets.d.ts","sourceRoot":"","sources":["../../src/schemas/assets.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;iBAS/B,CAAC;AAEH,eAAO,MAAM,mBAAmB;;;;;;;iBAO9B,CAAC;AAEH,eAAO,MAAM,eAAe;;;iBAG1B,CAAC"}
1
+ {"version":3,"file":"assets.d.ts","sourceRoot":"","sources":["../../src/schemas/assets.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;iBAS/B,CAAC;AAEH,eAAO,MAAM,mBAAmB;;;;;;;iBAO9B,CAAC;AAEH,eAAO,MAAM,eAAe;;;iBAG1B,CAAC"}
@@ -7,7 +7,7 @@ exports.CharacterAssetSchema = zod_1.z.looseObject({
7
7
  type_id: zod_1.z.number(),
8
8
  quantity: zod_1.z.number(),
9
9
  location_id: zod_1.z.number(),
10
- location_type: zod_1.z.enum(['station', 'solar_system', 'other']),
10
+ location_type: zod_1.z.enum(['station', 'solar_system', 'item', 'other']),
11
11
  location_flag: zod_1.z.string(),
12
12
  is_singleton: zod_1.z.boolean(),
13
13
  is_blueprint_copy: zod_1.z.boolean().optional(),
@@ -44,8 +44,8 @@ export declare const FactionWarfareSystemSchema: z.ZodObject<{
44
44
  victory_points_threshold: z.ZodNumber;
45
45
  }, z.core.$loose>;
46
46
  export declare const FactionWarfareWarSchema: z.ZodObject<{
47
- aggressor_id: z.ZodNumber;
48
- defender_id: z.ZodNumber;
47
+ faction_id: z.ZodNumber;
48
+ against_id: z.ZodNumber;
49
49
  }, z.core.$loose>;
50
50
  export declare const FactionWarfareLeaderboardSchema: z.ZodObject<{
51
51
  kills: z.ZodObject<{
@@ -42,8 +42,8 @@ exports.FactionWarfareSystemSchema = zod_1.z.looseObject({
42
42
  victory_points_threshold: zod_1.z.number(),
43
43
  });
44
44
  exports.FactionWarfareWarSchema = zod_1.z.looseObject({
45
- aggressor_id: zod_1.z.number(),
46
- defender_id: zod_1.z.number(),
45
+ faction_id: zod_1.z.number(),
46
+ against_id: zod_1.z.number(),
47
47
  });
48
48
  exports.FactionWarfareLeaderboardSchema = zod_1.z.looseObject({
49
49
  kills: zod_1.z.looseObject({
@@ -6,7 +6,7 @@ export declare const FittingSchema: z.ZodObject<{
6
6
  ship_type_id: z.ZodNumber;
7
7
  items: z.ZodArray<z.ZodObject<{
8
8
  type_id: z.ZodNumber;
9
- flag: z.ZodNumber;
9
+ flag: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
10
10
  quantity: z.ZodNumber;
11
11
  }, z.core.$loose>>;
12
12
  }, z.core.$loose>;
@@ -9,7 +9,7 @@ exports.FittingSchema = zod_1.z.looseObject({
9
9
  ship_type_id: zod_1.z.number(),
10
10
  items: zod_1.z.array(zod_1.z.looseObject({
11
11
  type_id: zod_1.z.number(),
12
- flag: zod_1.z.number(),
12
+ flag: zod_1.z.union([zod_1.z.number(), zod_1.z.string()]),
13
13
  quantity: zod_1.z.number(),
14
14
  })),
15
15
  });
@@ -18,10 +18,10 @@ export declare const FreelanceJobSummarySchema: z.ZodObject<{
18
18
  }, z.core.$loose>>;
19
19
  }, z.core.$loose>;
20
20
  export declare const FreelanceJobsListingSchema: z.ZodObject<{
21
- cursor: z.ZodObject<{
21
+ cursor: z.ZodOptional<z.ZodObject<{
22
22
  before: z.ZodNullable<z.ZodString>;
23
23
  after: z.ZodNullable<z.ZodString>;
24
- }, z.core.$loose>;
24
+ }, z.core.$loose>>;
25
25
  freelance_jobs: z.ZodArray<z.ZodObject<{
26
26
  id: z.ZodString;
27
27
  name: z.ZodString;
@@ -73,8 +73,8 @@ export declare const FreelanceJobDetailSchema: z.ZodObject<{
73
73
  }, z.core.$loose>;
74
74
  contribution: z.ZodObject<{
75
75
  max_committed_participants: z.ZodNumber;
76
- reward_per_contribution: z.ZodNumber;
77
- submission_multiplier: z.ZodNumber;
76
+ reward_per_contribution: z.ZodOptional<z.ZodNumber>;
77
+ submission_multiplier: z.ZodOptional<z.ZodNumber>;
78
78
  }, z.core.$loose>;
79
79
  access_and_visibility: z.ZodObject<{
80
80
  acl_protected: z.ZodBoolean;
@@ -85,10 +85,10 @@ export declare const FreelanceJobDetailSchema: z.ZodObject<{
85
85
  }, z.core.$loose>;
86
86
  }, z.core.$loose>;
87
87
  export declare const CharacterFreelanceJobsListingSchema: z.ZodObject<{
88
- cursor: z.ZodObject<{
88
+ cursor: z.ZodOptional<z.ZodObject<{
89
89
  before: z.ZodNullable<z.ZodString>;
90
90
  after: z.ZodNullable<z.ZodString>;
91
- }, z.core.$loose>;
91
+ }, z.core.$loose>>;
92
92
  freelance_jobs: z.ZodArray<z.ZodObject<{
93
93
  id: z.ZodString;
94
94
  name: z.ZodString;
@@ -112,10 +112,10 @@ export declare const FreelanceJobParticipationSchema: z.ZodObject<{
112
112
  last_contribution: z.ZodOptional<z.ZodString>;
113
113
  }, z.core.$loose>;
114
114
  export declare const CorporationFreelanceJobsListingSchema: z.ZodObject<{
115
- cursor: z.ZodObject<{
115
+ cursor: z.ZodOptional<z.ZodObject<{
116
116
  before: z.ZodNullable<z.ZodString>;
117
117
  after: z.ZodNullable<z.ZodString>;
118
- }, z.core.$loose>;
118
+ }, z.core.$loose>>;
119
119
  freelance_jobs: z.ZodArray<z.ZodObject<{
120
120
  id: z.ZodString;
121
121
  name: z.ZodString;