increase 0.511.0 → 0.512.0
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/CHANGELOG.md +8 -0
- package/package.json +1 -1
- package/resources/cards.d.mts +495 -1
- package/resources/cards.d.mts.map +1 -1
- package/resources/cards.d.ts +495 -1
- package/resources/cards.d.ts.map +1 -1
- package/src/resources/cards.ts +564 -2
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
package/src/resources/cards.ts
CHANGED
|
@@ -138,6 +138,11 @@ export interface Card {
|
|
|
138
138
|
*/
|
|
139
139
|
account_id: string;
|
|
140
140
|
|
|
141
|
+
/**
|
|
142
|
+
* Controls that restrict how this card can be used.
|
|
143
|
+
*/
|
|
144
|
+
authorization_controls: Card.AuthorizationControls | null;
|
|
145
|
+
|
|
141
146
|
/**
|
|
142
147
|
* The Card's billing address.
|
|
143
148
|
*/
|
|
@@ -207,6 +212,185 @@ export interface Card {
|
|
|
207
212
|
}
|
|
208
213
|
|
|
209
214
|
export namespace Card {
|
|
215
|
+
/**
|
|
216
|
+
* Controls that restrict how this card can be used.
|
|
217
|
+
*/
|
|
218
|
+
export interface AuthorizationControls {
|
|
219
|
+
/**
|
|
220
|
+
* Limits the number of authorizations that can be approved on this card.
|
|
221
|
+
*/
|
|
222
|
+
maximum_authorization_count: AuthorizationControls.MaximumAuthorizationCount | null;
|
|
223
|
+
|
|
224
|
+
/**
|
|
225
|
+
* Restricts which Merchant Acceptor IDs are allowed or blocked for authorizations
|
|
226
|
+
* on this card.
|
|
227
|
+
*/
|
|
228
|
+
merchant_acceptor_identifier: AuthorizationControls.MerchantAcceptorIdentifier | null;
|
|
229
|
+
|
|
230
|
+
/**
|
|
231
|
+
* Restricts which Merchant Category Codes are allowed or blocked for
|
|
232
|
+
* authorizations on this card.
|
|
233
|
+
*/
|
|
234
|
+
merchant_category_code: AuthorizationControls.MerchantCategoryCode | null;
|
|
235
|
+
|
|
236
|
+
/**
|
|
237
|
+
* Restricts which merchant countries are allowed or blocked for authorizations on
|
|
238
|
+
* this card.
|
|
239
|
+
*/
|
|
240
|
+
merchant_country: AuthorizationControls.MerchantCountry | null;
|
|
241
|
+
|
|
242
|
+
/**
|
|
243
|
+
* Spending limits for this card. The most restrictive limit is applied if multiple
|
|
244
|
+
* limits match.
|
|
245
|
+
*/
|
|
246
|
+
spending_limits: Array<AuthorizationControls.SpendingLimit> | null;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
export namespace AuthorizationControls {
|
|
250
|
+
/**
|
|
251
|
+
* Limits the number of authorizations that can be approved on this card.
|
|
252
|
+
*/
|
|
253
|
+
export interface MaximumAuthorizationCount {
|
|
254
|
+
/**
|
|
255
|
+
* The maximum number of authorizations that can be approved on this card over its
|
|
256
|
+
* lifetime.
|
|
257
|
+
*/
|
|
258
|
+
all_time: number | null;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
/**
|
|
262
|
+
* Restricts which Merchant Acceptor IDs are allowed or blocked for authorizations
|
|
263
|
+
* on this card.
|
|
264
|
+
*/
|
|
265
|
+
export interface MerchantAcceptorIdentifier {
|
|
266
|
+
/**
|
|
267
|
+
* The Merchant Acceptor IDs that are allowed for authorizations on this card.
|
|
268
|
+
*/
|
|
269
|
+
allowed: Array<MerchantAcceptorIdentifier.Allowed> | null;
|
|
270
|
+
|
|
271
|
+
/**
|
|
272
|
+
* The Merchant Acceptor IDs that are blocked for authorizations on this card.
|
|
273
|
+
*/
|
|
274
|
+
blocked: Array<MerchantAcceptorIdentifier.Blocked> | null;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
export namespace MerchantAcceptorIdentifier {
|
|
278
|
+
export interface Allowed {
|
|
279
|
+
/**
|
|
280
|
+
* The Merchant Acceptor ID.
|
|
281
|
+
*/
|
|
282
|
+
identifier: string;
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
export interface Blocked {
|
|
286
|
+
/**
|
|
287
|
+
* The Merchant Acceptor ID.
|
|
288
|
+
*/
|
|
289
|
+
identifier: string;
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
/**
|
|
294
|
+
* Restricts which Merchant Category Codes are allowed or blocked for
|
|
295
|
+
* authorizations on this card.
|
|
296
|
+
*/
|
|
297
|
+
export interface MerchantCategoryCode {
|
|
298
|
+
/**
|
|
299
|
+
* The Merchant Category Codes that are allowed for authorizations on this card.
|
|
300
|
+
*/
|
|
301
|
+
allowed: Array<MerchantCategoryCode.Allowed> | null;
|
|
302
|
+
|
|
303
|
+
/**
|
|
304
|
+
* The Merchant Category Codes that are blocked for authorizations on this card.
|
|
305
|
+
*/
|
|
306
|
+
blocked: Array<MerchantCategoryCode.Blocked> | null;
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
export namespace MerchantCategoryCode {
|
|
310
|
+
export interface Allowed {
|
|
311
|
+
/**
|
|
312
|
+
* The Merchant Category Code (MCC).
|
|
313
|
+
*/
|
|
314
|
+
code: string;
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
export interface Blocked {
|
|
318
|
+
/**
|
|
319
|
+
* The Merchant Category Code (MCC).
|
|
320
|
+
*/
|
|
321
|
+
code: string;
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
/**
|
|
326
|
+
* Restricts which merchant countries are allowed or blocked for authorizations on
|
|
327
|
+
* this card.
|
|
328
|
+
*/
|
|
329
|
+
export interface MerchantCountry {
|
|
330
|
+
/**
|
|
331
|
+
* The merchant countries that are allowed for authorizations on this card.
|
|
332
|
+
*/
|
|
333
|
+
allowed: Array<MerchantCountry.Allowed> | null;
|
|
334
|
+
|
|
335
|
+
/**
|
|
336
|
+
* The merchant countries that are blocked for authorizations on this card.
|
|
337
|
+
*/
|
|
338
|
+
blocked: Array<MerchantCountry.Blocked> | null;
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
export namespace MerchantCountry {
|
|
342
|
+
export interface Allowed {
|
|
343
|
+
/**
|
|
344
|
+
* The ISO 3166-1 alpha-2 country code.
|
|
345
|
+
*/
|
|
346
|
+
country: string;
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
export interface Blocked {
|
|
350
|
+
/**
|
|
351
|
+
* The ISO 3166-1 alpha-2 country code.
|
|
352
|
+
*/
|
|
353
|
+
country: string;
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
export interface SpendingLimit {
|
|
358
|
+
/**
|
|
359
|
+
* The interval at which the spending limit is enforced.
|
|
360
|
+
*
|
|
361
|
+
* - `all_time` - The spending limit applies over the lifetime of the card.
|
|
362
|
+
* - `per_transaction` - The spending limit applies per transaction.
|
|
363
|
+
* - `per_day` - The spending limit applies per day. Resets nightly at midnight
|
|
364
|
+
* UTC.
|
|
365
|
+
* - `per_week` - The spending limit applies per week. Resets weekly on Mondays at
|
|
366
|
+
* midnight UTC.
|
|
367
|
+
* - `per_month` - The spending limit applies per month. Resets on the first of the
|
|
368
|
+
* month, midnight UTC.
|
|
369
|
+
*/
|
|
370
|
+
interval: 'all_time' | 'per_transaction' | 'per_day' | 'per_week' | 'per_month';
|
|
371
|
+
|
|
372
|
+
/**
|
|
373
|
+
* The Merchant Category Codes (MCCs) this spending limit applies to. If not set,
|
|
374
|
+
* the limit applies to all transactions.
|
|
375
|
+
*/
|
|
376
|
+
merchant_category_codes: Array<SpendingLimit.MerchantCategoryCode> | null;
|
|
377
|
+
|
|
378
|
+
/**
|
|
379
|
+
* The maximum settlement amount permitted in the given interval.
|
|
380
|
+
*/
|
|
381
|
+
settlement_amount: number;
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
export namespace SpendingLimit {
|
|
385
|
+
export interface MerchantCategoryCode {
|
|
386
|
+
/**
|
|
387
|
+
* The Merchant Category Code (MCC).
|
|
388
|
+
*/
|
|
389
|
+
code: string;
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
|
|
210
394
|
/**
|
|
211
395
|
* The Card's billing address.
|
|
212
396
|
*/
|
|
@@ -337,6 +521,11 @@ export interface CardCreateParams {
|
|
|
337
521
|
*/
|
|
338
522
|
account_id: string;
|
|
339
523
|
|
|
524
|
+
/**
|
|
525
|
+
* Controls that restrict how this card can be used.
|
|
526
|
+
*/
|
|
527
|
+
authorization_controls?: CardCreateParams.AuthorizationControls;
|
|
528
|
+
|
|
340
529
|
/**
|
|
341
530
|
* The card's billing address.
|
|
342
531
|
*/
|
|
@@ -366,6 +555,191 @@ export interface CardCreateParams {
|
|
|
366
555
|
}
|
|
367
556
|
|
|
368
557
|
export namespace CardCreateParams {
|
|
558
|
+
/**
|
|
559
|
+
* Controls that restrict how this card can be used.
|
|
560
|
+
*/
|
|
561
|
+
export interface AuthorizationControls {
|
|
562
|
+
/**
|
|
563
|
+
* Limits the number of authorizations that can be approved on this card.
|
|
564
|
+
*/
|
|
565
|
+
maximum_authorization_count?: AuthorizationControls.MaximumAuthorizationCount;
|
|
566
|
+
|
|
567
|
+
/**
|
|
568
|
+
* Restricts which Merchant Acceptor IDs are allowed or blocked for authorizations
|
|
569
|
+
* on this card.
|
|
570
|
+
*/
|
|
571
|
+
merchant_acceptor_identifier?: AuthorizationControls.MerchantAcceptorIdentifier;
|
|
572
|
+
|
|
573
|
+
/**
|
|
574
|
+
* Restricts which Merchant Category Codes are allowed or blocked for
|
|
575
|
+
* authorizations on this card.
|
|
576
|
+
*/
|
|
577
|
+
merchant_category_code?: AuthorizationControls.MerchantCategoryCode;
|
|
578
|
+
|
|
579
|
+
/**
|
|
580
|
+
* Restricts which merchant countries are allowed or blocked for authorizations on
|
|
581
|
+
* this card.
|
|
582
|
+
*/
|
|
583
|
+
merchant_country?: AuthorizationControls.MerchantCountry;
|
|
584
|
+
|
|
585
|
+
/**
|
|
586
|
+
* Spending limits for this card. The most restrictive limit is applied if multiple
|
|
587
|
+
* limits match.
|
|
588
|
+
*/
|
|
589
|
+
spending_limits?: Array<AuthorizationControls.SpendingLimit>;
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
export namespace AuthorizationControls {
|
|
593
|
+
/**
|
|
594
|
+
* Limits the number of authorizations that can be approved on this card.
|
|
595
|
+
*/
|
|
596
|
+
export interface MaximumAuthorizationCount {
|
|
597
|
+
/**
|
|
598
|
+
* The maximum number of authorizations that can be approved on this card over its
|
|
599
|
+
* lifetime.
|
|
600
|
+
*/
|
|
601
|
+
all_time: number;
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
/**
|
|
605
|
+
* Restricts which Merchant Acceptor IDs are allowed or blocked for authorizations
|
|
606
|
+
* on this card.
|
|
607
|
+
*/
|
|
608
|
+
export interface MerchantAcceptorIdentifier {
|
|
609
|
+
/**
|
|
610
|
+
* The Merchant Acceptor IDs that are allowed for authorizations on this card.
|
|
611
|
+
* Authorizations with Merchant Acceptor IDs not in this list will be declined.
|
|
612
|
+
*/
|
|
613
|
+
allowed?: Array<MerchantAcceptorIdentifier.Allowed>;
|
|
614
|
+
|
|
615
|
+
/**
|
|
616
|
+
* The Merchant Acceptor IDs that are blocked for authorizations on this card.
|
|
617
|
+
* Authorizations with Merchant Acceptor IDs in this list will be declined.
|
|
618
|
+
*/
|
|
619
|
+
blocked?: Array<MerchantAcceptorIdentifier.Blocked>;
|
|
620
|
+
}
|
|
621
|
+
|
|
622
|
+
export namespace MerchantAcceptorIdentifier {
|
|
623
|
+
export interface Allowed {
|
|
624
|
+
/**
|
|
625
|
+
* The Merchant Acceptor ID.
|
|
626
|
+
*/
|
|
627
|
+
identifier: string;
|
|
628
|
+
}
|
|
629
|
+
|
|
630
|
+
export interface Blocked {
|
|
631
|
+
/**
|
|
632
|
+
* The Merchant Acceptor ID.
|
|
633
|
+
*/
|
|
634
|
+
identifier: string;
|
|
635
|
+
}
|
|
636
|
+
}
|
|
637
|
+
|
|
638
|
+
/**
|
|
639
|
+
* Restricts which Merchant Category Codes are allowed or blocked for
|
|
640
|
+
* authorizations on this card.
|
|
641
|
+
*/
|
|
642
|
+
export interface MerchantCategoryCode {
|
|
643
|
+
/**
|
|
644
|
+
* The Merchant Category Codes that are allowed for authorizations on this card.
|
|
645
|
+
* Authorizations with Merchant Category Codes not in this list will be declined.
|
|
646
|
+
*/
|
|
647
|
+
allowed?: Array<MerchantCategoryCode.Allowed>;
|
|
648
|
+
|
|
649
|
+
/**
|
|
650
|
+
* The Merchant Category Codes that are blocked for authorizations on this card.
|
|
651
|
+
* Authorizations with Merchant Category Codes in this list will be declined.
|
|
652
|
+
*/
|
|
653
|
+
blocked?: Array<MerchantCategoryCode.Blocked>;
|
|
654
|
+
}
|
|
655
|
+
|
|
656
|
+
export namespace MerchantCategoryCode {
|
|
657
|
+
export interface Allowed {
|
|
658
|
+
/**
|
|
659
|
+
* The Merchant Category Code.
|
|
660
|
+
*/
|
|
661
|
+
code: string;
|
|
662
|
+
}
|
|
663
|
+
|
|
664
|
+
export interface Blocked {
|
|
665
|
+
/**
|
|
666
|
+
* The Merchant Category Code.
|
|
667
|
+
*/
|
|
668
|
+
code: string;
|
|
669
|
+
}
|
|
670
|
+
}
|
|
671
|
+
|
|
672
|
+
/**
|
|
673
|
+
* Restricts which merchant countries are allowed or blocked for authorizations on
|
|
674
|
+
* this card.
|
|
675
|
+
*/
|
|
676
|
+
export interface MerchantCountry {
|
|
677
|
+
/**
|
|
678
|
+
* The merchant countries that are allowed for authorizations on this card.
|
|
679
|
+
* Authorizations with merchant countries not in this list will be declined.
|
|
680
|
+
*/
|
|
681
|
+
allowed?: Array<MerchantCountry.Allowed>;
|
|
682
|
+
|
|
683
|
+
/**
|
|
684
|
+
* The merchant countries that are blocked for authorizations on this card.
|
|
685
|
+
* Authorizations with merchant countries in this list will be declined.
|
|
686
|
+
*/
|
|
687
|
+
blocked?: Array<MerchantCountry.Blocked>;
|
|
688
|
+
}
|
|
689
|
+
|
|
690
|
+
export namespace MerchantCountry {
|
|
691
|
+
export interface Allowed {
|
|
692
|
+
/**
|
|
693
|
+
* The ISO 3166-1 alpha-2 country code.
|
|
694
|
+
*/
|
|
695
|
+
country: string;
|
|
696
|
+
}
|
|
697
|
+
|
|
698
|
+
export interface Blocked {
|
|
699
|
+
/**
|
|
700
|
+
* The ISO 3166-1 alpha-2 country code.
|
|
701
|
+
*/
|
|
702
|
+
country: string;
|
|
703
|
+
}
|
|
704
|
+
}
|
|
705
|
+
|
|
706
|
+
export interface SpendingLimit {
|
|
707
|
+
/**
|
|
708
|
+
* The interval at which the spending limit is enforced.
|
|
709
|
+
*
|
|
710
|
+
* - `all_time` - The spending limit applies over the lifetime of the card.
|
|
711
|
+
* - `per_transaction` - The spending limit applies per transaction.
|
|
712
|
+
* - `per_day` - The spending limit applies per day. Resets nightly at midnight
|
|
713
|
+
* UTC.
|
|
714
|
+
* - `per_week` - The spending limit applies per week. Resets weekly on Mondays at
|
|
715
|
+
* midnight UTC.
|
|
716
|
+
* - `per_month` - The spending limit applies per month. Resets on the first of the
|
|
717
|
+
* month, midnight UTC.
|
|
718
|
+
*/
|
|
719
|
+
interval: 'all_time' | 'per_transaction' | 'per_day' | 'per_week' | 'per_month';
|
|
720
|
+
|
|
721
|
+
/**
|
|
722
|
+
* The maximum settlement amount permitted in the given interval.
|
|
723
|
+
*/
|
|
724
|
+
settlement_amount: number;
|
|
725
|
+
|
|
726
|
+
/**
|
|
727
|
+
* The Merchant Category Codes this spending limit applies to. If not set, the
|
|
728
|
+
* limit applies to all transactions.
|
|
729
|
+
*/
|
|
730
|
+
merchant_category_codes?: Array<SpendingLimit.MerchantCategoryCode>;
|
|
731
|
+
}
|
|
732
|
+
|
|
733
|
+
export namespace SpendingLimit {
|
|
734
|
+
export interface MerchantCategoryCode {
|
|
735
|
+
/**
|
|
736
|
+
* The Merchant Category Code.
|
|
737
|
+
*/
|
|
738
|
+
code: string;
|
|
739
|
+
}
|
|
740
|
+
}
|
|
741
|
+
}
|
|
742
|
+
|
|
369
743
|
/**
|
|
370
744
|
* The card's billing address.
|
|
371
745
|
*/
|
|
@@ -424,6 +798,11 @@ export namespace CardCreateParams {
|
|
|
424
798
|
}
|
|
425
799
|
|
|
426
800
|
export interface CardUpdateParams {
|
|
801
|
+
/**
|
|
802
|
+
* Controls that restrict how this card can be used.
|
|
803
|
+
*/
|
|
804
|
+
authorization_controls?: CardUpdateParams.AuthorizationControls;
|
|
805
|
+
|
|
427
806
|
/**
|
|
428
807
|
* The card's updated billing address.
|
|
429
808
|
*/
|
|
@@ -455,11 +834,194 @@ export interface CardUpdateParams {
|
|
|
455
834
|
* - `canceled` - The card is permanently canceled.
|
|
456
835
|
*/
|
|
457
836
|
status?: 'active' | 'disabled' | 'canceled';
|
|
458
|
-
|
|
459
|
-
[k: string]: unknown;
|
|
460
837
|
}
|
|
461
838
|
|
|
462
839
|
export namespace CardUpdateParams {
|
|
840
|
+
/**
|
|
841
|
+
* Controls that restrict how this card can be used.
|
|
842
|
+
*/
|
|
843
|
+
export interface AuthorizationControls {
|
|
844
|
+
/**
|
|
845
|
+
* Limits the number of authorizations that can be approved on this card.
|
|
846
|
+
*/
|
|
847
|
+
maximum_authorization_count?: AuthorizationControls.MaximumAuthorizationCount;
|
|
848
|
+
|
|
849
|
+
/**
|
|
850
|
+
* Restricts which Merchant Acceptor IDs are allowed or blocked for authorizations
|
|
851
|
+
* on this card.
|
|
852
|
+
*/
|
|
853
|
+
merchant_acceptor_identifier?: AuthorizationControls.MerchantAcceptorIdentifier;
|
|
854
|
+
|
|
855
|
+
/**
|
|
856
|
+
* Restricts which Merchant Category Codes are allowed or blocked for
|
|
857
|
+
* authorizations on this card.
|
|
858
|
+
*/
|
|
859
|
+
merchant_category_code?: AuthorizationControls.MerchantCategoryCode;
|
|
860
|
+
|
|
861
|
+
/**
|
|
862
|
+
* Restricts which merchant countries are allowed or blocked for authorizations on
|
|
863
|
+
* this card.
|
|
864
|
+
*/
|
|
865
|
+
merchant_country?: AuthorizationControls.MerchantCountry;
|
|
866
|
+
|
|
867
|
+
/**
|
|
868
|
+
* Spending limits for this card. The most restrictive limit is applied if multiple
|
|
869
|
+
* limits match.
|
|
870
|
+
*/
|
|
871
|
+
spending_limits?: Array<AuthorizationControls.SpendingLimit>;
|
|
872
|
+
}
|
|
873
|
+
|
|
874
|
+
export namespace AuthorizationControls {
|
|
875
|
+
/**
|
|
876
|
+
* Limits the number of authorizations that can be approved on this card.
|
|
877
|
+
*/
|
|
878
|
+
export interface MaximumAuthorizationCount {
|
|
879
|
+
/**
|
|
880
|
+
* The maximum number of authorizations that can be approved on this card over its
|
|
881
|
+
* lifetime.
|
|
882
|
+
*/
|
|
883
|
+
all_time: number;
|
|
884
|
+
}
|
|
885
|
+
|
|
886
|
+
/**
|
|
887
|
+
* Restricts which Merchant Acceptor IDs are allowed or blocked for authorizations
|
|
888
|
+
* on this card.
|
|
889
|
+
*/
|
|
890
|
+
export interface MerchantAcceptorIdentifier {
|
|
891
|
+
/**
|
|
892
|
+
* The Merchant Acceptor IDs that are allowed for authorizations on this card.
|
|
893
|
+
* Authorizations with Merchant Acceptor IDs not in this list will be declined.
|
|
894
|
+
*/
|
|
895
|
+
allowed?: Array<MerchantAcceptorIdentifier.Allowed>;
|
|
896
|
+
|
|
897
|
+
/**
|
|
898
|
+
* The Merchant Acceptor IDs that are blocked for authorizations on this card.
|
|
899
|
+
* Authorizations with Merchant Acceptor IDs in this list will be declined.
|
|
900
|
+
*/
|
|
901
|
+
blocked?: Array<MerchantAcceptorIdentifier.Blocked>;
|
|
902
|
+
}
|
|
903
|
+
|
|
904
|
+
export namespace MerchantAcceptorIdentifier {
|
|
905
|
+
export interface Allowed {
|
|
906
|
+
/**
|
|
907
|
+
* The Merchant Acceptor ID.
|
|
908
|
+
*/
|
|
909
|
+
identifier: string;
|
|
910
|
+
}
|
|
911
|
+
|
|
912
|
+
export interface Blocked {
|
|
913
|
+
/**
|
|
914
|
+
* The Merchant Acceptor ID.
|
|
915
|
+
*/
|
|
916
|
+
identifier: string;
|
|
917
|
+
}
|
|
918
|
+
}
|
|
919
|
+
|
|
920
|
+
/**
|
|
921
|
+
* Restricts which Merchant Category Codes are allowed or blocked for
|
|
922
|
+
* authorizations on this card.
|
|
923
|
+
*/
|
|
924
|
+
export interface MerchantCategoryCode {
|
|
925
|
+
/**
|
|
926
|
+
* The Merchant Category Codes that are allowed for authorizations on this card.
|
|
927
|
+
* Authorizations with Merchant Category Codes not in this list will be declined.
|
|
928
|
+
*/
|
|
929
|
+
allowed?: Array<MerchantCategoryCode.Allowed>;
|
|
930
|
+
|
|
931
|
+
/**
|
|
932
|
+
* The Merchant Category Codes that are blocked for authorizations on this card.
|
|
933
|
+
* Authorizations with Merchant Category Codes in this list will be declined.
|
|
934
|
+
*/
|
|
935
|
+
blocked?: Array<MerchantCategoryCode.Blocked>;
|
|
936
|
+
}
|
|
937
|
+
|
|
938
|
+
export namespace MerchantCategoryCode {
|
|
939
|
+
export interface Allowed {
|
|
940
|
+
/**
|
|
941
|
+
* The Merchant Category Code.
|
|
942
|
+
*/
|
|
943
|
+
code: string;
|
|
944
|
+
}
|
|
945
|
+
|
|
946
|
+
export interface Blocked {
|
|
947
|
+
/**
|
|
948
|
+
* The Merchant Category Code.
|
|
949
|
+
*/
|
|
950
|
+
code: string;
|
|
951
|
+
}
|
|
952
|
+
}
|
|
953
|
+
|
|
954
|
+
/**
|
|
955
|
+
* Restricts which merchant countries are allowed or blocked for authorizations on
|
|
956
|
+
* this card.
|
|
957
|
+
*/
|
|
958
|
+
export interface MerchantCountry {
|
|
959
|
+
/**
|
|
960
|
+
* The merchant countries that are allowed for authorizations on this card.
|
|
961
|
+
* Authorizations with merchant countries not in this list will be declined.
|
|
962
|
+
*/
|
|
963
|
+
allowed?: Array<MerchantCountry.Allowed>;
|
|
964
|
+
|
|
965
|
+
/**
|
|
966
|
+
* The merchant countries that are blocked for authorizations on this card.
|
|
967
|
+
* Authorizations with merchant countries in this list will be declined.
|
|
968
|
+
*/
|
|
969
|
+
blocked?: Array<MerchantCountry.Blocked>;
|
|
970
|
+
}
|
|
971
|
+
|
|
972
|
+
export namespace MerchantCountry {
|
|
973
|
+
export interface Allowed {
|
|
974
|
+
/**
|
|
975
|
+
* The ISO 3166-1 alpha-2 country code.
|
|
976
|
+
*/
|
|
977
|
+
country: string;
|
|
978
|
+
}
|
|
979
|
+
|
|
980
|
+
export interface Blocked {
|
|
981
|
+
/**
|
|
982
|
+
* The ISO 3166-1 alpha-2 country code.
|
|
983
|
+
*/
|
|
984
|
+
country: string;
|
|
985
|
+
}
|
|
986
|
+
}
|
|
987
|
+
|
|
988
|
+
export interface SpendingLimit {
|
|
989
|
+
/**
|
|
990
|
+
* The interval at which the spending limit is enforced.
|
|
991
|
+
*
|
|
992
|
+
* - `all_time` - The spending limit applies over the lifetime of the card.
|
|
993
|
+
* - `per_transaction` - The spending limit applies per transaction.
|
|
994
|
+
* - `per_day` - The spending limit applies per day. Resets nightly at midnight
|
|
995
|
+
* UTC.
|
|
996
|
+
* - `per_week` - The spending limit applies per week. Resets weekly on Mondays at
|
|
997
|
+
* midnight UTC.
|
|
998
|
+
* - `per_month` - The spending limit applies per month. Resets on the first of the
|
|
999
|
+
* month, midnight UTC.
|
|
1000
|
+
*/
|
|
1001
|
+
interval: 'all_time' | 'per_transaction' | 'per_day' | 'per_week' | 'per_month';
|
|
1002
|
+
|
|
1003
|
+
/**
|
|
1004
|
+
* The maximum settlement amount permitted in the given interval.
|
|
1005
|
+
*/
|
|
1006
|
+
settlement_amount: number;
|
|
1007
|
+
|
|
1008
|
+
/**
|
|
1009
|
+
* The Merchant Category Codes this spending limit applies to. If not set, the
|
|
1010
|
+
* limit applies to all transactions.
|
|
1011
|
+
*/
|
|
1012
|
+
merchant_category_codes?: Array<SpendingLimit.MerchantCategoryCode>;
|
|
1013
|
+
}
|
|
1014
|
+
|
|
1015
|
+
export namespace SpendingLimit {
|
|
1016
|
+
export interface MerchantCategoryCode {
|
|
1017
|
+
/**
|
|
1018
|
+
* The Merchant Category Code.
|
|
1019
|
+
*/
|
|
1020
|
+
code: string;
|
|
1021
|
+
}
|
|
1022
|
+
}
|
|
1023
|
+
}
|
|
1024
|
+
|
|
463
1025
|
/**
|
|
464
1026
|
* The card's updated billing address.
|
|
465
1027
|
*/
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.512.0'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.512.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.512.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.512.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|