@openfort/openfort-js 0.2.4 → 0.2.6

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.
@@ -77,10 +77,10 @@ export interface AccountResponse {
77
77
  'object': string;
78
78
  /**
79
79
  *
80
- * @type {string}
80
+ * @type {number}
81
81
  * @memberof AccountResponse
82
82
  */
83
- 'created_at': string;
83
+ 'created_at': number;
84
84
  /**
85
85
  *
86
86
  * @type {string}
@@ -145,10 +145,10 @@ export interface AccountsResponse {
145
145
  export interface ApiKeyResponse {
146
146
  /**
147
147
  *
148
- * @type {string}
148
+ * @type {number}
149
149
  * @memberof ApiKeyResponse
150
150
  */
151
- 'created_at': string;
151
+ 'created_at': number;
152
152
  /**
153
153
  *
154
154
  * @type {string}
@@ -293,10 +293,10 @@ export interface ContractResponse {
293
293
  'object': string;
294
294
  /**
295
295
  *
296
- * @type {string}
296
+ * @type {number}
297
297
  * @memberof ContractResponse
298
298
  */
299
- 'created_at': string;
299
+ 'created_at': number;
300
300
  /**
301
301
  *
302
302
  * @type {string}
@@ -372,6 +372,31 @@ export interface CreatePlayerRequest {
372
372
  */
373
373
  'description'?: string;
374
374
  }
375
+ /**
376
+ *
377
+ * @export
378
+ * @interface CreatePolicyRequest
379
+ */
380
+ export interface CreatePolicyRequest {
381
+ /**
382
+ *
383
+ * @type {string}
384
+ * @memberof CreatePolicyRequest
385
+ */
386
+ 'name': string;
387
+ /**
388
+ *
389
+ * @type {number}
390
+ * @memberof CreatePolicyRequest
391
+ */
392
+ 'chain_id': number;
393
+ /**
394
+ *
395
+ * @type {PolicyStrategy}
396
+ * @memberof CreatePolicyRequest
397
+ */
398
+ 'strategy': PolicyStrategy;
399
+ }
375
400
  /**
376
401
  *
377
402
  * @export
@@ -500,6 +525,37 @@ export interface CreateSessionRequest {
500
525
  */
501
526
  'whitelist'?: Array<string>;
502
527
  }
528
+ /**
529
+ *
530
+ * @export
531
+ * @interface DomainData
532
+ */
533
+ export interface DomainData {
534
+ /**
535
+ *
536
+ * @type {number}
537
+ * @memberof DomainData
538
+ */
539
+ 'chainId': number;
540
+ /**
541
+ *
542
+ * @type {string}
543
+ * @memberof DomainData
544
+ */
545
+ 'name'?: string;
546
+ /**
547
+ *
548
+ * @type {string}
549
+ * @memberof DomainData
550
+ */
551
+ 'version'?: string;
552
+ /**
553
+ *
554
+ * @type {string}
555
+ * @memberof DomainData
556
+ */
557
+ 'verifyingContract'?: string;
558
+ }
503
559
  /**
504
560
  *
505
561
  * @export
@@ -775,10 +831,10 @@ export interface PlayerResponse {
775
831
  'object': string;
776
832
  /**
777
833
  *
778
- * @type {string}
834
+ * @type {number}
779
835
  * @memberof PlayerResponse
780
836
  */
781
- 'created_at': string;
837
+ 'created_at': number;
782
838
  /**
783
839
  *
784
840
  * @type {string}
@@ -947,31 +1003,6 @@ export interface PolicyDeleteResponse {
947
1003
  */
948
1004
  'deleted': boolean;
949
1005
  }
950
- /**
951
- *
952
- * @export
953
- * @interface PolicyRequest
954
- */
955
- export interface PolicyRequest {
956
- /**
957
- *
958
- * @type {string}
959
- * @memberof PolicyRequest
960
- */
961
- 'name': string;
962
- /**
963
- *
964
- * @type {number}
965
- * @memberof PolicyRequest
966
- */
967
- 'chain_id': number;
968
- /**
969
- *
970
- * @type {Strategy}
971
- * @memberof PolicyRequest
972
- */
973
- 'strategy'?: Strategy;
974
- }
975
1006
  /**
976
1007
  *
977
1008
  * @export
@@ -992,10 +1023,10 @@ export interface PolicyResponse {
992
1023
  'object': string;
993
1024
  /**
994
1025
  *
995
- * @type {string}
1026
+ * @type {number}
996
1027
  * @memberof PolicyResponse
997
1028
  */
998
- 'created_at': string;
1029
+ 'created_at': number;
999
1030
  /**
1000
1031
  *
1001
1032
  * @type {string}
@@ -1010,10 +1041,10 @@ export interface PolicyResponse {
1010
1041
  'chain_id': number;
1011
1042
  /**
1012
1043
  *
1013
- * @type {any}
1044
+ * @type {PolicyStrategy}
1014
1045
  * @memberof PolicyResponse
1015
1046
  */
1016
- 'strategy': any;
1047
+ 'strategy': PolicyStrategy;
1017
1048
  /**
1018
1049
  *
1019
1050
  * @type {Array<PolicyResponseTransactionIntentsInner>}
@@ -1047,10 +1078,10 @@ export interface PolicyResponsePolicyRulesInner {
1047
1078
  'object': string;
1048
1079
  /**
1049
1080
  *
1050
- * @type {string}
1081
+ * @type {number}
1051
1082
  * @memberof PolicyResponsePolicyRulesInner
1052
1083
  */
1053
- 'created_at': string;
1084
+ 'created_at': number;
1054
1085
  /**
1055
1086
  *
1056
1087
  * @type {PolicySchema}
@@ -1090,16 +1121,16 @@ export interface PolicyResponseTransactionIntentsInner {
1090
1121
  'object': string;
1091
1122
  /**
1092
1123
  *
1093
- * @type {string}
1124
+ * @type {number}
1094
1125
  * @memberof PolicyResponseTransactionIntentsInner
1095
1126
  */
1096
- 'created_at': string;
1127
+ 'created_at': number;
1097
1128
  /**
1098
1129
  *
1099
- * @type {string}
1130
+ * @type {number}
1100
1131
  * @memberof PolicyResponseTransactionIntentsInner
1101
1132
  */
1102
- 'updated_at': string;
1133
+ 'updated_at': number;
1103
1134
  /**
1104
1135
  *
1105
1136
  * @type {number}
@@ -1231,10 +1262,10 @@ export interface PolicyRuleResponse {
1231
1262
  'object': string;
1232
1263
  /**
1233
1264
  *
1234
- * @type {string}
1265
+ * @type {number}
1235
1266
  * @memberof PolicyRuleResponse
1236
1267
  */
1237
- 'created_at': string;
1268
+ 'created_at': number;
1238
1269
  /**
1239
1270
  *
1240
1271
  * @type {PolicySchema}
@@ -1274,10 +1305,10 @@ export interface PolicyRuleResponseContract {
1274
1305
  'object': string;
1275
1306
  /**
1276
1307
  *
1277
- * @type {string}
1308
+ * @type {number}
1278
1309
  * @memberof PolicyRuleResponseContract
1279
1310
  */
1280
- 'created_at': string;
1311
+ 'created_at': number;
1281
1312
  /**
1282
1313
  *
1283
1314
  * @type {string}
@@ -1378,27 +1409,27 @@ export type PolicySchema = typeof PolicySchema[keyof typeof PolicySchema];
1378
1409
  /**
1379
1410
  *
1380
1411
  * @export
1381
- * @interface PolicyUpdateRequest
1412
+ * @interface PolicyStrategy
1382
1413
  */
1383
- export interface PolicyUpdateRequest {
1414
+ export interface PolicyStrategy {
1384
1415
  /**
1385
1416
  *
1386
- * @type {string}
1387
- * @memberof PolicyUpdateRequest
1417
+ * @type {SponsorSchema}
1418
+ * @memberof PolicyStrategy
1388
1419
  */
1389
- 'name'?: string;
1420
+ 'sponsor_schema': SponsorSchema;
1390
1421
  /**
1391
1422
  *
1392
- * @type {number}
1393
- * @memberof PolicyUpdateRequest
1423
+ * @type {string}
1424
+ * @memberof PolicyStrategy
1394
1425
  */
1395
- 'chain_id'?: number;
1426
+ 'token_contract': string | null;
1396
1427
  /**
1397
1428
  *
1398
- * @type {Strategy}
1399
- * @memberof PolicyUpdateRequest
1429
+ * @type {string}
1430
+ * @memberof PolicyStrategy
1400
1431
  */
1401
- 'strategy'?: Strategy;
1432
+ 'token_contract_amount': string | null;
1402
1433
  }
1403
1434
  /**
1404
1435
  *
@@ -1470,16 +1501,16 @@ export interface ProjectResponse {
1470
1501
  'object': string;
1471
1502
  /**
1472
1503
  *
1473
- * @type {string}
1504
+ * @type {number}
1474
1505
  * @memberof ProjectResponse
1475
1506
  */
1476
- 'created_at': string;
1507
+ 'created_at': number;
1477
1508
  /**
1478
1509
  *
1479
- * @type {string}
1510
+ * @type {number}
1480
1511
  * @memberof ProjectResponse
1481
1512
  */
1482
- 'updated_at': string;
1513
+ 'updated_at': number;
1483
1514
  /**
1484
1515
  *
1485
1516
  * @type {string}
@@ -1532,10 +1563,10 @@ export interface ProjectsResponse {
1532
1563
  export interface ResponseResponse {
1533
1564
  /**
1534
1565
  *
1535
- * @type {string}
1566
+ * @type {number}
1536
1567
  * @memberof ResponseResponse
1537
1568
  */
1538
- 'created_at': string;
1569
+ 'created_at': number;
1539
1570
  /**
1540
1571
  *
1541
1572
  * @type {number}
@@ -1667,16 +1698,16 @@ export interface SessionResponse {
1667
1698
  'object': string;
1668
1699
  /**
1669
1700
  *
1670
- * @type {string}
1701
+ * @type {number}
1671
1702
  * @memberof SessionResponse
1672
1703
  */
1673
- 'created_at': string;
1704
+ 'created_at': number;
1674
1705
  /**
1675
1706
  *
1676
- * @type {string}
1707
+ * @type {number}
1677
1708
  * @memberof SessionResponse
1678
1709
  */
1679
- 'updated_at': string;
1710
+ 'updated_at': number;
1680
1711
  /**
1681
1712
  *
1682
1713
  * @type {boolean}
@@ -1757,103 +1788,75 @@ export interface SessionsResponse {
1757
1788
  * @interface SignPayloadRequest
1758
1789
  */
1759
1790
  export interface SignPayloadRequest {
1760
- /**
1761
- * Payload to sign
1762
- * @type {string}
1763
- * @memberof SignPayloadRequest
1764
- */
1765
- 'payload': string;
1766
- }
1767
- /**
1768
- *
1769
- * @export
1770
- * @interface SignPayloadResponse
1771
- */
1772
- export interface SignPayloadResponse {
1773
- /**
1774
- *
1775
- * @type {string}
1776
- * @memberof SignPayloadResponse
1777
- */
1778
- 'object': string;
1779
1791
  /**
1780
1792
  *
1781
- * @type {string}
1782
- * @memberof SignPayloadResponse
1793
+ * @type {DomainData}
1794
+ * @memberof SignPayloadRequest
1783
1795
  */
1784
- 'account': string;
1796
+ 'domain': DomainData;
1785
1797
  /**
1786
1798
  *
1787
- * @type {string}
1788
- * @memberof SignPayloadResponse
1799
+ * @type {{ [key: string]: Array<TypedDataField>; }}
1800
+ * @memberof SignPayloadRequest
1789
1801
  */
1790
- 'address': string;
1802
+ 'types': {
1803
+ [key: string]: Array<TypedDataField>;
1804
+ };
1791
1805
  /**
1792
1806
  *
1793
1807
  * @type {string}
1794
- * @memberof SignPayloadResponse
1808
+ * @memberof SignPayloadRequest
1795
1809
  */
1796
- 'payload': string;
1810
+ 'primaryType'?: string;
1797
1811
  /**
1798
1812
  *
1799
- * @type {string}
1800
- * @memberof SignPayloadResponse
1813
+ * @type {{ [key: string]: any; }}
1814
+ * @memberof SignPayloadRequest
1801
1815
  */
1802
- 'signature': string;
1803
- }
1804
- /**
1805
- *
1806
- * @export
1807
- * @interface SignTextRequest
1808
- */
1809
- export interface SignTextRequest {
1816
+ 'value': {
1817
+ [key: string]: any;
1818
+ };
1810
1819
  /**
1811
- * Text to sign
1820
+ * Hash to verify and that will be signed
1812
1821
  * @type {string}
1813
- * @memberof SignTextRequest
1822
+ * @memberof SignPayloadRequest
1814
1823
  */
1815
- 'text': string;
1824
+ 'hash': string;
1816
1825
  }
1817
1826
  /**
1818
1827
  *
1819
1828
  * @export
1820
- * @interface SignTextResponse
1829
+ * @interface SignPayloadResponse
1821
1830
  */
1822
- export interface SignTextResponse {
1831
+ export interface SignPayloadResponse {
1823
1832
  /**
1824
1833
  *
1825
1834
  * @type {string}
1826
- * @memberof SignTextResponse
1835
+ * @memberof SignPayloadResponse
1827
1836
  */
1828
1837
  'object': string;
1829
1838
  /**
1830
1839
  *
1831
1840
  * @type {string}
1832
- * @memberof SignTextResponse
1841
+ * @memberof SignPayloadResponse
1833
1842
  */
1834
1843
  'account': string;
1835
1844
  /**
1836
1845
  *
1837
1846
  * @type {string}
1838
- * @memberof SignTextResponse
1847
+ * @memberof SignPayloadResponse
1839
1848
  */
1840
1849
  'address': string;
1841
1850
  /**
1842
1851
  *
1843
1852
  * @type {string}
1844
- * @memberof SignTextResponse
1845
- */
1846
- 'text': string;
1847
- /**
1848
- *
1849
- * @type {string}
1850
- * @memberof SignTextResponse
1853
+ * @memberof SignPayloadResponse
1851
1854
  */
1852
- 'digest': string;
1855
+ 'hash': string;
1853
1856
  /**
1854
1857
  *
1855
1858
  * @type {string}
1856
- * @memberof SignTextResponse
1859
+ * @memberof SignPayloadResponse
1857
1860
  */
1858
1861
  'signature': string;
1859
1862
  }
@@ -1889,28 +1892,13 @@ export type SortOrder = typeof SortOrder[keyof typeof SortOrder];
1889
1892
  /**
1890
1893
  *
1891
1894
  * @export
1892
- * @interface Strategy
1895
+ * @enum {string}
1893
1896
  */
1894
- export interface Strategy {
1895
- /**
1896
- *
1897
- * @type {string}
1898
- * @memberof Strategy
1899
- */
1900
- 'sponsor_schema': string;
1901
- /**
1902
- *
1903
- * @type {string}
1904
- * @memberof Strategy
1905
- */
1906
- 'token_contract': string | null;
1907
- /**
1908
- *
1909
- * @type {string}
1910
- * @memberof Strategy
1911
- */
1912
- 'token_contract_amount': string | null;
1913
- }
1897
+ export declare const SponsorSchema: {
1898
+ readonly PayForUser: "pay_for_user";
1899
+ readonly ChargeCustomTokens: "charge_custom_tokens";
1900
+ };
1901
+ export type SponsorSchema = typeof SponsorSchema[keyof typeof SponsorSchema];
1914
1902
  /**
1915
1903
  *
1916
1904
  * @export
@@ -1999,16 +1987,16 @@ export interface TransactionIntentResponse {
1999
1987
  'object': string;
2000
1988
  /**
2001
1989
  *
2002
- * @type {string}
1990
+ * @type {number}
2003
1991
  * @memberof TransactionIntentResponse
2004
1992
  */
2005
- 'created_at': string;
1993
+ 'created_at': number;
2006
1994
  /**
2007
1995
  *
2008
- * @type {string}
1996
+ * @type {number}
2009
1997
  * @memberof TransactionIntentResponse
2010
1998
  */
2011
- 'updated_at': string;
1999
+ 'updated_at': number;
2012
2000
  /**
2013
2001
  *
2014
2002
  * @type {number}
@@ -2084,10 +2072,10 @@ export interface TransactionIntentResponseAccount {
2084
2072
  'object': string;
2085
2073
  /**
2086
2074
  *
2087
- * @type {string}
2075
+ * @type {number}
2088
2076
  * @memberof TransactionIntentResponseAccount
2089
2077
  */
2090
- 'created_at': string;
2078
+ 'created_at': number;
2091
2079
  /**
2092
2080
  *
2093
2081
  * @type {string}
@@ -2139,10 +2127,10 @@ export interface TransactionIntentResponsePlayer {
2139
2127
  'object': string;
2140
2128
  /**
2141
2129
  *
2142
- * @type {string}
2130
+ * @type {number}
2143
2131
  * @memberof TransactionIntentResponsePlayer
2144
2132
  */
2145
- 'created_at': string;
2133
+ 'created_at': number;
2146
2134
  /**
2147
2135
  *
2148
2136
  * @type {string}
@@ -2200,10 +2188,10 @@ export interface TransactionIntentResponsePolicy {
2200
2188
  'object': string;
2201
2189
  /**
2202
2190
  *
2203
- * @type {string}
2191
+ * @type {number}
2204
2192
  * @memberof TransactionIntentResponsePolicy
2205
2193
  */
2206
- 'created_at': string;
2194
+ 'created_at': number;
2207
2195
  /**
2208
2196
  *
2209
2197
  * @type {string}
@@ -2218,10 +2206,10 @@ export interface TransactionIntentResponsePolicy {
2218
2206
  'chain_id': number;
2219
2207
  /**
2220
2208
  *
2221
- * @type {any}
2209
+ * @type {PolicyStrategy}
2222
2210
  * @memberof TransactionIntentResponsePolicy
2223
2211
  */
2224
- 'strategy': any;
2212
+ 'strategy': PolicyStrategy;
2225
2213
  /**
2226
2214
  *
2227
2215
  * @type {Array<PolicyResponseTransactionIntentsInner>}
@@ -2279,6 +2267,50 @@ export interface TransferOwnershipRequest {
2279
2267
  */
2280
2268
  'policy': string;
2281
2269
  }
2270
+ /**
2271
+ *
2272
+ * @export
2273
+ * @interface TypedDataField
2274
+ */
2275
+ export interface TypedDataField {
2276
+ /**
2277
+ *
2278
+ * @type {string}
2279
+ * @memberof TypedDataField
2280
+ */
2281
+ 'name': string;
2282
+ /**
2283
+ *
2284
+ * @type {string}
2285
+ * @memberof TypedDataField
2286
+ */
2287
+ 'type': string;
2288
+ }
2289
+ /**
2290
+ *
2291
+ * @export
2292
+ * @interface UpdatePolicyRequest
2293
+ */
2294
+ export interface UpdatePolicyRequest {
2295
+ /**
2296
+ *
2297
+ * @type {string}
2298
+ * @memberof UpdatePolicyRequest
2299
+ */
2300
+ 'name'?: string;
2301
+ /**
2302
+ *
2303
+ * @type {number}
2304
+ * @memberof UpdatePolicyRequest
2305
+ */
2306
+ 'chain_id'?: number;
2307
+ /**
2308
+ *
2309
+ * @type {PolicyStrategy}
2310
+ * @memberof UpdatePolicyRequest
2311
+ */
2312
+ 'strategy'?: PolicyStrategy;
2313
+ }
2282
2314
  /**
2283
2315
  * AccountsApi - axios parameter creator
2284
2316
  * @export
@@ -2323,14 +2355,6 @@ export declare const AccountsApiAxiosParamCreator: (configuration?: Configuratio
2323
2355
  * @throws {RequiredError}
2324
2356
  */
2325
2357
  signPayload: (id: string, signPayloadRequest: SignPayloadRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2326
- /**
2327
- * Sign a given text
2328
- * @param {string} id Specifies the unique account ID.
2329
- * @param {SignTextRequest} signTextRequest
2330
- * @param {*} [options] Override http request option.
2331
- * @throws {RequiredError}
2332
- */
2333
- signText: (id: string, signTextRequest: SignTextRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2334
2358
  /**
2335
2359
  * Request the ownership transfer of an account to a given address.
2336
2360
  * @param {string} id Specifies the unique account ID.
@@ -2384,14 +2408,6 @@ export declare const AccountsApiFp: (configuration?: Configuration) => {
2384
2408
  * @throws {RequiredError}
2385
2409
  */
2386
2410
  signPayload(id: string, signPayloadRequest: SignPayloadRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SignPayloadResponse>>;
2387
- /**
2388
- * Sign a given text
2389
- * @param {string} id Specifies the unique account ID.
2390
- * @param {SignTextRequest} signTextRequest
2391
- * @param {*} [options] Override http request option.
2392
- * @throws {RequiredError}
2393
- */
2394
- signText(id: string, signTextRequest: SignTextRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SignTextResponse>>;
2395
2411
  /**
2396
2412
  * Request the ownership transfer of an account to a given address.
2397
2413
  * @param {string} id Specifies the unique account ID.
@@ -2445,14 +2461,6 @@ export declare const AccountsApiFactory: (configuration?: Configuration, basePat
2445
2461
  * @throws {RequiredError}
2446
2462
  */
2447
2463
  signPayload(id: string, signPayloadRequest: SignPayloadRequest, options?: any): AxiosPromise<SignPayloadResponse>;
2448
- /**
2449
- * Sign a given text
2450
- * @param {string} id Specifies the unique account ID.
2451
- * @param {SignTextRequest} signTextRequest
2452
- * @param {*} [options] Override http request option.
2453
- * @throws {RequiredError}
2454
- */
2455
- signText(id: string, signTextRequest: SignTextRequest, options?: any): AxiosPromise<SignTextResponse>;
2456
2464
  /**
2457
2465
  * Request the ownership transfer of an account to a given address.
2458
2466
  * @param {string} id Specifies the unique account ID.
@@ -2513,15 +2521,6 @@ export declare class AccountsApi extends BaseAPI {
2513
2521
  * @memberof AccountsApi
2514
2522
  */
2515
2523
  signPayload(id: string, signPayloadRequest: SignPayloadRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SignPayloadResponse, any>>;
2516
- /**
2517
- * Sign a given text
2518
- * @param {string} id Specifies the unique account ID.
2519
- * @param {SignTextRequest} signTextRequest
2520
- * @param {*} [options] Override http request option.
2521
- * @throws {RequiredError}
2522
- * @memberof AccountsApi
2523
- */
2524
- signText(id: string, signTextRequest: SignTextRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SignTextResponse, any>>;
2525
2524
  /**
2526
2525
  * Request the ownership transfer of an account to a given address.
2527
2526
  * @param {string} id Specifies the unique account ID.
@@ -3053,11 +3052,11 @@ export declare class PlayersApi extends BaseAPI {
3053
3052
  export declare const PoliciesApiAxiosParamCreator: (configuration?: Configuration) => {
3054
3053
  /**
3055
3054
  * Creates a policy object.
3056
- * @param {PolicyRequest} policyRequest
3055
+ * @param {CreatePolicyRequest} createPolicyRequest
3057
3056
  * @param {*} [options] Override http request option.
3058
3057
  * @throws {RequiredError}
3059
3058
  */
3060
- createPolicy: (policyRequest: PolicyRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3059
+ createPolicy: (createPolicyRequest: CreatePolicyRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3061
3060
  /**
3062
3061
  *
3063
3062
  * @param {string} id
@@ -3078,10 +3077,11 @@ export declare const PoliciesApiAxiosParamCreator: (configuration?: Configuratio
3078
3077
  * @param {number} [limit]
3079
3078
  * @param {Array<string>} [expand]
3080
3079
  * @param {number} [skip]
3080
+ * @param {SortOrder} [order]
3081
3081
  * @param {*} [options] Override http request option.
3082
3082
  * @throws {RequiredError}
3083
3083
  */
3084
- getPolicies: (limit?: number, expand?: Array<string>, skip?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3084
+ getPolicies: (limit?: number, expand?: Array<string>, skip?: number, order?: SortOrder, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3085
3085
  /**
3086
3086
  * Gets a policy object for a given project.
3087
3087
  * @param {string} id
@@ -3119,11 +3119,11 @@ export declare const PoliciesApiAxiosParamCreator: (configuration?: Configuratio
3119
3119
  /**
3120
3120
  * Updates a policy object.
3121
3121
  * @param {string} id
3122
- * @param {PolicyUpdateRequest} policyUpdateRequest
3122
+ * @param {UpdatePolicyRequest} updatePolicyRequest
3123
3123
  * @param {*} [options] Override http request option.
3124
3124
  * @throws {RequiredError}
3125
3125
  */
3126
- updatePolicy: (id: string, policyUpdateRequest: PolicyUpdateRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3126
+ updatePolicy: (id: string, updatePolicyRequest: UpdatePolicyRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3127
3127
  /**
3128
3128
  *
3129
3129
  * @param {string} policy
@@ -3141,11 +3141,11 @@ export declare const PoliciesApiAxiosParamCreator: (configuration?: Configuratio
3141
3141
  export declare const PoliciesApiFp: (configuration?: Configuration) => {
3142
3142
  /**
3143
3143
  * Creates a policy object.
3144
- * @param {PolicyRequest} policyRequest
3144
+ * @param {CreatePolicyRequest} createPolicyRequest
3145
3145
  * @param {*} [options] Override http request option.
3146
3146
  * @throws {RequiredError}
3147
3147
  */
3148
- createPolicy(policyRequest: PolicyRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PolicyResponse>>;
3148
+ createPolicy(createPolicyRequest: CreatePolicyRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PolicyResponse>>;
3149
3149
  /**
3150
3150
  *
3151
3151
  * @param {string} id
@@ -3166,10 +3166,11 @@ export declare const PoliciesApiFp: (configuration?: Configuration) => {
3166
3166
  * @param {number} [limit]
3167
3167
  * @param {Array<string>} [expand]
3168
3168
  * @param {number} [skip]
3169
+ * @param {SortOrder} [order]
3169
3170
  * @param {*} [options] Override http request option.
3170
3171
  * @throws {RequiredError}
3171
3172
  */
3172
- getPolicies(limit?: number, expand?: Array<string>, skip?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PoliciesResponse>>;
3173
+ getPolicies(limit?: number, expand?: Array<string>, skip?: number, order?: SortOrder, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PoliciesResponse>>;
3173
3174
  /**
3174
3175
  * Gets a policy object for a given project.
3175
3176
  * @param {string} id
@@ -3207,11 +3208,11 @@ export declare const PoliciesApiFp: (configuration?: Configuration) => {
3207
3208
  /**
3208
3209
  * Updates a policy object.
3209
3210
  * @param {string} id
3210
- * @param {PolicyUpdateRequest} policyUpdateRequest
3211
+ * @param {UpdatePolicyRequest} updatePolicyRequest
3211
3212
  * @param {*} [options] Override http request option.
3212
3213
  * @throws {RequiredError}
3213
3214
  */
3214
- updatePolicy(id: string, policyUpdateRequest: PolicyUpdateRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PolicyResponse>>;
3215
+ updatePolicy(id: string, updatePolicyRequest: UpdatePolicyRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PolicyResponse>>;
3215
3216
  /**
3216
3217
  *
3217
3218
  * @param {string} policy
@@ -3229,11 +3230,11 @@ export declare const PoliciesApiFp: (configuration?: Configuration) => {
3229
3230
  export declare const PoliciesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
3230
3231
  /**
3231
3232
  * Creates a policy object.
3232
- * @param {PolicyRequest} policyRequest
3233
+ * @param {CreatePolicyRequest} createPolicyRequest
3233
3234
  * @param {*} [options] Override http request option.
3234
3235
  * @throws {RequiredError}
3235
3236
  */
3236
- createPolicy(policyRequest: PolicyRequest, options?: any): AxiosPromise<PolicyResponse>;
3237
+ createPolicy(createPolicyRequest: CreatePolicyRequest, options?: any): AxiosPromise<PolicyResponse>;
3237
3238
  /**
3238
3239
  *
3239
3240
  * @param {string} id
@@ -3254,10 +3255,11 @@ export declare const PoliciesApiFactory: (configuration?: Configuration, basePat
3254
3255
  * @param {number} [limit]
3255
3256
  * @param {Array<string>} [expand]
3256
3257
  * @param {number} [skip]
3258
+ * @param {SortOrder} [order]
3257
3259
  * @param {*} [options] Override http request option.
3258
3260
  * @throws {RequiredError}
3259
3261
  */
3260
- getPolicies(limit?: number, expand?: Array<string>, skip?: number, options?: any): AxiosPromise<PoliciesResponse>;
3262
+ getPolicies(limit?: number, expand?: Array<string>, skip?: number, order?: SortOrder, options?: any): AxiosPromise<PoliciesResponse>;
3261
3263
  /**
3262
3264
  * Gets a policy object for a given project.
3263
3265
  * @param {string} id
@@ -3295,11 +3297,11 @@ export declare const PoliciesApiFactory: (configuration?: Configuration, basePat
3295
3297
  /**
3296
3298
  * Updates a policy object.
3297
3299
  * @param {string} id
3298
- * @param {PolicyUpdateRequest} policyUpdateRequest
3300
+ * @param {UpdatePolicyRequest} updatePolicyRequest
3299
3301
  * @param {*} [options] Override http request option.
3300
3302
  * @throws {RequiredError}
3301
3303
  */
3302
- updatePolicy(id: string, policyUpdateRequest: PolicyUpdateRequest, options?: any): AxiosPromise<PolicyResponse>;
3304
+ updatePolicy(id: string, updatePolicyRequest: UpdatePolicyRequest, options?: any): AxiosPromise<PolicyResponse>;
3303
3305
  /**
3304
3306
  *
3305
3307
  * @param {string} policy
@@ -3319,12 +3321,12 @@ export declare const PoliciesApiFactory: (configuration?: Configuration, basePat
3319
3321
  export declare class PoliciesApi extends BaseAPI {
3320
3322
  /**
3321
3323
  * Creates a policy object.
3322
- * @param {PolicyRequest} policyRequest
3324
+ * @param {CreatePolicyRequest} createPolicyRequest
3323
3325
  * @param {*} [options] Override http request option.
3324
3326
  * @throws {RequiredError}
3325
3327
  * @memberof PoliciesApi
3326
3328
  */
3327
- createPolicy(policyRequest: PolicyRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PolicyResponse, any>>;
3329
+ createPolicy(createPolicyRequest: CreatePolicyRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PolicyResponse, any>>;
3328
3330
  /**
3329
3331
  *
3330
3332
  * @param {string} id
@@ -3347,11 +3349,12 @@ export declare class PoliciesApi extends BaseAPI {
3347
3349
  * @param {number} [limit]
3348
3350
  * @param {Array<string>} [expand]
3349
3351
  * @param {number} [skip]
3352
+ * @param {SortOrder} [order]
3350
3353
  * @param {*} [options] Override http request option.
3351
3354
  * @throws {RequiredError}
3352
3355
  * @memberof PoliciesApi
3353
3356
  */
3354
- getPolicies(limit?: number, expand?: Array<string>, skip?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PoliciesResponse, any>>;
3357
+ getPolicies(limit?: number, expand?: Array<string>, skip?: number, order?: SortOrder, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PoliciesResponse, any>>;
3355
3358
  /**
3356
3359
  * Gets a policy object for a given project.
3357
3360
  * @param {string} id
@@ -3393,12 +3396,12 @@ export declare class PoliciesApi extends BaseAPI {
3393
3396
  /**
3394
3397
  * Updates a policy object.
3395
3398
  * @param {string} id
3396
- * @param {PolicyUpdateRequest} policyUpdateRequest
3399
+ * @param {UpdatePolicyRequest} updatePolicyRequest
3397
3400
  * @param {*} [options] Override http request option.
3398
3401
  * @throws {RequiredError}
3399
3402
  * @memberof PoliciesApi
3400
3403
  */
3401
- updatePolicy(id: string, policyUpdateRequest: PolicyUpdateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PolicyResponse, any>>;
3404
+ updatePolicy(id: string, updatePolicyRequest: UpdatePolicyRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PolicyResponse, any>>;
3402
3405
  /**
3403
3406
  *
3404
3407
  * @param {string} policy