@openfort/openfort-node 0.6.20 → 0.6.22

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 (114) hide show
  1. package/dist/apis/playersApiWrapper.d.ts +2 -2
  2. package/dist/apis/playersApiWrapper.js.map +1 -1
  3. package/dist/apis/settingsApiWrapper.d.ts +34 -0
  4. package/dist/apis/settingsApiWrapper.js +67 -0
  5. package/dist/apis/settingsApiWrapper.js.map +1 -0
  6. package/dist/generated/apis/SettingsApi.d.ts +98 -0
  7. package/dist/generated/apis/SettingsApi.js +350 -0
  8. package/dist/generated/apis/SettingsApi.js.map +1 -0
  9. package/dist/generated/apis/Web3ConnectionsApi.d.ts +95 -0
  10. package/dist/generated/apis/Web3ConnectionsApi.js +334 -0
  11. package/dist/generated/apis/Web3ConnectionsApi.js.map +1 -0
  12. package/dist/generated/index.d.ts +1 -1
  13. package/dist/generated/index.js +3 -1
  14. package/dist/generated/index.js.map +1 -1
  15. package/dist/generated/models/CreateWeb3ConnectionRequest.d.ts +39 -0
  16. package/dist/generated/models/CreateWeb3ConnectionRequest.js +44 -0
  17. package/dist/generated/models/CreateWeb3ConnectionRequest.js.map +1 -0
  18. package/dist/generated/models/EntityTypePAYMASTERDEPOSITOR.d.ts +12 -0
  19. package/dist/generated/models/EntityTypePAYMASTERDEPOSITOR.js +14 -0
  20. package/dist/generated/models/EntityTypePAYMASTERDEPOSITOR.js.map +1 -0
  21. package/dist/generated/models/EntityTypeWEB3ACTION.d.ts +12 -0
  22. package/dist/generated/models/EntityTypeWEB3ACTION.js +14 -0
  23. package/dist/generated/models/EntityTypeWEB3ACTION.js.map +1 -0
  24. package/dist/generated/models/EntityTypeWEB3CONNECTION.d.ts +12 -0
  25. package/dist/generated/models/EntityTypeWEB3CONNECTION.js +14 -0
  26. package/dist/generated/models/EntityTypeWEB3CONNECTION.js.map +1 -0
  27. package/dist/generated/models/ObjectSerializer.d.ts +23 -9
  28. package/dist/generated/models/ObjectSerializer.js +64 -27
  29. package/dist/generated/models/ObjectSerializer.js.map +1 -1
  30. package/dist/generated/models/PaymasterDepositorCreateRequest.d.ts +35 -0
  31. package/dist/generated/models/{AddDepositorAddressRequest.js → PaymasterDepositorCreateRequest.js} +7 -7
  32. package/dist/generated/models/PaymasterDepositorCreateRequest.js.map +1 -0
  33. package/dist/generated/models/{PaymasterDepositorResponseDeleted.d.ts → PaymasterDepositorDeleteResponse.d.ts} +3 -2
  34. package/dist/generated/models/{PaymasterDepositorResponseDeleted.js → PaymasterDepositorDeleteResponse.js} +10 -10
  35. package/dist/generated/models/PaymasterDepositorDeleteResponse.js.map +1 -0
  36. package/dist/generated/models/{AddDepositorAddressRequest.d.ts → PaymasterDepositorGetMessageResponse.d.ts} +2 -2
  37. package/dist/generated/models/PaymasterDepositorGetMessageResponse.js +38 -0
  38. package/dist/generated/models/PaymasterDepositorGetMessageResponse.js.map +1 -0
  39. package/dist/generated/models/{MemberRequest.d.ts → SettingsWebhookUpdateRequest.d.ts} +5 -2
  40. package/dist/generated/models/{MemberRequest.js → SettingsWebhookUpdateRequest.js} +9 -9
  41. package/dist/generated/models/SettingsWebhookUpdateRequest.js.map +1 -0
  42. package/dist/generated/models/SubmitWeb3ActionRequest.d.ts +35 -0
  43. package/dist/generated/models/{UpdateUserProjectRequest.js → SubmitWeb3ActionRequest.js} +13 -13
  44. package/dist/generated/models/SubmitWeb3ActionRequest.js.map +1 -0
  45. package/dist/generated/models/{InvitedMemberResponse.d.ts → UserProjectCreateRequest.d.ts} +3 -3
  46. package/dist/generated/models/{InvitedMemberResponse.js → UserProjectCreateRequest.js} +10 -16
  47. package/dist/generated/models/UserProjectCreateRequest.js.map +1 -0
  48. package/dist/generated/models/{UpdateUserProjectRequestRole.d.ts → UserProjectCreateRequestRole.d.ts} +1 -1
  49. package/dist/generated/models/{UpdateUserProjectRequestRole.js → UserProjectCreateRequestRole.js} +7 -7
  50. package/dist/generated/models/UserProjectCreateRequestRole.js.map +1 -0
  51. package/dist/generated/models/{UserProjectRemoveResponse.d.ts → UserProjectDeleteResponse.d.ts} +1 -1
  52. package/dist/generated/models/{UserProjectRemoveResponse.js → UserProjectDeleteResponse.js} +7 -7
  53. package/dist/generated/models/{UserProjectRemoveResponse.js.map → UserProjectDeleteResponse.js.map} +1 -1
  54. package/dist/generated/models/UserProjectListResponse.d.ts +35 -0
  55. package/dist/generated/models/UserProjectListResponse.js +62 -0
  56. package/dist/generated/models/UserProjectListResponse.js.map +1 -0
  57. package/dist/generated/models/{UserResponse.d.ts → UserProjectResponse.d.ts} +1 -3
  58. package/dist/generated/models/{UserResponse.js → UserProjectResponse.js} +7 -19
  59. package/dist/generated/models/UserProjectResponse.js.map +1 -0
  60. package/dist/generated/models/UserProjectUpdateRequest.d.ts +29 -0
  61. package/dist/generated/models/UserProjectUpdateRequest.js +32 -0
  62. package/dist/generated/models/UserProjectUpdateRequest.js.map +1 -0
  63. package/dist/generated/models/{UserListResponse.d.ts → Web3ActionListResponse.d.ts} +3 -3
  64. package/dist/generated/models/{UserListResponse.js → Web3ActionListResponse.js} +8 -8
  65. package/dist/generated/models/Web3ActionListResponse.js.map +1 -0
  66. package/dist/generated/models/Web3ActionResponse.d.ts +37 -0
  67. package/dist/generated/models/Web3ActionResponse.js +56 -0
  68. package/dist/generated/models/Web3ActionResponse.js.map +1 -0
  69. package/dist/generated/models/Web3ActionStatusEnum.d.ts +12 -0
  70. package/dist/generated/models/Web3ActionStatusEnum.js +14 -0
  71. package/dist/generated/models/Web3ActionStatusEnum.js.map +1 -0
  72. package/dist/generated/models/Web3ConnectionListQueries.d.ts +45 -0
  73. package/dist/generated/models/Web3ConnectionListQueries.js +56 -0
  74. package/dist/generated/models/Web3ConnectionListQueries.js.map +1 -0
  75. package/dist/generated/models/Web3ConnectionListResponse.d.ts +35 -0
  76. package/dist/generated/models/Web3ConnectionListResponse.js +62 -0
  77. package/dist/generated/models/Web3ConnectionListResponse.js.map +1 -0
  78. package/dist/generated/models/Web3ConnectionResponse.d.ts +34 -0
  79. package/dist/generated/models/Web3ConnectionResponse.js +56 -0
  80. package/dist/generated/models/Web3ConnectionResponse.js.map +1 -0
  81. package/dist/generated/models/Web3ConnectionResponseExpandable.d.ts +12 -0
  82. package/dist/generated/models/Web3ConnectionResponseExpandable.js +14 -0
  83. package/dist/generated/models/Web3ConnectionResponseExpandable.js.map +1 -0
  84. package/dist/generated/models/Web3ConnectionResponsePlayer.d.ts +43 -0
  85. package/dist/generated/models/Web3ConnectionResponsePlayer.js +77 -0
  86. package/dist/generated/models/Web3ConnectionResponsePlayer.js.map +1 -0
  87. package/dist/generated/models/all.d.ts +23 -9
  88. package/dist/generated/models/all.js +23 -9
  89. package/dist/generated/models/all.js.map +1 -1
  90. package/dist/generated/types/ObjectParamAPI.d.ts +207 -0
  91. package/dist/generated/types/ObjectParamAPI.js +104 -2
  92. package/dist/generated/types/ObjectParamAPI.js.map +1 -1
  93. package/dist/generated/types/ObservableAPI.d.ts +98 -0
  94. package/dist/generated/types/ObservableAPI.js +255 -1
  95. package/dist/generated/types/ObservableAPI.js.map +1 -1
  96. package/dist/generated/types/PromiseAPI.d.ts +94 -0
  97. package/dist/generated/types/PromiseAPI.js +120 -2
  98. package/dist/generated/types/PromiseAPI.js.map +1 -1
  99. package/dist/index.d.ts +2 -0
  100. package/dist/index.js +4 -0
  101. package/dist/index.js.map +1 -1
  102. package/dist/version.d.ts +1 -1
  103. package/dist/version.js +1 -1
  104. package/package.json +1 -1
  105. package/tsconfig.tsbuildinfo +1 -1
  106. package/dist/generated/models/AddDepositorAddressRequest.js.map +0 -1
  107. package/dist/generated/models/InvitedMemberResponse.js.map +0 -1
  108. package/dist/generated/models/MemberRequest.js.map +0 -1
  109. package/dist/generated/models/PaymasterDepositorResponseDeleted.js.map +0 -1
  110. package/dist/generated/models/UpdateUserProjectRequest.d.ts +0 -30
  111. package/dist/generated/models/UpdateUserProjectRequest.js.map +0 -1
  112. package/dist/generated/models/UpdateUserProjectRequestRole.js.map +0 -1
  113. package/dist/generated/models/UserListResponse.js.map +0 -1
  114. package/dist/generated/models/UserResponse.js.map +0 -1
@@ -1,6 +1,6 @@
1
- import { AccountResponse, AccountListResponse, CreateAccountRequest, CreatePlayerSessionRequest, GetPlayerRequest, PlayerResponse, PlayerCreateRequest, PlayerListResponse, RevokePlayerSessionRequest, SessionResponse, TransactionIntentResponse, PlayerCancelTransferOwnershipRequest, PlayerTransferOwnershipRequest, UpdatePlayerRequest, AccountListQueries, PlayerListQueries } from "../models";
1
+ import { AccountListQueries, AccountListResponse, AccountResponse, CreateAccountRequest, CreatePlayerSessionRequest, GetPlayerRequest, PlayerCancelTransferOwnershipRequest, PlayerCreateRequest, PlayerDeleteResponse, PlayerListQueries, PlayerListResponse, PlayerResponse, PlayerTransferOwnershipRequest, RevokePlayerSessionRequest, SessionResponse, TransactionIntentResponse, UpdatePlayerRequest } from "../models";
2
2
  import { BaseApiWrapper } from "./baseApiWrapper";
3
- import { PlayerDeleteResponse, PlayersApi } from "../generated";
3
+ import { PlayersApi } from "../generated";
4
4
  export declare class PlayersApiWrapper extends BaseApiWrapper<PlayersApi> {
5
5
  constructor(accessToken: string, basePath?: string);
6
6
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"playersApiWrapper.js","sourceRoot":"","sources":["../../src/apis/playersApiWrapper.ts"],"names":[],"mappings":";;;;;;;;;;;;AAkBA,qDAAkD;AAClD,4CAAgE;AAChE,oEAAiE;AAG1D,IAAM,iBAAiB,GAAvB,MAAM,iBAAkB,SAAQ,+BAA0B;IAC7D,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,aAAa,CAAC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B,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAC;IAC9D,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,+BAA+B,CACxC,GAAmC;QAEnC,MAAM,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAE,GAAG,GAAG,CAAC;QAClC,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,+BAA+B,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAC;IAC1E,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,8BAA8B,CACvC,GAAyC;QAEzC,MAAM,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAE,GAAG,GAAG,CAAC;QAClC,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,8BAA8B,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAC;IACzE,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,MAAM,CAAC,GAAwB;QACxC,MAAM,EAAE,EAAE,EAAE,GAAG,IAAI,EAAE,GAAG,GAAG,CAAC;QAC5B,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,YAAY,CAAC,EAAE,EAAE,IAAI,CAAC,CAAC;IACjD,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,MAAM,CAAC,EAAU;QAC1B,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC;IAC3C,CAAC;CACJ,CAAA;AAtGY,iBAAiB;IAD7B,mCAAgB;;GACJ,iBAAiB,CAsG7B;AAtGY,8CAAiB"}
@@ -0,0 +1,34 @@
1
+ import { PaymasterDepositorCreateRequest, PaymasterDepositorResponse, PaymasterDepositorListResponse, PaymasterDepositorDeleteResponse } from "../models";
2
+ import { BaseApiWrapper } from "./baseApiWrapper";
3
+ import { SettingsApi } from "../generated";
4
+ export declare class SettingsApiWrapper extends BaseApiWrapper<SettingsApi> {
5
+ constructor(accessToken: string, basePath?: string);
6
+ /**
7
+ * Adds a depositor address to a project environment.
8
+ * @param req Parameters to add a depositor address to s project environment
9
+ */
10
+ addDepositorAddress(req: PaymasterDepositorCreateRequest): Promise<PaymasterDepositorResponse>;
11
+ /**
12
+ * Lists the depositor addresses of a project.
13
+ */
14
+ getDepositorAddresses(): Promise<PaymasterDepositorListResponse>;
15
+ /**
16
+ * Removes a depositor address from a project.
17
+ * @param id Id of the depositor address to remove
18
+ */
19
+ removeDepositorAddress(id: string): Promise<PaymasterDepositorDeleteResponse>;
20
+ /**
21
+ * Generate message, which should be signed for verification of the address ownership.
22
+ * @param address Specifies the paymaster depositor address
23
+ */
24
+ getMessageForSigningDepositorAddress(address: string): Promise<string>;
25
+ /**
26
+ * Creates or updates webhook address in a project environment configuration.
27
+ * @param url Url of the webhook
28
+ */
29
+ updateWebhook(url: string): Promise<void>;
30
+ /**
31
+ * Removes the webhook configuration from the project environment.
32
+ */
33
+ removeWebhook(): Promise<void>;
34
+ }
@@ -0,0 +1,67 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.SettingsApiWrapper = void 0;
13
+ const baseApiWrapper_1 = require("./baseApiWrapper");
14
+ const generated_1 = require("../generated");
15
+ const httpErrorHandler_1 = require("../utilities/httpErrorHandler");
16
+ let SettingsApiWrapper = class SettingsApiWrapper extends baseApiWrapper_1.BaseApiWrapper {
17
+ constructor(accessToken, basePath) {
18
+ super(generated_1.SettingsApi, accessToken, basePath);
19
+ }
20
+ /**
21
+ * Adds a depositor address to a project environment.
22
+ * @param req Parameters to add a depositor address to s project environment
23
+ */
24
+ async addDepositorAddress(req) {
25
+ return await this.api.addDepositorAddress(req);
26
+ }
27
+ /**
28
+ * Lists the depositor addresses of a project.
29
+ */
30
+ async getDepositorAddresses() {
31
+ return await this.api.getDepositorAddresses();
32
+ }
33
+ /**
34
+ * Removes a depositor address from a project.
35
+ * @param id Id of the depositor address to remove
36
+ */
37
+ async removeDepositorAddress(id) {
38
+ return await this.api.removeDepositorAddress(id);
39
+ }
40
+ /**
41
+ * Generate message, which should be signed for verification of the address ownership.
42
+ * @param address Specifies the paymaster depositor address
43
+ */
44
+ async getMessageForSigningDepositorAddress(address) {
45
+ const result = await this.api.getMessageForSigningDepositorAddress(address);
46
+ return result.message;
47
+ }
48
+ /**
49
+ * Creates or updates webhook address in a project environment configuration.
50
+ * @param url Url of the webhook
51
+ */
52
+ async updateWebhook(url) {
53
+ return await this.api.updateWebhook({ url });
54
+ }
55
+ /**
56
+ * Removes the webhook configuration from the project environment.
57
+ */
58
+ async removeWebhook() {
59
+ return await this.api.removeWebhook();
60
+ }
61
+ };
62
+ SettingsApiWrapper = __decorate([
63
+ httpErrorHandler_1.httpErrorHandler,
64
+ __metadata("design:paramtypes", [String, String])
65
+ ], SettingsApiWrapper);
66
+ exports.SettingsApiWrapper = SettingsApiWrapper;
67
+ //# sourceMappingURL=settingsApiWrapper.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"settingsApiWrapper.js","sourceRoot":"","sources":["../../src/apis/settingsApiWrapper.ts"],"names":[],"mappings":";;;;;;;;;;;;AAMA,qDAAkD;AAClD,4CAA2C;AAC3C,oEAAiE;AAG1D,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,+BAA2B;IAC/D,YAAY,WAAmB,EAAE,QAAiB;QAC9C,KAAK,CAAC,uBAAW,EAAE,WAAW,EAAE,QAAQ,CAAC,CAAC;IAC9C,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,mBAAmB,CAAC,GAAoC;QACjE,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,mBAAmB,CAAC,GAAG,CAAC,CAAC;IACnD,CAAC;IAED;;OAEG;IACI,KAAK,CAAC,qBAAqB;QAC9B,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,qBAAqB,EAAE,CAAC;IAClD,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,sBAAsB,CAAC,EAAU;QAC1C,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,sBAAsB,CAAC,EAAE,CAAC,CAAC;IACrD,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,oCAAoC,CAAC,OAAe;QAC7D,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,GAAG,CAAC,oCAAoC,CAAC,OAAO,CAAC,CAAC;QAC5E,OAAO,MAAM,CAAC,OAAO,CAAC;IAC1B,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,aAAa,CAAC,GAAW;QAClC,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,aAAa,CAAC,EAAE,GAAG,EAAE,CAAC,CAAC;IACjD,CAAC;IAED;;OAEG;IACI,KAAK,CAAC,aAAa;QACtB,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,aAAa,EAAE,CAAC;IAC1C,CAAC;CACJ,CAAA;AAnDY,kBAAkB;IAD9B,mCAAgB;;GACJ,kBAAkB,CAmD9B;AAnDY,gDAAkB"}
@@ -0,0 +1,98 @@
1
+ import { BaseAPIRequestFactory } from './baseapi';
2
+ import { Configuration } from '../configuration';
3
+ import { RequestContext, ResponseContext } from '../http/http';
4
+ import { PaymasterDepositorCreateRequest } from '../models/PaymasterDepositorCreateRequest';
5
+ import { PaymasterDepositorDeleteResponse } from '../models/PaymasterDepositorDeleteResponse';
6
+ import { PaymasterDepositorGetMessageResponse } from '../models/PaymasterDepositorGetMessageResponse';
7
+ import { PaymasterDepositorListResponse } from '../models/PaymasterDepositorListResponse';
8
+ import { PaymasterDepositorResponse } from '../models/PaymasterDepositorResponse';
9
+ import { SettingsWebhookUpdateRequest } from '../models/SettingsWebhookUpdateRequest';
10
+ /**
11
+ * no description
12
+ */
13
+ export declare class SettingsApiRequestFactory extends BaseAPIRequestFactory {
14
+ /**
15
+ * Verify signature and add a depositor address to the current project environment.
16
+ * Add depositor address.
17
+ * @param paymasterDepositorCreateRequest
18
+ */
19
+ addDepositorAddress(paymasterDepositorCreateRequest: PaymasterDepositorCreateRequest, _options?: Configuration): Promise<RequestContext>;
20
+ /**
21
+ * Retrieve the list of the depositor addresses for the current project environment.
22
+ * List of depositor addresses.
23
+ */
24
+ getDepositorAddresses(_options?: Configuration): Promise<RequestContext>;
25
+ /**
26
+ * Generate message, which should be signed for verification of the address ownership.
27
+ * Generate message to sign
28
+ * @param address Specifies the paymaster depositor address
29
+ */
30
+ getMessageForSigningDepositorAddress(address: string, _options?: Configuration): Promise<RequestContext>;
31
+ /**
32
+ * Remove a depositor address from the current project environment.
33
+ * Removes depositor address.
34
+ * @param id Specifies unique identifier of depositor address.
35
+ */
36
+ removeDepositorAddress(id: string, _options?: Configuration): Promise<RequestContext>;
37
+ /**
38
+ * Updated the current project environment settings by removing the webhook address. After that system will stop sending events of the transaction intent state changes
39
+ * Removes webhook.
40
+ */
41
+ removeWebhook(_options?: Configuration): Promise<RequestContext>;
42
+ /**
43
+ * Updated the current project environment settings by assigning the webhook address. This address is used to send events about the changes of the transaction intent state.
44
+ * Update webhook.
45
+ * @param settingsWebhookUpdateRequest
46
+ */
47
+ updateWebhook(settingsWebhookUpdateRequest: SettingsWebhookUpdateRequest, _options?: Configuration): Promise<RequestContext>;
48
+ }
49
+ export declare class SettingsApiResponseProcessor {
50
+ /**
51
+ * Unwraps the actual response sent by the server from the response context and deserializes the response content
52
+ * to the expected objects
53
+ *
54
+ * @params response Response returned by the server for a request to addDepositorAddress
55
+ * @throws ApiException if the response code was not in [200, 299]
56
+ */
57
+ addDepositorAddress(response: ResponseContext): Promise<PaymasterDepositorResponse>;
58
+ /**
59
+ * Unwraps the actual response sent by the server from the response context and deserializes the response content
60
+ * to the expected objects
61
+ *
62
+ * @params response Response returned by the server for a request to getDepositorAddresses
63
+ * @throws ApiException if the response code was not in [200, 299]
64
+ */
65
+ getDepositorAddresses(response: ResponseContext): Promise<PaymasterDepositorListResponse>;
66
+ /**
67
+ * Unwraps the actual response sent by the server from the response context and deserializes the response content
68
+ * to the expected objects
69
+ *
70
+ * @params response Response returned by the server for a request to getMessageForSigningDepositorAddress
71
+ * @throws ApiException if the response code was not in [200, 299]
72
+ */
73
+ getMessageForSigningDepositorAddress(response: ResponseContext): Promise<PaymasterDepositorGetMessageResponse>;
74
+ /**
75
+ * Unwraps the actual response sent by the server from the response context and deserializes the response content
76
+ * to the expected objects
77
+ *
78
+ * @params response Response returned by the server for a request to removeDepositorAddress
79
+ * @throws ApiException if the response code was not in [200, 299]
80
+ */
81
+ removeDepositorAddress(response: ResponseContext): Promise<PaymasterDepositorDeleteResponse>;
82
+ /**
83
+ * Unwraps the actual response sent by the server from the response context and deserializes the response content
84
+ * to the expected objects
85
+ *
86
+ * @params response Response returned by the server for a request to removeWebhook
87
+ * @throws ApiException if the response code was not in [200, 299]
88
+ */
89
+ removeWebhook(response: ResponseContext): Promise<void>;
90
+ /**
91
+ * Unwraps the actual response sent by the server from the response context and deserializes the response content
92
+ * to the expected objects
93
+ *
94
+ * @params response Response returned by the server for a request to updateWebhook
95
+ * @throws ApiException if the response code was not in [200, 299]
96
+ */
97
+ updateWebhook(response: ResponseContext): Promise<void>;
98
+ }
@@ -0,0 +1,350 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SettingsApiResponseProcessor = exports.SettingsApiRequestFactory = 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 SettingsApiRequestFactory extends baseapi_1.BaseAPIRequestFactory {
14
+ /**
15
+ * Verify signature and add a depositor address to the current project environment.
16
+ * Add depositor address.
17
+ * @param paymasterDepositorCreateRequest
18
+ */
19
+ async addDepositorAddress(paymasterDepositorCreateRequest, _options) {
20
+ let _config = _options || this.configuration;
21
+ // verify required parameter 'paymasterDepositorCreateRequest' is not null or undefined
22
+ if (paymasterDepositorCreateRequest === null || paymasterDepositorCreateRequest === undefined) {
23
+ throw new baseapi_1.RequiredError("SettingsApi", "addDepositorAddress", "paymasterDepositorCreateRequest");
24
+ }
25
+ // Path Params
26
+ const localVarPath = '/v1/settings/depositor_addresses';
27
+ // Make Request Context
28
+ const requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.POST);
29
+ requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
30
+ // Body Params
31
+ const contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
32
+ "application/json"
33
+ ]);
34
+ requestContext.setHeaderParam("Content-Type", contentType);
35
+ const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(paymasterDepositorCreateRequest, "PaymasterDepositorCreateRequest", ""), contentType);
36
+ requestContext.setBody(serializedBody);
37
+ let authMethod;
38
+ // Apply auth methods
39
+ authMethod = _config.authMethods["sk"];
40
+ if (authMethod?.applySecurityAuthentication) {
41
+ await authMethod?.applySecurityAuthentication(requestContext);
42
+ }
43
+ const defaultAuth = _options?.authMethods?.default || this.configuration?.authMethods?.default;
44
+ if (defaultAuth?.applySecurityAuthentication) {
45
+ await defaultAuth?.applySecurityAuthentication(requestContext);
46
+ }
47
+ return requestContext;
48
+ }
49
+ /**
50
+ * Retrieve the list of the depositor addresses for the current project environment.
51
+ * List of depositor addresses.
52
+ */
53
+ async getDepositorAddresses(_options) {
54
+ let _config = _options || this.configuration;
55
+ // Path Params
56
+ const localVarPath = '/v1/settings/depositor_addresses';
57
+ // Make Request Context
58
+ const requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
59
+ requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
60
+ let authMethod;
61
+ // Apply auth methods
62
+ authMethod = _config.authMethods["sk"];
63
+ if (authMethod?.applySecurityAuthentication) {
64
+ await authMethod?.applySecurityAuthentication(requestContext);
65
+ }
66
+ const defaultAuth = _options?.authMethods?.default || this.configuration?.authMethods?.default;
67
+ if (defaultAuth?.applySecurityAuthentication) {
68
+ await defaultAuth?.applySecurityAuthentication(requestContext);
69
+ }
70
+ return requestContext;
71
+ }
72
+ /**
73
+ * Generate message, which should be signed for verification of the address ownership.
74
+ * Generate message to sign
75
+ * @param address Specifies the paymaster depositor address
76
+ */
77
+ async getMessageForSigningDepositorAddress(address, _options) {
78
+ let _config = _options || this.configuration;
79
+ // verify required parameter 'address' is not null or undefined
80
+ if (address === null || address === undefined) {
81
+ throw new baseapi_1.RequiredError("SettingsApi", "getMessageForSigningDepositorAddress", "address");
82
+ }
83
+ // Path Params
84
+ const localVarPath = '/v1/settings/depositor_addresses/message_to_sigh';
85
+ // Make Request Context
86
+ const requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
87
+ requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
88
+ // Query Params
89
+ if (address !== undefined) {
90
+ requestContext.setQueryParam("address", ObjectSerializer_1.ObjectSerializer.serialize(address, "string", ""));
91
+ }
92
+ let authMethod;
93
+ // Apply auth methods
94
+ authMethod = _config.authMethods["sk"];
95
+ if (authMethod?.applySecurityAuthentication) {
96
+ await authMethod?.applySecurityAuthentication(requestContext);
97
+ }
98
+ const defaultAuth = _options?.authMethods?.default || this.configuration?.authMethods?.default;
99
+ if (defaultAuth?.applySecurityAuthentication) {
100
+ await defaultAuth?.applySecurityAuthentication(requestContext);
101
+ }
102
+ return requestContext;
103
+ }
104
+ /**
105
+ * Remove a depositor address from the current project environment.
106
+ * Removes depositor address.
107
+ * @param id Specifies unique identifier of depositor address.
108
+ */
109
+ async removeDepositorAddress(id, _options) {
110
+ let _config = _options || this.configuration;
111
+ // verify required parameter 'id' is not null or undefined
112
+ if (id === null || id === undefined) {
113
+ throw new baseapi_1.RequiredError("SettingsApi", "removeDepositorAddress", "id");
114
+ }
115
+ // Path Params
116
+ const localVarPath = '/v1/settings/depositor_addresses/{id}'
117
+ .replace('{' + 'id' + '}', encodeURIComponent(String(id)));
118
+ // Make Request Context
119
+ const requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.DELETE);
120
+ requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
121
+ let authMethod;
122
+ // Apply auth methods
123
+ authMethod = _config.authMethods["sk"];
124
+ if (authMethod?.applySecurityAuthentication) {
125
+ await authMethod?.applySecurityAuthentication(requestContext);
126
+ }
127
+ const defaultAuth = _options?.authMethods?.default || this.configuration?.authMethods?.default;
128
+ if (defaultAuth?.applySecurityAuthentication) {
129
+ await defaultAuth?.applySecurityAuthentication(requestContext);
130
+ }
131
+ return requestContext;
132
+ }
133
+ /**
134
+ * Updated the current project environment settings by removing the webhook address. After that system will stop sending events of the transaction intent state changes
135
+ * Removes webhook.
136
+ */
137
+ async removeWebhook(_options) {
138
+ let _config = _options || this.configuration;
139
+ // Path Params
140
+ const localVarPath = '/v1/settings/webhook';
141
+ // Make Request Context
142
+ const requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.DELETE);
143
+ requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
144
+ let authMethod;
145
+ // Apply auth methods
146
+ authMethod = _config.authMethods["sk"];
147
+ if (authMethod?.applySecurityAuthentication) {
148
+ await authMethod?.applySecurityAuthentication(requestContext);
149
+ }
150
+ const defaultAuth = _options?.authMethods?.default || this.configuration?.authMethods?.default;
151
+ if (defaultAuth?.applySecurityAuthentication) {
152
+ await defaultAuth?.applySecurityAuthentication(requestContext);
153
+ }
154
+ return requestContext;
155
+ }
156
+ /**
157
+ * Updated the current project environment settings by assigning the webhook address. This address is used to send events about the changes of the transaction intent state.
158
+ * Update webhook.
159
+ * @param settingsWebhookUpdateRequest
160
+ */
161
+ async updateWebhook(settingsWebhookUpdateRequest, _options) {
162
+ let _config = _options || this.configuration;
163
+ // verify required parameter 'settingsWebhookUpdateRequest' is not null or undefined
164
+ if (settingsWebhookUpdateRequest === null || settingsWebhookUpdateRequest === undefined) {
165
+ throw new baseapi_1.RequiredError("SettingsApi", "updateWebhook", "settingsWebhookUpdateRequest");
166
+ }
167
+ // Path Params
168
+ const localVarPath = '/v1/settings/webhook';
169
+ // Make Request Context
170
+ const requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.POST);
171
+ requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
172
+ // Body Params
173
+ const contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
174
+ "application/json"
175
+ ]);
176
+ requestContext.setHeaderParam("Content-Type", contentType);
177
+ const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(settingsWebhookUpdateRequest, "SettingsWebhookUpdateRequest", ""), contentType);
178
+ requestContext.setBody(serializedBody);
179
+ let authMethod;
180
+ // Apply auth methods
181
+ authMethod = _config.authMethods["sk"];
182
+ if (authMethod?.applySecurityAuthentication) {
183
+ await authMethod?.applySecurityAuthentication(requestContext);
184
+ }
185
+ const defaultAuth = _options?.authMethods?.default || this.configuration?.authMethods?.default;
186
+ if (defaultAuth?.applySecurityAuthentication) {
187
+ await defaultAuth?.applySecurityAuthentication(requestContext);
188
+ }
189
+ return requestContext;
190
+ }
191
+ }
192
+ exports.SettingsApiRequestFactory = SettingsApiRequestFactory;
193
+ class SettingsApiResponseProcessor {
194
+ /**
195
+ * Unwraps the actual response sent by the server from the response context and deserializes the response content
196
+ * to the expected objects
197
+ *
198
+ * @params response Response returned by the server for a request to addDepositorAddress
199
+ * @throws ApiException if the response code was not in [200, 299]
200
+ */
201
+ async addDepositorAddress(response) {
202
+ const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
203
+ if ((0, util_1.isCodeInRange)("200", response.httpStatusCode)) {
204
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(await response.body.text(), contentType), "PaymasterDepositorResponse", "");
205
+ return body;
206
+ }
207
+ if ((0, util_1.isCodeInRange)("401", response.httpStatusCode)) {
208
+ throw new exception_1.ApiException(response.httpStatusCode, "Error response.", undefined, response.headers);
209
+ }
210
+ if ((0, util_1.isCodeInRange)("409", response.httpStatusCode)) {
211
+ throw new exception_1.ApiException(response.httpStatusCode, "Error response.", undefined, response.headers);
212
+ }
213
+ // Work around for missing responses in specification, e.g. for petstore.yaml
214
+ if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
215
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(await response.body.text(), contentType), "PaymasterDepositorResponse", "");
216
+ return body;
217
+ }
218
+ throw new exception_1.ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers);
219
+ }
220
+ /**
221
+ * Unwraps the actual response sent by the server from the response context and deserializes the response content
222
+ * to the expected objects
223
+ *
224
+ * @params response Response returned by the server for a request to getDepositorAddresses
225
+ * @throws ApiException if the response code was not in [200, 299]
226
+ */
227
+ async getDepositorAddresses(response) {
228
+ const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
229
+ if ((0, util_1.isCodeInRange)("200", response.httpStatusCode)) {
230
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(await response.body.text(), contentType), "PaymasterDepositorListResponse", "");
231
+ return body;
232
+ }
233
+ if ((0, util_1.isCodeInRange)("401", response.httpStatusCode)) {
234
+ throw new exception_1.ApiException(response.httpStatusCode, "Error response.", undefined, response.headers);
235
+ }
236
+ if ((0, util_1.isCodeInRange)("409", response.httpStatusCode)) {
237
+ throw new exception_1.ApiException(response.httpStatusCode, "Error response.", undefined, response.headers);
238
+ }
239
+ // Work around for missing responses in specification, e.g. for petstore.yaml
240
+ if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
241
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(await response.body.text(), contentType), "PaymasterDepositorListResponse", "");
242
+ return body;
243
+ }
244
+ throw new exception_1.ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers);
245
+ }
246
+ /**
247
+ * Unwraps the actual response sent by the server from the response context and deserializes the response content
248
+ * to the expected objects
249
+ *
250
+ * @params response Response returned by the server for a request to getMessageForSigningDepositorAddress
251
+ * @throws ApiException if the response code was not in [200, 299]
252
+ */
253
+ async getMessageForSigningDepositorAddress(response) {
254
+ const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
255
+ if ((0, util_1.isCodeInRange)("200", response.httpStatusCode)) {
256
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(await response.body.text(), contentType), "PaymasterDepositorGetMessageResponse", "");
257
+ return body;
258
+ }
259
+ if ((0, util_1.isCodeInRange)("401", response.httpStatusCode)) {
260
+ throw new exception_1.ApiException(response.httpStatusCode, "Error response.", undefined, response.headers);
261
+ }
262
+ if ((0, util_1.isCodeInRange)("409", response.httpStatusCode)) {
263
+ throw new exception_1.ApiException(response.httpStatusCode, "Error response.", undefined, response.headers);
264
+ }
265
+ // Work around for missing responses in specification, e.g. for petstore.yaml
266
+ if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
267
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(await response.body.text(), contentType), "PaymasterDepositorGetMessageResponse", "");
268
+ return body;
269
+ }
270
+ throw new exception_1.ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers);
271
+ }
272
+ /**
273
+ * Unwraps the actual response sent by the server from the response context and deserializes the response content
274
+ * to the expected objects
275
+ *
276
+ * @params response Response returned by the server for a request to removeDepositorAddress
277
+ * @throws ApiException if the response code was not in [200, 299]
278
+ */
279
+ async removeDepositorAddress(response) {
280
+ const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
281
+ if ((0, util_1.isCodeInRange)("200", response.httpStatusCode)) {
282
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(await response.body.text(), contentType), "PaymasterDepositorDeleteResponse", "");
283
+ return body;
284
+ }
285
+ if ((0, util_1.isCodeInRange)("401", response.httpStatusCode)) {
286
+ throw new exception_1.ApiException(response.httpStatusCode, "Error response.", undefined, response.headers);
287
+ }
288
+ if ((0, util_1.isCodeInRange)("409", response.httpStatusCode)) {
289
+ throw new exception_1.ApiException(response.httpStatusCode, "Error response.", undefined, response.headers);
290
+ }
291
+ // Work around for missing responses in specification, e.g. for petstore.yaml
292
+ if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
293
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(await response.body.text(), contentType), "PaymasterDepositorDeleteResponse", "");
294
+ return body;
295
+ }
296
+ throw new exception_1.ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers);
297
+ }
298
+ /**
299
+ * Unwraps the actual response sent by the server from the response context and deserializes the response content
300
+ * to the expected objects
301
+ *
302
+ * @params response Response returned by the server for a request to removeWebhook
303
+ * @throws ApiException if the response code was not in [200, 299]
304
+ */
305
+ async removeWebhook(response) {
306
+ const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
307
+ if ((0, util_1.isCodeInRange)("200", response.httpStatusCode)) {
308
+ return;
309
+ }
310
+ if ((0, util_1.isCodeInRange)("401", response.httpStatusCode)) {
311
+ throw new exception_1.ApiException(response.httpStatusCode, "Error response.", undefined, response.headers);
312
+ }
313
+ if ((0, util_1.isCodeInRange)("409", response.httpStatusCode)) {
314
+ throw new exception_1.ApiException(response.httpStatusCode, "Error response.", undefined, response.headers);
315
+ }
316
+ // Work around for missing responses in specification, e.g. for petstore.yaml
317
+ if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
318
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(await response.body.text(), contentType), "void", "");
319
+ return body;
320
+ }
321
+ throw new exception_1.ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers);
322
+ }
323
+ /**
324
+ * Unwraps the actual response sent by the server from the response context and deserializes the response content
325
+ * to the expected objects
326
+ *
327
+ * @params response Response returned by the server for a request to updateWebhook
328
+ * @throws ApiException if the response code was not in [200, 299]
329
+ */
330
+ async updateWebhook(response) {
331
+ const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
332
+ if ((0, util_1.isCodeInRange)("200", response.httpStatusCode)) {
333
+ return;
334
+ }
335
+ if ((0, util_1.isCodeInRange)("401", response.httpStatusCode)) {
336
+ throw new exception_1.ApiException(response.httpStatusCode, "Error response.", undefined, response.headers);
337
+ }
338
+ if ((0, util_1.isCodeInRange)("409", response.httpStatusCode)) {
339
+ throw new exception_1.ApiException(response.httpStatusCode, "Error response.", undefined, response.headers);
340
+ }
341
+ // Work around for missing responses in specification, e.g. for petstore.yaml
342
+ if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
343
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(await response.body.text(), contentType), "void", "");
344
+ return body;
345
+ }
346
+ throw new exception_1.ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers);
347
+ }
348
+ }
349
+ exports.SettingsApiResponseProcessor = SettingsApiResponseProcessor;
350
+ //# sourceMappingURL=SettingsApi.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SettingsApi.js","sourceRoot":"","sources":["../../../src/generated/apis/SettingsApi.ts"],"names":[],"mappings":";;;AAAA,8BAA8B;AAC9B,uCAAmF;AAEnF,uCAAmF;AAGnF,iEAA4D;AAC5D,2CAAyC;AACzC,kCAAsD;AAWtD;;GAEG;AACH,MAAa,yBAA0B,SAAQ,+BAAqB;IAEhE;;;;OAIG;IACI,KAAK,CAAC,mBAAmB,CAAC,+BAAgE,EAAE,QAAwB;QACvH,IAAI,OAAO,GAAG,QAAQ,IAAI,IAAI,CAAC,aAAa,CAAC;QAE7C,uFAAuF;QACvF,IAAI,+BAA+B,KAAK,IAAI,IAAI,+BAA+B,KAAK,SAAS,EAAE;YAC3F,MAAM,IAAI,uBAAa,CAAC,aAAa,EAAE,qBAAqB,EAAE,iCAAiC,CAAC,CAAC;SACpG;QAGD,cAAc;QACd,MAAM,YAAY,GAAG,kCAAkC,CAAC;QAExD,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,+BAA+B,EAAE,iCAAiC,EAAE,EAAE,CAAC,EAClG,WAAW,CACd,CAAC;QACF,cAAc,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC;QAEvC,IAAI,UAA8C,CAAC;QACnD,qBAAqB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