@openfort/openfort-node 0.6.36 → 0.6.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/apis/notificationSubscriptionsApiWrapper.d.ts +3 -4
- package/dist/apis/notificationSubscriptionsApiWrapper.js +2 -2
- package/dist/apis/notificationSubscriptionsApiWrapper.js.map +1 -1
- package/dist/apis/notificationTriggersApiWrapper.d.ts +3 -4
- package/dist/apis/notificationTriggersApiWrapper.js +2 -2
- package/dist/apis/notificationTriggersApiWrapper.js.map +1 -1
- package/dist/apis/policiesApiWrapper.d.ts +3 -3
- package/dist/apis/policiesApiWrapper.js +1 -1
- package/dist/apis/policiesApiWrapper.js.map +1 -1
- package/dist/apis/transactionIntentsApiWrapper.js +1 -1
- package/dist/apis/transactionIntentsApiWrapper.js.map +1 -1
- package/dist/generated/apis/InventoriesApi.d.ts +6 -0
- package/dist/generated/apis/InventoriesApi.js +6 -0
- package/dist/generated/apis/InventoriesApi.js.map +1 -1
- package/dist/generated/apis/NotificationSubscriptionsApi.d.ts +74 -0
- package/dist/generated/apis/NotificationSubscriptionsApi.js +257 -0
- package/dist/generated/apis/NotificationSubscriptionsApi.js.map +1 -0
- package/dist/generated/apis/NotificationTriggersApi.d.ts +74 -0
- package/dist/generated/apis/NotificationTriggersApi.js +257 -0
- package/dist/generated/apis/NotificationTriggersApi.js.map +1 -0
- package/dist/generated/apis/NotificationsApi.d.ts +4 -130
- package/dist/generated/apis/NotificationsApi.js +4 -480
- package/dist/generated/apis/NotificationsApi.js.map +1 -1
- package/dist/generated/apis/PoliciesApi.d.ts +32 -2
- package/dist/generated/apis/PoliciesApi.js +122 -2
- package/dist/generated/apis/PoliciesApi.js.map +1 -1
- package/dist/generated/apis/SettingsApi.d.ts +2 -1
- package/dist/generated/apis/SettingsApi.js +6 -1
- package/dist/generated/apis/SettingsApi.js.map +1 -1
- package/dist/generated/apis/TransactionIntentsApi.d.ts +2 -1
- package/dist/generated/apis/TransactionIntentsApi.js +6 -1
- package/dist/generated/apis/TransactionIntentsApi.js.map +1 -1
- package/dist/generated/index.d.ts +1 -1
- package/dist/generated/index.js +3 -1
- package/dist/generated/index.js.map +1 -1
- package/dist/generated/models/{CreateSubscriptionRequest.d.ts → CreateNotificationSubscriptionRequest.d.ts} +1 -1
- package/dist/generated/models/{CreateSubscriptionRequest.js → CreateNotificationSubscriptionRequest.js} +7 -7
- package/dist/generated/models/CreateNotificationSubscriptionRequest.js.map +1 -0
- package/dist/generated/models/{CreateTriggerRequest.d.ts → CreateNotificationTriggerRequest.d.ts} +1 -1
- package/dist/generated/models/{CreateTriggerRequest.js → CreateNotificationTriggerRequest.js} +7 -7
- package/dist/generated/models/CreateNotificationTriggerRequest.js.map +1 -0
- package/dist/generated/models/DeveloperAccountListQueries.d.ts +4 -0
- package/dist/generated/models/DeveloperAccountListQueries.js +6 -0
- package/dist/generated/models/DeveloperAccountListQueries.js.map +1 -1
- package/dist/generated/models/GasReport.d.ts +8 -4
- package/dist/generated/models/GasReport.js +30 -6
- package/dist/generated/models/GasReport.js.map +1 -1
- package/dist/generated/models/{GasReportDataInner.d.ts → GasReportListResponse.d.ts} +9 -9
- package/dist/generated/models/GasReportListResponse.js +62 -0
- package/dist/generated/models/GasReportListResponse.js.map +1 -0
- package/dist/generated/models/{GasReportDataInnerTransactionIntentsInner.d.ts → GasReportTransactionIntentsInner.d.ts} +2 -2
- package/dist/generated/models/{GasReportDataInnerTransactionIntentsInner.js → GasReportTransactionIntentsInner.js} +9 -9
- package/dist/generated/models/GasReportTransactionIntentsInner.js.map +1 -0
- package/dist/generated/models/{GasReportDataInnerPeriod.d.ts → MonthRange.d.ts} +2 -2
- package/dist/generated/models/{GasReportDataInnerPeriod.js → MonthRange.js} +13 -13
- package/dist/generated/models/MonthRange.js.map +1 -0
- package/dist/generated/models/ObjectSerializer.d.ts +7 -5
- package/dist/generated/models/ObjectSerializer.js +21 -15
- package/dist/generated/models/ObjectSerializer.js.map +1 -1
- package/dist/generated/models/PolicyBalanceWithdrawResponse.d.ts +30 -0
- package/dist/generated/models/PolicyBalanceWithdrawResponse.js +44 -0
- package/dist/generated/models/PolicyBalanceWithdrawResponse.js.map +1 -0
- package/dist/generated/models/ResponseResponse.d.ts +9 -1
- package/dist/generated/models/ResponseResponse.js +12 -0
- package/dist/generated/models/ResponseResponse.js.map +1 -1
- package/dist/generated/models/SubscriptionType.d.ts +1 -1
- package/dist/generated/models/TransactionIntentListQueries.d.ts +4 -0
- package/dist/generated/models/TransactionIntentListQueries.js +6 -0
- package/dist/generated/models/TransactionIntentListQueries.js.map +1 -1
- package/dist/generated/models/WithdrawalPolicyRequest.d.ts +35 -0
- package/dist/generated/models/WithdrawalPolicyRequest.js +38 -0
- package/dist/generated/models/WithdrawalPolicyRequest.js.map +1 -0
- package/dist/generated/models/all.d.ts +7 -5
- package/dist/generated/models/all.js +7 -5
- package/dist/generated/models/all.js.map +1 -1
- package/dist/generated/types/ObjectParamAPI.d.ts +184 -122
- package/dist/generated/types/ObjectParamAPI.js +98 -64
- package/dist/generated/types/ObjectParamAPI.js.map +1 -1
- package/dist/generated/types/ObservableAPI.d.ts +80 -45
- package/dist/generated/types/ObservableAPI.js +144 -77
- package/dist/generated/types/ObservableAPI.js.map +1 -1
- package/dist/generated/types/PromiseAPI.d.ts +76 -45
- package/dist/generated/types/PromiseAPI.js +116 -77
- package/dist/generated/types/PromiseAPI.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/tsconfig.tsbuildinfo +1 -1
- package/dist/generated/models/CreateSubscriptionRequest.js.map +0 -1
- package/dist/generated/models/CreateTriggerRequest.js.map +0 -1
- package/dist/generated/models/GasReportDataInner.js +0 -62
- package/dist/generated/models/GasReportDataInner.js.map +0 -1
- package/dist/generated/models/GasReportDataInnerPeriod.js.map +0 -1
- package/dist/generated/models/GasReportDataInnerTransactionIntentsInner.js.map +0 -1
|
@@ -15,12 +15,12 @@ import { ContractResponse } from '../models/ContractResponse';
|
|
|
15
15
|
import { CreateAccountRequest } from '../models/CreateAccountRequest';
|
|
16
16
|
import { CreateContractRequest } from '../models/CreateContractRequest';
|
|
17
17
|
import { CreateNotificationRequest } from '../models/CreateNotificationRequest';
|
|
18
|
+
import { CreateNotificationSubscriptionRequest } from '../models/CreateNotificationSubscriptionRequest';
|
|
19
|
+
import { CreateNotificationTriggerRequest } from '../models/CreateNotificationTriggerRequest';
|
|
18
20
|
import { CreatePolicyRequest } from '../models/CreatePolicyRequest';
|
|
19
21
|
import { CreatePolicyRuleRequest } from '../models/CreatePolicyRuleRequest';
|
|
20
22
|
import { CreateSessionRequest } from '../models/CreateSessionRequest';
|
|
21
|
-
import { CreateSubscriptionRequest } from '../models/CreateSubscriptionRequest';
|
|
22
23
|
import { CreateTransactionIntentRequest } from '../models/CreateTransactionIntentRequest';
|
|
23
|
-
import { CreateTriggerRequest } from '../models/CreateTriggerRequest';
|
|
24
24
|
import { CreateWeb3ConnectionRequest } from '../models/CreateWeb3ConnectionRequest';
|
|
25
25
|
import { DeployRequest } from '../models/DeployRequest';
|
|
26
26
|
import { DeveloperAccountCreateRequest } from '../models/DeveloperAccountCreateRequest';
|
|
@@ -30,7 +30,7 @@ import { DeveloperAccountListResponse } from '../models/DeveloperAccountListResp
|
|
|
30
30
|
import { DeveloperAccountResponse } from '../models/DeveloperAccountResponse';
|
|
31
31
|
import { DeveloperAccountResponseExpandable } from '../models/DeveloperAccountResponseExpandable';
|
|
32
32
|
import { EstimateTransactionIntentGasResult } from '../models/EstimateTransactionIntentGasResult';
|
|
33
|
-
import {
|
|
33
|
+
import { GasReportListResponse } from '../models/GasReportListResponse';
|
|
34
34
|
import { GetSigninUrlResponse } from '../models/GetSigninUrlResponse';
|
|
35
35
|
import { InventoryListResponse } from '../models/InventoryListResponse';
|
|
36
36
|
import { InventoryResponse } from '../models/InventoryResponse';
|
|
@@ -57,6 +57,7 @@ import { PlayerResponse } from '../models/PlayerResponse';
|
|
|
57
57
|
import { PlayerResponseExpandable } from '../models/PlayerResponseExpandable';
|
|
58
58
|
import { PlayerTransferOwnershipRequest } from '../models/PlayerTransferOwnershipRequest';
|
|
59
59
|
import { PlayerUpdateRequest } from '../models/PlayerUpdateRequest';
|
|
60
|
+
import { PolicyBalanceWithdrawResponse } from '../models/PolicyBalanceWithdrawResponse';
|
|
60
61
|
import { PolicyDeleteResponse } from '../models/PolicyDeleteResponse';
|
|
61
62
|
import { PolicyListResponse } from '../models/PolicyListResponse';
|
|
62
63
|
import { PolicyResponse } from '../models/PolicyResponse';
|
|
@@ -91,6 +92,7 @@ import { Web3ActionResponse } from '../models/Web3ActionResponse';
|
|
|
91
92
|
import { Web3ConnectionListResponse } from '../models/Web3ConnectionListResponse';
|
|
92
93
|
import { Web3ConnectionResponse } from '../models/Web3ConnectionResponse';
|
|
93
94
|
import { Web3ConnectionResponseExpandable } from '../models/Web3ConnectionResponseExpandable';
|
|
95
|
+
import { WithdrawalPolicyRequest } from '../models/WithdrawalPolicyRequest';
|
|
94
96
|
import { AccountsApiRequestFactory, AccountsApiResponseProcessor } from "../apis/AccountsApi";
|
|
95
97
|
export declare class ObservableAccountsApi {
|
|
96
98
|
private requestFactory;
|
|
@@ -266,6 +268,7 @@ export declare class ObservableInventoriesApi {
|
|
|
266
268
|
private configuration;
|
|
267
269
|
constructor(configuration: Configuration, requestFactory?: InventoriesApiRequestFactory, responseProcessor?: InventoriesApiResponseProcessor);
|
|
268
270
|
/**
|
|
271
|
+
* For development purposes only. Under higher load scenarios, this endpoint may be rate limited.
|
|
269
272
|
* Retrieves the cryptocurrency assets of an existing account.
|
|
270
273
|
* @param id Specifies the unique account ID.
|
|
271
274
|
* @param limit Specifies the maximum number of records to return.
|
|
@@ -275,11 +278,13 @@ export declare class ObservableInventoriesApi {
|
|
|
275
278
|
*/
|
|
276
279
|
getAccountCryptoCurrencyInventory(id: string, limit?: number, skip?: number, order?: SortOrder, contractId?: Array<string>, _options?: Configuration): Observable<InventoryListResponse>;
|
|
277
280
|
/**
|
|
281
|
+
* For development purposes only. Under higher load scenarios, this endpoint may be rate limited.
|
|
278
282
|
* Retrieves the native asset of an existing account.
|
|
279
283
|
* @param id Specifies the unique account ID.
|
|
280
284
|
*/
|
|
281
285
|
getAccountNativeInventory(id: string, _options?: Configuration): Observable<InventoryResponse>;
|
|
282
286
|
/**
|
|
287
|
+
* For development purposes only. Under higher load scenarios, this endpoint may be rate limited.
|
|
283
288
|
* Retrieves the NFT assets of an existing account.
|
|
284
289
|
* @param id Specifies the unique account ID.
|
|
285
290
|
* @param limit Specifies the maximum number of records to return.
|
|
@@ -289,6 +294,7 @@ export declare class ObservableInventoriesApi {
|
|
|
289
294
|
*/
|
|
290
295
|
getAccountNftInventory(id: string, limit?: number, skip?: number, order?: SortOrder, contractId?: Array<string>, _options?: Configuration): Observable<InventoryListResponse>;
|
|
291
296
|
/**
|
|
297
|
+
* For development purposes only. Under higher load scenarios, this endpoint may be rate limited.
|
|
292
298
|
* Get cryptocurrency list of player.
|
|
293
299
|
* @param id Specifies the unique player ID (starts with pla_).
|
|
294
300
|
* @param chainId Filter by chain id.
|
|
@@ -299,12 +305,14 @@ export declare class ObservableInventoriesApi {
|
|
|
299
305
|
*/
|
|
300
306
|
getPlayerCryptoCurrencyInventory(id: string, chainId: number, limit?: number, skip?: number, order?: SortOrder, contract?: Array<string>, _options?: Configuration): Observable<InventoryListResponse>;
|
|
301
307
|
/**
|
|
308
|
+
* For development purposes only. Under higher load scenarios, this endpoint may be rate limited.
|
|
302
309
|
* Get native token list of player.
|
|
303
310
|
* @param id Specifies the unique player ID (starts with pla_).
|
|
304
311
|
* @param chainId Filter by chain id.
|
|
305
312
|
*/
|
|
306
313
|
getPlayerNativeInventory(id: string, chainId: number, _options?: Configuration): Observable<InventoryResponse>;
|
|
307
314
|
/**
|
|
315
|
+
* For development purposes only. Under higher load scenarios, this endpoint may be rate limited.
|
|
308
316
|
* Get NFTs list of player.
|
|
309
317
|
* @param id Specifies the unique player ID (starts with pla_).
|
|
310
318
|
* @param chainId Filter by chain id.
|
|
@@ -315,55 +323,24 @@ export declare class ObservableInventoriesApi {
|
|
|
315
323
|
*/
|
|
316
324
|
getPlayerNftInventory(id: string, chainId: number, limit?: number, skip?: number, order?: SortOrder, contract?: Array<string>, _options?: Configuration): Observable<InventoryListResponse>;
|
|
317
325
|
}
|
|
318
|
-
import {
|
|
319
|
-
export declare class
|
|
326
|
+
import { NotificationSubscriptionsApiRequestFactory, NotificationSubscriptionsApiResponseProcessor } from "../apis/NotificationSubscriptionsApi";
|
|
327
|
+
export declare class ObservableNotificationSubscriptionsApi {
|
|
320
328
|
private requestFactory;
|
|
321
329
|
private responseProcessor;
|
|
322
330
|
private configuration;
|
|
323
|
-
constructor(configuration: Configuration, requestFactory?:
|
|
324
|
-
/**
|
|
325
|
-
* Create a notification object.
|
|
326
|
-
* Create a notification object.
|
|
327
|
-
* @param createNotificationRequest
|
|
328
|
-
*/
|
|
329
|
-
createNotification(createNotificationRequest: CreateNotificationRequest, _options?: Configuration): Observable<NotificationResponse>;
|
|
331
|
+
constructor(configuration: Configuration, requestFactory?: NotificationSubscriptionsApiRequestFactory, responseProcessor?: NotificationSubscriptionsApiResponseProcessor);
|
|
330
332
|
/**
|
|
331
333
|
* Create a subscription for the provided notification.
|
|
332
334
|
* Create a notification subscription object.
|
|
333
|
-
* @param
|
|
335
|
+
* @param createNotificationSubscriptionRequest
|
|
334
336
|
*/
|
|
335
|
-
createNotificationSubscription(
|
|
336
|
-
/**
|
|
337
|
-
* Create a trigger for the provided notification.
|
|
338
|
-
* Create a notification trigger object.
|
|
339
|
-
* @param createTriggerRequest
|
|
340
|
-
*/
|
|
341
|
-
createNotificationTrigger(createTriggerRequest: CreateTriggerRequest, _options?: Configuration): Observable<NotificationTriggerResponse>;
|
|
342
|
-
/**
|
|
343
|
-
* Delete a notification by providing its notification id.
|
|
344
|
-
* Deletes a notification object.
|
|
345
|
-
* @param id Specifies the unique notification ID (starts with not_).
|
|
346
|
-
*/
|
|
347
|
-
deleteNotification(id: string, _options?: Configuration): Observable<NotificationDeleteResponse>;
|
|
337
|
+
createNotificationSubscription(createNotificationSubscriptionRequest: CreateNotificationSubscriptionRequest, _options?: Configuration): Observable<NotificationSubscription>;
|
|
348
338
|
/**
|
|
349
339
|
* Delete a notification subscription by providing its notification subscription id.
|
|
350
340
|
* Deletes a notification subscription object.
|
|
351
341
|
* @param id Specifies the unique notification subscription ID (starts with ntr_).
|
|
352
342
|
*/
|
|
353
343
|
deleteNotificationSubscription(id: string, _options?: Configuration): Observable<NotificationSubscriptionDeleteResponse>;
|
|
354
|
-
/**
|
|
355
|
-
* Delete a notification trigger by providing its notification trigger id.
|
|
356
|
-
* Deletes a notification trigger object.
|
|
357
|
-
* @param id Specifies the unique notification trigger ID (starts with ntr_).
|
|
358
|
-
*/
|
|
359
|
-
deleteNotificationTrigger(id: string, _options?: Configuration): Observable<NotificationTriggerDeleteResponse>;
|
|
360
|
-
/**
|
|
361
|
-
* Retrieves the details of an existing account. Supply the unique notification ID.
|
|
362
|
-
* Get existing account.
|
|
363
|
-
* @param id Specifies the unique account ID (starts with not_).
|
|
364
|
-
* @param expand
|
|
365
|
-
*/
|
|
366
|
-
getNotification(id: string, expand?: Array<NotificationResponseExpandable>, _options?: Configuration): Observable<NotificationResponse>;
|
|
367
344
|
/**
|
|
368
345
|
* Retrieves the details of an existing notification subscription. Supply the unique notification subscription ID.
|
|
369
346
|
* Get existing notification subscription.
|
|
@@ -371,7 +348,7 @@ export declare class ObservableNotificationsApi {
|
|
|
371
348
|
*/
|
|
372
349
|
getNotificationSubscription(id: string, _options?: Configuration): Observable<NotificationSubscription>;
|
|
373
350
|
/**
|
|
374
|
-
* Returns a list of subscriptions of a notification.
|
|
351
|
+
* Returns a list of subscriptions of a notification. Subscriptions define the the way you will get notified and the target of the notification. Subscriptions are returned sorted by creation date, with the most recently created accounts appearing first. By default, a maximum of 10 notification subscriptions are shown per page.
|
|
375
352
|
* List notification subscriptions of a notification.
|
|
376
353
|
* @param notification Specifies the unique notification ID (starts with not_).
|
|
377
354
|
* @param limit Specifies the maximum number of records to return.
|
|
@@ -379,6 +356,25 @@ export declare class ObservableNotificationsApi {
|
|
|
379
356
|
* @param order Specifies the order in which to sort the results.
|
|
380
357
|
*/
|
|
381
358
|
getNotificationSubscriptions(notification: string, limit?: number, skip?: number, order?: SortOrder, _options?: Configuration): Observable<NotificationSubscriptionListResponse>;
|
|
359
|
+
}
|
|
360
|
+
import { NotificationTriggersApiRequestFactory, NotificationTriggersApiResponseProcessor } from "../apis/NotificationTriggersApi";
|
|
361
|
+
export declare class ObservableNotificationTriggersApi {
|
|
362
|
+
private requestFactory;
|
|
363
|
+
private responseProcessor;
|
|
364
|
+
private configuration;
|
|
365
|
+
constructor(configuration: Configuration, requestFactory?: NotificationTriggersApiRequestFactory, responseProcessor?: NotificationTriggersApiResponseProcessor);
|
|
366
|
+
/**
|
|
367
|
+
* Create a trigger for the provided notification.
|
|
368
|
+
* Create a notification trigger object.
|
|
369
|
+
* @param createNotificationTriggerRequest
|
|
370
|
+
*/
|
|
371
|
+
createNotificationTrigger(createNotificationTriggerRequest: CreateNotificationTriggerRequest, _options?: Configuration): Observable<NotificationTriggerResponse>;
|
|
372
|
+
/**
|
|
373
|
+
* Delete a notification trigger by providing its notification trigger id.
|
|
374
|
+
* Deletes a notification trigger object.
|
|
375
|
+
* @param id Specifies the unique notification trigger ID (starts with ntr_).
|
|
376
|
+
*/
|
|
377
|
+
deleteNotificationTrigger(id: string, _options?: Configuration): Observable<NotificationTriggerDeleteResponse>;
|
|
382
378
|
/**
|
|
383
379
|
* Retrieves the details of an existing notification trigger. Supply the unique notification trigger ID.
|
|
384
380
|
* Get existing notification trigger.
|
|
@@ -386,7 +382,7 @@ export declare class ObservableNotificationsApi {
|
|
|
386
382
|
*/
|
|
387
383
|
getNotificationTrigger(id: string, _options?: Configuration): Observable<NotificationTriggerResponse>;
|
|
388
384
|
/**
|
|
389
|
-
* Returns a list of triggers of a notification.
|
|
385
|
+
* Returns a list of triggers of a notification. Triggers define the conditions that will trigger a notification. Triggers are returned sorted by creation date, with the most recently created accounts appearing first. By default, a maximum of 10 notification triggers are shown per page.
|
|
390
386
|
* List notification triggers of a notification.
|
|
391
387
|
* @param notification Specifies the unique notification ID (starts with not_).
|
|
392
388
|
* @param limit Specifies the maximum number of records to return.
|
|
@@ -394,8 +390,34 @@ export declare class ObservableNotificationsApi {
|
|
|
394
390
|
* @param order Specifies the order in which to sort the results.
|
|
395
391
|
*/
|
|
396
392
|
getNotificationTriggers(notification: string, limit?: number, skip?: number, order?: SortOrder, _options?: Configuration): Observable<NotificationTriggerListResponse>;
|
|
393
|
+
}
|
|
394
|
+
import { NotificationsApiRequestFactory, NotificationsApiResponseProcessor } from "../apis/NotificationsApi";
|
|
395
|
+
export declare class ObservableNotificationsApi {
|
|
396
|
+
private requestFactory;
|
|
397
|
+
private responseProcessor;
|
|
398
|
+
private configuration;
|
|
399
|
+
constructor(configuration: Configuration, requestFactory?: NotificationsApiRequestFactory, responseProcessor?: NotificationsApiResponseProcessor);
|
|
400
|
+
/**
|
|
401
|
+
* Create a notification object.
|
|
402
|
+
* Create a notification object.
|
|
403
|
+
* @param createNotificationRequest
|
|
404
|
+
*/
|
|
405
|
+
createNotification(createNotificationRequest: CreateNotificationRequest, _options?: Configuration): Observable<NotificationResponse>;
|
|
397
406
|
/**
|
|
398
|
-
*
|
|
407
|
+
* Delete a notification by providing its notification id.
|
|
408
|
+
* Deletes a notification object.
|
|
409
|
+
* @param id Specifies the unique notification ID (starts with not_).
|
|
410
|
+
*/
|
|
411
|
+
deleteNotification(id: string, _options?: Configuration): Observable<NotificationDeleteResponse>;
|
|
412
|
+
/**
|
|
413
|
+
* Retrieves the details of an existing notification. Supply the unique notification ID.
|
|
414
|
+
* Get existing notification.
|
|
415
|
+
* @param id Specifies the unique notification ID (starts with not_).
|
|
416
|
+
* @param expand
|
|
417
|
+
*/
|
|
418
|
+
getNotification(id: string, expand?: Array<NotificationResponseExpandable>, _options?: Configuration): Observable<NotificationResponse>;
|
|
419
|
+
/**
|
|
420
|
+
* Returns a list of notifications. Notifications are useful to get notified about events that happen on-chain or in your Openfort account. Notifications are returned sorted by creation date, with the most recently created notifications appearing first. By default, a maximum of 10 notifications are shown per page.
|
|
399
421
|
* List notifications.
|
|
400
422
|
* @param limit Specifies the maximum number of records to return.
|
|
401
423
|
* @param skip Specifies the offset for the first records to return.
|
|
@@ -547,6 +569,12 @@ export declare class ObservablePoliciesApi {
|
|
|
547
569
|
* @param createPolicyRequest
|
|
548
570
|
*/
|
|
549
571
|
createPolicy(createPolicyRequest: CreatePolicyRequest, _options?: Configuration): Observable<PolicyResponse>;
|
|
572
|
+
/**
|
|
573
|
+
* List all gas reports of a policy.
|
|
574
|
+
* @param id Specifies the unique policy ID (starts with pol_).
|
|
575
|
+
* @param withdrawalPolicyRequest
|
|
576
|
+
*/
|
|
577
|
+
createPolicyWithdrawal(id: string, withdrawalPolicyRequest: WithdrawalPolicyRequest, _options?: Configuration): Observable<TransactionIntentResponse>;
|
|
550
578
|
/**
|
|
551
579
|
* Delete a policy object.
|
|
552
580
|
* @param id Specifies the unique policy ID (starts with pol_).
|
|
@@ -586,7 +614,12 @@ export declare class ObservablePoliciesApi {
|
|
|
586
614
|
* List all gas reports of a policy.
|
|
587
615
|
* @param id Specifies the unique policy ID (starts with pol_).
|
|
588
616
|
*/
|
|
589
|
-
|
|
617
|
+
getPolicyBalance(id: string, _options?: Configuration): Observable<PolicyBalanceWithdrawResponse>;
|
|
618
|
+
/**
|
|
619
|
+
* List all gas reports of a policy.
|
|
620
|
+
* @param id Specifies the unique policy ID (starts with pol_).
|
|
621
|
+
*/
|
|
622
|
+
getPolicyTotalGasUsage(id: string, _options?: Configuration): Observable<GasReportListResponse>;
|
|
590
623
|
/**
|
|
591
624
|
* Update a policy object.
|
|
592
625
|
* @param id Specifies the unique policy ID (starts with pol_).
|
|
@@ -700,8 +733,9 @@ export declare class ObservableSettingsApi {
|
|
|
700
733
|
* @param skip Specifies the offset for the first records to return.
|
|
701
734
|
* @param order Specifies the order in which to sort the results.
|
|
702
735
|
* @param expand Specifies the fields to expand in the response.
|
|
736
|
+
* @param deleted Specifies whether to include deleted dev accounts.
|
|
703
737
|
*/
|
|
704
|
-
getDeveloperAccounts(limit?: number, skip?: number, order?: SortOrder, expand?: Array<DeveloperAccountResponseExpandable>, _options?: Configuration): Observable<DeveloperAccountListResponse>;
|
|
738
|
+
getDeveloperAccounts(limit?: number, skip?: number, order?: SortOrder, expand?: Array<DeveloperAccountResponseExpandable>, deleted?: boolean, _options?: Configuration): Observable<DeveloperAccountListResponse>;
|
|
705
739
|
/**
|
|
706
740
|
* Generate message, which should be signed by the account your want to add as a developer account.
|
|
707
741
|
* Generate message to sign
|
|
@@ -755,9 +789,10 @@ export declare class ObservableTransactionIntentsApi {
|
|
|
755
789
|
* @param chainId The chain ID. Must be a [supported chain](/chains).
|
|
756
790
|
* @param account Filter by account ID or developer account (starts with acc_ or dac_ respectively).
|
|
757
791
|
* @param player Filter by player ID (starts with pla_).
|
|
792
|
+
* @param status Filter by successful (1) or failed (0) transaction intents.
|
|
758
793
|
* @param policy Filter by policy ID (starts with pol_).
|
|
759
794
|
*/
|
|
760
|
-
getTransactionIntents(limit?: number, skip?: number, order?: SortOrder, expand?: Array<TransactionIntentResponseExpandable>, chainId?: number, account?: Array<string>, player?: Array<string>, policy?: Array<string>, _options?: Configuration): Observable<TransactionIntentListResponse>;
|
|
795
|
+
getTransactionIntents(limit?: number, skip?: number, order?: SortOrder, expand?: Array<TransactionIntentResponseExpandable>, chainId?: number, account?: Array<string>, player?: Array<string>, status?: number, policy?: Array<string>, _options?: Configuration): Observable<TransactionIntentListResponse>;
|
|
761
796
|
/**
|
|
762
797
|
* Broadcasts a signed TransactionIntent to the blockchain. Use this endpoint to send the signed `userOperationHash`. Openfort will then put it on-chain.
|
|
763
798
|
* Send a signed transaction userOperationHash.
|