Protected_ endpoints
_endpoints : { getCharacterWallet : { path : "characters/{characterId}/wallet" ; method : "GET" ; requiresAuth : true ; pathParams : readonly [ "characterId" ] ; responseSchema : ZodNumber ; } ; getCharacterWalletJournal : { path : "characters/{characterId}/wallet/journal" ; method : "GET" ; requiresAuth : true ; pathParams : readonly [ "characterId" ] ; responseSchema : ZodArray < ZodObject < { id : ZodNumber ; date : ZodString ; ref_type : ZodString ; first_party_id : ZodOptional < ZodNumber > ; second_party_id : ZodOptional < ZodNumber > ; amount : ZodOptional < ZodNumber > ; balance : ZodOptional < ZodNumber > ; reason : ZodOptional < ZodString > ; description : ZodString ; context_id : ZodOptional < ZodNumber > ; context_id_type : ZodOptional < ZodString > ; tax : ZodOptional < ZodNumber > ; tax_receiver_id : ZodOptional < ZodNumber > ; } , $loose , > , > ; } ; getCharacterWalletTransactions : { path : "characters/{characterId}/wallet/transactions" ; method : "GET" ; requiresAuth : true ; pathParams : readonly [ "characterId" ] ; responseSchema : ZodArray < ZodObject < { transaction_id : ZodNumber ; date : ZodString ; type_id : ZodNumber ; location_id : ZodNumber ; unit_price : ZodNumber ; quantity : ZodNumber ; client_id : ZodNumber ; is_buy : ZodBoolean ; is_personal : ZodBoolean ; journal_ref_id : ZodNumber ; } , $loose , > , > ; } ; getCorporationWallets : { path : "corporations/{corporationId}/wallets" ; method : "GET" ; requiresAuth : true ; pathParams : readonly [ "corporationId" ] ; responseSchema : ZodArray < ZodObject < { division : ZodNumber ; balance : ZodNumber } , $loose > , > ; } ; getCorporationWalletJournal : { path : "corporations/{corporationId}/wallets/{division}/journal" ; method : "GET" ; requiresAuth : true ; pathParams : readonly [ "corporationId" , "division" ] ; responseSchema : ZodArray < ZodObject < { id : ZodNumber ; date : ZodString ; ref_type : ZodString ; first_party_id : ZodOptional < ZodNumber > ; second_party_id : ZodOptional < ZodNumber > ; amount : ZodOptional < ZodNumber > ; balance : ZodOptional < ZodNumber > ; reason : ZodOptional < ZodString > ; description : ZodString ; context_id : ZodOptional < ZodNumber > ; context_id_type : ZodOptional < ZodString > ; tax : ZodOptional < ZodNumber > ; tax_receiver_id : ZodOptional < ZodNumber > ; } , $loose , > , > ; } ; getCorporationWalletTransactions : { path : "corporations/{corporationId}/wallets/{division}/transactions" ; method : "GET" ; requiresAuth : true ; pathParams : readonly [ "corporationId" , "division" ] ; responseSchema : ZodArray < ZodObject < { transaction_id : ZodNumber ; date : ZodString ; type_id : ZodNumber ; location_id : ZodNumber ; unit_price : ZodNumber ; quantity : ZodNumber ; client_id : ZodNumber ; is_buy : ZodBoolean ; journal_ref_id : ZodNumber ; } , $loose , > , > ; } ; }
The base of the custom domain clients: an endpoint map turned into methods, plus the
stream*/fetchAll*page helpers andwithMetadata/withSafeMode. Extend it for a custom domain client of your own.