@umerx/umerx-blackdog-configurator-client-typescript
Advanced tools
Comparing version 0.0.39 to 0.0.40
@@ -32,3 +32,3 @@ import { Response as ResponseTypes, Symbol as SymbolTypes, Strategy as StrategyTypes, StrategyLog as StrategyLogTypes, StrategyValue as StrategyValueTypes, Order as OrderTypes, Position as PositionTypes, StrategyTemplateSeaDogDiscountScheme as StrategyTemplateSeaDogDiscountSchemeTypes, } from '@umerx/umerx-blackdog-configurator-types-typescript'; | ||
return validateResponse(async () => { | ||
const response = await axios.get(`${this.baseUrl}/?${new URLSearchParams(Object.entries(query)).toString()}`); | ||
const response = await axios.get(`${this.baseUrl}/?${new URLSearchParams(Object.entries(query)).toString()}`, { withCredentials: true }); | ||
const responseBody = SymbolTypes.SymbolGetManyResponseBodyFromRaw(response.data); | ||
@@ -43,3 +43,3 @@ if (responseBody.status !== 'success') { | ||
return validateResponse(async () => { | ||
const response = await axios.get(`${this.baseUrl}/${params.id}`); | ||
const response = await axios.get(`${this.baseUrl}/${params.id}`, { withCredentials: true }); | ||
const responseBody = SymbolTypes.SymbolGetSingleResponseBodyFromRaw(response.data); | ||
@@ -54,3 +54,3 @@ if (responseBody.status !== 'success') { | ||
return validateResponse(async () => { | ||
const response = await axios.post(`${this.baseUrl}`, body); | ||
const response = await axios.post(`${this.baseUrl}`, body, { withCredentials: true }); | ||
const responseBody = SymbolTypes.SymbolPostManyResponseBodyFromRaw(response.data); | ||
@@ -71,3 +71,3 @@ if (responseBody.status !== 'success') { | ||
return validateResponse(async () => { | ||
const response = await axios.get(`${this.baseUrl}/?${new URLSearchParams(Object.entries(query)).toString()}`); | ||
const response = await axios.get(`${this.baseUrl}/?${new URLSearchParams(Object.entries(query)).toString()}`, { withCredentials: true }); | ||
const responseBody = StrategyTypes.StrategyGetManyResponseBodyFromRaw(response.data); | ||
@@ -82,3 +82,3 @@ if (responseBody.status !== 'success') { | ||
return validateResponse(async () => { | ||
const response = await axios.get(`${this.baseUrl}/${params.id}`); | ||
const response = await axios.get(`${this.baseUrl}/${params.id}`, { withCredentials: true }); | ||
const responseBody = StrategyTypes.StrategyGetSingleResponseBodyFromRaw(response.data); | ||
@@ -93,3 +93,3 @@ if (responseBody.status !== 'success') { | ||
return validateResponse(async () => { | ||
const response = await axios.post(`${this.baseUrl}`, body); | ||
const response = await axios.post(`${this.baseUrl}`, body, { withCredentials: true }); | ||
const responseBody = StrategyTypes.StrategyPostManyResponseBodyFromRaw(response.data); | ||
@@ -104,3 +104,3 @@ if (responseBody.status !== 'success') { | ||
return validateResponse(async () => { | ||
const response = await axios.put(`${this.baseUrl}`, body); | ||
const response = await axios.put(`${this.baseUrl}`, body, { withCredentials: true }); | ||
const responseBody = StrategyTypes.StrategyPutManyResponseBodyFromRaw(response.data); | ||
@@ -115,3 +115,3 @@ if (responseBody.status !== 'success') { | ||
return validateResponse(async () => { | ||
const response = await axios.put(`${this.baseUrl}/${params.id}`, body); | ||
const response = await axios.put(`${this.baseUrl}/${params.id}`, body, { withCredentials: true }); | ||
const responseBody = StrategyTypes.StrategyPutSingleResponseBodyFromRaw(response.data); | ||
@@ -126,3 +126,3 @@ if (responseBody.status !== 'success') { | ||
return validateResponse(async () => { | ||
const response = await axios.patch(`${this.baseUrl}`, body); | ||
const response = await axios.patch(`${this.baseUrl}`, body, { withCredentials: true }); | ||
const responseBody = StrategyTypes.StrategyPatchManyResponseBodyFromRaw(response.data); | ||
@@ -137,3 +137,3 @@ if (responseBody.status !== 'success') { | ||
return validateResponse(async () => { | ||
const response = await axios.patch(`${this.baseUrl}/${params.id}`, body); | ||
const response = await axios.patch(`${this.baseUrl}/${params.id}`, body, { withCredentials: true }); | ||
const responseBody = StrategyTypes.StrategyPatchSingleResponseBodyFromRaw(response.data); | ||
@@ -148,3 +148,3 @@ if (responseBody.status !== 'success') { | ||
return validateResponse(async () => { | ||
const response = await axios.delete(`${this.baseUrl}/?${new URLSearchParams(Object.entries(query)).toString()}`); | ||
const response = await axios.delete(`${this.baseUrl}/?${new URLSearchParams(Object.entries(query)).toString()}`, { withCredentials: true }); | ||
const responseBody = StrategyTypes.StrategyDeleteManyResponseBodyFromRaw(response.data); | ||
@@ -159,3 +159,3 @@ if (responseBody.status !== 'success') { | ||
return validateResponse(async () => { | ||
const response = await axios.delete(`${this.baseUrl}/${params.id}`); | ||
const response = await axios.delete(`${this.baseUrl}/${params.id}`, { withCredentials: true }); | ||
const responseBody = StrategyTypes.StrategyDeleteSingleResponseBodyFromRaw(response.data); | ||
@@ -170,3 +170,3 @@ if (responseBody.status !== 'success') { | ||
return validateResponse(async () => { | ||
const response = await axios.get(`${this.baseUrl}/${params.id}/assets`); | ||
const response = await axios.get(`${this.baseUrl}/${params.id}/assets`, { withCredentials: true }); | ||
const responseBody = StrategyTypes.StrategyAssetsGetSingleResponseBodyFromRaw(response.data); | ||
@@ -181,3 +181,3 @@ if (responseBody.status !== 'success') { | ||
return validateResponse(async () => { | ||
const response = await axios.get(`${this.baseUrl}/${params.id}/aggregateValues?${new URLSearchParams(Object.entries(query)).toString()}`); | ||
const response = await axios.get(`${this.baseUrl}/${params.id}/aggregateValues?${new URLSearchParams(Object.entries(query)).toString()}`, { withCredentials: true }); | ||
const responseBody = StrategyTypes.StrategyAggregateValuesGetManyResponseBodyFromRaw(response.data); | ||
@@ -198,3 +198,3 @@ if (responseBody.status !== 'success') { | ||
return validateResponse(async () => { | ||
const response = await axios.get(`${this.baseUrl}/?${new URLSearchParams(Object.entries(query)).toString()}`); | ||
const response = await axios.get(`${this.baseUrl}/?${new URLSearchParams(Object.entries(query)).toString()}`, { withCredentials: true }); | ||
const responseBody = StrategyLogTypes.StrategyLogGetManyResponseBodyFromRaw(response.data); | ||
@@ -209,3 +209,3 @@ if (responseBody.status !== 'success') { | ||
return validateResponse(async () => { | ||
const response = await axios.get(`${this.baseUrl}/${params.id}`); | ||
const response = await axios.get(`${this.baseUrl}/${params.id}`, { withCredentials: true }); | ||
const responseBody = StrategyLogTypes.StrategyLogGetSingleResponseBodyFromRaw(response.data); | ||
@@ -220,3 +220,3 @@ if (responseBody.status !== 'success') { | ||
return validateResponse(async () => { | ||
const response = await axios.post(`${this.baseUrl}`, body); | ||
const response = await axios.post(`${this.baseUrl}`, body, { withCredentials: true }); | ||
const responseBody = StrategyLogTypes.StrategyLogPostManyResponseBodyFromRaw(response.data); | ||
@@ -237,3 +237,3 @@ if (responseBody.status !== 'success') { | ||
return validateResponse(async () => { | ||
const response = await axios.get(`${this.baseUrl}/?${new URLSearchParams(Object.entries(query)).toString()}`); | ||
const response = await axios.get(`${this.baseUrl}/?${new URLSearchParams(Object.entries(query)).toString()}`, { withCredentials: true }); | ||
const responseBody = StrategyValueTypes.StrategyValueGetManyResponseBodyFromRaw(response.data); | ||
@@ -248,3 +248,3 @@ if (responseBody.status !== 'success') { | ||
return validateResponse(async () => { | ||
const response = await axios.get(`${this.baseUrl}/${params.id}`); | ||
const response = await axios.get(`${this.baseUrl}/${params.id}`, { withCredentials: true }); | ||
const responseBody = StrategyValueTypes.StrategyValueGetSingleResponseBodyFromRaw(response.data); | ||
@@ -259,3 +259,3 @@ if (responseBody.status !== 'success') { | ||
return validateResponse(async () => { | ||
const response = await axios.post(`${this.baseUrl}`, body); | ||
const response = await axios.post(`${this.baseUrl}`, body, { withCredentials: true }); | ||
const responseBody = StrategyValueTypes.StrategyValuePostManyResponseBodyFromRaw(response.data); | ||
@@ -276,3 +276,3 @@ if (responseBody.status !== 'success') { | ||
return validateResponse(async () => { | ||
const response = await axios.get(`${this.baseUrl}/?${new URLSearchParams(Object.entries(query)).toString()}`); | ||
const response = await axios.get(`${this.baseUrl}/?${new URLSearchParams(Object.entries(query)).toString()}`, { withCredentials: true }); | ||
const responseBody = OrderTypes.OrderGetManyResponseBodyFromRaw(response.data); | ||
@@ -287,3 +287,3 @@ if (responseBody.status !== 'success') { | ||
return validateResponse(async () => { | ||
const response = await axios.get(`${this.baseUrl}/${params.id}`); | ||
const response = await axios.get(`${this.baseUrl}/${params.id}`, { withCredentials: true }); | ||
const responseBody = OrderTypes.OrderGetSingleResponseBodyFromRaw(response.data); | ||
@@ -298,3 +298,3 @@ if (responseBody.status !== 'success') { | ||
return validateResponse(async () => { | ||
const response = await axios.post(`${this.baseUrl}`, body); | ||
const response = await axios.post(`${this.baseUrl}`, body, { withCredentials: true }); | ||
const responseBody = OrderTypes.OrderPostManyResponseBodyFromRaw(response.data); | ||
@@ -309,3 +309,3 @@ if (responseBody.status !== 'success') { | ||
return validateResponse(async () => { | ||
const response = await axios.post(`${this.baseUrl}/${params.id}/fill`); | ||
const response = await axios.post(`${this.baseUrl}/${params.id}/fill`, { withCredentials: true }); | ||
const responseBody = OrderTypes.OrderFillPostSingleResponseBodyFromRaw(response.data); | ||
@@ -320,3 +320,3 @@ if (responseBody.status !== 'success') { | ||
return validateResponse(async () => { | ||
const response = await axios.post(`${this.baseUrl}/${params.id}/cancel`); | ||
const response = await axios.post(`${this.baseUrl}/${params.id}/cancel`, { withCredentials: true }); | ||
const responseBody = OrderTypes.OrderCancelPostSingleResponseBodyFromRaw(response.data); | ||
@@ -337,3 +337,3 @@ if (responseBody.status !== 'success') { | ||
return validateResponse(async () => { | ||
const response = await axios.get(`${this.baseUrl}/?${new URLSearchParams(Object.entries(query)).toString()}`); | ||
const response = await axios.get(`${this.baseUrl}/?${new URLSearchParams(Object.entries(query)).toString()}`, { withCredentials: true }); | ||
const responseBody = PositionTypes.PositionGetManyResponseBodyFromRaw(response.data); | ||
@@ -348,3 +348,3 @@ if (responseBody.status !== 'success') { | ||
return validateResponse(async () => { | ||
const response = await axios.get(`${this.baseUrl}/${params.id}`); | ||
const response = await axios.get(`${this.baseUrl}/${params.id}`, { withCredentials: true }); | ||
const responseBody = PositionTypes.PositionGetSingleResponseBodyFromRaw(response.data); | ||
@@ -359,3 +359,3 @@ if (responseBody.status !== 'success') { | ||
return validateResponse(async () => { | ||
const response = await axios.post(`${this.baseUrl}`, body); | ||
const response = await axios.post(`${this.baseUrl}`, body, { withCredentials: true }); | ||
const responseBody = PositionTypes.PositionPostManyResponseBodyFromRaw(response.data); | ||
@@ -376,3 +376,3 @@ if (responseBody.status !== 'success') { | ||
return validateResponse(async () => { | ||
const response = await axios.get(`${this.baseUrl}/?${new URLSearchParams(Object.entries(query)).toString()}`); | ||
const response = await axios.get(`${this.baseUrl}/?${new URLSearchParams(Object.entries(query)).toString()}`, { withCredentials: true }); | ||
const responseBody = StrategyTemplateSeaDogDiscountSchemeTypes.StrategyTemplateSeaDogDiscountSchemeGetManyResponseBodyFromRaw(response.data); | ||
@@ -387,3 +387,3 @@ if (responseBody.status !== 'success') { | ||
return validateResponse(async () => { | ||
const response = await axios.get(`${this.baseUrl}/${params.id}`); | ||
const response = await axios.get(`${this.baseUrl}/${params.id}`, { withCredentials: true }); | ||
const responseBody = StrategyTemplateSeaDogDiscountSchemeTypes.StrategyTemplateSeaDogDiscountSchemeGetSingleResponseBodyFromRaw(response.data); | ||
@@ -398,3 +398,3 @@ if (responseBody.status !== 'success') { | ||
return validateResponse(async () => { | ||
const response = await axios.post(`${this.baseUrl}`, body); | ||
const response = await axios.post(`${this.baseUrl}`, body, { withCredentials: true }); | ||
const responseBody = StrategyTemplateSeaDogDiscountSchemeTypes.StrategyTemplateSeaDogDiscountSchemePostManyResponseBodyFromRaw(response.data); | ||
@@ -409,3 +409,3 @@ if (responseBody.status !== 'success') { | ||
return validateResponse(async () => { | ||
const response = await axios.put(`${this.baseUrl}`, body); | ||
const response = await axios.put(`${this.baseUrl}`, body, { withCredentials: true }); | ||
const responseBody = StrategyTemplateSeaDogDiscountSchemeTypes.StrategyTemplateSeaDogDiscountSchemePutManyResponseBodyFromRaw(response.data); | ||
@@ -420,3 +420,3 @@ if (responseBody.status !== 'success') { | ||
return validateResponse(async () => { | ||
const response = await axios.put(`${this.baseUrl}/${params.id}`, body); | ||
const response = await axios.put(`${this.baseUrl}/${params.id}`, body, { withCredentials: true }); | ||
const responseBody = StrategyTemplateSeaDogDiscountSchemeTypes.StrategyTemplateSeaDogDiscountSchemePutSingleResponseBodyFromRaw(response.data); | ||
@@ -431,3 +431,3 @@ if (responseBody.status !== 'success') { | ||
return validateResponse(async () => { | ||
const response = await axios.patch(`${this.baseUrl}`, body); | ||
const response = await axios.patch(`${this.baseUrl}`, body, { withCredentials: true }); | ||
const responseBody = StrategyTemplateSeaDogDiscountSchemeTypes.StrategyTemplateSeaDogDiscountSchemePatchManyResponseBodyFromRaw(response.data); | ||
@@ -442,3 +442,3 @@ if (responseBody.status !== 'success') { | ||
return validateResponse(async () => { | ||
const response = await axios.patch(`${this.baseUrl}/${params.id}`, body); | ||
const response = await axios.patch(`${this.baseUrl}/${params.id}`, body, { withCredentials: true }); | ||
const responseBody = StrategyTemplateSeaDogDiscountSchemeTypes.StrategyTemplateSeaDogDiscountSchemePatchSingleResponseBodyFromRaw(response.data); | ||
@@ -453,3 +453,3 @@ if (responseBody.status !== 'success') { | ||
return validateResponse(async () => { | ||
const response = await axios.delete(`${this.baseUrl}/?${new URLSearchParams(Object.entries(query)).toString()}`); | ||
const response = await axios.delete(`${this.baseUrl}/?${new URLSearchParams(Object.entries(query)).toString()}`, { withCredentials: true }); | ||
const responseBody = StrategyTemplateSeaDogDiscountSchemeTypes.StrategyTemplateSeaDogDiscountSchemeDeleteManyResponseBodyFromRaw(response.data); | ||
@@ -464,3 +464,3 @@ if (responseBody.status !== 'success') { | ||
return validateResponse(async () => { | ||
const response = await axios.delete(`${this.baseUrl}/${params.id}`); | ||
const response = await axios.delete(`${this.baseUrl}/${params.id}`, { withCredentials: true }); | ||
const responseBody = StrategyTemplateSeaDogDiscountSchemeTypes.StrategyTemplateSeaDogDiscountSchemeDeleteSingleResponseBodyFromRaw(response.data); | ||
@@ -467,0 +467,0 @@ if (responseBody.status !== 'success') { |
{ | ||
"name": "@umerx/umerx-blackdog-configurator-client-typescript", | ||
"private": false, | ||
"version": "0.0.39", | ||
"version": "0.0.40", | ||
"main": "build/index.js", | ||
@@ -6,0 +6,0 @@ "types": "build/index.d.ts", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
74867