atmn 2.0.215 → 2.0.217
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/bin.js +28 -12
- package/dist/index.js +14 -2
- package/package.json +2 -2
- package/src/generated/client.ts +420 -168
- package/src/generated/emit.ts +4 -0
- package/src/generated/lintRules.ts +14 -2
- package/src/generated/plans.ts +12 -4
- package/src/generated/skills.ts +9 -9
- package/src/generated/variants.ts +6 -2
package/src/generated/client.ts
CHANGED
|
@@ -249,13 +249,15 @@ enabled?: boolean;
|
|
|
249
249
|
threshold: number;
|
|
250
250
|
/** Amount of credits to add per auto top-up. */
|
|
251
251
|
quantity: number;
|
|
252
|
-
/** Optional
|
|
252
|
+
/** Optional limit on auto top-ups per window, by number of top-ups or amount charged. */
|
|
253
253
|
purchaseLimit?: {
|
|
254
|
+
/** What `limit` caps: the number of auto top-ups (`count`, default) or the total amount charged for them, in the customer's currency (`amount`). */
|
|
255
|
+
limitType?: "count" | "amount";
|
|
254
256
|
/** The time interval for the purchase limit window. */
|
|
255
257
|
interval: "hour" | "day" | "week" | "month";
|
|
256
258
|
/** Number of intervals in the purchase limit window. Defaults to 1. */
|
|
257
259
|
intervalCount?: number;
|
|
258
|
-
/** Maximum number of auto top-ups
|
|
260
|
+
/** Maximum allowed within the interval: a number of auto top-ups when limit_type is count, or a total charge (e.g. 500 for $500, pre-tax) when limit_type is amount. */
|
|
259
261
|
limit: number;
|
|
260
262
|
};
|
|
261
263
|
/** When true, auto top-up creates a send_invoice invoice instead of auto-charging. */
|
|
@@ -798,16 +800,20 @@ enabled?: boolean;
|
|
|
798
800
|
threshold: number;
|
|
799
801
|
/** Amount of credits to add per auto top-up. */
|
|
800
802
|
quantity: number;
|
|
801
|
-
/** Optional rate limit to cap how often auto top-ups occur. Pass count to set the current window's consumed top-ups. */
|
|
803
|
+
/** Optional rate limit to cap how often auto top-ups occur. Pass count or amount to set the current window's consumed top-ups or charged amount. */
|
|
802
804
|
purchaseLimit?: {
|
|
805
|
+
/** What `limit` caps: the number of auto top-ups (`count`, default) or the total amount charged for them, in the customer's currency (`amount`). */
|
|
806
|
+
limitType?: "count" | "amount";
|
|
803
807
|
/** The time interval for the purchase limit window. */
|
|
804
808
|
interval: "hour" | "day" | "week" | "month";
|
|
805
809
|
/** Number of intervals in the purchase limit window. Defaults to 1. */
|
|
806
810
|
intervalCount?: number;
|
|
807
|
-
/** Maximum number of auto top-ups
|
|
811
|
+
/** Maximum allowed within the interval: a number of auto top-ups when limit_type is count, or a total charge (e.g. 500 for $500, pre-tax) when limit_type is amount. */
|
|
808
812
|
limit: number;
|
|
809
813
|
/** Set the current window's consumed auto top-up count. Omit to leave runtime state unchanged. */
|
|
810
814
|
count?: number;
|
|
815
|
+
/** Set the amount already charged by auto top-ups in the current window. Omit to leave runtime state unchanged. */
|
|
816
|
+
amount?: number;
|
|
811
817
|
};
|
|
812
818
|
/** When true, auto top-up creates a send_invoice invoice instead of auto-charging. */
|
|
813
819
|
invoiceMode?: boolean;
|
|
@@ -1341,13 +1347,15 @@ enabled?: boolean;
|
|
|
1341
1347
|
threshold: number;
|
|
1342
1348
|
/** Amount of credits to add per auto top-up. */
|
|
1343
1349
|
quantity: number;
|
|
1344
|
-
/** Optional
|
|
1350
|
+
/** Optional limit on auto top-ups per window, by number of top-ups or amount charged. */
|
|
1345
1351
|
purchaseLimit?: {
|
|
1352
|
+
/** What `limit` caps: the number of auto top-ups (`count`, default) or the total amount charged for them, in the customer's currency (`amount`). */
|
|
1353
|
+
limitType?: "count" | "amount";
|
|
1346
1354
|
/** The time interval for the purchase limit window. */
|
|
1347
1355
|
interval: "hour" | "day" | "week" | "month";
|
|
1348
1356
|
/** Number of intervals in the purchase limit window. Defaults to 1. */
|
|
1349
1357
|
intervalCount?: number;
|
|
1350
|
-
/** Maximum number of auto top-ups
|
|
1358
|
+
/** Maximum allowed within the interval: a number of auto top-ups when limit_type is count, or a total charge (e.g. 500 for $500, pre-tax) when limit_type is amount. */
|
|
1351
1359
|
limit: number;
|
|
1352
1360
|
};
|
|
1353
1361
|
/** When true, auto top-up creates a send_invoice invoice instead of auto-charging. */
|
|
@@ -1890,16 +1898,20 @@ enabled?: boolean;
|
|
|
1890
1898
|
threshold: number;
|
|
1891
1899
|
/** Amount of credits to add per auto top-up. */
|
|
1892
1900
|
quantity: number;
|
|
1893
|
-
/** Optional rate limit to cap how often auto top-ups occur. Pass count to set the current window's consumed top-ups. */
|
|
1901
|
+
/** Optional rate limit to cap how often auto top-ups occur. Pass count or amount to set the current window's consumed top-ups or charged amount. */
|
|
1894
1902
|
purchaseLimit?: {
|
|
1903
|
+
/** What `limit` caps: the number of auto top-ups (`count`, default) or the total amount charged for them, in the customer's currency (`amount`). */
|
|
1904
|
+
limitType?: "count" | "amount";
|
|
1895
1905
|
/** The time interval for the purchase limit window. */
|
|
1896
1906
|
interval: "hour" | "day" | "week" | "month";
|
|
1897
1907
|
/** Number of intervals in the purchase limit window. Defaults to 1. */
|
|
1898
1908
|
intervalCount?: number;
|
|
1899
|
-
/** Maximum number of auto top-ups
|
|
1909
|
+
/** Maximum allowed within the interval: a number of auto top-ups when limit_type is count, or a total charge (e.g. 500 for $500, pre-tax) when limit_type is amount. */
|
|
1900
1910
|
limit: number;
|
|
1901
1911
|
/** Set the current window's consumed auto top-up count. Omit to leave runtime state unchanged. */
|
|
1902
1912
|
count?: number;
|
|
1913
|
+
/** Set the amount already charged by auto top-ups in the current window. Omit to leave runtime state unchanged. */
|
|
1914
|
+
amount?: number;
|
|
1903
1915
|
};
|
|
1904
1916
|
/** When true, auto top-up creates a send_invoice invoice instead of auto-charging. */
|
|
1905
1917
|
invoiceMode?: boolean;
|
|
@@ -2305,13 +2317,15 @@ enabled?: boolean;
|
|
|
2305
2317
|
threshold: number;
|
|
2306
2318
|
/** Amount of credits to add per auto top-up. */
|
|
2307
2319
|
quantity: number;
|
|
2308
|
-
/** Optional
|
|
2320
|
+
/** Optional limit on auto top-ups per window, by number of top-ups or amount charged. */
|
|
2309
2321
|
purchaseLimit?: {
|
|
2322
|
+
/** What `limit` caps: the number of auto top-ups (`count`, default) or the total amount charged for them, in the customer's currency (`amount`). */
|
|
2323
|
+
limitType?: "count" | "amount";
|
|
2310
2324
|
/** The time interval for the purchase limit window. */
|
|
2311
2325
|
interval: "hour" | "day" | "week" | "month";
|
|
2312
2326
|
/** Number of intervals in the purchase limit window. Defaults to 1. */
|
|
2313
2327
|
intervalCount?: number;
|
|
2314
|
-
/** Maximum number of auto top-ups
|
|
2328
|
+
/** Maximum allowed within the interval: a number of auto top-ups when limit_type is count, or a total charge (e.g. 500 for $500, pre-tax) when limit_type is amount. */
|
|
2315
2329
|
limit: number;
|
|
2316
2330
|
};
|
|
2317
2331
|
/** When true, auto top-up creates a send_invoice invoice instead of auto-charging. */
|
|
@@ -2854,16 +2868,20 @@ enabled?: boolean;
|
|
|
2854
2868
|
threshold: number;
|
|
2855
2869
|
/** Amount of credits to add per auto top-up. */
|
|
2856
2870
|
quantity: number;
|
|
2857
|
-
/** Optional rate limit to cap how often auto top-ups occur. Pass count to set the current window's consumed top-ups. */
|
|
2871
|
+
/** Optional rate limit to cap how often auto top-ups occur. Pass count or amount to set the current window's consumed top-ups or charged amount. */
|
|
2858
2872
|
purchaseLimit?: {
|
|
2873
|
+
/** What `limit` caps: the number of auto top-ups (`count`, default) or the total amount charged for them, in the customer's currency (`amount`). */
|
|
2874
|
+
limitType?: "count" | "amount";
|
|
2859
2875
|
/** The time interval for the purchase limit window. */
|
|
2860
2876
|
interval: "hour" | "day" | "week" | "month";
|
|
2861
2877
|
/** Number of intervals in the purchase limit window. Defaults to 1. */
|
|
2862
2878
|
intervalCount?: number;
|
|
2863
|
-
/** Maximum number of auto top-ups
|
|
2879
|
+
/** Maximum allowed within the interval: a number of auto top-ups when limit_type is count, or a total charge (e.g. 500 for $500, pre-tax) when limit_type is amount. */
|
|
2864
2880
|
limit: number;
|
|
2865
2881
|
/** Set the current window's consumed auto top-up count. Omit to leave runtime state unchanged. */
|
|
2866
2882
|
count?: number;
|
|
2883
|
+
/** Set the amount already charged by auto top-ups in the current window. Omit to leave runtime state unchanged. */
|
|
2884
|
+
amount?: number;
|
|
2867
2885
|
};
|
|
2868
2886
|
/** When true, auto top-up creates a send_invoice invoice instead of auto-charging. */
|
|
2869
2887
|
invoiceMode?: boolean;
|
|
@@ -3397,13 +3415,15 @@ enabled?: boolean;
|
|
|
3397
3415
|
threshold: number;
|
|
3398
3416
|
/** Amount of credits to add per auto top-up. */
|
|
3399
3417
|
quantity: number;
|
|
3400
|
-
/** Optional
|
|
3418
|
+
/** Optional limit on auto top-ups per window, by number of top-ups or amount charged. */
|
|
3401
3419
|
purchaseLimit?: {
|
|
3420
|
+
/** What `limit` caps: the number of auto top-ups (`count`, default) or the total amount charged for them, in the customer's currency (`amount`). */
|
|
3421
|
+
limitType?: "count" | "amount";
|
|
3402
3422
|
/** The time interval for the purchase limit window. */
|
|
3403
3423
|
interval: "hour" | "day" | "week" | "month";
|
|
3404
3424
|
/** Number of intervals in the purchase limit window. Defaults to 1. */
|
|
3405
3425
|
intervalCount?: number;
|
|
3406
|
-
/** Maximum number of auto top-ups
|
|
3426
|
+
/** Maximum allowed within the interval: a number of auto top-ups when limit_type is count, or a total charge (e.g. 500 for $500, pre-tax) when limit_type is amount. */
|
|
3407
3427
|
limit: number;
|
|
3408
3428
|
};
|
|
3409
3429
|
/** When true, auto top-up creates a send_invoice invoice instead of auto-charging. */
|
|
@@ -3946,16 +3966,20 @@ enabled?: boolean;
|
|
|
3946
3966
|
threshold: number;
|
|
3947
3967
|
/** Amount of credits to add per auto top-up. */
|
|
3948
3968
|
quantity: number;
|
|
3949
|
-
/** Optional rate limit to cap how often auto top-ups occur. Pass count to set the current window's consumed top-ups. */
|
|
3969
|
+
/** Optional rate limit to cap how often auto top-ups occur. Pass count or amount to set the current window's consumed top-ups or charged amount. */
|
|
3950
3970
|
purchaseLimit?: {
|
|
3971
|
+
/** What `limit` caps: the number of auto top-ups (`count`, default) or the total amount charged for them, in the customer's currency (`amount`). */
|
|
3972
|
+
limitType?: "count" | "amount";
|
|
3951
3973
|
/** The time interval for the purchase limit window. */
|
|
3952
3974
|
interval: "hour" | "day" | "week" | "month";
|
|
3953
3975
|
/** Number of intervals in the purchase limit window. Defaults to 1. */
|
|
3954
3976
|
intervalCount?: number;
|
|
3955
|
-
/** Maximum number of auto top-ups
|
|
3977
|
+
/** Maximum allowed within the interval: a number of auto top-ups when limit_type is count, or a total charge (e.g. 500 for $500, pre-tax) when limit_type is amount. */
|
|
3956
3978
|
limit: number;
|
|
3957
3979
|
/** Set the current window's consumed auto top-up count. Omit to leave runtime state unchanged. */
|
|
3958
3980
|
count?: number;
|
|
3981
|
+
/** Set the amount already charged by auto top-ups in the current window. Omit to leave runtime state unchanged. */
|
|
3982
|
+
amount?: number;
|
|
3959
3983
|
};
|
|
3960
3984
|
/** When true, auto top-up creates a send_invoice invoice instead of auto-charging. */
|
|
3961
3985
|
invoiceMode?: boolean;
|
|
@@ -4363,13 +4387,15 @@ enabled?: boolean;
|
|
|
4363
4387
|
threshold: number;
|
|
4364
4388
|
/** Amount of credits to add per auto top-up. */
|
|
4365
4389
|
quantity: number;
|
|
4366
|
-
/** Optional
|
|
4390
|
+
/** Optional limit on auto top-ups per window, by number of top-ups or amount charged. */
|
|
4367
4391
|
purchaseLimit?: {
|
|
4392
|
+
/** What `limit` caps: the number of auto top-ups (`count`, default) or the total amount charged for them, in the customer's currency (`amount`). */
|
|
4393
|
+
limitType?: "count" | "amount";
|
|
4368
4394
|
/** The time interval for the purchase limit window. */
|
|
4369
4395
|
interval: "hour" | "day" | "week" | "month";
|
|
4370
4396
|
/** Number of intervals in the purchase limit window. Defaults to 1. */
|
|
4371
4397
|
intervalCount?: number;
|
|
4372
|
-
/** Maximum number of auto top-ups
|
|
4398
|
+
/** Maximum allowed within the interval: a number of auto top-ups when limit_type is count, or a total charge (e.g. 500 for $500, pre-tax) when limit_type is amount. */
|
|
4373
4399
|
limit: number;
|
|
4374
4400
|
};
|
|
4375
4401
|
/** When true, auto top-up creates a send_invoice invoice instead of auto-charging. */
|
|
@@ -4912,16 +4938,20 @@ enabled?: boolean;
|
|
|
4912
4938
|
threshold: number;
|
|
4913
4939
|
/** Amount of credits to add per auto top-up. */
|
|
4914
4940
|
quantity: number;
|
|
4915
|
-
/** Optional rate limit to cap how often auto top-ups occur. Pass count to set the current window's consumed top-ups. */
|
|
4941
|
+
/** Optional rate limit to cap how often auto top-ups occur. Pass count or amount to set the current window's consumed top-ups or charged amount. */
|
|
4916
4942
|
purchaseLimit?: {
|
|
4943
|
+
/** What `limit` caps: the number of auto top-ups (`count`, default) or the total amount charged for them, in the customer's currency (`amount`). */
|
|
4944
|
+
limitType?: "count" | "amount";
|
|
4917
4945
|
/** The time interval for the purchase limit window. */
|
|
4918
4946
|
interval: "hour" | "day" | "week" | "month";
|
|
4919
4947
|
/** Number of intervals in the purchase limit window. Defaults to 1. */
|
|
4920
4948
|
intervalCount?: number;
|
|
4921
|
-
/** Maximum number of auto top-ups
|
|
4949
|
+
/** Maximum allowed within the interval: a number of auto top-ups when limit_type is count, or a total charge (e.g. 500 for $500, pre-tax) when limit_type is amount. */
|
|
4922
4950
|
limit: number;
|
|
4923
4951
|
/** Set the current window's consumed auto top-up count. Omit to leave runtime state unchanged. */
|
|
4924
4952
|
count?: number;
|
|
4953
|
+
/** Set the amount already charged by auto top-ups in the current window. Omit to leave runtime state unchanged. */
|
|
4954
|
+
amount?: number;
|
|
4925
4955
|
};
|
|
4926
4956
|
/** When true, auto top-up creates a send_invoice invoice instead of auto-charging. */
|
|
4927
4957
|
invoiceMode?: boolean;
|
|
@@ -5455,13 +5485,15 @@ enabled?: boolean;
|
|
|
5455
5485
|
threshold: number;
|
|
5456
5486
|
/** Amount of credits to add per auto top-up. */
|
|
5457
5487
|
quantity: number;
|
|
5458
|
-
/** Optional
|
|
5488
|
+
/** Optional limit on auto top-ups per window, by number of top-ups or amount charged. */
|
|
5459
5489
|
purchaseLimit?: {
|
|
5490
|
+
/** What `limit` caps: the number of auto top-ups (`count`, default) or the total amount charged for them, in the customer's currency (`amount`). */
|
|
5491
|
+
limitType?: "count" | "amount";
|
|
5460
5492
|
/** The time interval for the purchase limit window. */
|
|
5461
5493
|
interval: "hour" | "day" | "week" | "month";
|
|
5462
5494
|
/** Number of intervals in the purchase limit window. Defaults to 1. */
|
|
5463
5495
|
intervalCount?: number;
|
|
5464
|
-
/** Maximum number of auto top-ups
|
|
5496
|
+
/** Maximum allowed within the interval: a number of auto top-ups when limit_type is count, or a total charge (e.g. 500 for $500, pre-tax) when limit_type is amount. */
|
|
5465
5497
|
limit: number;
|
|
5466
5498
|
};
|
|
5467
5499
|
/** When true, auto top-up creates a send_invoice invoice instead of auto-charging. */
|
|
@@ -6004,16 +6036,20 @@ enabled?: boolean;
|
|
|
6004
6036
|
threshold: number;
|
|
6005
6037
|
/** Amount of credits to add per auto top-up. */
|
|
6006
6038
|
quantity: number;
|
|
6007
|
-
/** Optional rate limit to cap how often auto top-ups occur. Pass count to set the current window's consumed top-ups. */
|
|
6039
|
+
/** Optional rate limit to cap how often auto top-ups occur. Pass count or amount to set the current window's consumed top-ups or charged amount. */
|
|
6008
6040
|
purchaseLimit?: {
|
|
6041
|
+
/** What `limit` caps: the number of auto top-ups (`count`, default) or the total amount charged for them, in the customer's currency (`amount`). */
|
|
6042
|
+
limitType?: "count" | "amount";
|
|
6009
6043
|
/** The time interval for the purchase limit window. */
|
|
6010
6044
|
interval: "hour" | "day" | "week" | "month";
|
|
6011
6045
|
/** Number of intervals in the purchase limit window. Defaults to 1. */
|
|
6012
6046
|
intervalCount?: number;
|
|
6013
|
-
/** Maximum number of auto top-ups
|
|
6047
|
+
/** Maximum allowed within the interval: a number of auto top-ups when limit_type is count, or a total charge (e.g. 500 for $500, pre-tax) when limit_type is amount. */
|
|
6014
6048
|
limit: number;
|
|
6015
6049
|
/** Set the current window's consumed auto top-up count. Omit to leave runtime state unchanged. */
|
|
6016
6050
|
count?: number;
|
|
6051
|
+
/** Set the amount already charged by auto top-ups in the current window. Omit to leave runtime state unchanged. */
|
|
6052
|
+
amount?: number;
|
|
6017
6053
|
};
|
|
6018
6054
|
/** When true, auto top-up creates a send_invoice invoice instead of auto-charging. */
|
|
6019
6055
|
invoiceMode?: boolean;
|
|
@@ -6406,13 +6442,15 @@ enabled?: boolean;
|
|
|
6406
6442
|
threshold: number;
|
|
6407
6443
|
/** Amount of credits to add per auto top-up. */
|
|
6408
6444
|
quantity: number;
|
|
6409
|
-
/** Optional
|
|
6445
|
+
/** Optional limit on auto top-ups per window, by number of top-ups or amount charged. */
|
|
6410
6446
|
purchaseLimit?: {
|
|
6447
|
+
/** What `limit` caps: the number of auto top-ups (`count`, default) or the total amount charged for them, in the customer's currency (`amount`). */
|
|
6448
|
+
limitType?: "count" | "amount";
|
|
6411
6449
|
/** The time interval for the purchase limit window. */
|
|
6412
6450
|
interval: "hour" | "day" | "week" | "month";
|
|
6413
6451
|
/** Number of intervals in the purchase limit window. Defaults to 1. */
|
|
6414
6452
|
intervalCount?: number;
|
|
6415
|
-
/** Maximum number of auto top-ups
|
|
6453
|
+
/** Maximum allowed within the interval: a number of auto top-ups when limit_type is count, or a total charge (e.g. 500 for $500, pre-tax) when limit_type is amount. */
|
|
6416
6454
|
limit: number;
|
|
6417
6455
|
};
|
|
6418
6456
|
/** When true, auto top-up creates a send_invoice invoice instead of auto-charging. */
|
|
@@ -6955,16 +6993,20 @@ enabled?: boolean;
|
|
|
6955
6993
|
threshold: number;
|
|
6956
6994
|
/** Amount of credits to add per auto top-up. */
|
|
6957
6995
|
quantity: number;
|
|
6958
|
-
/** Optional rate limit to cap how often auto top-ups occur. Pass count to set the current window's consumed top-ups. */
|
|
6996
|
+
/** Optional rate limit to cap how often auto top-ups occur. Pass count or amount to set the current window's consumed top-ups or charged amount. */
|
|
6959
6997
|
purchaseLimit?: {
|
|
6998
|
+
/** What `limit` caps: the number of auto top-ups (`count`, default) or the total amount charged for them, in the customer's currency (`amount`). */
|
|
6999
|
+
limitType?: "count" | "amount";
|
|
6960
7000
|
/** The time interval for the purchase limit window. */
|
|
6961
7001
|
interval: "hour" | "day" | "week" | "month";
|
|
6962
7002
|
/** Number of intervals in the purchase limit window. Defaults to 1. */
|
|
6963
7003
|
intervalCount?: number;
|
|
6964
|
-
/** Maximum number of auto top-ups
|
|
7004
|
+
/** Maximum allowed within the interval: a number of auto top-ups when limit_type is count, or a total charge (e.g. 500 for $500, pre-tax) when limit_type is amount. */
|
|
6965
7005
|
limit: number;
|
|
6966
7006
|
/** Set the current window's consumed auto top-up count. Omit to leave runtime state unchanged. */
|
|
6967
7007
|
count?: number;
|
|
7008
|
+
/** Set the amount already charged by auto top-ups in the current window. Omit to leave runtime state unchanged. */
|
|
7009
|
+
amount?: number;
|
|
6968
7010
|
};
|
|
6969
7011
|
/** When true, auto top-up creates a send_invoice invoice instead of auto-charging. */
|
|
6970
7012
|
invoiceMode?: boolean;
|
|
@@ -7468,13 +7510,15 @@ enabled?: boolean;
|
|
|
7468
7510
|
threshold: number;
|
|
7469
7511
|
/** Amount of credits to add per auto top-up. */
|
|
7470
7512
|
quantity: number;
|
|
7471
|
-
/** Optional
|
|
7513
|
+
/** Optional limit on auto top-ups per window, by number of top-ups or amount charged. */
|
|
7472
7514
|
purchaseLimit?: {
|
|
7515
|
+
/** What `limit` caps: the number of auto top-ups (`count`, default) or the total amount charged for them, in the customer's currency (`amount`). */
|
|
7516
|
+
limitType?: "count" | "amount";
|
|
7473
7517
|
/** The time interval for the purchase limit window. */
|
|
7474
7518
|
interval: "hour" | "day" | "week" | "month";
|
|
7475
7519
|
/** Number of intervals in the purchase limit window. Defaults to 1. */
|
|
7476
7520
|
intervalCount?: number;
|
|
7477
|
-
/** Maximum number of auto top-ups
|
|
7521
|
+
/** Maximum allowed within the interval: a number of auto top-ups when limit_type is count, or a total charge (e.g. 500 for $500, pre-tax) when limit_type is amount. */
|
|
7478
7522
|
limit: number;
|
|
7479
7523
|
};
|
|
7480
7524
|
/** When true, auto top-up creates a send_invoice invoice instead of auto-charging. */
|
|
@@ -7973,16 +8017,20 @@ enabled?: boolean;
|
|
|
7973
8017
|
threshold: number;
|
|
7974
8018
|
/** Amount of credits to add per auto top-up. */
|
|
7975
8019
|
quantity: number;
|
|
7976
|
-
/** Optional rate limit to cap how often auto top-ups occur. Pass count to set the current window's consumed top-ups. */
|
|
8020
|
+
/** Optional rate limit to cap how often auto top-ups occur. Pass count or amount to set the current window's consumed top-ups or charged amount. */
|
|
7977
8021
|
purchaseLimit?: {
|
|
8022
|
+
/** What `limit` caps: the number of auto top-ups (`count`, default) or the total amount charged for them, in the customer's currency (`amount`). */
|
|
8023
|
+
limitType?: "count" | "amount";
|
|
7978
8024
|
/** The time interval for the purchase limit window. */
|
|
7979
8025
|
interval: "hour" | "day" | "week" | "month";
|
|
7980
8026
|
/** Number of intervals in the purchase limit window. Defaults to 1. */
|
|
7981
8027
|
intervalCount?: number;
|
|
7982
|
-
/** Maximum number of auto top-ups
|
|
8028
|
+
/** Maximum allowed within the interval: a number of auto top-ups when limit_type is count, or a total charge (e.g. 500 for $500, pre-tax) when limit_type is amount. */
|
|
7983
8029
|
limit: number;
|
|
7984
8030
|
/** Set the current window's consumed auto top-up count. Omit to leave runtime state unchanged. */
|
|
7985
8031
|
count?: number;
|
|
8032
|
+
/** Set the amount already charged by auto top-ups in the current window. Omit to leave runtime state unchanged. */
|
|
8033
|
+
amount?: number;
|
|
7986
8034
|
};
|
|
7987
8035
|
/** When true, auto top-up creates a send_invoice invoice instead of auto-charging. */
|
|
7988
8036
|
invoiceMode?: boolean;
|
|
@@ -8330,13 +8378,15 @@ enabled?: boolean;
|
|
|
8330
8378
|
threshold: number;
|
|
8331
8379
|
/** Amount of credits to add per auto top-up. */
|
|
8332
8380
|
quantity: number;
|
|
8333
|
-
/** Optional
|
|
8381
|
+
/** Optional limit on auto top-ups per window, by number of top-ups or amount charged. */
|
|
8334
8382
|
purchaseLimit?: {
|
|
8383
|
+
/** What `limit` caps: the number of auto top-ups (`count`, default) or the total amount charged for them, in the customer's currency (`amount`). */
|
|
8384
|
+
limitType?: "count" | "amount";
|
|
8335
8385
|
/** The time interval for the purchase limit window. */
|
|
8336
8386
|
interval: "hour" | "day" | "week" | "month";
|
|
8337
8387
|
/** Number of intervals in the purchase limit window. Defaults to 1. */
|
|
8338
8388
|
intervalCount?: number;
|
|
8339
|
-
/** Maximum number of auto top-ups
|
|
8389
|
+
/** Maximum allowed within the interval: a number of auto top-ups when limit_type is count, or a total charge (e.g. 500 for $500, pre-tax) when limit_type is amount. */
|
|
8340
8390
|
limit: number;
|
|
8341
8391
|
};
|
|
8342
8392
|
/** When true, auto top-up creates a send_invoice invoice instead of auto-charging. */
|
|
@@ -8879,16 +8929,20 @@ enabled?: boolean;
|
|
|
8879
8929
|
threshold: number;
|
|
8880
8930
|
/** Amount of credits to add per auto top-up. */
|
|
8881
8931
|
quantity: number;
|
|
8882
|
-
/** Optional rate limit to cap how often auto top-ups occur. Pass count to set the current window's consumed top-ups. */
|
|
8932
|
+
/** Optional rate limit to cap how often auto top-ups occur. Pass count or amount to set the current window's consumed top-ups or charged amount. */
|
|
8883
8933
|
purchaseLimit?: {
|
|
8934
|
+
/** What `limit` caps: the number of auto top-ups (`count`, default) or the total amount charged for them, in the customer's currency (`amount`). */
|
|
8935
|
+
limitType?: "count" | "amount";
|
|
8884
8936
|
/** The time interval for the purchase limit window. */
|
|
8885
8937
|
interval: "hour" | "day" | "week" | "month";
|
|
8886
8938
|
/** Number of intervals in the purchase limit window. Defaults to 1. */
|
|
8887
8939
|
intervalCount?: number;
|
|
8888
|
-
/** Maximum number of auto top-ups
|
|
8940
|
+
/** Maximum allowed within the interval: a number of auto top-ups when limit_type is count, or a total charge (e.g. 500 for $500, pre-tax) when limit_type is amount. */
|
|
8889
8941
|
limit: number;
|
|
8890
8942
|
/** Set the current window's consumed auto top-up count. Omit to leave runtime state unchanged. */
|
|
8891
8943
|
count?: number;
|
|
8944
|
+
/** Set the amount already charged by auto top-ups in the current window. Omit to leave runtime state unchanged. */
|
|
8945
|
+
amount?: number;
|
|
8892
8946
|
};
|
|
8893
8947
|
/** When true, auto top-up creates a send_invoice invoice instead of auto-charging. */
|
|
8894
8948
|
invoiceMode?: boolean;
|
|
@@ -9422,13 +9476,15 @@ enabled?: boolean;
|
|
|
9422
9476
|
threshold: number;
|
|
9423
9477
|
/** Amount of credits to add per auto top-up. */
|
|
9424
9478
|
quantity: number;
|
|
9425
|
-
/** Optional
|
|
9479
|
+
/** Optional limit on auto top-ups per window, by number of top-ups or amount charged. */
|
|
9426
9480
|
purchaseLimit?: {
|
|
9481
|
+
/** What `limit` caps: the number of auto top-ups (`count`, default) or the total amount charged for them, in the customer's currency (`amount`). */
|
|
9482
|
+
limitType?: "count" | "amount";
|
|
9427
9483
|
/** The time interval for the purchase limit window. */
|
|
9428
9484
|
interval: "hour" | "day" | "week" | "month";
|
|
9429
9485
|
/** Number of intervals in the purchase limit window. Defaults to 1. */
|
|
9430
9486
|
intervalCount?: number;
|
|
9431
|
-
/** Maximum number of auto top-ups
|
|
9487
|
+
/** Maximum allowed within the interval: a number of auto top-ups when limit_type is count, or a total charge (e.g. 500 for $500, pre-tax) when limit_type is amount. */
|
|
9432
9488
|
limit: number;
|
|
9433
9489
|
};
|
|
9434
9490
|
/** When true, auto top-up creates a send_invoice invoice instead of auto-charging. */
|
|
@@ -9971,16 +10027,20 @@ enabled?: boolean;
|
|
|
9971
10027
|
threshold: number;
|
|
9972
10028
|
/** Amount of credits to add per auto top-up. */
|
|
9973
10029
|
quantity: number;
|
|
9974
|
-
/** Optional rate limit to cap how often auto top-ups occur. Pass count to set the current window's consumed top-ups. */
|
|
10030
|
+
/** Optional rate limit to cap how often auto top-ups occur. Pass count or amount to set the current window's consumed top-ups or charged amount. */
|
|
9975
10031
|
purchaseLimit?: {
|
|
10032
|
+
/** What `limit` caps: the number of auto top-ups (`count`, default) or the total amount charged for them, in the customer's currency (`amount`). */
|
|
10033
|
+
limitType?: "count" | "amount";
|
|
9976
10034
|
/** The time interval for the purchase limit window. */
|
|
9977
10035
|
interval: "hour" | "day" | "week" | "month";
|
|
9978
10036
|
/** Number of intervals in the purchase limit window. Defaults to 1. */
|
|
9979
10037
|
intervalCount?: number;
|
|
9980
|
-
/** Maximum number of auto top-ups
|
|
10038
|
+
/** Maximum allowed within the interval: a number of auto top-ups when limit_type is count, or a total charge (e.g. 500 for $500, pre-tax) when limit_type is amount. */
|
|
9981
10039
|
limit: number;
|
|
9982
10040
|
/** Set the current window's consumed auto top-up count. Omit to leave runtime state unchanged. */
|
|
9983
10041
|
count?: number;
|
|
10042
|
+
/** Set the amount already charged by auto top-ups in the current window. Omit to leave runtime state unchanged. */
|
|
10043
|
+
amount?: number;
|
|
9984
10044
|
};
|
|
9985
10045
|
/** When true, auto top-up creates a send_invoice invoice instead of auto-charging. */
|
|
9986
10046
|
invoiceMode?: boolean;
|
|
@@ -10371,13 +10431,15 @@ enabled?: boolean;
|
|
|
10371
10431
|
threshold: number;
|
|
10372
10432
|
/** Amount of credits to add per auto top-up. */
|
|
10373
10433
|
quantity: number;
|
|
10374
|
-
/** Optional
|
|
10434
|
+
/** Optional limit on auto top-ups per window, by number of top-ups or amount charged. */
|
|
10375
10435
|
purchaseLimit?: {
|
|
10436
|
+
/** What `limit` caps: the number of auto top-ups (`count`, default) or the total amount charged for them, in the customer's currency (`amount`). */
|
|
10437
|
+
limitType?: "count" | "amount";
|
|
10376
10438
|
/** The time interval for the purchase limit window. */
|
|
10377
10439
|
interval: "hour" | "day" | "week" | "month";
|
|
10378
10440
|
/** Number of intervals in the purchase limit window. Defaults to 1. */
|
|
10379
10441
|
intervalCount?: number;
|
|
10380
|
-
/** Maximum number of auto top-ups
|
|
10442
|
+
/** Maximum allowed within the interval: a number of auto top-ups when limit_type is count, or a total charge (e.g. 500 for $500, pre-tax) when limit_type is amount. */
|
|
10381
10443
|
limit: number;
|
|
10382
10444
|
};
|
|
10383
10445
|
/** When true, auto top-up creates a send_invoice invoice instead of auto-charging. */
|
|
@@ -10920,16 +10982,20 @@ enabled?: boolean;
|
|
|
10920
10982
|
threshold: number;
|
|
10921
10983
|
/** Amount of credits to add per auto top-up. */
|
|
10922
10984
|
quantity: number;
|
|
10923
|
-
/** Optional rate limit to cap how often auto top-ups occur. Pass count to set the current window's consumed top-ups. */
|
|
10985
|
+
/** Optional rate limit to cap how often auto top-ups occur. Pass count or amount to set the current window's consumed top-ups or charged amount. */
|
|
10924
10986
|
purchaseLimit?: {
|
|
10987
|
+
/** What `limit` caps: the number of auto top-ups (`count`, default) or the total amount charged for them, in the customer's currency (`amount`). */
|
|
10988
|
+
limitType?: "count" | "amount";
|
|
10925
10989
|
/** The time interval for the purchase limit window. */
|
|
10926
10990
|
interval: "hour" | "day" | "week" | "month";
|
|
10927
10991
|
/** Number of intervals in the purchase limit window. Defaults to 1. */
|
|
10928
10992
|
intervalCount?: number;
|
|
10929
|
-
/** Maximum number of auto top-ups
|
|
10993
|
+
/** Maximum allowed within the interval: a number of auto top-ups when limit_type is count, or a total charge (e.g. 500 for $500, pre-tax) when limit_type is amount. */
|
|
10930
10994
|
limit: number;
|
|
10931
10995
|
/** Set the current window's consumed auto top-up count. Omit to leave runtime state unchanged. */
|
|
10932
10996
|
count?: number;
|
|
10997
|
+
/** Set the amount already charged by auto top-ups in the current window. Omit to leave runtime state unchanged. */
|
|
10998
|
+
amount?: number;
|
|
10933
10999
|
};
|
|
10934
11000
|
/** When true, auto top-up creates a send_invoice invoice instead of auto-charging. */
|
|
10935
11001
|
invoiceMode?: boolean;
|
|
@@ -11433,13 +11499,15 @@ enabled?: boolean;
|
|
|
11433
11499
|
threshold: number;
|
|
11434
11500
|
/** Amount of credits to add per auto top-up. */
|
|
11435
11501
|
quantity: number;
|
|
11436
|
-
/** Optional
|
|
11502
|
+
/** Optional limit on auto top-ups per window, by number of top-ups or amount charged. */
|
|
11437
11503
|
purchaseLimit?: {
|
|
11504
|
+
/** What `limit` caps: the number of auto top-ups (`count`, default) or the total amount charged for them, in the customer's currency (`amount`). */
|
|
11505
|
+
limitType?: "count" | "amount";
|
|
11438
11506
|
/** The time interval for the purchase limit window. */
|
|
11439
11507
|
interval: "hour" | "day" | "week" | "month";
|
|
11440
11508
|
/** Number of intervals in the purchase limit window. Defaults to 1. */
|
|
11441
11509
|
intervalCount?: number;
|
|
11442
|
-
/** Maximum number of auto top-ups
|
|
11510
|
+
/** Maximum allowed within the interval: a number of auto top-ups when limit_type is count, or a total charge (e.g. 500 for $500, pre-tax) when limit_type is amount. */
|
|
11443
11511
|
limit: number;
|
|
11444
11512
|
};
|
|
11445
11513
|
/** When true, auto top-up creates a send_invoice invoice instead of auto-charging. */
|
|
@@ -11938,16 +12006,20 @@ enabled?: boolean;
|
|
|
11938
12006
|
threshold: number;
|
|
11939
12007
|
/** Amount of credits to add per auto top-up. */
|
|
11940
12008
|
quantity: number;
|
|
11941
|
-
/** Optional rate limit to cap how often auto top-ups occur. Pass count to set the current window's consumed top-ups. */
|
|
12009
|
+
/** Optional rate limit to cap how often auto top-ups occur. Pass count or amount to set the current window's consumed top-ups or charged amount. */
|
|
11942
12010
|
purchaseLimit?: {
|
|
12011
|
+
/** What `limit` caps: the number of auto top-ups (`count`, default) or the total amount charged for them, in the customer's currency (`amount`). */
|
|
12012
|
+
limitType?: "count" | "amount";
|
|
11943
12013
|
/** The time interval for the purchase limit window. */
|
|
11944
12014
|
interval: "hour" | "day" | "week" | "month";
|
|
11945
12015
|
/** Number of intervals in the purchase limit window. Defaults to 1. */
|
|
11946
12016
|
intervalCount?: number;
|
|
11947
|
-
/** Maximum number of auto top-ups
|
|
12017
|
+
/** Maximum allowed within the interval: a number of auto top-ups when limit_type is count, or a total charge (e.g. 500 for $500, pre-tax) when limit_type is amount. */
|
|
11948
12018
|
limit: number;
|
|
11949
12019
|
/** Set the current window's consumed auto top-up count. Omit to leave runtime state unchanged. */
|
|
11950
12020
|
count?: number;
|
|
12021
|
+
/** Set the amount already charged by auto top-ups in the current window. Omit to leave runtime state unchanged. */
|
|
12022
|
+
amount?: number;
|
|
11951
12023
|
};
|
|
11952
12024
|
/** When true, auto top-up creates a send_invoice invoice instead of auto-charging. */
|
|
11953
12025
|
invoiceMode?: boolean;
|
|
@@ -12303,13 +12375,15 @@ enabled?: boolean;
|
|
|
12303
12375
|
threshold: number;
|
|
12304
12376
|
/** Amount of credits to add per auto top-up. */
|
|
12305
12377
|
quantity: number;
|
|
12306
|
-
/** Optional
|
|
12378
|
+
/** Optional limit on auto top-ups per window, by number of top-ups or amount charged. */
|
|
12307
12379
|
purchaseLimit?: {
|
|
12380
|
+
/** What `limit` caps: the number of auto top-ups (`count`, default) or the total amount charged for them, in the customer's currency (`amount`). */
|
|
12381
|
+
limitType?: "count" | "amount";
|
|
12308
12382
|
/** The time interval for the purchase limit window. */
|
|
12309
12383
|
interval: "hour" | "day" | "week" | "month";
|
|
12310
12384
|
/** Number of intervals in the purchase limit window. Defaults to 1. */
|
|
12311
12385
|
intervalCount?: number;
|
|
12312
|
-
/** Maximum number of auto top-ups
|
|
12386
|
+
/** Maximum allowed within the interval: a number of auto top-ups when limit_type is count, or a total charge (e.g. 500 for $500, pre-tax) when limit_type is amount. */
|
|
12313
12387
|
limit: number;
|
|
12314
12388
|
};
|
|
12315
12389
|
/** When true, auto top-up creates a send_invoice invoice instead of auto-charging. */
|
|
@@ -12852,16 +12926,20 @@ enabled?: boolean;
|
|
|
12852
12926
|
threshold: number;
|
|
12853
12927
|
/** Amount of credits to add per auto top-up. */
|
|
12854
12928
|
quantity: number;
|
|
12855
|
-
/** Optional rate limit to cap how often auto top-ups occur. Pass count to set the current window's consumed top-ups. */
|
|
12929
|
+
/** Optional rate limit to cap how often auto top-ups occur. Pass count or amount to set the current window's consumed top-ups or charged amount. */
|
|
12856
12930
|
purchaseLimit?: {
|
|
12931
|
+
/** What `limit` caps: the number of auto top-ups (`count`, default) or the total amount charged for them, in the customer's currency (`amount`). */
|
|
12932
|
+
limitType?: "count" | "amount";
|
|
12857
12933
|
/** The time interval for the purchase limit window. */
|
|
12858
12934
|
interval: "hour" | "day" | "week" | "month";
|
|
12859
12935
|
/** Number of intervals in the purchase limit window. Defaults to 1. */
|
|
12860
12936
|
intervalCount?: number;
|
|
12861
|
-
/** Maximum number of auto top-ups
|
|
12937
|
+
/** Maximum allowed within the interval: a number of auto top-ups when limit_type is count, or a total charge (e.g. 500 for $500, pre-tax) when limit_type is amount. */
|
|
12862
12938
|
limit: number;
|
|
12863
12939
|
/** Set the current window's consumed auto top-up count. Omit to leave runtime state unchanged. */
|
|
12864
12940
|
count?: number;
|
|
12941
|
+
/** Set the amount already charged by auto top-ups in the current window. Omit to leave runtime state unchanged. */
|
|
12942
|
+
amount?: number;
|
|
12865
12943
|
};
|
|
12866
12944
|
/** When true, auto top-up creates a send_invoice invoice instead of auto-charging. */
|
|
12867
12945
|
invoiceMode?: boolean;
|
|
@@ -13395,13 +13473,15 @@ enabled?: boolean;
|
|
|
13395
13473
|
threshold: number;
|
|
13396
13474
|
/** Amount of credits to add per auto top-up. */
|
|
13397
13475
|
quantity: number;
|
|
13398
|
-
/** Optional
|
|
13476
|
+
/** Optional limit on auto top-ups per window, by number of top-ups or amount charged. */
|
|
13399
13477
|
purchaseLimit?: {
|
|
13478
|
+
/** What `limit` caps: the number of auto top-ups (`count`, default) or the total amount charged for them, in the customer's currency (`amount`). */
|
|
13479
|
+
limitType?: "count" | "amount";
|
|
13400
13480
|
/** The time interval for the purchase limit window. */
|
|
13401
13481
|
interval: "hour" | "day" | "week" | "month";
|
|
13402
13482
|
/** Number of intervals in the purchase limit window. Defaults to 1. */
|
|
13403
13483
|
intervalCount?: number;
|
|
13404
|
-
/** Maximum number of auto top-ups
|
|
13484
|
+
/** Maximum allowed within the interval: a number of auto top-ups when limit_type is count, or a total charge (e.g. 500 for $500, pre-tax) when limit_type is amount. */
|
|
13405
13485
|
limit: number;
|
|
13406
13486
|
};
|
|
13407
13487
|
/** When true, auto top-up creates a send_invoice invoice instead of auto-charging. */
|
|
@@ -13944,16 +14024,20 @@ enabled?: boolean;
|
|
|
13944
14024
|
threshold: number;
|
|
13945
14025
|
/** Amount of credits to add per auto top-up. */
|
|
13946
14026
|
quantity: number;
|
|
13947
|
-
/** Optional rate limit to cap how often auto top-ups occur. Pass count to set the current window's consumed top-ups. */
|
|
14027
|
+
/** Optional rate limit to cap how often auto top-ups occur. Pass count or amount to set the current window's consumed top-ups or charged amount. */
|
|
13948
14028
|
purchaseLimit?: {
|
|
14029
|
+
/** What `limit` caps: the number of auto top-ups (`count`, default) or the total amount charged for them, in the customer's currency (`amount`). */
|
|
14030
|
+
limitType?: "count" | "amount";
|
|
13949
14031
|
/** The time interval for the purchase limit window. */
|
|
13950
14032
|
interval: "hour" | "day" | "week" | "month";
|
|
13951
14033
|
/** Number of intervals in the purchase limit window. Defaults to 1. */
|
|
13952
14034
|
intervalCount?: number;
|
|
13953
|
-
/** Maximum number of auto top-ups
|
|
14035
|
+
/** Maximum allowed within the interval: a number of auto top-ups when limit_type is count, or a total charge (e.g. 500 for $500, pre-tax) when limit_type is amount. */
|
|
13954
14036
|
limit: number;
|
|
13955
14037
|
/** Set the current window's consumed auto top-up count. Omit to leave runtime state unchanged. */
|
|
13956
14038
|
count?: number;
|
|
14039
|
+
/** Set the amount already charged by auto top-ups in the current window. Omit to leave runtime state unchanged. */
|
|
14040
|
+
amount?: number;
|
|
13957
14041
|
};
|
|
13958
14042
|
/** When true, auto top-up creates a send_invoice invoice instead of auto-charging. */
|
|
13959
14043
|
invoiceMode?: boolean;
|
|
@@ -14375,13 +14459,15 @@ enabled?: boolean;
|
|
|
14375
14459
|
threshold: number;
|
|
14376
14460
|
/** Amount of credits to add per auto top-up. */
|
|
14377
14461
|
quantity: number;
|
|
14378
|
-
/** Optional
|
|
14462
|
+
/** Optional limit on auto top-ups per window, by number of top-ups or amount charged. */
|
|
14379
14463
|
purchaseLimit?: {
|
|
14464
|
+
/** What `limit` caps: the number of auto top-ups (`count`, default) or the total amount charged for them, in the customer's currency (`amount`). */
|
|
14465
|
+
limitType?: "count" | "amount";
|
|
14380
14466
|
/** The time interval for the purchase limit window. */
|
|
14381
14467
|
interval: "hour" | "day" | "week" | "month";
|
|
14382
14468
|
/** Number of intervals in the purchase limit window. Defaults to 1. */
|
|
14383
14469
|
intervalCount?: number;
|
|
14384
|
-
/** Maximum number of auto top-ups
|
|
14470
|
+
/** Maximum allowed within the interval: a number of auto top-ups when limit_type is count, or a total charge (e.g. 500 for $500, pre-tax) when limit_type is amount. */
|
|
14385
14471
|
limit: number;
|
|
14386
14472
|
};
|
|
14387
14473
|
/** When true, auto top-up creates a send_invoice invoice instead of auto-charging. */
|
|
@@ -14924,16 +15010,20 @@ enabled?: boolean;
|
|
|
14924
15010
|
threshold: number;
|
|
14925
15011
|
/** Amount of credits to add per auto top-up. */
|
|
14926
15012
|
quantity: number;
|
|
14927
|
-
/** Optional rate limit to cap how often auto top-ups occur. Pass count to set the current window's consumed top-ups. */
|
|
15013
|
+
/** Optional rate limit to cap how often auto top-ups occur. Pass count or amount to set the current window's consumed top-ups or charged amount. */
|
|
14928
15014
|
purchaseLimit?: {
|
|
15015
|
+
/** What `limit` caps: the number of auto top-ups (`count`, default) or the total amount charged for them, in the customer's currency (`amount`). */
|
|
15016
|
+
limitType?: "count" | "amount";
|
|
14929
15017
|
/** The time interval for the purchase limit window. */
|
|
14930
15018
|
interval: "hour" | "day" | "week" | "month";
|
|
14931
15019
|
/** Number of intervals in the purchase limit window. Defaults to 1. */
|
|
14932
15020
|
intervalCount?: number;
|
|
14933
|
-
/** Maximum number of auto top-ups
|
|
15021
|
+
/** Maximum allowed within the interval: a number of auto top-ups when limit_type is count, or a total charge (e.g. 500 for $500, pre-tax) when limit_type is amount. */
|
|
14934
15022
|
limit: number;
|
|
14935
15023
|
/** Set the current window's consumed auto top-up count. Omit to leave runtime state unchanged. */
|
|
14936
15024
|
count?: number;
|
|
15025
|
+
/** Set the amount already charged by auto top-ups in the current window. Omit to leave runtime state unchanged. */
|
|
15026
|
+
amount?: number;
|
|
14937
15027
|
};
|
|
14938
15028
|
/** When true, auto top-up creates a send_invoice invoice instead of auto-charging. */
|
|
14939
15029
|
invoiceMode?: boolean;
|
|
@@ -15467,13 +15557,15 @@ enabled?: boolean;
|
|
|
15467
15557
|
threshold: number;
|
|
15468
15558
|
/** Amount of credits to add per auto top-up. */
|
|
15469
15559
|
quantity: number;
|
|
15470
|
-
/** Optional
|
|
15560
|
+
/** Optional limit on auto top-ups per window, by number of top-ups or amount charged. */
|
|
15471
15561
|
purchaseLimit?: {
|
|
15562
|
+
/** What `limit` caps: the number of auto top-ups (`count`, default) or the total amount charged for them, in the customer's currency (`amount`). */
|
|
15563
|
+
limitType?: "count" | "amount";
|
|
15472
15564
|
/** The time interval for the purchase limit window. */
|
|
15473
15565
|
interval: "hour" | "day" | "week" | "month";
|
|
15474
15566
|
/** Number of intervals in the purchase limit window. Defaults to 1. */
|
|
15475
15567
|
intervalCount?: number;
|
|
15476
|
-
/** Maximum number of auto top-ups
|
|
15568
|
+
/** Maximum allowed within the interval: a number of auto top-ups when limit_type is count, or a total charge (e.g. 500 for $500, pre-tax) when limit_type is amount. */
|
|
15477
15569
|
limit: number;
|
|
15478
15570
|
};
|
|
15479
15571
|
/** When true, auto top-up creates a send_invoice invoice instead of auto-charging. */
|
|
@@ -16016,16 +16108,20 @@ enabled?: boolean;
|
|
|
16016
16108
|
threshold: number;
|
|
16017
16109
|
/** Amount of credits to add per auto top-up. */
|
|
16018
16110
|
quantity: number;
|
|
16019
|
-
/** Optional rate limit to cap how often auto top-ups occur. Pass count to set the current window's consumed top-ups. */
|
|
16111
|
+
/** Optional rate limit to cap how often auto top-ups occur. Pass count or amount to set the current window's consumed top-ups or charged amount. */
|
|
16020
16112
|
purchaseLimit?: {
|
|
16113
|
+
/** What `limit` caps: the number of auto top-ups (`count`, default) or the total amount charged for them, in the customer's currency (`amount`). */
|
|
16114
|
+
limitType?: "count" | "amount";
|
|
16021
16115
|
/** The time interval for the purchase limit window. */
|
|
16022
16116
|
interval: "hour" | "day" | "week" | "month";
|
|
16023
16117
|
/** Number of intervals in the purchase limit window. Defaults to 1. */
|
|
16024
16118
|
intervalCount?: number;
|
|
16025
|
-
/** Maximum number of auto top-ups
|
|
16119
|
+
/** Maximum allowed within the interval: a number of auto top-ups when limit_type is count, or a total charge (e.g. 500 for $500, pre-tax) when limit_type is amount. */
|
|
16026
16120
|
limit: number;
|
|
16027
16121
|
/** Set the current window's consumed auto top-up count. Omit to leave runtime state unchanged. */
|
|
16028
16122
|
count?: number;
|
|
16123
|
+
/** Set the amount already charged by auto top-ups in the current window. Omit to leave runtime state unchanged. */
|
|
16124
|
+
amount?: number;
|
|
16029
16125
|
};
|
|
16030
16126
|
/** When true, auto top-up creates a send_invoice invoice instead of auto-charging. */
|
|
16031
16127
|
invoiceMode?: boolean;
|
|
@@ -16408,13 +16504,15 @@ enabled?: boolean;
|
|
|
16408
16504
|
threshold: number;
|
|
16409
16505
|
/** Amount of credits to add per auto top-up. */
|
|
16410
16506
|
quantity: number;
|
|
16411
|
-
/** Optional
|
|
16507
|
+
/** Optional limit on auto top-ups per window, by number of top-ups or amount charged. */
|
|
16412
16508
|
purchaseLimit?: {
|
|
16509
|
+
/** What `limit` caps: the number of auto top-ups (`count`, default) or the total amount charged for them, in the customer's currency (`amount`). */
|
|
16510
|
+
limitType?: "count" | "amount";
|
|
16413
16511
|
/** The time interval for the purchase limit window. */
|
|
16414
16512
|
interval: "hour" | "day" | "week" | "month";
|
|
16415
16513
|
/** Number of intervals in the purchase limit window. Defaults to 1. */
|
|
16416
16514
|
intervalCount?: number;
|
|
16417
|
-
/** Maximum number of auto top-ups
|
|
16515
|
+
/** Maximum allowed within the interval: a number of auto top-ups when limit_type is count, or a total charge (e.g. 500 for $500, pre-tax) when limit_type is amount. */
|
|
16418
16516
|
limit: number;
|
|
16419
16517
|
};
|
|
16420
16518
|
/** When true, auto top-up creates a send_invoice invoice instead of auto-charging. */
|
|
@@ -16957,16 +17055,20 @@ enabled?: boolean;
|
|
|
16957
17055
|
threshold: number;
|
|
16958
17056
|
/** Amount of credits to add per auto top-up. */
|
|
16959
17057
|
quantity: number;
|
|
16960
|
-
/** Optional rate limit to cap how often auto top-ups occur. Pass count to set the current window's consumed top-ups. */
|
|
17058
|
+
/** Optional rate limit to cap how often auto top-ups occur. Pass count or amount to set the current window's consumed top-ups or charged amount. */
|
|
16961
17059
|
purchaseLimit?: {
|
|
17060
|
+
/** What `limit` caps: the number of auto top-ups (`count`, default) or the total amount charged for them, in the customer's currency (`amount`). */
|
|
17061
|
+
limitType?: "count" | "amount";
|
|
16962
17062
|
/** The time interval for the purchase limit window. */
|
|
16963
17063
|
interval: "hour" | "day" | "week" | "month";
|
|
16964
17064
|
/** Number of intervals in the purchase limit window. Defaults to 1. */
|
|
16965
17065
|
intervalCount?: number;
|
|
16966
|
-
/** Maximum number of auto top-ups
|
|
17066
|
+
/** Maximum allowed within the interval: a number of auto top-ups when limit_type is count, or a total charge (e.g. 500 for $500, pre-tax) when limit_type is amount. */
|
|
16967
17067
|
limit: number;
|
|
16968
17068
|
/** Set the current window's consumed auto top-up count. Omit to leave runtime state unchanged. */
|
|
16969
17069
|
count?: number;
|
|
17070
|
+
/** Set the amount already charged by auto top-ups in the current window. Omit to leave runtime state unchanged. */
|
|
17071
|
+
amount?: number;
|
|
16970
17072
|
};
|
|
16971
17073
|
/** When true, auto top-up creates a send_invoice invoice instead of auto-charging. */
|
|
16972
17074
|
invoiceMode?: boolean;
|
|
@@ -17500,13 +17602,15 @@ enabled?: boolean;
|
|
|
17500
17602
|
threshold: number;
|
|
17501
17603
|
/** Amount of credits to add per auto top-up. */
|
|
17502
17604
|
quantity: number;
|
|
17503
|
-
/** Optional
|
|
17605
|
+
/** Optional limit on auto top-ups per window, by number of top-ups or amount charged. */
|
|
17504
17606
|
purchaseLimit?: {
|
|
17607
|
+
/** What `limit` caps: the number of auto top-ups (`count`, default) or the total amount charged for them, in the customer's currency (`amount`). */
|
|
17608
|
+
limitType?: "count" | "amount";
|
|
17505
17609
|
/** The time interval for the purchase limit window. */
|
|
17506
17610
|
interval: "hour" | "day" | "week" | "month";
|
|
17507
17611
|
/** Number of intervals in the purchase limit window. Defaults to 1. */
|
|
17508
17612
|
intervalCount?: number;
|
|
17509
|
-
/** Maximum number of auto top-ups
|
|
17613
|
+
/** Maximum allowed within the interval: a number of auto top-ups when limit_type is count, or a total charge (e.g. 500 for $500, pre-tax) when limit_type is amount. */
|
|
17510
17614
|
limit: number;
|
|
17511
17615
|
};
|
|
17512
17616
|
/** When true, auto top-up creates a send_invoice invoice instead of auto-charging. */
|
|
@@ -18049,16 +18153,20 @@ enabled?: boolean;
|
|
|
18049
18153
|
threshold: number;
|
|
18050
18154
|
/** Amount of credits to add per auto top-up. */
|
|
18051
18155
|
quantity: number;
|
|
18052
|
-
/** Optional rate limit to cap how often auto top-ups occur. Pass count to set the current window's consumed top-ups. */
|
|
18156
|
+
/** Optional rate limit to cap how often auto top-ups occur. Pass count or amount to set the current window's consumed top-ups or charged amount. */
|
|
18053
18157
|
purchaseLimit?: {
|
|
18158
|
+
/** What `limit` caps: the number of auto top-ups (`count`, default) or the total amount charged for them, in the customer's currency (`amount`). */
|
|
18159
|
+
limitType?: "count" | "amount";
|
|
18054
18160
|
/** The time interval for the purchase limit window. */
|
|
18055
18161
|
interval: "hour" | "day" | "week" | "month";
|
|
18056
18162
|
/** Number of intervals in the purchase limit window. Defaults to 1. */
|
|
18057
18163
|
intervalCount?: number;
|
|
18058
|
-
/** Maximum number of auto top-ups
|
|
18164
|
+
/** Maximum allowed within the interval: a number of auto top-ups when limit_type is count, or a total charge (e.g. 500 for $500, pre-tax) when limit_type is amount. */
|
|
18059
18165
|
limit: number;
|
|
18060
18166
|
/** Set the current window's consumed auto top-up count. Omit to leave runtime state unchanged. */
|
|
18061
18167
|
count?: number;
|
|
18168
|
+
/** Set the amount already charged by auto top-ups in the current window. Omit to leave runtime state unchanged. */
|
|
18169
|
+
amount?: number;
|
|
18062
18170
|
};
|
|
18063
18171
|
/** When true, auto top-up creates a send_invoice invoice instead of auto-charging. */
|
|
18064
18172
|
invoiceMode?: boolean;
|
|
@@ -18478,13 +18586,15 @@ enabled?: boolean;
|
|
|
18478
18586
|
threshold: number;
|
|
18479
18587
|
/** Amount of credits to add per auto top-up. */
|
|
18480
18588
|
quantity: number;
|
|
18481
|
-
/** Optional
|
|
18589
|
+
/** Optional limit on auto top-ups per window, by number of top-ups or amount charged. */
|
|
18482
18590
|
purchaseLimit?: {
|
|
18591
|
+
/** What `limit` caps: the number of auto top-ups (`count`, default) or the total amount charged for them, in the customer's currency (`amount`). */
|
|
18592
|
+
limitType?: "count" | "amount";
|
|
18483
18593
|
/** The time interval for the purchase limit window. */
|
|
18484
18594
|
interval: "hour" | "day" | "week" | "month";
|
|
18485
18595
|
/** Number of intervals in the purchase limit window. Defaults to 1. */
|
|
18486
18596
|
intervalCount?: number;
|
|
18487
|
-
/** Maximum number of auto top-ups
|
|
18597
|
+
/** Maximum allowed within the interval: a number of auto top-ups when limit_type is count, or a total charge (e.g. 500 for $500, pre-tax) when limit_type is amount. */
|
|
18488
18598
|
limit: number;
|
|
18489
18599
|
};
|
|
18490
18600
|
/** When true, auto top-up creates a send_invoice invoice instead of auto-charging. */
|
|
@@ -19027,16 +19137,20 @@ enabled?: boolean;
|
|
|
19027
19137
|
threshold: number;
|
|
19028
19138
|
/** Amount of credits to add per auto top-up. */
|
|
19029
19139
|
quantity: number;
|
|
19030
|
-
/** Optional rate limit to cap how often auto top-ups occur. Pass count to set the current window's consumed top-ups. */
|
|
19140
|
+
/** Optional rate limit to cap how often auto top-ups occur. Pass count or amount to set the current window's consumed top-ups or charged amount. */
|
|
19031
19141
|
purchaseLimit?: {
|
|
19142
|
+
/** What `limit` caps: the number of auto top-ups (`count`, default) or the total amount charged for them, in the customer's currency (`amount`). */
|
|
19143
|
+
limitType?: "count" | "amount";
|
|
19032
19144
|
/** The time interval for the purchase limit window. */
|
|
19033
19145
|
interval: "hour" | "day" | "week" | "month";
|
|
19034
19146
|
/** Number of intervals in the purchase limit window. Defaults to 1. */
|
|
19035
19147
|
intervalCount?: number;
|
|
19036
|
-
/** Maximum number of auto top-ups
|
|
19148
|
+
/** Maximum allowed within the interval: a number of auto top-ups when limit_type is count, or a total charge (e.g. 500 for $500, pre-tax) when limit_type is amount. */
|
|
19037
19149
|
limit: number;
|
|
19038
19150
|
/** Set the current window's consumed auto top-up count. Omit to leave runtime state unchanged. */
|
|
19039
19151
|
count?: number;
|
|
19152
|
+
/** Set the amount already charged by auto top-ups in the current window. Omit to leave runtime state unchanged. */
|
|
19153
|
+
amount?: number;
|
|
19040
19154
|
};
|
|
19041
19155
|
/** When true, auto top-up creates a send_invoice invoice instead of auto-charging. */
|
|
19042
19156
|
invoiceMode?: boolean;
|
|
@@ -19570,13 +19684,15 @@ enabled?: boolean;
|
|
|
19570
19684
|
threshold: number;
|
|
19571
19685
|
/** Amount of credits to add per auto top-up. */
|
|
19572
19686
|
quantity: number;
|
|
19573
|
-
/** Optional
|
|
19687
|
+
/** Optional limit on auto top-ups per window, by number of top-ups or amount charged. */
|
|
19574
19688
|
purchaseLimit?: {
|
|
19689
|
+
/** What `limit` caps: the number of auto top-ups (`count`, default) or the total amount charged for them, in the customer's currency (`amount`). */
|
|
19690
|
+
limitType?: "count" | "amount";
|
|
19575
19691
|
/** The time interval for the purchase limit window. */
|
|
19576
19692
|
interval: "hour" | "day" | "week" | "month";
|
|
19577
19693
|
/** Number of intervals in the purchase limit window. Defaults to 1. */
|
|
19578
19694
|
intervalCount?: number;
|
|
19579
|
-
/** Maximum number of auto top-ups
|
|
19695
|
+
/** Maximum allowed within the interval: a number of auto top-ups when limit_type is count, or a total charge (e.g. 500 for $500, pre-tax) when limit_type is amount. */
|
|
19580
19696
|
limit: number;
|
|
19581
19697
|
};
|
|
19582
19698
|
/** When true, auto top-up creates a send_invoice invoice instead of auto-charging. */
|
|
@@ -20119,16 +20235,20 @@ enabled?: boolean;
|
|
|
20119
20235
|
threshold: number;
|
|
20120
20236
|
/** Amount of credits to add per auto top-up. */
|
|
20121
20237
|
quantity: number;
|
|
20122
|
-
/** Optional rate limit to cap how often auto top-ups occur. Pass count to set the current window's consumed top-ups. */
|
|
20238
|
+
/** Optional rate limit to cap how often auto top-ups occur. Pass count or amount to set the current window's consumed top-ups or charged amount. */
|
|
20123
20239
|
purchaseLimit?: {
|
|
20240
|
+
/** What `limit` caps: the number of auto top-ups (`count`, default) or the total amount charged for them, in the customer's currency (`amount`). */
|
|
20241
|
+
limitType?: "count" | "amount";
|
|
20124
20242
|
/** The time interval for the purchase limit window. */
|
|
20125
20243
|
interval: "hour" | "day" | "week" | "month";
|
|
20126
20244
|
/** Number of intervals in the purchase limit window. Defaults to 1. */
|
|
20127
20245
|
intervalCount?: number;
|
|
20128
|
-
/** Maximum number of auto top-ups
|
|
20246
|
+
/** Maximum allowed within the interval: a number of auto top-ups when limit_type is count, or a total charge (e.g. 500 for $500, pre-tax) when limit_type is amount. */
|
|
20129
20247
|
limit: number;
|
|
20130
20248
|
/** Set the current window's consumed auto top-up count. Omit to leave runtime state unchanged. */
|
|
20131
20249
|
count?: number;
|
|
20250
|
+
/** Set the amount already charged by auto top-ups in the current window. Omit to leave runtime state unchanged. */
|
|
20251
|
+
amount?: number;
|
|
20132
20252
|
};
|
|
20133
20253
|
/** When true, auto top-up creates a send_invoice invoice instead of auto-charging. */
|
|
20134
20254
|
invoiceMode?: boolean;
|
|
@@ -23157,13 +23277,15 @@ enabled?: boolean;
|
|
|
23157
23277
|
threshold: number;
|
|
23158
23278
|
/** Amount of credits to add per auto top-up. */
|
|
23159
23279
|
quantity: number;
|
|
23160
|
-
/** Optional
|
|
23280
|
+
/** Optional limit on auto top-ups per window, by number of top-ups or amount charged. */
|
|
23161
23281
|
purchaseLimit?: {
|
|
23282
|
+
/** What `limit` caps: the number of auto top-ups (`count`, default) or the total amount charged for them, in the customer's currency (`amount`). */
|
|
23283
|
+
limitType?: "count" | "amount";
|
|
23162
23284
|
/** The time interval for the purchase limit window. */
|
|
23163
23285
|
interval: "hour" | "day" | "week" | "month";
|
|
23164
23286
|
/** Number of intervals in the purchase limit window. Defaults to 1. */
|
|
23165
23287
|
intervalCount?: number;
|
|
23166
|
-
/** Maximum number of auto top-ups
|
|
23288
|
+
/** Maximum allowed within the interval: a number of auto top-ups when limit_type is count, or a total charge (e.g. 500 for $500, pre-tax) when limit_type is amount. */
|
|
23167
23289
|
limit: number;
|
|
23168
23290
|
};
|
|
23169
23291
|
/** When true, auto top-up creates a send_invoice invoice instead of auto-charging. */
|
|
@@ -23706,16 +23828,20 @@ enabled?: boolean;
|
|
|
23706
23828
|
threshold: number;
|
|
23707
23829
|
/** Amount of credits to add per auto top-up. */
|
|
23708
23830
|
quantity: number;
|
|
23709
|
-
/** Optional rate limit to cap how often auto top-ups occur. Pass count to set the current window's consumed top-ups. */
|
|
23831
|
+
/** Optional rate limit to cap how often auto top-ups occur. Pass count or amount to set the current window's consumed top-ups or charged amount. */
|
|
23710
23832
|
purchaseLimit?: {
|
|
23833
|
+
/** What `limit` caps: the number of auto top-ups (`count`, default) or the total amount charged for them, in the customer's currency (`amount`). */
|
|
23834
|
+
limitType?: "count" | "amount";
|
|
23711
23835
|
/** The time interval for the purchase limit window. */
|
|
23712
23836
|
interval: "hour" | "day" | "week" | "month";
|
|
23713
23837
|
/** Number of intervals in the purchase limit window. Defaults to 1. */
|
|
23714
23838
|
intervalCount?: number;
|
|
23715
|
-
/** Maximum number of auto top-ups
|
|
23839
|
+
/** Maximum allowed within the interval: a number of auto top-ups when limit_type is count, or a total charge (e.g. 500 for $500, pre-tax) when limit_type is amount. */
|
|
23716
23840
|
limit: number;
|
|
23717
23841
|
/** Set the current window's consumed auto top-up count. Omit to leave runtime state unchanged. */
|
|
23718
23842
|
count?: number;
|
|
23843
|
+
/** Set the amount already charged by auto top-ups in the current window. Omit to leave runtime state unchanged. */
|
|
23844
|
+
amount?: number;
|
|
23719
23845
|
};
|
|
23720
23846
|
/** When true, auto top-up creates a send_invoice invoice instead of auto-charging. */
|
|
23721
23847
|
invoiceMode?: boolean;
|
|
@@ -24249,13 +24375,15 @@ enabled?: boolean;
|
|
|
24249
24375
|
threshold: number;
|
|
24250
24376
|
/** Amount of credits to add per auto top-up. */
|
|
24251
24377
|
quantity: number;
|
|
24252
|
-
/** Optional
|
|
24378
|
+
/** Optional limit on auto top-ups per window, by number of top-ups or amount charged. */
|
|
24253
24379
|
purchaseLimit?: {
|
|
24380
|
+
/** What `limit` caps: the number of auto top-ups (`count`, default) or the total amount charged for them, in the customer's currency (`amount`). */
|
|
24381
|
+
limitType?: "count" | "amount";
|
|
24254
24382
|
/** The time interval for the purchase limit window. */
|
|
24255
24383
|
interval: "hour" | "day" | "week" | "month";
|
|
24256
24384
|
/** Number of intervals in the purchase limit window. Defaults to 1. */
|
|
24257
24385
|
intervalCount?: number;
|
|
24258
|
-
/** Maximum number of auto top-ups
|
|
24386
|
+
/** Maximum allowed within the interval: a number of auto top-ups when limit_type is count, or a total charge (e.g. 500 for $500, pre-tax) when limit_type is amount. */
|
|
24259
24387
|
limit: number;
|
|
24260
24388
|
};
|
|
24261
24389
|
/** When true, auto top-up creates a send_invoice invoice instead of auto-charging. */
|
|
@@ -24798,16 +24926,20 @@ enabled?: boolean;
|
|
|
24798
24926
|
threshold: number;
|
|
24799
24927
|
/** Amount of credits to add per auto top-up. */
|
|
24800
24928
|
quantity: number;
|
|
24801
|
-
/** Optional rate limit to cap how often auto top-ups occur. Pass count to set the current window's consumed top-ups. */
|
|
24929
|
+
/** Optional rate limit to cap how often auto top-ups occur. Pass count or amount to set the current window's consumed top-ups or charged amount. */
|
|
24802
24930
|
purchaseLimit?: {
|
|
24931
|
+
/** What `limit` caps: the number of auto top-ups (`count`, default) or the total amount charged for them, in the customer's currency (`amount`). */
|
|
24932
|
+
limitType?: "count" | "amount";
|
|
24803
24933
|
/** The time interval for the purchase limit window. */
|
|
24804
24934
|
interval: "hour" | "day" | "week" | "month";
|
|
24805
24935
|
/** Number of intervals in the purchase limit window. Defaults to 1. */
|
|
24806
24936
|
intervalCount?: number;
|
|
24807
|
-
/** Maximum number of auto top-ups
|
|
24937
|
+
/** Maximum allowed within the interval: a number of auto top-ups when limit_type is count, or a total charge (e.g. 500 for $500, pre-tax) when limit_type is amount. */
|
|
24808
24938
|
limit: number;
|
|
24809
24939
|
/** Set the current window's consumed auto top-up count. Omit to leave runtime state unchanged. */
|
|
24810
24940
|
count?: number;
|
|
24941
|
+
/** Set the amount already charged by auto top-ups in the current window. Omit to leave runtime state unchanged. */
|
|
24942
|
+
amount?: number;
|
|
24811
24943
|
};
|
|
24812
24944
|
/** When true, auto top-up creates a send_invoice invoice instead of auto-charging. */
|
|
24813
24945
|
invoiceMode?: boolean;
|
|
@@ -25213,13 +25345,15 @@ enabled?: boolean;
|
|
|
25213
25345
|
threshold: number;
|
|
25214
25346
|
/** Amount of credits to add per auto top-up. */
|
|
25215
25347
|
quantity: number;
|
|
25216
|
-
/** Optional
|
|
25348
|
+
/** Optional limit on auto top-ups per window, by number of top-ups or amount charged. */
|
|
25217
25349
|
purchaseLimit?: {
|
|
25350
|
+
/** What `limit` caps: the number of auto top-ups (`count`, default) or the total amount charged for them, in the customer's currency (`amount`). */
|
|
25351
|
+
limitType?: "count" | "amount";
|
|
25218
25352
|
/** The time interval for the purchase limit window. */
|
|
25219
25353
|
interval: "hour" | "day" | "week" | "month";
|
|
25220
25354
|
/** Number of intervals in the purchase limit window. Defaults to 1. */
|
|
25221
25355
|
intervalCount?: number;
|
|
25222
|
-
/** Maximum number of auto top-ups
|
|
25356
|
+
/** Maximum allowed within the interval: a number of auto top-ups when limit_type is count, or a total charge (e.g. 500 for $500, pre-tax) when limit_type is amount. */
|
|
25223
25357
|
limit: number;
|
|
25224
25358
|
};
|
|
25225
25359
|
/** When true, auto top-up creates a send_invoice invoice instead of auto-charging. */
|
|
@@ -25762,16 +25896,20 @@ enabled?: boolean;
|
|
|
25762
25896
|
threshold: number;
|
|
25763
25897
|
/** Amount of credits to add per auto top-up. */
|
|
25764
25898
|
quantity: number;
|
|
25765
|
-
/** Optional rate limit to cap how often auto top-ups occur. Pass count to set the current window's consumed top-ups. */
|
|
25899
|
+
/** Optional rate limit to cap how often auto top-ups occur. Pass count or amount to set the current window's consumed top-ups or charged amount. */
|
|
25766
25900
|
purchaseLimit?: {
|
|
25901
|
+
/** What `limit` caps: the number of auto top-ups (`count`, default) or the total amount charged for them, in the customer's currency (`amount`). */
|
|
25902
|
+
limitType?: "count" | "amount";
|
|
25767
25903
|
/** The time interval for the purchase limit window. */
|
|
25768
25904
|
interval: "hour" | "day" | "week" | "month";
|
|
25769
25905
|
/** Number of intervals in the purchase limit window. Defaults to 1. */
|
|
25770
25906
|
intervalCount?: number;
|
|
25771
|
-
/** Maximum number of auto top-ups
|
|
25907
|
+
/** Maximum allowed within the interval: a number of auto top-ups when limit_type is count, or a total charge (e.g. 500 for $500, pre-tax) when limit_type is amount. */
|
|
25772
25908
|
limit: number;
|
|
25773
25909
|
/** Set the current window's consumed auto top-up count. Omit to leave runtime state unchanged. */
|
|
25774
25910
|
count?: number;
|
|
25911
|
+
/** Set the amount already charged by auto top-ups in the current window. Omit to leave runtime state unchanged. */
|
|
25912
|
+
amount?: number;
|
|
25775
25913
|
};
|
|
25776
25914
|
/** When true, auto top-up creates a send_invoice invoice instead of auto-charging. */
|
|
25777
25915
|
invoiceMode?: boolean;
|
|
@@ -26305,13 +26443,15 @@ enabled?: boolean;
|
|
|
26305
26443
|
threshold: number;
|
|
26306
26444
|
/** Amount of credits to add per auto top-up. */
|
|
26307
26445
|
quantity: number;
|
|
26308
|
-
/** Optional
|
|
26446
|
+
/** Optional limit on auto top-ups per window, by number of top-ups or amount charged. */
|
|
26309
26447
|
purchaseLimit?: {
|
|
26448
|
+
/** What `limit` caps: the number of auto top-ups (`count`, default) or the total amount charged for them, in the customer's currency (`amount`). */
|
|
26449
|
+
limitType?: "count" | "amount";
|
|
26310
26450
|
/** The time interval for the purchase limit window. */
|
|
26311
26451
|
interval: "hour" | "day" | "week" | "month";
|
|
26312
26452
|
/** Number of intervals in the purchase limit window. Defaults to 1. */
|
|
26313
26453
|
intervalCount?: number;
|
|
26314
|
-
/** Maximum number of auto top-ups
|
|
26454
|
+
/** Maximum allowed within the interval: a number of auto top-ups when limit_type is count, or a total charge (e.g. 500 for $500, pre-tax) when limit_type is amount. */
|
|
26315
26455
|
limit: number;
|
|
26316
26456
|
};
|
|
26317
26457
|
/** When true, auto top-up creates a send_invoice invoice instead of auto-charging. */
|
|
@@ -26854,16 +26994,20 @@ enabled?: boolean;
|
|
|
26854
26994
|
threshold: number;
|
|
26855
26995
|
/** Amount of credits to add per auto top-up. */
|
|
26856
26996
|
quantity: number;
|
|
26857
|
-
/** Optional rate limit to cap how often auto top-ups occur. Pass count to set the current window's consumed top-ups. */
|
|
26997
|
+
/** Optional rate limit to cap how often auto top-ups occur. Pass count or amount to set the current window's consumed top-ups or charged amount. */
|
|
26858
26998
|
purchaseLimit?: {
|
|
26999
|
+
/** What `limit` caps: the number of auto top-ups (`count`, default) or the total amount charged for them, in the customer's currency (`amount`). */
|
|
27000
|
+
limitType?: "count" | "amount";
|
|
26859
27001
|
/** The time interval for the purchase limit window. */
|
|
26860
27002
|
interval: "hour" | "day" | "week" | "month";
|
|
26861
27003
|
/** Number of intervals in the purchase limit window. Defaults to 1. */
|
|
26862
27004
|
intervalCount?: number;
|
|
26863
|
-
/** Maximum number of auto top-ups
|
|
27005
|
+
/** Maximum allowed within the interval: a number of auto top-ups when limit_type is count, or a total charge (e.g. 500 for $500, pre-tax) when limit_type is amount. */
|
|
26864
27006
|
limit: number;
|
|
26865
27007
|
/** Set the current window's consumed auto top-up count. Omit to leave runtime state unchanged. */
|
|
26866
27008
|
count?: number;
|
|
27009
|
+
/** Set the amount already charged by auto top-ups in the current window. Omit to leave runtime state unchanged. */
|
|
27010
|
+
amount?: number;
|
|
26867
27011
|
};
|
|
26868
27012
|
/** When true, auto top-up creates a send_invoice invoice instead of auto-charging. */
|
|
26869
27013
|
invoiceMode?: boolean;
|
|
@@ -27271,13 +27415,15 @@ enabled?: boolean;
|
|
|
27271
27415
|
threshold: number;
|
|
27272
27416
|
/** Amount of credits to add per auto top-up. */
|
|
27273
27417
|
quantity: number;
|
|
27274
|
-
/** Optional
|
|
27418
|
+
/** Optional limit on auto top-ups per window, by number of top-ups or amount charged. */
|
|
27275
27419
|
purchaseLimit?: {
|
|
27420
|
+
/** What `limit` caps: the number of auto top-ups (`count`, default) or the total amount charged for them, in the customer's currency (`amount`). */
|
|
27421
|
+
limitType?: "count" | "amount";
|
|
27276
27422
|
/** The time interval for the purchase limit window. */
|
|
27277
27423
|
interval: "hour" | "day" | "week" | "month";
|
|
27278
27424
|
/** Number of intervals in the purchase limit window. Defaults to 1. */
|
|
27279
27425
|
intervalCount?: number;
|
|
27280
|
-
/** Maximum number of auto top-ups
|
|
27426
|
+
/** Maximum allowed within the interval: a number of auto top-ups when limit_type is count, or a total charge (e.g. 500 for $500, pre-tax) when limit_type is amount. */
|
|
27281
27427
|
limit: number;
|
|
27282
27428
|
};
|
|
27283
27429
|
/** When true, auto top-up creates a send_invoice invoice instead of auto-charging. */
|
|
@@ -27820,16 +27966,20 @@ enabled?: boolean;
|
|
|
27820
27966
|
threshold: number;
|
|
27821
27967
|
/** Amount of credits to add per auto top-up. */
|
|
27822
27968
|
quantity: number;
|
|
27823
|
-
/** Optional rate limit to cap how often auto top-ups occur. Pass count to set the current window's consumed top-ups. */
|
|
27969
|
+
/** Optional rate limit to cap how often auto top-ups occur. Pass count or amount to set the current window's consumed top-ups or charged amount. */
|
|
27824
27970
|
purchaseLimit?: {
|
|
27971
|
+
/** What `limit` caps: the number of auto top-ups (`count`, default) or the total amount charged for them, in the customer's currency (`amount`). */
|
|
27972
|
+
limitType?: "count" | "amount";
|
|
27825
27973
|
/** The time interval for the purchase limit window. */
|
|
27826
27974
|
interval: "hour" | "day" | "week" | "month";
|
|
27827
27975
|
/** Number of intervals in the purchase limit window. Defaults to 1. */
|
|
27828
27976
|
intervalCount?: number;
|
|
27829
|
-
/** Maximum number of auto top-ups
|
|
27977
|
+
/** Maximum allowed within the interval: a number of auto top-ups when limit_type is count, or a total charge (e.g. 500 for $500, pre-tax) when limit_type is amount. */
|
|
27830
27978
|
limit: number;
|
|
27831
27979
|
/** Set the current window's consumed auto top-up count. Omit to leave runtime state unchanged. */
|
|
27832
27980
|
count?: number;
|
|
27981
|
+
/** Set the amount already charged by auto top-ups in the current window. Omit to leave runtime state unchanged. */
|
|
27982
|
+
amount?: number;
|
|
27833
27983
|
};
|
|
27834
27984
|
/** When true, auto top-up creates a send_invoice invoice instead of auto-charging. */
|
|
27835
27985
|
invoiceMode?: boolean;
|
|
@@ -28363,13 +28513,15 @@ enabled?: boolean;
|
|
|
28363
28513
|
threshold: number;
|
|
28364
28514
|
/** Amount of credits to add per auto top-up. */
|
|
28365
28515
|
quantity: number;
|
|
28366
|
-
/** Optional
|
|
28516
|
+
/** Optional limit on auto top-ups per window, by number of top-ups or amount charged. */
|
|
28367
28517
|
purchaseLimit?: {
|
|
28518
|
+
/** What `limit` caps: the number of auto top-ups (`count`, default) or the total amount charged for them, in the customer's currency (`amount`). */
|
|
28519
|
+
limitType?: "count" | "amount";
|
|
28368
28520
|
/** The time interval for the purchase limit window. */
|
|
28369
28521
|
interval: "hour" | "day" | "week" | "month";
|
|
28370
28522
|
/** Number of intervals in the purchase limit window. Defaults to 1. */
|
|
28371
28523
|
intervalCount?: number;
|
|
28372
|
-
/** Maximum number of auto top-ups
|
|
28524
|
+
/** Maximum allowed within the interval: a number of auto top-ups when limit_type is count, or a total charge (e.g. 500 for $500, pre-tax) when limit_type is amount. */
|
|
28373
28525
|
limit: number;
|
|
28374
28526
|
};
|
|
28375
28527
|
/** When true, auto top-up creates a send_invoice invoice instead of auto-charging. */
|
|
@@ -28912,16 +29064,20 @@ enabled?: boolean;
|
|
|
28912
29064
|
threshold: number;
|
|
28913
29065
|
/** Amount of credits to add per auto top-up. */
|
|
28914
29066
|
quantity: number;
|
|
28915
|
-
/** Optional rate limit to cap how often auto top-ups occur. Pass count to set the current window's consumed top-ups. */
|
|
29067
|
+
/** Optional rate limit to cap how often auto top-ups occur. Pass count or amount to set the current window's consumed top-ups or charged amount. */
|
|
28916
29068
|
purchaseLimit?: {
|
|
29069
|
+
/** What `limit` caps: the number of auto top-ups (`count`, default) or the total amount charged for them, in the customer's currency (`amount`). */
|
|
29070
|
+
limitType?: "count" | "amount";
|
|
28917
29071
|
/** The time interval for the purchase limit window. */
|
|
28918
29072
|
interval: "hour" | "day" | "week" | "month";
|
|
28919
29073
|
/** Number of intervals in the purchase limit window. Defaults to 1. */
|
|
28920
29074
|
intervalCount?: number;
|
|
28921
|
-
/** Maximum number of auto top-ups
|
|
29075
|
+
/** Maximum allowed within the interval: a number of auto top-ups when limit_type is count, or a total charge (e.g. 500 for $500, pre-tax) when limit_type is amount. */
|
|
28922
29076
|
limit: number;
|
|
28923
29077
|
/** Set the current window's consumed auto top-up count. Omit to leave runtime state unchanged. */
|
|
28924
29078
|
count?: number;
|
|
29079
|
+
/** Set the amount already charged by auto top-ups in the current window. Omit to leave runtime state unchanged. */
|
|
29080
|
+
amount?: number;
|
|
28925
29081
|
};
|
|
28926
29082
|
/** When true, auto top-up creates a send_invoice invoice instead of auto-charging. */
|
|
28927
29083
|
invoiceMode?: boolean;
|
|
@@ -29314,13 +29470,15 @@ enabled?: boolean;
|
|
|
29314
29470
|
threshold: number;
|
|
29315
29471
|
/** Amount of credits to add per auto top-up. */
|
|
29316
29472
|
quantity: number;
|
|
29317
|
-
/** Optional
|
|
29473
|
+
/** Optional limit on auto top-ups per window, by number of top-ups or amount charged. */
|
|
29318
29474
|
purchaseLimit?: {
|
|
29475
|
+
/** What `limit` caps: the number of auto top-ups (`count`, default) or the total amount charged for them, in the customer's currency (`amount`). */
|
|
29476
|
+
limitType?: "count" | "amount";
|
|
29319
29477
|
/** The time interval for the purchase limit window. */
|
|
29320
29478
|
interval: "hour" | "day" | "week" | "month";
|
|
29321
29479
|
/** Number of intervals in the purchase limit window. Defaults to 1. */
|
|
29322
29480
|
intervalCount?: number;
|
|
29323
|
-
/** Maximum number of auto top-ups
|
|
29481
|
+
/** Maximum allowed within the interval: a number of auto top-ups when limit_type is count, or a total charge (e.g. 500 for $500, pre-tax) when limit_type is amount. */
|
|
29324
29482
|
limit: number;
|
|
29325
29483
|
};
|
|
29326
29484
|
/** When true, auto top-up creates a send_invoice invoice instead of auto-charging. */
|
|
@@ -29863,16 +30021,20 @@ enabled?: boolean;
|
|
|
29863
30021
|
threshold: number;
|
|
29864
30022
|
/** Amount of credits to add per auto top-up. */
|
|
29865
30023
|
quantity: number;
|
|
29866
|
-
/** Optional rate limit to cap how often auto top-ups occur. Pass count to set the current window's consumed top-ups. */
|
|
30024
|
+
/** Optional rate limit to cap how often auto top-ups occur. Pass count or amount to set the current window's consumed top-ups or charged amount. */
|
|
29867
30025
|
purchaseLimit?: {
|
|
30026
|
+
/** What `limit` caps: the number of auto top-ups (`count`, default) or the total amount charged for them, in the customer's currency (`amount`). */
|
|
30027
|
+
limitType?: "count" | "amount";
|
|
29868
30028
|
/** The time interval for the purchase limit window. */
|
|
29869
30029
|
interval: "hour" | "day" | "week" | "month";
|
|
29870
30030
|
/** Number of intervals in the purchase limit window. Defaults to 1. */
|
|
29871
30031
|
intervalCount?: number;
|
|
29872
|
-
/** Maximum number of auto top-ups
|
|
30032
|
+
/** Maximum allowed within the interval: a number of auto top-ups when limit_type is count, or a total charge (e.g. 500 for $500, pre-tax) when limit_type is amount. */
|
|
29873
30033
|
limit: number;
|
|
29874
30034
|
/** Set the current window's consumed auto top-up count. Omit to leave runtime state unchanged. */
|
|
29875
30035
|
count?: number;
|
|
30036
|
+
/** Set the amount already charged by auto top-ups in the current window. Omit to leave runtime state unchanged. */
|
|
30037
|
+
amount?: number;
|
|
29876
30038
|
};
|
|
29877
30039
|
/** When true, auto top-up creates a send_invoice invoice instead of auto-charging. */
|
|
29878
30040
|
invoiceMode?: boolean;
|
|
@@ -30376,13 +30538,15 @@ enabled?: boolean;
|
|
|
30376
30538
|
threshold: number;
|
|
30377
30539
|
/** Amount of credits to add per auto top-up. */
|
|
30378
30540
|
quantity: number;
|
|
30379
|
-
/** Optional
|
|
30541
|
+
/** Optional limit on auto top-ups per window, by number of top-ups or amount charged. */
|
|
30380
30542
|
purchaseLimit?: {
|
|
30543
|
+
/** What `limit` caps: the number of auto top-ups (`count`, default) or the total amount charged for them, in the customer's currency (`amount`). */
|
|
30544
|
+
limitType?: "count" | "amount";
|
|
30381
30545
|
/** The time interval for the purchase limit window. */
|
|
30382
30546
|
interval: "hour" | "day" | "week" | "month";
|
|
30383
30547
|
/** Number of intervals in the purchase limit window. Defaults to 1. */
|
|
30384
30548
|
intervalCount?: number;
|
|
30385
|
-
/** Maximum number of auto top-ups
|
|
30549
|
+
/** Maximum allowed within the interval: a number of auto top-ups when limit_type is count, or a total charge (e.g. 500 for $500, pre-tax) when limit_type is amount. */
|
|
30386
30550
|
limit: number;
|
|
30387
30551
|
};
|
|
30388
30552
|
/** When true, auto top-up creates a send_invoice invoice instead of auto-charging. */
|
|
@@ -30881,16 +31045,20 @@ enabled?: boolean;
|
|
|
30881
31045
|
threshold: number;
|
|
30882
31046
|
/** Amount of credits to add per auto top-up. */
|
|
30883
31047
|
quantity: number;
|
|
30884
|
-
/** Optional rate limit to cap how often auto top-ups occur. Pass count to set the current window's consumed top-ups. */
|
|
31048
|
+
/** Optional rate limit to cap how often auto top-ups occur. Pass count or amount to set the current window's consumed top-ups or charged amount. */
|
|
30885
31049
|
purchaseLimit?: {
|
|
31050
|
+
/** What `limit` caps: the number of auto top-ups (`count`, default) or the total amount charged for them, in the customer's currency (`amount`). */
|
|
31051
|
+
limitType?: "count" | "amount";
|
|
30886
31052
|
/** The time interval for the purchase limit window. */
|
|
30887
31053
|
interval: "hour" | "day" | "week" | "month";
|
|
30888
31054
|
/** Number of intervals in the purchase limit window. Defaults to 1. */
|
|
30889
31055
|
intervalCount?: number;
|
|
30890
|
-
/** Maximum number of auto top-ups
|
|
31056
|
+
/** Maximum allowed within the interval: a number of auto top-ups when limit_type is count, or a total charge (e.g. 500 for $500, pre-tax) when limit_type is amount. */
|
|
30891
31057
|
limit: number;
|
|
30892
31058
|
/** Set the current window's consumed auto top-up count. Omit to leave runtime state unchanged. */
|
|
30893
31059
|
count?: number;
|
|
31060
|
+
/** Set the amount already charged by auto top-ups in the current window. Omit to leave runtime state unchanged. */
|
|
31061
|
+
amount?: number;
|
|
30894
31062
|
};
|
|
30895
31063
|
/** When true, auto top-up creates a send_invoice invoice instead of auto-charging. */
|
|
30896
31064
|
invoiceMode?: boolean;
|
|
@@ -31238,13 +31406,15 @@ enabled?: boolean;
|
|
|
31238
31406
|
threshold: number;
|
|
31239
31407
|
/** Amount of credits to add per auto top-up. */
|
|
31240
31408
|
quantity: number;
|
|
31241
|
-
/** Optional
|
|
31409
|
+
/** Optional limit on auto top-ups per window, by number of top-ups or amount charged. */
|
|
31242
31410
|
purchaseLimit?: {
|
|
31411
|
+
/** What `limit` caps: the number of auto top-ups (`count`, default) or the total amount charged for them, in the customer's currency (`amount`). */
|
|
31412
|
+
limitType?: "count" | "amount";
|
|
31243
31413
|
/** The time interval for the purchase limit window. */
|
|
31244
31414
|
interval: "hour" | "day" | "week" | "month";
|
|
31245
31415
|
/** Number of intervals in the purchase limit window. Defaults to 1. */
|
|
31246
31416
|
intervalCount?: number;
|
|
31247
|
-
/** Maximum number of auto top-ups
|
|
31417
|
+
/** Maximum allowed within the interval: a number of auto top-ups when limit_type is count, or a total charge (e.g. 500 for $500, pre-tax) when limit_type is amount. */
|
|
31248
31418
|
limit: number;
|
|
31249
31419
|
};
|
|
31250
31420
|
/** When true, auto top-up creates a send_invoice invoice instead of auto-charging. */
|
|
@@ -31787,16 +31957,20 @@ enabled?: boolean;
|
|
|
31787
31957
|
threshold: number;
|
|
31788
31958
|
/** Amount of credits to add per auto top-up. */
|
|
31789
31959
|
quantity: number;
|
|
31790
|
-
/** Optional rate limit to cap how often auto top-ups occur. Pass count to set the current window's consumed top-ups. */
|
|
31960
|
+
/** Optional rate limit to cap how often auto top-ups occur. Pass count or amount to set the current window's consumed top-ups or charged amount. */
|
|
31791
31961
|
purchaseLimit?: {
|
|
31962
|
+
/** What `limit` caps: the number of auto top-ups (`count`, default) or the total amount charged for them, in the customer's currency (`amount`). */
|
|
31963
|
+
limitType?: "count" | "amount";
|
|
31792
31964
|
/** The time interval for the purchase limit window. */
|
|
31793
31965
|
interval: "hour" | "day" | "week" | "month";
|
|
31794
31966
|
/** Number of intervals in the purchase limit window. Defaults to 1. */
|
|
31795
31967
|
intervalCount?: number;
|
|
31796
|
-
/** Maximum number of auto top-ups
|
|
31968
|
+
/** Maximum allowed within the interval: a number of auto top-ups when limit_type is count, or a total charge (e.g. 500 for $500, pre-tax) when limit_type is amount. */
|
|
31797
31969
|
limit: number;
|
|
31798
31970
|
/** Set the current window's consumed auto top-up count. Omit to leave runtime state unchanged. */
|
|
31799
31971
|
count?: number;
|
|
31972
|
+
/** Set the amount already charged by auto top-ups in the current window. Omit to leave runtime state unchanged. */
|
|
31973
|
+
amount?: number;
|
|
31800
31974
|
};
|
|
31801
31975
|
/** When true, auto top-up creates a send_invoice invoice instead of auto-charging. */
|
|
31802
31976
|
invoiceMode?: boolean;
|
|
@@ -32330,13 +32504,15 @@ enabled?: boolean;
|
|
|
32330
32504
|
threshold: number;
|
|
32331
32505
|
/** Amount of credits to add per auto top-up. */
|
|
32332
32506
|
quantity: number;
|
|
32333
|
-
/** Optional
|
|
32507
|
+
/** Optional limit on auto top-ups per window, by number of top-ups or amount charged. */
|
|
32334
32508
|
purchaseLimit?: {
|
|
32509
|
+
/** What `limit` caps: the number of auto top-ups (`count`, default) or the total amount charged for them, in the customer's currency (`amount`). */
|
|
32510
|
+
limitType?: "count" | "amount";
|
|
32335
32511
|
/** The time interval for the purchase limit window. */
|
|
32336
32512
|
interval: "hour" | "day" | "week" | "month";
|
|
32337
32513
|
/** Number of intervals in the purchase limit window. Defaults to 1. */
|
|
32338
32514
|
intervalCount?: number;
|
|
32339
|
-
/** Maximum number of auto top-ups
|
|
32515
|
+
/** Maximum allowed within the interval: a number of auto top-ups when limit_type is count, or a total charge (e.g. 500 for $500, pre-tax) when limit_type is amount. */
|
|
32340
32516
|
limit: number;
|
|
32341
32517
|
};
|
|
32342
32518
|
/** When true, auto top-up creates a send_invoice invoice instead of auto-charging. */
|
|
@@ -32879,16 +33055,20 @@ enabled?: boolean;
|
|
|
32879
33055
|
threshold: number;
|
|
32880
33056
|
/** Amount of credits to add per auto top-up. */
|
|
32881
33057
|
quantity: number;
|
|
32882
|
-
/** Optional rate limit to cap how often auto top-ups occur. Pass count to set the current window's consumed top-ups. */
|
|
33058
|
+
/** Optional rate limit to cap how often auto top-ups occur. Pass count or amount to set the current window's consumed top-ups or charged amount. */
|
|
32883
33059
|
purchaseLimit?: {
|
|
33060
|
+
/** What `limit` caps: the number of auto top-ups (`count`, default) or the total amount charged for them, in the customer's currency (`amount`). */
|
|
33061
|
+
limitType?: "count" | "amount";
|
|
32884
33062
|
/** The time interval for the purchase limit window. */
|
|
32885
33063
|
interval: "hour" | "day" | "week" | "month";
|
|
32886
33064
|
/** Number of intervals in the purchase limit window. Defaults to 1. */
|
|
32887
33065
|
intervalCount?: number;
|
|
32888
|
-
/** Maximum number of auto top-ups
|
|
33066
|
+
/** Maximum allowed within the interval: a number of auto top-ups when limit_type is count, or a total charge (e.g. 500 for $500, pre-tax) when limit_type is amount. */
|
|
32889
33067
|
limit: number;
|
|
32890
33068
|
/** Set the current window's consumed auto top-up count. Omit to leave runtime state unchanged. */
|
|
32891
33069
|
count?: number;
|
|
33070
|
+
/** Set the amount already charged by auto top-ups in the current window. Omit to leave runtime state unchanged. */
|
|
33071
|
+
amount?: number;
|
|
32892
33072
|
};
|
|
32893
33073
|
/** When true, auto top-up creates a send_invoice invoice instead of auto-charging. */
|
|
32894
33074
|
invoiceMode?: boolean;
|
|
@@ -33279,13 +33459,15 @@ enabled?: boolean;
|
|
|
33279
33459
|
threshold: number;
|
|
33280
33460
|
/** Amount of credits to add per auto top-up. */
|
|
33281
33461
|
quantity: number;
|
|
33282
|
-
/** Optional
|
|
33462
|
+
/** Optional limit on auto top-ups per window, by number of top-ups or amount charged. */
|
|
33283
33463
|
purchaseLimit?: {
|
|
33464
|
+
/** What `limit` caps: the number of auto top-ups (`count`, default) or the total amount charged for them, in the customer's currency (`amount`). */
|
|
33465
|
+
limitType?: "count" | "amount";
|
|
33284
33466
|
/** The time interval for the purchase limit window. */
|
|
33285
33467
|
interval: "hour" | "day" | "week" | "month";
|
|
33286
33468
|
/** Number of intervals in the purchase limit window. Defaults to 1. */
|
|
33287
33469
|
intervalCount?: number;
|
|
33288
|
-
/** Maximum number of auto top-ups
|
|
33470
|
+
/** Maximum allowed within the interval: a number of auto top-ups when limit_type is count, or a total charge (e.g. 500 for $500, pre-tax) when limit_type is amount. */
|
|
33289
33471
|
limit: number;
|
|
33290
33472
|
};
|
|
33291
33473
|
/** When true, auto top-up creates a send_invoice invoice instead of auto-charging. */
|
|
@@ -33828,16 +34010,20 @@ enabled?: boolean;
|
|
|
33828
34010
|
threshold: number;
|
|
33829
34011
|
/** Amount of credits to add per auto top-up. */
|
|
33830
34012
|
quantity: number;
|
|
33831
|
-
/** Optional rate limit to cap how often auto top-ups occur. Pass count to set the current window's consumed top-ups. */
|
|
34013
|
+
/** Optional rate limit to cap how often auto top-ups occur. Pass count or amount to set the current window's consumed top-ups or charged amount. */
|
|
33832
34014
|
purchaseLimit?: {
|
|
34015
|
+
/** What `limit` caps: the number of auto top-ups (`count`, default) or the total amount charged for them, in the customer's currency (`amount`). */
|
|
34016
|
+
limitType?: "count" | "amount";
|
|
33833
34017
|
/** The time interval for the purchase limit window. */
|
|
33834
34018
|
interval: "hour" | "day" | "week" | "month";
|
|
33835
34019
|
/** Number of intervals in the purchase limit window. Defaults to 1. */
|
|
33836
34020
|
intervalCount?: number;
|
|
33837
|
-
/** Maximum number of auto top-ups
|
|
34021
|
+
/** Maximum allowed within the interval: a number of auto top-ups when limit_type is count, or a total charge (e.g. 500 for $500, pre-tax) when limit_type is amount. */
|
|
33838
34022
|
limit: number;
|
|
33839
34023
|
/** Set the current window's consumed auto top-up count. Omit to leave runtime state unchanged. */
|
|
33840
34024
|
count?: number;
|
|
34025
|
+
/** Set the amount already charged by auto top-ups in the current window. Omit to leave runtime state unchanged. */
|
|
34026
|
+
amount?: number;
|
|
33841
34027
|
};
|
|
33842
34028
|
/** When true, auto top-up creates a send_invoice invoice instead of auto-charging. */
|
|
33843
34029
|
invoiceMode?: boolean;
|
|
@@ -34341,13 +34527,15 @@ enabled?: boolean;
|
|
|
34341
34527
|
threshold: number;
|
|
34342
34528
|
/** Amount of credits to add per auto top-up. */
|
|
34343
34529
|
quantity: number;
|
|
34344
|
-
/** Optional
|
|
34530
|
+
/** Optional limit on auto top-ups per window, by number of top-ups or amount charged. */
|
|
34345
34531
|
purchaseLimit?: {
|
|
34532
|
+
/** What `limit` caps: the number of auto top-ups (`count`, default) or the total amount charged for them, in the customer's currency (`amount`). */
|
|
34533
|
+
limitType?: "count" | "amount";
|
|
34346
34534
|
/** The time interval for the purchase limit window. */
|
|
34347
34535
|
interval: "hour" | "day" | "week" | "month";
|
|
34348
34536
|
/** Number of intervals in the purchase limit window. Defaults to 1. */
|
|
34349
34537
|
intervalCount?: number;
|
|
34350
|
-
/** Maximum number of auto top-ups
|
|
34538
|
+
/** Maximum allowed within the interval: a number of auto top-ups when limit_type is count, or a total charge (e.g. 500 for $500, pre-tax) when limit_type is amount. */
|
|
34351
34539
|
limit: number;
|
|
34352
34540
|
};
|
|
34353
34541
|
/** When true, auto top-up creates a send_invoice invoice instead of auto-charging. */
|
|
@@ -34846,16 +35034,20 @@ enabled?: boolean;
|
|
|
34846
35034
|
threshold: number;
|
|
34847
35035
|
/** Amount of credits to add per auto top-up. */
|
|
34848
35036
|
quantity: number;
|
|
34849
|
-
/** Optional rate limit to cap how often auto top-ups occur. Pass count to set the current window's consumed top-ups. */
|
|
35037
|
+
/** Optional rate limit to cap how often auto top-ups occur. Pass count or amount to set the current window's consumed top-ups or charged amount. */
|
|
34850
35038
|
purchaseLimit?: {
|
|
35039
|
+
/** What `limit` caps: the number of auto top-ups (`count`, default) or the total amount charged for them, in the customer's currency (`amount`). */
|
|
35040
|
+
limitType?: "count" | "amount";
|
|
34851
35041
|
/** The time interval for the purchase limit window. */
|
|
34852
35042
|
interval: "hour" | "day" | "week" | "month";
|
|
34853
35043
|
/** Number of intervals in the purchase limit window. Defaults to 1. */
|
|
34854
35044
|
intervalCount?: number;
|
|
34855
|
-
/** Maximum number of auto top-ups
|
|
35045
|
+
/** Maximum allowed within the interval: a number of auto top-ups when limit_type is count, or a total charge (e.g. 500 for $500, pre-tax) when limit_type is amount. */
|
|
34856
35046
|
limit: number;
|
|
34857
35047
|
/** Set the current window's consumed auto top-up count. Omit to leave runtime state unchanged. */
|
|
34858
35048
|
count?: number;
|
|
35049
|
+
/** Set the amount already charged by auto top-ups in the current window. Omit to leave runtime state unchanged. */
|
|
35050
|
+
amount?: number;
|
|
34859
35051
|
};
|
|
34860
35052
|
/** When true, auto top-up creates a send_invoice invoice instead of auto-charging. */
|
|
34861
35053
|
invoiceMode?: boolean;
|
|
@@ -35211,13 +35403,15 @@ enabled?: boolean;
|
|
|
35211
35403
|
threshold: number;
|
|
35212
35404
|
/** Amount of credits to add per auto top-up. */
|
|
35213
35405
|
quantity: number;
|
|
35214
|
-
/** Optional
|
|
35406
|
+
/** Optional limit on auto top-ups per window, by number of top-ups or amount charged. */
|
|
35215
35407
|
purchaseLimit?: {
|
|
35408
|
+
/** What `limit` caps: the number of auto top-ups (`count`, default) or the total amount charged for them, in the customer's currency (`amount`). */
|
|
35409
|
+
limitType?: "count" | "amount";
|
|
35216
35410
|
/** The time interval for the purchase limit window. */
|
|
35217
35411
|
interval: "hour" | "day" | "week" | "month";
|
|
35218
35412
|
/** Number of intervals in the purchase limit window. Defaults to 1. */
|
|
35219
35413
|
intervalCount?: number;
|
|
35220
|
-
/** Maximum number of auto top-ups
|
|
35414
|
+
/** Maximum allowed within the interval: a number of auto top-ups when limit_type is count, or a total charge (e.g. 500 for $500, pre-tax) when limit_type is amount. */
|
|
35221
35415
|
limit: number;
|
|
35222
35416
|
};
|
|
35223
35417
|
/** When true, auto top-up creates a send_invoice invoice instead of auto-charging. */
|
|
@@ -35760,16 +35954,20 @@ enabled?: boolean;
|
|
|
35760
35954
|
threshold: number;
|
|
35761
35955
|
/** Amount of credits to add per auto top-up. */
|
|
35762
35956
|
quantity: number;
|
|
35763
|
-
/** Optional rate limit to cap how often auto top-ups occur. Pass count to set the current window's consumed top-ups. */
|
|
35957
|
+
/** Optional rate limit to cap how often auto top-ups occur. Pass count or amount to set the current window's consumed top-ups or charged amount. */
|
|
35764
35958
|
purchaseLimit?: {
|
|
35959
|
+
/** What `limit` caps: the number of auto top-ups (`count`, default) or the total amount charged for them, in the customer's currency (`amount`). */
|
|
35960
|
+
limitType?: "count" | "amount";
|
|
35765
35961
|
/** The time interval for the purchase limit window. */
|
|
35766
35962
|
interval: "hour" | "day" | "week" | "month";
|
|
35767
35963
|
/** Number of intervals in the purchase limit window. Defaults to 1. */
|
|
35768
35964
|
intervalCount?: number;
|
|
35769
|
-
/** Maximum number of auto top-ups
|
|
35965
|
+
/** Maximum allowed within the interval: a number of auto top-ups when limit_type is count, or a total charge (e.g. 500 for $500, pre-tax) when limit_type is amount. */
|
|
35770
35966
|
limit: number;
|
|
35771
35967
|
/** Set the current window's consumed auto top-up count. Omit to leave runtime state unchanged. */
|
|
35772
35968
|
count?: number;
|
|
35969
|
+
/** Set the amount already charged by auto top-ups in the current window. Omit to leave runtime state unchanged. */
|
|
35970
|
+
amount?: number;
|
|
35773
35971
|
};
|
|
35774
35972
|
/** When true, auto top-up creates a send_invoice invoice instead of auto-charging. */
|
|
35775
35973
|
invoiceMode?: boolean;
|
|
@@ -36303,13 +36501,15 @@ enabled?: boolean;
|
|
|
36303
36501
|
threshold: number;
|
|
36304
36502
|
/** Amount of credits to add per auto top-up. */
|
|
36305
36503
|
quantity: number;
|
|
36306
|
-
/** Optional
|
|
36504
|
+
/** Optional limit on auto top-ups per window, by number of top-ups or amount charged. */
|
|
36307
36505
|
purchaseLimit?: {
|
|
36506
|
+
/** What `limit` caps: the number of auto top-ups (`count`, default) or the total amount charged for them, in the customer's currency (`amount`). */
|
|
36507
|
+
limitType?: "count" | "amount";
|
|
36308
36508
|
/** The time interval for the purchase limit window. */
|
|
36309
36509
|
interval: "hour" | "day" | "week" | "month";
|
|
36310
36510
|
/** Number of intervals in the purchase limit window. Defaults to 1. */
|
|
36311
36511
|
intervalCount?: number;
|
|
36312
|
-
/** Maximum number of auto top-ups
|
|
36512
|
+
/** Maximum allowed within the interval: a number of auto top-ups when limit_type is count, or a total charge (e.g. 500 for $500, pre-tax) when limit_type is amount. */
|
|
36313
36513
|
limit: number;
|
|
36314
36514
|
};
|
|
36315
36515
|
/** When true, auto top-up creates a send_invoice invoice instead of auto-charging. */
|
|
@@ -36852,16 +37052,20 @@ enabled?: boolean;
|
|
|
36852
37052
|
threshold: number;
|
|
36853
37053
|
/** Amount of credits to add per auto top-up. */
|
|
36854
37054
|
quantity: number;
|
|
36855
|
-
/** Optional rate limit to cap how often auto top-ups occur. Pass count to set the current window's consumed top-ups. */
|
|
37055
|
+
/** Optional rate limit to cap how often auto top-ups occur. Pass count or amount to set the current window's consumed top-ups or charged amount. */
|
|
36856
37056
|
purchaseLimit?: {
|
|
37057
|
+
/** What `limit` caps: the number of auto top-ups (`count`, default) or the total amount charged for them, in the customer's currency (`amount`). */
|
|
37058
|
+
limitType?: "count" | "amount";
|
|
36857
37059
|
/** The time interval for the purchase limit window. */
|
|
36858
37060
|
interval: "hour" | "day" | "week" | "month";
|
|
36859
37061
|
/** Number of intervals in the purchase limit window. Defaults to 1. */
|
|
36860
37062
|
intervalCount?: number;
|
|
36861
|
-
/** Maximum number of auto top-ups
|
|
37063
|
+
/** Maximum allowed within the interval: a number of auto top-ups when limit_type is count, or a total charge (e.g. 500 for $500, pre-tax) when limit_type is amount. */
|
|
36862
37064
|
limit: number;
|
|
36863
37065
|
/** Set the current window's consumed auto top-up count. Omit to leave runtime state unchanged. */
|
|
36864
37066
|
count?: number;
|
|
37067
|
+
/** Set the amount already charged by auto top-ups in the current window. Omit to leave runtime state unchanged. */
|
|
37068
|
+
amount?: number;
|
|
36865
37069
|
};
|
|
36866
37070
|
/** When true, auto top-up creates a send_invoice invoice instead of auto-charging. */
|
|
36867
37071
|
invoiceMode?: boolean;
|
|
@@ -37283,13 +37487,15 @@ enabled?: boolean;
|
|
|
37283
37487
|
threshold: number;
|
|
37284
37488
|
/** Amount of credits to add per auto top-up. */
|
|
37285
37489
|
quantity: number;
|
|
37286
|
-
/** Optional
|
|
37490
|
+
/** Optional limit on auto top-ups per window, by number of top-ups or amount charged. */
|
|
37287
37491
|
purchaseLimit?: {
|
|
37492
|
+
/** What `limit` caps: the number of auto top-ups (`count`, default) or the total amount charged for them, in the customer's currency (`amount`). */
|
|
37493
|
+
limitType?: "count" | "amount";
|
|
37288
37494
|
/** The time interval for the purchase limit window. */
|
|
37289
37495
|
interval: "hour" | "day" | "week" | "month";
|
|
37290
37496
|
/** Number of intervals in the purchase limit window. Defaults to 1. */
|
|
37291
37497
|
intervalCount?: number;
|
|
37292
|
-
/** Maximum number of auto top-ups
|
|
37498
|
+
/** Maximum allowed within the interval: a number of auto top-ups when limit_type is count, or a total charge (e.g. 500 for $500, pre-tax) when limit_type is amount. */
|
|
37293
37499
|
limit: number;
|
|
37294
37500
|
};
|
|
37295
37501
|
/** When true, auto top-up creates a send_invoice invoice instead of auto-charging. */
|
|
@@ -37832,16 +38038,20 @@ enabled?: boolean;
|
|
|
37832
38038
|
threshold: number;
|
|
37833
38039
|
/** Amount of credits to add per auto top-up. */
|
|
37834
38040
|
quantity: number;
|
|
37835
|
-
/** Optional rate limit to cap how often auto top-ups occur. Pass count to set the current window's consumed top-ups. */
|
|
38041
|
+
/** Optional rate limit to cap how often auto top-ups occur. Pass count or amount to set the current window's consumed top-ups or charged amount. */
|
|
37836
38042
|
purchaseLimit?: {
|
|
38043
|
+
/** What `limit` caps: the number of auto top-ups (`count`, default) or the total amount charged for them, in the customer's currency (`amount`). */
|
|
38044
|
+
limitType?: "count" | "amount";
|
|
37837
38045
|
/** The time interval for the purchase limit window. */
|
|
37838
38046
|
interval: "hour" | "day" | "week" | "month";
|
|
37839
38047
|
/** Number of intervals in the purchase limit window. Defaults to 1. */
|
|
37840
38048
|
intervalCount?: number;
|
|
37841
|
-
/** Maximum number of auto top-ups
|
|
38049
|
+
/** Maximum allowed within the interval: a number of auto top-ups when limit_type is count, or a total charge (e.g. 500 for $500, pre-tax) when limit_type is amount. */
|
|
37842
38050
|
limit: number;
|
|
37843
38051
|
/** Set the current window's consumed auto top-up count. Omit to leave runtime state unchanged. */
|
|
37844
38052
|
count?: number;
|
|
38053
|
+
/** Set the amount already charged by auto top-ups in the current window. Omit to leave runtime state unchanged. */
|
|
38054
|
+
amount?: number;
|
|
37845
38055
|
};
|
|
37846
38056
|
/** When true, auto top-up creates a send_invoice invoice instead of auto-charging. */
|
|
37847
38057
|
invoiceMode?: boolean;
|
|
@@ -38375,13 +38585,15 @@ enabled?: boolean;
|
|
|
38375
38585
|
threshold: number;
|
|
38376
38586
|
/** Amount of credits to add per auto top-up. */
|
|
38377
38587
|
quantity: number;
|
|
38378
|
-
/** Optional
|
|
38588
|
+
/** Optional limit on auto top-ups per window, by number of top-ups or amount charged. */
|
|
38379
38589
|
purchaseLimit?: {
|
|
38590
|
+
/** What `limit` caps: the number of auto top-ups (`count`, default) or the total amount charged for them, in the customer's currency (`amount`). */
|
|
38591
|
+
limitType?: "count" | "amount";
|
|
38380
38592
|
/** The time interval for the purchase limit window. */
|
|
38381
38593
|
interval: "hour" | "day" | "week" | "month";
|
|
38382
38594
|
/** Number of intervals in the purchase limit window. Defaults to 1. */
|
|
38383
38595
|
intervalCount?: number;
|
|
38384
|
-
/** Maximum number of auto top-ups
|
|
38596
|
+
/** Maximum allowed within the interval: a number of auto top-ups when limit_type is count, or a total charge (e.g. 500 for $500, pre-tax) when limit_type is amount. */
|
|
38385
38597
|
limit: number;
|
|
38386
38598
|
};
|
|
38387
38599
|
/** When true, auto top-up creates a send_invoice invoice instead of auto-charging. */
|
|
@@ -38924,16 +39136,20 @@ enabled?: boolean;
|
|
|
38924
39136
|
threshold: number;
|
|
38925
39137
|
/** Amount of credits to add per auto top-up. */
|
|
38926
39138
|
quantity: number;
|
|
38927
|
-
/** Optional rate limit to cap how often auto top-ups occur. Pass count to set the current window's consumed top-ups. */
|
|
39139
|
+
/** Optional rate limit to cap how often auto top-ups occur. Pass count or amount to set the current window's consumed top-ups or charged amount. */
|
|
38928
39140
|
purchaseLimit?: {
|
|
39141
|
+
/** What `limit` caps: the number of auto top-ups (`count`, default) or the total amount charged for them, in the customer's currency (`amount`). */
|
|
39142
|
+
limitType?: "count" | "amount";
|
|
38929
39143
|
/** The time interval for the purchase limit window. */
|
|
38930
39144
|
interval: "hour" | "day" | "week" | "month";
|
|
38931
39145
|
/** Number of intervals in the purchase limit window. Defaults to 1. */
|
|
38932
39146
|
intervalCount?: number;
|
|
38933
|
-
/** Maximum number of auto top-ups
|
|
39147
|
+
/** Maximum allowed within the interval: a number of auto top-ups when limit_type is count, or a total charge (e.g. 500 for $500, pre-tax) when limit_type is amount. */
|
|
38934
39148
|
limit: number;
|
|
38935
39149
|
/** Set the current window's consumed auto top-up count. Omit to leave runtime state unchanged. */
|
|
38936
39150
|
count?: number;
|
|
39151
|
+
/** Set the amount already charged by auto top-ups in the current window. Omit to leave runtime state unchanged. */
|
|
39152
|
+
amount?: number;
|
|
38937
39153
|
};
|
|
38938
39154
|
/** When true, auto top-up creates a send_invoice invoice instead of auto-charging. */
|
|
38939
39155
|
invoiceMode?: boolean;
|
|
@@ -39316,13 +39532,15 @@ enabled?: boolean;
|
|
|
39316
39532
|
threshold: number;
|
|
39317
39533
|
/** Amount of credits to add per auto top-up. */
|
|
39318
39534
|
quantity: number;
|
|
39319
|
-
/** Optional
|
|
39535
|
+
/** Optional limit on auto top-ups per window, by number of top-ups or amount charged. */
|
|
39320
39536
|
purchaseLimit?: {
|
|
39537
|
+
/** What `limit` caps: the number of auto top-ups (`count`, default) or the total amount charged for them, in the customer's currency (`amount`). */
|
|
39538
|
+
limitType?: "count" | "amount";
|
|
39321
39539
|
/** The time interval for the purchase limit window. */
|
|
39322
39540
|
interval: "hour" | "day" | "week" | "month";
|
|
39323
39541
|
/** Number of intervals in the purchase limit window. Defaults to 1. */
|
|
39324
39542
|
intervalCount?: number;
|
|
39325
|
-
/** Maximum number of auto top-ups
|
|
39543
|
+
/** Maximum allowed within the interval: a number of auto top-ups when limit_type is count, or a total charge (e.g. 500 for $500, pre-tax) when limit_type is amount. */
|
|
39326
39544
|
limit: number;
|
|
39327
39545
|
};
|
|
39328
39546
|
/** When true, auto top-up creates a send_invoice invoice instead of auto-charging. */
|
|
@@ -39865,16 +40083,20 @@ enabled?: boolean;
|
|
|
39865
40083
|
threshold: number;
|
|
39866
40084
|
/** Amount of credits to add per auto top-up. */
|
|
39867
40085
|
quantity: number;
|
|
39868
|
-
/** Optional rate limit to cap how often auto top-ups occur. Pass count to set the current window's consumed top-ups. */
|
|
40086
|
+
/** Optional rate limit to cap how often auto top-ups occur. Pass count or amount to set the current window's consumed top-ups or charged amount. */
|
|
39869
40087
|
purchaseLimit?: {
|
|
40088
|
+
/** What `limit` caps: the number of auto top-ups (`count`, default) or the total amount charged for them, in the customer's currency (`amount`). */
|
|
40089
|
+
limitType?: "count" | "amount";
|
|
39870
40090
|
/** The time interval for the purchase limit window. */
|
|
39871
40091
|
interval: "hour" | "day" | "week" | "month";
|
|
39872
40092
|
/** Number of intervals in the purchase limit window. Defaults to 1. */
|
|
39873
40093
|
intervalCount?: number;
|
|
39874
|
-
/** Maximum number of auto top-ups
|
|
40094
|
+
/** Maximum allowed within the interval: a number of auto top-ups when limit_type is count, or a total charge (e.g. 500 for $500, pre-tax) when limit_type is amount. */
|
|
39875
40095
|
limit: number;
|
|
39876
40096
|
/** Set the current window's consumed auto top-up count. Omit to leave runtime state unchanged. */
|
|
39877
40097
|
count?: number;
|
|
40098
|
+
/** Set the amount already charged by auto top-ups in the current window. Omit to leave runtime state unchanged. */
|
|
40099
|
+
amount?: number;
|
|
39878
40100
|
};
|
|
39879
40101
|
/** When true, auto top-up creates a send_invoice invoice instead of auto-charging. */
|
|
39880
40102
|
invoiceMode?: boolean;
|
|
@@ -40408,13 +40630,15 @@ enabled?: boolean;
|
|
|
40408
40630
|
threshold: number;
|
|
40409
40631
|
/** Amount of credits to add per auto top-up. */
|
|
40410
40632
|
quantity: number;
|
|
40411
|
-
/** Optional
|
|
40633
|
+
/** Optional limit on auto top-ups per window, by number of top-ups or amount charged. */
|
|
40412
40634
|
purchaseLimit?: {
|
|
40635
|
+
/** What `limit` caps: the number of auto top-ups (`count`, default) or the total amount charged for them, in the customer's currency (`amount`). */
|
|
40636
|
+
limitType?: "count" | "amount";
|
|
40413
40637
|
/** The time interval for the purchase limit window. */
|
|
40414
40638
|
interval: "hour" | "day" | "week" | "month";
|
|
40415
40639
|
/** Number of intervals in the purchase limit window. Defaults to 1. */
|
|
40416
40640
|
intervalCount?: number;
|
|
40417
|
-
/** Maximum number of auto top-ups
|
|
40641
|
+
/** Maximum allowed within the interval: a number of auto top-ups when limit_type is count, or a total charge (e.g. 500 for $500, pre-tax) when limit_type is amount. */
|
|
40418
40642
|
limit: number;
|
|
40419
40643
|
};
|
|
40420
40644
|
/** When true, auto top-up creates a send_invoice invoice instead of auto-charging. */
|
|
@@ -40957,16 +41181,20 @@ enabled?: boolean;
|
|
|
40957
41181
|
threshold: number;
|
|
40958
41182
|
/** Amount of credits to add per auto top-up. */
|
|
40959
41183
|
quantity: number;
|
|
40960
|
-
/** Optional rate limit to cap how often auto top-ups occur. Pass count to set the current window's consumed top-ups. */
|
|
41184
|
+
/** Optional rate limit to cap how often auto top-ups occur. Pass count or amount to set the current window's consumed top-ups or charged amount. */
|
|
40961
41185
|
purchaseLimit?: {
|
|
41186
|
+
/** What `limit` caps: the number of auto top-ups (`count`, default) or the total amount charged for them, in the customer's currency (`amount`). */
|
|
41187
|
+
limitType?: "count" | "amount";
|
|
40962
41188
|
/** The time interval for the purchase limit window. */
|
|
40963
41189
|
interval: "hour" | "day" | "week" | "month";
|
|
40964
41190
|
/** Number of intervals in the purchase limit window. Defaults to 1. */
|
|
40965
41191
|
intervalCount?: number;
|
|
40966
|
-
/** Maximum number of auto top-ups
|
|
41192
|
+
/** Maximum allowed within the interval: a number of auto top-ups when limit_type is count, or a total charge (e.g. 500 for $500, pre-tax) when limit_type is amount. */
|
|
40967
41193
|
limit: number;
|
|
40968
41194
|
/** Set the current window's consumed auto top-up count. Omit to leave runtime state unchanged. */
|
|
40969
41195
|
count?: number;
|
|
41196
|
+
/** Set the amount already charged by auto top-ups in the current window. Omit to leave runtime state unchanged. */
|
|
41197
|
+
amount?: number;
|
|
40970
41198
|
};
|
|
40971
41199
|
/** When true, auto top-up creates a send_invoice invoice instead of auto-charging. */
|
|
40972
41200
|
invoiceMode?: boolean;
|
|
@@ -41386,13 +41614,15 @@ enabled?: boolean;
|
|
|
41386
41614
|
threshold: number;
|
|
41387
41615
|
/** Amount of credits to add per auto top-up. */
|
|
41388
41616
|
quantity: number;
|
|
41389
|
-
/** Optional
|
|
41617
|
+
/** Optional limit on auto top-ups per window, by number of top-ups or amount charged. */
|
|
41390
41618
|
purchaseLimit?: {
|
|
41619
|
+
/** What `limit` caps: the number of auto top-ups (`count`, default) or the total amount charged for them, in the customer's currency (`amount`). */
|
|
41620
|
+
limitType?: "count" | "amount";
|
|
41391
41621
|
/** The time interval for the purchase limit window. */
|
|
41392
41622
|
interval: "hour" | "day" | "week" | "month";
|
|
41393
41623
|
/** Number of intervals in the purchase limit window. Defaults to 1. */
|
|
41394
41624
|
intervalCount?: number;
|
|
41395
|
-
/** Maximum number of auto top-ups
|
|
41625
|
+
/** Maximum allowed within the interval: a number of auto top-ups when limit_type is count, or a total charge (e.g. 500 for $500, pre-tax) when limit_type is amount. */
|
|
41396
41626
|
limit: number;
|
|
41397
41627
|
};
|
|
41398
41628
|
/** When true, auto top-up creates a send_invoice invoice instead of auto-charging. */
|
|
@@ -41935,16 +42165,20 @@ enabled?: boolean;
|
|
|
41935
42165
|
threshold: number;
|
|
41936
42166
|
/** Amount of credits to add per auto top-up. */
|
|
41937
42167
|
quantity: number;
|
|
41938
|
-
/** Optional rate limit to cap how often auto top-ups occur. Pass count to set the current window's consumed top-ups. */
|
|
42168
|
+
/** Optional rate limit to cap how often auto top-ups occur. Pass count or amount to set the current window's consumed top-ups or charged amount. */
|
|
41939
42169
|
purchaseLimit?: {
|
|
42170
|
+
/** What `limit` caps: the number of auto top-ups (`count`, default) or the total amount charged for them, in the customer's currency (`amount`). */
|
|
42171
|
+
limitType?: "count" | "amount";
|
|
41940
42172
|
/** The time interval for the purchase limit window. */
|
|
41941
42173
|
interval: "hour" | "day" | "week" | "month";
|
|
41942
42174
|
/** Number of intervals in the purchase limit window. Defaults to 1. */
|
|
41943
42175
|
intervalCount?: number;
|
|
41944
|
-
/** Maximum number of auto top-ups
|
|
42176
|
+
/** Maximum allowed within the interval: a number of auto top-ups when limit_type is count, or a total charge (e.g. 500 for $500, pre-tax) when limit_type is amount. */
|
|
41945
42177
|
limit: number;
|
|
41946
42178
|
/** Set the current window's consumed auto top-up count. Omit to leave runtime state unchanged. */
|
|
41947
42179
|
count?: number;
|
|
42180
|
+
/** Set the amount already charged by auto top-ups in the current window. Omit to leave runtime state unchanged. */
|
|
42181
|
+
amount?: number;
|
|
41948
42182
|
};
|
|
41949
42183
|
/** When true, auto top-up creates a send_invoice invoice instead of auto-charging. */
|
|
41950
42184
|
invoiceMode?: boolean;
|
|
@@ -42478,13 +42712,15 @@ enabled?: boolean;
|
|
|
42478
42712
|
threshold: number;
|
|
42479
42713
|
/** Amount of credits to add per auto top-up. */
|
|
42480
42714
|
quantity: number;
|
|
42481
|
-
/** Optional
|
|
42715
|
+
/** Optional limit on auto top-ups per window, by number of top-ups or amount charged. */
|
|
42482
42716
|
purchaseLimit?: {
|
|
42717
|
+
/** What `limit` caps: the number of auto top-ups (`count`, default) or the total amount charged for them, in the customer's currency (`amount`). */
|
|
42718
|
+
limitType?: "count" | "amount";
|
|
42483
42719
|
/** The time interval for the purchase limit window. */
|
|
42484
42720
|
interval: "hour" | "day" | "week" | "month";
|
|
42485
42721
|
/** Number of intervals in the purchase limit window. Defaults to 1. */
|
|
42486
42722
|
intervalCount?: number;
|
|
42487
|
-
/** Maximum number of auto top-ups
|
|
42723
|
+
/** Maximum allowed within the interval: a number of auto top-ups when limit_type is count, or a total charge (e.g. 500 for $500, pre-tax) when limit_type is amount. */
|
|
42488
42724
|
limit: number;
|
|
42489
42725
|
};
|
|
42490
42726
|
/** When true, auto top-up creates a send_invoice invoice instead of auto-charging. */
|
|
@@ -43027,16 +43263,20 @@ enabled?: boolean;
|
|
|
43027
43263
|
threshold: number;
|
|
43028
43264
|
/** Amount of credits to add per auto top-up. */
|
|
43029
43265
|
quantity: number;
|
|
43030
|
-
/** Optional rate limit to cap how often auto top-ups occur. Pass count to set the current window's consumed top-ups. */
|
|
43266
|
+
/** Optional rate limit to cap how often auto top-ups occur. Pass count or amount to set the current window's consumed top-ups or charged amount. */
|
|
43031
43267
|
purchaseLimit?: {
|
|
43268
|
+
/** What `limit` caps: the number of auto top-ups (`count`, default) or the total amount charged for them, in the customer's currency (`amount`). */
|
|
43269
|
+
limitType?: "count" | "amount";
|
|
43032
43270
|
/** The time interval for the purchase limit window. */
|
|
43033
43271
|
interval: "hour" | "day" | "week" | "month";
|
|
43034
43272
|
/** Number of intervals in the purchase limit window. Defaults to 1. */
|
|
43035
43273
|
intervalCount?: number;
|
|
43036
|
-
/** Maximum number of auto top-ups
|
|
43274
|
+
/** Maximum allowed within the interval: a number of auto top-ups when limit_type is count, or a total charge (e.g. 500 for $500, pre-tax) when limit_type is amount. */
|
|
43037
43275
|
limit: number;
|
|
43038
43276
|
/** Set the current window's consumed auto top-up count. Omit to leave runtime state unchanged. */
|
|
43039
43277
|
count?: number;
|
|
43278
|
+
/** Set the amount already charged by auto top-ups in the current window. Omit to leave runtime state unchanged. */
|
|
43279
|
+
amount?: number;
|
|
43040
43280
|
};
|
|
43041
43281
|
/** When true, auto top-up creates a send_invoice invoice instead of auto-charging. */
|
|
43042
43282
|
invoiceMode?: boolean;
|
|
@@ -48808,13 +49048,15 @@ enabled?: boolean;
|
|
|
48808
49048
|
threshold: number;
|
|
48809
49049
|
/** Amount of credits to add per auto top-up. */
|
|
48810
49050
|
quantity: number;
|
|
48811
|
-
/** Optional
|
|
49051
|
+
/** Optional limit on auto top-ups per window, by number of top-ups or amount charged. */
|
|
48812
49052
|
purchaseLimit?: {
|
|
49053
|
+
/** What `limit` caps: the number of auto top-ups (`count`, default) or the total amount charged for them, in the customer's currency (`amount`). */
|
|
49054
|
+
limitType?: "count" | "amount";
|
|
48813
49055
|
/** The time interval for the purchase limit window. */
|
|
48814
49056
|
interval: "hour" | "day" | "week" | "month";
|
|
48815
49057
|
/** Number of intervals in the purchase limit window. Defaults to 1. */
|
|
48816
49058
|
intervalCount?: number;
|
|
48817
|
-
/** Maximum number of auto top-ups
|
|
49059
|
+
/** Maximum allowed within the interval: a number of auto top-ups when limit_type is count, or a total charge (e.g. 500 for $500, pre-tax) when limit_type is amount. */
|
|
48818
49060
|
limit: number;
|
|
48819
49061
|
};
|
|
48820
49062
|
/** When true, auto top-up creates a send_invoice invoice instead of auto-charging. */
|
|
@@ -49102,16 +49344,20 @@ enabled?: boolean;
|
|
|
49102
49344
|
threshold: number;
|
|
49103
49345
|
/** Amount of credits to add per auto top-up. */
|
|
49104
49346
|
quantity: number;
|
|
49105
|
-
/** Optional rate limit to cap how often auto top-ups occur. Pass count to set the current window's consumed top-ups. */
|
|
49347
|
+
/** Optional rate limit to cap how often auto top-ups occur. Pass count or amount to set the current window's consumed top-ups or charged amount. */
|
|
49106
49348
|
purchaseLimit?: {
|
|
49349
|
+
/** What `limit` caps: the number of auto top-ups (`count`, default) or the total amount charged for them, in the customer's currency (`amount`). */
|
|
49350
|
+
limitType?: "count" | "amount";
|
|
49107
49351
|
/** The time interval for the purchase limit window. */
|
|
49108
49352
|
interval: "hour" | "day" | "week" | "month";
|
|
49109
49353
|
/** Number of intervals in the purchase limit window. Defaults to 1. */
|
|
49110
49354
|
intervalCount?: number;
|
|
49111
|
-
/** Maximum number of auto top-ups
|
|
49355
|
+
/** Maximum allowed within the interval: a number of auto top-ups when limit_type is count, or a total charge (e.g. 500 for $500, pre-tax) when limit_type is amount. */
|
|
49112
49356
|
limit: number;
|
|
49113
49357
|
/** Set the current window's consumed auto top-up count. Omit to leave runtime state unchanged. */
|
|
49114
49358
|
count?: number;
|
|
49359
|
+
/** Set the amount already charged by auto top-ups in the current window. Omit to leave runtime state unchanged. */
|
|
49360
|
+
amount?: number;
|
|
49115
49361
|
};
|
|
49116
49362
|
/** When true, auto top-up creates a send_invoice invoice instead of auto-charging. */
|
|
49117
49363
|
invoiceMode?: boolean;
|
|
@@ -49774,16 +50020,20 @@ enabled?: boolean;
|
|
|
49774
50020
|
threshold: number;
|
|
49775
50021
|
/** Amount of credits to add per auto top-up. */
|
|
49776
50022
|
quantity: number;
|
|
49777
|
-
/** Optional rate limit to cap how often auto top-ups occur. Pass count to set the current window's consumed top-ups. */
|
|
50023
|
+
/** Optional rate limit to cap how often auto top-ups occur. Pass count or amount to set the current window's consumed top-ups or charged amount. */
|
|
49778
50024
|
purchaseLimit?: {
|
|
50025
|
+
/** What `limit` caps: the number of auto top-ups (`count`, default) or the total amount charged for them, in the customer's currency (`amount`). */
|
|
50026
|
+
limitType?: "count" | "amount";
|
|
49779
50027
|
/** The time interval for the purchase limit window. */
|
|
49780
50028
|
interval: "hour" | "day" | "week" | "month";
|
|
49781
50029
|
/** Number of intervals in the purchase limit window. Defaults to 1. */
|
|
49782
50030
|
intervalCount?: number;
|
|
49783
|
-
/** Maximum number of auto top-ups
|
|
50031
|
+
/** Maximum allowed within the interval: a number of auto top-ups when limit_type is count, or a total charge (e.g. 500 for $500, pre-tax) when limit_type is amount. */
|
|
49784
50032
|
limit: number;
|
|
49785
50033
|
/** Set the current window's consumed auto top-up count. Omit to leave runtime state unchanged. */
|
|
49786
50034
|
count?: number;
|
|
50035
|
+
/** Set the amount already charged by auto top-ups in the current window. Omit to leave runtime state unchanged. */
|
|
50036
|
+
amount?: number;
|
|
49787
50037
|
};
|
|
49788
50038
|
/** When true, auto top-up creates a send_invoice invoice instead of auto-charging. */
|
|
49789
50039
|
invoiceMode?: boolean;
|
|
@@ -50328,13 +50578,15 @@ enabled?: boolean;
|
|
|
50328
50578
|
threshold: number;
|
|
50329
50579
|
/** Amount of credits to add per auto top-up. */
|
|
50330
50580
|
quantity: number;
|
|
50331
|
-
/** Optional
|
|
50581
|
+
/** Optional limit on auto top-ups per window, by number of top-ups or amount charged. */
|
|
50332
50582
|
purchaseLimit?: {
|
|
50583
|
+
/** What `limit` caps: the number of auto top-ups (`count`, default) or the total amount charged for them, in the customer's currency (`amount`). */
|
|
50584
|
+
limitType?: "count" | "amount";
|
|
50333
50585
|
/** The time interval for the purchase limit window. */
|
|
50334
50586
|
interval: "hour" | "day" | "week" | "month";
|
|
50335
50587
|
/** Number of intervals in the purchase limit window. Defaults to 1. */
|
|
50336
50588
|
intervalCount?: number;
|
|
50337
|
-
/** Maximum number of auto top-ups
|
|
50589
|
+
/** Maximum allowed within the interval: a number of auto top-ups when limit_type is count, or a total charge (e.g. 500 for $500, pre-tax) when limit_type is amount. */
|
|
50338
50590
|
limit: number;
|
|
50339
50591
|
};
|
|
50340
50592
|
/** When true, auto top-up creates a send_invoice invoice instead of auto-charging. */
|