@openfort/openfort-node 0.6.57 → 0.6.59
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/dist/apis/accountsApiWrapper.d.ts +1 -0
- package/dist/apis/accountsApiWrapper.js +1 -0
- package/dist/apis/accountsApiWrapper.js.map +1 -1
- package/dist/apis/baseApiWrapper.d.ts +1 -0
- package/dist/apis/baseApiWrapper.js +1 -0
- package/dist/apis/baseApiWrapper.js.map +1 -1
- package/dist/apis/contractsApiWrapper.d.ts +1 -0
- package/dist/apis/contractsApiWrapper.js +1 -0
- package/dist/apis/contractsApiWrapper.js.map +1 -1
- package/dist/apis/eventsApiWrapper.d.ts +1 -0
- package/dist/apis/eventsApiWrapper.js +1 -0
- package/dist/apis/eventsApiWrapper.js.map +1 -1
- package/dist/apis/exchangeApiWrapper.d.ts +1 -0
- package/dist/apis/exchangeApiWrapper.js +1 -0
- package/dist/apis/exchangeApiWrapper.js.map +1 -1
- package/dist/apis/iamApiWrapper.d.ts +1 -0
- package/dist/apis/iamApiWrapper.js +3 -2
- package/dist/apis/iamApiWrapper.js.map +1 -1
- package/dist/apis/inventoriesApiWrapper.d.ts +1 -0
- package/dist/apis/inventoriesApiWrapper.js +1 -0
- package/dist/apis/inventoriesApiWrapper.js.map +1 -1
- package/dist/apis/payamsterApiWrapper.d.ts +1 -0
- package/dist/apis/payamsterApiWrapper.js +1 -0
- package/dist/apis/payamsterApiWrapper.js.map +1 -1
- package/dist/apis/playersApiWrapper.d.ts +1 -0
- package/dist/apis/playersApiWrapper.js +1 -0
- package/dist/apis/playersApiWrapper.js.map +1 -1
- package/dist/apis/policiesApiWrapper.d.ts +1 -0
- package/dist/apis/policiesApiWrapper.js +1 -0
- package/dist/apis/policiesApiWrapper.js.map +1 -1
- package/dist/apis/policyRulesApiWrapper.d.ts +1 -0
- package/dist/apis/policyRulesApiWrapper.js +1 -0
- package/dist/apis/policyRulesApiWrapper.js.map +1 -1
- package/dist/apis/sessionsApiWrapper.d.ts +1 -0
- package/dist/apis/sessionsApiWrapper.js +1 -0
- package/dist/apis/sessionsApiWrapper.js.map +1 -1
- package/dist/apis/settingsApiWrapper.d.ts +1 -0
- package/dist/apis/settingsApiWrapper.js +1 -0
- package/dist/apis/settingsApiWrapper.js.map +1 -1
- package/dist/apis/subscriptionsApiWrapper.d.ts +1 -0
- package/dist/apis/subscriptionsApiWrapper.js +1 -0
- package/dist/apis/subscriptionsApiWrapper.js.map +1 -1
- package/dist/apis/transactionIntentsApiWrapper.d.ts +1 -0
- package/dist/apis/transactionIntentsApiWrapper.js +1 -0
- package/dist/apis/transactionIntentsApiWrapper.js.map +1 -1
- package/dist/apis/web3ConnectionsApiWrapper.d.ts +1 -0
- package/dist/apis/web3ConnectionsApiWrapper.js +1 -0
- package/dist/apis/web3ConnectionsApiWrapper.js.map +1 -1
- package/dist/generated/apis/AuthenticationApi.js +6 -0
- package/dist/generated/apis/AuthenticationApi.js.map +1 -1
- package/dist/generated/models/ApiAuthorizedNetworkDeleteResponse.d.ts +31 -0
- package/dist/generated/models/ApiAuthorizedNetworkDeleteResponse.js +44 -0
- package/dist/generated/models/ApiAuthorizedNetworkDeleteResponse.js.map +1 -0
- package/dist/generated/models/ApiAuthorizedNetworkResponse.d.ts +3 -1
- package/dist/generated/models/ApiAuthorizedNetworkResponse.js +8 -2
- package/dist/generated/models/ApiAuthorizedNetworkResponse.js.map +1 -1
- package/dist/generated/models/AuthProviderResponse.d.ts +1 -1
- package/dist/generated/models/DiscordOAuthConfig.d.ts +41 -0
- package/dist/generated/models/DiscordOAuthConfig.js +50 -0
- package/dist/generated/models/DiscordOAuthConfig.js.map +1 -0
- package/dist/generated/models/EpicGamesOAuthConfig.d.ts +41 -0
- package/dist/generated/models/EpicGamesOAuthConfig.js +50 -0
- package/dist/generated/models/EpicGamesOAuthConfig.js.map +1 -0
- package/dist/generated/models/OAuthConfig.d.ts +2 -2
- package/dist/generated/models/OAuthConfig.js.map +1 -1
- package/dist/generated/models/OAuthProvders.d.ts +1 -1
- package/dist/generated/models/OAuthProvider.d.ts +1 -1
- package/dist/generated/models/OAuthProviderDISCORD.d.ts +12 -0
- package/dist/generated/models/OAuthProviderDISCORD.js +14 -0
- package/dist/generated/models/OAuthProviderDISCORD.js.map +1 -0
- package/dist/generated/models/OAuthProviderEPICGAMES.d.ts +12 -0
- package/dist/generated/models/OAuthProviderEPICGAMES.js +14 -0
- package/dist/generated/models/OAuthProviderEPICGAMES.js.map +1 -0
- package/dist/generated/models/ObjectSerializer.d.ts +5 -0
- package/dist/generated/models/ObjectSerializer.js +13 -0
- package/dist/generated/models/ObjectSerializer.js.map +1 -1
- package/dist/generated/models/RefreshTokenRequest.d.ts +5 -1
- package/dist/generated/models/RefreshTokenRequest.js +6 -0
- package/dist/generated/models/RefreshTokenRequest.js.map +1 -1
- package/dist/generated/models/all.d.ts +5 -0
- package/dist/generated/models/all.js +5 -0
- package/dist/generated/models/all.js.map +1 -1
- package/dist/generated/types/ObjectParamAPI.js.map +1 -1
- package/dist/generated/types/ObservableAPI.js.map +1 -1
- package/dist/generated/types/PromiseAPI.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +12 -2
- package/dist/index.js.map +1 -1
- package/dist/models/preGenerateEmbeddedAccountRequest.d.ts +2 -2
- package/dist/models/preGenerateEmbeddedAccountRequest.js +2 -2
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -3,6 +3,7 @@ import { AccountsApi } from "../generated";
|
|
|
3
3
|
import { BaseApiWrapper } from "./baseApiWrapper";
|
|
4
4
|
import { DeployRequest } from "../models/deployRequest";
|
|
5
5
|
export declare class AccountsApiWrapper extends BaseApiWrapper<AccountsApi> {
|
|
6
|
+
static type: string;
|
|
6
7
|
constructor(accessToken: string, basePath?: string);
|
|
7
8
|
/**
|
|
8
9
|
* Creates an account object.
|
|
@@ -94,6 +94,7 @@ let AccountsApiWrapper = class AccountsApiWrapper extends baseApiWrapper_1.BaseA
|
|
|
94
94
|
return await this.api.completeRecovery(id, body);
|
|
95
95
|
}
|
|
96
96
|
};
|
|
97
|
+
AccountsApiWrapper.type = "accounts";
|
|
97
98
|
AccountsApiWrapper = __decorate([
|
|
98
99
|
httpErrorHandler_1.httpErrorHandler,
|
|
99
100
|
__metadata("design:paramtypes", [String, String])
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"accountsApiWrapper.js","sourceRoot":"","sources":["../../src/apis/accountsApiWrapper.ts"],"names":[],"mappings":";;;;;;;;;;;;AAcA,4CAA2C;AAC3C,qDAAkD;AAClD,oEAAiE;AAI1D,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,+BAA2B;
|
|
1
|
+
{"version":3,"file":"accountsApiWrapper.js","sourceRoot":"","sources":["../../src/apis/accountsApiWrapper.ts"],"names":[],"mappings":";;;;;;;;;;;;AAcA,4CAA2C;AAC3C,qDAAkD;AAClD,oEAAiE;AAI1D,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,+BAA2B;IAG/D,YAAY,WAAmB,EAAE,QAAiB;QAC9C,KAAK,CAAC,uBAAW,EAAE,WAAW,EAAE,QAAQ,CAAC,CAAC;IAC9C,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,MAAM,CAAC,GAAyB;QACzC,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC;IAC7C,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,GAAG,CAAC,GAAsB;QACnC,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,UAAU,CAAC,GAAG,CAAC,EAAE,EAAE,GAAG,CAAC,uBAAuB,CAAC,CAAC,CAAC,CAAC,oBAAoB,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;IAC/G,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,IAAI,CAAC,GAAuB;QACrC,OAAO,MAA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D,MAAM,EAAE,EAAE,EAAE,GAAG,IAAI,EAAE,GAAG,GAAG,CAAC;QAC5B,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,aAAa,CAAC,EAAE,EAAE,IAAI,CAAC,CAAC;IAClD,CAAC;IAED;;OAEG;IACI,KAAK,CAAC,gBAAgB,CAAC,GAA4B;QACtD,MAAM,EAAE,EAAE,EAAE,GAAG,IAAI,EAAE,GAAG,GAAG,CAAC;QAC5B,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,gBAAgB,CAAC,EAAE,EAAE,IAAI,CAAC,CAAC;IACrD,CAAC;;AA1FM,uBAAI,GAAG,UAAU,CAAC;AADhB,kBAAkB;IAD9B,mCAAgB;;GACJ,kBAAkB,CA4F9B;AA5FY,gDAAkB"}
|
|
@@ -2,6 +2,7 @@ import { Observable } from "../utilities/observable";
|
|
|
2
2
|
import { Observer } from "../utilities/observer";
|
|
3
3
|
import { Configuration } from "../generated";
|
|
4
4
|
export declare class BaseApiWrapper<T> implements Observable {
|
|
5
|
+
static type: string;
|
|
5
6
|
private readonly _observers;
|
|
6
7
|
protected readonly api: T;
|
|
7
8
|
constructor(type: new (_configuration: Configuration) => T, accessToken: string, basePath?: string);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"baseApiWrapper.js","sourceRoot":"","sources":["../../src/apis/baseApiWrapper.ts"],"names":[],"mappings":";;;AAEA,4CAAuF;AAEvF,wDAAqD;AAErD,MAAa,cAAc;
|
|
1
|
+
{"version":3,"file":"baseApiWrapper.js","sourceRoot":"","sources":["../../src/apis/baseApiWrapper.ts"],"names":[],"mappings":";;;AAEA,4CAAuF;AAEvF,wDAAqD;AAErD,MAAa,cAAc;IAMvB,YAAY,IAA8C,EAAE,WAAmB,EAAE,QAAiB;QAHjF,eAAU,GAAe,EAAE,CAAC;QAIzC,MAAM,MAAM,GAA4B;YACpC,WAAW,EAAE;gBACT,EAAE,EAAE;oBACA,aAAa,EAAE;wBACX,QAAQ,EAAE,GAAG,EAAE,CAAC,WAAW;qBAC9B;iBACJ;aACJ;YACD,iBAAiB,EAAE,CAAC,IAAI,uBAAU,EAAE,CAAC;SACxC,CAAC;QAEF,IAAI,QAAQ,EAAE;YACV,MAAM,CAAC,UAAU,GAAG,IAAI,+BAAmB,CAAK,QAAQ,EAAE,EAAE,CAAC,CAAC;SACjE;QAED,IAAI,CAAC,GAAG,GAAG,IAAI,IAAI,CAAC,IAAA,+BAAmB,EAAC,MAAM,CAAC,CAAC,CAAC;IACrD,CAAC;IAEM,SAAS,CAAC,QAAkB;QAC/B,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IACnC,CAAC;IAED,IAAW,SAAS;QAChB,OAAO,IAAI,CAAC,UAAU,CAAC;IAC3B,CAAC;;AA/BL,wCAgCC;AA/BU,mBAAI,GAAG,MAAM,CAAC"}
|
|
@@ -3,6 +3,7 @@ import { BaseApiWrapper } from "./baseApiWrapper";
|
|
|
3
3
|
import { ContractReadResponse, ContractsApi } from "../generated";
|
|
4
4
|
import { ReadContractRequest } from "../models/readContractRequest";
|
|
5
5
|
export declare class ContractsApiWrapper extends BaseApiWrapper<ContractsApi> {
|
|
6
|
+
static type: string;
|
|
6
7
|
constructor(accessToken: string, basePath?: string);
|
|
7
8
|
/**
|
|
8
9
|
* Creates a contract object.
|
|
@@ -61,6 +61,7 @@ let ContractsApiWrapper = class ContractsApiWrapper extends baseApiWrapper_1.Bas
|
|
|
61
61
|
return await this.api.getContracts(req?.limit, req?.skip, req?.order, req?.name, req?.deleted, req?.chainId, req?.address);
|
|
62
62
|
}
|
|
63
63
|
};
|
|
64
|
+
ContractsApiWrapper.type = "contracts";
|
|
64
65
|
ContractsApiWrapper = __decorate([
|
|
65
66
|
httpErrorHandler_1.httpErrorHandler,
|
|
66
67
|
__metadata("design:paramtypes", [String, String])
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contractsApiWrapper.js","sourceRoot":"","sources":["../../src/apis/contractsApiWrapper.ts"],"names":[],"mappings":";;;;;;;;;;;;AASA,qDAAkD;AAClD,4CAAkE;AAClE,oEAAiE;AAI1D,IAAM,mBAAmB,GAAzB,MAAM,mBAAoB,SAAQ,+BAA4B;
|
|
1
|
+
{"version":3,"file":"contractsApiWrapper.js","sourceRoot":"","sources":["../../src/apis/contractsApiWrapper.ts"],"names":[],"mappings":";;;;;;;;;;;;AASA,qDAAkD;AAClD,4CAAkE;AAClE,oEAAiE;AAI1D,IAAM,mBAAmB,GAAzB,MAAM,mBAAoB,SAAQ,+BAA4B;IAGjE,YAAY,WAAmB,EAAE,QAAiB;QAC9C,KAAK,CAAC,wBAAY,EAAE,WAAW,EAAE,QAAQ,CAAC,CAAC;IAC/C,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,MAAM,CAAC,GAA0B;QAC1C,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC;IAC9C,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,MAAM,CAAC,GAA0B;QAC1C,MAAM,EAAE,EAAE,EAAE,GAAG,IAAI,EAAE,GAAG,GAAG,CAAC;QAC5B,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,cAAc,CAAC,EAAE,EAAE,IAAI,CAAC,CAAC;IACnD,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,MAAM,CAAC,EAAU;QAC1B,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,cAAc,CAAC,EAAE,CAAC,CAAC;IAC7C,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,IAAI,CAAC,GAAwB;QACtC,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,YAAY,CAAC,GAAG,CAAC,EAAE,EAAE,GAAG,CAAC,YAAY,EAAE,GAAG,EAAE,YAAY,CAAC,CAAC;IACpF,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,GAAG,CAAC,GAAuB;QACpC,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,WAAW,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;IAC9C,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,IAAI,CAAC,GAAyB;QACvC,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,YAAY,CAC9B,GAAG,EAAE,KAAK,EACV,GAAG,EAAE,IAAI,EACT,GAAG,EAAE,KAAK,EACV,GAAG,EAAE,IAAI,EACT,GAAG,EAAE,OAAO,EACZ,GAAG,EAAE,OAAO,EACZ,GAAG,EAAE,OAAO,CACf,CAAC;IACN,CAAC;;AA7DM,wBAAI,GAAG,WAAW,CAAC;AADjB,mBAAmB;IAD/B,mCAAgB;;GACJ,mBAAmB,CA+D/B;AA/DY,kDAAmB"}
|
|
@@ -2,6 +2,7 @@ import { BaseApiWrapper } from "./baseApiWrapper";
|
|
|
2
2
|
import { CreateEventRequest, EventDeleteResponse, EventListQueries, EventListResponse, EventResponse, EventsApi } from "../generated";
|
|
3
3
|
import { GetEventRequest } from "../models/getEventRequest";
|
|
4
4
|
export declare class EventsApiWrapper extends BaseApiWrapper<EventsApi> {
|
|
5
|
+
static type: string;
|
|
5
6
|
constructor(accessToken: string, basePath?: string);
|
|
6
7
|
/**
|
|
7
8
|
* Create a event.
|
|
@@ -48,6 +48,7 @@ let EventsApiWrapper = class EventsApiWrapper extends baseApiWrapper_1.BaseApiWr
|
|
|
48
48
|
return await this.api.deleteEvent(id);
|
|
49
49
|
}
|
|
50
50
|
};
|
|
51
|
+
EventsApiWrapper.type = "events";
|
|
51
52
|
EventsApiWrapper = __decorate([
|
|
52
53
|
httpErrorHandler_1.httpErrorHandler,
|
|
53
54
|
__metadata("design:paramtypes", [String, String])
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eventsApiWrapper.js","sourceRoot":"","sources":["../../src/apis/eventsApiWrapper.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAkD;AAClD,4CAOsB;AACtB,oEAAiE;AAI1D,IAAM,gBAAgB,GAAtB,MAAM,gBAAiB,SAAQ,+BAAyB;
|
|
1
|
+
{"version":3,"file":"eventsApiWrapper.js","sourceRoot":"","sources":["../../src/apis/eventsApiWrapper.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAkD;AAClD,4CAOsB;AACtB,oEAAiE;AAI1D,IAAM,gBAAgB,GAAtB,MAAM,gBAAiB,SAAQ,+BAAyB;IAG3D,YAAY,WAAmB,EAAE,QAAiB;QAC9C,KAAK,CAAC,qBAAS,EAAE,WAAW,EAAE,QAAQ,CAAC,CAAC;IAC5C,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,MAAM,CAAC,GAAuB;QACvC,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;IAC3C,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,IAAI,CAAC,GAAqB;QACnC,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,KAAK,EAAE,GAAG,CAAC,IAAI,EAAE,GAAG,CAAC,KAAK,EAAE,GAAG,CAAC,IAAI,CAAC,CAAC;IAC9E,CAAC;IAED;;;;;OAKG;IACI,KAAK,CAAC,GAAG,CAAC,GAAoB;QACjC,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;IAC3C,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,MAAM,CAAC,EAAU;QAC1B,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,WAAW,CAAC,EAAE,CAAC,CAAC;IAC1C,CAAC;;AAtCM,qBAAI,GAAG,QAAQ,CAAC;AADd,gBAAgB;IAD5B,mCAAgB;;GACJ,gBAAgB,CAwC5B;AAxCY,4CAAgB"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { CreateExchangeRequest, ExchangeApi, QuoteExchangeResult, TransactionIntentResponse } from "../generated";
|
|
2
2
|
import { BaseApiWrapper } from "./baseApiWrapper";
|
|
3
3
|
export declare class ExchangeApiWrapper extends BaseApiWrapper<ExchangeApi> {
|
|
4
|
+
static type: string;
|
|
4
5
|
constructor(accessToken: string, basePath?: string);
|
|
5
6
|
/**
|
|
6
7
|
* Creates token swap.
|
|
@@ -32,6 +32,7 @@ let ExchangeApiWrapper = class ExchangeApiWrapper extends baseApiWrapper_1.BaseA
|
|
|
32
32
|
return await this.api.quoteSwap(req);
|
|
33
33
|
}
|
|
34
34
|
};
|
|
35
|
+
ExchangeApiWrapper.type = "exchange";
|
|
35
36
|
ExchangeApiWrapper = __decorate([
|
|
36
37
|
httpErrorHandler_1.httpErrorHandler,
|
|
37
38
|
__metadata("design:paramtypes", [String, String])
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"exchangeApiWrapper.js","sourceRoot":"","sources":["../../src/apis/exchangeApiWrapper.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4CAAkH;AAClH,qDAAkD;AAClD,oEAAiE;AAG1D,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,+BAA2B;
|
|
1
|
+
{"version":3,"file":"exchangeApiWrapper.js","sourceRoot":"","sources":["../../src/apis/exchangeApiWrapper.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4CAAkH;AAClH,qDAAkD;AAClD,oEAAiE;AAG1D,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,+BAA2B;IAG/D,YAAY,WAAmB,EAAE,QAAiB;QAC9C,KAAK,CAAC,uBAAW,EAAE,WAAW,EAAE,QAAQ,CAAC,CAAC;IAC9C,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,UAAU,CAAC,GAA0B;QAC9C,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC;IAC1C,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,SAAS,CAAC,GAA0B;QAC7C,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC;IACzC,CAAC;;AApBM,uBAAI,GAAG,UAAU,CAAC;AADhB,kBAAkB;IAD9B,mCAAgB;;GACJ,kBAAkB,CAsB9B;AAtBY,gDAAkB"}
|
|
@@ -2,6 +2,7 @@ import { AdminAuthenticationApi, AuthenticateOAuthRequest, AuthPlayerListQueries
|
|
|
2
2
|
import { BaseApiWrapper } from "./baseApiWrapper";
|
|
3
3
|
import { PreGenerateEmbeddedAccountsConfiguration } from "../models/preGenerateEmbeddedAccountRequest";
|
|
4
4
|
export declare class IamApiWrapper extends BaseApiWrapper<AdminAuthenticationApi> {
|
|
5
|
+
static type: string;
|
|
5
6
|
constructor(accessToken: string, basePath?: string);
|
|
6
7
|
/**
|
|
7
8
|
* The endpoint creates a player auth object. It will link the player to an authentication provider.
|
|
@@ -35,11 +35,11 @@ let IamApiWrapper = class IamApiWrapper extends baseApiWrapper_1.BaseApiWrapper
|
|
|
35
35
|
if (recoveryShare) {
|
|
36
36
|
let authProvider;
|
|
37
37
|
let externalUserId;
|
|
38
|
-
if (embeddedReq?.shieldAuthProvider === preGenerateEmbeddedAccountRequest_1.ShieldAuthProvider.
|
|
38
|
+
if (embeddedReq?.shieldAuthProvider === preGenerateEmbeddedAccountRequest_1.ShieldAuthProvider.OPENFORT) {
|
|
39
39
|
authProvider = shield_js_1.ShieldAuthProvider.OPENFORT;
|
|
40
40
|
externalUserId = resp.id;
|
|
41
41
|
}
|
|
42
|
-
else if (embeddedReq?.shieldAuthProvider === preGenerateEmbeddedAccountRequest_1.ShieldAuthProvider.
|
|
42
|
+
else if (embeddedReq?.shieldAuthProvider === preGenerateEmbeddedAccountRequest_1.ShieldAuthProvider.CUSTOM) {
|
|
43
43
|
authProvider = shield_js_1.ShieldAuthProvider.CUSTOM;
|
|
44
44
|
externalUserId = req.thirdPartyUserId;
|
|
45
45
|
}
|
|
@@ -127,6 +127,7 @@ let IamApiWrapper = class IamApiWrapper extends baseApiWrapper_1.BaseApiWrapper
|
|
|
127
127
|
return await this.api.listOAuthConfig();
|
|
128
128
|
}
|
|
129
129
|
};
|
|
130
|
+
IamApiWrapper.type = "iam";
|
|
130
131
|
IamApiWrapper = __decorate([
|
|
131
132
|
httpErrorHandler_1.httpErrorHandler,
|
|
132
133
|
__metadata("design:paramtypes", [String, String])
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"iamApiWrapper.js","sourceRoot":"","sources":["../../src/apis/iamApiWrapper.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4CAYsB;AACtB,qDAAkD;AAClD,oEAAiE;AACjE,mGAGqD;AACrD,mDAM6B;AAGtB,IAAM,aAAa,GAAnB,MAAM,aAAc,SAAQ,+BAAsC;
|
|
1
|
+
{"version":3,"file":"iamApiWrapper.js","sourceRoot":"","sources":["../../src/apis/iamApiWrapper.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4CAYsB;AACtB,qDAAkD;AAClD,oEAAiE;AACjE,mGAGqD;AACrD,mDAM6B;AAGtB,IAAM,aAAa,GAAnB,MAAM,aAAc,SAAQ,+BAAsC;IAGrE,YAAY,WAAmB,EAAE,QAAiB;QAC9C,KAAK,CAAC,kCAAsB,EAAE,WAAW,EAAE,QAAQ,CAAC,CAAC;IACzD,CAAC;IAED;;;;;;;OAOG;IACI,KAAK,CAAC,gBAAgB,CACzB,GAA4B,EAC5B,WAAsD;QAEtD,IAAI,GAAG,CAAC,0BAA0B,IAAI,CAAC,WAAW,EAAE;YAChD,MAAM,IAAI,KAAK,CAAC,oEAAoE,CAAC,CAAC;SACzF;QAED,MAAM,EAAE,aAAa,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,GAAG,CAAC,gBAAgB,CAAC,GAAG,CAAC,CAAC;QAExE,IAAI,aAAa,EAAE;YACf,IAAI,YAAkC,CAAC;YACvC,IAAI,cAAsB,CAAC;YAC3B,IAAI,WAAW,EAAE,kBAAkB,KAAK,sDAAkB,CAAC,QAAQ,EAAE;gBACjE,YAA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O,MAAM,IAAI,CAAC,GAAG,CAAC,iBAAiB,CAAC,GAAG,CAAC,CAAC;IACjD,CAAC;IAED;;;;OAIG;IACI,KAAK,CAAC,gBAAgB,CAAC,EAAU;QACpC,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,gBAAgB,CAAC,EAAE,CAAC,CAAC;IAC/C,CAAC;IAED;;;;OAIG;IACI,KAAK,CAAC,iBAAiB,CAAC,QAAuB;QAClD,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,iBAAiB,CAAC,QAAQ,CAAC,CAAC;IACtD,CAAC;IAED;;;;;;;OAOG;IACI,KAAK,CAAC,cAAc,CAAC,GAA0B;QAClD,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,cAAc,CAAC,GAAG,CAAC,KAAK,EAAE,GAAG,CAAC,IAAI,EAAE,GAAG,CAAC,KAAK,EAAE,GAAG,CAAC,KAAK,EAAE,GAAG,CAAC,cAAc,CAAC,CAAC;IACxG,CAAC;IAED;;;;OAIG;IACI,KAAK,CAAC,cAAc,CAAC,QAAuB;QAC/C,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAC;IACnD,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,eAAe;QACxB,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,eAAe,EAAE,CAAC;IAC5C,CAAC;;AA/HM,kBAAI,GAAG,KAAK,CAAC;AADX,aAAa;IADzB,mCAAgB;;GACJ,aAAa,CAiIzB;AAjIY,sCAAa"}
|
|
@@ -6,6 +6,7 @@ import { AccountInventoryListQueries } from "../models/accountInventoryListQueri
|
|
|
6
6
|
import { GetPlayerInventoryRequest } from "../models/getPlayerInventoryRequest";
|
|
7
7
|
import { GetAccountInventoryRequest } from "../models/getAccountInventoryRequest";
|
|
8
8
|
export declare class InventoriesApiWrapper extends BaseApiWrapper<InventoriesApi> {
|
|
9
|
+
static type: string;
|
|
9
10
|
constructor(accessToken: string, basePath?: string);
|
|
10
11
|
/**
|
|
11
12
|
* Retrieves the native assets list of an existing player. Supply the unique player ID from either a player creation request or the player list, and Openfort will return the corresponding player information.
|
|
@@ -42,6 +42,7 @@ let InventoriesApiWrapper = class InventoriesApiWrapper extends baseApiWrapper_1
|
|
|
42
42
|
return await this.api.getAccountNativeInventory(req.id);
|
|
43
43
|
}
|
|
44
44
|
};
|
|
45
|
+
InventoriesApiWrapper.type = "inventories";
|
|
45
46
|
InventoriesApiWrapper = __decorate([
|
|
46
47
|
httpErrorHandler_1.httpErrorHandler,
|
|
47
48
|
__metadata("design:paramtypes", [String, String])
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inventoriesApiWrapper.js","sourceRoot":"","sources":["../../src/apis/inventoriesApiWrapper.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,qDAAkD;AAClD,4CAA8C;AAC9C,oEAAiE;AAO1D,IAAM,qBAAqB,GAA3B,MAAM,qBAAsB,SAAQ,+BAA8B;
|
|
1
|
+
{"version":3,"file":"inventoriesApiWrapper.js","sourceRoot":"","sources":["../../src/apis/inventoriesApiWrapper.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,qDAAkD;AAClD,4CAA8C;AAC9C,oEAAiE;AAO1D,IAAM,qBAAqB,GAA3B,MAAM,qBAAsB,SAAQ,+BAA8B;IAGrE,YAAY,WAAmB,EAAE,QAAiB;QAC9C,KAAK,CAAC,0BAAc,EAAE,WAAW,EAAE,QAAQ,CAAC,CAAC;IACjD,CAAC;IAED;;OAEG;IACI,KAAK,CAAC,gCAAgC,CAAC,GAA+B;QACzE,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,gCAAgC,CAClD,GAAG,CAAC,EAAE,EACN,GAAG,CAAC,OAAO,EACX,GAAG,CAAC,KAAK,EACT,GAAG,CAAC,IAAI,EACR,GAAG,CAAC,KAAK,EACT,GAAG,CAAC,QAAQ,CACf,CAAC;IACN,CAAC;IAED;;OAEG;IACI,KAAK,CAAC,iCAAiC,CAAC,GAAgC;QAC3E,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,iCAAiC,CAAC,GAAG,CAAC,EAAE,EAAE,GAAG,CAAC,KAAK,EAAE,GAAG,CAAC,IAAI,EAAE,GAAG,CAAC,KAAK,EAAE,GAAG,CAAC,UAAU,CAAC,CAAC;IACpH,CAAC;IAED;;OAEG;IACI,KAAK,CAAC,wBAAwB,CAAC,GAA8B;QAChE,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,wBAAwB,CAAC,GAAG,CAAC,EAAE,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC;IACxE,CAAC;IAED;;OAEG;IACI,KAAK,CAAC,yBAAyB,CAAC,GAA+B;QAClE,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,yBAAyB,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;IAC5D,CAAC;;AAvCM,0BAAI,GAAG,aAAa,CAAC;AADnB,qBAAqB;IADjC,mCAAgB;;GACJ,qBAAqB,CAyCjC;AAzCY,sDAAqB"}
|
|
@@ -3,6 +3,7 @@ import { BaseApiWrapper } from "./baseApiWrapper";
|
|
|
3
3
|
import { GetPaymasterRequest } from "../models/getPaymasterRequest";
|
|
4
4
|
import { UpdatePaymasterRequest } from "../models/updatePaymasterRequest";
|
|
5
5
|
export declare class PaymasterApiWrapper extends BaseApiWrapper<PaymasterApi> {
|
|
6
|
+
static type: string;
|
|
6
7
|
constructor(accessToken: string, basePath?: string);
|
|
7
8
|
/**
|
|
8
9
|
* Create a new paymaster.
|
|
@@ -47,6 +47,7 @@ let PaymasterApiWrapper = class PaymasterApiWrapper extends baseApiWrapper_1.Bas
|
|
|
47
47
|
return await this.api.deletePaymaster(id);
|
|
48
48
|
}
|
|
49
49
|
};
|
|
50
|
+
PaymasterApiWrapper.type = "paymaster";
|
|
50
51
|
PaymasterApiWrapper = __decorate([
|
|
51
52
|
httpErrorHandler_1.httpErrorHandler,
|
|
52
53
|
__metadata("design:paramtypes", [String, String])
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payamsterApiWrapper.js","sourceRoot":"","sources":["../../src/apis/payamsterApiWrapper.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4CAAgH;AAChH,qDAAkD;AAClD,oEAAiE;AAK1D,IAAM,mBAAmB,GAAzB,MAAM,mBAAoB,SAAQ,+BAA4B;
|
|
1
|
+
{"version":3,"file":"payamsterApiWrapper.js","sourceRoot":"","sources":["../../src/apis/payamsterApiWrapper.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4CAAgH;AAChH,qDAAkD;AAClD,oEAAiE;AAK1D,IAAM,mBAAmB,GAAzB,MAAM,mBAAoB,SAAQ,+BAA4B;IAGjE,YAAY,WAAmB,EAAE,QAAiB;QAC9C,KAAK,CAAC,wBAAY,EAAE,WAAW,EAAE,QAAQ,CAAC,CAAC;IAC/C,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,MAAM,CAAC,GAA2B;QAC3C,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,eAAe,CAAC,GAAG,CAAC,CAAC;IAC/C,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,GAAG,CAAC,GAAwB;QACrC,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,YAAY,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;IAC/C,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,MAAM,CAAC,GAA2B;QAC3C,MAAM,EAAE,EAAE,EAAE,GAAG,IAAI,EAAE,GAAG,GAAG,CAAC;QAC5B,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,eAAe,CAAC,EAAE,EAAE,IAAI,CAAC,CAAC;IACpD,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,MAAM,CAAC,EAAU;QAC1B,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,eAAe,CAAC,EAAE,CAAC,CAAC;IAC9C,CAAC;;AArCM,wBAAI,GAAG,WAAW,CAAC;AADjB,mBAAmB;IAD/B,mCAAgB;;GACJ,mBAAmB,CAuC/B;AAvCY,kDAAmB"}
|
|
@@ -2,6 +2,7 @@ import { GetPlayerRequest, PlayerCreateRequest, PlayerDeleteResponse, PlayerList
|
|
|
2
2
|
import { BaseApiWrapper } from "./baseApiWrapper";
|
|
3
3
|
import { PlayersApi } from "../generated";
|
|
4
4
|
export declare class PlayersApiWrapper extends BaseApiWrapper<PlayersApi> {
|
|
5
|
+
static type: string;
|
|
5
6
|
constructor(accessToken: string, basePath?: string);
|
|
6
7
|
/**
|
|
7
8
|
* Creates a player object.
|
|
@@ -54,6 +54,7 @@ let PlayersApiWrapper = class PlayersApiWrapper extends baseApiWrapper_1.BaseApi
|
|
|
54
54
|
return await this.api.deletePlayer(id);
|
|
55
55
|
}
|
|
56
56
|
};
|
|
57
|
+
PlayersApiWrapper.type = "players";
|
|
57
58
|
PlayersApiWrapper = __decorate([
|
|
58
59
|
httpErrorHandler_1.httpErrorHandler,
|
|
59
60
|
__metadata("design:paramtypes", [String, String])
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"playersApiWrapper.js","sourceRoot":"","sources":["../../src/apis/playersApiWrapper.ts"],"names":[],"mappings":";;;;;;;;;;;;AASA,qDAAkD;AAClD,4CAA0C;AAC1C,oEAAiE;AAG1D,IAAM,iBAAiB,GAAvB,MAAM,iBAAkB,SAAQ,+BAA0B;
|
|
1
|
+
{"version":3,"file":"playersApiWrapper.js","sourceRoot":"","sources":["../../src/apis/playersApiWrapper.ts"],"names":[],"mappings":";;;;;;;;;;;;AASA,qDAAkD;AAClD,4CAA0C;AAC1C,oEAAiE;AAG1D,IAAM,iBAAiB,GAAvB,MAAM,iBAAkB,SAAQ,+BAA0B;IAG7D,YAAY,WAAmB,EAAE,QAAiB;QAC9C,KAAK,CAAC,sBAAU,EAAE,WAAW,EAAE,QAAQ,CAAC,CAAC;IAC7C,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,MAAM,CAAC,GAAwB;QACxC,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,YAAY,CAAC,GAAG,CAAC,CAAC;IAC5C,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,GAAG,CAAC,GAAqB;QAClC,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IACxD,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,IAAI,CAAC,GAAuB;QACrC,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,UAAU,CAAC,GAAG,EAAE,KAAK,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,CAAC,CAAC;IAChG,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,MAAM,CAAC,GAAwB;QACxC,MAAM,EAAE,EAAE,EAAE,GAAG,IAAI,EAAE,GAAG,GAAG,CAAC;QAC5B,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,YAAY,CAAC,EAAE,EAAE,IAAI,CAAC,CAAC;IACjD,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,MAAM,CAAC,EAAU;QAC1B,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC;IAC3C,CAAC;;AA7CM,sBAAI,GAAG,SAAS,CAAC;AADf,iBAAiB;IAD7B,mCAAgB;;GACJ,iBAAiB,CA+C7B;AA/CY,8CAAiB"}
|
|
@@ -2,6 +2,7 @@ import { CreatePolicyRequest, GetPolicyRequest, GetPolicyTotalGasUsageRequest, P
|
|
|
2
2
|
import { BaseApiWrapper } from "./baseApiWrapper";
|
|
3
3
|
import { GasReportListResponse, PoliciesApi } from "../generated";
|
|
4
4
|
export declare class PoliciesApiWrapper extends BaseApiWrapper<PoliciesApi> {
|
|
5
|
+
static type: string;
|
|
5
6
|
constructor(accessToken: string, basePath?: string);
|
|
6
7
|
/**
|
|
7
8
|
* Creates policy
|
|
@@ -75,6 +75,7 @@ let PoliciesApiWrapper = class PoliciesApiWrapper extends baseApiWrapper_1.BaseA
|
|
|
75
75
|
return await this.api.getPolicyTotalGasUsage(req.id);
|
|
76
76
|
}
|
|
77
77
|
};
|
|
78
|
+
PoliciesApiWrapper.type = "policies";
|
|
78
79
|
PoliciesApiWrapper = __decorate([
|
|
79
80
|
httpErrorHandler_1.httpErrorHandler,
|
|
80
81
|
__metadata("design:paramtypes", [String, String])
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"policiesApiWrapper.js","sourceRoot":"","sources":["../../src/apis/policiesApiWrapper.ts"],"names":[],"mappings":";;;;;;;;;;;;AAUA,qDAAkD;AAClD,4CAAkE;AAClE,oEAAiE;AAG1D,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,+BAA2B;
|
|
1
|
+
{"version":3,"file":"policiesApiWrapper.js","sourceRoot":"","sources":["../../src/apis/policiesApiWrapper.ts"],"names":[],"mappings":";;;;;;;;;;;;AAUA,qDAAkD;AAClD,4CAAkE;AAClE,oEAAiE;AAG1D,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,+BAA2B;IAG/D,YAAY,WAAmB,EAAE,QAAiB;QAC9C,KAAK,CAAC,uBAAW,EAAE,WAAW,EAAE,QAAQ,CAAC,CAAC;IAC9C,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,MAAM,CAAC,GAAwB;QACxC,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,YAAY,CAAC,GAAG,CAAC,CAAC;IAC5C,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,MAAM,CAAC,GAAwB;QACxC,MAAM,EAAE,EAAE,EAAE,GAAG,GAAG,CAAC;QACnB,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,YAAY,CAAC,EAAE,EAAE,GAAG,CAAC,CAAC;IAChD,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,MAAM,CAAC,EAAU;QAC1B,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC;IAC3C,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,OAAO,CAAC,EAAU;QAC3B,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,aAAa,CAAC,EAAE,CAAC,CAAC;IAC5C,CAAC;IACD;;;OAGG;IACI,KAAK,CAAC,MAAM,CAAC,EAAU;QAC1B,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC;IAC3C,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,IAAI,CAAC,GAAuB;QACrC,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,WAAW,CAC7B,GAAG,EAAE,KAAK,EACV,GAAG,EAAE,IAAI,EACT,GAAG,EAAE,KAAK,EACV,GAAG,EAAE,MAAM,EACX,GAAG,EAAE,IAAI,EACT,GAAG,EAAE,OAAO,EACZ,GAAG,EAAE,OAAO,CACf,CAAC;IACN,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,GAAG,CAAC,GAAqB;QAClC,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IACxD,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,gBAAgB,CAAC,GAAkC;QAC5D,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,sBAAsB,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;IACzD,CAAC;;AA5EM,uBAAI,GAAG,UAAU,CAAC;AADhB,kBAAkB;IAD9B,mCAAgB;;GACJ,kBAAkB,CA8E9B;AA9EY,gDAAkB"}
|
|
@@ -2,6 +2,7 @@ import { CreatePolicyRuleRequest, PolicyRuleDeleteResponse, PolicyRuleResponse,
|
|
|
2
2
|
import { BaseApiWrapper } from "./baseApiWrapper";
|
|
3
3
|
import { PolicyRulesApi } from "../generated";
|
|
4
4
|
export declare class PolicyRulesApiWrapper extends BaseApiWrapper<PolicyRulesApi> {
|
|
5
|
+
static type: string;
|
|
5
6
|
constructor(accessToken: string, basePath?: string);
|
|
6
7
|
/**
|
|
7
8
|
* Creates an policy rule object.
|
|
@@ -47,6 +47,7 @@ let PolicyRulesApiWrapper = class PolicyRulesApiWrapper extends baseApiWrapper_1
|
|
|
47
47
|
return await this.api.deletePolicyRule(id);
|
|
48
48
|
}
|
|
49
49
|
};
|
|
50
|
+
PolicyRulesApiWrapper.type = "policyRules";
|
|
50
51
|
PolicyRulesApiWrapper = __decorate([
|
|
51
52
|
httpErrorHandler_1.httpErrorHandler,
|
|
52
53
|
__metadata("design:paramtypes", [String, String])
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"policyRulesApiWrapper.js","sourceRoot":"","sources":["../../src/apis/policyRulesApiWrapper.ts"],"names":[],"mappings":";;;;;;;;;;;;AAQA,qDAAkD;AAClD,4CAA8C;AAC9C,oEAAiE;AAG1D,IAAM,qBAAqB,GAA3B,MAAM,qBAAsB,SAAQ,+BAA8B;
|
|
1
|
+
{"version":3,"file":"policyRulesApiWrapper.js","sourceRoot":"","sources":["../../src/apis/policyRulesApiWrapper.ts"],"names":[],"mappings":";;;;;;;;;;;;AAQA,qDAAkD;AAClD,4CAA8C;AAC9C,oEAAiE;AAG1D,IAAM,qBAAqB,GAA3B,MAAM,qBAAsB,SAAQ,+BAA8B;IAGrE,YAAY,WAAmB,EAAE,QAAiB;QAC9C,KAAK,CAAC,0BAAc,EAAE,WAAW,EAAE,QAAQ,CAAC,CAAC;IACjD,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,MAAM,CAAC,GAA4B;QAC5C,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,gBAAgB,CAAC,GAAG,CAAC,CAAC;IAChD,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,IAAI,CAAC,GAA0B;QACxC,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,cAAc,CAAC,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,EAAE,GAAG,CAAC,IAAI,EAAE,GAAG,CAAC,KAAK,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IACjG,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,MAAM,CAAC,GAA4B;QAC5C,MAAM,EAAE,EAAE,EAAE,GAAG,OAAO,EAAE,GAAG,GAAG,CAAC;QAC/B,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,gBAAgB,CAAC,EAAE,EAAE,OAAO,CAAC,CAAC;IACxD,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,MAAM,CAAC,EAAU;QAC1B,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,gBAAgB,CAAC,EAAE,CAAC,CAAC;IAC/C,CAAC;;AArCM,0BAAI,GAAG,aAAa,CAAC;AADnB,qBAAqB;IADjC,mCAAgB;;GACJ,qBAAqB,CAuCjC;AAvCY,sDAAqB"}
|
|
@@ -3,6 +3,7 @@ import { BaseApiWrapper } from "./baseApiWrapper";
|
|
|
3
3
|
import { SessionsApi } from "../generated";
|
|
4
4
|
import { GetSessionRequest } from "../models/getSessionRequest";
|
|
5
5
|
export declare class SessionsApiWrapper extends BaseApiWrapper<SessionsApi> {
|
|
6
|
+
static type: string;
|
|
6
7
|
constructor(accessToken: string, basePath?: string);
|
|
7
8
|
/**
|
|
8
9
|
* Creates the session for the account.
|
|
@@ -53,6 +53,7 @@ let SessionsApiWrapper = class SessionsApiWrapper extends baseApiWrapper_1.BaseA
|
|
|
53
53
|
return await this.api.signatureSession(id, request);
|
|
54
54
|
}
|
|
55
55
|
};
|
|
56
|
+
SessionsApiWrapper.type = "sessions";
|
|
56
57
|
SessionsApiWrapper = __decorate([
|
|
57
58
|
httpErrorHandler_1.httpErrorHandler,
|
|
58
59
|
__metadata("design:paramtypes", [String, String])
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sessionsApiWrapper.js","sourceRoot":"","sources":["../../src/apis/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;IACI,KAAK,CAAC,SAAS,CAAC,GAA4B;QAC/C,MAAM,EAAE,EAAE,EAAE,GAAG,OAAO,EAAE,GAAG,GAAG,CAAC;QAC/B,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,gBAAgB,CAAC,EAAE,EAAE,OAAO,CAAC,CAAC;IACxD,CAAC;;AA5CM,uBAAI,GAAG,UAAU,CAAC;AADhB,kBAAkB;IAD9B,mCAAgB;;GACJ,kBAAkB,CA8C9B;AA9CY,gDAAkB"}
|
|
@@ -3,6 +3,7 @@ import { BaseApiWrapper } from "./baseApiWrapper";
|
|
|
3
3
|
import { DeveloperAccountResponse, SettingsApi } from "../generated";
|
|
4
4
|
import { GetDeveloperAccountRequest } from "../models/getDeveloperAccountRequest";
|
|
5
5
|
export declare class SettingsApiWrapper extends BaseApiWrapper<SettingsApi> {
|
|
6
|
+
static type: string;
|
|
6
7
|
constructor(accessToken: string, basePath?: string);
|
|
7
8
|
/**
|
|
8
9
|
* Create or add a developer account. Developer accounts can be used as for escrow, minting and transferring assets. To add your own external account, add a signature and the address of the account. This verified account can then be used as a verified depositor
|
|
@@ -52,6 +52,7 @@ let SettingsApiWrapper = class SettingsApiWrapper extends baseApiWrapper_1.BaseA
|
|
|
52
52
|
return result.message;
|
|
53
53
|
}
|
|
54
54
|
};
|
|
55
|
+
SettingsApiWrapper.type = "settings";
|
|
55
56
|
SettingsApiWrapper = __decorate([
|
|
56
57
|
httpErrorHandler_1.httpErrorHandler,
|
|
57
58
|
__metadata("design:paramtypes", [String, String])
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"settingsApiWrapper.js","sourceRoot":"","sources":["../../src/apis/settingsApiWrapper.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,qDAAkD;AAClD,4CAAqE;AACrE,oEAAiE;AAI1D,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,+BAA2B;
|
|
1
|
+
{"version":3,"file":"settingsApiWrapper.js","sourceRoot":"","sources":["../../src/apis/settingsApiWrapper.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,qDAAkD;AAClD,4CAAqE;AACrE,oEAAiE;AAI1D,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,+BAA2B;IAG/D,YAAY,WAAmB,EAAE,QAAiB;QAC9C,KAAK,CAAC,uBAAW,EAAE,WAAW,EAAE,QAAQ,CAAC,CAAC;IAC9C,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,sBAAsB,CAAC,GAAkC;QAClE,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,sBAAsB,CAAC,GAAG,CAAC,CAAC;IACtD,CAAC;IAED;;OAEG;IACI,KAAK,CAAC,oBAAoB;QAC7B,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,oBAAoB,EAAE,CAAC;IACjD,CAAC;IAED;;OAEG;IACI,KAAK,CAAC,mBAAmB,CAAC,GAA+B;QAC5D,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,mBAAmB,CAAC,GAAG,CAAC,EAAE,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAClE,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,sBAAsB,CAAC,EAAU;QAC1C,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,sBAAsB,CAAC,EAAE,CAAC,CAAC;IACrD,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,sBAAsB,CAAC,OAAe;QAC/C,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,GAAG,CAAC,sBAAsB,CAAC,OAAO,CAAC,CAAC;QAC9D,OAAO,MAAM,CAAC,OAAO,CAAC;IAC1B,CAAC;;AA3CM,uBAAI,GAAG,UAAU,CAAC;AADhB,kBAAkB;IAD9B,mCAAgB;;GACJ,kBAAkB,CA6C9B;AA7CY,gDAAkB"}
|
|
@@ -2,6 +2,7 @@ import { BaseApiWrapper } from "./baseApiWrapper";
|
|
|
2
2
|
import { CreateSubscriptionRequest, SubscriptionDeleteResponse, SubscriptionListResponse, SubscriptionResponse, SubscriptionsApi } from "../generated";
|
|
3
3
|
import { GetSubscriptionRequest } from "../models/getSubscriptionRequest";
|
|
4
4
|
export declare class SubscriptionsApiWrapper extends BaseApiWrapper<SubscriptionsApi> {
|
|
5
|
+
static type: string;
|
|
5
6
|
constructor(accessToken: string, basePath?: string);
|
|
6
7
|
/**
|
|
7
8
|
* Create a subscription.
|
|
@@ -48,6 +48,7 @@ let SubscriptionsApiWrapper = class SubscriptionsApiWrapper extends baseApiWrapp
|
|
|
48
48
|
return await this.api.deleteSubscription(id);
|
|
49
49
|
}
|
|
50
50
|
};
|
|
51
|
+
SubscriptionsApiWrapper.type = "subscriptions";
|
|
51
52
|
SubscriptionsApiWrapper = __decorate([
|
|
52
53
|
httpErrorHandler_1.httpErrorHandler,
|
|
53
54
|
__metadata("design:paramtypes", [String, String])
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscriptionsApiWrapper.js","sourceRoot":"","sources":["../../src/apis/subscriptionsApiWrapper.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAkD;AAClD,oEAAiE;AACjE,4CAMsB;AAIf,IAAM,uBAAuB,GAA7B,MAAM,uBAAwB,SAAQ,+BAAgC;
|
|
1
|
+
{"version":3,"file":"subscriptionsApiWrapper.js","sourceRoot":"","sources":["../../src/apis/subscriptionsApiWrapper.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAkD;AAClD,oEAAiE;AACjE,4CAMsB;AAIf,IAAM,uBAAuB,GAA7B,MAAM,uBAAwB,SAAQ,+BAAgC;IAGzE,YAAY,WAAmB,EAAE,QAAiB;QAC9C,KAAK,CAAC,4BAAgB,EAAE,WAAW,EAAE,QAAQ,CAAC,CAAC;IACnD,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,MAAM,CAAC,GAA8B;QAC9C,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,kBAAkB,CAAC,GAAG,CAAC,CAAC;IAClD,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,IAAI;QACb,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,gBAAgB,EAAE,CAAC;IAC7C,CAAC;IAED;;;;;OAKG;IACI,KAAK,CAAC,GAAG,CAAC,GAA2B;QACxC,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,eAAe,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;IAClD,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,MAAM,CAAC,EAAU;QAC1B,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,kBAAkB,CAAC,EAAE,CAAC,CAAC;IACjD,CAAC;;AAtCM,4BAAI,GAAG,eAAe,CAAC;AADrB,uBAAuB;IADnC,mCAAgB;;GACJ,uBAAuB,CAwCnC;AAxCY,0DAAuB"}
|
|
@@ -2,6 +2,7 @@ import { CreateTransactionIntentRequest, GetTransactionIntentRequest, SignatureT
|
|
|
2
2
|
import { BaseApiWrapper } from "./baseApiWrapper";
|
|
3
3
|
import { TransactionIntentsApi } from "../generated";
|
|
4
4
|
export declare class TransactionIntentsApiWrapper extends BaseApiWrapper<TransactionIntentsApi> {
|
|
5
|
+
static type: string;
|
|
5
6
|
constructor(accessToken: string, basePath?: string);
|
|
6
7
|
/**
|
|
7
8
|
* Estimate the gas cost of creating a transaction intent and putting it onchain.
|
|
@@ -54,6 +54,7 @@ let TransactionIntentsApiWrapper = class TransactionIntentsApiWrapper extends ba
|
|
|
54
54
|
return await this.api.signature(id, body);
|
|
55
55
|
}
|
|
56
56
|
};
|
|
57
|
+
TransactionIntentsApiWrapper.type = "transactionIntents";
|
|
57
58
|
TransactionIntentsApiWrapper = __decorate([
|
|
58
59
|
httpErrorHandler_1.httpErrorHandler,
|
|
59
60
|
__metadata("design:paramtypes", [String, String])
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transactionIntentsApiWrapper.js","sourceRoot":"","sources":["../../src/apis/transactionIntentsApiWrapper.ts"],"names":[],"mappings":";;;;;;;;;;;;AASA,qDAAkD;AAClD,4CAAqD;AACrD,oEAAiE;AAG1D,IAAM,4BAA4B,GAAlC,MAAM,4BAA6B,SAAQ,+BAAqC;
|
|
1
|
+
{"version":3,"file":"transactionIntentsApiWrapper.js","sourceRoot":"","sources":["../../src/apis/transactionIntentsApiWrapper.ts"],"names":[],"mappings":";;;;;;;;;;;;AASA,qDAAkD;AAClD,4CAAqD;AACrD,oEAAiE;AAG1D,IAAM,4BAA4B,GAAlC,MAAM,4BAA6B,SAAQ,+BAAqC;IAGnF,YAAY,WAAmB,EAAE,QAAiB;QAC9C,KAAK,CAAC,iCAAqB,EAAE,WAAW,EAAE,QAAQ,CAAC,CAAC;IACxD,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,YAAY,CAAC,GAAmC;QACzD,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,6BAA6B,CAAC,GAAG,CAAC,CAAC;IAC7D,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,MAAM,CAAC,GAAmC;QACnD,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,uBAAuB,CAAC,GAAG,CAAC,CAAC;IACvD,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,GAAG,CAAC,GAAgC;QAC7C,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,oBAAoB,CAAC,GAAG,CAAC,EAAE,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IACnE,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,IAAI,CAAC,GAAkC;QAChD,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,qBAAqB,CACvC,GAAG,EAAE,KAAK,EACV,GAAG,EAAE,IAAI,EACT,GAAG,EAAE,KAAK,EACV,GAAG,EAAE,MAAM,EACX,GAAG,EAAE,OAAO,EACZ,GAAG,EAAE,OAAO,EACZ,GAAG,EAAE,MAAM,EACX,GAAG,EAAE,MAAM,EACX,GAAG,EAAE,MAAM,CACd,CAAC;IACN,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,SAAS,CAAC,GAAsC;QACzD,MAAM,EAAE,EAAE,EAAE,GAAG,IAAI,EAAE,GAAG,GAAG,CAAC;QAC5B,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,SAAS,CAAC,EAAE,EAAE,IAAI,CAAC,CAAC;IAC9C,CAAC;;AAvDM,iCAAI,GAAG,oBAAoB,CAAC;AAD1B,4BAA4B;IADxC,mCAAgB;;GACJ,4BAA4B,CAyDxC;AAzDY,oEAA4B"}
|
|
@@ -4,6 +4,7 @@ import { GetWeb3ConnectionRequest } from "../models/getWeb3ConnectionRequest";
|
|
|
4
4
|
import { GetWeb3ActionsList } from "../models/getWeb3ActionsList";
|
|
5
5
|
import { CreateSubmitWeb3ActionRequest } from "../models/submitWeb3ActionRequest";
|
|
6
6
|
export declare class Web3ConnectionsApiWrapper extends BaseApiWrapper<Web3ConnectionsApi> {
|
|
7
|
+
static type: string;
|
|
7
8
|
constructor(accessToken: string, basePath?: string);
|
|
8
9
|
/**
|
|
9
10
|
* Creates a web3 connection object.
|
|
@@ -53,6 +53,7 @@ let Web3ConnectionsApiWrapper = class Web3ConnectionsApiWrapper extends baseApiW
|
|
|
53
53
|
return await this.api.submitWeb3Action(req.id, req.web3Action, req.submitWeb3ActionRequest);
|
|
54
54
|
}
|
|
55
55
|
};
|
|
56
|
+
Web3ConnectionsApiWrapper.type = "web3Connections";
|
|
56
57
|
Web3ConnectionsApiWrapper = __decorate([
|
|
57
58
|
httpErrorHandler_1.httpErrorHandler,
|
|
58
59
|
__metadata("design:paramtypes", [String, String])
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"web3ConnectionsApiWrapper.js","sourceRoot":"","sources":["../../src/apis/web3ConnectionsApiWrapper.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAkD;AAClD,4CAQsB;AACtB,oEAAiE;AAM1D,IAAM,yBAAyB,GAA/B,MAAM,yBAA0B,SAAQ,+BAAkC;
|
|
1
|
+
{"version":3,"file":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G,iBAAiB,CAAC;AADvB,yBAAyB;IADrC,mCAAgB;;GACJ,yBAAyB,CA8CrC;AA9CY,8DAAyB"}
|
|
@@ -434,6 +434,12 @@ class AuthenticationApiRequestFactory extends baseapi_1.BaseAPIRequestFactory {
|
|
|
434
434
|
requestContext.setHeaderParam("Content-Type", contentType);
|
|
435
435
|
const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(refreshTokenRequest, "RefreshTokenRequest", ""), contentType);
|
|
436
436
|
requestContext.setBody(serializedBody);
|
|
437
|
+
let authMethod;
|
|
438
|
+
// Apply auth methods
|
|
439
|
+
authMethod = _config.authMethods["pk"];
|
|
440
|
+
if (authMethod?.applySecurityAuthentication) {
|
|
441
|
+
await authMethod?.applySecurityAuthentication(requestContext);
|
|
442
|
+
}
|
|
437
443
|
const defaultAuth = _options?.authMethods?.default || this.configuration?.authMethods?.default;
|
|
438
444
|
if (defaultAuth?.applySecurityAuthentication) {
|
|
439
445
|
await defaultAuth?.applySecurityAuthentication(requestContext);
|