wapi-client 0.12.5-beta.0 → 0.12.5-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/ws-client.cjs +1 -1
- package/dist/api/ws-client.js +1 -1
- package/dist/client.browser.cjs +1 -5
- package/dist/client.browser.js +1 -5
- package/dist/client.cjs +2 -6
- package/dist/client.d.ts +48 -48
- package/dist/client.js +2 -6
- package/dist/db/consts.browser.cjs +600 -0
- package/dist/db/consts.browser.js +600 -0
- package/dist/db/consts.cjs +601 -0
- package/dist/db/consts.d.ts +1 -0
- package/dist/db/consts.enums.d.ts +2 -1
- package/dist/db/consts.js +600 -0
- package/dist/fns/aggregate-transfers/aggregate-transfers.d.ts +1 -1
- package/dist/fns/aggregate-transfers/aggregate-transfers.schema.zod.d.ts +9 -9
- package/dist/fns/get-statistics/get-statistics.browser.cjs +30 -5
- package/dist/fns/get-statistics/get-statistics.browser.js +33 -5
- package/dist/fns/get-statistics/get-statistics.cjs +30 -5
- package/dist/fns/get-statistics/get-statistics.d.ts +1 -1
- package/dist/fns/get-statistics/get-statistics.enums.d.ts +2 -2
- package/dist/fns/get-statistics/get-statistics.js +33 -5
- package/dist/fns/get-statistics/get-statistics.schema.zod.browser.cjs +4012 -5
- package/dist/fns/get-statistics/get-statistics.schema.zod.browser.js +4014 -7
- package/dist/fns/get-statistics/get-statistics.schema.zod.cjs +18 -5
- package/dist/fns/get-statistics/get-statistics.schema.zod.d.ts +47 -144
- package/dist/fns/get-statistics/get-statistics.schema.zod.js +19 -7
- package/dist/fns/index.d.ts +20 -133
- package/dist/lib/query-builder/aggregate-query-builder.d.ts +5 -5
- package/dist/txs/aggregate-transfer-many/aggregate-transfer-many.schema.zod.d.ts +21 -21
- package/dist/txs/consts.browser.cjs +3 -3
- package/dist/txs/consts.browser.js +8 -4
- package/dist/txs/consts.cjs +3 -3
- package/dist/txs/consts.d.ts +34 -34
- package/dist/txs/consts.enums.d.ts +2 -2
- package/dist/txs/consts.js +8 -4
- package/dist/txs/get-statistics/get-statistics.schema.zod.d.ts +12 -12
- package/dist/txs/index.d.ts +2 -2
- package/dist/types/index.d.ts +157 -365
- package/dist/wapi-client-web.iife.js +1 -1
- package/dist/wapi-client.iife.js +1 -1
- package/package.json +1 -1
package/dist/api/ws-client.cjs
CHANGED
|
@@ -76,7 +76,7 @@ var import_base_client = require('./base-client.cjs');
|
|
|
76
76
|
var import_connection = require('./connection/connection.enums.cjs');
|
|
77
77
|
var import__ = require('../index.cjs');
|
|
78
78
|
var _a;
|
|
79
|
-
var CLIENT_VERSION = (_a = '0.12.5-beta.
|
|
79
|
+
var CLIENT_VERSION = (_a = '0.12.5-beta.1') != null ? _a : "";
|
|
80
80
|
function createWsClient(opts, config) {
|
|
81
81
|
const initialConnection = createConnection(opts, {
|
|
82
82
|
timeout: config == null ? void 0 : config.connectingTimeout
|
package/dist/api/ws-client.js
CHANGED
|
@@ -48,7 +48,7 @@ import {
|
|
|
48
48
|
} from "./connection/connection.enums";
|
|
49
49
|
import { WapiClientType } from "../index";
|
|
50
50
|
var _a;
|
|
51
|
-
var CLIENT_VERSION = (_a = '0.12.5-beta.
|
|
51
|
+
var CLIENT_VERSION = (_a = '0.12.5-beta.1') != null ? _a : "";
|
|
52
52
|
function createWsClient(opts, config) {
|
|
53
53
|
const initialConnection = createConnection(opts, {
|
|
54
54
|
timeout: config == null ? void 0 : config.connectingTimeout
|
package/dist/client.browser.cjs
CHANGED
|
@@ -1472,11 +1472,7 @@ var Client = class {
|
|
|
1472
1472
|
*
|
|
1473
1473
|
*/
|
|
1474
1474
|
getStatistics(input, options) {
|
|
1475
|
-
return import_fns.ClientFunctions.getStatistics(
|
|
1476
|
-
{ client: this },
|
|
1477
|
-
input != null ? input : {},
|
|
1478
|
-
options
|
|
1479
|
-
);
|
|
1475
|
+
return import_fns.ClientFunctions.getStatistics({ client: this }, input, options);
|
|
1480
1476
|
}
|
|
1481
1477
|
/**
|
|
1482
1478
|
*
|
package/dist/client.browser.js
CHANGED
|
@@ -1453,11 +1453,7 @@ var Client = class {
|
|
|
1453
1453
|
*
|
|
1454
1454
|
*/
|
|
1455
1455
|
getStatistics(input, options) {
|
|
1456
|
-
return ClientFunctions.getStatistics(
|
|
1457
|
-
{ client: this },
|
|
1458
|
-
input != null ? input : {},
|
|
1459
|
-
options
|
|
1460
|
-
);
|
|
1456
|
+
return ClientFunctions.getStatistics({ client: this }, input, options);
|
|
1461
1457
|
}
|
|
1462
1458
|
/**
|
|
1463
1459
|
*
|
package/dist/client.cjs
CHANGED
|
@@ -63,7 +63,7 @@ var import_api = require('./api/index.cjs');
|
|
|
63
63
|
var import_errors = require('./lib/errors.cjs');
|
|
64
64
|
var import_fns = require('./fns/index.cjs');
|
|
65
65
|
var _a;
|
|
66
|
-
var CLIENT_VERSION = (_a = '0.12.5-beta.
|
|
66
|
+
var CLIENT_VERSION = (_a = '0.12.5-beta.1') != null ? _a : "";
|
|
67
67
|
var Client = class {
|
|
68
68
|
/**
|
|
69
69
|
* @internal
|
|
@@ -1472,11 +1472,7 @@ var Client = class {
|
|
|
1472
1472
|
*
|
|
1473
1473
|
*/
|
|
1474
1474
|
getStatistics(input, options) {
|
|
1475
|
-
return import_fns.ClientFunctions.getStatistics(
|
|
1476
|
-
{ client: this },
|
|
1477
|
-
input != null ? input : {},
|
|
1478
|
-
options
|
|
1479
|
-
);
|
|
1475
|
+
return import_fns.ClientFunctions.getStatistics({ client: this }, input, options);
|
|
1480
1476
|
}
|
|
1481
1477
|
/**
|
|
1482
1478
|
*
|
package/dist/client.d.ts
CHANGED
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
import { WapiConnectionOptions, WapiHttpConnectionOptions, WsClient, HttpClient, ConnectionConfig } from
|
|
2
|
-
import { ClientHooks, ISocketId } from
|
|
3
|
-
import { StreamPromise } from
|
|
4
|
-
import { AggregateTransfersFnInput, AggregateTransfersFnOptions } from
|
|
5
|
-
import { CreateAccessTokenFnInput, CreateAccessTokenFnOptions, CreateAccessTokenFnOutput } from
|
|
6
|
-
import { CreateContractFnInput, CreateContractFnOptions, CreateContractFnOutput } from
|
|
7
|
-
import { CreateDepositFnInput, CreateDepositFnOptions, CreateDepositFnOutput } from
|
|
8
|
-
import { CreateExchangeFnInput, CreateExchangeFnOptions, CreateExchangeFnOutput } from
|
|
9
|
-
import { CreateTokenFnInput, CreateTokenFnOptions, CreateTokenFnOutput } from
|
|
10
|
-
import { CreateTransferFnInput, CreateTransferFnOptions, CreateTransferFnOutput } from
|
|
11
|
-
import { CreateTransferGroupFnInput, CreateTransferGroupFnOptions, CreateTransferGroupFnOutput } from
|
|
12
|
-
import { CreateTransfersFnInput, CreateTransfersFnOptions, CreateTransfersFnOutput } from
|
|
13
|
-
import { CreateWalletFnInput, CreateWalletFnOptions, CreateWalletFnOutput } from
|
|
14
|
-
import { CreateWithdrawalFnInput, CreateWithdrawalFnOptions, CreateWithdrawalFnOutput } from
|
|
15
|
-
import { ExportBalanceHistoryFnInput, ExportBalanceHistoryFnOptions, ExportBalanceHistoryFnOutput } from
|
|
16
|
-
import { ExportTokensFnInput, ExportTokensFnOptions } from
|
|
17
|
-
import { ExportTransferGroupsFnInput, ExportTransferGroupsFnOptions } from
|
|
18
|
-
import { ExportTransfersFnInput, ExportTransfersFnOptions } from
|
|
19
|
-
import { ExportWalletsFnInput, ExportWalletsFnOptions } from
|
|
20
|
-
import { FindBalancesFnInput, FindBalancesFnOptions } from
|
|
21
|
-
import { FindTokensFnInput, FindTokensFnOptions } from
|
|
22
|
-
import { FindTransferGroupsFnInput, FindTransferGroupsFnOptions } from
|
|
23
|
-
import { FindTransfersFnInput, FindTransfersFnOptions } from
|
|
24
|
-
import { FindWalletsFnInput, FindWalletsFnOptions } from
|
|
25
|
-
import { GetBalanceFnInput, GetBalanceFnOptions, GetBalanceFnOutput } from
|
|
26
|
-
import { GetBalanceHistoryFnInput, GetBalanceHistoryFnOptions, GetBalanceHistoryFnOutput } from
|
|
27
|
-
import { GetExportFnInput, GetExportFnOptions, GetExportFnOutput } from
|
|
28
|
-
import { GetFlagsFnInput, GetFlagsFnOptions, GetFlagsFnOutput } from
|
|
29
|
-
import { GetStatisticsFnInput, GetStatisticsFnOptions, GetStatisticsFnOutput } from
|
|
30
|
-
import { GetTokenFnInput, GetTokenFnOptions, GetTokenFnOutput } from
|
|
31
|
-
import { GetTransferFnInput, GetTransferFnOptions, GetTransferFnOutput } from
|
|
32
|
-
import { GetTransferGroupFnInput, GetTransferGroupFnOptions, GetTransferGroupFnOutput } from
|
|
33
|
-
import { GetWalletFnInput, GetWalletFnOptions, GetWalletFnOutput } from
|
|
34
|
-
import { HealthcheckFnInput, HealthcheckFnOptions, HealthcheckFnOutput } from
|
|
35
|
-
import { ListExportsFnInput, ListExportsFnOptions, ListExportsFnOutput } from
|
|
36
|
-
import { ReverseTransferFnInput, ReverseTransferFnOptions, ReverseTransferFnOutput } from
|
|
37
|
-
import { ReverseTransferGroupFnInput, ReverseTransferGroupFnOptions, ReverseTransferGroupFnOutput } from
|
|
38
|
-
import { ReverseTransfersFnInput, ReverseTransfersFnOptions } from
|
|
39
|
-
import { SetFlagsFnInput, SetFlagsFnOptions, SetFlagsFnOutput } from
|
|
40
|
-
import { UpdateTokenFnInput, UpdateTokenFnOptions, UpdateTokenFnOutput } from
|
|
41
|
-
import { UpdateTransferFnInput, UpdateTransferFnOptions, UpdateTransferFnOutput } from
|
|
42
|
-
import { UpdateTransferGroupFnInput, UpdateTransferGroupFnOptions, UpdateTransferGroupFnOutput } from
|
|
43
|
-
import { UpdateTransferGroupsFnInput, UpdateTransferGroupsFnOptions } from
|
|
44
|
-
import { UpdateTransfersFnInput, UpdateTransfersFnOptions } from
|
|
45
|
-
import { UpdateWalletFnInput, UpdateWalletFnOptions, UpdateWalletFnOutput } from
|
|
1
|
+
import { WapiConnectionOptions, WapiHttpConnectionOptions, WsClient, HttpClient, ConnectionConfig } from './api';
|
|
2
|
+
import { ClientHooks, ISocketId } from './api/base-client';
|
|
3
|
+
import { StreamPromise } from './lib/stream-promise';
|
|
4
|
+
import { AggregateTransfersFnInput, AggregateTransfersFnOptions } from './fns/aggregate-transfers/aggregate-transfers.enums';
|
|
5
|
+
import { CreateAccessTokenFnInput, CreateAccessTokenFnOptions, CreateAccessTokenFnOutput } from './fns/create-access-token/create-access-token.enums';
|
|
6
|
+
import { CreateContractFnInput, CreateContractFnOptions, CreateContractFnOutput } from './fns/create-contract/create-contract.enums';
|
|
7
|
+
import { CreateDepositFnInput, CreateDepositFnOptions, CreateDepositFnOutput } from './fns/create-deposit/create-deposit.enums';
|
|
8
|
+
import { CreateExchangeFnInput, CreateExchangeFnOptions, CreateExchangeFnOutput } from './fns/create-exchange/create-exchange.enums';
|
|
9
|
+
import { CreateTokenFnInput, CreateTokenFnOptions, CreateTokenFnOutput } from './fns/create-token/create-token.enums';
|
|
10
|
+
import { CreateTransferFnInput, CreateTransferFnOptions, CreateTransferFnOutput } from './fns/create-transfer/create-transfer.enums';
|
|
11
|
+
import { CreateTransferGroupFnInput, CreateTransferGroupFnOptions, CreateTransferGroupFnOutput } from './fns/create-transfer-group/create-transfer-group.enums';
|
|
12
|
+
import { CreateTransfersFnInput, CreateTransfersFnOptions, CreateTransfersFnOutput } from './fns/create-transfers/create-transfers.enums';
|
|
13
|
+
import { CreateWalletFnInput, CreateWalletFnOptions, CreateWalletFnOutput } from './fns/create-wallet/create-wallet.enums';
|
|
14
|
+
import { CreateWithdrawalFnInput, CreateWithdrawalFnOptions, CreateWithdrawalFnOutput } from './fns/create-withdrawal/create-withdrawal.enums';
|
|
15
|
+
import { ExportBalanceHistoryFnInput, ExportBalanceHistoryFnOptions, ExportBalanceHistoryFnOutput } from './fns/export-balance-history/export-balance-history.enums';
|
|
16
|
+
import { ExportTokensFnInput, ExportTokensFnOptions } from './fns/export-tokens/export-tokens.enums';
|
|
17
|
+
import { ExportTransferGroupsFnInput, ExportTransferGroupsFnOptions } from './fns/export-transfer-groups/export-transfer-groups.enums';
|
|
18
|
+
import { ExportTransfersFnInput, ExportTransfersFnOptions } from './fns/export-transfers/export-transfers.enums';
|
|
19
|
+
import { ExportWalletsFnInput, ExportWalletsFnOptions } from './fns/export-wallets/export-wallets.enums';
|
|
20
|
+
import { FindBalancesFnInput, FindBalancesFnOptions } from './fns/find-balances/find-balances.enums';
|
|
21
|
+
import { FindTokensFnInput, FindTokensFnOptions } from './fns/find-tokens/find-tokens.enums';
|
|
22
|
+
import { FindTransferGroupsFnInput, FindTransferGroupsFnOptions } from './fns/find-transfer-groups/find-transfer-groups.enums';
|
|
23
|
+
import { FindTransfersFnInput, FindTransfersFnOptions } from './fns/find-transfers/find-transfers.enums';
|
|
24
|
+
import { FindWalletsFnInput, FindWalletsFnOptions } from './fns/find-wallets/find-wallets.enums';
|
|
25
|
+
import { GetBalanceFnInput, GetBalanceFnOptions, GetBalanceFnOutput } from './fns/get-balance/get-balance.enums';
|
|
26
|
+
import { GetBalanceHistoryFnInput, GetBalanceHistoryFnOptions, GetBalanceHistoryFnOutput } from './fns/get-balance-history/get-balance-history.enums';
|
|
27
|
+
import { GetExportFnInput, GetExportFnOptions, GetExportFnOutput } from './fns/get-export/get-export.enums';
|
|
28
|
+
import { GetFlagsFnInput, GetFlagsFnOptions, GetFlagsFnOutput } from './fns/get-flags/get-flags.enums';
|
|
29
|
+
import { GetStatisticsFnInput, GetStatisticsFnOptions, GetStatisticsFnOutput } from './fns/get-statistics/get-statistics.enums';
|
|
30
|
+
import { GetTokenFnInput, GetTokenFnOptions, GetTokenFnOutput } from './fns/get-token/get-token.enums';
|
|
31
|
+
import { GetTransferFnInput, GetTransferFnOptions, GetTransferFnOutput } from './fns/get-transfer/get-transfer.enums';
|
|
32
|
+
import { GetTransferGroupFnInput, GetTransferGroupFnOptions, GetTransferGroupFnOutput } from './fns/get-transfer-group/get-transfer-group.enums';
|
|
33
|
+
import { GetWalletFnInput, GetWalletFnOptions, GetWalletFnOutput } from './fns/get-wallet/get-wallet.enums';
|
|
34
|
+
import { HealthcheckFnInput, HealthcheckFnOptions, HealthcheckFnOutput } from './fns/healthcheck/healthcheck.enums';
|
|
35
|
+
import { ListExportsFnInput, ListExportsFnOptions, ListExportsFnOutput } from './fns/list-exports/list-exports.enums';
|
|
36
|
+
import { ReverseTransferFnInput, ReverseTransferFnOptions, ReverseTransferFnOutput } from './fns/reverse-transfer/reverse-transfer.enums';
|
|
37
|
+
import { ReverseTransferGroupFnInput, ReverseTransferGroupFnOptions, ReverseTransferGroupFnOutput } from './fns/reverse-transfer-group/reverse-transfer-group.enums';
|
|
38
|
+
import { ReverseTransfersFnInput, ReverseTransfersFnOptions } from './fns/reverse-transfers/reverse-transfers.enums';
|
|
39
|
+
import { SetFlagsFnInput, SetFlagsFnOptions, SetFlagsFnOutput } from './fns/set-flags/set-flags.enums';
|
|
40
|
+
import { UpdateTokenFnInput, UpdateTokenFnOptions, UpdateTokenFnOutput } from './fns/update-token/update-token.enums';
|
|
41
|
+
import { UpdateTransferFnInput, UpdateTransferFnOptions, UpdateTransferFnOutput } from './fns/update-transfer/update-transfer.enums';
|
|
42
|
+
import { UpdateTransferGroupFnInput, UpdateTransferGroupFnOptions, UpdateTransferGroupFnOutput } from './fns/update-transfer-group/update-transfer-group.enums';
|
|
43
|
+
import { UpdateTransferGroupsFnInput, UpdateTransferGroupsFnOptions } from './fns/update-transfer-groups/update-transfer-groups.enums';
|
|
44
|
+
import { UpdateTransfersFnInput, UpdateTransfersFnOptions } from './fns/update-transfers/update-transfers.enums';
|
|
45
|
+
import { UpdateWalletFnInput, UpdateWalletFnOptions, UpdateWalletFnOutput } from './fns/update-wallet/update-wallet.enums';
|
|
46
46
|
export interface ClientConfig extends ConnectionConfig {
|
|
47
47
|
token?: number | string;
|
|
48
48
|
hooks?: ClientHooks;
|
|
@@ -122,8 +122,8 @@ export declare class Client {
|
|
|
122
122
|
*
|
|
123
123
|
* ```
|
|
124
124
|
*/
|
|
125
|
-
getConfig(key:
|
|
126
|
-
getConfig(key: keyof Omit<ClientConfig,
|
|
125
|
+
getConfig(key: 'httpSkipInitialAuthConnection'): boolean | undefined;
|
|
126
|
+
getConfig(key: keyof Omit<ClientConfig, 'hooks' | 'httpSkipInitialAuthConnection'>): number | string | undefined;
|
|
127
127
|
/**
|
|
128
128
|
*
|
|
129
129
|
* Aggregate Transfers using either a simple filter or queryBuilder
|
|
@@ -646,7 +646,7 @@ export declare class Client {
|
|
|
646
646
|
type: "period";
|
|
647
647
|
field: "year" | "month" | "week" | "day" | "hour" | "minute" | {
|
|
648
648
|
period: "year" | "month" | "week" | "day" | "hour" | "minute";
|
|
649
|
-
timezone: string;
|
|
649
|
+
timezone: "Africa/Abidjan" | "Africa/Accra" | "Africa/Addis_Ababa" | "Africa/Algiers" | "Africa/Asmara" | "Africa/Asmera" | "Africa/Bamako" | "Africa/Bangui" | "Africa/Banjul" | "Africa/Bissau" | "Africa/Blantyre" | "Africa/Brazzaville" | "Africa/Bujumbura" | "Africa/Cairo" | "Africa/Casablanca" | "Africa/Ceuta" | "Africa/Conakry" | "Africa/Dakar" | "Africa/Dar_es_Salaam" | "Africa/Djibouti" | "Africa/Douala" | "Africa/El_Aaiun" | "Africa/Freetown" | "Africa/Gaborone" | "Africa/Harare" | "Africa/Johannesburg" | "Africa/Juba" | "Africa/Kampala" | "Africa/Khartoum" | "Africa/Kigali" | "Africa/Kinshasa" | "Africa/Lagos" | "Africa/Libreville" | "Africa/Lome" | "Africa/Luanda" | "Africa/Lubumbashi" | "Africa/Lusaka" | "Africa/Malabo" | "Africa/Maputo" | "Africa/Maseru" | "Africa/Mbabane" | "Africa/Mogadishu" | "Africa/Monrovia" | "Africa/Nairobi" | "Africa/Ndjamena" | "Africa/Niamey" | "Africa/Nouakchott" | "Africa/Ouagadougou" | "Africa/Porto-Novo" | "Africa/Sao_Tome" | "Africa/Timbuktu" | "Africa/Tripoli" | "Africa/Tunis" | "Africa/Windhoek" | "America/Adak" | "America/Anchorage" | "America/Anguilla" | "America/Antigua" | "America/Araguaina" | "America/Argentina/Buenos_Aires" | "America/Argentina/Catamarca" | "America/Argentina/ComodRivadavia" | "America/Argentina/Cordoba" | "America/Argentina/Jujuy" | "America/Argentina/La_Rioja" | "America/Argentina/Mendoza" | "America/Argentina/Rio_Gallegos" | "America/Argentina/Salta" | "America/Argentina/San_Juan" | "America/Argentina/San_Luis" | "America/Argentina/Tucuman" | "America/Argentina/Ushuaia" | "America/Aruba" | "America/Asuncion" | "America/Atikokan" | "America/Atka" | "America/Bahia" | "America/Bahia_Banderas" | "America/Barbados" | "America/Belem" | "America/Belize" | "America/Blanc-Sablon" | "America/Boa_Vista" | "America/Bogota" | "America/Boise" | "America/Buenos_Aires" | "America/Cambridge_Bay" | "America/Campo_Grande" | "America/Cancun" | "America/Caracas" | "America/Catamarca" | "America/Cayenne" | "America/Cayman" | "America/Chicago" | "America/Chihuahua" | "America/Ciudad_Juarez" | "America/Coral_Harbour" | "America/Cordoba" | "America/Costa_Rica" | "America/Creston" | "America/Cuiaba" | "America/Curacao" | "America/Danmarkshavn" | "America/Dawson" | "America/Dawson_Creek" | "America/Denver" | "America/Detroit" | "America/Dominica" | "America/Edmonton" | "America/Eirunepe" | "America/El_Salvador" | "America/Ensenada" | "America/Fort_Nelson" | "America/Fort_Wayne" | "America/Fortaleza" | "America/Glace_Bay" | "America/Godthab" | "America/Goose_Bay" | "America/Grand_Turk" | "America/Grenada" | "America/Guadeloupe" | "America/Guatemala" | "America/Guayaquil" | "America/Guyana" | "America/Halifax" | "America/Havana" | "America/Hermosillo" | "America/Indiana/Indianapolis" | "America/Indiana/Knox" | "America/Indiana/Marengo" | "America/Indiana/Petersburg" | "America/Indiana/Tell_City" | "America/Indiana/Vevay" | "America/Indiana/Vincennes" | "America/Indiana/Winamac" | "America/Indianapolis" | "America/Inuvik" | "America/Iqaluit" | "America/Jamaica" | "America/Jujuy" | "America/Juneau" | "America/Kentucky/Louisville" | "America/Kentucky/Monticello" | "America/Knox_IN" | "America/Kralendijk" | "America/La_Paz" | "America/Lima" | "America/Los_Angeles" | "America/Louisville" | "America/Lower_Princes" | "America/Maceio" | "America/Managua" | "America/Manaus" | "America/Marigot" | "America/Martinique" | "America/Matamoros" | "America/Mazatlan" | "America/Mendoza" | "America/Menominee" | "America/Merida" | "America/Metlakatla" | "America/Mexico_City" | "America/Miquelon" | "America/Moncton" | "America/Monterrey" | "America/Montevideo" | "America/Montreal" | "America/Montserrat" | "America/Nassau" | "America/New_York" | "America/Nipigon" | "America/Nome" | "America/Noronha" | "America/North_Dakota/Beulah" | "America/North_Dakota/Center" | "America/North_Dakota/New_Salem" | "America/Nuuk" | "America/Ojinaga" | "America/Panama" | "America/Pangnirtung" | "America/Paramaribo" | "America/Phoenix" | "America/Port-au-Prince" | "America/Port_of_Spain" | "America/Porto_Acre" | "America/Porto_Velho" | "America/Puerto_Rico" | "America/Punta_Arenas" | "America/Rainy_River" | "America/Rankin_Inlet" | "America/Recife" | "America/Regina" | "America/Resolute" | "America/Rio_Branco" | "America/Rosario" | "America/Santa_Isabel" | "America/Santarem" | "America/Santiago" | "America/Santo_Domingo" | "America/Sao_Paulo" | "America/Scoresbysund" | "America/Shiprock" | "America/Sitka" | "America/St_Barthelemy" | "America/St_Johns" | "America/St_Kitts" | "America/St_Lucia" | "America/St_Thomas" | "America/St_Vincent" | "America/Swift_Current" | "America/Tegucigalpa" | "America/Thule" | "America/Thunder_Bay" | "America/Tijuana" | "America/Toronto" | "America/Tortola" | "America/Vancouver" | "America/Virgin" | "America/Whitehorse" | "America/Winnipeg" | "America/Yakutat" | "America/Yellowknife" | "Antarctica/Casey" | "Antarctica/Davis" | "Antarctica/DumontDUrville" | "Antarctica/Macquarie" | "Antarctica/Mawson" | "Antarctica/McMurdo" | "Antarctica/Palmer" | "Antarctica/Rothera" | "Antarctica/South_Pole" | "Antarctica/Syowa" | "Antarctica/Troll" | "Antarctica/Vostok" | "Arctic/Longyearbyen" | "Asia/Aden" | "Asia/Almaty" | "Asia/Amman" | "Asia/Anadyr" | "Asia/Aqtau" | "Asia/Aqtobe" | "Asia/Ashgabat" | "Asia/Ashkhabad" | "Asia/Atyrau" | "Asia/Baghdad" | "Asia/Bahrain" | "Asia/Baku" | "Asia/Bangkok" | "Asia/Barnaul" | "Asia/Beirut" | "Asia/Bishkek" | "Asia/Brunei" | "Asia/Calcutta" | "Asia/Chita" | "Asia/Choibalsan" | "Asia/Chongqing" | "Asia/Chungking" | "Asia/Colombo" | "Asia/Dacca" | "Asia/Damascus" | "Asia/Dhaka" | "Asia/Dili" | "Asia/Dubai" | "Asia/Dushanbe" | "Asia/Famagusta" | "Asia/Gaza" | "Asia/Harbin" | "Asia/Hebron" | "Asia/Ho_Chi_Minh" | "Asia/Hong_Kong" | "Asia/Hovd" | "Asia/Irkutsk" | "Asia/Istanbul" | "Asia/Jakarta" | "Asia/Jayapura" | "Asia/Jerusalem" | "Asia/Kabul" | "Asia/Kamchatka" | "Asia/Karachi" | "Asia/Kashgar" | "Asia/Kathmandu" | "Asia/Katmandu" | "Asia/Khandyga" | "Asia/Kolkata" | "Asia/Krasnoyarsk" | "Asia/Kuala_Lumpur" | "Asia/Kuching" | "Asia/Kuwait" | "Asia/Macao" | "Asia/Macau" | "Asia/Magadan" | "Asia/Makassar" | "Asia/Manila" | "Asia/Muscat" | "Asia/Nicosia" | "Asia/Novokuznetsk" | "Asia/Novosibirsk" | "Asia/Omsk" | "Asia/Oral" | "Asia/Phnom_Penh" | "Asia/Pontianak" | "Asia/Pyongyang" | "Asia/Qatar" | "Asia/Qostanay" | "Asia/Qyzylorda" | "Asia/Rangoon" | "Asia/Riyadh" | "Asia/Saigon" | "Asia/Sakhalin" | "Asia/Samarkand" | "Asia/Seoul" | "Asia/Shanghai" | "Asia/Singapore" | "Asia/Srednekolymsk" | "Asia/Taipei" | "Asia/Tashkent" | "Asia/Tbilisi" | "Asia/Tehran" | "Asia/Tel_Aviv" | "Asia/Thimbu" | "Asia/Thimphu" | "Asia/Tokyo" | "Asia/Tomsk" | "Asia/Ujung_Pandang" | "Asia/Ulaanbaatar" | "Asia/Ulan_Bator" | "Asia/Urumqi" | "Asia/Ust-Nera" | "Asia/Vientiane" | "Asia/Vladivostok" | "Asia/Yakutsk" | "Asia/Yangon" | "Asia/Yekaterinburg" | "Asia/Yerevan" | "Atlantic/Azores" | "Atlantic/Bermuda" | "Atlantic/Canary" | "Atlantic/Cape_Verde" | "Atlantic/Faeroe" | "Atlantic/Faroe" | "Atlantic/Jan_Mayen" | "Atlantic/Madeira" | "Atlantic/Reykjavik" | "Atlantic/South_Georgia" | "Atlantic/St_Helena" | "Atlantic/Stanley" | "Australia/ACT" | "Australia/Adelaide" | "Australia/Brisbane" | "Australia/Broken_Hill" | "Australia/Canberra" | "Australia/Currie" | "Australia/Darwin" | "Australia/Eucla" | "Australia/Hobart" | "Australia/LHI" | "Australia/Lindeman" | "Australia/Lord_Howe" | "Australia/Melbourne" | "Australia/NSW" | "Australia/North" | "Australia/Perth" | "Australia/Queensland" | "Australia/South" | "Australia/Sydney" | "Australia/Tasmania" | "Australia/Victoria" | "Australia/West" | "Australia/Yancowinna" | "Brazil/Acre" | "Brazil/DeNoronha" | "Brazil/East" | "Brazil/West" | "CET" | "CST6CDT" | "Canada/Atlantic" | "Canada/Central" | "Canada/Eastern" | "Canada/Mountain" | "Canada/Newfoundland" | "Canada/Pacific" | "Canada/Saskatchewan" | "Canada/Yukon" | "Chile/Continental" | "Chile/EasterIsland" | "Cuba" | "EET" | "EST" | "EST5EDT" | "Egypt" | "Eire" | "Etc/GMT" | "Etc/GMT+0" | "Etc/GMT+1" | "Etc/GMT+10" | "Etc/GMT+11" | "Etc/GMT+12" | "Etc/GMT+2" | "Etc/GMT+3" | "Etc/GMT+4" | "Etc/GMT+5" | "Etc/GMT+6" | "Etc/GMT+7" | "Etc/GMT+8" | "Etc/GMT+9" | "Etc/GMT-0" | "Etc/GMT-1" | "Etc/GMT-10" | "Etc/GMT-11" | "Etc/GMT-12" | "Etc/GMT-13" | "Etc/GMT-14" | "Etc/GMT-2" | "Etc/GMT-3" | "Etc/GMT-4" | "Etc/GMT-5" | "Etc/GMT-6" | "Etc/GMT-7" | "Etc/GMT-8" | "Etc/GMT-9" | "Etc/GMT0" | "Etc/Greenwich" | "Etc/UCT" | "Etc/UTC" | "Etc/Universal" | "Etc/Zulu" | "Europe/Amsterdam" | "Europe/Andorra" | "Europe/Astrakhan" | "Europe/Athens" | "Europe/Belfast" | "Europe/Belgrade" | "Europe/Berlin" | "Europe/Bratislava" | "Europe/Brussels" | "Europe/Bucharest" | "Europe/Budapest" | "Europe/Busingen" | "Europe/Chisinau" | "Europe/Copenhagen" | "Europe/Dublin" | "Europe/Gibraltar" | "Europe/Guernsey" | "Europe/Helsinki" | "Europe/Isle_of_Man" | "Europe/Istanbul" | "Europe/Jersey" | "Europe/Kaliningrad" | "Europe/Kiev" | "Europe/Kirov" | "Europe/Kyiv" | "Europe/Lisbon" | "Europe/Ljubljana" | "Europe/London" | "Europe/Luxembourg" | "Europe/Madrid" | "Europe/Malta" | "Europe/Mariehamn" | "Europe/Minsk" | "Europe/Monaco" | "Europe/Moscow" | "Europe/Nicosia" | "Europe/Oslo" | "Europe/Paris" | "Europe/Podgorica" | "Europe/Prague" | "Europe/Riga" | "Europe/Rome" | "Europe/Samara" | "Europe/San_Marino" | "Europe/Sarajevo" | "Europe/Saratov" | "Europe/Simferopol" | "Europe/Skopje" | "Europe/Sofia" | "Europe/Stockholm" | "Europe/Tallinn" | "Europe/Tirane" | "Europe/Tiraspol" | "Europe/Ulyanovsk" | "Europe/Uzhgorod" | "Europe/Vaduz" | "Europe/Vatican" | "Europe/Vienna" | "Europe/Vilnius" | "Europe/Volgograd" | "Europe/Warsaw" | "Europe/Zagreb" | "Europe/Zaporozhye" | "Europe/Zurich" | "Factory" | "GB" | "GB-Eire" | "GMT" | "GMT+0" | "GMT-0" | "GMT0" | "Greenwich" | "HST" | "Hongkong" | "Iceland" | "Indian/Antananarivo" | "Indian/Chagos" | "Indian/Christmas" | "Indian/Cocos" | "Indian/Comoro" | "Indian/Kerguelen" | "Indian/Mahe" | "Indian/Maldives" | "Indian/Mauritius" | "Indian/Mayotte" | "Indian/Reunion" | "Iran" | "Israel" | "Jamaica" | "Japan" | "Kwajalein" | "Libya" | "MET" | "MST" | "MST7MDT" | "Mexico/BajaNorte" | "Mexico/BajaSur" | "Mexico/General" | "NZ" | "NZ-CHAT" | "Navajo" | "PRC" | "PST8PDT" | "Pacific/Apia" | "Pacific/Auckland" | "Pacific/Bougainville" | "Pacific/Chatham" | "Pacific/Chuuk" | "Pacific/Easter" | "Pacific/Efate" | "Pacific/Enderbury" | "Pacific/Fakaofo" | "Pacific/Fiji" | "Pacific/Funafuti" | "Pacific/Galapagos" | "Pacific/Gambier" | "Pacific/Guadalcanal" | "Pacific/Guam" | "Pacific/Honolulu" | "Pacific/Johnston" | "Pacific/Kanton" | "Pacific/Kiritimati" | "Pacific/Kosrae" | "Pacific/Kwajalein" | "Pacific/Majuro" | "Pacific/Marquesas" | "Pacific/Midway" | "Pacific/Nauru" | "Pacific/Niue" | "Pacific/Norfolk" | "Pacific/Noumea" | "Pacific/Pago_Pago" | "Pacific/Palau" | "Pacific/Pitcairn" | "Pacific/Pohnpei" | "Pacific/Ponape" | "Pacific/Port_Moresby" | "Pacific/Rarotonga" | "Pacific/Saipan" | "Pacific/Samoa" | "Pacific/Tahiti" | "Pacific/Tarawa" | "Pacific/Tongatapu" | "Pacific/Truk" | "Pacific/Wake" | "Pacific/Wallis" | "Pacific/Yap" | "Poland" | "Portugal" | "ROC" | "ROK" | "Singapore" | "Turkey" | "UCT" | "US/Alaska" | "US/Aleutian" | "US/Arizona" | "US/Central" | "US/East-Indiana" | "US/Eastern" | "US/Hawaii" | "US/Indiana-Starke" | "US/Michigan" | "US/Mountain" | "US/Pacific" | "US/Samoa" | "UTC" | "Universal" | "W-SU" | "WET" | "Zulu";
|
|
650
650
|
};
|
|
651
651
|
alias?: string | undefined;
|
|
652
652
|
} | {
|
package/dist/client.js
CHANGED
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
import { ConfigError } from "./lib/errors";
|
|
45
45
|
import { ClientFunctions } from "./fns";
|
|
46
46
|
var _a;
|
|
47
|
-
var CLIENT_VERSION = (_a = '0.12.5-beta.
|
|
47
|
+
var CLIENT_VERSION = (_a = '0.12.5-beta.1') != null ? _a : "";
|
|
48
48
|
var Client = class {
|
|
49
49
|
/**
|
|
50
50
|
* @internal
|
|
@@ -1453,11 +1453,7 @@ var Client = class {
|
|
|
1453
1453
|
*
|
|
1454
1454
|
*/
|
|
1455
1455
|
getStatistics(input, options) {
|
|
1456
|
-
return ClientFunctions.getStatistics(
|
|
1457
|
-
{ client: this },
|
|
1458
|
-
input != null ? input : {},
|
|
1459
|
-
options
|
|
1460
|
-
);
|
|
1456
|
+
return ClientFunctions.getStatistics({ client: this }, input, options);
|
|
1461
1457
|
}
|
|
1462
1458
|
/**
|
|
1463
1459
|
*
|