@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.
Files changed (166) hide show
  1. package/.changeset/README.md +19 -0
  2. package/.changeset/config.json +14 -0
  3. package/CHANGELOG.md +32 -0
  4. package/README.md +0 -1
  5. package/biome.json +56 -0
  6. package/dist/apis/accountsApiWrapper.d.ts +4 -4
  7. package/dist/apis/accountsApiWrapper.js +2 -2
  8. package/dist/apis/accountsApiWrapper.js.map +1 -1
  9. package/dist/apis/accountsV2ApiWrapper.d.ts +23 -0
  10. package/dist/apis/accountsV2ApiWrapper.js +48 -0
  11. package/dist/apis/accountsV2ApiWrapper.js.map +1 -0
  12. package/dist/apis/baseApiWrapper.d.ts +3 -3
  13. package/dist/apis/baseApiWrapper.js +1 -1
  14. package/dist/apis/baseApiWrapper.js.map +1 -1
  15. package/dist/apis/contractsApiWrapper.d.ts +4 -4
  16. package/dist/apis/contractsApiWrapper.js +2 -2
  17. package/dist/apis/contractsApiWrapper.js.map +1 -1
  18. package/dist/apis/eventsApiWrapper.d.ts +3 -3
  19. package/dist/apis/eventsApiWrapper.js +2 -2
  20. package/dist/apis/eventsApiWrapper.js.map +1 -1
  21. package/dist/apis/exchangeApiWrapper.d.ts +2 -2
  22. package/dist/apis/exchangeApiWrapper.js +2 -2
  23. package/dist/apis/exchangeApiWrapper.js.map +1 -1
  24. package/dist/apis/iamApiWrapper.d.ts +3 -3
  25. package/dist/apis/iamApiWrapper.js +6 -6
  26. package/dist/apis/iamApiWrapper.js.map +1 -1
  27. package/dist/apis/inventoriesApiWrapper.d.ts +7 -7
  28. package/dist/apis/inventoriesApiWrapper.js +2 -2
  29. package/dist/apis/inventoriesApiWrapper.js.map +1 -1
  30. package/dist/apis/paymasterApiWrapper.d.ts +4 -4
  31. package/dist/apis/paymasterApiWrapper.js +2 -2
  32. package/dist/apis/paymasterApiWrapper.js.map +1 -1
  33. package/dist/apis/playersApiWrapper.d.ts +3 -3
  34. package/dist/apis/playersApiWrapper.js +2 -2
  35. package/dist/apis/playersApiWrapper.js.map +1 -1
  36. package/dist/apis/policiesApiWrapper.d.ts +3 -3
  37. package/dist/apis/policiesApiWrapper.js +2 -2
  38. package/dist/apis/policiesApiWrapper.js.map +1 -1
  39. package/dist/apis/policyRulesApiWrapper.d.ts +3 -3
  40. package/dist/apis/policyRulesApiWrapper.js +2 -2
  41. package/dist/apis/policyRulesApiWrapper.js.map +1 -1
  42. package/dist/apis/sessionsApiWrapper.d.ts +4 -4
  43. package/dist/apis/sessionsApiWrapper.js +3 -3
  44. package/dist/apis/sessionsApiWrapper.js.map +1 -1
  45. package/dist/apis/settingsApiWrapper.d.ts +4 -4
  46. package/dist/apis/settingsApiWrapper.js +2 -2
  47. package/dist/apis/settingsApiWrapper.js.map +1 -1
  48. package/dist/apis/subscriptionsApiWrapper.d.ts +3 -3
  49. package/dist/apis/subscriptionsApiWrapper.js +3 -3
  50. package/dist/apis/subscriptionsApiWrapper.js.map +1 -1
  51. package/dist/apis/transactionIntentsApiWrapper.d.ts +3 -5
  52. package/dist/apis/transactionIntentsApiWrapper.js +2 -4
  53. package/dist/apis/transactionIntentsApiWrapper.js.map +1 -1
  54. package/dist/generated/apis/GraphQLApi.d.ts +22 -0
  55. package/dist/generated/apis/GraphQLApi.js +66 -0
  56. package/dist/generated/apis/GraphQLApi.js.map +1 -0
  57. package/dist/generated/configuration.d.ts +4 -4
  58. package/dist/generated/configuration.js +4 -4
  59. package/dist/generated/configuration.js.map +1 -1
  60. package/dist/generated/index.d.ts +8 -9
  61. package/dist/generated/index.js +6 -6
  62. package/dist/generated/index.js.map +1 -1
  63. package/dist/generated/middleware.d.ts +7 -7
  64. package/dist/generated/middleware.js.map +1 -1
  65. package/dist/generated/models/AccountV2Response.d.ts +2 -0
  66. package/dist/generated/models/AccountV2Response.js +6 -0
  67. package/dist/generated/models/AccountV2Response.js.map +1 -1
  68. package/dist/generated/models/CreateAccountRequest.js +6 -0
  69. package/dist/generated/models/CreateAccountRequest.js.map +1 -1
  70. package/dist/generated/models/CreateEmbeddedRequest.d.ts +1 -0
  71. package/dist/generated/models/CreateEmbeddedRequest.js +6 -0
  72. package/dist/generated/models/CreateEmbeddedRequest.js.map +1 -1
  73. package/dist/generated/models/NextActionPayload.d.ts +6 -0
  74. package/dist/generated/models/NextActionPayload.js.map +1 -1
  75. package/dist/generated/models/ObjectSerializer.d.ts +2 -0
  76. package/dist/generated/models/ObjectSerializer.js +6 -0
  77. package/dist/generated/models/ObjectSerializer.js.map +1 -1
  78. package/dist/generated/models/PasskeyEnv.d.ts +31 -0
  79. package/dist/generated/models/PasskeyEnv.js +50 -0
  80. package/dist/generated/models/PasskeyEnv.js.map +1 -0
  81. package/dist/generated/models/RecoveryMethodDetails.d.ts +30 -0
  82. package/dist/generated/models/RecoveryMethodDetails.js +38 -0
  83. package/dist/generated/models/RecoveryMethodDetails.js.map +1 -0
  84. package/dist/generated/models/RegisterEmbeddedRequest.d.ts +1 -0
  85. package/dist/generated/models/RegisterEmbeddedRequest.js +6 -0
  86. package/dist/generated/models/RegisterEmbeddedRequest.js.map +1 -1
  87. package/dist/generated/models/RevokeSessionRequest.d.ts +1 -1
  88. package/dist/generated/models/all.d.ts +2 -0
  89. package/dist/generated/models/all.js +2 -0
  90. package/dist/generated/models/all.js.map +1 -1
  91. package/dist/generated/rxjsStub.d.ts +1 -1
  92. package/dist/generated/rxjsStub.js.map +1 -1
  93. package/dist/generated/servers.d.ts +1 -1
  94. package/dist/generated/servers.js +2 -2
  95. package/dist/generated/servers.js.map +1 -1
  96. package/dist/generated/types/ObjectParamAPI.d.ts +17 -0
  97. package/dist/generated/types/ObjectParamAPI.js +31 -18
  98. package/dist/generated/types/ObjectParamAPI.js.map +1 -1
  99. package/dist/generated/types/ObservableAPI.d.ts +11 -0
  100. package/dist/generated/types/ObservableAPI.js +29 -1
  101. package/dist/generated/types/ObservableAPI.js.map +1 -1
  102. package/dist/generated/types/PromiseAPI.d.ts +9 -0
  103. package/dist/generated/types/PromiseAPI.js +32 -18
  104. package/dist/generated/types/PromiseAPI.js.map +1 -1
  105. package/dist/generated/util.d.ts +4 -4
  106. package/dist/generated/util.js +9 -8
  107. package/dist/generated/util.js.map +1 -1
  108. package/dist/index.d.ts +20 -18
  109. package/dist/index.js +23 -17
  110. package/dist/index.js.map +1 -1
  111. package/dist/models/accountInventoryListQueries.d.ts +1 -1
  112. package/dist/models/baseListRequest.d.ts +1 -1
  113. package/dist/models/cancelTransferOwnershipRequest.d.ts +1 -1
  114. package/dist/models/completeRecoveryRequest.d.ts +1 -1
  115. package/dist/models/deployRequest.d.ts +1 -1
  116. package/dist/models/getAccountRequest.d.ts +1 -1
  117. package/dist/models/getAccountV2Request.d.ts +3 -0
  118. package/dist/models/{getWeb3ActionsList.js → getAccountV2Request.js} +1 -1
  119. package/dist/models/getAccountV2Request.js.map +1 -0
  120. package/dist/models/getAllowFunctionsRequest.d.ts +1 -1
  121. package/dist/models/getDeveloperAccountRequest.d.ts +1 -1
  122. package/dist/models/getPlayerByExternalIdRequest.d.ts +1 -1
  123. package/dist/models/getPlayerRequest.d.ts +1 -1
  124. package/dist/models/getPolicyRequest.d.ts +1 -1
  125. package/dist/models/getTransactionIntentRequest.d.ts +1 -1
  126. package/dist/models/index.d.ts +23 -23
  127. package/dist/models/index.js +5 -13
  128. package/dist/models/index.js.map +1 -1
  129. package/dist/models/playerInventoryListQueries.d.ts +1 -1
  130. package/dist/models/preGenerateEmbeddedAccountRequest.js.map +1 -1
  131. package/dist/models/readContractRequest.d.ts +1 -1
  132. package/dist/models/signPayloadRequest.d.ts +1 -1
  133. package/dist/models/startRecoveryRequest.d.ts +1 -1
  134. package/dist/models/transferOwnershipRequest.d.ts +1 -1
  135. package/dist/models/updateContractRequest.d.ts +1 -1
  136. package/dist/models/updatePaymasterRequest.d.ts +1 -1
  137. package/dist/models/updatePlayerRequest.d.ts +1 -1
  138. package/dist/models/updatePolicyAllowFunctionRequest.d.ts +1 -1
  139. package/dist/models/updatePolicyRequest.d.ts +1 -1
  140. package/dist/models/updatePolicyRuleRequest.d.ts +1 -1
  141. package/dist/models/updateProjectRequest.d.ts +1 -1
  142. package/dist/models/validationError.js.map +1 -1
  143. package/dist/models/webHookEvent.d.ts +1 -1
  144. package/dist/models/webHookEvent.js.map +1 -1
  145. package/dist/utilities/httpErrorHandler.js +5 -3
  146. package/dist/utilities/httpErrorHandler.js.map +1 -1
  147. package/dist/utilities/middleware.d.ts +2 -2
  148. package/dist/utilities/middleware.js +1 -1
  149. package/dist/utilities/middleware.js.map +1 -1
  150. package/dist/utilities/observable.d.ts +1 -1
  151. package/dist/utilities/observer.d.ts +1 -1
  152. package/dist/utilities/observer.js.map +1 -1
  153. package/dist/utilities/signer.js +6 -3
  154. package/dist/utilities/signer.js.map +1 -1
  155. package/dist/version.d.ts +1 -1
  156. package/dist/version.js +1 -1
  157. package/knip.json +6 -0
  158. package/package.json +25 -16
  159. package/tsconfig.json +4 -15
  160. package/tsconfig.tsbuildinfo +1 -1
  161. package/dist/models/getWeb3ActionsList.d.ts +0 -3
  162. package/dist/models/getWeb3ActionsList.js.map +0 -1
  163. package/dist/models/getWeb3ConnectionRequest.d.ts +0 -4
  164. package/dist/models/getWeb3ConnectionRequest.js +0 -3
  165. package/dist/models/getWeb3ConnectionRequest.js.map +0 -1
  166. package/rome.json +0 -59
@@ -1 +1 @@
1
- {"version":3,"file":"paymasterApiWrapper.js","sourceRoot":"","sources":["../../src/apis/paymasterApiWrapper.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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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 { GetPlayerRequest, PlayerCreateRequest, PlayerDeleteResponse, PlayerListQueries, PlayerListResponse, PlayerResponse, UpdatePlayerRequest } from "../models";
2
- import { BaseApiWrapper } from "./baseApiWrapper";
3
- import { PlayersApi } from "../generated";
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 = "players";
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":";;;;;;;;;;;;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,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AAG,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 { CreatePolicyRequest, GetPolicyRequest, GetPolicyTotalGasUsageRequest, PolicyListResponse, PolicyDeleteResponse, PolicyResponse, UpdatePolicyRequest, PolicyListQueries } from "../models";
2
- import { BaseApiWrapper } from "./baseApiWrapper";
3
- import { GasReportListResponse, PoliciesApi } from "../generated";
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 = "policies";
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":";;;;;;;;;;;;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,C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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 { CreatePolicyRuleRequest, PolicyRuleDeleteResponse, PolicyRuleResponse, PolicyRuleListResponse, UpdatePolicyRuleRequest, PolicyRuleListQueries } from "../models";
2
- import { BaseApiWrapper } from "./baseApiWrapper";
3
- import { PolicyRulesApi } from "../generated";
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 = "policyRules";
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":";;;;;;;;;;;;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,MAA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AlDU,sDAAqB;AACzB,0BAAI,GAAG,aAAa,AAAhB,CAAgB;gCADhB,qBAAqB;IADjC,mCAAgB;;GACJ,qBAAqB,CAmDjC"}
@@ -1,7 +1,7 @@
1
- import { CreateSessionRequest, RevokeSessionRequest, SessionResponse, SessionListResponse, SignatureSessionRequest, SessionListQueries } from "../models";
2
- import { BaseApiWrapper } from "./baseApiWrapper";
3
- import { SessionsApi } from "../generated";
4
- import { GetSessionRequest } from "../models/getSessionRequest";
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 ? ["transactionIntents"] : undefined);
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 = "sessions";
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":";;;;;;;;;;;;AAQA,qDAAkD;AAClD,4CAA2C;AAC3C,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,EAAE,QAAiB;QAC5D,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,aAAa,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAC;IACvD,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,IAAI,CAAC,GAAuB;QACrC,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,iBAAiB,CAAC,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,EAAE,GAAG,CAAC,IAAI,EAAE,GAAG,CAAC,KAAK,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IACpG,CAAC;IAED;;OAEG;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;;;O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AC,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 { CreateDeveloperAccountCreateRequest, DeveloperAccountListResponse, DeveloperAccountDeleteResponse } from "../models";
2
- import { BaseApiWrapper } from "./baseApiWrapper";
3
- import { DeveloperAccountResponse, SettingsApi } from "../generated";
4
- import { GetDeveloperAccountRequest } from "../models/getDeveloperAccountRequest";
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 = "settings";
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":";;;;;;;;;;;;AAKA,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,GAAwC;QACxE,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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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 { BaseApiWrapper } from "./baseApiWrapper";
2
- import { CreateSubscriptionRequest, SubscriptionDeleteResponse, SubscriptionListResponse, SubscriptionResponse, SubscriptionsApi } from "../generated";
3
- import { GetSubscriptionRequest } from "../models/getSubscriptionRequest";
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 = "subscriptions";
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,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;;AAvCQ,0DAAuB;AACzB,4BAAI,GAAG,eAAe,AAAlB,CAAmB;kCADrB,uBAAuB;IADnC,mCAAgB;;GACJ,uBAAuB,CAwCnC"}
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 { CreateTransactionIntentRequest, GetTransactionIntentRequest, SignatureTransactionIntentRequest, TransactionIntentResponse, TransactionIntentListResponse, TransactionIntentListQueries, EstimateTransactionIntentGasResult } from "../models";
2
- import { BaseApiWrapper } from "./baseApiWrapper";
3
- import { TransactionIntentsApi } from "../generated";
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 = "transactionIntents";
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":";;;;;;;;;;;;AASA,qDAAkD;AAClD,4CAAqD;AACrD,oEAAiE;AAG1D,IAAM,4BAA4B,GAAlC,MAAM,4BAA6B,SAAQ,+BAAqC;IAKnF,YAAY,WAAmB,EAAE,QAAiB;QAC9C,KAAK,CAAC,iCAAqB,EAAE,WAAW,EAAE,QAAQ,CAAC,CAAC;QACpD,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;IAC7B,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,YAAY,CAAC,GAAmC;QACzD,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,6BAA6B,CAAC,GAAG,CAAC,CAAC;IAC7D,CAAC;IAED;;;;OAIG;IACI,KAAK,CAAC,MAAM,CAAC,GAAmC,EAAE,QAAiB;QACtE,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,uBAAuB,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAC;IACjE,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,EAA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AAC,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,mCAAg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AAK,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 { HttpLibrary } from "./http/http";
2
- import { Middleware, PromiseMiddleware } from "./middleware";
3
- import { BaseServerConfiguration } from "./servers";
4
- import { AuthMethods, AuthMethodsConfiguration } from "./auth/auth";
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 middleware_1 = require("./middleware");
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":";;AAoEA,kDAaC;AAhFD,6CAAuF;AACvF,8DAA2F;AAC3F,uCAA6D;AAC7D,sCAA0F;AAkD1F;;;;;;;;;;;;;GAaG;AACH,SAAgB,mBAAmB,CAAC,OAAgC,EAAE;IAClE,MAAM,aAAa,GAAkB;QACjC,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;KACtD,CAAC;IACF,IAAI,IAAI,CAAC,iBAAiB,EAAE,CAAC;QACzB,IAAI,CAAC,iBAAiB,CAAC,OAAO,CAC1B,CAAC,CAAC,EAAE,CAAC,aAAa,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,qCAAwB,CAAC,CAAC,CAAC,CAAC,CACtE,CAAC;IACN,CAAC;IACD,OAAO,aAAa,CAAC;AACzB,CAAC"}
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 * from "./http/http";
2
- export * from "./auth/auth";
3
- export * from "./models/all";
4
- export { createConfiguration } from "./configuration";
5
- export { Configuration } from "./configuration";
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 { 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';
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';
@@ -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.RequiredError = exports.createConfiguration = void 0;
18
- __exportStar(require("./http/http"), exports);
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("./apis/exception"), exports);
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,8CAA4B;AAC5B,8CAA4B;AAC5B,+CAA6B;AAC7B,iDAAqD;AAA5C,oHAAA,mBAAmB,OAAA;AAE5B,mDAAiC;AACjC,4CAA0B;AAC1B,0CAA+C;AAAtC,wGAAA,aAAa,OAAA;AAGtB,iDAAyoB;AAAhoB,yGAAA,kBAAkB,OAAe;AAAG,oHAAA,6BAA6B,OAA0B;AAAG,+GAAA,wBAAwB,OAAqB;AAAG,0GAAA,mBAAmB,OAAgB;AAAG,uGAAA,gBAAgB,OAAa;AAAG,yGAAA,kBAAkB,OAAe;AAAG,4GAAA,qBAAqB,OAAkB;AAAG,0GAAA,mBAAmB,OAAgB;AAAG,wGAAA,iBAAiB,OAAc;AAAG,yGAAA,kBAAkB,OAAe;AAAG,4GAAA,qBAAqB,OAAkB;AAAG,yGAAA,kBAAkB,OAAe;AAAG,yGAAA,kBAAkB,OAAe;AAAG,8GAAA,uBAAuB,OAAoB;AAAG,mHAAA,4BAA4B,OAAyB"}
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
- * 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
- */
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,yCAA8C;AA0B9C,MAAa,wBAAwB;IAEjC,YAA2B,UAA6B;QAA7B,eAAU,GAAV,UAAU,CAAmB;IAExD,CAAC;IAED,GAAG,CAAC,OAAuB;QACvB,OAAO,IAAA,eAAI,EAAC,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC;IAC9C,CAAC;IAED,IAAI,CAAC,OAAwB;QACzB,OAAO,IAAA,eAAI,EAAC,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;IAC/C,CAAC;CAEJ;AAdD,4DAcC"}
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