@openfort/openfort-node 0.6.72 → 0.6.74
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/.changeset/README.md +19 -0
- package/.changeset/config.json +14 -0
- package/CHANGELOG.md +32 -0
- package/README.md +0 -1
- package/biome.json +56 -0
- package/dist/apis/accountsApiWrapper.d.ts +4 -4
- package/dist/apis/accountsApiWrapper.js +2 -2
- package/dist/apis/accountsApiWrapper.js.map +1 -1
- package/dist/apis/accountsV2ApiWrapper.d.ts +23 -0
- package/dist/apis/accountsV2ApiWrapper.js +48 -0
- package/dist/apis/accountsV2ApiWrapper.js.map +1 -0
- package/dist/apis/baseApiWrapper.d.ts +3 -3
- package/dist/apis/baseApiWrapper.js +1 -1
- package/dist/apis/baseApiWrapper.js.map +1 -1
- package/dist/apis/contractsApiWrapper.d.ts +4 -4
- package/dist/apis/contractsApiWrapper.js +2 -2
- package/dist/apis/contractsApiWrapper.js.map +1 -1
- package/dist/apis/eventsApiWrapper.d.ts +3 -3
- package/dist/apis/eventsApiWrapper.js +2 -2
- package/dist/apis/eventsApiWrapper.js.map +1 -1
- package/dist/apis/exchangeApiWrapper.d.ts +2 -2
- package/dist/apis/exchangeApiWrapper.js +2 -2
- package/dist/apis/exchangeApiWrapper.js.map +1 -1
- package/dist/apis/iamApiWrapper.d.ts +3 -3
- package/dist/apis/iamApiWrapper.js +6 -6
- package/dist/apis/iamApiWrapper.js.map +1 -1
- package/dist/apis/inventoriesApiWrapper.d.ts +7 -7
- package/dist/apis/inventoriesApiWrapper.js +2 -2
- package/dist/apis/inventoriesApiWrapper.js.map +1 -1
- package/dist/apis/paymasterApiWrapper.d.ts +4 -4
- package/dist/apis/paymasterApiWrapper.js +2 -2
- package/dist/apis/paymasterApiWrapper.js.map +1 -1
- package/dist/apis/playersApiWrapper.d.ts +3 -3
- package/dist/apis/playersApiWrapper.js +2 -2
- package/dist/apis/playersApiWrapper.js.map +1 -1
- package/dist/apis/policiesApiWrapper.d.ts +3 -3
- package/dist/apis/policiesApiWrapper.js +2 -2
- package/dist/apis/policiesApiWrapper.js.map +1 -1
- package/dist/apis/policyRulesApiWrapper.d.ts +3 -3
- package/dist/apis/policyRulesApiWrapper.js +2 -2
- package/dist/apis/policyRulesApiWrapper.js.map +1 -1
- package/dist/apis/sessionsApiWrapper.d.ts +4 -4
- package/dist/apis/sessionsApiWrapper.js +3 -3
- package/dist/apis/sessionsApiWrapper.js.map +1 -1
- package/dist/apis/settingsApiWrapper.d.ts +4 -4
- package/dist/apis/settingsApiWrapper.js +2 -2
- package/dist/apis/settingsApiWrapper.js.map +1 -1
- package/dist/apis/subscriptionsApiWrapper.d.ts +3 -3
- package/dist/apis/subscriptionsApiWrapper.js +3 -3
- package/dist/apis/subscriptionsApiWrapper.js.map +1 -1
- package/dist/apis/transactionIntentsApiWrapper.d.ts +3 -5
- package/dist/apis/transactionIntentsApiWrapper.js +2 -4
- package/dist/apis/transactionIntentsApiWrapper.js.map +1 -1
- package/dist/generated/apis/GraphQLApi.d.ts +22 -0
- package/dist/generated/apis/GraphQLApi.js +66 -0
- package/dist/generated/apis/GraphQLApi.js.map +1 -0
- package/dist/generated/configuration.d.ts +4 -4
- package/dist/generated/configuration.js +4 -4
- package/dist/generated/configuration.js.map +1 -1
- package/dist/generated/index.d.ts +8 -9
- package/dist/generated/index.js +6 -6
- package/dist/generated/index.js.map +1 -1
- package/dist/generated/middleware.d.ts +7 -7
- package/dist/generated/middleware.js.map +1 -1
- package/dist/generated/models/AccountV2Response.d.ts +2 -0
- package/dist/generated/models/AccountV2Response.js +6 -0
- package/dist/generated/models/AccountV2Response.js.map +1 -1
- package/dist/generated/models/CreateAccountRequest.js +6 -0
- package/dist/generated/models/CreateAccountRequest.js.map +1 -1
- package/dist/generated/models/CreateEmbeddedRequest.d.ts +1 -0
- package/dist/generated/models/CreateEmbeddedRequest.js +6 -0
- package/dist/generated/models/CreateEmbeddedRequest.js.map +1 -1
- package/dist/generated/models/NextActionPayload.d.ts +6 -0
- package/dist/generated/models/NextActionPayload.js.map +1 -1
- package/dist/generated/models/ObjectSerializer.d.ts +2 -0
- package/dist/generated/models/ObjectSerializer.js +6 -0
- package/dist/generated/models/ObjectSerializer.js.map +1 -1
- package/dist/generated/models/PasskeyEnv.d.ts +31 -0
- package/dist/generated/models/PasskeyEnv.js +50 -0
- package/dist/generated/models/PasskeyEnv.js.map +1 -0
- package/dist/generated/models/RecoveryMethodDetails.d.ts +30 -0
- package/dist/generated/models/RecoveryMethodDetails.js +38 -0
- package/dist/generated/models/RecoveryMethodDetails.js.map +1 -0
- package/dist/generated/models/RegisterEmbeddedRequest.d.ts +1 -0
- package/dist/generated/models/RegisterEmbeddedRequest.js +6 -0
- package/dist/generated/models/RegisterEmbeddedRequest.js.map +1 -1
- package/dist/generated/models/RevokeSessionRequest.d.ts +1 -1
- package/dist/generated/models/all.d.ts +2 -0
- package/dist/generated/models/all.js +2 -0
- package/dist/generated/models/all.js.map +1 -1
- package/dist/generated/rxjsStub.d.ts +1 -1
- package/dist/generated/rxjsStub.js.map +1 -1
- package/dist/generated/servers.d.ts +1 -1
- package/dist/generated/servers.js +2 -2
- package/dist/generated/servers.js.map +1 -1
- package/dist/generated/types/ObjectParamAPI.d.ts +17 -0
- package/dist/generated/types/ObjectParamAPI.js +31 -18
- package/dist/generated/types/ObjectParamAPI.js.map +1 -1
- package/dist/generated/types/ObservableAPI.d.ts +11 -0
- package/dist/generated/types/ObservableAPI.js +29 -1
- package/dist/generated/types/ObservableAPI.js.map +1 -1
- package/dist/generated/types/PromiseAPI.d.ts +9 -0
- package/dist/generated/types/PromiseAPI.js +32 -18
- package/dist/generated/types/PromiseAPI.js.map +1 -1
- package/dist/generated/util.d.ts +4 -4
- package/dist/generated/util.js +9 -8
- package/dist/generated/util.js.map +1 -1
- package/dist/index.d.ts +20 -18
- package/dist/index.js +23 -17
- package/dist/index.js.map +1 -1
- package/dist/models/accountInventoryListQueries.d.ts +1 -1
- package/dist/models/baseListRequest.d.ts +1 -1
- package/dist/models/cancelTransferOwnershipRequest.d.ts +1 -1
- package/dist/models/completeRecoveryRequest.d.ts +1 -1
- package/dist/models/deployRequest.d.ts +1 -1
- package/dist/models/getAccountRequest.d.ts +1 -1
- package/dist/models/getAccountV2Request.d.ts +3 -0
- package/dist/models/{getWeb3ActionsList.js → getAccountV2Request.js} +1 -1
- package/dist/models/getAccountV2Request.js.map +1 -0
- package/dist/models/getAllowFunctionsRequest.d.ts +1 -1
- package/dist/models/getDeveloperAccountRequest.d.ts +1 -1
- package/dist/models/getPlayerByExternalIdRequest.d.ts +1 -1
- package/dist/models/getPlayerRequest.d.ts +1 -1
- package/dist/models/getPolicyRequest.d.ts +1 -1
- package/dist/models/getTransactionIntentRequest.d.ts +1 -1
- package/dist/models/index.d.ts +23 -23
- package/dist/models/index.js +5 -13
- package/dist/models/index.js.map +1 -1
- package/dist/models/playerInventoryListQueries.d.ts +1 -1
- package/dist/models/preGenerateEmbeddedAccountRequest.js.map +1 -1
- package/dist/models/readContractRequest.d.ts +1 -1
- package/dist/models/signPayloadRequest.d.ts +1 -1
- package/dist/models/startRecoveryRequest.d.ts +1 -1
- package/dist/models/transferOwnershipRequest.d.ts +1 -1
- package/dist/models/updateContractRequest.d.ts +1 -1
- package/dist/models/updatePaymasterRequest.d.ts +1 -1
- package/dist/models/updatePlayerRequest.d.ts +1 -1
- package/dist/models/updatePolicyAllowFunctionRequest.d.ts +1 -1
- package/dist/models/updatePolicyRequest.d.ts +1 -1
- package/dist/models/updatePolicyRuleRequest.d.ts +1 -1
- package/dist/models/updateProjectRequest.d.ts +1 -1
- package/dist/models/validationError.js.map +1 -1
- package/dist/models/webHookEvent.d.ts +1 -1
- package/dist/models/webHookEvent.js.map +1 -1
- package/dist/utilities/httpErrorHandler.js +5 -3
- package/dist/utilities/httpErrorHandler.js.map +1 -1
- package/dist/utilities/middleware.d.ts +2 -2
- package/dist/utilities/middleware.js +1 -1
- package/dist/utilities/middleware.js.map +1 -1
- package/dist/utilities/observable.d.ts +1 -1
- package/dist/utilities/observer.d.ts +1 -1
- package/dist/utilities/observer.js.map +1 -1
- package/dist/utilities/signer.js +6 -3
- package/dist/utilities/signer.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/knip.json +6 -0
- package/package.json +25 -16
- package/tsconfig.json +4 -15
- package/tsconfig.tsbuildinfo +1 -1
- package/dist/models/getWeb3ActionsList.d.ts +0 -3
- package/dist/models/getWeb3ActionsList.js.map +0 -1
- package/dist/models/getWeb3ConnectionRequest.d.ts +0 -4
- package/dist/models/getWeb3ConnectionRequest.js +0 -3
- package/dist/models/getWeb3ConnectionRequest.js.map +0 -1
- package/rome.json +0 -59
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"paymasterApiWrapper.js","sourceRoot":"","sources":["../../src/apis/paymasterApiWrapper.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"paymasterApiWrapper.js","sourceRoot":"","sources":["../../src/apis/paymasterApiWrapper.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4CAKqB;AAGrB,oEAAgE;AAChE,qDAAiD;AAG1C,IAAM,mBAAmB,GAAzB,MAAM,mBAAoB,SAAQ,+BAA4B;IAGnE,YAAY,WAAmB,EAAE,QAAiB;QAChD,KAAK,CAAC,wBAAY,EAAE,WAAW,EAAE,QAAQ,CAAC,CAAA;IAC5C,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,MAAM,CAAC,GAA2B;QAC7C,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,eAAe,CAAC,GAAG,CAAC,CAAA;IAC5C,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,GAAG,CAAC,GAAwB;QACvC,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,YAAY,CAAC,GAAG,CAAC,EAAE,CAAC,CAAA;IAC5C,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,MAAM,CAAC,GAA2B;QAC7C,MAAM,EAAE,EAAE,EAAE,GAAG,IAAI,EAAE,GAAG,GAAG,CAAA;QAC3B,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,eAAe,CAAC,EAAE,EAAE,IAAI,CAAC,CAAA;IACjD,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,MAAM,CAAC,EAAU;QAC5B,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,eAAe,CAAC,EAAE,CAAC,CAAA;IAC3C,CAAC;;AAtCU,kDAAmB;AACvB,wBAAI,GAAG,WAAW,AAAd,CAAc;8BADd,mBAAmB;IAD/B,mCAAgB;;GACJ,mBAAmB,CAuC/B"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { PlayersApi } from '../generated';
|
|
2
|
+
import type { GetPlayerRequest, PlayerCreateRequest, PlayerDeleteResponse, PlayerListQueries, PlayerListResponse, PlayerResponse, UpdatePlayerRequest } from '../models';
|
|
3
|
+
import { BaseApiWrapper } from './baseApiWrapper';
|
|
4
4
|
export declare class PlayersApiWrapper extends BaseApiWrapper<PlayersApi> {
|
|
5
5
|
static type: string;
|
|
6
6
|
constructor(accessToken: string, basePath?: string);
|
|
@@ -10,9 +10,9 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.PlayersApiWrapper = void 0;
|
|
13
|
-
const baseApiWrapper_1 = require("./baseApiWrapper");
|
|
14
13
|
const generated_1 = require("../generated");
|
|
15
14
|
const httpErrorHandler_1 = require("../utilities/httpErrorHandler");
|
|
15
|
+
const baseApiWrapper_1 = require("./baseApiWrapper");
|
|
16
16
|
let PlayersApiWrapper = class PlayersApiWrapper extends baseApiWrapper_1.BaseApiWrapper {
|
|
17
17
|
constructor(accessToken, basePath) {
|
|
18
18
|
super(generated_1.PlayersApi, accessToken, basePath);
|
|
@@ -55,7 +55,7 @@ let PlayersApiWrapper = class PlayersApiWrapper extends baseApiWrapper_1.BaseApi
|
|
|
55
55
|
}
|
|
56
56
|
};
|
|
57
57
|
exports.PlayersApiWrapper = PlayersApiWrapper;
|
|
58
|
-
PlayersApiWrapper.type =
|
|
58
|
+
PlayersApiWrapper.type = 'players';
|
|
59
59
|
exports.PlayersApiWrapper = PlayersApiWrapper = __decorate([
|
|
60
60
|
httpErrorHandler_1.httpErrorHandler,
|
|
61
61
|
__metadata("design:paramtypes", [String, String])
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"playersApiWrapper.js","sourceRoot":"","sources":["../../src/apis/playersApiWrapper.ts"],"names":[],"mappings":";;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"playersApiWrapper.js","sourceRoot":"","sources":["../../src/apis/playersApiWrapper.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4CAAyC;AAUzC,oEAAgE;AAChE,qDAAiD;AAG1C,IAAM,iBAAiB,GAAvB,MAAM,iBAAkB,SAAQ,+BAA0B;IAG/D,YAAY,WAAmB,EAAE,QAAiB;QAChD,KAAK,CAAC,sBAAU,EAAE,WAAW,EAAE,QAAQ,CAAC,CAAA;IAC1C,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,MAAM,CAAC,GAAwB;QAC1C,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,YAAY,CAAC,GAAG,CAAC,CAAA;IACzC,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,GAAG,CAAC,GAAqB;QACpC,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;IACrD,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,IAAI,CAAC,GAAuB;QACvC,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,UAAU,CAC9B,GAAG,EAAE,KAAK,EACV,GAAG,EAAE,IAAI,EACT,GAAG,EAAE,KAAK,EACV,GAAG,EAAE,MAAM,EACX,GAAG,EAAE,IAAI,CACV,CAAA;IACH,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,MAAM,CAAC,GAAwB;QAC1C,MAAM,EAAE,EAAE,EAAE,GAAG,IAAI,EAAE,GAAG,GAAG,CAAA;QAC3B,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,YAAY,CAAC,EAAE,EAAE,IAAI,CAAC,CAAA;IAC9C,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,MAAM,CAAC,EAAU;QAC5B,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,YAAY,CAAC,EAAE,CAAC,CAAA;IACxC,CAAC;;AApDU,8CAAiB;AACrB,sBAAI,GAAG,SAAS,AAAZ,CAAY;4BADZ,iBAAiB;IAD7B,mCAAgB;;GACJ,iBAAiB,CAqD7B"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { type GasReportListResponse, PoliciesApi } from '../generated';
|
|
2
|
+
import type { CreatePolicyRequest, GetPolicyRequest, GetPolicyTotalGasUsageRequest, PolicyDeleteResponse, PolicyListQueries, PolicyListResponse, PolicyResponse, UpdatePolicyRequest } from '../models';
|
|
3
|
+
import { BaseApiWrapper } from './baseApiWrapper';
|
|
4
4
|
export declare class PoliciesApiWrapper extends BaseApiWrapper<PoliciesApi> {
|
|
5
5
|
static type: string;
|
|
6
6
|
constructor(accessToken: string, basePath?: string);
|
|
@@ -10,9 +10,9 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.PoliciesApiWrapper = void 0;
|
|
13
|
-
const baseApiWrapper_1 = require("./baseApiWrapper");
|
|
14
13
|
const generated_1 = require("../generated");
|
|
15
14
|
const httpErrorHandler_1 = require("../utilities/httpErrorHandler");
|
|
15
|
+
const baseApiWrapper_1 = require("./baseApiWrapper");
|
|
16
16
|
let PoliciesApiWrapper = class PoliciesApiWrapper extends baseApiWrapper_1.BaseApiWrapper {
|
|
17
17
|
constructor(accessToken, basePath) {
|
|
18
18
|
super(generated_1.PoliciesApi, accessToken, basePath);
|
|
@@ -76,7 +76,7 @@ let PoliciesApiWrapper = class PoliciesApiWrapper extends baseApiWrapper_1.BaseA
|
|
|
76
76
|
}
|
|
77
77
|
};
|
|
78
78
|
exports.PoliciesApiWrapper = PoliciesApiWrapper;
|
|
79
|
-
PoliciesApiWrapper.type =
|
|
79
|
+
PoliciesApiWrapper.type = 'policies';
|
|
80
80
|
exports.PoliciesApiWrapper = PoliciesApiWrapper = __decorate([
|
|
81
81
|
httpErrorHandler_1.httpErrorHandler,
|
|
82
82
|
__metadata("design:paramtypes", [String, String])
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"policiesApiWrapper.js","sourceRoot":"","sources":["../../src/apis/policiesApiWrapper.ts"],"names":[],"mappings":";;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"policiesApiWrapper.js","sourceRoot":"","sources":["../../src/apis/policiesApiWrapper.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4CAAsE;AAWtE,oEAAgE;AAChE,qDAAiD;AAG1C,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,+BAA2B;IAGjE,YAAY,WAAmB,EAAE,QAAiB;QAChD,KAAK,CAAC,uBAAW,EAAE,WAAW,EAAE,QAAQ,CAAC,CAAA;IAC3C,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,MAAM,CAAC,GAAwB;QAC1C,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,YAAY,CAAC,GAAG,CAAC,CAAA;IACzC,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,MAAM,CAAC,GAAwB;QAC1C,MAAM,EAAE,EAAE,EAAE,GAAG,GAAG,CAAA;QAClB,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,YAAY,CAAC,EAAE,EAAE,GAAG,CAAC,CAAA;IAC7C,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,MAAM,CAAC,EAAU;QAC5B,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,YAAY,CAAC,EAAE,CAAC,CAAA;IACxC,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,OAAO,CAAC,EAAU;QAC7B,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,aAAa,CAAC,EAAE,CAAC,CAAA;IACzC,CAAC;IACD;;;OAGG;IACI,KAAK,CAAC,MAAM,CAAC,EAAU;QAC5B,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,YAAY,CAAC,EAAE,CAAC,CAAA;IACxC,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,IAAI,CAAC,GAAuB;QACvC,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,WAAW,CAC/B,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,CACb,CAAA;IACH,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,GAAG,CAAC,GAAqB;QACpC,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;IACrD,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,gBAAgB,CAC3B,GAAkC;QAElC,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,sBAAsB,CAAC,GAAG,CAAC,EAAE,CAAC,CAAA;IACtD,CAAC;;AA/EU,gDAAkB;AACtB,uBAAI,GAAG,UAAU,AAAb,CAAa;6BADb,kBAAkB;IAD9B,mCAAgB;;GACJ,kBAAkB,CAgF9B"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { PolicyRulesApi } from '../generated';
|
|
2
|
+
import type { CreatePolicyRuleRequest, PolicyRuleDeleteResponse, PolicyRuleListQueries, PolicyRuleListResponse, PolicyRuleResponse, UpdatePolicyRuleRequest } from '../models';
|
|
3
|
+
import { BaseApiWrapper } from './baseApiWrapper';
|
|
4
4
|
export declare class PolicyRulesApiWrapper extends BaseApiWrapper<PolicyRulesApi> {
|
|
5
5
|
static type: string;
|
|
6
6
|
constructor(accessToken: string, basePath?: string);
|
|
@@ -10,9 +10,9 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.PolicyRulesApiWrapper = void 0;
|
|
13
|
-
const baseApiWrapper_1 = require("./baseApiWrapper");
|
|
14
13
|
const generated_1 = require("../generated");
|
|
15
14
|
const httpErrorHandler_1 = require("../utilities/httpErrorHandler");
|
|
15
|
+
const baseApiWrapper_1 = require("./baseApiWrapper");
|
|
16
16
|
let PolicyRulesApiWrapper = class PolicyRulesApiWrapper extends baseApiWrapper_1.BaseApiWrapper {
|
|
17
17
|
constructor(accessToken, basePath) {
|
|
18
18
|
super(generated_1.PolicyRulesApi, accessToken, basePath);
|
|
@@ -48,7 +48,7 @@ let PolicyRulesApiWrapper = class PolicyRulesApiWrapper extends baseApiWrapper_1
|
|
|
48
48
|
}
|
|
49
49
|
};
|
|
50
50
|
exports.PolicyRulesApiWrapper = PolicyRulesApiWrapper;
|
|
51
|
-
PolicyRulesApiWrapper.type =
|
|
51
|
+
PolicyRulesApiWrapper.type = 'policyRules';
|
|
52
52
|
exports.PolicyRulesApiWrapper = PolicyRulesApiWrapper = __decorate([
|
|
53
53
|
httpErrorHandler_1.httpErrorHandler,
|
|
54
54
|
__metadata("design:paramtypes", [String, String])
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"policyRulesApiWrapper.js","sourceRoot":"","sources":["../../src/apis/policyRulesApiWrapper.ts"],"names":[],"mappings":";;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"policyRulesApiWrapper.js","sourceRoot":"","sources":["../../src/apis/policyRulesApiWrapper.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4CAA6C;AAS7C,oEAAgE;AAChE,qDAAiD;AAG1C,IAAM,qBAAqB,GAA3B,MAAM,qBAAsB,SAAQ,+BAA8B;IAGvE,YAAY,WAAmB,EAAE,QAAiB;QAChD,KAAK,CAAC,0BAAc,EAAE,WAAW,EAAE,QAAQ,CAAC,CAAA;IAC9C,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,MAAM,CACjB,GAA4B;QAE5B,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,gBAAgB,CAAC,GAAG,CAAC,CAAA;IAC7C,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,IAAI,CACf,GAA0B;QAE1B,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,cAAc,CAClC,GAAG,CAAC,MAAM,EACV,GAAG,CAAC,KAAK,EACT,GAAG,CAAC,IAAI,EACR,GAAG,CAAC,KAAK,EACT,GAAG,CAAC,MAAM,CACX,CAAA;IACH,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,MAAM,CACjB,GAA4B;QAE5B,MAAM,EAAE,EAAE,EAAE,GAAG,OAAO,EAAE,GAAG,GAAG,CAAA;QAC9B,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,gBAAgB,CAAC,EAAE,EAAE,OAAO,CAAC,CAAA;IACrD,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,MAAM,CAAC,EAAU;QAC5B,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,gBAAgB,CAAC,EAAE,CAAC,CAAA;IAC5C,CAAC;;AAlDU,sDAAqB;AACzB,0BAAI,GAAG,aAAa,AAAhB,CAAgB;gCADhB,qBAAqB;IADjC,mCAAgB;;GACJ,qBAAqB,CAmDjC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { SessionsApi } from '../generated';
|
|
2
|
+
import type { CreateSessionRequest, RevokeSessionRequest, SessionListQueries, SessionListResponse, SessionResponse, SignatureSessionRequest } from '../models';
|
|
3
|
+
import type { GetSessionRequest } from '../models/getSessionRequest';
|
|
4
|
+
import { BaseApiWrapper } from './baseApiWrapper';
|
|
5
5
|
export declare class SessionsApiWrapper extends BaseApiWrapper<SessionsApi> {
|
|
6
6
|
static type: string;
|
|
7
7
|
constructor(accessToken: string, basePath?: string);
|
|
@@ -10,9 +10,9 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.SessionsApiWrapper = void 0;
|
|
13
|
-
const baseApiWrapper_1 = require("./baseApiWrapper");
|
|
14
13
|
const generated_1 = require("../generated");
|
|
15
14
|
const httpErrorHandler_1 = require("../utilities/httpErrorHandler");
|
|
15
|
+
const baseApiWrapper_1 = require("./baseApiWrapper");
|
|
16
16
|
let SessionsApiWrapper = class SessionsApiWrapper extends baseApiWrapper_1.BaseApiWrapper {
|
|
17
17
|
constructor(accessToken, basePath) {
|
|
18
18
|
super(generated_1.SessionsApi, accessToken, basePath);
|
|
@@ -35,7 +35,7 @@ let SessionsApiWrapper = class SessionsApiWrapper extends baseApiWrapper_1.BaseA
|
|
|
35
35
|
* Returns a player session by session id
|
|
36
36
|
*/
|
|
37
37
|
async get(req) {
|
|
38
|
-
return await this.api.getSession(req.id, req.expandTransactionIntent ? [
|
|
38
|
+
return await this.api.getSession(req.id, req.expandTransactionIntent ? ['transactionIntents'] : undefined);
|
|
39
39
|
}
|
|
40
40
|
/**
|
|
41
41
|
* Revokes the session for the account.
|
|
@@ -54,7 +54,7 @@ let SessionsApiWrapper = class SessionsApiWrapper extends baseApiWrapper_1.BaseA
|
|
|
54
54
|
}
|
|
55
55
|
};
|
|
56
56
|
exports.SessionsApiWrapper = SessionsApiWrapper;
|
|
57
|
-
SessionsApiWrapper.type =
|
|
57
|
+
SessionsApiWrapper.type = 'sessions';
|
|
58
58
|
exports.SessionsApiWrapper = SessionsApiWrapper = __decorate([
|
|
59
59
|
httpErrorHandler_1.httpErrorHandler,
|
|
60
60
|
__metadata("design:paramtypes", [String, String])
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sessionsApiWrapper.js","sourceRoot":"","sources":["../../src/apis/sessionsApiWrapper.ts"],"names":[],"mappings":";;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"sessionsApiWrapper.js","sourceRoot":"","sources":["../../src/apis/sessionsApiWrapper.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4CAA0C;AAU1C,oEAAgE;AAChE,qDAAiD;AAG1C,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,+BAA2B;IAGjE,YAAY,WAAmB,EAAE,QAAiB;QAChD,KAAK,CAAC,uBAAW,EAAE,WAAW,EAAE,QAAQ,CAAC,CAAA;IAC3C,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,MAAM,CACjB,GAAyB,EACzB,QAAiB;QAEjB,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,aAAa,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAA;IACpD,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,IAAI,CAAC,GAAuB;QACvC,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,iBAAiB,CACrC,GAAG,CAAC,MAAM,EACV,GAAG,CAAC,KAAK,EACT,GAAG,CAAC,IAAI,EACR,GAAG,CAAC,KAAK,EACT,GAAG,CAAC,MAAM,CACX,CAAA;IACH,CAAC;IAED;;OAEG;IACI,KAAK,CAAC,GAAG,CAAC,GAAsB;QACrC,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,UAAU,CAC9B,GAAG,CAAC,EAAE,EACN,GAAG,CAAC,uBAAuB,CAAC,CAAC,CAAC,CAAC,oBAAoB,CAAC,CAAC,CAAC,CAAC,SAAS,CACjE,CAAA;IACH,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,MAAM,CACjB,GAAyB,EACzB,QAAiB;QAEjB,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,aAAa,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAA;IACpD,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,SAAS,CACpB,GAA4B;QAE5B,MAAM,EAAE,EAAE,EAAE,GAAG,OAAO,EAAE,GAAG,GAAG,CAAA;QAC9B,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,gBAAgB,CAAC,EAAE,EAAE,OAAO,CAAC,CAAA;IACrD,CAAC;;AA9DU,gDAAkB;AACtB,uBAAI,GAAG,UAAU,AAAb,CAAa;6BADb,kBAAkB;IAD9B,mCAAgB;;GACJ,kBAAkB,CA+D9B"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { type DeveloperAccountResponse, SettingsApi } from '../generated';
|
|
2
|
+
import type { CreateDeveloperAccountCreateRequest, DeveloperAccountDeleteResponse, DeveloperAccountListResponse } from '../models';
|
|
3
|
+
import type { GetDeveloperAccountRequest } from '../models/getDeveloperAccountRequest';
|
|
4
|
+
import { BaseApiWrapper } from './baseApiWrapper';
|
|
5
5
|
export declare class SettingsApiWrapper extends BaseApiWrapper<SettingsApi> {
|
|
6
6
|
static type: string;
|
|
7
7
|
constructor(accessToken: string, basePath?: string);
|
|
@@ -10,9 +10,9 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.SettingsApiWrapper = void 0;
|
|
13
|
-
const baseApiWrapper_1 = require("./baseApiWrapper");
|
|
14
13
|
const generated_1 = require("../generated");
|
|
15
14
|
const httpErrorHandler_1 = require("../utilities/httpErrorHandler");
|
|
15
|
+
const baseApiWrapper_1 = require("./baseApiWrapper");
|
|
16
16
|
let SettingsApiWrapper = class SettingsApiWrapper extends baseApiWrapper_1.BaseApiWrapper {
|
|
17
17
|
constructor(accessToken, basePath) {
|
|
18
18
|
super(generated_1.SettingsApi, accessToken, basePath);
|
|
@@ -53,7 +53,7 @@ let SettingsApiWrapper = class SettingsApiWrapper extends baseApiWrapper_1.BaseA
|
|
|
53
53
|
}
|
|
54
54
|
};
|
|
55
55
|
exports.SettingsApiWrapper = SettingsApiWrapper;
|
|
56
|
-
SettingsApiWrapper.type =
|
|
56
|
+
SettingsApiWrapper.type = 'settings';
|
|
57
57
|
exports.SettingsApiWrapper = SettingsApiWrapper = __decorate([
|
|
58
58
|
httpErrorHandler_1.httpErrorHandler,
|
|
59
59
|
__metadata("design:paramtypes", [String, String])
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"settingsApiWrapper.js","sourceRoot":"","sources":["../../src/apis/settingsApiWrapper.ts"],"names":[],"mappings":";;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"settingsApiWrapper.js","sourceRoot":"","sources":["../../src/apis/settingsApiWrapper.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4CAAyE;AAOzE,oEAAgE;AAChE,qDAAiD;AAG1C,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,+BAA2B;IAGjE,YAAY,WAAmB,EAAE,QAAiB;QAChD,KAAK,CAAC,uBAAW,EAAE,WAAW,EAAE,QAAQ,CAAC,CAAA;IAC3C,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,sBAAsB,CACjC,GAAwC;QAExC,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,sBAAsB,CAAC,GAAG,CAAC,CAAA;IACnD,CAAC;IAED;;OAEG;IACI,KAAK,CAAC,oBAAoB;QAC/B,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,oBAAoB,EAAE,CAAA;IAC9C,CAAC;IAED;;OAEG;IACI,KAAK,CAAC,mBAAmB,CAC9B,GAA+B;QAE/B,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,mBAAmB,CAAC,GAAG,CAAC,EAAE,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;IAC/D,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,sBAAsB,CACjC,EAAU;QAEV,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,sBAAsB,CAAC,EAAE,CAAC,CAAA;IAClD,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,sBAAsB,CAAC,OAAe;QACjD,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,GAAG,CAAC,sBAAsB,CAAC,OAAO,CAAC,CAAA;QAC7D,OAAO,MAAM,CAAC,OAAO,CAAA;IACvB,CAAC;;AAlDU,gDAAkB;AACtB,uBAAI,GAAG,UAAU,AAAb,CAAa;6BADb,kBAAkB;IAD9B,mCAAgB;;GACJ,kBAAkB,CAmD9B"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { type CreateSubscriptionRequest, type SubscriptionDeleteResponse, type SubscriptionListResponse, type SubscriptionResponse, SubscriptionsApi } from '../generated';
|
|
2
|
+
import type { GetSubscriptionRequest } from '../models/getSubscriptionRequest';
|
|
3
|
+
import { BaseApiWrapper } from './baseApiWrapper';
|
|
4
4
|
export declare class SubscriptionsApiWrapper extends BaseApiWrapper<SubscriptionsApi> {
|
|
5
5
|
static type: string;
|
|
6
6
|
constructor(accessToken: string, basePath?: string);
|
|
@@ -10,9 +10,9 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.SubscriptionsApiWrapper = void 0;
|
|
13
|
-
const baseApiWrapper_1 = require("./baseApiWrapper");
|
|
14
|
-
const httpErrorHandler_1 = require("../utilities/httpErrorHandler");
|
|
15
13
|
const generated_1 = require("../generated");
|
|
14
|
+
const httpErrorHandler_1 = require("../utilities/httpErrorHandler");
|
|
15
|
+
const baseApiWrapper_1 = require("./baseApiWrapper");
|
|
16
16
|
let SubscriptionsApiWrapper = class SubscriptionsApiWrapper extends baseApiWrapper_1.BaseApiWrapper {
|
|
17
17
|
constructor(accessToken, basePath) {
|
|
18
18
|
super(generated_1.SubscriptionsApi, accessToken, basePath);
|
|
@@ -49,7 +49,7 @@ let SubscriptionsApiWrapper = class SubscriptionsApiWrapper extends baseApiWrapp
|
|
|
49
49
|
}
|
|
50
50
|
};
|
|
51
51
|
exports.SubscriptionsApiWrapper = SubscriptionsApiWrapper;
|
|
52
|
-
SubscriptionsApiWrapper.type =
|
|
52
|
+
SubscriptionsApiWrapper.type = 'subscriptions';
|
|
53
53
|
exports.SubscriptionsApiWrapper = SubscriptionsApiWrapper = __decorate([
|
|
54
54
|
httpErrorHandler_1.httpErrorHandler,
|
|
55
55
|
__metadata("design:paramtypes", [String, String])
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscriptionsApiWrapper.js","sourceRoot":"","sources":["../../src/apis/subscriptionsApiWrapper.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"subscriptionsApiWrapper.js","sourceRoot":"","sources":["../../src/apis/subscriptionsApiWrapper.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4CAMqB;AAErB,oEAAgE;AAChE,qDAAiD;AAG1C,IAAM,uBAAuB,GAA7B,MAAM,uBAAwB,SAAQ,+BAAgC;IAG3E,YAAY,WAAmB,EAAE,QAAiB;QAChD,KAAK,CAAC,4BAAgB,EAAE,WAAW,EAAE,QAAQ,CAAC,CAAA;IAChD,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,MAAM,CACjB,GAA8B;QAE9B,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,kBAAkB,CAAC,GAAG,CAAC,CAAA;IAC/C,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,IAAI;QACf,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,gBAAgB,EAAE,CAAA;IAC1C,CAAC;IAED;;;;;OAKG;IACI,KAAK,CAAC,GAAG,CAAC,GAA2B;QAC1C,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,eAAe,CAAC,GAAG,CAAC,EAAE,CAAC,CAAA;IAC/C,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,MAAM,CAAC,EAAU;QAC5B,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,kBAAkB,CAAC,EAAE,CAAC,CAAA;IAC9C,CAAC;;AAzCU,0DAAuB;AAC3B,4BAAI,GAAG,eAAe,AAAlB,CAAkB;kCADlB,uBAAuB;IADnC,mCAAgB;;GACJ,uBAAuB,CA0CnC"}
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { TransactionIntentsApi } from '../generated';
|
|
2
|
+
import type { CreateTransactionIntentRequest, EstimateTransactionIntentGasResult, GetTransactionIntentRequest, SignatureTransactionIntentRequest, TransactionIntentListQueries, TransactionIntentListResponse, TransactionIntentResponse } from '../models';
|
|
3
|
+
import { BaseApiWrapper } from './baseApiWrapper';
|
|
4
4
|
export declare class TransactionIntentsApiWrapper extends BaseApiWrapper<TransactionIntentsApi> {
|
|
5
5
|
static type: string;
|
|
6
|
-
private readonly accessToken;
|
|
7
|
-
private readonly basePath?;
|
|
8
6
|
constructor(accessToken: string, basePath?: string);
|
|
9
7
|
/**
|
|
10
8
|
* Estimate the gas cost of creating a transaction intent and putting it onchain.
|
|
@@ -10,14 +10,12 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.TransactionIntentsApiWrapper = void 0;
|
|
13
|
-
const baseApiWrapper_1 = require("./baseApiWrapper");
|
|
14
13
|
const generated_1 = require("../generated");
|
|
15
14
|
const httpErrorHandler_1 = require("../utilities/httpErrorHandler");
|
|
15
|
+
const baseApiWrapper_1 = require("./baseApiWrapper");
|
|
16
16
|
let TransactionIntentsApiWrapper = class TransactionIntentsApiWrapper extends baseApiWrapper_1.BaseApiWrapper {
|
|
17
17
|
constructor(accessToken, basePath) {
|
|
18
18
|
super(generated_1.TransactionIntentsApi, accessToken, basePath);
|
|
19
|
-
this.accessToken = accessToken;
|
|
20
|
-
this.basePath = basePath;
|
|
21
19
|
}
|
|
22
20
|
/**
|
|
23
21
|
* Estimate the gas cost of creating a transaction intent and putting it onchain.
|
|
@@ -58,7 +56,7 @@ let TransactionIntentsApiWrapper = class TransactionIntentsApiWrapper extends ba
|
|
|
58
56
|
}
|
|
59
57
|
};
|
|
60
58
|
exports.TransactionIntentsApiWrapper = TransactionIntentsApiWrapper;
|
|
61
|
-
TransactionIntentsApiWrapper.type =
|
|
59
|
+
TransactionIntentsApiWrapper.type = 'transactionIntents';
|
|
62
60
|
exports.TransactionIntentsApiWrapper = TransactionIntentsApiWrapper = __decorate([
|
|
63
61
|
httpErrorHandler_1.httpErrorHandler,
|
|
64
62
|
__metadata("design:paramtypes", [String, String])
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transactionIntentsApiWrapper.js","sourceRoot":"","sources":["../../src/apis/transactionIntentsApiWrapper.ts"],"names":[],"mappings":";;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"transactionIntentsApiWrapper.js","sourceRoot":"","sources":["../../src/apis/transactionIntentsApiWrapper.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4CAAoD;AAUpD,oEAAgE;AAChE,qDAAiD;AAG1C,IAAM,4BAA4B,GAAlC,MAAM,4BAA6B,SAAQ,+BAAqC;IAGrF,YAAY,WAAmB,EAAE,QAAiB;QAChD,KAAK,CAAC,iCAAqB,EAAE,WAAW,EAAE,QAAQ,CAAC,CAAA;IACrD,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,YAAY,CACvB,GAAmC;QAEnC,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,6BAA6B,CAAC,GAAG,CAAC,CAAA;IAC1D,CAAC;IAED;;;;OAIG;IACI,KAAK,CAAC,MAAM,CACjB,GAAmC,EACnC,QAAiB;QAEjB,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,uBAAuB,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAA;IAC9D,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,GAAG,CACd,GAAgC;QAEhC,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,oBAAoB,CAAC,GAAG,CAAC,EAAE,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;IAChE,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,IAAI,CACf,GAAkC;QAElC,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,qBAAqB,CACzC,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,CACZ,CAAA;IACH,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,SAAS,CACpB,GAAsC;QAEtC,MAAM,EAAE,EAAE,EAAE,GAAG,IAAI,EAAE,GAAG,GAAG,CAAA;QAC3B,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,SAAS,CAAC,EAAE,EAAE,IAAI,CAAC,CAAA;IAC3C,CAAC;;AApEU,oEAA4B;AAChC,iCAAI,GAAG,oBAAoB,AAAvB,CAAuB;uCADvB,4BAA4B;IADxC,mCAAgB;;GACJ,4BAA4B,CAqExC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { BaseAPIRequestFactory } from './baseapi';
|
|
2
|
+
import { Configuration } from '../configuration';
|
|
3
|
+
import { RequestContext, ResponseContext } from '../http/http';
|
|
4
|
+
/**
|
|
5
|
+
* no description
|
|
6
|
+
*/
|
|
7
|
+
export declare class GraphQLApiRequestFactory extends BaseAPIRequestFactory {
|
|
8
|
+
/**
|
|
9
|
+
* @param body
|
|
10
|
+
*/
|
|
11
|
+
query(body: any, _options?: Configuration): Promise<RequestContext>;
|
|
12
|
+
}
|
|
13
|
+
export declare class GraphQLApiResponseProcessor {
|
|
14
|
+
/**
|
|
15
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
16
|
+
* to the expected objects
|
|
17
|
+
*
|
|
18
|
+
* @params response Response returned by the server for a request to query
|
|
19
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
20
|
+
*/
|
|
21
|
+
query(response: ResponseContext): Promise<any>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GraphQLApiResponseProcessor = exports.GraphQLApiRequestFactory = void 0;
|
|
4
|
+
// TODO: better import syntax?
|
|
5
|
+
const baseapi_1 = require("./baseapi");
|
|
6
|
+
const http_1 = require("../http/http");
|
|
7
|
+
const ObjectSerializer_1 = require("../models/ObjectSerializer");
|
|
8
|
+
const exception_1 = require("./exception");
|
|
9
|
+
const util_1 = require("../util");
|
|
10
|
+
/**
|
|
11
|
+
* no description
|
|
12
|
+
*/
|
|
13
|
+
class GraphQLApiRequestFactory extends baseapi_1.BaseAPIRequestFactory {
|
|
14
|
+
/**
|
|
15
|
+
* @param body
|
|
16
|
+
*/
|
|
17
|
+
async query(body, _options) {
|
|
18
|
+
let _config = _options || this.configuration;
|
|
19
|
+
// verify required parameter 'body' is not null or undefined
|
|
20
|
+
if (body === null || body === undefined) {
|
|
21
|
+
throw new baseapi_1.RequiredError("GraphQLApi", "query", "body");
|
|
22
|
+
}
|
|
23
|
+
// Path Params
|
|
24
|
+
const localVarPath = '/v1/graphql';
|
|
25
|
+
// Make Request Context
|
|
26
|
+
const requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.POST);
|
|
27
|
+
requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
|
|
28
|
+
// Body Params
|
|
29
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
|
|
30
|
+
"application/json"
|
|
31
|
+
]);
|
|
32
|
+
requestContext.setHeaderParam("Content-Type", contentType);
|
|
33
|
+
const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "any", ""), contentType);
|
|
34
|
+
requestContext.setBody(serializedBody);
|
|
35
|
+
const defaultAuth = _options?.authMethods?.default || this.configuration?.authMethods?.default;
|
|
36
|
+
if (defaultAuth?.applySecurityAuthentication) {
|
|
37
|
+
await defaultAuth?.applySecurityAuthentication(requestContext);
|
|
38
|
+
}
|
|
39
|
+
return requestContext;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
exports.GraphQLApiRequestFactory = GraphQLApiRequestFactory;
|
|
43
|
+
class GraphQLApiResponseProcessor {
|
|
44
|
+
/**
|
|
45
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
46
|
+
* to the expected objects
|
|
47
|
+
*
|
|
48
|
+
* @params response Response returned by the server for a request to query
|
|
49
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
50
|
+
*/
|
|
51
|
+
async query(response) {
|
|
52
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
53
|
+
if ((0, util_1.isCodeInRange)("200", response.httpStatusCode)) {
|
|
54
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(await response.body.text(), contentType), "any", "");
|
|
55
|
+
return body;
|
|
56
|
+
}
|
|
57
|
+
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
58
|
+
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
59
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(await response.body.text(), contentType), "any", "");
|
|
60
|
+
return body;
|
|
61
|
+
}
|
|
62
|
+
throw new exception_1.ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
exports.GraphQLApiResponseProcessor = GraphQLApiResponseProcessor;
|
|
66
|
+
//# sourceMappingURL=GraphQLApi.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GraphQLApi.js","sourceRoot":"","sources":["../../../src/generated/apis/GraphQLApi.ts"],"names":[],"mappings":";;;AAAA,8BAA8B;AAC9B,uCAAmF;AAEnF,uCAAmF;AAGnF,iEAA4D;AAC5D,2CAAyC;AACzC,kCAAsD;AAKtD;;GAEG;AACH,MAAa,wBAAyB,SAAQ,+BAAqB;IAE/D;;OAEG;IACI,KAAK,CAAC,KAAK,CAAC,IAAS,EAAE,QAAwB;QAClD,IAAI,OAAO,GAAG,QAAQ,IAAI,IAAI,CAAC,aAAa,CAAC;QAE7C,4DAA4D;QAC5D,IAAI,IAAI,KAAK,IAAI,IAAI,IAAI,KAAK,SAAS,EAAE,CAAC;YACtC,MAAM,IAAI,uBAAa,CAAC,YAAY,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;QAC3D,CAAC;QAGD,cAAc;QACd,MAAM,YAAY,GAAG,aAAa,CAAC;QAEnC,uBAAuB;QACvB,MAAM,cAAc,GAAG,OAAO,CAAC,UAAU,CAAC,kBAAkB,CAAC,YAAY,EAAE,iBAAU,CAAC,IAAI,CAAC,CAAC;QAC5F,cAAc,CAAC,cAAc,CAAC,QAAQ,EAAE,6BAA6B,CAAC,CAAA;QAGtE,cAAc;QACd,MAAM,WAAW,GAAG,mCAAgB,CAAC,qBAAqB,CAAC;YACvD,kBAAkB;SACrB,CAAC,CAAC;QACH,cAAc,CAAC,cAAc,CAAC,cAAc,EAAE,WAAW,CAAC,CAAC;QAC3D,MAAM,cAAc,GAAG,mCAAgB,CAAC,SAAS,CAC7C,mCAAgB,CAAC,SAAS,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,EAC3C,WAAW,CACd,CAAC;QACF,cAAc,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC;QAGvC,MAAM,WAAW,GAAuC,QAAQ,EAAE,WAAW,EAAE,OAAO,IAAI,IAAI,CAAC,aAAa,EAAE,WAAW,EAAE,OAAO,CAAA;QAClI,IAAI,WAAW,EAAE,2BAA2B,EAAE,CAAC;YAC3C,MAAM,WAAW,EAAE,2BAA2B,CAAC,cAAc,CAAC,CAAC;QACnE,CAAC;QAED,OAAO,cAAc,CAAC;IAC1B,CAAC;CAEJ;AA1CD,4DA0CC;AAED,MAAa,2BAA2B;IAEpC;;;;;;OAMG;IACK,KAAK,CAAC,KAAK,CAAC,QAAyB;QACzC,MAAM,WAAW,GAAG,mCAAgB,CAAC,kBAAkB,CAAC,QAAQ,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC,CAAC;QAC1F,IAAI,IAAA,oBAAa,EAAC,KAAK,EAAE,QAAQ,CAAC,cAAc,CAAC,EAAE,CAAC;YAChD,MAAM,IAAI,GAAQ,mCAAgB,CAAC,WAAW,CAC1C,mCAAgB,CAAC,KAAK,CAAC,MAAM,QAAQ,CAAC,IAAI,CAAC,IAAI,EAAE,EAAE,WAAW,CAAC,EAC/D,KAAK,EAAE,EAAE,CACL,CAAC;YACT,OAAO,IAAI,CAAC;QAChB,CAAC;QAED,6EAA6E;QAC7E,IAAI,QAAQ,CAAC,cAAc,IAAI,GAAG,IAAI,QAAQ,CAAC,cAAc,IAAI,GAAG,EAAE,CAAC;YACnE,MAAM,IAAI,GAAQ,mCAAgB,CAAC,WAAW,CAC1C,mCAAgB,CAAC,KAAK,CAAC,MAAM,QAAQ,CAAC,IAAI,CAAC,IAAI,EAAE,EAAE,WAAW,CAAC,EAC/D,KAAK,EAAE,EAAE,CACL,CAAC;YACT,OAAO,IAAI,CAAC;QAChB,CAAC;QAED,MAAM,IAAI,wBAAY,CAA8B,QAAQ,CAAC,cAAc,EAAE,0BAA0B,EAAE,MAAM,QAAQ,CAAC,YAAY,EAAE,EAAE,QAAQ,CAAC,OAAO,CAAC,CAAC;IAC9J,CAAC;CAEJ;AA/BD,kEA+BC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { type AuthMethods, type AuthMethodsConfiguration } from './auth/auth';
|
|
2
|
+
import type { HttpLibrary } from './http/http';
|
|
3
|
+
import { type Middleware, type PromiseMiddleware } from './middleware';
|
|
4
|
+
import { type BaseServerConfiguration } from './servers';
|
|
5
5
|
export interface Configuration {
|
|
6
6
|
readonly baseServer: BaseServerConfiguration;
|
|
7
7
|
readonly httpApi: HttpLibrary;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.createConfiguration = createConfiguration;
|
|
4
|
-
const
|
|
4
|
+
const auth_1 = require("./auth/auth");
|
|
5
5
|
const isomorphic_fetch_1 = require("./http/isomorphic-fetch");
|
|
6
|
+
const middleware_1 = require("./middleware");
|
|
6
7
|
const servers_1 = require("./servers");
|
|
7
|
-
const auth_1 = require("./auth/auth");
|
|
8
8
|
/**
|
|
9
9
|
* Provide your `ConfigurationParameters` to this function to get a `Configuration`
|
|
10
10
|
* object that can be used to configure your APIs (in the constructor or
|
|
@@ -24,10 +24,10 @@ function createConfiguration(conf = {}) {
|
|
|
24
24
|
baseServer: conf.baseServer !== undefined ? conf.baseServer : servers_1.server1,
|
|
25
25
|
httpApi: conf.httpApi || new isomorphic_fetch_1.IsomorphicFetchHttpLibrary(),
|
|
26
26
|
middleware: conf.middleware || [],
|
|
27
|
-
authMethods: (0, auth_1.configureAuthMethods)(conf.authMethods)
|
|
27
|
+
authMethods: (0, auth_1.configureAuthMethods)(conf.authMethods),
|
|
28
28
|
};
|
|
29
29
|
if (conf.promiseMiddleware) {
|
|
30
|
-
conf.promiseMiddleware.forEach(m => configuration.middleware.push(new middleware_1.PromiseMiddlewareWrapper(m)));
|
|
30
|
+
conf.promiseMiddleware.forEach((m) => configuration.middleware.push(new middleware_1.PromiseMiddlewareWrapper(m)));
|
|
31
31
|
}
|
|
32
32
|
return configuration;
|
|
33
33
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"configuration.js","sourceRoot":"","sources":["../../src/generated/configuration.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"configuration.js","sourceRoot":"","sources":["../../src/generated/configuration.ts"],"names":[],"mappings":";;AA2EA,kDAeC;AA1FD,sCAIoB;AAEpB,8DAA0F;AAC1F,6CAIqB;AACrB,uCAAiE;AAiDjE;;;;;;;;;;;;;GAaG;AACH,SAAgB,mBAAmB,CACjC,OAAgC,EAAE;IAElC,MAAM,aAAa,GAAkB;QACnC,UAAU,EAAE,IAAI,CAAC,UAAU,KAAK,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,iBAAO;QACrE,OAAO,EAAE,IAAI,CAAC,OAAO,IAAI,IAAI,6CAAkB,EAAE;QACjD,UAAU,EAAE,IAAI,CAAC,UAAU,IAAI,EAAE;QACjC,WAAW,EAAE,IAAA,2BAAoB,EAAC,IAAI,CAAC,WAAW,CAAC;KACpD,CAAA;IACD,IAAI,IAAI,CAAC,iBAAiB,EAAE,CAAC;QAC3B,IAAI,CAAC,iBAAiB,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE,CACnC,aAAa,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,qCAAwB,CAAC,CAAC,CAAC,CAAC,CAC/D,CAAA;IACH,CAAC;IACD,OAAO,aAAa,CAAA;AACtB,CAAC"}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
export
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export { createConfiguration } from
|
|
5
|
-
export
|
|
6
|
-
export * from "./apis/exception";
|
|
7
|
-
export * from "./servers";
|
|
8
|
-
export { RequiredError } from "./apis/baseapi";
|
|
1
|
+
export { RequiredError } from './apis/baseapi';
|
|
2
|
+
export * from './apis/exception';
|
|
3
|
+
export * from './auth/auth';
|
|
4
|
+
export { Configuration, createConfiguration } from './configuration';
|
|
5
|
+
export * from './http/http';
|
|
9
6
|
export { PromiseMiddleware as Middleware } from './middleware';
|
|
10
|
-
export
|
|
7
|
+
export * from './models/all';
|
|
8
|
+
export * from './servers';
|
|
9
|
+
export { PromiseAccountsApi as AccountsApi, PromiseAdminAuthenticationApi as AdminAuthenticationApi, PromiseAuthenticationApi as AuthenticationApi, PromiseContractsApi as ContractsApi, PromiseEventsApi as EventsApi, PromiseExchangeApi as ExchangeApi, PromiseInventoriesApi as InventoriesApi, PromisePaymasterApi as PaymasterApi, PromisePlayersApi as PlayersApi, PromisePoliciesApi as PoliciesApi, PromisePolicyRulesApi as PolicyRulesApi, PromiseSessionsApi as SessionsApi, PromiseSettingsApi as SettingsApi, PromiseSubscriptionsApi as SubscriptionsApi, PromiseTransactionIntentsApi as TransactionIntentsApi, } from './types/PromiseAPI';
|
package/dist/generated/index.js
CHANGED
|
@@ -14,16 +14,16 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.TransactionIntentsApi = exports.SubscriptionsApi = exports.SettingsApi = exports.SessionsApi = exports.PolicyRulesApi = exports.PoliciesApi = exports.PlayersApi = exports.PaymasterApi = exports.InventoriesApi = exports.ExchangeApi = exports.EventsApi = exports.ContractsApi = exports.AuthenticationApi = exports.AdminAuthenticationApi = exports.AccountsApi = exports.
|
|
18
|
-
|
|
17
|
+
exports.TransactionIntentsApi = exports.SubscriptionsApi = exports.SettingsApi = exports.SessionsApi = exports.PolicyRulesApi = exports.PoliciesApi = exports.PlayersApi = exports.PaymasterApi = exports.InventoriesApi = exports.ExchangeApi = exports.EventsApi = exports.ContractsApi = exports.AuthenticationApi = exports.AdminAuthenticationApi = exports.AccountsApi = exports.createConfiguration = exports.RequiredError = void 0;
|
|
18
|
+
var baseapi_1 = require("./apis/baseapi");
|
|
19
|
+
Object.defineProperty(exports, "RequiredError", { enumerable: true, get: function () { return baseapi_1.RequiredError; } });
|
|
20
|
+
__exportStar(require("./apis/exception"), exports);
|
|
19
21
|
__exportStar(require("./auth/auth"), exports);
|
|
20
|
-
__exportStar(require("./models/all"), exports);
|
|
21
22
|
var configuration_1 = require("./configuration");
|
|
22
23
|
Object.defineProperty(exports, "createConfiguration", { enumerable: true, get: function () { return configuration_1.createConfiguration; } });
|
|
23
|
-
__exportStar(require("./
|
|
24
|
+
__exportStar(require("./http/http"), exports);
|
|
25
|
+
__exportStar(require("./models/all"), exports);
|
|
24
26
|
__exportStar(require("./servers"), exports);
|
|
25
|
-
var baseapi_1 = require("./apis/baseapi");
|
|
26
|
-
Object.defineProperty(exports, "RequiredError", { enumerable: true, get: function () { return baseapi_1.RequiredError; } });
|
|
27
27
|
var PromiseAPI_1 = require("./types/PromiseAPI");
|
|
28
28
|
Object.defineProperty(exports, "AccountsApi", { enumerable: true, get: function () { return PromiseAPI_1.PromiseAccountsApi; } });
|
|
29
29
|
Object.defineProperty(exports, "AdminAuthenticationApi", { enumerable: true, get: function () { return PromiseAPI_1.PromiseAdminAuthenticationApi; } });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/generated/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/generated/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,0CAA8C;AAArC,wGAAA,aAAa,OAAA;AACtB,mDAAgC;AAChC,8CAA2B;AAC3B,iDAAoE;AAA5C,oHAAA,mBAAmB,OAAA;AAC3C,8CAA2B;AAE3B,+CAA4B;AAC5B,4CAAyB;AACzB,iDAgB2B;AAfzB,yGAAA,kBAAkB,OAAe;AACjC,oHAAA,6BAA6B,OAA0B;AACvD,+GAAA,wBAAwB,OAAqB;AAC7C,0GAAA,mBAAmB,OAAgB;AACnC,uGAAA,gBAAgB,OAAa;AAC7B,yGAAA,kBAAkB,OAAe;AACjC,4GAAA,qBAAqB,OAAkB;AACvC,0GAAA,mBAAmB,OAAgB;AACnC,wGAAA,iBAAiB,OAAc;AAC/B,yGAAA,kBAAkB,OAAe;AACjC,4GAAA,qBAAqB,OAAkB;AACvC,yGAAA,kBAAkB,OAAe;AACjC,yGAAA,kBAAkB,OAAe;AACjC,8GAAA,uBAAuB,OAAoB;AAC3C,mHAAA,4BAA4B,OAAyB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { RequestContext, ResponseContext } from './http/http';
|
|
2
|
-
import { Observable } from './rxjsStub';
|
|
1
|
+
import type { RequestContext, ResponseContext } from './http/http';
|
|
2
|
+
import { type Observable } from './rxjsStub';
|
|
3
3
|
/**
|
|
4
4
|
* Defines the contract for a middleware intercepting requests before
|
|
5
5
|
* they are sent (but after the RequestContext was created)
|
|
@@ -45,10 +45,10 @@ export interface PromiseMiddleware {
|
|
|
45
45
|
*/
|
|
46
46
|
pre(context: RequestContext): Promise<RequestContext>;
|
|
47
47
|
/**
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
48
|
+
* Modifies the returned response before it is deserialized.
|
|
49
|
+
*
|
|
50
|
+
* @param context ResponseContext of a sent request
|
|
51
|
+
* @returns an observable of the modified response context
|
|
52
|
+
*/
|
|
53
53
|
post(context: ResponseContext): Promise<ResponseContext>;
|
|
54
54
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"middleware.js","sourceRoot":"","sources":["../../src/generated/middleware.ts"],"names":[],"mappings":";;;AACA,
|
|
1
|
+
{"version":3,"file":"middleware.js","sourceRoot":"","sources":["../../src/generated/middleware.ts"],"names":[],"mappings":";;;AACA,yCAAkD;AA0BlD,MAAa,wBAAwB;IACnC,YAA2B,UAA6B;QAA7B,eAAU,GAAV,UAAU,CAAmB;IAAG,CAAC;IAE5D,GAAG,CAAC,OAAuB;QACzB,OAAO,IAAA,eAAI,EAAC,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAA;IAC3C,CAAC;IAED,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAA,eAAI,EAAC,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAA;IAC5C,CAAC;CACF;AAVD,4DAUC"}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { RecoveryMethodDetails } from '../models/RecoveryMethodDetails';
|
|
12
13
|
import { SmartAccountData } from '../models/SmartAccountData';
|
|
13
14
|
export declare class AccountV2Response {
|
|
14
15
|
'id': string;
|
|
@@ -22,6 +23,7 @@ export declare class AccountV2Response {
|
|
|
22
23
|
'updatedAt': number;
|
|
23
24
|
'smartAccount'?: SmartAccountData;
|
|
24
25
|
'recoveryMethod'?: string;
|
|
26
|
+
'recoveryMethodDetails'?: RecoveryMethodDetails;
|
|
25
27
|
static readonly discriminator: string | undefined;
|
|
26
28
|
static readonly attributeTypeMap: Array<{
|
|
27
29
|
name: string;
|
|
@@ -87,6 +87,12 @@ AccountV2Response.attributeTypeMap = [
|
|
|
87
87
|
"baseName": "recoveryMethod",
|
|
88
88
|
"type": "string",
|
|
89
89
|
"format": ""
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"name": "recoveryMethodDetails",
|
|
93
|
+
"baseName": "recoveryMethodDetails",
|
|
94
|
+
"type": "RecoveryMethodDetails",
|
|
95
|
+
"format": ""
|
|
90
96
|
}
|
|
91
97
|
];
|
|
92
98
|
//# sourceMappingURL=AccountV2Response.js.map
|