@openfort/openfort-js 0.3.1 → 0.3.3

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.
@@ -117,6 +117,18 @@ export interface AbiType {
117
117
  * @interface AccelbyteOAuthConfig
118
118
  */
119
119
  export interface AccelbyteOAuthConfig {
120
+ /**
121
+ * Enable OAuth provider.
122
+ * @type {boolean}
123
+ * @memberof AccelbyteOAuthConfig
124
+ */
125
+ 'enabled': boolean;
126
+ /**
127
+ *
128
+ * @type {OAuthProviderACCELBYTE}
129
+ * @memberof AccelbyteOAuthConfig
130
+ */
131
+ 'provider': OAuthProviderACCELBYTE;
120
132
  /**
121
133
  * Base URI of your accelbyte gaming service environment. E.g. https://mygame.dev.gamingservices.accelbyte.io/
122
134
  * @type {string}
@@ -135,12 +147,6 @@ export interface AccelbyteOAuthConfig {
135
147
  * @memberof AccelbyteOAuthConfig
136
148
  */
137
149
  'clientSecret': string;
138
- /**
139
- *
140
- * @type {OAuthProviderACCELBYTE}
141
- * @memberof AccelbyteOAuthConfig
142
- */
143
- 'provider': OAuthProviderACCELBYTE;
144
150
  }
145
151
  /**
146
152
  *
@@ -439,25 +445,6 @@ export declare const AccountResponseExpandable: {
439
445
  readonly TransactionIntents: "transactionIntents";
440
446
  };
441
447
  export type AccountResponseExpandable = typeof AccountResponseExpandable[keyof typeof AccountResponseExpandable];
442
- /**
443
- *
444
- * @export
445
- * @interface AddDepositorAddressRequest
446
- */
447
- export interface AddDepositorAddressRequest {
448
- /**
449
- *
450
- * @type {string}
451
- * @memberof AddDepositorAddressRequest
452
- */
453
- 'depositorAddress': string;
454
- /**
455
- *
456
- * @type {string}
457
- * @memberof AddDepositorAddressRequest
458
- */
459
- 'signature': string;
460
- }
461
448
  /**
462
449
  *
463
450
  * @export
@@ -786,19 +773,21 @@ export interface AuthPlayerResponsePlayer {
786
773
  * @type {string}
787
774
  * @memberof AuthPlayerResponsePlayer
788
775
  */
789
- 'name': string | null;
776
+ 'name': string;
790
777
  /**
791
778
  *
792
779
  * @type {string}
793
780
  * @memberof AuthPlayerResponsePlayer
794
781
  */
795
- 'description': string | null;
782
+ 'description'?: string;
796
783
  /**
797
784
  *
798
- * @type {string}
785
+ * @type {{ [key: string]: PlayerMetadataValue; }}
799
786
  * @memberof AuthPlayerResponsePlayer
800
787
  */
801
- 'metadata': string;
788
+ 'metadata'?: {
789
+ [key: string]: PlayerMetadataValue;
790
+ };
802
791
  /**
803
792
  *
804
793
  * @type {Array<PlayerResponseTransactionIntentsInner>}
@@ -1222,6 +1211,62 @@ export interface ContractPolicyRuleResponseContract {
1222
1211
  */
1223
1212
  'publicVerification': boolean;
1224
1213
  }
1214
+ /**
1215
+ *
1216
+ * @export
1217
+ * @interface ContractReadQueries
1218
+ */
1219
+ export interface ContractReadQueries {
1220
+ /**
1221
+ * The function name of the contract.
1222
+ * @type {string}
1223
+ * @memberof ContractReadQueries
1224
+ */
1225
+ 'functionName': string;
1226
+ /**
1227
+ * The function arguments of the contract.
1228
+ * @type {Array<any>}
1229
+ * @memberof ContractReadQueries
1230
+ */
1231
+ 'functionArgs'?: Array<any>;
1232
+ }
1233
+ /**
1234
+ *
1235
+ * @export
1236
+ * @interface ContractReadResponse
1237
+ */
1238
+ export interface ContractReadResponse {
1239
+ /**
1240
+ *
1241
+ * @type {string}
1242
+ * @memberof ContractReadResponse
1243
+ */
1244
+ 'id': string;
1245
+ /**
1246
+ *
1247
+ * @type {EntityTypeREADCONTRACT}
1248
+ * @memberof ContractReadResponse
1249
+ */
1250
+ 'object': EntityTypeREADCONTRACT;
1251
+ /**
1252
+ *
1253
+ * @type {number}
1254
+ * @memberof ContractReadResponse
1255
+ */
1256
+ 'createdAt': number;
1257
+ /**
1258
+ *
1259
+ * @type {string}
1260
+ * @memberof ContractReadResponse
1261
+ */
1262
+ 'functionName': string;
1263
+ /**
1264
+ *
1265
+ * @type {any}
1266
+ * @memberof ContractReadResponse
1267
+ */
1268
+ 'result': any;
1269
+ }
1225
1270
  /**
1226
1271
  *
1227
1272
  * @export
@@ -1474,25 +1519,6 @@ export interface CreatePlayerAccountRequest {
1474
1519
  */
1475
1520
  'tokenId'?: number;
1476
1521
  }
1477
- /**
1478
- *
1479
- * @export
1480
- * @interface CreatePlayerRequest
1481
- */
1482
- export interface CreatePlayerRequest {
1483
- /**
1484
- * Specifies the player name.
1485
- * @type {string}
1486
- * @memberof CreatePlayerRequest
1487
- */
1488
- 'name': string;
1489
- /**
1490
- * Specifies the player description.
1491
- * @type {string}
1492
- * @memberof CreatePlayerRequest
1493
- */
1494
- 'description'?: string;
1495
- }
1496
1522
  /**
1497
1523
  *
1498
1524
  * @export
@@ -1819,7 +1845,7 @@ export interface CreateTransactionIntentRequest {
1819
1845
  */
1820
1846
  'optimistic': boolean;
1821
1847
  /**
1822
- * Specify the number of blocks after the block with transaction to be assured that transaction is in block. It is possible to use only with optimistic=true
1848
+ * Specify the number of blocks after the block with transaction to be assured that transaction is in block
1823
1849
  * @type {number}
1824
1850
  * @memberof CreateTransactionIntentRequest
1825
1851
  */
@@ -1831,6 +1857,31 @@ export interface CreateTransactionIntentRequest {
1831
1857
  */
1832
1858
  'interactions': Array<Interaction>;
1833
1859
  }
1860
+ /**
1861
+ *
1862
+ * @export
1863
+ * @interface CreateWeb3ConnectionRequest
1864
+ */
1865
+ export interface CreateWeb3ConnectionRequest {
1866
+ /**
1867
+ * The player ID (starts with pla_).
1868
+ * @type {string}
1869
+ * @memberof CreateWeb3ConnectionRequest
1870
+ */
1871
+ 'player': string;
1872
+ /**
1873
+ * The chain ID.
1874
+ * @type {number}
1875
+ * @memberof CreateWeb3ConnectionRequest
1876
+ */
1877
+ 'chainId': number;
1878
+ /**
1879
+ * Specifies the URI of the web3Connection.
1880
+ * @type {string}
1881
+ * @memberof CreateWeb3ConnectionRequest
1882
+ */
1883
+ 'uri': string;
1884
+ }
1834
1885
  /**
1835
1886
  *
1836
1887
  * @export
@@ -1923,6 +1974,15 @@ export declare const EntityTypeINVENTORY: {
1923
1974
  readonly Inventory: "inventory";
1924
1975
  };
1925
1976
  export type EntityTypeINVENTORY = typeof EntityTypeINVENTORY[keyof typeof EntityTypeINVENTORY];
1977
+ /**
1978
+ *
1979
+ * @export
1980
+ * @enum {string}
1981
+ */
1982
+ export declare const EntityTypePAYMASTERDEPOSITOR: {
1983
+ readonly PaymasterDepositor: "paymasterDepositor";
1984
+ };
1985
+ export type EntityTypePAYMASTERDEPOSITOR = typeof EntityTypePAYMASTERDEPOSITOR[keyof typeof EntityTypePAYMASTERDEPOSITOR];
1926
1986
  /**
1927
1987
  *
1928
1988
  * @export
@@ -1959,6 +2019,15 @@ export declare const EntityTypePROJECT: {
1959
2019
  readonly Project: "project";
1960
2020
  };
1961
2021
  export type EntityTypePROJECT = typeof EntityTypePROJECT[keyof typeof EntityTypePROJECT];
2022
+ /**
2023
+ *
2024
+ * @export
2025
+ * @enum {string}
2026
+ */
2027
+ export declare const EntityTypeREADCONTRACT: {
2028
+ readonly ReadContract: "readContract";
2029
+ };
2030
+ export type EntityTypeREADCONTRACT = typeof EntityTypeREADCONTRACT[keyof typeof EntityTypeREADCONTRACT];
1962
2031
  /**
1963
2032
  *
1964
2033
  * @export
@@ -1995,6 +2064,24 @@ export declare const EntityTypeUSER: {
1995
2064
  readonly User: "user";
1996
2065
  };
1997
2066
  export type EntityTypeUSER = typeof EntityTypeUSER[keyof typeof EntityTypeUSER];
2067
+ /**
2068
+ *
2069
+ * @export
2070
+ * @enum {string}
2071
+ */
2072
+ export declare const EntityTypeWEB3ACTION: {
2073
+ readonly Web3Action: "web3Action";
2074
+ };
2075
+ export type EntityTypeWEB3ACTION = typeof EntityTypeWEB3ACTION[keyof typeof EntityTypeWEB3ACTION];
2076
+ /**
2077
+ *
2078
+ * @export
2079
+ * @enum {string}
2080
+ */
2081
+ export declare const EntityTypeWEB3CONNECTION: {
2082
+ readonly Web3Connection: "web3Connection";
2083
+ };
2084
+ export type EntityTypeWEB3CONNECTION = typeof EntityTypeWEB3CONNECTION[keyof typeof EntityTypeWEB3CONNECTION];
1998
2085
  /**
1999
2086
  *
2000
2087
  * @export
@@ -2096,6 +2183,31 @@ export interface FieldErrorsValue {
2096
2183
  */
2097
2184
  'message': string;
2098
2185
  }
2186
+ /**
2187
+ * Firebase configuration
2188
+ * @export
2189
+ * @interface FirebaseOAuthConfig
2190
+ */
2191
+ export interface FirebaseOAuthConfig {
2192
+ /**
2193
+ * Enable OAuth provider.
2194
+ * @type {boolean}
2195
+ * @memberof FirebaseOAuthConfig
2196
+ */
2197
+ 'enabled': boolean;
2198
+ /**
2199
+ *
2200
+ * @type {OAuthProviderFIREBASE}
2201
+ * @memberof FirebaseOAuthConfig
2202
+ */
2203
+ 'provider': OAuthProviderFIREBASE;
2204
+ /**
2205
+ * Project ID of your Firebase service environment.
2206
+ * @type {string}
2207
+ * @memberof FirebaseOAuthConfig
2208
+ */
2209
+ 'projectId': string;
2210
+ }
2099
2211
  /**
2100
2212
  *
2101
2213
  * @export
@@ -2362,6 +2474,43 @@ export interface GetSigninUrlResponse {
2362
2474
  */
2363
2475
  'key': string;
2364
2476
  }
2477
+ /**
2478
+ * Google oauth configuration
2479
+ * @export
2480
+ * @interface GoogleOAuthConfig
2481
+ */
2482
+ export interface GoogleOAuthConfig {
2483
+ /**
2484
+ * Enable OAuth provider.
2485
+ * @type {boolean}
2486
+ * @memberof GoogleOAuthConfig
2487
+ */
2488
+ 'enabled': boolean;
2489
+ /**
2490
+ *
2491
+ * @type {OAuthProviderGOOGLE}
2492
+ * @memberof GoogleOAuthConfig
2493
+ */
2494
+ 'provider': OAuthProviderGOOGLE;
2495
+ /**
2496
+ * Google API client ID.
2497
+ * @type {string}
2498
+ * @memberof GoogleOAuthConfig
2499
+ */
2500
+ 'clientId': string;
2501
+ /**
2502
+ * Google API client secret.
2503
+ * @type {string}
2504
+ * @memberof GoogleOAuthConfig
2505
+ */
2506
+ 'clientSecret': string;
2507
+ /**
2508
+ * The URI to redirect to after completing the auth request. You can use Openfort redirect URL: https://openfort.xyz/auth/v1/google/callback
2509
+ * @type {string}
2510
+ * @memberof GoogleOAuthConfig
2511
+ */
2512
+ 'redirectUri': string;
2513
+ }
2365
2514
  /**
2366
2515
  *
2367
2516
  * @export
@@ -2507,31 +2656,6 @@ export interface InventoryResponse {
2507
2656
  */
2508
2657
  'data': AssetInventory;
2509
2658
  }
2510
- /**
2511
- *
2512
- * @export
2513
- * @interface InvitedMemberResponse
2514
- */
2515
- export interface InvitedMemberResponse {
2516
- /**
2517
- *
2518
- * @type {string}
2519
- * @memberof InvitedMemberResponse
2520
- */
2521
- 'id': string;
2522
- /**
2523
- *
2524
- * @type {string}
2525
- * @memberof InvitedMemberResponse
2526
- */
2527
- 'email': string;
2528
- /**
2529
- *
2530
- * @type {string}
2531
- * @memberof InvitedMemberResponse
2532
- */
2533
- 'role': string;
2534
- }
2535
2659
  /**
2536
2660
  *
2537
2661
  * @export
@@ -2618,19 +2742,6 @@ export interface LoginRequest {
2618
2742
  */
2619
2743
  'password': string;
2620
2744
  }
2621
- /**
2622
- *
2623
- * @export
2624
- * @interface MemberRequest
2625
- */
2626
- export interface MemberRequest {
2627
- /**
2628
- *
2629
- * @type {string}
2630
- * @memberof MemberRequest
2631
- */
2632
- 'email': string;
2633
- }
2634
2745
  /**
2635
2746
  *
2636
2747
  * @export
@@ -2703,6 +2814,18 @@ export type NextActionType = typeof NextActionType[keyof typeof NextActionType];
2703
2814
  * @interface OAuthConfig
2704
2815
  */
2705
2816
  export interface OAuthConfig {
2817
+ /**
2818
+ * Enable OAuth provider.
2819
+ * @type {boolean}
2820
+ * @memberof OAuthConfig
2821
+ */
2822
+ 'enabled': boolean;
2823
+ /**
2824
+ *
2825
+ * @type {OAuthProviderFIREBASE}
2826
+ * @memberof OAuthConfig
2827
+ */
2828
+ 'provider': OAuthProviderFIREBASE;
2706
2829
  /**
2707
2830
  * Base URI of your accelbyte gaming service environment. E.g. https://mygame.dev.gamingservices.accelbyte.io/
2708
2831
  * @type {string}
@@ -2710,29 +2833,35 @@ export interface OAuthConfig {
2710
2833
  */
2711
2834
  'baseUrl': string;
2712
2835
  /**
2713
- * Client ID of your accelbyte gaming service environment.
2836
+ * Google API client ID.
2714
2837
  * @type {string}
2715
2838
  * @memberof OAuthConfig
2716
2839
  */
2717
2840
  'clientId': string;
2718
2841
  /**
2719
- * Secret of your confidential IAM client.
2842
+ * Google API client secret.
2720
2843
  * @type {string}
2721
2844
  * @memberof OAuthConfig
2722
2845
  */
2723
2846
  'clientSecret': string;
2724
2847
  /**
2725
- *
2726
- * @type {OAuthProviderPLAYFAB}
2848
+ * The URI to redirect to after completing the auth request. You can use Openfort redirect URL: https://openfort.xyz/auth/v1/google/callback
2849
+ * @type {string}
2727
2850
  * @memberof OAuthConfig
2728
2851
  */
2729
- 'provider': OAuthProviderPLAYFAB;
2852
+ 'redirectUri': string;
2730
2853
  /**
2731
2854
  * Title ID of your Play Fab gaming service environment.
2732
2855
  * @type {string}
2733
2856
  * @memberof OAuthConfig
2734
2857
  */
2735
2858
  'titleId': string;
2859
+ /**
2860
+ * Project ID of your Firebase service environment.
2861
+ * @type {string}
2862
+ * @memberof OAuthConfig
2863
+ */
2864
+ 'projectId': string;
2736
2865
  }
2737
2866
  /**
2738
2867
  * Response for the OAuth config list method.
@@ -2747,32 +2876,6 @@ export interface OAuthConfigListResponse {
2747
2876
  */
2748
2877
  'data': Array<OAuthConfig>;
2749
2878
  }
2750
- /**
2751
- * Request for the configuration endpoints for the OAuth providers
2752
- * @export
2753
- * @interface OAuthConfigRequest
2754
- */
2755
- export interface OAuthConfigRequest {
2756
- /**
2757
- *
2758
- * @type {OAuthConfig}
2759
- * @memberof OAuthConfigRequest
2760
- */
2761
- 'config': OAuthConfig;
2762
- }
2763
- /**
2764
- * OAuth provider specific configuration.
2765
- * @export
2766
- * @interface OAuthConfigResponse
2767
- */
2768
- export interface OAuthConfigResponse {
2769
- /**
2770
- *
2771
- * @type {OAuthConfig}
2772
- * @memberof OAuthConfigResponse
2773
- */
2774
- 'config': OAuthConfig;
2775
- }
2776
2879
  /**
2777
2880
  * Enum of the supporting OAuth providers.
2778
2881
  * @export
@@ -2780,6 +2883,8 @@ export interface OAuthConfigResponse {
2780
2883
  */
2781
2884
  export declare const OAuthProvider: {
2782
2885
  readonly Accelbyte: "accelbyte";
2886
+ readonly Firebase: "firebase";
2887
+ readonly Google: "google";
2783
2888
  readonly Playfab: "playfab";
2784
2889
  };
2785
2890
  export type OAuthProvider = typeof OAuthProvider[keyof typeof OAuthProvider];
@@ -2792,6 +2897,24 @@ export declare const OAuthProviderACCELBYTE: {
2792
2897
  readonly Accelbyte: "accelbyte";
2793
2898
  };
2794
2899
  export type OAuthProviderACCELBYTE = typeof OAuthProviderACCELBYTE[keyof typeof OAuthProviderACCELBYTE];
2900
+ /**
2901
+ *
2902
+ * @export
2903
+ * @enum {string}
2904
+ */
2905
+ export declare const OAuthProviderFIREBASE: {
2906
+ readonly Firebase: "firebase";
2907
+ };
2908
+ export type OAuthProviderFIREBASE = typeof OAuthProviderFIREBASE[keyof typeof OAuthProviderFIREBASE];
2909
+ /**
2910
+ *
2911
+ * @export
2912
+ * @enum {string}
2913
+ */
2914
+ export declare const OAuthProviderGOOGLE: {
2915
+ readonly Google: "google";
2916
+ };
2917
+ export type OAuthProviderGOOGLE = typeof OAuthProviderGOOGLE[keyof typeof OAuthProviderGOOGLE];
2795
2918
  /**
2796
2919
  *
2797
2920
  * @export
@@ -2918,19 +3041,82 @@ export interface PayForUserPolicyStrategy {
2918
3041
  /**
2919
3042
  *
2920
3043
  * @export
2921
- * @interface PaymasterDepositorListResponse
3044
+ * @interface PaymasterDepositorCreateRequest
2922
3045
  */
2923
- export interface PaymasterDepositorListResponse {
3046
+ export interface PaymasterDepositorCreateRequest {
2924
3047
  /**
2925
- *
2926
- * @type {ResponseTypeLIST}
2927
- * @memberof PaymasterDepositorListResponse
3048
+ * Paymaster depositor address.
3049
+ * @type {string}
3050
+ * @memberof PaymasterDepositorCreateRequest
2928
3051
  */
2929
- 'object': ResponseTypeLIST;
3052
+ 'depositorAddress': string;
2930
3053
  /**
2931
- *
3054
+ * Signature to verify the account ownership.
2932
3055
  * @type {string}
2933
- * @memberof PaymasterDepositorListResponse
3056
+ * @memberof PaymasterDepositorCreateRequest
3057
+ */
3058
+ 'signature': string;
3059
+ }
3060
+ /**
3061
+ *
3062
+ * @export
3063
+ * @interface PaymasterDepositorDeleteResponse
3064
+ */
3065
+ export interface PaymasterDepositorDeleteResponse {
3066
+ /**
3067
+ *
3068
+ * @type {string}
3069
+ * @memberof PaymasterDepositorDeleteResponse
3070
+ */
3071
+ 'id': string;
3072
+ /**
3073
+ *
3074
+ * @type {EntityTypePAYMASTERDEPOSITOR}
3075
+ * @memberof PaymasterDepositorDeleteResponse
3076
+ */
3077
+ 'object': EntityTypePAYMASTERDEPOSITOR;
3078
+ /**
3079
+ *
3080
+ * @type {boolean}
3081
+ * @memberof PaymasterDepositorDeleteResponse
3082
+ */
3083
+ 'deleted': boolean;
3084
+ }
3085
+ /**
3086
+ *
3087
+ * @export
3088
+ * @interface PaymasterDepositorGetMessageResponse
3089
+ */
3090
+ export interface PaymasterDepositorGetMessageResponse {
3091
+ /**
3092
+ *
3093
+ * @type {string}
3094
+ * @memberof PaymasterDepositorGetMessageResponse
3095
+ */
3096
+ 'message': string;
3097
+ /**
3098
+ *
3099
+ * @type {string}
3100
+ * @memberof PaymasterDepositorGetMessageResponse
3101
+ */
3102
+ 'depositorAddress': string;
3103
+ }
3104
+ /**
3105
+ *
3106
+ * @export
3107
+ * @interface PaymasterDepositorListResponse
3108
+ */
3109
+ export interface PaymasterDepositorListResponse {
3110
+ /**
3111
+ *
3112
+ * @type {ResponseTypeLIST}
3113
+ * @memberof PaymasterDepositorListResponse
3114
+ */
3115
+ 'object': ResponseTypeLIST;
3116
+ /**
3117
+ *
3118
+ * @type {string}
3119
+ * @memberof PaymasterDepositorListResponse
2934
3120
  */
2935
3121
  'url': string;
2936
3122
  /**
@@ -2977,31 +3163,6 @@ export interface PaymasterDepositorResponse {
2977
3163
  */
2978
3164
  'depositorAddress': string;
2979
3165
  }
2980
- /**
2981
- *
2982
- * @export
2983
- * @interface PaymasterDepositorResponseDeleted
2984
- */
2985
- export interface PaymasterDepositorResponseDeleted {
2986
- /**
2987
- *
2988
- * @type {string}
2989
- * @memberof PaymasterDepositorResponseDeleted
2990
- */
2991
- 'id': string;
2992
- /**
2993
- *
2994
- * @type {string}
2995
- * @memberof PaymasterDepositorResponseDeleted
2996
- */
2997
- 'depositorAddress': string;
2998
- /**
2999
- *
3000
- * @type {boolean}
3001
- * @memberof PaymasterDepositorResponseDeleted
3002
- */
3003
- 'deleted': boolean;
3004
- }
3005
3166
  /**
3006
3167
  * From T, pick a set of properties whose keys are in the union K
3007
3168
  * @export
@@ -3035,17 +3196,23 @@ export interface PickPlayerResponseId {
3035
3196
  */
3036
3197
  export interface PlayFabOAuthConfig {
3037
3198
  /**
3038
- * Title ID of your Play Fab gaming service environment.
3039
- * @type {string}
3199
+ * Enable OAuth provider.
3200
+ * @type {boolean}
3040
3201
  * @memberof PlayFabOAuthConfig
3041
3202
  */
3042
- 'titleId': string;
3203
+ 'enabled': boolean;
3043
3204
  /**
3044
3205
  *
3045
3206
  * @type {OAuthProviderPLAYFAB}
3046
3207
  * @memberof PlayFabOAuthConfig
3047
3208
  */
3048
3209
  'provider': OAuthProviderPLAYFAB;
3210
+ /**
3211
+ * Title ID of your Play Fab gaming service environment.
3212
+ * @type {string}
3213
+ * @memberof PlayFabOAuthConfig
3214
+ */
3215
+ 'titleId': string;
3049
3216
  }
3050
3217
  /**
3051
3218
  *
@@ -3076,19 +3243,21 @@ export interface Player {
3076
3243
  * @type {string}
3077
3244
  * @memberof Player
3078
3245
  */
3079
- 'name': string | null;
3246
+ 'name': string;
3080
3247
  /**
3081
3248
  *
3082
3249
  * @type {string}
3083
3250
  * @memberof Player
3084
3251
  */
3085
- 'description': string | null;
3252
+ 'description'?: string;
3086
3253
  /**
3087
3254
  *
3088
- * @type {string}
3255
+ * @type {{ [key: string]: PlayerMetadataValue; }}
3089
3256
  * @memberof Player
3090
3257
  */
3091
- 'metadata': string;
3258
+ 'metadata'?: {
3259
+ [key: string]: PlayerMetadataValue;
3260
+ };
3092
3261
  /**
3093
3262
  *
3094
3263
  * @type {Array<EntityIdResponse>}
@@ -3121,6 +3290,58 @@ export interface PlayerCancelTransferOwnershipRequest {
3121
3290
  */
3122
3291
  'chainId': number;
3123
3292
  }
3293
+ /**
3294
+ *
3295
+ * @export
3296
+ * @interface PlayerCreateRequest
3297
+ */
3298
+ export interface PlayerCreateRequest {
3299
+ /**
3300
+ * Specifies the player name.
3301
+ * @type {string}
3302
+ * @memberof PlayerCreateRequest
3303
+ */
3304
+ 'name': string;
3305
+ /**
3306
+ * Specifies the player description.
3307
+ * @type {string}
3308
+ * @memberof PlayerCreateRequest
3309
+ */
3310
+ 'description'?: string;
3311
+ /**
3312
+ *
3313
+ * @type {{ [key: string]: PlayerMetadataValue; }}
3314
+ * @memberof PlayerCreateRequest
3315
+ */
3316
+ 'metadata'?: {
3317
+ [key: string]: PlayerMetadataValue;
3318
+ };
3319
+ }
3320
+ /**
3321
+ *
3322
+ * @export
3323
+ * @interface PlayerDeleteResponse
3324
+ */
3325
+ export interface PlayerDeleteResponse {
3326
+ /**
3327
+ *
3328
+ * @type {string}
3329
+ * @memberof PlayerDeleteResponse
3330
+ */
3331
+ 'id': string;
3332
+ /**
3333
+ *
3334
+ * @type {EntityTypePLAYER}
3335
+ * @memberof PlayerDeleteResponse
3336
+ */
3337
+ 'object': EntityTypePLAYER;
3338
+ /**
3339
+ *
3340
+ * @type {boolean}
3341
+ * @memberof PlayerDeleteResponse
3342
+ */
3343
+ 'deleted': boolean;
3344
+ }
3124
3345
  /**
3125
3346
  *
3126
3347
  * @export
@@ -3254,21 +3475,9 @@ export interface PlayerListResponse {
3254
3475
  /**
3255
3476
  *
3256
3477
  * @export
3257
- * @interface PlayerRequest
3478
+ * @interface PlayerMetadataValue
3258
3479
  */
3259
- export interface PlayerRequest {
3260
- /**
3261
- * Specifies the player name.
3262
- * @type {string}
3263
- * @memberof PlayerRequest
3264
- */
3265
- 'name'?: string;
3266
- /**
3267
- * Specifies the player description.
3268
- * @type {string}
3269
- * @memberof PlayerRequest
3270
- */
3271
- 'description'?: string;
3480
+ export interface PlayerMetadataValue {
3272
3481
  }
3273
3482
  /**
3274
3483
  *
@@ -3299,19 +3508,21 @@ export interface PlayerResponse {
3299
3508
  * @type {string}
3300
3509
  * @memberof PlayerResponse
3301
3510
  */
3302
- 'name': string | null;
3511
+ 'name': string;
3303
3512
  /**
3304
3513
  *
3305
3514
  * @type {string}
3306
3515
  * @memberof PlayerResponse
3307
3516
  */
3308
- 'description': string | null;
3517
+ 'description'?: string;
3309
3518
  /**
3310
3519
  *
3311
- * @type {string}
3520
+ * @type {{ [key: string]: PlayerMetadataValue; }}
3312
3521
  * @memberof PlayerResponse
3313
3522
  */
3314
- 'metadata': string;
3523
+ 'metadata'?: {
3524
+ [key: string]: PlayerMetadataValue;
3525
+ };
3315
3526
  /**
3316
3527
  *
3317
3528
  * @type {Array<PlayerResponseTransactionIntentsInner>}
@@ -3524,6 +3735,33 @@ export interface PlayerTransferOwnershipRequest {
3524
3735
  */
3525
3736
  'player'?: string;
3526
3737
  }
3738
+ /**
3739
+ *
3740
+ * @export
3741
+ * @interface PlayerUpdateRequest
3742
+ */
3743
+ export interface PlayerUpdateRequest {
3744
+ /**
3745
+ * Specifies the player name.
3746
+ * @type {string}
3747
+ * @memberof PlayerUpdateRequest
3748
+ */
3749
+ 'name'?: string;
3750
+ /**
3751
+ * Specifies the player description.
3752
+ * @type {string}
3753
+ * @memberof PlayerUpdateRequest
3754
+ */
3755
+ 'description'?: string;
3756
+ /**
3757
+ *
3758
+ * @type {{ [key: string]: PlayerMetadataValue; }}
3759
+ * @memberof PlayerUpdateRequest
3760
+ */
3761
+ 'metadata'?: {
3762
+ [key: string]: PlayerMetadataValue;
3763
+ };
3764
+ }
3527
3765
  /**
3528
3766
  *
3529
3767
  * @export
@@ -4319,16 +4557,10 @@ export interface ProjectResponse {
4319
4557
  'apikeys'?: Array<ApiKeyResponse>;
4320
4558
  /**
4321
4559
  *
4322
- * @type {Array<ProviderResponse>}
4323
- * @memberof ProjectResponse
4324
- */
4325
- 'providers'?: Array<ProviderResponse>;
4326
- /**
4327
- *
4328
- * @type {Array<ProviderResponse>}
4560
+ * @type {Array<WebhookResponse>}
4329
4561
  * @memberof ProjectResponse
4330
4562
  */
4331
- 'webhook'?: Array<ProviderResponse>;
4563
+ 'webhook'?: Array<WebhookResponse>;
4332
4564
  }
4333
4565
  /**
4334
4566
  *
@@ -4349,62 +4581,6 @@ export interface ProjectWebhookRequest {
4349
4581
  */
4350
4582
  'apiKey'?: string;
4351
4583
  }
4352
- /**
4353
- *
4354
- * @export
4355
- * @interface ProviderRequest
4356
- */
4357
- export interface ProviderRequest {
4358
- /**
4359
- * The Google client ID.
4360
- * @type {string}
4361
- * @memberof ProviderRequest
4362
- */
4363
- 'googleClientId': string;
4364
- /**
4365
- * Specifies whether Google Auth is enabled.
4366
- * @type {boolean}
4367
- * @memberof ProviderRequest
4368
- */
4369
- 'googleEnabled': boolean;
4370
- /**
4371
- * The Google client secret.
4372
- * @type {string}
4373
- * @memberof ProviderRequest
4374
- */
4375
- 'googleClientSecret': string;
4376
- }
4377
- /**
4378
- *
4379
- * @export
4380
- * @interface ProviderResponse
4381
- */
4382
- export interface ProviderResponse {
4383
- /**
4384
- *
4385
- * @type {boolean}
4386
- * @memberof ProviderResponse
4387
- */
4388
- 'EXTERNAL_GOOGLE_ENABLED'?: boolean;
4389
- /**
4390
- *
4391
- * @type {string}
4392
- * @memberof ProviderResponse
4393
- */
4394
- 'EXTERNAL_GOOGLE_CLIENT_ID'?: string;
4395
- /**
4396
- *
4397
- * @type {string}
4398
- * @memberof ProviderResponse
4399
- */
4400
- 'EXTERNAL_GOOGLE_SECRET'?: string;
4401
- /**
4402
- *
4403
- * @type {boolean}
4404
- * @memberof ProviderResponse
4405
- */
4406
- 'livemode': boolean;
4407
- }
4408
4584
  /**
4409
4585
  *
4410
4586
  * @export
@@ -4718,6 +4894,19 @@ export declare const SessionResponseExpandable: {
4718
4894
  readonly TransactionIntents: "transactionIntents";
4719
4895
  };
4720
4896
  export type SessionResponseExpandable = typeof SessionResponseExpandable[keyof typeof SessionResponseExpandable];
4897
+ /**
4898
+ *
4899
+ * @export
4900
+ * @interface SettingsWebhookUpdateRequest
4901
+ */
4902
+ export interface SettingsWebhookUpdateRequest {
4903
+ /**
4904
+ * The webhook url.
4905
+ * @type {string}
4906
+ * @memberof SettingsWebhookUpdateRequest
4907
+ */
4908
+ 'url': string;
4909
+ }
4721
4910
  /**
4722
4911
  *
4723
4912
  * @export
@@ -4913,6 +5102,25 @@ export interface StartRecoveryRequest {
4913
5102
  */
4914
5103
  'policy': string;
4915
5104
  }
5105
+ /**
5106
+ *
5107
+ * @export
5108
+ * @interface SubmitWeb3ActionRequest
5109
+ */
5110
+ export interface SubmitWeb3ActionRequest {
5111
+ /**
5112
+ * True to approve the action, false to reject it.
5113
+ * @type {boolean}
5114
+ * @memberof SubmitWeb3ActionRequest
5115
+ */
5116
+ 'approve': boolean;
5117
+ /**
5118
+ * The policy ID (starts with pol_)
5119
+ * @type {string}
5120
+ * @memberof SubmitWeb3ActionRequest
5121
+ */
5122
+ 'policy'?: string;
5123
+ }
4916
5124
  /**
4917
5125
  *
4918
5126
  * @export
@@ -5308,19 +5516,21 @@ export interface TransactionIntentResponsePlayer {
5308
5516
  * @type {string}
5309
5517
  * @memberof TransactionIntentResponsePlayer
5310
5518
  */
5311
- 'name': string | null;
5519
+ 'name': string;
5312
5520
  /**
5313
5521
  *
5314
5522
  * @type {string}
5315
5523
  * @memberof TransactionIntentResponsePlayer
5316
5524
  */
5317
- 'description': string | null;
5525
+ 'description'?: string;
5318
5526
  /**
5319
5527
  *
5320
- * @type {string}
5528
+ * @type {{ [key: string]: PlayerMetadataValue; }}
5321
5529
  * @memberof TransactionIntentResponsePlayer
5322
5530
  */
5323
- 'metadata': string;
5531
+ 'metadata'?: {
5532
+ [key: string]: PlayerMetadataValue;
5533
+ };
5324
5534
  /**
5325
5535
  *
5326
5536
  * @type {Array<EntityIdResponse>}
@@ -5597,98 +5807,153 @@ export interface UpdateProjectRequest {
5597
5807
  /**
5598
5808
  *
5599
5809
  * @export
5600
- * @interface UpdateUserProjectRequest
5810
+ * @interface UserProjectCreateRequest
5601
5811
  */
5602
- export interface UpdateUserProjectRequest {
5812
+ export interface UserProjectCreateRequest {
5603
5813
  /**
5604
5814
  *
5605
- * @type {string}
5606
- * @memberof UpdateUserProjectRequest
5815
+ * @type {UserProjectCreateRequestRole}
5816
+ * @memberof UserProjectCreateRequest
5607
5817
  */
5608
- 'userId': string;
5818
+ 'role'?: UserProjectCreateRequestRole;
5609
5819
  /**
5610
5820
  *
5611
- * @type {UpdateUserProjectRequestRole}
5612
- * @memberof UpdateUserProjectRequest
5821
+ * @type {string}
5822
+ * @memberof UserProjectCreateRequest
5613
5823
  */
5614
- 'role': UpdateUserProjectRequestRole;
5824
+ 'email': string;
5825
+ }
5826
+ /**
5827
+ *
5828
+ * @export
5829
+ * @interface UserProjectCreateRequestRole
5830
+ */
5831
+ export interface UserProjectCreateRequestRole {
5615
5832
  }
5616
5833
  /**
5617
5834
  *
5618
5835
  * @export
5619
- * @interface UpdateUserProjectRequestRole
5836
+ * @interface UserProjectDeleteResponse
5620
5837
  */
5621
- export interface UpdateUserProjectRequestRole {
5838
+ export interface UserProjectDeleteResponse {
5839
+ /**
5840
+ *
5841
+ * @type {string}
5842
+ * @memberof UserProjectDeleteResponse
5843
+ */
5844
+ 'id': string;
5845
+ /**
5846
+ *
5847
+ * @type {EntityTypeUSER}
5848
+ * @memberof UserProjectDeleteResponse
5849
+ */
5850
+ 'object': EntityTypeUSER;
5851
+ /**
5852
+ *
5853
+ * @type {boolean}
5854
+ * @memberof UserProjectDeleteResponse
5855
+ */
5856
+ 'deleted': boolean;
5622
5857
  }
5623
5858
  /**
5624
5859
  *
5625
5860
  * @export
5626
- * @interface UserListResponse
5861
+ * @interface UserProjectListResponse
5627
5862
  */
5628
- export interface UserListResponse {
5863
+ export interface UserProjectListResponse {
5629
5864
  /**
5630
5865
  *
5631
5866
  * @type {ResponseTypeLIST}
5632
- * @memberof UserListResponse
5867
+ * @memberof UserProjectListResponse
5633
5868
  */
5634
5869
  'object': ResponseTypeLIST;
5635
5870
  /**
5636
5871
  *
5637
5872
  * @type {string}
5638
- * @memberof UserListResponse
5873
+ * @memberof UserProjectListResponse
5639
5874
  */
5640
5875
  'url': string;
5641
5876
  /**
5642
5877
  *
5643
- * @type {Array<UserResponse>}
5644
- * @memberof UserListResponse
5878
+ * @type {Array<UserProjectResponse>}
5879
+ * @memberof UserProjectListResponse
5645
5880
  */
5646
- 'data': Array<UserResponse>;
5881
+ 'data': Array<UserProjectResponse>;
5647
5882
  /**
5648
5883
  *
5649
5884
  * @type {number}
5650
- * @memberof UserListResponse
5885
+ * @memberof UserProjectListResponse
5651
5886
  */
5652
5887
  'start': number;
5653
5888
  /**
5654
5889
  *
5655
5890
  * @type {number}
5656
- * @memberof UserListResponse
5891
+ * @memberof UserProjectListResponse
5657
5892
  */
5658
5893
  'end': number;
5659
5894
  /**
5660
5895
  *
5661
5896
  * @type {number}
5662
- * @memberof UserListResponse
5897
+ * @memberof UserProjectListResponse
5663
5898
  */
5664
5899
  'total': number;
5665
5900
  }
5666
5901
  /**
5667
5902
  *
5668
5903
  * @export
5669
- * @interface UserProjectRemoveResponse
5904
+ * @interface UserProjectResponse
5670
5905
  */
5671
- export interface UserProjectRemoveResponse {
5906
+ export interface UserProjectResponse {
5672
5907
  /**
5673
5908
  *
5674
5909
  * @type {string}
5675
- * @memberof UserProjectRemoveResponse
5910
+ * @memberof UserProjectResponse
5676
5911
  */
5677
5912
  'id': string;
5678
5913
  /**
5679
5914
  *
5680
5915
  * @type {EntityTypeUSER}
5681
- * @memberof UserProjectRemoveResponse
5916
+ * @memberof UserProjectResponse
5682
5917
  */
5683
5918
  'object': EntityTypeUSER;
5684
5919
  /**
5685
5920
  *
5686
- * @type {boolean}
5687
- * @memberof UserProjectRemoveResponse
5921
+ * @type {number}
5922
+ * @memberof UserProjectResponse
5688
5923
  */
5689
- 'deleted': boolean;
5690
- }
5691
- /**
5924
+ 'createdAt': number;
5925
+ /**
5926
+ *
5927
+ * @type {number}
5928
+ * @memberof UserProjectResponse
5929
+ */
5930
+ 'updatedAt': number;
5931
+ /**
5932
+ *
5933
+ * @type {string}
5934
+ * @memberof UserProjectResponse
5935
+ */
5936
+ 'firstName': string;
5937
+ /**
5938
+ *
5939
+ * @type {string}
5940
+ * @memberof UserProjectResponse
5941
+ */
5942
+ 'lastName': string;
5943
+ /**
5944
+ *
5945
+ * @type {UserProjectRole}
5946
+ * @memberof UserProjectResponse
5947
+ */
5948
+ 'role': UserProjectRole;
5949
+ /**
5950
+ *
5951
+ * @type {string}
5952
+ * @memberof UserProjectResponse
5953
+ */
5954
+ 'email': string;
5955
+ }
5956
+ /**
5692
5957
  *
5693
5958
  * @export
5694
5959
  * @enum {string}
@@ -5720,71 +5985,310 @@ export type UserProjectRoleMEMBER = typeof UserProjectRoleMEMBER[keyof typeof Us
5720
5985
  /**
5721
5986
  *
5722
5987
  * @export
5723
- * @interface UserResponse
5988
+ * @interface UserProjectUpdateRequest
5724
5989
  */
5725
- export interface UserResponse {
5990
+ export interface UserProjectUpdateRequest {
5991
+ /**
5992
+ *
5993
+ * @type {UserProjectCreateRequestRole}
5994
+ * @memberof UserProjectUpdateRequest
5995
+ */
5996
+ 'role': UserProjectCreateRequestRole;
5997
+ }
5998
+ /**
5999
+ *
6000
+ * @export
6001
+ * @interface Web3ActionListResponse
6002
+ */
6003
+ export interface Web3ActionListResponse {
6004
+ /**
6005
+ *
6006
+ * @type {ResponseTypeLIST}
6007
+ * @memberof Web3ActionListResponse
6008
+ */
6009
+ 'object': ResponseTypeLIST;
6010
+ /**
6011
+ *
6012
+ * @type {string}
6013
+ * @memberof Web3ActionListResponse
6014
+ */
6015
+ 'url': string;
6016
+ /**
6017
+ *
6018
+ * @type {Array<Web3ActionResponse>}
6019
+ * @memberof Web3ActionListResponse
6020
+ */
6021
+ 'data': Array<Web3ActionResponse>;
6022
+ /**
6023
+ *
6024
+ * @type {number}
6025
+ * @memberof Web3ActionListResponse
6026
+ */
6027
+ 'start': number;
6028
+ /**
6029
+ *
6030
+ * @type {number}
6031
+ * @memberof Web3ActionListResponse
6032
+ */
6033
+ 'end': number;
6034
+ /**
6035
+ *
6036
+ * @type {number}
6037
+ * @memberof Web3ActionListResponse
6038
+ */
6039
+ 'total': number;
6040
+ }
6041
+ /**
6042
+ *
6043
+ * @export
6044
+ * @interface Web3ActionResponse
6045
+ */
6046
+ export interface Web3ActionResponse {
5726
6047
  /**
5727
6048
  *
5728
6049
  * @type {string}
5729
- * @memberof UserResponse
6050
+ * @memberof Web3ActionResponse
5730
6051
  */
5731
6052
  'id': string;
5732
6053
  /**
5733
6054
  *
5734
- * @type {EntityTypeUSER}
5735
- * @memberof UserResponse
6055
+ * @type {EntityTypeWEB3ACTION}
6056
+ * @memberof Web3ActionResponse
5736
6057
  */
5737
- 'object': EntityTypeUSER;
6058
+ 'object': EntityTypeWEB3ACTION;
5738
6059
  /**
5739
6060
  *
5740
6061
  * @type {number}
5741
- * @memberof UserResponse
6062
+ * @memberof Web3ActionResponse
5742
6063
  */
5743
6064
  'createdAt': number;
6065
+ /**
6066
+ * The web3_connection ID (starts with web3_).
6067
+ * @type {string}
6068
+ * @memberof Web3ActionResponse
6069
+ */
6070
+ 'web3_connection': string;
5744
6071
  /**
5745
6072
  *
6073
+ * @type {Web3ActionStatusEnum}
6074
+ * @memberof Web3ActionResponse
6075
+ */
6076
+ 'status': Web3ActionStatusEnum;
6077
+ }
6078
+ /**
6079
+ *
6080
+ * @export
6081
+ * @enum {string}
6082
+ */
6083
+ export declare const Web3ActionStatusEnum: {
6084
+ readonly Pending: "Pending";
6085
+ readonly Approved: "Approved";
6086
+ readonly Rejected: "Rejected";
6087
+ readonly Expired: "Expired";
6088
+ readonly Failed: "Failed";
6089
+ };
6090
+ export type Web3ActionStatusEnum = typeof Web3ActionStatusEnum[keyof typeof Web3ActionStatusEnum];
6091
+ /**
6092
+ *
6093
+ * @export
6094
+ * @interface Web3ConnectionListQueries
6095
+ */
6096
+ export interface Web3ConnectionListQueries {
6097
+ /**
6098
+ * Specifies the maximum number of records to return.
5746
6099
  * @type {number}
5747
- * @memberof UserResponse
6100
+ * @memberof Web3ConnectionListQueries
5748
6101
  */
5749
- 'updatedAt': number;
6102
+ 'limit'?: number;
6103
+ /**
6104
+ * Specifies the offset for the first records to return.
6105
+ * @type {number}
6106
+ * @memberof Web3ConnectionListQueries
6107
+ */
6108
+ 'skip'?: number;
5750
6109
  /**
5751
6110
  *
6111
+ * @type {SortOrder}
6112
+ * @memberof Web3ConnectionListQueries
6113
+ */
6114
+ 'order'?: SortOrder;
6115
+ /**
6116
+ * Specifies the unique player ID (starts with pla_)
5752
6117
  * @type {string}
5753
- * @memberof UserResponse
5754
- * @deprecated
6118
+ * @memberof Web3ConnectionListQueries
5755
6119
  */
5756
- 'first_name': string;
6120
+ 'player': string;
6121
+ /**
6122
+ * Specifies connection status
6123
+ * @type {boolean}
6124
+ * @memberof Web3ConnectionListQueries
6125
+ */
6126
+ 'disconnected'?: boolean;
6127
+ }
6128
+ /**
6129
+ *
6130
+ * @export
6131
+ * @interface Web3ConnectionListResponse
6132
+ */
6133
+ export interface Web3ConnectionListResponse {
6134
+ /**
6135
+ *
6136
+ * @type {ResponseTypeLIST}
6137
+ * @memberof Web3ConnectionListResponse
6138
+ */
6139
+ 'object': ResponseTypeLIST;
5757
6140
  /**
5758
6141
  *
5759
6142
  * @type {string}
5760
- * @memberof UserResponse
5761
- * @deprecated
6143
+ * @memberof Web3ConnectionListResponse
5762
6144
  */
5763
- 'last_name': string;
6145
+ 'url': string;
6146
+ /**
6147
+ *
6148
+ * @type {Array<Web3ConnectionResponse>}
6149
+ * @memberof Web3ConnectionListResponse
6150
+ */
6151
+ 'data': Array<Web3ConnectionResponse>;
6152
+ /**
6153
+ *
6154
+ * @type {number}
6155
+ * @memberof Web3ConnectionListResponse
6156
+ */
6157
+ 'start': number;
6158
+ /**
6159
+ *
6160
+ * @type {number}
6161
+ * @memberof Web3ConnectionListResponse
6162
+ */
6163
+ 'end': number;
6164
+ /**
6165
+ *
6166
+ * @type {number}
6167
+ * @memberof Web3ConnectionListResponse
6168
+ */
6169
+ 'total': number;
6170
+ }
6171
+ /**
6172
+ *
6173
+ * @export
6174
+ * @interface Web3ConnectionResponse
6175
+ */
6176
+ export interface Web3ConnectionResponse {
5764
6177
  /**
5765
6178
  *
5766
6179
  * @type {string}
5767
- * @memberof UserResponse
6180
+ * @memberof Web3ConnectionResponse
5768
6181
  */
5769
- 'firstName': string;
6182
+ 'id': string;
6183
+ /**
6184
+ *
6185
+ * @type {EntityTypeWEB3CONNECTION}
6186
+ * @memberof Web3ConnectionResponse
6187
+ */
6188
+ 'object': EntityTypeWEB3CONNECTION;
6189
+ /**
6190
+ *
6191
+ * @type {number}
6192
+ * @memberof Web3ConnectionResponse
6193
+ */
6194
+ 'createdAt': number;
6195
+ /**
6196
+ *
6197
+ * @type {boolean}
6198
+ * @memberof Web3ConnectionResponse
6199
+ */
6200
+ 'disconnected': boolean;
6201
+ /**
6202
+ *
6203
+ * @type {Web3ConnectionResponsePlayer}
6204
+ * @memberof Web3ConnectionResponse
6205
+ */
6206
+ 'player': Web3ConnectionResponsePlayer;
6207
+ }
6208
+ /**
6209
+ *
6210
+ * @export
6211
+ * @enum {string}
6212
+ */
6213
+ export declare const Web3ConnectionResponseExpandable: {
6214
+ readonly Player: "player";
6215
+ };
6216
+ export type Web3ConnectionResponseExpandable = typeof Web3ConnectionResponseExpandable[keyof typeof Web3ConnectionResponseExpandable];
6217
+ /**
6218
+ * The player ID (starts with pla_).
6219
+ * @export
6220
+ * @interface Web3ConnectionResponsePlayer
6221
+ */
6222
+ export interface Web3ConnectionResponsePlayer {
5770
6223
  /**
5771
6224
  *
5772
6225
  * @type {string}
5773
- * @memberof UserResponse
6226
+ * @memberof Web3ConnectionResponsePlayer
5774
6227
  */
5775
- 'lastName': string;
6228
+ 'id': string;
5776
6229
  /**
5777
6230
  *
5778
- * @type {UserProjectRole}
5779
- * @memberof UserResponse
6231
+ * @type {EntityTypePLAYER}
6232
+ * @memberof Web3ConnectionResponsePlayer
5780
6233
  */
5781
- 'role': UserProjectRole;
6234
+ 'object': EntityTypePLAYER;
6235
+ /**
6236
+ *
6237
+ * @type {number}
6238
+ * @memberof Web3ConnectionResponsePlayer
6239
+ */
6240
+ 'createdAt': number;
5782
6241
  /**
5783
6242
  *
5784
6243
  * @type {string}
5785
- * @memberof UserResponse
6244
+ * @memberof Web3ConnectionResponsePlayer
5786
6245
  */
5787
- 'email': string;
6246
+ 'name': string;
6247
+ /**
6248
+ *
6249
+ * @type {string}
6250
+ * @memberof Web3ConnectionResponsePlayer
6251
+ */
6252
+ 'description'?: string;
6253
+ /**
6254
+ *
6255
+ * @type {{ [key: string]: PlayerMetadataValue; }}
6256
+ * @memberof Web3ConnectionResponsePlayer
6257
+ */
6258
+ 'metadata'?: {
6259
+ [key: string]: PlayerMetadataValue;
6260
+ };
6261
+ /**
6262
+ *
6263
+ * @type {Array<EntityIdResponse>}
6264
+ * @memberof Web3ConnectionResponsePlayer
6265
+ */
6266
+ 'transactionIntents'?: Array<EntityIdResponse>;
6267
+ /**
6268
+ *
6269
+ * @type {Array<EntityIdResponse>}
6270
+ * @memberof Web3ConnectionResponsePlayer
6271
+ */
6272
+ 'accounts'?: Array<EntityIdResponse>;
6273
+ }
6274
+ /**
6275
+ *
6276
+ * @export
6277
+ * @interface WebhookResponse
6278
+ */
6279
+ export interface WebhookResponse {
6280
+ /**
6281
+ *
6282
+ * @type {string}
6283
+ * @memberof WebhookResponse
6284
+ */
6285
+ 'webhook': string | null;
6286
+ /**
6287
+ *
6288
+ * @type {boolean}
6289
+ * @memberof WebhookResponse
6290
+ */
6291
+ 'livemode': boolean;
5788
6292
  }
5789
6293
  /**
5790
6294
  * AccountsApi - axios parameter creator
@@ -6274,65 +6778,6 @@ export declare class AuthenticationApi extends BaseAPI {
6274
6778
  */
6275
6779
  verifyAuthToken(token: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PlayerResponse, any>>;
6276
6780
  }
6277
- /**
6278
- * ConfigAuthenticationApi - axios parameter creator
6279
- * @export
6280
- */
6281
- export declare const ConfigAuthenticationApiAxiosParamCreator: (configuration?: Configuration) => {
6282
- /**
6283
- *
6284
- * @summary Configure Google OAuth2.
6285
- * @param {ProviderRequest} providerRequest
6286
- * @param {*} [options] Override http request option.
6287
- * @throws {RequiredError}
6288
- */
6289
- editProvider: (providerRequest: ProviderRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
6290
- };
6291
- /**
6292
- * ConfigAuthenticationApi - functional programming interface
6293
- * @export
6294
- */
6295
- export declare const ConfigAuthenticationApiFp: (configuration?: Configuration) => {
6296
- /**
6297
- *
6298
- * @summary Configure Google OAuth2.
6299
- * @param {ProviderRequest} providerRequest
6300
- * @param {*} [options] Override http request option.
6301
- * @throws {RequiredError}
6302
- */
6303
- editProvider(providerRequest: ProviderRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectResponse>>;
6304
- };
6305
- /**
6306
- * ConfigAuthenticationApi - factory interface
6307
- * @export
6308
- */
6309
- export declare const ConfigAuthenticationApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
6310
- /**
6311
- *
6312
- * @summary Configure Google OAuth2.
6313
- * @param {ProviderRequest} providerRequest
6314
- * @param {*} [options] Override http request option.
6315
- * @throws {RequiredError}
6316
- */
6317
- editProvider(providerRequest: ProviderRequest, options?: any): AxiosPromise<ProjectResponse>;
6318
- };
6319
- /**
6320
- * ConfigAuthenticationApi - object-oriented interface
6321
- * @export
6322
- * @class ConfigAuthenticationApi
6323
- * @extends {BaseAPI}
6324
- */
6325
- export declare class ConfigAuthenticationApi extends BaseAPI {
6326
- /**
6327
- *
6328
- * @summary Configure Google OAuth2.
6329
- * @param {ProviderRequest} providerRequest
6330
- * @param {*} [options] Override http request option.
6331
- * @throws {RequiredError}
6332
- * @memberof ConfigAuthenticationApi
6333
- */
6334
- editProvider(providerRequest: ProviderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProjectResponse, any>>;
6335
- }
6336
6781
  /**
6337
6782
  * ContractsApi - axios parameter creator
6338
6783
  * @export
@@ -6376,6 +6821,16 @@ export declare const ContractsApiAxiosParamCreator: (configuration?: Configurati
6376
6821
  * @throws {RequiredError}
6377
6822
  */
6378
6823
  getContracts: (limit?: number, skip?: number, order?: SortOrder, name?: string, deleted?: boolean, chainId?: number, address?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
6824
+ /**
6825
+ * Using this endpoint, you can get the data returned by any readable function listed in a contracts ABI. This could be things like querying the totalSupply of a currency contract, the number of owners of an items contract, and more.
6826
+ * @summary Read on chain contract data.
6827
+ * @param {string} id Specifies the unique contract ID (starts with con_).
6828
+ * @param {string} functionName The function name of the contract.
6829
+ * @param {Array<any>} [functionArgs] The function arguments of the contract.
6830
+ * @param {*} [options] Override http request option.
6831
+ * @throws {RequiredError}
6832
+ */
6833
+ readContract: (id: string, functionName: string, functionArgs?: Array<any>, options?: AxiosRequestConfig) => Promise<RequestArgs>;
6379
6834
  /**
6380
6835
  *
6381
6836
  * @summary Updates a contract object.
@@ -6429,6 +6884,16 @@ export declare const ContractsApiFp: (configuration?: Configuration) => {
6429
6884
  * @throws {RequiredError}
6430
6885
  */
6431
6886
  getContracts(limit?: number, skip?: number, order?: SortOrder, name?: string, deleted?: boolean, chainId?: number, address?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContractListResponse>>;
6887
+ /**
6888
+ * Using this endpoint, you can get the data returned by any readable function listed in a contracts ABI. This could be things like querying the totalSupply of a currency contract, the number of owners of an items contract, and more.
6889
+ * @summary Read on chain contract data.
6890
+ * @param {string} id Specifies the unique contract ID (starts with con_).
6891
+ * @param {string} functionName The function name of the contract.
6892
+ * @param {Array<any>} [functionArgs] The function arguments of the contract.
6893
+ * @param {*} [options] Override http request option.
6894
+ * @throws {RequiredError}
6895
+ */
6896
+ readContract(id: string, functionName: string, functionArgs?: Array<any>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContractReadResponse>>;
6432
6897
  /**
6433
6898
  *
6434
6899
  * @summary Updates a contract object.
@@ -6482,6 +6947,16 @@ export declare const ContractsApiFactory: (configuration?: Configuration, basePa
6482
6947
  * @throws {RequiredError}
6483
6948
  */
6484
6949
  getContracts(limit?: number, skip?: number, order?: SortOrder, name?: string, deleted?: boolean, chainId?: number, address?: string, options?: any): AxiosPromise<ContractListResponse>;
6950
+ /**
6951
+ * Using this endpoint, you can get the data returned by any readable function listed in a contracts ABI. This could be things like querying the totalSupply of a currency contract, the number of owners of an items contract, and more.
6952
+ * @summary Read on chain contract data.
6953
+ * @param {string} id Specifies the unique contract ID (starts with con_).
6954
+ * @param {string} functionName The function name of the contract.
6955
+ * @param {Array<any>} [functionArgs] The function arguments of the contract.
6956
+ * @param {*} [options] Override http request option.
6957
+ * @throws {RequiredError}
6958
+ */
6959
+ readContract(id: string, functionName: string, functionArgs?: Array<any>, options?: any): AxiosPromise<ContractReadResponse>;
6485
6960
  /**
6486
6961
  *
6487
6962
  * @summary Updates a contract object.
@@ -6541,6 +7016,17 @@ export declare class ContractsApi extends BaseAPI {
6541
7016
  * @memberof ContractsApi
6542
7017
  */
6543
7018
  getContracts(limit?: number, skip?: number, order?: SortOrder, name?: string, deleted?: boolean, chainId?: number, address?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ContractListResponse, any>>;
7019
+ /**
7020
+ * Using this endpoint, you can get the data returned by any readable function listed in a contracts ABI. This could be things like querying the totalSupply of a currency contract, the number of owners of an items contract, and more.
7021
+ * @summary Read on chain contract data.
7022
+ * @param {string} id Specifies the unique contract ID (starts with con_).
7023
+ * @param {string} functionName The function name of the contract.
7024
+ * @param {Array<any>} [functionArgs] The function arguments of the contract.
7025
+ * @param {*} [options] Override http request option.
7026
+ * @throws {RequiredError}
7027
+ * @memberof ContractsApi
7028
+ */
7029
+ readContract(id: string, functionName: string, functionArgs?: Array<any>, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ContractReadResponse, any>>;
6544
7030
  /**
6545
7031
  *
6546
7032
  * @summary Updates a contract object.
@@ -7035,12 +7521,11 @@ export declare const OAuthApiAxiosParamCreator: (configuration?: Configuration)
7035
7521
  /**
7036
7522
  * The endpoint creates oauth configuration for the current project environment.
7037
7523
  * @summary Create oauth configuration.
7038
- * @param {OAuthProvider} provider Specifies the oauth provider type.
7039
- * @param {OAuthConfigRequest} oAuthConfigRequest Specifies the oauth provider specific configuration.
7524
+ * @param {OAuthConfig} body Specifies the oauth provider specific configuration.
7040
7525
  * @param {*} [options] Override http request option.
7041
7526
  * @throws {RequiredError}
7042
7527
  */
7043
- createOAuthConfig: (provider: OAuthProvider, oAuthConfigRequest: OAuthConfigRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
7528
+ createOAuthConfig: (body: OAuthConfig, options?: AxiosRequestConfig) => Promise<RequestArgs>;
7044
7529
  /**
7045
7530
  * The endpoint deletes oauth configuration for specified provider for the current project environment.
7046
7531
  * @summary Delete oauth configuration.
@@ -7073,15 +7558,6 @@ export declare const OAuthApiAxiosParamCreator: (configuration?: Configuration)
7073
7558
  * @throws {RequiredError}
7074
7559
  */
7075
7560
  listOAuthConfig: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
7076
- /**
7077
- * The endpoint updates oauth configuration for specified provider for the current project environment.
7078
- * @summary Update oauth configuration.
7079
- * @param {OAuthProvider} provider Specifies the oauth provider type.
7080
- * @param {OAuthConfigRequest} oAuthConfigRequest Specifies the oauth provider specific configuration.
7081
- * @param {*} [options] Override http request option.
7082
- * @throws {RequiredError}
7083
- */
7084
- updateOAuthConfig: (provider: OAuthProvider, oAuthConfigRequest: OAuthConfigRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
7085
7561
  /**
7086
7562
  * The endpoint verifies the token generated by OAuth provider and retrieves a corresponding player.
7087
7563
  * @summary Retrieve player by token.
@@ -7109,12 +7585,11 @@ export declare const OAuthApiFp: (configuration?: Configuration) => {
7109
7585
  /**
7110
7586
  * The endpoint creates oauth configuration for the current project environment.
7111
7587
  * @summary Create oauth configuration.
7112
- * @param {OAuthProvider} provider Specifies the oauth provider type.
7113
- * @param {OAuthConfigRequest} oAuthConfigRequest Specifies the oauth provider specific configuration.
7588
+ * @param {OAuthConfig} body Specifies the oauth provider specific configuration.
7114
7589
  * @param {*} [options] Override http request option.
7115
7590
  * @throws {RequiredError}
7116
7591
  */
7117
- createOAuthConfig(provider: OAuthProvider, oAuthConfigRequest: OAuthConfigRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
7592
+ createOAuthConfig(body: OAuthConfig, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OAuthConfig>>;
7118
7593
  /**
7119
7594
  * The endpoint deletes oauth configuration for specified provider for the current project environment.
7120
7595
  * @summary Delete oauth configuration.
@@ -7130,7 +7605,7 @@ export declare const OAuthApiFp: (configuration?: Configuration) => {
7130
7605
  * @param {*} [options] Override http request option.
7131
7606
  * @throws {RequiredError}
7132
7607
  */
7133
- getOAuthConfig(provider: OAuthProvider, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OAuthConfigResponse>>;
7608
+ getOAuthConfig(provider: OAuthProvider, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OAuthConfig>>;
7134
7609
  /**
7135
7610
  * Retrieves the player based on his id in the external provider system.
7136
7611
  * @summary Retrieve player by external id.
@@ -7147,15 +7622,6 @@ export declare const OAuthApiFp: (configuration?: Configuration) => {
7147
7622
  * @throws {RequiredError}
7148
7623
  */
7149
7624
  listOAuthConfig(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OAuthConfigListResponse>>;
7150
- /**
7151
- * The endpoint updates oauth configuration for specified provider for the current project environment.
7152
- * @summary Update oauth configuration.
7153
- * @param {OAuthProvider} provider Specifies the oauth provider type.
7154
- * @param {OAuthConfigRequest} oAuthConfigRequest Specifies the oauth provider specific configuration.
7155
- * @param {*} [options] Override http request option.
7156
- * @throws {RequiredError}
7157
- */
7158
- updateOAuthConfig(provider: OAuthProvider, oAuthConfigRequest: OAuthConfigRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
7159
7625
  /**
7160
7626
  * The endpoint verifies the token generated by OAuth provider and retrieves a corresponding player.
7161
7627
  * @summary Retrieve player by token.
@@ -7183,12 +7649,11 @@ export declare const OAuthApiFactory: (configuration?: Configuration, basePath?:
7183
7649
  /**
7184
7650
  * The endpoint creates oauth configuration for the current project environment.
7185
7651
  * @summary Create oauth configuration.
7186
- * @param {OAuthProvider} provider Specifies the oauth provider type.
7187
- * @param {OAuthConfigRequest} oAuthConfigRequest Specifies the oauth provider specific configuration.
7652
+ * @param {OAuthConfig} body Specifies the oauth provider specific configuration.
7188
7653
  * @param {*} [options] Override http request option.
7189
7654
  * @throws {RequiredError}
7190
7655
  */
7191
- createOAuthConfig(provider: OAuthProvider, oAuthConfigRequest: OAuthConfigRequest, options?: any): AxiosPromise<void>;
7656
+ createOAuthConfig(body: OAuthConfig, options?: any): AxiosPromise<OAuthConfig>;
7192
7657
  /**
7193
7658
  * The endpoint deletes oauth configuration for specified provider for the current project environment.
7194
7659
  * @summary Delete oauth configuration.
@@ -7204,7 +7669,7 @@ export declare const OAuthApiFactory: (configuration?: Configuration, basePath?:
7204
7669
  * @param {*} [options] Override http request option.
7205
7670
  * @throws {RequiredError}
7206
7671
  */
7207
- getOAuthConfig(provider: OAuthProvider, options?: any): AxiosPromise<OAuthConfigResponse>;
7672
+ getOAuthConfig(provider: OAuthProvider, options?: any): AxiosPromise<OAuthConfig>;
7208
7673
  /**
7209
7674
  * Retrieves the player based on his id in the external provider system.
7210
7675
  * @summary Retrieve player by external id.
@@ -7221,15 +7686,6 @@ export declare const OAuthApiFactory: (configuration?: Configuration, basePath?:
7221
7686
  * @throws {RequiredError}
7222
7687
  */
7223
7688
  listOAuthConfig(options?: any): AxiosPromise<OAuthConfigListResponse>;
7224
- /**
7225
- * The endpoint updates oauth configuration for specified provider for the current project environment.
7226
- * @summary Update oauth configuration.
7227
- * @param {OAuthProvider} provider Specifies the oauth provider type.
7228
- * @param {OAuthConfigRequest} oAuthConfigRequest Specifies the oauth provider specific configuration.
7229
- * @param {*} [options] Override http request option.
7230
- * @throws {RequiredError}
7231
- */
7232
- updateOAuthConfig(provider: OAuthProvider, oAuthConfigRequest: OAuthConfigRequest, options?: any): AxiosPromise<void>;
7233
7689
  /**
7234
7690
  * The endpoint verifies the token generated by OAuth provider and retrieves a corresponding player.
7235
7691
  * @summary Retrieve player by token.
@@ -7260,13 +7716,12 @@ export declare class OAuthApi extends BaseAPI {
7260
7716
  /**
7261
7717
  * The endpoint creates oauth configuration for the current project environment.
7262
7718
  * @summary Create oauth configuration.
7263
- * @param {OAuthProvider} provider Specifies the oauth provider type.
7264
- * @param {OAuthConfigRequest} oAuthConfigRequest Specifies the oauth provider specific configuration.
7719
+ * @param {OAuthConfig} body Specifies the oauth provider specific configuration.
7265
7720
  * @param {*} [options] Override http request option.
7266
7721
  * @throws {RequiredError}
7267
7722
  * @memberof OAuthApi
7268
7723
  */
7269
- createOAuthConfig(provider: OAuthProvider, oAuthConfigRequest: OAuthConfigRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
7724
+ createOAuthConfig(body: OAuthConfig, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<OAuthConfig, any>>;
7270
7725
  /**
7271
7726
  * The endpoint deletes oauth configuration for specified provider for the current project environment.
7272
7727
  * @summary Delete oauth configuration.
@@ -7284,7 +7739,7 @@ export declare class OAuthApi extends BaseAPI {
7284
7739
  * @throws {RequiredError}
7285
7740
  * @memberof OAuthApi
7286
7741
  */
7287
- getOAuthConfig(provider: OAuthProvider, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<OAuthConfigResponse, any>>;
7742
+ getOAuthConfig(provider: OAuthProvider, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<OAuthConfig, any>>;
7288
7743
  /**
7289
7744
  * Retrieves the player based on his id in the external provider system.
7290
7745
  * @summary Retrieve player by external id.
@@ -7303,16 +7758,6 @@ export declare class OAuthApi extends BaseAPI {
7303
7758
  * @memberof OAuthApi
7304
7759
  */
7305
7760
  listOAuthConfig(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<OAuthConfigListResponse, any>>;
7306
- /**
7307
- * The endpoint updates oauth configuration for specified provider for the current project environment.
7308
- * @summary Update oauth configuration.
7309
- * @param {OAuthProvider} provider Specifies the oauth provider type.
7310
- * @param {OAuthConfigRequest} oAuthConfigRequest Specifies the oauth provider specific configuration.
7311
- * @param {*} [options] Override http request option.
7312
- * @throws {RequiredError}
7313
- * @memberof OAuthApi
7314
- */
7315
- updateOAuthConfig(provider: OAuthProvider, oAuthConfigRequest: OAuthConfigRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
7316
7761
  /**
7317
7762
  * The endpoint verifies the token generated by OAuth provider and retrieves a corresponding player.
7318
7763
  * @summary Retrieve player by token.
@@ -7341,11 +7786,11 @@ export declare const PlayersApiAxiosParamCreator: (configuration?: Configuration
7341
7786
  /**
7342
7787
  * Add a new player to your player list in Openfort.
7343
7788
  * @summary Create a player object.
7344
- * @param {CreatePlayerRequest} createPlayerRequest
7789
+ * @param {PlayerCreateRequest} playerCreateRequest
7345
7790
  * @param {*} [options] Override http request option.
7346
7791
  * @throws {RequiredError}
7347
7792
  */
7348
- createPlayer: (createPlayerRequest: CreatePlayerRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
7793
+ createPlayer: (playerCreateRequest: PlayerCreateRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
7349
7794
  /**
7350
7795
  *
7351
7796
  * @summary Create account object for a player.
@@ -7357,13 +7802,21 @@ export declare const PlayersApiAxiosParamCreator: (configuration?: Configuration
7357
7802
  createPlayerAccount: (id: string, createPlayerAccountRequest: CreatePlayerAccountRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
7358
7803
  /**
7359
7804
  *
7360
- * @summary Create session object for a player.
7805
+ * @summary Create session object for a player.
7806
+ * @param {string} id Specifies the unique player ID (starts with pla_).
7807
+ * @param {CreatePlayerSessionRequest} createPlayerSessionRequest
7808
+ * @param {*} [options] Override http request option.
7809
+ * @throws {RequiredError}
7810
+ */
7811
+ createPlayerSession: (id: string, createPlayerSessionRequest: CreatePlayerSessionRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
7812
+ /**
7813
+ *
7814
+ * @summary Deletes a player object.
7361
7815
  * @param {string} id Specifies the unique player ID (starts with pla_).
7362
- * @param {CreatePlayerSessionRequest} createPlayerSessionRequest
7363
7816
  * @param {*} [options] Override http request option.
7364
7817
  * @throws {RequiredError}
7365
7818
  */
7366
- createPlayerSession: (id: string, createPlayerSessionRequest: CreatePlayerSessionRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
7819
+ deletePlayer: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
7367
7820
  /**
7368
7821
  *
7369
7822
  * @summary Retrieves the details of an existing player.
@@ -7436,11 +7889,11 @@ export declare const PlayersApiAxiosParamCreator: (configuration?: Configuration
7436
7889
  *
7437
7890
  * @summary Updates a player object.
7438
7891
  * @param {string} id Specifies the unique player ID (starts with pla_).
7439
- * @param {PlayerRequest} playerRequest
7892
+ * @param {PlayerUpdateRequest} playerUpdateRequest
7440
7893
  * @param {*} [options] Override http request option.
7441
7894
  * @throws {RequiredError}
7442
7895
  */
7443
- updatePlayer: (id: string, playerRequest: PlayerRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
7896
+ updatePlayer: (id: string, playerUpdateRequest: PlayerUpdateRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
7444
7897
  };
7445
7898
  /**
7446
7899
  * PlayersApi - functional programming interface
@@ -7459,11 +7912,11 @@ export declare const PlayersApiFp: (configuration?: Configuration) => {
7459
7912
  /**
7460
7913
  * Add a new player to your player list in Openfort.
7461
7914
  * @summary Create a player object.
7462
- * @param {CreatePlayerRequest} createPlayerRequest
7915
+ * @param {PlayerCreateRequest} playerCreateRequest
7463
7916
  * @param {*} [options] Override http request option.
7464
7917
  * @throws {RequiredError}
7465
7918
  */
7466
- createPlayer(createPlayerRequest: CreatePlayerRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlayerResponse>>;
7919
+ createPlayer(playerCreateRequest: PlayerCreateRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlayerResponse>>;
7467
7920
  /**
7468
7921
  *
7469
7922
  * @summary Create account object for a player.
@@ -7482,6 +7935,14 @@ export declare const PlayersApiFp: (configuration?: Configuration) => {
7482
7935
  * @throws {RequiredError}
7483
7936
  */
7484
7937
  createPlayerSession(id: string, createPlayerSessionRequest: CreatePlayerSessionRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SessionResponse>>;
7938
+ /**
7939
+ *
7940
+ * @summary Deletes a player object.
7941
+ * @param {string} id Specifies the unique player ID (starts with pla_).
7942
+ * @param {*} [options] Override http request option.
7943
+ * @throws {RequiredError}
7944
+ */
7945
+ deletePlayer(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlayerDeleteResponse>>;
7485
7946
  /**
7486
7947
  *
7487
7948
  * @summary Retrieves the details of an existing player.
@@ -7554,11 +8015,11 @@ export declare const PlayersApiFp: (configuration?: Configuration) => {
7554
8015
  *
7555
8016
  * @summary Updates a player object.
7556
8017
  * @param {string} id Specifies the unique player ID (starts with pla_).
7557
- * @param {PlayerRequest} playerRequest
8018
+ * @param {PlayerUpdateRequest} playerUpdateRequest
7558
8019
  * @param {*} [options] Override http request option.
7559
8020
  * @throws {RequiredError}
7560
8021
  */
7561
- updatePlayer(id: string, playerRequest: PlayerRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlayerResponse>>;
8022
+ updatePlayer(id: string, playerUpdateRequest: PlayerUpdateRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlayerResponse>>;
7562
8023
  };
7563
8024
  /**
7564
8025
  * PlayersApi - factory interface
@@ -7577,11 +8038,11 @@ export declare const PlayersApiFactory: (configuration?: Configuration, basePath
7577
8038
  /**
7578
8039
  * Add a new player to your player list in Openfort.
7579
8040
  * @summary Create a player object.
7580
- * @param {CreatePlayerRequest} createPlayerRequest
8041
+ * @param {PlayerCreateRequest} playerCreateRequest
7581
8042
  * @param {*} [options] Override http request option.
7582
8043
  * @throws {RequiredError}
7583
8044
  */
7584
- createPlayer(createPlayerRequest: CreatePlayerRequest, options?: any): AxiosPromise<PlayerResponse>;
8045
+ createPlayer(playerCreateRequest: PlayerCreateRequest, options?: any): AxiosPromise<PlayerResponse>;
7585
8046
  /**
7586
8047
  *
7587
8048
  * @summary Create account object for a player.
@@ -7600,6 +8061,14 @@ export declare const PlayersApiFactory: (configuration?: Configuration, basePath
7600
8061
  * @throws {RequiredError}
7601
8062
  */
7602
8063
  createPlayerSession(id: string, createPlayerSessionRequest: CreatePlayerSessionRequest, options?: any): AxiosPromise<SessionResponse>;
8064
+ /**
8065
+ *
8066
+ * @summary Deletes a player object.
8067
+ * @param {string} id Specifies the unique player ID (starts with pla_).
8068
+ * @param {*} [options] Override http request option.
8069
+ * @throws {RequiredError}
8070
+ */
8071
+ deletePlayer(id: string, options?: any): AxiosPromise<PlayerDeleteResponse>;
7603
8072
  /**
7604
8073
  *
7605
8074
  * @summary Retrieves the details of an existing player.
@@ -7672,11 +8141,11 @@ export declare const PlayersApiFactory: (configuration?: Configuration, basePath
7672
8141
  *
7673
8142
  * @summary Updates a player object.
7674
8143
  * @param {string} id Specifies the unique player ID (starts with pla_).
7675
- * @param {PlayerRequest} playerRequest
8144
+ * @param {PlayerUpdateRequest} playerUpdateRequest
7676
8145
  * @param {*} [options] Override http request option.
7677
8146
  * @throws {RequiredError}
7678
8147
  */
7679
- updatePlayer(id: string, playerRequest: PlayerRequest, options?: any): AxiosPromise<PlayerResponse>;
8148
+ updatePlayer(id: string, playerUpdateRequest: PlayerUpdateRequest, options?: any): AxiosPromise<PlayerResponse>;
7680
8149
  };
7681
8150
  /**
7682
8151
  * PlayersApi - object-oriented interface
@@ -7698,12 +8167,12 @@ export declare class PlayersApi extends BaseAPI {
7698
8167
  /**
7699
8168
  * Add a new player to your player list in Openfort.
7700
8169
  * @summary Create a player object.
7701
- * @param {CreatePlayerRequest} createPlayerRequest
8170
+ * @param {PlayerCreateRequest} playerCreateRequest
7702
8171
  * @param {*} [options] Override http request option.
7703
8172
  * @throws {RequiredError}
7704
8173
  * @memberof PlayersApi
7705
8174
  */
7706
- createPlayer(createPlayerRequest: CreatePlayerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PlayerResponse, any>>;
8175
+ createPlayer(playerCreateRequest: PlayerCreateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PlayerResponse, any>>;
7707
8176
  /**
7708
8177
  *
7709
8178
  * @summary Create account object for a player.
@@ -7724,6 +8193,15 @@ export declare class PlayersApi extends BaseAPI {
7724
8193
  * @memberof PlayersApi
7725
8194
  */
7726
8195
  createPlayerSession(id: string, createPlayerSessionRequest: CreatePlayerSessionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SessionResponse, any>>;
8196
+ /**
8197
+ *
8198
+ * @summary Deletes a player object.
8199
+ * @param {string} id Specifies the unique player ID (starts with pla_).
8200
+ * @param {*} [options] Override http request option.
8201
+ * @throws {RequiredError}
8202
+ * @memberof PlayersApi
8203
+ */
8204
+ deletePlayer(id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PlayerDeleteResponse, any>>;
7727
8205
  /**
7728
8206
  *
7729
8207
  * @summary Retrieves the details of an existing player.
@@ -7803,12 +8281,12 @@ export declare class PlayersApi extends BaseAPI {
7803
8281
  *
7804
8282
  * @summary Updates a player object.
7805
8283
  * @param {string} id Specifies the unique player ID (starts with pla_).
7806
- * @param {PlayerRequest} playerRequest
8284
+ * @param {PlayerUpdateRequest} playerUpdateRequest
7807
8285
  * @param {*} [options] Override http request option.
7808
8286
  * @throws {RequiredError}
7809
8287
  * @memberof PlayersApi
7810
8288
  */
7811
- updatePlayer(id: string, playerRequest: PlayerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PlayerResponse, any>>;
8289
+ updatePlayer(id: string, playerUpdateRequest: PlayerUpdateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PlayerResponse, any>>;
7812
8290
  }
7813
8291
  /**
7814
8292
  * PlayersAuthenticationApi - axios parameter creator
@@ -8715,6 +9193,222 @@ export declare class SessionsApi extends BaseAPI {
8715
9193
  */
8716
9194
  signatureSession(id: string, signatureRequest: SignatureRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SessionResponse, any>>;
8717
9195
  }
9196
+ /**
9197
+ * SettingsApi - axios parameter creator
9198
+ * @export
9199
+ */
9200
+ export declare const SettingsApiAxiosParamCreator: (configuration?: Configuration) => {
9201
+ /**
9202
+ * Verify signature and add a depositor address to the current project environment.
9203
+ * @summary Add depositor address.
9204
+ * @param {PaymasterDepositorCreateRequest} paymasterDepositorCreateRequest
9205
+ * @param {*} [options] Override http request option.
9206
+ * @throws {RequiredError}
9207
+ */
9208
+ addDepositorAddress: (paymasterDepositorCreateRequest: PaymasterDepositorCreateRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
9209
+ /**
9210
+ * Retrieve the list of the depositor addresses for the current project environment.
9211
+ * @summary List of depositor addresses.
9212
+ * @param {*} [options] Override http request option.
9213
+ * @throws {RequiredError}
9214
+ */
9215
+ getDepositorAddresses: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
9216
+ /**
9217
+ * Generate message, which should be signed for verification of the address ownership.
9218
+ * @summary Generate message to sign
9219
+ * @param {string} address Specifies the paymaster depositor address
9220
+ * @param {*} [options] Override http request option.
9221
+ * @throws {RequiredError}
9222
+ */
9223
+ getMessageForSigningDepositorAddress: (address: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
9224
+ /**
9225
+ * Remove a depositor address from the current project environment.
9226
+ * @summary Removes depositor address.
9227
+ * @param {string} id Specifies unique identifier of depositor address.
9228
+ * @param {*} [options] Override http request option.
9229
+ * @throws {RequiredError}
9230
+ */
9231
+ removeDepositorAddress: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
9232
+ /**
9233
+ * Updated the current project environment settings by removing the webhook address. After that system will stop sending events of the transaction intent state changes
9234
+ * @summary Removes webhook.
9235
+ * @param {*} [options] Override http request option.
9236
+ * @throws {RequiredError}
9237
+ */
9238
+ removeWebhook: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
9239
+ /**
9240
+ * 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.
9241
+ * @summary Update webhook.
9242
+ * @param {SettingsWebhookUpdateRequest} settingsWebhookUpdateRequest
9243
+ * @param {*} [options] Override http request option.
9244
+ * @throws {RequiredError}
9245
+ */
9246
+ updateWebhook: (settingsWebhookUpdateRequest: SettingsWebhookUpdateRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
9247
+ };
9248
+ /**
9249
+ * SettingsApi - functional programming interface
9250
+ * @export
9251
+ */
9252
+ export declare const SettingsApiFp: (configuration?: Configuration) => {
9253
+ /**
9254
+ * Verify signature and add a depositor address to the current project environment.
9255
+ * @summary Add depositor address.
9256
+ * @param {PaymasterDepositorCreateRequest} paymasterDepositorCreateRequest
9257
+ * @param {*} [options] Override http request option.
9258
+ * @throws {RequiredError}
9259
+ */
9260
+ addDepositorAddress(paymasterDepositorCreateRequest: PaymasterDepositorCreateRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymasterDepositorResponse>>;
9261
+ /**
9262
+ * Retrieve the list of the depositor addresses for the current project environment.
9263
+ * @summary List of depositor addresses.
9264
+ * @param {*} [options] Override http request option.
9265
+ * @throws {RequiredError}
9266
+ */
9267
+ getDepositorAddresses(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymasterDepositorListResponse>>;
9268
+ /**
9269
+ * Generate message, which should be signed for verification of the address ownership.
9270
+ * @summary Generate message to sign
9271
+ * @param {string} address Specifies the paymaster depositor address
9272
+ * @param {*} [options] Override http request option.
9273
+ * @throws {RequiredError}
9274
+ */
9275
+ getMessageForSigningDepositorAddress(address: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymasterDepositorGetMessageResponse>>;
9276
+ /**
9277
+ * Remove a depositor address from the current project environment.
9278
+ * @summary Removes depositor address.
9279
+ * @param {string} id Specifies unique identifier of depositor address.
9280
+ * @param {*} [options] Override http request option.
9281
+ * @throws {RequiredError}
9282
+ */
9283
+ removeDepositorAddress(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymasterDepositorDeleteResponse>>;
9284
+ /**
9285
+ * Updated the current project environment settings by removing the webhook address. After that system will stop sending events of the transaction intent state changes
9286
+ * @summary Removes webhook.
9287
+ * @param {*} [options] Override http request option.
9288
+ * @throws {RequiredError}
9289
+ */
9290
+ removeWebhook(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
9291
+ /**
9292
+ * 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.
9293
+ * @summary Update webhook.
9294
+ * @param {SettingsWebhookUpdateRequest} settingsWebhookUpdateRequest
9295
+ * @param {*} [options] Override http request option.
9296
+ * @throws {RequiredError}
9297
+ */
9298
+ updateWebhook(settingsWebhookUpdateRequest: SettingsWebhookUpdateRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
9299
+ };
9300
+ /**
9301
+ * SettingsApi - factory interface
9302
+ * @export
9303
+ */
9304
+ export declare const SettingsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
9305
+ /**
9306
+ * Verify signature and add a depositor address to the current project environment.
9307
+ * @summary Add depositor address.
9308
+ * @param {PaymasterDepositorCreateRequest} paymasterDepositorCreateRequest
9309
+ * @param {*} [options] Override http request option.
9310
+ * @throws {RequiredError}
9311
+ */
9312
+ addDepositorAddress(paymasterDepositorCreateRequest: PaymasterDepositorCreateRequest, options?: any): AxiosPromise<PaymasterDepositorResponse>;
9313
+ /**
9314
+ * Retrieve the list of the depositor addresses for the current project environment.
9315
+ * @summary List of depositor addresses.
9316
+ * @param {*} [options] Override http request option.
9317
+ * @throws {RequiredError}
9318
+ */
9319
+ getDepositorAddresses(options?: any): AxiosPromise<PaymasterDepositorListResponse>;
9320
+ /**
9321
+ * Generate message, which should be signed for verification of the address ownership.
9322
+ * @summary Generate message to sign
9323
+ * @param {string} address Specifies the paymaster depositor address
9324
+ * @param {*} [options] Override http request option.
9325
+ * @throws {RequiredError}
9326
+ */
9327
+ getMessageForSigningDepositorAddress(address: string, options?: any): AxiosPromise<PaymasterDepositorGetMessageResponse>;
9328
+ /**
9329
+ * Remove a depositor address from the current project environment.
9330
+ * @summary Removes depositor address.
9331
+ * @param {string} id Specifies unique identifier of depositor address.
9332
+ * @param {*} [options] Override http request option.
9333
+ * @throws {RequiredError}
9334
+ */
9335
+ removeDepositorAddress(id: string, options?: any): AxiosPromise<PaymasterDepositorDeleteResponse>;
9336
+ /**
9337
+ * Updated the current project environment settings by removing the webhook address. After that system will stop sending events of the transaction intent state changes
9338
+ * @summary Removes webhook.
9339
+ * @param {*} [options] Override http request option.
9340
+ * @throws {RequiredError}
9341
+ */
9342
+ removeWebhook(options?: any): AxiosPromise<void>;
9343
+ /**
9344
+ * 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.
9345
+ * @summary Update webhook.
9346
+ * @param {SettingsWebhookUpdateRequest} settingsWebhookUpdateRequest
9347
+ * @param {*} [options] Override http request option.
9348
+ * @throws {RequiredError}
9349
+ */
9350
+ updateWebhook(settingsWebhookUpdateRequest: SettingsWebhookUpdateRequest, options?: any): AxiosPromise<void>;
9351
+ };
9352
+ /**
9353
+ * SettingsApi - object-oriented interface
9354
+ * @export
9355
+ * @class SettingsApi
9356
+ * @extends {BaseAPI}
9357
+ */
9358
+ export declare class SettingsApi extends BaseAPI {
9359
+ /**
9360
+ * Verify signature and add a depositor address to the current project environment.
9361
+ * @summary Add depositor address.
9362
+ * @param {PaymasterDepositorCreateRequest} paymasterDepositorCreateRequest
9363
+ * @param {*} [options] Override http request option.
9364
+ * @throws {RequiredError}
9365
+ * @memberof SettingsApi
9366
+ */
9367
+ addDepositorAddress(paymasterDepositorCreateRequest: PaymasterDepositorCreateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymasterDepositorResponse, any>>;
9368
+ /**
9369
+ * Retrieve the list of the depositor addresses for the current project environment.
9370
+ * @summary List of depositor addresses.
9371
+ * @param {*} [options] Override http request option.
9372
+ * @throws {RequiredError}
9373
+ * @memberof SettingsApi
9374
+ */
9375
+ getDepositorAddresses(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymasterDepositorListResponse, any>>;
9376
+ /**
9377
+ * Generate message, which should be signed for verification of the address ownership.
9378
+ * @summary Generate message to sign
9379
+ * @param {string} address Specifies the paymaster depositor address
9380
+ * @param {*} [options] Override http request option.
9381
+ * @throws {RequiredError}
9382
+ * @memberof SettingsApi
9383
+ */
9384
+ getMessageForSigningDepositorAddress(address: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymasterDepositorGetMessageResponse, any>>;
9385
+ /**
9386
+ * Remove a depositor address from the current project environment.
9387
+ * @summary Removes depositor address.
9388
+ * @param {string} id Specifies unique identifier of depositor address.
9389
+ * @param {*} [options] Override http request option.
9390
+ * @throws {RequiredError}
9391
+ * @memberof SettingsApi
9392
+ */
9393
+ removeDepositorAddress(id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymasterDepositorDeleteResponse, any>>;
9394
+ /**
9395
+ * Updated the current project environment settings by removing the webhook address. After that system will stop sending events of the transaction intent state changes
9396
+ * @summary Removes webhook.
9397
+ * @param {*} [options] Override http request option.
9398
+ * @throws {RequiredError}
9399
+ * @memberof SettingsApi
9400
+ */
9401
+ removeWebhook(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
9402
+ /**
9403
+ * 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.
9404
+ * @summary Update webhook.
9405
+ * @param {SettingsWebhookUpdateRequest} settingsWebhookUpdateRequest
9406
+ * @param {*} [options] Override http request option.
9407
+ * @throws {RequiredError}
9408
+ * @memberof SettingsApi
9409
+ */
9410
+ updateWebhook(settingsWebhookUpdateRequest: SettingsWebhookUpdateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
9411
+ }
8718
9412
  /**
8719
9413
  * TransactionIntentsApi - axios parameter creator
8720
9414
  * @export
@@ -8942,3 +9636,222 @@ export declare class TransactionIntentsApi extends BaseAPI {
8942
9636
  */
8943
9637
  signature(id: string, signatureRequest: SignatureRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TransactionIntentResponse, any>>;
8944
9638
  }
9639
+ /**
9640
+ * Web3ConnectionsApi - axios parameter creator
9641
+ * @export
9642
+ */
9643
+ export declare const Web3ConnectionsApiAxiosParamCreator: (configuration?: Configuration) => {
9644
+ /**
9645
+ * This endpoint allows you to create a new web3 connection to your Openfort player. Together with the player ID (pla_), you need to provide a chain ID. The chain to use is required because Openfort needs to make sure the account is deployed, as counterfactual addresses cannot use web3 connections. The `uri` body parameter must contain a WalletConnect pairing URI (see: https://specs.walletconnect.com/2.0/specs/clients/core/pairing/pairing-uri)
9646
+ * @summary Create a Web3 Connection object.
9647
+ * @param {CreateWeb3ConnectionRequest} createWeb3ConnectionRequest
9648
+ * @param {*} [options] Override http request option.
9649
+ * @throws {RequiredError}
9650
+ */
9651
+ createWeb3Connection: (createWeb3ConnectionRequest: CreateWeb3ConnectionRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
9652
+ /**
9653
+ * Returns a list of web3 actions for the given web3 connection. The actions are returned sorted by creation date, with the most recently received action appearing first. By default, a maximum of ten actions are shown per page.
9654
+ * @summary List Web3 actions from a web3 connection.
9655
+ * @param {string} id
9656
+ * @param {*} [options] Override http request option.
9657
+ * @throws {RequiredError}
9658
+ */
9659
+ getWeb3Actions: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
9660
+ /**
9661
+ * Retrieves the details of an existing web3 connection. Supply the unique web3 connection ID from either a web3 connection creation request or the web3 connection list. Openfort will return the corresponding web3 connection information.
9662
+ * @summary Get a web3Connection object.
9663
+ * @param {string} id Specifies the unique web3Connection ID (starts with web3_).
9664
+ * @param {Array<Web3ConnectionResponseExpandable>} [expand] Specifies the fields to expand.
9665
+ * @param {*} [options] Override http request option.
9666
+ * @throws {RequiredError}
9667
+ */
9668
+ getWeb3Connection: (id: string, expand?: Array<Web3ConnectionResponseExpandable>, options?: AxiosRequestConfig) => Promise<RequestArgs>;
9669
+ /**
9670
+ * Returns a list of web3 connections for the given player. The connections are returned sorted by creation date, with the most recently created connections appearing first. By default, a maximum of ten connections are shown per page.
9671
+ * @summary List Web3 connections.
9672
+ * @param {string} player Specifies the unique player ID (starts with pla_)
9673
+ * @param {number} [limit] Specifies the maximum number of records to return.
9674
+ * @param {number} [skip] Specifies the offset for the first records to return.
9675
+ * @param {SortOrder} [order] Specifies the order in which to sort the results.
9676
+ * @param {boolean} [disconnected] Specifies connection status
9677
+ * @param {*} [options] Override http request option.
9678
+ * @throws {RequiredError}
9679
+ */
9680
+ getWeb3Connections: (player: string, limit?: number, skip?: number, order?: SortOrder, disconnected?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
9681
+ /**
9682
+ * Approve or Reject a web3 action for the given web3 connection.
9683
+ * @summary Approve or Reject a web3 action
9684
+ * @param {string} id
9685
+ * @param {string} web3Action
9686
+ * @param {SubmitWeb3ActionRequest} submitWeb3ActionRequest
9687
+ * @param {*} [options] Override http request option.
9688
+ * @throws {RequiredError}
9689
+ */
9690
+ submitWeb3Action: (id: string, web3Action: string, submitWeb3ActionRequest: SubmitWeb3ActionRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
9691
+ };
9692
+ /**
9693
+ * Web3ConnectionsApi - functional programming interface
9694
+ * @export
9695
+ */
9696
+ export declare const Web3ConnectionsApiFp: (configuration?: Configuration) => {
9697
+ /**
9698
+ * This endpoint allows you to create a new web3 connection to your Openfort player. Together with the player ID (pla_), you need to provide a chain ID. The chain to use is required because Openfort needs to make sure the account is deployed, as counterfactual addresses cannot use web3 connections. The `uri` body parameter must contain a WalletConnect pairing URI (see: https://specs.walletconnect.com/2.0/specs/clients/core/pairing/pairing-uri)
9699
+ * @summary Create a Web3 Connection object.
9700
+ * @param {CreateWeb3ConnectionRequest} createWeb3ConnectionRequest
9701
+ * @param {*} [options] Override http request option.
9702
+ * @throws {RequiredError}
9703
+ */
9704
+ createWeb3Connection(createWeb3ConnectionRequest: CreateWeb3ConnectionRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Web3ConnectionResponse>>;
9705
+ /**
9706
+ * Returns a list of web3 actions for the given web3 connection. The actions are returned sorted by creation date, with the most recently received action appearing first. By default, a maximum of ten actions are shown per page.
9707
+ * @summary List Web3 actions from a web3 connection.
9708
+ * @param {string} id
9709
+ * @param {*} [options] Override http request option.
9710
+ * @throws {RequiredError}
9711
+ */
9712
+ getWeb3Actions(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Web3ActionListResponse>>;
9713
+ /**
9714
+ * Retrieves the details of an existing web3 connection. Supply the unique web3 connection ID from either a web3 connection creation request or the web3 connection list. Openfort will return the corresponding web3 connection information.
9715
+ * @summary Get a web3Connection object.
9716
+ * @param {string} id Specifies the unique web3Connection ID (starts with web3_).
9717
+ * @param {Array<Web3ConnectionResponseExpandable>} [expand] Specifies the fields to expand.
9718
+ * @param {*} [options] Override http request option.
9719
+ * @throws {RequiredError}
9720
+ */
9721
+ getWeb3Connection(id: string, expand?: Array<Web3ConnectionResponseExpandable>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Web3ConnectionResponse>>;
9722
+ /**
9723
+ * Returns a list of web3 connections for the given player. The connections are returned sorted by creation date, with the most recently created connections appearing first. By default, a maximum of ten connections are shown per page.
9724
+ * @summary List Web3 connections.
9725
+ * @param {string} player Specifies the unique player ID (starts with pla_)
9726
+ * @param {number} [limit] Specifies the maximum number of records to return.
9727
+ * @param {number} [skip] Specifies the offset for the first records to return.
9728
+ * @param {SortOrder} [order] Specifies the order in which to sort the results.
9729
+ * @param {boolean} [disconnected] Specifies connection status
9730
+ * @param {*} [options] Override http request option.
9731
+ * @throws {RequiredError}
9732
+ */
9733
+ getWeb3Connections(player: string, limit?: number, skip?: number, order?: SortOrder, disconnected?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Web3ConnectionListResponse>>;
9734
+ /**
9735
+ * Approve or Reject a web3 action for the given web3 connection.
9736
+ * @summary Approve or Reject a web3 action
9737
+ * @param {string} id
9738
+ * @param {string} web3Action
9739
+ * @param {SubmitWeb3ActionRequest} submitWeb3ActionRequest
9740
+ * @param {*} [options] Override http request option.
9741
+ * @throws {RequiredError}
9742
+ */
9743
+ submitWeb3Action(id: string, web3Action: string, submitWeb3ActionRequest: SubmitWeb3ActionRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Web3ActionResponse>>;
9744
+ };
9745
+ /**
9746
+ * Web3ConnectionsApi - factory interface
9747
+ * @export
9748
+ */
9749
+ export declare const Web3ConnectionsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
9750
+ /**
9751
+ * This endpoint allows you to create a new web3 connection to your Openfort player. Together with the player ID (pla_), you need to provide a chain ID. The chain to use is required because Openfort needs to make sure the account is deployed, as counterfactual addresses cannot use web3 connections. The `uri` body parameter must contain a WalletConnect pairing URI (see: https://specs.walletconnect.com/2.0/specs/clients/core/pairing/pairing-uri)
9752
+ * @summary Create a Web3 Connection object.
9753
+ * @param {CreateWeb3ConnectionRequest} createWeb3ConnectionRequest
9754
+ * @param {*} [options] Override http request option.
9755
+ * @throws {RequiredError}
9756
+ */
9757
+ createWeb3Connection(createWeb3ConnectionRequest: CreateWeb3ConnectionRequest, options?: any): AxiosPromise<Web3ConnectionResponse>;
9758
+ /**
9759
+ * Returns a list of web3 actions for the given web3 connection. The actions are returned sorted by creation date, with the most recently received action appearing first. By default, a maximum of ten actions are shown per page.
9760
+ * @summary List Web3 actions from a web3 connection.
9761
+ * @param {string} id
9762
+ * @param {*} [options] Override http request option.
9763
+ * @throws {RequiredError}
9764
+ */
9765
+ getWeb3Actions(id: string, options?: any): AxiosPromise<Web3ActionListResponse>;
9766
+ /**
9767
+ * Retrieves the details of an existing web3 connection. Supply the unique web3 connection ID from either a web3 connection creation request or the web3 connection list. Openfort will return the corresponding web3 connection information.
9768
+ * @summary Get a web3Connection object.
9769
+ * @param {string} id Specifies the unique web3Connection ID (starts with web3_).
9770
+ * @param {Array<Web3ConnectionResponseExpandable>} [expand] Specifies the fields to expand.
9771
+ * @param {*} [options] Override http request option.
9772
+ * @throws {RequiredError}
9773
+ */
9774
+ getWeb3Connection(id: string, expand?: Array<Web3ConnectionResponseExpandable>, options?: any): AxiosPromise<Web3ConnectionResponse>;
9775
+ /**
9776
+ * Returns a list of web3 connections for the given player. The connections are returned sorted by creation date, with the most recently created connections appearing first. By default, a maximum of ten connections are shown per page.
9777
+ * @summary List Web3 connections.
9778
+ * @param {string} player Specifies the unique player ID (starts with pla_)
9779
+ * @param {number} [limit] Specifies the maximum number of records to return.
9780
+ * @param {number} [skip] Specifies the offset for the first records to return.
9781
+ * @param {SortOrder} [order] Specifies the order in which to sort the results.
9782
+ * @param {boolean} [disconnected] Specifies connection status
9783
+ * @param {*} [options] Override http request option.
9784
+ * @throws {RequiredError}
9785
+ */
9786
+ getWeb3Connections(player: string, limit?: number, skip?: number, order?: SortOrder, disconnected?: boolean, options?: any): AxiosPromise<Web3ConnectionListResponse>;
9787
+ /**
9788
+ * Approve or Reject a web3 action for the given web3 connection.
9789
+ * @summary Approve or Reject a web3 action
9790
+ * @param {string} id
9791
+ * @param {string} web3Action
9792
+ * @param {SubmitWeb3ActionRequest} submitWeb3ActionRequest
9793
+ * @param {*} [options] Override http request option.
9794
+ * @throws {RequiredError}
9795
+ */
9796
+ submitWeb3Action(id: string, web3Action: string, submitWeb3ActionRequest: SubmitWeb3ActionRequest, options?: any): AxiosPromise<Web3ActionResponse>;
9797
+ };
9798
+ /**
9799
+ * Web3ConnectionsApi - object-oriented interface
9800
+ * @export
9801
+ * @class Web3ConnectionsApi
9802
+ * @extends {BaseAPI}
9803
+ */
9804
+ export declare class Web3ConnectionsApi extends BaseAPI {
9805
+ /**
9806
+ * This endpoint allows you to create a new web3 connection to your Openfort player. Together with the player ID (pla_), you need to provide a chain ID. The chain to use is required because Openfort needs to make sure the account is deployed, as counterfactual addresses cannot use web3 connections. The `uri` body parameter must contain a WalletConnect pairing URI (see: https://specs.walletconnect.com/2.0/specs/clients/core/pairing/pairing-uri)
9807
+ * @summary Create a Web3 Connection object.
9808
+ * @param {CreateWeb3ConnectionRequest} createWeb3ConnectionRequest
9809
+ * @param {*} [options] Override http request option.
9810
+ * @throws {RequiredError}
9811
+ * @memberof Web3ConnectionsApi
9812
+ */
9813
+ createWeb3Connection(createWeb3ConnectionRequest: CreateWeb3ConnectionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Web3ConnectionResponse, any>>;
9814
+ /**
9815
+ * Returns a list of web3 actions for the given web3 connection. The actions are returned sorted by creation date, with the most recently received action appearing first. By default, a maximum of ten actions are shown per page.
9816
+ * @summary List Web3 actions from a web3 connection.
9817
+ * @param {string} id
9818
+ * @param {*} [options] Override http request option.
9819
+ * @throws {RequiredError}
9820
+ * @memberof Web3ConnectionsApi
9821
+ */
9822
+ getWeb3Actions(id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Web3ActionListResponse, any>>;
9823
+ /**
9824
+ * Retrieves the details of an existing web3 connection. Supply the unique web3 connection ID from either a web3 connection creation request or the web3 connection list. Openfort will return the corresponding web3 connection information.
9825
+ * @summary Get a web3Connection object.
9826
+ * @param {string} id Specifies the unique web3Connection ID (starts with web3_).
9827
+ * @param {Array<Web3ConnectionResponseExpandable>} [expand] Specifies the fields to expand.
9828
+ * @param {*} [options] Override http request option.
9829
+ * @throws {RequiredError}
9830
+ * @memberof Web3ConnectionsApi
9831
+ */
9832
+ getWeb3Connection(id: string, expand?: Array<Web3ConnectionResponseExpandable>, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Web3ConnectionResponse, any>>;
9833
+ /**
9834
+ * Returns a list of web3 connections for the given player. The connections are returned sorted by creation date, with the most recently created connections appearing first. By default, a maximum of ten connections are shown per page.
9835
+ * @summary List Web3 connections.
9836
+ * @param {string} player Specifies the unique player ID (starts with pla_)
9837
+ * @param {number} [limit] Specifies the maximum number of records to return.
9838
+ * @param {number} [skip] Specifies the offset for the first records to return.
9839
+ * @param {SortOrder} [order] Specifies the order in which to sort the results.
9840
+ * @param {boolean} [disconnected] Specifies connection status
9841
+ * @param {*} [options] Override http request option.
9842
+ * @throws {RequiredError}
9843
+ * @memberof Web3ConnectionsApi
9844
+ */
9845
+ getWeb3Connections(player: string, limit?: number, skip?: number, order?: SortOrder, disconnected?: boolean, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Web3ConnectionListResponse, any>>;
9846
+ /**
9847
+ * Approve or Reject a web3 action for the given web3 connection.
9848
+ * @summary Approve or Reject a web3 action
9849
+ * @param {string} id
9850
+ * @param {string} web3Action
9851
+ * @param {SubmitWeb3ActionRequest} submitWeb3ActionRequest
9852
+ * @param {*} [options] Override http request option.
9853
+ * @throws {RequiredError}
9854
+ * @memberof Web3ConnectionsApi
9855
+ */
9856
+ submitWeb3Action(id: string, web3Action: string, submitWeb3ActionRequest: SubmitWeb3ActionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Web3ActionResponse, any>>;
9857
+ }